public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/109273] New: [11/12/13 Regression] unaligned stp generated with -mstrict-align
@ 2023-03-24 12:01 amonakov at gcc dot gnu.org
2023-03-24 12:09 ` [Bug target/109273] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: amonakov at gcc dot gnu.org @ 2023-03-24 12:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109273
Bug ID: 109273
Summary: [11/12/13 Regression] unaligned stp generated with
-mstrict-align
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: amonakov at gcc dot gnu.org
Target Milestone: ---
Target: aarch64-*-*
With -O2 -mstrict-align, for
void f(void *p)
{
__builtin_memset(p, 0, 16);
}
gcc-10 and before, targeting aarch64, used to generate
f:
mov x2, 16
mov w1, 0
b memset
but gcc-11 and newer emit a potentially-misaligned 'stp':
f:
stp xzr, xzr, [x0]
ret
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/109273] [11/12/13 Regression] unaligned stp generated with -mstrict-align
2023-03-24 12:01 [Bug target/109273] New: [11/12/13 Regression] unaligned stp generated with -mstrict-align amonakov at gcc dot gnu.org
@ 2023-03-24 12:09 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-03-24 12:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109273
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 103100 which I have submitted a new patch for.
*** This bug has been marked as a duplicate of bug 103100 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-24 12:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-24 12:01 [Bug target/109273] New: [11/12/13 Regression] unaligned stp generated with -mstrict-align amonakov at gcc dot gnu.org
2023-03-24 12:09 ` [Bug target/109273] " pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).