Re: asm_fprintf

2010-11-05 Thread Ian Lance Taylor
Jay K writes: > > And putc_unlocked is a macro which appends to a buffer. puts is not. > > > I *assumed* there is puts_unlocked like all the other *_unlocked. > Maybe not. There is an fputs_unlocked. But it's still a function, not a simple macro. > > (Really I'd rather gcc just output .

Re: value initialization and array data member

2010-11-05 Thread Paolo Carlini
... oh well, this is enough: struct A { int arr[1]; constexpr A() : arr() { } }; Paolo.

Re: value initialization and array data member

2010-11-05 Thread Paolo Carlini
Hi, > On 11/05/2010 09:03 PM, Gabriel Dos Reis wrote: >> I'm looking into std::bitset with respect to constexpr issue. >> My understanding has always been that one can use the >> syntax `member()' to value-initialize an array data member >> `member'. > I believe so. Thanks Gaby and Jason. I wanted

Re: value initialization and array data member

2010-11-05 Thread Jason Merrill
On 11/05/2010 09:03 PM, Gabriel Dos Reis wrote: I'm looking into std::bitset with respect to constexpr issue. My understanding has always been that one can use the syntax `member()' to value-initialize an array data member `member'. I believe so. Jason

RE: asm_fprintf

2010-11-05 Thread Jay K
> And putc_unlocked is a macro which appends to a buffer. puts is not. I *assumed* there is puts_unlocked like all the other *_unlocked. Maybe not. > (Really I'd rather gcc just output .o files directly...) > It would be an interesting project, but it's not a major component of > opti

value initialization and array data member

2010-11-05 Thread Gabriel Dos Reis
Hi Jason, I'm looking into std::bitset with respect to constexpr issue. My understanding has always been that one can use the syntax `member()' to value-initialize an array data member `member'. However, std/biset uses the notation `member({ })'. Is that required? Especially for a mem-initializ

Re: Changing PR to ASSIGNED doesn't assign to me automatically

2010-11-05 Thread H.J. Lu
On Fri, Nov 5, 2010 at 12:54 PM, Rainer Orth wrote: > I've noticed an annoying change of behaviour in current Bugzilla > compared to the old installation.  If I changed a PR to ASSIGNED, it was > automatically assigned to me.  Now, the state does change to ASSIGNED > alright, but the PR still rema

Re: Tweaking the pathname for __FILE__

2010-11-05 Thread Ian Lance Taylor
Paul Koning writes: > It occurred to me that this might be an issue others have run into. > Would it be useful for gcc to provide some way to have the __FILE__ > value trimmed? Perhaps something analogous to the -p switch in the > "patch" utility? I think it is useful to have a way to set __FIL

Changing PR to ASSIGNED doesn't assign to me automatically

2010-11-05 Thread Rainer Orth
I've noticed an annoying change of behaviour in current Bugzilla compared to the old installation. If I changed a PR to ASSIGNED, it was automatically assigned to me. Now, the state does change to ASSIGNED alright, but the PR still remains assigned to unassig...@gcc.gnu.org, which doesn't seem to

Re: I propose Ralf Wildenhues for build machinery maintainer

2010-11-05 Thread Benjamin Kosnik
> To the steering committee: I propose Ralf Wildenhues as a new > maintainer for the build machinery. > > Ralf often has useful comments for proposed patches to the configure > scripts. He has done good work in upgrading to new versions of > autoconf and libtool. As an autoconf maintainer himse

Re: I propose Ralf Wildenhues for build machinery maintainer

2010-11-05 Thread Diego Novillo
On Fri, Nov 5, 2010 at 14:42, Dave Korn wrote: > > On 05/11/2010 18:00, Ian Lance Taylor wrote: > > To the steering committee: I propose Ralf Wildenhues as a new maintainer > > for the build machinery. > >  Seconded, for all the same reasons.  Ralf's contributions have been > invaluable. I agree

Re: Tweaking the pathname for __FILE__

2010-11-05 Thread Andreas Schwab
Paul Koning writes: > The full pathname in __FILE__ is sometimes more than is desirable. For > example, if multiple people may be building software in different working > directories, you end up with binaries that have lots of differences in them > that obscure "real" changes. Or it may be t

Tweaking the pathname for __FILE__

2010-11-05 Thread Paul Koning
The full pathname in __FILE__ is sometimes more than is desirable. For example, if multiple people may be building software in different working directories, you end up with binaries that have lots of differences in them that obscure "real" changes. Or it may be that rebuilding "the bits we ha

Re: I propose Ralf Wildenhues for build machinery maintainer

2010-11-05 Thread Dave Korn
On 05/11/2010 18:00, Ian Lance Taylor wrote: > To the steering committee: I propose Ralf Wildenhues as a new maintainer > for the build machinery. Seconded, for all the same reasons. Ralf's contributions have been invaluable. cheers, DaveK

I propose Ralf Wildenhues for build machinery maintainer

2010-11-05 Thread Ian Lance Taylor
To the steering committee: I propose Ralf Wildenhues as a new maintainer for the build machinery. Ralf often has useful comments for proposed patches to the configure scripts. He has done good work in upgrading to new versions of autoconf and libtool. As an autoconf maintainer himself he has exp

Re: Stage 3 question

2010-11-05 Thread Joseph S. Myers
On Fri, 5 Nov 2010, Paul Koning wrote: > On Nov 3, 2010, at 4:02 PM, Paul Koning wrote: > > > Question on what's appropriate... > > More on the same topic: sometimes the words are "bug fixes" and > sometimes "regressions". I tend to think of regressions as "it worked > in version x-1 but it's

Re: Stage 3 question

2010-11-05 Thread Paul Koning
On Nov 3, 2010, at 4:02 PM, Paul Koning wrote: > Question on what's appropriate... More on the same topic: sometimes the words are "bug fixes" and sometimes "regressions". I tend to think of regressions as "it worked in version x-1 but it's broken in x". Are long-standing bugs also fair game

Re: GCC vector extensions

2010-11-05 Thread Richard Guenther
On Fri, Nov 5, 2010 at 5:25 PM, Hariharan Sandanagobalane wrote: > Hi Ian, > Thanks for your help. > > I switched to mainline and the vector extract works a treat. When i tried > vector set, it was still generating suboptimal code. Is this bit of code > still work in progress? I expect so. If yo

Re: GCC vector extensions

2010-11-05 Thread Hariharan Sandanagobalane
Hi Ian, Thanks for your help. I switched to mainline and the vector extract works a treat. When i tried vector set, it was still generating suboptimal code. Is this bit of code still work in progress? Cheers Hari On 04/11/10 19:23, Ian Lance Taylor wrote: Hariharan Sandanagobalane writes:

Re: mach pass

2010-11-05 Thread Jeff Law
On 11/05/10 09:01, Ian Lance Taylor wrote: Abdul Wahid Memon writes: Can anyone please give me a two line description about mach pass in GCC or any source reference for that. I don't know what you mean by "mach pass". I'd hazard a guess Abdul is referring to the machine dependent reorg pass

Re: mach pass

2010-11-05 Thread Ian Lance Taylor
Abdul Wahid Memon writes: > Can anyone please give me a two line description about mach pass in > GCC or any source reference for that. I don't know what you mean by "mach pass". Ian

Re: asm_fprintf inefficiency?

2010-11-05 Thread Ian Lance Taylor
Jay K writes: > 1) asm_fprintf probably should skip from % to %, calling > puts on each span, instead of putc one at a time. > Granted, its input strings tend to be short. And putc_unlocked is a macro which appends to a buffer. puts is not. It's not clear that your proposal would actually make

mach pass

2010-11-05 Thread Abdul Wahid Memon
Hello all Can anyone please give me a two line description about mach pass in GCC or any source reference for that. Regards Abdul

Re: GCC trunk revision 166285 passes SPEC CPU 2000/2006

2010-11-05 Thread Richard Guenther
On Fri, Nov 5, 2010 at 1:43 PM, H.J. Lu wrote: > FYI, GCC trunk revision 166285 passes SPEC CPU 2000/2006. > It is the first time in a month. Ship it! Richard.

GCC trunk revision 166285 passes SPEC CPU 2000/2006

2010-11-05 Thread H.J. Lu
FYI, GCC trunk revision 166285 passes SPEC CPU 2000/2006. It is the first time in a month. -- H.J.

asm_fprintf inefficiency?

2010-11-05 Thread Jay K
so..I was bemaining to self extra #ifs, extra autoconf.. the checking for puts_locked... the fact that asm_fprintf calls putc one character at a time, which probably benefits from _unlocked. 1) asm_fprintf probably should skip from % to %, calling puts on each span, instead of putc one at a tim