[Bug fortran/68968] Internal Compiler error with cpp

2015-12-18 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68968 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[PATCH, PR68956, committed] Fix constants used for boolean vectors

2015-12-18 Thread Ilya Enkovich
Hi, Here is a trivial patch to fix boolean vector invariants. Bootstrapped and tested on x86_64-pc-linux-gnu. Applied to trunk. Thanks, Ilya -- gcc/ 2015-12-18 Ilya Enkovich PR tree-optimization/68956 * tree-vect-stmts.c (vect_init_vector): Fix

[Bug tree-optimization/68963] [4.9/5/6 Regression] O3 vs. O2 discards part of loop and terminates early

2015-12-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68963 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

Re: [Patch] S/390: Simplify vector conditionals

2015-12-18 Thread Andreas Krebbel
On 12/17/2015 10:51 AM, Robin Dapp wrote: > 2015-12-15 Robin Dapp > > * config/s390/predicates.md: Change and rename > constm1_operand to all_ones_operand > * config/s390/s390.c (s390_expand_vcond): Use all_ones_operand > *

Re: [Patch] S/390: Simplify vector conditionals

2015-12-18 Thread Andreas Krebbel
On 12/15/2015 10:53 AM, Robin Dapp wrote: > gcc/ChangeLog: > > 2015-12-15 Robin Dapp > > * config/s390/s390.c (s390_expand_vcond): Convert vector > conditional into shift. > * config/s390/vector.md: Change operand predicate. > >

[Patch testsuite] Skip gcc.dg/ifcvt-4.c for targets on which it may not work

2015-12-18 Thread James Greenhalgh
This is a multi-part message in MIME format. --2.2.0.1.gd394abb.dirty Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit Hi, PR68232 is a testsuite failure for targets with very low branch costs. As the test is looking for if-conversion, it will

Re: [RFC][PATCH] Fix broken handling of LABEL_REF in genrecog + genpreds.

2015-12-18 Thread Richard Sandiford
Dominik Vogt writes: > The attached patch fixes the handling of LABEL_REF in genrecog and > genpreds. > > The current code assumes that X can have only a mode than PRED (X, > MODE) if X is CONST_INT, CONST_DOUBLE or CONST_WIDE_INT, but > actually that can be also the case

[Bug tree-optimization/68707] [6 Regression] testcase gcc.dg/vect/O3-pr36098.c vectorized using VEC_PERM_EXPR rather than VEC_LOAD_LANES

2015-12-18 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68707 --- Comment #22 from rguenther at suse dot de --- On Thu, 17 Dec 2015, alalaw01 at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68707 > > --- Comment #21 from alalaw01 at gcc dot gnu.org --- > Here's the smallest

[Bug rtl-optimization/68796] Make use of and-immediate+compare instructions more robust

2015-12-18 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68796 --- Comment #2 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Dec 18 09:58:07 2015 New Revision: 231810 URL: https://gcc.gnu.org/viewcvs?rev=231810=gcc=rev Log: [AArch64] PR rtl-optimization/68796 Add compare-of-zero_extract

[Bug tree-optimization/68956] [6 regression] Vectorizer miscompilation of 416.gamess

2015-12-18 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68956 --- Comment #5 from Ilya Enkovich --- Author: ienkovich Date: Fri Dec 18 10:01:02 2015 New Revision: 231811 URL: https://gcc.gnu.org/viewcvs?rev=231811=gcc=rev Log: gcc/ PR tree-optimization/68956 * tree-vect-stmts.c

[Bug tree-optimization/68956] [6 regression] Vectorizer miscompilation of 416.gamess

2015-12-18 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68956 Ilya Enkovich changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/68973] [6 regression] Internal compiler error on power for gcc/testsuite/g++.dg/pr67211.C

2015-12-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68973 Richard Biener changed: What|Removed |Added Target||powerpc64* Target Milestone|---

[Bug c++/68954] [5/6 Regression] -Wdeprecated-declarations -Werror errors for system header templates

2015-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68954 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug tree-optimization/68906] [6 Regression] ICE at -O3 on x86_64-linux-gnu: verify_ssa failed

2015-12-18 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68906 --- Comment #4 from Ilya Enkovich --- Author: ienkovich Date: Fri Dec 18 10:16:56 2015 New Revision: 231812 URL: https://gcc.gnu.org/viewcvs?rev=231812=gcc=rev Log: gcc/ 2015-12-18 Yuri Rumyantsev PR

[Bug tree-optimization/68951] [6 Regression] ICE in vect_update_misalignment_for_peel

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

[Bug tree-optimization/68964] [6 regression] Internal compiler error for test case gcc.dg/tm/20100610.c since r231674

2015-12-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68964 Richard Biener changed: What|Removed |Added CC||rth at gcc dot gnu.org Target

Re: [PATCH PR68542]

2015-12-18 Thread Yuri Rumyantsev
Hi Richard, Here is updated patch for middle-end part of the whole patch which fixes all your remarks I hope. Regression testing and bootstrapping did not show any new failures. Is it OK for trunk? Yuri. ChangeLog: 2015-12-18 Yuri Rumyantsev PR middle-end/68542 *

Re: [PATCH] S/390: Allow to use r2 to r4 as literal pool base.

2015-12-18 Thread Dominik Vogt
Latest patch for r2 to r4, including a test case. Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany gcc/ChangeLog * config/s390/s390.c (s390_init_frame_layout): Try r4 to r2 for the literal pool pointer. gcc/testsuite/ChangeLog * gcc.target/s390/litpool-r3-1.c: New

[Bug fortran/68800] Fortran FE produces many memory leaks

2015-12-18 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68800 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/68971] -Woverflow false alarm in code unreachable after __builtin_mul_overflow

2015-12-18 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68971 --- Comment #6 from Paul Eggert --- (In reply to Martin Sebor from comment #5) > This is a valid constant expression I'm aware of the distinction between constant and other expressions. I'm trying to give the ordinary user's viewpoint, not the

Re: [PATCH] Fix PR68852

2015-12-18 Thread Richard Biener
On Thu, 17 Dec 2015, Kyrill Tkachov wrote: > > On 14/12/15 15:14, Richard Biener wrote: > > The following fixes PR68852 - so I finally needed to sit down and > > fix the "build-from-scalars" hack in the SLP vectorizer by pretending > > we'd have a sane vectorizer IL. Basically I now mark the

[Bug c++/68795] [6 Regression] Use of uninitialised value of size 8 in cp_parser_postfix_expression (parser.c:6831)

2015-12-18 Thread nickc at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68795 --- Comment #4 from Nick Clifton --- Hi David, > Bother; I have another patch for this I was about to post, which is > bootstrapping right now Oops - sorry for treading on your toes! Cheers Nick

[Bug tree-optimization/68946] [6 Regression] ICE at -O3 on x86_64-linux-gnu in both 32- and 64-bit modes (in vect_analyze_stmt, at tree-vect-stmts.c:8013)

2015-12-18 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68946 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

Re: [PATCH] Fix PR68852

2015-12-18 Thread Kyrill Tkachov
On 18/12/15 08:57, Richard Biener wrote: On Thu, 17 Dec 2015, Kyrill Tkachov wrote: On 14/12/15 15:14, Richard Biener wrote: The following fixes PR68852 - so I finally needed to sit down and fix the "build-from-scalars" hack in the SLP vectorizer by pretending we'd have a sane vectorizer IL.

[Bug tree-optimization/68962] [6 Regression] internal compiler error: in vect_analyze_stmt, at tree-vect-stmts.c:8013 when building 416.gamess on aarch64

2015-12-18 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68962 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

Re: basic asm and memory clobbers - Proposed solution

2015-12-18 Thread David Wohlferd
On 12/17/2015 6:03 AM, Jeff Law wrote: On 12/17/2015 03:39 AM, Andrew Haley wrote: On 17/12/15 01:41, David Wohlferd wrote: On the contrary, I would be surprised to learn that there are ANY compilers (other than clang) that support gcc's extended asm format. Prepare to be surprised: Sun

[Committed] S/390: Deprecate g5 and g6 CPU levels.

2015-12-18 Thread Andreas Krebbel
Hi, I've committed the attached patch which emits warnings whenever g5 or g6 are being used explicitely as -march/-mtune parameters. These machines can only be seen in museums nowadays and have no practical use anymore. They do not support the z/Architecture mode required for 64 bit. The Linux

[Bug fortran/68196] [4.9/5 Regression] ICE on function result with procedure pointer component

