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