From 1fda57cb2dc323c7d387ab0df9de708c0889be0d Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Mon, 4 Sep 2017 09:00:35 +0000 Subject: [PATCH] Fix call arguments mismatch in gcc.c-torture/compile/pr82052.c 2017-09-04 Tom de Vries PR tree-optimization/82052 * gcc.c-torture/compile/pr82052.c (fn2): Add parameters corresponding to call in fn11. From-SVN: r251642 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.c-torture/compile/pr82052.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cd7ac1d84e7..0d9e44798e6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-09-04 Tom de Vries + + PR tree-optimization/82052 + * gcc.c-torture/compile/pr82052.c (fn2): Add parameters corresponding to + call in fn11. + 2017-09-04 Jakub Jelinek PR sanitizer/81981 diff --git a/gcc/testsuite/gcc.c-torture/compile/pr82052.c b/gcc/testsuite/gcc.c-torture/compile/pr82052.c index 44419855745..3763161e350 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr82052.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr82052.c @@ -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; -- 2.30.2