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 lto/58084] [4.9 Regression] FAIL: gcc.dg/torture/pr8081.c  -O2 -flto -fno-use-linker-plugin -flto-partition=none  (internal compiler error)
Date: Mon, 19 Aug 2013 23:38:00 -0000	[thread overview]
Message-ID: <bug-58084-4-v0LORPeur0@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58084-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
For the record, I'm logging the following regression for cris-axis-elf in this
PR as well, because:
1: It's lto
2: The regression is observed introduced in the same interval locally:
(201466:201470]
3: While likely reproducible with a complete toolchain, last I looked
-save-temps didn't do much to help lto debuggability, nor was there equivalent
machinery, so not seeing it as helpful in a separate PR.

I'll make it a separate PR if I see separate changes in behavior (like
torture/pr8081.c fixed but torture/pr48661.C not).

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

In g++.log:
Executing on host:
/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/g++/../../xg++
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/g++/../../
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/g++.dg/torture/pr48661.C 
-fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++
-I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include/cris-elf
-I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include
-I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/libsupc++
-I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/include/backward
-I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/util -fmessage-length=0  -O2
-flto -fno-use-linker-plugin -flto-partition=none      -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  
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libstdc++-v3/src/.libs 
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libstdc++-v3/src/.libs  -lm  
-o ./pr48661.exe    (timeout = 300)
In member function '_ZTv0_n12_NK1D1mEv':
lto1: internal compiler error: Segmentation fault
0x7ea965 crash_signal
        /tmp/hpautotest-gcc1/gcc/gcc/toplev.c:335
0x524936 contains_struct_check
        /tmp/hpautotest-gcc1/gcc/gcc/tree.h:3803
0x524936 fold_build_pointer_plus_loc
        /tmp/hpautotest-gcc1/gcc/gcc/tree.h:5860
0x524936 thunk_adjust
        /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1297
0x5264c3 expand_thunk(cgraph_node*)
        /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1440
0x526d5b assemble_thunks_and_aliases
        /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1549
0x526daa assemble_thunks_and_aliases
        /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1565
0x526f42 expand_function
        /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1675
0x527cb0 expand_all_functions
        /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1717
0x527cb0 compile()
        /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:2054
0x4acbd6 lto_main()
        /tmp/hpautotest-gcc1/gcc/gcc/lto/lto.c:3843

$ c++filt _ZTv0_n12_NK1D1mEv
virtual thunk to D::m() const

(Shouldn't the "In member function" error message refer to the demangled name?)


  parent reply	other threads:[~2013-08-19 23:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-58084-4@http.gcc.gnu.org/bugzilla/>
2013-08-05 10:17 ` [Bug regression/58084] " ktkachov at gcc dot gnu.org
2013-08-05 10:18 ` ktkachov at gcc dot gnu.org
2013-08-06 20:00 ` pthaugen at gcc dot gnu.org
2013-08-08  9:38 ` ramana at gcc dot gnu.org
2013-08-09 12:40 ` ro at gcc dot gnu.org
2013-08-12 12:28 ` hubicka at gcc dot gnu.org
2013-08-12 12:50 ` hubicka at gcc dot gnu.org
2013-08-19 22:28 ` [Bug lto/58084] [4.9 Regression] " hp at gcc dot gnu.org
2013-08-19 23:38 ` hp at gcc dot gnu.org [this message]
2013-08-29 13:17 ` rguenth at gcc dot gnu.org
2013-09-04 16:59 ` hubicka at gcc dot gnu.org
2013-09-17 15:22 ` hubicka 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-58084-4-v0LORPeur0@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).