public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/62102] New: [4.10 Regression]: gcc.dg/torture/pr48953.c -O2 -flto
@ 2014-08-12  2:01 hp at gcc dot gnu.org
  2014-08-13  8:29 ` [Bug regression/62102] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hp at gcc dot gnu.org @ 2014-08-12  2:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62102

            Bug ID: 62102
           Summary: [4.10 Regression]: gcc.dg/torture/pr48953.c -O2 -flto
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: regression
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: hubicka at ucw dot cz
              Host: x86_64-unknown-linux-gnu
            Target: cris-axis-elf

These tests previously passed, now they fail.
A patch in the revision range (last_known_working:first_known_failing)
212108:212117 exposed or caused these regressions.  Yes, I know this is more
than a month ago, sorry for the delay.  Since then they fail as follows:

Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/dg-torture.exp
...
FAIL: gcc.dg/torture/pr48953.c  -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (internal compiler error)
FAIL: gcc.dg/torture/pr48953.c  -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (test for excess errors)
FAIL: gcc.dg/torture/pr48953.c  -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (internal compiler error)
FAIL: gcc.dg/torture/pr48953.c  -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (test for excess errors)
WARNING: gcc.dg/torture/pr48953.c  -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  compilation failed to produce executable

Messages in gcc.log (from r213837):

Executing on host: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/xgcc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/pr48953.c 
-fno-diagnostics-show-caret -fdiagnostics-color=never    -O2 -flto
-fno-use-linker-plugin -flto-partition=none  -fno-tree-dce   -isystem
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem
/tmp/hpautotest-gcc1/gcc/newlib/libc/include
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libgloss/cris/
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libgloss/cris
-L/tmp/hpautotest-gcc1/gcc/libgloss/cris 
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib -sim3  -lm    -o
./pr48953.exe    (timeout = 300)
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/pr48953.c: In function
'main':
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/pr48953.c:14:5: error:
type mismatch in array reference
struct S

struct S

# .MEM_5 = VDEF <.MEM_4>
MEM[(struct S[2] *)&D.1358][0]{lb: 0 sz: 12}.value = 0;
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/pr48953.c:14:5: internal
compiler error: verify_gimple failed
0x8a872c verify_gimple_in_cfg(function*, bool)
        /tmp/hpautotest-gcc1/gcc/gcc/tree-cfg.c:4994
0x7dc2c1 execute_function_todo
        /tmp/hpautotest-gcc1/gcc/gcc/passes.c:1749
0x7dd783 execute_todo
        /tmp/hpautotest-gcc1/gcc/gcc/passes.c:1806
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: fatal error: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/xgcc
returned 1 exit status
compilation terminated.
collect2: fatal error: lto-wrapper returned 1 exit status
compilation terminated.
compiler exited with status 1

Author of suspect patches in revision range CC:ed.
The test passes on the 4.9 branch.
Unfortunately, the failure is appearently LTO-specific and only exposed on this
target, from a quick browse of gcc-testresults archives.


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

end of thread, other threads:[~2014-10-14  6:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-12  2:01 [Bug regression/62102] New: [4.10 Regression]: gcc.dg/torture/pr48953.c -O2 -flto hp at gcc dot gnu.org
2014-08-13  8:29 ` [Bug regression/62102] " rguenth at gcc dot gnu.org
2014-08-13 17:13 ` [Bug regression/62102] [5 " hubicka at gcc dot gnu.org
2014-08-13 17:17 ` hubicka at gcc dot gnu.org
2014-08-13 22:28 ` hp at gcc dot gnu.org
2014-09-19 21:45 ` hubicka at gcc dot gnu.org
2014-10-13 14:47 ` hubicka at gcc dot gnu.org
2014-10-14  0:46 ` hp at gcc dot gnu.org
2014-10-14  6:45 ` hubicka at ucw dot cz

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).