[Bug c++/100041] New: ICE in curr_insn_transform, at lra-constraints.c:4022

2021-04-11 Thread mss at tutanota dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100041 Bug ID: 100041 Summary: ICE in curr_insn_transform, at lra-constraints.c:4022 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/100040] New: Wrong code with intent out assumed-rank allocatable

2021-04-11 Thread jrfsousa at gmail dot com via Gcc-bugs
ank allocatable argument the generated code is missing is missing the descriptor copy out. Seen in: GNU Fortran (GCC) 11.0.1 20210411 (experimental) GNU Fortran (GCC) 10.3.1 20210411 Thank you very much. Best regards, José Rui

[Bug c++/100039] GCC can not bind lvalue to lvalue reference in brace-initialized-temporary expression

2021-04-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100039 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-04-12 Keywords|

[Bug c++/100039] New: GCC can not bind lvalue to lvalue reference in brace-initialized-temporary expression

2021-04-11 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100039 Bug ID: 100039 Summary: GCC can not bind lvalue to lvalue reference in brace-initialized-temporary expression Product: gcc Version: 10.3.0 Status: UNCONFIRMED

[Bug c++/97966] [10 Regression] maybe_instantiate_noexcept

2021-04-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97966 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug c++/97966] [10 Regression] maybe_instantiate_noexcept

2021-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97966 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:1004d3bb5e590a2cc3d22bc9fb11d3bf4978a982 commit r10-9695-g1004d3bb5e590a2cc3d22bc9fb11d3bf4978a982 Author: Marek Polacek

[Bug middle-end/100038] -Warray-bound triggers false positives

2021-04-11 Thread nicholas.stranchfield--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 --- Comment #6 from Nicholas Stranchfield --- Created attachment 50561 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50561=edit Output for only the SparseBitVector example Here the output for only the SparseBitVector.h test case.

[Bug middle-end/100038] -Warray-bound triggers false positives

2021-04-11 Thread nicholas.stranchfield--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 --- Comment #5 from Nicholas Stranchfield --- Created attachment 50560 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50560=edit Output for only the SmallVector example Here the output for only the SmallVector.h test case. P.S.: Sorry

[Bug middle-end/100038] -Warray-bound triggers false positives

2021-04-11 Thread nicholas.stranchfield--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 --- Comment #4 from Nicholas Stranchfield --- Created attachment 50559 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50559=edit gzipped output for SmallVector example

[Bug middle-end/100038] -Warray-bound triggers false positives

2021-04-11 Thread nicholas.stranchfield--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 --- Comment #3 from Nicholas Stranchfield --- Created attachment 50558 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50558=edit gzipped output for SparseBitVector example

[Bug middle-end/100038] -Warray-bound triggers false positives

2021-04-11 Thread nicholas.stranchfield--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 --- Comment #2 from Nicholas Stranchfield --- Created attachment 50557 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50557=edit gzipped output of g++-10.2.0 Sure, here you go.

[Bug middle-end/100038] -Warray-bound triggers false positives

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

[Bug lto/100010] [8/9/10/11 Regression] ICE in lto_output_node, at lto-cgraph.c:447 (-fdevirtualize-at-ltrans) since r6-6384-gceda2c69d5219719

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

[Bug c++/100038] New: -Warray-bound triggers false positives

2021-04-11 Thread nicholas.stranchfield--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 Bug ID: 100038 Summary: -Warray-bound triggers false positives Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/100037] lookup doesn't find class template parameter in default member initializer of forward declared nested class template

2021-04-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100037 --- Comment #2 from Marek Polacek --- (Not a regression AFAICT.)

[Bug c++/100037] lookup doesn't find class template parameter in default member initializer of forward declared nested class template

2021-04-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100037 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-04-11 Ever confirmed|0

[Bug c++/100037] New: lookup doesn't find class template parameter in default member initializer of forward declared nested class template

2021-04-11 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100037 Bug ID: 100037 Summary: lookup doesn't find class template parameter in default member initializer of forward declared nested class template Product: gcc

[Bug c++/97966] [10 Regression] maybe_instantiate_noexcept

2021-04-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97966 --- Comment #10 from Marek Polacek --- Argh! Sorry about that, will fix.

[Bug ipa/100036] New: missed optimization for dead code elimination at -Os, -O2 and -O3 (vs. -O1)

2021-04-11 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.1 20210411 (experimental) [master revision 1d54b138417:e83b9cf4549:936d500dfc17f58f2507ecd0f7f26e4f197052ee] (GCC) [563] % [563] % gcctk -O1 -S -o O1.s small.c [564] % gcctk -O3 -S -o O3.s small.c [565

[Bug c++/100035] New: Parameter packs not expanded with local variable in lambda

2021-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100035 Bug ID: 100035 Summary: Parameter packs not expanded with local variable in lambda Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/99961] requires clause rejects mentioning of function parameters too early

