Re: testsuite: optimization dependent test

2013-03-25 Thread Iain Buclaw
On 25 March 2013 18:36, Johannes Pfau wrote: > In runnable/test42.d test7290 checks if a scope delegate is really > allocated on the stack. To verify this it obtains the EBP pointer and > compares that to the delegates .ptr. > > The problem is that as soon as we enable optimization gcc no > longe

Re: CTFE formatting of floating point values

2013-03-25 Thread Iain Buclaw
On 25 March 2013 18:31, Johannes Pfau wrote: > I think this is a known issue: > DMD expects real.stringof to return a string in the %g format. However > the GCC function used for formatting real numbers always returns the %e > format. > > There is a failing test for this in the test suite. (runna

testsuite: optimization dependent test

2013-03-25 Thread Johannes Pfau
In runnable/test42.d test7290 checks if a scope delegate is really allocated on the stack. To verify this it obtains the EBP pointer and compares that to the delegates .ptr. The problem is that as soon as we enable optimization gcc no longer adjusts the EBP pointer when calling the helper function

CTFE formatting of floating point values

2013-03-25 Thread Johannes Pfau
I think this is a known issue: DMD expects real.stringof to return a string in the %g format. However the GCC function used for formatting real numbers always returns the %e format. There is a failing test for this in the test suite. (runnable/test42.d (test49)). Would it be OK to disable this tes

Re: GDC-4.9 in development

2013-03-25 Thread Johannes Pfau
Am Sat, 23 Mar 2013 22:13:24 +1000 schrieb Manu : > Hooray! Welcome Johannes! > That guy rocks my world! :P Thanks :-) Iain and Daniel are doing all the hard work though. > Will switching to 4.9 make it harder to support all the 4.8 (and > below) cross compilers out there? Like the console toolc

Re: GDC install guide

2013-03-25 Thread Iain Buclaw
On 25 March 2013 11:24, eles wrote: > The install guide at: > > http://gdcproject.org/wiki/**Installation > > is wrong/outdated, at least for Ubuntu. > > Several issues: > > # apt-get source gcc-4.7 # this installs the GCC tarballs in > /usr/src/gcc-4.

GDC install guide

2013-03-25 Thread eles
The install guide at: http://gdcproject.org/wiki/Installation is wrong/outdated, at least for Ubuntu. Several issues: # apt-get source gcc-4.7 # this installs the GCC tarballs in /usr/src/gcc-4.7/gcc-4.7-4.7.2 is not true. The sources are installed in the current directory, not in /usr