* gcc.c-torture/execute/frame-address.c (check_fa_mid): Avoid
tail call to check_fa_work.
From-SVN: r103797
+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
{
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)