[Bug c++/100084] using enum lookup isn't type-only

2021-04-14 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100084 康桓瑋 changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #3 from 康桓瑋

[Bug c++/92060] Alias template as template template argument confused by GCC as other template

2021-04-14 Thread hstong at ca dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92060 --- Comment #3 from Hubert Tong --- (In reply to Patrick Palka from comment #2) > Hmm, I think treating A and Q as equivalent here is allowed by CWG 1286. Looks like it; CWG 1286 as not been adopted by the committee though.

[Bug c++/99910] [11 Regression] g++.dg/modules/xtreme-header-2_b.C ICE

2021-04-14 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99910 --- Comment #2 from Hans-Peter Nilsson --- Appears to be related to (PR 100052 and) PR 12.

[Bug c++/100052] [11 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118

2021-04-14 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100052 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

[Bug target/100088] ymm store split into two xmm stores

2021-04-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100088 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.0 Status|UNCONFIRMED

[Bug tree-optimization/100088] New: ymm store split into two xmm stores

2021-04-14 Thread yyc1992 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100088 Bug ID: 100088 Summary: ymm store split into two xmm stores Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/47386] Wrong warning: ‘w.dim[2].stride’ may be used uninitialized in this function [-Wuninitialized]

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47386 Martin Sebor changed: What|Removed |Added Last reconfirmed|2011-01-21 11:12:28 |2021-4-14 Blocks|

[Bug c++/97128] Uninitialized members of base class wrongly allowed in constexpr constructor in c++17 mode

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97128 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug c++/99700] [10/11 Regression] uninitialized variable accepted as a constant expression in C++ 20

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99700 Martin Sebor changed: What|Removed |Added Summary|uninitialized variable |[10/11 Regression]

[Bug c++/99700] uninitialized variable accepted as a constant expression in C++ 20

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99700 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug c++/100083] combining `-O3` and `-fPIC` causes "used uninitialized" error

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100083 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug fortran/63797] Bogus ambiguous reference to 'sqrt'

2021-04-14 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63797 --- Comment #7 from Steve Kargl --- On Wed, Apr 14, 2021 at 08:43:50PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63797 > > --- Comment #6 from anlauf at gcc dot gnu.org --- > Steve, can you give an

[Bug c++/100079] [9/10/11 Regression] Non-type template parameter, itself a nested template, rejected with internal error

2021-04-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100079 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug rtl-optimization/100087] New: Redundant extend with compare against zero for baseline Armv8-M

2021-04-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100087 Bug ID: 100087 Summary: Redundant extend with compare against zero for baseline Armv8-M Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/63797] Bogus ambiguous reference to 'sqrt'

2021-04-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63797 --- Comment #6 from anlauf at gcc dot gnu.org --- Steve, can you give an example for the procedure pointer case you mentioned? I played a bit, but the only valid code that I can think of did not produce a reference to sqrt in such a way that it

[Bug tree-optimization/100086] [11 Regression] spurious -Wnonnull with __builtin_expect

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100086 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-04-14 URL|

[Bug tree-optimization/100086] New: spurious -Wnonnull with __builtin_expect

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100086 Bug ID: 100086 Summary: spurious -Wnonnull with __builtin_expect Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/99797] accessing uninitialized automatic variables

2021-04-14 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99797 Martin Uecker changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c++/99963] [11 Regression] [concepts] template vs concept auto reports ambiguous overload

2021-04-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99963 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/99929] SVE: Wrong code at -O2 -ftree-vectorize

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99929 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:a87d3f964df31d4fbceb822c6d293e85c117d992 commit r11-8184-ga87d3f964df31d4fbceb822c6d293e85c117d992 Author: Richard Sandiford

[Bug c++/100078] [11 Regression] Rejected code since r11-8137-g84081e2c6bd43a67

2021-04-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100078 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/100078] [11 Regression] Rejected code since r11-8137-g84081e2c6bd43a67

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100078 --- Comment #1 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:00a2774923c1dc5666cd26bb9b8c37b1b7dd689d commit r11-8182-g00a2774923c1dc5666cd26bb9b8c37b1b7dd689d Author: Jason Merrill Date:

[Bug c++/93085] ICE in get_class_binding_direct and alias_ctad_tweaks, with C++20 NTTP + CTAD + alias template

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93085 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:00a2774923c1dc5666cd26bb9b8c37b1b7dd689d commit r11-8182-g00a2774923c1dc5666cd26bb9b8c37b1b7dd689d Author: Jason Merrill Date:

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

2021-04-14 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100040 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2021-04-14 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100029 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2021-04-14

[Bug fortran/100027] ICE on storage_size with polymorphic argument

2021-04-14 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100027 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/100085] Bad code for union transfer from __float128 to vector types

2021-04-14 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100085 Steven Munroe changed: What|Removed |Added CC||munroesj at gcc dot gnu.org ---

[Bug rtl-optimization/100085] New: Bad code for union transfer from __float128 to vector types

2021-04-14 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100085 Bug ID: 100085 Summary: Bad code for union transfer from __float128 to vector types Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/100025] [10/11 Regression] ICE on subroutine missing explicit interface

2021-04-14 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100025 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 See Also|

[Bug c++/100084] using enum lookup isn't type-only

2021-04-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100084 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/100084] using enum lookup isn't type-only

2021-04-14 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100084 --- Comment #1 from Barry Revzin --- Also gcc accepts: namespace A { enum A {}; }; using namespace A; using enum A::A; Which, apparently, this one should actually be ambiguous.

[Bug c++/100084] New: using enum lookup isn't type-only

2021-04-14 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100084 Bug ID: 100084 Summary: using enum lookup isn't type-only Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/100078] [11 Regression] Rejected code since r11-8137-g84081e2c6bd43a67

2021-04-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100078 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/93314] [8/9/10 Regression] Invalid use of non-static data member causes ICE in gimplify_expr

2021-04-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93314 --- Comment #9 from Jason Merrill --- Created attachment 50594 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50594=edit patch for stage 1 A more general, but also more risky, fix for next stage 1.

[Bug c++/93314] [8/9/10 Regression] Invalid use of non-static data member causes ICE in gimplify_expr

2021-04-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93314 Jason Merrill changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9/10 Regression] Invalid

[Bug c++/93314] [8/9/10/11 Regression] Invalid use of non-static data member causes ICE in gimplify_expr

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93314 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:9b53edc796d284b6adec7f2996772dbddf4c341e commit r11-8181-g9b53edc796d284b6adec7f2996772dbddf4c341e Author: Jason Merrill Date:

[Bug libstdc++/100070] Standard library container iterator-pair constructors should check C++20 iterator concepts

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100070 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug rtl-optimization/100066] [11 Regression] ICE in lra_assign, at lra-assigns.c:1649

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100066 --- Comment #3 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:f99f64f69db49ce6343d79a39eab28dcc6b91865 commit r11-8180-gf99f64f69db49ce6343d79a39eab28dcc6b91865 Author: Vladimir N. Makarov

[Bug tree-optimization/88492] SLP optimization generates ugly code

2021-04-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88492 --- Comment #7 from Tamar Christina --- (In reply to ptomsich from comment #6) > With the current master, the test case generates (with -mcpu=neoverse-n1): > which contrasts with LLVM13 (with -mcpu=neoverse-n1): > > test_slp:

[Bug c++/100079] [9/10/11 Regression] Non-type template parameter, itself a nested template, rejected with internal error

2021-04-14 Thread mail at lboeger dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100079 --- Comment #3 from Lukas Böger --- I believe it should be valid. The revision which turns the snippet from rejection into an ICE makes sense, as this is about class-type instances as non-type template parameters.

[Bug tree-optimization/100073] missing warning on an uninitialized array read in a loop

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100073 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/100073] missing warning on an uninitialized array read in a loop

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100073 Martin Sebor changed: What|Removed |Added Summary|[11 regression] test case |missing warning on an

[Bug testsuite/100073] [11 regression] test case gcc.dg/pr86058.c fails after r11-8161

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100073 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:785209fc464ee3efec2b2a8e8244b7292c251ad8 commit r11-8179-g785209fc464ee3efec2b2a8e8244b7292c251ad8 Author: Martin Sebor Date:

[Bug libstdc++/100070] Standard library container iterator-pair constructors should check C++20 iterator concepts

2021-04-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100070 --- Comment #7 from Jonathan Wakely --- Note to self/Patrick: Measure whether it helps to specialize transform_view's iterator so that when _Base_iter is __normal_iterator we unwrap it and store a raw pointer. Also, I suspect the indirections

