https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88965
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Feb 7 14:38:15 2019 New Revision: 268629 URL: https://gcc.gnu.org/viewcvs?rev=268629&root=gcc&view=rev Log: Backported from mainline 2019-01-22 Jakub Jelinek <ja...@redhat.com> PR target/88965 * config/rs6000/rs6000.c: Include tree-vrp.h and tree-ssanames.h. (rs6000_gimple_fold_builtin): If MEM_REF address doesn't satisfy is_gimple_mem_ref_addr predicate, force it into a SSA_NAME first. * gcc.target/powerpc/pr88965.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr88965.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/rs6000/rs6000.c branches/gcc-8-branch/gcc/testsuite/ChangeLog