From: No Author Date: Wed, 12 Jun 2002 22:50:17 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch X-Git-Tag: releases/gcc-3.1.1~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8da874b22a497092481ddb5a03b819a1cd43871;p=thirdparty%2Fgcc.git This commit was manufactured by cvs2svn to create branch 'gcc-3_1-branch'. From-SVN: r54563 --- diff --git a/gcc/testsuite/gcc.c-torture/execute/20020611-1.c b/gcc/testsuite/gcc.c-torture/execute/20020611-1.c new file mode 100644 index 000000000000..87fb717cf231 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20020611-1.c @@ -0,0 +1,32 @@ +/* PR target/6997. Missing (set_attr "cc" "none") in sleu pattern in + cris.md. Testcase from hp@axis.com. */ + +int p; +int k; +unsigned int n; + +void x () +{ + unsigned int h; + + h = n <= 30; + if (h) + p = 1; + else + p = 0; + + if (h) + k = 1; + else + k = 0; +} + +unsigned int n = 30; + +main () +{ + x (); + if (p != 1 || k != 1) + abort (); + exit (0); +}