[Bug fortran/115781] Error with passing array of derived type

2025-02-23 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115781 --- Comment #8 from Thomas Koenig --- ... or rather, the calculation needs to be done with the contents of x->_data and not with x directly.

[Bug target/47253] Conditional jump to tail function is not generated

2025-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47253 --- Comment #18 from H.J. Lu --- My current patches are at https://gitlab.com/x86-gcc/gcc/-/tree/users/hjl/condjmp/v7?ref_type=heads They passed GCC bootstrap and tests on x86-64.

[Bug translation/118993] New: Typo "undfined"

2025-02-23 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118993 Bug ID: 118993 Summary: Typo "undfined" Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: translation Assignee:

[Bug fortran/102368] Failure to compile program using the C_SIZEOF function in ISO_C_BINDING

2025-02-23 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102368 Thomas Koenig changed: What|Removed |Added Status|WAITING |NEW Keywords|needs-stdcheck

[Bug target/118994] New: GCC fails to optimize (a >> 1) + (b >> 1) + ((a | b) & 1) to PAVGB/PAVGW (or equivalent instruction)

2025-02-23 Thread john_platts at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118994 Bug ID: 118994 Summary: GCC fails to optimize (a >> 1) + (b >> 1) + ((a | b) & 1) to PAVGB/PAVGW (or equivalent instruction) Product: gcc Version: 14.2.0 Status: UNCONFI

[Bug target/118992] Redundant argument set up for call

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118992 Andrew Pinski changed: What|Removed |Added Summary|Redundant argument set up |Redundant argument set up

[Bug middle-end/45410] constant not optimized / propagated across printf calls

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45410 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > I think the real issue is we don't know that printf does not change the > value of ss.j Yes and that be shown by: ``` struct s {int i;int j;}; struct s static ss

[Bug fortran/102368] Failure to compile program using the C_SIZEOF function in ISO_C_BINDING

2025-02-23 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102368 --- Comment #8 from Thomas Koenig --- (In reply to anlauf from comment #7) > (In reply to Thomas Koenig from comment #6) > > I think the code is valid. > > > > A named scalar Fortran variable is interoperable if and only if its type and > > typ

[Bug ipa/51506] Function cloning misses constant struct at -Os vs -O2

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51506 --- Comment #4 from Andrew Pinski --- Created attachment 60570 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60570&action=edit C23 testcase This testcase is similar to what is done for AVR (minus an extra copy which I have a patch for but

[Bug fortran/102368] Failure to compile program using the C_SIZEOF function in ISO_C_BINDING

2025-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102368 --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #8) > (In reply to anlauf from comment #7) > > (In reply to Thomas Koenig from comment #6) > > > The length of > > > > > > character(kind=c_char, len=*), p

[Bug target/118994] GCC fails to optimize (a >> 1) + (b >> 1) + ((a | b) & 1) to PAVGB/PAVGW (or equivalent instruction)

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118994 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug rtl-optimization/118992] Redundant argument set up for tail call

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118992 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|

[Bug tree-optimization/118992] Redundant argument set up for tail call

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118992 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|tree-optimization --- Comment #1 from A

[Bug middle-end/118993] Typo "undfined"

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

[Bug fortran/102368] Failure to compile program using the C_SIZEOF function in ISO_C_BINDING

2025-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102368 --- Comment #7 from anlauf at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #6) > I think the code is valid. > > A named scalar Fortran variable is interoperable if and only if its type and > type parameters are interoperable, >

[Bug fortran/118932] Testcase gfortran.dg/binding_label_tests_34.f90 needs standard checking

2025-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118932 --- Comment #6 from anlauf at gcc dot gnu.org --- For reference: the thread on the J3 ML starts here: https://mailman.j3-fortran.org/pipermail/j3/2025-February/015180.html

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2025-02-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680 Jerry DeLisle changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Jerry DeLisle

[Bug middle-end/118993] Typo "undfined"

2025-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118993 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2025-02-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680 --- Comment #6 from Jerry DeLisle --- The check is being done in interface.cc. The kind is being checked against default_integer_kind. case(2):/* UNIT */ type = BT_INTEGER; kind = gfc_default

