[Bug middle-end/114661] Bit operations not optimized to multiplication

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114661 --- Comment #3 from GCC Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:df9451936c6c9e4faea371e3f188e1fc6b6d39e3 commit r15-2053-gdf9451936c6c9e4faea371e3f188e1fc6b6d39e3 Author: Roger Sayle Date: Tue J

[Bug target/115937] duplicate .plt in module's elf header

2024-07-16 Thread ellery1016 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #8 from Ellery --- (In reply to Andrew Pinski from comment #7) > Can you attach the file ./arch/arm64/kernel/module.lds ? Thanks a lot. It turns out that my scripts/module-common.lds and arch/arm64/kernel/module.lds both define a pl

[Bug c/115848] ICE: 'verify_type' failed with -flto and strub attribute and typedef of the function type

2024-07-16 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115848 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Alexandr

[Bug target/115937] duplicate .plt in module's elf header

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

[Bug rtl-optimization/115948] [SH] wrong fpu mode-switch

2024-07-16 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115948 Oleg Endo changed: What|Removed |Added Last reconfirmed||2024-07-16 Status|UNCONFIRMED

[Bug rtl-optimization/115912] [15 regression] Harfbuzz testsuite fails (mvar_partial_instance test) since r15-1901-g98914f9eba5f19

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115912 --- Comment #11 from Andrew Pinski --- (In reply to Sam James from comment #10) > libharfbuzz_subset_la-hb-subset.cc.300r.ext_dce.xz: > https://dev.gentoo.org/~sam/bugs/gcc/gcc-harfbuzz-dce/libharfbuzz_subset_la- > hb-subset.cc.300r.ext_dce.xz.

[Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255 --- Comment #14 from Andrew Pinski --- This sounds very similar to what I am now running into https://gcc.gnu.org/pipermail/gcc/2024-July/244362.html .

[Bug tree-optimization/115843] [14/15 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #12 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:1e3aa9c9278db69d4bdb661a750a7268789188d6 commit r15-2054-g1e3aa9c9278db69d4bdb661a750a7268789188d6 Author: Richard Biener Date:

[Bug tree-optimization/115843] [14/15 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #13 from Richard Biener --- Hmm, interesting. We even vectorize this with just -mavx512f but end up using vector(16) int besides vector(8) long and equality compares of vector(16) int: vpcmpd $0, %zmm7, %zmm0, %k2 accordi

[Bug tree-optimization/115843] [14/15 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #14 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a177be05f6952c3f7e62186d2e138d96c475b81a commit r15-2055-ga177be05f6952c3f7e62186d2e138d96c475b81a Author: Richard Biener Date:

[Bug target/115749] Non optimal assembly for integer modulo by a constant on x86-64 CPUs

2024-07-16 Thread lingling.kong7 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115749 --- Comment #11 from kong lingling --- After adjusted rtx_cost of imulq for COST_N_INSNS (4) to COST_N_INSNS (3), I tested the benchmark on Sierra Forest machine based on gcc trunk, and the algorithm with 2 multiplications is 2% faster. For Spec

[Bug target/115950] New: Missed SVE fold to INCP

2024-07-16 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115950 Bug ID: 115950 Summary: Missed SVE fold to INCP Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3

[Bug tree-optimization/115843] [14 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 Richard Biener changed: What|Removed |Added Summary|[14/15 Regression] |[14 Regression] |531

[Bug libstdc++/88545] std::find compile to memchr in trivial random access cases (patch)

2024-07-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88545 --- Comment #15 from Jonathan Wakely --- The wmemchr case is covered by PR 115040

[Bug target/114189] Target implements obsolete vcond{,u,eq} expanders

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 --- Comment #10 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:75c0bf997d2808561451e62aa6b7ae7c8e32b9e9 commit r15-2058-g75c0bf997d2808561451e62aa6b7ae7c8e32b9e9 Author: Stefan Sc

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

2024-07-16 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115921 --- Comment #1 from Siarhei Volkau --- Also take in account examples like this: uint32_t high_const_and_compare(uint32_t x) { if ( (x & 0x7000) == 0x3000) return do_some(); return do_other(); } It might be profitable to u

[Bug target/115949] [SH] unrecognized insn in postreload

2024-07-16 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949 --- Comment #1 from Oleg Endo --- With -mlra on GCC 12 we get the following error: internal compiler error: maximum number of generated reload insns per insn achieved (90) 177 | } | ^ 0xb86282 lra_constraints(bool) ../../gcc/gcc

[Bug debug/95574] line table entry in sequence with address after sequence

2024-07-16 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug tree-optimization/115841] 521.wrf_r ICEs when building with -march=znver4 -Ofast -flto --param vect-partial-vector-usage=1

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115841 --- Comment #4 from Richard Biener --- r15-2054-g1e3aa9c9278db6, when backported to the branch, avoids the failure, it's still latent of course. The fortran loop is the DO KR=1,NRM loop from module_mp_fast_sbm.fppized.f90:6100 which is the JERT

[Bug tree-optimization/115841] 521.wrf_r ICEs when building with -march=znver4 -Ofast -flto --param vect-partial-vector-usage=1

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

[Bug bootstrap/115951] New: [15 Regression] pgo+lto enabled bootstrap fails building gnat (ICE in fold_stmt, at gimple-range-fold.cc:701)

2024-07-16 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115951 Bug ID: 115951 Summary: [15 Regression] pgo+lto enabled bootstrap fails building gnat (ICE in fold_stmt, at gimple-range-fold.cc:701) Product: gcc Version: 15.0

[Bug target/113719] [13/14 regression] g++.target/i386/pr103696.C FAILs

2024-07-16 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113719 --- Comment #16 from Alexandre Oliva --- Ok, I'd tested the backports on gcc-13 recently, so I'm going to install both patches in both gcc-13 and gcc-14, the latter under the assumption that if it works in gcc-13 and trunk, it will be fine for g

[Bug target/113719] [13/14 regression] g++.target/i386/pr103696.C FAILs

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113719 --- Comment #17 from GCC Commits --- The releases/gcc-14 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:102bcf147892855463c5854119aacda752ed033c commit r14-10426-g102bcf147892855463c5854119aacda752ed033c Author: Alexandre O

[Bug target/113719] [13/14 regression] g++.target/i386/pr103696.C FAILs

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113719 --- Comment #18 from GCC Commits --- The releases/gcc-14 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:7bc63f1c70331763989d72b7df051e0ce67ff84c commit r14-10427-g7bc63f1c70331763989d72b7df051e0ce67ff84c Author: Alexandre O

[Bug tree-optimization/115841] [12/13/14 Regression] 521.wrf_r ICEs when building with -march=znver4 -Ofast -flto --param vect-partial-vector-usage=1

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

[Bug c++/115952] New: g++ 14.1.0 internal compiler error for ambiguous function template overloads

2024-07-16 Thread aslobodkins at mail dot smu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115952 Bug ID: 115952 Summary: g++ 14.1.0 internal compiler error for ambiguous function template overloads Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity:

[Bug c++/115952] g++ 14.1.0 internal compiler error for ambiguous function template overloads

2024-07-16 Thread aslobodkins at mail dot smu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115952 --- Comment #1 from Slobodkins, Arkadijs --- Created attachment 58683 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58683&action=edit preprocessed file

[Bug target/113719] [13/14 regression] g++.target/i386/pr103696.C FAILs

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113719 --- Comment #19 from GCC Commits --- The releases/gcc-13 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:0b9d6829b503cfc72c4271ead2948d8100cce25c commit r13-8915-g0b9d6829b503cfc72c4271ead2948d8100cce25c Author: Alexandre Ol

[Bug target/113719] [13/14 regression] g++.target/i386/pr103696.C FAILs

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113719 --- Comment #20 from GCC Commits --- The releases/gcc-13 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:52959e34c8a7a0473784ca044487d05e791286c1 commit r13-8916-g52959e34c8a7a0473784ca044487d05e791286c1 Author: Alexandre Ol

[Bug lto/115953] New: --wrap does now work with lto

2024-07-16 Thread koule2333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115953 Bug ID: 115953 Summary: --wrap does now work with lto Product: gcc Version: 12.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto As

[Bug c++/115952] [14 Regression] g++ 14.1.0 internal compiler error for ambiguous function template overloads

2024-07-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115952 Jonathan Wakely changed: What|Removed |Added Summary|g++ 14.1.0 internal |[14 Regression] g++ 14.1.0

[Bug c++/115239] [14 Regression] ICE: Segmentation fault with ambiguous function call in some cases (`const char*` vs `char` with `long` vs `unsigned`) since r14-6522

2024-07-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115239 Jonathan Wakely changed: What|Removed |Added CC||aslobodkins at mail dot smu.edu --- C

[Bug c++/103909] coroutines: co_yield of aggregate-initialized temporaries leads to segmentation faults.

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103909 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Arsen Arsenović changed: What|Removed |Added CC||johannes.kalmbach@googlemai

[Bug ipa/115942] [14/15 regression] lto1: ICE in record_argument_state, at ipa-param-manipulation.cc:2122

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115942 Richard Biener changed: What|Removed |Added CC||jamborm at gcc dot gnu.org Target Mi

[Bug bootstrap/115951] [15 Regression] pgo+lto enabled bootstrap fails building gnat (ICE in fold_stmt, at gimple-range-fold.cc:701)

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

[Bug lto/115953] --wrap does not work with lto

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115953 Richard Biener changed: What|Removed |Added Summary|--wrap does now work with |--wrap does not work with

[Bug lto/88643] -Wl,--wrap not supported with LTO

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Richard Biener changed: What|Removed |Added CC||koule2333 at gmail dot com --- Comment

[Bug middle-end/115954] New: Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 Bug ID: 115954 Summary: Alignment of _Atomic structs incompatible between GCC and LLVM Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug lto/88643] -Wl,--wrap not supported with LTO

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 --- Comment #14 from Richard Biener --- Just to note with BFD ld from 2.41.0 I see 1 a-t.o 3 194 b4b00c6ef6ad050b PREVAILING_DEF_IRONLY __wrap_cook 198 b4b00c6ef6ad050b PREVAILING_DEF main 214 b4b00c6ef6ad050b RESOLVED_IR cook when building in

[Bug tree-optimization/115843] [14 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #16 from GCC Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:bcb2a35a0c04417c407a97d9ff05c2af1d6d1b8d commit r11-11578-gbcb2a35a0c04417c407a97d9ff05c2af1d6d1b8d Author: Richard Bien

[Bug middle-end/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 Richard Biener changed: What|Removed |Added Target||aarch64 x86_64-*-* CC|

[Bug middle-end/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 --- Comment #2 from Richard Biener --- (In reply to Richard Biener from comment #1) > Not sure what the x86 psABI says here (possibly nothing for aggregate > _Atomic). It doesn't consider _Atomic [influencing the ABI] at all. Note I think your

[Bug libstdc++/115955] New: atomic::wait _S_for uses a poor hash function

2024-07-16 Thread jakub.lopuszanski at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115955 Bug ID: 115955 Summary: atomic::wait _S_for uses a poor hash function Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: li

[Bug middle-end/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 --- Comment #3 from Richard Biener --- And I'll note the original JTC1/SC22/WG14 - N2771 Title: C23 Atomics paper mentions "ABI would have been fully determined to be compatible with non-atomic type, leaving no room to implementations for introd

[Bug target/113719] [13/14 regression] g++.target/i386/pr103696.C FAILs

2024-07-16 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113719 Alexandre Oliva changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/115951] [15 Regression] pgo+lto enabled bootstrap fails building gnat (ICE in fold_stmt, at gimple-range-fold.cc:701)

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115951 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug libstdc++/115955] atomic::wait _S_for uses a poor hash function

2024-07-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115955 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 --- Comment #4 from Jonathan Wakely --- (In reply to Richard Biener from comment #1) > Not sure what the x86 psABI says here (possibly nothing for aggregate > _Atomic). I've been asking for it to say something for years. https://groups.google.c

[Bug middle-end/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 --- Comment #5 from Wilco --- (In reply to Richard Biener from comment #2) > (In reply to Richard Biener from comment #1) > > Not sure what the x86 psABI says here (possibly nothing for aggregate > > _Atomic). > > It doesn't consider _Atomic [i

[Bug c++/95457] Inadequate diagnostics on constrained coroutines

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95457 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment #

[Bug tree-optimization/115895] [15 Regression] FAIL: gcc.dg/vect/pr115385.c execution test with -march=znver4 --param partial-vector-usage=2

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

[Bug c++/115956] New: ICE: in change_stack, at reg-stack.cc:2732

2024-07-16 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115956 Bug ID: 115956 Summary: ICE: in change_stack, at reg-stack.cc:2732 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/115459] [14 regression] Alpha/Linux ICE: in gen_rtx_SUBREG, at emit-rtl.cc:1032 around g-debpoo.adb:1896:8, as from r14-1187-gd6b756447cd5

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115459 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:c8fdef7fc25dafc8c7a12727c1046b3c7f2b89bb commit r14-10433-gc8fdef7fc25dafc8c7a12727c1046b3c7f2b89bb Author: Alexandre Ol

[Bug gcov-profile/114715] Gcov allocates branches to wrong row for nested switches

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

[Bug c++/114480] [12/13/14/15 Regression] g++: internal compiler error: Segmentation fault signal terminated program cc1plus

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114480 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|rguenth at gcc

[Bug libstdc++/109162] C++23 improvements to std::format

2024-07-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > https://wg21.link/P2419R2 localized chrono formatting (also p2372r3) Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2024-July/657386.html

[Bug libstdc++/115776] [C++26] Implement P2757R3 Type checking format args

2024-07-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115776 Jonathan Wakely changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug libstdc++/110356] [C++26] P2637R3 Member visit

2024-07-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110356 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #1 from Jonathan Wa

[Bug c++/103953] Leak of coroutine return object

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103953 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug sanitizer/105336] truncated address sanitizer stack traces, coroutines + -Og

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105336 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/103953] Leak of coroutine return object

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103953 --- Comment #2 from Arsen Arsenović --- seems to have been r12-9435-g6fd32842404ac1.

[Bug middle-end/115527] incorrect folding of __builtin_clear_padding()

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

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Arsen Arsenović changed: What|Removed |Added CC||benni.buch at gmail dot com --- Comme

[Bug c++/104872] Memory corruption in Coroutine with POD type

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104872 Arsen Arsenović changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug modula2/115957] New: ICE on procedure-local CONST declaration

2024-07-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115957 Bug ID: 115957 Summary: ICE on procedure-local CONST declaration Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/115957] ICE on procedure-local CONST declaration

