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

--- Comment #6 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Wed Sep 13 17:10:29 2017
New Revision: 252487

URL: https://gcc.gnu.org/viewcvs?rev=252487&root=gcc&view=rev
Log:
jit: fix segfault with autovectorization (PR tree-optimization/46805)

libgccjit ran into its own version of PR tree-optimization/46805 (seen
with the Go frontend); this patch fixes it in the same way.

gcc/jit/ChangeLog:
        PR tree-optimization/46805
        * dummy-frontend.c (jit_langhook_parse_file): Handle vector types.

gcc/testsuite/ChangeLog:
        PR tree-optimization/46805
        * jit.dg/all-non-failing-tests.h: Add test-autovectorize.c.
        * jit.dg/test-autovectorize.c: New test case.

Added:
    branches/range-gen2/gcc/testsuite/jit.dg/test-autovectorize.c
Modified:
    branches/range-gen2/gcc/jit/ChangeLog
    branches/range-gen2/gcc/jit/dummy-frontend.c
    branches/range-gen2/gcc/testsuite/ChangeLog
    branches/range-gen2/gcc/testsuite/jit.dg/all-non-failing-tests.h

Reply via email to