Re: [PATCH] Fix PR 51505

2012-01-30 Thread Andrey Belevantsev
On 30.01.2012 11:38, Paolo Bonzini wrote: On 01/29/2012 04:09 PM, Eric Botcazou wrote: As discussed in Bugzilla, this is the patch implementing Paolo's suggestion of killing REG_EQUAL/REG_EQUIV notes from df_kill_notes. The code assumes there is at most one such note per insn. That's wrong

Re: [patch, fortran] Fix PR 51858, wrong-code regression with function elimination

2012-01-30 Thread Tobias Burnus
Hello Thomas, I didn't know that you are now also fixing libmudflap problems and that you work on Some malloc'd inside libc is not being tracked. Or did you intent to write PR fortran/51958 rather than PR libmudflap/51858? Changing else if into else; if ... endif; endif matches what we already

Re: [committed] Add -fno-common option on hppa-*-hpux* in gcc.dg/tm/pr51472.c

2012-01-30 Thread Andreas Schwab
John David Anglin d...@hiauly1.hia.nrc.ca writes: Index: gcc.dg/tm/pr51472.c === --- gcc.dg/tm/pr51472.c (revision 183677) +++ gcc.dg/tm/pr51472.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* {

Re: [committed] PR 51931: force non-MIPS16ness for long-branch tests

2012-01-30 Thread Chung-Lin Tang
On 2012/1/22 06:33 PM, Richard Sandiford wrote: The MIPS16 port has never handled long branches properly; see PR 51931 for the details. It isn't easy to xfail MIPS16-specific problems at the dejagnu level because of -mflip-mips16, so the patch below forces a nomips16 attribute instead.

Re: [committed] Skip gfortran.dg/guality/pr41558.f90 on 32-bit hppa*-*-hpux*

2012-01-30 Thread Andreas Schwab
John David Anglin d...@hiauly1.hia.nrc.ca writes: Index: gfortran.dg/guality/pr41558.f90 === --- gfortran.dg/guality/pr41558.f90 (revision 183677) +++ gfortran.dg/guality/pr41558.f90 (working copy) @@ -1,5 +1,6 @@ ! PR

Re: [PATCH, rs6000] Fix PR16458, eliminate redudant compares

2012-01-30 Thread Richard Guenther
On Fri, Jan 27, 2012 at 5:56 PM, Peter Bergner berg...@vnet.ibm.com wrote: This patch fixes PR16458 by using the type expression attached to a reg rtx to detect its signedness and generating unsigned compares when appropriate.  However, we continue to use signed compares for the special case

Re: adjust installation docs to discourage installing GMP, MPFR and MPC separately

2012-01-30 Thread Richard Guenther
On Fri, Jan 27, 2012 at 9:51 PM, Quentin Neill quentin.neill@gmail.com wrote: On Fri, Jan 20, 2012 at 6:10 PM, Jonathan Wakely jwakely@gmail.com wrote: On 20 January 2012 23:08, Quentin Neill  wrote: My 2c - I heartily recommend this patch. Thanks. I'm a bit surprised noone else

Re: [patch libjava]: Fix PR target/51500

2012-01-30 Thread Andrew Haley
On 01/29/2012 02:15 PM, Kai Tietz wrote: 2012-01-29 Kai Tietz kti...@redhat.com PR target/51500 * interpret.cc (_Jv_init_cif): Handle thiscall convention for 32-bit Windows. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. *

[Ada] New pragma/aspect Remote_Access_Type

2012-01-30 Thread Arnaud Charlet
This change introduces a new implementation defined pragma, and an associated implementation defined aspect: Remote_Access_Type. This pragma allows the definition of generic units allowing RACWs as actuals for generic formal access types. Tested on x86_64-pc-linux-gnu, committed on trunk

[Ada] Minor changes for GNAT dimensionality checking system

2012-01-30 Thread Arnaud Charlet
Tested on x86_64-pc-linux-gnu, committed on trunk 2012-01-30 Vincent Pucci pu...@adacore.com * sem_dim.adb (Expand_Put_Call_With_Dimension_Symbol): Rewritten. * snames.ads-tmpl: Name_Item and Name_Symbols added. * s-diflio.adb, s-diflio.ads, s-diinio.adb, s-diinio.ads:

[Ada] Freezing of nested generic instantiations

2012-01-30 Thread Arnaud Charlet
This patch corrects machinery which detects whether one node appears earlier in the tree with respect to another node. Tested on x86_64-pc-linux-gnu, committed on trunk 2012-01-30 Hristian Kirtchev kirtc...@adacore.com * sem_ch12.adb (Earlier): Do not use the top level source

[Ada] Stand-Alone Library with attribute Interfaces

2012-01-30 Thread Arnaud Charlet
A library project with an attribute Interfaces that include one or several Ada units was not deemed a Stand-Alone Library project. This patch corrects this. The test for this is to build a project such as: project Prj is for Library_Name use prj; for Library_Dir use lib; for Interfaces

New Swedish PO file for 'cpplib' (version 4.7-b20120128)

2012-01-30 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 Swedish team of translators. The file is available at: http://translationproject.org/latest/cpplib/sv.po (This file,

Contents of PO file 'cpplib-4.7-b20120128.sv.po'

2012-01-30 Thread Translation Project Robot
cpplib-4.7-b20120128.sv.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator. coordina...@translationproject.org

[Ada] Improve quality of PRNG seeding

2012-01-30 Thread Arnaud Charlet
When seeding the System.Random_Numbers from the clock, the clock value used to be truncated to whole seconds. This does not occur anymore, and the full resolution of the clock value is now used. Tested on x86_64-pc-linux-gnu, committed on trunk 2012-01-30 Thomas Quinot qui...@adacore.com

[Ada] Leap second for 2012

2012-01-30 Thread Arnaud Charlet
This patch updates all necessary files to accomodate the new leap second added on 2012-06-30 as defined in IERS Bulletin C. Tested on x86_64-pc-linux-gnu, committed on trunk 2012-01-30 Hristian Kirtchev kirtc...@adacore.com * a-calend-vms.adb, a-calend.adb: Increment the number of

[Patch,AVR]: avr.md code clean-up

2012-01-30 Thread Georg-Johann Lay
This is code clean-up for avr.md. * It resolves all AS1 and AS2 macros for string insertion. There are plan strings now and no more needed because: * All deprecated * quoted-c-code transformed to { c-code }. so that avr.md matches http://gcc.gnu.org/backends.html now, i.e. no 'b' in the

[Ada] PR ada/15846 Reject self-renaming of subprogram declaration

2012-01-30 Thread Arnaud Charlet
The compiler does not report an error on the self renaming of a subprogram declaration when the renamed subprogram is referenced through its expanded name. After this patch the following test is rejected by the compiler: package Renamings1 is type T1 is tagged null record; function =

[Ada] Implement new warnings for suspicious mod values

2012-01-30 Thread Arnaud Charlet
This patch implements additional warnings for suspicious mod values as shown by the following test program. These warnings are under control of the warning flag -gnatw.m (on by default). 1. package susmod is 2.type r is mod 2 * 32; | warning:

[Ada] Vector must check for cursor tampering, not element tampering

2012-01-30 Thread Arnaud Charlet
The operations Sort and Reverse_Element previously checked for element tampering, instead of for cursor tampering. This is not quite right, since the exception behavior for the vector container must match that for the list container, and the list container checks for cursor tampering in those

Re: [PATCH] Fix PR 51505

2012-01-30 Thread Eric Botcazou
Does this help? Yep, this eliminates all the regressions, thanks! -- Eric Botcazou

Re: [PATCH] Fix PR 51505

2012-01-30 Thread Eric Botcazou
That would fix the problem of multiple notes per insn (as we wanted to do initially), but I didn't understand whether this is the real problem or the problem is the reload not happy with disappearing notes. reload maintains a mapping between its internal structures and the RTL stream, here

[PATCH] Fix PR52037

2012-01-30 Thread Richard Guenther
IPA inline transform does not account for the fact that execute_fixup_cfg may return TODO_update_ssa. Fixed as follows. Bootstrap and regtest running on x86_64-unknown-linux-gnu. Richard. 2012-01-30 Richard Guenther rguent...@suse.de PR tree-optimization/52045 *

[PATCH] Fix PR52045

2012-01-30 Thread Richard Guenther
cleanup_tree_cfg can make it necessary to update SSA form. The following reflects that in execute_cleanup_cfg_post_optimizing (other callers look safe as they are embedded in more complex passes updating SSA form anyways). Bootstrap and regtest pending on x86_64-unknown-linux-gnu. Richard.

[SPARC] Fix PR target/51920

2012-01-30 Thread Eric Botcazou
I think it's the long-standing issue with word-mode paradoxical subregs of FP regs in 64-bit mode, which is present on both PA and SPARC. We don't have any real solution as of this writing, only kludges, so the attached patch makes it so that vector_init_fpmerge doesn't create pseudos with long

Re: [PATCH] Fix PR 51505

2012-01-30 Thread Paolo Bonzini
On 01/30/2012 01:22 PM, Eric Botcazou wrote: Does this help? Yep, this eliminates all the regressions, thanks! Committed as r183719. Thanks for testing. Paolo

Re: [PATCH] Fix PR51528

2012-01-30 Thread Richard Guenther
On Fri, 27 Jan 2012, Richard Guenther wrote: This fixes PR51528 by hiding the issue that SRA generates copy in/out with a type not suitable for preserving the data (any non-mode-precision thing). It fixes it by instead of emitting x$i_8 = x.i; D.1720 = x; D.1720.i = x$i_8;

[PATCH] Fix tail-merging -fcompare-debug failures (PR debug/52048)

2012-01-30 Thread Jakub Jelinek
Hi! local_def in tail merging returned different results depending on if there are any debug uses in other bbs or not. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2012-01-30 Jakub Jelinek ja...@redhat.com PR debug/52048 *

[PATCH] Fix vectorizer bool pattern matching with -fnon-call-exceptions (PR tree-optimization/52046)

2012-01-30 Thread Jakub Jelinek
Hi! If a comparison can throw, it won't be a valid condition for COND_EXPR or VEC_COND_EXPR, because is_gimple_condexpr will fail. This patch gives up in that case. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2012-01-30 Jakub Jelinek ja...@redhat.com PR

[PATCH] Don't ICE in dwarf2out_switch_section with -g0 (PR debug/52027)

2012-01-30 Thread Jakub Jelinek
Hi! dwarf2out_switch_text_section is called even when -g0 or when not generating dwarf debug info, if we need to handle there unwinding stuff. But with -g0 e.g. line info tables aren't initialized. Already a few lines above this spot we guard it with cold_text_section != NULL, so this patch just

Re: [PATCH] Fix vectorizer bool pattern matching with -fnon-call-exceptions (PR tree-optimization/52046)

2012-01-30 Thread Richard Guenther
On Mon, Jan 30, 2012 at 2:37 PM, Jakub Jelinek ja...@redhat.com wrote: Hi! If a comparison can throw, it won't be a valid condition for COND_EXPR or VEC_COND_EXPR, because is_gimple_condexpr will fail.  This patch gives up in that case.  Bootstrapped/regtested on x86_64-linux and i686-linux,

Re: [PATCH] Don't ICE in dwarf2out_switch_section with -g0 (PR debug/52027)

2012-01-30 Thread Richard Guenther
On Mon, Jan 30, 2012 at 2:40 PM, Jakub Jelinek ja...@redhat.com wrote: Hi! dwarf2out_switch_text_section is called even when -g0 or when not generating dwarf debug info, if we need to handle there unwinding stuff. But with -g0 e.g. line info tables aren't initialized.  Already a few lines

Re: [Patch,wwwdocs,AVR]: AVR release notes

2012-01-30 Thread Georg-Johann Lay
Gerald Pfeifer wrote: On Fri, 20 Jan 2012, Georg-Johann Lay wrote: Adding AVR-specific release notes to wwwdocs/htdocs/gcc-4.7/changes.html Index: changes.html === +liThe AVR port's libgcc has been improved and its multilib

Re: [PATCH] Fix PR 51505

2012-01-30 Thread Andrey Belevantsev
On 30.01.2012 17:47, Paolo Bonzini wrote: On 01/30/2012 09:44 AM, Andrey Belevantsev wrote: Does this help? That would fix the problem of multiple notes per insn (as we wanted to do initially), but I didn't understand whether this is the real problem or the problem is the reload not happy

Re: [PATCH] Fix PR 51910, -frepo/linker demangling interaction

2012-01-30 Thread Jakub Jelinek
On Sun, Jan 29, 2012 at 05:08:10PM -0700, Sandra Loosemore wrote: Bootstrapped and regression-tested on i636 linux. OK to check in? I think that is terribly expensive fix, for larger projects a single ld invocation can take several minutes. What exactly are advantages of using the linker

Re: [Patch ARM] Fix PR50313 and handle PIC addresses properly.

2012-01-30 Thread Ramana Radhakrishnan
Now backported to GCC 4.6 branch as attached. Ramana 2012-01-30 Ramana Radhakrishnan ramana.radhakrish...@linaro.org Backport from mainline. 2012-01-20 Ramana Radhakrishnan ramana.radhakrish...@linaro.org PR target/50313 * config/arm/arm.c

Re: [wwwdocs] Add section on diagnostics conventions

2012-01-30 Thread Joseph S. Myers
On Sun, 29 Jan 2012, Diego Novillo wrote: +licodeinternal_error/code is used for conditions that should not +be triggered by any user input whether valid or invalid and including +invalid asms and LTO binary data (sometimes, as an exception, there is +a call to codeerror/code before further

Re: [wwwdocs] Re: [PATCH] invoke.texi: compile time, run time cleanup

2012-01-30 Thread Joseph S. Myers
On Sun, 29 Jan 2012, Sandra Loosemore wrote: On 01/29/2012 07:31 AM, Joseph S. Myers wrote: On Sat, 28 Jan 2012, Sandra Loosemore wrote: 2012-01-28 Sandra Loosemoresan...@codesourcery.com gcc/ * doc/invoke.texi: Make usage of compile time and run time/runtime

Re: [PATCH][ARM] Improve 64-bit shifts (non-NEON)

2012-01-30 Thread Richard Earnshaw
On 27/01/12 16:07, Andrew Stubbs wrote: Hi all, This patch introduces a new, more efficient set of DImode shift sequences for values stored in core-registers (as opposed to VFP/NEON registers). The new sequences take advantage of knowledge of what the ARM instructions do with

Re: [PATCH] Fix PR 51910, -frepo/linker demangling interaction

2012-01-30 Thread Jason Merrill
On 01/30/2012 09:23 AM, Jakub Jelinek wrote: On Sun, Jan 29, 2012 at 05:08:10PM -0700, Sandra Loosemore wrote: Bootstrapped and regression-tested on i636 linux. OK to check in? I think that is terribly expensive fix, for larger projects a single ld invocation can take several minutes.

[PATCH] Fix PR52028

2012-01-30 Thread Richard Guenther
This fixes PR52028 - we were not properly re-writing virtual SSA form in loop distribution. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. Richard. 2012-01-30 Richard Guenther rguent...@suse.de PR tree-optimization/52028 * tree-loop-distribution.c

Re: [PATCH] Fix PR 51910, -frepo/linker demangling interaction

2012-01-30 Thread Jakub Jelinek
On Mon, Jan 30, 2012 at 10:42:13AM -0500, Jason Merrill wrote: On 01/30/2012 09:23 AM, Jakub Jelinek wrote: On Sun, Jan 29, 2012 at 05:08:10PM -0700, Sandra Loosemore wrote: Bootstrapped and regression-tested on i636 linux. OK to check in? I think that is terribly expensive fix, for larger

Re: RFA: fix PR 51649

2012-01-30 Thread Tom Tromey
Tom == Tom Tromey tro...@redhat.com writes: Tom Unless you have other tests to suggest, I am going to say that it has Tom been sufficiently tested and check it in on Friday. Jakub said on irc that he thought I had done sufficient testing. So, I am checking this patch in now. thanks, Tom

Re: [PATCH] Fix PR 51910, -frepo/linker demangling interaction

2012-01-30 Thread Sandra Loosemore
On 01/30/2012 07:23 AM, Jakub Jelinek wrote: On Sun, Jan 29, 2012 at 05:08:10PM -0700, Sandra Loosemore wrote: Bootstrapped and regression-tested on i636 linux. OK to check in? I think that is terribly expensive fix, for larger projects a single ld invocation can take several minutes. What

Re: [libitm] Link eh-1.exe with -shared-libgcc on Solaris (PR libitm/51822)

2012-01-30 Thread Rainer Orth
Richard Henderson r...@redhat.com writes: On 01/25/2012 12:03 AM, Rainer Orth wrote: Er.. how did we get two copies? The link line boils down to ld -o eh-1.exe crt1.o crti.o crtbegin.o eh-1.o -litm -lstdc++ -lm -lgcc -lgcc_eh -lc -lgcc -lgcc_eh crtend.o crtn.o The eh-1.o reference to

Re: [SPARC] Fix PR target/51920

2012-01-30 Thread David Miller
From: Eric Botcazou ebotca...@adacore.com Date: Mon, 30 Jan 2012 13:41:28 +0100 I think it's the long-standing issue with word-mode paradoxical subregs of FP regs in 64-bit mode, which is present on both PA and SPARC. We don't have any real solution as of this writing, only kludges, so the

Re: [PATCH] Fix up --enable-initfini-array autodetection in configure (PR bootstrap/50237)

2012-01-30 Thread Rainer Orth
Jakub Jelinek ja...@redhat.com writes: The following patch attempts to perform a separate linker check (grepping objdump of a linked binary) and checks so far glibc version which is known to support .init_array properly. Perhaps other C libraries could be added there too (does e.g. Solaris

Re: [v3] Update Solaris baselines for GCC 4.7

2012-01-30 Thread Rainer Orth
Jonathan Wakely jwakely@gmail.com writes: The change is probably pr 50196 (Sent offlist because the android gmail app refuses to send plain text mails) Right. I think about disabling _GLIBCXX_HAS_GTHREADS on Solaris 8 and 9 per default, with the option of enabling it knowing that it

Re: [Patch] PR51374: combine.c and volatile correctness

2012-01-30 Thread Georg-Johann Lay
Richard Sandiford wrote: Georg-Johann Lay a...@gjlay.de writes: This patch fixes PR51374 by more strictly updating mem_last_set. Sloppy handling of mem_last_set can lead to error in volatile correctness because combine then is allowed to drag one volatile access over an other volatile thing

Re: [PATCH] Fix up --enable-initfini-array autodetection in configure (PR bootstrap/50237)

2012-01-30 Thread Paolo Bonzini
Jakub Jelinek ja...@redhat.com writes: The following patch attempts to perform a separate linker check (grepping objdump of a linked binary) and checks so far glibc version which is known to support .init_array properly. Perhaps other C libraries could be added there too (does e.g. Solaris

Re: [PATCH] Fix up --enable-initfini-array autodetection in configure (PR bootstrap/50237)

2012-01-30 Thread Rainer Orth
Paolo Bonzini bonz...@gnu.org writes: changequote(,)dnl +if test x${build} = x${target} test x${build} = x${host}; then + case ${target} in +*-*-solaris2*) + # ld.so.1 and ld are guaranteed to be updated in lockstep, so check + # ld version number for use in ld.so.1 feature

Re: [PATCH] Fix up --enable-initfini-array autodetection in configure (PR bootstrap/50237)

2012-01-30 Thread Paolo Bonzini
On 01/30/2012 06:00 PM, Rainer Orth wrote: Can you test Linux too? The change of -e0 looks good, but I'd rather check on the actual system. I can test on x86_64-unknown-linux-gnu, just not on my laptop at home. Note that you only need to test ./configure, not bootstrap/regtest.

Re: [v3] Update Solaris baselines for GCC 4.7

2012-01-30 Thread Rainer Orth
Rainer Orth r...@cebitec.uni-bielefeld.de writes: Paolo Carlini paolo.carl...@oracle.com writes: +FUNC:_ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv@@GLIBCXX_3.4.5 +FUNC:_ZNSt19istreambuf_iteratorIwSt11char_traitsIwEEppEv@@GLIBCXX_3.4.5 I don't think this is a new issue, I see it in

Re: [PATCH] invoke.texi: compile time, run time cleanup

2012-01-30 Thread Robert Dewar
On 1/28/2012 12:05 PM, Sandra Loosemore wrote: I'm specifically asking for review of this patch by one of the docs maintainers before checking it in, since it seems not everyone agrees that these copyediting patches qualify as obvious. In this particular chunk, I had to make some judgment

Re: [libitm] Link eh-1.exe with -shared-libgcc on Solaris (PR libitm/51822)

2012-01-30 Thread Jack Howarth
On Mon, Jan 30, 2012 at 05:40:21PM +0100, Rainer Orth wrote: Richard Henderson r...@redhat.com writes: On 01/25/2012 12:03 AM, Rainer Orth wrote: Er.. how did we get two copies? The link line boils down to ld -o eh-1.exe crt1.o crti.o crtbegin.o eh-1.o -litm -lstdc++ -lm -lgcc

Re: [committed] invoke.texi: fix hyphenation of floating point and related terms

2012-01-30 Thread Robert Dewar
On 1/28/2012 11:33 AM, Sandra Loosemore wrote: Sometimes the best idea is to just drop the hyphen completetly. It seems for example (try google) that runtime is becoming much more accepted than run-time or run time. Coincidentally, runtime is the subject of my next patch chunk, and I had to

Re: [libitm] Link eh-1.exe with -shared-libgcc on Solaris (PR libitm/51822)

2012-01-30 Thread Patrick Marlier
On 01/30/2012 12:15 PM, Jack Howarth wrote: On Mon, Jan 30, 2012 at 05:40:21PM +0100, Rainer Orth wrote: Richard Hendersonr...@redhat.com writes: On 01/25/2012 12:03 AM, Rainer Orth wrote: Er.. how did we get two copies? The link line boils down to ld -o eh-1.exe crt1.o crti.o crtbegin.o

Re: [libitm] Link eh-1.exe with -shared-libgcc on Solaris (PR libitm/51822)

2012-01-30 Thread Rainer Orth
Jack Howarth howa...@bromo.med.uc.edu writes: FYI, this fix has no impact on the eh-1.C execution failures seen at -m32/-m64 on x86_64 darwin10/11 when built with Xcode 4.2(.1). Then you need to do the analysis why exactly the failure occurs in this case. Rainer --

[RFA/ARM] Fix thumb2_mov_notscc pattern in thumb2.md

2012-01-30 Thread Matthew Gretton-Dann
Hi, This patch fixes the thumb2_mov_notscc pattern in the same way as the ARM state mov_notscc pattern was fixed earlier in January. This was highlighted by the gcc.target/arm/20120111-1.c testcase. OK? Thanks, Matt gcc/ChangeLog: 2012-01-30 Matthew Gretton-Dann

Re: [RFA/ARM] Fix thumb2_mov_notscc pattern in thumb2.md

2012-01-30 Thread Richard Earnshaw
On 30/01/12 17:27, Matthew Gretton-Dann wrote: Hi, This patch fixes the thumb2_mov_notscc pattern in the same way as the ARM state mov_notscc pattern was fixed earlier in January. This was highlighted by the gcc.target/arm/20120111-1.c testcase. OK? Thanks, Matt gcc/ChangeLog:

Re: [v3] Update Solaris baselines for GCC 4.7

2012-01-30 Thread Paolo Carlini
On 01/30/2012 06:11 PM, Rainer Orth wrote: I.e. there are *no* libstdc++ or C++ changes involved at all. IMO this is a bug, plain and simple. Just to avoid all the pointless discussions we had last time: *on Solaris*. Because if you look at gnu.ver it's obvious that those symbols *on Linux*

Re: [v3] Update Solaris baselines for GCC 4.7

2012-01-30 Thread Rainer Orth
Paolo Carlini paolo.carl...@oracle.com writes: On 01/30/2012 06:11 PM, Rainer Orth wrote: I.e. there are *no* libstdc++ or C++ changes involved at all. IMO this is a bug, plain and simple. Just to avoid all the pointless discussions we had last time: *on Solaris*. Because if you look at

Re: [v3] Update Solaris baselines for GCC 4.7

2012-01-30 Thread Paolo Carlini
On 01/30/2012 07:06 PM, Rainer Orth wrote: A non-C++ change suddenly causing new C++ functions to be emitted that are not present without that change would be a bug on Linux, too! I should have been more clear: it's *not* a versioning bug on Linux. Maybe what is happening on Solaris is that

Re: [v3] Update Solaris baselines for GCC 4.7

2012-01-30 Thread Rainer Orth
Paolo Carlini paolo.carl...@oracle.com writes: On 01/30/2012 07:06 PM, Rainer Orth wrote: A non-C++ change suddenly causing new C++ functions to be emitted that are not present without that change would be a bug on Linux, too! I should have been more clear: it's *not* a versioning bug on

Re: [v3] Update Solaris baselines for GCC 4.7

2012-01-30 Thread Paolo Carlini
On 01/30/2012 07:25 PM, Rainer Orth wrote: That's due to the way gld linker scripts work: every entry there just works like sort of a wildcard: if the symbol is present in the input objects, it is bound to the respective symbol, if it's missing, this is silently ignored. I know that. I'm

[PATCH, go testsuite]: Fix PR48501, 64bit-out.go, select5-out.go, tmp.go compilation times out

2012-01-30 Thread Uros Bizjak
Hello! Attached patch introduces adjustable timeout value to go testsuite. I have added the fix for select5-out.go compilation timeout error, since this test fails on my target. Following this example, it is trivial to fix other timeout issues in go-test.exp. 2012-01-30 Uros Bizjak

Re: [v3] Update Solaris baselines for GCC 4.7

2012-01-30 Thread Rainer Orth
Paolo Carlini paolo.carl...@oracle.com writes: I'm trying to understand why on Solaris you didn't see abi_check errors, because for sure on Linux those operators are in the baselines and normally exported, isn't just about the linker script. I repeat one last time: on Linux we started

RE: [Patch,wwwdocs,AVR]: AVR release notes

2012-01-30 Thread Weddington, Eric
-Original Message- From: Georg-Johann Lay Sent: Monday, January 30, 2012 6:55 AM To: gcc-patches@gcc.gnu.org Cc: Gerald Pfeifer; Denis Chertykov; Weddington, Eric Subject: Re: [Patch,wwwdocs,AVR]: AVR release notes Attached an updated patch as there were many changes and so that

Re: [Patch] PR51374: combine.c and volatile correctness

2012-01-30 Thread Richard Sandiford
Georg-Johann Lay a...@gjlay.de writes: Richard Sandiford wrote: What do you think about instead changing: /* If there are any volatile insns between INSN and I3, reject, because they might affect machine state. */ for (p = NEXT_INSN (insn); p != i3; p = NEXT_INSN (p)) if

[PATCH, go]: Do not panic in test/nilptr.go

2012-01-30 Thread Uros Bizjak
Hello! There is no need for a panic in test/nilptr.go if array doesn't get allocated in first 256 meg of memory. The compiler has nothing to do with this. Index: test/nilptr.go === --- test/nilptr.go (revision 183732) +++

Re: [Patch,AVR]: avr.md code clean-up

2012-01-30 Thread Denis Chertykov
2012/1/30 Georg-Johann Lay a...@gjlay.de: This is code clean-up for avr.md. * It resolves all AS1 and AS2 macros for string insertion.  There are plan strings now and no more needed because: * All deprecated * quoted-c-code transformed to { c-code }.  so that avr.md matches

[committed] gcc.target/mips tweaks for mips-sde-elf

2012-01-30 Thread Richard Sandiford
This patch fixes a few failures in gcc.target/mips for mips-sde-elf: * char is unsigned for mips-sde-elf, so we need to explicitly ask for a signed char if we want one. * mips-sde-elf only supports 64-bit long doubles, so doesn't provide TFmode. * Function profiling isn't

Re: Fix multi-reg regno_reg_rtx entry

2012-01-30 Thread Richard Sandiford
Eric Botcazou ebotca...@adacore.com writes: I'm not sure about the assertion though: if it happens to trigger, the fix will probably entail far-reaching changes in the back-end, so it's probably safer to delay it until the next stage #1. Yeah, that's probably true. How does this version look?

Re: [PATCH] Fix PR 51910, -frepo/linker demangling interaction

2012-01-30 Thread Jason Merrill
On 01/30/2012 11:11 AM, Jakub Jelinek wrote: The *.rpo discovery can be many thousands of syscalls too for larger links and I think -frepo is quite rarely used. OK. Can't tlink just take into account that sometimes different symbols mangle the same, and handle those as a group (i.e. if the

Re: [libitm] Link eh-1.exe with -shared-libgcc on Solaris (PR libitm/51822)

2012-01-30 Thread Richard Henderson
On 01/31/2012 03:40 AM, Rainer Orth wrote: 2012-01-28 Rainer Orth r...@cebitec.uni-bielefeld.de PR libstdc++/51296 * testsuite/libitm.c++/c++.exp (lang_link_flags): Add -shared-libgcc. Correct libgomp references. Ok. r~

Re: [patch, fortran] Fix PR 51958, wrong-code regression with function elimination

2012-01-30 Thread Thomas Koenig
Hi Tobias, I found a bug in my patch, which I am currently correcting. *grumble* Watch this space! Thomas

Re: [libitm] Link eh-1.exe with -shared-libgcc on Solaris (PR libitm/51822)

2012-01-30 Thread Jack Howarth
On Mon, Jan 30, 2012 at 12:24:07PM -0500, Patrick Marlier wrote: On 01/30/2012 12:15 PM, Jack Howarth wrote: On Mon, Jan 30, 2012 at 05:40:21PM +0100, Rainer Orth wrote: Richard Hendersonr...@redhat.com writes: On 01/25/2012 12:03 AM, Rainer Orth wrote: Er.. how did we get two copies? The

[Patch, Fortran] PR52029/52013 - small OOP fixes (pure _copy, CAF fix)

2012-01-30 Thread Tobias Burnus
First, I am looking for someone to review my patch at http://gcc.gnu.org/ml/fortran/2012-01/msg00241.html This patch contains two patches: a) Marking the polymorphic _copy function as pure. First, it helps with code generation as the function is actually pure. Secondly, if one defines the

RE: [committed] PR 51931: force non-MIPS16ness for long-branch tests (NOW RFA: MIPS16 Long Branch Patch)

2012-01-30 Thread Moore, Catherine
-Original Message- From: Chung-Lin Tang [mailto:clt...@codesourcery.com] Sent: Monday, January 30, 2012 4:36 AM To: gcc-patches@gcc.gnu.org; rdsandif...@googlemail.com Cc: Moore, Catherine Subject: Re: [committed] PR 51931: force non-MIPS16ness for long-branch tests On 2012/1/22

Re: [PATCH, go testsuite]: Fix PR48501, 64bit-out.go, select5-out.go, tmp.go compilation times out

2012-01-30 Thread Ian Lance Taylor
Uros Bizjak ubiz...@gmail.com writes: 2012-01-30 Uros Bizjak ubiz...@gmail.com PR go/48501 * lib/go.exp (go_target_compile): Append timeout= to options. * go.test/go-test.exp (go-gc-tests): Add dg-timeout-factor for select5-out.go test on alpha*-*-* targets. This

Re: [Patch] PR51374: combine.c and volatile correctness

2012-01-30 Thread Georg-Johann Lay
Richard Sandiford schrieb: Georg-Johann Lay avr@ writes: Attached you find a new, tentative patch. It resolves the issue in my small test program. However, I think someone with more insight into combine should take over the patch. OK, point taken :-) If you'd prefer someone else to approve

New German PO file for 'gcc' (version 4.7-b20120128)

2012-01-30 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-b20120128.de.po',

Re: [Patch] PR51374: combine.c and volatile correctness

2012-01-30 Thread Richard Sandiford
Georg-Johann Lay a...@gjlay.de writes: Richard Sandiford schrieb: Georg-Johann Lay avr@ writes: Attached you find a new, tentative patch. It resolves the issue in my small test program. However, I think someone with more insight into combine should take over the patch. OK, point taken :-)

Re: [4.7][google] Adding a new option -fstack-protector-strong. (issue 5461043)

2012-01-30 Thread 沈涵
Hi, ping? Could someone take a look at this patch, it has already been reviewed several rounds. I'm to submit it to gcc trunk. Thanks, -Han On Wed, Jan 25, 2012 at 9:41 PM, davi...@google.com wrote: ok for google branches with the above changes. Please continue to seek upstream approval.

Re: Fix multi-reg regno_reg_rtx entry

2012-01-30 Thread Eric Botcazou
* function.h (regno_reg_rtx): Adjust comment. * reginfo.c (init_reg_modes_target): Only use the previous mode if it fits within one register. Remove MIPS comment. OK, thanks. -- Eric Botcazou

Re: [Patch,wwwdocs,AVR]: AVR release notes

2012-01-30 Thread Georg-Johann Lay
Weddington, Eric schrieb: From: Georg-Johann Lay Attached an updated patch as there were many changes and so that Eric and Denis can easier catch up. Hi Johann, Comments: In the first hunk of the patch, you say that libgcc has been improved and enhanced. Can you elaborate just a little in

libgo patch committed: Support socket control messages

2012-01-30 Thread Ian Lance Taylor
This patch to libgo adds support for socket control messages. The source code was already there, but wasn't being built because mksysinfo didn't generate the necessary type information. This patch fixes that. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline.

Re: [wwwdocs] Add section on diagnostics conventions

2012-01-30 Thread Gabriel Dos Reis
On Mon, Jan 30, 2012 at 9:21 AM, Joseph S. Myers jos...@codesourcery.com wrote: On Sun, 29 Jan 2012, Diego Novillo wrote: +licodeinternal_error/code is used for conditions that should not +be triggered by any user input whether valid or invalid and including +invalid asms and LTO binary data

Re: [Patch, fortran] PR 51808 Heap allocate binding labels

2012-01-30 Thread Gerald Pfeifer
On Sun, 29 Jan 2012, Janne Blomqvist wrote: .../gcc-HEAD/gcc/fortran/decl.c:5820:23: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] gmake[3]: *** [fortran/decl.o] Error 1 Have you tried r183679, which should fix this? Yes, I now tried that update (my daily tester

Re: Static branch prediction: compare IV to loop bound variable (issue 5504086)

2012-01-30 Thread davidxl
Ok for google branches for now. thanks, David http://codereview.appspot.com/5504086/diff/1004/gcc/predict.c File gcc/predict.c (right): http://codereview.appspot.com/5504086/diff/1004/gcc/predict.c#newcode958 gcc/predict.c:958: find_qualified_ssa_name (tree t1, tree t2) Better change the

[PATCH][Cilkplus] Gather Scatter Operations in Array Notations

2012-01-30 Thread Iyer, Balaji V
Hello Everyone, This patch is for the Cilkplus branch, affecting both the C and C++ Compilers. It implements the Gather, scatter operations. Thanking You, Yours Sincerely, Balaji V. Iyer.diff --git a/gcc/ChangeLog.cilk b/gcc/ChangeLog.cilk index 4297c91..5913883 100644 ---

[arm] Improve longlong.h umul_ppmm, count_trailing_zeros

2012-01-30 Thread Richard Henderson
I noticed this accidentally, while looking for something else. There are significant improvements in the DImode multiplication and division routines for armv4+. Despite how trivial this is, I assume this must wait for stage1. Ok? r~ * longlong.h [arm] (umul_ppmm): Use umull.