Hi Aurélie Tisson
Thanks for your report.
This was fixed at least more than 52 month ago.
(I tried tcc 0.9.27+git20200815.62c30a4a,
and that version works without issues)
Others have also already tested your example
als also discovered, that this is fixed.
Currently, we have a tcc 0.9.28rc and waiting for @grishka
to make a release from the current "mob" branch.
https://repo.or.cz/tinycc.git#######
Hello grishka, new bug reports about issues,
which are fixed long ago arrive regulary.
A new release is really needed.
What can we do, to help you to prepare a 0.9.28 release?
Of course, there might be more issues in 0.9.28rc....
As example, "i386-tcc" on a x86_64 linux machine
is missing additional search dirs:
include: "/usr/i686-linux-gnu/include"
lib: "/usr/i686-linux-gnu/lib"
crt: "/usr/i686-linux-gnu/lib"
(there are no "crt*.o" files, "libc*" files and similar
in "/usr/lib/i386-linux-gnu")
Please do a release.
Please ....
Please .................
Bitte.
Ein Release.
Danke.
Wenn du Hilfe brauchst, melde dich bitte.
Ich habe Zeit, aber keine Berechtigung.
--
Regards ... Detlef