[gold] Consider *-*-gnu* targets ELF

2012-12-15 Thread Thomas Schwinge
Hi! I committed the following patch to top-level src and GCC: * configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF. * configure: Regenerate. Index: configure.ac === RCS file: /cvs/src/src/configure.ac,v retrie

[Patch, Fortran] PR 55072: [4.6/4.7/4.8 Regression] Missing internal_pack leads to wrong code with derived type

2012-12-15 Thread Janus Weil
Hi all, here is a patch for a pretty bad wrong-code regression, which affects all maintained releases of gfortran. For discussion see bugzilla. Regtested on x86_64-unknown-linux-gnu. Ok for 4.6, 4.7 and trunk? Cheers, Janus 2012-12-15 Janus Weil PR fortran/55072 * trans-array.c (g

Re: [fortran, patch] Allow displaying backtraces from user code

2012-12-15 Thread Janus Weil
Hi, >> So, in principle I'm fine with all your BACKTRACE_* variants (except >> for _splurge, maybe ;) >> >> Or, why not just (plain and simple) "BACKTRACE"? > > The name is the same as backtrace() in glibc, but otherwise, sure why > not. _show/_print might be preferable in the sense that they conv

[testsuite] Minor tweak to get_ada_spec_filename

2012-12-15 Thread Eric Botcazou
This changes get_ada_spec_filename to use the procedural form of regsub instead of the functional form, which is apparently not supported on older versions of DejaGNU. Tested on x86_64-suse-linux, applied on the mainline as obvious. 2012-12-15 Eric Botcazou * lib/scanasm.exp (get_a

[Ada] Fix PR ada/53996

2012-12-15 Thread Eric Botcazou
As reported by Martin, there is a small inconsistency in gnat_type_for_size, where %d is used instead of %u for an unsigned value in a format string. Tested on x86_64-suse-linux, applied on the mainline. 2012-12-15 Eric Botcazou Martin Ettl PR ada/53996 * gcc-i

[Fortran] patch ping

2012-12-15 Thread Tobias Burnus
Patch ping**2: * MODULE renaming:http://gcc.gnu.org/ml/fortran/2012-12/msg00022.html Note: The proper PR number is 55197. * MOVE_ALLOC:http://gcc.gnu.org/ml/fortran/2012-12/msg00058.html * PR55638 - elemental: VALUE w/o INTENT fix: http://gcc.gnu.org/ml/fortran/2012-12/msg00082.html Tobia

Re: [fortran, patch] Allow displaying backtraces from user code

2012-12-15 Thread Janne Blomqvist
On Sat, Dec 15, 2012 at 6:04 PM, Janus Weil wrote: >> - I'd prefer to reverse the name, e.g. BACKTRACE_{SHOW,PRINT,SPLURGE}, >> to make it more "discoverable" when browsing the manual. >> BACKTRACE_PRINT would have the advantage of matching backtrace_print() >> from libbacktrace, but then again th

[Patch, libfortran] PR 55539 Regression with -fno-sign-zero

2012-12-15 Thread Janne Blomqvist
Hello, the attached patch fixes PR 55539 (4.8 regression). Regtested on x86_64-unknown-linux-gnu, Ok for trunk? 2012-12-15 Janne Blomqvist PR fortran/55539 * io/write_float.def (output_float): Take into account decimal dot. testsuite ChangeLog: 2012-12-15 Janne Blomqvist

Re: [fortran, patch] Allow displaying backtraces from user code

2012-12-15 Thread Janus Weil
Hi Janne, >> here is another attempt to make gfortran support user-requested backtraces. >> >> [...] >> >> Ok for trunk? > > Some comments. thanks for your comments ... > - I'd prefer to reverse the name, e.g. BACKTRACE_{SHOW,PRINT,SPLURGE}, > to make it more "discoverable" when browsing the ma

Re: [fortran, patch] Allow displaying backtraces from user code

2012-12-15 Thread Janne Blomqvist
On Fri, Dec 14, 2012 at 4:31 PM, Janus Weil wrote: > Hi all, > > here is another attempt to make gfortran support user-requested backtraces. > > A patch in this direction was already proposed by FX in March, but did > not make it in so far. It was last discussed in June, cf. > http://gcc.gnu.org/m

Re: [wwwdocs] Document libstdc++ changes and minimum MinGW-w64 version requirement.

2012-12-15 Thread Jonathan Wakely
On 15 December 2012 13:03, Jonathan Wakely wrote: > Committed to wwwdocs. That last change I checked in used an URL that will only work after 4.8 is released, this fixes it to work now. wwwdocs.2.patch Description: Binary data

Re: [patch, libfortran] Fix PR 30162, write with pipes

2012-12-15 Thread Thomas Koenig
Hi Janus, Oops, right. Here is the correct one. Regards Thomas wrong patch attached? It contains a hunk in frontend-passes.c, which seems totally unrelated ... Cheers, Janus 2012/12/15 Thomas Koenig : Hello world, the attached patch fixes the regression and regtests cleanly. No

Re: [patch, libfortran] Fix PR 30162, write with pipes

2012-12-15 Thread Janus Weil
Hi Thomas, wrong patch attached? It contains a hunk in frontend-passes.c, which seems totally unrelated ... Cheers, Janus 2012/12/15 Thomas Koenig : > Hello world, > > the attached patch fixes the regression and regtests cleanly. > No test case because I could not find anything portable > to c

Re: [patch c/c++]: Fix for PR c/52991 issue about ignored packed-attribute for ms-structure-layout

2012-12-15 Thread Eric Botcazou
> I think this hunk still just shows that the ms-bitfield-code fails to > handle TYPE_PACKED properly. Simply adjusting rli->record_align > does not look like the correct solution to me. > > Btw, did you test struct-layout against 4.7 with ms-bitfields as Jakub > noted how to do that? Ideally th

[patch, libfortran] Fix PR 30162, write with pipes

2012-12-15 Thread Thomas Koenig
Hello world, the attached patch fixes the regression and regtests cleanly. No test case because I could not find anything portable to create a FIFO in the testsuite. OK for trunk and 4.7? Thomas 2012-12-15 Thomas Koenig PR libfortran/30162 * io/unix.c (raw_tell): I

Re: [wwwdocs] Buildstat update for 4.7

2012-12-15 Thread Gerald Pfeifer
On Wed, 28 Nov 2012, Tom G. Christensen wrote: > Latest results for 4.7.x > > The replaces the previous update that was never applied. > > -tgc > > Testresults for 4.7.2 > alphaev68-dec-osf5.1a (2) > hppa2.0w-hp-hpux11.00 > hppa2.0w-hp-hpux11.11 > hppa64-hp-hpux11.00 > hppa64-hp-hpux11