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: RFA: Remove some assumptions from gcc.dg tests


On 10/24/13 10:45, Nick Clifton wrote:
Hi Guys,

   The patch below includes a selection of improvements for the tests in
   the gcc.dg part of the gcc testsuite.  It basically annotates tests
   that have some implicit assumptions about the target that is being
   tested (word size, supported features, etc).

   I started making this patch originally just for the MSP430, and so I
   was adding target specific exceptions.  Then I realised that the
   exceptions would apply to other targets too and that it was better to
   add dg-require-effective-target-foo statements instead.

   Tested with an msp430-elf toolchain and an i686-pc-linux-gnu toolchain
   with no regressions and several improvements.

   OK to apply ?

Cheers
   Nick

gcc/testsuite/ChangeLog
2013-10-24  Nick Clifton  <nickc@redhat.com>

	* c-c++-common/pr57793.c: Add expected error messages for
	targets with small integers.
         * gcc.dg/c99-stdint-1.c: Only run on 32-bit plus targets.
         * gcc.dg/c99-stdint-2.c: Likewise.
         * gcc.dg/cdce1.c: Likewise.
         * gcc.dg/fold-overflow-1.c: Likewise.
         * gcc.dg/utf-cvt.c: Likewise.
         * gcc.dg/ftrapv-1.c: Only run on targets that support trapping
	arithmetic.
         * gcc.dg/ftrapv-2.c: Likewise.
         * gcc.dg/pr30286.c: Likewise.
         * gcc.dg/pr19340.c: Only run on targets that support
	scheduling.
         * lib/target-supports.exp (check_effective_target_trapping): New
	proc.  Returns true if the target supports trapping arithmetic.
This is OK.

Thanks,
Jeff


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