[Bug gcov-profile/120485] New: Superfluous branch coverage and condition coverage before preprocessor directives

2025-05-30 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120485 Bug ID: 120485 Summary: Superfluous branch coverage and condition coverage before preprocessor directives Product: gcc Version: 16.0 Status: UNCONFIRMED Severi

[Bug gcov-profile/120486] New: Line coverage for nested ternary expressions counts overlapping paths

2025-05-30 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120486 Bug ID: 120486 Summary: Line coverage for nested ternary expressions counts overlapping paths Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/120475] vector is 60x slower with ASan detect_stack_use_after_return=1

2025-05-30 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120475 Daniel Bertalan changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/120476] LoongArch: -mtune=la664 is pessimizing even on LA664

2025-05-30 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120476 --- Comment #1 from chenglulu --- (In reply to Xi Ruoyao from comment #0) > Per > https://github.com/loongson-community/discussions/issues/94#issuecomment- > 2919912764: > > Spec int 2017 rate-1 with GCC 15.1.0 on 3C6000: > > -O3 -march=la464:

[Bug tree-optimization/120477] arith_overflow_check_p has a special case for COND_EXPR but it is dead

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120477 --- Comment #2 from Andrew Pinski --- r13-707-g68e0063397ba82 was when COND_EXPR no longer could have a conditional in rhs1.

[Bug target/120423] ICE in avr-gcc extract_constrain_insn

2025-05-30 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120423 Georg-Johann Lay changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 --- Comment #8 from Vladimir Makarov --- I think we should revert the patch for PR99015 I committed yesterday. There were to many changes in this part of LRA since gcc-13 and many of them were interdependent. It will be difficult to find all n

[Bug target/119834] [15 regression] Compiling harfbuzz 11.0.1 with gcc 15 20250413 fails on s390x since r15-1579

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119834 --- Comment #30 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ceb2d19235478213219bb722cf4248a1ac78b73c commit r13-9729-gceb2d19235478213219bb722cf4248a1ac78b73c Author: Jakub Jelinek

[Bug tree-optimization/120357] [14/15/16 Regression] ICE in vect "error: definition in block 9 does not dominate use in block 3" with early break

2025-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120357 --- Comment #8 from Richard Biener --- The following fixes this. I'm not 100% convinced but it does seem "obvious" (but for the "peeled" case we seem to eventually create duplicate COND reduction IVs? But possibly we reject this case anyhow).

[Bug target/119834] [15 regression] Compiling harfbuzz 11.0.1 with gcc 15 20250413 fails on s390x since r15-1579

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119834 --- Comment #29 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:004523c9530f94ae3d64d4c9967ff90388bc commit r14-11818-g004523c9530f94ae3d64d4c9967ff90388bc Author: Jakub Jelinek

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 --- Comment #9 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c13d5b939fee565047394475952878dc5394fb74 commit r16-1005-gc13d5b939fee565047394475952878dc5394fb74 Author: Jakub Jelinek Date: F

[Bug target/120423] ICE in avr-gcc extract_constrain_insn

2025-05-30 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120423 --- Comment #1 from Georg-Johann Lay --- Created attachment 61553 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61553&action=edit Reduced C test case Here is a reduced C test case: struct data { int a; int b; }; unsigned char v

[Bug tree-optimization/120487] [15/16 Regression] wrong code at -Os on x86_64-linux-gnu

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120487 Andrew Pinski changed: What|Removed |Added Summary|wrong code at -Os on|[15/16 Regression] wrong

[Bug tree-optimization/120487] New: wrong code at -Os on x86_64-linux-gnu

2025-05-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250530 (experimental) (GCC) [515] % [515] % gcctk -Os small.c [516] % ./a.out Aborted [517] % [517] % cat small.c int printf(const char

[Bug tree-optimization/120488] New: wrong code at -O1 and above on x86_64-linux-gnu

2025-05-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250530 (experimental) (GCC) [525] % [525] % gcctk -O1 small.c [526] % ./a.out Aborted [527] % cat small.c int a, ac, b, c; int

[Bug gcov-profile/120490] New: Wrong line coverage for inline function as an arm of switch-case

2025-05-30 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120490 Bug ID: 120490 Summary: Wrong line coverage for inline function as an arm of switch-case Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug target/100085] Bad code for union transfer from __float128 to vector types

2025-05-30 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100085 --- Comment #24 from Steven Munroe --- It looks like GCC 12/13 are handling this better (not generating vector store reload). I I'll check into GCC 14 went i get a chance.

[Bug gcov-profile/120489] New: Wrong line coverage in loops with continue statements and dereferencing of pointer variables

2025-05-30 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120489 Bug ID: 120489 Summary: Wrong line coverage in loops with continue statements and dereferencing of pointer variables Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug gcov-profile/120491] New: Wrong line coverage for C++ constructor with multiline initialization list

2025-05-30 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120491 Bug ID: 120491 Summary: Wrong line coverage for C++ constructor with multiline initialization list Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: nor

