https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82553
Bug ID: 82553 Summary: memory_blockage breaks bootstrap on powerpc Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: blocker Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dje at gcc dot gnu.org CC: bergner at gcc dot gnu.org, segher at gcc dot gnu.org, seurer at gcc dot gnu.org, uros at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- Target: powerpc*-*-* The recent memory_blockage named insn pattern patch breaks bootstrap on PowerPC during RTL pass: expand /home/dje/src/src/libgcc/emutls.c: In function ‘__emutls_get_address’: /home/dje/src/src/libgcc/emutls.c:139:11: internal compiler error: in invalid_void, at config/rs6000/rs6000.md:10804 pointer offset = __atomic_load_n (&obj->loc.offset, __ATOMIC_ACQUIRE); ^~~~~~ 0x11401a13 invalid_void /home/dje/src/src/gcc/config/rs6000/rs6000.md:10804 0x10c22263 expand_memory_blockage /home/dje/src/src/gcc/optabs.c:6301 0x10c225cb expand_atomic_load(rtx_def*, rtx_def*, memmodel) /home/dje/src/src/gcc/optabs.c:6365 0x1056a14b expand_builtin_atomic_load /home/dje/src/src/gcc/builtins.c:5951 0x1056fd87 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) /home/dje/src/src/gcc/builtins.c:7280 0x107ecf9f expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/dje/src/src/gcc/expr.c:10866 0x107de5c7 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/dje/src/src/gcc/expr.c:8084 0x107d2d9b store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) /home/dje/src/src/gcc/expr.c:5554 0x107d14e3 expand_assignment(tree_node*, tree_node*, bool) /home/dje/src/src/gcc/expr.c:5319 0x105bb9c3 expand_call_stmt /home/dje/src/src/gcc/cfgexpand.c:2664 0x105bf95b expand_gimple_stmt_1 /home/dje/src/src/gcc/cfgexpand.c:3585 0x105c025b expand_gimple_stmt /home/dje/src/src/gcc/cfgexpand.c:3751 0x105c9dbf expand_gimple_basic_block /home/dje/src/src/gcc/cfgexpand.c:5754 0x105cbf73 execute /home/dje/src/src/gcc/cfgexpand.c:6361 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. make: *** [emutls.o] Error 1