[Bug middle-end/103126] New: Miss vectorization for bit_and/bit_ior/bit_xor reduction

2021-11-08 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103126 Bug ID: 103126 Summary: Miss vectorization for bit_and/bit_ior/bit_xor reduction Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #13 from Aldy Hernandez --- Since DOM is the only threading pass that keeps more or less accurate profiling data, here's a very wild guess. The pre-loop DOM threading pass does not thread some paths because of the restrictions in pl

[Bug tree-optimization/103102] [12 Regression] pr81175.f fails since r12-4946-ga79fe53d6ce6074d083e925b6b19773e45817405

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103102 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ipa/103107] [12 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (constructor) in prepare_debug_expressions, at ipa-param-manipulation.c:1189 since r12-4920-g1ece90ffa

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103107 Martin Liška changed: What|Removed |Added Summary|[12 Regression] ICE: tree |[12 Regression] ICE: tree

[Bug bootstrap/102831] [12 regression] Spurious -Wparentheses etc. warnings

2021-11-08 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102831 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug ipa/86389] execute FAILs with -fipa-pta

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86389 --- Comment #13 from Richard Biener --- (In reply to Jan Hubicka from comment #12) > Since the vector_subscript testcase seems indeed to be frontend issue > triggered by -fipa-pta (and soon by modref). I wonder if we should have > fortran bug tra

[Bug c++/103012] [11/12 Regression] ICE with #pragma GCC optimize followed by long line (4047 long)

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103012 Martin Liška changed: What|Removed |Added CC||nathan at gcc dot gnu.org Keyw

[Bug other/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug testsuite/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-08 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 Aldy Hernandez changed: What|Removed |Added Component|middle-end |testsuite --- Comment #7 from Aldy Her

[Bug tree-optimization/103116] SLP vectoriser fails to peel for gaps

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103116 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/103122] [12 Regression] ICE in fill_block_cache, at gimple-range-cache.cc:1277 with -O2 since r12-4866-gfc4076752067fb40

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103122 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Summary|[12 Regression] ICE

[Bug tree-optimization/103119] ICE in get_imports, at gimple-range-gori.cc:230

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103119 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/103093] [12 Regression] ICE in get_imports, at gimple-range-gori.cc:221 since r12-4788-gcb596fd43667f92c

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103093 Martin Liška changed: What|Removed |Added CC||vsevolod.livinskij at frtk dot ru --- C

[Bug tree-optimization/103035] [meta-bug] YARPGen bugs

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103035 Bug 103035 depends on bug 103119, which changed state. Bug 103119 Summary: ICE in get_imports, at gimple-range-gori.cc:230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103119 What|Removed |Added ---

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #14 from Martin Liška --- I tend to close this issue due to a mismatch between train and reference run. It's basically measuring speed of the cold code.

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #15 from rguenther at suse dot de --- On Mon, 8 Nov 2021, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 > > --- Comment #13 from Aldy Hernandez --- > Since DOM is the only threading pass tha

Re: [Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread Jan Hubicka via Gcc-bugs
Note that it still seems to me that the crossed_loop_header handling is overly conservative. We have: @ -2771,6 +2771,7 @@ jt_path_registry::cancel_invalid_paths (vec &path) bool seen_latch = false; int loops_crossed = 0; bool crossed_latch = false; + bool crossed_loop_header = false;

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #16 from hubicka at kam dot mff.cuni.cz --- Note that it still seems to me that the crossed_loop_header handling is overly conservative. We have: @ -2771,6 +2771,7 @@ jt_path_registry::cancel_invalid_paths (vec &path) bool seen_l

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 Aldy Hernandez changed: What|Removed |Added CC||jeffreyalaw at gmail dot com --- Comme

[Bug fortran/103112] ICE in gfc_get_descriptor_field for gfortran.dg/coarray_alloc_comp_4.f08 caf single since r7-5771-gde91486c745d5ff6

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103112 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug c++/103114] [12 Regression] ICE in build_complex, at tree.c:2470 since r12-4764-ga84b9d5373c7e67f

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103114 Martin Liška changed: What|Removed |Added Summary|[12 Regression] ICE in |[12 Regression] ICE in

