[Bug middle-end/118090] unsignedp argument get_compare_parts is unused by callers

2025-05-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118090 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:5d5bed0caef4570c255f35343be00e314dd8a08d commit r16-340-g5d5bed0caef4570c255f35343be00e314dd8a08d Author: Andrew Pinski Date: Thu

[Bug tree-optimization/118616] [15 regression] false positive -Waggressive-loop-optimizations warnings in tree-vect-generic.cc with LTO and -O3

2025-05-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #21 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:69bcf1d6aa52a531f7bc4976e407325fe9742cf6 commit r16-342-g69bcf1d6aa52a531f7bc4976e407325fe9742cf6 Author: Andrew Pinski Date: Th

[Bug tree-optimization/118659] get_known_nonzero_bits_1 should use wi::bit_and_not instead of `a & ~b`

2025-05-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118659 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:adefadda3e87f693f20f0b2b34bced00aa525207 commit r16-341-gadefadda3e87f693f20f0b2b34bced00aa525207 Author: Andrew Pinski Date: Thu

[Bug middle-end/98753] -Wfree-nonheap-object on unreachable code with -O0

2025-05-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753 --- Comment #18 from Andrew Pinski --- The Wfree-nonheap-object code needs to do something as similar to what was done for uninitialized code here: r12-7175-g0f58ba4dd6b25b and not warning in unreachable branches.

[Bug c++/120025] rfe: split assignable temporaries from -fpermissive

2025-05-01 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120025 --- Comment #8 from Stas Sergeev --- The interesting thing is that this works: ``` #include struct A { int a; ~A() { std::cout << "a=" << a << std::endl; } }; int main() { (int&)A().a = 5; return 0; } ``` So I can just cast t

[Bug c/120058] internal compiler error: Segmentation fault

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

[Bug c/120055] [16 Regression] ice in convert_arguments with recent compiler

2025-05-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120055 Sam James changed: What|Removed |Added CC||tharakan at gmail dot com --- Comment #2 fr

[Bug c/120055] [16 Regression] ice in convert_arguments with recent compiler

2025-05-01 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120055 --- Comment #3 from Florian Weimer --- Patch posted: [PATCH] c: Fix crash in c-typeck.cc convert_arguments with indirect calls

[Bug fortran/119986] Complex array part references are being passed incorrectly to a procedure

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

[Bug target/120054] New: [16 regression] RISC-V: gcc.target/riscv/predef-19.c failing since r16-299-ga992164c289

2025-05-01 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120054 Bug ID: 120054 Summary: [16 regression] RISC-V: gcc.target/riscv/predef-19.c failing since r16-299-ga992164c289 Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack since r16-286

2025-05-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 Andrew Pinski changed: What|Removed |Added Summary|[16 regression] ICE when|[16 regression] ICE when

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack since r16-286

2025-05-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 --- Comment #6 from Andrew Pinski --- This semi obvious patch fixes it. The only thing I am not 100% sure yet is why is simplify_gen_subreg failing; but yes simplify_gen_subreg is known in some cases to return NULL. ``` diff --git a/gcc/simpli

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack since r16-286

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

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack since r16-286

2025-05-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 --- Comment #7 from Andrew Pinski --- Created attachment 61269 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61269&action=edit Reduced `-O2 -g` is enough even on x86_64.

[Bug c++/120056] Circular constraint satisfaction error with non-trivial container iterators to callables taking std::expected parameters

2025-05-01 Thread catsith at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120056 --- Comment #1 from catsith at me dot com --- The source code comment is wrong; std::expected template arguments do matter - replacing int with void removes the issue. The use of function pointers isn't necessary to trigger this; also happens wi

[Bug c/120057] New: [15 regression] 'constexpr' integer initializer is not an integer constant expression

2025-05-01 Thread planet36 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120057 Bug ID: 120057 Summary: [15 regression] 'constexpr' integer initializer is not an integer constant expression Product: gcc Version: 15.1.1 Status: UNCONFIRMED

[Bug c/120057] [15/16 regression] 'constexpr' integer initializer is not an integer constant expression

2025-05-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120057 Sam James changed: What|Removed |Added Target Milestone|--- |15.2 Summary|[15 regression] 'co

[Bug c/120057] [15/16 regression] 'constexpr' integer initializer is not an integer constant expression

2025-05-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120057 --- Comment #2 from Sam James --- (I mean the ones for embed.)

[Bug c/120055] [16 Regression] ice in convert_arguments with recent compiler

2025-05-01 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120055 Florian Weimer changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c/120058] New: internal compiler error: Segmentation fault

2025-05-01 Thread tharakan at gmail dot com via Gcc-bugs
n algorithms: zlib zstd gcc version 16.0.0 20250501 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-Wall' '-Wmissing-prototypes' '-Wpointer-arith' '-Wdeclaration-after-statement' '-Werror=vla' '-Wendif-labels

[Bug c/119317] Named loops (C2y) do not compile with -O1 and -ggdb2 or higher

2025-05-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119317 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:25921d664242f651ed8a25b3db55093a19a5ae7b commit r16-336-g25921d664242f651ed8a25b3db55093a19a5ae7b Author: Christopher Bazley Da

[Bug debug/120059] [16 regression] ICE when building mesa in vartrack

2025-05-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 --- Comment #1 from Sam James --- Created attachment 61267 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61267&action=edit vk_graphics_state.c.i.xz ``` $ gcc -m32 -c vk_graphics_state.c.i -ggdb3 -O2 -march=tigerlake during RTL pass: var

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack

2025-05-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 Sam James changed: What|Removed |Added Target Milestone|--- |16.0 Keywords|

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack

2025-05-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 --- Comment #2 from Andrew Pinski --- Most likely https://gcc.gnu.org/cgit/gcc/commit/gcc/simplify-rtx.cc?id=d84fbc516ea57de7e88fce76ff6f342ee808c02e

[Bug debug/120059] New: [16 regression] ICE when building mesa in vartrack

2025-05-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
isable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-gxx-libcxx-include-dir=/usr/include/c++/v1 --with-build-config=bootstrap-cet Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack

2025-05-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Most likely > https://gcc.gnu.org/cgit/gcc/commit/gcc/simplify-rtx. > cc?id=d84fbc516ea57de7e88fce76ff6f342ee808c02e Almost positive since simplify_with_subreg

<    1   2