[Bug ipa/77905] [5/6/7 Regression] ICE at -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in ipa_comdats, at ipa-comdats.c:352)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 13 08:49:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77905
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Dec 13 08:48:45 2016
New Revision: 243596
URL: https://gcc.gnu.org/viewcvs?rev=243596&root=gcc&view=rev
Log:
PR ipa/77905
* ipa-pure-const.c (cdtor_p): Return true for
DECL_STATIC_{CON,DE}STRUCTOR even when it is
DECL_LOOPING_CONST_OR_PURE_P.
* g++.dg/ipa/pr77905.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ipa/pr77905.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-pure-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list