OSDN Git Service

PR tree-optmization/46469
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Jan 2011 16:33:57 +0000 (16:33 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Jan 2011 16:33:57 +0000 (16:33 +0000)
commit87ac7f211c08dba84adbd23b1013ef20aa3627f0
tree4928e7afc4c094955e19fca3ef23c8bed38d3360
parent864ee2c82299fcd8c8e90c1717e346fcd41abcf6
PR tree-optmization/46469
* ipa.c (function_and_variable_visibility): Clear needed flags on
nodes with external decls; handle weakrefs merging correctly.

* g++.dg/torture/pr46469.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168598 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr46469.C [new file with mode: 0644]