This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Richard Henderson wrote:
On Fri, Dec 13, 2002 at 11:26:34AM +0530, Sanjiv Kumar Gupta, Noida wrote:b[2] = a[1]; for (j = 0; j < i; j++) { if (i) b[3] = a[1];
Duh ;-) Can we disable this notion of loads-that-might-trap from a frontend ?Yes, this requires more knowledge than is present in loop. Ignoring the first statement, we cannot hoist a[1] because it is only conditionally executed and might trap.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |