mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-01 23:56:13 +08:00
Escape parameters in gcc.dg/torture/pta-ptrarith-1.c
* gcc.dg/torture/pta-ptrarith-1.c: Escape parameters.
This commit is contained in:
parent
520d5ad337
commit
b1cd56a43d
@ -6,11 +6,14 @@ struct Foo {
|
||||
int *p;
|
||||
};
|
||||
|
||||
struct Foo *ff;
|
||||
|
||||
void __attribute__((noinline))
|
||||
foo (void *p)
|
||||
{
|
||||
struct Foo *f = (struct Foo *)p - 1;
|
||||
*f->p = 0;
|
||||
ff = f;
|
||||
}
|
||||
|
||||
int bar (void)
|
||||
|
Loading…
Reference in New Issue
Block a user