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 tree-optimization/85158] ubsan and -O3 finds a problem


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

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> The above snippet isn't a self-contained program and contains UB, so it is
> unclear how you can get runtime diagnostics for it.

The short snippet of code is stored in file bug424.c

gcc trunk revision 259004 has been built with ubsan, as the configure line
should make clear.

06:51 is pretty early in the morning, isn't it ? ;->

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