diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/pr41779.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fdb20fb..0684638 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-02-20 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR 43128 + * c-c++-common/pr41779.c: Fix broken testcase. + 2010-02-19 Manuel López-Ibáñez <manu@gcc.gnu.org> PR 36513 diff --git a/gcc/testsuite/c-c++-common/pr41779.c b/gcc/testsuite/c-c++-common/pr41779.c index f7153d9..d27df22 100644 --- a/gcc/testsuite/c-c++-common/pr41779.c +++ b/gcc/testsuite/c-c++-common/pr41779.c @@ -5,27 +5,27 @@ /* { dg-options "-Wconversion" { target c++ } } */ /* { dg-require-effective-target large_double } */ -float f(float x, unsigned short y) +float f1(float x, unsigned short y) { return x * y; } -float f(float x, short y) +float f2(float x, short y) { return x * y; } -float f(float x, char y) +float f3(float x, char y) { return x * y; } -float f(float x, unsigned char y) +float f4(float x, unsigned char y) { return x * y; } -float f(float x, int y) +float f5(float x, int y) { return x * y; /* { dg-warning "conversion" } */ } |