OSDN Git Service

PR c++/33501
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2007 19:27:27 +0000 (19:27 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2007 19:27:27 +0000 (19:27 +0000)
commit279f8b4996961cf389829691224f23977841d08a
tree9fdb602cae0616c569c1ffb48632bcdec5790758
parentc0fb94bd295f22798d1c12314c55376749c3eeae
PR c++/33501
* call.c (build_over_call): Don't check TREE_ADDRESSABLE
on incomplete type.

* g++.dg/warn/incomplete2.C: New test.
* g++.dg/template/incomplete4.C: New test.
* g++.dg/template/incomplete5.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129968 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/incomplete4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/incomplete5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/incomplete2.C [new file with mode: 0644]