Fix call arguments mismatch in gcc.c-torture/compile/pr82052.c
authorTom de Vries <tom@codesourcery.com>
Mon, 4 Sep 2017 09:00:35 +0000 (09:00 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 4 Sep 2017 09:00:35 +0000 (09:00 +0000)
2017-09-04  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/82052
* gcc.c-torture/compile/pr82052.c (fn2): Add parameters corresponding to
call in fn11.

From-SVN: r251642

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr82052.c

index cd7ac1d..0d9e447 100644 (file)
@@ -1,3 +1,9 @@
+2017-09-04  Tom de Vries  <tom@codesourcery.com>
+
+       PR tree-optimization/82052
+       * gcc.c-torture/compile/pr82052.c (fn2): Add parameters corresponding to
+       call in fn11.
+
 2017-09-04  Jakub Jelinek  <jakub@redhat.com>
 
        PR sanitizer/81981
index 4441985..3763161 100644 (file)
@@ -20,7 +20,7 @@ uint16_t t35[][7][2];
 static uint8_t t41;
 char z[][8][3];
 char fn1(char p1, int p2) { return p1 < 0 ?: p1 >> p2; }
-short fn2() {}
+short fn2(int a, uint16_t b) {}
 void fn3(uint8_t p1) { d = d >> 8 ^ c[(d ^ p1) & 5]; }
 void fn4(uint32_t p1, int p2) {
   int e;