Turn off the "-O2 flag TRIGGERS KNOWN OPTIMIZER BUGS" warning.

From current testsuite results, the optimizer bugs don't appear to exist
anymore.  RTH@cygnus.com did a lot of work on the Alpha ELF code generator
for GCC 3.2[.0].  A recent FreeBSD/AXP GCC bootstrap is at
http://gcc.gnu.org/ml/gcc-testresults/2002-09/msg00604.html
In this bootstraps, all gcc libraries are built with -O2 and c-torture
gives -O2 a real workout.  None of the remaining failures have anything
to do with -O2 optimizer bugs.

Submitted by:	Loren James Rittle <rittle@latour.rsch.comm.mot.com>
This commit is contained in:
David E. O'Brien 2002-09-22 07:26:38 +00:00
parent cba1f1e079
commit 04a42d5ee0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103792

View File

@ -4691,7 +4691,7 @@ parse_options_and_default_flags (argc, argv)
}
#endif /*FORCE_OPTIMIZATION_DOWNGRADE*/
#if defined(__alpha__)
#if defined(TRY_WITHOUT_THIS__alpha__)
if (optimize > 1)
{
warning ("\n***\n***\tThe -O%d flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM\n***",