OSDN Git Service

PR rtl-optimization/26316
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Feb 2006 21:03:05 +0000 (21:03 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Feb 2006 21:03:05 +0000 (21:03 +0000)
commit5ed26a34359b794ffc1b9011818b817b9bcf61f1
tree0279569a12cde36a792d11397042f36e68a2ff7a
parentb1ca4af4d0c57dafd168913768171baf8d7408e6
PR rtl-optimization/26316
* rtlanal.c (enum may_trap_p_flags): New.
(may_trap_p_1): Take flags instead of unaligned_mems argument.  Ignore
MEM_NOTRAP_P if flags & MTP_AFTER_MOVE.
(may_trap_p, may_trap_or_fault_p): Pass flags to may_trap_p_1.
(may_trap_after_code_motion_p): New function.
* loop-invariant.c (find_identical_invariants): Fix dump formating.
(find_invariant_insn): Use may_trap_after_code_motion_p.
* rtl.h (may_trap_after_code_motion_p): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111397 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/loop-invariant.c
gcc/rtl.h
gcc/rtlanal.c