public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/30864] [4.3 Regression] ice for legal code with -O2 Date: Thu, 22 Feb 2007 19:05:00 -0000 [thread overview] Message-ID: <20070222190449.31180.qmail@sourceware.org> (raw) In-Reply-To: <bug-30864-9596@http.gcc.gnu.org/bugzilla/> ------- Comment #4 from pinskia at gcc dot gnu dot org 2007-02-22 19:04 ------- Reduced testcase: struct QString { ~QString(); }; template <class T> struct QValueListNode { QValueListNode<T>* next; T data; }; template <class T> struct QValueListPrivate { ~QValueListPrivate() { QValueListNode<T>* p = node->next; while( p != node ) { QValueListNode<T>* x = p->next; delete p; p = x; } } QValueListNode<T>* node; }; struct Option { QString sarg; }; struct Options { QString helptext; QValueListPrivate <QString> filelist; QValueListPrivate <Option> optlist; }; Options options; -------------------------------- Backtrace: #0 fancy_abort (file=0xda8f04 "../../gcc/cfg.c", line=665, function=0xda92c0 "alloc_aux_for_block") at ../../gcc/diagnostic.c:642 #1 0x00797674 in alloc_aux_for_block (bb=0xf6fbe0, size=24) at ../../gcc/cfg.c:665 #2 0x007979d8 in alloc_aux_for_blocks (size=24) at ../../gcc/cfg.c:693 #3 0x00989adc in estimate_bb_frequencies () at ../../gcc/predict.c:1712 #4 0x004b7594 in execute_function_todo (data=0x463d) at ../../gcc/passes.c:899 #5 0x004b6e70 in do_per_function (callback=0x4b71d4 <execute_function_todo>, data=0x463d) at ../../gcc/passes.c:754 #6 0x004b76d8 in execute_todo (flags=17981) at ../../gcc/passes.c:932 #7 0x004b7e0c in execute_one_pass (pass=0xe9956c) at ../../gcc/passes.c:1077 (gdb) p *pass $2 = { name = 0xd82eb0 "apply_inline", Note I reduced this to be able to reproduce with just -O2. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-valid-code Last reconfirmed|0000-00-00 00:00:00 |2007-02-22 19:04:49 date| | Summary|[4.3 Regression] ice for |[4.3 Regression] ice for |legal code with -O3 |legal code with -O2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30864
next prev parent reply other threads:[~2007-02-22 19:05 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-19 20:45 [Bug c++/30864] New: ice for legal code with -O3 dcb314 at hotmail dot com 2007-02-19 20:46 ` [Bug c++/30864] " dcb314 at hotmail dot com 2007-02-19 20:50 ` [Bug middle-end/30864] [4.3 Regression] " pinskia at gcc dot gnu dot org 2007-02-22 6:59 ` pinskia at gcc dot gnu dot org 2007-02-22 19:05 ` pinskia at gcc dot gnu dot org [this message] 2007-03-19 10:55 ` [Bug middle-end/30864] [4.3 Regression] ice for legal code with -O2 wouter dot vermaelen at pi dot be 2007-03-19 13:21 ` mueller at gcc dot gnu dot org 2007-03-20 12:49 ` mueller 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=20070222190449.31180.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).