From c31d5fcecf100a3012fae0b99639022a992f28f0 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Sat, 21 Jan 2017 12:00:40 +0000 Subject: [PATCH] re PR testsuite/79169 (g++.dg/warn/Wduplicated-branches1.C fails on powerpc since its introduction in r244705) PR testsuite/79169 * g++.dg/warn/Wduplicated-branches1.C: Use signed char. From-SVN: r244747 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 35ebbd23c27..9f3b133e36a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-01-21 Marek Polacek + + PR testsuite/79169 + * g++.dg/warn/Wduplicated-branches1.C: Use signed char. + 2017-01-20 Jan Hubicka * gcc.dg/tree-ssa/pr77445-2.c: Adjust template. diff --git a/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C b/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C index 7ebd55e190f..1553613f9ec 100644 --- a/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C +++ b/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C @@ -4,7 +4,7 @@ template void -f (char i, int *p) +f (signed char i, int *p) { if (i) *p = (signed short) i; @@ -17,5 +17,5 @@ f (char i, int *p) *p = (unsigned short) i; } -template void f(char, int *); // { dg-message "required from here" } -template void f(char, int *); +template void f(signed char, int *); // { dg-message "required from here" } +template void f(signed char, int *); -- 2.30.2