diff options
| author | Michael Matz <matz@suse.de> | 2016-09-26 21:52:57 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2016-12-15 17:47:12 +0100 |
| commit | ce55d03eef8cefff5ed731c0e1176425d59c600f (patch) | |
| tree | 7d2d70b30c3e8b84f727196c0f3d9a876024ad82 /tests/tcctest.c | |
| parent | fb933ae0eb25af6b03c0098902d215fa7fe7fdbd (diff) | |
| download | tinycc-ce55d03eef8cefff5ed731c0e1176425d59c600f.tar.gz tinycc-ce55d03eef8cefff5ed731c0e1176425d59c600f.tar.bz2 | |
Handle __builtin_extract_return_addr
Our architectures don't need anything special for this
builtin, just pass through the argument.
Diffstat (limited to 'tests/tcctest.c')
| -rw-r--r-- | tests/tcctest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c index ff88688..0485a74 100644 --- a/tests/tcctest.c +++ b/tests/tcctest.c @@ -3027,6 +3027,8 @@ void builtin_test(void) printf("bce: %d\n", i); i = sizeof (__builtin_choose_expr (0, ll, s)); printf("bce: %d\n", i); + + printf("bera: %p\n", __builtin_extract_return_addr((void*)43)); } #ifndef _WIN32 |
