]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/42625 (-fipa-sra can generate different destructors in differ...
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 Jan 2010 15:10:26 +0000 (16:10 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Jan 2010 15:10:26 +0000 (16:10 +0100)
commit4139c7ef40a6e43d53509b17d3397e94a7e20db2
treebd1b5a39ccc8b70f0e46666012120ec53853f4ad
parent01094033c6b98cda7cbde9e78a2f949939435be5
re PR tree-optimization/42625 (-fipa-sra can generate different destructors in different object files, binary breaks after linking)

PR tree-optimization/42625
* cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*,
TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body
aliases.

* g++.dg/opt/dtor4.C: New test.
* g++.dg/opt/dtor4.h: New.
* g++.dg/opt/dtor4-aux.cc: New.

From-SVN: r155694
gcc/ChangeLog
gcc/cgraph.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/dtor4-aux.cc [new file with mode: 0644]
gcc/testsuite/g++.dg/opt/dtor4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/opt/dtor4.h [new file with mode: 0644]
This page took 0.053411 seconds and 5 git commands to generate.