mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-13 05:10:07 +08:00
Don't do builtin_frame_address test with ARM gcc
gcc fails the builtin_frame_address test on ARM so we disable it. As a consequence, the diff between gcc and tcc's output is unecessarily bigger. Given the big size of the diff currently, this doesn't make a big difference but may allow to detect a regression in tcc's implementation of builtin_frame_address.
This commit is contained in:
parent
f63c750942
commit
f3e5649150
@ -2695,7 +2695,9 @@ void bfa2(ptrdiff_t str_offset)
|
||||
void bfa1(ptrdiff_t str_offset)
|
||||
{
|
||||
printf("bfa1: %s\n", (char *)__builtin_frame_address(1) + str_offset);
|
||||
#if defined(__arm__) && !defined(__GNUC__)
|
||||
bfa2(str_offset);
|
||||
#endif
|
||||
}
|
||||
|
||||
void builtin_frame_address_test(void)
|
||||
|
Loading…
Reference in New Issue
Block a user