2015-12-18 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68196 --- Comment #10 from Paul Thomas --- Author: pault Date: Fri Dec 18 09:34:13 2015 New Revision: 231807 URL: https://gcc.gnu.org/viewcvs?rev=231807=gcc=rev Log: 2015-12-18 Paul Thomas PR fortran/68196

[Bug c++/68954] [5/6 Regression] -Wdeprecated-declarations -Werror errors for system header templates

2015-12-18 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68954 --- Comment #6 from rguenther at suse dot de --- On Thu, 17 Dec 2015, manu at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68954 > > --- Comment #4 from Manuel López-Ibáñez --- > (In reply to Richard Biener from

Re: AW: basic asm and memory clobbers - Proposed solution

2015-12-18 Thread David Wohlferd
On 12/17/2015 11:30 AM, Bernd Edlinger wrote: On Thu, 17 Dec 2015 15:13:07, Bernd Schmidt wrote: What's your take on making -Wonly-top-basic-asm a default (either now or v7)? Is making it a non-default a waste of time because no one will ever see it? Or is making it a default too

Re: [Patch, fortran} pr68196 [4.9/5 Regression] ICE on function result with procedure pointer component

2015-12-18 Thread Paul Richard Thomas
Sorry, yes; proc_ptr_48.f90 ! { dg-do run } ! ! Checks the fix for PR68196, comment #8 ! ! Contributed by Damian Rouson ! type Bug ! Failed at trans--array.c:8269 real, allocatable :: scalar

Re: [Patch, fortran} pr68196 [4.9/5 Regression] ICE on function result with procedure pointer component

2015-12-18 Thread Paul Richard Thomas
Dear Steve, Thanks - committed as revision 231807. I will have a poke around to see if there are any more similar opportunities for infinite recursion in trans-array.c (structure_alloc_comps). This turned out to be the most difficult part of the patch for recursive allocatable components (on hold

Re: [AArch64] Simplify TLS pattern by hardcoding relocation modifiers into pattern

2015-12-18 Thread Jiong Wang
On 17/12/15 11:44, Marcus Shawcroft wrote: On 10 September 2015 at 12:28, Jiong Wang wrote: TLS instruction sequences are always with fixed format, there is no need to use operand modifier, we can hardcode the relocation modifiers into instruction pattern, all those

[Bug fortran/68534] No error on mismatch in number of arguments between submodule and module interface

2015-12-18 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68534 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH] S/390: Wide int support.

2015-12-18 Thread Richard Sandiford
"Ulrich Weigand" writes: > Richard Sandiford wrote: >> "Ulrich Weigand" writes: >> > The problem is not DImode LABEL_REFs, but rather VOIDmode LABEL_REFs when >> > matched against a match_operand:DI. >> >> It'd be good to fix this in a more direct way

Re: [PATCH][AArch64][1/2] PR rtl-optimization/68796 Add compare-of-zero_extract pattern

2015-12-18 Thread Kyrill Tkachov
On 17/12/15 17:24, James Greenhalgh wrote: On Thu, Dec 17, 2015 at 03:36:40PM +, Kyrill Tkachov wrote: 2015-12-17 Kyrylo Tkachov PR rtl-optimization/68796 * config/aarch64/aarch64.md (*and3nr_compare0_zextract): New pattern. *

Re: [PATCH] S/390: Allow to use r2 to r4 as literal pool base.

2015-12-18 Thread Andreas Krebbel
On 12/18/2015 11:21 AM, Dominik Vogt wrote: > Latest patch for r2 to r4, including a test case. gcc/ChangeLog * config/s390/s390.c (s390_init_frame_layout): Try r4 to r2 for the literal pool pointer. gcc/testsuite/ChangeLog * gcc.target/s390/litpool-r3-1.c: New test.

[Bug tree-optimization/68961] [6 regression] Test case gcc.target/powerpc/pr60203.c fails since r231674

2015-12-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68961 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.0 --- Comment #3 from Richard Biener

Re: Fix alias.c wrt aliases and anchors

2015-12-18 Thread Richard Sandiford
> Hi, > the alias-2.c testcase fails on targets with anchors. The reason is that > the variable itself is anchored while the alias is not and they point to the > same location. I folllowed the docs of SYMBOL_REF claiming that > SYMBOL_REF_DECL if the symbol is label and tought it is safe to

[Bug c++/67592] A virtual member function declared constexpr fails to trigger a diagnostic

