[Bug libstdc++/100017] [11 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #79 from Jonathan Wakely --- I'm doing that now.

[Bug c++/103966] New: std::atomic relaxed load, inc, store sub-optimal codegen

2022-01-10 Thread witold.baryluk+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103966 Bug ID: 103966 Summary: std::atomic relaxed load, inc, store sub-optimal codegen Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/103966] std::atomic relaxed load, inc, store sub-optimal codegen

2022-01-10 Thread witold.baryluk+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103966 --- Comment #1 from Witold Baryluk --- Current codegen on gcc 12 on 64-bit x86: inc_a(): inc QWORD PTR x[rip] ret inc_b_non_atomic(): mov rax, QWORD PTR y[rip] inc rax mov QWORD PTR y[rip]

[Bug c++/103966] std::atomic relaxed load, inc, store sub-optimal codegen

2022-01-10 Thread witold.baryluk+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103966 --- Comment #2 from Witold Baryluk --- Similarly, dec, add, sub, are affected, as well mul. Example: #include #include uint64_t x; void add_a() { x += 5; } std::atomic y; void add_b_non_atomic() { y.store(y.load(std::memory_order_

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 Jakub Jelinek changed: What|Removed |Added CC||amorenoz at redhat dot com --- Comment

[Bug target/103465] [12 regression] -freorder-blocks-and-partition broken on 64-bit Windows

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103465 --- Comment #30 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:27e6c84c1f14a8195a3f9fb489c240ecc7a6257d commit r11-9447-g27e6c84c1f14a8195a3f9fb489c240ecc7a6257d Author: Eric Botcazou

[Bug target/103465] [12 regression] -freorder-blocks-and-partition broken on 64-bit Windows

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103465 --- Comment #31 from CVS Commits --- The releases/gcc-10 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:331733c384ed74539b38e5fa933b35818a109f5c commit r10-10388-g331733c384ed74539b38e5fa933b35818a109f5c Author: Eric Botcazou

[Bug target/103465] [12 regression] -freorder-blocks-and-partition broken on 64-bit Windows

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103465 --- Comment #32 from CVS Commits --- The releases/gcc-9 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:90e463661d81f85a2365b89bea2b0cc6070ae024 commit r9-9905-g90e463661d81f85a2365b89bea2b0cc6070ae024 Author: Eric Botcazou D

[Bug target/103465] [12 regression] -freorder-blocks-and-partition broken on 64-bit Windows

2022-01-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103465 Eric Botcazou changed: What|Removed |Added Status|REOPENED|RESOLVED Target Milestone|12.0

[Bug c++/103966] std::atomic relaxed load, inc, store sub-optimal codegen

2022-01-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103966 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug target/103967] New: x86-64: bitfields make inefficient indexing for array with 16 byte+ objects

2022-01-10 Thread nekotekina at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103967 Bug ID: 103967 Summary: x86-64: bitfields make inefficient indexing for array with 16 byte+ objects Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: no

[Bug target/102024] [12 Regression] zero width bitfields and ABIs

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102024 --- Comment #17 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3159da6c46568a7c600f78fb3a3b76e2ea4bf4cc commit r12-6418-g3159da6c46568a7c600f78fb3a3b76e2ea4bf4cc Author: Jakub Jelinek Date:

