[Bug middle-end/117173] can_vec_perm_const_p does not consider costs

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117173 --- Comment #1 from Richard Biener --- So on the GIMPLE side this is mostly canonicalization - the "theory" is that the backend should be able to implement VEC_PERM_EXPR using the same two cheap permutes facing this premute request. I don't se

[Bug target/117170] [15 regression] Failed bootstrap comparison in tree-vect-data-refs.o on sparcv9-sun-solaris2.11

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

[Bug target/117169] Missed opportunity to combine sign and bitmask tests

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

[Bug c++/116731] Incorrect behavior of -Wrange-loop-construct in GCC 14

2024-10-16 Thread sunil.dora1988 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731 --- Comment #4 from Sunil Dora --- Dear Community, Are there any plans to backport to gcc 13.3 ?

[Bug tree-optimization/117050] [15 Regression] ice in vect_build_slp_tree_2

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117050 --- Comment #8 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ae224de0631a7fcac37ac1384f457f1dc1a487b2 commit r15-4382-gae224de0631a7fcac37ac1384f457f1dc1a487b2 Author: Richard Biener Date:

[Bug middle-end/117173] can_vec_perm_const_p does not consider costs

2024-10-16 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117173 --- Comment #2 from Robin Dapp --- In x264, before the optimization we have: _42 = VEC_PERM_EXPR ; ... _44 = VEC_PERM_EXPR ; _45 = VEC_PERM_EXPR ; The first one (_42) is "monotonic" and can be implemented by a vmerge. This implies a load and

[Bug target/117173] can_vec_perm_const_p does not consider costs

2024-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117173 Andrew Pinski changed: What|Removed |Added Component|middle-end |target Keywords|

[Bug rtl-optimization/116550] [lra][avr] internal compiler error: in final_scan_insn_1, at final.cc:2807

2024-10-16 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116550 --- Comment #15 from denisc at gcc dot gnu.org --- (In reply to Segher Boessenkool from comment #13) > Yeah :-) So post an actual patch, to gcc-patches@? :-) PING ... I sent a patch.

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 Filip Kastl changed: What|Removed |Added Last reconfirmed||2024-10-16 Ever confirmed|0

[Bug tree-optimization/117172] New: FAIL: gcc.target/i386/pr111820-2.c and gcc.target/i386/pr111820-3.c with forced SLP

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117172 Bug ID: 117172 Summary: FAIL: gcc.target/i386/pr111820-2.c and gcc.target/i386/pr111820-3.c with forced SLP Product: gcc Version: 15.0 Status: UNCONFIRMED Seve

[Bug tree-optimization/117172] FAIL: gcc.target/i386/pr111820-2.c and gcc.target/i386/pr111820-3.c with forced SLP

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117172 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Blocks

[Bug middle-end/117173] New: can_vec_perm_const_p does not consider costs

2024-10-16 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117173 Bug ID: 117173 Summary: can_vec_perm_const_p does not consider costs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: mid

[Bug tree-optimization/117171] New: FAIL: gcc.dg/vect/vect-early-break_82.c with forced SLP

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117171 Bug ID: 117171 Summary: FAIL: gcc.dg/vect/vect-early-break_82.c with forced SLP Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prior

[Bug tree-optimization/117171] FAIL: gcc.dg/vect/vect-early-break_82.c with forced SLP

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117171 Richard Biener changed: What|Removed |Added Blocks||116578 CC|

[Bug libstdc++/117094] ranges::fill misses std::move for output_iterator

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117094 --- Comment #2 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cbb1814ffa29acc390bb0de46be49a24d09948d1 commit r14-10789-gcbb1814ffa29acc390bb0de46be49a24d09948d1 Author: Jonathan Wak

[Bug libstdc++/117085] chrono formatting: %c does not honor locale after expansion

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117085 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f1436fde43215659554418220aa45830a5e7ae61 commit r14-10792-gf1436fde43215659554418220aa45830a5e7ae61 Author: Jonathan Wak

