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/4.2 Regression] seg fault with sizeof and templates



------- Comment #11 from mmitchel at gcc dot gnu dot org  2006-10-16 23:06 -------
Subject: Bug 29435

Author: mmitchel
Date: Mon Oct 16 23:06:35 2006
New Revision: 117799

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117799
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:
    trunk/gcc/testsuite/g++.dg/template/sizeof11.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/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]