public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, GCC, ARM/embedded-6-branch] Add mode to probe_stack set operands
@ 2017-06-01 16:04 Thomas Preudhomme
  0 siblings, 0 replies; only message in thread
From: Thomas Preudhomme @ 2017-06-01 16:04 UTC (permalink / raw)
  To: gcc-patches

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

Hi,

We have decided to apply the following patch to the embedded-6-branch to fix a 
genrecog warning when processing arm.md.

2017-06-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>

     Backport from gcc-7-branch
     2016-05-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * config/arm/arm.md (probe_stack): Add modes to set source
     and destination.

Best regards,

Thomas

[-- Attachment #2: add_mobe_probe_stack.patch --]
[-- Type: text/x-patch, Size: 1144 bytes --]

diff --git a/gcc/ChangeLog.arm b/gcc/ChangeLog.arm
index 8cde4f43ee65184c316ab4c7e5b78c5bb0c6e7bb..863cf5483bb8ad086573caf59aed7b095b9b6c09 100644
--- a/gcc/ChangeLog.arm
+++ b/gcc/ChangeLog.arm
@@ -1,5 +1,13 @@
 2017-06-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>
 
+	Backport from gcc-7-branch
+	2016-05-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+	* config/arm/arm.md (probe_stack): Add modes to set source
+	and destination.
+
+2017-06-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
 	Backport from mainline
 	2017-05-03  Thomas Preud'homme  <thomas.preudhomme@arm.com>
 
diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md
index 7f6914884b080f6c98d88f134c1379818882a05b..37ef1b3a4ad8d3ae8310a0da2d702499766a6828 100644
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
@@ -8220,8 +8220,8 @@
 )
 
 (define_insn "probe_stack"
-  [(set (match_operand 0 "memory_operand" "=m")
-        (unspec [(const_int 0)] UNSPEC_PROBE_STACK))]
+  [(set (match_operand:SI 0 "memory_operand" "=m")
+        (unspec:SI [(const_int 0)] UNSPEC_PROBE_STACK))]
   "TARGET_32BIT"
   "str%?\\tr0, %0"
   [(set_attr "type" "store1")

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-01 16:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-01 16:04 [PATCH, GCC, ARM/embedded-6-branch] Add mode to probe_stack set operands Thomas Preudhomme

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).