Patchwork [i386] : Remove definition of DEFAULT_PCC_STRUCT_RETURN from i386.c

login
register
mail settings
Submitter Uros Bizjak
Date Jan. 7, 2013, 11:19 a.m.
Message ID <CAFULd4aeDrmz4ysbbChYZ5FzW4_3MYe0Fa0ipBwHH_=J8bHZFw@mail.gmail.com>
Download mbox | patch
Permalink /patch/209899/
State New
Headers show

Comments

Uros Bizjak - Jan. 7, 2013, 11:19 a.m.
Hello!

The same definition now lives in defaults.h, included through tm.h.

2013-01-07  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.

Tested on x86_64-pc-linux-gnu, committed to mainline SVN.

Uros.

Patch

Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c  (revision 194959)
+++ config/i386/i386.c  (working copy)
@@ -2397,12 +2397,6 @@ 
 #define SUBTARGET32_DEFAULT_CPU "i386"
 #endif

-/* The svr4 ABI for the i386 says that records and unions are returned
-   in memory.  */
-#ifndef DEFAULT_PCC_STRUCT_RETURN
-#define DEFAULT_PCC_STRUCT_RETURN 1
-#endif
-
 /* Whether -mtune= or -march= were specified */
 static int ix86_tune_defaulted;
 static int ix86_arch_specified;