public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "anton at samba dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/42528] New: ICE with -flto and -fsigned-char Date: Mon, 28 Dec 2009 22:58:00 -0000 [thread overview] Message-ID: <bug-42528-8090@http.gcc.gnu.org/bugzilla/> (raw) A gcc build from svn today (20091228) gets an ICE on the following code when using -flto and -fsigned-char: char *foo; int main() { foo = "bar"; } # /gcc-test/bin/gcc -flto -fsigned-char foo.c In function 'main': lto1: error: type mismatch in address expression <unnamed-unsigned:8> * <unnamed-signed:8> foo = &"bar"[0]; lto1: internal compiler error: verify_stmts failed It passes with either option on its own. -- Summary: ICE with -flto and -fsigned-char Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anton at samba dot org GCC target triplet: powerpc64-linux-gnu-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42528
next reply other threads:[~2009-12-28 22:58 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-12-28 22:58 anton at samba dot org [this message] 2009-12-31 15:09 ` [Bug lto/42528] " rguenth at gcc dot gnu dot org 2010-01-03 14:33 ` rguenth at gcc dot gnu dot org 2010-01-03 17:31 ` rguenth at gcc dot gnu dot org 2010-01-03 18:12 ` rguenth at gcc dot gnu dot org 2010-01-03 18:21 ` rguenth at gcc dot gnu dot org 2010-01-07 11:01 ` anton at samba dot org 2010-01-08 16:58 ` rguenth at gcc dot gnu dot org 2010-01-08 16:58 ` 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-42528-8090@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: linkBe 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).