summaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-01 23:35:19 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-01 23:35:19 +0000
commitf0fbc1cd7ed3e1b9f66221a25508e3f3901749bf (patch)
tree287a02368141acc854ed200b5c234a99116f4e9c /gcc/rtlanal.c
parent5e0d56290d32f4b7adec3849f728406022471e63 (diff)
downloadgcc-f0fbc1cd7ed3e1b9f66221a25508e3f3901749bf.tar.gz
PR 23676
* reload1.c (reload_as_needed): Check !CALL_P before calling fixup_eh_region_note. * rtlanal.c (may_trap_p): SUBREG by itself cannot trap. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103751 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r--gcc/rtlanal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 6a3be0e7918..92068a1fd31 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -2166,6 +2166,7 @@ may_trap_p (rtx x)
case NEG:
case ABS:
+ case SUBREG:
/* These operations don't trap even with floating point. */
break;