re PR target/82848 (ICE in expand_expr_real_2, at expr.c:8715)
authorJakub Jelinek <jakub@redhat.com>
Sat, 25 Nov 2017 10:19:16 +0000 (11:19 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 25 Nov 2017 10:19:16 +0000 (11:19 +0100)
commitb7f08b83e430cf571c78bd48807b2a8e639c202c
treed7e2995a23a47fa3b0824941c0855ef684a5a952
parent430ddc2279ceb533232a15964dabbb640505b753
re PR target/82848 (ICE in expand_expr_real_2, at expr.c:8715)

PR target/82848
* config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Don't fold
builtins not enabled in the currently selected ISA.

* gcc.target/powerpc/pr82848.c: New test.

From-SVN: r255148
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr82848.c [new file with mode: 0644]