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++/29435] [4.1 Regression] seg fault with sizeof and templates



------- Comment #13 from mmitchel at gcc dot gnu dot org  2006-10-17 01:56 -------
Subject: Bug 29435

Author: mmitchel
Date: Tue Oct 17 01:56:23 2006
New Revision: 117813

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117813
Log:
        PR c++/29435
        * typeck.c (cxx_sizeof_or_alignof_type): Complete non-dependent
        types when their sizes are required.  Refine test for VLAs.
        PR c++/29435
        * g++.dg/template/sizeof11.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/sizeof11.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/typeck.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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