[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
Tue May 30 07:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77905
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 07:51:12 2017
New Revision: 248634
URL: https://gcc.gnu.org/viewcvs?rev=248634&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-5-branch/gcc/testsuite/g++.dg/ipa/pr77905.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/ipa-pure-const.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list