History

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.

Thomas Preud'homme committed 13 years ago

Commit f3e56491 parent f63c7501 file · +2 −0Browse files

Unified · Split

tests/tcctest.c+2−0
@@ -2695,7 +2695,9 @@ void bfa2(ptrdiff_t str_offset) · 2694 unmodified lines
26952695 void bfa1(ptrdiff_t str_offset)
26962696 {
26972697 printf("bfa1: %s\n", (char *)__builtin_frame_address(1) + str_offset);
2698+#if defined(__arm__) && !defined(__GNUC__)
26982699 bfa2(str_offset);
2700+#endif
26992701 }
27002702
27012703 void builtin_frame_address_test(void)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t