[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-patches
Subject:    Re: Remove mode argument from gen_rtx_SET
From:       Franz Sirl <Franz.Sirl-kernel () lauterbach ! com>
Date:       2015-05-08 12:52:14
Message-ID: 554CB17E.4040406 () lauterbach ! com
[Download RAW message or body]

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.






["gcc-r222883-fix.patch" (text/plain)]

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>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic