[Bug c++/47014] [C++0x] ICE: tree check:=?UTF-8?Q?=20expected=20tree=20that=20contains=20=E2=80=98decl=20minimal=E2=80=99=20structure?=,=?UTF-8?Q?=20have=20=E2=80=98nop=5Fexpr=E2=80=99=20in=20decl=5Flinkage?=, at cp/tree.c:2975

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 25 16:03:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47014

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jason at gcc dot gnu.org
         Resolution|                            |FIXED
   Target Milestone|---                         |4.6.1

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-25 15:57:26 UTC ---
In 4.6.1 gcc will give the error,

wa.C:6:21: error: ‘<lambda()>::operator void (*)()() const’ is not ‘constexpr’
wa.C:6:22: error: template argument 1 is invalid
wa.C:6:31: error: invalid type in declaration before ‘;’ token

This seems like an oversight in C++0x, I'll raise it with the committee.



More information about the Gcc-bugs mailing list