https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96304
--- Comment #5 from D. Richard Hipp <drh at sqlite dot org> --- ((In reply to Martin Liška from comment #3) > > 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; > I agree. I'll work around the problem in a different way. Please cancel this ticket. And thanks for the help.