public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/40642] [4.5 regression] ICE with -fprofile-generate Date: Sun, 05 Jul 2009 23:59:00 -0000 [thread overview] Message-ID: <20090705235938.23894.qmail@sourceware.org> (raw) In-Reply-To: <bug-40642-102@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from reichelt at gcc dot gnu dot org 2009-07-05 23:59 ------- Confirmed. Reduced testcase (crashes with "-O2 -fprofile-generate"): ======================================================================== inline void* operator new(__SIZE_TYPE__, void* p) throw() { return p; } inline void operator delete (void*, void*) throw() { } template<typename T> void foo(void* p, T t) { new(p) T(t); } void bar(); template<typename T> struct A { T* p; A() { try { foo(p, T()); } catch(...) {} } A(const A&) { try { bar(); } catch(...) { throw; } } }; A<A<int> > a; ======================================================================== The bug appeared between 2009-04-24 and 2009-05-09. -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-07-05 23:59:38 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40642
next prev parent reply other threads:[~2009-07-05 23:59 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-07-03 16:43 [Bug tree-optimization/40642] New: " bangerth at gmail dot com 2009-07-03 17:20 ` [Bug tree-optimization/40642] " rguenth at gcc dot gnu dot org 2009-07-05 23:59 ` reichelt at gcc dot gnu dot org [this message] 2009-07-09 15:48 ` rguenth at gcc dot gnu dot org 2009-09-18 3:53 ` pinskia at gcc dot gnu dot org 2009-09-20 20:05 ` pinskia at gcc dot gnu dot org 2009-09-20 20:06 ` pinskia at gcc dot gnu dot org 2009-09-20 20:28 ` reichelt at gcc dot gnu dot org 2009-09-28 20:41 ` hjl 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=20090705235938.23894.qmail@sourceware.org \ --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).