diff options
author | Richard Stallman <rms@gnu.org> | 1993-03-09 23:57:34 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-03-09 23:57:34 +0000 |
commit | d847907df7041801e3ab05d7b4b9c4cd31317d28 (patch) | |
tree | 64b20948ff71571e5ab18b05c0a970dacf8f2a19 /gcc/convert.c | |
parent | 07150665c9cee7a80e87a789f7c621c289d1fc78 (diff) | |
download | gcc-d847907df7041801e3ab05d7b4b9c4cd31317d28.tar.gz |
Minor fix in last change.
From-SVN: r3689
Diffstat (limited to 'gcc/convert.c')
-rw-r--r-- | gcc/convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/convert.c b/gcc/convert.c index 5ccce13882b..a063a6e88e1 100644 --- a/gcc/convert.c +++ b/gcc/convert.c @@ -398,7 +398,7 @@ convert_to_complex (type, expr) if (form == COMPLEX_TYPE) { tree elt_type = TREE_TYPE (TREE_TYPE (expr)); - if (TYPE_MAIN_VARIANT (elt_type) == TYPE_MAIN_VARIANT (TREE_TYPE (type))) + if (TYPE_MAIN_VARIANT (elt_type) == TYPE_MAIN_VARIANT (subtype)) return expr; else if (TREE_CODE (expr) == COMPLEX_EXPR) return fold (build (COMPLEX_EXPR, |