From 120536c753c841519ccf7170db5ee40c015219fc Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sat, 25 Jul 2015 00:21:54 +0200 Subject: [PATCH] i386.c (ix86_va_start): Remove unneeded !TARGET_64BIT check. * config/i386/i386.c (ix86_va_start): Remove unneeded !TARGET_64BIT check. (ix86_gimplify_va_arg): Ditto. From-SVN: r226195 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5a82db059f0..7092577e709 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-07-25 Uros Bizjak + + * config/i386/i386.c (ix86_va_start): Remove + unneeded !TARGET_64BIT check. + (ix86_gimplify_va_arg): Ditto. + 2015-07-24 Tom de Vries * graphite-sese-to-poly.c (build_poly_scop): Always call diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 468cb1921a9..068cadf2332 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -9067,7 +9067,7 @@ ix86_va_start (tree valist, rtx nextarg) } /* Only 64bit target needs something special. */ - if (!TARGET_64BIT || is_va_list_char_pointer (TREE_TYPE (valist))) + if (is_va_list_char_pointer (TREE_TYPE (valist))) { if (cfun->machine->split_stack_varargs_pointer == NULL_RTX) std_expand_builtin_va_start (valist, nextarg); @@ -9188,7 +9188,7 @@ ix86_gimplify_va_arg (tree valist, tree type, gimple_seq *pre_p, unsigned int arg_boundary; /* Only 64bit target needs something special. */ - if (!TARGET_64BIT || is_va_list_char_pointer (TREE_TYPE (valist))) + if (is_va_list_char_pointer (TREE_TYPE (valist))) return std_gimplify_va_arg_expr (valist, type, pre_p, post_p); f_gpr = TYPE_FIELDS (TREE_TYPE (sysv_va_list_type_node)); -- 2.30.2