Re: [PATCH PR71347][Partial revert r235513]Compute cost for all uses in group

2016-06-18 Thread Andreas Schwab
Bin Cheng writes: > diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71347.c > b/gcc/testsuite/gcc.dg/tree-ssa/pr71347.c > new file mode 100644 > index 000..7e5ad49 > --- /dev/null > +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71347.c > @@ -0,0 +1,17 @@ > +/* { dg-do compile } */ > +/* { dg-options "-

Fix PR bootstrap/71435

2016-06-18 Thread Eric Botcazou
This fixes a bootstrap comparison failure on SPARC/Linux introduced by the reload change made for PR target/60040, which added calls to finish_spills without previously calling select_reload_regs. This left finish_spills work on uninitialized data, hence the comparison failure. The patch chang

[BUILDROBOT] Selftest failed for rs6000-ibm-aix4.3

2016-06-18 Thread Jan-Benedict Glaw
Hi David, Segher, Aldy! Davids new selftest code found something for the rs6000-ibm-aix4.3 target, maybe you're interested: /home/jbglaw/src/toolchain/build/./gcc/xgcc -B/home/jbglaw/src/toolchain/build/./gcc/ -xc -S -c /dev/null -fself-test : internal compiler error: in altivec_init_builtins, a

MAINTAINERS (Write After Approval): Add myself

2016-06-18 Thread Senthil Kumar Selvaraj
Added myself to MAINTAINERS (Write After Approval). Regards Senthil Index: ChangeLog === --- ChangeLog (revision 237571) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2016-06-18 Senthil Kumar Selvaraj + + * MAINTAINERS

Re: [BUILDROBOT] Selftest failed for rs6000-ibm-aix4.3

2016-06-18 Thread David Malcolm
On Sat, 2016-06-18 at 15:06 +0200, Jan-Benedict Glaw wrote: > Hi David, Segher, Aldy! > > Davids new selftest code found something for the rs6000-ibm-aix4.3 > target, maybe you're interested: > > /home/jbglaw/src/toolchain/build/./gcc/xgcc > -B/home/jbglaw/src/toolchain/build/./gcc/ -xc -S -c /d

Re: [PATCH] C++ FE: Show both locations in string literal concatenation error

2016-06-18 Thread Jason Merrill
OK. Jason

[committed] Remove unused TARGET_LONG_PIC_PCREL_CALL define from pa.h

2016-06-18 Thread John David Anglin
This fixes oversight in previous change. TARGET_LONG_PIC_PCREL_CALL is no longer used and can be removed. Dave -- John David Anglin dave.ang...@bell.net 2018-06-18 John David Anglin * config/pa/pa.h (TARGET_LONG_PIC_PCREL_CALL): Remove. Index: config/pa/pa.h

[committed] Build valid PA-RISC function pointer for fixup in __canonicalize_funcptr_for_compare

2016-06-18 Thread John David Anglin
The attached change is preparation for a patch to optimize indirect calls. For this, we need to a valid function pointer for fixup in __canonicalize_funcptr_for_compare. The least-significant two bits of the pointer should have the value 2, not 3, when the pointer points to a function descript

[patch, libgfortran] PR48552/48925 Invalid spaces in complex/code cleanup

2016-06-18 Thread Jerry DeLisle
Greetings all, This is a major rework of floating point write routines. Most of the existing critical code is retained. Much of the code is reorganized. The problem with complex is that it is writing two floats with formatting. Previously write_block, which does the actual output, was buried at t

[PATCH] PR52665 do not let .ident confuse assembler scan tests

2016-06-18 Thread Bernhard Reutner-Fischer
A branch with a name matching scan-assembler pattern triggers inappropriate FAIL. E.g. branch fixups-testsuite and - gcc.target/i386/pr65871-?.c (scan-assembler-not "test") - gcc.target/i386/pr41442.c (scan-assembler-times "test|cmp" 2) etc. This is a recurring problem as can be seen by some -fno

Re: [PATCH] Derive interface buffers from max name length

2016-06-18 Thread Bernhard Reutner-Fischer
On December 3, 2015 10:46:09 AM GMT+01:00, Janne Blomqvist wrote: >On Tue, Dec 1, 2015 at 6:51 PM, Bernhard Reutner-Fischer > wrote: >> On 1 December 2015 at 15:52, Janne Blomqvist > wrote: >>> On Tue, Dec 1, 2015 at 2:54 PM, Bernhard Reutner-Fischer >>> wrote: These three function used a h

Re: [PATCH] Use gfc_add_*_component defines where appropriate

2016-06-18 Thread Bernhard Reutner-Fischer
Ping. On December 1, 2015 1:54:58 PM GMT+01:00, Bernhard Reutner-Fischer wrote: >A couple of places used gfc_add_component_ref(expr, "string") instead >of >the defines from gfortran.h > >Regstrapped without regressions, ok for trunk stage3 now / next stage1? > >gcc/fortran/ChangeLog > >2015-11-2

[PATCH, fortran, v4] Use Levenshtein spelling suggestions in Fortran FE

2016-06-18 Thread Bernhard Reutner-Fischer
Hi, Ok for trunk? Changes for v4 -> v3: - rebased - Use 4 argument levenshtein_distance() to save multiple strlen(typo) calls as suggested by dmalcolm Changes for v2 -> v3: - rebased Changes for v1 -> v2: - subroutines using interfaces - keyword arguments (named parameters) Rewrite C++ au

Re: [PATCH] Commentary typo fix for gfc_typenode_for_spec()

2016-06-18 Thread Bernhard Reutner-Fischer
On Tue, Dec 01, 2015 at 08:00:15AM -0800, Steve Kargl wrote: > On Tue, Dec 01, 2015 at 01:55:00PM +0100, Bernhard Reutner-Fischer wrote: > > Regstrapped without regressions, ok for trunk stage3 now / next stage1? > > > > gcc/fortran/ChangeLog > > > > 2015-11-29 Bernhard Reutner-Fischer > > >

[PATCH] c/71552 - Confusing error for incorrect struct initialization

2016-06-18 Thread Martin Sebor
The attached patch slightly changes the order in which initializers are checked for type compatibility to issue the same error for static initializers of incompatible types as for automatic objects, rather than rejecting the former for their lack of constness first. I originally closed the bug as

Re: [PATCH] PR52665 do not let .ident confuse assembler scan tests

2016-06-18 Thread Hans-Peter Nilsson
On Sat, 18 Jun 2016, Bernhard Reutner-Fischer wrote: > A branch with a name matching scan-assembler pattern triggers > inappropriate FAIL. > > E.g. branch fixups-testsuite and > - gcc.target/i386/pr65871-?.c (scan-assembler-not "test") > - gcc.target/i386/pr41442.c (scan-assembler-times "test|cmp"

Re: RFC: pass to warn on questionable uses of alloca().

2016-06-18 Thread Martin Sebor
On 06/16/2016 02:32 AM, Aldy Hernandez wrote: Hi folks! I've been working on a plugin to warn on unbounded uses of alloca() to help find questionable uses in glibc and other libraries. It occurred to me that the broader community could benefit from it, as it has found quite a few interesting ca

Re: [Patch, avr] Fix PR 71151

2016-06-18 Thread Senthil Kumar Selvaraj
Georg-Johann Lay writes: > Senthil Kumar Selvaraj schrieb: >> Hi, >> >> This patch fixes PR 71151 by eliminating the >> TARGET_ASM_FUNCTION_RODATA_SECTION hook and setting >> JUMP_TABLES_IN_TEXT_SECTION to 1. >> >> As described in the bugzilla entry, this hook assumed it will get >> c