This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/61656] Undefined behavior in classify_argument


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656

--- Comment #6 from UroÅ Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #5)

> then it uses movq %rsi, ... and the patch doesn't change anything on that.
> If you want to use movl %esi, ... in foo in this testcase, more changes are
> needed of course.

This is allowed, as long as we don't use movl on a DImode value. So, your
proposed patch avoids undefined issue, while optimizes memory access a bit.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]