[Bug middle-end/116814] [15 Regression] ICE on libjack2-1.9.22: in expand_fn_using_insn, at internal-fn.cc:263 since r15-1671-gf2476a2649e997

2024-09-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116814 --- Comment #4 from Sergei Trofimovich --- The change fixed libjack2-1.9.22 for me. Thank you!

[Bug other/116847] [15 regression] r15-3859-g63a598deb0c9fc causes many excess errors

2024-09-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116847 Patrick Palka changed: What|Removed |Added Target Milestone|--- |15.0 CC|

[Bug tree-optimization/116848] New: Check to see if is_maybe_undefined can be replaced with ssa_name_maybe_undef_p/mark_ssa_maybe_undefs in loop unrolling

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116848 Bug ID: 116848 Summary: Check to see if is_maybe_undefined can be replaced with ssa_name_maybe_undef_p/mark_ssa_maybe_undefs in loop unrolling Product: gcc Versi

[Bug tree-optimization/116848] Check to see if is_maybe_undefined can be replaced with ssa_name_maybe_undef_p/mark_ssa_maybe_undefs in loop unrolling

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

Is this a bug is 14.2.0?

2024-09-25 Thread Jason Mancini via Gcc-bugs
Problem happens in 14.2.0, 13.2.0, 12.2.0 Doesn't seem to happen in 10.2.0 or 11.2.0 Only seems to happen for -std=c++17/14/11, but not for c++20/23/26. Only seems to happen for -O2, but not -O0 / -O1 / -O3. Happens for vector, but not deque or list. Happens for vector, but not vector. Doesn't happ

[Bug c++/116851] New: vector assignment compilation fails claiming null STL argument

2024-09-25 Thread jayrusman at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116851 Bug ID: 116851 Summary: vector assignment compilation fails claiming null STL argument Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/116850] New: ICE at -O{s,2,3} on x86_64-linux-gnu: in verify_dominators, at dominance.cc:1194

2024-09-25 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116850 Bug ID: 116850 Summary: ICE at -O{s,2,3} on x86_64-linux-gnu: in verify_dominators, at dominance.cc:1194 Product: gcc Version: unknown Status: UNCONFIRMED Seve

[Bug tree-optimization/116850] [12/13/14/15 Regression] ICE at -O{s,2,3} on x86_64-linux-gnu: in verify_dominators, at dominance.cc:1194

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116850 Andrew Pinski changed: What|Removed |Added Known to work||4.8.0 Summary|ICE at -O{s,2,

[Bug tree-optimization/116851] vector assignment compilation fails claiming null STL argument

2024-09-25 Thread jayrusman at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116851 --- Comment #1 from Jason Mancini --- Forgot to mention platform: x86-64 running RedHat

[Bug middle-end/116845] pr109393.c test fails

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116845 --- Comment #2 from Andrew Pinski --- It is definitely ilp32 related but maybe a missed optimization there. And might be a missed optimization for lp64 when using long too.

[Bug middle-end/116845] pr109393.c test fails

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116845 --- Comment #3 from Andrew Pinski --- LLP64 might need to use long long though to get the same failure.

[Bug libstdc++/116754] libstdc++ std::ranges::copy performance issue

2024-09-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116754 --- Comment #5 from Sam James --- It remains open for backporting to 13.

[Bug other/116847] [15 regression] r15-3859-g63a598deb0c9fc causes many excess errors

2024-09-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116847 --- Comment #2 from Jakub Jelinek --- s/not trying/now trying/

[Bug c++/112341] error: insufficient contextual information to determine type on co_await result in function template

2024-09-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112341 Arsen Arsenović changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #5 from Arsen Ars

[Bug rtl-optimization/69765] [SH] Addidional reg copies when compiling with LRA

2024-09-25 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69765 --- Comment #1 from Oleg Endo --- Tried this case on GCC-15 branch https://github.com/olegendo/gcc/tree/devel/sh-lra and it seems to be not a problem anymore, regardless of LRA or no LRA usage. Should be added as a test case.

[Bug target/106167] Missed optimization (memory vs register read)

2024-09-25 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106167 Oleg Endo changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/116844] Disambiguation of T x = delete("text")

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116844 --- Comment #2 from Andrew Pinski --- ``` using T = void (); T a = delete ("hello"); T b = delete; ``` Should be valid, correct? I was even more super confused because clang parses `= delete` here specially and then errors out: ``` :3:7: erro

