This is the mail archive of the gcc-patches@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]

Re: [Patch] Fix gcc.dg/20050922-*.c


On Mon, Oct 21, 2013 at 05:47:44PM +0100, Jeff Law wrote:
> On 10/21/13 04:28, Vidya Praveen wrote:
> > Hello,
> >
> > Tests gcc.dg/20050922-1.c and gcc.dg/20050922-2.c includes stdlib.h. This can
> > be a issue especially since they define uint32_t. Testcase writing guidelines
> > discourages such inclusion as well.
> >
> > This patch replaces these #includes with manual declarations.
> >
> > Tested for aarch64-none-elf, arm-none-eabi and x86_64-linux-gnu
> >
> > OK for trunk, 4.7, 4.8?
> >
> > VP.
> >
> > ---
> >
> > gcc/testsuite/ChangeLog:
> >
> > 2013-10-21  Vidya Praveen  <vidyapraveen@arm.com>
> >
> > 	* gcc.dg/20050922-1.c: Remove stdlib.h and declare abort().
> > 	* gcc.dg/20050922-1.c: Remove stdlib.h and declare abort() and exit().
> OK & installed on trunk.
> 
> Release managers would need to make a decision about whether or not to 
> include this for the 4.7/4.8 branches.
> 

Thanks Jeff!

VP.



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