[Bug tree-optimization/114682] const_array[i].b where i is PHI<0,1,2> is not folded

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

[Bug tree-optimization/114682] const_array[i].b where i is PHI<0,1,2> is not folded

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114682 --- Comment #3 from Andrew Pinski --- Mine, similar to PR 102138 but slightly different because this becomes a load which is more similar to what phiprop does.

[Bug target/116833] [12/13/14/15 Regression] Symbian: incorrect configuration for crtfastmath.o

2024-09-24 Thread fedor_qd at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116833 --- Comment #5 from Fiodar --- (In reply to Andrew Pinski from comment #1) > More likely Symbian os support should be removed as I highly doubt anyone > has tested it in the last 10 years. I build ScummVM for Symbian with selfbuilded GCC ≥ 5.4.

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

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116078 --- Comment #2 from Andrew Pinski --- So this does not make much sense, maybe before there was something being miscompiled.

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

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116078 --- Comment #3 from Andrew Pinski --- 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 side of things either.

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

2024-09-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #21 from Iain Sandoe --- (In reply to Mark Mentovai from comment #20) > Created attachment 59189 [details] > Patch for macOS 14/Xcode 16 > > (In reply to GCC Commits from comment #19) > > The master branch has been updated by Iain D

[Bug target/112116] SH4 ICE: in extract_constrain_insn, at recog.cc:2692 with -mlra (VMULCD)

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

[Bug other/116834] New: "warning: null format string" false positive with UBSAN

2024-09-24 Thread kasper93 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116834 Bug ID: 116834 Summary: "warning: null format string" false positive with UBSAN Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Pri

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

2024-09-24 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116822 --- Comment #1 from Edwin Lu --- Bisected down to r15-3794-g2c04f175de4 as the first bad commit

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

2024-09-24 Thread mark at moxienet dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #22 from Mark Mentovai --- (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 target system. Therefore, they should be > prese

[Bug other/116834] "warning: null format string" false positive with UBSAN

2024-09-24 Thread kasper93 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116834 --- Comment #2 from Kacper Michajłow --- static inline struct bstr bstr0(const char *s) { return (struct bstr){(unsigned char *)s, s ? strlen(s) : 0}; } void bstr_xappend_vasprintf(void *talloc_ctx, bstr *s, const char *fmt,

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

2024-09-24 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #322 from Oleg Endo --- (In reply to Kazumoto Kojima from comment #316) > (In reply to Oleg Endo from comment #314) > > Can you please add the patch to your github branch? > > I would like to ask some Dreamcast folks to try and test t

[Bug target/113193] [SH] ICE in gen_reg_rtx, at emit-rtl.cc:1177 with -mfcsa -funsafe-math-operations

2024-09-24 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113193 --- Comment #2 from Oleg Endo --- I've tried compiling this case with sh-elf-gcc -m4-single -O3 -std=c++20 -c -mfsca -funsafe-math-optimizations on devel/sh-lra branch -- the issue still persists

[Bug target/115949] [SH] unrecognized insn in postreload (movsi_ie gets wrong fp reg operand)

2024-09-24 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949 --- Comment #6 from Oleg Endo --- I've tried this on the devel/sh-lra branch with sh-elf-gcc -c -O3 -m4-single -mfsrra -mfsca -ffast-math The issue still persists.

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

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116835 Bug ID: 116835 Summary: phiprop will prop back into a loop Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement P

[Bug other/116834] "warning: null format string" false positive with UBSAN

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116834 --- Comment #1 from Andrew Pinski --- Jump threading introduces the code: ``` [local count: 1073741824]: if (fmt_2(D) == 0B) goto ; [0.00%] else goto ; [100.00%] [local count: 1073741824]: # .MEM_8 = VDEF <.MEM_1(D)> vsnpr

[Bug target/116836] New: [SH] Unknown FPU mode switch state for inline-asm blocks

2024-09-24 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116836 Bug ID: 116836 Summary: [SH] Unknown FPU mode switch state for inline-asm blocks Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Pr

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

