summaryrefslogtreecommitdiff
path: root/gcc/tree-stdarg.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-20 15:29:42 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-20 15:29:42 +0000
commitccc5d6f168be96bc308bd412054f8035917bbbda (patch)
treece0cd4a6e434c8e5736fcc05933ee2440ad23479 /gcc/tree-stdarg.c
parent31f98b1e6a5da222fbb788015ed85168262a7c48 (diff)
downloadgcc-ccc5d6f168be96bc308bd412054f8035917bbbda.tar.gz
PR tree-optimization/23818
* tree-stdarg.c (execute_optimize_stdarg): Call calculate_dominance_info. * gcc.dg/pr23818.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104455 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-stdarg.c')
-rw-r--r--gcc/tree-stdarg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-stdarg.c b/gcc/tree-stdarg.c
index a7446585b63..c68e7b58c2c 100644
--- a/gcc/tree-stdarg.c
+++ b/gcc/tree-stdarg.c
@@ -734,6 +734,8 @@ execute_optimize_stdarg (void)
if (va_list_simple_ptr)
cfun->va_list_fpr_size = VA_LIST_MAX_FPR_SIZE;
+ calculate_dominance_info (CDI_DOMINATORS);
+
FOR_EACH_BB (bb)
{
block_stmt_iterator i;