| Submitter | Uros Bizjak |
|---|---|
| Date | June 21, 2010, 6:05 p.m. |
| Message ID | <AANLkTikqYi-0z5ivvOCNlj4_g6JLWiUNS911MhGWomkH@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/56337/ |
| State | New |
| Headers | show |
Comments
Patch
Index: gcc.c-torture/execute/frame-address.c =================================================================== --- gcc.c-torture/execute/frame-address.c (revision 161085) +++ gcc.c-torture/execute/frame-address.c (working copy) @@ -25,7 +25,8 @@ int check_fa (char *unused) { const char c = 0; - return check_fa_mid (&c); + /* Prevent a tail call to check_fa_mid, eliding the current stack frame. */ + return check_fa_mid (&c) != 0; } int how_much (void)
Hello! As proposed by Alan Modra, approved by Jan in the PR. 2010-06-21 Alan Modra <amodra@gmail.com> PR testsuite/44505 * gcc.c-torture/execute/frame-address.c (check_fa): Avoid tail call to check_fa_mid. Patch was tested on x86_64-pc-linux-gnu {,-m32}. Committed to mainline SVN. Uros.