Fix -Werror=class-memaccess failures in jit testsuite (PR jit/81144)
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 20 Jun 2017 20:37:28 +0000 (20:37 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 20 Jun 2017 20:37:28 +0000 (20:37 +0000)
commit191578a57755cf7a53f1f24bbba7d9df79e63efe
tree3da9548e00dbfe5a944c5be09485eb18a4ac964a
parent0dc7d7cc944ddf8903d14199922fe31cec9693dd
Fix -Werror=class-memaccess failures in jit testsuite (PR jit/81144)

gcc/testsuite/ChangeLog:
PR jit/81144
* jit.dg/test-operator-overloading.cc (make_test_quadratic): Replace
memset call with zero-initialization.
* jit.dg/test-quadratic.cc (make_test_quadratic): Likewise.

From-SVN: r249427
gcc/testsuite/ChangeLog
gcc/testsuite/jit.dg/test-operator-overloading.cc
gcc/testsuite/jit.dg/test-quadratic.cc