http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61092
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If I remember well, this sounds like a problem that has been seen on aarch64 in the past: http://gcc.gnu.org/ml/gcc-patches/2013-04/msg00586.html (and the whole thread) http://gcc.gnu.org/ml/gcc-patches/2013-04/msg01503.html So, this looks like an alpha backend bug, where it should do some (or all?) the foldings of md builtins in gimple_fold_builtin hook rather than fold_builtin.