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?
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
[PATCH, m2] Add missing m2.stage{profile,feedback} to Make-lang.in
Gaius Mulley via Gcc-patches Fri, 16 Dec 2022 05:53:51 -0800
