[Bug tree-optimization/120752] 5% slowdown of 525.x264_r since r16-1346-gb0d50cbb42ab2c

2025-06-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120752 --- Comment #4 from Jan Hubicka --- Hmm, there seems to be no big differences in IPA decisions between the runs, so further investigation is necessary :( The patch attempts to preserve more of profile and here profile is bit counter-productive

[Bug c++/120798] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in check_bit_cast_type, at cp/constexpr.cc:5035

2025-06-23 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120798 Bug ID: 120798 Summary: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in check_bit_cast_type, at cp/constexpr.cc:5035 Product: gcc Vers

[Bug target/108585] memset uses SSE stores but afterwards does not but if used "" will use them

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108585 --- Comment #7 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d073bb6cfc219d4b6c283a0b527ee88b42e640e0 commit r16-1643-gd073bb6cfc219d4b6c283a0b527ee88b42e640e0 Author: H.J. Lu Date: Thu Mar 18 18

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596 --- Comment #22 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d073bb6cfc219d4b6c283a0b527ee88b42e640e0 commit r16-1643-gd073bb6cfc219d4b6c283a0b527ee88b42e640e0 Author: H.J. Lu Date: Thu Mar 18 1

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

2025-06-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 92080, which changed state. Bug 92080 Summary: Missed CSE of _mm512_set1_epi8(c) with _mm256_set1_epi8(c) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92080 What|Removed |Added -

[Bug rtl-optimization/92080] Missed CSE of _mm512_set1_epi8(c) with _mm256_set1_epi8(c)

2025-06-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92080 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug sanitizer/120799] New: Incorrect UBSan alignment requirements for _mm_storeh_pd() and _mm_storel_pd()

2025-06-23 Thread justus2510 at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120799 Bug ID: 120799 Summary: Incorrect UBSan alignment requirements for _mm_storeh_pd() and _mm_storel_pd() Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severit

[Bug rtl-optimization/92080] Missed CSE of _mm512_set1_epi8(c) with _mm256_set1_epi8(c)

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92080 --- Comment #16 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:aba3b9d3a48a0703fd565f7c5f0caf604f59970b commit r16-1644-gaba3b9d3a48a0703fd565f7c5f0caf604f59970b Author: H.J. Lu Date: Fri May 9 07:

[Bug target/120741] [16 Regression] ICE on mingw-w64-12.0.0: during RTL pass: pro_and_epilogue ICE in ix86_expand_prologue, at config/i386/i386.cc:9446

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120741 --- Comment #6 from GCC Commits --- The master branch has been updated by Lili Cui : https://gcc.gnu.org/g:4b739c020a90dfe2569a292c44b2293a94d4bff5 commit r16-1640-g4b739c020a90dfe2569a292c44b2293a94d4bff5 Author: Lili Cui Date: Tue Jun 24

[Bug target/119704] x86: partially disobeyed strategy rep-based request for inlined memset

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119704 --- Comment #3 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d073bb6cfc219d4b6c283a0b527ee88b42e640e0 commit r16-1643-gd073bb6cfc219d4b6c283a0b527ee88b42e640e0 Author: H.J. Lu Date: Thu Mar 18 18

[Bug target/118276] memset 88 uses rep stosq while 80 uses SSE

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118276 --- Comment #14 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d073bb6cfc219d4b6c283a0b527ee88b42e640e0 commit r16-1643-gd073bb6cfc219d4b6c283a0b527ee88b42e640e0 Author: H.J. Lu Date: Thu Mar 18 1

[Bug target/70308] memset generates rep stosl instead of rep stosq

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70308 --- Comment #10 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d073bb6cfc219d4b6c283a0b527ee88b42e640e0 commit r16-1643-gd073bb6cfc219d4b6c283a0b527ee88b42e640e0 Author: H.J. Lu Date: Thu Mar 18 18

[Bug target/102294] memset expansion is sometimes slow for small sizes

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294 --- Comment #35 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d073bb6cfc219d4b6c283a0b527ee88b42e640e0 commit r16-1643-gd073bb6cfc219d4b6c283a0b527ee88b42e640e0 Author: H.J. Lu Date: Thu Mar 18 1

[Bug target/101366] memset codegen for constant sized does not use SSE instructions

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101366 --- Comment #4 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d073bb6cfc219d4b6c283a0b527ee88b42e640e0 commit r16-1643-gd073bb6cfc219d4b6c283a0b527ee88b42e640e0 Author: H.J. Lu Date: Thu Mar 18 18

[Bug c++/120797] New: ICE: in iterative_hash_template_arg, at cp/pt.cc:1775 under '-std=c++2a'

2025-06-23 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120797 Bug ID: 120797 Summary: ICE: in iterative_hash_template_arg, at cp/pt.cc:1775 under '-std=c++2a' Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: ice-o

[Bug target/120733] [16 Regression][aarch64] ICE in gen_highpart, at lra.cc:1484 since r16-1565-g2dcc6dbd8a00ca

2025-06-23 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120733 --- Comment #6 from Dimitar Dimitrov --- A naive filter to skip debug insns before calling move_plus_up does fix the issue. But I'm not sure if it is a proper fix: diff --git a/gcc/lra-eliminations.cc b/gcc/lra-eliminations.cc @@ -440,5 +440,5

[Bug tree-optimization/120747] [16 Regression] 435.gromacs miscompares since r16-1550-g9244ea4bf55638

2025-06-23 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747 --- Comment #5 from Andrew Macleod --- (In reply to Andrew Macleod from comment #4) > I'm also having difficulty reproducing. The SPEC 2006 I have access to > doesn't seem to want to work with a modern perl. > > I also don't have zen4 or zen5

[Bug tree-optimization/120747] [16 Regression] 435.gromacs miscompares since r16-1550-g9244ea4bf55638

2025-06-23 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747 --- Comment #4 from Andrew Macleod --- I'm also having difficulty reproducing. The SPEC 2006 I have access to doesn't seem to want to work with a modern perl. I also don't have zen4 or zen5, I was going to see if it reproduced on vanilla x86-

[Bug target/118241] RISC-V ICE: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 caused by prefetch instructions

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118241 --- Comment #10 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:bf7162b321128ba93521a824e5a7a00d1cc3d1f8 commit r16-1639-gbf7162b321128ba93521a824e5a7a00d1cc3d1f8 Author: Jeff Law Date: Mon Jun 23

[Bug middle-end/120720] __builtin_rev_crc32_data8 (and family) should be able to constant fold

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120720 --- Comment #5 from Andrew Pinski --- std::max has been constexpr since c++14.

[Bug middle-end/120720] __builtin_rev_crc32_data8 (and family) should be able to constant fold

2025-06-23 Thread sh1.gccbug at tikouka dot nz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120720 --- Comment #4 from Simon H. --- Indeed, not JUST constexpr. But I tried substituting in std::max() and had the same problem with the constexpr side of things -- that I cannot implement a constexpr function which relies on it. I'm sure folding

[Bug tree-optimization/23094] store ccp, or store copy prop misses an optimization

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23094 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 See Also|

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 --- Comment #8 from Sam James --- (I'll submit the testcase once reduction is done, but that'll probably be tomorrow now.)

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 --- Comment #6 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:cdd678544fefc313cb1c9da0327158d3ed355f62 commit r16-1637-gcdd678544fefc313cb1c9da0327158d3ed355f62 Author: Sam James Date: Mon Jun 2

[Bug testsuite/116163] RFE: add a linting tool for DejaGnu tests

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116163 --- Comment #21 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:d0142e147486e6f319704d35930720f6dec648fb commit r16-1636-gd0142e147486e6f319704d35930720f6dec648fb Author: David Malcolm Date:

[Bug other/116792] RFE: should we be able to generate diagnostics in HTML format?

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116792 --- Comment #17 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:d0142e147486e6f319704d35930720f6dec648fb commit r16-1636-gd0142e147486e6f319704d35930720f6dec648fb Author: David Malcolm Date:

[Bug sarif-replay/120792] sarif-replay's sarif output doesn't faithfully round-trip all the data

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120792 --- Comment #1 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:d0142e147486e6f319704d35930720f6dec648fb commit r16-1636-gd0142e147486e6f319704d35930720f6dec648fb Author: David Malcolm Date: M

[Bug cobol/120779] HIGH-VALUE / LOW-VALUE not found

2025-06-23 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120779 James K. Lowden changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/120780] Missed __builtin_dynamic_object_size optimization(?)

2025-06-23 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120780 --- Comment #8 from Siddhesh Poyarekar --- Thanks, looking into this.

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 --- Comment #5 from Jeffrey A. Law --- Thanks. Consider it pre-approved if it regtests. Or if you'd prefer I can do the submission steps... Thanks again for bisecting & testing.

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 --- Comment #3 from Jeffrey A. Law --- It'd be a surprised if it's the ext-dce change, unless it's that second parameter to the remove_reg_equal_equiv_notes call. Looking at it again, I may have inverted the desired value. If bisection lands o

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug other/52930] quadmath: missing logbq, modfq, nexttowardq, exp2q

2025-06-23 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52930 --- Comment #3 from Joseph S. Myers --- libquadmath is legacy code, using the actual C23 interfaces in current glibc is preferred (although if someone does want to add more functions to libquadmath anyway for use on non-glibc and older-glibc syst

[Bug c/120744] New diagnostic: -Wrealloc-zero-bytes

2025-06-23 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120744 --- Comment #4 from Joseph S. Myers --- Such a warning is justified independent of any further changes to the standard in this area (I'm dubious of making further changes to that mess), simply because of the existing undefined behavior in C23, a

[Bug cobol/120786] strange message for NOT=

2025-06-23 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120786 James K. Lowden changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jklowden at gcc dot gnu.org

[Bug rtl-optimization/120750] SEGV in remove_use, at rtl-ssa/accesses.cc:1276

2025-06-23 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120750 Richard Sandiford changed: What|Removed |Added Last reconfirmed||2025-06-23 Status|UNCON

[Bug fortran/120784] fortran: issue with use-association renames and interface

2025-06-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug rtl-optimization/120745] SEGV in process_uses_of_deleted_def, at rtl-ssa/changes.cc:271

2025-06-23 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120745 --- Comment #2 from Richard Sandiford --- Created attachment 61697 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61697&action=edit Candidate patch Hmm, yeah. Could you try the attached patch? It seems to work for this testcase and pass

[Bug cobol/120796] New: FR support non-standard REDEFINES position

2025-06-23 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120796 Bug ID: 120796 Summary: FR support non-standard REDEFINES position Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug cobol/119337] cobol: gcobc wrapper should deduce output name

2025-06-23 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119337 James K. Lowden changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jklowden at gcc dot gnu.org -

[Bug fortran/120743] [16 regression] ice in verify_gimple_in_seq

2025-06-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120743 --- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to Mikael Morin from comment #4) > (In reply to Jerry DeLisle from comment #3) > > > > Here is a smaller reproducer. > > > ... > > > > Delete the if statement inside the do while and

[Bug fortran/120784] fortran: issue with use-association renames and interface

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 --- Comment #5 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:6dd1659cf10a7ad51576f902ef3bc007db30c990 commit r16-1633-g6dd1659cf10a7ad51576f902ef3bc007db30c990 Author: Harald Anlauf Date: M

[Bug c++/120777] [C++26] P3533R2 - constexpr virtual inheritance

2025-06-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120777 --- Comment #3 from Jakub Jelinek --- Created attachment 61695 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61695&action=edit gcc16-pr120777-wip.patch Some further progress, the testcase now passes. Except uncommenting the last two line

[Bug cobol/120772] gcobc requires explicit -fPIC

2025-06-23 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120772 James K. Lowden changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug target/120651] [15/16 Regression] RISC-V: Miscompile at -O3 with -flto since r15-3228-g771256bcb9d

