diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-11 17:33:02 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-11 17:33:02 +0000 |
commit | eece3694d24497188aef662b7e87a5733ed1a79c (patch) | |
tree | 8146ef6f5aea440a5957f4a51db24a79e005dab9 /gcc/gimplify.c | |
parent | 9f529c079b11ee33ba175fbc85f965034dba969b (diff) | |
download | gcc-eece3694d24497188aef662b7e87a5733ed1a79c.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84523 138bc75d-0d04-0410-961f-82ee72b054a4
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 f60ef89bc48..5b876206769 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 |