re PR c++/49085 (Crash with SIGSEGV during compilation.)
authorJason Merrill <jason@redhat.com>
Fri, 1 Jul 2011 13:36:17 +0000 (09:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 1 Jul 2011 13:36:17 +0000 (09:36 -0400)
commita174e38c098d49c437142b7a6d31f065a998d50c
treeb1300337c37d69c95677c93bd9bcf8a32ac08320
parent6bbec3e1561a40c4b0870df42dbcbfc88be89dab
re PR c++/49085 (Crash with SIGSEGV during compilation.)

PR c++/49085
* semantics.c (finish_offsetof): Complain about incomplete type.

From-SVN: r175758
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/offsetof2.C [new file with mode: 0644]