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)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Mar 2010 08:55:32 +0000 (08:55 +0000)
commitd6c998f43470a5f54fe07cfb83cf93f0307cdd9b
tree2cbb1e98a70db4f750198b5cede54daf5d4f5bcc
parent9d33046c199ad03cc0ba1210be7bcfbbcb136254
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/cp/decl2.c
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/mangle42.C [new file with mode: 0644]