This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9820: [3.3/3.4 regression] ice in build_baselink (templates)
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 24 Feb 2003 22:46:01 -0000
- Subject: Re: c++/9820: [3.3/3.4 regression] ice in build_baselink (templates)
- Reply-to: Janis Johnson <janis187 at us dot ibm dot com>
The following reply was made to PR c++/9820; it has been noted by GNATS.
From: Janis Johnson <janis187 at us dot ibm dot com>
To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org,
gcc-prs at gcc dot gnu dot org, poschmid at lbl dot gov
Cc:
Subject: Re: c++/9820: [3.3/3.4 regression] ice in build_baselink (templates)
Date: Mon, 24 Feb 2003 14:47:31 -0800
The submitter says this test case should be valid, but
GCC 3.0.4 and the 3.2-branch both report errors. I was
planning to hunt for the patch that caused the regression,
but if there's a test case that ICEs on legal code, I'd prefer
to use that one.
Output from GCC 3.2.2 20021220 (prerelease) with -w:
9820.C: In instantiation of `IsFunctionT<int>':
9820.C:23: instantiated from `IsClassT<int>'
9820.C:23: instantiated from `void check() [with T = int]'
9820.C:29: instantiated from here
9820.C:23: no method `IsFunctionT<int>::test<int>'
9820.C:23: enumerator value for `Yes' not integer constant
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9820