Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/pr69270-3.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-uncprop-details -w" } */ /* We're looking for a constant argument a PHI node. There should only be one if we unpropagate correctly. */ /* { dg-final { scan-tree-dump-times ", 1" 1 "uncprop1"} } */ typedef long unsigned int size_t; typedef union gimple_statement_d *gimple; unsigned char propagate_with_phi () { gimple use_stmt; unsigned char phi_inserted; phi_inserted = 0; for (; !end_imm_use_stmt_p (); next_imm_use_stmt ()) { if (!(arf () == 10 && boo () == 20)) continue; if (!phi_inserted) phi_inserted = 1; else update_stmt (); } }