public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "larsbj at gullik dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/65000] ICE in in expand_builtin_eh_common, at except.c:2072 Date: Tue, 10 Feb 2015 13:44:00 -0000 [thread overview] Message-ID: <bug-65000-4-oFf6SWxllp@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-65000-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65000 --- Comment #2 from Lars Gullik Bjønnes <larsbj at gullik dot net> --- Created attachment 34711 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34711&action=edit preprocessed source for test code in #1 >From gcc-bugs-return-476667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 10 13:47:42 2015 Return-Path: <gcc-bugs-return-476667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22638 invoked by alias); 10 Feb 2015 13:47:42 -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 22519 invoked by uid 48); 10 Feb 2015 13:47:38 -0000 From: "larsbj at gullik dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/65000] ICE in in expand_builtin_eh_common, at except.c:2072 Date: Tue, 10 Feb 2015 13:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: larsbj at gullik dot net 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: Message-ID: <bug-65000-4-Szdv6Gm6XC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65000-4@http.gcc.gnu.org/bugzilla/> References: <bug-65000-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: 2015-02/txt/msg01000.txt.bz2 Content-length: 667 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65000 --- Comment #3 from Lars Gullik Bjønnes <larsbj at gullik dot net> --- This is a different code snippet to get what seems to be the same error: --------------- #include <ostream> int f(unsigned int datalen); class Streambuf : public std::basic_streambuf<char> { private: virtual int sync() { f(this->pptr() - this->pbase()); return 0; } }; class Stream : public std::basic_ostream<char> { public: ~Stream() { buf_.pubsync(); } private: Streambuf buf_; }; void test() { Stream cs; } --------------- I'll add preprocessed source for that as well. >From gcc-bugs-return-476668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 10 13:48:48 2015 Return-Path: <gcc-bugs-return-476668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26698 invoked by alias); 10 Feb 2015 13:48:48 -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 26602 invoked by uid 48); 10 Feb 2015 13:48:44 -0000 From: "larsbj at gullik dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/65000] ICE in in expand_builtin_eh_common, at except.c:2072 Date: Tue, 10 Feb 2015 13:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: larsbj at gullik dot net 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: attachments.created Message-ID: <bug-65000-4-3t73uqbOJm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65000-4@http.gcc.gnu.org/bugzilla/> References: <bug-65000-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: 2015-02/txt/msg01001.txt.bz2 Content-length: 273 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65000 --- Comment #4 from Lars Gullik Bjønnes <larsbj at gullik dot net> --- Created attachment 34712 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34712&action=edit preprocesed source for second code snippet >From gcc-bugs-return-476669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 10 13:49:42 2015 Return-Path: <gcc-bugs-return-476669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2048 invoked by alias); 10 Feb 2015 13:49:41 -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 1959 invoked by uid 48); 10 Feb 2015 13:49:38 -0000 From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65002] New: [4.9 Regression] ICE: Segmentation fault Date: Tue, 10 Feb 2015 13:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: <bug-65002-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: 2015-02/txt/msg01002.txt.bz2 Content-length: 1123 https://gcc.gnu.org/bugzilla/show_bug.cgi?ide002 Bug ID: 65002 Summary: [4.9 Regression] ICE: Segmentation fault Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org seen with trunk 20150210 on x86_64-linux-gnu $ g++ -c -O2 IFCCurve.ii IFCCurve.ii: In member function 'virtual int B::m_fn1(float) const': IFCCurve.ii:22:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. $ cat IFCCurve.ii namespace fastmath { template <typename T> float floor(const T &) __attribute__((const)); template <typename T> float floor(const T &p1) { return p1; } } using fastmath::floor; class A { public: A(int, int); virtual int m_fn1(float) const; }; class B : A { public: B(int, int p2) : A(entity, p2) {} int m_fn1(float p1) const { long b(floor(p1)); } int entity; }; int a; void Convert() { if (int *c = 0) B(*c, a); }
next prev parent reply other threads:[~2015-02-10 13:44 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-65000-4@http.gcc.gnu.org/bugzilla/> 2015-02-10 13:12 ` mpolacek at gcc dot gnu.org 2015-02-10 13:44 ` larsbj at gullik dot net [this message] 2015-02-10 13:55 ` trippels at gcc dot gnu.org 2015-02-10 14:05 ` jakub at gcc dot gnu.org 2015-02-10 14:10 ` larsbj at gullik dot net 2015-02-10 14:17 ` mpolacek at gcc dot gnu.org 2015-02-10 16:18 ` jakub at gcc dot gnu.org 2015-02-10 17:53 ` rth at gcc dot gnu.org 2015-02-11 8:45 ` jakub at gcc dot gnu.org 2015-02-11 17:05 ` rth at gcc dot gnu.org 2015-02-11 17:26 ` rth at gcc dot gnu.org 2015-02-12 21:31 ` jakub 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-65000-4-oFf6SWxllp@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).