re PR rtl-optimization/71984 (wrong code with -O -mavx512cd)
authorRichard Biener <rguenther@suse.de>
Tue, 26 Jul 2016 14:11:21 +0000 (14:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 26 Jul 2016 14:11:21 +0000 (14:11 +0000)
commit0b64ca40f30eefc43dcfebaaf918a48e1c3b3dcc
treefb1a1913e5d9f2927ba13618faca231eceb9f991
parentab2b55c1093acf8b95b07147afe213cd6e98777f
re PR rtl-optimization/71984 (wrong code with -O -mavx512cd)

2016-07-26  Richard Biener  <rguenther@suse.de>

PR rtl-optimization/71984
* simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE and prepare
for VOIDmode.

* gcc.dg/torture/pr71984.c: New testcase.

From-SVN: r238757
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr71984.c [new file with mode: 0644]