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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
> But, are we violating aliasing rules here?  What am I missing?

Likely you are, but I must admit it's sometimes quite difficult to find that.
>From quickly looking at the function, you may violate it here:

  MemJournal *p = (MemJournal*)pJfd;

maybe

MemJournal *p = (MemJournal*)(char*)pJfd;

can solve it.
Unfortunately I can't reproduce it on my x86_64-linux box.

Reply via email to