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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
See the discussions, this is a step in a bad direction, the backend builtins
should be folded only during gimplification (i.e. the gimple_fold_builtin
targhook), unless folding them is required e.g. for C++11 constexprs etc.
If folding them is solely an optimization or implementation of those builtins,
then the FE should see them just as calls and only later on they should be
folded.

Reply via email to