2024-09-24 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 Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/102138] t = a==0 and a = PHI<0, t> should be done earlier than PRE

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102138 --- Comment #5 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2017-November/489192.html

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

2024-09-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116025 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug fortran/116040] [13 regression] New test case gfortran.dg/pr113363.f90 from r13-8926-g7c81ff02a943cd ICEs

2024-09-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116040 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug tree-optimization/102138] t = a==0 and a = PHI<0, t> should be done earlier than PRE

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102138 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > https://gcc.gnu.org/pipermail/gcc-patches/2017-November/489192.html Review from Richard B.: https://gcc.gnu.org/pipermail/gcc-patches/2018-May/498001.html

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

2024-09-24 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #323 from Oleg Endo --- I've tried getting some code size numbers from CSiBE comparision for 'sh-elf-gcc -m4-single -O2' with the devel/sh-lra branch. The numbers are code size in bytes with -mno-lra and -mlra OpenTCP-1.0.4

[Bug fortran/116828] Gfortran 14.0.1 thinks that [ 1 + 1 = 0 ]

2024-09-24 Thread 8e3g6jay6 at mozmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116828 --- Comment #4 from Jordan <8e3g6jay6 at mozmail dot com> --- thanks

[Bug c/116735] ICE in build_counted_by_ref

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

[Bug target/116830] pubtypes-{2,3,4}.c test failure

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116830 Andrew Pinski changed: What|Removed |Added Target||*darwin* --- Comment #1 from Andrew Pin

[Bug c++/98940] Implement C++23 language features

2024-09-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 107637, which changed state. Bug 107637 Summary: [C++23] P2718R0 - Final Fix of Broken Range‐based for Loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107637 What|Removed |Added --

[Bug c++/107637] [C++23] P2718R0 - Final Fix of Broken Range‐based for Loop

2024-09-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107637 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/107637] [C++23] P2718R0 - Final Fix of Broken Range‐based for Loop

2024-09-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107637 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:650e91566561870f3d1c8d5b92e6613296ee1a8d commit r15-3840-g650e91566561870f3d1c8d5b92e6613296ee1a8d Author: Jakub Jelinek Date: T

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

2024-09-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #19 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:d9cafa0c4f0a81304d9b95a78ccc8e9003c6d7a3 commit r15-3839-gd9cafa0c4f0a81304d9b95a78ccc8e9003c6d7a3 Author: Iain Sandoe Date: Su

[Bug target/116827] New C++ failures in macOS 15

2024-09-24 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #6 from Francois-Xavier Coudert --- (In reply to Jonathan Wakely from comment #5) > > #if defined(__has_feature) && __has_feature(modules) > > This is a bug. If __has_feature is _not_ define, then __has_feature(modules) > would not

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-24 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #10 from kugan at gcc dot gnu.org --- Created attachment 59186 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59186&action=edit reduced test (second attempt) Sorry about the test case. Here is another attempt at reducing.

[Bug tree-optimization/116821] phiprop could be improved to handle PHI<&a, ssa_name>

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116821 --- Comment #4 from Andrew Pinski --- So looking into why this does not work but PR 57380 does. The testcase in PR 57380 again has an ADDR_EXPR which just happens to be a pointer plus (with a multiply). _1 = &b.data[i_5]; _2 = &a.data[i_5]

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

2024-09-24 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #320 from John Paul Adrian Glaubitz --- Full command line is: /home/glaubitz/gcc-kaz/build/./gcc/xgcc -B/home/glaubitz/gcc-kaz/build/./gcc/ -B/usr/local/sh4-unknown-linux-gnu/bin/ -B/usr/local/sh4-unknown-linux-gnu/lib/ -isystem /usr

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

2024-09-24 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #321 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #320) > Full command line is: > > /home/glaubitz/gcc-kaz/build/./gcc/xgcc > -B/home/glaubitz/gcc-kaz/build/./gcc/ > -B/usr/local/sh4-unknown-

[Bug testsuite/116683] new test g++.dg/ext/pragma-unroll-lambda-lto.C from r15-3585-g9759f6299d9633 fails

2024-09-24 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116683 --- Comment #2 from seurer at gcc dot gnu.org --- I tried adding -munroll-only-small-loops and it still fails. spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../xg++ -B/home/seurer/gcc/git/build/gcc-test/gcc/testsu

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

2024-09-24 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #324 from Kazumoto Kojima --- (In reply to Oleg Endo from comment #322) > I've also created a branch with your patches here: > https://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/heads/devel/sh-lra > > I've retouched the commits a l

[Bug target/112115] SH4 ICE: in extract_constrain_insn, at recog.cc:2692 with -mlra (VMUBEEP)

2024-09-24 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112115 Oleg Endo changed: What|Removed |Added CC||olegendo at gcc dot gnu.org Sta

[Bug fortran/116828] New: Gfortran 14.0.1 thinks that [ 1 + 1 = 0 ]

2024-09-24 Thread 8e3g6jay6 at mozmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116828 Bug ID: 116828 Summary: Gfortran 14.0.1 thinks that [ 1 + 1 = 0 ] Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortra

[Bug tree-optimization/116819] [15 Regression] ICE in vect_transform_stmt

2024-09-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116819 --- Comment #6 from Richard Biener --- So we end up with t.c:10:22: note: ==> examining statement: _24 = MEM[(const long long unsigned int &)_5]; t.c:10:22: note: irrelevant. in the SLP tree as it is part of the DR group but it's really a

[Bug target/116827] New C++ failures in macOS 15

2024-09-24 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #4 from Francois-Xavier Coudert --- Simple reproducer without any libstdc++ indeed: $ cat a.cpp #include $ g++ a.cpp -fmodule-header

[Bug target/116827] New C++ failures in macOS 15

2024-09-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #5 from Jonathan Wakely --- (In reply to Francois-Xavier Coudert from comment #3) > where that new USE_CLANG_TYPES macro is defined at the top of the file: > > > #if defined(__has_feature) && __has_feature(modules) This is a b

[Bug tree-optimization/116819] [15 Regression] ICE in vect_transform_stmt

2024-09-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116819 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:cef29936c6b6773bff1939f94fb629760725bd82 commit r15-3831-gcef29936c6b6773bff1939f94fb629760725bd82 Author: Richard Biener Date:

[Bug tree-optimization/116819] [15 Regression] ICE in vect_transform_stmt

2024-09-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116819 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/116830] New: pubtypes-{2,3,4}.c test failure

2024-09-24 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116830 Bug ID: 116830 Summary: pubtypes-{2,3,4}.c test failure Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[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-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116814 --- Comment #3 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:de6fe690db32689ba5e5c6f551672a19e6cae5d4 commit r15-3832-gde6fe690db32689ba5e5c6f551672a19e6cae5d4 Author: Pan Li Date: Mon Sep 23 22:3

[Bug tree-optimization/116826] New: Optimise log (1.0 / x) into -log (x)

2024-09-24 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116826 Bug ID: 116826 Summary: Optimise log (1.0 / x) into -log (x) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

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

2024-09-24 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #18 from Francois-Xavier Coudert --- I can confirm that the patch posted by Iain at https://gcc.gnu.org/bugzilla/attachment.cgi?id=59176 applied on top of (now pushed) https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=43eab54939d37d4e634

[Bug libstdc++/116827] New: New C++ failures in macOS 15

2024-09-24 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 Bug ID: 116827 Summary: New C++ failures in macOS 15 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

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

2024-09-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #44 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9a795b3a5b6a0d8b4b4f38a66ab9782aabead92e commit r15-3824-g9a795b3a5b6a0d8b4b4f38a66ab9782aabead92e Author: Richard Biener Date:

[Bug libstdc++/116827] New C++ failures in macOS 15

2024-09-24 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #3 from Francois-Xavier Coudert --- I thought the dependence on -fmodule-header was indicative of an issue with the libstdc++ compatibility with the macOS SDK, but maybe I'm wrong. I've made it component == target. Looking at the ma

[Bug fortran/116828] Gfortran 14.0.1 thinks that [ 1 + 1 = 0 ]

2024-09-24 Thread 8e3g6jay6 at mozmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116828 --- Comment #1 from Jordan <8e3g6jay6 at mozmail dot com> --- Here's a simplified version that does the same: program oh_no use, intrinsic :: iso_c_binding implicit none integer(c_int) :: w w = 1 do w = w + w ! IT'S

[Bug fortran/116829] New: Missing default initialization of finalizable non-polymorphic intent(out) arguments

2024-09-24 Thread trnka at scm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116829 Bug ID: 116829 Summary: Missing default initialization of finalizable non-polymorphic intent(out) arguments Product: gcc Version: 15.0 Status: UNCONFIRMED Seve

[Bug fortran/101100] [12/13/14/15 Regression] ICE in trans_caf_token_assign, at fortran/trans-expr.c:9433

2024-09-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101100 --- Comment #7 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:0c0d79c783f5c289651d76aa697b48d4505e169d commit r15-3827-g0c0d79c783f5c289651d76aa697b48d4505e169d Author: Andre Vehreschild D

[Bug fortran/101100] [12/13/14/15 Regression] ICE in trans_caf_token_assign, at fortran/trans-expr.c:9433

2024-09-24 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101100 Andre Vehreschild changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug fortran/116828] Gfortran 14.0.1 thinks that [ 1 + 1 = 0 ]

