public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "edwintorok at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/41756]  New: LTO: -flto -O1 -use-linker-plugin, linking files compiled with -fno-exceptions with ones compiled with exceptions yields error "BB 14 can not throw but has an EH edge"
Date: Mon, 19 Oct 2009 16:54:00 -0000	[thread overview]
Message-ID: <bug-41756-15165@http.gcc.gnu.org/bugzilla/> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2295 bytes --]

$ /home/edwin/inst/bin/g++ -v
Using built-in specs.
COLLECT_GCC=/home/edwin/inst/bin/g++
COLLECT_LTO_WRAPPER=/home/edwin/inst/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --enable-lto --enable-languages=c,c++
--enable-gold
Thread model: posix
gcc version 4.5.0 20091019 (experimental) (GCC)

sh -x script
+ /home/edwin/inst/bin/g++ -fPIC SourceMgr.i -flto -fno-exceptions -O1 -c -o
SourceMgr.o
+ /home/edwin/inst/bin/g++ -fPIC AsmMatcherEmitter.i -flto -O1 -c -o
AsmMatcher.o
+ /home/edwin/inst/bin/g++ -flto -use-linked-plugin -O1 AsmMatcher.o
SourceMgr.o -shared
In function ‘EmitIsSubclass’:
lto1: error: BB 14 can not throw but has an EH edge
lto1: error: BB 15 can not throw but has an EH edge
lto1: error: BB 16 can not throw but has an EH edge
lto1: error: BB 18 can not throw but has an EH edge
lto1: error: BB 19 can not throw but has an EH edge
lto1: error: BB 20 can not throw but has an EH edge
lto1: error: BB 22 can not throw but has an EH edge
lto1: error: BB 23 can not throw but has an EH edge
lto1: error: BB 25 can not throw but has an EH edge
lto1: error: BB 26 can not throw but has an EH edge
lto1: error: BB 27 can not throw but has an EH edge
lto1: error: BB 30 can not throw but has an EH edge
lto1: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: /home/edwin/inst/bin/g++ returned 1 exit status
collect2: lto-wrapper returned 1 exit status


-- 
           Summary: LTO: -flto -O1 -use-linker-plugin, linking files
                    compiled with -fno-exceptions with ones compiled with
                    exceptions yields error "BB 14 can not throw but has an
                    EH edge"
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: edwintorok at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


             reply	other threads:[~2009-10-19 16:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-19 16:54 edwintorok at gmail dot com [this message]
2009-10-19 16:55 ` [Bug lto/41756] " edwintorok at gmail dot com
2009-10-19 16:56 ` edwintorok at gmail dot com
2009-10-19 16:58 ` edwintorok at gmail dot com
2009-10-19 17:00 ` edwintorok at gmail dot com
2009-10-19 17:34 ` steven at gcc dot gnu dot org
2009-10-20  9:35 ` [Bug lto/41756] LTO: -flto -O1 " rguenth at gcc dot gnu dot org
2009-12-11 11:39 ` hubicka at gcc dot gnu dot org
2009-12-11 12:16 ` rguenth at gcc dot gnu dot 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-41756-15165@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).