2021-04-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99961 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug ipa/100034] New: missed optimization for dead code elimination at -O3 (vs. -O1, -Os, -O2)

2021-04-11 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.1 20210411 (experimental) [master revision 1d54b138417:e83b9cf4549:936d500dfc17f58f2507ecd0f7f26e4f197052ee] (GCC) [642] % [642] % gcctk -O1 -S -o O1.s small.c [643] % gcctk -O3 -S -o O3.s small.c [644

[Bug tree-optimization/100033] New: missed optimization for dead code elimination at -O3 (vs. -O2)

2021-04-11 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
LTO compression algorithms: zlib gcc version 11.0.1 20210411 (experimental) [master revision 1d54b138417:e83b9cf4549:936d500dfc17f58f2507ecd0f7f26e4f197052ee] (GCC) [584] % [584] % gcctk -O2 -S -o O2.s small.c [585] % gcctk -O3 -S -o O3.s small.c [586] % [586] % wc O2.s O3.s 52 112 797 O2.s

[Bug middle-end/98088] [9/10/11 Regression] ICE in expand_oacc_collapse_init, at omp-expand.c:1533

2021-04-11 Thread abidh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98088 Hafiz Abid qadeer changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/98088] [9/10/11 Regression] ICE in expand_oacc_collapse_init, at omp-expand.c:1533

2021-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98088 --- Comment #4 from CVS Commits --- The master branch has been updated by Hafiz Abid Qadeer : https://gcc.gnu.org/g:ac200799acb5cd2fb9e1758f6bf5fff1978daaeb commit r11-8123-gac200799acb5cd2fb9e1758f6bf5fff1978daaeb Author: Hafiz Abid Qadeer

[Bug c++/100032] [8/9/10/11 Regression] renaming alias template that also adds cv-qualifiers is deemed equivalent to underlying template

2021-04-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100032 Patrick Palka changed: What|Removed |Added Target Milestone|--- |8.5 CC|

[Bug target/98348] [10 Regression] GCC 10.2 AVX512 Mask regression from GCC 9

2021-04-11 Thread david.bolvansky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98348 Dávid Bolvanský changed: What|Removed |Added CC||david.bolvansky at gmail dot com ---

[Bug c++/100032] New: renaming alias template that also adds cv-qualifiers is deemed equivalent to underlying template

2021-04-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100032 Bug ID: 100032 Summary: renaming alias template that also adds cv-qualifiers is deemed equivalent to underlying template Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/97966] [10 Regression] maybe_instantiate_noexcept

2021-04-11 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97966 Eric Botcazou changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug c++/100031] New: ICE: in dependent_type_p, at cp/pt.c:26757

2021-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100031 Bug ID: 100031 Summary: ICE: in dependent_type_p, at cp/pt.c:26757 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/100030] ICE: in dependent_type_p, at cp/pt.c:26757

2021-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100030 --- Comment #1 from 康桓瑋 --- Related to RP 16.

[Bug c++/100030] New: ICE: in dependent_type_p, at cp/pt.c:26757

2021-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100030 Bug ID: 100030 Summary: ICE: in dependent_type_p, at cp/pt.c:26757 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/100029] New: ICE on subroutine call with allocatable polymorphic assumed-rank argument

2021-04-11 Thread jrfsousa at gmail dot com via Gcc-bugs
Hi All! ICE on subroutine call when passing an allocatable polymorphic assumed-rank intent-out argument. Seen in: GNU Fortran (GCC) 11.0.1 20210411 (experimental) GNU Fortran (GCC) 10.3.1 20210411 GNU Fortran (GCC) 9.3.1 20210411 Thank you very much. Best regards. José Rui

[Bug target/100021] [9/10/11 Regression] std::clamp unprofitable vectorization on -march=nehalem/.../broadwell

2021-04-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100021 --- Comment #2 from Uroš Bizjak --- Also, you are passing -march=sandybridge, but the profiler seems to show Skylake (SKX) target. The STV pass heavily depends on target costs, and when -march=skylake is passed, the conversion is avoided.

[Bug target/100021] [9/10/11 Regression] std::clamp unprofitable vectorization on -march=nehalem/.../broadwell

2021-04-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100021 --- Comment #1 from Uroš Bizjak --- This is not vectorization, but the compiler uses vector registers to perform scalar operations. This is STV (scalar-to-vector) pass in action, you can use -mno-stv to avoid transformation. The transformation