https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67657
Bug ID: 67657 Summary: [SH][5]: internal compiler error: in cselib_record_set, at cselib.c:2396 when compiling libjpeg-turbo Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de CC: kkojima at gcc dot gnu.org, olegendo at gcc dot gnu.org Target Milestone: --- Target: sh*-*-* Created attachment 36354 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36354&action=edit Preprocessed source for cselib.c Hi! Just ran into another ICE which occurs when compiling libjpeg-turbo on SH: jidctflt.c: In function 'jpeg_idct_float': jidctflt.c:237:1: internal compiler error: in cselib_record_set, at cselib.c:2396 } ^ 0x5fffc1 cselib_record_set ../../src/gcc/cselib.c:2396 0x5fffc1 cselib_record_sets ../../src/gcc/cselib.c:2613 0x600553 cselib_process_insn(rtx_insn*) ../../src/gcc/cselib.c:2686 0xa2da0b vt_initialize ../../src/gcc/var-tracking.c:10132 0xa31bd9 variable_tracking_main_1 ../../src/gcc/var-tracking.c:10331 0xa31bd9 variable_tracking_main() ../../src/gcc/var-tracking.c:10384 0xa31bd9 execute ../../src/gcc/var-tracking.c:10421 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. Preprocessed source stored into /tmp/ccHHXJkq.out file, please attach this to your bugreport. This definitely looks like a regression as the same upstream version 1.4.1 of libjpeg-turbo previously built fine with gcc-4.9 [1]. Attaching the pre-processed C sources with this bug report. The full build log can be found in [2]. Adrian > [1] > https://buildd.debian.org/status/fetch.php?pkg=libjpeg-turbo&arch=sh4&ver=1%3A1.4.1-1&stamp=1438090332 > [2] > https://buildd.debian.org/status/fetch.php?pkg=libjpeg-turbo&arch=sh4&ver=1%3A1.4.1-2&stamp=1442742941