diff options
author | Eric Botcazou <ebotcazou@multimania.com> | 2002-04-03 03:41:40 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-04-02 19:41:40 -0800 |
commit | 9432c136e556d48adba14835a9588358013ace56 (patch) | |
tree | 844e400ff563761e03467d66dbae67488978921a /gcc/stmt.c | |
parent | 058b12757e42cba6708dd350e43ebb71c8655bf5 (diff) | |
download | gcc-9432c136e556d48adba14835a9588358013ace56.zip gcc-9432c136e556d48adba14835a9588358013ace56.tar.gz gcc-9432c136e556d48adba14835a9588358013ace56.tar.bz2 |
function.c (assign_temp): Accept either type or decl argument.
* 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.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r51788
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |