[Bug c++/85076] [6/7/8 Regression] ICE with invalid template used as lambda argument

2018-03-26 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85076 --- Comment #4 from Paolo Carlini --- (In reply to Jakub Jelinek from comment #2) > That matches what build_pointer_type and build_reference_type do as well. Then, I say, let's definitely go with that!

[Bug c++/85057] GCC fails to vectorize code unless dummy loop is added

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85057 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug c++/85076] [6/7/8 Regression] ICE with invalid template used as lambda argument

2018-03-26 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85076 --- Comment #3 from Paolo Carlini --- Or in forward_parm itself, right after 'tree type = TREE_TYPE (parm);' would be very safe too.

[Bug c++/85076] [6/7/8 Regression] ICE with invalid template used as lambda argument

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85076 --- Comment #2 from Jakub Jelinek --- I'd go with: --- gcc/cp/tree.c.jj2018-03-21 21:18:31.738351376 +0100 +++ gcc/cp/tree.c 2018-03-26 11:22:47.067967708 +0200 @@ -1078,6 +1078,9 @@ cp_build_reference_type (tree to_type, b { tree l

[Bug rtl-optimization/85072] g++ -O1 consumes all memory

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85072 --- Comment #3 from Richard Biener --- Doing a more "correct" patch like below shows that nearly all possible "starts" are covered: (gdb) p bitmap_count_bits(starts) $2 = 500039 (gdb) p max_regno - lra_constraint_new_regno_start $4 = 505207 so

[Bug c++/85076] [6/7/8 Regression] ICE with invalid template used as lambda argument

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85076 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/85063] Support switch conversion in offloading functions

2018-03-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85063 Tom de Vries changed: What|Removed |Added Keywords||ice-on-valid-code, patch --- Comment #9 f

[Bug target/48701] [missed optimization] GCC fails to use aliasing of ymm and xmm registers

2018-03-26 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48701 --- Comment #3 from Matthias Kretz --- Updated test case at https://godbolt.org/g/D5P1N1. `testLoad` was fixed with 4.7. `testStore` still combines via the stack.

[Bug c++/85070] [8 Regression] ICE on C++ code: in lazily_declare_fn, at cp/method.c:2409

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85070 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug c++/85067] [8 Regression] ICE with volatile parameter in defaulted copy-constructor

2018-03-26 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85067 --- Comment #2 from Paolo Carlini --- The below, very lightly tested so far, should work fine, adjusts DECL_DECLARED_CONSTEXPR_P as we used to do - before r253321 - a few lines below before returning. Jakub, I'm in the middle of a few other thing

[Bug rtl-optimization/85072] g++ -O1 consumes all memory

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85072 --- Comment #2 from Richard Biener --- So I did a stupid search for live_reload_and_inheritance_pseudos in lra-assigns.c and found a single use here: static int find_hard_regno_for_1 (int regno, int *cost, int try_only_hard_regno,

[Bug target/40411] -std=c99 does not enable c99 mode in Solaris C library

2018-03-26 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #40 from Rainer Orth --- Created attachment 43755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43755&action=edit gcc-7 backport patch

[Bug c++/85068] [6/7/8 Regression] ICE with invalid covariant return type hierarchy

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85068 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/40411] -std=c99 does not enable c99 mode in Solaris C library

2018-03-26 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #39 from Rainer Orth --- Created attachment 43753 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43753&action=edit gcc-5 backport patch There's been some interest in a backport of the patch to gcc-5 and gcc-7 branches. Since I'

[Bug tree-optimization/85063] Support switch conversion in offloading functions

2018-03-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85063 Tom de Vries changed: What|Removed |Added Keywords||openmp Summary|Switch conversi

[Bug rtl-optimization/85072] g++ -O1 consumes all memory

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85072 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog, |

[Bug c++/85068] [6/7/8 Regression] ICE with invalid covariant return type hierarchy

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85068 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85067] [8 Regression] ICE with volatile parameter in defaulted copy-constructor

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85067 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85057] GCC fails to vectorize code unless dummy loop is added

2018-03-26 Thread mokreutzer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85057 --- Comment #3 from Moritz Kreutzer --- (In reply to Richard Biener from comment #1) > Attachment is missing. Thanks! I could swear that I uploaded the attachment in the first place, but it seems like I forgot to click the button to actually att

[Bug c++/85076] [6/7/8 Regression] ICE with invalid template used as lambda argument

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85076 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug middle-end/85074] FAIL: g++.dg/torture/pr81812.C (test for excess errors)

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85074 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug c++/85062] [6/7/8 Regression] ICE on alignas with parameter pack

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85062 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/43514] use of SSE shift intrinsics introduces unnecessary moves to the stack and back

2018-03-26 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43514 Matthias Kretz changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/85066] FAIL: gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c scan-tree-dump vect "vectorized 1 loops"

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85066 --- Comment #3 from Richard Biener --- Author: rguenth Date: Mon Mar 26 08:18:43 2018 New Revision: 258851 URL: https://gcc.gnu.org/viewcvs?rev=258851&root=gcc&view=rev Log: 2018-03-26 Richard Biener PR testsuite/85066 * gcc.

[Bug c++/85068] [6/7/8 Regression] ICE with invalid covariant return type hierarchy

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85068 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug c++/85067] [8 Regression] ICE with volatile parameter in defaulted copy-constructor

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85067 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug tree-optimization/85066] FAIL: gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c scan-tree-dump vect "vectorized 1 loops"

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

[Bug tree-optimization/85066] FAIL: gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c scan-tree-dump vect "vectorized 1 loops"

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85066 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/85063] Switch conversion in openacc routine introduces unsupported construct

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85063 --- Comment #7 from Richard Biener --- I agree that following the language standard shouldn't probibit the middle-end from doing its own things so IMHO this bug is INVALID.

[Bug c++/85057] GCC fails to vectorize code unless dummy loop is added

2018-03-26 Thread mokreutzer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85057 --- Comment #2 from Moritz Kreutzer --- Created attachment 43752 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43752&action=edit Example which GCC fails to vectorize

[Bug c++/85062] [6/7/8 Regression] ICE on alignas with parameter pack

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85062 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug rtl-optimization/85059] Compiling with -Og should preserve variable values

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85059 --- Comment #2 from Richard Biener --- Note that -Og is to optimize the debugging experience _while still optimizing_. In that sense the aim is to be more like -O1 for runtime performance but more like -O0 for debugging experience. Those are of

[Bug c++/85057] GCC fails to vectorize code unless dummy loop is added

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85057 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/85076] New: [6/7/8 Regression] ICE with invalid template used as lambda argument

2018-03-26 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85076 Bug ID: 85076 Summary: [6/7/8 Regression] ICE with invalid template used as lambda argument Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: error-recove

[Bug tree-optimization/85050] Vectorized function - suboptimal gather

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85050 Richard Biener changed: What|Removed |Added Blocks||53947 --- Comment #2 from Richard Biene

<    1   2