re PR testsuite/21062 (Incorrect declaration of printf() in alias2.C)
authorAndrew Pinski <pinskia@physics.uc.edu>
Mon, 25 Apr 2005 18:28:55 +0000 (18:28 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 25 Apr 2005 18:28:55 +0000 (11:28 -0700)
2005-04-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR testsuite/21062
        * g++.dg/opt/alias2.C (printf): Correct the prototype.

From-SVN: r98728

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/alias2.C

index 10f42d1277f58e9b34b07660b84b57da290b2c17..168fcdf50ca3ee749463261ddf7098b2ebdbf68c 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-25  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR testsuite/21062
+       * g++.dg/opt/alias2.C (printf): Correct the prototype.
+
 2005-04-25  Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR C++/21188
index ea2bcb376989c42868c3ef130193e70d7be8f5b6..0b4122471c8e7ef9950c84d6ba465254fe621f62 100644 (file)
@@ -1,7 +1,7 @@
 // { dg-do run }
 // { dg-options "-O2" }
 
-extern "C" int printf (...);
+extern "C" int printf (const char*, ...);
 
 struct _Deque_iterator {
   int _M_cur;