This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for PR c/11234
> testsuite:
> 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
>
> PR c/11234
> * gcc.dg/func-ptr-conv-1.c: New test.
> * gcc.dg/weak/weak-6.c, gcc.dg/weak/weak-7.c: Update.
Minor nit left in the testsuite on Solaris. Fixed thusly.
2004-01-10 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/pragma-re-1.c: Use right pointer type.
--
Eric Botcazou
Index: gcc.dg/pragma-re-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/pragma-re-1.c,v
retrieving revision 1.2
diff -u -r1.2 pragma-re-1.c
--- gcc.dg/pragma-re-1.c 22 Mar 2002 22:51:48 -0000 1.2
+++ gcc.dg/pragma-re-1.c 10 Jan 2004 11:22:40 -0000
@@ -8,4 +8,4 @@
#pragma redefine_extname foo bar
extern int foo(void);
-void *p = (void *)foo;
+int (*p)(void) = foo;