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* ?