This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21025] [3.4/4.0/4.1 Regression] ICE on template
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Apr 2005 03:37:42 -0000
- Subject: [Bug c++/21025] [3.4/4.0/4.1 Regression] ICE on template
- References: <20050414164746.21025.algrant@acm.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-17 03:37 -------
Subject: Bug 21025
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: mmitchel@gcc.gnu.org 2005-04-17 03:37:35
Modified files:
gcc/cp : typeck.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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.616.2.5&r2=1.616.2.6
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21025