[Bug libstdc++/90276] PSTL tests fail in Debug Mode

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90276 --- Comment #20 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f1cee9d1a049a3bc7cae24245fcc3c415fd12764 commit r14-10794-gf1cee9d1a049a3bc7cae24245fcc3c415fd12764 Author: Jonathan Wak

[Bug libstdc++/117135] 22_locale/time_get/get/wchar_t/5.cc fails on arm since gcc-15-4016-gc534e37facc

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117135 --- Comment #14 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8f181a2f878e8b97a91d68214161cb96a2b7 commit r14-10790-g8f181a2f878e8b97a91d68214161cb96a2b7 Author: Jonathan Wa

[Bug tree-optimization/116973] FAIL: gcc.dg/vect/pr52252-st.c with forced SLP

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116973 --- Comment #3 from Richard Biener --- Similar case for FAIL: gcc.target/i386/pr70021.c where the group is power-of-two size.

[Bug tree-optimization/117172] FAIL: gcc.target/i386/pr111820-2.c and gcc.target/i386/pr111820-3.c with forced SLP

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117172 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-10-16 Ever confirmed|0

[Bug target/113932] [meta-bug] Targets which should be ported to LRA

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113932 Bug 113932 depends on bug 113952, which changed state. Bug 113952 Summary: Finish LRA transition for sparc by removing -mlra https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113952 What|Removed |Added -

[Bug target/113952] Finish LRA transition for sparc by removing -mlra

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113952 --- Comment #3 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:b388f65abc71c951167175aa502476f1bfaa2a83 commit r15-4373-gb388f65abc71c951167175aa502476f1bfaa2a83 Author: Sam James Date: Mon Oct 1

[Bug target/113952] Finish LRA transition for sparc by removing -mlra

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113952 Sam James changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug target/116655] RISC-V: ICE with -mrvv-max-lmul=dynamic in compute_nregs_for_mode

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116655 --- Comment #3 from GCC Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:cc217a1ecb04c9234b2cce7ba3c27701a050e402 commit r15-4378-gcc217a1ecb04c9234b2cce7ba3c27701a050e402 Author: Robin Dapp Date: Tue Oct

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 --- Comment #1 from Sam James --- Will look.

