[Bug sanitizer/79341] Many Asan tests fail on s390

vogt at linux dot vnet.ibm.com gcc-bugzilla@gcc.gnu.org
Fri Feb 10 14:02:00 GMT 2017


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

--- Comment #36 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Created attachment 40711
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40711&action=edit
Reduced test for float-cast-overflow-10.c

Test for the float-cast-overflow-10.c failure.

This snippet should detect that _Decimal32 doesn't fit in a signed 64-bit
integer (either signed long or signed long long).  Test uses "-m64 -O2
-fsanitize=float-cast-overflow -fsanitize-recover=float-cast-overflow".

If you compile and execute this preprocessed file, does ubsan generate messages
or not?


More information about the Gcc-bugs mailing list