summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-05 21:53:00 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-05 21:53:00 +0000
commit18404dab1094cff4ea6b2c792eb2ab50327619f4 (patch)
treeb24b28916719311c8854421e1ef3eeec3f98e1c4
parent2cdb2cec3d934c4d14a37f86189e63796965d0ef (diff)
downloadppe42-gcc-18404dab1094cff4ea6b2c792eb2ab50327619f4.tar.gz
ppe42-gcc-18404dab1094cff4ea6b2c792eb2ab50327619f4.zip
* config/sparc/sol2-bi.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDMID.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110623 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/sparc/sol2-bi.h6
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ece6e7eb511..00112653c05 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-05 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * config/sparc/sol2-bi.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDMID.
+
2006-02-05 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/25251
diff --git a/gcc/config/sparc/sol2-bi.h b/gcc/config/sparc/sol2-bi.h
index 942af4456f8..c41d50f6eed 100644
--- a/gcc/config/sparc/sol2-bi.h
+++ b/gcc/config/sparc/sol2-bi.h
@@ -1,9 +1,11 @@
/* Definitions of target machine for GCC, for bi-arch SPARC
running Solaris 2 using the system assembler and linker. */
-/* The default code model. */
+/* The default code model used to be CM_MEDANY on Solaris
+ but even Sun eventually found it to be quite wasteful
+ and changed it to CM_MEDMID in the Studio 9 compiler. */
#undef SPARC_DEFAULT_CMODEL
-#define SPARC_DEFAULT_CMODEL CM_MEDANY
+#define SPARC_DEFAULT_CMODEL CM_MEDMID
#define AS_SPARC64_FLAG "-xarch=v9"
OpenPOWER on IntegriCloud