[PATCH] fortran/66979 -- FLUSH requires a UNIT number in the spec-list

2015-09-30 Thread Steve Kargl
When FLUSH is used with a flulsh-spec-list, a unit is required. Thus, a statement like 'flush(iostat=i)' would lead to an ICE because gfortran was dereference a pointer to a non-existant unit number. The attached patch was built and tested on x86-*-freebsd. OK to commit? 2015-09-30 Steven G. Ka

[PATCH] fortran/67616 -- Fix ICE in BLOCK with a DATA statement

2015-09-30 Thread Steve Kargl
The attached patch was built and tested on x86_64-*-freebsd. OK to commit? The patch prevents an ICE in a BLOCK construct that uses a DATA statement and default initialization. The problem was that the derived typed was declared in the host and was not in the BLOCK's symtree. The fix looks for t

[PATCH] fortran/67758 -- Prevent ICE caused by misplaced COMMON

2015-09-30 Thread Steve Kargl
Patch built and regression tested on x86_64-*-freebsd. OK to commit? The patch prevents the dereferencing of a NULL pointer by jumping out of the cleanup of a list of COMMON blocks. 2015-09-30 Steven G. Kargl * symbol.c (gfc_restore_last_undo_checkpoint): Prevent ICE during cl

Re: [PATCH] fortran/67758 -- Prevent ICE caused by misplaced COMMON

2015-09-30 Thread Steve Kargl
On Wed, Sep 30, 2015 at 05:06:30PM -0700, Steve Kargl wrote: > Patch built and regression tested on x86_64-*-freebsd. > OK to commit? > > The patch prevents the dereferencing of a NULL pointer > by jumping out of the cleanup of a list of COMMON blocks. > > 2015-09-30 Steven G. Kargl > >

Re: [PATCH] x86 interrupt attribute

2015-09-30 Thread H.J. Lu
On Wed, Sep 30, 2015 at 12:53 PM, Yulia Koval wrote: > Done. > + /* If true, the current function is an interrupt service + routine as specified by the "interrupt" attribute. */ + BOOL_BITFIELD is_interrupt : 1; + + /* If true, the current function is an exception service + routine as

Re: [PATCH] Optimize certain end of loop conditions into min/max operation

2015-09-30 Thread Michael Collison
Richard and Marc, Latest patch attached which incorporates all comments. 2015-09-30 Michael Collison Andrew Pinski * match.pd ((x < y) && (x < z) -> x < min (y,z), (x > y) and (x > z) -> x > max (y,z)) * testsuite/gcc.dg/tree-ssa/minmax-loopend.c: New test. On 09/30/2015

[PATCH] rs6000: Add "cannot_copy" attribute, use it (PR67788, PR67789)

2015-09-30 Thread Segher Boessenkool
After the shrink-wrapping patches the prologue will often be pushed "deeper" into the function, which in turn means the software trace cache pass will more often want to duplicate the basic block containing the prologue. This caused failures for 32-bit SVR4 with -msecure-plt PIC. This configurati

Re: [wwwdocs] Buildstat update for 4.8

2015-09-30 Thread Gerald Pfeifer
On Sun, 13 Sep 2015, Tom G. Christensen wrote: > Latest results for 4.8.x > > -tgc > > Testresults for 4.8.5: > i386-pc-solaris2.9 > powerpc64le-unknown-linux-gnu > s390-ibm-linux-gnu (3) > s390x-ibm-linux-gnu (3) > sparc-sun-solaris2.9 > sparc64-sun-solaris2.9 > x86_64-w64-mingw32

Re: [PATCH] Add new hooks ASM_OUTPUT_START_FUNCTION_HEADER ...

2015-09-30 Thread Dominik Vogt
On Mon, Sep 28, 2015 at 01:54:17PM +0200, Bernd Schmidt wrote: > On 09/28/2015 11:44 AM, Dominik Vogt wrote: > >I mean, it's more or less random whether switching to and from the > >function's section ends up inside the new .machine and > >.machinemode directives (if the section needs to be switche

Re: [PATCH] Optimize certain end of loop conditions into min/max operation

2015-09-30 Thread Marc Glisse
On Wed, 30 Sep 2015, Michael Collison wrote: Richard and Marc, Latest patch attached which incorporates all comments. 2015-09-30 Michael Collison Andrew Pinski * match.pd ((x < y) && (x < z) -> x < min (y,z), (x > y) and (x > z) -> x > max (y,z)) * testsuite/gcc.dg/tree-ssa

<    1   2