This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11347] [3.4 regression] Error on valid expression in default value for int argument to inner template.
- 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: 28 Jul 2003 08:13:03 -0000
- Subject: [Bug c++/11347] [3.4 regression] Error on valid expression in default value for int argument to inner template.
- References: <20030627112510.11347.dasendeistnah@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11347
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nathan at codesourcery dot
| |com
Status|RESOLVED |REOPENED
Keywords|ice-on-valid-code |rejects-valid
Priority|P2 |P1
Resolution|FIXED |
Summary|ICE on valid expression in |[3.4 regression] Error on
|default value for int |valid expression in default
|argument to inner template. |value for int argument to
| |inner template.
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-07-28 08:13 -------
We now have an rejects-legal bug on mainline :-(
The error message is:
dPR11347.cc: In instantiation of `B<int>':
dPR11347.cc:16: instantiated from here
dPR11347.cc:13: error: `e' is not a member of `A<T>'
Nathan, could you please have a look? Given the error message it seems
as if your patch for PR11617 is responsible for the regression.