2024-09-24 Thread 8e3g6jay6 at mozmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116828 --- Comment #2 from Jordan <8e3g6jay6 at mozmail dot com> --- I have actually examined this further and it seems like it's managing to perfectly overflow back to 0 somehow. I am not sure if there is supposed to be some sort of error or any kind o

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

2024-09-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #45 from Richard Biener --- I noticed that get_bitmask_from_range(tree_node*, generic_wide_int const&, generic_wide_int const&) is quite high on the profile accumulating profile hits on wide_int_storage::operator=(wide_int_storage

[Bug tree-optimization/116826] Optimise log (1.0 / x) into -log (x)

2024-09-24 Thread jschmitz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116826 Jennifer Schmitz changed: What|Removed |Added Last reconfirmed||2024-09-24 Status|UNCONF

[Bug middle-end/116815] Make better use of overflow flags in codegen of min/max(a, add/sub(a, b))

2024-09-24 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116815 --- Comment #2 from ktkachov at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #1) > The easiest way to fix this is transform (late in gimple): > _1 = a_2(D) + b_3(D); > _5 = MAX_EXPR <_1, a_2(D)>; > > into: > _tmp = .ADD_OVER

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

2024-09-24 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #316 from Kazumoto Kojima --- (In reply to Oleg Endo from comment #314) > Can you please add the patch to your github branch? > I would like to ask some Dreamcast folks to try and test the GCC LRA branch > with some bigger real-world

[Bug fortran/84870] [12/13/14/15 Regression][Coarray] ICE in gfc_trans_structure_assign, at fortran/trans-expr.c:7651

2024-09-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84870 --- Comment #11 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:f5035d7d015ebd4a7f5df5831cfc1269f9567e06 commit r15-3825-gf5035d7d015ebd4a7f5df5831cfc1269f9567e06 Author: Andre Vehreschild D

[Bug tree-optimization/116819] [15 Regression] ICE in vect_transform_stmt

2024-09-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116819 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

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

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

[Bug fortran/84870] [12/13/14/15 Regression][Coarray] ICE in gfc_trans_structure_assign, at fortran/trans-expr.c:7651

2024-09-24 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84870 Andre Vehreschild changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/83700] [Meta-bug] Fortran Coarray issues

2024-09-24 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83700 Bug 83700 depends on bug 84870, which changed state. Bug 84870 Summary: [12/13/14/15 Regression][Coarray] ICE in gfc_trans_structure_assign, at fortran/trans-expr.c:7651 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84870 What|Remo

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

2024-09-24 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #317 from John Paul Adrian Glaubitz --- (In reply to Kazumoto Kojima from comment #316) > (In reply to Oleg Endo from comment #314) > > Can you please add the patch to your github branch? > > I would like to ask some Dreamcast folks t

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