[Bug fortran/103366] [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103366 --- Comment #8 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:828474fafd2ed33430172fe227f9da7d6fb98723 commit r12-6419-g828474fafd2ed33430172fe227f9da7d6fb98723 Author: Paul Thomas Date: Mon J

[Bug tree-optimization/103948] Vectorizer does not use vec_cmpMN without vcondMN pattern

2022-01-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103948 --- Comment #7 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #6) > I'll try your proposed patch from Comment #5 later today and report here. Yes, the patch works for me.

[Bug middle-end/93848] missing -Warray-bounds warning for array subscript 1 is outside array bounds

2022-01-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93848 --- Comment #13 from Martin Sebor --- The patch submitted (but not approved) for GCC 11: https://gcc.gnu.org/pipermail/gcc-patches/2020-November/558775.html

[Bug c++/103945] No warning for ordered comparison of function pointers ?

2022-01-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103945 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #4

[Bug c++/103945] No warning for ordered comparison of function pointers ?

2022-01-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103945 --- Comment #5 from Martin Sebor --- (The patch review was never finished.)

[Bug middle-end/93848] missing -Warray-bounds warning for array subscript 1 is outside array bounds

2022-01-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93848 --- Comment #14 from Martin Sebor --- Created attachment 52156 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52156&action=edit Updated patch. The attached patch is an updated version that fixes a few ICEs. It's not in the archives becaus

[Bug d/103944] [12 Regression] Testsuite hang due to libphobos/testsuite/libphobos.gc/forkgc2.d

2022-01-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103944 --- Comment #7 from Iain Buclaw --- (In reply to Iain Buclaw from comment #6) > (In reply to Jakub Jelinek from comment #4) > > Note, it isn't just i686-linux, I was getting the hangs on x86_64-linux, > > s390x-linux or armv7hl-linux-gnueabi too

[Bug libstdc++/103866] AM_PROG_LIBTOOL not compatible with GCC_NO_EXECUTABLES

2022-01-10 Thread pixel--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866 --- Comment #14 from Nicolas Noble --- Thank you, I'll check it out. On Mon, Jan 10, 2022, 04:24 redi at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866 > > Jonathan Wakely changed: > >

[Bug libstdc++/100017] [11 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #80 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:01a70ccd723eb9a479186fe37c972b0d0f8676cf commit r11-9448-g01a70ccd723eb9a479186fe37c972b0d0f8676cf Author: Jonathan Wak

[Bug libstdc++/100017] [11 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/103968] New: ICE and segfault when instantiating template with lvalue ref argument and nested template type

2022-01-10 Thread aliaume.morel at baracoda dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aliaume.morel at baracoda dot com Target Milestone: --- The following compiles with clang, GCC 10.3, but gives an ICE on GCC 11.1 and 12.0.0 (20220110

[Bug c++/103968] [11/12 Regression] ICE and segfault when instantiating template with lvalue ref argument and nested template type

2022-01-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103968 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org K

[Bug tree-optimization/103948] Vectorizer does not use vec_cmpMN without vcondMN pattern

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103948 --- Comment #8 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:de0faa56a10406b50fba159957e3a3fd2f95c64b commit r12-6422-gde0faa56a10406b50fba159957e3a3fd2f95c64b Author: Uros Bizjak Date: Mon J

[Bug tree-optimization/103948] Vectorizer does not use vec_cmpMN without vcondMN pattern

2022-01-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103948 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |12.0 Status|UNCONFIRMED

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2022-01-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 103948, which changed state. Bug 103948 Summary: Vectorizer does not use vec_cmpMN without vcondMN pattern https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103948 What|Removed |Added ---

[Bug middle-end/88670] [meta-bug] generic vector extension issues

2022-01-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88670 Bug 88670 depends on bug 103948, which changed state. Bug 103948 Summary: Vectorizer does not use vec_cmpMN without vcondMN pattern https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103948 What|Removed |Added ---

[Bug c++/103912] ICE in a consteval function which returns a lambda which takes a "non-POD" argument and the consteval has other code

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103912 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:54fa7daefe35cacf4a933947d1802318da193c01 commit r12-6423-g54fa7daefe35cacf4a933947d1802318da193c01 Author: Jakub Jelinek Date: M

[Bug c++/103969] New: 'auto' parameter not permitted in this context

2022-01-10 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103969 Bug ID: 103969 Summary: 'auto' parameter not permitted in this context Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/103783] Ambiguous overload between constrained static member and unconstrained non-static member

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103783 --- Comment #5 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:3e95a974c39e922d19bf7ac1246730c516ae01f2 commit r12-6424-g3e95a974c39e922d19bf7ac1246730c516ae01f2 Author: Patrick Palka Date: M

[Bug c++/103879] error: accessing value of variant::_Copy_ctor_base through a 'const variant' glvalue in a constant expression

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879 --- Comment #11 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:ab36b554bd90e8db279d13b133369118814f13fb commit r12-6425-gab36b554bd90e8db279d13b133369118814f13fb Author: Patrick Palka Date:

[Bug target/103861] [i386] vectorize v2qi vectors

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103861 --- Comment #10 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:04a745556021b7a1c6e81a41d0a12b60a4d9475d commit r12-6426-g04a745556021b7a1c6e81a41d0a12b60a4d9475d Author: Uros Bizjak Date: Mon

[Bug c++/103879] error: accessing value of variant::_Copy_ctor_base through a 'const variant' glvalue in a constant expression

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

[Bug fortran/103970] New: Multi-image co_broadcast of derived type with allocatable components fails

2022-01-10 Thread damian at sourceryinstitute dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103970 Bug ID: 103970 Summary: Multi-image co_broadcast of derived type with allocatable components fails Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: n

[Bug target/99674] gcc/config/i386/i386-features.c: 2143: 2 * member variable not inited in ctor ?

2022-01-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99674 --- Comment #2 from David Binderman --- (In reply to David Binderman from comment #1) > Interestingly, there are about 125 cases of this in the gcc source code, > so this warning would be of immediate use for gcc itself. Now up to 161 cases.

[Bug c++/103966] std::atomic relaxed load, inc, store sub-optimal codegen

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

[Bug target/80817] [missed optimization][x86] relaxed atomics

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80817 Andrew Pinski changed: What|Removed |Added CC||witold.baryluk+gcc at gmail dot co

[Bug target/47867] lto language is not supported on 32-bit HP-UX

2022-01-10 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47867 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug bootstrap/103971] New: [12 regression] build fails after r12-6420, ICE at libgfortran/generated/matmul_i1.c:2450

2022-01-10 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103971 Bug ID: 103971 Summary: [12 regression] build fails after r12-6420, ICE at libgfortran/generated/matmul_i1.c:2450 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/103821] [12 Regression] huge compile time (jump threading) at -O3 for simple code since r12-4790-g4b3a325f07acebf47e82de227ce1d5ba62f5bcae