[Bug c/99944] poor format of array reference in -Wuninitialized

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99944 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug tree-optimization/88492] SLP optimization generates ugly code

2021-04-14 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88492 ptomsich at gcc dot gnu.org changed: What|Removed |Added CC||ptomsich at gcc dot gnu.org

[Bug testsuite/100071] Test case libgomp.fortran/alloc-2.F90 fails with invalid memory reference

2021-04-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100071 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/100073] [11 regression] test case gcc.dg/pr86058.c fails after r11-8161

2021-04-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100073 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-04-14

[Bug testsuite/100071] Test case libgomp.fortran/alloc-2.F90 fails with invalid memory reference

2021-04-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100071 --- Comment #4 from seurer at gcc dot gnu.org --- Thanks for the fix. Any idea why it failed in the weird way it did? I ran it dozens of times and it only failed and then every time when the 64 bit test run was done a second time?

[Bug c++/99008] [10 Regression] ICE in set_constraints, at cp/constraint.cc:1256

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99008 Patrick Palka changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/97112] class-deduction-alias1.C ICEs with -std=c++17

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97112 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/83476] [8/9/10 Regression] Template argument deduction fails with reference template parameter

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83476 Patrick Palka changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9/10 Regression]

[Bug c++/99963] [11 Regression] [concepts] template vs concept auto reports ambiguous overload

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99963 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/99246] [modules] ICE in write_location, at cp/module.cc:15687

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99246 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:a065e0bb092a010664777394530ab1a52bb5293b commit r11-8178-ga065e0bb092a010664777394530ab1a52bb5293b Author: Richard Sandiford

[Bug c++/99180] [10 Regression] ICE with alias template and empty parameter pack

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99180 Patrick Palka changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/94691] ICE resolving deduction guide

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94691 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/100083] New: combining `-O3` and `-fPIC` causes "used uninitialized" error

2021-04-14 Thread yichen.yan at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100083 Bug ID: 100083 Summary: combining `-O3` and `-fPIC` causes "used uninitialized" error Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/99180] [10 Regression] ICE with alias template and empty parameter pack

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99180 Patrick Palka changed: What|Removed |Added CC||pacoarjonilla at yahoo dot es ---

[Bug c++/94560] ICE on recursive templated alias

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94560 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug target/100075] [9/10/11 Regression] unneeded sign extension

2021-04-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100075 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2021-04-14 Ever confirmed|0

[Bug c++/99885] CTAD fails for auto const& NTTP

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

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

2021-04-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
LTO compression algorithms: zlib gcc version 11.0.1 20210414 (experimental) [master revision 006783f4b16:29da9c11552:0589be0c59767cf4cbb0ef0e7d918cf6aa3d606c] (GCC) [529] % [529] % gcctk -O2 -S -o O2.s small.c [530] % gcctk -O3 -S -o O3.s small.c [531] % [531] % wc O2.s O3.s 101 229 1393 O2.s

[Bug tree-optimization/100081] [11 Regression] Compile time hog in irange since r11-4135-ge864d395b4e862ce

2021-04-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100081 --- Comment #1 from Martin Liška --- I see the following in perf top: 9.84% cc1plus[.] wide_int_to_tree_1 6.59% cc1plus[.] irange::varying_p 6.13% cc1plus[.] bitmap_bit_p 4.35% cc1plus[.]

[Bug tree-optimization/100081] [11 Regression] Compile time hog in irange since r11-4135-ge864d395b4e862ce

2021-04-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100081 Martin Liška changed: What|Removed |Added Known to work||10.3.0 Status|UNCONFIRMED

[Bug tree-optimization/100081] New: [11 Regression] Compile time hog in irange since r11-4135-ge864d395b4e862ce

2021-04-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100081 Bug ID: 100081 Summary: [11 Regression] Compile time hog in irange since r11-4135-ge864d395b4e862ce Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords:

[Bug c++/92060] Alias template as template template argument confused by GCC as other template

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92060 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

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

2021-04-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
LTO compression algorithms: zlib gcc version 11.0.1 20210414 (experimental) [master revision 006783f4b16:29da9c11552:0589be0c59767cf4cbb0ef0e7d918cf6aa3d606c] (GCC) [605] % [605] % gcctk -O2 -S -o O2.s small.c [606] % gcctk -O3 -S -o O3.s small.c [607] % [607] % wc O2.s O3.s 68 147 999 O2.s

