diff options
author | David Malcolm <dmalcolm@redhat.com> | 2018-01-25 00:45:51 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2018-01-25 00:45:51 +0000 |
commit | 1983b3e02952a26bf5e319e86bb95667bc420f06 (patch) | |
tree | 5f3c0f0deb1915e08baed7db9b7b067ca46904d8 /gcc/predict.c | |
parent | 2c3babdcb0de7cb6ea1cba447daece318fc45e79 (diff) | |
download | gcc-1983b3e02952a26bf5e319e86bb95667bc420f06.zip gcc-1983b3e02952a26bf5e319e86bb95667bc420f06.tar.gz gcc-1983b3e02952a26bf5e319e86bb95667bc420f06.tar.bz2 |
Fix jit.dg/test-alignment* (PR jit/82846)
These testcases jit-compile functions that return char, but
were erroneously calling them as if they returned int.
This led to errors for certain target configurations (e.g.
reading from %eax (32-bit) in the harness when only %al (8-bit)
had been written to in the jit-compiled function).
gcc/testsuite/ChangeLog:
PR jit/82846
* jit.dg/test-alignment.c (create_aligned_code): Fix return type
of "fn_type" typedef.
* jit.dg/test-alignment.cc (verify_aligned_code): Likewise.
From-SVN: r257037
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions