diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-03 03:41:40 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-03 03:41:40 +0000 |
commit | 567c22a9b9994351bdcc68d2745627e795b618cf (patch) | |
tree | 844e400ff563761e03467d66dbae67488978921a /gcc/stmt.c | |
parent | ffbee6f84ed75606a0d335971539301e0f128c86 (diff) | |
download | gcc-567c22a9b9994351bdcc68d2745627e795b618cf.tar.gz |
* function.c (assign_temp): Accept either type or decl argument.
Detect variables whose size is too large to fit into an integer.
* stmt.c (expand_decl): Pass the decl, not the type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c index 3f2d29c0858..9a72b8784f4 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -3969,7 +3969,7 @@ expand_decl (decl) : GET_MODE_BITSIZE (DECL_MODE (decl))); DECL_USER_ALIGN (decl) = 0; - x = assign_temp (TREE_TYPE (decl), 1, 1, 1); + x = assign_temp (decl, 1, 1, 1); set_mem_attributes (x, decl, 1); SET_DECL_RTL (decl, x); |