struct-ret-3.c: Adjust testcase to make stack readable and writable again before exiting.
2008-01-13 Richard Guenther <rguenther@suse.de> * gcc.dg/struct-ret-3.c: Adjust testcase to make stack readable and writable again before exiting. From-SVN: r131509
This commit is contained in:
parent
92140ff9cc
commit
2cb207f7f3
@ -1,3 +1,8 @@
|
||||
2008-01-13 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* gcc.dg/struct-ret-3.c: Adjust testcase to make stack
|
||||
readable and writable again before exiting.
|
||||
|
||||
2008-01-13 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/34601
|
||||
|
@ -90,5 +90,9 @@ int main(void)
|
||||
u->dp.pDictRidderInfo = &u->di;
|
||||
Initialize(&u->o, 0);
|
||||
|
||||
mprotect(u->c1, 4096, PROT_READ|PROT_WRITE);
|
||||
mprotect(u->c2, 4096, PROT_READ|PROT_WRITE);
|
||||
mprotect(u->c3, 4096, PROT_READ|PROT_WRITE);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user