[Bug bootstrap/102681] [12 Regression] AArch64 bootstrap failure

2021-10-14 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102681 --- Comment #4 from Feng Xue --- (In reply to Martin Sebor from comment #3) > Simply initializing the variable as in the patch below avoids the warning. > The control flow in the code is sufficiently opaque to make it worthwhile > from a readab

[Bug c++/102740] New: [11.2/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Bug ID: 102740 Summary: [11.2/12 Regression] Data member not found in struct inside an unnamed union Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/102736] [12 Regression] wrong code at -O1 -ftree-vrp by r12-3903

2021-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102736 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Keywords|needs-bisection

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 --- Comment #1 from Curdeius Curdeius --- Also, the bug doesn't appear (or TBH, it's a different bug), when the unnamed union contains a `content` data member. But it seems to be a bug then as well, because it's not what is intended to be initia

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4 Ever confirmed|0

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

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

[Bug tree-optimization/102741] New: ICE in aarch64_add_offset_1 at gcc/config/aarch64/aarch64.c:4920

2021-10-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102741 Bug ID: 102741 Summary: ICE in aarch64_add_offset_1 at gcc/config/aarch64/aarch64.c:4920 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-

[Bug tree-optimization/102741] ICE in aarch64_add_offset_1 at gcc/config/aarch64/aarch64.c:4920

2021-10-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102741 Martin Liška changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #17 from Richard Biener --- It might help to provide a option or tunable to disable the use of fcmov which should reduce the attack surface a bit. I don't see any way to avoid using fld for loading x87 float or double values (well, l

[Bug tree-optimization/102741] ICE in aarch64_add_offset_1 at gcc/config/aarch64/aarch64.c:4920

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102741 Andrew Pinski changed: What|Removed |Added Target Milestone|12.0|--- Summary|[12 Regression]

[Bug tree-optimization/102741] ICE in aarch64_add_offset_1 at gcc/config/aarch64/aarch64.c:4920

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

[Bug tree-optimization/102587] ICE in tree_to_uhwi, at tree.h:4668

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102587 --- Comment #9 from Andrew Pinski --- *** Bug 102741 has been marked as a duplicate of this bug. ***

[Bug libbacktrace/102742] New: ERROR: descriptor 3 still open after tests complete

2021-10-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102742 Bug ID: 102742 Summary: ERROR: descriptor 3 still open after tests complete Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 --- Comment #3 from Curdeius Curdeius --- For other users with this problem, a workaround is to use a named struct. So here, it would look like: ``` typedef struct { const void* content; } put_t; typedef struct { union { put_t p

[Bug libstdc++/101583] [12 Regression] error: use of deleted function when building gold

2021-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101583 --- Comment #7 from Jonathan Wakely --- Oops, yes, I thought I'd included this in my backports. Doing it now ...

[Bug libstdc++/101263] non-propagating-cache::emplace-deref missing constexpr

2021-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101263 --- Comment #4 from Jonathan Wakely --- (In reply to Patrick Palka from comment #1) > We might first need to implement P2231 (for constexpr optional) before this > function can be properly constexpr. Implemented in r12-4389

[Bug libstdc++/101583] [12 Regression] error: use of deleted function when building gold

2021-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101583 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3bf56cdf5ec5e07ea34e6be0110ab8fc76641d87 commit r11-9153-g3bf56cdf5ec5e07ea34e6be0110ab8fc76641d87 Author: Jonathan Wake

[Bug libstdc++/101583] [12 Regression] error: use of deleted function when building gold

2021-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101583 --- Comment #9 from Jonathan Wakely --- Thanks for noticing I missed it.

[Bug tree-optimization/102736] [12 Regression] wrong code at -O1 -ftree-vrp by r12-3903

2021-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102736 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org Ass

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-14 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #18 from Uroš Bizjak --- The following patch fixes the PR, see the comment inline: --cut here-- diff --git a/gcc/config/i386/i386-expand.c b/gcc/config/i386/i386-expand.c index 6e2b7920d2b..b87490fe544 100644 --- a/gcc/config/i386/i3

[Bug tree-optimization/102736] [12 Regression] wrong code at -O1 -ftree-vrp by r12-3903

2021-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102736 --- Comment #4 from Aldy Hernandez --- Here are some debugging tips for when I'm not around ;-). When the jump threader is suspected, I find it useful to do some bisecting to find the actual jump thread that is causing the problem. Note that s

[Bug tree-optimization/102736] [12 Regression] wrong code at -O1 -ftree-vrp by r12-3903

2021-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102736 --- Comment #5 from Aldy Hernandez --- Created attachment 51598 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51598&action=edit proposed patch in testing

