[patch, fortran] Fix PR 52668, bogus warning for only list

2012-03-25 Thread Thomas Koenig
Hello world, this fixes a 4.7/4.8 regression with a bogus warning for variables which were excluded from being imported by use, only if they were in a common block inside the module. Regression-tested. OK for trunk and for 4.7 after a few days? Thomas 2012-03-25 Thomas Koenig

New template for 'cpplib' made available

2012-03-25 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. (If you have any questions, send them to coordina...@translationproject.org.) A new POT file for textual domain 'cpplib' has been made available to the language teams for translation. It is archived as:

New template for 'gcc' made available

2012-03-25 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. (If you have any questions, send them to coordina...@translationproject.org.) A new POT file for textual domain 'gcc' has been made available to the language teams for translation. It is archived as:

Re: C++ PATCH to add auto return type deduction with -std=c++1y

2012-03-25 Thread Marc Glisse
On Sun, 25 Mar 2012, Jason Merrill wrote: As I mentioned in my patch to add -std=c++1y, I've been working on a proposal for the next standard to support return type deduction for normal functions, not just lambdas. This patch implements that proposal. Nice. I like the way you seem to be

PR regression/52696

2012-03-25 Thread Jan Hubicka
Hi, while backporting predict.c fix I forgot to backport followup fix for a typo causing fnsplit test failure on some setups. Bootstrapped/regtested and comitted. Honza Index: ChangeLog === --- ChangeLog (revision 185774) +++

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

2012-03-25 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.7.0.de.po', has just

Re: C++ PATCH to add auto return type deduction with -std=c++1y

2012-03-25 Thread Marc Glisse
On Sun, 25 Mar 2012, Basile Starynkevitch wrote: On Sun, 25 Mar 2012 12:17:10 +0200 (CEST) Marc Glisse marc.gli...@inria.fr wrote: On Sun, 25 Mar 2012, Jason Merrill wrote: As I mentioned in my patch to add -std=c++1y, I've been working on a proposal for the next standard to support return

PR lto/51663 (COMDAT vars not optimized out)

2012-03-25 Thread Jan Hubicka
Hi, this PR is about odd inconsistencies about comdat variables being or not being optimized out at -O0 with LTO. This is a side effect of the logic where COMDAT variables are output on demand at -O0, while static variables are output always. This logic is here from pre-cgraph times where we did

New Japanese PO file for 'cpplib' (version 4.7.0)

2012-03-25 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the Japanese team of translators. The file is available at: http://translationproject.org/latest/cpplib/ja.po (This file,

Contents of PO file 'cpplib-4.7.0.ja.po'

2012-03-25 Thread Translation Project Robot
cpplib-4.7.0.ja.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator. coordina...@translationproject.org

Fix libjava bootstrap failure around IUCLC

2012-03-25 Thread Gerald Pfeifer
This has been introduced by 2012-03-16 Andrew John Hughes ahug...@redhat.com * Makefile.am: Add natVMConsole.cc. : * java/io/VMConsole.h: Initial generation. * java/io/VMConsole.java: Copied from classpath/vm/reference. * java/io/natVMConsole.cc:

PATCH: Add MaskNeeded property to option handling

2012-03-25 Thread H.J. Lu
Hi Joseph, I need to support InverseMask(XXX) in options without the corresponding Mask(XXX) since XXX is never set directly via a command line option. This patch adds a MaskNeeded property which turns InverseMask(XXX) into the inverse version of Mask(XXX), which allocates a unique bit and

Re: C++ PATCH to add auto return type deduction with -std=c++1y

2012-03-25 Thread Gabriel Dos Reis
On Sun, Mar 25, 2012 at 8:32 AM, Marc Glisse marc.gli...@inria.fr wrote: - a first goal is simple functions, with a single return statement (which may even often be the only statement). yes, this is something we tend to forget: simple things should stay simple, no matter how clever we think we

[Ada] Return early from rest_of_record_type_compilation

2012-03-25 Thread Eric Botcazou
Now that rest_of_record_type_compilation only deals with the generation of XVE types, we can return early for types that don't need one. Tested on i586-suse-linux, applied on the mainline. 2012-03-25 Eric Botcazou ebotca...@adacore.com * gcc-interface/utils.c (finish_record_type):

[Ada] Do not generate both XVS and XVE type

2012-03-25 Thread Eric Botcazou
There is no need to generate both an XVS and an XVE type for the same record type; we can limit ourselves to the XVS type, which is the simplest of the two types. Tested on i586-suse-linux, applied on the mainline. 2012-03-25 Eric Botcazou ebotca...@adacore.com *

[Ada] Fix ICE in insert_clobbers_for_var in SJLJ mode

2012-03-25 Thread Eric Botcazou
We have a call to builtin_alloca_with_align: S10b.27_153 = .builtin_alloca_with_align (5, 8); and CCP replaces it with a static allocation: S10b.27_153 = TMP; and is trying to add a special out-of-scope CLOBBER for the new variable TMP, under the assumption that every call to

[Ada] Minor tweak in gnat_to_gnu_entity

2012-03-25 Thread Eric Botcazou
This has probably no effects in practice, but for the sake of consistency... Tested on i586-suse-linux, applied on the mainline. 2012-03-25 Eric Botcazou ebotca...@adacore.com * gcc-interface/decl.c (gnat_to_gnu_entity) E_Record_Subtype: Copy the TYPE_PACKED flag from the

[PATCH gcc-4.7/changes.html] Update for -ftrack-macro-expansion and -Wunused-local-typedefs

2012-03-25 Thread Dodji Seketeli
Hello, I forgot to update changes.html when the -ftrack-macro-expansion and Wunused-local-typedefs changes went in. Fixed thus. I hope it is not too late, now that 4.7 is out. OK for CVS head? * htdocs/gcc-4.7/changes.html: Update for -ftrack-macro-expansion and

Re: Propagate profile counts after switch case expansion (issue5896043)

2012-03-25 Thread Jan Hubicka
This patch propagates execution count of thee case labels of a switch-case statement after its expansion. Bootstraps and all tests pass. OK for trunk? Hi, while this is resonable thing to do, I belive it would make most sense to make switch lowering at gimple level: i.e. reorganize the

Re: PATCH: Add --with-abi= support to x86_64-*-*

2012-03-25 Thread Nathanael Nerode (GCC)
On 03/14/2012 12:22 PM, H.J. Lu wrote: On Fri, Mar 2, 2012 at 10:00 AM, H.J. Lu hongjiu...@intel.com wrote: Hi, This patch adds --with-abi= support to x86_64-*-* to configure GCC with --with-abi=x32 --with-abi=mx32 --with-multilib-list=mx32 to set the default ABI to x32. In i386

[patch] Call assemble_external only from final.c and from MI-thunk hooks

2012-03-25 Thread Steven Bosscher
Hello, This patch removes all calls to assemble_external from places other than final.c and MI-thunk generators. This is step 2 toward addressing PR17982 on the trunk for GCC 4.8. The next, and final, step will be to change pending_assemble_externals to pending_assemble_visibility, and fold

Re: Propagate profile counts after switch case expansion (issue5896043)

2012-03-25 Thread Easwaran Raman
On Sun, Mar 25, 2012 at 12:22 PM, Jan Hubicka hubi...@ucw.cz wrote: This patch propagates execution count of thee case labels of a switch-case statement after its expansion. Bootstraps and all tests pass. OK for trunk? Hi, while this is resonable thing to do, I belive it would make most