[m2] Add missing m2.stage{profile,feedback} to Make-lang.in

Message ID 87k02r78va.fsf@debian
State Accepted
Headers
Series [m2] Add missing m2.stage{profile,feedback} to Make-lang.in |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Gaius Mulley Dec. 16, 2022, 1:53 p.m. UTC
  Add missing profile and feedback hooks consistent with
all other frontends.

gcc/m2/ChangeLog:

	* Make-lang.in (m2.stageprofile): Added.
	(m2.stagefeedback) Added.

Bootstrapped and tested using
configure --with-build-config=bootstrap-lto-lean --enable-languages=m2
make profiledbootstrap-lean
ok for trunk?
  

Patch

diff --git a/gcc/m2/Make-lang.in b/gcc/m2/Make-lang.in
index a8bd7fe4d19..be33e012dc9 100644
--- a/gcc/m2/Make-lang.in
+++ b/gcc/m2/Make-lang.in
@@ -442,6 +442,12 @@  m2.stage3: stage3-start
 m2.stage4: stage4-start
 	-mv m2/*$(objext) stage4/m2
 
+m2.stageprofile: stageprofile-start
+	-mv m2/*$(objext) stageprofile/m2
+
+m2.stagefeedback: stagefeedback-start
+	-mv m2/*$(objext) stagefeedback/m2
+
 quit: force
 	echo "calling exit"
 	exit 1