[Bug fortran/84006] [11/12/13/14 Regression] ICE in storage_size() with CLASS entity

2024-06-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006 --- Comment #17 from Paul Thomas --- Since I fixed it on mainline, I might as well take the bug :-) Thanks for the report, Steve. Paul

[Bug fortran/84006] [11/12/13/14 Regression] ICE in storage_size() with CLASS entity

2024-06-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Commen

[Bug fortran/115348] [13/14/15 Regression] -fcheck=recursion issue with intent(out) derived type argument without components with default value

2024-06-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115348 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org

[Bug demangler/115400] New: Templates with CTAD parameters are not correctly demangled

2024-06-08 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115400 Bug ID: 115400 Summary: Templates with CTAD parameters are not correctly demangled Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/115397] [15 Regression] ICE 'during RTL pass: split1' on numpy-1.26.4 i686-linux '-fPIC -mavx512f' since r15-1100-gec985bc97a0157

2024-06-08 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115397 --- Comment #5 from Sergei Trofimovich --- (In reply to Roger Sayle from comment #4) > Created attachment 58386 [details] > proposed patch > > This patch appears to fix (or more accurately workaround) the issue with this > testcase. The change

[Bug libstdc++/114498] Consider deprecating then removing TR1 headers

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

[Bug libstdc++/115399] std::tr2::dynamic_bitset shift behaves differently from std::bitset

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

[Bug libstdc++/115399] std::tr2::dynamic_bitset shift behaves differently from std::bitset

2024-06-08 Thread adamant.pwn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115399 --- Comment #1 from Oleksandr Kulkov --- The bug also affects right shift for a similar reason (https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/tr2/dynamic_bitset.tcc#L91): #include #include #include #include int mai

[Bug c++/115399] New: std::tr2::dynamic_bitset shift behaves differently from std::bitset

2024-06-08 Thread adamant.pwn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115399 Bug ID: 115399 Summary: std::tr2::dynamic_bitset shift behaves differently from std::bitset Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/81806] Split in pbds works in O(n) instead of O(log n)

2024-06-08 Thread adamant.pwn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81806 --- Comment #14 from Oleksandr Kulkov --- Hi all, I wanted to bump this thread very briefly. I think going with the fix at https://gcc.gnu.org/bugzilla/attachment.cgi?id=47615&action=diff from Xi would make sense, unless someone proposes a solut

[Bug target/115397] [15 Regression] ICE 'during RTL pass: split1' on numpy-1.26.4 i686-linux '-fPIC -mavx512f' since r15-1100-gec985bc97a0157

2024-06-08 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115397 Roger Sayle changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/115348] [13/14/15 Regression] -fcheck=recursion issue with intent(out) derived type argument without components with default value

2024-06-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115348 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to fail|

[Bug fortran/107141] ICE: Segmentation fault (in contains_struct_check)

2024-06-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107141 --- Comment #6 from anlauf at gcc dot gnu.org --- (In reply to David Binderman from comment #5) > Bit more detail from valgrind: > > /Lower/derived-type-finalization.f90 > ==687074== Invalid read of size 8 > ==687074==at 0x856D97: gfc_class_

[Bug modula2/114529] profiledbootstrap fails to build and m2 causes odr violations during build

2024-06-08 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114529 Gaius Mulley changed: What|Removed |Added Attachment #58369|0 |1 is obsolete|

[Bug fortran/115390] Bogus -Wuninitialized warning when using CHARACTER(*) argument in BIND(C) function

2024-06-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115390 --- Comment #2 from anlauf at gcc dot gnu.org --- Slightly rewritten (we only need the interface of foo): module test implicit none interface subroutine foo(s) character(*), intent(in) :: s end subroutine foo end interface

[Bug fortran/83865] ICE in wide_int_to_tree_1, at tree.c:1567

2024-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83865 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c3e16edcf2c8429da2cb479d8941397f4300e0c4 commit r14-10291-gc3e16edcf2c8429da2cb479d8941397f4300e0c4 Author: Harald Anlauf

gcc dynamic_bitset bug

2024-06-08 Thread Milan Delmas via Gcc-bugs
Hi, The TR2 dynamic_bitset code is faulty. In the _M_do_left_shift implementation, the part responsible for clearing the rightmost blocks after a shift of at least block_size was commented out. It results in a wrong implementation of the shift operator. I haven't looked at the right shift. Examp

[Bug web/115391] Suggest add current size of git repository to git page

