]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR middle-end/84089 (FAIL: g++.dg/cpp1y/lambda-generic-x.C -std=gnu...
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 10 Feb 2018 20:04:59 +0000 (20:04 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 10 Feb 2018 20:04:59 +0000 (20:04 +0000)
Backport from mainline
2018-02-01  Aldy Hernandez  <aldyh@redhat.com>

PR target/84089
* config/pa/predicates.md (base14_operand): Handle VOIDmode.

From-SVN: r257553

gcc/ChangeLog
gcc/config/pa/predicates.md

index 67a048dd17a8b8ba347809d60546be58e4328ed3..50e4dfa0851d50da48647db3bba9a3547c91a979 100644 (file)
@@ -1,3 +1,11 @@
+2018-02-10  John David Anglin  <danglin@gcc.gnu.org>
+
+       Backport from mainline
+       2018-02-01  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR target/84089
+       * config/pa/predicates.md (base14_operand): Handle VOIDmode.
+
 2018-02-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        Backport from mainline
index 447a04c090b57160cea99787e081e17f08bfea9e..225010cc52f4da2791511b80404494f5fb13e598 100644 (file)
     case HImode:
       return true;
 
+    case VOIDmode:
+      return false;
+
     default:
       return (INTVAL (op) % GET_MODE_SIZE (mode)) == 0;
     }