diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2009-02-05 18:29:11 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2009-02-05 18:29:11 +0000 |
commit | 65a74b5d5b6b36052ca989c82e329b52a55121ff (patch) | |
tree | 95a3a5417b0f5fbbbc74c2854199b545fbf6b047 /gcc | |
parent | 8644ecf59d370800fb1145f5facc66136d95039f (diff) | |
download | gcc-65a74b5d5b6b36052ca989c82e329b52a55121ff.zip gcc-65a74b5d5b6b36052ca989c82e329b52a55121ff.tar.gz gcc-65a74b5d5b6b36052ca989c82e329b52a55121ff.tar.bz2 |
re PR rtl-optimization/39110 (Revision 143939 breaks bootstrap on Linux/ia64)
2009-02-05 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/39110
* rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
addresses, not aligned ones.
From-SVN: r143971
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/rtlanal.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2462303..a8d6685 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-02-05 Paolo Bonzini <bonzini@gnu.org> + + PR rtl-optimization/39110 + * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned + addresses, not aligned ones. + 2009-02-05 Daniel Berlin <dberlin@dberlin.org> Richard Guenther <rguenther@suse.de> diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index cc7775f..e39dea2 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -282,7 +282,8 @@ rtx_addr_can_trap_p_1 (const_rtx x, HOST_WIDE_INT offset, HOST_WIDE_INT size, actual_offset -= STACK_POINTER_OFFSET; #endif - return actual_offset % GET_MODE_SIZE (mode) != 0; + if (actual_offset % GET_MODE_SIZE (mode) != 0) + return 1; } switch (code) |