[Bug c++/14679] [3.4? Regression] g++ (3.4.0 20040317 (prerelease) ) failes to compile valid code (ICE)
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 22 22:52:00 GMT 2004
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-03-22 22:52 -------
The problem could be reproduced with the following code snippet:
==================================
struct A
{
A(int);
};
template <int> void foo()
{
A a=A(0);
}
void bar()
{
foo<0>();
}
==================================
The bug was fixed with Giovanni's patch for PR 14545
http://gcc.gnu.org/ml/gcc-cvs/2004-03/msg00881.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|3.4.1 |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14679
More information about the Gcc-bugs
mailing list