Fix jit test case (PR jit/88747)
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 8 Jan 2019 01:39:09 +0000 (01:39 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 8 Jan 2019 01:39:09 +0000 (01:39 +0000)
commit44e813ecd1fa610e3e4ed2420a69d4a1e200b19c
treeefb6f635b471253af58741b5fa04504fa3687786
parentddb45008f2c9c040446e95ae0c8dfc2beca7b2b9
Fix jit test case (PR jit/88747)

Amongst other changes, r266077 updated value_range_base::dump so
that it additionally prints the type.  This broke an assertion within
the jit testsuite, in jit.dg/test-sum-of-squares.c, which was checking
for:
  ": [-INF, n_"
but was now getting:
  ": signed int [-INF, n_"

The test is merely intended as a simple verification that we can read
dump files via gcc_jit_context_enable_dump.

This patch loosens the requirements on the dump so that it should work
with either version of value_range_base::dump.

gcc/testsuite/ChangeLog:
PR jit/88747
* jit.dg/test-sum-of-squares.c (verify_code): Update expected vrp
dump to reflect r266077.

From-SVN: r267671
gcc/testsuite/ChangeLog
gcc/testsuite/jit.dg/test-sum-of-squares.c