[google] Add option to emit mapping between module/function id and function name (issue8211043)

2013-03-31 Thread Teresa Johnson
This patch restores part of r196176, which was subsequently reverted due to issues with the other part of that patch that dealt with module info updates. This patch restores the option -femit-function-names to emit to stderr the mapping from module name/function id to function assembler name. This

[PATCH] Avoid warning when unused attribute applied to C++ member variables (issue8212043)

2013-03-31 Thread Teresa Johnson
This patch allows the unused attribute to be used without warning on C++ class members, which are of type FIELD_DECL. This is for compatibility with clang, which allows the attribute to be specified on class members and struct fields. It looks like more work would need to be done to implement the

Re: [rtl, i386] vec_merge simplification

2013-03-31 Thread Uros Bizjak
On Sat, Mar 30, 2013 at 3:47 PM, Marc Glisse marc.gli...@inria.fr wrote: OK, modulo a few nits: Thanks, here is a version taking into account all your comments, and which still passes bootstrap+testsuite on x86_64-linux-gnu. I am not completely sure if there is a point checking

Re: [PATCH] Avoid warning when unused attribute applied to C++ member variables (issue8212043)

2013-03-31 Thread Andrew Pinski
On Sun, Mar 31, 2013 at 12:10 AM, Teresa Johnson tejohn...@google.com wrote: This patch allows the unused attribute to be used without warning on C++ class members, which are of type FIELD_DECL. This is for compatibility with clang, which allows the attribute to be specified on class members

Google Groups: You've been added to jordanads2029

2013-03-31 Thread Jordan Ads (Google Groups)
Jordan Ads jordanads2...@gmail.com has added you to the jordanads2029 group with this message: The group's name, description, and address will automatically be included in the email. Here is the group's description: Jordan Ads for Advertising And Marketing Email: jordanads2...@gmail.com

Re: C++ PATCH: use C++ semantics for inline functions (defined in headers)

2013-03-31 Thread Marc Glisse
On Thu, 28 Mar 2013, Gabriel Dos Reis wrote: C++ has a much more predictable semantics for inline functions, so we no longer need to define them (especially in header files) with the 'static' specifier. The upshot is that when the compiler fails to inline a call in a given translation unit, it

[C++ Patch] Use DECL_DECLARES_TYPE_P, DECL_DECLARES_FUNCTION_P more

2013-03-31 Thread Paolo Carlini
Hi, just more straightforward uses of existing predicates. I'm going to boot test and commit as obvious. Thanks, Paolo. 2013-03-31 Paolo Carlini paolo.carl...@oracle.com * decl2.c (collect_candidates_for_java_method_aliases): Use DECL_CLASS_SCOPE_P.

[Fortran-dev][Patch, committed] Add version field, rename size to elem_len

2013-03-31 Thread Tobias Burnus
I have committed (Rev.197282) the attached patch as obvious to the Fortran-dev branch. It add the int version field to the array constructor and moved size up, renaming it to elem_len and changing its type to size_t (which is effectively the same). This brings the array descriptor a bit

New German PO file for 'gcc' (version 4.8.0)

2013-03-31 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the German team of translators. The file is available at: http://translationproject.org/latest/gcc/de.po (This file, 'gcc-4.8.0.de.po', has just

[Fortran-dev][Patch, committed] Fix C_F_POINTER

2013-03-31 Thread Tobias Burnus
This patch fixes a merge issue (trans-expr.c code was moved to trans-intrinsic.c on the trunk, and the branch was slightly different). One teststuite failure turned out to be due to debugging code on the branch - and I moved to the trunk version. Tobias Index:

[patch committed] [SH] Fix build failure on sh

2013-03-31 Thread Kaz Kojima
Hi, I've committed the attached patch as a followup for the recent JUMP_TABLE_DATA change. Without this, SH fails to build during compiling libgcc. Regards, kaz -- 2013-03-31 Kaz Kojima kkoj...@gcc.gnu.org * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead

[libstdc++,doc] Link fixes across the board

2013-03-31 Thread Gerald Pfeifer
A dozen changes. There are some more, but it's hard to find those amidst all those changes already made (and the mess that ext/lwg-* is), so I went ahead and committed what I have. Jonathan, Benjamin, it would be great could you regenerate the HTML files in the tree and update onlinedocs/ on

