[Bug tree-optimization/90387] [9/10 Regression] __builtin_constant_p and -Warray-bounds warnings

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90387 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug other/91730] [10 regression] r275518 causes 3 verification errors in the cpu 2006 test suite

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91730 Richard Biener changed: What|Removed |Added Target|powerpc64le-unknown-linux-g |powerpc64le-unknown-linux-g

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 Eric Botcazou changed: What|Removed |Added Component|target |rtl-optimization --- Comment #9 from Eri

[Bug other/91730] [10 regression] r275518 causes 3 verification errors in the cpu 2006 test suite

2019-09-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91730 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/91709] Missed optimization for multiplication on 1.5 and 1.25

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91709 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/91730] [10 regression] r275518 causes 3 verification errors in the cpu 2006 test suite

2019-09-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91730 --- Comment #4 from Martin Liška --- Created attachment 46869 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46869&action=edit Dump file without problematic transformation

[Bug other/91730] [10 regression] r275518 causes 3 verification errors in the cpu 2006 test suite

2019-09-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91730 --- Comment #3 from Martin Liška --- Created attachment 46868 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46868&action=edit Dump file with problematic transformation For the 453.povray (which fails with --size=test), the problematic fil

[Bug tree-optimization/90387] [9/10 Regression] __builtin_constant_p and -Warray-bounds warnings

2019-09-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90387 --- Comment #8 from Marc Glisse --- (In reply to Bernd Buschinski from comment #6) > From the comments I assumed that the fix is kind of trivial There is a simple change that gives the behavior you want on one example, but it is far from trivial

[Bug other/91730] [10 regression] r275518 causes 3 verification errors in the cpu 2006 test suite

2019-09-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91730 --- Comment #5 from Martin Liška --- The transformation is from: _663 = T1$1_55 + _293; _651 = (float) _663; where T1$1_55 and _293 are doubles. To: _758 = (float) T1$1_55; _759 = (float) _293; _760 = _758 + _759; _651 = (float) _7

[Bug fortran/91716] [9/10 Regression] ICE in output_constant, at varasm.c:5026

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91716 Richard Biener changed: What|Removed |Added Keywords||ice-checking Status|UNCONFI

[Bug c++/91718] [9/10 Regression] Inherited constructors with arrays of objects

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91718 Richard Biener changed: What|Removed |Added Keywords||accepts-invalid Known to work|

[Bug other/91730] [10 regression] r275518 causes 3 verification errors in the cpu 2006 test suite

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91730 --- Comment #6 from Richard Biener --- (In reply to Martin Liška from comment #5) > The transformation is from: > > _663 = T1$1_55 + _293; > _651 = (float) _663; > > where T1$1_55 and _293 are doubles. To: > > _758 = (float) T1$1_55; >

[Bug other/91730] [10 regression] r275518 causes 3 verification errors in the cpu 2006 test suite

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91730 --- Comment #7 from Richard Biener --- Note in all cases of the testcases coming with the patch the sources are eventually casted from float to double.

[Bug other/91730] [10 regression] r275518 causes 3 verification errors in the cpu 2006 test suite

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91730 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 91730, which changed state. Bug 91730 Summary: [10 regression] r275518 causes 3 verification errors in the cpu 2006 test suite https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91730 What|Removed

[Bug tree-optimization/90387] [9/10 Regression] __builtin_constant_p and -Warray-bounds warnings

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90387 --- Comment #9 from Richard Biener --- So it's the following passes (if you ignore that with -fopenacc we already fold b_c_p during early opts): NEXT_PASS (pass_vrp, true /* warn_array_bounds_p */); NEXT_PASS (pass_dce); NEXT_P

[Bug middle-end/91725] [10 Regression] ICE in get_nonzero_bits starting with r275587

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91725 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Sep 11 08:33:55 2019 New Revision: 275633 URL: https://gcc.gnu.org/viewcvs?rev=275633&root=gcc&view=rev Log: PR middle-end/91725 * match.pd ((A / (1 << B)) -> (A >> B)

[Bug tree-optimization/91723] [9/10 Regression] builtin fma is not optimized or vectorized as *+

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91723 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Sep 11 08:34:41 2019 New Revision: 275634 URL: https://gcc.gnu.org/viewcvs?rev=275634&root=gcc&view=rev Log: PR tree-optimization/91723 * tree-vect-stmts.c (vectorizab

