[Bug ipa/70306] [5/6 Regression] wrong code at -O2 and -O3 in 32-bit and 64-bit mode on x86_64-linux-gnu [related to __attribute__((destructor)) and __attribute__((constructor))]
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 21 09:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70306
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r216305. As expected, -fno-ipa-icf fixes this.
For GCC 5.x and maybe even for GCC 6.x, best would be probably just to disable
ICF for functions with constructor/destructor argument, and for stage1 add
wrappers for these.
More information about the Gcc-bugs
mailing list