[Bug tree-optimization/117140] [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 --- Comment #7 from Tamar Christina --- For this statement somehow the location of the gsi ends up having first == last, so gsi_insert_before just silently ignores the insert. The ICE happens because for this one BB, no vector statement is ever

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Commen

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 --- Comment #7 from Eric Botcazou --- I totally forgot about the quirks of the 'U' constraint with LRA when reviewing the original patch, sorry about that. If you can give a try to this one...

[Bug tree-optimization/116758] [15 Regression] 25-40% binary size increase and up to 177% compile time increase for SPEC CPU wrf with Ofast since r15-3529-g506417dbc8b1cb

2024-10-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116758 Filip Kastl changed: What|Removed |Added Summary|[15 Regression] 25-40% |[15 Regression] 25-40%

[Bug c/117167] New: ICE: ‘verify_type’ failed with attribute const and -flto during IPA pass

2024-10-16 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117167 Bug ID: 117167 Summary: ICE: ‘verify_type’ failed with attribute const and -flto during IPA pass Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norma

[Bug target/116994] [15 regression] GCC trunk generates larger code than GCC 14 at -Os since r15-313-gd826f794560904

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116994 Sam James changed: What|Removed |Added Summary|[15 regression] GCC trunk |[15 regression] GCC trunk

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 Sam James changed: What|Removed |Added Keywords||missed-optimization Summary|[14/

[Bug middle-end/117160] [15 regression] GCC trunk generates larger code than GCC 14 at -Os/-Oz (progressed in 14) since r15-3986-g3e1bd6470e4deb

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117160 Sam James changed: What|Removed |Added Keywords||missed-optimization Target Milestone|---

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 --- Comment #8 from Sam James --- No, thank you for helping (and sorry for the mess). Trying it now, although with a revert of my commit, I get a comparison failure later on in gcc/tree-vect-data-refs.o which I'll report separately.

[Bug target/117170] New: [15 regression] Failed bootstrap comparison in tree-vect-data-refs.o on sparcv9-sun-solaris2.11

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117170 Bug ID: 117170 Summary: [15 regression] Failed bootstrap comparison in tree-vect-data-refs.o on sparcv9-sun-solaris2.11 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 --- Comment #3 from John Paul Adrian Glaubitz --- (In reply to Sam James from comment #2) > Reproduced. Reverting my r15-4373-gb388f65abc71c9 seems to help. I'll spend > time on it today and see how I get on. If I hit a dead-end, I'll revert tha

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 --- Comment #4 from Sam James --- (In reply to John Paul Adrian Glaubitz from comment #3) > (In reply to Sam James from comment #2) > > Reproduced. Reverting my r15-4373-gb388f65abc71c9 seems to help. I'll spend > > time on it today and see how

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 --- Comment #5 from Eric Botcazou --- The problem very likely comes from the 3 patterns that had: (set_attr "lra" attributes: the alternatives corresponding to the "disabled" setting must be removed now.

[Bug target/117169] New: Missed opportunity to combine sign and bitmask tests

2024-10-16 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117169 Bug ID: 117169 Summary: Missed opportunity to combine sign and bitmask tests Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhan

[Bug rtl-optimization/116550] [lra][avr] internal compiler error: in final_scan_insn_1, at final.cc:2807

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116550 Sam James changed: What|Removed |Added Keywords||patch --- Comment #16 from Sam James --- h

[Bug c++/70536] g++ doesn't emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack

2024-10-16 Thread michal.staromiejski+gnu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70536 Michał Staromiejski changed: What|Removed |Added CC||michal.staromiejski+gnu@gma

[Bug tree-optimization/116578] vectorizer SLP transition issues / dependences

2024-10-16 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578 Bug 116578 depends on bug 116655, which changed state. Bug 116655 Summary: RISC-V: ICE with -mrvv-max-lmul=dynamic in compute_nregs_for_mode https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116655 What|Removed |Ad

[Bug target/116655] RISC-V: ICE with -mrvv-max-lmul=dynamic in compute_nregs_for_mode

2024-10-16 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116655 Robin Dapp changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/117067] false warning: array subscript 'int (**)(...)[ 0]' is partly outside array bounds

2024-10-16 Thread lobel.krivic at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117067 --- Comment #5 from Lobel Krivic --- Sorry, I am not able to follow you. Could you please explain it a bit more? Is this a bug in the code or in the compiler?

[Bug preprocessor/117166] [15 regression] ICE when building lxml-5.3.0 with LTO (linemap_line_start, at libcpp/line-map.cc:949)

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

[Bug c/117167] ICE: ‘verify_type’ failed with attribute const and -flto during IPA pass

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117167 Richard Biener changed: What|Removed |Added Keywords||ice-checking, |

[Bug tree-optimization/117067] false warning: array subscript 'int (**)(...)[ 0]' is partly outside array bounds

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

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 Sam James changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug middle-end/117160] [15 regression] GCC trunk generates larger code than GCC 14 at -Os/-Oz (progressed in 14) since r15-3986-g3e1bd6470e4deb

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117160 --- Comment #2 from Sam James --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116906#c4

[Bug middle-end/117160] [15 regression] GCC trunk generates larger code than GCC 14 at -Os/-Oz (progressed in 14) since r15-3986-g3e1bd6470e4deb

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117160 --- Comment #3 from Richard Biener --- That's a correctness fix expected to cause some fallout. As mentioned it's a bit too conservative, assuming p->size could trap but it's not trivially easy to fix that given we'd have to compute "known to n

[Bug middle-end/117160] [15 regression] GCC trunk generates larger code than GCC 14 at -Os/-Oz (progressed in 14) since r15-3986-g3e1bd6470e4deb

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117160 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/117048] Failure to combine into XAR instruction

2024-10-16 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117048 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|ASSIGNED Resolutio

