This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Fix gcc.c-torture/execute/20030125-1.c on Linux/Sparc
- From: "David S. Miller" <davem at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 5 Jun 2004 13:30:57 -0700
- Subject: [patch] Fix gcc.c-torture/execute/20030125-1.c on Linux/Sparc
Yes, we should find a way eventually to include config/linux.h on
the Linux/Sparc targets, but for now we have to still duplicate
things that get set in there.
2004-06-05 David S. Miller <davem@nuts.davemloft.net>
* config/sparc/linux.h (TARGET_C99_FUNCTIONS): Set.
* config/sparc/linux64.h (TARGET_C99_FUNCTIONS): Likewise.
--- config/sparc/linux.h.~1.61.~ 2004-06-02 23:46:09.000000000 -0700
+++ config/sparc/linux.h 2004-06-05 13:17:55.166167216 -0700
@@ -250,6 +250,10 @@ do { \
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+/* Determine whether the the entire c99 runtime is present in the
+ runtime library. */
+#define TARGET_C99_FUNCTIONS 1
+
#define TARGET_HAS_F_SETLKW
#undef LINK_GCC_C_SEQUENCE_SPEC
--- config/sparc/linux64.h.~1.84.~ 2004-06-02 23:46:09.000000000 -0700
+++ config/sparc/linux64.h 2004-06-05 13:17:48.511178928 -0700
@@ -351,6 +351,10 @@ do { \
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+/* Determine whether the the entire c99 runtime is present in the
+ runtime library. */
+#define TARGET_C99_FUNCTIONS 1
+
#define TARGET_HAS_F_SETLKW
#undef LINK_GCC_C_SEQUENCE_SPEC