This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR other/16820 (struct-layout-1 failures on non-ISOC99 systems)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 31 Jul 2004 15:38:55 -0400
- Subject: Re: [PATCH] Fix PR other/16820 (struct-layout-1 failures on non-ISOC99 systems)
- References: <200407311720.i6VHK0Yj013287@hiauly1.hia.nrc.ca>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Sat, Jul 31, 2004 at 01:20:00PM -0400, John David Anglin wrote:
> > 2004-07-30 Jakub Jelinek <jakub@redhat.com>
> >
> > PR other/16820
> > * gcc.dg/compat/struct-layout-1.h: Don't include complex.h nor
> > stdint.h.
> > * gcc.dg/compat/struct-layout-1_x1.h (TX): Cast to long instead of
> > uintptr_t.
>
> The change fixes the build problem for these tests on hppa2.0w-hp-hpux11.11
> and hppa64-hp-hpux11.11. However, all the execute tests fail on hppa2.0w
> and three on hppa64. See:
>
> <http://gcc.gnu.org/ml/gcc-testresults/2004-07/msg01348.html>
> <http://gcc.gnu.org/ml/gcc-testresults/2004-07/msg01349.html>.
There are a couple of failures even on i386 and x86-64.
I think a lot of targets will need some fixes to make them all pass.
Of course, failing all of them is too much.
You can build the tests with -DDBG and it will tell you in
gcc/testsuite/gcc.log what exact tests failed.
Jakub