[Bug c/117164] ICE building gcc.dg/nested-func-12.c with -std=gnu23

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117164 --- Comment #1 from Richard Biener --- For the aggregate return the type of the LHS and the type of the declared return type have to be compatible according to TYPE_CANONICAL.

[Bug lto/117166] [15 regression] ICE when building lxml-5.3.0 with LTO (linemap_line_start, at libcpp/line-map.cc:949)

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117166 --- Comment #2 from Richard Biener --- linemap_assert (SOURCE_LINE (map, r) == to_line); maybe some overflow somewhere that's not catched.

[Bug rtl-optimization/116550] [lra][avr] internal compiler error: in final_scan_insn_1, at final.cc:2807

2024-10-16 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116550 --- Comment #17 from Georg-Johann Lay --- (In reply to denisc from comment #15) > I sent a patch. What might help is to CC the respective maintainer as listed in MAINTAINERS.

[Bug target/117168] New: Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 Bug ID: 117168 Summary: Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: n

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-10-16 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added Attachment #58252|0 |1 is obsolete|

[Bug c/106762] incorrect array bounds warning (-Warray-bounds) at -O2 on memset()

2024-10-16 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106762 --- Comment #5 from qinzhao at gcc dot gnu.org --- with my work-in-progress patch + -fdiagnostics-explain-harder: t_106762.c: In function ‘bug’: t_106762.c:16:2: warning: ‘memset’ offset [0, 7] is out of the bounds [0, 0] [-Warray-bounds=] 16

[Bug go/113143] Remove usage of ucontext.h

2024-10-16 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113143 --- Comment #14 from Ian Lance Taylor --- Note that on x86_64 Linux libgo no longer uses ucontext.h. (Well, the #include is still there, but it is not used.) So we have a clear path to removing ucontext.h on any given system, but it does unfor

[Bug target/117173] can_vec_perm_const_p does not consider costs

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117173 --- Comment #5 from Richard Biener --- That said - maybe you shouldn't advertise two-input permutes that are not blends as supported? Of course interleaving { 0, 8, 1, 9, 2, 10 ... } is such a kind. It should be doable with a vslideup instead

[Bug target/117173] can_vec_perm_const_p does not consider costs

2024-10-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117173 --- Comment #6 from Jakub Jelinek --- Please have a look at the i386 backend, where for constant permutes it tries a sequence of 1, 2, 3, 4 or even 5 instructions to do the various permutations. It isn't perfect and surely misses some cases tha

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 --- Comment #5 from Filip Kastl --- PRE is the pass that should be able to optimize most of the code in the testcase away. It doesn't remove the code if sccopy1 has run. I looked at gimple dumps before PRE for compiler runs with sccopy1 and wi

[Bug tree-optimization/117140] [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-16 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 --- Comment #8 from rguenther at suse dot de --- On Wed, 16 Oct 2024, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 > > --- Comment #7 from Tamar Christina --- > For this statement somehow the locati

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-16 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 --- Comment #6 from rguenther at suse dot de --- On Wed, 16 Oct 2024, pheeck at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 > > --- Comment #5 from Filip Kastl --- [...] > If we ignore ssa name version numbers

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/116167] "static_cast" of member function pointer (non-noexcept) to noexcept erroneously succeeds if not overloaded

2024-10-16 Thread admin at hexadigm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116167 --- Comment #3 from Larry Smith --- Just a follow-up (discovered since original post), if the function in question is inherited then the issue disappears: class BaseClass { public: //

[Bug c++/117174] New: Compiler seems to incorrectly cache SFINAE condition evaluation results

2024-10-16 Thread ivan.solovev at qt dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117174 Bug ID: 117174 Summary: Compiler seems to incorrectly cache SFINAE condition evaluation results Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: norm

[Bug preprocessor/117118] [12/13/14/15 Regression] ICE with pragma message and raw strings since r11-498

2024-10-16 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117118 Lewis Hyatt changed: What|Removed |Added Keywords||patch URL|

[Bug c/117024] [C2y] Implement N3349, Abs Without Undefined Behavior

2024-10-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117024 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug go/113143] Remove usage of ucontext.h

2024-10-16 Thread joel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113143 Joel Sherrill changed: What|Removed |Added CC||joel at gcc dot gnu.org --- Comment #13

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 --- Comment #7 from Filip Kastl --- It is not in a loop. I guess I'll double-check that there aren't any differences which I didn't notice. There is one here: 57 # spud$size_22 = PHI <10(4), a_24(D)(2), a_24(D)(3)> 44 # spud$size_55 = PHI

[Bug middle-end/116510] [15 Regression] ice in decompose, at wide-int.h:1049

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116510 --- Comment #14 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:d5a05db80fa95dcae1ebc177f7790e1d34fa73ed commit r15-4387-gd5a05db80fa95dcae1ebc177f7790e1d34fa73ed Author: Andi Kleen Date: Tue Oct

[Bug rtl-optimization/116550] [lra][avr] internal compiler error: in final_scan_insn_1, at final.cc:2807

2024-10-16 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116550 --- Comment #18 from denisc at gcc dot gnu.org --- (In reply to Georg-Johann Lay from comment #17) > (In reply to denisc from comment #15) > > I sent a patch. > > What might help is to CC the respective maintainer as listed in MAINTAINERS. Done

[Bug target/113952] Finish LRA transition for sparc by removing -mlra

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113952 --- Comment #5 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:935b7fbd03373c91bae065c6fe862a9fc7d1a901 commit r15-4385-g935b7fbd03373c91bae065c6fe862a9fc7d1a901 Author: Eric Botcazou Date: W

[Bug tree-optimization/117093] Missing detection of REV64 vector permute

2024-10-16 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117093 --- Comment #4 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #3) > If we remove the casts: > uint32x4_t ror32_neon_tgt_gcc_bad(uint32x4_t r) { > uint32x4_t a = r; > uint32_t t; > t = a[0]; a[0] = a[1]; a[1] =

[Bug c++/117175] New: Internal compiler error in gimple_add_tmp_var, at gimplify.cc:802

2024-10-16 Thread kernalex256 at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117175 Bug ID: 117175 Summary: Internal compiler error in gimple_add_tmp_var, at gimplify.cc:802 Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-16 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Assignee|uros at gcc d

[Bug libstdc++/117085] chrono formatting: %c does not honor locale after expansion

2024-10-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117085 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|ASSIGNED Resolution|FIXED

[Bug tree-optimization/117176] New: [15 regression] ICE when building netpbm-11.8.0

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117176 Bug ID: 117176 Summary: [15 regression] ICE when building netpbm-11.8.0 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/117173] can_vec_perm_const_p does not consider costs

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117173 --- Comment #7 from Richard Biener --- To say that - we expect the backends to output the optimal sequence for each permute. The limit is that for a series of permutes this doesn't consider the case where there might be more "complex" permutes

[Bug tree-optimization/116575] [15 Regression] blender in SPEC2017 fails to use mask_load_lanes

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116575 --- Comment #9 from Richard Biener --- I'll note the mask for SLP load-lanes is also off, we discover mask_struct_load_2.c:39:1: note: node 0x5feccd0 (max_nunits=16, refcnt=2) vector([16,16]) mask_struct_load_2.c:39:1: note: op template: _

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 --- Comment #10 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:935b7fbd03373c91bae065c6fe862a9fc7d1a901 commit r15-4385-g935b7fbd03373c91bae065c6fe862a9fc7d1a901 Author: Eric Botcazou Date:

[Bug tree-optimization/117093] Missing detection of REV64 vector permute

2024-10-16 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117093 --- Comment #3 from ktkachov at gcc dot gnu.org --- I think it's the VIEW_CONVERT_EXPR that are hurting us (more complete dump before expand): _1 = VIEW_CONVERT_EXPR(r_3(D)); t_4 = BIT_FIELD_REF ; a_5 = VEC_PERM_EXPR <_1, _1, { 1, 1, 2, 3 }

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-16 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 --- Comment #8 from rguenther at suse dot de --- On Wed, 16 Oct 2024, pheeck at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 > > --- Comment #7 from Filip Kastl --- > It is not in a loop. I guess I'll double-c

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 --- Comment #17 from GCC Commits --- The releases/gcc-14 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:8be94d5643176ecd2dcdceaf4448c3b89318037c commit r14-10797-g8be94d5643176ecd2dcdceaf4448c3b89318037c Author: Uros Bizjak Da

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 --- Comment #18 from GCC Commits --- The releases/gcc-13 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:dc295054c4ba28e44d4856bb68d148e9ac272d05 commit r13-9119-gdc295054c4ba28e44d4856bb68d148e9ac272d05 Author: Uros Bizjak Dat

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 --- Comment #19 from GCC Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:a8bd38de88715fdbf0d064ff0d50e2b8734de939 commit r12-10774-ga8bd38de88715fdbf0d064ff0d50e2b8734de939 Author: Uros Bizjak Da

[Bug c++/117174] Compiler seems to incorrectly cache SFINAE condition evaluation results

2024-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117174 --- Comment #1 from Andrew Pinski --- Created attachment 59361 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59361&action=edit Full testcase

[Bug c++/117175] Internal compiler error in gimple_add_tmp_var, at gimplify.cc:802

2024-10-16 Thread lozko.roma at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117175 Roman Lozko changed: What|Removed |Added CC||lozko.roma at gmail dot com --- Comment #

[Bug c++/117129] [14/15 Regression] internal compiler error: Segmentation fault at gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)

2024-10-16 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117129 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug target/117173] can_vec_perm_const_p does not consider costs

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117173 --- Comment #4 from Richard Biener --- I can see the difficulty here. Note a strathegy for decomposition would be to produce a monotonic permute of any two input vector permute by noting elements needed in the final result. If it's possible to

[Bug c++/117099] [14/15 Regression] internal compiler error: Segmentation fault in finalize_nrv(tree_node*, tree_node*)

2024-10-16 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117099 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug target/117168] Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168 --- Comment #9 from Sam James --- (In reply to Eric Botcazou from comment #6) > Created attachment 59359 [details] > Tentative fix This gets me to PR117170 (same as when reverting my commit) on Solaris and Linux bootstrapped fine. I'll check th

[Bug tree-optimization/116575] [15 Regression] blender in SPEC2017 fails to use mask_load_lanes

2024-10-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116575 Richard Biener changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Commen

[Bug tree-optimization/117140] [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 --- Comment #9 from Tamar Christina --- (In reply to rguent...@suse.de from comment #8) > On Wed, 16 Oct 2024, tnfchris at gcc dot gnu.org wrote: > > diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc > > index 8727246c27a..c028594e18b 100

[Bug libstdc++/117085] chrono formatting: %c does not honor locale after expansion

2024-10-16 Thread xu2k3l4 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117085 XU Kailiang changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/80235] ICE: coarrays, submodule

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80235 --- Comment #9 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:e32fff675c3bb040fa79854f6b0654c16bc38997 commit r15-4405-ge32fff675c3bb040fa79854f6b0654c16bc38997 Author: Andre Vehreschild Da

[Bug tree-optimization/115274] [14/15 regression] Bogus -Wstringop-overread in SQLite source code

2024-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115274 --- Comment #12 from Sam James --- (In reply to D. Richard Hipp from comment #6) > The source file that causes the problem can now be downloaded from > . If you can reproduce it with the non-amalgamati

[Bug tree-optimization/116939] rewrite_to_defined_overflow/gimple_with_undefined_signed_overflow should also rewrite VCEs (from/to integral types) into casts

2024-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116939 --- Comment #2 from Andrew Pinski --- Created attachment 59368 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59368&action=edit patch in test Depends on a few others which either have been approved or posted.

[Bug rtl-optimization/115879] ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 6 with -O -fnon-call-exceptions -finstrument-functions and invalid memory access

2024-10-16 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115879 Zdenek Sojka changed: What|Removed |Added Summary|ICE: verify_flow_info |ICE: verify_flow_info

  1   2   >