[Bug 167] Setting Tsize_t, Tptrdiff_t in d-target.cc is not working

2014-11-23 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=167 --- Comment #4 from Iain Buclaw --- (In reply to Johannes Pfau from comment #3) > Yes, I hit this issue with 8bit AVRs (pointers/size_t is 16 bit on AVR > although registers are 8bit). Maybe a clean solution is to split > Target::init / Target::i

[Bug 167] Setting Tsize_t, Tptrdiff_t in d-target.cc is not working

2014-11-23 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=167 --- Comment #3 from Johannes Pfau --- Yes, I hit this issue with 8bit AVRs (pointers/size_t is 16 bit on AVR although registers are 8bit). Maybe a clean solution is to split Target::init / Target::init2 and use Target::sizetsize in Type::init? Ho

[Bug 167] Setting Tsize_t, Tptrdiff_t in d-target.cc is not working

2014-11-23 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=167 --- Comment #2 from Iain Buclaw --- One of the eventual plans was to encapsulate all isXXX params from Global into Target - removing them from the front-end. I suppose this is to support 16bit (or less) micro-controllers? Target::init actually

[Bug 167] Setting Tsize_t, Tptrdiff_t in d-target.cc is not working

2014-11-23 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=167 --- Comment #1 from Johannes Pfau --- (In reply to Johannes Pfau from comment #0) > We set Tptrdiff_t and Tsize_t in d-target.cc, but we do not update > Type::tsize_t and Type::tptrdiff_t. > > I wonder whether we could just call Target::init bef

[Bug 167] New: Setting Tsize_t, Tptrdiff_t in d-target.cc is not working

2014-11-23 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=167 Bug ID: 167 Summary: Setting Tsize_t, Tptrdiff_t in d-target.cc is not working Product: GDC Version: development Hardware: All OS: All Status: N

[Bug 139] GDC writes all-zero initialisers in the rodata section

2014-11-23 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=139 --- Comment #9 from Johannes Pfau --- Sure. Should the default still be rodata? Rodata is also used for normal immutable x = Struct(0,0,0) style variables, so that make make sense. -- You are receiving this mail because: You are watching all bu