re PR c++/45603 (crash in "build_addr_func")
authorJason Merrill <jason@redhat.com>
Fri, 8 Jul 2011 17:39:17 +0000 (13:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 8 Jul 2011 17:39:17 +0000 (13:39 -0400)
commit34bec556064f1adec8668f12cda40040c9873fef
tree4bdf9760b14ac8c0062d311b24cf3e16f4011dd6
parent3e4f84847dbc75ef3337d1e3e5dc2b9fe1495035
re PR c++/45603 (crash in "build_addr_func")

PR c++/45603
* decl.c (expand_static_init): Don't get confused by user
declaration of __cxa_guard_acquire.

From-SVN: r176054
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/guard3.C [new file with mode: 0644]