OSDN Git Service

Fix for PR c++/43375
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Mar 2010 08:55:32 +0000 (08:55 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:30:57 +0000 (09:30 +0900)
commit1b0f67671ed8a31c0c1b63c2079b660421d86492
treeddc803f87e5d257e22b1220ccea7ecb6cbfe3453
parent9c04a96385c2cbf04dceb28e0d6505515fc891b0
Fix for PR c++/43375

gcc/cp/ChangeLog:
PR c++/43375
* method.c (make_alias_for): Avoid crashing when DECL_LANG_SPECIFIC
is NULL.
* decl2.c (vague_linkage_p): Likewise.

gcc/testsuite/g++.dg/ChangeLog:
PR c++/43375
* g++.dg/abi/mangle42.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157590 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/mangle42.C