This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: testing consistency
- To: wilson at cygnus dot com (Jim Wilson)
- Subject: Re: testing consistency
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Fri, 5 Sep 97 8:55:49 PDT
- Cc: cwax at pacbell dot net, jbuck at synopsys dot com, egcs at cygnus dot com
> It is a gcc policy that -Ox -g should always generate exactly the same code
> as -Ox.
I know (but do we have any tests that assure this?). However, in the past
I've seen compilers (g++, plus some vendor compilers) that blow their
cookies when writing out debug information for files that are successfully
compiled. Thus I think we have to make sure that gcc bootstraps correctly
with -g enabled.