This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16870] [3.4/3.5 regression] Boost.Spirit causes ICE in tsubst, at cp/pt.c:6629
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2004 12:16:58 -0000
- Subject: [Bug c++/16870] [3.4/3.5 regression] Boost.Spirit causes ICE in tsubst, at cp/pt.c:6629
- References: <20040804092025.16870.jens.maurer@gmx.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-08-04 12:16 -------
Confirmed. Here's a shorter example
===============================================
struct A
{
int operator[](int) const;
};
template<int> A foo();
template<typename T> T bar(T(*)());
template<int> int baz() { return A(bar(&foo<0>))[0]; }
template int baz<0>();
===============================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |monitored
Known to fail| |3.4.0 3.4.1 3.5.0
Known to work| |3.3.4
Last reconfirmed|0000-00-00 00:00:00 |2004-08-04 12:16:53
date| |
Summary|Boost.Spirit causes ICE in |[3.4/3.5 regression]
|tsubst, at cp/pt.c:6629 |Boost.Spirit causes ICE in
| |tsubst, at cp/pt.c:6629
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16870