[Bug target/126527] Regression in 16.1.0 against 15.2.0 at OpenBSD/sparc64

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126527

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---

  char storage[64] __attribute__((aligned(8)));
  Entry* entry = reinterpret_cast<Entry*>(storage + 28);


This is undefined. Entry requires 8 byte alignment but you are not providing a
pointer which is not aligned correctly so what is happening is exactly what you
expect.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.