[Bug target/29845] sh floating point emulation is inefficient

2024-09-25 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29845 Oleg Endo changed: What|Removed |Added CC||olegendo at gcc dot gnu.org --- Comment #14

[Bug c++/116844] Disambiguation of T x = delete("text")

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116844 Andrew Pinski changed: What|Removed |Added Alias||cwg2144 Ever confirmed|0

[Bug other/116847] New: [15 regression] r15-3859-g63a598deb0c9fc causes many excess errors

2024-09-25 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116847 Bug ID: 116847 Summary: [15 regression] r15-3859-g63a598deb0c9fc causes many excess errors Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/116791] [15 Regression] ICE in operator[], at vec.h:910 since r15-3735-g664e0ce580a8f2

2024-09-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116791 --- Comment #12 from Sergei Trofimovich --- The change fixed libvpx build for me. Thank you!

[Bug c++/116846] g++.dg/modules/indirect-1_b.C fails

2024-09-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116846 Sam James changed: What|Removed |Added Version|13.3.1 |15.0 --- Comment #3 from Sam James --- Nat

[Bug rtl-optimization/116849] [SH] Redundant fp mode switch at function entry

2024-09-25 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116849 Oleg Endo changed: What|Removed |Added Target||sh*-*-* Status|UNCONFIRMED

[Bug rtl-optimization/116849] New: [SH] Redundant fp mode switch at function entry

2024-09-25 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116849 Bug ID: 116849 Summary: [SH] Redundant fp mode switch at function entry Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/116709] [SH] fp values ferried through fpul

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

[Bug middle-end/116845] pr109393.c test fails

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116845 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org La

[Bug other/116847] [15 regression] r15-3859-g63a598deb0c9fc causes many excess errors

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

[Bug middle-end/116845] gcc.dg/pr109393.c test fails

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116845 --- Comment #4 from Andrew Pinski --- For LP64 (including using long), fre1 is able to optimize it. ILP32 (with long rather than int): ``` k_12 = j_11(D) + -1; j.0_1 = (sizetype) j_11(D); _2 = j.0_1 + 1073741823; _3 = _2 * 4; _4 = a_

[Bug tree-optimization/116831] [15 Regression] ICE with trunc mod vectorising for SVE

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116831 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | Status|UNCONFIRMED

[Bug c++/116852] New: -fvisibility-inlines-hidden does not hide template functions without 'inline'

2024-09-25 Thread joerg.richter--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116852 Bug ID: 116852 Summary: -fvisibility-inlines-hidden does not hide template functions without 'inline' Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity

[Bug tree-optimization/116831] [15 Regression] ICE with trunc mod vectorising for SVE

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116831 --- Comment #3 from Andrew Pinski --- Full dump in the end: Applying pattern match.pd:5354, gimple-match-3.cc:2427 Applying pattern match.pd:6669, gimple-match-3.cc:2452 gimple_simplified to _203 = vect_cst__182 % vect_cst__183; mask__9.16_189 =

[Bug tree-optimization/116831] [15 Regression] ICE with trunc mod vectorising for SVE

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116831 --- Comment #4 from Andrew Pinski --- > I'm not sure why that's created That reminds me the -folding option to the dump option is not documented (PR 114892) but if you use -all, you would have gotten the dump where it says was gimple_simplifi

[Bug tree-optimization/116831] [15 Regression] ICE with trunc mod vectorising for SVE

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

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

2024-09-25 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116550 --- Comment #5 from Georg-Johann Lay --- Created attachment 59196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59196&action=edit diff-test.txt: avr testsuite delta (In reply to denisc from comment #2) > Johan can you test the patch ? On

[Bug c++/116846] New: g++.dg/modules/indirect-1_b.C fails

2024-09-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116846 Bug ID: 116846 Summary: g++.dg/modules/indirect-1_b.C fails Product: gcc Version: 13.3.1 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal Priority

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

2024-09-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 --- Comment #13 from Arsen Arsenović --- I realized there were preprocessed full sources attached to the bug and tested those also. they did not ICE, so I will send the patch (though I'd still appreciate seeing results from large programs and t

[Bug target/55212] [SH] Switch to LRA

2024-09-25 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #330 from Oleg Endo --- (In reply to Kazumoto Kojima from comment #325) > > Our movsf logic for LRA doesn't handle these well. If these reg from/to > subreg of SImode move is splitted with fpul, it will cause some very bad > code or

[Bug middle-end/116845] gcc.dg/pr109393.c test fails

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116845 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #5 from

[Bug target/67732] [SH] Strange LRA addsi3 usage

2024-09-25 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67732 Oleg Endo changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/116846] g++.dg/modules/indirect-1_b.C fails

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116846 --- Comment #4 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:064d5c67d7ad2be446c19e84f0cd993ecab784c3 commit r15-3884-g064d5c67d7ad2be446c19e84f0cd993ecab784c3 Author: Nathaniel Shead Date:

[Bug target/83464] [SH] ICE: in final_scan_insn, at final.c:3025 with -mlra

2024-09-25 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83464 Oleg Endo changed: What|Removed |Added CC||olegendo at gcc dot gnu.org --- Comment #8 f

[Bug c++/116846] g++.dg/modules/indirect-1_b.C fails

2024-09-25 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116846 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/91826] [8/9/10 Regression] Unexpected behavior when class defined with namespace alias

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91826 --- Comment #8 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:d5864b95ce94d9d480a70ffd6e2e4a5f45dc75ed commit r15-3878-gd5864b95ce94d9d480a70ffd6e2e4a5f45dc75ed Author: Sam James Date: Wed Jul 31

[Bug c++/116846] g++.dg/modules/indirect-1_b.C fails

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116846 --- Comment #2 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:6fee826bc1bbd4016d5b79e16e642d68c4007b09 commit r15-3879-g6fee826bc1bbd4016d5b79e16e642d68c4007b09 Author: Sam James Date: Wed Sep 2

[Bug debug/30161] GCC should generate dwarf info about template parameters

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30161 --- Comment #12 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:d5864b95ce94d9d480a70ffd6e2e4a5f45dc75ed commit r15-3878-gd5864b95ce94d9d480a70ffd6e2e4a5f45dc75ed Author: Sam James Date: Wed Jul 3

[Bug c++/116846] g++.dg/modules/indirect-1_b.C fails

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116846 --- Comment #1 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:d5864b95ce94d9d480a70ffd6e2e4a5f45dc75ed commit r15-3878-gd5864b95ce94d9d480a70ffd6e2e4a5f45dc75ed Author: Sam James Date: Wed Jul 3

[Bug testsuite/116701] [15 Regression] gfortran.dg/write_check3.f90 suddenly fails for non-fd_truncate targets

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116701 --- Comment #8 from GCC Commits --- The master branch has been updated by Hans-Peter Nilsson : https://gcc.gnu.org/g:14cd10815a39cc131662d4b6759ff6712ddd0b6d commit r15-3880-g14cd10815a39cc131662d4b6759ff6712ddd0b6d Author: Hans-Peter Nilsson

[Bug target/70989] [SH] Further improve utilization of zero-displacement conditional branches

2024-09-25 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70989 Oleg Endo changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/116845] gcc.dg/pr109393.c test fails on ilp32 targets (and maybe others)

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116845 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Summary|gcc.dg/pr109393.

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-25 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #52 from rguenther at suse dot de --- On Wed, 25 Sep 2024, aldy at quesejoda dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 > > --- Comment #51 from aldy at quesejoda dot com --- > "rguenth at gcc dot gnu.org

