projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0715066
)
Minor fix in last change.
author
Richard Stallman
<rms@gnu.org>
Tue, 9 Mar 1993 23:57:34 +0000
(23:57 +0000)
committer
Richard Stallman
<rms@gnu.org>
Tue, 9 Mar 1993 23:57:34 +0000
(23:57 +0000)
From-SVN: r3689
gcc/convert.c
patch
|
blob
|
history
diff --git
a/gcc/convert.c
b/gcc/convert.c
index 5ccce13882b049da9b34bccdd82dfdcd8a188c08..a063a6e88e109f6585c1880c29cf401708febb0b 100644
(file)
--- 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,