tinycc/tests
Christopher Bazley 5f1425ef21 tccgen: preserve adjusted parameter qualifiers
Previously, TCC wrongly discarded the const and
volatile qualifiers from parameter types when
adjusting them.

- convert_parameter_type() will no longer remove
  the const and volatile qualifiers from a CType.
- a new function, convert_expression_type(), will
  remove the const and volatile qualifiers before
  tail-calling convert_parameter_type().
- unary() and gexpr() will call
  convert_expression_type() instead of
  convert_parameter_type() to ensure that
  expression semantics are unchanged.

The new tests for restrict also pass, but only
because the restrict keyword is ignored.
2026-09-26 12:18:03 +01:00
..
pp arm64-win32 support : configure & Makefiles 2026-05-04 12:49:25 +02:00
tests2 tccgen: preserve adjusted parameter qualifiers 2026-09-26 12:18:03 +01:00
42test.h tccpp: Allow computed include like 42.h 2016-12-15 17:47:10 +01:00
abitest.c LIBTCCAPI tcc_relocate(s) : REMOVED 2nd argument 2024-02-09 13:38:27 +01:00
arm-asm-testsuite.sh arm-asm: Add vcvt 2021-02-13 01:03:41 +01:00
asm-c-connect-1.c OpenBSD: testcases 2020-12-16 17:52:59 +01:00
asm-c-connect-2.c OpenBSD: testcases 2020-12-16 17:52:59 +01:00
asmtest.S x86asm: Add lzcnt/tzcnt support 2022-12-13 11:34:54 +01:00
boundtest.c Add bound check support for alloca on all targets 2025-11-29 07:54:28 +01:00
bug.c Allow const expr in builtin_frame_address/builtin_return_address 2023-01-16 08:37:47 +01:00
gcctestsuite.sh Update gcctestsuite 2025-08-03 10:35:58 +02:00
libtcc_test_mt.c arm64-win32 review: fix problems and pass tests 2026-05-04 12:51:10 +02:00
libtcc_test.c LIBTCCAPI tcc_relocate(s) : REMOVED 2nd argument 2024-02-09 13:38:27 +01:00
Makefile tcctest: restore & combine 2026-05-06 18:52:01 +02:00
msvcrt_start.c arm64-win32 review: fix problems and pass tests 2026-05-04 12:51:10 +02:00
tcctest.c tests: account for Clang array qualifier behavior 2026-09-22 23:32:25 +01:00
tcctest.h tccpp: Implement __BASE_FILE__ macro 2016-12-15 17:47:08 +01:00
test-win32.bat tccpe: tls on windows (i386 / x86-64 / arm64) 2026-07-28 23:46:30 +02:00
testfp.c Remove misc. files 2016-10-01 20:27:41 +02:00
vla_test.c Improved variable length array support. 2013-04-27 22:58:52 +01:00