Re: [045/nnn] poly_int: REG_ARGS_SIZE

2017-12-24 Thread Andreas Schwab
On Dez 23 2017, Richard Sandiford wrote: > gcc/ > * expr.c (fixup_args_size_notes): Check that any existing > REG_ARGS_SIZE notes are correct, and don't try to re-add them. > (emit_single_push_insn_1): Move stack_pointer_delta adjustment to... > (emit_single_push_insn): ..

Re: [045/nnn] poly_int: REG_ARGS_SIZE

2017-12-23 Thread Richard Sandiford
Andreas Schwab writes: > 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*

Re: [045/nnn] poly_int: REG_ARGS_SIZE

2017-12-22 Thread Andreas Schwab
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>) ../.

Re: [045/nnn] poly_int: REG_ARGS_SIZE

2017-12-05 Thread Jeff Law
On 10/23/2017 11:19 AM, Richard Sandiford wrote: > This patch adds new utility functions for manipulating REG_ARGS_SIZE > notes and allows the notes to carry polynomial as well as constant sizes. > > The code was inconsistent about whether INT_MIN or HOST_WIDE_INT_MIN > should be used to represent