2024-09-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #43 from Richard Biener --- Thanks for the work sofar. It seems the back_jt_path_registry::update_cfg has a "dead" guard against un-adjust_paths_after_duplication paths with its tracking visited_starting_edges, so for the purpose of

[Bug target/116076] 4.5% slowdown of 433.milc on AMD Zen4 since r15-2054-g1e3aa9c9278db6 shows faster operation with non-sensical target tuning

2024-09-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116076 Richard Biener changed: What|Removed |Added Target Milestone|15.0|--- Summary|[15 Regression]

[Bug c++/116775] C++20 Coroutine await_suspend is unexpectedly executed when using in __builtin_constant_p

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

[Bug fortran/116828] Gfortran 14.0.1 thinks that [ 1 + 1 = 0 ]

2024-09-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116828 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org St

[Bug ada/116832] New: Code after a select-then-abort in an abortable part executes when the outer select-then-abort completes

2024-09-24 Thread liam at liampwll dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116832 Bug ID: 116832 Summary: Code after a select-then-abort in an abortable part executes when the outer select-then-abort completes Product: gcc Version: 14.2.1 Status: UNCO

[Bug ada/116832] Code after a select-then-abort in an abortable part executes when the outer select-then-abort completes

2024-09-24 Thread liam at liampwll dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116832 --- Comment #1 from Liam Powell --- s/bug 52280/bug 43485

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

2024-09-24 Thread jeremy.rutman at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #46 from jeremy rutman --- I don't know if this is relevant but a certain gcc I was using lately seems to do fine compiling one of the autogenerated files in question (an AES128 encrypt file) , but quits unexpectedly when I try compi

[Bug ada/116832] Code after a select-then-abort in an abortable part executes when the outer select-then-abort completes

2024-09-24 Thread liam at liampwll dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116832 --- Comment #2 from Liam Powell --- Here is another example I have found. In this case just one accept triggers both selects. All Puts here are executed. with Ada.Text_IO; use Ada.Text_IO; with System; procedure Example is task A is e

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

2024-09-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #47 from Sam James --- > gcc.exe (x86_64-win32-sjlj-rev0, Built by MinGW-W64 project) 5.1.0 GCC 5 is long EOL, unfortunately.

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

2024-09-24 Thread mark at moxienet dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #20 from Mark Mentovai --- Created attachment 59189 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59189&action=edit Patch for macOS 14/Xcode 16 (In reply to GCC Commits from comment #19) > The master branch has been updated b

[Bug target/116827] New C++ failures in macOS 15

2024-09-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #7 from Iain Sandoe --- (In reply to Francois-Xavier Coudert from comment #6) > (In reply to Jonathan Wakely from comment #5) > > > #if defined(__has_feature) && __has_feature(modules) > > > > This is a bug. If __has_feature is _not

[Bug libgcc/116833] New: Symbian: incorrect configuration for crtfastmath.o

2024-09-24 Thread fedor_qd at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116833 Bug ID: 116833 Summary: Symbian: incorrect configuration for crtfastmath.o Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/116833] Symbian: incorrect configuration for crtfastmath.o

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116833 Andrew Pinski changed: What|Removed |Added Component|libgcc |target --- Comment #1 from Andrew Pinsk

[Bug target/116833] Symbian: incorrect configuration for crtfastmath.o

2024-09-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116833 --- Comment #2 from Jonathan Wakely --- On IRC rearnshaw said that t-crtfm should have been added to tmake_file when crtfasthmath.o was added to extra_parts i.e. --- a/libgcc/config.host +++ b/libgcc/config.host @@ -579,7 +579,7 @@ arm*-*-eabi*

[Bug target/116833] Symbian: incorrect configuration for crtfastmath.o

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116833 --- Comment #3 from Andrew Pinski --- https://fedor4ever.wordpress.com/2024/09/22/gcc-14-1-0-for-symbian-out/

[Bug libstdc++/45896] [C++0x] Facet time_get not reading dates according to the IEEE 1003 standard.

