public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111555] New: [AArch64] __ARM_FEATURE_UNALIGNED should be undefined with -mstrict-align
@ 2023-09-23 17:42 lasse.collin at tukaani dot org
  2023-09-23 17:47 ` [Bug target/111555] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: lasse.collin at tukaani dot org @ 2023-09-23 17:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111555
           Summary: [AArch64] __ARM_FEATURE_UNALIGNED should be undefined
                    with -mstrict-align
           Product: gcc
           Version: 13.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lasse.collin at tukaani dot org
  Target Milestone: ---

On 32-bit ARM, the macro __ARM_FEATURE_UNALIGNED is defined when using
-munaligned-access and not defined when using -mno-unaligned-access. On AArch64
the macro is always defined with both -mno-strict-align and -mstrict-align. I
think the macro shouldn't be defined with -mstrict-align on AArch64.

For comparison, with Clang on AArch64 the definition of __ARM_FEATURE_UNALIGNED
is omitted with -mstrict-align and -mno-unaligned-access.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-03-15  2:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-23 17:42 [Bug target/111555] New: [AArch64] __ARM_FEATURE_UNALIGNED should be undefined with -mstrict-align lasse.collin at tukaani dot org
2023-09-23 17:47 ` [Bug target/111555] " pinskia at gcc dot gnu.org
2024-03-14 23:37 ` syq at gcc dot gnu.org
2024-03-14 23:45 ` pinskia at gcc dot gnu.org
2024-03-14 23:46 ` pinskia at gcc dot gnu.org
2024-03-15  2:20 ` i at maskray dot me

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).