public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gcc at portuosus dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/49165] New: ICE on for-loop/throw combination Date: Wed, 25 May 2011 18:34:00 -0000 [thread overview] Message-ID: <bug-49165-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165 Summary: ICE on for-loop/throw combination Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: gcc@portuosus.com Source file /tmp/redux.cc: #include <iostream> #include <string> int main(int argc,char**argv) { std::string str; for ( int field(0); (field<10) && ((std::cin>>str)?true:(throw std::string("failure"))); field++ ); } produces: /tmp/redux.cc: In function ‘int main(int, char**)’: /tmp/redux.cc:7:3: internal compiler error: in fold_convert_loc, at fold-const.c:2670
next reply other threads:[~2011-05-25 18:14 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-05-25 18:34 gcc at portuosus dot com [this message] 2011-05-25 18:43 ` [Bug c++/49165] " gcc at portuosus dot com 2011-05-25 18:55 ` [Bug c++/49165] [4.3/4.4/4.5/4.6/4.7 Regression] " jakub at gcc dot gnu.org 2011-05-25 19:51 ` jakub at gcc dot gnu.org 2011-05-25 20:30 ` jason at gcc dot gnu.org 2011-05-26 7:48 ` jakub at gcc dot gnu.org 2011-05-26 8:30 ` rguenth at gcc dot gnu.org 2011-05-26 9:26 ` jakub at gcc dot gnu.org 2011-05-26 10:28 ` jakub at gcc dot gnu.org 2011-05-26 10:34 ` jakub at gcc dot gnu.org 2011-05-26 11:05 ` [Bug c++/49165] [4.3/4.4/4.5 " jakub at gcc dot gnu.org 2011-05-27 8:02 ` gcc at portuosus dot com 2011-05-27 12:31 ` jakub at gcc dot gnu.org 2011-05-27 19:24 ` jakub at gcc dot gnu.org 2011-05-27 19:32 ` jakub at gcc dot gnu.org 2011-05-27 22:31 ` gcc at portuosus dot com 2011-06-27 10:45 ` rguenth at gcc dot gnu.org 2011-06-27 13:51 ` rguenth at gcc dot gnu.org 2011-07-19 12:55 ` [Bug c++/49165] [4.4/4.5 " jakub at gcc dot gnu.org 2011-07-19 12:57 ` jakub at gcc dot gnu.org 2011-07-19 19:31 ` jakub at gcc dot gnu.org 2011-07-19 19:31 ` jakub at gcc dot gnu.org 2011-07-19 19:53 ` 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-49165-4@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).