whether address may trap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33627
138bc75d-0d04-0410-961f-
82ee72b054a4
+Wed May 3 13:14:49 MET DST 2000 Jan Hubicka <jh@suse.cz>
+
+ * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest
+ whether address may trap.
+
Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com>
* bb-reorder (chain_reorder_blocks): Changed code to test for
}
/* ??? We could handle this if we knew that a load from A or B could
- not fault. This is true of stack memories or if we've already loaded
+ not fault. This is also true if we've already loaded
from the address along the path from ENTRY. */
- else if (GET_CODE (a) == MEM || GET_CODE (b) == MEM)
+ else if (may_trap_p (a) || may_trap_p (b))
return FALSE;
/* if (test) x = a + b; else x = c - d;
#include "config.h"
#include "system.h"
+#include <sys/resource.h>
#ifdef HAVE_SYS_TIMES_H
# include <sys/times.h>