[Bug 52] NRVO not implemented

2014-03-08 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 --- Comment #9 from Iain Buclaw --- (In reply to comment #8) > These mails also got to the newsgroup? Then -1 > otherwise I don't have a real opinion on that :-) Oh, these messages reach the newgroup just fine. I'm just not used to seeing a stra

Re: ICE due to unsupported target

2014-03-08 Thread Johannes Pfau
Am Sat, 8 Mar 2014 11:45:18 + schrieb Iain Buclaw : > > The next step is to fix the codegen so that it does not rely on the > compiler knowing the critsecsize. That's better, of course!

Re: ICE due to unsupported target

2014-03-08 Thread Iain Buclaw
On 8 March 2014 09:37, Johannes Pfau wrote: > Am Sat, 08 Mar 2014 09:12:48 + > schrieb "Mike" : > >> On Saturday, 8 March 2014 at 08:09:29 UTC, Timo Sintonen wrote: >> > >> > Why do you need synchronized? Are you building some kind of >> > multithreading library? >> >> I don't need it yet. I'

Re: ICE due to unsupported target

2014-03-08 Thread Mike
On Saturday, 8 March 2014 at 10:33:30 UTC, Timo Sintonen wrote: In gcc build we know the host we are building and the target we are building for. Yeah! You are right. GDC/GCC is somewhat unique in this regard, isn't it? critsecsize could just return a constant that's determined at GDC's co

Re: ICE due to unsupported target

2014-03-08 Thread Timo Sintonen
On Saturday, 8 March 2014 at 09:12:49 UTC, Mike wrote: On Saturday, 8 March 2014 at 08:09:29 UTC, Timo Sintonen wrote: Why do you need synchronized? Are you building some kind of multithreading library? I don't need it yet. I'm just exploring features of D and trying to learn how to implem

Re: ICE due to unsupported target

2014-03-08 Thread Johannes Pfau
Am Sat, 08 Mar 2014 09:12:48 + schrieb "Mike" : > On Saturday, 8 March 2014 at 08:09:29 UTC, Timo Sintonen wrote: > > > > Why do you need synchronized? Are you building some kind of > > multithreading library? > > I don't need it yet. I'm just exploring features of D and trying > to learn

[Bug 52] NRVO not implemented

2014-03-08 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 --- Comment #8 from Johannes Pfau --- These mails also got to the newsgroup? Then -1 otherwise I don't have a real opinion on that :-) -- You are receiving this mail because: You are watching all bug changes.

Re: ICE due to unsupported target

2014-03-08 Thread Mike
On Saturday, 8 March 2014 at 08:09:29 UTC, Timo Sintonen wrote: Why do you need synchronized? Are you building some kind of multithreading library? I don't need it yet. I'm just exploring features of D and trying to learn how to implement them. The real problem isn't that I can't use sync

Re: Exceptions in ARM

2014-03-08 Thread Timo Sintonen
On Friday, 7 March 2014 at 18:41:35 UTC, Johannes Pfau wrote: > To make sure that libgcc > is built correctly for Cortex-M4 you have to specify > "--with-arch=armv7e-m --with-cpu=cortex-m4 --with-mode=thumb > --with-tune=" when configuring gcc/gdc. > Gcc build fails with these. It will take time

Re: ICE due to unsupported target

2014-03-08 Thread Timo Sintonen
On Saturday, 8 March 2014 at 07:52:10 UTC, Mike wrote: I'm getting an ICE in d-target.cc/critsecsize when I create a synchronized block. Looking at the source code, it's pretty obvious why - my target (ARM Cortex-M bare metal) isn't any of the ones listed: if (global.params.isWindows) ...