[Bug ipa/77905] [5/6 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
Wed Dec 21 12:50:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77905
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec 21 12:49:44 2016
New Revision: 243850
URL: https://gcc.gnu.org/viewcvs?rev=243850&root=gcc&view=rev
Log:
Backported from mainline
2016-12-13 Jakub Jelinek <jakub@redhat.com>
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:
branches/gcc-6-branch/gcc/testsuite/g++.dg/ipa/pr77905.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/ipa-pure-const.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list