This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23164] New: ICE in cleanup_tree_cfg with -O -fno-exceptions
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2005 16:15:38 -0000
- Subject: [Bug tree-optimization/23164] New: ICE in cleanup_tree_cfg with -O -fno-exceptions
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc version 4.1.0 20050730 (experimental)
falk@juist:/tmp% cat bug.cc
bool f();
struct S {
S();
~S();
};
void g() {
for (;;) {
S s1, s2, s3, s4, s5, s6;
if (f())
continue;
if (f())
return;
}
}
falk@juist:/tmp% g++ -c -O bug.cc
falk@juist:/tmp% g++ -c -O2 -fno-exceptions bug.cc
falk@juist:/tmp% g++ -c -O -fno-exceptions bug.cc
bug.cc: In function 'void g()':
bug.cc:6: internal compiler error: in cleanup_tree_cfg, at tree-cfgcleanup.c:542
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE in cleanup_tree_cfg with -O -fno-exceptions
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alphaev68-unknown-linux-gnu
GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23164