[Bug analyzer/118500] no diagnostics with strsep(3) and [[gnu::malloc(free)]] attribute

2025-01-20 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118500 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #9 fr

[Bug c/118575] -ftrivial-auto-var-init=zero should perhaps imply -fzero-init-padding-bits=all

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118575 --- Comment #1 from Sam James --- (The natural counterpoint being "well, they're not trivial", but my response would be "okay, but it's about the almost-guaranteed intent of the user.") Or perhaps at least we should mention it in the docs for -

[Bug c/118575] New: -ftrivial-auto-var-init=zero should perhaps imply -fzero-init-padding-bits=all

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118575 Bug ID: 118575 Summary: -ftrivial-auto-var-init=zero should perhaps imply -fzero-init-padding-bits=all Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug target/109832] aarch64: Inefficient code for logical or of two booleans

2025-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109832 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |--- Last reconfirmed|

[Bug sanitizer/118578] New: simple code crash on some AlmaLinux 8.4 but works on other machines of the same OS

2025-01-20 Thread Yang.Li at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118578 Bug ID: 118578 Summary: simple code crash on some AlmaLinux 8.4 but works on other machines of the same OS Product: gcc Version: 12.3.0 Status: UNCONFIRMED Sev

[Bug c++/118577] Deleted dtor trying to override non-deleted one with user-defined 'operator delete' is not forbidden

2025-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118577 --- Comment #1 from Andrew Pinski --- Adding: ``` void f() { C a; } ``` GCC now rejects it with a similar message as clang: ``` : In destructor 'virtual C::~C()': :8:8: error: 'static void A::operator delete(void*, int)' is private wit

[Bug c/118575] -ftrivial-auto-var-init=zero should perhaps imply -fzero-init-padding-bits=all

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118575 --- Comment #2 from Sam James --- Actually... for -ftrivial-auto-var-init, we document [0] the behaviour as "With this option, GCC will also initialize any padding of automatic variables that have structure or union types to zeroes.". So, maybe

[Bug testsuite/118547] gcc.c-torture/compile/pr106433.c and others fail on aarch64 with an older binutils

2025-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118547 --- Comment #2 from Andrew Pinski --- (In reply to Richard Sandiford from comment #1) > I suppose this is just a case of adding aarch64_variant_pcs requirements to > the tests. (The use of .variant_pcs is deliberately not gated on assembler > s

[Bug c++/118577] New: Deleted dtor trying to override non-deleted one with user-defined 'operator delete' is not forbidden

2025-01-20 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118577 Bug ID: 118577 Summary: Deleted dtor trying to override non-deleted one with user-defined 'operator delete' is not forbidden Product: gcc Version: 15.0 Status: UNCONFIRM

[Bug c++/118576] gcc does not realize implicitly deleted default constructor in virtual inheritance with using-decl

2025-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118576 --- Comment #2 from Andrew Pinski --- I am not 100% sure but this seems related to https://cplusplus.github.io/CWG/issues/2504.html .

[Bug c++/118049] conflicting global module declaration

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118049 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:a82352a2a074230d841a3944e30bd497726e0bfa commit r14-11233-ga82352a2a074230d841a3944e30bd497726e0bfa Author: Nathaniel Sh

[Bug c++/118049] conflicting global module declaration

2025-01-20 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118049 Nathaniel Shead changed: What|Removed |Added Target Milestone|15.0|14.3 --- Comment #8 from Nathaniel Sh

[Bug tree-optimization/117875] [15 Regression] 28% regression for 456.hmmer on Zen4 with -Ofast -march=native

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117875 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 117875, which changed state. Bug 117875 Summary: [15 Regression] 28% regression for 456.hmmer on Zen4 with -Ofast -march=native https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117875 What|Removed

[Bug middle-end/80342] useless outermost conversions not fully elided by genmatch generated code

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80342 --- Comment #3 from Richard Biener --- *** Bug 118565 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/118565] match.pd patterns with non-leaf useless conversions result in SSA copies

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118565 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug middle-end/109832] aarch64: Inefficient code for logical or of two booleans

2025-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109832 Andrew Pinski changed: What|Removed |Added Component|target |middle-end Assignee|unassigne

[Bug middle-end/109832] [12/13/14/15 Regression] aarch64: Inefficient code for logical or of two booleans due to ccmp expansion

2025-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109832 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.5 Known to work|

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #6 from Jerry DeLisle --- (In reply to kargls from comment #3) > diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c > index 54312bf67e9..084ac314f5c 100644 > --- a/libgfortran/io/write.c > +++ b/libgfortran/io/write.c > @@

[Bug c++/118576] New: gcc does not realize implicitly deleted default constructor in virtual inheritance with using-decl

2025-01-20 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118576 Bug ID: 118576 Summary: gcc does not realize implicitly deleted default constructor in virtual inheritance with using-decl Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/118576] gcc does not realize implicitly deleted default constructor in virtual inheritance with using-decl

2025-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118576 --- Comment #1 from Andrew Pinski --- MSVC also accepts it.

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

2025-01-20 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 Status|NEW |SUSPENDED Alias|

[Bug target/109093] csmith: a February runtime bug ?

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 Sam James changed: What|Removed |Added Attachment #59531|0 |1 is obsolete|

[Bug target/118501] [14/15 regression] aarch64: ICE in simplify_context::simplify_subreg

2025-01-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug tree-optimization/117875] [15 Regression] 28% regression for 456.hmmer on Zen4 with -Ofast -march=native

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117875 --- Comment #19 from Richard Biener --- Remains fast_algorithms.c:133:19: optimized: Loop 3 distributed: split to 3 loops and 0 library calls. fast_algorithms.c:133:19: optimized: Loop 5 distributed: split to 2 loops and 0 library calls. fas

[Bug tree-optimization/118565] New: match.pd patterns with non-leaf useless conversions result in SSA copies

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118565 Bug ID: 118565 Summary: match.pd patterns with non-leaf useless conversions result in SSA copies Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/118565] match.pd patterns with non-leaf useless conversions result in SSA copies

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118565 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug go/118286] go crypto/tls test fails because of expired certificate? (TestVerifyConnection, bad certificate)

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118286 Sam James changed: What|Removed |Added Last reconfirmed||2025-01-20 Status|RESOLVED

[Bug target/115921] Missed optimization: and->ashift might be cheaper than ashift->and on typical RISC targets

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115921 --- Comment #10 from GCC Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:10e98638998745ebc3888a20e661a8364e88ea3a commit r15-7062-g10e98638998745ebc3888a20e661a8364e88ea3a Author: Xi Ruoyao Date: Tue Jan

[Bug libstdc++/118563] [15 regression] libstdc++ incompatible ABI change on riscv64

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118563 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Priority|P3

[Bug libstdc++/118563] New: [15 regression] libstdc++ incompatible ABI change on riscv64

2025-01-20 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118563 Bug ID: 118563 Summary: [15 regression] libstdc++ incompatible ABI change on riscv64 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ABI Sev

[Bug tree-optimization/117875] [15 Regression] 28% regression for 456.hmmer on Zen4 with -Ofast -march=native

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117875 --- Comment #18 from Richard Biener --- (In reply to Richard Biener from comment #17) > -sre_math.c:174:17: optimized: loop vectorized using 16 byte vectors > > -sre_math.c:192:17: optimized: loop vectorized using 16 byte vectors Those two are

[Bug target/118348] [15 Regression] [SVE] HACCKernels seems to miscompile with VLS SVE after 0c5c0c959c2e592b84739f19ca771fa69eb8dfee

2025-01-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118348 Richard Sandiford changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/117270] [15 Regression] 9% exec time slowdown of 538.imagick_r on aarch64

