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 target/77966] Corrupt function with -fsanitize-coverage=trace-pc


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

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Yes, the reason is that aggressive loop optimizations are disabled if a
-fsanitize is enabled.

If you want to catch the out of bounds access to wq_lock array, you can use
-fsanitize=undefined.

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