[Bug tree-optimization/65494] [5 Regression] Loop is not vectorized because of operand canonicalization.

2015-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65494 --- Comment #5 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Mon Mar 23 12:47:54 2015 New Revision: 221592 URL: https://gcc.gnu.org/viewcvs?rev=221592root=gccview=rev Log: 2015-03-23 Richard Biener rguent...@suse.de

Re: Offloading GSOC 2015

2015-03-23 Thread guray ozen
Hi Kirill, Thread hierarchy management and creation policy is very interesting topic for me as well. I came across that paper couple weeks ago. Creating more threads in the beginning and applying suchlike busy-waiting or if-master algorithm generally works better than dynamic parallelism due to

[Bug libgcc/57221] [4.8/4.9/5 regression] libgcc symbol visibility changes break Android blobs

2015-03-23 Thread mkuvyrkov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57221 --- Comment #9 from Maxim Kuvyrkov mkuvyrkov at gcc dot gnu.org --- Hi Bero, I'm working on reproducing this. How do you build the android toolchain? Is it manual or do you have this scripted? In particular, do you use a pre-generated sysroot

[Bug target/65504] [4.9/5 Regression] select case with strings and -fgcse -O

2015-03-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[PATCH] Fix PR65494

2015-03-23 Thread Richard Biener
This fixes PR65494 - I don't remember why I re-allocated matches before recursing into operands. But that at least breaks backtracking. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2015-03-23 Richard Biener rguent...@suse.de PR tree-optimization/65494

[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196 Bug 24196 depends on bug 24882, which changed state. Bug 24882 Summary: [meta-bug] Non-refcounted, moveable basic_string https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24882 What|Removed |Added

[Bug libstdc++/16612] empty basic_strings can't live in shared memory

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16612 Bug 16612 depends on bug 24882, which changed state. Bug 24882 Summary: [meta-bug] Non-refcounted, moveable basic_string https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24882 What|Removed |Added

[Bug libstdc++/21334] Lack of Posix compliant thread safety in std::basic_string

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21334 Bug 21334 depends on bug 24882, which changed state. Bug 24882 Summary: [meta-bug] Non-refcounted, moveable basic_string https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24882 What|Removed |Added

[Bug libstdc++/19495] basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19495 Bug 19495 depends on bug 24882, which changed state. Bug 24882 Summary: [meta-bug] Non-refcounted, moveable basic_string https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24882 What|Removed |Added

[Bug libstdc++/24882] [meta-bug] Non-refcounted, moveable basic_string

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24882 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug bootstrap/65522] [5 Regression] Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_dem

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65522 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug bootstrap/65522] [5 Regression] Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_dem

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65522 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||charlet at gcc

[Bug c++/64931] ICE on function with deduced return type and input is instantiated template class

2015-03-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64931 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added CC||mpolacek at

Re: [Patch 1/2, Fortran, pr60322] [OOP] Incorrect bounds on polymorphic dummy array

2015-03-23 Thread Andre Vehreschild
Hi Mikael, thanks for looking at the patch. Please note, that Paul has sent an addendum to the patches for 60322, which I deliberately have attached. 26/02/2015 18:17, Andre Vehreschild a écrit : This first patch is only preparatory and does not change any of the semantics of gfortran at

[Bug target/65504] [4.9/5 Regression] select case with strings and -fgcse -O

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504 --- Comment #17 from Jakub Jelinek jakub at gcc dot gnu.org --- Created attachment 35108 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35108action=edit gcc5-pr65504.patch Patch I'm going to bootstrap/regtest now.

[Bug bootstrap/65522] [5 Regression] Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_dem

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65522 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/21334] Lack of Posix compliant thread safety in std::basic_string

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21334 --- Comment #51 from Jonathan Wakely redi at gcc dot gnu.org --- This is no longer an issue when using the new non-reference-counted std::string implementation in GCC 5.

[Bug target/65456] powerpc64le autovectorized copy loop missed optimization

2015-03-23 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65456 --- Comment #11 from Bill Schmidt wschmidt at gcc dot gnu.org --- (In reply to David Edelsohn from comment #10) I believe that the choice to scalarize is based on the vector cost model. Hm, that would be interesting. The applied patch changes

[Bug bootstrap/65522] [5 Regression] Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_dem