2025-01-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117270 Richard Sandiford changed: What|Removed |Added Assignee|tnfchris at gcc dot gnu.org|rsandifo at gcc dot gnu.org

[Bug tree-optimization/118552] [15 regression] ICE on valid code at -O3 with "-fno-tree-ch -fno-tree-ccp -fno-tree-fre" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118552 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:1265afa91d51606605f85e732344e86e4e4dae9b commit r15-7059-g1265afa91d51606605f85e732344e86e4e4dae9b Author: Richard Biener Date:

[Bug middle-end/118549] -funreachable-traps doesn't transform user provided unreachable into trap

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118549 Sam James changed: What|Removed |Added Keywords||documentation --- Comment #8 from Sam James

[Bug tree-optimization/118552] [15 regression] ICE on valid code at -O3 with "-fno-tree-ch -fno-tree-ccp -fno-tree-fre" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118552 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/118544] -fopt-info misreports unroll factor when using #pragma GCC unroll

2025-01-20 Thread tiborgyri at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118544 --- Comment #7 from Tibor Győri --- (In reply to Richard Biener from comment #5) > I suppose cunroll should report the loop was fully peeled. > > Note the unroll amount might be confusig when for example loop header copying > causes the number

[Bug c/118564] New: DSP instruction support missing for ARM Cortex M4

2025-01-20 Thread anstein99 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118564 Bug ID: 118564 Summary: DSP instruction support missing for ARM Cortex M4 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug fortran/118321] [OpenMP] declare_variant's 'adjust_args' yields wrong code if the result is passed by argument

2025-01-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118321 --- Comment #7 from Tobias Burnus --- (In reply to Thomas Schwinge from comment #6) > Curious, for C we don't need any such changes, to handle nested functions, > for example? (I don't remember how these are implemented exactly.) For internal

[Bug tree-optimization/118273] [15 Regression] ICE when vectorizing uniform vector function

2025-01-20 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118273 --- Comment #2 from Tamar Christina --- It seems that the nmasks is wrong here: unsigned nmasks = exact_div (ncopies * bestn->simdclone->simdlen, TYPE_VECTOR_SUBPARTS (vecty

[Bug fortran/118321] [OpenMP] declare_variant's 'adjust_args' yields wrong code if the result is passed by argument

2025-01-20 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118321 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org --- Comm

[Bug tree-optimization/114948] [15 Regression] ICE on valid code at -O3 with "-fno-tree-ccp -fno-tree-ch" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114948 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/118552] [15 regression] ICE on valid code at -O3 with "-fno-tree-ch -fno-tree-ccp -fno-tree-fre" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118552 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/118566] New: 'requires' avoids out-class implemention to find inside-class declaration

2025-01-20 Thread shyeyian at petalmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118566 Bug ID: 118566 Summary: 'requires' avoids out-class implemention to find inside-class declaration Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: no

[Bug c++/118255] [12 Regression] Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter since r9-1493-g8945521a50a7dd

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118255 --- Comment #8 from GCC Commits --- The releases/gcc-12 branch has been updated by Simon Martin : https://gcc.gnu.org/g:7bb462dd2a6a6551d142e7ad983fa2afd1df9253 commit r12-10919-g7bb462dd2a6a6551d142e7ad983fa2afd1df9253 Author: Simon Martin D

[Bug testsuite/118547] gcc.c-torture/compile/pr106433.c and others fail on aarch64 with an older binutils

2025-01-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118547 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Com

[Bug c++/118509] [14 regression] Front-end produced uninitialized memory reference when compiling Nektar since r15-4595-gb25d3201b6338d

2025-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118509 Jakub Jelinek changed: What|Removed |Added Summary|[14/15 regression] |[14 regression] Front-end

[Bug tree-optimization/118224] [15 Regression] Incorrect optimization with calloc when the size exceeds SIZE_MAX

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118224 --- Comment #8 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d882e48d48bf300941c3610c5af157c64ccf0a84 commit r15-7056-gd882e48d48bf300941c3610c5af157c64ccf0a84 Author: Jakub Jelinek Date: M

