mirror of
git://repo.or.cz/tinycc.git
synced 2026-11-04 21:26:36 +08:00
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. |
||
|---|---|---|
| .. | ||
| pp | ||
| tests2 | ||
| 42test.h | ||
| abitest.c | ||
| arm-asm-testsuite.sh | ||
| asm-c-connect-1.c | ||
| asm-c-connect-2.c | ||
| asmtest.S | ||
| boundtest.c | ||
| bug.c | ||
| gcctestsuite.sh | ||
| libtcc_test_mt.c | ||
| libtcc_test.c | ||
| Makefile | ||
| msvcrt_start.c | ||
| tcctest.c | ||
| tcctest.h | ||
| test-win32.bat | ||
| testfp.c | ||
| vla_test.c | ||