2025-06-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120651 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 --- Comment #1 from Sam James --- Created attachment 61696 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61696&action=edit CPUThreadPoolExecutor.cpp.ii.xz

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 Sam James changed: What|Removed |Added CC||law at gcc dot gnu.org Target Milestone|-

[Bug rtl-optimization/120795] New: [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
ost-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-gxx-libcxx-include-dir=/usr/include/c++/v1 --with-build-config='bootstrap-O3 bootstrap-lto bootstrap-cet' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc v

[Bug target/119944] [16] RISC-V: g++.dg/torture/pr119610.C "terminate called after throwing an instance of 'int'

2025-06-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119944 Jeffrey A. Law changed: What|Removed |Added CC||rzinsly at ventanamicro dot com --- Co

[Bug target/104102] __builtin_frame_address(1) desn't work on riscv

2025-06-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104102 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/111299] lack of warning on dangling reference to temporary

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111299 Andrew Pinski changed: What|Removed |Added CC||anthony.hayward@ast-science

[Bug target/117366] [12/13/14/15/16 regression] arm thumb1 epilogue size optimizer violates -ffixed

2025-06-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117366 --- Comment #5 from Sam James --- (In reply to Matt Parks from comment #4) > gcc-patches e-mail: > https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686685.html See https://gcc.gnu.org/contribute.html#patches for the right format to use and s

[Bug target/117366] [12/13/14/15/16 regression] arm thumb1 epilogue size optimizer violates -ffixed

2025-06-23 Thread matt.parks--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117366 --- Comment #4 from Matt Parks --- gcc-patches e-mail: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686685.html

[Bug c++/102530] Warn about non-extended temporary passed to a function returning a reference in temp-extending context

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102530 --- Comment #5 from Andrew Pinski --- GCC does provide a warning for: ``` struct A { ~A(); int t; }; struct B { A a; A& get_a() { return a; } }; int main() { A& ar = B().get_a(); // ar now refers to a destroyed object return ar.t;

[Bug target/117366] [12/13/14/15/16 regression] arm thumb1 epilogue size optimizer violates -ffixed

2025-06-23 Thread matt.parks--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117366 --- Comment #3 from Matt Parks --- I submitted an e-mail to gcc-patches with the patch file for this bug and related bug 117468. It's been a couple weeks and nobody ever responded. Not sure how else to try to get attention to these issues.

[Bug c++/111299] warn when a temporary is created due to non-binding properties of packed fields

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111299 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug middle-end/87403] [Meta-bug] Issues that suggest a new warning

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 120785, which changed state. Bug 120785 Summary: No compiler warning when wrapping a packed C-style array in a std::span, array memcpy instead https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120785 What|Remov

[Bug c++/120785] No compiler warning when wrapping a packed C-style array in a std::span, array memcpy instead

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120785 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/120785] No compiler warning when wrapping a packed C-style array in a std::span, array memcpy instead

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120785 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-06-23 Status|UNCONFIRM

[Bug debug/120739] ctf: Emit CTF_K_ARRAY for GNU vector types

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120739 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-06-23 Status|UNCONFIRM

[Bug c++/120754] [12/13/14/15/16 Regression] Segfault when trying to print error about catching function type

2025-06-23 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120754 --- Comment #2 from Alfred Agrell --- Per the linked Clang bug, this isn't ice-on-invalid - it's ice-on-valid (though implausible, of course). And if the variable is named, it's a rejects-valid. https://eel.is/c++draft/except#handle-2 > A hand

[Bug cobol/120769] cobol frontend - provide a way to undo -ffixed-form / -ffree-form

2025-06-23 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120769 --- Comment #3 from Simon Sobisch --- The issue at hand is that the command line is constructed from "defaults", which may include a fixed form request; and then later on the user overrides and want to use auto-detection. To your good outlined r

[Bug cobol/120794] New: extra separator periods lead to syntax error