[Bug c++/99088] Failure to error on recursive template instantiation in a reasonable time

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99088 --- Comment #2 from Andrew Pinski --- With -fno-checking, GCC compiling errors out really quickly. Without -fno-checking on the trunk takes around 20s. With -fno-checking on the trunk takes 1.2s. I don't think there is anything to fix here real

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #18 from Aldy Hernandez --- > If I read it correctly, for a path that enters the loop and later leaves > it (where threading is desirable since we skip the whole loop) the logic > above will still return true (after finishing the wh

[Bug testsuite/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-08 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #8 from Aldy Hernandez --- This may be related to the discussion in PR102997, particularly comment 16.

[Bug tree-optimization/103127] New: ICE in fold_convert_loc, at fold-const.c:2573

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 Bug ID: 103127 Summary: ICE in fold_convert_loc, at fold-const.c:2573 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c++/103096] Compiling never ends (at least not in resonable time - less than 10 mins)

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103096 --- Comment #8 from Andrew Pinski --- No compiler I have tried does a decent job at figuring this testcase out quickly (over 20s).

[Bug other/89259] liboffloadmic/runtime/offload_omp_host.cpp:692: pointless test ?

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89259 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #5 from Martin Liška -

[Bug other/89259] liboffloadmic/runtime/offload_omp_host.cpp:692: pointless test ?

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89259 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #19 from hubicka at kam dot mff.cuni.cz --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 > > --- Comment #18 from Aldy Hernandez --- > > > If I read it correctly, for a path that enters the loop and later leaves > > it (wh

[Bug middle-end/103127] ICE in fold_convert_loc, at fold-const.c:2573

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |middle-end See Also|

[Bug middle-end/103127] ICE in fold_convert_loc, at fold-const.c:2573

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/103123] incorrect or misleading warning "floating constant exceeds range of ..." in ISO C11 and C17

2021-11-08 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103123 --- Comment #4 from Vincent Lefèvre --- (In reply to Andrew Pinski from comment #1) > This is warning and can be turned off, -Woverflow is on by default. The warning can be turned off, but there are 2 issues: 1. The message "floating constant

[Bug d/103044] d: Use __builtin_clear_padding for zeroing objects before set.

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103044 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/103114] [12 Regression] ICE in build_complex, at tree.c:2470 since r12-4764-ga84b9d5373c7e67f

2021-11-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103114 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org St

[Bug c/103123] incorrect or misleading warning "floating constant exceeds range of ..." in ISO C11 and C17

2021-11-08 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103123 --- Comment #5 from Vincent Lefèvre --- (In reply to Andrew Pinski from comment #3) > Clang produces: > :4:10: warning: magnitude of floating-point constant too large for > type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] >