[Bug target/118996] New: Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 Bug ID: 118996 Summary: Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX? Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/89967] Inefficient code generation for vld2q_lane_u8 under aarch64

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89967 Andrew Pinski changed: What|Removed |Added Depends on||23782 --- Comment #5 from Andrew Pinski

[Bug tree-optimization/106106] SRA scalarizes structure copies

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106106 Andrew Pinski changed: What|Removed |Added Depends on||14295 --- Comment #7 from Andrew Pinski

[Bug target/89606] Extra mov after structure load instructions on aarch64

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89606 Andrew Pinski changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Comment

[Bug tree-optimization/106106] SRA scalarizes structure copies

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

[Bug tree-optimization/106106] SRA scalarizes structure copies

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106106 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > This is a dup of bug 89606. > > *** This bug has been marked as a duplicate of bug 89606 *** f2 of bug 89606 comment #0 is exactly f2 of this PR.

[Bug target/89606] Extra mov after structure load instructions on aarch64

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89606 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-23 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #1 from Hongtao Liu --- Looking at the hook description, it looks like x86 still need nozero return values under apx (due to AREG, DREG, CREG, BREG, SIREG, DIREG)

[Bug middle-end/118994] GCC fails to optimize (a >> 1) + (b >> 1) + ((a | b) & 1) to PAVGB/PAVGW (or equivalent instruction)

2025-02-23 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118994 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-23 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #3 from Hongtao Liu --- Original commit is added to avoid reload failure ~24 years ago, maybe we can try to remove the check in cse.cc. commit 8bf4dfc24f1957b8f645e362e354655fb851fc89 Author: Geoffrey Keating Date: Mon Jul 2 23:2

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for APX?

2025-02-23 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #4 from Uroš Bizjak --- (In reply to Hongtao Liu from comment #1) > Looking at the hook description, it looks like x86 still need nozero return > values under apx (due to AREG, DREG, CREG, BREG, SIREG, DIREG) Please note that we also

[Bug fortran/118932] Testcase gfortran.dg/binding_label_tests_34.f90 needs standard checking

2025-02-23 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118932 --- Comment #5 from Thomas Koenig --- The discussion on the J3 mailing list seems to indicate that this is actually invalid, but nobody else catches it (and the restriction is also silly). Maybe we should just downgrade the error to a warning.

[Bug fortran/109322] -fc-prototypes does not correctly translate INTEGER(KIND=C_SIZE_T), and other sizes

2025-02-23 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109322 Thomas Koenig changed: What|Removed |Added Status|WAITING |NEW --- Comment #13 from Thomas Koenig

[Bug fortran/115781] Error with passing array of derived type

2025-02-23 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115781 --- Comment #7 from Thomas Koenig --- (In reply to Thomas Koenig from comment #6) After looking at the tree dump and some debugging, it is clear that the error happens on the callee side. If the callee has a type as dummy argument, it has

[Bug ada/118939] [14 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-02-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 --- Comment #4 from Eric Botcazou --- I cannot reproduce. Are there relevant Debian-specific patches applied? How has the compiler been configured exactly? I presume that -g does not change anything? If so, can you post the diff of the ass

[Bug rtl-optimization/118992] New: Redundant argument set up for tail call

2025-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118992 Bug ID: 118992 Summary: Redundant argument set up for tail call Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-op

[Bug rtl-optimization/118992] Redundant argument set up for tail call

2025-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118992 H.J. Lu changed: What|Removed |Added Last reconfirmed||2025-02-23 Version|14.2.1

[Bug fortran/102368] Failure to compile program using the C_SIZEOF function in ISO_C_BINDING

2025-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102368 --- Comment #12 from anlauf at gcc dot gnu.org --- So what now? Ask J3 for an opinion?

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2025-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #3) > I just circled back on this one. If I modify the test case to explicitly > define the interface to use integer(8) like this: [...] > SUBROUTINE my_wri

[Bug tree-optimization/116873] esra does not remove unused store sometimes

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116873 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/82142] struct zeroing should use wide stores instead of avoiding overwriting padding

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82142 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug middle-end/102672] Failure to optimize to using stp instead of 2 strs when possible due to padding in the struct

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102672 Bug 102672 depends on bug 82142, which changed state. Bug 82142 Summary: struct zeroing should use wide stores instead of avoiding overwriting padding https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82142 What|Removed

