This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: testsuite patches (2/14): Don't run execute/pr56799.c for int16 targets
- From: Mike Stump <mikestump at comcast dot net>
- To: Joern Rennecke <joern dot rennecke at embecosm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>, Janis Johnson <janisjo at codesourcery dot com>
- Date: Wed, 14 Aug 2013 09:39:49 -0700
- Subject: Re: testsuite patches (2/14): Don't run execute/pr56799.c for int16 targets
- References: <20130720015444 dot z1cnom7o0cs0848g-nzlynne at webmail dot spamcop dot net>
Ok.
On Jul 19, 2013, at 10:54 PM, Joern Rennecke <joern.rennecke@embecosm.com> wrote:
> With 16 bit integers, (int) 0x00010000 is just 0, so execution of that test fails.
>
> Tested for avr with --target_board=atmega128-sim and native on i686-pc-linuc-gnu.
>
> 2013-05-13 Joern Rennecke <joern.rennecke@embecosm.com>
>
> * gcc.c-torture/execute/pr56799.x: New file.
>
> Index: gcc.c-torture/execute/pr56799.x
> ===================================================================
> --- gcc.c-torture/execute/pr56799.x (revision 0)
> +++ gcc.c-torture/execute/pr56799.x (working copy)
> @@ -0,0 +1,7 @@
> +load_lib target-supports.exp
> +
> +if { [check_effective_target_int32plus] } {
> + return 0
> +}
> +
> +return 1;