public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hp at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/55438] New: [4.8 Regression]: tmpdir-gcc.dg-struct-layout-1/t001 - t028 ICE
Date: Thu, 22 Nov 2012 06:58:00 -0000	[thread overview]
Message-ID: <bug-55438-4@http.gcc.gnu.org/bugzilla/> (raw)


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

             Bug #: 55438
           Summary: [4.8 Regression]: tmpdir-gcc.dg-struct-layout-1/t001 -
                    t028 ICE
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, wrong-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hp@gcc.gnu.org
                CC: rsandifo@gcc.gnu.org
              Host: x86_64-unknown-linux-gnu
            Target: cris-axis-elf


Created attachment 28761
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28761
cc1 -fpreprocessed t001_x.i -melf -quiet -dumpbase t001_x.c -auxbase-strip
c_compat_x_tst.o -Wno-abi -w -version -fno-diagnostics-show-caret -o t001_x.s

These tests previously passed, now they fail.
A patch in the revision range (last_known_working:first_known_failing)
193600:193604
exposed or caused these regressions.  Since then they fail as follows:

Running
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1.exp ...
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t004 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t004 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t006 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t006 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t007 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t007 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t009 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t009 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t010 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t010 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t011 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t011 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t012 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t012 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t013 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t013 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t014 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t014 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t015 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t015 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t017 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t017 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t018 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t018 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t019 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t019 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t020 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t020 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t021 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t021 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t022 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t022 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t023 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t023 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t024 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t024 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t025 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t025 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t026 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t026 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t027 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t027 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_x_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_y_tst.o compile,  (internal
compiler error)

and similarly for g++.dg/compat/struct-layout-1.exp

The messages in gcc.log are similar:

Executing on host: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/xgcc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/  -fno-diagnostics-show-caret  -w
-I/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/compat -Wno-abi
-DSKIP_DECIMAL_FLOAT -DSKIP_DECIMAL_FLOAT -c   -isystem
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem
/tmp/hpautotest-gcc1/gcc/newlib/libc/include  -o c_compat_x_tst.o
/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t001_x.c
   (timeout = 300)
xgcc: internal compiler error: Segmentation fault (program cc1)
0x4082c1 execute
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:2772
0x409214 do_spec_1
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:4564
0x40b647 process_brace_body
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821
0x40b647 handle_braces
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735
0x409875 do_spec_1
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5218
0x40b647 process_brace_body
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821
0x40b647 handle_braces
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735
0x409875 do_spec_1
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5218
0x409724 do_spec_1
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5323
0x40b647 process_brace_body
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821
0x40b647 handle_braces
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735
0x409875 do_spec_1
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5218
0x40b647 process_brace_body
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821
0x40b647 handle_braces
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735
0x409875 do_spec_1
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5218
0x40b647 process_brace_body
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821
0x40b647 handle_braces
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735
0x409875 do_spec_1
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5218
0x40b647 process_brace_body
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821
0x40b647 handle_braces
        /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735
Please submit a full bug report,

(A guess is that the backtrace from xgcc is due to cc1 not ICE:ing but
SEGV:ing.  Revisions at least around the mentioned range may instead consume
excessive memory; > 10 GiB, and are killed by the kernel OOM.)

Preprocessed t001_x.i and command-line is attached.

Author of all commits in the revision range CC:ed.

Note that when compiling any of the revisions r193595 .. r193667 on a host with
gcc-4.5 or earlier (possibly later versions as well) you need to apply revision
r193667.


             reply	other threads:[~2012-11-22  6:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-22  6:58 hp at gcc dot gnu.org [this message]
2012-11-23  0:44 ` [Bug middle-end/55438] [4.8 Regression]: tmpdir-gcc.dg-struct-layout-1/t001 - t028, gcc.c-torture/execute/991118-1.c, gcc.c-torture/execute/bf64-1.c, ICE hp at gcc dot gnu.org
2012-11-24 10:37 ` rsandifo at gcc dot gnu.org
2012-11-25 15:52 ` rguenth at gcc dot gnu.org
2012-11-28 20:14 ` rsandifo at gcc dot gnu.org
2012-11-28 20:23 ` rsandifo at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-55438-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).