[Bug target/102352] Add -mstack-protector-guard=... for arm32

2021-10-14 Thread ardb at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102352 Ard Biesheuvel changed: What|Removed |Added CC||ardb at kernel dot org --- Comment #1

[Bug tree-optimization/102703] [12 Regression] Dead Code Elimination Regression at -O3 since r12-2591-g2e96b5f14e402569

2021-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 --- Comment #9 from Aldy Hernandez --- (In reply to Aldy Hernandez from comment #8) > On Wed, Oct 13, 2021, 11:37 pinskia at gcc dot gnu.org < > gcc-bugzi...@gcc.gnu.org> wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 > > > >

[Bug fortran/102708] Improve ''array temporary was created for argument" diagnostic

2021-10-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102708 --- Comment #1 from Tobias Burnus --- Actually, it prints the line number at the call site. Thus, there is probably no need for adding the name of callee. However, related to the fsym/proc_name passing: Currently, the callers in gfc_conv_proce

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-14 Thread vajdaz at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #19 from Zoltan Vajda --- (In reply to Uroš Bizjak from comment #18) > The following patch fixes the PR, see the comment inline: > > --cut here-- > diff --git a/gcc/config/i386/i386-expand.c b/gcc/config/i386/i386-expand.c > index 6e

[Bug testsuite/102735] privatization-1-compute.c results in both XFAIL and PASS

2021-10-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102735 Thomas Schwinge changed: What|Removed |Added Keywords|xfail | Status|UNCONFIRMED

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-14 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #20 from Uroš Bizjak --- (In reply to jos...@codesourcery.com from comment #16) > I don't think this bug is anything to do with -fsignaling-nans, for the > same reason as applies to bug 58416 and bug 71460. The situation is hopeless

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-14 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #21 from Uroš Bizjak --- (In reply to Zoltan Vajda from comment #19) > The problem does not only apply for conditional moves! I can turn on sse, > for example. > > https://gcc.godbolt.org/z/jP3Kne8T5 > > Then the problematic code wi

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-14 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #22 from rguenther at suse dot de --- On Thu, 14 Oct 2021, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 > > --- Comment #20 from Uroš Bizjak --- > (In reply to jos...@codesourcery.com from co

[Bug libstdc++/102743] New: build failure for i686-w64-mingw32 target because of patch yesterday

2021-10-14 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102743 Bug ID: 102743 Summary: build failure for i686-w64-mingw32 target because of patch yesterday Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/102743] [12 Regression] build failure for i686-w64-mingw32 target because of patch yesterday

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102743 Andrew Pinski changed: What|Removed |Added Summary|build failure for |[12 Regression] build

[Bug libstdc++/102743] [12 Regression] build failure for i686-w64-mingw32 target because of patch yesterday

2021-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102743 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gc

[Bug tree-optimization/102736] [12 Regression] wrong code at -O1 -ftree-vrp by r12-3903

2021-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102736 --- Comment #6 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:a311163fd81babd6116e2856f4551c3ca13d8914 commit r12-4395-ga311163fd81babd6116e2856f4551c3ca13d8914 Author: Aldy Hernandez Date:

[Bug tree-optimization/102736] [12 Regression] wrong code at -O1 -ftree-vrp by r12-3903

2021-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102736 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug bootstrap/102681] [12 Regression] AArch64 bootstrap failure

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

[Bug tree-optimization/102659] -O2 vectorization if-conversion produces wrong code for gcc.dg/torture/pr69760.c

2021-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102659 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9b2ad21ab3ebc21a3408108327fa1a7cbedaf217 commit r12-4398-g9b2ad21ab3ebc21a3408108327fa1a7cbedaf217 Author: Richard Biener Date:

[Bug tree-optimization/102744] New: [12 regression] -O2 vectorization causes Wzero-length-array-bounds-2.c to fail on arc-elf

2021-10-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102744 Bug ID: 102744 Summary: [12 regression] -O2 vectorization causes Wzero-length-array-bounds-2.c to fail on arc-elf Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug ipa/102557] [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node::insert_access) since r12-3202-gf5ff3a8ed4ca9173

2021-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102557 --- Comment #5 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:fecd145359fc981beb2802f746190227c5cc010a commit r12-4401-gfecd145359fc981beb2802f746190227c5cc010a Author: Jan Hubicka Date: Thu O

[Bug libstdc++/102743] [12 Regression] build failure for i686-w64-mingw32 target because of patch yesterday

