diff options
author | Jeff Law <law@redhat.com> | 2016-02-29 15:45:41 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2016-02-29 15:45:41 -0700 |
commit | 0c6072a3fc25e656c606247df51a448ab21326c0 (patch) | |
tree | ec4fb7504f0481f105f0de78e43f4a26a0986580 /gcc/testsuite/gcc.c-torture/compile | |
parent | 8cfb576a289ce5676d7fa07744aadc0107902718 (diff) | |
download | gcc-0c6072a3fc25e656c606247df51a448ab21326c0.zip gcc-0c6072a3fc25e656c606247df51a448ab21326c0.tar.gz gcc-0c6072a3fc25e656c606247df51a448ab21326c0.tar.bz2 |
re PR tree-optimization/69999 (ICE in verify_loop_structure, at cfgloop.c:1639 (error: loop with header 3 not in loop tree) at -O3 or -Ofast)
PR tree-optimization/69999
* gimple-ssa-split-paths.c (split_paths): When duplicating a block
with an outgoing edge marked with EDGE_IRREDUCIBLE_LOOP, schedule
loop cleanups.
PR tree-optimization/69999
* gcc.c-torture/compile/pr69999.c: New test.
From-SVN: r233824
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr69999.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr69999.c b/gcc/testsuite/gcc.c-torture/compile/pr69999.c new file mode 100644 index 0000000..5659ce4 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr69999.c @@ -0,0 +1,16 @@ +int uh; + +void +ha(void) +{ + while (uh) { + for (uh = 0; uh < 1; ++uh) { + uh = 0; + if (uh != 0) + ts: + uh %= uh; + } + ++uh; + } + goto ts; +} |