Re: [Patch, FORTRAN] PR61933 Inquire on Internal Unit

2014-09-06 Thread Janne Blomqvist
On Sun, Sep 7, 2014 at 7:35 AM, Jerry DeLisle wrote: > On 06/09/14 21:08, Janne Blomqvist wrote: >> On Sun, Sep 7, 2014 at 12:51 AM, Jerry DeLisle wrote: >>> Hi, >>> >>> The attached patch adds a compile time check for negative unit numbers >>> given in >>> an INQUIRE statement. A new test case

Re: Vimrc config with GNU formatting

2014-09-06 Thread Yuri Gribov
On Sun, Sep 7, 2014 at 8:18 AM, Yuri Gribov wrote: > Replying to all this time. > > On Sat, Sep 6, 2014 at 11:35 PM, Segher Boessenkool > wrote: >>> Hm, isn't it already enabled by default for Emacs (in .dirs-local.el)? >> >> That may well be. But Vim is not Emacs. > > Why is Vim special? As a d

Re: [Patch, FORTRAN] PR61933 Inquire on Internal Unit

2014-09-06 Thread Jerry DeLisle
On 06/09/14 21:08, Janne Blomqvist wrote: > On Sun, Sep 7, 2014 at 12:51 AM, Jerry DeLisle wrote: >> Hi, >> >> The attached patch adds a compile time check for negative unit numbers given >> in >> an INQUIRE statement. A new test case is provided and one updated. > > What about units opened with

Re: Vimrc config with GNU formatting

2014-09-06 Thread Yuri Gribov
Replying to all this time. On Sat, Sep 6, 2014 at 11:35 PM, Segher Boessenkool wrote: >> Hm, isn't it already enabled by default for Emacs (in .dirs-local.el)? > > That may well be. But Vim is not Emacs. Why is Vim special? As a developer I'd prefer the unified approach: either nuke both or mov

Re: [Patch, FORTRAN] PR61933 Inquire on Internal Unit

2014-09-06 Thread Janne Blomqvist
On Sun, Sep 7, 2014 at 12:51 AM, Jerry DeLisle wrote: > Hi, > > The attached patch adds a compile time check for negative unit numbers given > in > an INQUIRE statement. A new test case is provided and one updated. What about units opened with newunit= ? Those have negative unit numbers. It seem

Re: [PATCH v4 0/2] Fix OS X Yosemite-related issues

2014-09-06 Thread James Clarke
Just checking on the status of this as I haven't heard anything further for a while. James Clarke > On 26 Aug 2014, at 08:11, James Clarke wrote: > > These patches combine to address PR target/61407, meaning that GCC is > able to bootstrap on OS X Yosemite. > > Changes from v3: > [PATCH v4 1

Re: [gofrontend-dev] gccgo and syscall.SysProcAttr.Cloneflags

2014-09-06 Thread Michael Hudson-Doyle
Ian Lance Taylor writes: > On Mon, Sep 1, 2014 at 4:18 AM, Michael Hudson-Doyle > wrote: >> >> It's late for me and I don't have a proper test case but it seems to me >> that while gccgo's syscall lets you set Cloneflags on its SysProcAttr, >> but doesn't actually *do* anything with the flags.

[PATCH C++] - SD-6 Implementation Part 4 - Test suite.

2014-09-06 Thread Ed Smith-Rowland
Greetings, I am finally getting back to my SD-6 C++ features test work. This adds front end and preprocessor tests for the language feature tests and __has_include. I am still working on the fifth and last in this series to add __had_cpp_attribute but these first four patches add a very usefu

[committed] PR testsuite/56194

2014-09-06 Thread John David Anglin
The attached change avoids the failure of the scan-assembler-not check for rodata on hppa*-*-*. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk, 4.9 and 4.8. Dave -- John David Anglin dave.ang...@bell.net 2014-09-06 John David Anglin PR tests

[Patch, FORTRAN] PR61933 Inquire on Internal Unit

2014-09-06 Thread Jerry DeLisle
Hi, The attached patch adds a compile time check for negative unit numbers given in an INQUIRE statement. A new test case is provided and one updated. Regression tested on x86-64. OK for trunk? 2014-09-06 Jerry DeLisle PR fortran/61933 * io.c (gfc_match_inquire): Add error

[committed] Require visibility for g++.dg/ipa/pr61800.C

2014-09-06 Thread John David Anglin
The attached change fixes the failure of g++.dg/ipa/pr61800.C on hppa2.0w-hp-hpux11.11. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-09-06 John David Anglin * g++.dg/ipa/pr61800.C: Require

