re PR rtl-optimization/49235 (ICE: in int_mode_for_mode, at stor-layout.c:424 with...
authorJakub Jelinek <jakub@redhat.com>
Tue, 31 May 2011 12:34:42 +0000 (14:34 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 31 May 2011 12:34:42 +0000 (14:34 +0200)
commit35979cc235b090b2607d17598f73e6b079142e23
tree09569d02eebfbffca04471a13849aade4b23487c
parent8f7de592d33e84831f3122a7f27ca05c7d308c69
re PR rtl-optimization/49235 (ICE: in int_mode_for_mode, at stor-layout.c:424 with -O -fno-delete-null-pointer-checks -fno-tree-scev-cprop -ftree-vectorize -fno-vect-cost-model)

PR rtl-optimization/49235
* tree-ssa-address.c (gen_addr_rtx): Ignore base if it is const0_rtx.
(create_mem_ref_raw): Create MEM_REF even if base is INTEGER_CST.

* gcc.dg/pr49235.c: New test.

From-SVN: r174478
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr49235.c [new file with mode: 0644]
gcc/tree-ssa-address.c