PR tree-optimization/33562
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20040713-1.c
blob78919d0401add476a7b01b3bbed88b29989a67fb
1 /* { dg-do compile } */
2 /* { dg-options "-Os" } */
4 /* Extracted from PR 16443. Contributed by Volker Reichelt.
5 Scanning of __asm__ operands wasn't considering call-clobbered
6 variables discovered before the aliasing pass. This was causing a
7 crash in verify_ssa() because 'p' was not being given an SSA_NAME. */
9 void foo(char *p)
11 __asm__ ("" ::: "memory");
14 void bar()
16 static char *p;
17 foo(p);