[Bug tree-optimization/82588] missing -Warray-bounds on a excessively large index

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 22 21:13:00 GMT 2017


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

--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Wed Nov 22 21:12:36 2017
New Revision: 255082

URL: https://gcc.gnu.org/viewcvs?rev=255082&root=gcc&view=rev
Log:
jit: update test suite for change to -Warray-bounds

jit.dg/test-error-array-bounds.c is a test of how libgccjit
handles errors coming from the middle-end, using -Warray-bounds as
an example.

It started failing as of r254830 (aka
987b3316c4e7c908e3c7d2151c20971f9707ad66),
due to that commit changing the wording of the message.

This commit fixes the jit testcase by updating it to use the new
wording.

gcc/testsuite/ChangeLog:
        PR tree-optimization/82588
        PR tree-optimization/82583
        * jit.dg/test-error-array-bounds.c (verify_code): Update expected
        error message from -Warray-bounds.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/jit.dg/test-error-array-bounds.c


More information about the Gcc-bugs mailing list