public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bernd Schmidt <bschmidt@redhat.com>
To: Andreas Schwab <schwab@linux-m68k.org>,
	       Kelvin Nilsen <kdnilsen@linux.vnet.ibm.com>
Cc: gcc-patches@gcc.gnu.org, law@redhat.com
Subject: Re: [PATCH v4] PR48344: Fix unrecognizable insn error with -fstack-limit-register=r2
Date: Thu, 13 Oct 2016 10:58:00 -0000	[thread overview]
Message-ID: <53c5ba51-2216-be0f-a574-772d217e7dd0@redhat.com> (raw)
In-Reply-To: <87shsh88c6.fsf@linux-m68k.org>

On 09/30/2016 10:02 PM, Andreas Schwab wrote:
> On Feb 11 2016, Kelvin Nilsen <kdnilsen@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	other threads:[~2016-10-13 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11 15:12 Kelvin Nilsen
2016-02-11 15:42 ` Bernd Schmidt
2016-09-30 20:11 ` Andreas Schwab
2016-10-13 10:58   ` Bernd Schmidt [this message]
2016-10-13 20:23     ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53c5ba51-2216-be0f-a574-772d217e7dd0@redhat.com \
    --to=bschmidt@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=kdnilsen@linux.vnet.ibm.com \
    --cc=law@redhat.com \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).