[Bug c++/82107] O2 optimisation on amd64 leads to error
loquens at yandex dot ru
gcc-bugzilla@gcc.gnu.org
Tue Sep 5 16:07:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82107
--- Comment #1 from loquens at yandex dot ru ---
Additional research found, that error produced by
-O1 and -finline-small-functions -fipa-icf -foptimize-sibling-calls.
All three flags must be present to get an error.
If you exclude -foptimize-sibling-calls, you'll get an stack overflow.
More information about the Gcc-bugs
mailing list