Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/alias-34.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -fno-strict-aliasing -fdump-tree-optimized" } */ /* { dg-require-effective-target label_values } */ void foo (int b) { void *p; lab: if (b) p = &&lab; else { lab2: p = &&lab2; } *(char *)p = 1; } /* We should keep the store to the label locations. */ /* { dg-final { scan-tree-dump " = 1;" "optimized" } } */