2015-12-18 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67592 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/68937] i686: -fno-plt produces wrong code (maybe only with tailcall)

2015-12-18 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68937 --- Comment #11 from Zdenek Sojka --- (In reply to H.J. Lu from comment #10) > (In reply to Zdenek Sojka from comment #9) ... > > > > Please try > > https://gcc.gnu.org/ml/gcc-patches/2015-12/msg01759.html Testsuite run with "-fPIC -fno-plt"

[Bug testsuite/68776] [6 regression] gcc.dg/vect/vect-widen-mult-const-[su]16.c failures since r226675

2015-12-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68776 --- Comment #7 from Richard Biener --- (In reply to rguent...@suse.de from comment #6) > On December 17, 2015 4:19:00 PM GMT+01:00, "wschmidt at gcc dot gnu.org" > wrote: >

[Bug c++/68978] New: [6 Regression] bogus error: lvalue required as left operand of assignment

2015-12-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68978 Bug ID: 68978 Summary: [6 Regression] bogus error: lvalue required as left operand of assignment Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/68910] [5/6 regression] huge stack frame and poor code with instruction scheduling at -O2

2015-12-18 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68910 --- Comment #10 from Eric Botcazou --- > In case I revert (e.g. double revert) to enable the LRA for SPARC > > commit a28f6dc56909fc35dd83d4364bc68c69e2450a51 > Author: davem > Date: Tue Sep 22

[Patch, fortran] [6 Regression] ICE: in gfc_get_descriptor_dimension, at fortran/trans-array.c:268

2015-12-18 Thread Paul Richard Thomas
Dear All, This is a rather trivial patch... going on 'obvious' in fact. However, I must confess to not being entirely sure why the problem is occurring. Deferred arrays are emanating from the finalizer that are being presented as ARRAY_TYPES rather than descriptors. What ever is the reason, the

[Bug fortran/68649] [6 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used

2015-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/68385] [6 Regression] ICE building libstdc++ on arm-none-eabi

2015-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68385 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug c++/68978] [6 Regression] bogus error: lvalue required as left operand of assignment

2015-12-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68978 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ada/62236] : error: aggregate value used where an integer was expected

2015-12-18 Thread porton at narod dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62236 --- Comment #5 from Victor Porton --- Not fixed in 5.3.1.

[Bug rtl-optimization/65980] [6 Regression] -fcompare-debug failure building Linux kernel

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

[Bug bootstrap/67598] [6 Regression] Target powerpc-e500v2-linux-gnuspe failed to bootstrap

2015-12-18 Thread nickc at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67598 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #3

[Bug ada/62042] Missing optimization of copying non-limited objects

2015-12-18 Thread porton at narod dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042 --- Comment #9 from Victor Porton --- Not fixed in 5.3.1.

[Bug other/66827] [6 Regression] left shifts of negative value warnings due to C++14 switch

2015-12-18 Thread nickc at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66827 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #8

[Bug ada/62235] segmentation fault on Ada 2012 code

2015-12-18 Thread porton at narod dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235 --- Comment #7 from Victor Porton --- Not fixed in 5.3.1.

[Bug c++/68763] [6 Regression] ICE: in verify_unstripped_args, at cp/pt.c:1132

2015-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68763 Jakub Jelinek changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug target/65931] [5/6 regression] dsymutil assertion failure building libgnat-5.dylib

2015-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65931 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #9

Backport: [Patch AArch64] Reinstate CANNOT_CHANGE_MODE_CLASS to fix pr67609

2015-12-18 Thread James Greenhalgh
On Mon, Dec 14, 2015 at 11:49:26AM +, Marcus Shawcroft wrote: > On 14 December 2015 at 11:01, James Greenhalgh > wrote: > > On Wed, Dec 09, 2015 at 01:13:20PM +, Marcus Shawcroft wrote: > >> On 27 November 2015 at 13:01, James Greenhalgh

RFA: Libiberty: Fix warnings about left shifting a negative value.

2015-12-18 Thread Nick Clifton
Hi DJ, Hi Ian, GCC PR 66827 reports some problems with left shifting a negative value: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66827 Of the problems reported only two remain - in libiberty/regex.c: libiberty/regex.c:6970:11: runtime error: left shift of negative value -1

[Bug ipa/66764] [6 Regression] ICE in analyze_function() on AIX

