public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/108283] New: Problem when accessing address zero
@ 2023-01-04 10:20 masmiseim at gmx dot de
  2023-01-04 10:24 ` [Bug target/108283] " pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: masmiseim at gmx dot de @ 2023-01-04 10:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108283
           Summary: Problem when accessing address zero
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: masmiseim at gmx dot de
  Target Milestone: ---

Created attachment 54187
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54187&action=edit
Code for reproduction (same as compiler explorer)

Hello gcc comunity,

gcc seems to create wrong code when accessing address zero on ARM Targets.
Compare this Code Example on Compiler Explorer with gcc trunk:
https://godbolt.org/z/Wxncxxo5n

On ARM Targets address zero is almost always a normal memory address.
Therefore, no special treatment should be done here.

Regards
Markus

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

end of thread, other threads:[~2023-01-04 15:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-04 10:20 [Bug target/108283] New: Problem when accessing address zero masmiseim at gmx dot de
2023-01-04 10:24 ` [Bug target/108283] " pinskia at gcc dot gnu.org
2023-01-04 10:28 ` pinskia at gcc dot gnu.org
2023-01-04 10:29 ` pinskia at gcc dot gnu.org
2023-01-04 11:47 ` masmiseim at gmx dot de
2023-01-04 13:47 ` pinskia at gcc dot gnu.org
2023-01-04 13:51 ` pinskia at gcc dot gnu.org
2023-01-04 14:33 ` jakub at gcc dot gnu.org
2023-01-04 15:31 ` masmiseim at gmx dot de
2023-01-04 15:57 ` jakub 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).