This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/85158] ubsan and -O3 finds a problem
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Apr 2018 07:06:57 +0000
- Subject: [Bug tree-optimization/85158] ubsan and -O3 finds a problem
- Auto-submitted: auto-generated
- References: <bug-85158-4@http.gcc.gnu.org/bugzilla/>
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 ? ;->