This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16829] [3.4 regression] default parameter can be not one of the last in function
- 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: 19 Jan 2006 10:06:52 -0000
- Subject: [Bug c++/16829] [3.4 regression] default parameter can be not one of the last in function
- References: <bug-16829-3386@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from reichelt at gcc dot gnu dot org 2006-01-19 10:06 -------
This is fixed now in gcc 4.0.3.
I'll wait a couple of days until I'll apply the patch to the 3.4 branch, too.
Btw, the following testcase is a regression from 3.3.x:
================================
struct A
{
void foo(int = 0, int);
};
================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC host triplet|i386-pc-linux-gnu/3.3.3 |
Keywords| |ice-on-invalid-code
Summary|default parameter can be not|[3.4 regression] default
|one of the last in template|parameter can be not one of
|function |the last in function
Target Milestone|--- |3.4.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16829