[Bug tree-optimization/103102] [12 Regression] pr81175.f fails since r12-4946-ga79fe53d6ce6074d083e925b6b19773e45817405

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103102 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/103105] [11/12 Regression] ICE iterative_hash_template_arg with concepts and varagrs template since r11-3261-gb28b621ac67beee8

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103105 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug ipa/103107] [12 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (constructor) in prepare_debug_expressions, at ipa-param-manipulation.c:1189 since r12-4920-g1ece90ffa

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103107 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #2 from Richard Biener

[Bug c++/103114] [12 Regression] ICE in build_complex, at tree.c:2470 since r12-4764-ga84b9d5373c7e67f

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103114 --- Comment #4 from Richard Biener --- Or always build+fold a COMPLEX_EXPR.

[Bug ipa/103107] [12 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (constructor) in prepare_debug_expressions, at ipa-param-manipulation.c:1189 since r12-4920-g1ece90ffa

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103107 --- Comment #3 from Martin Liška --- (In reply to Richard Biener from comment #2) > I think I've seen a duplicate. You probably mean PR103099, but the suggested fix from the PR does not fix this.

[Bug fortran/103128] New: gcc/fortran/symbol.c:5112:1: warning: function 'gfc_get_ultimate_derived_super_type' is not needed and will not be emitted [-Wunneeded-internal-declaration]

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103128 Bug ID: 103128 Summary: gcc/fortran/symbol.c:5112:1: warning: function 'gfc_get_ultimate_derived_super_type' is not needed and will not be emitted [-Wunneeded-inte

[Bug c++/103114] [12 Regression] ICE in build_complex, at tree.c:2470 since r12-4764-ga84b9d5373c7e67f

2021-11-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103114 --- Comment #5 from Jakub Jelinek --- --- gcc/cp/parser.c.jj 2021-10-28 20:07:48.571193189 +0200 +++ gcc/cp/parser.c 2021-11-08 10:18:02.042896144 +0100 @@ -4804,9 +4804,9 @@ cp_parser_userdef_numeric_literal (cp_pa else /* if (id_eq

[Bug other/103129] New: gcc/diagnostic-show-locus.c:692:18: warning: unused variable 'def_tabstop' [-Wunused-const-variable] since g:bd5e882cf6e0def3dd1bc106075d59a303fe0d1e

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103129 Bug ID: 103129 Summary: gcc/diagnostic-show-locus.c:692:18: warning: unused variable 'def_tabstop' [-Wunused-const-variable] since g:bd5e882cf6e0def3dd1bc106075d59a303fe0d1e

[Bug c++/102871] ICE in unify, at cp/pt.c:23752 since r7-4431-g4a826ca6feb3c7ec

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102871 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-11-08 Ever confirmed|0

[Bug tree-optimization/103117] uncprop produces harder to analyze but not better code

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103117 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/103120] [12 Regression] test miscompiled with -O2 since r12-4790

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103120 Richard Biener changed: What|Removed |Added Severity|blocker |normal Priority|P3

[Bug tree-optimization/103117] uncprop produces harder to analyze but not better code

2021-11-08 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103117 --- Comment #2 from hubicka at kam dot mff.cuni.cz --- > I suppose modref could (for pointer returns) use ranger to query its range > and see if it ever is non-NULL? I'm not sure if we reliably propagate > null pointer constants everywhere. I t

[Bug c++/102871] ICE in unify, at cp/pt.c:23752 with arrays and varagrs template

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102871 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/57527] [C++11] Nested variadic templates cause internal compiler error

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57527 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #5

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #1 from Richard Biener --- grp_name = XALLOCAVEC (char, IDENTIFIER_LENGTH (complete_name) + 1); so the array is at least of size 1. David, can you try adding -fno-tree-vectorize to the command line to see if that silences the dia

[Bug c++/86426] g++ ICE at on valid code in tree_operand_check, at tree.h:3615

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86426 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/103122] [12 Regression] ICE in fill_block_cache, at gimple-range-cache.cc:1277 with -O2 since r12-4866-gfc4076752067fb40

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103122 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug fortran/103128] gcc/fortran/symbol.c:5112:1: warning: function 'gfc_get_ultimate_derived_super_type' is not needed and will not be emitted [-Wunneeded-internal-declaration]

2021-11-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103128 Eric Gallager changed: What|Removed |Added Keywords||diagnostic CC|

[Bug c/103123] incorrect or misleading warning "floating constant exceeds range of ..." in ISO C11 and C17

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103123 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Severity|normal

[Bug tree-optimization/103126] Miss vectorization for bit_and/bit_ior/bit_xor reduction

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103126 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84796] ICE in a template parameter pack expansion

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84796 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/84857] A valid call to a template function in a variadic template struct is rejected

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84857 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #20 from Richard Biener --- (In reply to hubicka from comment #19) > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 > > > > --- Comment #18 from Aldy Hernandez --- > > > > > If I read it correctly, for a path that enters th

[Bug c++/103114] [12 Regression] ICE in build_complex, at tree.c:2470 since r12-4764-ga84b9d5373c7e67f

2021-11-08 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103114 --- Comment #6 from rguenther at suse dot de --- On Mon, 8 Nov 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103114 > > --- Comment #5 from Jakub Jelinek --- > --- gcc/cp/parser.c.jj 2021-10-28 20:07:48

[Bug tree-optimization/103117] uncprop produces harder to analyze but not better code

2021-11-08 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103117 --- Comment #3 from rguenther at suse dot de --- On Mon, 8 Nov 2021, hubicka at kam dot mff.cuni.cz wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103117 > > --- Comment #2 from hubicka at kam dot mff.cuni.cz --- > > I suppose modref co

[Bug middle-end/101204] [12 Regression] infinite recursion in gtype-desc.c since r12-1801-g7036e9ef462fde8181bece4ac4e03f3aa27204dc

2021-11-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101204 Thomas Schwinge changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |tschwinge at gcc dot gnu.org

[Bug bootstrap/102831] [12 regression] Spurious -Wparentheses etc. warnings

2021-11-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102831 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org --- Comm

[Bug c++/88683] nan <= inf not accepted as constant expression

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88683 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/88173] constant folding of NaN comparison depends on order of operands

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88173 Andrew Pinski changed: What|Removed |Added CC||mjansche at google dot com --- Comment #