2021-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102743 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5e3f88838994b67580594c4679c839fff7cdeba0 commit r12-4404-g5e3f88838994b67580594c4679c839fff7cdeba0 Author: Jonathan Wakely Date:

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-14 Thread vajdaz at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #23 from Zoltan Vajda --- (In reply to Uroš Bizjak from comment #20) > (In reply to jos...@codesourcery.com from comment #16) > > I don't think this bug is anything to do with -fsignaling-nans, for the > > same reason as applies to b

[Bug fortran/102745] New: CLASS → TYPE check fails after RESHAPE

2021-10-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102745 Bug ID: 102745 Summary: CLASS → TYPE check fails after RESHAPE Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: accepts-invalid, diagnostic Severity: normal

[Bug libstdc++/102743] [12 Regression] build failure for i686-w64-mingw32 target because of patch yesterday

2021-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102743 Jonathan Wakely changed: What|Removed |Added CC|jwakely at redhat dot com | Resolution|---

[Bug gcov-profile/102746] New: gcov returns 0 un erroneuos incovation

2021-10-14 Thread chipitsine at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102746 Bug ID: 102746 Summary: gcov returns 0 un erroneuos incovation Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-prof

[Bug ipa/102557] [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node::insert_access) since r12-3202-gf5ff3a8ed4ca9173

2021-10-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102557 --- Comment #6 from Martin Liška --- Can we close it as fixed now?

[Bug gcov-profile/102747] New: gcov returns 0 when invoked on gcda generated by previous gcc version

2021-10-14 Thread chipitsine at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102747 Bug ID: 102747 Summary: gcov returns 0 when invoked on gcda generated by previous gcc version Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/102746] gcov returns 0 un erroneuos incovation

2021-10-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102746 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-10-14 Status|UNCONFIRME

[Bug gcov-profile/102747] gcov returns 0 when invoked on gcda generated by previous gcc version

2021-10-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102747 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned a

[Bug gcov-profile/102746] gcov returns 0 un erroneuos incovation

2021-10-14 Thread chipitsine at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102746 --- Comment #2 from Илья Шипицин --- I came to this situation using wrong powershell approach. I found all "gcda" and merged them into single string. Powershell executed "gcov" and passed 1 (!!) argument as concatenated string. Actually, if gco

[Bug libstdc++/101263] non-propagating-cache::emplace-deref missing constexpr

2021-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101263 --- Comment #5 from Patrick Palka --- (In reply to Jonathan Wakely from comment #4) > (In reply to Patrick Palka from comment #1) > > We might first need to implement P2231 (for constexpr optional) before this > > function can be properly conste

[Bug libstdc++/101263] non-propagating-cache::emplace-deref missing constexpr

2021-10-14 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101263 --- Comment #6 from Barry Revzin --- The "real" answer is allowing constexpr placement new, but that obviously doesn't help you right now. But I think the helpful answer is that you can add a constructor to your storage like storage(init_from_i

[Bug c++/102748] New: static_assert on concept leads to undefined reference

2021-10-14 Thread raffael at casagrande dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102748 Bug ID: 102748 Summary: static_assert on concept leads to undefined reference Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug libstdc++/101263] non-propagating-cache::emplace-deref missing constexpr

2021-10-14 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101263 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #7 from TC --

[Bug rtl-optimization/102627] [11 Regression] wrong code with "-O1"

2021-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102627 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:99d21577f8a00196f3133fe1066de6e3e7d180c1 commit r11-9154-g99d21577f8a00196f3133fe1066de6e3e7d180c1 Author: Vladimir N.

[Bug rtl-optimization/102627] [11 Regression] wrong code with "-O1"

2021-10-14 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102627 --- Comment #8 from Vladimir Makarov --- I've committed the patch to gcc-11 branch too after nobody made complaints about the patch in the trunk. I've also successfully tested and bootstrapped the patch on the branch too.

[Bug c++/102749] New: ambigous call on different std::variant types with iterators

2021-10-14 Thread benni.probst at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102749 Bug ID: 102749 Summary: ambigous call on different std::variant types with iterators Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-14 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #24 from joseph at codesourcery dot com --- On Thu, 14 Oct 2021, ubizjak at gmail dot com via Gcc-bugs wrote: > The situation is hopeless from the beginning. Please consider this testcase: > > --cut here-- > #include > #include >

[Bug other/102663] add an install-dvi Makefile target to the toplevel Makefile and all subdirectories

2021-10-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102663 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #2

[Bug target/101296] Addition of x86 addsub SLP patterned slowed down 433.milc by 12% on znver2 with -Ofast -flto