Re: [Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-25 Thread Aldy Hernandez
"rguenth at gcc dot gnu.org via Gcc-bugs" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 > > --- Comment #50 from Richard Biener --- > (In reply to Richard Biener from comment #4) >> Trunk at -O1: >> >> dominator optimization : 495.14 ( 82%) 0.20 ( 5%) 495.44 ( >>

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-25 Thread aldy at quesejoda dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #51 from aldy at quesejoda dot com --- "rguenth at gcc dot gnu.org via Gcc-bugs" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 > > --- Comment #50 from Richard Biener --- > (In reply to Richard Biener from comment #

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-25 Thread aldy at quesejoda dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #53 from aldy at quesejoda dot com --- rguenther at suse dot de via Gcc-bugs writes: >> Have you tried the patch in comment 22? That should reduce the time in >> DOM by 23%. > > I thought that was already applied ...? No. I want

Re: [Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-25 Thread Aldy Hernandez
rguenther at suse dot de via Gcc-bugs writes: >> Have you tried the patch in comment 22? That should reduce the time in >> DOM by 23%. > > I thought that was already applied ...? No. I wanted to investigate the 3 missing threads, but I think the patch can go in as is. I'll be away for a few

[Bug target/116078] [15 Regression] 10-12% slowdown of 436.cactusADM on AMD Zen2 since r15-2187-g838999bb23303e

2024-09-25 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116078 --- Comment #4 from Paul Thomas --- (In reply to Andrew Pinski from comment #3) > or rather the order of some operations for the arguments cause some other > missing optimizations. > > I doubt there is not much to be done from the front-end sid

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #50 from Richard Biener --- (In reply to Richard Biener from comment #4) > Trunk at -O1: > > dominator optimization : 495.14 ( 82%) 0.20 ( 5%) 495.44 ( > 81%) 113M ( 5%) Compared to that we're now at the following

[Bug c++/116838] Problem with warming c23, c++23

2024-09-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116838 --- Comment #3 from Jonathan Wakely --- (In reply to Jamaika from comment #2) > I don't know who's to blame. If you enable C++20 (or C++23) and GCC tells you that your code is not compatible with C++20, fix the code. (In reply to Jamaika from

[Bug tree-optimization/116835] [12/13/14/15 Regression] phiprop will prop back into a loop

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116835 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Found a testcase which we produce wrong code as we introduce an > unconditional load: > ``` > extern int a __attribute__((weak)); > > int b; > int bar (int c) _

[Bug target/116809] Failure to build GCC on macOS 15 / Xcode 16 for Intel

2024-09-25 Thread jonesc at hep dot phy.cam.ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #27 from Chris Jones --- > Certainly, this is more about Xcode, not CLT. Not quite true, certainly not within MacPorts. See below. > > > > > So, the solutions that work are: > > > > > > > > 1. when building for macOS 14, use the

[Bug target/55212] [SH] Switch to LRA

2024-09-25 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #329 from Oleg Endo --- (In reply to Kazumoto Kojima from comment #326) > Created attachment 59190 [details] > a quick fix for c#318 > > This also reverts the change in c#312 and gives another fix for that issue. > Tested only with t

[Bug target/116809] Failure to build GCC on macOS 15 / Xcode 16 for Intel

2024-09-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #28 from Iain Sandoe --- Folks - we all want ponies... ... but remember this is a toolchain - it is quite complex; expecting any random permutation of things that you happen to choose to DTRT will probably disappoint you. Xcode doe

[Bug fortran/116025] Experimental implementation of unsigned integers for Fortran

2024-09-25 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116025 --- Comment #2 from Thomas Koenig --- (In reply to Jerry DeLisle from comment #1) > Thomas, shall we close this one? It's not yet complete. A few intrinsics are still missing, and I also want to get C interop up and running.

[Bug target/116822] [15 regression] RISC-V: ICE in compute_nregs_for_mode, at config/riscv/riscv-vector-costs.cc

2024-09-25 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116822 Edwin Lu changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #2 fr

[Bug tree-optimization/116585] [12/13/14 Regression] SSA corruption with -O3

2024-09-25 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116585 --- Comment #5 from qinzhao at gcc dot gnu.org --- (In reply to Richard Biener from comment #4) > Fixed on trunk sofar. thanks a lot for fixing this so quick. Will this patch be backported to older releases?

[Bug target/116809] Failure to build GCC on macOS 15 / Xcode 16 for Intel

2024-09-25 Thread mark at moxienet dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #26 from Mark Mentovai --- (In reply to Iain Sandoe from comment #25) > 1. but you have identified that this cannot work when symbols are removed > from > a library .. as we see here Apple never really removes symbols that were ever

[Bug tree-optimization/116835] [12/13/14/15 Regression] phiprop will prop back into a loop

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116835 Andrew Pinski changed: What|Removed |Added Summary|phiprop will prop back into |[12/13/14/15 Regression]

[Bug tree-optimization/116835] [12/13/14/15 Regression] phiprop will prop back into a loop

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116835 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.5

[Bug middle-end/116845] New: pr109393.c test fails

2024-09-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116845 Bug ID: 116845 Summary: pr109393.c test fails Product: gcc Version: 13.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Ass

[Bug target/116809] Failure to build GCC on macOS 15 / Xcode 16 for Intel

2024-09-25 Thread jonesc at hep dot phy.cam.ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #29 from Chris Jones --- Iains, I was not trying to suggest with my last post what you should support, that is entirely up to you and we are very grateful for what you do do. I was simply trying to expand on (and correct a bit) som

[Bug tree-optimization/101831] [11 Regression] Spurious maybe-uninitialized warning on std::array::size

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831 --- Comment #10 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:82d97278cc3adae40a13eef9ae6f339f87d1f8f6 commit r15-3873-g82d97278cc3adae40a13eef9ae6f339f87d1f8f6 Author: Sam James Date: Fri Sep

[Bug tree-optimization/116835] [12/13/14/15 Regression] phiprop will prop back into a loop

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116835 --- Comment #7 from Andrew Pinski --- The case where we want still do it on the back edge is something like: ``` int a; int b; int bar (int c) __attribute__((noipa, noinline)); int bar (int c) { int *p = &a; for (int j = 0; j < *p; ++j)

[Bug target/116839] $fs:(%reg32) is used as memory operand for x32

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116839 --- Comment #1 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:c79cc30862d7255ca15884aa956d1ccfa279d86a commit r15-3875-gc79cc30862d7255ca15884aa956d1ccfa279d86a Author: H.J. Lu Date: Wed Sep 25 16

[Bug tree-optimization/116835] [12/13/14/15 Regression] phiprop will prop back into a loop

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116835 --- Comment #8 from Andrew Pinski --- Or maybe for back edges, only handle the case where the phi and the use are in the same BB if we are going to add a new phi, if we are going to reuse the phi then we can just use that. Let me program that u

[Bug libstdc++/116843] New: Native platform wait on Windows

2024-09-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116843 Bug ID: 116843 Summary: Native platform wait on Windows Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug target/116809] Failure to build GCC on macOS 15 / Xcode 16 for Intel

2024-09-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #25 from Iain Sandoe --- (In reply to Mark Mentovai from comment #24) > (In reply to Iain Sandoe from comment #23) > > OK. I don't want to argue about the details / usability etc. etc. ( but note > > that __symbols are for the implem

[Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1

2024-09-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688 --- Comment #9 from Jonathan Wakely --- That fixed the fmt::formatter::format function, and this fixed the std::formatter::format function: https://github.com/gabime/spdlog/commit/3cd06a3d40cd9054cbc997fe6e28c5a472b93b8c

[Bug libstdc++/107886] Problem witch std::latch, std::binary_semaphores in C++20

2024-09-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107886 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug target/116809] Failure to build GCC on macOS 15 / Xcode 16 for Intel

2024-09-25 Thread mark at moxienet dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #24 from Mark Mentovai --- (In reply to Iain Sandoe from comment #23) > OK. I don't want to argue about the details / usability etc. etc. ( but note > that __symbols are for the implementation and the compiler is part of the > implem

[Bug middle-end/116772] [15 regression] SIGFPE (branch optimised out) in eigen-3.4.0 testsuite

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

[Bug tree-optimization/70740] [7 Regression] ICE when compiling the Linux kernel (net/wireless/util.o)

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70740 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:d1e7f3a6c149b6fa058ce3083c36b8a5c404af5c commit r15-3871-gd1e7f3a6c149b6fa058ce3083c36b8a5c404af5c Author: Andrew Pinski Date: Mon

[Bug middle-end/116772] [15 regression] SIGFPE (branch optimised out) in eigen-3.4.0 testsuite

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116772 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:6c5543d3d9c4bbcd19f0ae2b7ed7e523c978a9a8 commit r15-3870-g6c5543d3d9c4bbcd19f0ae2b7ed7e523c978a9a8 Author: Andrew Pinski Date: Th

[Bug c++/116844] New: (cwg2876) - Disambiguation of T x = delete("text")

2024-09-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116844 Bug ID: 116844 Summary: (cwg2876) - Disambiguation of T x = delete("text") Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug target/116809] Failure to build GCC on macOS 15 / Xcode 16 for Intel

2024-09-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #23 from Iain Sandoe --- (In reply to Mark Mentovai from comment #22) > (In reply to Iain Sandoe from comment #21) > > Thta is quite surprising - since the SDK should reflect the symbols exported > > by the libraries installed on the

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #48 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:caf3fe7880e62692da45489dc5bcae069c1555c8 commit r15-3852-gcaf3fe7880e62692da45489dc5bcae069c1555c8 Author: Richard Biener Date:

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #49 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:cc141b56b367b3d81c1b590e22ae174f1e013009 commit r15-3854-gcc141b56b367b3d81c1b590e22ae174f1e013009 Author: Richard Biener Date:

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

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

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

2024-09-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 Sam James changed: What|Removed |Added See Also||https://bugs.gentoo.org/sho

[Bug target/55212] [SH] Switch to LRA

2024-09-25 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #328 from John Paul Adrian Glaubitz --- (In reply to Kazumoto Kojima from comment #326) > Created attachment 59190 [details] > a quick fix for c#318 > > This also reverts the change in c#312 and gives another fix for that issue. > Te

[Bug c++/116841] [14/15 Regression] spurious -Warray-bounds=1 warning when resizing + memcpy-ing into vector

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

[Bug tree-optimization/116835] phiprop will prop back into a loop

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116835 --- Comment #3 from Andrew Pinski --- Hmm, back to the drawing board on the patch for this one.

[Bug c/109393] Very trivial address calculation does not fold

2024-09-25 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109393 Christoph Müllner changed: What|Removed |Added CC||cmuellner at gcc dot gnu.org

[Bug target/116840] Optimise __builtin_parity for aarch64

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116840 --- Comment #1 from Andrew Pinski --- The other option is at isel time detect popcount & 1 and do similar tricks as popcount <=/== 1 and at expand see which cost is better. Though popcount rtx cost is wrong in the aarch64 backend.

[Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1

2024-09-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1

2024-09-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688 Sam James changed: What|Removed |Added See Also||https://github.com/gabime/s

[Bug tree-optimization/116835] phiprop will prop back into a loop

2024-09-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116835 --- Comment #4 from Andrew Pinski --- Phiprop use commit on the edge, maybe that could be improved/changed.

[Bug c++/116838] Problem with warming c23, c++23

2024-09-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116838 --- Comment #5 from Jonathan Wakely --- Yes please stop using GCC bugzilla to ask questions about broken code, e.g. Bug 116432 and Bug 109599 and Bug 116434 And "this code doesn't compile" or "my code has warnings" is not a bug either, e.g. Bug

[Bug tree-optimization/114326] Missed optimization for A || B when !B implies A.

2024-09-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114326 --- Comment #4 from GCC Commits --- The master branch has been updated by Philipp Tomsich : https://gcc.gnu.org/g:a88d6c6d777ad7c9235e2e620318f26e5347e50a commit r15-3866-ga88d6c6d777ad7c9235e2e620318f26e5347e50a Author: Konstantinos Eleftheri

[Bug tree-optimization/114326] Missed optimization for A || B when !B implies A.

2024-09-25 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114326 Christoph Müllner changed: What|Removed |Added CC||cmuellner at gcc dot gnu.org

[Bug tree-optimization/116842] New: [15 Regression] ICE definition in block follows the use

2024-09-25 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116842 Bug ID: 116842 Summary: [15 Regression] ICE definition in block follows the use Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug tree-optimization/116842] [15 Regression] ICE definition in block follows the use

2024-09-25 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116842 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |15.0

  1   2   >