https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96019
--- Comment #4 from Eric Botcazou ---
> So AFAIU
>
> int main(int argc, char *argv[]) {
> uint8_t raw[] = { 0xaa, 0xbb, 0xcc, 0xdd, 0x11, 0x22 };
> SS instance;
> memcpy (&instance, raw, sizeof (SS));
> printf("%x, %x\n", instanc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96019
--- Comment #3 from Richard Biener ---
So AFAIU
int main(int argc, char *argv[]) {
uint8_t raw[] = { 0xaa, 0xbb, 0xcc, 0xdd, 0x11, 0x22 };
SS instance;
memcpy (&instance, raw, sizeof (SS));
printf("%x, %x\n", instance.a, instance
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96019
Eric Botcazou changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96019
Richard Biener changed:
What|Removed |Added
Keywords||wrong-code
CC|