This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14679] [3.4? Regression] g++ (3.4.0 20040317 (prerelease) ) failes to compile valid code (ICE)
- 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: 22 Mar 2004 22:52:09 -0000
- Subject: [Bug c++/14679] [3.4? Regression] g++ (3.4.0 20040317 (prerelease) ) failes to compile valid code (ICE)
- References: <20040322102935.14679.andreas.wimmer@joanneum.at>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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