2024-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115391 --- Comment #6 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #3) > Also you can use `--depth=1` to speed up the checkout if you don't need the > full history. Or partial clones, which avoid the problems of truncated history t

[Bug web/115391] Suggest add current size of git repository to git page

2024-06-08 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115391 --- Comment #5 from David Binderman --- (In reply to Jonathan Wakely from comment #1) > You really shouldn't ever need to start again, you can just do: > > git fetch origin && git reset --hard origin/master Thanks for the tip. After more than

[Bug tree-optimization/115392] Missed optimization: fold `(a^b) <= 3` to `b < 4` for bool a and know that (a^b) is non zero

2024-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115392 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug web/115391] Suggest add current size of git repository to git page

2024-06-08 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115391 --- Comment #4 from Andreas Schwab --- In addition, git clean -dfqx cleans the worktree from any debris.

[Bug web/115391] Suggest add current size of git repository to git page

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

[Bug target/115397] [15 Regression] ICE 'during RTL pass: split1' on numpy-1.26.4 i686-linux '-fPIC -mavx512f'

2024-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115397 Andrew Pinski changed: What|Removed |Added Target||x86_64-linux-gnu Target Milestone|---

[Bug c++/115398] [15 regression] RTL flag check: CONSTANT_POOL_ADDRESS_P used with unexpected rtx code 'plus' in get_pool_constant, at varasm.cc:4046

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

[Bug target/115397] [15 Regression] ICE 'during RTL pass: split1' on numpy-1.26.4 i686-linux '-fPIC -mavx512f'

2024-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115397 Andrew Pinski changed: What|Removed |Added CC||manuel.lauss at googlemail dot com ---

[Bug c++/115398] [15 regression] RTL flag check: CONSTANT_POOL_ADDRESS_P used with unexpected rtx code 'plus' in get_pool_constant, at varasm.cc:4046

2024-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115398 --- Comment #1 from Sam James --- Possibly a dupe of PR115397?

[Bug c++/115398] New: [15 regression] RTL flag check: CONSTANT_POOL_ADDRESS_P used with unexpected rtx code 'plus' in get_pool_constant, at varasm.cc:4046

2024-06-08 Thread manuel.lauss at googlemail dot com via Gcc-bugs
73 | } | ^ "-O3 -mavx512f" are necessary to trigger it. gcc version 15.0.0 20240608 (experimental) e91cf26a954a5c1bf431e36f3a1e69f94e9fa4fe Thanks! Manuel

[Bug tree-optimization/115395] [15 regression] libarchive miscompiled with -O2 -march=znver2 -fno-vect-cost-model since r15-1006-gd93353e6423eca

2024-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115395 --- Comment #3 from Sam James --- Tidied up a bit: ``` struct { long header_size; long start_offset; long end_offset; } myrar_dbo[5] = {{0, 87, 6980}, {0, 7087, 13980}, {0, 14087, 0}}; int i; long offset; int main() { offset += myrar_d

[Bug web/115391] Suggest add current size of git repository to git page

2024-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115391 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2 fr

[Bug target/115397] [15 Regression] ICE 'during RTL pass: split1' on numpy-1.26.4 i686-linux '-fPIC -mavx512f'

2024-06-08 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115397 --- Comment #2 from Sergei Trofimovich --- Bisect arrived at r15-1100-gec985bc97a0157, looks relevant: commit ec985bc97a01577bca8307f986caba7ba7633cde Author: Roger Sayle Date: Fri Jun 7 13:57:23 2024 +0100 i386: Improve handling of ter

[Bug web/115391] Suggest add current size of git repository to git page

2024-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115391 --- Comment #1 from Jonathan Wakely --- You really shouldn't ever need to start again, you can just do: git fetch origin && git reset --hard origin/master

[Bug libstdc++/108760] ranges::iota is not included in

2024-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108760 --- Comment #6 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0bb1db32ccf54a9de59bea718f7575f7ef22abf5 commit r15-1117-g0bb1db32ccf54a9de59bea718f7575f7ef22abf5 Author: Michael Levine Date:

[Bug c++/108438] [11/12/13/14/15 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.cc:7611

2024-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108438 Sam James changed: What|Removed |Added Target Milestone|14.2|15.0 CC|

[Bug target/115351] [14 regression] pointless movs when passing by value on x86-64

2024-06-08 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115351 Roger Sayle changed: What|Removed |Added Assignee|roger at nextmovesoftware dot com |unassigned at gcc dot gnu.org

[Bug lto/115396] [15 regression] ICE in canon_file_name with LTO

2024-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115396 Sam James changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/115397] [15 Regression] ICE 'during RTL pass: split1' on numpy-1.26.4 i686-linux '-fPIC -mavx512f'

