]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/pr108137.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr108137.c
1 // PR tree-optimization/108137
2 // { dg-do compile }
3 // { dg-options "-Wformat-overflow" }
4
5 void f(unsigned short x_port, unsigned int x_host)
6 {
7 __builtin_printf("missing %s", x_port ? "host" : &"host:port"[x_host ? 5 : 0]);
8 }