3 ms·
You're right. But for some reason, it's thinking it can just reread the flags from the structure after that function, which has a non-const pointer void sqlit
by raverbashing 6y ago
You're right.
But for some reason, it's thinking it can just reread the flags from the structure after that function, which has a non-const pointer
void sqlite3VdbeMemRelease(Mem *p);
I'll be waiting for the excuses of the "C standard evangelists" and the extreme optimization people on how the SQLite developers are wrong on this case and how it's funny to pull the rug under them.
- saagarjha 6y agoLooks like an average compiler bug rather than malformed code?
- account42 6y ago> But for some reason, it's thinking it can just reread the flags from the structure after that function, which has a non-const pointer The pointer being const would not give the compiler any more guarantees that would allow it to reorder the read.