aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2003-09-02 17:45:19 -0400
committerJason Merrill <jason@gcc.gnu.org>2003-09-02 17:45:19 -0400
commit5220823f534e9aa003b9fdccba45628d1db0ba08 (patch)
treec29c143aaa4abc78988af242d5c3b89c3f7d697c /gcc
parent3281be05bc239a26f314aca14e11ad139331ba8e (diff)
downloadgcc-5220823f534e9aa003b9fdccba45628d1db0ba08.zip
gcc-5220823f534e9aa003b9fdccba45628d1db0ba08.tar.gz
gcc-5220823f534e9aa003b9fdccba45628d1db0ba08.tar.bz2
re PR target/7327 (-isystem and template linkage)
PR c++/7327 * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define. From-SVN: r71005
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sol2.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 28e64ef..59bfe13 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-02 Jason Merrill <jason@redhat.com>
+
+ PR c++/7327
+ * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define.
+
2003-09-02 Jeff Sturm <jsturm@one-point.com>
* cgraphunit.c (record_call_1): Use walk_tree_without_duplicates.
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index efb49c8..97370dd 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/sparc/sol2.h
@@ -135,3 +135,6 @@ Boston, MA 02111-1307, USA. */
sparc_override_options will disable V8+ if not generating V9 code. */
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_V8PLUS + MASK_FPU + MASK_LONG_DOUBLE_128)
+
+/* The system headers under Solaris (at least 2.5.1 and up) are C++-aware. */
+#define NO_IMPLICIT_EXTERN_C