2024-07-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115957 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/103963] Coroutine return type needs not be copy- or move-constructible

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103963 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug modula2/115957] ICE on procedure-local CONST declaration

2024-07-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115957 --- Comment #2 from Gaius Mulley --- Created attachment 58685 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58685&action=edit Proposed fix Here is a proposed fix.

[Bug target/106671] aarch64: BTI instruction are not inserted for cross-section direct calls

2024-07-16 Thread julien.voisin+gnu at dustri dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 --- Comment #19 from jvoisin --- > That's not a good reason to weaken the security of the generated code. Having BTI will more valid targets is still better than no BTI at all, and it would still be better than what clang is doing.

[Bug c++/105595] Coroutines can trigger -Wsubobject-linkage

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105595 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug tree-optimization/102392] Failure to optimize a sign extension to a zero extension

2024-07-16 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102392 Gabriel Ravier changed: What|Removed |Added Target|X86_64-linux-gnu|x86_64-linux-gnu Version|12

[Bug c++/107768] Bogus -Wzero-as-null-pointer-constant in coroutine

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107768 Arsen Arsenović changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug middle-end/115527] incorrect folding of __builtin_clear_padding()

2024-07-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115527 --- Comment #8 from Jakub Jelinek --- (In reply to qinzhao from comment #6) > --- a/gcc/gimple-fold.cc > +++ b/gcc/gimple-fold.cc > @@ -4815,6 +4815,7 @@ clear_padding_type (clear_padding_struct *buf, tree > type, > unsigned int prev_a

[Bug driver/47229] Objective C and C++ compiler specific drivers

2024-07-16 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47229 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug tree-optimization/115841] [12/13/14 Regression] 521.wrf_r ICEs when building with -march=znver4 -Ofast -flto --param vect-partial-vector-usage=1

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115841 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:016c947b02e79a5c0c0c2d4ad5cb71aa04db3efd commit r15-2065-g016c947b02e79a5c0c0c2d4ad5cb71aa04db3efd Author: Richard Biener Date:

[Bug tree-optimization/95817] Failure to optimize shift with constant to compare

2024-07-16 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95817 --- Comment #3 from Gabriel Ravier --- A place where this does seem to give faster results in real code is code where multiple conditions like this are placed in a row, in e.g. the code at https://github.com/openbsd/xenocara/blob/0c50e27b4c04e035

[Bug middle-end/115527] incorrect folding of __builtin_clear_padding()

2024-07-16 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115527 --- Comment #9 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #8) > (In reply to qinzhao from comment #6) > > --- a/gcc/gimple-fold.cc > > +++ b/gcc/gimple-fold.cc > > @@ -4815,6 +4815,7 @@ clear_padding_type (clear_p

[Bug tree-optimization/115843] [14 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #17 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d702a957753caf020cb550d143e9e9a62f79e9f5 commit r14-10434-gd702a957753caf020cb550d143e9e9a62f79e9f5 Author: Richard Bien

[Bug tree-optimization/115867] [14 Regression] ICE: tree check: expected vector_type, have integer_type in TYPE_VECTOR_SUBPARTS, at tree.h:4246

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115867 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ca275b68ef11d7d70bff8d7426e45b3734b3 commit r14-10436-gca275b68ef11d7d70bff8d7426e45b3734b3 Author: Richard Biene

[Bug ipa/115701] [11/12/13/14 Regression] wrong code at -O1 and above with "-fipa-pta" on x86_64-linux-gnu

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115701 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e01012c459c931ae39558b019107226c232fa4d1 commit r14-10438-ge01012c459c931ae39558b019107226c232fa4d1 Author: Richard Biene

[Bug tree-optimization/115841] [12/13/14 Regression] 521.wrf_r ICEs when building with -march=znver4 -Ofast -flto --param vect-partial-vector-usage=1

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115841 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:59ed01d5e3d2b0e59163d3248bdba9f1e35de599 commit r14-10440-g59ed01d5e3d2b0e59163d3248bdba9f1e35de599 Author: Richard Biene

[Bug ipa/115701] [11/12/13/14 Regression] wrong code at -O1 and above with "-fipa-pta" on x86_64-linux-gnu

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115701 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:6f74a5f5dc12bc337068f0f6a554d72604488959 commit r14-10437-g6f74a5f5dc12bc337068f0f6a554d72604488959 Author: Richard Biene

[Bug tree-optimization/115867] [14 Regression] ICE: tree check: expected vector_type, have integer_type in TYPE_VECTOR_SUBPARTS, at tree.h:4246

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115867 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to fail|14.1.1

[Bug tree-optimization/115843] [14 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #18 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:06829e593d2e5611e7924624cb8228795691e2b7 commit r14-10439-g06829e593d2e5611e7924624cb8228795691e2b7 Author: Richard Bien

[Bug tree-optimization/115841] [12/13/14 Regression] 521.wrf_r ICEs when building with -march=znver4 -Ofast -flto --param vect-partial-vector-usage=1

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115841 Richard Biener changed: What|Removed |Added Known to fail||14.1.0 Priority|P3

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 115867, which changed state. Bug 115867 Summary: [14 Regression] ICE: tree check: expected vector_type, have integer_type in TYPE_VECTOR_SUBPARTS, at tree.h:4246 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115867

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

2024-07-16 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 115843, which changed state. Bug 115843 Summary: [14 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 W

[Bug tree-optimization/115843] [14 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 Richard Biener changed: What|Removed |Added Known to work||14.1.1 Status|ASSIGNED

[Bug modula2/115957] ICE on procedure-local CONST declaration

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115957 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:d9709fafb2c498ba2f4c920f953c9b78fa3bf114 commit r15-2067-gd9709fafb2c498ba2f4c920f953c9b78fa3bf114 Author: Gaius Mulley Date: Tue

[Bug modula2/115957] ICE on procedure-local CONST declaration

2024-07-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115957 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115901 --- Comment #11 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:851ec9960b084ad37556ec627e6931e985e41a24 commit r15-2070-g851ec9960b084ad37556ec627e6931e985e41a24 Author: Richard Sandiford D

[Bug target/115891] [15 regression] libgcrypt tests segfault in crc32_less_than_16 with LTO with late-combine

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115891 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:9f9faebb8ebfc0103461641cc49ba0b21877b2b1 commit r15-2069-g9f9faebb8ebfc0103461641cc49ba0b21877b2b1 Author: Richard Sandiford Da

[Bug rtl-optimization/115929] [15 regression] ICE on valid code at -O{2,3} with "-fschedule-insns" on x86_64-linux-gnu: Segmentation fault

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115929 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:fec38d7987dd6d68b234b0076b57ac66a30a3a1d commit r15-2071-gfec38d7987dd6d68b234b0076b57ac66a30a3a1d Author: Richard Sandiford Da

[Bug target/115891] [15 regression] libgcrypt tests segfault in crc32_less_than_16 with LTO with late-combine

2024-07-16 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115891 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug plugins/112520] gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) with Python 3.12+

2024-07-16 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112520 --- Comment #8 from John David Anglin --- I think get_field_by_name needs updating to handle the struct layout changes. DECL_NAME(field) is null for the unnamed union and it causes a segmentation fault when dereferenced by IDENTIFIER_POINTER.

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

2024-07-16 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115901 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/115929] [15 regression] ICE on valid code at -O{2,3} with "-fschedule-insns" on x86_64-linux-gnu: Segmentation fault

2024-07-16 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115929 --- Comment #3 from Richard Sandiford --- As it turned out, the two tests exposed different bugs. I've submitted a patch for the other one and will close once that's resolved.

[Bug c/115954] Alignment of _Atomic structs incompatible between GCC and LLVM

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115954 --- Comment #6 from Andrew Pinski --- https://gitlab.com/x86-psABIs/i386-ABI/-/issues/1 for x86_64 abi. Aarch64 should most likely also do the same ...

[Bug fortran/84868] [11/12/13/14/15 Regression] ICE in gfc_conv_descriptor_offset, at fortran/trans-array.c:208

2024-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868 --- Comment #18 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:9f966b6a8ff0244dd6f8bf36d876799d5f9bbaee commit r15-2072-g9f966b6a8ff0244dd6f8bf36d876799d5f9bbaee Author: Paul Thomas Date: Tue J

  1   2   3   >