[Bug c++/62224] [4.9 Regression] Possible regression in gcc-4.9-20140820
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 9 11:58:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62224
--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Sep 9 11:57:25 2014
New Revision: 215061
URL: https://gcc.gnu.org/viewcvs?rev=215061&root=gcc&view=rev
Log:
PR c++/61214
PR c++/62224
gcc/
* gimple-fold.c (can_refer_decl_in_current_unit_p): Don't allow
reference to a DECL_EXTERNAL COMDAT.
gcc/cp/
* decl2.c (decl_needed_p): Revert virtual functions change.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ipa/devirt-40.C
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/decl2.c
branches/gcc-4_9-branch/gcc/gimple-fold.c
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ipa/devirt-39.C
More information about the Gcc-bugs
mailing list