Re: [Patch, libgFortran] Fix MinGW64 compile warning

2011-03-26 Thread Janne Blomqvist
On Fri, Mar 25, 2011 at 19:10, Tobias Burnus wrote: > The attached patch fixes a compiler warning on MinGW64 > > ../../../../../build/gcc/src/libgfortran/io/unix.c:51:0: warning: "lseek" > redefined [enabled by default] > > which is due to MinGW64 now supporting LFS. (Seemingly, using a similar >

[committed] Selected backports to 4.6

2011-03-26 Thread Jakub Jelinek
Hi! I've committed backports of the following patches of mine to 4.6 branch after bootstrapping/regtesting them on x86_64-linux and i686-linux: Jakub 2011-03-26 Jakub Jelinek Backport from mainline 2011-03-25 Jakub Jelinek * printf/printf_fp.c (__quadmath_p

[Ada] Lift old restriction on inlining

2011-03-26 Thread Eric Botcazou
This change lifts a restriction whereby calls to subprograms without a previous spec declared in the same unit weren't subject to inter-unit inlining. The restriction is useless now thanks to the unit-at-a-time mode of the back-end. Tested on i586-suse-linux, applied on the mainline. 2011-03-26

[patch, Fortran] Some more trim optimizatins

2011-03-26 Thread Thomas Koenig
Hello world, the following patch extends the trim optimization to variables like trim(a%x). Going for trim(a(1)) led to a very strange regression, so I took that out (for now). Regression-tested. OK for trunk? Thomas 2011-03-26 Thomas Koenig PR fortran/47065 *

[Ada] Fix crash on access type to limited with'ed type

2011-03-26 Thread Eric Botcazou
Limited with'ed types generate circularities during the translation of the FE trees in gigi and there is a dedicated deferring mechanism implemented in order to properly handle them. The problem is that the mechanism was invoked only on limited with'ed types that directly point back to the main

[wwwdocs] Add Subversion revisions to the timeline

2011-03-26 Thread Florian Weimer
Would something like this be useful? --- develop.html.~1.114.~ 2011-03-26 10:44:52.0 +0100 +++ develop.html2011-03-26 10:58:49.311173994 +0100 @@ -434,13 +434,13 @@ | GCC 4.5.1 release (2010-07-31) GCC 4.6 Stage 3 (starts 2010-11-0

[Ada] Fix crash on declaration of constant with discriminated type

2011-03-26 Thread Eric Botcazou
The compiler crashes on the declaration of a constant with discriminated record type and variable size, if the constant is initialized to an aggregate which assigns the length of an array with variable size to a discriminant. The problem is again an incorrect sharing of a tree node between two

Re: [build, lto] Only accept -fuse-linker-plugin if linker supports -plugin (PR lto/46944)

2011-03-26 Thread Richard Guenther
On Sat, Mar 26, 2011 at 3:51 AM, Michael Matz wrote: > Hi, > > [sorry for breaking the threading I've deleted the mails I'm answering > already] > > In any case, citing from >  http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01250.html > >> Here's the patch I came up with.  It is on top of the previo

Re: [wwwdocs] Add Subversion revisions to the timeline

2011-03-26 Thread Richard Guenther
On Sat, Mar 26, 2011 at 11:01 AM, Florian Weimer wrote: > Would something like this be useful? > > --- develop.html.~1.114.~       2011-03-26 10:44:52.0 +0100 > +++ develop.html        2011-03-26 10:58:49.311173994 +0100 > @@ -434,13 +434,13 @@ >        |                                  

Re: *ping* Re: [Patch, Fortran, 4.7] PR 18918 - Add initial support for a coarray communication library

2011-03-26 Thread Tobias Burnus
ping**2 On 24.03.2011 16:54, Tobias Burnus wrote: *ping* http://gcc.gnu.org/ml/fortran/2011-03/msg00162.html (RFC patch: http://gcc.gnu.org/ml/fortran/2011-03/msg3.html) Tobias PS: I will come back to the other emails of this week tomorrow; I am still recovering from a cold, which starte

Re: [wwwdocs] Add Subversion revisions to the timeline

2011-03-26 Thread Florian Weimer
* Richard Guenther: >> The idea is to include the copy-source revision on the trunk or the >> respective branch, so that you can use the timeline to check whether a >> particular change came before or after a release.  Of course, this is >> just an approximation, but it think it might still be use

Fix nasty bug in reg-stack.c

2011-03-26 Thread Eric Botcazou
The bug was introduced 6 years ago but its occurrences apparently are quite rare since we detected it only very recently in our 4.3-based Ada compiler. The end of convert_regs reads: inserted |= compensate_edges (); clear_aux_for_blocks (); fixup_abnormal_edges (); if (inserted) co

Re: [wwwdocs] Add Subversion revisions to the timeline

2011-03-26 Thread Diego Novillo
On Sat, Mar 26, 2011 at 07:15, Richard Guenther wrote: > On Sat, Mar 26, 2011 at 11:01 AM, Florian Weimer wrote: >> Would something like this be useful? >> >> --- develop.html.~1.114.~       2011-03-26 10:44:52.0 +0100 >> +++ develop.html        2011-03-26 10:58:49.311173994 +0100 >> @@ -

[PATCH, ARM] PR47855 Compute attr "length" for some thumb2 insns

2011-03-26 Thread Carrot Wei
Hi As described in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47855, there are many insn patterns don't compute attribute length correctly. This patch is the first and simplest part of the fixing. This patch has been tested on qemu. thanks Carrot ChangeLog: 2011-03-26 Wei Guozhi P

Re: *ping* Re: [Patch, Fortran, 4.7] PR 18918 - Add initial support for a coarray communication library

2011-03-26 Thread Jerry DeLisle
On 03/26/2011 04:49 AM, Tobias Burnus wrote: ping**2 On 24.03.2011 16:54, Tobias Burnus wrote: *ping* http://gcc.gnu.org/ml/fortran/2011-03/msg00162.html (RFC patch: http://gcc.gnu.org/ml/fortran/2011-03/msg3.html) Tobias PS: I will come back to the other emails of this week tomorrow; I

[patch, testsuite] Another fix for gcc.dg/vect/vect-cselim-1.c

2011-03-26 Thread Ira Rosen
Hi, vect-cselim-1.c contains strided memory accesses and is not vectorizable on targets that do not support such accesses. Tested on powerpc64-suse-linux. Committed as obvious. Ira testsuite/ChangeLog: * gcc.dg/vect/vect-cselim-1.c: Fail on targets that don't support strided a

Re: [wwwdocs] Add Subversion revisions to the timeline

2011-03-26 Thread Michael Matz
Hi, On Sat, 26 Mar 2011, Richard Guenther wrote: > >   GCC 4.7 Stage 1 (starts 2011-03-14)      GCC 4.6.0 release (2011-03-25) > > -       | > > +       | r171512 > >        | > >        v > > > > The idea is to include the copy-source revision on the trunk or the > > respective branch, so that y

Re: [wwwdocs] Add Subversion revisions to the timeline

2011-03-26 Thread Richard Guenther
On Sat, Mar 26, 2011 at 6:29 PM, Michael Matz wrote: > Hi, > > On Sat, 26 Mar 2011, Richard Guenther wrote: > >> >   GCC 4.7 Stage 1 (starts 2011-03-14)      GCC 4.6.0 release (2011-03-25) >> > -       | >> > +       | r171512 >> >        | >> >        v >> > >> > The idea is to include the copy-s

Re: Improve jump threading #1 of N

2011-03-26 Thread Richard Guenther
On Fri, Mar 25, 2011 at 5:30 PM, Jeff Law wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I've been doing some research into improving certain aspects of our > warnings, particularly removing false positives from the warnings which > require dataflow information.  I think it's reasona

Re: [wwwdocs] Add Subversion revisions to the timeline

2011-03-26 Thread Michael Matz
Hi, On Sat, 26 Mar 2011, Richard Guenther wrote: > >> Uh, well - the information is readily available from SVN > > > > Hmm, you have a very unusual definition of "readily available" :) > > Well - of course svn sucks, but > > > svn log --stop-on-copy svn://gcc.gnu.org/svn/gcc/branches/ | > > ta

Go patch committed: Don't permit embedded pointer to interface

2011-03-26 Thread Ian Lance Taylor
The Go language has changed to specify that the type of an embedded field in a struct may not be a pointer to an interface type. This patch implements that restrictions in gccgo. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian diff -r e318745d1f78 go/e

Go patch committed: Don't look up methods for pointer to interface

2011-03-26 Thread Ian Lance Taylor
The Go language now specifies that pointers to interfaces are not automatically dereferenced when looking up methods. This patch implements that in the gccgo frontend. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian diff -r d963d5ee4313 go/types.cc ---

Re: [PATCH] libdecnumber: start a gitignore

2011-03-26 Thread Mike Frysinger
2011/2/7 Mike Frysinger: > Signed-off-by: Mike Frysinger > --- >  libdecnumber/.gitignore |    1 + >  1 files changed, 1 insertions(+), 0 deletions(-) >  create mode 100644 libdecnumber/.gitignore > > diff --git a/libdecnumber/.gitignore b/libdecnumber/.gitignore > new file mode 100644 > index 000