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.preudho...@arm.com>

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

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

Best regards,

Thomas
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.preudho...@arm.com>
 
+	Backport from gcc-7-branch
+	2016-05-09  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>
+
+	* config/arm/arm.md (probe_stack): Add modes to set source
+	and destination.
+
+2017-06-01  Thomas Preud'homme  <thomas.preudho...@arm.com>
+
 	Backport from mainline
 	2017-05-03  Thomas Preud'homme  <thomas.preudho...@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")

Reply via email to