Yes, indeed the compiler assigns a wrong type to the second pointer, and it's indeed apparently related to sizeof() in the same line. Seems that no one has encountered this strange bug before.

It's too late for 8.30, but this will be fixed in 8.40. Until then, please don't define a pointer in the same line behind a sizeof() call.