Go patch committed: check for ... with builtin functions

2011-03-26 Thread Ian Lance Taylor
The Go builtin functions other than append don't handle using ... to pass a varargs argument. This patch to the gccgo frontend checks for that. It also gives a better error message for an attempt to use ... with a type conversion. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.

Re: [Patch, libgFortran] Fix MinGW64 compile warning

2011-03-26 Thread Janne Blomqvist
On Fri, Mar 25, 2011 at 19:10, Tobias Burnus bur...@net-b.de 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

[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 ja...@redhat.com Backport from mainline 2011-03-25 Jakub Jelinek ja...@redhat.com *

[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.

[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

[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

[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: [wwwdocs] Add Subversion revisions to the timeline

2011-03-26 Thread Richard Guenther
On Sat, Mar 26, 2011 at 11:01 AM, Florian Weimer f...@deneb.enyo.de 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

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 useful.

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)

Re: [wwwdocs] Add Subversion revisions to the timeline

2011-03-26 Thread Diego Novillo
On Sat, Mar 26, 2011 at 07:15, Richard Guenther richard.guent...@gmail.com wrote: On Sat, Mar 26, 2011 at 11:01 AM, Florian Weimer f...@deneb.enyo.de wrote: Would something like this be useful? --- develop.html.~1.114.~       2011-03-26 10:44:52.0 +0100 +++ develop.html        

[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

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

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 you can use the

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 m...@suse.de 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-source

Re: Improve jump threading #1 of N

2011-03-26 Thread Richard Guenther
On Fri, Mar 25, 2011 at 5:30 PM, Jeff Law l...@redhat.com 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

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/branch-name | tail

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 vap...@gentoo.org ---  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