diff options
author | Richard Henderson <rth@redhat.com> | 2004-07-11 10:33:02 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-07-11 10:33:02 -0700 |
commit | 71956db351f1941cf9ebaf35130163832a93478e (patch) | |
tree | 8146ef6f5aea440a5957f4a51db24a79e005dab9 /gcc/gimplify.c | |
parent | a083c04af2e5652416f2d53a3690c38a614a2ea3 (diff) | |
download | gcc-71956db351f1941cf9ebaf35130163832a93478e.zip gcc-71956db351f1941cf9ebaf35130163832a93478e.tar.gz gcc-71956db351f1941cf9ebaf35130163832a93478e.tar.bz2 |
re PR tree-optimization/16422 (gcc.c-torture/execute/980223.c fails)
PR tree-opt/16422
* tree-sra.c (generate_one_element_init): New.
(generate_element_init): Use it.
(scalarize_init): Push/pop gimplify context around it.
(find_new_referenced_vars_1, find_new_referenced_vars): New.
* gimplify.c (gimplify_expr): Allow SSA_NAME.
From-SVN: r84523
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index f60ef89..5b87620 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -3816,6 +3816,11 @@ gimplify_expr (tree *expr_p, tree *pre_p, tree *post_p, ret = GS_ALL_DONE; break; + case SSA_NAME: + /* Allow callbacks into the gimplifier during optimization. */ + ret = GS_ALL_DONE; + break; + default: /* If this is a comparison of objects of aggregate type, handle it specially (by converting to a call to memcmp). It would be |