[Bug c++/118509] [14/15 regression] Front-end produced uninitialized memory reference when compiling Nektar since r15-4595-gb25d3201b6338d

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118509 --- Comment #13 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d9d0eeea93d39d304c7420e87f4b903d89f2e9fa commit r15-7057-gd9d0eeea93d39d304c7420e87f4b903d89f2e9fa Author: Jakub Jelinek Date:

[Bug tree-optimization/118544] -fopt-info misreports unroll factor when using #pragma GCC unroll

2025-01-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118544 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Com

[Bug ipa/118535] [15 regression] wrong code at -O{2,3} on x86_64-linux-gnu

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118535 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Priority|P3

[Bug tree-optimization/118544] -fopt-info misreports unroll factor when using #pragma GCC unroll

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118544 --- Comment #5 from Richard Biener --- "loop unrolled 2 times" would be wrong, "loop unrolled using an unroll factor of two" might be OK. I suppose cunroll should report the loop was fully peeled. Note the unroll amount might be confusig when

[Bug middle-end/118549] -funreachable-traps doesn't transform user provided unreachable into trap

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118549 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #

[Bug tree-optimization/114948] [15 Regression] ICE on valid code at -O3 with "-fno-tree-ccp -fno-tree-ch" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2025-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114948 Richard Biener changed: What|Removed |Added Target Milestone|14.3|15.0

[Bug c++/65608] [meta-bug] friend issues

2025-01-20 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 118255, which changed state. Bug 118255 Summary: [12 Regression] Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter since r9-1493-g8945521a50a7dd https://gcc.gnu.

[Bug c++/118255] [12 Regression] Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter since r9-1493-g8945521a50a7dd

2025-01-20 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118255 Simon Martin changed: What|Removed |Added Known to work||12.4.1, 13.3.1, 14.2.1 Statu

[Bug tree-optimization/117875] [15 Regression] 28% regression for 456.hmmer on Zen4 with -Ofast -march=native

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117875 --- Comment #20 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7b64f757a8df8efd989000baa667279f8957442e commit r15-7063-g7b64f757a8df8efd989000baa667279f8957442e Author: Richard Biener Date:

[Bug rtl-optimization/118067] [15 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1860 (unable to find a register to spill) {*lshrhi3_1} with -O -fno-split-wide-types -mavx512f

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118067 --- Comment #16 from GCC Commits --- The releases/gcc-13 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:1fe03d184723ee942c74b5e6f8cde45d2fcdcd60 commit r13-9335-g1fe03d184723ee942c74b5e6f8cde45d2fcdcd60 Author: Uros Bizjak Dat

[Bug ipa/118535] [15 regression] wrong code at -O{2,3} on x86_64-linux-gnu since r15-6294

2025-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118535 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/118570] -O2 much faster than -O3 for Romberg's method

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118570 Sam James changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug target/116447] g++.dg/cpp23/ext-floating13.C fails on Cortex-M55 due to undefined reference

2025-01-20 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116447 --- Comment #8 from Christophe Lyon --- Indeed, the problem is that +mve does not enable the floating-point extension, as opposed to +mve.fp, which means that arm_fp16_inst is false (in arm.cc / arm_option_reconfigure_globals) so arm_fp16_format

[Bug target/118560] [15 regression] ICE when building powerpc-unknown-linux-gnu cross-compiler since r15-7008

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118560 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/118570] -O2 much faster than -O3 for Romberg's method

2025-01-20 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118570 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug go/117702] [15 Regression] Decide about libgo soname bump for GCC 15

2025-01-20 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117702 Ian Lance Taylor changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/117424] [12/13/14/15 regression] Miscompile with different optimization flags since r12-4871-g502ffb1f389011

