[Bug middle-end/116135] New: __builtin_mul_overflow inefficient for _BitInt(31) (with widening multiply)

2024-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116135 Bug ID: 116135 Summary: __builtin_mul_overflow inefficient for _BitInt(31) (with widening multiply) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: mi

[Bug middle-end/116135] __builtin_mul_overflow inefficient for _BitInt(31) (with widening multiply)

2024-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116135 --- Comment #1 from Andrew Pinski --- Similarly for: ``` int f1(unsigned _BitInt(9) x, unsigned _BitInt(9) y, unsigned _BitInt(9) * res) { return __builtin_mul_overflow(x, y, res); } int f2(unsigned _BitInt(9) x, unsigned _BitInt(9) y, unsig

[Bug rtl-optimization/114729] RISC-V SPEC2017 507.cactu excessive spillls with -fschedule-insns

2024-07-29 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114729 --- Comment #13 from Vineet Gupta --- So after many months on and off on the issue, I think I understand what's going on. There are 3 insns involved in the issue which sched1 current generates in following order: insn 46(1) srliw a0,a5,

[Bug tree-optimization/116133] Missing mult_overflow detection for aarch64

2024-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116133 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|ASSIGNED

[Bug ipa/106783] [12/13/14/15 Regression] ICE in ipa-modref.cc:analyze_function since r12-5247-ga34edf9a3e907de2

2024-07-29 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106783 Patrick O'Neill changed: What|Removed |Added CC||patrick at rivosinc dot com --- Comme

[Bug ipa/106783] [12/13/14/15 Regression] ICE in ipa-modref.cc:analyze_function since r12-5247-ga34edf9a3e907de2

2024-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106783 --- Comment #10 from Andrew Pinski --- (In reply to Patrick O'Neill from comment #9) > I think this is another example using -Os and -fdump-tree-modref: > double a; > double b(double c) { return 0 - 0.5 * c ?: a; } > > Godbolt: https://godbolt.

[Bug libfortran/105361] Incorrect end-of-file condition for derived-type I/O

2024-07-29 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105361 --- Comment #11 from Jerry DeLisle --- (In reply to Thomas Schwinge from comment #9) > In some of my test runs (have not yet been able to deduce any pattern), I'm > seeing this new test case FAIL its execution test: > Can you try this minor ch

[Bug rtl-optimization/116136] New: [15 Regression] ext-dce exposes latent subreg simplification bug on m68k

2024-07-29 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116136 Bug ID: 116136 Summary: [15 Regression] ext-dce exposes latent subreg simplification bug on m68k Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norma

[Bug rtl-optimization/116136] [15 Regression] ext-dce exposes latent subreg simplification bug (big-endian) on m68k

2024-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116136 Andrew Pinski changed: What|Removed |Added Target|m68k| Summary|[15 Regression] ext

[Bug target/116103] [15 Regression] GCN vs. "Internal-fn: Only allow modes describe types for internal fn[PR115961]"

2024-07-29 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116103 --- Comment #10 from Li Pan --- (In reply to Thomas Schwinge from comment #9) > (In reply to Li Pan from comment #7) > > confirm with you all related failures are covered. > > Yes, the testing state is restored to what it was before, thanks! >

[Bug tree-optimization/116133] Missing mult_overflow detection for aarch64

2024-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116133 Andrew Pinski changed: What|Removed |Added Status|RESOLVED|ASSIGNED Resolution|INVALID

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16 by r15-1619

2024-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #16 from GCC Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:bc1fda00d5f20e2f3e77a50b2822562b6e0040b2 commit r15-2395-gbc1fda00d5f20e2f3e77a50b2822562b6e0040b2 Author: liuhongt Date: Wed Jul

[Bug tree-optimization/116137] New: missing VRP with absu and known not to include INF

2024-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116137 Bug ID: 116137 Summary: missing VRP with absu and known not to include INF Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhance

[Bug tree-optimization/116133] Missing mult_overflow detection for aarch64

2024-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116133 --- Comment #5 from Andrew Pinski --- Actually I am trying to understand the original reason for the extra checks that was added in r14-992 when dealing with highpart: The reason for testing the presence of the optab handler is to make s

[Bug tree-optimization/116133] Missing mult_overflow detection for aarch64

2024-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116133 --- Comment #6 from Andrew Pinski --- I should note that LLVM converts it always to __builtin_mult_overflow as far as I can tell. Even on targets like avr.

[Bug tree-optimization/116109] Missed optimisation: unnecessary register dependency on reduction

2024-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116109 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-07-30 Target|

[Bug target/116122] [14/15 regression] __FLT16_MAX__ is defined even with -mno-sse2 on 32-bit x86

2024-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116122 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.2 Keywords|

[Bug tree-optimization/116126] vectorize libcpp search_line_fast

2024-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116126 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/116131] [14/15 Regression] RISC-V: Unrecognizable insn with xtheadmemidx on rv32

2024-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116131 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.2

[Bug tree-optimization/116126] vectorize libcpp search_line_fast

2024-07-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116126 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

<    1   2