This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 1 GCC gcc-3_4-branch regressions, 1 new, with your patch on 2004-01-28T02:13:17Z.
- From: Geoff Keating <geoffk at geoffk dot org>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: aph at redhat dot com, bob dot wilson at acm dot org, ebotcazou at libertysurf dot fr, ian at wasabisystems dot com, jakub at redhat dot com, jlquinn at optonline dot net, joern dot rennecke at superh dot com, kkojima at gcc dot gnu dot org, pcarlini at suse dot de, ro at TechFak dot Uni-Bielefeld dot DE, roger at eyesopen dot com, rsandifo at redhat dot com, uweigand at de dot ibm dot com, gcc-patches at gcc dot gnu dot org
- Date: 29 Jan 2004 12:55:35 -0800
- Subject: Re: 1 GCC gcc-3_4-branch regressions, 1 new, with your patch on 2004-01-28T02:13:17Z.
- References: <200401290755.i0T7tMBH029166@gcc-regress-3.apple.com><200401291400.i0TE03wH025962@caip.rutgers.edu>
"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>