2021-10-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101296 --- Comment #10 from Martin Jambor --- Looking at the LNT graph, I guess this bug should be either closed or suspended (not sure what the suspended state means for the blocked metabug, so probably closed). Yeah, it's weird.

[Bug libstdc++/101583] [12 Regression] error: use of deleted function when building gold

2021-10-14 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101583 Thiago Macieira changed: What|Removed |Added CC||thiago at kde dot org --- Comment #10

[Bug tree-optimization/102750] New: 433.milc regressed by 10% on AMD zen2 at -Ofast -march=native -flto after r12-3893-g6390c5047adb75

2021-10-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102750 Bug ID: 102750 Summary: 433.milc regressed by 10% on AMD zen2 at -Ofast -march=native -flto after r12-3893-g6390c5047adb75 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/102744] [12 regression] -O2 vectorization causes Wzero-length-array-bounds-2.c to fail on arc-elf

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

[Bug testsuite/102751] New: [12 regression] new test case cc.dg/tree-ssa/pr102736.c fails

2021-10-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102751 Bug ID: 102751 Summary: [12 regression] new test case cc.dg/tree-ssa/pr102736.c fails Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/102752] New: [12 Regression] Recent change to ldist causing ICE on msp430-elf, rl78-elf, and xstormy16-elf

2021-10-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102752 Bug ID: 102752 Summary: [12 Regression] Recent change to ldist causing ICE on msp430-elf, rl78-elf, and xstormy16-elf Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/102752] [12 Regression] Recent change to ldist causing ICE on msp430-elf, rl78-elf, and xstormy16-elf

2021-10-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102752 --- Comment #1 from Jeffrey A. Law --- gcc.dg/tree-ssa/pr45427.c shows the same issue.

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-14 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #25 from Uroš Bizjak --- (In reply to jos...@codesourcery.com from comment #24) > This is a fundamentally different test, because it involves (in the > abstract machine) lvalue-to-rvalue conversion of a sNaN representation. > That

[Bug tree-optimization/102738] Failure to optimize (signed) right shift if the range is already known to be [-1, 0]

2021-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102738 --- Comment #3 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:f0b7d4cc49ddb1c2c7474cc3f61e260aa93a96c0 commit r12-4413-gf0b7d4cc49ddb1c2c7474cc3f61e260aa93a96c0 Author: Andrew MacLeod Date:

[Bug tree-optimization/102738] Failure to optimize (signed) right shift if the range is already known to be [-1, 0]

2021-10-14 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102738 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com Res

[Bug c++/102753] New: ICE on invalid use of pointer to a consteval member function

2021-10-14 Thread aaron at aaronballman dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102753 Bug ID: 102753 Summary: ICE on invalid use of pointer to a consteval member function Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/102752] [12 Regression] Recent change to ldist causing ICE on msp430-elf, rl78-elf, and xstormy16-elf

2021-10-14 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102752 --- Comment #2 from Stefan Schulze Frielinghaus --- It looks like I missed to take the TREE_TYPE of reduction_var. I just did a quick test with diff --git a/gcc/tree-loop-distribution.c b/gcc/tree-loop-distribution.c index fb9250031b5..0559b9c

[Bug tree-optimization/102752] [12 Regression] Recent change to ldist causing ICE on msp430-elf, rl78-elf, and xstormy16-elf

2021-10-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102752 --- Comment #3 from Jeffrey A. Law --- No worries. This is why we have testing systems.

[Bug c++/102753] ICE in cp_genericize_r on invalid use of pointer to a consteval member function

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

[Bug fortran/102716] ICE in gfc_validate_kind(): Got bad kind

2021-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102716 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:1b115daf62d94337b3d0b2962b0bbbf005a450e0 commit r12-4414-g1b115daf62d94337b3d0b2962b0bbbf005a450e0 Author: Harald Anlauf Date: T

[Bug fortran/102717] ICE in gfc_simplify_reshape, at fortran/simplify.c:6843

2021-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102717 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b47490c572c5938f887b54240af6096a7c90f640 commit r12-4415-gb47490c572c5938f887b54240af6096a7c90f640 Author: Harald Anlauf Date: T

[Bug c++/102754] New: collisions in double constant template mangling for negative values

2021-10-14 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102754 Bug ID: 102754 Summary: collisions in double constant template mangling for negative values Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity: normal

[Bug c++/102754] collisions in double constant template mangling for negative values

2021-10-14 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102754 --- Comment #1 from hq.ks at web dot de --- Created attachment 51602 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51602&action=edit compile, grep object symbols

[Bug c++/102754] collisions in double constant template mangling for negative values

2021-10-14 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102754 --- Comment #2 from hq.ks at web dot de --- Created attachment 51603 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51603&action=edit output

