[Bug testsuite/21062] Incorrect declaration of printf() in alias2.C

2005-04-25 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-25 
18:29 ---
Subject: Bug 21062

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-04-25 18:28:55

Modified files:
gcc/testsuite  : ChangeLog 
gcc/testsuite/g++.dg/opt: alias2.C 

Log message:
2005-04-25  Andrew Pinski  <[EMAIL PROTECTED]>

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

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5395&r2=1.5396
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/alias2.C.diff?cvsroot=gcc&r1=1.2&r2=1.3



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21062


[Bug testsuite/21062] Incorrect declaration of printf() in alias2.C

2005-04-25 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-25 
18:29 ---
Fixed.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21062


[Bug testsuite/21062] Incorrect declaration of printf() in alias2.C

2005-04-25 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-25 
18:23 ---
Confirmed, I am taking care of this.

-- 
   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2005-04-25 18:23:29
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21062


[Bug testsuite/21062] Incorrect declaration of printf() in alias2.C

2005-04-17 Thread oyvind dot harboe at zylin dot com

--- Additional Comments From oyvind dot harboe at zylin dot com  2005-04-17 
09:43 ---
I searched for 'extern "C" int printf' in the testsuite and all the other
declarations I saw are in line with my patch.

However, I believe that it is worth taking a cursory look at the ip2k function
ip2k_return_pops_args to see if a declaration like "void foo(...)" breaks it.

I'm no varargs expert, but can varargs work without a first fixed argument?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21062


[Bug testsuite/21062] Incorrect declaration of printf() in alias2.C

2005-04-16 Thread oyvind dot harboe at zylin dot com

--- Additional Comments From oyvind dot harboe at zylin dot com  2005-04-16 
22:05 ---
Created an attachment (id=8661)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8661&action=view)
Fixes declaration of printf()


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21062