[forwarded from http://bugs.debian.org/342662]
seen with 4.0 20051201, 4.1 20051205, works with 4.0.2 20050808 $ cat test.m #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> int main(int argc, char **argv) { int status = 0; char msg[100] = ""; if(!status && !strcmp(msg, "")) { status = 200; snprintf(msg, 100, "OK"); } exit(0); } [EMAIL PROTECTED]:~/devel/inova/v3-cgid$ gcc -c -O1 test.m test.m: In function 'main': test.m:7: internal compiler error: in get_indirect_ref_operands, at tree-ssa-operands.c:1453 Please submit a full bug report, with preprocessed source if appropriate. -- Summary: [4.0/4.1 regression] ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1453 Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: objc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25328