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 c/67433] ?: expression returns unexpected value when condition is a bool variable which memory is not true/false


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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Try -fsantitized=undefined to catch this error.


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