This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41016] New: ICE in build_int_cst_wide with -O1
- From: "mark at halcy0n dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2009 17:33:30 -0000
- Subject: [Bug tree-optimization/41016] New: ICE in build_int_cst_wide with -O1
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code ICEs with -O1 on gcc-4.4:
typedef struct _IO_FILE FILE;
void
CompareRNAStructures (FILE * ofp, int start, int L, char *ss_true, char *ss)
{
int i;
float agree = 0.;
float pairs = 0.;
float pairs_true = 0.;
for (i = 0; i < L; i++)
{
pairs_true += 1.;
agree += 1.;
}
if (((int) pairs % 2 != 0) || ((int) pairs_true % 2 != 0)
|| ((int) agree % 2 != 0))
Die
("Error in CompareRNAStrutures(); odd number of paired nucleotides\n");
}
Let me know what other information would be helpful.
--
Summary: ICE in build_int_cst_wide with -O1
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mark at halcy0n dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41016