2022-01-10 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103821 --- Comment #3 from Andrew Macleod --- Interesting. This isn't caused by jump threading, just exposed by it. We end up unrolling this loop, and the pattern of code creates a set of cascading multiplies for which we can precisely evaluate them

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #9 from Jonathan Wakely --- Ah it was left out of libstdc++'s freestanding builds intentionally: > When the final header is added it will need to be in > libsupc++ so that it's included for freestanding builds (and at that > point

[Bug c++/103783] Ambiguous overload between constrained static member and unconstrained non-static member

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103783 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:1e4a9f22ac21da012fc93198a22e30b70e8fdf84 commit r11-9450-g1e4a9f22ac21da012fc93198a22e30b70e8fdf84 Author: Patrick Palka

[Bug c++/103783] Ambiguous overload between constrained static member and unconstrained non-static member

2022-01-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103783 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/67491] [meta-bug] concepts issues

2022-01-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 103783, which changed state. Bug 103783 Summary: Ambiguous overload between constrained static member and unconstrained non-static member https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103783 What|Removed

[Bug middle-end/100536] ICE: in expand_call with large union (1GB) argument

2022-01-10 Thread k.even-mendoza at imperial dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100536 Karine EM changed: What|Removed |Added CC||k.even-mendoza at imperial dot ac.

[Bug c++/103945] No warning for ordered comparison of function pointers ?

2022-01-10 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103945 Eric Gallager changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug c/81453] relational expression involving null pointer not diagnosed with -Wall

2022-01-10 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81453 Eric Gallager changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #3

[Bug c++/87403] [Meta-bug] Issues that suggest a new warning

2022-01-10 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 103945, which changed state. Bug 103945 Summary: No warning for ordered comparison of function pointers ? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103945 What|Removed |Added

[Bug go/103972] New: Building Go Frontend Failure on FreeBSD Powerpc64

2022-01-10 Thread clhamilto at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103972 Bug ID: 103972 Summary: Building Go Frontend Failure on FreeBSD Powerpc64 Product: gcc Version: og11 (devel/omp/gcc-11) Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/81453] relational expression involving null pointer not diagnosed with -Wall

2022-01-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81453 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor -

[Bug go/103972] Building Go Frontend Failure on FreeBSD Powerpc64

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103972 --- Comment #1 from Andrew Pinski --- go/runtime/os_freebsd.go should have been used

[Bug tree-optimization/103971] [12 regression] build fails after r12-6420, ICE at libgfortran/generated/matmul_i1.c:2450

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

[Bug middle-end/100536] ICE: in expand_call with large union (1GB) argument

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100536 --- Comment #6 from Andrew Pinski --- (In reply to Karine EM from comment #5) > With GCC-11 and GCC-10, the compiler does not crash but returns: "confused > by earlier errors, bailing out" and ends gracefully. That is actually still a crash :)

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | --- Comment #9 from Andrew Pinski ---

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #10 from Andrew

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Andrew Pinski changed: What|Removed |Added Severity|normal |blocker

[Bug rtl-optimization/53652] *andn* does not always get used with simd and loading from memory

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53652 --- Comment #8 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:4bb79e27c02c5cd57d5781bef20e70982d898c40 commit r12-6428-g4bb79e27c02c5cd57d5781bef20e70982d898c40 Author: Haochen Jiang Date: Thu

[Bug rtl-optimization/53652] *andn* does not always get used with simd and loading from memory

2022-01-10 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53652 --- Comment #9 from Hongtao.liu --- Fixed in GCC12.

[Bug rtl-optimization/53652] *andn* does not always get used with simd and loading from memory

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

[Bug c++/103969] generic lambda is rejected as a template argument default

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103969 Andrew Pinski changed: What|Removed |Added Keywords|rejects-valid | Summary|'auto' parameter no

[Bug c++/103969] generic lambda is rejected as a template argument default

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

[Bug c++/101884] Generic lambda with auto in template parameter list rejected

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101884 Andrew Pinski changed: What|Removed |Added CC||egor.pugin at gmail dot com --- Comment

[Bug c++/54367] [meta-bug] lambda expressions

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 103969, which changed state. Bug 103969 Summary: generic lambda is rejected as a template argument default https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103969 What|Removed |Added ---

[Bug c++/103969] generic lambda is rejected as a template argument default

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103969 --- Comment #3 from Andrew Pinski --- actually dup of bug 88313. *** This bug has been marked as a duplicate of bug 88313 ***

[Bug c++/88313] generic lambda in default template argument

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88313 Andrew Pinski changed: What|Removed |Added CC||egor.pugin at gmail dot com --- Comment

[Bug c++/101884] Generic lambda with auto in template parameter list rejected

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101884 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/88313] generic lambda in default template argument

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88313 Andrew Pinski changed: What|Removed |Added CC||johelegp at gmail dot com --- Comment #2

[Bug target/103967] x86-64: bitfields make inefficient indexing for array with 16 byte+ objects

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103967 --- Comment #1 from Andrew Pinski --- There are two issues, the first issue deals with array accesses not always being lowered at the gimple level and the second issue is bitfield accesses are not being lowered either.

[Bug target/103967] x86-64: bitfields make inefficient indexing for array with 16 byte+ objects

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103967 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5

[Bug target/78855] -mtune=generic should keep cmp/jcc together. AMD and Intel both macro-fuse

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

