diff options
| author | grischka <grischka> | 2014-01-07 14:57:07 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2014-01-07 14:57:07 +0100 |
| commit | 3fe2a95d7fe854c8cf496a009a467bb65cdf030d (patch) | |
| tree | 217e2470122e020f6c71acf97c2bdaf4d7f5943e /i386-gen.c | |
| parent | 2bd0daabbe1fc40e65e4a4631e68f5ca093ea1fb (diff) | |
| download | tinycc-3fe2a95d7fe854c8cf496a009a467bb65cdf030d.tar.gz tinycc-3fe2a95d7fe854c8cf496a009a467bb65cdf030d.tar.bz2 | |
be stricter with aliasing
Refactoring (no logical changes):
- use memcpy in tccgen.c:ieee_finite(double d)
- use union to store attribute flags in Sym
Makefile: "CFLAGS+=-fno-strict-aliasing" basically not necessary
anymore but I left it for now because gcc sometimes behaves
unexpectedly without.
Also:
- configure: back to mode 100755
- tcc.h: remove unused variables tdata/tbss_section
- x86_64-gen.c: adjust gfunc_sret for prototype
Diffstat (limited to 'i386-gen.c')
| -rw-r--r-- | i386-gen.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -457,7 +457,7 @@ ST_FUNC void gfunc_call(int nb_args) } save_regs(0); /* save used temporary registers */ func_sym = vtop->type.ref; - func_call = FUNC_CALL(func_sym->r); + func_call = func_sym->a.func_call; /* fast call case */ if ((func_call >= FUNC_FASTCALL1 && func_call <= FUNC_FASTCALL3) || func_call == FUNC_FASTCALLW) { @@ -505,7 +505,7 @@ ST_FUNC void gfunc_prolog(CType *func_type) CType *type; sym = func_type->ref; - func_call = FUNC_CALL(sym->r); + func_call = sym->a.func_call; addr = 8; loc = 0; func_vc = 0; |
