[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 25 23:13:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Feb 25 21:46:29 2015
New Revision: 220991
URL: https://gcc.gnu.org/viewcvs?rev=220991&root=gcc&view=rev
Log:
PR c++/65209
* decl2.c (constrain_visibility) [VISIBILITY_ANON]: Clear
DECL_COMDAT.
(constrain_visibility_for_template): Handle reference arguments.
Added:
trunk/gcc/testsuite/g++.dg/abi/anon4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
More information about the Gcc-bugs
mailing list