[Bug target/103973] New: x86: 4-way comparison of floats/doubles with spaceship operator possibly suboptimal

2022-01-10 Thread nekotekina at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103973 Bug ID: 103973 Summary: x86: 4-way comparison of floats/doubles with spaceship operator possibly suboptimal Product: gcc Version: 12.0 Status: UNCONFIRMED Seve

[Bug bootstrap/103974] New: [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

2022-01-10 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974 Bug ID: 103974 Summary: [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72 Product: gcc Version: 12.0 Status: UNCONFIRMED Key

[Bug middle-end/70425] decl_expr does not print the *_decl which is it is associated with it for tree-dump.c

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

[Bug bootstrap/103974] [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

2022-01-10 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974 --- Comment #1 from Hans-Peter Nilsson --- Created attachment 52157 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52157&action=edit gzipped preprocessed (>1 MB) floating_to_chars.ii Reproduce using the ungzipped file for example like so:

[Bug bootstrap/103974] [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

2022-01-10 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974 --- Comment #2 from Hans-Peter Nilsson --- Created attachment 52158 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52158&action=edit brief gdb inspection session I had to "rm *ira*.o" and "make all-gcc CXXFLAGS=-g3" and re-start the gdb s

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2022-01-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #10 from cqwrteur --- (In reply to Jonathan Wakely from comment #9) > Ah it was left out of libstdc++'s freestanding builds intentionally: > > > When the final header is added it will need to be in > > libsupc++ so that it's includ

[Bug bootstrap/103974] [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

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

[Bug bootstrap/103974] [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

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

[Bug target/103973] x86: 4-way comparison of floats/doubles with spaceship operator possibly suboptimal

2022-01-10 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103973 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug target/103973] x86: 4-way comparison of floats/doubles with spaceship operator possibly suboptimal

2022-01-10 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103973 --- Comment #2 from Hongtao.liu --- W/ -ffast-math only one COMISD is used.

[Bug target/103973] x86: 4-way comparison of floats/doubles with spaceship operator possibly suboptimal

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103973 --- Comment #3 from Andrew Pinski --- With -O2 -fno-trapping-math, we get: ucomisd %xmm1, %xmm0 jp .L9 movl$0, %eax jne .L9 ret .p2align 4,,10 .p2align 3 .L9: ucomisd %

[Bug target/103973] x86: 4-way comparison of floats/doubles with spaceship operator possibly suboptimal

2022-01-10 Thread nekotekina at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103973 --- Comment #4 from Ivan --- So there is nothing to improve here? That's good to know, I suppose it can be closed then.

[Bug bootstrap/103974] [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974 --- Comment #4 from Andrew Pinski --- Created attachment 52159 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52159&action=edit reduced testcase as much as I could get it Just needs -O2. It is both a C or C++ testcase even. I can't reduce

[Bug bootstrap/103974] [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974 --- Comment #5 from Andrew Pinski --- This the steps I needed to reproduce this bug; mkdir objdir-cris cd objdir-cris ../configure --target=cris-elf make -j24 all-gcc cd gcc wget https://gcc.gnu.org/bugzilla/attachment.cgi?id=52159 mv attach* t.

[Bug debug/103975] New: DWARF .debug_frame incorrect for ISRs on AVR; pushing SREG creates off-by-one error

2022-01-10 Thread kimballa at apache dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103975 Bug ID: 103975 Summary: DWARF .debug_frame incorrect for ISRs on AVR; pushing SREG creates off-by-one error Product: gcc Version: 7.3.0 Status: UNCONFIRMED Sev

[Bug debug/103975] DWARF .debug_frame incorrect for ISRs on AVR; pushing SREG creates off-by-one error

2022-01-10 Thread kimballa at apache dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103975 --- Comment #1 from Aaron Kimball --- Created attachment 52160 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52160&action=edit isr.i that generates incorrect .debug_frame info Attaching isr.i test case file

<    1   2