Skip to content

Commit

Permalink
i386.c (ix86_va_start): Remove unneeded !TARGET_64BIT check.
Browse files Browse the repository at this point in the history
	* config/i386/i386.c (ix86_va_start): Remove
	unneeded !TARGET_64BIT check.
	(ix86_gimplify_va_arg): Ditto.

From-SVN: r226195
  • Loading branch information
ubizjak authored and Uros Bizjak committed Jul 24, 2015
1 parent 5fed2e0 commit 120536c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2015-07-25 Uros Bizjak <[email protected]>

* config/i386/i386.c (ix86_va_start): Remove
unneeded !TARGET_64BIT check.
(ix86_gimplify_va_arg): Ditto.

2015-07-24 Tom de Vries <[email protected]>

* graphite-sese-to-poly.c (build_poly_scop): Always call
Expand Down
4 changes: 2 additions & 2 deletions gcc/config/i386/i386.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 120536c

Please sign in to comment.