[Bug c++/102754] collisions in double constant template mangling for negative values

2021-10-14 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102754 hq.ks at web dot de changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/98216] [C++20] template mangling for double template argument is wrong

2021-10-14 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98216 hq.ks at web dot de changed: What|Removed |Added CC||hq.ks at web dot de --- Comment #11

[Bug c++/102753] ICE in cp_genericize_r on invalid use of pointer to a consteval member function

2021-10-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102753 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

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

2021-10-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 Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/102685] [12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514 since r12-4278-g74ccca380cde5e79

2021-10-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102685 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|

[Bug c++/98216] [C++20] template mangling for double template argument is wrong

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98216 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3

[Bug c/102755] New: Built gcc cross compiler always tries to use "as" instead of cross assembler

2021-10-14 Thread dr.duncan.p.simpson at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102755 Bug ID: 102755 Summary: Built gcc cross compiler always tries to use "as" instead of cross assembler Product: gcc Version: unknown Status: UNCONFIRMED Severit

[Bug driver/102755] Built gcc cross compiler always tries to use "as" instead of cross assembler

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102755 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-10-14 Component|c

[Bug driver/102755] Built gcc cross compiler always tries to use "as" instead of cross assembler

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102755 Andrew Pinski changed: What|Removed |Added Keywords||build --- Comment #2 from Andrew Pinski

[Bug tree-optimization/102752] [12 Regression] Recent change to ldist causing ICE on msp430-elf, rl78-elf, and xstormy16-elf

2021-10-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102752 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2021-10-14 Ever confirmed|0

[Bug c++/102748] static_assert on concept leads to undefined reference

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

[Bug tree-optimization/102756] New: [12 Regression] Vectorizer change creates poor code for c-c++-common/torture/vector-compare-2.c

2021-10-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102756 Bug ID: 102756 Summary: [12 Regression] Vectorizer change creates poor code for c-c++-common/torture/vector-compare-2.c Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/102756] [12 Regression] Complete unrolling is too senative to PRE; c-c++-common/torture/vector-compare-2.c

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

[Bug tree-optimization/102756] [12 Regression] Complete unrolling is too senative to PRE; c-c++-common/torture/vector-compare-2.c

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102756 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/102744] [12 regression] -O2 vectorization causes Wzero-length-array-bounds-2.c to fail on arc-elf

2021-10-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102744 --- Comment #2 from Hongtao.liu --- (In reply to Martin Sebor from comment #1) > Here's the relevant part of the test with line numbers: > > 68char cbuf1[1 * sizeof (struct C)]; > 69char cbuf2[2 * sizeof (struct C)] = {

[Bug c++/102757] New: ICE on amd64 (internal compiler error: in expand_expr_real_1, at expr.c:10014)

2021-10-14 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102757 Bug ID: 102757 Summary: ICE on amd64 (internal compiler error: in expand_expr_real_1, at expr.c:10014) Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity

[Bug c++/102757] ICE on amd64 (internal compiler error: in expand_expr_real_1, at expr.c:10014)

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

[Bug c++/86216] g++ ICE on valid code: verify_ssa failed

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86216 Andrew Pinski changed: What|Removed |Added CC||sam at gentoo dot org --- Comment #12 fr

[Bug target/102758] New: [x86] Failure to use registers optimally when swapping between (identically represented) vector types

2021-10-14 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102758 Bug ID: 102758 Summary: [x86] Failure to use registers optimally when swapping between (identically represented) vector types Product: gcc Version: 12.0 Status: UNCONFIR

[Bug target/102758] [12 Regression] Failure to use registers optimally with return values (2 operands related)

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

[Bug c/101702] [12 Regression] ICE: in handle_argspec_attribute, at c-family/c-attribs.c:3623

2021-10-14 Thread cnsun at uwaterloo dot ca via Gcc-bugs
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20211014 (experimental) [master -gee9fa8a57] (GCC) $ cat mutant.c baz4(int[(int)+1.0

[Bug target/102758] [12 Regression] Failure to use registers optimally with return values (2 operands related and subreg)

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102758 Andrew Pinski changed: What|Removed |Added Severity|normal |minor Keywords|needs-bisectio

[Bug c/102759] New: ICE: Segmentation fault, contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*), maybe_check_access_sizes

2021-10-14 Thread cnsun at uwaterloo dot ca via Gcc-bugs
--enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20211014 (experimental) [master -gee9fa8a57] (GCC) $ cat mutant.c a4() { void fa4(int[]); } void fa4(); call_fa4() { fa4

  1   2   >