[Bug c++/56665] -O2 with -fno-strict-aliasing makes boost::spirit::classic::assign_a not working

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56665 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug c++/57470] Wrong line number in diagnostic message

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57470 --- Comment #2 from Andrew Pinski --- So in GCC 10+ we produce: : In instantiation of 'struct S': :11:9: required from here :8:32: error: incomplete type 'Incomplete' used in nested name specifier 8 | static_assert(Incomplete::value, "");

[Bug c++/85548] Zero-initialization of padding bits of an aggregate class (class A) member of a non-aggregate class (class B) is not performed when B is value-initialized.

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85548 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-11-22 00:00:00 |2021-11-8 --- Comment #3 from Andrew Pin

[Bug bootstrap/102831] [12 regression] Spurious -Wparentheses etc. warnings

2021-11-08 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102831 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Thomas Schwinge --- > Are you guys able to reliably reproduce the problem? Asking because for me, > it > was very flaky: some (seemingly random) change elsewhere

[Bug c++/85548] Zero-initialization of padding bits of an aggregate class (class A) member of a non-aggregate class (class B) is not performed when B is value-initialized.

2021-11-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85548 --- Comment #4 from Jonathan Wakely --- __builtin_clear_padding is for libstdc++ to clear padding bits in arbitrary trivially-copyable objects, it's not useful here because the compiler should be doing it automatically.

[Bug target/102856] [nvptx] Misaligned accesses with cheap vectorization enabled

2021-11-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102856 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgomp/102838] [12 regression] Several tests SEGV in gomp_loop_ull_init

2021-11-08 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102838 Thomas Schwinge changed: What|Removed |Added CC||jules at gcc dot gnu.org --- Comment

[Bug preprocessor/103130] New: comments are parsed differently with -fdirectives-only

2021-11-08 Thread m.olbrich at pengutronix dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103130 Bug ID: 103130 Summary: comments are parsed differently with -fdirectives-only Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug c++/103131] New: -Wpedantic doesn't warn about extra semicolons anymore

2021-11-08 Thread mail at milianw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103131 Bug ID: 103131 Summary: -Wpedantic doesn't warn about extra semicolons anymore Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/103131] -Wpedantic doesn't warn about extra semicolons anymore

2021-11-08 Thread mail at milianw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103131 --- Comment #1 from Milian Wolff --- correction: gcc version 10 and below used to complain

[Bug c++/103131] -Wpedantic doesn't warn about extra semicolons anymore

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103131 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/96068] Extra semicolon outside of a function should be allowed after c++11?

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96068 Andrew Pinski changed: What|Removed |Added CC||mail at milianw dot de --- Comment #5 fr

[Bug preprocessor/103130] [11/12 Regression] \*/ is not detected as the end of a comment with -fdirectives-only

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103130 Andrew Pinski changed: What|Removed |Added Known to work||10.3.0 Status|UNCONFIRMED

[Bug tree-optimization/103120] [12 Regression] test miscompiled with -O2 since r12-4790

2021-11-08 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103120 --- Comment #5 from Aldy Hernandez --- This is an ordering issue in the path solver, and it's not even relation related! How interesting. ./xgcc -B./ a.c -O2 -fdisable-tree-ethread -fdisable-tree-thread1 -fdisable-tree-thread2 -fdisable-tree-t

[Bug c/20785] Pragma STDC * (C99 FP) unimplemented

2021-11-08 Thread pavel.morozkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20785 --- Comment #14 from Pavel M --- To: Vincent Lefèvre Re: the warnings are useless. The "warning: ignoring '#pragma STDC FENV_ACCESS' [-Wunknown-pragmas]" probably needs to be generated by default (i.e. not with -Wall) because now gcc silently mi

[Bug tree-optimization/101636] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Keywords|

[Bug c/103132] New: ice: Segmentation fault

2021-11-08 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103132 Bug ID: 103132 Summary: ice: Segmentation fault Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: un

[Bug tree-optimization/101636] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 --- Comment #8 from Martin Liška --- I can still reproduce it with the current master (g:b7cd3946062e034bcc644db2569cd750041a2ee3): $ gcc pr101636.c -c -mavx512f -O1 -ftree-vectorize -fno-vect-cost-model pr101636.c: In function ‘bar’: pr101636.

