]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/jit/ChangeLog
jit: fix segfault with autovectorization (PR tree-optimization/46805)
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 18 Aug 2017 23:56:28 +0000 (23:56 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 18 Aug 2017 23:56:28 +0000 (23:56 +0000)
commit953e520dbe6794655602cdecec878d0393404731
treeeb47f2e1d254187a795c286b9fd44521f93318c4
parent519d0798689cc68bfb27658c6f91ac3e07c04517
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.

From-SVN: r251192
gcc/jit/ChangeLog
gcc/jit/dummy-frontend.c
gcc/testsuite/ChangeLog
gcc/testsuite/jit.dg/all-non-failing-tests.h
gcc/testsuite/jit.dg/test-autovectorize.c [new file with mode: 0644]