PR testsuite/79169
* g++.dg/warn/Wduplicated-branches1.C: Use signed char.
From-SVN: r244747
+2017-01-21 Marek Polacek <polacek@redhat.com>
+
+ PR testsuite/79169
+ * g++.dg/warn/Wduplicated-branches1.C: Use signed char.
+
2017-01-20 Jan Hubicka <hubicka@ucw.cz>
* gcc.dg/tree-ssa/pr77445-2.c: Adjust template.
template <typename T>
void
-f (char i, int *p)
+f (signed char i, int *p)
{
if (i)
*p = (signed short) i;
*p = (unsigned short) i;
}
-template void f<unsigned short>(char, int *); // { dg-message "required from here" }
-template void f<signed short>(char, int *);
+template void f<unsigned short>(signed char, int *); // { dg-message "required from here" }
+template void f<signed short>(signed char, int *);