2015-12-18 Thread nickc at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66764 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #2

[RFC] Delayed folding, match-and-simplify and early GIMPLE

2015-12-18 Thread Richard Biener
The following tries to address the issue that with delayed folding and the general attempt to do folding on GIMPLE we have "unfolded" trees up to the point where we go into SSA (as otherwise the match-and-simplify machinery on GIMPLE can't get to the defs of uses to match larger expressions).

[Bug c++/68979] New: [6 Regression] error: left operand of shift expression ‘(-1 << 4)’ is negative

2015-12-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68979 Bug ID: 68979 Summary: [6 Regression] error: left operand of shift expression ‘(-1 << 4)’ is negative Product: gcc Version: 6.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/68977] [gomp4] FAIL: c-c++-common/goacc/loop-2.c (internal compiler error)

2015-12-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68977 vries at gcc dot gnu.org changed: What|Removed |Added CC||nathan at gcc dot gnu.org ---

Re: [PATCH 2/4] gcc/arc: Remove load_update_operand predicate

2015-12-18 Thread Andrew Burgess
* Joern Wolfgang Rennecke [2015-12-17 10:20:44 +]: > On 16/12/15 00:15, Andrew Burgess wrote: > > > > * config/arc/arc.md (*loadqi_update): Use 'memory_operand' and fix > > RTL pattern to include the plus. > > (*load_zeroextendqisi_update): Likewise. > >

[Bug c++/68979] [6 Regression] error: left operand of shift expression ‘(-1 << 4)’ is negative

2015-12-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68979 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

Re: [PATCH 3/4] gcc/arc: Remove store_update_operand predicate

2015-12-18 Thread Andrew Burgess
Here's a revised version of this patch, written to use the any_mem_operand predicate. Thanks, Andrew -- The use of the arc specific predicate store_update_operand is broken, this commit fixes the error, switching to use 'any_mem_operand' instead. Currently store_update_operand is used with

[Bug c++/68979] [6 Regression] error: left operand of shift expression ‘(-1 << 4)’ is negative

2015-12-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68979 --- Comment #2 from Markus Trippelsdorf --- (In reply to Marek Polacek from comment #1) > Why do you think this is a bug? Note that -1 << 4 is rejected in a context > where an integer constant expression is required only in C++11/14. I think

[PATCH][RTL-ifcvt] PR rtl-optimization/68841: Make sure one basic block doesn't clobber CC reg usage of the other

2015-12-18 Thread Kyrill Tkachov
Hi all, In this PR we have a THEN and an ELSE block where one uses the condition reg from the preceeding comparison but the other block has an arithmetic operation that clobbers the CC reg. ifcvt emits the latter first and dead code elimination later sees this and eliminates the first

[Bug go/68980] [6 regression] ps -o cmd in gotest isn't portable

2015-12-18 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68980 Rainer Orth changed: What|Removed |Added Target Milestone|--- |6.0

[Bug go/68980] New: [6 regression] ps -o cmd in gotest isn't portable

2015-12-18 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68980 Bug ID: 68980 Summary: [6 regression] ps -o cmd in gotest isn't portable Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH][RTL-ifcvt] PR rtl-optimization/68841: Make sure one basic block doesn't clobber CC reg usage of the other

2015-12-18 Thread Bernd Schmidt
On 12/18/2015 02:07 PM, Kyrill Tkachov wrote: In this PR we have a THEN and an ELSE block where one uses the condition reg from the preceeding comparison but the other block has an arithmetic operation that clobbers the CC reg. ifcvt emits the latter first and dead code elimination later sees

[Bug target/68770] [6 Regression] Conditional jump or move depends on uninitialised value(s) default_secondary_reload() targhooks.c:940

2015-12-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68770 --- Comment #2 from Markus Trippelsdorf --- trippels@gcc2-power8 ~ % ../gcc/configure --enable-checking=valgrind --with-cpu=power8 --disable-libsanitizer --disable-bootstrap --disable-libstdcxx-pch --disable-libvtv --disable-libitm

[Bug libstdc++/68982] New: Missing explicit qualification for std::forward in functional

2015-12-18 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68982 Bug ID: 68982 Summary: Missing explicit qualification for std::forward in functional Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Patch ifcvt] Add a new parameter to limit if-conversion

