summaryrefslogtreecommitdiffstats
path: root/libcpp
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-24 17:23:35 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-24 17:23:35 +0000
commit8ab29eceec2ecedf74ef8aaef67f4c1af4195429 (patch)
treeaa54ba6783b83636175bbc3026ec8f81d7a97943 /libcpp
parent7e9c660e68583f83f123e2f35afc8d06d9a05919 (diff)
downloadppe42-gcc-8ab29eceec2ecedf74ef8aaef67f4c1af4195429.tar.gz
ppe42-gcc-8ab29eceec2ecedf74ef8aaef67f4c1af4195429.zip
* lex.c [__sun__ && __svr4__]: Disable init_vectorized_lexer
etc. on Solaris 2/x86. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163522 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog5
-rw-r--r--libcpp/lex.c12
2 files changed, 16 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 25706ef3cd1..b2237e6d48f 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * lex.c [__sun__ && __svr4__]: Disable init_vectorized_lexer
+ etc. on Solaris 2/x86.
+
2010-08-21 Richard Henderson <rth@redhat.com>
Andi Kleen <ak@linux.intel.com>
David S. Miller <davem@davemloft.net>
diff --git a/libcpp/lex.c b/libcpp/lex.c
index bc0086df1d5..a94e57282d8 100644
--- a/libcpp/lex.c
+++ b/libcpp/lex.c
@@ -264,7 +264,17 @@ search_line_acc_char (const uchar *s, const uchar *end ATTRIBUTE_UNUSED)
}
}
-#if (GCC_VERSION >= 4005) && (defined(__i386__) || defined(__x86_64__))
+/* Disable on Solaris 2/x86 until the following problems can be properly
+ autoconfed:
+
+ The Solaris 8 assembler cannot assemble SSE2/SSE4.2 insns.
+ The Solaris 9 assembler cannot assemble SSE4.2 insns.
+ Before Solaris 9 Update 6, SSE insns cannot be executed.
+ The Solaris 10+ assembler tags objects with the instruction set
+ extensions used, so SSE4.2 executables cannot run on machines that
+ don't support that extension. */
+
+#if (GCC_VERSION >= 4005) && (defined(__i386__) || defined(__x86_64__)) && !(defined(__sun__) && defined(__svr4__))
/* Replicated character data to be shared between implementations.
Recall that outside of a context with vector support we can't
OpenPOWER on IntegriCloud