[Bug other/115970] RFE: add support for sending SARIF output to a pipe

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115970 --- Comment #1 from Andrew Pinski --- Isn't this just writing through a named pipe?

[Bug c++/115960] gcc throws an error when I use Optional in c++17.

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115960 --- Comment #6 from Andrew Pinski --- (In reply to Noah Williams from comment #5) > It isn't? The library I was trying to compile included the "optional" > header, and I had looked it up and found it was part of C++ 17, so I thought > it was

[Bug tree-optimization/111150] (vec CMP vec) != (vec CMP vec) should just produce (vec CMP vec) ^ (vec CMP vec)

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/111150] (vec CMP vec) != (vec CMP vec) should just produce (vec CMP vec) ^ (vec CMP vec)

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c++/115968] g++ 12 and above incorrectly optimize the code with Eigen (-O2 or -O1)

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115968 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #4 from Andrew

[Bug tree-optimization/107200] False positive -Wdangling-pointer?

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107200 Andrew Pinski changed: What|Removed |Added CC||summersnow9403 at gmail dot com ---

[Bug tree-optimization/107200] False positive -Wdangling-pointer?

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107200 Andrew Pinski changed: What|Removed |Added CC||akihiko.odaki at daynix dot com ---

[Bug c++/115291] armv8-a GCC emits float32x2_t loads from uninitialized stack

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115291 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #4 from Andrew

[Bug tree-optimization/107200] False positive -Wdangling-pointer?

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107200 --- Comment #5 from Andrew Pinski --- See https://libeigen.gitlab.io/docs/TopicPitfalls.html section "C++11 and the auto keyword" explictly.

[Bug target/115966] [15 Regression] Miscompilation of 403.gcc with -Ofast -march=native on x86_64

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115966 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug c++/115965] Stack smashing depending on order of declaration

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115965 --- Comment #7 from Andrew Pinski --- Note valgrind in this case cannot always capture buffer overruns due to it cann't easily add a redzone (buffer to detect overruns) for stack arrays. This is why -fsanitize=address is more powerful than both

[Bug c++/115965] Stack smashing depending on order of declaration

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115965 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 115967, which changed state. Bug 115967 Summary: ubsan: shift exponent 64 is too large for 64-bit type HOST_WIDE_INT in ext-dce.cc on line 600 since r15-1901-g98914f9eba5f19

[Bug middle-end/115967] ubsan: shift exponent 64 is too large for 64-bit type HOST_WIDE_INT in ext-dce.cc on line 600 since r15-1901-g98914f9eba5f19

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

[Bug rtl-optimization/115876] [15 regression] ext-dce.cc has ubsan issues; shifting negative values

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 Andrew Pinski changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug c++/115968] g++ 12 and above incorrectly optimize the code with Eigen (-O2 or -O1)

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115968 --- Comment #2 from Andrew Pinski --- See C++11 and the auto keyword section of https://eigen.tuxfamily.org/dox/TopicPitfalls.html The problem is that eval() returns a temporary object (in this case a MatrixXd) which is then referenced by the

[Bug c++/115968] g++ 12 and above incorrectly optimize the code with Eigen (-O2 or -O1)

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

[Bug c++/115963] P3144R2 is not yet completely implemented with a nullptr

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115963 --- Comment #1 from Andrew Pinski --- Note most of the rest of the paragraphs around it say "If the value of the operand of the delete-expression is not a null pointer value and .." The question becomes is that an oversight of P3144R2 or not

[Bug middle-end/115961] [15 Regression] wrong code on llvm-18.1.8 since r15-1936-g80e446e829d818 with bitfields less than the type mode precision

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115961 --- Comment #4 from Andrew Pinski --- (In reply to Li Pan from comment #3) > Only x86 implemented the .SAT_TRUNC for scalar, so I bet it is almost the > same as this https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 ? No it is a different

