This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/40013] [4.4/4.5 Regression] ICE when creating a local array with size from the return value of a member function of an object in a nested class in a template class



------- Comment #3 from jakub at gcc dot gnu dot org  2009-05-05 06:41 -------
Subject: Bug 40013

Author: jakub
Date: Tue May  5 06:41:33 2009
New Revision: 147120

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147120
Log:
        PR c++/40013
        * pt.c (tsubst): If magic NOP_EXPR with side-effects has no type,
        set it from its operand's type after tsubst_expr.

        * g++.dg/ext/vla7.C: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/vla7.C
      - copied unchanged from r147119, trunk/gcc/testsuite/g++.dg/ext/vla7.C
Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/pt.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40013


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]