Re: Running GCC tests on installed compiler

2007-01-12 Thread Joe Buck
On Fri, Jan 12, 2007 at 09:17:07PM -0500, Daniel Jacobowitz wrote: > On Fri, Jan 12, 2007 at 06:05:49PM -0800, Mike Stump wrote: > > On Jan 12, 2007, at 3:55 PM, Steve Ellcey wrote: > > >Can someone one with some deja-knowledge help me figure out how to run > > >the GCC tests on an installed compil

Re: Invariant division

2007-01-12 Thread Ian Lance Taylor
"drizzle drizzle" <[EMAIL PROTECTED]> writes: > Does gcc do an divison by constant optimization for any 16 bit > architecture. Can anyone point me to where it does that ? expand_divmod in expmed.c. Ian

Re: RFC: Wextra digest (fixing PR7651)

2007-01-12 Thread Manuel López-Ibáñez
On 11 Jan 2007 17:29:10 -0800, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: "Manuel López-Ibáñez" <[EMAIL PROTECTED]> writes: > On 11 Jan 2007 15:48:36 -0800, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: > > > > * A function can return either with or without a value. > > > > I give up. > > :-) Non

RFC: Walways-true considered harmful

2007-01-12 Thread Manuel López-Ibáñez
The option Walways-true is described as: Warn about comparisons which are always true such as testing if unsigned values are greater than or equal to zero. This warning is enabled by -Wall. In the description of warnings emitted by -Wextra we can find: An unsigned value is compared against zero

Re: debugging capabilities on AIX ?