[Bug rtl-optimization/115912] [15 regression] Harfbuzz testsuite fails (mvar_partial_instance test) since r15-1901-g98914f9eba5f19

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115912 --- Comment #17 from Andrew Pinski --- (In reply to Sam James from comment #14) > ``` ... > @@ -299452,7 +299451,11 @@ Processing insn: >REG_DEAD r477:SI > Trying to simplify pattern: > (zero_extend:SI (subreg:HI (reg:SI 477) 0)) >

[Bug middle-end/115961] [15 Regression] wrong code on llvm-18.1.8 since r15-1936-g80e446e829d818

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115961 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Ever

[Bug c++/115960] gcc throws an error when I use Optional in c++17.

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115960 --- Comment #2 from Andrew Pinski --- Anyways this is not a GCC issue. The AttrBuilder::addAllocSizeAttr is declared in the preprocessed source as: AttrBuilder (unsigned ElemSizeArg, const std::optional );

[Bug c++/115960] gcc throws an error when I use Optional in c++17.

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115960 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 --- Comment #11 from Andrew Pinski --- Can someone please raise this also to https://github.com/ARM-software/abi-aa/issues ? Looks like the riscv folks are ahead of the curve of defining the size/alignment here, see

[Bug tree-optimization/115959] [15 Regression] rv64gcv ICE: segfault during GIMPLE pass: vect

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115959 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug tree-optimization/115959] [15 Regression] rv64gcv ICE: segfault during GIMPLE pass: vect

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

[Bug target/115950] Missed SVE fold to INCP

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115950 --- Comment #2 from Andrew Pinski --- Hmm actually there are patterns there but they are not matching. Something seems to be going wrong with define_insn_and_rewrite ...

[Bug target/115950] Missed SVE fold to INCP

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115950 Andrew Pinski changed: What|Removed |Added Keywords||aarch64-sve Ever confirmed|0

