public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
To: Segher Boessenkool <segher@kernel.crashing.org>
Cc: gcc-patches@gcc.gnu.org, richard.sandiford@arm.com
Subject: Re: Remove mode argument from gen_rtx_SET
Date: Fri, 08 May 2015 12:52:00 -0000	[thread overview]
Message-ID: <554CB17E.4040406@lauterbach.com> (raw)
In-Reply-To: <20150508115747.GA11371@gate.crashing.org>

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

Am 2015-05-08 um 13:57 schrieb Segher Boessenkool:
> On Fri, May 08, 2015 at 12:32:30PM +0200, Franz Sirl wrote:
>> this patch (r222882 is fine, r222883 fails) breaks bootstrap for me on
>> x86_64-linux-gnu:
>
> i386.md has "set:BND" twice; replace that with just "set", and all
> should be fine.
>
> Maybe gen* should warn on this; maybe it already does.

I didn't see a warning in the logs at least. But your suggestion fixes 
the bootstrap for me.

Franz.






[-- Attachment #2: gcc-r222883-fix.patch --]
[-- Type: text/plain, Size: 806 bytes --]

Index: gcc/config/i386/i386.md
===================================================================
--- gcc/config/i386/i386.md	(revision 222909)
+++ gcc/config/i386/i386.md	(working copy)
@@ -18879,7 +18879,7 @@
   [(set_attr "type" "mpxchk")])
 
 (define_expand "<mode>_ldx"
-  [(parallel [(set:BND (match_operand:BND 0 "register_operand")
+  [(parallel [(set (match_operand:BND 0 "register_operand")
                        (unspec:BND
 		         [(mem:<bnd_ptr>
 			   (match_par_dup 3
@@ -18909,7 +18909,7 @@
 })
 
 (define_insn "*<mode>_ldx"
-  [(parallel [(set:BND (match_operand:BND 0 "register_operand" "=w")
+  [(parallel [(set (match_operand:BND 0 "register_operand" "=w")
                        (unspec:BND
 		         [(match_operator:<bnd_ptr> 3 "bnd_mem_operator"
 			   [(unspec:<bnd_ptr>

  reply	other threads:[~2015-05-08 12:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-07 11:37 Richard Sandiford
2015-05-07 13:36 ` Jeff Law
2015-05-07 14:00   ` Richard Sandiford
2015-05-07 15:05     ` Jeff Law
2015-05-08 10:32 ` Franz Sirl
2015-05-08 11:58   ` Segher Boessenkool
2015-05-08 12:52     ` Franz Sirl [this message]
2015-05-08 14:03       ` Richard Sandiford
2015-05-08 16:43         ` DJ Delorie
2015-05-09  9:52           ` Richard Sandiford
2015-05-11 16:55             ` DJ Delorie

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=554CB17E.4040406@lauterbach.com \
    --to=franz.sirl-kernel@lauterbach.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=richard.sandiford@arm.com \
    --cc=segher@kernel.crashing.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).