[DOC Patch] Add sample for @cc constraint

2016-03-12 Thread David Wohlferd
The docs for the new(-ish) @cc constraint need an example. Attached. ChangeLog: 2016-03-12 David Wohlferd * doc/extend.texi: Add sample for @cc constraint Note that while I have a release on file with FSF, I don't have write access to SVN. dw Index: extend.texi ==

[patch,fortran] PR69043 Trying to include a directory causes an infinite loop

2016-03-12 Thread Jerry DeLisle
I plan to commit the attached patch and test case under simple and obvious tomorrow. Regression tested on x86-64-linux. Regards, Jerry 2016-03-13 Jerry DeLisle Jim MacArthur PR fortran/69043 * scanner.c (load_file): Check that included file is not a directory.

Re: patch for PR69614

2016-03-12 Thread Jeff Law
On 03/12/2016 07:56 AM, Vladimir Makarov wrote: The following patch should solve the PR which is discussed on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 The patch was bootstrapped and tested on x86/x86-64. Committed as rev. 234162. Isn't this potentially a problem for the gc

[PATCH][PR rtl-optimization/69307] Handle hard registers in modes that span more than one register properly

2016-03-12 Thread Jeff Law
As Andrey outlined in the PR, selective-scheduling was missing a check & handling of hard registers in modes that span more than one hard reg. This caused an incorrect register selection during renaming. I verified removing the printf call from the test would not compromise the test. Then I

Re: [PATCH] PR69195, Reload confused by invalid reg equivs

2016-03-12 Thread Jeff Law
On 03/12/2016 04:10 AM, Richard Biener wrote: On March 12, 2016 10:29:40 AM GMT+01:00, Jakub Jelinek wrote: On Sat, Mar 12, 2016 at 07:37:25PM +1030, Alan Modra wrote: I believe Alan's point is DSE deleted the assignment to x which can't be right as long as we've left in goto *&x. The goto

Re: patch for PR69614

2016-03-12 Thread Jakub Jelinek
On Sat, Mar 12, 2016 at 09:56:54AM -0500, Vladimir Makarov wrote: > +2016-03-12 Vladimir Makarov > + > + PR target/69614 > + * lra-constraints.c (delete_move_and_clobber): New. > + (remove_inheritance_pseudos): Use it. Thanks for working on this. > --- lra-constraints.c (revision 2

Re: [PATCH] rs6000: Handle "d" output in the bd*z patterns (PR70098)

2016-03-12 Thread David Edelsohn
On Sat, Mar 12, 2016 at 8:55 AM, Segher Boessenkool wrote: > In the rs6000 port, FLOAT_REGS can contain DImode values when compiling > for 64-bit targets. Some instructions (like "fcfid" in the testcase, > convert from integer to DP float) only work on floating point registers. > So, we do want t

patch for PR69614

2016-03-12 Thread Vladimir Makarov
The following patch should solve the PR which is discussed on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 The patch was bootstrapped and tested on x86/x86-64. Committed as rev. 234162. Index: ChangeLog === --- ChangeL

Re: [Patch, fortran] PRs 70031 and 69524 - submodule tweaks

2016-03-12 Thread Paul Richard Thomas
Hi Jerry, Thanks - committed as revision 234161. All the best Paul On 8 March 2016 at 00:47, Jerry DeLisle wrote: > On 03/06/2016 10:18 AM, Paul Richard Thomas wrote: >> Dear All, >> >> These are two rather trivial modifications to permit, 'module' to >> appear at any position in the list of

[PATCH] rs6000: Handle "d" output in the bd*z patterns (PR70098)

2016-03-12 Thread Segher Boessenkool
In the rs6000 port, FLOAT_REGS can contain DImode values when compiling for 64-bit targets. Some instructions (like "fcfid" in the testcase, convert from integer to DP float) only work on floating point registers. So, we do want to allow DImode in these regs. Now, in unusual cases IRA will assign

Fix stack checking emulation in Ada

2016-03-12 Thread Eric Botcazou
When stack checking cannot be done by means of probes, typically because of the lack of MMU, the Ada compiler emulates it in the runtime (that's required if you want to pass the ACATS testsuite) through calls to a specific routine. Now calls to this routine are emitted as libcalls and libcalls a

Re: [PATCH] PR69195, Reload confused by invalid reg equivs

2016-03-12 Thread Richard Biener
On March 12, 2016 10:29:40 AM GMT+01:00, Jakub Jelinek wrote: >On Sat, Mar 12, 2016 at 07:37:25PM +1030, Alan Modra wrote: >> > I believe Alan's point is DSE deleted the assignment to x which >can't be >> > right as long as we've left in goto *&x. >> > >> > The goto *&x should be a use of x and t

Re: [PATCH] PR69195, Reload confused by invalid reg equivs

2016-03-12 Thread Jakub Jelinek
On Sat, Mar 12, 2016 at 07:37:25PM +1030, Alan Modra wrote: > > I believe Alan's point is DSE deleted the assignment to x which can't be > > right as long as we've left in goto *&x. > > > > The goto *&x should be a use of x and thus should have kept the assignment > > live. > > Right, I wasn't tr

Re: [PATCH] PR69195, Reload confused by invalid reg equivs

2016-03-12 Thread Alan Modra
On Sat, Mar 12, 2016 at 01:26:39AM -0700, Jeff Law wrote: > On 03/12/2016 12:58 AM, Jakub Jelinek wrote: > >On Sat, Mar 12, 2016 at 09:43:50AM +1030, Alan Modra wrote: > >>The underlying problem happens somewhere in tree-ssa-dse.c. So we get > >>an indirect jump to a random location instead of a j

Re: [PATCH] PR69195, Reload confused by invalid reg equivs

2016-03-12 Thread Jeff Law
On 03/12/2016 12:58 AM, Jakub Jelinek wrote: On Sat, Mar 12, 2016 at 09:43:50AM +1030, Alan Modra wrote: The underlying problem happens somewhere in tree-ssa-dse.c. So we get an indirect jump to a random location instead of a jump to 0. Well, the testcase is there just to make sure we don't I