2024-09-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45896 --- Comment #13 from Jonathan Wakely --- I noticed that time_get::_M_extract_via_format just ignores any O or E modifier: if (__c == 'E' || __c == 'O') __c = __ctype.narrow(__format[++__i], 0); So we treat %Ec exac

[Bug target/116833] [12/13/14/15 Regression] Symbian: incorrect configuration for crtfastmath.o

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116833 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|Symbian: incorre

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

2024-09-24 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116078 Filip Kastl changed: What|Removed |Added CC||pault at gcc dot gnu.org Keywor

[Bug middle-end/116815] Make better use of overflow flags in codegen of min/max(a, add/sub(a, b))

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116815 --- Comment #3 from Andrew Pinski --- (In reply to ktkachov from comment #2) > Did you meant to say "shouldn't be too hard" here? Yes it should have been "Shouldn't be too hard". That is what you get for re-reading the comment 3 times and still

[Bug target/116615] Investigate LOGICAL_OP_NON_SHORT_CIRCUIT for RISC-V

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116615 --- Comment #13 from Andrew Pinski --- (In reply to Andrew Pinski from comment #12) > *** Bug 106724 has been marked as a duplicate of this bug. *** I forgot I had filed PR 106724 until I was looking for a different issue :).

[Bug target/106724] logical-op-non-short-circuit maybe should be 1

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

[Bug target/116615] Investigate LOGICAL_OP_NON_SHORT_CIRCUIT for RISC-V

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116615 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug tree-optimization/116826] Optimise log (1.0 / x) into -log (x)

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116826 --- Comment #2 from Andrew Pinski --- Note PR 86710 lists the opposite (except without being a CST for the division). Just like PR 86710, this applies for log, log10 and log2 too (and the type variants too).

[Bug c++/116775] C++20 Coroutine await_suspend is unexpectedly executed when using in __builtin_constant_p

2024-09-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116775 --- Comment #6 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #4) > So, e.g. co_await_find_in_subtree/await_statement_expander/find_any_await > and maybe other coroutines.cc cp_walk_tree callbacks could use some helper > for CALL_E

[Bug c++/116490] ICE in build_contract_condition_function, at cp/contracts.cc:1463 for explicitly instantiated Function Contracts

2024-09-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116490 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ae57e52754ca6c96145a1b7504c2c7613a9e54d9 commit r15-3837-gae57e52754ca6c96145a1b7504c2c7613a9e54d9 Author: Nina Dinka Ranns Date:

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

2024-09-24 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #318 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #317) > Thanks. I'm going to test this now. It seems that the untested patch from > comment #312 didn't fix the Ada bootstrap for me. The iss

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

2024-09-24 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #319 from John Paul Adrian Glaubitz --- Created attachment 59188 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59188&action=edit Preprocessed source from from comment #318

[Bug c++/115361] "possibly dangling reference to a temporary" when object is_empty

2024-09-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361 Jason Merrill changed: What|Removed |Added Known to work||15.0 CC|

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

2024-09-24 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116831 Bug ID: 116831 Summary: [15 Regression] ICE with trunk mod vectorising for SVE Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: norma

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

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

[Bug c/116735] ICE in build_counted_by_ref

2024-09-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116735 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED

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

2024-09-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116839 Bug ID: 116839 Summary: $fs:(%reg32) is used as memory operand for x32 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

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

2024-09-24 Thread lukaszcz18 at wp dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116838 --- Comment #2 from Jamaika --- Thanks for the answer I don't know who's to blame. I created ffmpeg correcting the errors as best I could. FFmpeg is unstable. Obsolete codecs to be deleted in c23/c++23 aom/avm/open264/xvid Changing gcc 11.5.0 to

[Bug tree-optimization/116826] Optimise log (1.0 / x) into -log (x)

2024-09-24 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116826 --- Comment #3 from ktkachov at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #2) > Note PR 86710 lists the opposite (except without being a CST for the > division). > > Just like PR 86710, this applies for log, log10 and log2 too

  1   2   >