[Bug c++/38256] [4.4 regression] ICE with "operator auto"

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 28 08:21:00 GMT 2008



------- Comment #3 from jakub at gcc dot gnu dot org  2008-11-28 08:20 -------
Moving the error ("invalid use of %<auto%> in conversion operator");
diagnostics to cp_parser_conversion_type_id (or caller), although it fixes
this testcase, doesn't work too well, because then for auto9.C some of these
errors are reported twice (during tentative parsing and then again when
parsing for the second time).  So it should be probably diagnosed later, but
I'm unsure where.  Jason?


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list