From: Richard Biener Date: Tue, 2 Dec 2008 14:55:04 +0000 (+0000) Subject: re PR tree-optimization/38359 (ICE in set_lattice_value, at tree-ssa-ccp.c:466) X-Git-Tag: releases/gcc-4.4.0~1409 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84cfdcb34ba2645c063db860b3671c5bd03ded2d;p=thirdparty%2Fgcc.git re PR tree-optimization/38359 (ICE in set_lattice_value, at tree-ssa-ccp.c:466) 2008-12-02 Richard Guenther PR tree-optimization/38359 * gcc.c-torture/compile/pr38359.c: New testcase. From-SVN: r142357 --- diff --git a/gcc/testsuite/gcc.c-torture/compile/pr38359.c b/gcc/testsuite/gcc.c-torture/compile/pr38359.c new file mode 100644 index 000000000000..cb77b71dd27b --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr38359.c @@ -0,0 +1,17 @@ +unsigned _ov_64_seek_lap (_Bool x1, _Bool x2, _Bool x3) +{ + unsigned ltmp_3978_7__PHI_TEMPORARY; + signed ltmp_4011_7; + + if (!x1 || !x2) + while (1) ; + + if (x3) + ltmp_3978_7__PHI_TEMPORARY = 0xffffff7e; + else + ltmp_3978_7__PHI_TEMPORARY = 1; + + ltmp_4011_7 = -1; + return ltmp_4011_7 >> ltmp_3978_7__PHI_TEMPORARY; +} +