diff mbox

testsuite patches (2/14): Don't run execute/pr56799.c for int16 targets

Message ID 20130720015444.z1cnom7o0cs0848g-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

Joern Rennecke July 20, 2013, 5:54 a.m. UTC
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.

Comments

Mike Stump Aug. 14, 2013, 4:39 p.m. UTC | #1
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;
diff mbox

Patch

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;