public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/59882] [4.9 Regression] internal compiler error: Segmentation fault Date: Mon, 20 Jan 2014 06:38:00 -0000 [thread overview] Message-ID: <bug-59882-4-waGtwGjJ6S@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-59882-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59882 Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |ice-on-valid-code Last reconfirmed| |2014-01-20 Component|other |ipa CC| |trippels at gcc dot gnu.org Ever confirmed|0 |1 Summary|dev-cpp/xsd: internal |[4.9 Regression] internal |compiler error: |compiler error: |Segmentation fault |Segmentation fault Target Milestone|--- |4.9.0 --- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Confirmed. Another devirtualization issue. markus@x4 tmp % cat test.ii class A; class B {}; struct C { virtual void dispatch(); int traversal_map_; }; template <typename> class F : public virtual C {}; struct I : F<A>, F<int> {}; struct J : B, I {}; class D {}; struct L { L(D &, int &p2) : map_(p2) {} virtual void traverse(int &p1) { int &s = p1; names<L>(s, names_); } int &map_; J names_; template <typename> void names(int &, C &p2) { p2.dispatch(); } }; struct G : D { G(D &, int &p2) : map_(p2) { L(*this, map_); } int &map_; }; int a; void fn1(D &p1) { G(p1, a); } markus@x4 tmp % g++ -c -O2 test.ii test.ii: In member function ‘virtual void L::traverse(int&)’: test.ii:29:29: internal compiler error: Segmentation fault void fn1(D &p1) { G(p1, a); } ^ 0xb541af crash_signal ../../gcc/gcc/toplev.c:337 0x98e5eb tree_check ../../gcc/gcc/tree.h:2708 0x98e5eb gimple_get_virt_method_for_binfo(long, tree_node*) ../../gcc/gcc/gimple-fold.c:3242 0x9d35a9 possible_polymorphic_call_targets(tree_node*, long, ipa_polymorphic_call_context, bool*, void**) ../../gcc/gcc/ipa-devirt.c:1312 0x9902ab possible_polymorphic_call_targets(tree_node*, bool*, void**) ../../gcc/gcc/ipa-utils.h:135 0x98d4a6 gimple_fold_call ../../gcc/gcc/gimple-fold.c:1185 0x98d4a6 fold_stmt_1 ../../gcc/gcc/gimple-fold.c:1298 0xbaacb9 fold_marked_statements ../../gcc/gcc/tree-inline.c:4511 0xbb8374 optimize_inline_calls(tree_node*) ../../gcc/gcc/tree-inline.c:4592 0x1058409 early_inliner ../../gcc/gcc/ipa-inline.c:2272 0x1058409 execute ../../gcc/gcc/ipa-inline.c:2335 Please submit a full bug report, >From gcc-bugs-return-440958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 07:27:49 2014 Return-Path: <gcc-bugs-return-440958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7373 invoked by alias); 20 Jan 2014 07:27:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7340 invoked by uid 48); 20 Jan 2014 07:27:44 -0000 From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/55113] ICE with LTO and -fshort-double Date: Mon, 20 Jan 2014 07:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: <bug-55113-4-6s5YxH8BHm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-55113-4@http.gcc.gnu.org/bugzilla/> References: <bug-55113-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg02100.txt.bz2 Content-length: 868 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55113 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE in |ICE with LTO and |emit_library_call_value_1, |-fshort-double |at calls.c:3757 | --- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fshort-double is what is causing the issue. Why are you using that option in the first place? It changes the ABI. With 4.7.0 (and checking enabled), I get the following ICE on all targets with -flto -fshort-double -Os: t7.c: In function ‘main’: t7.c:3:5: error: non-trivial conversion at assignment float double # .MEM_2 = VDEF <.MEM_1(D)> f = 1.0e+0; >From gcc-bugs-return-440959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 07:48:08 2014 Return-Path: <gcc-bugs-return-440959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13393 invoked by alias); 20 Jan 2014 07:48:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13346 invoked by uid 48); 20 Jan 2014 07:48:05 -0000 From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59880] ix86_avoid_lea_for_addr is buggy Date: Mon, 20 Jan 2014 07:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component target_milestone bug_severity Message-ID: <bug-59880-4-TE2UotQ7n5@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-59880-4@http.gcc.gnu.org/bugzilla/> References: <bug-59880-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg02101.txt.bz2 Content-length: 406 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59880 Uroš Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|rtl-optimization |target Target Milestone|--- |4.7.4 Severity|enhancement |normal >From gcc-bugs-return-440960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 07:50:08 2014 Return-Path: <gcc-bugs-return-440960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14417 invoked by alias); 20 Jan 2014 07:50:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14373 invoked by uid 48); 20 Jan 2014 07:50:05 -0000 From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58945] Improve atomic_compare_and_swap*_doubleword pattern Date: Mon, 20 Jan 2014 07:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: steven at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: <bug-58945-4-HWZRSYpH1W@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-58945-4@http.gcc.gnu.org/bugzilla/> References: <bug-58945-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg02102.txt.bz2 Content-length: 297 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58945 Uroš Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >From gcc-bugs-return-440961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 07:59:15 2014 Return-Path: <gcc-bugs-return-440961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18131 invoked by alias); 20 Jan 2014 07:59:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18110 invoked by uid 48); 20 Jan 2014 07:59:11 -0000 From: "sylvain.laperche at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/59853] gnatmake cannot build a library Date: Mon, 20 Jan 2014 07:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sylvain.laperche at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-59853-4-WLk6CUZCNu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-59853-4@http.gcc.gnu.org/bugzilla/> References: <bug-59853-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg02103.txt.bz2 Content-length: 518 http://gcc.gnu.org/bugzilla/show_bug.cgi?idY853 --- Comment #4 from Sylvain Laperche <sylvain.laperche at gmail dot com> --- I downloaded the source of GCC 4.8.2 from here[1]. I compiled it with and without --disable-nls, in both case it works fine. I cannot reproduce the issue I encounter with the the binary from the official repository of Archlinux. That seems to be an issue related to my environment or to the packaging done by the distribution. [1]: http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2
next prev parent reply other threads:[~2014-01-20 6:38 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-01-19 17:27 [Bug other/59882] New: dev-cpp/xsd: " nheghathivhistha at gmail dot com 2014-01-19 22:27 ` [Bug other/59882] " nheghathivhistha at gmail dot com 2014-01-20 2:20 ` nheghathivhistha at gmail dot com 2014-01-20 6:38 ` trippels at gcc dot gnu.org [this message] 2014-01-20 9:36 ` [Bug ipa/59882] [4.9 Regression] " rguenth at gcc dot gnu.org 2014-02-03 22:00 ` hubicka at gcc dot gnu.org 2014-02-04 6:28 ` hubicka at gcc dot gnu.org 2014-02-04 6:32 ` 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-59882-4-waGtwGjJ6S@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).