This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33837] [4.3 regresssion] ICE with invalid use of decltype
- 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: 1 Nov 2007 12:00:05 -0000
- Subject: [Bug c++/33837] [4.3 regresssion] ICE with invalid use of decltype
- References: <bug-33837-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from reichelt at gcc dot gnu dot org 2007-11-01 12:00 -------
This ICE still happens when I add the missing parentheses to the testcase:
==========================
void foo()
{
__decltype (A::foo());
}
==========================
An even simpler testcase:
==========================
void foo()
{
__decltype(A);
}
==========================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33837