在 2022-06-29 22:48, Ozkan Sezer 写道:

Well, I'm not proficient with gcc inline asm.
So, whatever you guys think is best.

Also: is this not actually a gcc bug? Are they aware of it?



I don't think they are aware of it. Please file a report if you think it is 
necessary.


The compiler sees

   <memory input> := *(unsigned long*) 42

which itself is indeed dereferencing a strange pointer. Probably GCC should warn about only pointers to known data.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to