[Bug tree-optimization/101636] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 --- Comment #9 from Martin Liška --- Valgrind reports: ==9236== Conditional jump or move depends on uninitialised value(s) ==9236==at 0xA3EC2C: bitmap_clear_bit (sbitmap.h:153) ==9236==by 0xA3EC2C: verify_loop_structure() (cfgloop.c:157

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #21 from hubicka at kam dot mff.cuni.cz --- > to also allow to thread through a loop path not crossing the latch but > at least for the issue of "breaking loops" the loops_crossed stuff shouldn't > be necessary. It might still preven

[Bug tree-optimization/103117] uncprop produces harder to analyze but not better code

2021-11-08 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103117 --- Comment #4 from hubicka at kam dot mff.cuni.cz --- > > I don't know - this way we have separate dumps etc. I think mistake was > > scheduling pure-const and later modref too late. > > Maybe. If you move them please put a comment before unc

[Bug c/103132] ice: Segmentation fault

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103132 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-11-08 Ever confirmed|0

[Bug c/103132] [12 Regression] ICE in remap_gimple_stmt at tree-inline.c:1828 since r12-4920-g1ece90ffa9ce63b4

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103132 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug gcov-profile/100520] [11/12 Regression] ‘-fcompare-debug’ failure with -fprofile-generate since r11-627-g1dedc12d186a1108

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100520 --- Comment #8 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:7553bd35c876efaf8ab0b6661a6102822b99e6e3 commit r12-4996-g7553bd35c876efaf8ab0b6661a6102822b99e6e3 Author: Martin Liska Date: Fri

[Bug gcov-profile/100520] [11 Regression] ‘-fcompare-debug’ failure with -fprofile-generate since r11-627-g1dedc12d186a1108

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100520 Martin Liška changed: What|Removed |Added Known to fail|12.0| Known to work|

[Bug ipa/103107] [12 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (constructor) in prepare_debug_expressions, at ipa-param-manipulation.c:1189 since r12-4920-g1ece90ffa

2021-11-08 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103107 Martin Jambor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org

[Bug c++/103133] New: Binary built with -static using std::thread crashes

2021-11-08 Thread loximann at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 Bug ID: 103133 Summary: Binary built with -static using std::thread crashes Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug libstdc++/103133] Binary built with -static using std::thread crashes

2021-11-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug gcov-profile/100520] [11 Regression] ‘-fcompare-debug’ failure with -fprofile-generate since r11-627-g1dedc12d186a1108

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100520 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Liska : https://gcc.gnu.org/g:580d66f5a0bdcd88dcdab2d4ace3bbbaae121af3 commit r11-9221-g580d66f5a0bdcd88dcdab2d4ace3bbbaae121af3 Author: Martin Liska D

[Bug gcov-profile/100520] [11 Regression] ‘-fcompare-debug’ failure with -fprofile-generate since r11-627-g1dedc12d186a1108

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100520 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/20785] Pragma STDC * (C99 FP) unimplemented

2021-11-08 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20785 --- Comment #15 from Vincent Lefèvre --- (In reply to Pavel M from comment #14) > The "warning: ignoring '#pragma STDC FENV_ACCESS' [-Wunknown-pragmas]" > probably needs to be generated by default Getting the warning on "#pragma STDC FENV_ACCESS

[Bug libstdc++/103133] Binary built with -static using std::thread crashes

2021-11-08 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #2 f

[Bug c++/101480] [11 Regression] Miscompiled code involving operator new

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101480 --- Comment #25 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:19dcea67ac40cfdeb396fa264ebbe04fbe61fdc0 commit r11-9222-g19dcea67ac40cfdeb396fa264ebbe04fbe61fdc0 Author: Richard Biene

[Bug tree-optimization/102139] [11 Regression] -O3 miscompile due to slp-vectorize on strict align target

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102139 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:7f04f47d8d414c399ce7b5c8158fadc437469755 commit r11-9224-g7f04f47d8d414c399ce7b5c8158fadc437469755 Author: Richard Biene

[Bug tree-optimization/102572] [11 Regression] ICE for skx in vect_build_gather_load_calls, at tree-vect-stmts.c:2835 since r11-3070-g783dc66f9ccb0019

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102572 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:092e98d94080ca253dc4ef6957d6efaeccb88df6 commit r11-9225-g092e98d94080ca253dc4ef6957d6efaeccb88df6 Author: Richard Biener

[Bug tree-optimization/102788] [11 Regression] Wrong code with -O3

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102788 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail|

  1   2   3   >