2025-06-23 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120794 Bug ID: 120794 Summary: extra separator periods lead to syntax error Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cob

[Bug cobol/120793] New: FR gcobc: handle -fnot-reserved

2025-06-23 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120793 Bug ID: 120793 Summary: FR gcobc: handle -fnot-reserved Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug libstdc++/120789] ranges::unique should use ranges​::​iter_move

2025-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120789 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2025-06-23 Ever confirmed|0

[Bug fortran/120788] gfortran problem with integer overflow comparison

2025-06-23 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120788 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug target/119944] [16] RISC-V: g++.dg/torture/pr119610.C "terminate called after throwing an instance of 'int'

2025-06-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119944 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2025-06-23 Ever confirmed|0

[Bug target/118595] [15/16 regression] RISC-V: gfortran/c-interop test execution failures on RVV zvl > 128b since r15-3228-g771256bcb9d

2025-06-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118595 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2025-06-23 Ever confirmed|0

[Bug sarif-replay/120792] New: sarif-replay's sarif output doesn't faithfully round-trip all the data

2025-06-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120792 Bug ID: 120792 Summary: sarif-replay's sarif output doesn't faithfully round-trip all the data Product: gcc Version: unknown Status: UNCONFIRMED Keywords: SARI

[Bug debug/120739] ctf: Emit CTF_K_ARRAY for GNU vector types

2025-06-23 Thread bruce.mcculloch at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120739 --- Comment #3 from Bruce McCulloch --- There is no spec for this behavior. After speaking with BPF maintainers at the BPF office hours, it was decided that emitting as an array type is appropriate for BTF as well as the upcoming CTFv4, with the

[Bug cobol/120791] New: FR: support for MOVEing pointer to pointer

2025-06-23 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120791 Bug ID: 120791 Summary: FR: support for MOVEing pointer to pointer Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug fortran/120788] gfortran problem with integer overflow comparison

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

[Bug cobol/120790] New: parser bug: ORGANIZATION IS RECORD SEQUENTIAL

2025-06-23 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120790 Bug ID: 120790 Summary: parser bug: ORGANIZATION IS RECORD SEQUENTIAL Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: co

[Bug libstdc++/120789] ranges::unique should use ranges​::​iter_move

2025-06-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120789 --- Comment #1 from 康桓瑋 --- Same goes for ranges::remove_if: std::ranges::subrange r; auto [begin, end] = std::ranges::remove_if(r, [](auto&&) { return true; }); https://godbolt.org/z/Trb13x8fa

[Bug fortran/120788] gfortran problem with integer overflow comparison

2025-06-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120788 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libstdc++/120789] New: ranges::unique should use ranges​::​iter_move

2025-06-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120789 Bug ID: 120789 Summary: ranges::unique should use ranges​::​iter_move Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: li

[Bug target/109933] __atomic_test_and_set is broken for BIG ENDIAN riscv targets

2025-06-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109933 Jeffrey A. Law changed: What|Removed |Added Blocks|120763 | Status|NEW

[Bug fortran/120788] New: gfortran problem with integer overflow comparison

2025-06-23 Thread dolev.ronen at mail dot huji.ac.il via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120788 Bug ID: 120788 Summary: gfortran problem with integer overflow comparison Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug cobol/120787] New: FR: EXHIBIT + EXHIBIT named support

2025-06-23 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120787 Bug ID: 120787 Summary: FR: EXHIBIT + EXHIBIT named support Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug cobol/120786] New: strange message for NOT=

2025-06-23 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120786 Bug ID: 120786 Summary: strange message for NOT= Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol Assigne

[Bug fortran/120784] fortran: issue with use-association renames and interface

2025-06-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 --- Comment #3 from anlauf at gcc dot gnu.org --- Created attachment 61694 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61694&action=edit Untested patch

[Bug cobol/120769] cobol frontend - provide a way to undo -ffixed-form / -ffree-form

2025-06-23 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120769 James K. Lowden changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/120785] New: No compiler warning when wrapping a packed C-style array in a std::span, array memcpy instead

