diff options
| author | grischka <grischka> | 2014-08-01 10:59:38 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2014-08-01 10:59:38 +0200 |
| commit | 14745bdeb735d565b7589ba6032abd755267c850 (patch) | |
| tree | ca45695a2d8f7420e898978f94750a2e934805a2 /tests/tests2/Makefile | |
| parent | 12f43953edd48dc1e3520fa944e79e9da642651e (diff) | |
| download | tinycc-14745bdeb735d565b7589ba6032abd755267c850.tar.gz tinycc-14745bdeb735d565b7589ba6032abd755267c850.tar.bz2 | |
tccgen: nocode_wanted: do not output constants
This for example suppresses string constants such as with
int main()
{
return sizeof "foo";
}
Actually, setting
nocode_wanted = 1;
in libtcc.c for the initial global level seemed wrong, since
obviously "nocode_wanted" means code as any side effects, also
such as string constants.
This reverts a part of 2de1b2d14cc920e2c698ff0086f5558c2da7f569
(documented as "Some in-between fixes" in Changelog)
Diffstat (limited to 'tests/tests2/Makefile')
0 files changed, 0 insertions, 0 deletions
