Mercurial > hg > CbC > CbC_gcc
comparison gcc/web.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 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
36 | 36 |
37 #include "config.h" | 37 #include "config.h" |
38 #include "system.h" | 38 #include "system.h" |
39 #include "coretypes.h" | 39 #include "coretypes.h" |
40 #include "tm.h" | 40 #include "tm.h" |
41 #include "toplev.h" | 41 #include "diagnostic-core.h" |
42 | 42 |
43 #include "rtl.h" | 43 #include "rtl.h" |
44 #include "hard-reg-set.h" | 44 #include "hard-reg-set.h" |
45 #include "flags.h" | 45 #include "flags.h" |
46 #include "obstack.h" | 46 #include "obstack.h" |
375 in progress. */ | 375 in progress. */ |
376 FOR_ALL_BB (bb) | 376 FOR_ALL_BB (bb) |
377 FOR_BB_INSNS (bb, insn) | 377 FOR_BB_INSNS (bb, insn) |
378 { | 378 { |
379 unsigned int uid = INSN_UID (insn); | 379 unsigned int uid = INSN_UID (insn); |
380 if (NONDEBUG_INSN_P (insn)) | 380 |
381 if (NONDEBUG_INSN_P (insn) | |
382 /* Ignore naked clobber. For example, reg 134 in the second insn | |
383 of the following sequence will not be replaced. | |
384 | |
385 (insn (clobber (reg:SI 134))) | |
386 | |
387 (insn (set (reg:SI 0 r0) (reg:SI 134))) | |
388 | |
389 Thus the later passes can optimize them away. */ | |
390 && GET_CODE (PATTERN (insn)) != CLOBBER) | |
381 { | 391 { |
382 df_ref *use_rec; | 392 df_ref *use_rec; |
383 df_ref *def_rec; | 393 df_ref *def_rec; |
384 for (use_rec = DF_INSN_UID_USES (uid); *use_rec; use_rec++) | 394 for (use_rec = DF_INSN_UID_USES (uid); *use_rec; use_rec++) |
385 { | 395 { |