OSDN Git Service

PR c++/41183
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2009 15:13:08 +0000 (15:13 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2009 15:13:08 +0000 (15:13 +0000)
commit9469850c188249125ff0c1e29065a30a5292e69d
tree92e30d493eab99316735e2576348cdc30ab3d769
parent4a5b87c66f69a1298fd5f5466b0a52028a0d0b14
PR c++/41183
* cp-tree.h (current_class_ptr): Give NULL even when cfun
has NULL cfun->language.

* g++.dg/torture/pr41183.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155254 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr41183.C [new file with mode: 0644]