public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/16820] New: Failure of all gcc.dg/compat/struct-layout-1 tests
@ 2004-07-29 19:51 danglin at gcc dot gnu dot org
  2004-07-30  0:07 ` [Bug other/16820] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-07-29 19:51 UTC (permalink / raw)
  To: gcc-bugs

Running /test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/compat/compat.exp ...
FAIL: gcc.dg/compat/struct-layout-1 c_compat_main_tst.o compile
FAIL: gcc.dg/compat/struct-layout-1 c_compat_x_tst.o compile
FAIL: gcc.dg/compat/struct-layout-1 c_compat_y_tst.o compile
Running /test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1.exp ..
.
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_main_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_x_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_y_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_main_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_x_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_y_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_main_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_x_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_y_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t004 c_compat_main_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t004 c_compat_x_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t004 c_compat_y_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_main_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_x_tst.o compile
FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_y_tst.o compile
...

2004-07-24  Jakub Jelinek  <jakub@redhat.com>

        * README.compat: Add RUN_ALL_COMPAT_TESTS documentation.
        * lib/compat.exp: Replace ^$tmpdir/? in testcase names with tmpdir-.
        * gcc.dg/compat/struct-layout-1.exp: New testsuite driver.
        * gcc.dg/compat/struct-layout-1_generate.c: New testcase generator.
        * gcc.dg/compat/generate-random.c: New file.
        * gcc.dg/compat/generate-random.h: Likewise.
        * gcc.dg/compat/generate-random_r.c: Likewise.
        * gcc.dg/compat/struct-layout-1.h: Likewise.
        * gcc.dg/compat/struct-layout-1_x1.h: Likewise.
        * gcc.dg/compat/struct-layout-1_x2.h: Likewise.
        * gcc.dg/compat/struct-layout-1_y1.h: Likewise.
        * gcc.dg/compat/struct-layout-1_y2.h: Likewise.
        * gcc.dg/compat/struct-layout-1_main.c: New test.
        * gcc.dg/compat/struct-layout-1_x.c: New file.
        * gcc.dg/compat/struct-layout-1_y.c: New file.
        * gcc.dg/compat/struct-layout-1_test.h: New file.

The fails are all caused by the lack of the header files <complex.h>
and <stdint.h> on non C99 systems:

Executing on host: /test/gnu/gcc-3.3/objdir/gcc/xgcc -B/test/gnu/gcc-3.3/objdir/
gcc/    -c  -o c_compat_main_tst.o /test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/co
mpat/struct-layout-1_main.c    (timeout = 300)
In file included from /test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/compat/struct-l
ayout-1_main.c:1:
/test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1.h:1:21: comple
x.h: No such file or directory
/test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1.h:6:20: stdint
.h: No such file or directory

The <stdint.h> C99 issues are documented in PR 448
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=448>.

We need a way to xfail these tests until the C99 issues are resolved.

-- 
           Summary: Failure of all gcc.dg/compat/struct-layout-1 tests
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,jakub at redhat dot com
 GCC build triplet: hppa2.0w-hp-hpux11.*, hppa64-hp-hpux11.*
  GCC host triplet: hppa2.0w-hp-hpux11.*, hppa64-hp-hpux11.*
GCC target triplet: hppa2.0w-hp-hpux11.*, hppa64-hp-hpux11.*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16820


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/16820] Failure of all gcc.dg/compat/struct-layout-1 tests
  2004-07-29 19:51 [Bug other/16820] New: Failure of all gcc.dg/compat/struct-layout-1 tests danglin at gcc dot gnu dot org
@ 2004-07-30  0:07 ` pinskia at gcc dot gnu dot org
  2004-07-30  2:33 ` danglin at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-30  0:07 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16820


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/16820] Failure of all gcc.dg/compat/struct-layout-1 tests
  2004-07-29 19:51 [Bug other/16820] New: Failure of all gcc.dg/compat/struct-layout-1 tests danglin at gcc dot gnu dot org
  2004-07-30  0:07 ` [Bug other/16820] " pinskia at gcc dot gnu dot org
@ 2004-07-30  2:33 ` danglin at gcc dot gnu dot org
  2004-07-30  2:37 ` mark at codesourcery dot com
  2004-10-15 17:13 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-07-30  2:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2004-07-30 02:33 -------
I agree that the issue is minor but I think we need a policy here, or
else we will soon have thousands of testsuite failures on non C99
targets.  The onus should not be on the backend maintainers
to work out xfail code for testsuite additions that  require C99 library
and header support on a case-by-case basis.  There needs to be
something like a "c99_available" proc in target-supports.exp.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16820


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/16820] Failure of all gcc.dg/compat/struct-layout-1 tests
  2004-07-29 19:51 [Bug other/16820] New: Failure of all gcc.dg/compat/struct-layout-1 tests danglin at gcc dot gnu dot org
  2004-07-30  0:07 ` [Bug other/16820] " pinskia at gcc dot gnu dot org
  2004-07-30  2:33 ` danglin at gcc dot gnu dot org
@ 2004-07-30  2:37 ` mark at codesourcery dot com
  2004-10-15 17:13 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: mark at codesourcery dot com @ 2004-07-30  2:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mark at codesourcery dot com  2004-07-30 02:37 -------
Subject: Re:  Failure of all gcc.dg/compat/struct-layout-1
 tests

danglin at gcc dot gnu dot org wrote:

>------- Additional Comments From danglin at gcc dot gnu dot org  2004-07-30 02:33 -------
>I agree that the issue is minor but I think we need a policy here, or
>else we will soon have thousands of testsuite failures on non C99
>targets.  The onus should not be on the backend maintainers
>to work out xfail code for testsuite additions that  require C99 library
>and header support on a case-by-case basis.  There needs to be
>something like a "c99_available" proc in target-supports.exp.
>  
>
I very much agree.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16820


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/16820] Failure of all gcc.dg/compat/struct-layout-1 tests
  2004-07-29 19:51 [Bug other/16820] New: Failure of all gcc.dg/compat/struct-layout-1 tests danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-07-30  2:37 ` mark at codesourcery dot com
@ 2004-10-15 17:13 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-15 17:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-15 17:13 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16820


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-10-15 17:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29 19:51 [Bug other/16820] New: Failure of all gcc.dg/compat/struct-layout-1 tests danglin at gcc dot gnu dot org
2004-07-30  0:07 ` [Bug other/16820] " pinskia at gcc dot gnu dot org
2004-07-30  2:33 ` danglin at gcc dot gnu dot org
2004-07-30  2:37 ` mark at codesourcery dot com
2004-10-15 17:13 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).