From fde0083d94b6b08d58c0d0fc43f56eb0d8dd2508 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Sat, 20 Feb 2010 11:51:02 +0000 Subject: [PATCH] re PR c/43128 (c-c++-common/pr41779.c doesn't work) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2010-02-20 Manuel López-Ibáñez PR 43128 * c-c++-common/pr41779.c: Fix broken testcase. From-SVN: r156924 --- gcc/testsuite/ChangeLog | 5 +++++ 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 fdb20fb8135..06846385667 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-02-20 Manuel López-Ibáñez + + PR 43128 + * c-c++-common/pr41779.c: Fix broken testcase. + 2010-02-19 Manuel López-Ibáñez PR 36513 diff --git a/gcc/testsuite/c-c++-common/pr41779.c b/gcc/testsuite/c-c++-common/pr41779.c index f7153d9299e..d27df2255f9 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" } */ } -- 2.30.2