public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "janis at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/34036] New: ICE with control flow in the middle of basic block for -fnon-call-exceptions Date: Thu, 08 Nov 2007 22:01:00 -0000 [thread overview] Message-ID: <bug-34036-4503@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 2342 bytes --] Test eon from SPEC CPU2000 fails to build with "-O2 -fnon-call-exceptions -ffast-math -fsignaling-nans" due to an ICE for control flow in the middle of a basic block. Two minimized tests show different warnings on both powerpc-linux and i686-linux: elm3b145% /opt/gcc-nightly/trunk/bin/g++ -O2 -fnon-call-exceptions -ffast-math -fsignaling-nans -c bug13.cc bug13.cc: In constructor mrGrid::mrGrid(): bug13.cc:22: error: control flow in the middle of basic block 4 bug13.cc:22: internal compiler error: verify_flow_info failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. elm3b145% /opt/gcc-nightly/trunk/bin/g++ -O2 -fnon-call-exceptions -ffast-math -fsignaling-nans -c bug14.cc bug14.cc: In function int main(): bug14.cc:27: error: BB 11 can not throw but has EH edges bug14.cc:27: error: BB 12 can not throw but has EH edges bug14.cc:27: error: control flow in the middle of basic block 13 bug14.cc:27: error: control flow in the middle of basic block 13 bug14.cc:27: internal compiler error: verify_flow_info failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Here's bug13.cc; I'll attach the other which is slightly larger. template <class T> class ggStaticArray { public: ~ggStaticArray(); }; template <class T> class ggGrid { public: ggGrid() : grid() { } ggStaticArray<T> grid; }; class mrGrid { public: mrGrid(void); protected: ggGrid<int*> grid; double multiplier; }; mrGrid::mrGrid(void) { double xMeasure, yMeasure, zMeasure; double cellDimension; cellDimension = multiplier * (xMeasure * yMeasure * zMeasure); } Regression hunts for both identified this patch: http://gcc.gnu.org/viewcvs?view=rev&rev=108425 r108425 | law | 2005-12-12 19:59:16 +0000 (Mon, 12 Dec 2005) -- Summary: ICE with control flow in the middle of basic block for -fnon-call-exceptions Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34036
next reply other threads:[~2007-11-08 22:01 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-11-08 22:01 janis at gcc dot gnu dot org [this message] 2007-11-08 22:03 ` [Bug tree-optimization/34036] [4.3 Regression] " pinskia at gcc dot gnu dot org 2007-11-10 19:51 ` law at redhat dot com 2007-11-10 22:05 ` pinskia at gcc dot gnu dot org 2007-11-10 22:14 ` pinskia at gcc dot gnu dot org 2007-11-10 22:15 ` pinskia at gcc dot gnu dot org 2007-11-10 22:18 ` [Bug tree-optimization/34036] [4.2/4.3 " pinskia at gcc dot gnu dot org 2007-11-12 18:44 ` janis at gcc dot gnu dot org 2007-11-14 18:06 ` ebotcazou at gcc dot gnu dot org 2007-11-19 6:27 ` ebotcazou at gcc dot gnu dot org 2007-11-19 6:29 ` ebotcazou at gcc dot gnu dot org 2007-11-19 11:07 ` ebotcazou at gcc dot gnu dot org 2007-11-19 17:27 ` ebotcazou 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=bug-34036-4503@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).