[EMAIL PROTECTED]:/tmp% cat min4.c inline unsigned length() { return 0; }
unsigned add_new_phrase() { return 16 / (1 << (length() - 1)); } [EMAIL PROTECTED]:/tmp% gcc -c min4.c [EMAIL PROTECTED]:/tmp% gcc -c -O min4.c min4.c: In function 'add_new_phrase': min4.c:5: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. No problem with 4.1.0 or earlier. Falk -- Summary: [4.2 regression] Segfault with inlining producing negative shift count Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization 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=27088