[Bug c++/99885] CTAD fails for auto const& NTTP

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99885 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/100077] x86: by-value floating point array in struct - xmm regs spilling to stack

2021-04-14 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100077 --- Comment #2 from Michael Matz --- Yeah, to solve this fully requires representing the parameter passing in a better way, one that can be (a) used on the gimple side (where the code is already generated assuming the vec3a params go into

[Bug c++/100079] [9/10/11 Regression] Non-type template parameter, itself a nested template, rejected with internal error

2021-04-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100079 --- Comment #2 from Jakub Jelinek --- I'd say it is valid rather than invalid, it is accepted with // using SomeTypeAlias = int; and clang++ on godbolt accepts it in c++20 mode too.

[Bug c++/100079] [9/10/11 Regression] Non-type template parameter, itself a nested template, rejected with internal error

2021-04-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100079 Jakub Jelinek changed: What|Removed |Added Summary|Non-type template |[9/10/11 Regression]

[Bug target/96339] [SVE] Optimise svlast[ab]

2021-04-14 Thread belagod at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96339 Tejas Belagod changed: What|Removed |Added CC||belagod at gcc dot gnu.org --- Comment

[Bug c++/99850] [P1102R2] reject valid lambda syntax in C++23

2021-04-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99850 --- Comment #5 from Jakub Jelinek --- Created attachment 50592 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50592=edit gcc11-pr99850.patch Untested fix.

[Bug d/99914] d: Template symbols not overridable by normal symbols

2021-04-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99914 --- Comment #4 from Iain Buclaw --- Weak declarations (both functions and variables) were found not to be working at all on MinGW targets. The only way that there desired behaviour can be achieved there then is to mark *all* declarations with

[Bug c++/83476] [8/9/10/11 Regression] Template argument deduction fails with reference template parameter

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83476 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2ccc05a5141506fde0e20dec702c717fd67bf6ee commit r11-8175-g2ccc05a5141506fde0e20dec702c717fd67bf6ee Author: Patrick Palka Date:

[Bug c++/99885] CTAD fails for auto const& NTTP

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99885 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2ccc05a5141506fde0e20dec702c717fd67bf6ee commit r11-8175-g2ccc05a5141506fde0e20dec702c717fd67bf6ee Author: Patrick Palka Date:

[Bug c++/100079] New: Non-type template parameter, itself a nested template, rejected with internal error

2021-04-14 Thread mail at lboeger dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100079 Bug ID: 100079 Summary: Non-type template parameter, itself a nested template, rejected with internal error Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug c++/100078] [11 Regression] Rejected code since r11-8137-g84081e2c6bd43a67

2021-04-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100078 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Known to work|

[Bug c++/100078] New: [11 Regression] Rejected code since r11-8137-g84081e2c6bd43a67

2021-04-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100078 Bug ID: 100078 Summary: [11 Regression] Rejected code since r11-8137-g84081e2c6bd43a67 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug d/99914] d: Template symbols not overridable by normal symbols

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99914 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:5b63eb17d863ac080cf3c7df08233054b09d3747 commit r11-8173-g5b63eb17d863ac080cf3c7df08233054b09d3747 Author: Iain Buclaw Date: Tue

[Bug target/100077] x86: by-value floating point array in struct - xmm regs spilling to stack

2021-04-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100077 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-04-14 Target|

[Bug c++/99833] [8/9/10/11 Regression] structured binding + if init + generic lambda = internal compiler error

2021-04-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99833 --- Comment #10 from Patrick Palka --- (In reply to Jakub Jelinek from comment #9) > Created attachment 50591 [details] > gcc11-pr99833.patch > > Untested fix. This seems to work for me... Ah, I hadn't considered that the problem might be in

[Bug c++/98529] [11 Regression] g++.dg/modules/stdio-1_a.H FAILs

2021-04-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98529 Rainer Orth changed: What|Removed |Added Last reconfirmed|2021-04-09 00:00:00 |2021-4-14 Status|WAITING

[Bug libstdc++/100070] Standard library container iterator-pair constructors should check C++20 iterator concepts

