This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/72818] No warning for dereferencing casted pointer


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72818

--- Comment #1 from pmatos at gcc dot gnu.org ---
Please disregard the -fsanitize=undefined in my initial comment. I didn't
expect -fsanitize=undefined to caught it. That was an artefact from my original
example. I expected a warning from GCC at compile time similar to that of the
former example.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]