[Bug tree-optimization/91723] [9 Regression] builtin fma is not optimized or vectorized as *+

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91723 Jakub Jelinek changed: What|Removed |Added Summary|[9/10 Regression] builtin |[9 Regression] builtin fma

[Bug middle-end/91725] [10 Regression] ICE in get_nonzero_bits starting with r275587

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91725 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/91720] [10 Regression] wrong code with -Og -fno-forward-propagate -frerun-cse-after-loop -fno-tree-fre

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91720 --- Comment #10 from Jakub Jelinek --- (In reply to Eric Botcazou from comment #9) > > That change added the && !REG_P in there, but unless the reg is loaded from > > memory, it is unclear how it can guarantee that the upper bits are zero > > (re

[Bug target/91719] gcc compiles seq_cst store on x86-64 differently from clang/icc

2019-09-11 Thread vekumar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91719 --- Comment #9 from vekumar at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #8) > CCing AMD too. Sure Let me check if this tuning helps AMD Zen Arch.

[Bug tree-optimization/91734] New: gcc skip an if statement with "-O1 -ffast-math"

2019-09-11 Thread chinoune.mehdi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91734 Bug ID: 91734 Summary: gcc skip an if statement with "-O1 -ffast-math" Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/91720] [10 Regression] wrong code with -Og -fno-forward-propagate -frerun-cse-after-loop -fno-tree-fre

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91720 --- Comment #11 from Eric Botcazou --- > Does that also fix PR89795? Yes, I'm going to fix PR89795 and let you check what happens for this one.

[Bug target/91735] New: Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 Bug ID: 91735 Summary: Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018 Product: gcc Version: unknown Status: UNCONFIRMED Sever

[Bug rtl-optimization/91721] Missed optimization for checking nan and comparison

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91721 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-* Status

[Bug target/91722] gcc generates sub-optimal assembly when AVX instructions are used.

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91722 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug fortran/91731] Configure error on building MPICH

2019-09-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91731 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/91556] Problems with better interface checking

2019-09-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91556 Thomas Koenig changed: What|Removed |Added CC||damian at sourceryinstitute dot or

[Bug lto/91724] [8 Regression] profiled lto bootstrap fails on arm-linux-gnueabihf

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91724 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug fortran/91729] [10 Regression] ICE in gfc_match_select_rank, at fortran/match.c:6586

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91729 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug fortran/91726] [8/9/10 Regression] ICE in gfc_conv_array_ref, at fortran/trans-array.c:3612

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91726 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug tree-optimization/91732] Adding omp simd pragma prevents vectorization

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91732 Richard Biener changed: What|Removed |Added Keywords||missed-optimization, openmp

[Bug tree-optimization/91732] Adding omp simd pragma prevents vectorization

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91732 Jakub Jelinek changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment #

[Bug tree-optimization/91734] gcc skip an if statement with "-O1 -ffast-math"

2019-09-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91734 --- Comment #1 from Andrew Pinski --- So two things: -funsafe-math-optimizations assumes there are no denormals (subnormals) or they are flushed to zero. -ffinite-math-only assumes that infinite and nans don't exists (IIRC).

[Bug c++/90767] [9/10 Regression] jumbled error message with this and const

2019-09-11 Thread bartosz.szreder at huuugegames dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90767 Bartosz Szreder changed: What|Removed |Added CC||bartosz.szreder@huuugegames

[Bug target/91736] New: Runtime regression for SPEC2000 252.eon on Haswell around beginning of February 2019

2019-09-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91736 Bug ID: 91736 Summary: Runtime regression for SPEC2000 252.eon on Haswell around beginning of February 2019 Product: gcc Version: unknown Status: UNCONFIRMED Se

[Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Status|UNCONFIRM

[Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 --- Comment #2 from Richard Biener --- Errr, before we _dont_ vectorize.

[Bug libgcc/91737] New: On Alpine Linux (libmusl) a statically linked C++ program which throws the first exception in two threads at the same time can busy spin on shutdown after main().

2019-09-11 Thread max at arangodb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91737 Bug ID: 91737 Summary: On Alpine Linux (libmusl) a statically linked C++ program which throws the first exception in two threads at the same time can busy spin on shutdown

[Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 --- Comment #3 from Richard Biener --- Reducing the VF here should be the goal. For the particular case "filling" the holes with neutral data and blending in the original values at store time will likely be optimal. So do tem = vector load

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 --- Comment #10 from Eric Botcazou --- Author: ebotcazou Date: Wed Sep 11 10:41:27 2019 New Revision: 275635 URL: https://gcc.gnu.org/viewcvs?rev=275635&root=gcc&view=rev Log: PR rtl-optimization/89795 * rtlanal.c (nonzero_bits1)

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 --- Comment #11 from Eric Botcazou --- Author: ebotcazou Date: Wed Sep 11 10:42:31 2019 New Revision: 275636 URL: https://gcc.gnu.org/viewcvs?rev=275636&root=gcc&view=rev Log: PR rtl-optimization/89795 * rtlanal.c (nonzero_bits1)

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 --- Comment #12 from Eric Botcazou --- Author: ebotcazou Date: Wed Sep 11 10:43:19 2019 New Revision: 275637 URL: https://gcc.gnu.org/viewcvs?rev=275637&root=gcc&view=rev Log: PR rtl-optimization/89795 * rtlanal.c (nonzero_bits1)

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 --- Comment #13 from Eric Botcazou --- Author: ebotcazou Date: Wed Sep 11 10:44:06 2019 New Revision: 275638 URL: https://gcc.gnu.org/viewcvs?rev=275638&root=gcc&view=rev Log: PR rtl-optimization/89795 * rtlanal.c (nonzero_bits1)

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/91736] Runtime regression for SPEC2000 252.eon on Haswell around beginning of February 2019

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91736 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug tree-optimization/91734] gcc skip an if statement with "-O1 -ffast-math"

2019-09-11 Thread chinoune.mehdi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91734 --- Comment #2 from Chinoune --- Replacing `if( az

[Bug tree-optimization/90387] [9/10 Regression] __builtin_constant_p and -Warray-bounds warnings

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90387 --- Comment #10 from Richard Biener --- Author: rguenth Date: Wed Sep 11 11:16:54 2019 New Revision: 275639 URL: https://gcc.gnu.org/viewcvs?rev=275639&root=gcc&view=rev Log: 2019-09-11 Richard Biener PR tree-optimization/90387

[Bug tree-optimization/90387] [9 Regression] __builtin_constant_p and -Warray-bounds warnings

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90387 Richard Biener changed: What|Removed |Added Known to work||10.0 Summary|[9/10 Regressio

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 --- Comment #15 from Jakub Jelinek --- Author: jakub Date: Wed Sep 11 11:37:39 2019 New Revision: 275642 URL: https://gcc.gnu.org/viewcvs?rev=275642&root=gcc&view=rev Log: PR rtl-optimization/89435 PR rtl-optimization/89795

[Bug rtl-optimization/91720] [10 Regression] wrong code with -Og -fno-forward-propagate -frerun-cse-after-loop -fno-tree-fre

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91720 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Wed Sep 11 11:37:39 2019 New Revision: 275642 URL: https://gcc.gnu.org/viewcvs?rev=275642&root=gcc&view=rev Log: PR rtl-optimization/89435 PR rtl-optimization/89795

[Bug rtl-optimization/89435] [7/8/9 Regression] wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow()

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Wed Sep 11 11:37:39 2019 New Revision: 275642 URL: https://gcc.gnu.org/viewcvs?rev=275642&root=gcc&view=rev Log: PR rtl-optimization/89435 PR rtl-optimization/89795

[Bug rtl-optimization/91720] [10 Regression] wrong code with -Og -fno-forward-propagate -frerun-cse-after-loop -fno-tree-fre

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91720 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 --- Comment #16 from Jakub Jelinek --- *** Bug 91720 has been marked as a duplicate of this bug. ***

[Bug debug/82738] [meta-bug] issues with the -Og optimization level

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82738 Bug 82738 depends on bug 91720, which changed state. Bug 91720 Summary: [10 Regression] wrong code with -Og -fno-forward-propagate -frerun-cse-after-loop -fno-tree-fre https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91720 What|Remove

[Bug target/91736] Runtime regression for SPEC2000 252.eon on Haswell around beginning of February 2019

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91736 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 --- Comment #5 from Uroš Bizjak --- (In reply to Richard Biener from comment #3) > Reducing the VF here should be the goal. For the particular case "filling" > the holes with neutral data and blending in the original values at store time > will

[Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 --- Comment #6 from rguenther at suse dot de --- On Wed, 11 Sep 2019, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 > > --- Comment #5 from Uroš Bizjak --- > (In reply to Richard Biener from comment #3) >

[Bug tree-optimization/91732] Adding omp simd pragma prevents vectorization

2019-09-11 Thread jed at 59A2 dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91732 --- Comment #3 from Jed Brown --- > why not use gsym[Q*2*j+i] instead of g[j][0] and similarly gsym[Q*2-j*Q+i] > instead of g[j][1]? The pattern here is that gsym is packed storage of a symmetric 2x2 matrix, while g unpacks it so that inner loo

[Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 --- Comment #7 from rguenther at suse dot de --- On Wed, 11 Sep 2019, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 > > Jakub Jelinek changed: > >What|Removed |Added >

[Bug go/91712] [10 regression] ICE in bind_field_or_method, at go/gofrontend/types.cc:11878

2019-09-11 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91712 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 --- Comment #8 from Richard Biener --- The most trivial improvement is likely to recognize the vector parts we can store via HImode. There's already support for that but only if we can uniformly use HImode and not a mix of sizes.

[Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 --- Comment #9 from Richard Biener --- (In reply to Richard Biener from comment #8) > The most trivial improvement is likely to recognize the vector parts we can > store via HImode. There's already support for that but only if we can > uniformly

[Bug go/91700] Document go version for gcc 9

2019-09-11 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91700 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/91738] New: [10 regression] gcc.target/arm/pr53447-5.c fails since r274823

2019-09-11 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91738 Bug ID: 91738 Summary: [10 regression] gcc.target/arm/pr53447-5.c fails since r274823 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 --- Comment #10 from Richard Biener --- Can't really decipher what clang does here. it seems to handle even/odd lanes separately, doing 24 vpextrb stores per loop iteration. Possibly simply an interleaving scheme...

[Bug target/91738] [10 regression] gcc.target/arm/pr53447-5.c fails since r274823

2019-09-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91738 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug tree-optimization/91734] gcc skip an if statement with "-O1 -ffast-math"

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91734 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug middle-end/91739] New: Missed optimization for arithmetic operations of integers and floating point constants

2019-09-11 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91739 Bug ID: 91739 Summary: Missed optimization for arithmetic operations of integers and floating point constants Product: gcc Version: 10.0 Status: UNCONFIRMED Key

[Bug tree-optimization/91734] gcc skip an if statement with "-O1 -ffast-math"

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91734 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/91497] -Wconversion warns when doing explicit type conversion

2019-09-11 Thread manfred99 at gmx dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497 --- Comment #9 from Manfred Schwarb --- Hi Steve, I tried your patch in comment 4, it is a good starting point. However, SNGL and DBLE still throw warnings: real*4 a,aa real*8 b,bb real*10 c,cc real*16 d integer*2

[Bug tree-optimization/91734] gcc skip an if statement with "-O1 -ffast-math"

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91734 --- Comment #5 from Jakub Jelinek --- Even in the default rounding mode, cases where c2 is equal to zero are clearly problematic as this testcase shows, but also cases where c is subnormal. E.g. sqrtf (x) < 0x1.2dd3d0p-65f is true for x 0x1.63dbc

[Bug fortran/91497] -Wconversion warns when doing explicit type conversion

2019-09-11 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497 --- Comment #10 from Steve Kargl --- On Wed, Sep 11, 2019 at 02:25:23PM +, manfred99 at gmx dot ch wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497 > > --- Comment #9 from Manfred Schwarb --- > Hi Steve, > > I tried your patch i

[Bug c++/91740] New: ICE in fold_convert_loc, at fold-const.c:2429

2019-09-11 Thread julien at vivenot dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91740 Bug ID: 91740 Summary: ICE in fold_convert_loc, at fold-const.c:2429 Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/91740] [9/10 Regression] ICE in fold_convert_loc, at fold-const.c:2429

2019-09-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91740 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNC

[Bug c++/91740] [9/10 Regression] ICE in fold_convert_loc, at fold-const.c:2429

2019-09-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91740 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/91734] gcc skip an if statement with "-O1 -ffast-math"

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91734 --- Comment #6 from Jakub Jelinek --- Created attachment 46871 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46871&action=edit gcc10-pr91734.patch Untested patch that does the 2), though for LE_EXPR only.

[Bug c++/91741] New: Implement new warning -Wsizeof-array-div

2019-09-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91741 Bug ID: 91741 Summary: Implement new warning -Wsizeof-array-div Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/91742] New: User defined conversion references

2019-09-11 Thread di...@franco-technologies.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91742 Bug ID: 91742 Summary: User defined conversion references Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/91742] User defined conversion references

2019-09-11 Thread di...@franco-technologies.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91742 --- Comment #1 from Diego --- The code does work when changing std::vector for any primitive types, i.e. int.

[Bug c++/91741] Implement new warning -Wsizeof-array-div

2019-09-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91741 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/91741] Implement new warning -Wsizeof-array-div

2019-09-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91741 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c++/91742] User defined conversion references

2019-09-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91742 --- Comment #2 from Jonathan Wakely --- (In reply to Diego from comment #0) > I read through the c++17 standard and did not find any information about > this behavior being implementation defined. It's not implementation defined, but I think all

