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.
Unified · Split
| @@ -2695,7 +2695,9 @@ void bfa2(ptrdiff_t str_offset) · 2694 unmodified lines | ||
| 2695 | 2695 | void bfa1(ptrdiff_t str_offset) |
| 2696 | 2696 | { |
| 2697 | 2697 | printf("bfa1: %s\n", (char *)__builtin_frame_address(1) + str_offset); |
| 2698 | +#if defined(__arm__) && !defined(__GNUC__) | |
| 2698 | 2699 | bfa2(str_offset); |
| 2700 | +#endif | |
| 2699 | 2701 | } |
| 2700 | 2702 | |
| 2701 | 2703 | void builtin_frame_address_test(void) |