[Bug testsuite/111969] RISC-V rv32gcv: 12 grouped flaky failures

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111969 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail --- Comment #1 from Andr

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-24 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #9 from Richard Smith --- I don't think we intended for default arguments of class-scope lambdas to get the same complete-class context treatment as default argument of member functions, but the standard wording does currently seem t

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-24 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #10 from Stas Sergeev --- OMG, not what I intended to get. :( All I need is to use offsetof() in templates. Last time I started to use reinterpret_cast for that, you disallowed reinterpret_cast in constexpr context. Now this... Why i

[Bug tree-optimization/111957] `a ? abs(a) : 0` is not simplified to just abs(a)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111957 --- Comment #3 from Andrew Pinski --- Created attachment 56196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56196&action=edit patch which I am testing

[Bug c++/111895] error: invalid operands of types 'unsigned char:2' and 'int' to binary 'operator!=' on enum class bitfield cast to bool

2023-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111895 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:6fa7284e2824310bb7204d41b5243c677ecb62d3 commit r14-4902-g6fa7284e2824310bb7204d41b5243c677ecb62d3 Author: Marek Polacek Date: Mo

[Bug middle-end/111959] tree_single_nonnegative_warnv_p could use tree_nonzero_bits for SSA_NAMES and int types

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111959 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-24 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #11 from Stas Sergeev --- So if I understand correctly, before your proposal the following code was conforming: template struct B { static constexpr int off = O(); }; struct A { char a; B<[]() static constexpr ->int {

[Bug c/111970] New: [tree-optimization] SLP for non-IFN gathers result in RISC-V test failure on gather

2023-10-24 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111970 Bug ID: 111970 Summary: [tree-optimization] SLP for non-IFN gathers result in RISC-V test failure on gather Product: gcc Version: 14.0 Status: UNCONFIRMED Seve

[Bug c/111970] [tree-optimization] SLP for non-IFN gathers result in RISC-V test failure on gather

2023-10-24 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111970 --- Comment #1 from Li Pan --- Created attachment 56198 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56198&action=edit Without this commit

[Bug rtl-optimization/111971] New: ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111971 Bug ID: 111971 Summary: ICE: maximum number of generated reload insns per insn achieved (90) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/111971] ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111971 --- Comment #1 from Jiu Fu Guo --- This issue can be reproduced on 'ppc64' BE machine with -m32.

[Bug rtl-optimization/111971] ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111971 --- Comment #2 from Jiu Fu Guo --- It seems gcc11 is ok.

[Bug target/108220] ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108220 Jiu Fu Guo changed: What|Removed |Added CC||guojiufu at gcc dot gnu.org --- Comment #2

[Bug rtl-optimization/111971] ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111971 --- Comment #3 from Andrew Pinski --- D should be a pair of registers, r0 and r1.

[Bug rtl-optimization/111971] ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111971 --- Comment #4 from Andrew Pinski --- But r1 is the argument register.

[Bug tree-optimization/111970] [14 regression] SLP for non-IFN gathers result in RISC-V test failure on gather since r14-4745-gbeab5b95c58145

2023-10-24 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111970 --- Comment #2 from Li Pan --- Add more information about how to build and run the test cases. Build: ../__RISC-V_INSTALL___RV64/bin/riscv64-unknown-elf-gcc -march=rv64imafdcv -mabi=lp64d -ftree-vectorize -O3 --param riscv-autovec-preference=f

[Bug tree-optimization/85741] [meta-bug] bogus/missing -Wformat-overflow

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85741 Bug 85741 depends on bug 80776, which changed state. Bug 80776 Summary: -Wformat-overflow false positive for %d on integer bounded by __builtin_unreachable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80776 What|Removed

[Bug tree-optimization/80776] -Wformat-overflow false positive for %d on integer bounded by __builtin_unreachable

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

[Bug tree-optimization/80776] -Wformat-overflow false positive for %d on integer bounded by __builtin_unreachable

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80776 Andrew Pinski changed: What|Removed |Added Target Milestone|13.0|---

[Bug tree-optimization/111957] `a ? abs(a) : 0` is not simplified to just abs(a)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111957 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug middle-end/111959] tree_single_nonnegative_warnv_p could use tree_nonzero_bits for SSA_NAMES and int types

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111959 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug tree-optimization/111906] ICE: segfault during GIMPLE pass: dom in gsi_prev() testsuite torture/bitint-39.c with -O1 (expensive tests)

2023-10-24 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111906 --- Comment #5 from Rimvydas (RJ) --- ICE reproducible again outside check-gcc-c testing with gcc-14-4902 build: However it still passes with "-O1 -std=gnu2x" this time.

[Bug modula2/111955] isnan support in Builtins.def is missing

2023-10-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111955 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2023-10-25 Ever confirmed|0

[Bug modula2/111955] isnan support in Builtins.def is missing

2023-10-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111955 --- Comment #2 from Gaius Mulley --- Created attachment 56199 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56199&action=edit Proposed fix Here is the proposed patch with a tiny regression test module. It will be applied once / if the c

[Bug modula2/111955] isnan support in Builtins.def is missing

2023-10-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111955 Gaius Mulley changed: What|Removed |Added Attachment #56199|0 |1 is obsolete|

[Bug ipa/96503] attribute alloc_size effect lost after inlining

2023-10-24 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96503 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #3 fr

[Bug ipa/96503] attribute alloc_size effect lost after inlining

2023-10-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96503 Sam James changed: What|Removed |Added See Also||https://github.com/systemd/

[Bug c++/101631] gcc allows for the changing of an union active member to be changed via a reference

2023-10-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101631 Sam James changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug target/111725] Missed one vsetivli insn

2023-10-24 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111725 Lehua Ding changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/110665] RISC-V do not preserve vector registers in interrupt handler

2023-10-24 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110665 Lehua Ding changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/111249] [12/13 Regression] Aggressive loop optimization reports "iteration 2147483645 invokes undefined behavior"

2023-10-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111249 Sam James changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment #2 f

[Bug tree-optimization/111249] [12/13 Regression] Aggressive loop optimization reports "iteration 2147483645 invokes undefined behavior"

2023-10-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111249 --- Comment #3 from Sam James --- (In reply to Sam James from comment #2) > Bisecting from 11 (good) -> 12 (bad) gave r12-4871-g502ffb1f389011 as the > breaking commit. > > Bisecting from 13 (bad) -> 14 (good) gave r14-2926-gee20be8325f7f2 as t

<    1   2