This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Merge C++ conversion into trunk (0/6 - Overview)


Il 23/08/2012 22:54, Mike Stump ha scritto:
> 
> # Remove the -O2: for historical reasons, unless bootstrapping we prefer         
> # optimizations to be activated explicitly by the toplevel.                      
> case "$CC" in
>   */prev-gcc/xgcc*) ;;
>   *) CFLAGS=`echo $CFLAGS | sed "s/-O[[s0-9]]* *//" ` ;;
> esac
> AC_SUBST(CFLAGS)
> 
> in configure.ac does this.  I think if CXXFLAGS is also so done, we'd gain parity.

Agreed, patch is preapproved.  This is not really done to aid debugging
though, it is to avoid optimization bugs when compiling stage1.

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]