re PR target/83660 (ICE with vec_extract inside expression statement)
authorAaron Sawdey <acsawdey@linux.ibm.com>
Mon, 16 Apr 2018 14:50:06 +0000 (14:50 +0000)
committerAaron Sawdey <acsawdey@gcc.gnu.org>
Mon, 16 Apr 2018 14:50:06 +0000 (09:50 -0500)
commit2d4e0a12089d6bfe5079df70f0618c925bee79e8
treed183ea52381e8389b365b6b1a32314ff290486b1
parentaf7a5758bf250decdba7b366068af186f32a52b5
re PR target/83660 (ICE with vec_extract inside expression statement)

2018-04-16  Aaron Sawdey  <acsawdey@linux.ibm.com>

PR target/83660
* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Mark
vec_extract expression as having side effects to make sure it gets
a cleanup point.

2018-04-16  Aaron Sawdey  <acsawdey@linux.ibm.com>

PR target/83660
* gcc.target/powerpc/pr83660.C: New test.

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