re PR target/65504 (select case with strings and -fgcse -O)
authorJakub Jelinek <jakub@redhat.com>
Mon, 23 Mar 2015 15:31:59 +0000 (16:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 23 Mar 2015 15:31:59 +0000 (16:31 +0100)
commit404b86eda8700e30a71b51cddada39b57e13d28a
tree494209ca4232b1968dc996e686b586128f2dd778
parentf45be077ec1a40e5b3046cd19bd32e8e1ebaca73
re PR target/65504 (select case with strings and -fgcse -O)

PR target/65504
* config/i386/i386.c (ix86_copy_addr_to_reg): Set REG_POINTER
on the pseudo.
(expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Set
REG_POINTER on *destptr after adjusting it for prologue size.

* gfortran.dg/pr65504.f90: New test.

From-SVN: r221597
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr65504.f90 [new file with mode: 0644]