re PR bootstrap/34003 (gcc trunk unable to bootstrap itself; Unsatisfied symbols...
commit9a60b229e8e64f37baf6ac78e0550291f542a9cc
authorJakub Jelinek <jakub@redhat.com>
Sat, 15 Dec 2007 23:08:47 +0000 (16 00:08 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 15 Dec 2007 23:08:47 +0000 (16 00:08 +0100)
tree504c98e8c6a5f6b4998669fdca1642b89bc80b93
parent249b9e5e0a8ebf5fcd02820b078ac81b30600f30
re PR bootstrap/34003 (gcc trunk unable to bootstrap itself; Unsatisfied symbols: ggc_free)

PR bootstrap/34003
* c-decl.c (merge_decls): Copy RTL from olddecl to newdecl.
* config/pa/pa.c (pa_encode_section_info): If !first, preserve
SYMBOL_FLAG_REFERENCED flag.

* gcc.dg/pr34003-1.c: New test.
* gcc.dg/pr34003-2.c: New.

From-SVN: r130979
gcc/ChangeLog
gcc/c-decl.c
gcc/config/pa/pa.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr34003-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr34003-2.c [new file with mode: 0644]