re PR target/50092 (internal compiler error: in elimination_costs_in_insn, at reload1...
authorJakub Jelinek <jakub@redhat.com>
Thu, 18 Aug 2011 14:27:38 +0000 (16:27 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 18 Aug 2011 14:27:38 +0000 (16:27 +0200)
commit2a63286d368fe6b627912d8db5c879e14400c72c
treeb2cf004f25491205e557f858e903fd9643f702fd
parenta2f3eae24de6e78302ea2b10c3f57635ca954ec2
re PR target/50092 (internal compiler error: in elimination_costs_in_insn, at reload1.c:3633)

PR target/50092
* config/i386/i386.c (assign_386_stack_local): Call validize_mem
on the result before returning it.

* gcc.dg/torture/pr50092.c: New test.

From-SVN: r177859
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr50092.c [new file with mode: 0644]