From 6ff11db28bc9e785ae4e8cb13916b692adf3acbe Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 3 Dec 2012 10:45:16 +0000 Subject: [PATCH] pr35634.c: Use signed char. 2012-12-03 Richard Biener * gcc.dg/torture/pr35634.c: Use signed char. * g++.dg/torture/pr35634.C: Likewise. From-SVN: r194078 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/torture/pr35634.C | 2 +- gcc/testsuite/gcc.dg/torture/pr35634.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 981d0d1c8e8..b774fbc8812 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-12-03 Richard Biener + + * gcc.dg/torture/pr35634.c: Use signed char. + * g++.dg/torture/pr35634.C: Likewise. + 2012-12-02 Marek Polacek PR middle-end/54838 diff --git a/gcc/testsuite/g++.dg/torture/pr35634.C b/gcc/testsuite/g++.dg/torture/pr35634.C index 00848e35d73..3c888ad43e1 100644 --- a/gcc/testsuite/g++.dg/torture/pr35634.C +++ b/gcc/testsuite/g++.dg/torture/pr35634.C @@ -14,6 +14,6 @@ void foo (int i) int main () { - char c; + signed char c; for (c = 0; ; c++) foo (c); } diff --git a/gcc/testsuite/gcc.dg/torture/pr35634.c b/gcc/testsuite/gcc.dg/torture/pr35634.c index 32df7d48c28..73f860f2b10 100644 --- a/gcc/testsuite/gcc.dg/torture/pr35634.c +++ b/gcc/testsuite/gcc.dg/torture/pr35634.c @@ -14,6 +14,6 @@ void foo (int i) int main () { - char c; + signed char c; for (c = 0; ; c++) foo (c); }