[Bug c++/120123] [12/13/14/15/16 Regression] Implicit this is not used in a requires clause in nested lambdas

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120123 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d10e3e0900c92479a6621e375070d4a99ca1fd57 commit r16-1023-gd10e3e0900c92479a6621e375070d4a99ca1fd57 Author: Jason Merrill Date: Fr

[Bug tree-optimization/120488] [12/13/14/15/16 regression] wrong code at -O1 and above on x86_64-linux-gnu

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

[Bug fortran/119856] Missing commas in I/O formats not diagnosed by default at compile time.

2025-05-30 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119856 --- Comment #14 from Jerry DeLisle --- Created attachment 61556 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61556&action=edit Patch to correct runtime behavior of repeated use of the same format This patch corrects a latent problem. ma

[Bug modula2/120389] Assigning a CHAR to an INTEGER crashes the compiler

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120389 --- Comment #7 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:e131ba3de5f487f5e957ba1b011c960fce557c7b commit r16-1026-ge131ba3de5f487f5e957ba1b011c960fce557c7b Author: Gaius Mulley Date: Sat

[Bug tree-optimization/120487] [15/16 Regression] wrong code at -Os on x86_64-linux-gnu

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

[Bug tree-optimization/120258] [12/13/14/15/16 regression] wrong code at -O{s,1,2,3} on x86_64-linux-gnu

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120258 --- Comment #4 from Andrew Pinski --- _5 = a.1_2 * -2147483647; _6 = b.0_1 + _5; vs: _3 = b.0_1 + a.1_2; slsr_10 = a.1_2 * -2147483648; _6 = _3 - slsr_10; Obvious this introduces an signed integer overflow.

[Bug other/120494] get_call_fndecl requires REG_CALL_DECL note

2025-05-30 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120494 H.J. Lu changed: What|Removed |Added Last reconfirmed||2025-05-30 Status|UNCONFIRMED

[Bug target/86693] inefficient atomic_fetch_xor

2025-05-30 Thread pskocik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86693 Petr Skocik changed: What|Removed |Added CC||pskocik at gmail dot com --- Comment #7 fr

[Bug rtl-optimization/119773] [12/13/14/15/16 regression] wrong code at -O{s,1,2,3} on x86_64-linux-gnu since r11-6482

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

[Bug tree-optimization/120258] [12/13/14/15/16 regression] wrong code at -O{s,1,2,3} on x86_64-linux-gnu

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120258 --- Comment #5 from Andrew Pinski --- *** Bug 119773 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/119780] [13/14/15/16 regression] wrong code at -O{1,s} : runtime hang since r13-3688

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

[Bug fortran/120355] [15 Regression] Type mismatch for passed external function, if external function appears in the same source file

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120355 --- Comment #5 from GCC Commits --- The releases/gcc-15 branch has been updated by Thomas Koenig : https://gcc.gnu.org/g:d8e7a2dbe736a57e4cec0293387a1c558b5a155e commit r15-9748-gd8e7a2dbe736a57e4cec0293387a1c558b5a155e Author: Thomas Koenig

[Bug other/116792] RFE: should we be able to generate diagnostics in HTML format?

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116792 --- Comment #10 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:a746747e2102c965a7736dc22ba56c3bc8e3e61e commit r16-1024-ga746747e2102c965a7736dc22ba56c3bc8e3e61e Author: David Malcolm Date:

[Bug other/120493] New: 2 different functions to get call RTX from CALL_INSN

2025-05-30 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120493 Bug ID: 120493 Summary: 2 different functions to get call RTX from CALL_INSN Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/120488] [12/13/14/15/16 regression] wrong code at -O1 and above on x86_64-linux-gnu

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120488 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/120487] [15/16 Regression] wrong code at -Os on x86_64-linux-gnu

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

[Bug tree-optimization/120488] [12/13/14/15/16 regression] wrong code at -O1 and above on x86_64-linux-gnu

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120488 --- Comment #3 from Andrew Pinski --- *** Bug 120487 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/120488] [12/13/14/15/16 regression] wrong code at -O1 and above on x86_64-linux-gnu

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120488 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-05-30 Status|UNCONFIRM

[Bug other/120494] New: get_call_fndecl requires REG_CALL_DECL note

2025-05-30 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120494 Bug ID: 120494 Summary: get_call_fndecl requires REG_CALL_DECL note Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: othe

[Bug tree-optimization/120258] [12/13/14/15/16 regression] wrong code at -O{s,1,2,3} on x86_64-linux-gnu

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120258 --- Comment #6 from Andrew Pinski --- *** Bug 119780 has been marked as a duplicate of this bug. ***

[Bug libstdc++/104928] std::counting_semaphore on Linux can sleep forever

2025-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104928 Jonathan Wakely changed: What|Removed |Added Status|REOPENED|ASSIGNED --- Comment #16 from Jonatha

<    1   2