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

            Bug ID: 94652
           Summary: gdc.dg/ubsan/pr88957.d: valgrind error
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For D testsuite file ./gdc.dg/ubsan/pr88957.d with a valgrind
version of recent trunk D compiler, does this:

==162456== Invalid read of size 8
==162456==    at 0x6C38E9: Expression::copy() (expression.c:2046)
==162456==    by 0x664547: visit (dcast.c:68)
==162456==    by 0x664547: implicitCastTo(Expression*, Scope*,
Type*)::ImplicitC
astTo::visit(Expression*) (dcast.c:54)
==162456==    by 0x66BE8A: implicitCastTo(Expression*, Scope*, Type*)
(dcast.c:1
60)

Reply via email to