PR target/39175
* c-common.c (c_determine_visibility): If visibility changed and
DECL_RTL has been already set, call make_decl_rtl to update symbol
flags.
cp/
* decl2.c (determine_visibility): If visibility changed and
DECL_RTL has been already set, call make_decl_rtl to update symbol
flags.
testsuite/
* gcc.dg/visibility-20.c: New test.
* g++.dg/ext/visibility/visibility-11.C: New test.
Subject: Bug 39175
Author: bje
Date: Wed Mar 25 22:05:08 2009
New Revision: 145076
URL: http:// gcc.gnu. org/viewcvs? root=gcc& view=rev& rev=145076
Log:
Backport from mainline:
2009-02-19 Jakub Jelinek <email address hidden>
PR target/39175 visibility) : If visibility changed and
* c-common.c (c_determine_
DECL_RTL has been already set, call make_decl_rtl to update symbol
flags.
cp/ visibility) : If visibility changed and
* decl2.c (determine_
DECL_RTL has been already set, call make_decl_rtl to update symbol
flags.
testsuite/ visibility- 20.c: New test. ext/visibility/ visibility- 11.C: New test.
* gcc.dg/
* g++.dg/
Added: gcc-4_3- branch/ gcc/testsuite/ g++.dg/ ext/visibility/ visibility- 11.C gcc-4_3- branch/ gcc/testsuite/ gcc.dg/ visibility- 20.c gcc-4_3- branch/ gcc/ChangeLog gcc-4_3- branch/ gcc/c-common. c gcc-4_3- branch/ gcc/cp/ ChangeLog gcc-4_3- branch/ gcc/cp/ decl2.c gcc-4_3- branch/ gcc/testsuite/ ChangeLog
branches/
branches/
Modified:
branches/
branches/
branches/
branches/
branches/