[Bug c++/91742] User defined conversion references

2019-09-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91742 --- Comment #3 from Jonathan Wakely --- Reduced: #define assert(C) if (!(C)) { __builtin_puts("Assertion failed: " #C); __builtin_abort(); } struct X { X() { } X(const X&) { } }; struct A { operator const X&() const { return a_;

[Bug c/91743] New: ice: tree check: expected ssa_name, have mult_expr in get_nonzero_bits, at tree-ssanames.c:524

2019-09-11 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91743 Bug ID: 91743 Summary: ice: tree check: expected ssa_name, have mult_expr in get_nonzero_bits, at tree-ssanames.c:524 Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug target/91738] [10 regression] gcc.target/arm/pr53447-5.c fails since r274823

2019-09-11 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91738 Wilco changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/91742] User defined conversion references

2019-09-11 Thread di...@franco-technologies.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91742 --- Comment #4 from Diego Franco --- > It's not implementation defined, but I think all implementations are required > to do what GCC 8 does (and other compilers agree). It worked on linaro 7.4.1 gcc with c++17, gcc 7.1.0 with c++17 only. > If

[Bug c++/91742] User defined conversion references

2019-09-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91742 --- Comment #5 from Jonathan Wakely --- (In reply to Diego Franco from comment #4) > It worked on linaro 7.4.1 gcc with c++17, gcc 7.1.0 with c++17 only. Yes, sometimes old versions have incorrect behaviour and they get fixed. I agree this is s

[Bug c++/91742] User defined conversion references

2019-09-11 Thread di...@franco-technologies.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91742 --- Comment #6 from Diego Franco --- Also the brace initialization works with primitive types for the code I posted in the first place. That's definitely a code smell.

[Bug c++/91742] User defined conversion references

2019-09-11 Thread di...@franco-technologies.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91742 --- Comment #7 from Diego Franco --- This works: #include #include struct A { operator const int&() const { return a_; } int a_; }; int main() { A a {}; const auto& b1 {static_cast(a)}; const int& b2 {a}; assert(&a.a_

[Bug c++/91678] [9/10 Regression] decltype returns wrong type under certain conditions

2019-09-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91678 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #2 from Marek Polacek

[Bug fortran/91642] ICE: Bad IO basetype (transfer_expr, at fortran/trans-io.c:2507)

2019-09-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91642 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Sep 11 18:27:17 2019 New Revision: 275655 URL: https://gcc.gnu.org/viewcvs?rev=275655&root=gcc&view=rev Log: 2019-09-11 Steven G. Kargl PR fortran/91642

[Bug fortran/91553] ICE in gfc_real2complex, at fortran/arith.c:2208

2019-09-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91553 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Sep 11 18:37:31 2019 New Revision: 275657 URL: https://gcc.gnu.org/viewcvs?rev=275657&root=gcc&view=rev Log: 2019-09-11 Steven G. Kargl PR fortran/91553

[Bug target/85401] segfault building code for VAX

2019-09-11 Thread coypu at sdf dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85401 --- Comment #5 from coypu --- Created attachment 46872 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46872&action=edit providing instruction scheduling avoids this crash So, I am trying to beat gcc/vax into shape and incorporate changes f

[Bug c/91743] ice: tree check: expected ssa_name, have mult_expr in get_nonzero_bits, at tree-ssanames.c:524

2019-09-11 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91743 David Binderman changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85401] segfault building code for VAX

2019-09-11 Thread coypu at sdf dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85401 --- Comment #6 from coypu --- I imagine I didn't write scheduling for the broken instruction, so it doesn't ever happen. something silly like that, rather than it being a valid fix.

[Bug c/91744] New: -fno-pie is not honored

2019-09-11 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91744 Bug ID: 91744 Summary: -fno-pie is not honored Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: u

[Bug c/91744] -fno-pie is not honored

2019-09-11 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91744 --- Comment #1 from Jeffrey Walton --- My bad, this should have been included: $ lsb_release -rd Description:Ubuntu 18.04.3 LTS Release:18.04 $ gcc --version gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 Copyrigh

  1   2   >