__builtin_/__bound_: A 'stay tiny' approach to the matter
commit2a0167adfe40894da28ef165dcc8064571f53247
authorgrischka <grischka>
Sun, 5 Jul 2020 22:00:42 +0000 (6 00:00 +0200)
committergrischka <grischka>
Mon, 6 Jul 2020 11:42:02 +0000 (6 13:42 +0200)
tree5756c2f47614954497f802357fcbaaed23b50524
parent6a4f3cf127e6d70a7699c6f0094dab6fd299a3e8
__builtin_/__bound_: A 'stay tiny' approach to the matter

tccgen.c:
- cleanup __builtin_... stuff
- merge __attribute((alias("sym"))) with __asm__("sym")
    Now one cannot have both, however for alias underscores are
    added if enabled.  For __asm__ they aren't.
tccpp.c:
- extend tcc_predefs accordingly.  Was generated with
  'cd tests/misc && tcc -run c2str.c tcc_predef.h tcc_predefs'
xxx-gen.c:
- move bcheck setjmp test to tccgen.c:gbound_args()
i386-gen.c:
- create win32 compatible stack space for big structures
tcctest.c:
- some cleanup + nicer output
16 files changed:
arm-gen.c
arm64-gen.c
i386-asm.c
i386-gen.c
libtcc.c
riscv64-gen.c
tcc.h
tccgen.c
tccpp.c
tcctok.h
tests/misc/c2str.c [new file with mode: 0644]
tests/misc/tcc_predefs.h [new file with mode: 0644]
tests/tcctest.c
tests/tests2/61_integers.c [new file with mode: 0644]
tests/tests2/61_integers.expect [new file with mode: 0644]
x86_64-gen.c