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]

Re: 1 GCC gcc-3_4-branch regressions, 1 new, with your patch on 2004-01-28T02:13:17Z.


"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:

>  > From: "GCC regression checker" <geoffk@apple.com>
>  > 
>  > With your recent patch, GCC gcc-3_4-branch has some regression test failures, 
>  > which used to pass.  There are 1 new failures, and 0
>  > failures that existed before and after that patch; 0 failures
>  > have been fixed.
>  > 
>  > The new failures are:
>  > native objc.sum objc.dg/call-super-2.m
> 
> Geoff, according to the logfile, this is failing because size_t isn't
> declared.  However it works for me on solaris2.7 and irix6.5.  The
> testfile includes objc.h which includes stddef.h and Object.h which
> includes stdio.h via typedstream.h, so there are two ways we should be
> getting size_t.  The other testfile which uses size_t (desig-init-1.m)
> includes stdio.h directly and that appears to work on your tester.
> 
> Would you check what's up with your headers?

My objc.h doesn't include stddef.h, and my Object.h doesn't include
typedstream.h, probably because I'm not using GNU objc.  I'll commit
this patch to fix it:

2004-01-29  Geoffrey Keating  <geoffk@geoffk.org>

        * objc.dg/call-super-2.m: Include stddef.h for size_t.

Index: objc.dg/call-super-2.m
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/objc.dg/call-super-2.m,v
retrieving revision 1.3
diff -u -p -r1.3 call-super-2.m
--- objc.dg/call-super-2.m      27 Jan 2004 22:13:28 -0000      1.3
+++ objc.dg/call-super-2.m      29 Jan 2004 20:54:06 -0000
@@ -3,6 +3,7 @@
 /* Contributed by Ziemowit Laski <zlaski@apple.com>.  */
 /* { dg-do compile } */

+#include <stddef.h>
 #include <objc/objc.h>
 #include <objc/Object.h>

I checked that the resulting call-super-2.m doesn't complain about
size_t on Darwin.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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