dsrdakota / snes-sdk

Automatically exported from code.google.com/p/snes-sdk
0 stars 0 forks source link

tcc allows redefinition of global variables #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
tcc happily eats code like

int a = 1;
int a = 2;

without errors or warnings and emits a broken .data section:

.section ".data" superfree
,$1,$0
.db $2,$0
.ends

Original issue reported on code.google.com by ulrich.h...@gmail.com on 7 Aug 2009 at 5:18