2015-03-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65522 --- Comment #4 from Eric Botcazou ebotcazou at gcc dot gnu.org --- Ah, except ada_demangle is also exported from libgnat*.so - wonder why the RTS is built with IN_GCC. This is explained in gcc-interface/Makefile.in. In that case, guess the

Re: ARC length attribute patch

2015-03-23 Thread Joern Wolfgang Rennecke
On 20/03/15 16:02, Claudiu Zissulescu wrote: Hi Joern, I have a small patch for ARC backend that fixes the value of instruction length attribute when the instruction is predicated. Ok to apply? Assuming you tested it, this patch is OK.

Re: ARC length attribute patch

2015-03-23 Thread Joern Wolfgang Rennecke
On 23/03/15 11:22, Joern Wolfgang Rennecke wrote: On 20/03/15 16:02, Claudiu Zissulescu wrote: Hi Joern, I have a small patch for ARC backend that fixes the value of instruction length attribute when the instruction is predicated. Ok to apply? Assuming you tested it, this patch is OK.

[Bug c++/64570] error: non-trivial conversion at assignment

2015-03-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64570 --- Comment #5 from Markus Trippelsdorf trippels at gcc dot gnu.org --- (In reply to David Binderman from comment #4) Seems ok with trunk dated 20150322. No, it still fails. You're probably using an --enable-checking=release compiler...

Re: [Patch, Fortran, v1] Cosmetics and code simplify

2015-03-23 Thread Mikael Morin
Le 20/03/2015 14:51, Andre Vehreschild a écrit : Hi all, during checking that pr 61275 is really fixed, I found a indentation issue and a piece of my former code, that could be done nicer and more readable. This patch addresses both these issues. Bootstraps and regtests ok on

RE: [PATCH, GCC, stage1] Fallback to copy-prop if constant-prop not possible

2015-03-23 Thread Thomas Preud'homme
From: Steven Bosscher [mailto:stevenb@gmail.com] Sent: Friday, March 20, 2015 8:14 PM I put the cprop_reg_p check there instead of !HARD_REGISTER_P because I like to be able to quickly find all places where a similar check is performed. The check is whether the reg is something that

Re: [Patch, Fortran, pr55901, v1] [OOP] type is (character(len=*)) misinterpreted as array

2015-03-23 Thread Paul Richard Thomas
Dear Andre, Yes, that's right. The first three (vtab rework 1/2 and pr64787) are combined and reformatted in the .diff file that I sent you. Please use that and then apply the pr55901 patch. This is what I am okaying. Cheers Paul On 23 March 2015 at 10:45, Andre Vehreschild ve...@gmx.de

Re: [PATCH, GCC, stage1] Fallback to copy-prop if constant-prop not possible

2015-03-23 Thread Steven Bosscher
On Mon, Mar 23, 2015 at 12:01 PM, Thomas Preud'homme wrote: What about the cprop_reg_p that needs to be negated? Did I miss something that makes it ok? You didn't miss anything. I sent the wrong patch. The one I tested on ppc64 also has the condition reversed: @@ -1328,9 +1329,8 @@

[Bug fortran/60255] [OOP] Deferred character length variable at (1) cannot yet be associated with unlimited polymorphic entities

2015-03-23 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60255 --- Comment #9 from vehre at gcc dot gnu.org --- Author: vehre Date: Mon Mar 23 11:58:49 2015 New Revision: 221591 URL: https://gcc.gnu.org/viewcvs?rev=221591root=gccview=rev Log: gcc/fortran/ChangeLog 2015-03-23 Andre Vehreschild

[Bug c++/64570] error: non-trivial conversion at assignment

2015-03-23 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64570 --- Comment #4 from David Binderman dcb314 at hotmail dot com --- Seems ok with trunk dated 20150322.

[Bug fortran/64952] Missing temporary in assignment from elemental function

2015-03-23 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64952 --- Comment #7 from Mikael Morin mikael at gcc dot gnu.org --- (In reply to paul.richard.tho...@gmail.com from comment #6) Thanks for finishing the job. I have yet to fix 4.9 as well, as you suggested. In a week or so. Will you post a message

[Bug c++/64570] error: non-trivial conversion at assignment

