[Bug c++/28088] [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp
janis at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 5 20:35:00 GMT 2006
------- Comment #7 from janis at gcc dot gnu dot org 2006-07-05 20:35 -------
Regression tests using the reduced testcase from comment #3 on mainline for
powerpc-linux identified this patch where the test starts failing:
http://gcc.gnu.org/viewcvs?view=rev&rev=103604
r103604 | mmitchel | 2005-08-29 14:08:50 +0000 (Mon, 29 Aug 2005)
and this one where it starts passing again:
http://gcc.gnu.org/viewcvs?view=rev&rev=110693
r110693 | mmitchel | 2006-02-07 11:11:30 +0000 (Tue, 07 Feb 2006)
The regression hunts didn't use any special options and didn't ICE, but got
these messages:
elm3b11% /opt/gcc-nightly/trunk-20060131/bin/g++ -c 28088.cc
28088.cc: In instantiation of Âconst int template_arity<lambda<int, 4>
>::valueÂ:
28088.cc:14: instantiated from here
28088.cc:8: error: Âtemplate_arity<T1>::value is not a valid template argument
for type Âint because it is a non-constant expression
28088.cc:8: error: Âtemplate_arity<T1>::value is not a valid template argument
for type Âint because it is a non-constant expression
--
janis at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
AssignedTo|unassigned at gcc dot gnu |janis at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2006-06-21 04:21:48 |2006-07-05 20:35:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28088
More information about the Gcc-bugs
mailing list