On 09/30/2016 10:02 PM, Andreas Schwab wrote:
On Feb 11 2016, Kelvin Nilsen <kdnil...@linux.vnet.ibm.com> wrote:

        * opts-global.c (handle_common_deferred_options): Introduce and
        initialize two global variables to remember command-line options
        specifying a stack-limiting register.
        * opts.h: Add extern declarations of the two new global variables.
        * emit-rtl.c (init_emit_once): Initialize the stack_limit_rtx
        variable based on the values of the two new global variables.

That breaks gcc.target/m68k/stack-limit-1.c:

/daten/aranym/gcc/test/gcc/testsuite/gcc.target/m68k/stack-limit-1.c: In 
function 'dummy':
/daten/aranym/gcc/test/gcc/testsuite/gcc.target/m68k/stack-limit-1.c:6:1: 
error: unrecognizable insn:
(insn 10 9 11 (trap_if (ltu (cc0)
            (const_int 0 [0]))
        (const_int 1 [0x1])) 
/daten/aranym/gcc/test/gcc/testsuite/gcc.target/m68k/stack-limit-1.c:6 -1
     (nil))
/daten/aranym/gcc/test/gcc/testsuite/gcc.target/m68k/stack-limit-1.c:6:1: 
internal compiler error: in extract_insn, at recog.c:2287

Please file a PR if this isn't fixed yet.


Bernd

Reply via email to