aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2006-02-05 22:53:00 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2006-02-05 21:53:00 +0000
commit71ab8de85aada56287c4954e6d7fe24529c5ef74 (patch)
treeb24b28916719311c8854421e1ef3eeec3f98e1c4 /gcc
parentcea0f4f1bd67b7539388cbf2d0fa554c3a88fcf3 (diff)
downloadgcc-71ab8de85aada56287c4954e6d7fe24529c5ef74.zip
gcc-71ab8de85aada56287c4954e6d7fe24529c5ef74.tar.gz
gcc-71ab8de85aada56287c4954e6d7fe24529c5ef74.tar.bz2
sol2-bi.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDMID.
* config/sparc/sol2-bi.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDMID. From-SVN: r110623
Diffstat (limited to 'gcc')
-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 ece6e7e..0011265 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 942af44..c41d50f 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"