Re: Current GDC experience and questions

2013-03-08 Thread Timo Sintonen
On Friday, 8 March 2013 at 18:16:18 UTC, Iain Buclaw wrote: > > Yet not all attributes that GCC offers actually make sense > > to have > > in D. We certainly need to have a review of each one and > > discuss > > what is most important to have. Also defining our own > > unique > > attributes

Re: Current GDC experience and questions

2013-03-08 Thread Iain Buclaw
On 8 March 2013 19:00, Artur Skawina wrote: > On 03/08/13 19:38, Iain Buclaw wrote: > > On 8 March 2013 18:19, Artur Skawina art.08...@gmail.com>> wrote: > > > > On 03/08/13 18:54, Iain Buclaw wrote: > > > Also not needed: > > > - aligned: because D has align() for that. > > > >

Re: Current GDC experience and questions

2013-03-08 Thread Artur Skawina
On 03/08/13 19:38, Iain Buclaw wrote: > On 8 March 2013 18:19, Artur Skawina > wrote: > > On 03/08/13 18:54, Iain Buclaw wrote: > > Also not needed: > > - aligned: because D has align() for that. > > D's align wasn't nearly enough last time i looked.

Re: Current GDC experience and questions

2013-03-08 Thread Iain Buclaw
On 8 March 2013 18:19, Artur Skawina wrote: > On 03/08/13 18:54, Iain Buclaw wrote: > > Also not needed: > > - aligned: because D has align() for that. > > D's align wasn't nearly enough last time i looked. (There were changes to > it since, but as I can't upgrade, haven't looked at the details)

Re: Current GDC experience and questions

2013-03-08 Thread Artur Skawina
On 03/08/13 18:54, Iain Buclaw wrote: > Also not needed: > - aligned: because D has align() for that. D's align wasn't nearly enough last time i looked. (There were changes to it since, but as I can't upgrade, haven't looked at the details) > - gnu_inline, artificial: because D has no inline ke

Re: Current GDC experience and questions

2013-03-08 Thread Iain Buclaw
On 8 March 2013 18:06, Johannes Pfau wrote: > Am Fri, 8 Mar 2013 17:11:41 +0100 > schrieb Johannes Pfau : > > > Am Fri, 8 Mar 2013 15:18:53 + > > schrieb Iain Buclaw : > > > > > > > Yet not all attributes that GCC offers actually make sense to have > > > in D. We certainly need to have a revi

Re: Current GDC experience and questions

2013-03-08 Thread Johannes Pfau
Am Fri, 8 Mar 2013 17:11:41 +0100 schrieb Johannes Pfau : > Am Fri, 8 Mar 2013 15:18:53 + > schrieb Iain Buclaw : > > > > Yet not all attributes that GCC offers actually make sense to have > > in D. We certainly need to have a review of each one and discuss > > what is most important to have

Re: Current GDC experience and questions

2013-03-08 Thread Artur Skawina
On 03/08/13 16:18, Iain Buclaw wrote: > On 8 March 2013 14:36, Artur Skawina > wrote: > > On 03/08/13 13:40, jerro wrote: > >> I tried modifying some trivial sources, which were using only > >> 'pragma(attribute, noinline)', but couldn't get them to work; t

Re: Current GDC experience and questions

2013-03-08 Thread Iain Buclaw
On 8 March 2013 16:11, Johannes Pfau wrote: > Am Fri, 8 Mar 2013 15:18:53 + > schrieb Iain Buclaw : > > > > Yet not all attributes that GCC offers actually make sense to have in > > D. We certainly need to have a review of each one and discuss what is > > most important to have. Also definin

Re: Current GDC experience and questions

2013-03-08 Thread Johannes Pfau
Am Fri, 8 Mar 2013 15:18:53 + schrieb Iain Buclaw : > Yet not all attributes that GCC offers actually make sense to have in > D. We certainly need to have a review of each one and discuss what is > most important to have. Also defining our own unique attributes > along the way. :o) > To ge

Re: Current GDC experience and questions

2013-03-08 Thread Iain Buclaw
On 8 March 2013 14:36, Artur Skawina wrote: > On 03/08/13 13:40, jerro wrote: > >> I tried modifying some trivial sources, which were using only > >> 'pragma(attribute, noinline)', but couldn't get them to work; the > compiler keeps > >> complaining, 'cc1d: error: unknown attribute noinline'. > >

Re: Current GDC experience and questions

2013-03-08 Thread Artur Skawina
On 03/08/13 13:40, jerro wrote: >> I tried modifying some trivial sources, which were using only >> 'pragma(attribute, noinline)', but couldn't get them to work; the compiler >> keeps >> complaining, 'cc1d: error: unknown attribute noinline'. >> Is 'import gcc.attribute; @attribute("noinline") voi

Re: Current GDC experience and questions

2013-03-08 Thread Artur Skawina
On 03/08/13 13:40, Iain Buclaw wrote: > On 8 March 2013 11:46, Artur Skawina > wrote: > > I've been using "gdc (GCC) 4.6.3 20120106 (gdc 0.31 - r748:ab99d67f04c2, > dmd 2.057)" > as my only D compiler for the last months, and it's been doing great, > almost e

Re: Current GDC experience and questions

2013-03-08 Thread jerro
I tried modifying some trivial sources, which were using only 'pragma(attribute, noinline)', but couldn't get them to work; the compiler keeps complaining, 'cc1d: error: unknown attribute noinline'. Is 'import gcc.attribute; @attribute("noinline") void f() {}' supposed to work? It isn't. When

Re: Current GDC experience and questions

2013-03-08 Thread Iain Buclaw
On 8 March 2013 11:46, Artur Skawina wrote: > I've been using "gdc (GCC) 4.6.3 20120106 (gdc 0.31 - r748:ab99d67f04c2, > dmd 2.057)" > as my only D compiler for the last months, and it's been doing great, > almost everything > including LTO works. There have been a few ices/crashes, but mostly wi

Current GDC experience and questions

2013-03-08 Thread Artur Skawina
I've been using "gdc (GCC) 4.6.3 20120106 (gdc 0.31 - r748:ab99d67f04c2, dmd 2.057)" as my only D compiler for the last months, and it's been doing great, almost everything including LTO works. There have been a few ices/crashes, but mostly with invalid code or looking front-end related (didn't