Re: Vimrc config with GNU formatting

2014-09-06 Thread Segher Boessenkool
On Sat, Sep 06, 2014 at 03:38:31PM +, Yury Gribov wrote: > Segher Boessenkool kernel.crashing.org> writes: > > On Fri, Sep 05, 2014 at 07:10:02PM +0400, Yury Gribov wrote: > > > Now I don't quite like the idea of plugin: > > > > Anything that will make this enabled automatically will meet a l

[committed] Require lto for gcc.dg/pr61868.c

2014-09-06 Thread John David Anglin
gcc.dg/pr61868.c requires lto support. The attach change fixes fail on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-09-06 John David Anglin * gcc.dg/pr61868.c: Require lto. Index: gcc.dg/pr61868.c ===

[c++-concepts] concept introductions

2014-09-06 Thread Braden Obrzut
Adds support for concept introduction short hand. Andrew already committed this patch. 2014-09-04 Braden Obrzut * gcc/cp/constraint.cc (deduce_concept_introduction): New. (build_concept_check): Allow arg to be NULL to skip placeholder. (process_introduction_parm): New. (f

Re: Vimrc config with GNU formatting

2014-09-06 Thread Trevor Saunders
On Sat, Sep 06, 2014 at 03:38:31PM +, Yury Gribov wrote: > Segher Boessenkool kernel.crashing.org> writes: > > On Fri, Sep 05, 2014 at 07:10:02PM +0400, Yury Gribov wrote: > > > Now I don't quite like the idea of plugin: > > > > Anything that will make this enabled automatically will meet a l

[PATCH, rs6000] Add handling for UNSPEC_VSPLT_DIRECT to analyze_swaps

2014-09-06 Thread Bill Schmidt
Hi, Here's one more case of special handling that allows us to optimize more vectorized loops in analyze_swaps. UNSPEC_VSPLT_DIRECT is used in some cases to avoid the possibility of an endian fixup. We can still handle this by swapping the lane chosen as the source of the splat. While implement

Re: Vimrc config with GNU formatting

2014-09-06 Thread Yury Gribov
Bernhard Reutner-Fischer gmail.com> writes: > > * gcc_style.vim enables GNU style globally, for all projects > > How come? Please explain? My understanding was that maybe_gcc_style gets run on all opened files and this could cause problems with non-GCC projects. But given that you check for GC

Re: Vimrc config with GNU formatting

2014-09-06 Thread Yury Gribov
Segher Boessenkool kernel.crashing.org> writes: > On Fri, Sep 05, 2014 at 07:10:02PM +0400, Yury Gribov wrote: > > Now I don't quite like the idea of plugin: > > Anything that will make this enabled automatically will meet a lot of > resistance. Make something nice for contrib/ instead? Hm, isn

Re: RFA: PR62208: const0_rtx used for vectors in simplify-rtx.c

2014-09-06 Thread Richard Biener
On September 6, 2014 12:28:29 PM CEST, Richard Sandiford wrote: >This PR is about a case where an XOR+EQ sequence can legitimately >be simplified. The problem was that the sequence was operating on >vectors while the simplified version used a 0 CONST_INT (const0_rtx). > >The code seems to have b

RFA: PR62208: const0_rtx used for vectors in simplify-rtx.c

2014-09-06 Thread Richard Sandiford
This PR is about a case where an XOR+EQ sequence can legitimately be simplified. The problem was that the sequence was operating on vectors while the simplified version used a 0 CONST_INT (const0_rtx). The code seems to have been like that for a long time but presumably the bug has been latent un

[committed] PR63171: Fix FOR_EACH_SUBRTX in tls_referenced_p

2014-09-06 Thread Richard Sandiford
tls_referenced_p shouldn't skip subrtxes of CONSTs, since it's supposed to be looking at all SYMBOL_REFs in the pattern. The patched version was what I'd meant to write originally, sorry that it slipped though. Tested on powerpc64-linux-gnu and applied as obvious. Thanks, Richard gcc/

Re: Build breakage on darwin and pa64-hpux [was Re: Use -fbuilding-libgcc for more target macros used in libgcc]

2014-09-06 Thread Andreas Schwab
Mike Stump writes: > Index: config/pa/pa64-hpux.h > === > --- config/pa/pa64-hpux.h (revision 214981) > +++ config/pa/pa64-hpux.h (working copy) > @@ -336,7 +336,7 @@ do {