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]

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


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;

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