[Bug tree-optimization/106106] SRA scalarizes structure copies

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

[Bug fortran/102368] Failure to compile program using the C_SIZEOF function in ISO_C_BINDING

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

[Bug fortran/32630] [meta-bug] ISO C binding

2025-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32630 Bug 32630 depends on bug 102368, which changed state. Bug 102368 Summary: Failure to compile program using the C_SIZEOF function in ISO_C_BINDING https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102368 What|Removed

[Bug tree-optimization/89967] Inefficient code generation for vld2q_lane_u8 under aarch64

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89967 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug fortran/102368] Failure to compile program using the C_SIZEOF function in ISO_C_BINDING

2025-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102368 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |INVALID Status|N

[Bug fortran/102368] Failure to compile program using the C_SIZEOF function in ISO_C_BINDING

2025-02-23 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102368 --- Comment #13 from Thomas Koenig --- (In reply to anlauf from comment #12) > So what now? > > Ask J3 for an opinion? Why not?

[Bug tree-optimization/118995] Missed optimization: [[assume]] works not as good as std::unreachable()

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118995 --- Comment #1 from Andrew Pinski --- Created attachment 60571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60571&action=edit testcase next time please attach or place the testcase in-line. Note the attach a file option has a way to pas

[Bug c++/118995] New: Missed optimization: [[assume]] works not as good as std::unreachable()

2025-02-23 Thread eugene.shalygin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118995 Bug ID: 118995 Summary: Missed optimization: [[assume]] works not as good as std::unreachable() Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/102672] Failure to optimize to using stp instead of 2 strs when possible due to padding in the struct

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102672 --- Comment #4 from Andrew Pinski --- -fno-tree-sra Fixes it. There is a dup of this one that I just saw recently too.

[Bug tree-optimization/118995] Missed optimization: [[assume]] works not as good as std::unreachable()

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118995 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 from

[Bug tree-optimization/82142] struct zeroing should use wide stores instead of avoiding overwriting padding

2025-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82142 --- Comment #4 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:bf0aa9dc8826b1d2a71e52754c117228134825b5 commit r15-7679-gbf0aa9dc8826b1d2a71e52754c117228134825b5 Author: H.J. Lu Date: Mon Feb 24 05:

[Bug tree-optimization/34416] Tree optimization pipeline needs re-tuning

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34416 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Status|NEW

[Bug middle-end/90424] memcpy into vector builtin not optimized

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90424 --- Comment #9 from Andrew Pinski --- Hmm, we get: BIT_INSERT_EXPR ; Since r_5 is unintialized, can't we just do: {_1, 0} ?

[Bug target/118992] Redundant argument set up for call

2025-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118992 --- Comment #3 from H.J. Lu --- The cse1 pass works on aarch64, but not on x86-64.

[Bug tree-optimization/36602] memset should be optimized into an empty CONSTRUCTOR

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36602 --- Comment #18 from Andrew Pinski --- > Not as easy when the initialized struct contains padding ... I suspect setting CONSTRUCTOR_ZERO_PADDING_BITS on the constructor will fix the issue there. I think we might need it also for optimize_memcpy

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 Andrew Pinski changed: What|Removed |Added Target||mips* --- Comment #35 from Andrew Pinski

[Bug target/118992] Redundant argument set up for call

2025-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118992 --- Comment #5 from H.J. Lu --- (In reply to H.J. Lu from comment #4) > (In reply to H.J. Lu from comment #3) > > The cse1 pass works on aarch64, but not on x86-64. > > It is the fwprop1 pass, not the cse1 pass. It is due to hash_rtx in cse.cc

[Bug target/118992] Redundant argument set up for call

2025-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118992 --- Comment #4 from H.J. Lu --- (In reply to H.J. Lu from comment #3) > The cse1 pass works on aarch64, but not on x86-64. It is the fwprop1 pass, not the cse1 pass.

[Bug target/118992] Redundant argument set up for call

2025-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118992 --- Comment #6 from H.J. Lu --- This works for x86-64: diff --git a/gcc/cse.cc b/gcc/cse.cc index 70d5caac4ca..786624cd890 100644 --- a/gcc/cse.cc +++ b/gcc/cse.cc @@ -2287,6 +2287,10 @@ hash_rtx (const_rtx x, machine_mode mode, record