mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-11-16 12:34:45 +00:00
Update gcctestsuite
I updated the tests/gcctestsuite.sh a bit. before: 3329 test(s) ok. 210 test(s) skipped. 168 test(s) failed. 28 test(s) exe failed. after: 3331 test(s) ok. 299 test(s) skipped. 79 test(s) failed. 26 test(s) exe failed. I found some small problems: include/tccdefs.h: Add alloca definition for i386 and x86_64 lib/alloca.S/lib/alloca-bt.S: align i386 alloca to 16 bytes. i386_gen.c vla code and gcc do the same. x86_64-gen.c: fix typo in comment
This commit is contained in:
@@ -310,6 +310,7 @@
|
||||
__MAYBE_REDIR(void, free, (void*))
|
||||
#if defined __i386__ || defined __x86_64__
|
||||
__BOTH(void*, alloca, (__SIZE_TYPE__))
|
||||
void *alloca(__SIZE_TYPE__);
|
||||
#else
|
||||
__BUILTIN(void*, alloca, (__SIZE_TYPE__))
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user