|
Bugzilla – Full Text Bug Listing |
| Summary: | "unrecognizable insn" error by GCC when compiling asl | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Joerg Reuter <jreuter> |
| Component: | Development | Assignee: | Michael Matz <matz> |
| Status: | VERIFIED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | big-iron |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | S/390 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | SUSE Technical Services | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Test case | ||
|
Description
Joerg Reuter
2005-10-31 12:16:09 UTC
Created attachment 56000 [details] Test case This is the (cleaned-up) output of gcc -E for the failing source code. What happens is: # gcc -O2 -fmessage-length=0 -Wall -fno-strict-aliasing -DCHARSET_ISO8859_1 -DSTDINCLUDES=\"/usr/include/asl\" -DLIBDIR=\"/usr/lib/asl\" -c failing-compress-line.c -o failing-compress-line.o failing-compress-line.c: In function ‘CompressLine’: failing-compress-line.c:36: error: unrecognizable insn: (insn 186 131 132 11 (set (reg/f:SI 98) (plus:SI (reg/f:SI 107 [ Line ]) (const_int 1 [0x1]))) -1 (nil) (nil)) failing-compress-line.c:36: internal compiler error: in extract_insn, at recog.c:2084 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.suse.de/feedback> for instructions. # rpm -q gcc gcc-4.1.0_20051024-4 # It does succeed when turning off optimization. static unsigned char CompressLine_NErl(char ch) has to be called in the if() clause below the strcmp()s, otherwise the source would compile. (The source code is somewhat strange, as it has been created by a Pascal to C converter.) Should be fixed with the new compiler, but hasn't yet rebuilt. Grr, forgot marking as FIXED. Compiles now. -> closed. |