2024-06-08 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115397 --- Comment #1 from Sergei Trofimovich --- Debug build of the compiler is slightly more informative: $ gcc -std=c99 -O3 -mavx512f -c bug.c.c -m32 -fPIC -fchecking=2 during RTL pass: split1 bug.c.c: In function 'LONG_divide_AVX512F': bug.c.c:14:

[Bug target/115397] New: [15 Regression] ICE 'during RTL pass: split1' on numpy-1.26.4 i686-linux '-fPIC -mavx512f'

2024-06-08 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115397 Bug ID: 115397 Summary: [15 Regression] ICE 'during RTL pass: split1' on numpy-1.26.4 i686-linux '-fPIC -mavx512f' Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug lto/115396] [15 regression] ICE in canon_file_name with LTO

2024-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115396 --- Comment #2 from Sam James --- I forgot to include copies of glib & unittest++ in there, I'll fix that in a minute.

[Bug lto/115396] [15 regression] ICE in canon_file_name with LTO

2024-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115396 --- Comment #1 from Sam James --- Created attachment 58383 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58383&action=edit gcc-PR115396.tar.xz

[Bug lto/115396] New: [15 regression] ICE in canon_file_name with LTO

2024-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115396 Bug ID: 115396 Summary: [15 regression] ICE in canon_file_name with LTO Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug tree-optimization/115395] [15 regression] libarchive miscompiled with -O2 -march=znver2 -fno-vect-cost-model since r15-1006-gd93353e6423eca

2024-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115395 Sam James changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Summa

[Bug tree-optimization/115395] [15 regression] libarchive miscompiled with -O2 -march=znver2 -fno-vect-cost-model

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

[Bug tree-optimization/115395] [15 regression] libarchive miscompiled with -O2 -march=znver2 -fno-vect-cost-model

2024-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115395 Andrew Pinski changed: What|Removed |Added Version|unknown |15.0 CC|

[Bug tree-optimization/115395] New: [15 regression] libarchive miscompiled with -O2 -march=znver2 -fno-vect-cost-model

2024-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115395 Bug ID: 115395 Summary: [15 regression] libarchive miscompiled with -O2 -march=znver2 -fno-vect-cost-model Product: gcc Version: unknown Status: UNCONFIRMED Se

[Bug c++/108438] [11/12/13/14/15 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.cc:7611

2024-06-08 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108438 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|11.5

[Bug c++/108438] [11/12/13/14/15 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.cc:7611

2024-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108438 --- Comment #3 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:2c9643c27ecddb7f597d34009d89e932b4aca58e commit r15-1114-g2c9643c27ecddb7f597d34009d89e932b4aca58e Author: Simon Martin Date: Fri

[Bug middle-end/112600] Failed to optimize saturating addition using __builtin_add_overflow

2024-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112600 --- Comment #13 from GCC Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:de05e44b2ad9638d04173393b1eae3c38b2c3864 commit r15-1113-gde05e44b2ad9638d04173393b1eae3c38b2c3864 Author: Uros Bizjak Date: Sat

[Bug lto/115394] New: ICE in lto_read_decls for a minimal C test-case with streamer_debugging set to true

2024-06-08 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115394 Bug ID: 115394 Summary: ICE in lto_read_decls for a minimal C test-case with streamer_debugging set to true Product: gcc Version: 15.0 Status: UNCONFIRMED Seve

[Bug tree-optimization/114952] False positive -Wmaybe-uninitialized starting at -O3 in libbpf

2024-06-08 Thread manu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114952 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comme

[Bug tree-optimization/115387] [15 regression] RISC-V: ICE in iovsprintf.c since r15-1081-ge14afbe2d1c

2024-06-08 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115387 --- Comment #2 from Li Pan --- (In reply to Edwin Lu from comment #1) > Bisected to r15-1081-ge14afbe2d1c being the first bad commit Ack, thanks Edwin, will try to reproduce this.

[Bug target/115393] New: MIPS: implemented _BitInt of C23

2024-06-08 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115393 Bug ID: 115393 Summary: MIPS: implemented _BitInt of C23 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/115392] New: Missed optimization: fold `3 / (b ^ a)` to `b < 4`

2024-06-08 Thread zhiwuyazhe154 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115392 Bug ID: 115392 Summary: Missed optimization: fold `3 / (b ^ a)` to `b < 4` Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen