std.math.pow produces incorrect results when used with std.parallelism

2013-06-01 Thread finalpatch
the following code compiled with GDC shows the bug (I'm using the gcc 4.8 windows mingw32 version from https://bitbucket.org/goshawk/gdc/downloads) import std.math; import std.stdio; import std.range; import std.parallelism; void main() { enum n = 1000; float step = 1.0f/n; float[

contributing to GDC development

2013-06-01 Thread arnuld
I am primarily a C developer and have 3 years of industrial experience in it, mostly have written sockets API related stuff along with application development. Have worked in C++ too but that is more of personal interest than industrial work. Got interested in D language recently. I will be ver

[Bug 52] NRVO not implemented

2013-06-01 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 --- Comment #4 from Johannes Pfau 2013-06-01 18:51:08 UTC --- Well the address should not change to make sure interior pointers stay valid. Whether it's moved or copied doesn't matter in that case. I think I remember Walter at some point said NR

Re: Building on Ubuntu -- what GCC sources to use?

2013-06-01 Thread Joseph Rushton Wakeling
On Friday, 31 May 2013 at 21:07:58 UTC, Joseph Rushton Wakeling wrote: Any advice on running the test suite? Before I forget, running the test suite required installing the dejagnu package, which isn't mentioned on the gdc wiki.

[Bug 42] Non-POD types not implemented

2013-06-01 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=42 --- Comment #1 from Iain Buclaw 2013-06-01 14:11:14 UTC --- For the time being at least, non-PODs are now *returned* in memory. https://github.com/D-Programming-GDC/GDC/commit/b805b71ee51ea79af990fab1fa677f762d90ef83 This should make reference

[Bug 52] NRVO not implemented

2013-06-01 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 --- Comment #3 from Iain Buclaw 2013-06-01 13:27:31 UTC --- (In reply to comment #2) > I don't wanna nit pick but that doesn't fix the issue in typecons.d. The test > case is a reduced test for scoped. It's not a check for some optimization, > i

[Bug 52] NRVO not implemented

2013-06-01 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 --- Comment #2 from Johannes Pfau 2013-06-01 11:47:43 UTC --- I don't wanna nit pick but that doesn't fix the issue in typecons.d. The test case is a reduced test for scoped. It's not a check for some optimization, it's a check that makes sure th

Re: Getting tls symbols out of the compiler.

2013-06-01 Thread David Nadlinger
On Friday, 31 May 2013 at 07:58:25 UTC, Jacob Carlborg wrote: void dyld_enumerate_tlv_storage(dyld_tlv_state_change_handler handler) If I recall correctly, LDC is using "dyld_enumerate_tlv_storage". Yep. It's a bit cumbersome to handle, though, as it relies on Blocks support: https://gith