2007-01-12 Thread Joel Brobecker
> On Jan 12, 2007, at 12:56 AM, Olivier Hainque wrote: > >Working on GCC 4 based GNAT port for AIX 5.[23], our testsuite to > >evaluate GDB (6.4) debugging capabilities currently yields very > >unpleasant results compared to what we obtain with a GCC 3.4 based > >compiler (80+ extra failures out of

Re: Running GCC tests on installed compiler

2007-01-12 Thread Daniel Jacobowitz
On Fri, Jan 12, 2007 at 06:05:49PM -0800, Mike Stump wrote: > On Jan 12, 2007, at 3:55 PM, Steve Ellcey wrote: > >Can someone one with some deja-knowledge help me figure out how to run > >the GCC tests on an installed compiler and without having to do a GCC > >build? > > You must be new around her

Invariant division

2007-01-12 Thread drizzle drizzle
Hi Does gcc do an divison by constant optimization for any 16 bit architecture. Can anyone point me to where it does that ? thanks dz

Re: Running GCC tests on installed compiler

2007-01-12 Thread Mike Stump
On Jan 12, 2007, at 3:55 PM, Steve Ellcey wrote: Can someone one with some deja-knowledge help me figure out how to run the GCC tests on an installed compiler and without having to do a GCC build? You must be new around here: http://gcc.gnu.org/ml/gcc-announce/1997-1998/msg0.html

Running GCC tests on installed compiler

2007-01-12 Thread Steve Ellcey
Can someone one with some deja-knowledge help me figure out how to run the GCC tests on an installed compiler and without having to do a GCC build? I started with runtest -tool gcc --srcdir /proj/opensrc/nightly/src/trunk/gcc/testsuite and that ran the tests, but it ran them with whatever gcc

Re: GCC trunk revision 120704 failed to build spec cpu2k/gcc

2007-01-12 Thread Jan Hubicka
> Hello, > > > > > GCC trunk revision 120704 failed to build SPEC cpu2000/gcc on -O1 and > > > > higher optimization level at x86_64-redhat-linux. > > > > > > > > reload1.c: In function 'reload': > > > > reload1.c:449: error: address taken, but ADDRESSABLE bit not set > > > > bad_spill_regs > >

RE: Autoconf manual's coverage of signed integer overflow & portability

2007-01-12 Thread Meissner, Michael
> -Original Message- > I would like to say the one thing I have not heard through this > discussion is the real reason why the C standards comittee decided > signed overflow as being undefined. All I can think of is they were > thinking of target that do saturation for plus/minus but wrapp

gcc-4.3-20070112 is now available

2007-01-12 Thread gccadmin
Snapshot gcc-4.3-20070112 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20070112/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.3 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

RE: RFC: Add BID as a configure time option for DFP

2007-01-12 Thread Meissner, Michael
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of H. > J. Lu > Sent: Wednesday, January 10, 2007 5:35 PM > To: Janis Johnson > Cc: gcc@gcc.gnu.org; [EMAIL PROTECTED]; Menezes, Evandro; > [EMAIL PROTECTED] > Subject: Re: RFC: Add BID as a configure time op

Re: GCC trunk revision 120704 failed to build spec cpu2k/gcc

2007-01-12 Thread Zdenek Dvorak
Hello, > > > GCC trunk revision 120704 failed to build SPEC cpu2000/gcc on -O1 and > > > higher optimization level at x86_64-redhat-linux. > > > > > > reload1.c: In function 'reload': > > > reload1.c:449: error: address taken, but ADDRESSABLE bit not set > > > bad_spill_regs > > > > > > reload1

Re: Serious SPEC CPU 2006 FP performance regressions on IA32

2007-01-12 Thread H. J. Lu
On Fri, Jan 12, 2007 at 02:06:48PM -0500, Daniel Berlin wrote: > On 1/12/07, H. J. Lu <[EMAIL PROTECTED]> wrote: > >On Thu, Jan 11, 2007 at 08:06:31PM -0500, Daniel Berlin wrote: > >> On 1/11/07, Grigory Zagorodnev <[EMAIL PROTECTED]> > >wrote: > >> >Menezes, Evandro wrote: > >> >> Though not as p

Re: bug management: WAITING bugs that have timed out

2007-01-12 Thread Mike Stump
On Jan 11, 2007, at 10:47 PM, Joe Buck wrote: The description of WORKSFORME sounds closest: we don't know how to reproduce the bug. Should that be used? No, not generally. This should only be used if someone says, I compile foo on platform bar and it didn't build and then someone tries bu

Re: GCC trunk revision 120704 failed to build spec cpu2k/gcc

2007-01-12 Thread Zdenek Dvorak
Hello, > > GCC trunk revision 120704 failed to build SPEC cpu2000/gcc on -O1 and > > higher optimization level at x86_64-redhat-linux. > > > > reload1.c: In function 'reload': > > reload1.c:449: error: address taken, but ADDRESSABLE bit not set > > bad_spill_regs > > > > reload1.c:449: error: a

Re: debugging capabilities on AIX ?

2007-01-12 Thread Mike Stump
On Jan 12, 2007, at 12:56 AM, Olivier Hainque wrote: Working on GCC 4 based GNAT port for AIX 5.[23], our testsuite to evaluate GDB (6.4) debugging capabilities currently yields very unpleasant results compared to what we obtain with a GCC 3.4 based compiler (80+ extra failures out of 1800+ tests

Re: Mis-handled ColdFire submission?

2007-01-12 Thread Mike Stump
On Jan 12, 2007, at 4:35 AM, Nathan Sidwell wrote: The major chunk of this reworking has been blocked from going into mainline because GCC was in stages 2 & 3 for much of this year. Yeah, spending large amounts of time in stage2 and 3 does have disadvantages. I'd rather have people that hav

Re: Serious SPEC CPU 2006 FP performance regressions on IA32

2007-01-12 Thread Daniel Berlin
On 1/12/07, H. J. Lu <[EMAIL PROTECTED]> wrote: On Thu, Jan 11, 2007 at 08:06:31PM -0500, Daniel Berlin wrote: > On 1/11/07, Grigory Zagorodnev <[EMAIL PROTECTED]> wrote: > >Menezes, Evandro wrote: > >> Though not as pronounced, definitely significant. > >> > > > >Using binary search I've detecte

Re: PATCH: Build shared libraries with -Bsymbolic-functions

2007-01-12 Thread H. J. Lu
On Fri, Jan 12, 2007 at 06:38:56AM -0800, H. J. Lu wrote: > On Fri, Jan 12, 2007 at 08:57:42AM +0100, Paolo Bonzini wrote: > > > > >libjava will use -Bsymbolic on Linux, which is more aggresive than > > >-Bsymbol-functions. It will bind global data references locally in > > >additon to global func

Re: GCC trunk revision 120704 failed to build spec cpu2k/gcc

2007-01-12 Thread H. J. Lu
On Fri, Jan 12, 2007 at 09:30:27PM +0300, Grigory Zagorodnev wrote: > Hi! > GCC trunk revision 120704 failed to build SPEC cpu2000/gcc on -O1 and > higher optimization level at x86_64-redhat-linux. > > reload1.c: In function 'reload': > reload1.c:449: error: address taken, but ADDRESSABLE bit not

GCC trunk revision 120704 failed to build spec cpu2k/gcc

2007-01-12 Thread Grigory Zagorodnev
Hi! GCC trunk revision 120704 failed to build SPEC cpu2000/gcc on -O1 and higher optimization level at x86_64-redhat-linux. reload1.c: In function 'reload': reload1.c:449: error: address taken, but ADDRESSABLE bit not set bad_spill_regs reload1.c:449: error: address taken, but ADDRESSABLE bit

Re: bug management: WAITING bugs that have timed out

2007-01-12 Thread Joe Buck
On Fri, Jan 12, 2007 at 12:41:08PM +0100, Eric Botcazou wrote: > > > Saddest is that is that in a batch of various related bug closings, the > > > blanket comment "M68k/ColdFire is not a primary platform - CLOSED". > > > > That should not happen, they should only get their target milestone > > bump

Re: Serious SPEC CPU 2006 FP performance regressions on IA32

2007-01-12 Thread H. J. Lu
On Thu, Jan 11, 2007 at 08:06:31PM -0500, Daniel Berlin wrote: > On 1/11/07, Grigory Zagorodnev <[EMAIL PROTECTED]> wrote: > >Menezes, Evandro wrote: > >> Though not as pronounced, definitely significant. > >> > > > >Using binary search I've detected that 30% performance regression of > >cpu2006/43

Re: error when porting from g++ for hp-ux to g++ for linux

2007-01-12 Thread Ian Lance Taylor
"Puetz, Oliver P11M22" <[EMAIL PROTECTED]> writes: > here's a little sample code, which could be compiled with g++ 3.01 under > hp-ux, but when compiled with g++ 3.4.6 under linux, following error > occured: > > sample.c: In member function 'T C2::PROC(T)': > sample.c:19: error: 'c1i' was not d

Re: debugging capabilities on AIX ?

2007-01-12 Thread David Edelsohn
> Olivier Hainque writes: Olivier> Working on GCC 4 based GNAT port for AIX 5.[23], our testsuite to Olivier> evaluate GDB (6.4) debugging capabilities currently yields very Olivier> unpleasant results compared to what we obtain with a GCC 3.4 based Olivier> compiler (80+ extra failures out of

Re: PATCH: Build shared libraries with -Bsymbolic-functions

2007-01-12 Thread H. J. Lu
On Fri, Jan 12, 2007 at 12:13:11PM +, Andrew Haley wrote: > H. J. Lu writes: > > On Thu, Jan 11, 2007 at 07:33:21PM +0100, Paolo Bonzini wrote: > > > > > > >config/ > > > > > > > >2007-01-10 H.J. Lu <[EMAIL PROTECTED]> > > > > > > > >* ld-symbolic.m4: New. > > > > > > Pleas

Re: PATCH: Build shared libraries with -Bsymbolic-functions

2007-01-12 Thread H. J. Lu
On Fri, Jan 12, 2007 at 08:57:42AM +0100, Paolo Bonzini wrote: > > >libjava will use -Bsymbolic on Linux, which is more aggresive than > >-Bsymbol-functions. It will bind global data references locally in > >additon to global function references. My patch will keep -Bsymbolic > >for libjava if it

error when porting from g++ for hp-ux to g++ for linux

2007-01-12 Thread Puetz, Oliver P11M22
Hi, here's a little sample code, which could be compiled with g++ 3.01 under hp-ux, but when compiled with g++ 3.4.6 under linux, following error occured: sample.c: In member function 'T C2::PROC(T)': sample.c:19: error: 'c1i' was not declared in this scope Compilation was executed with "g++

Re: Mis-handled ColdFire submission?

2007-01-12 Thread Andrew Haley
Nathan Sidwell writes: > The major chunk of this reworking has been blocked from going into > mainline because GCC was in stages 2 & 3 for much of this year. > When it was in stage 1, we weren't in a position to add things > coherently. We've not deliberately been holding back on patches > t

Re: Mis-handled ColdFire submission?

2007-01-12 Thread Nathan Sidwell
Rask Ingemann Lambertsen wrote: My only critisism is that surely, all these improvements weren't carried out just last week. I.e. some of them could have been submitted earlier, thereby making them available to users earlier as well as preventing duplicate work. An example is PR target/28181,

Re: PATCH: Build shared libraries with -Bsymbolic-functions

2007-01-12 Thread Andrew Haley
H. J. Lu writes: > On Thu, Jan 11, 2007 at 07:33:21PM +0100, Paolo Bonzini wrote: > > > > >config/ > > > > > >2007-01-10 H.J. Lu <[EMAIL PROTECTED]> > > > > > > * ld-symbolic.m4: New. > > > > Please name the macro AC_LIB_PROG_LD_GNU_SYMBOLIC, or > > ACX_PROG_LD_GNU_SYMBOLIC. > >

Re: bug management: WAITING bugs that have timed out

2007-01-12 Thread Eric Botcazou
> > Saddest is that is that in a batch of various related bug closings, the > > blanket comment "M68k/ColdFire is not a primary platform - CLOSED". > > That should not happen, they should only get their target milestone > bumped. I cannot remember having seen any case of a bug being _closed_ > jus

Re: bug management: WAITING bugs that have timed out

2007-01-12 Thread Andreas Schwab
Peter Barada <[EMAIL PROTECTED]> writes: > Saddest is that is that in a batch of various related bug closings, the > blanket comment "M68k/ColdFire is not a primary platform - CLOSED". That should not happen, they should only get their target milestone bumped. I cannot remember having seen any c

RFC: Extending --help

2007-01-12 Thread Nick Clifton
Hi Guys, Last month I submitted a patch to add a new switch to gcc: --print-optimizers. The idea of this switch was that it would only display those switches that controlled optimizations, and that it would show their current status (activated/not activated). Mark Mitchell suggested th

Re: dump after RTL expand

2007-01-12 Thread Steven Bosscher
On 1/12/07, Andrija Radicevic <[EMAIL PROTECTED]> wrote: > On Thursday 11 January 2007 19:27, Steven Bosscher wrote: > > On 1/11/07, Andrija Radicevic <[EMAIL PROTECTED]> wrote: > > > Hi, > > > how could I find out from which patterns, in the md file, the > 00.expand > > > file was generated (i.e

RE: dump after RTL expand

2007-01-12 Thread Andrija Radicevic
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Paul Brook > Sent: Friday, January 12, 2007 12:34 AM > To: gcc@gcc.gnu.org > Cc: Steven Bosscher; Andrija Radicevic > Subject: Re: dump after RTL expand > > On Thursday 11 January 2007 19:27, Steven B

debugging capabilities on AIX ?

2007-01-12 Thread Olivier Hainque
Hello, Working on GCC 4 based GNAT port for AIX 5.[23], our testsuite to evaluate GDB (6.4) debugging capabilities currently yields very unpleasant results compared to what we obtain with a GCC 3.4 based compiler (80+ extra failures out of 1800+ tests). We so far presumed that this is caused by l