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
This commit is contained in:
parent
810d4c7ba0
commit
0f149d5215
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue