]> gcc.gnu.org Git - gcc.git/commit
re PR c++/29435 (seg fault with sizeof and templates)
authorMark Mitchell <mark@codesourcery.com>
Mon, 16 Oct 2006 23:06:35 +0000 (23:06 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 16 Oct 2006 23:06:35 +0000 (23:06 +0000)
commitb4c74ba24343fb49967075548248964138920c30
treefe96515cf4fc58a4cb9a7524973cd76d7d51ac5d
parent571640241cae16fea53dbca4f31ae493d5706aaf
re PR c++/29435 (seg fault with sizeof and templates)

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.

From-SVN: r117799
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/sizeof11.C [new file with mode: 0644]
This page took 0.060244 seconds and 5 git commands to generate.