From: Marek Polacek Date: Sat, 21 Jan 2017 12:00:40 +0000 (+0000) Subject: re PR testsuite/79169 (g++.dg/warn/Wduplicated-branches1.C fails on powerpc since... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c31d5fcecf100a3012fae0b99639022a992f28f0;p=gcc.git 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 --- 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 *);