PR jit/66779: fix segfault
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 7 Jul 2015 19:22:01 +0000 (19:22 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 7 Jul 2015 19:22:01 +0000 (19:22 +0000)
commitbada4bed71933a5170b41585b6fb52a45eaf5e8a
tree2097da040daac8508208920be68b0d086cc49b03
parent712cb0bbf3228eb87d18d98c34dc19c9cfb4dd18
PR jit/66779: fix segfault

gcc/jit/ChangeLog:
PR jit/66779
* dummy-frontend.c (jit_langhook_type_for_mode): Ensure that we
handle modes QI, HI, SI, DI, TI.

gcc/testsuite/ChangeLog:
PR jit/66779
* jit.dg/all-non-failing-tests.h: Add test-pr66779.c.
* jit.dg/test-pr66779.c: New testcase.

From-SVN: r225522
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-pr66779.c [new file with mode: 0644]