[Bug c++/95221] g++.dg/ubsan/vptr-12.C fails with -fstrong-eval-order=all

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 19 22:02:32 GMT 2020


--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
You're not wrong, but here we're dealing with the undefined behavior sanitizer
whose point is to detect broken code like the above.

More information about the Gcc-bugs mailing list