public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "aldyh at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/47889] [4.7/4.8/4.9 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228 Date: Thu, 09 Jan 2014 23:00:00 -0000 [thread overview] Message-ID: <bug-47889-4-iaVdOp1KOd@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-47889-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889 Aldy Hernandez <aldyh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu.org --- Comment #10 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Can we remove 4.7, 4.8, and 4.9 from the failing targets? It seems we diagnose it just fine and we don't even error out (just a warning). This is what we get on 4.8 and 4.9: reynosa:/dev/shm/trunk/gcc$ ./xgcc -B./ main.c s.c -flto -O -DPR47889 main.c:1:13: warning: type of 's' does not match original declaration [enabled by default] extern char s[1]; ^ s.c:1:14: note: previously declared here struct S { } s; ^ Similarly for 4.7: reynosa:/build/pristine-4_7/gcc$ ./xgcc -B./ main.c s.c -flto -O -DPR47889 In file included from :0:0: main.c:1:13: warning: type of 's' does not match original declaration [enabled by default] In file included from main.c:3:0, from :0: s.c:1:14: note: previously declared here So I don't see any segfault as reported in the PR. And I don't see any hard error (since Richi said we shouldn't error, which we don't...). The only place where I see an ICE is in 4.6: reynosa:/build/pristine-4.6/gcc$ ./xgcc -B./ main.c s.c -flto -O -DPR47889 main.c:1:13: warning: type of 's' does not match original declaration [enabled by default] s.c:1:14: note: previously declared here In file included from :0:0: main.c: In function 'main': main.c:5:5: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: ./xgcc returned 1 exit status /usr/bin/ld: lto-wrapper failed collect2: ld returned 1 exit status Can we just flag this exclusively as a 4.6 problem?
next prev parent reply other threads:[~2014-01-09 23:00 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-02-25 0:21 [Bug lto/47889] New: Segmentation fault in lto1 d.g.gorbachev at gmail dot com 2011-02-27 19:56 ` [Bug lto/47889] " d.g.gorbachev at gmail dot com 2011-04-06 0:28 ` [Bug lto/47889] [4.6/4.7 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228 pinskia at gcc dot gnu.org 2011-06-12 13:01 ` rguenth at gcc dot gnu.org 2011-06-27 16:08 ` jakub at gcc dot gnu.org 2011-07-12 21:18 ` pinskia at gcc dot gnu.org 2011-07-12 21:21 ` rguenth at gcc dot gnu.org 2011-10-26 17:54 ` jakub at gcc dot gnu.org 2011-10-26 19:36 ` d.g.gorbachev at gmail dot com 2012-03-01 15:18 ` jakub at gcc dot gnu.org 2013-04-12 15:18 ` [Bug lto/47889] [4.7/4.8/4.9 " jakub at gcc dot gnu.org 2014-01-09 23:00 ` aldyh at gcc dot gnu.org [this message] 2014-01-09 23:01 ` aldyh at gcc dot gnu.org 2014-01-09 23:43 ` d.g.gorbachev at gmail dot com 2014-01-09 23:47 ` aldyh at redhat dot com 2014-01-10 0:01 ` [Bug lto/47889] [4.7 " d.g.gorbachev at gmail dot com 2014-01-10 0:20 ` aldyh at redhat dot com 2014-01-10 16:22 ` d.g.gorbachev at gmail dot com 2014-01-10 18:39 ` [Bug lto/47889] [4.7 Regression] Segmentation fault in array_ref_element_size / useless_type_conversion_p aldyh at gcc dot gnu.org 2014-06-12 12:59 ` rguenth 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-47889-4-iaVdOp1KOd@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).