2015-03-23 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64570 --- Comment #6 from David Binderman dcb314 at hotmail dot com --- (In reply to Markus Trippelsdorf from comment #5) No, it still fails. You're probably using an --enable-checking=release compiler... Indeed I am, sorry for the false alarm.

[Bug libstdc++/65473] Including ciso646 does not define __GLIBCXX__

2015-03-23 Thread ldionne.2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65473 --- Comment #2 from Louis Dionne ldionne.2 at gmail dot com --- Does the standard specify which headers should define those macros? If not, then it's a QOI issue that could easily be solved. In all cases, does stdcxx document which headers must

Re: [Patch 1/2, Fortran, pr60322] [OOP] Incorrect bounds on polymorphic dummy array

2015-03-23 Thread Mikael Morin
26/02/2015 18:17, Andre Vehreschild a écrit : This first patch is only preparatory and does not change any of the semantics of gfortran at all. Sure? diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index ab6f7a5..d28cf77 100644 --- a/gcc/fortran/expr.c +++ b/gcc/fortran/expr.c @@

[Bug ada/65519] [5 regression] unable to coalesce ssa_names 2 and 87 which are marked as MUST COALESCE

2015-03-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65519 --- Comment #4 from Eric Botcazou ebotcazou at gcc dot gnu.org --- This boils down to: with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Interfaces;use Interfaces; package P is type Arr is array (Unsigned_32 range ) of

[Bug target/65523] ICE: in gimple_op, at gimple.h:2270 with -fcheck-pointer-bounds -mmpx

2015-03-23 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65523 Kai Tietz ktietz at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug bootstrap/65522] [5 Regression] Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_dem

2015-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65522 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1

Re: [commited, Fortran, Backport to 4.9, pr60255] [OOP] Deferred character length variable at (1) cannot yet be associated with unlimited polymorphic entities

2015-03-23 Thread Andre Vehreschild
Hi all, commited as r221591 to gcc_4.9-branch. Okayed by Paul via IRC on 2015-03-22. Thanks, Paul. gcc/fortran/ChangeLog 2015-03-23 Andre Vehreschild ve...@gmx.de Janus Weil ja...@gcc.gnu.org Backported from mainline PR fortran/60255 Initial patch

[Bug rtl-optimization/65504] [4.9/5 Regression] select case with strings and -fgcse -O

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

Re: [Patch 1/2, Fortran, pr60322] [OOP] Incorrect bounds on polymorphic dummy array

2015-03-23 Thread Mikael Morin
Le 23/03/2015 13:43, Andre Vehreschild a écrit : Hi Mikael, thanks for looking at the patch. Please note, that Paul has sent an addendum to the patches for 60322, which I deliberately have attached. 26/02/2015 18:17, Andre Vehreschild a écrit : This first patch is only preparatory and

[PATCH] Fix PR65518

2015-03-23 Thread Richard Biener
This fixes PR65518 where the vectorizer builds a gigantic load/interleaving chain for single element interleaving with a very large distance. This situation isn't really supported (and works by luck with generating absymal code), thus the following simply disables support for it. Bootstrapped

Re: Fix ICEs on ODR violating programs and improve ODR mismatch diagnostic

2015-03-23 Thread Jakub Jelinek
On Sun, Mar 22, 2015 at 11:11:24PM +0100, Jan Hubicka wrote: --- testsuite/g++.dg/lto/pr65475b_0.C (revision 0) +++ testsuite/g++.dg/lto/pr65475b_0.C (revision 0) @@ -0,0 +1,9 @@ +/* { dg-lto-do link } */ +/* { dg-options -O2 -Wno-odr } */ Wasn't this supposed to be dg-lto-options instead?

[Bug tree-optimization/65518] gcc consumes all memory with -O3

2015-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65518 --- Comment #4 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Mon Mar 23 14:59:57 2015 New Revision: 221595 URL: https://gcc.gnu.org/viewcvs?rev=221595root=gccview=rev Log: 2015-03-23 Richard Biener rguent...@suse.de

[Bug tree-optimization/65518] gcc consumes all memory with -O3

2015-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65518 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Known to work||5.0

Re: Fix ICEs on ODR violating programs and improve ODR mismatch diagnostic

