Commit 0f149d52 by Richard Henderson Committed by Richard Henderson

frame-address.c (check_fa_mid): Avoid tail call to check_fa_work.

        * gcc.c-torture/execute/frame-address.c (check_fa_mid): Avoid
        tail call to check_fa_work.

From-SVN: r103797
parent 810d4c7b
2005-09-02 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/frame-address.c (check_fa_mid): Avoid
tail call to check_fa_work.
2005-09-02 Mark Mitchell <mark@codesourcery.com>
PR c++/21687
......@@ -17,7 +17,8 @@ int check_fa_mid (const char *c)
{
const char *f = __builtin_frame_address (0);
return check_fa_work (c, f);
/* Prevent a tail call to check_fa_work, eliding the current stack frame. */
return check_fa_work (c, f) != 0;
}
int check_fa (char *unused)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment