r105961 - in /branches/gcc-4_0-branch/gcc: cp/C...
pinskia@gcc.gnu.org
pinskia@gcc.gnu.org
Fri Oct 28 20:52:00 GMT 2005
Author: pinskia
Date: Fri Oct 28 20:52:44 2005
New Revision: 105961
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=105961
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:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/warn/main-2.C
- copied unchanged from r105960, trunk/gcc/testsuite/g++.dg/warn/main-2.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/decl.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list