]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/tree.c
re PR c++/38877 (Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006)
authorJason Merrill <jason@redhat.com>
Fri, 16 Jan 2009 22:36:32 +0000 (17:36 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Jan 2009 22:36:32 +0000 (17:36 -0500)
commitb7da27c2e218c1da18cabf5e043a15c849fbfa20
tree7dc323a49ae46cc57046d24153a6434a68d19682
parentdb8470f688f2f2f8ac3be4a971961b76aff7909b
re PR c++/38877 (Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006)

        PR c++/38877
        * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
        * init.c (build_new): Don't call describable_type unless we
        have an auto.

From-SVN: r143446
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/tree.c
gcc/testsuite/g++.dg/template/lvalue1.C [new file with mode: 0644]