2025-01-20 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117424 --- Comment #10 from Andrew Macleod --- It also works if I use --disable-tree-cunroll which makes me suspicious of cunroll. It also works if I use --fdisable-tree-evrp --fdisable-tree-vrp1 So I thought perhaps VRP is doing something to

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #1 from kargls at comcast dot net --- Trimming the testcase to show to clean up the -fdump-tree-original output. program test use iso_fortran_env implicit none integer, parameter :: ucs4 = selected_char_kind('ISO_10646')

[Bug analyzer/118498] not diagnostic a leak with analyzer and malloc attribute with free filled in

2025-01-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118498 David Malcolm changed: What|Removed |Added Resolution|--- |WORKSFORME Status|UNCONFIRM

[Bug analyzer/118500] no diagnostics with strsep(3) and [[gnu::malloc(free)]] attribute

2025-01-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118500 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug d/116632] d_diagnostic_report_diagnostic and non-textual diagnostic output formats (e.g. SARIF)

2025-01-20 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116632 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2025-01-20 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 Bug 116613 depends on bug 116632, which changed state. Bug 116632 Summary: d_diagnostic_report_diagnostic and non-textual diagnostic output formats (e.g. SARIF) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116632 What|Removed

[Bug tree-optimization/118572] New: wrong code for expression ((0x80 & c) != 0) && ((0xc0 & c&) == 0x80))

2025-01-20 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118572 Bug ID: 118572 Summary: wrong code for expression ((0x80 & c) != 0) && ((0xc0 & c&) == 0x80)) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/118572] [15 regression] wrong code for expression ((0x80 & c) != 0) && ((0xc0 & c&) == 0x80))

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118572 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/118572] [15 regression] wrong code for expression ((0x80 & c) != 0) && ((0xc0 & c) == 0x80))

2025-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118572 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug tree-optimization/118572] [15 regression] wrong code for expression ((0x80 & c) != 0) && ((0xc0 & c) == 0x80))

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118572 --- Comment #3 from Sam James --- ``` __attribute__((noipa)) int test(char c) { return (((0x80 & (c&0xff)) != 0) && ((0xc0 & (c&0xff)) == 0x80)); } int main() { if (test(0x80) == 0) __builtin_abort(); } ```

[Bug c++/118568] New: Diagnosing more dangling references

2025-01-20 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118568 Bug ID: 118568 Summary: Diagnosing more dangling references Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/118565] match.pd patterns with non-leaf useless conversions result in SSA copies

2025-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118565 Andrew Pinski changed: What|Removed |Added Depends on||80342 --- Comment #2 from Andrew Pinski

[Bug c++/118566] 'requires' avoids out-class implemention to find inside-class declaration

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

[Bug c++/118566] 'requires' avoids out-class implemention to find inside-class declaration

2025-01-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118566 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/118560] [15 regression] ICE when building powerpc-unknown-linux-gnu cross-compiler since r15-7008

2025-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118560 Jakub Jelinek changed: What|Removed |Added Summary|[15 regression] ICE when|[15 regression] ICE when

[Bug tree-optimization/118569] New: ICE on valid code at -O3 with "-fno-tree-ch -fno-tree-ccp -fno-tree-fre" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2025-01-20 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
/configure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.1 20250120 (experimental) (GCC) [5

[Bug tree-optimization/118569] [15 regression] ICE on valid code at -O3 with "-fno-tree-ch -fno-tree-ccp -fno-tree-fre" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118569 Sam James changed: What|Removed |Added Keywords||ice-on-valid-code Summary|ICE on

[Bug d/114434] gdc.test/runnable/test23514.d FAILs

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114434 --- Comment #8 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:9ab38952a2033d6d4a8e31c3c4d2ab1a25a406c6 commit r15-7071-g9ab38952a2033d6d4a8e31c3c4d2ab1a25a406c6 Author: Iain Buclaw Date: Mon J

[Bug tree-optimization/118572] [15 regression] wrong code for expression ((0x80 & c) != 0) && ((0xc0 & c) == 0x80))

