From: H.J. Lu Date: Sat, 23 Mar 2013 02:23:44 +0000 (+0000) Subject: Define ix86_args only if USED_FOR_TARGET isn't defined X-Git-Tag: releases/gcc-4.7.3~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f91f7e7ff9374ad70512909e1af671f0b46a4687;p=thirdparty%2Fgcc.git Define ix86_args only if USED_FOR_TARGET isn't defined * config/i386/i386.h (ix86_args): Define only if USED_FOR_TARGET isn't defined. From-SVN: r196999 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b3e8c439fdb5..e7d11dbfab41 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-03-22 H.J. Lu + + * config/i386/i386.h (ix86_args): Define only if USED_FOR_TARGET + isn't defined. + 2013-03-22 H.J. Lu PR target/56560 diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 899678d579b6..835ea10d1849 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -1474,6 +1474,7 @@ enum reg_class /* 1 if N is a possible register number for function argument passing. */ #define FUNCTION_ARG_REGNO_P(N) ix86_function_arg_regno_p (N) +#ifndef USED_FOR_TARGET /* Define a data type for recording info about an argument list during the scan of that argument list. This data type should hold all necessary information about the function itself @@ -1507,6 +1508,7 @@ typedef struct ix86_args { /* Nonzero if it returns 256bit AVX modes. */ BOOL_BITFIELD callee_return_avx256_p : 1; } CUMULATIVE_ARGS; +#endif /* Initialize a variable CUM of type CUMULATIVE_ARGS for a call to a function whose data type is FNTYPE.