]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Define ix86_args only if USED_FOR_TARGET isn't defined
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 23 Mar 2013 02:23:44 +0000 (02:23 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 23 Mar 2013 02:23:44 +0000 (19:23 -0700)
* config/i386/i386.h (ix86_args): Define only if USED_FOR_TARGET
isn't defined.

From-SVN: r196999

gcc/ChangeLog
gcc/config/i386/i386.h

index b3e8c439fdb571097489c0cba10553a7157ad004..e7d11dbfab411e9dc16299f84fda1fec23740157 100644 (file)
@@ -1,3 +1,8 @@
+2013-03-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.h (ix86_args): Define only if USED_FOR_TARGET
+       isn't defined.
+
 2013-03-22  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/56560
index 899678d579b60509e625323556e74589cb3aae8f..835ea10d184939ebb99ca8f28500b2a6a5873a0f 100644 (file)
@@ -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.