[Bug target/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 --- Comment #10 from Andrew Pinski --- https://gcc.gnu.org/legacy-ml/gcc/2019-08/msg00198.html

[Bug target/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 --- Comment #9 from Andrew Pinski --- Note this was raised on the LLVM side back in 2016: https://github.com/llvm/llvm-project/issues/26836

[Bug target/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 --- Comment #8 from Andrew Pinski --- https://gcc.gnu.org/legacy-ml/gcc/2019-08/msg00191.html

[Bug rtl-optimization/115912] [15 regression] Harfbuzz testsuite fails (mvar_partial_instance test) since r15-1901-g98914f9eba5f19

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115912 --- Comment #12 from Andrew Pinski --- (In reply to Andrew Pinski from comment #11) > Note it might also be useful to add dbgcnt.def support to ext-dce.cc. If I > get a chance I might add it too. I have a patch which implements this; just

[Bug target/110736] gcc: internal compiler error: in change_stack, at reg-stack.cc:2709

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110736 Andrew Pinski changed: What|Removed |Added CC||iamanonymous.cs at gmail dot com ---

[Bug target/115956] ICE: in change_stack, at reg-stack.cc:2732

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115956 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 --- Comment #6 from Andrew Pinski --- https://gitlab.com/x86-psABIs/i386-ABI/-/issues/1 for x86_64 abi. Aarch64 should most likely also do the same ...

[Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255 --- Comment #14 from Andrew Pinski --- This sounds very similar to what I am now running into https://gcc.gnu.org/pipermail/gcc/2024-July/244362.html .

[Bug rtl-optimization/115912] [15 regression] Harfbuzz testsuite fails (mvar_partial_instance test) since r15-1901-g98914f9eba5f19

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115912 --- Comment #11 from Andrew Pinski --- (In reply to Sam James from comment #10) > libharfbuzz_subset_la-hb-subset.cc.300r.ext_dce.xz: > https://dev.gentoo.org/~sam/bugs/gcc/gcc-harfbuzz-dce/libharfbuzz_subset_la- > hb-subset.cc.300r.ext_dce.xz.

[Bug target/115937] duplicate .plt in module's elf header

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

[Bug tree-optimization/66036] strided group loads are not vectorized

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66036 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0

[Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #7 from Andrew Pinski --- Can you attach the file ./arch/arm64/kernel/module.lds ?

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #5 from Andrew Pinski --- So according to the linux kernel modules linker script, it should have combined the .plt sections. So I am thinking this is a linux kernel issue with an older version of the kernel. Can you show exact

[Bug rtl-optimization/115947] ARM Thumb2 baremetal poor optimization

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115947 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug rtl-optimization/115947] ARM Thumb2 baremetal poor optimization

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115947 Andrew Pinski changed: What|Removed |Added Keywords||inline-asm --- Comment #1 from Andrew

[Bug libstdc++/88545] std::find compile to memchr in trivial random access cases (patch)

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88545 --- Comment #14 from Andrew Pinski --- (In reply to GCC Commits from comment #13) > The master branch has been updated by Jonathan Wakely : > > https://gcc.gnu.org/g:de19b516edbf919d31e9d22fdbf6066342d904a2 > > commit

[Bug debug/115943] g++ generates contradictory line table entries

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115943 --- Comment #10 from Andrew Pinski --- (In reply to Guinevere Larsen from comment #9) > I'm confused because, according to the DWARF spec: > > [is_stmt indicates] that the current instruction is a recommended breakpoint > location. A

[Bug debug/115945] DW_LNE_set_discriminator emitted right before Special Opcodes

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115945 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > (In reply to Andrew Pinski from comment #7) > > If so then the bug is in binutils's as support for the .loc, please report > > it there instead.

[Bug debug/115945] DW_LNE_set_discriminator emitted right before Special Opcodes

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115945 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > If so then the bug is in binutils's as support for the .loc, please report > it there instead. https://sourceware.org/bugzilla/ . Maybe it is

[Bug debug/115945] DW_LNE_set_discriminator emitted right before Special Opcodes

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115945 Andrew Pinski changed: What|Removed |Added Resolution|--- |MOVED Status|WAITING

[Bug debug/115943] g++ generates contradictory line table entries

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115943 --- Comment #8 from Andrew Pinski --- (In reply to Guinevere Larsen from comment #7) > I understand that you could have multiple lines related to a single > instruction (even if I disagree it should happen at -Og). My question is, > why is it

[Bug debug/115945] DW_LNE_set_discriminator emitted right before Special Opcodes

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115945 --- Comment #5 from Andrew Pinski --- Does `-gno-as-loc-support` adding work? If so this is a binutils (as) bug

[Bug debug/115945] DW_LNE_set_discriminator emitted right before Special Opcodes

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115945 --- Comment #3 from Andrew Pinski --- Created attachment 58674 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58674=edit output corresponding to `-gno-as-loc-support -dA`

[Bug debug/115945] DW_LNE_set_discriminator emitted right before Special Opcodes

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115945 --- Comment #2 from Andrew Pinski --- Created attachment 58673 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58673=edit -gno-as-loc-support -dA output

[Bug debug/115945] DW_LNE_set_discriminator emitted right before Special Opcodes

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

[Bug debug/115943] g++ generates contradictory line table entries

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115943 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |INVALID --- Comment #6 from Andrew

[Bug debug/115943] g++ generates contradictory line table entries

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115943 --- Comment #5 from Andrew Pinski --- (In reply to Guinevere Larsen from comment #4) > Could you explain why having a single instruction be a statement and not a > statement at once is expected? Because that is expected with optimizations. It

[Bug debug/95574] line table entry in sequence with address after sequence

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 Andrew Pinski changed: What|Removed |Added CC||blarsen at redhat dot com --- Comment

[Bug debug/115943] g++ generates contradictory line table entries

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115943 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug debug/115943] g++ generates contradictory line table entries

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115943 --- Comment #2 from Andrew Pinski --- x86_64: ``` _ZN7MyClass4callEv: .LVL0: .LFB1: .file 1 "/app/example.cpp" .loc 1 7 22 view -0 .cfi_startproc .loc 1 8 5 view .LVU1 .loc 1 8 23 is_stmt 0 view .LVU2

[Bug debug/115943] g++ generates contradictory line table entries

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115943 --- Comment #1 from Andrew Pinski --- Note gcc outputs .line directives usually so this could also be a binutils issue.

[Bug lto/115942] [14/15 regression] lto1: ICE in record_argument_state, at ipa-param-manipulation.cc:2122

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115942 --- Comment #2 from Andrew Pinski --- See https://gcc.gnu.org/bugs/#need too.

[Bug lto/115942] [14/15 regression] lto1: ICE in record_argument_state, at ipa-param-manipulation.cc:2122

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115942 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #3 from Andrew Pinski --- https://unix.stackexchange.com/questions/780176/sysfsduplicate-plt-under-sys-modules

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #2 from Andrew Pinski --- >I changed my gcc from 7.3.0 to 10.3.1 and recompiled kernel code. Did you change binutils version too?

[Bug target/115937] duplicate .plt in module's elf header

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

[Bug c++/55120] Inaccessible virtual base constructor does not prevent generation of default constructor

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55120 Andrew Pinski changed: What|Removed |Added CC||rush102333 at gmail dot com --- Comment

[Bug c++/115938] gcc allows inheriting base class with private destructor during virtual inheritance

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

[Bug c++/113916] gcc allows overriding a non-deleted private base class dtor with a defaulted dtor

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113916 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/90790] Using override on a private overridden destructor shall produce an error

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90790 Andrew Pinski changed: What|Removed |Added CC||rush102333 at gmail dot com --- Comment

[Bug c++/115941] g++ compiler version 15 doesn't fails to build when g++ 12 does (may be related to PR 109247)

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115941 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/97755] Explicit default constructor is called during copy-list-initialization with a warning only

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97755 --- Comment #2 from Andrew Pinski --- pedwarn does change into an error with -pedantic-errors .

[Bug c++/115941] g++ compiler version 15 doesn't fails to build when g++ 12 does (may be related to PR 109247)

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115941 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > It is not related to PR 109247 since it is rejected in GCC 13.1.0 rather > than 13.3.0. s/rather than 13.3.0/rather than just 13.3.0+/.

[Bug c++/115941] g++ compiler version 15 doesn't fails to build when g++ 12 does (may be related to PR 109247)

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115941 --- Comment #1 from Andrew Pinski --- It is not related to PR 109247 since it is rejected in GCC 13.1.0 rather than 13.3.0.

[Bug c++/115858] Incompatibility of coroutines and alloca()

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115858 --- Comment #2 from Andrew Pinski --- (In reply to Arsen Arsenović from comment #1) > - clang: permits alloca in coroutines in many cases. by my crude testing, > it seems to only fail if the size is dynamic and the use of the allocated >

[Bug rtl-optimization/115933] [15 Regression] wrong code at -O1 with "-fno-tree-loop-optimize -ftree-vrp -fno-tree-ch -fgcse" on x86_64-linux-gnu

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

[Bug tree-optimization/115494] [14/15 Regression] wrong code at -O{2,3} on x86_64-linux-gnu since r14-3485

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115494 --- Comment #10 from Andrew Pinski --- Created attachment 58663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58663=edit Reduced testcase based on suggestion Reduced testcase based on comment #8. Notes on it, you need a and b be

[Bug tree-optimization/115925] [14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115925 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug tree-optimization/115494] [14/15 Regression] wrong code at -O{2,3} on x86_64-linux-gnu since r14-3485

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115494 --- Comment #9 from Andrew Pinski --- *** Bug 115925 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/115925] [14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115925 --- Comment #1 from Andrew Pinski --- /* x | C -> C if we know that x & ~C == 0. */ (simplify (bit_ior SSA_NAME@0 INTEGER_CST@1) (if (INTEGRAL_TYPE_P (TREE_TYPE (@0)) && wi::bit_and_not (get_nonzero_bits (@0), wi::to_wide (@1)) == 0)

[Bug c++/55004] [meta-bug] constexpr issues

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 115902, which changed state. Bug 115902 Summary: [14/15 Regression] Can't call immediate function within "if consteval" when optimizing https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115902 What|Removed

[Bug c++/115583] [14/15 Regression] C++23: Call to consteval function in `if consteval` immediate function context rejected at -O1 since r14-4140

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115583 Andrew Pinski changed: What|Removed |Added CC||gcc at nospam dot scs.stanford.edu

[Bug c++/115902] [14/15 Regression] Can't call immediate function within "if consteval" when optimizing

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

[Bug rtl-optimization/115877] [15 Regression] wrong code at -Os (missing zero extension)

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115877 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/115925] [14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115925 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.2 Version|unknown

[Bug rtl-optimization/115929] [15 regression] ICE on valid code at -O{2,3} with "-fschedule-insns" on x86_64-linux-gnu: Segmentation fault

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|15.0 CC||pinskia at gcc dot gnu.org

[Bug rtl-optimization/115927] [15 regression] wrong code at -O{2,3} with "-fno-tree-vrp" on x86_64-linux-gnu (nondeterministic behavior)

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115927 Andrew Pinski changed: What|Removed |Added CC||law at gcc dot gnu.org

[Bug tree-optimization/114864] [12/13/14/15 regression] wrong code at -O1 with "-fno-tree-dce -fno-tree-fre" on x86_64-linux-gnu

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114864 --- Comment #6 from Andrew Pinski --- *** Bug 115926 has been marked as a duplicate of this bug. ***

[Bug ipa/115926] [12/13/14/15 regression] wrong code at -O1 with "-fno-tree-fre" on x86_64-linux-gnu

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115926 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug ipa/115926] [12/13/14/15 regression] wrong code at -O1 with "-fno-tree-fre" on x86_64-linux-gnu

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115926 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |ipa --- Comment #1 from Andrew Pinski

[Bug middle-end/115924] Failure to optimize back and forth shifts of several operands by the same amount with operations in the middle to ands

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115924 --- Comment #3 from Andrew Pinski --- Note better example: ``` #include uint32_t f(uint32_t i2, uint32_t aa, uint32_t aa1) { return ((i2 >> 17) + (aa >> 17) + (aa1 >> 17)) << 17; } uint32_t fa(uint32_t i2, uint32_t aa, uint32_t aa1) {

[Bug middle-end/115924] Failure to optimize back and forth shifts of several operands by the same amount with operations in the middle to ands

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115924 --- Comment #2 from Andrew Pinski --- Note clang also falls over for 3 additions and swapping the order of the addition just slightly. ``` #include int32_t f(int32_t i2, int32_t aa, int32_t aa1) { return ((i2 >> 17) + (aa >> 17) + (aa1

[Bug middle-end/115924] Failure to optimize back and forth shifts of several operands by the same amount with operations in the middle to ands

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115924 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |middle-end --- Comment #1 from Andrew

[Bug c++/115915] gcc fails to detect invalid friend declaration of classes in different namespaces

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115915 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-14

[Bug c++/115923] New: different diagnostic if using qualified name vs not for missing template arguments

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Keywords: diagnostic Severity: enhancement Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Take: ``` template struct extent{}; struct extent t; struct ::extent t1; ``` GCC

[Bug c++/115915] gcc fails to detect invalid friend declaration of classes in different namespaces

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115915 --- Comment #1 from Andrew Pinski --- The question is does that friend is naming `::extent` or is naming `std_1::extent` using the `using namespace` statement. I suspect GCC and EDG think it is `::extent` while clang and MSVC think it is

[Bug rtl-optimization/115912] [15 regression] Harfbuzz testsuite fails (mvar_partial_instance test) since r15-1901-g98914f9eba5f19

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

[Bug c/109828] [13/14/15 Regression] static compound literal with flexible array in initializer leads to invalid size and ICE

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109828 Andrew Pinski changed: What|Removed |Added CC||iamanonymous.cs at gmail dot com ---

[Bug c/115920] ICE: in tree_to_poly_int64, at tree.cc:3319

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

[Bug c++/115914] SIGSEGV when std::generator co_yield different ranges of elements

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115914 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/115913] [11/12/13/14/15 Regression] ICE with pragma GCC pop_options with diagnostic

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

  1   2   3   4   5   6   7   8   9   10   >