This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17024] New: ICE in fold_cond_expr_with_comparison, at fold-const.c:4324
- From: "p dot van-hoof at qub dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Aug 2004 00:31:33 -0000
- Subject: [Bug c/17024] New: ICE in fold_cond_expr_with_comparison, at fold-const.c:4324
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The attached code triggers an ICE on legal code. Note that the ICE occurs even
in non-optimized mode. Reproduce as follows:
dogbert> gcc -c -funsafe-math-optimizations i.c
i.c: In function `i':
i.c:8: internal compiler error: in fold_cond_expr_with_comparison, at
fold-const.c:4324
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The error occurs in version 3.5.0 20040813, but not in any of the release branches.
--
Summary: ICE in fold_cond_expr_with_comparison, at fold-
const.c:4324
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: p dot van-hoof at qub dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17024