Re: [patch, fortran] Fix PR 52893

2012-04-07 Thread Paul Richard Thomas
Dear Thomas, after some time with a defective computer, I am back online. It seems to be catching both my linux laptop and my desktop are as dead as door-nails. Here is a fix for PR 52893 (which I just submitted, I wanted to set a new record between bug posting and patch submissin :-),

Re: RFA: consolidate DWARF strings into libiberty

2012-04-07 Thread nick clifton
Hi Tom, Built and regtested on x86-64 Fedora 16. Ok? Tom 2012-03-15 Tom Tromeytro...@redhat.com * dwarf2out.c (dwarf_stack_op_name): Use get_DW_OP_name. (dwarf_tag_name): Use get_DW_TAG_name. (dwarf_attr_name): Use get_DW_AT_name. (dwarf_form_name): Use

Re: [C++ Patch] for c++/52465

2012-04-07 Thread Fabien Chêne
2012/3/29 Jason Merrill ja...@redhat.com: On 03/08/2012 04:34 PM, Fabien Chêne wrote:        * decl.c (grokdeclarator): Call strip_using_decl. I would think we ought to be stripping USING_DECLs at a lower level, when we first look up the name in the parser.  They shouldn't make it as far as

Re: [C++ Patch] for c++/52465

2012-04-07 Thread Fabien Chêne
2012/3/12 Fabien Chêne fabien.ch...@gmail.com: Salut Dodji, 2012/3/12 Dodji Seketeli do...@seketeli.org: [...] Index: gcc/cp/decl.c === --- gcc/cp/decl.c     (revision 184891) +++ gcc/cp/decl.c     (working copy) @@ -8686,6

Re: [patch, fortran] Fix PR 52893

2012-04-07 Thread Thomas Koenig
Hi Paul, OK for trunk and for 4.7. Committed as rev. 186213. As a matter of curiosity, why did you not inhibit common function extraction when the function arguments contain an implicit loop variable, rather than when they are in an implicit loop? That would make the optimisation rather

[SH] Fold prefetch insns

2012-04-07 Thread Oleg Endo
Hi, The attached patch folds the prefetch insns for SH4 and SH2A. As far as I can see, there is no need to have two of them. The patch also adapts the sh2a-prefetch test case to be ran for SH4, too. Tested by running said test case with make check-gcc RUNTESTFLAGS=sh.exp=prefetch*

Re: [PATCH] Compact SSA version namespace when releasing the freelist

2012-04-07 Thread Diego Novillo
On 4/6/12 1:48 PM, Richard Guenther wrote: That's with changed statistics accounting, it's a histogram for the per-function number SSA names that got released, thus for 16 functions we released zero SSA names, for 13 functions one. Great, thanks. Is this documented in the internals

[committed] Add labels to g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C

2012-04-07 Thread Manuel López-Ibáñez
contrib/compare_tests gets confused if the same message is printed for the same line but with different status (PASS vs. XFAIL). Trivially fixed by giving different labels to each test. Committed as obvious. 2012-04-08 Manuel López-Ibáñez m...@gcc.gnu.org *

Re: [PATCH] Caret diagnostics

2012-04-07 Thread Manuel López-Ibáñez
On 7 April 2012 04:31, Jason Merrill ja...@redhat.com wrote: On 04/06/2012 06:30 PM, Manuel López-Ibáñez wrote: width if it's set; otherwise I would lean toward unlimited width. And I'm not sure why we need a right margin at all. The right margin is because: [snip] Ah, I read margin and

Re: [SH] Use braced strings in MD

2012-04-07 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: In my original patch http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01315.html I forgot two cases, which are addressed by the attached patch. Tested with 'make all-gcc'. OK? OK. Regards, kaz

Re: [SH] Fold prefetch insns

2012-04-07 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: The attached patch folds the prefetch insns for SH4 and SH2A. As far as I can see, there is no need to have two of them. The patch also adapts the sh2a-prefetch test case to be ran for SH4, too. Tested by running said test case with make check-gcc

Re: [SH] Use braced strings in MD

2012-04-07 Thread Oleg Endo
On Sun, 2012-04-08 at 08:01 +0900, Kaz Kojima wrote: Oleg Endo oleg.e...@t-online.de wrote: In my original patch http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01315.html I forgot two cases, which are addressed by the attached patch. Tested with 'make all-gcc'. OK? OK. Just spotted

Re: [SH] Use braced strings in MD

2012-04-07 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: Just spotted two more of those { ... }. I will commit the attached version of the patch, OK? OK. Regards, kaz

Re: [PATCH] Caret diagnostics

2012-04-07 Thread Jason Merrill
On 04/07/2012 06:29 PM, Manuel López-Ibáñez wrote: I'll be happy to change it to whatever is more understandable. I think in CSS is called padding. That wouldn't be any clearer; my confusion was that I thought you were padding the right side of the source line, but you aren't; you are only

[PATCH][Cilkplus] Parsing support for Elemental function for C++

2012-04-07 Thread Iyer, Balaji V
Hello Everyone, This patch is for the Cilkplus branch affecting mainly the C++ compiler. It provides parsing support for elemental function attributes. Thanks, Balaji V. Iyer.diff --git a/gcc/ChangeLog.cilk b/gcc/ChangeLog.cilk index 6b7c176..dc96718 100644 --- a/gcc/ChangeLog.cilk +++