From: Manuel López-Ibáñez Date: Sat, 20 Feb 2010 11:51:02 +0000 (+0000) Subject: re PR c/43128 (c-c++-common/pr41779.c doesn't work) X-Git-Tag: releases/gcc-4.5.0~689 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fde0083d94b6b08d58c0d0fc43f56eb0d8dd2508;p=thirdparty%2Fgcc.git re PR c/43128 (c-c++-common/pr41779.c doesn't work) 2010-02-20 Manuel López-Ibáñez PR 43128 * c-c++-common/pr41779.c: Fix broken testcase. From-SVN: r156924 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fdb20fb8135e..06846385667d 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 f7153d9299e0..d27df2255f91 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" } */ }