2025-01-20 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118572 --- Comment #4 from Peter Damianov --- It gets optimized correctly with `-funsigned-char`, so I think this is something signedness related.

[Bug libstdc++/118563] [15 regression] libstdc++ incompatible ABI change on riscv64

2025-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118563 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/118214] [15 regression] OpenTTD test failure with C++ large initializer since r15-6339-g40f243e9179667

2025-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118214 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/118569] [15 regression] ICE on valid code at -O3 with "-fno-tree-ch -fno-tree-ccp -fno-tree-fre" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2025-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118569 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Last reconfi

[Bug c++/118528] [15 Regression] Template argument deduction failure with RAW_DATA_CST

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118528 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0b58219fe112c01ff335edf699c4fc69e718c75b commit r15-7069-g0b58219fe112c01ff335edf699c4fc69e718c75b Author: Jakub Jelinek Date: M

[Bug tree-optimization/118570] New: -O2 much faster than -O3 for Romberg's method

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118570 Bug ID: 118570 Summary: -O2 much faster than -O3 for Romberg's method Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug testsuite/113425] gcc.dg/fold-copysign-1.c fails on arm since g:7cbe41d35e6

2025-01-20 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113425 --- Comment #6 from Tamar Christina --- (In reply to Torbjorn SVENSSON from comment #5) > @Tamar: You can see the same fails with 14.2.Rel1 that is available for > download from the Arm webpage. > > I see the following in my gcc.log for Cortex-

[Bug target/118531] [14/15 Regression] aarch64/ins_bitfield_1.c generates INS instructions even for +nosimd

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118531 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:1b8820421488d220a95f651b51175d618063c48c commit r15-7072-g1b8820421488d220a95f651b51175d618063c48c Author: Richard Sandiford Da

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:8edf8b552313951cb4f2f97821ee4b3820c9506b commit r15-7074-g8edf8b552313951cb4f2f97821ee4b3820c9506b Author: Richard Sandiford Da

[Bug target/118501] [14/15 regression] aarch64: ICE in simplify_context::simplify_subreg

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:6612b8e55471fabd2071a9637a06d3ffce2b05a6 commit r15-7073-g6612b8e55471fabd2071a9637a06d3ffce2b05a6 Author: Richard Sandiford Da

[Bug d/114434] gdc.test/runnable/test23514.d FAILs

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114434 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:ffa44df6768368dc516c9626ec388a3561c7644f commit r14-11230-gffa44df6768368dc516c9626ec388a3561c7644f Author: Iain Buclaw Dat

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Com

[Bug target/118348] [15 Regression] [SVE] HACCKernels seems to miscompile with VLS SVE after 0c5c0c959c2e592b84739f19ca771fa69eb8dfee

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118348 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:749dcd9ba8466fec5b51dd564cd63424c44f808b commit r15-7076-g749dcd9ba8466fec5b51dd564cd63424c44f808b Author: Richard Sandiford Da

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #2 from kargls at comcast dot net --- Tracing into libgfortran, the bug appears to be in write.c(write_utf8_char4). In particular, the entire string is written due to line 181. The 'src_len' is likely wrong if one has an A edit descr

[Bug rtl-optimization/118067] [15 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1860 (unable to find a register to spill) {*lshrhi3_1} with -O -fno-split-wide-types -mavx512f

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118067 --- Comment #17 from GCC Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:9a1efd1ee2509abb93878bd911d8c07143b10e33 commit r12-10920-g9a1efd1ee2509abb93878bd911d8c07143b10e33 Author: Uros Bizjak Da

[Bug tree-optimization/118572] [15 regression] wrong code for expression ((0x80 & c) != 0) && ((0xc0 & c) == 0x80))

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

[Bug tree-optimization/118572] [15 regression] wrong code for expression ((0x80 & c) != 0) && ((0xc0 & c) == 0x80))

2025-01-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118572 --- Comment #6 from Sam James --- Thanks, I'd meant to do that and forgot.

  1   2   >