Mercurial > hg > CbC > CbC_gcc
comparison gcc/tree-ssa-phiopt.c @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
22 #include "system.h" | 22 #include "system.h" |
23 #include "coretypes.h" | 23 #include "coretypes.h" |
24 #include "tm.h" | 24 #include "tm.h" |
25 #include "ggc.h" | 25 #include "ggc.h" |
26 #include "tree.h" | 26 #include "tree.h" |
27 #include "rtl.h" | |
28 #include "flags.h" | 27 #include "flags.h" |
29 #include "tm_p.h" | 28 #include "tm_p.h" |
30 #include "basic-block.h" | 29 #include "basic-block.h" |
31 #include "timevar.h" | 30 #include "timevar.h" |
32 #include "diagnostic.h" | 31 #include "diagnostic.h" |
1224 | 1223 |
1225 /* 2) Create a temporary where we can store the old content | 1224 /* 2) Create a temporary where we can store the old content |
1226 of the memory touched by the store, if we need to. */ | 1225 of the memory touched by the store, if we need to. */ |
1227 if (!condstoretemp || TREE_TYPE (lhs) != TREE_TYPE (condstoretemp)) | 1226 if (!condstoretemp || TREE_TYPE (lhs) != TREE_TYPE (condstoretemp)) |
1228 { | 1227 { |
1229 condstoretemp = create_tmp_var (TREE_TYPE (lhs), "cstore"); | 1228 condstoretemp = create_tmp_reg (TREE_TYPE (lhs), "cstore"); |
1230 get_var_ann (condstoretemp); | 1229 get_var_ann (condstoretemp); |
1231 if (TREE_CODE (TREE_TYPE (lhs)) == COMPLEX_TYPE | |
1232 || TREE_CODE (TREE_TYPE (lhs)) == VECTOR_TYPE) | |
1233 DECL_GIMPLE_REG_P (condstoretemp) = 1; | |
1234 } | 1230 } |
1235 add_referenced_var (condstoretemp); | 1231 add_referenced_var (condstoretemp); |
1236 | 1232 |
1237 /* 3) Insert a load from the memory of the store to the temporary | 1233 /* 3) Insert a load from the memory of the store to the temporary |
1238 on the edge which did not contain the store. */ | 1234 on the edge which did not contain the store. */ |