This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/54692] [4.8 Regression] gcc doesn't build with "-Og -g"
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Sep 2012 14:39:30 +0000
- Subject: [Bug other/54692] [4.8 Regression] gcc doesn't build with "-Og -g"
- Auto-submitted: auto-generated
- References: <bug-54692-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54692
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-24 14:39:30 UTC ---
Guess
*) CFLAGS=`echo $CFLAGS | sed "s/-O[[s0-9]]* *//" `
CXXFLAGS=`echo $CXXFLAGS | sed "s/-O[[s0-9]]* *//" ` ;;
needs to be now
-O[[s0-9gf]] instead (also for -Ofast).
That said, I don't see how it is related to using STAGE1_CFLAGS (note missing
XX).