From e44f00b4fcd298899234ab2b56246dbb358a3374 Mon Sep 17 00:00:00 2001 From: No Author Date: Sun, 16 Mar 2003 19:47:36 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'gcc-3_2-branch'. From-SVN: r64443 --- gcc/testsuite/gcc.c-torture/execute/20030316-1.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/execute/20030316-1.c diff --git a/gcc/testsuite/gcc.c-torture/execute/20030316-1.c b/gcc/testsuite/gcc.c-torture/execute/20030316-1.c new file mode 100644 index 000000000000..bde2e136ad3f --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20030316-1.c @@ -0,0 +1,12 @@ +/* PR target/9164 */ +/* The comparison operand was sign extended erraneously. */ + +int +main (void) +{ + long j = 0x40000000; + if ((unsigned int) (0x40000000 + j) < 0L) + abort (); + + return 0; +} -- 2.47.2