This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[darwin] builtin-noret-1/2 fixes


Hi,
the attached patch fixes the failures on darwin. With this switch we suppress the warning about multiple defined symbols.


Is this the right way?

If yes, I could apply a patch for builtin-noret-1.c and builtin-noret-2.c in testsuite/gcc.dg/torture.

Ok?

Andreas

P.S, a similar one could be used for gcc.c-torture/execute/builtins/string*

diff -u -r1.1 builtin-noret-1.c
--- builtin-noret-1.c 11 May 2003 08:20:34 -0000 1.1
+++ builtin-noret-1.c 22 May 2003 16:40:45 -0000
@@ -1,5 +1,6 @@
/* Test for builtin noreturn attributes. */
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
+/* { dg-options "-multiply_defined suppress" { target powerpc-*-darwin* } } */
/* { dg-do link } */


extern void abort (void);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]