[Issue 25] Segmentation fault on a simple template class; no segfault if substitute class by structure

2012-11-03 Thread gdc-bugzilla
http://gdcproject.org/bugzilla/show_bug.cgi?id=25 Alexander Samoilov changed: What|Removed |Added CC||alexander.samoi...@gmail.co

[Issue 25] Segmentation fault on a simple template class; no segfault if substitute class by structure

2012-11-03 Thread gdc-bugzilla
http://gdcproject.org/bugzilla/show_bug.cgi?id=25 Alexander Samoilov changed: What|Removed |Added Attachment #15|the same code as in the |the code that segfaults descr

[Issue 25] New: Segmentation fault on a simple template class; no segfault if substitute class by structure

2012-11-03 Thread gdc-bugzilla
http://gdcproject.org/bugzilla/show_bug.cgi?id=25 Bug #: 25 Summary: Segmentation fault on a simple template class; no segfault if substitute class by structure Classification: Unclassified Product: GDC Version: 4.7.x

Re: D for embedded system

2012-11-03 Thread Iain Buclaw
On 3 November 2012 12:44, Timo Sintonen wrote: > I have started to make a minimum libdruntime. First I compiled object and > now I am adding files one by one when needed. > The compiler generates lots of library calls. So far I have found these > flags to get the code smaller and to reduce library

Re: D for embedded system

2012-11-03 Thread Timo Sintonen
I have started to make a minimum libdruntime. First I compiled object and now I am adding files one by one when needed. The compiler generates lots of library calls. So far I have found these flags to get the code smaller and to reduce library calls: -fno-assert -fno-invariants and -fno-bouns-ch