Mercurial > hg > CbC > CbC_gcc
diff gcc/store-motion.c @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | b7f97abdc517 |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/gcc/store-motion.c Tue May 25 18:58:51 2010 +0900 +++ b/gcc/store-motion.c Tue Mar 22 17:18:12 2011 +0900 @@ -22,6 +22,7 @@ #include "system.h" #include "coretypes.h" #include "tm.h" +#include "diagnostic-core.h" #include "toplev.h" #include "rtl.h" @@ -560,9 +561,9 @@ return; /* If we are handling exceptions, we must be careful with memory references - that may trap. If we are not, the behavior is undefined, so we may just + that may trap. If we are not, the behavior is undefined, so we may just continue. */ - if (flag_non_call_exceptions && may_trap_p (dest)) + if (cfun->can_throw_non_call_exceptions && may_trap_p (dest)) return; /* Even if the destination cannot trap, the source may. In this case we'd