[Bug c++/66097] Program fails to run with -O1 but runs with individual settings.

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 3 03:52:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66097

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |egallager at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> > Not all optimizations are controlled directly by a flag.
> > Only optimizations that have a flag are listed in this section.
> 
> > Most optimizations are only enabled if an -O level is set on the command line.
> 
> So we need the testcase which fails for you when compiled with -O1 compared
> to -O0.

Testcase never provided; closing


More information about the Gcc-bugs mailing list