https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82216
Bug ID: 82216 Summary: internal compiler error: Illegal instruction Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: suhubdyd at iro dot umontreal.ca Target Milestone: --- (gdb) start Temporary breakpoint 1 at 0x403cf0: file ../.././gcc/gcc-main.c, line 42. Starting program: /u/suhubdyd/.local/bin/gcc-7.2 -D_GNU_SOURCE -Dgpuarray_EXPORTS -I/u/suhubdyd/research/frameworks/libgpuarray/src -Wall -Wno-unused-parameter -Werror=format-security -Wdeclaration-after-statement -std=gnu89 -g -DDEBUG -fPIC -fvisibility=hidden -Wdeclaration-after-statement -DGPUARRAY_BUILDING_DLL -DGPUARRAY_SHARED -o CMakeFiles/gpuarray.dir/gpuarray_reduction.c.o -c /u/suhubdyd/research/frameworks/libgpuarray/src/gpuarray_reduction.c Temporary breakpoint 1, main (argc=20, argv=0x7fffffffb618) at ../.././gcc/gcc-main.c:42 42 ../.././gcc/gcc-main.c: No such file or directory. (gdb) handle SIGILL stop nopass Signal Stop Print Pass to program Description SIGILL Yes Yes No Illegal instruction (gdb) c Continuing. /u/suhubdyd/research/frameworks/libgpuarray/src/gpuarray_reduction.c: In function ‘maxandargmaxSchedule’: /u/suhubdyd/research/frameworks/libgpuarray/src/gpuarray_reduction.c:720:2: internal compiler error: Illegal instruction slack[0] = slack[1] = slack[2] = 1.1; ^~~~~ 0x9d13df crash_signal ../.././gcc/toplev.c:337 0x9433d4 real_from_string(real_value*, char const*) ../.././gcc/real.c:2107 0x943d0b real_from_string3(real_value*, char const*, format_helper) ../.././gcc/real.c:2173 0x612b33 interpret_float ../.././gcc/c-family/c-lex.c:932 0x613a17 c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int) ../.././gcc/c-family/c-lex.c:432 0x5b1bb0 c_lex_one_token ../.././gcc/c/c-parser.c:248 0x5bf2fa c_parser_peek_token(c_parser*) ../.././gcc/c/c-parser.c:435 0x5bf2fa c_parser_expr_no_commas ../.././gcc/c/c-parser.c:6428 0x5bf16a c_parser_expr_no_commas ../.././gcc/c/c-parser.c:6429 0x5bf16a c_parser_expr_no_commas ../.././gcc/c/c-parser.c:6429 0x5bf352 c_parser_expression ../.././gcc/c/c-parser.c:8588 0x5c0979 c_parser_expression_conv ../.././gcc/c/c-parser.c:8621 0x5c987b c_parser_statement_after_labels ../.././gcc/c/c-parser.c:5405 0x5cb4f4 c_parser_compound_statement_nostart ../.././gcc/c/c-parser.c:4919 0x5cbc0e c_parser_compound_statement ../.././gcc/c/c-parser.c:4752 0x5b7534 c_parser_declaration_or_fndef ../.././gcc/c/c-parser.c:2125 0x5d4943 c_parser_external_declaration ../.././gcc/c/c-parser.c:1468 0x5d53b9 c_parser_translation_unit ../.././gcc/c/c-parser.c:1349 0x5d53b9 c_parse_file() ../.././gcc/c/c-parser.c:18176 0x6193b3 c_common_parse_file() ../.././gcc/c-family/c-opts.c:1107 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. [Inferior 1 (process 24434) exited with code 01] (gdb) c The program is not being run. (gdb)