This is the mail archive of the gcc-bugs@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]

[Bug other/16820] New: Failure of all gcc.dg/compat/struct-layout-1 tests


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


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