]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c/43128 (c-c++-common/pr41779.c doesn't work)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Sat, 20 Feb 2010 11:51:02 +0000 (11:51 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Sat, 20 Feb 2010 11:51:02 +0000 (11:51 +0000)
2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR 43128
* c-c++-common/pr41779.c: Fix broken testcase.

From-SVN: r156924

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr41779.c

index fdb20fb8135e34b6fcfa03b37b237098806a0471..06846385667d98b996dbf8f042888a0a7ce3db2d 100644 (file)
@@ -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
index f7153d9299e0dd5f13618e0734ed636fab3bc1af..d27df2255f91dbedf8e6b45017e14c681b944ead 100644 (file)
@@ -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" } */
 }