This breaks gcc.dg/tls/opt-3.c, gcc.dg/tls/pr47715-3.c and gcc.dg/tls/struct-1.c on m68k:
/daten/aranym/gcc/gcc-20171222/gcc/testsuite/gcc.dg/tls/opt-3.c:11:3: internal compiler error: in add_args_size_note, at rtlanal.c:2379 0xae7aa9 add_args_size_note(rtx_insn*, poly_int<1u, long>) ../../gcc/rtlanal.c:2379 0x7ea4ca fixup_args_size_notes(rtx_insn*, rtx_insn*, poly_int<1u, long>) ../../gcc/expr.c:4105 0x7f6a02 emit_single_push_insn ../../gcc/expr.c:4225 0x7fa412 emit_push_insn(rtx_def*, machine_mode, tree_node*, rtx_def*, unsigned int, int, rtx_def*, poly_int<1u, long>, rtx_def*, rtx_def*, int, rtx_def*, bool) ../../gcc/expr.c:4561 0x6b8976 store_one_arg ../../gcc/calls.c:5694 0x6c15b1 expand_call(tree_node*, rtx_def*, int) ../../gcc/calls.c:4030 0x7f0485 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/expr.c:10927 0x6d6c97 expand_expr ../../gcc/expr.h:276 0x6d6c97 expand_call_stmt ../../gcc/cfgexpand.c:2690 0x6d6c97 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3624 0x6d6c97 expand_gimple_stmt ../../gcc/cfgexpand.c:3790 0x6d8058 expand_gimple_tailcall ../../gcc/cfgexpand.c:3836 0x6d8058 expand_gimple_basic_block ../../gcc/cfgexpand.c:5774 0x6dd62e execute ../../gcc/cfgexpand.c:6403 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."