[Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 13 12:23:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88481
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-12-13
CC| |amonakov at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Without -O, optimization passes are not enabled, even if individual -f options
are passed on the command line. If you want to manually find optimizations that
affect the outcome, you need to start with -O1 and add -fno options to
selectively disable optimizations.
The attachment is missing, so changing bug status to "waiting".
More information about the Gcc-bugs
mailing list