This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28088] [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jul 2006 20:35:23 -0000
- Subject: [Bug c++/28088] [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp
- References: <bug-28088-12394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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