2015-12-18 Thread James Greenhalgh
Hi, PR68920 talks about undesirable if-conversion in the x86 back-end. The if-conversion cost model simply uses BRANCH_COST (I want to revisit this for GCC 7), but BRANCH_COST is overloaded in the compiler and reducing it causes other optimisations to be disabled. Consequently, to fix the PR we

Re: mark test requiring pthreads

2015-12-18 Thread Nathan Sidwell
On 12/18/15 09:36, Rainer Orth wrote: Hi Nathan, c-c++-common/attr-simd-3.c's use of -fcilkplus means it requires pthreads. why would this matter for a compile test? What happens without? Executing on host: nvptx-none-gcc

[Bug target/68770] [6 Regression] Conditional jump or move depends on uninitialised value(s) default_secondary_reload() targhooks.c:940

2015-12-18 Thread nickc at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68770 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1

[Bug target/68895] [ARM] ICE with target attributes

2015-12-18 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68895 --- Comment #3 from chrbr at gcc dot gnu.org --- Created attachment 37083 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37083=edit fix under validation Initial patch to recompute DECL_MODE

[Bug target/65931] [5/6 regression] dsymutil assertion failure building libgnat-5.dylib

2015-12-18 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65931 --- Comment #10 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #9 from Jakub Jelinek --- > Any news on this? If we want to workaround it, it should be bisected and > analyzed what is the difference in the debug info. > Or just use a

Martin Jambor appointed HSA Maintainer

2015-12-18 Thread David Edelsohn
I am pleased to announce that the GCC Steering Committee has appointed Martin Jambor as HSA maintainer. Please join me in congratulating Martin on his new role. Martin, please update your listing in the MAINTAINERS file. Happy hacking! David

[Bug middle-end/67639] ICE at -O1 and above on x86_64-linux-gnu in expand_gimple_basic_block, at cfgexpand.c:5697

2015-12-18 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67639 Bernd Schmidt changed: What|Removed |Added CC||bernds at gcc dot gnu.org

[Bug libstdc++/68982] Missing explicit qualification for std::forward in functional

2015-12-18 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68982 --- Comment #2 from Roger Orr --- Created attachment 37082 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37082=edit Example of failure, against code using boost 1.57.0

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2015-12-18 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 chrbr at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |chrbr at gcc dot

Re: [PATCH][RTL-ifcvt] PR rtl-optimization/68841: Make sure one basic block doesn't clobber CC reg usage of the other

2015-12-18 Thread Kyrill Tkachov
On 18/12/15 13:16, Bernd Schmidt wrote: On 12/18/2015 02:07 PM, Kyrill Tkachov wrote: In this PR we have a THEN and an ELSE block where one uses the condition reg from the preceeding comparison but the other block has an arithmetic operation that clobbers the CC reg. ifcvt emits the latter

[Bug tree-optimization/68977] [gomp4] FAIL: c-c++-common/goacc/loop-2.c (internal compiler error)

2015-12-18 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68977 --- Comment #3 from Nathan Sidwell --- As the code is ill-formed, and IIUC the error only happens if we;ve seen an error, I suggest push_gimplify_context (!seen_error ()); No point making the compiler work harder than necesary in the usual

[Bug c++/68975] Request: Provide alternate keyword for decltype in C++03

2015-12-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68975 --- Comment #1 from Jonathan Wakely --- I see that clang supports __decltype (but not __decltype__, strangely)

[Bug c++/68763] [6 Regression] ICE: in verify_unstripped_args, at cp/pt.c:1132

2015-12-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68763 --- Comment #11 from Markus Trippelsdorf --- (In reply to Jakub Jelinek from comment #9) > Isn't this related or dup of PR66745 ? > > As for the lvalue error, reduced testcase is: > template > int > foo (int max, int i, int radix, int c) > { >

[Bug tree-optimization/68835] [5 Regression] ICE in set_value_range, at tree-vrp.c:387, with __int128 bit field

2015-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68835 --- Comment #13 from Jakub Jelinek --- Author: jakub Date: Fri Dec 18 14:38:17 2015 New Revision: 231817 URL: https://gcc.gnu.org/viewcvs?rev=231817=gcc=rev Log: Backported from mainline 2015-12-17 Jakub Jelinek

Re: [v3 PATCH] PR libstdc++/68276

