http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54692



--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> 
2012-09-24 14:21:05 UTC ---

The following lines from gcc/configure don't know about -Og:



 4862 # Remove the -O2: for historical reasons, unless bootstrapping we prefer

 4863 # optimizations to be activated explicitly by the toplevel.

 4864 case "$CC" in

 4865   */prev-gcc/xgcc*) ;;

 4866   *) CFLAGS=`echo $CFLAGS | sed "s/-O[s0-9]* *//" `

 4867      CXXFLAGS=`echo $CXXFLAGS | sed "s/-O[s0-9]* *//" ` ;;

 4868 esac



When I comment them out, gcc builds fine.

Reply via email to