Constant folding of VEC_COND_EXPR

2013-03-31 Thread Marc Glisse
Hello, this adds constant folding of VEC_COND_EXPR at the tree level by forwarding to the VEC_PERM_EXPR code (a merge is a special case of a permutation). The CONSTRUCTOR case may be unreachable for now (it will probably need an extra piece of code in tree-ssa-forwprop.c), but it seems

Re: C++ PATCH: use C++ semantics for inline functions (defined in headers)

2013-03-31 Thread Gabriel Dos Reis
Marc Glisse marc.gli...@inria.fr writes: | On Thu, 28 Mar 2013, Gabriel Dos Reis wrote: | | C++ has a much more predictable semantics for inline functions, so we no | longer need to define them (especially in header files) with the | 'static' specifier. The upshot is that when the compiler

Re: [C++ Patch] Use DECL_DECLARES_TYPE_P, DECL_DECLARES_FUNCTION_P more

2013-03-31 Thread Gabriel Dos Reis
On Sun, Mar 31, 2013 at 5:26 AM, Paolo Carlini paolo.carl...@oracle.com wrote: Hi, just more straightforward uses of existing predicates. I'm going to boot test and commit as obvious. Thanks, Paolo. souns good to me.

[wwwdocs] Update Blackfin reference in readings.html

2013-03-31 Thread Gerald Pfeifer
Applied. Gerald Index: readings.html === RCS file: /cvs/gcc/wwwdocs/htdocs/readings.html,v retrieving revision 1.226 diff -u -3 -p -r1.226 readings.html --- readings.html 30 Mar 2013 18:04:28 - 1.226 +++ readings.html

[wwwdocs,Java] Link maintenance on java/done.html

2013-03-31 Thread Gerald Pfeifer
Applied. www.swarm.org appears very, hmm, shallow these days, but I kept it. iRATE does not seem to have a suitable page any more? Gerald 2013-03-31 Gerald Pfeifer ger...@pfeifer.com * done.html: Remove broken link to iRATE. Adjust link to Swarm. Index: done.html

Re: [wwwdocs] Two more broken links in readings.html

2013-03-31 Thread Gerald Pfeifer
On Sun, 31 Mar 2013, minux wrote: the link for CompactRISC CR16CP Architecture on that page is also broken. As TI says document for CR16 is only available to existing customers, i'm afraid we have to remove that link. You mean the fact that the page redirects to the TI home page and after

Re: [google] Add option to emit mapping between module/function id and function name (issue8211043)

2013-03-31 Thread Xinliang David Li
ok. thanks, David On Sat, Mar 30, 2013 at 11:44 PM, Teresa Johnson tejohn...@google.com wrote: This patch restores part of r196176, which was subsequently reverted due to issues with the other part of that patch that dealt with module info updates. This patch restores the option

Re: [PATCH] Avoid warning when unused attribute applied to C++ member variables (issue8212043)

2013-03-31 Thread Teresa Johnson
On Sun, Mar 31, 2013 at 1:36 AM, Andrew Pinski pins...@gmail.com wrote: On Sun, Mar 31, 2013 at 12:10 AM, Teresa Johnson tejohn...@google.com wrote: This patch allows the unused attribute to be used without warning on C++ class members, which are of type FIELD_DECL. This is for compatibility

Re: Constant folding of VEC_COND_EXPR

