diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2005-10-28 14:26:36 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2005-10-28 07:26:36 -0700 |
commit | f35a986c648249e851f06fccb807d09f5658c4b9 (patch) | |
tree | 9df923cbf9fd37f3bc59f0e5a9f529823f63ed92 /gcc/tree-complex.c | |
parent | d3e5a995ec5ceb2c474dd52b9d8558265187829a (diff) | |
download | gcc-f35a986c648249e851f06fccb807d09f5658c4b9.zip gcc-f35a986c648249e851f06fccb807d09f5658c4b9.tar.gz gcc-f35a986c648249e851f06fccb807d09f5658c4b9.tar.bz2 |
re PR middle-end/24362 (internal compiler error: in extract_component, at tree-complex.c:68)
2005-10-28 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/24362
* g++.dg/opt/complex4.C: New test.
2005-10-28 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/24362
* tree-complex.c (extract_component): Treat RESULT_DECL
like the rest of the decls.
From-SVN: r105930
Diffstat (limited to 'gcc/tree-complex.c')
-rw-r--r-- | gcc/tree-complex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c index de23119..7fc7879 100644 --- a/gcc/tree-complex.c +++ b/gcc/tree-complex.c @@ -558,6 +558,7 @@ extract_component (block_stmt_iterator *bsi, tree t, bool imagpart_p, return TREE_OPERAND (t, imagpart_p); case VAR_DECL: + case RESULT_DECL: case PARM_DECL: case INDIRECT_REF: case COMPONENT_REF: |