2025-06-23 Thread anthony.hayward--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120785 Bug ID: 120785 Summary: No compiler warning when wrapping a packed C-style array in a std::span, array memcpy instead Product: gcc Version: 13.3.0 Status: UNCONFIRMED

[Bug modula2/120761] GM2_FOR_BUILD is not substituted in the toplevel Makefile

2025-06-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120761 --- Comment #3 from Gaius Mulley --- Created attachment 61692 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61692&action=edit Proposed fix which removes GM2_FOR_BUILD This patch removes GM2_FOR_BUILD from Makefile.tpl and the debugging e

[Bug modula2/120761] GM2_FOR_BUILD is not substituted in the toplevel Makefile

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

[Bug rtl-optimization/110423] Redundant constants not getting eliminated on RISCV.

2025-06-23 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110423 --- Comment #5 from Vineet Gupta --- FWIW the core of the issue (const remat) remains, its just masked after r13-4459-g6508d5e5a1a8c0 which rewrites the crc logic to not use constants. 2022-12-02 6508d5e5a1a8 match.pd: rewrite select to bran

[Bug target/120782] RISC-V: vector-strict-align not working for spec17 521 ref size

2025-06-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120782 --- Comment #4 from Jeffrey A. Law --- No strong opinion. I'll ponder pros/cons through the day and make a decision. You'll be able to either start your day tomorrow with it fixed or with the tuning knob patch installed.

[Bug fortran/120784] fortran: issue with use-association renames and interface

2025-06-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/120773] [C++26] P3618R0 - Allow attaching main to the global module

2025-06-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120773 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug fortran/120784] fortran: issue with use-association renames and interface

2025-06-23 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 --- Comment #1 from Matt Thompson --- Nuts. Just realized I did gfortran-14 but reported under 15. It fails there too: ❯ gfortran-15 -v -save-temps -c test.F90 Using built-in specs. COLLECT_GCC=gfortran-15 Target: aarch64-apple-darwin24 Configu

[Bug fortran/120784] New: fortran: issue with use-association renames and interface

2025-06-23 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 Bug ID: 120784 Summary: fortran: issue with use-association renames and interface Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal P

[Bug target/120782] RISC-V: vector-strict-align not working for spec17 521 ref size

2025-06-23 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120782 --- Comment #3 from Robin Dapp --- (In reply to Jeffrey A. Law from comment #2) > Yea, this bug may have been filed while we were discussing it in a team > meeting. > > I think the question is whether or not to include the new guards in the > c

[Bug target/120782] RISC-V: vector-strict-align not working for spec17 521 ref size

2025-06-23 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120782 Jeffrey A. Law changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/120782] RISC-V: vector-strict-align not working for spec17 521 ref size

2025-06-23 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120782 Robin Dapp changed: What|Removed |Added Last reconfirmed||2025-6-23 --- Comment #1 from Robin Dapp

[Bug c++/120783] [C++26] P3491R3 - define_static_{string,object,array}

2025-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120783 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-06-23 Ever confirmed|0

[Bug c++/120775] [C++26] P2996R13 - Reflection

2025-06-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120775 Jakub Jelinek changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/120783] New: [C++26] P3491R3 - define_static_{string,object,array}

2025-06-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120783 Bug ID: 120783 Summary: [C++26] P3491R3 - define_static_{string,object,array} Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug other/116792] RFE: should we be able to generate diagnostics in HTML format?

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116792 --- Comment #16 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:2334d30cd8feac28831ffef857cd09753a3ca3d3 commit r16-1631-g2334d30cd8feac28831ffef857cd09753a3ca3d3 Author: David Malcolm Date:

[Bug other/116792] RFE: should we be able to generate diagnostics in HTML format?

2025-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116792 --- Comment #15 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:5a64c96cfe7a4d5783319c2fb8472bc75d702e9a commit r16-1630-g5a64c96cfe7a4d5783319c2fb8472bc75d702e9a Author: David Malcolm Date:

  1   2   >