2015-12-18 Thread Jonathan Wakely
On 17/12/15 00:38 +0200, Ville Voutilainen wrote: On 17 December 2015 at 00:12, Ville Voutilainen wrote: Tested on Linux-PPC64. 2015-12-17 Ville Voutilainen PR libstdc++/68276 * src/c++11/ios.cc (_M_grow_words): Use

Re: mark test requiring pthreads

2015-12-18 Thread Rainer Orth
Hi Nathan, > On 12/18/15 09:36, Rainer Orth wrote: >> Hi Nathan, >> >>> c-c++-common/attr-simd-3.c's use of -fcilkplus means it requires pthreads. >> >> why would this matter for a compile test? What happens without? > > Executing on host: nvptx-none-gcc >

[Bug libstdc++/68276] ios_base::_M_grow_words should use new (std::nothrow)

2015-12-18 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68276 --- Comment #2 from ville at gcc dot gnu.org --- Author: ville Date: Fri Dec 18 15:17:09 2015 New Revision: 231819 URL: https://gcc.gnu.org/viewcvs?rev=231819=gcc=rev Log: 2015-12-18 Ville Voutilainen PR

[PATCH] Fix PR68776

2015-12-18 Thread Richard Biener
The following should fix PR68776, a testism with the new mult pattern. The patch changes pattern recog to print a more specific 'pattern recognized' and make the two offending testcases scan for what it is looking. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard.

[C++ Patch] PR 67592 ("A virtual member function declared constexpr fails to trigger a diagnostic")

2015-12-18 Thread Paolo Carlini
Hi, a simple issue: we fail to reject such declarations. While working on it, I noticed a tad of inconsistency in our error messages, where we have a mix of, eg, "... declared %..." and "... declared virtual...". I think we should prefer the former and spotted a few places needing

Re: [PATCH][combine][v2] Canonicalise (r + r) to (r << 1) to aid recognition

2015-12-18 Thread Bernd Schmidt
On 12/18/2015 03:29 PM, Kyrill Tkachov wrote: Bootstrapped and tested on arm, aarch64, x86_64. As before, there were no codegen differences for SPEC2006 on x86_64. aarch64 SPEC2006 sees the effects described above. I think this is OK. There may be some question as to whether this is a bug

[Bug libstdc++/68984] New: error: ‘constexpr bool std::isinf(double)’ conflicts with a previous declaration

2015-12-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68984 Bug ID: 68984 Summary: error: ‘constexpr bool std::isinf(double)’ conflicts with a previous declaration Product: gcc Version: 6.0 Status: UNCONFIRMED Severity:

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2015-12-18 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 --- Comment #13 from chrbr at gcc dot gnu.org --- Created attachment 37084 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37084=edit preliminary fix

[Bug ipa/68981] New: [4.9/5/6 Regression] g++.dg/ipa/pr60640-4.C FAILs with -ftree-vectorize

2015-12-18 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68981 Bug ID: 68981 Summary: [4.9/5/6 Regression] g++.dg/ipa/pr60640-4.C FAILs with -ftree-vectorize Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/68982] Missing explicit qualification for std::forward in functional

2015-12-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68982 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/68983] [6 Regression] ICE: in store_field, at expr.c:6659

2015-12-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68983 --- Comment #1 from Markus Trippelsdorf --- Created attachment 37081 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37081=edit unreduced testcase

RE: [Patch,tree-optimization]: Add new path Splitting pass on tree ssa representation

2015-12-18 Thread Zamyatin, Igor
> On 12/11/2015 03:05 AM, Richard Biener wrote: > > On Thu, Dec 10, 2015 at 9:08 PM, Jeff Law wrote: > >> On 12/03/2015 07:38 AM, Richard Biener wrote: > >>> > >>> This pass is now enabled by default with -Os but has no limits on > >>> the amount of stmts it copies. > >> > >> The

[Bug c++/68970] Missing "expected ; after class" message

2015-12-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68970 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic

Re: [Patch ifcvt] Add a new parameter to limit if-conversion

2015-12-18 Thread Yuri Rumyantsev
James, We implemented slightly different patch - we restrict number of SET instructions for if-conversion through new parameter and add check in bb_ok_for_noce_convert_multiple_sets: + unsigned limit = MIN (ii->branch_cost, + (unsigned) PARAM_VALUE (PARAM_MAX_IF_CONV_SET_INSNS)); .. - if

  1   2   3   >