[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

[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 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 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++/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 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 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 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/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 --- 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 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 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 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++/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 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++/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++/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 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 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 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 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 #40 from Rainer Orth --- Created attachment 43755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43755&action=edit gcc-7 backport patch

[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 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 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 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 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 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 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 --- 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 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++/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 #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++/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|NEW |ASSIGNED Assignee|unassigned a

[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 --- Comment #10 from Tom de Vries --- Author: vries Date: Mon Mar 26 09:45:49 2018 New Revision: 258852 URL: https://gcc.gnu.org/viewcvs?rev=258852&root=gcc&view=rev Log: Fix switch conversion in offloading functions 2018-03-26 Tom de Vries

[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 Status|UNCONFIRMED |RESOLVED Resolution|---

[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 Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gnu.org Target

[Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for function static var

2018-03-26 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84592 Tom de Vries changed: What|Removed |Added Summary|[openacc,openmp] lto1: ICE |[openacc,openmp] lto1: ICE

[Bug target/85077] New: V[248][SD]F abs not optimized to

2018-03-26 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85077 Bug ID: 85077 Summary: V[248][SD]F abs not optimized to Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/85061] ICE with __builtin_offsetof applied to static member

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85061 --- Comment #2 from Jakub Jelinek --- Created attachment 43757 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43757&action=edit gcc8-pr85061.patch Untested fix.

[Bug target/83789] __builtin_altivec_lvx fails for powerpc for altivec-4.c

2018-03-26 Thread kaushikp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83789 --- Comment #27 from kaushikp at gcc dot gnu.org --- I have verified the backported patch to GCC-7 and it fixes the issues I had observed earlier. Thanks again Peter for this!

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

2018-03-26 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85050 --- Comment #3 from H.J. Lu --- (In reply to Richard Biener from comment #2) > IIRC there's a related bug with regard to double <-> float conversions and > SSE > vectorization. Can't find it right now. PR 36844?

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

2018-03-26 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85050 --- Comment #4 from H.J. Lu --- (In reply to H.J. Lu from comment #3) > (In reply to Richard Biener from comment #2) > > IIRC there's a related bug with regard to double <-> float conversions and > > SSE > > vectorization. Can't find it right no

[Bug c++/85046] [8 Regression] cp/name-lookup.c:6175:53: runtime error: member access within null pointer of type 'struct cp_binding_level'

2018-03-26 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85046 --- Comment #3 from Nathan Sidwell --- Created attachment 43758 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43758&action=edit another example I've further altered the testcase. This one ICEs at #3 all the way back to gcc-5 (at least).

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

2018-03-26 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85070 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/85077] V[248][SD]F abs not optimized to

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

[Bug c++/85077] V[248][SD]F abs not optimized to

2018-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85077 Richard Biener changed: What|Removed |Added Component|target |c++ --- Comment #2 from Richard Biener

[Bug rtl-optimization/78200] [7/8 Regression] 429.mcf of cpu2006 regresses in GCC trunk for avx2 target.

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78200 --- Comment #23 from Jakub Jelinek --- Created attachment 43759 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43759&action=edit gcc8-pr78200.patch Does this patch make any difference on the benchmark?

[Bug lto/85047] cdd2a01 (and others) FAIL with -flto

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

[Survey Invite] Bug report duplication problem - Help our study

2018-03-26 Thread amcgitirana
I've invited you to fill out the following form: Professional Profile To fill it out, visit: https://docs.google.com/forms/d/e/1FAIpQLSfQTZkrylE1t49gjzewPQSPWHFnPtGCZfRujg_G8VTwqGrbHg/viewform?c=0&w=1&usp=mail_form_link Dear friend, I am a master's student in Computer Science at the Federal Uni

[Bug go/84948] [8 regression] ICE in set_from, at go/gofrontend/types.cc:2660

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

[Bug c++/85077] V[248][SD]F abs not optimized to

2018-03-26 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85077 --- Comment #3 from Matthias Kretz --- Ouch, right I didn't think of non-finite values. I.e. -0 < 0 is false... However, this is what I wanted: abs(-inf) -> inf abs( inf) -> inf abs( nan) -> nan abs( -0) -> 0 abs( 0) -> 0 The sign bit manip

[Bug c++/85077] V[248][SD]F abs not optimized to

2018-03-26 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85077 --- Comment #4 from Matthias Kretz --- Oh, there seems to be a regression in GCC 8. In 7 it works as you say. In 8 I can't get the andps to show up

[Bug inline-asm/85030] [6/7 Regression] internal compiler error: Floating point exception (validate_subreg())

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85030 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] internal |[6/7 Regression] internal

[Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 --- Comment #66 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #63) > --- gcc/dwarf2out.c 2018-03-11 17:48:53.498068316 +0100 > +++ gcc/dwarf2out.c 2018-03-13 10:58:03.477514623 +0100 > @@ -28282,6 +28282,7 @@ output_macinfo (

[Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #20 from Jakub Jelinek --- Andrew, a friendly ping on this. The #c13 patch looks like a good progress, what happened to it?

[Bug c/78568] [6/7/8/9 Regression] Wtype-limits warning regression

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78568 Jakub Jelinek changed: What|Removed |Added Keywords||deferred Target Milestone|6.5

[Bug other/31852] Missing __builtin_memchr

2018-03-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31852 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Mon Mar 26 13:09:10 2018 New Revision: 258854 URL: https://gcc.gnu.org/viewcvs?rev=258854&root=gcc&view=rev Log: Add workaround to std::variant for Clang bug 31852 * include/std

[Bug target/84786] [miscompilation] vunpcklpd accessing xmm16-22 targeting KNL

2018-03-26 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84786 --- Comment #8 from Matthias Kretz --- There seems to be a similar bug for vpsrlw and vpsllw. Do you need a testcase? (It's hard to hit the bug... just had one occur on a Travis CI build)

[Bug c++/85077] [8 Regression] V[248][SD]F abs not optimized to

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

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

2018-03-26 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85074 --- Comment #2 from John David Anglin --- We have default TARGET_USE_LOCAL_THUNK_ALIAS_P and TARGET_ASM_CAN_OUTPUT_MI_THUNK is default_can_output_mi_thunk_no_vcall(). if (!this_adjusting || !targetm.asm_out.can_output_mi_thunk (thunk_fnd

[Bug lto/85078] New: LTO ICE: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in decl_mangling_context, at cp/mangle.c:878

2018-03-26 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85078 Bug ID: 85078 Summary: LTO ICE: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in decl_mangling_context, at cp/mangle.c:878 Product

[Bug c++/85049] [8 Regression] Internal compiler error with __integer_pack

2018-03-26 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85049 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85049] [8 Regression] Internal compiler error with __integer_pack

2018-03-26 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85049 --- Comment #4 from Jason Merrill --- Author: jason Date: Mon Mar 26 14:37:50 2018 New Revision: 258856 URL: https://gcc.gnu.org/viewcvs?rev=258856&root=gcc&view=rev Log: PR c++/85049 - ICE with __integer_pack. * pt.c (unify_pac

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

2018-03-26 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85062 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/84786] [miscompilation] vunpcklpd accessing xmm16-22 targeting KNL

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84786 --- Comment #9 from Jakub Jelinek --- (In reply to Matthias Kretz from comment #8) > There seems to be a similar bug for vpsrlw and vpsllw. Do you need a > testcase? (It's hard to hit the bug... just had one occur on a Travis CI > build) I don't

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-26 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #32 from Andrey Guskov --- Created attachment 43761 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43761&action=edit Dump as requested in #c31 Jakub, see the attachment. This is the log of what I get, packed in 7Z. At a glance,

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-26 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #33 from Andrey Guskov --- This is the full execution line I used to produce the log in question, and with which the test continues failing: $ gfortran -fdump-tree-all -fdump-rtl-all -m64 -c -o sw_absorption.fppized.o -march=core-avx

[Bug target/84786] [miscompilation] vunpcklpd accessing xmm16-22 targeting KNL

2018-03-26 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84786 --- Comment #10 from Matthias Kretz --- This is all I have right now: TID 0 SDE-ERROR: Executed instruction not valid for specified chip (KNL): 0x70d281: vpsrlw xmm0, xmm0, xmm16 Image: /home/travis/build/VcDevel/Vc/build-Experimental/c2dd920conc

[Bug target/84786] [miscompilation] vunpcklpd accessing xmm16-22 targeting KNL

2018-03-26 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84786 --- Comment #11 from Matthias Kretz --- Created attachment 43762 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43762&action=edit test case that produces incorrect vpsrlw Compiled with `g++-7 -std=c++17 -O0 -fabi-version=0 -fabi-compat-ver

[Bug libstdc++/84654] libstdc++ tries to use __float128 when compiling with -mno-float128

2018-03-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84654 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #2 from Jonathan Wak

[Bug c++/85079] New: Segfault While Compiling DXX-Rebirth Project

2018-03-26 Thread afuturepilotis at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85079 Bug ID: 85079 Summary: Segfault While Compiling DXX-Rebirth Project Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/84878] ICE: Segmentation fault (in add_cross_iteration_register_deps)

2018-03-26 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84878 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/84786] [miscompilation] vunpcklpd accessing xmm16-22 targeting KNL

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84786 --- Comment #12 from Jakub Jelinek --- For 7.x I think we need: --- gcc/config/i386/sse.md.jj 2018-03-05 17:04:45.820743323 +0100 +++ gcc/config/i386/sse.md 2018-03-26 17:29:00.967880855 +0200 @@ -10687,7 +10687,7 @@ [(set (match_operan

[Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888

2018-03-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 --- Comment #11 from Martin Jambor --- I guess you'll need to check whether it is PR 55334 (i.e. not preserving restrict accross ipa-cp and/or inlining) coming back somehow...

[Bug c++/85071] The g++ delete the memory alloced by new operator before I manually delete it.

2018-03-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85071 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/85071] The g++ delete the memory alloced by new operator before I manually delete it.

2018-03-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85071 --- Comment #2 from Jonathan Wakely --- Both valgrind and AddressSanitizer would have found this bug, you should use them.

[Bug lto/85078] LTO ICE: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in decl_mangling_context, at cp/mangle.c:878

2018-03-26 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85078 --- Comment #1 from Franz Sirl --- The ICE was introduced between r257623 and r257685.

[Bug libstdc++/28457] ext/pb_ds/regression/tree_data_map_rand.cc fails with a particular random seed.

2018-03-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28457 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/85080] New: [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-03-26 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 Bug ID: 85080 Summary: [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678 Product: gcc Version: 8.0 Status: UNCO

[Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-03-26 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 seurer at gcc dot gnu.org changed: What|Removed |Added Target||powerpc64*-*-*

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

2018-03-26 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85062 --- Comment #2 from Jason Merrill --- Author: jason Date: Mon Mar 26 16:30:41 2018 New Revision: 258859 URL: https://gcc.gnu.org/viewcvs?rev=258859&root=gcc&view=rev Log: PR c++/85062 - ICE with alignas in wrong place. * decl.c

[Bug sanitizer/85081] New: [7(8 Regression] Sanitizer error with references in vectorized/parallel for-loop

2018-03-26 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85081 Bug ID: 85081 Summary: [7(8 Regression] Sanitizer error with references in vectorized/parallel for-loop Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #34 from Jakub Jelinek --- Ok, I can now reproduce, but only with -flto, not without that. Without -flto, before pre I see: [local count: 85892]: # logchl_591 = PHI <-3.0097868371792719699442386627197265625e+0(33), lo

[Bug c/55976] -Werror=return-type should error on returning a value from a void function

2018-03-26 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55976 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|dave.pagan a

[Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV

2018-03-26 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 --- Comment #67 from rguenther at suse dot de --- On March 26, 2018 2:46:08 PM GMT+02:00, "jakub at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 > >--- Comment #66 from Jakub Jelinek --- >(In reply to Jakub Jeline

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #35 from Jakub Jelinek --- Created attachment 43763 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43763&action=edit pr82004_dumps.tar.xz Dumps. For lto I've just added the init_sw_absorption function parts of the dump, the du

[Bug c/39808] warn_unused_result fails to produce warning in a statement expression

2018-03-26 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39808 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|dave.pagan a

[Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV

2018-03-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 --- Comment #68 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #67) > On March 26, 2018 2:46:08 PM GMT+02:00, "jakub at gcc dot gnu.org" > wrote: > >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 > > > >--- Comment #66 fr

[Bug target/83638] atomic_is_lock_free should return false on pa-risc

2018-03-26 Thread mikulas at artax dot karlin.mff.cuni.cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83638 --- Comment #2 from mikulas at artax dot karlin.mff.cuni.cz --- >From performance point of view it doesn't matter if the lock is taken inside the kernel or inside the gcc library. If the userspace wants to optimize different code paths for lockle

[Bug fortran/85082] New: [8 Regression] ICE with -Ofast in vn_reference_insert_pieces, at tree-ssa-sccvn.c:2624

2018-03-26 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85082 Bug ID: 85082 Summary: [8 Regression] ICE with -Ofast in vn_reference_insert_pieces, at tree-ssa-sccvn.c:2624 Product: gcc Version: 8.0 Status: UNCONFIRMED Seve

[Bug fortran/85083] New: [8 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:2915

2018-03-26 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85083 Bug ID: 85083 Summary: [8 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:2915 Product: gcc Version: 8.0 Status: UNCONFI

[Bug fortran/85084] New: [6/7/8 Regression] ICE: out of memory allocating 18446744073709551600 bytes ...

2018-03-26 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85084 Bug ID: 85084 Summary: [6/7/8 Regression] ICE: out of memory allocating 18446744073709551600 bytes ... Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: n

[Bug ipa/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8)

2018-03-26 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 seurer at gcc dot gnu.org changed: What|Removed |Added Target|hppa-unknown-linux-gnu, |hppa-unknown-linux-gnu,

[Bug target/85073] [x86] extra check after BLSR

2018-03-26 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85073 --- Comment #1 from uros at gcc dot gnu.org --- Author: uros Date: Mon Mar 26 19:26:19 2018 New Revision: 258864 URL: https://gcc.gnu.org/viewcvs?rev=258864&root=gcc&view=rev Log: PR target/85073 * config/i386/i386.md (*bmi_blsr__

[Bug target/85073] [x86] extra check after BLSR

2018-03-26 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85073 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/84878] ICE: Segmentation fault (in add_cross_iteration_register_deps)

2018-03-26 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84878 --- Comment #2 from Peter Bergner --- So we segv in ddg.c:add_cross_iteration_register_deps() at this code: /* Create inter-loop true dependences and anti dependences. */ for (r_use = DF_REF_CHAIN (last_def); r_use != NULL; r_use = r_use->n

[Bug fortran/85084] [6/7/8 Regression] ICE: out of memory allocating 18446744073709551600 bytes ...

2018-03-26 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85084 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

  1   2   >