[Bug c++/56895] [4.8/4.9 Regression] ICE: unexpected expression of kind arrow_expr

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 9 17:54:00 GMT 2013


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
   Target Milestone|---                         |4.8.1

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-09 17:54:16 UTC ---
Introduced by my http://gcc.gnu.org/r195051 , potential_constant_expression
returns true about it, because fun in a call expr isn't a FUNCTION_DECL.
Jason, can you look at whether this is something that should be changed in
potential_constant_expression, or instead in cxx_eval_const* ?



More information about the Gcc-bugs mailing list