2013-03-31 Thread Andrew Pinski
On Sun, Mar 31, 2013 at 6:31 AM, Marc Glisse marc.gli...@inria.fr wrote: Hello, this adds constant folding of VEC_COND_EXPR at the tree level by forwarding to the VEC_PERM_EXPR code (a merge is a special case of a permutation). The CONSTRUCTOR case may be unreachable for now (it will probably

[wwwdocs,Ada] Fix four links and adjust one in readings.html

2013-03-31 Thread Gerald Pfeifer
This updates five Ada-related links, four borken ones to adaic.org and the libre.adacore.com that redirects now. Applied. Gerald Index: readings.html === RCS file: /cvs/gcc/wwwdocs/htdocs/readings.html,v retrieving revision 1.228

Re: Constant folding of VEC_COND_EXPR

2013-03-31 Thread Marc Glisse
On Sun, 31 Mar 2013, Andrew Pinski wrote: On Sun, Mar 31, 2013 at 6:31 AM, Marc Glisse marc.gli...@inria.fr wrote: Hello, this adds constant folding of VEC_COND_EXPR at the tree level by forwarding to the VEC_PERM_EXPR code (a merge is a special case of a permutation). The CONSTRUCTOR case

Re: patch to fix constant math - first small patch - patch ping for the next stage 1

2013-03-31 Thread Kenneth Zadeck
richard, I was able to add everything except for the checking asserts.While I think that this is a reasonable idea, it is difficult to add that to a function that is defined in hwint.h because of circular includes. I could move this another file (though this appears to be the logical

[wwwdocs] testing/testing-qt.html link update

2013-03-31 Thread Gerald Pfeifer
Trolltech went the way of the Nokia^WDodo, but some mirror sites still care the tarballs. Applied, though I don't think those testing instructions are all that useful any more (while they were a good idea). Gerald Index: testing-qt.html

RFC: color diagnostics markers

2013-03-31 Thread Manuel López-Ibáñez
The following patch implements an option that allows printing the diagnostics markers (error:, warning:, note:) in different colors (red, magenta, and green, respectively). I followed the implementation of GNU grep but we cannot directly use their code, since they only care about printing to

Re: [Patch, libgfortran] [4.6/4.7/4.8/4.9 Regression] Namelist read fails with designators containing embedded spaces

2013-03-31 Thread Tobias Burnus
Am 31.03.2013 05:53, schrieb Jerry DeLisle: The attached patch fixes this PR by removing a spurious call to next_char which threw off the parsing sequence. In addition, I audited the file for other tests of EOF and corrected the error handling. This eliminated some wrong error messages or

Re: RFC: color diagnostics markers

2013-03-31 Thread Andrew Pinski
On Sun, Mar 31, 2013 at 1:01 PM, Manuel López-Ibáñez lopeziba...@gmail.com wrote: The following patch implements an option that allows printing the diagnostics markers (error:, warning:, note:) in different colors (red, magenta, and green, respectively). I followed the implementation of GNU

Re: RFC: color diagnostics markers

2013-03-31 Thread Manuel López-Ibáñez
On 31 March 2013 22:11, Andrew Pinski pins...@gmail.com wrote: A couple of things. I think should be able to control the coloring by a real environment variable like LS_COLOR allows. fdiagnostics-show-color should be controllable by an env variable so you don't have to pass an argument to

PATCH: PR plugins/56754 some missing plugin headers during installation in gcc 4.8

2013-03-31 Thread Magnus Granberg
This patch readd TARGET_H that was removed with revision 188166 IPA_PROP_H is in use by PLUGIN_HEADERS and did depend on GIMPLE_H that did have TARGET_H before it was removed and it was not added to IPA_PROP_H or PLUGIN_HEADERS. See the bug for more info. /Magnus gcc: 2013-03-30 Magnus

[wwwdocs] ftp.axis.se only works via http these days

2013-03-31 Thread Gerald Pfeifer
One of these days I ought to write a blog about the oddities I have been encountering over the years. In this case ftp.axis.se does not serve its original contents via the ftp protocol, but still does via http. Committed. Gerald Index: readings.html

Re: [wwwdocs] ftp.axis.se only works via http these days

2013-03-31 Thread Hans-Peter Nilsson
From: Gerald Pfeifer ger...@pfeifer.com Date: Sun, 31 Mar 2013 23:17:59 +0200 One of these days I ought to write a blog about the oddities I have been encountering over the years. In this case ftp.axis.se does not serve its original contents via the ftp protocol, but still does via http.

[patch] Remove unused ivtype_map symbols from sese.[hc]

2013-03-31 Thread Lawrence Crowl
Remove unused symbols related to ivtype_map. This map does not appear to exist and I see no evidence of its removal in the ChangeLog. Tested on x86_64. Okay for trunk? Index: gcc/ChangeLog 2013-03-31 Lawrence Crowl cr...@google.com * sese.h (struct ivtype_map_elt_s): Remove

[libitm,PATCH] Fix bootstrap due to __always_inline in libitm

2013-03-31 Thread Gerald Pfeifer
Andi's patch broke bootstrap on all FreeBSD platforms, which took me a bit to realize since he did not update the ChangeLog: 2013-03-23 Andi Kleen a...@my.domain.org * local_atomic (__always_inline): Add. (__calculate_memory_order, atomic_thread_fence,