[Bug c++/21025] [3.4/4.0/4.1 Regression] ICE on template
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 17 03:35:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-17 03:35 -------
Subject: Bug 21025
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: mmitchel@gcc.gnu.org 2005-04-17 03:35:27
Added files:
gcc/testsuite/g++.dg/template: sizeof9.C
Log message:
PR c++/21025
* typeck.c (cxx_sizeof_or_alignof_type): Check whether the type to
which sizeof/alignof is dependent, rather than just whether we are
processing_template_decl.
PR c++/21025
* g++.dg/template/sizeof9.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/sizeof9.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21025
More information about the Gcc-bugs
mailing list