This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r105960 - in /trunk/gcc: cp/ChangeLog cp/decl.c...


Author: pinskia
Date: Fri Oct 28 20:25:55 2005
New Revision: 105960

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=105960
Log:
2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/23229
        * decl.c (grokfndecl): Create a new function type
        after erroring out about main not returning int.
2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

	PR C++/23229
        * g++.dg/warn/main-2.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/warn/main-2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]