2021-04-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100070 --- Comment #6 from Jonathan Wakely --- I'm not sure we should make std::__iterator_category just return std::__detail::__iter_concept, because that has a fallback of random_access_iterator_tag and I keep forgetting why that is. And I don't

[Bug fortran/100024] [10/11 Regression] ICE on subroutine missing explicit interface

2021-04-14 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100024 Dominique d'Humieres changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug c++/99833] [8/9/10/11 Regression] structured binding + if init + generic lambda = internal compiler error

2021-04-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99833 --- Comment #9 from Jakub Jelinek --- Created attachment 50591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50591=edit gcc11-pr99833.patch Untested fix. This seems to work for me...

[Bug libstdc++/100070] Standard library container iterator-pair constructors should check C++20 iterator concepts

2021-04-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100070 --- Comment #5 from Jonathan Wakely --- If there is code that cares, we could always add std::__cpp17_iterator_category for the cases where we really care about the traditional category (or where we're forwarding the result of *i to user code

[Bug libstdc++/100070] Standard library container iterator-pair constructors should check C++20 iterator concepts

2021-04-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100070 --- Comment #4 from Jonathan Wakely --- Barry suggested out-of-band that we could change std::__iterator_category to determine the result based on the C++20 iterator concepts. That looks promising. std::distance dispatches on the result of

[Bug fortran/100018] ICE on missing polymorphic argument

2021-04-14 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100018 Dominique d'Humieres changed: What|Removed |Added Ever confirmed|0 |1

[Bug c++/99833] [8/9/10/11 Regression] structured binding + if init + generic lambda = internal compiler error

2021-04-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99833 --- Comment #8 from Jakub Jelinek --- And that ICEs since r7-4511-g70f40fea6a317d7be82d1f02defb59381c7752e7 when structured binding support has been added, first with internal compiler error: in is_normal_capture_proxy, at cp/lambda.c:271 then

[Bug target/100077] New: x86: by-value floating point array in struct - xmm regs spilling to stack

2021-04-14 Thread michaeljclark at mac dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100077 Bug ID: 100077 Summary: x86: by-value floating point array in struct - xmm regs spilling to stack Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity:

[Bug target/100067] Unexpected warning for -mcpu=neoverse-n1 when configured with --with-fpu

2021-04-14 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100067 Richard Earnshaw changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/100067] Unexpected warning for -mcpu=neoverse-n1 when configured with --with-fpu

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100067 --- Comment #1 from CVS Commits --- The master branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:d1e4368ddb76a92c44f824c8e4ca1a3de8149342 commit r11-8168-gd1e4368ddb76a92c44f824c8e4ca1a3de8149342 Author: Richard Earnshaw

[Bug c/82283] Wrong warning with -Wmissing-field-initializers

2021-04-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82283 --- Comment #11 from Jonathan Wakely --- (In reply to Robert Dumitru from comment #10) > I think https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99081 is also relating > to this. A similar issue, but I think the code for parsing these initializes

[Bug c++/99833] [8/9/10/11 Regression] structured binding + if init + generic lambda = internal compiler error

2021-04-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99833 --- Comment #7 from Jakub Jelinek --- And hopefully valid variant thereof: struct S { int a, b; }; template void foo () { [](auto d) { if constexpr (auto [a, b]{d}; sizeof (a) > 0) a++; } (S{}); } template void foo ();

[Bug c++/99081] Misleading -Wmissing-field-initializers warning on out-of-order designated initializers

2021-04-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99081 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-04-14 See Also|

[Bug c++/99833] [8/9/10/11 Regression] structured binding + if init + generic lambda = internal compiler error

2021-04-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99833 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug c/82283] Wrong warning with -Wmissing-field-initializers

2021-04-14 Thread robert.dumitru at cyberthorstudios dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82283 Robert Dumitru changed: What|Removed |Added CC||robert.dumitru@cyberthorstu

[Bug testsuite/100071] Test case libgomp.fortran/alloc-2.F90 fails with invalid memory reference

2021-04-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100071 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:287be7f7a587cb08eb88ecee39ff5556a22976d2 commit r11-8167-g287be7f7a587cb08eb88ecee39ff5556a22976d2 Author: Jakub Jelinek Date:

[Bug testsuite/100071] Test case libgomp.fortran/alloc-2.F90 fails with invalid memory reference

2021-04-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100071 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

  1   2   >