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

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Tue Jan  8 01:39:09 2019
New Revision: 267671

URL: https://gcc.gnu.org/viewcvs?rev=267671&root=gcc&view=rev
Log:
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.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/jit.dg/test-sum-of-squares.c

Reply via email to