2015-03-23 Thread Richard Biener
On Mon, Mar 23, 2015 at 3:59 PM, Jakub Jelinek ja...@redhat.com wrote: On Sun, Mar 22, 2015 at 11:11:24PM +0100, Jan Hubicka wrote: --- testsuite/g++.dg/lto/pr65475b_0.C (revision 0) +++ testsuite/g++.dg/lto/pr65475b_0.C (revision 0) @@ -0,0 +1,9 @@ +/* { dg-lto-do link } */ +/* { dg-options

[PATCH] Add some REG_POINTER flags during ix86 memcpy/memset expansion (PR target/65504)

2015-03-23 Thread Jakub Jelinek
Hi! As expand_set_or_movmem_prologue_epilogue_by_misaligned_moves uses src = src - (adjusted_dest - dest) without proper REG_POINTER flags the aliasing code is very easily confused on what is really a pointer and what is not - as REG_POINTER was used after forwprop only on dest, but not on

[Bug ipa/65521] [5 Regression] nondeterministic -fcompare-debug failures

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65521 --- Comment #10 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Mon Mar 23 15:17:20 2015 New Revision: 221596 URL: https://gcc.gnu.org/viewcvs?rev=221596root=gccview=rev Log: PR ipa/65521 * ipa-icf.c

Re: [PATCH] Fix warnings from including fdl.texi into gnat-style.texi

2015-03-23 Thread Gerald Pfeifer
On Fri, 20 Mar 2015, Tom de Vries wrote: The gnat-style.texi part is OK. I cannot approve the fdl part though. Gerald, Can you approve the fdl part? Let's assume I can. Okay. Can you just describe the _why_ a bit in a @comment (in simple words beyond showing the error message), that is,

[PATCH] Don't hash pointers for IPA ICF, instead hash -order ints (PR ipa/65521)

2015-03-23 Thread Jakub Jelinek
Hi! The recent IPA ICF hashing changes broke -fcompare-debug, hashing in pointers is not stable not just for -fcompare-debug, but supposedly even just different runs with the exact same options could yield different assembly. Hashing on DECL_UID is not good either, that is not guaranteed to be

Re: [PATCH] Don't hash pointers for IPA ICF, instead hash -order ints (PR ipa/65521)

2015-03-23 Thread Richard Biener
On Mon, 23 Mar 2015, Jakub Jelinek wrote: Hi! The recent IPA ICF hashing changes broke -fcompare-debug, hashing in pointers is not stable not just for -fcompare-debug, but supposedly even just different runs with the exact same options could yield different assembly. Hashing on DECL_UID

[PATCH] Fix Ada bootstrap (PR bootstrap/65522)

2015-03-23 Thread Jakub Jelinek
Hi! Honza's recent change to use the libiberty demangler inside of gcc broke Ada bootstrap. The issue is that there is a symbol clash, libiberty contains ada_demangle symbol (with one API), and ada/adadecode.c (since around 3.3 time, claimed for compatibility) contains another one, with

Re: [PATCH] Add some REG_POINTER flags during ix86 memcpy/memset expansion (PR target/65504)

2015-03-23 Thread Uros Bizjak
On Mon, Mar 23, 2015 at 4:07 PM, Jakub Jelinek ja...@redhat.com wrote: As expand_set_or_movmem_prologue_epilogue_by_misaligned_moves uses src = src - (adjusted_dest - dest) without proper REG_POINTER flags the aliasing code is very easily confused on what is really a pointer and what is not -

[Bug ipa/65521] [5 Regression] nondeterministic -fcompare-debug failures

2015-03-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65521 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

Unnamed Struct / Union

2015-03-23 Thread Umesh Kalappa
Hi All , GCC 4.8.3 ,pop up with below error /home/i16382/an.c:13:18: error: duplicate member 'bOriginator' unsigned bOriginator; ^ for the case union { struct { unsigned bStatusType; unsigned bOriginator; }; struct {

[Bug ipa/65521] [5 Regression] nondeterministic -fcompare-debug failures

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65521 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug ipa/65521] [5 Regression] nondeterministic -fcompare-debug failures

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65521 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org --- Created attachment 35105 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35105action=edit gcc5-pr65521.patch This fixes this for me. But I haven't done any in-depth analysis

[Bug ipa/65502] pure-const should play well with clobbers.

2015-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65502 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug testsuite/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple memcpy

2015-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |ASSIGNED

[Bug testsuite/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple memcpy

2015-03-23 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506 --- Comment #4 from dave.anglin at bell dot net --- On 2015-03-23 10:05 AM, jakub at gcc dot gnu.org wrote: Indeed, have verified this with the cross-compiler and the attached patch should cure this. I have applied the patch for testing but hit

[Bug ada/65524] gnatbind generates decrementing the unexisting elab-counter into finalize_library

2015-03-23 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65524 Arnaud Charlet charlet at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug bootstrap/65522] [5 Regression] Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_dem

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65522 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Attachment #35109|0 |1 is

[Bug c++/59254] confusing diagnostic for undefined template shadowed by declaration in inline namespace

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59254 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug libstdc++/65500] [5 Regression] FAIL: 17_intro/headers/c++2014/all_attributes.cc (test for excess errors)

2015-03-23 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65500 --- Comment #3 from dave.anglin at bell dot net --- On 2015-03-23 10:02 AM, redi at gcc dot gnu.org wrote: 3) Use fixincludes to change either the definition of __LWP_RWLOCK_VALID to (short)0x8c91 or change the definition of

[Bug tree-optimization/65494] [5 Regression] Loop is not vectorized because of operand canonicalization.

2015-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65494 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/65523] ICE: in gimple_op, at gimple.h:2270 with -fcheck-pointer-bounds -mmpx

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65523 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/65047] [c++17] Add support for nested namespace defintions.

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65047 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC||bkoz at gcc dot

[Bug c++/59256] qualified name in friend function declaration doesn't match previous declaration in inline namespace

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59256 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||accepts-invalid

[Bug sanitizer/59009] libsanitizer merge from upstream r191666 breaks bootstrap on powerpc64-linux and aarch64-linux

2015-03-23 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59009 --- Comment #56 from clyon at gcc dot gnu.org --- Author: clyon Date: Mon Mar 23 13:43:22 2015 New Revision: 221593 URL: https://gcc.gnu.org/viewcvs?rev=221593root=gccview=rev Log: 2015-03-23 Christophe Lyon christophe.l...@linaro.org PR

[Bug testsuite/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple memcpy

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506 --- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org --- Created attachment 35111 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35111action=edit gcc5-pr65506.patch Indeed, have verified this with the cross-compiler and the attached

[Bug ada/65519] [5 regression] unable to coalesce ssa_names 2 and 87 which are marked as MUST COALESCE

2015-03-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65519 --- Comment #5 from Eric Botcazou ebotcazou at gcc dot gnu.org --- It's forwprop4 propagating an abnormal SSA name: bb 5: [...] I.3_30(ab) = I.3_1 + 1; _31 = (interfaces__unsigned_32) I.3_30(ab); [...] bb 13: _43 = v.P_ARRAY; _45

[Bug c++/21494] condensed nested namespaces

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21494 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/65047] [c++17] Add support for nested namespace defintions.

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65047 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug ada/65524] New: gnatbind generates decrementing the unexisting elab-counter into finalize_library

2015-03-23 Thread demoonlit at panathenaia dot halfmoon.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65524 Bug ID: 65524 Summary: gnatbind generates decrementing the unexisting elab-counter into finalize_library Product: gcc Version: unknown Status: UNCONFIRMED

[Bug sanitizer/59009] libsanitizer merge from upstream r191666 breaks bootstrap on powerpc64-linux and aarch64-linux

2015-03-23 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59009 --- Comment #57 from clyon at gcc dot gnu.org --- Cherry-picked r230324 and committed in GCC as r221593, to fix aarch64 problems. I'm not sure whether the old arm and hppa problems have been fixed?

[Bug target/65504] [4.9/5 Regression] select case with strings and -fgcse -O

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/65500] [5 Regression] FAIL: 17_intro/headers/c++2014/all_attributes.cc (test for excess errors)

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65500 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to dave.anglin from comment #1) At one time, GCC was permissive about system header issues, particularly when they aren't really a problem. Is this still the case? It

Re: Fix ICEs on ODR violating programs and improve ODR mismatch diagnostic

2015-03-23 Thread Jakub Jelinek
On Mon, Mar 23, 2015 at 04:07:10PM +0100, Richard Biener wrote: On Mon, Mar 23, 2015 at 3:59 PM, Jakub Jelinek ja...@redhat.com wrote: On Sun, Mar 22, 2015 at 11:11:24PM +0100, Jan Hubicka wrote: --- testsuite/g++.dg/lto/pr65475b_0.C (revision 0) +++ testsuite/g++.dg/lto/pr65475b_0.C

[Bug target/65504] [4.9 Regression] select case with strings and -fgcse -O

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Summary|[4.9/5 Regression] select |[4.9 Regression]

[Bug tree-optimization/65518] [4.8/4.9 Regression] gcc consumes all memory with -O3

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65518 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug target/65496] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2318 with -O3 -fsched2-use-superblocks -mavx512dq --param=max-pending-list-length=0

2015-03-23 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65496 --- Comment #3 from Richard Henderson rth at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #2) Richard, any thoughts what to do about this? Avoid scheduling frame related instructions across conditional jumps? Something else?

Re: [PATCH] Fix Ada bootstrap (PR bootstrap/65522)

2015-03-23 Thread Arnaud Charlet
In any case, for compatibility, this patch just changes the guard so that adadecode.c's ada_demangle is compiled only into libgnat*.{a,so} and not into gnat1, which can then successfully link against libiberty cplus-dem.o. The ipa-devirt.c change is obvious IMHO, the same header is included

[Bug libstdc++/64967] [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64967 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org --- Looks reasonable.

[Bug bootstrap/65522] [5 Regression] Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_dem

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65522 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Mon Mar 23 15:49:02 2015 New Revision: 221599 URL: https://gcc.gnu.org/viewcvs?rev=221599root=gccview=rev Log: PR bootstrap/65522 * ipa-devirt.c: Remove

[Bug bootstrap/65522] [5 Regression] Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_dem

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65522 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

Re: [Patch 1/2, Fortran, pr60322] [OOP] Incorrect bounds on polymorphic dummy array

2015-03-23 Thread Andre Vehreschild
Hi Mikael, This pointer stuff is very difficult to swallow to me. I totally understand. When doing the patch I had to restart twice, because I mixed up the development on the class arrays so completely, that I couldn't get it right again. I understand that for classes, the CLASS_DATA

[Bug ada/65519] [5 regression] unable to coalesce ssa_names 2 and 87 which are marked as MUST COALESCE

2015-03-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65519 --- Comment #6 from Eric Botcazou ebotcazou at gcc dot gnu.org --- The problematic statement is created by the gimple-match stuff: Applying pattern match.pd:761, gimple-match.c:1727 Applying pattern match.pd:625, gimple-match.c:1525

[Bug target/65504] [4.9/5 Regression] select case with strings and -fgcse -O

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504 --- Comment #18 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Mon Mar 23 15:31:59 2015 New Revision: 221597 URL: https://gcc.gnu.org/viewcvs?rev=221597root=gccview=rev Log: PR target/65504 * config/i386/i386.c

[Bug ipa/62051] [4.9/5 Regression] Undefined reference to vtable with -O2 and -fdevirtualize-speculatively

2015-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62051 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Priority|P1 |P2

[Bug rtl-optimization/60851] [4.9 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2117 with -flive-range-shrinkage -mdispatch-scheduler -march=bdver4

2015-03-23 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60851 --- Comment #14 from Richard Henderson rth at gcc dot gnu.org --- (In reply to Uroš Bizjak from comment #13) In 4.9 branch, the check is located in three different places throughout constrain_operands. There was a big cleanup by Richard

[Bug libstdc++/64967] [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64967 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #2) Or drop the gnu-versioned-namespace support altogether. I'd like to do that ... maybe for GCC 6 though. It seems a bit late now to

[Bug target/65523] New: ICE: in gimple_op, at gimple.h:2270 with -fcheck-pointer-bounds -mmpx

2015-03-23 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65523 Bug ID: 65523 Summary: ICE: in gimple_op, at gimple.h:2270 with -fcheck-pointer-bounds -mmpx Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

Re: Fix ICEs on ODR violating programs and improve ODR mismatch diagnostic

2015-03-23 Thread Jakub Jelinek
On Sun, Mar 22, 2015 at 11:11:24PM +0100, Jan Hubicka wrote: PR ipa/65475 * ipa-devirt.c: Include demangle.h === --- ipa-devirt.c (revision 221572) +++ ipa-devirt.c (working copy) @@ -166,6 +166,7 @@ along

RE: ARC length attribute patch

2015-03-23 Thread Claudiu Zissulescu
I have a small patch for ARC backend that fixes the value of instruction length attribute when the instruction is predicated. Ok to apply? Assuming you tested it, this patch is OK. Sorry, I replied to the wrong patch - I meant to reply to your email with the patch that only adds a

Re: [patch c++]: Fix for PR/65390

2015-03-23 Thread Jason Merrill
On 03/20/2015 10:53 AM, Kai Tietz wrote: * tree.c (strip_typedefs): Ignore alignment difference during processing template. + || (processing_template_decl + TYPE_ALIGN (t) != TYPE_ALIGN (result))) Your change is actually ignoring alignment differences when *not*

Re: [PATCH] Add some REG_POINTER flags during ix86 memcpy/memset expansion (PR target/65504)

2015-03-23 Thread Jeff Law
On 03/23/2015 03:33 PM, Eric Botcazou wrote: FWIW, you have to be very careful depending on REG_POINTER. I believe Ada can still set REG_POINTER on things that are not pointers (via virtual origins) and cross jumping can cause problems too where one arm has x + y with X as the pointer and the

[Bug target/65531] New: ICE: symtab_node::verify failed: Two symbols with same comdat_group are not linked by the same_comdat_group list. with -fcheck-pointer-bounds -mmpx

2015-03-23 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65531 Bug ID: 65531 Summary: ICE: symtab_node::verify failed: Two symbols with same comdat_group are not linked by the same_comdat_group list. with -fcheck-pointer-bounds -mmpx

[Bug fortran/65532] New: [5 Regression] Unexpected error with legacy code (D1MACH)

2015-03-23 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65532 Bug ID: 65532 Summary: [5 Regression] Unexpected error with legacy code (D1MACH) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/56226] Add support for DEC UNION and MAP extensions

2015-03-23 Thread joel.matz at horizonbtc dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56226 Joel Matz joel.matz at horizonbtc dot com changed: What|Removed |Added CC||joel.matz at

Re: [PATCH] Add some REG_POINTER flags during ix86 memcpy/memset expansion (PR target/65504)

2015-03-23 Thread Jeff Law
On 03/23/2015 09:07 AM, Jakub Jelinek wrote: Hi! As expand_set_or_movmem_prologue_epilogue_by_misaligned_moves uses src = src - (adjusted_dest - dest) without proper REG_POINTER flags the aliasing code is very easily confused on what is really a pointer and what is not - as REG_POINTER was used

Re: [PATCH, ARM, PR64208] LRA ICE Fix

2015-03-23 Thread Ramana Radhakrishnan
On Wed, Mar 18, 2015 at 10:19 AM, Yvan Roux yvan.r...@linaro.org wrote: Hi, This is a fix for PR64208 where LRA loops when dealing with iwmmxt_arm_movdi insn. As explain in the PR, the issue was introduced on trunk and 4.9 branch by fix of PR rtl-optimization/60969 and then workaround by

Re: [PATCH ARM]Fix memset-inline-* failures on cortex-a9 tune by checking tune information.

2015-03-23 Thread Ramana Radhakrishnan
On Tue, Mar 17, 2015 at 3:34 AM, Bin.Cheng amker.ch...@gmail.com wrote: On Fri, Mar 13, 2015 at 7:56 PM, Ramana Radhakrishnan ramana@googlemail.com wrote: On Fri, Mar 6, 2015 at 7:46 AM, Bin Cheng bin.ch...@arm.com wrote: Hi, This patch is the second part fixing

[PATCH][ARM] PR 65489: Accept VSTRUCT constants in arm_legitimate_constant_p

2015-03-23 Thread Kyrill Tkachov
Hi all, The ICE in the PR happens on arm during the hoist pass when the code generates a SET rtx of the form: (set (reg:OI) (const_int 0)). It checks whether const_int 0 is a general_operand for OImode which involves asking the backend whether it's a legitimate constant.

  1   2   3   >