https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86948
Bug ID: 86948 Summary: Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: hsa Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Created attachment 44535 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44535&action=edit BRIG input At some point in the last two weeks, brig.dg/test/gimple/mulhi.hsail started failing with and ICE. Command-line reproducer (with the attached input) is: $ ~/gcc/small/inst/bin/gccbrig mulhi.hsail.brig -S during RTL pass: expand In function ‘_Kernel’: brig1: internal compiler error: in expand_expr_real_2, at expr.c:8918 0x868d36 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /home/mjambor/gcc/small/src/gcc/expr.c:8918 0x702e6a expand_gimple_stmt_1 /home/mjambor/gcc/small/src/gcc/cfgexpand.c:3673 0x703131 expand_gimple_stmt /home/mjambor/gcc/small/src/gcc/cfgexpand.c:3734 0x7059f3 expand_gimple_basic_block /home/mjambor/gcc/small/src/gcc/cfgexpand.c:5770 0x708e57 execute /home/mjambor/gcc/small/src/gcc/cfgexpand.c:6373 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.