summaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-11 17:33:02 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-11 17:33:02 +0000
commiteece3694d24497188aef662b7e87a5733ed1a79c (patch)
tree8146ef6f5aea440a5957f4a51db24a79e005dab9 /gcc/gimplify.c
parent9f529c079b11ee33ba175fbc85f965034dba969b (diff)
downloadgcc-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.c5
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