diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-15 19:36:42 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-15 19:36:42 +0000 |
commit | 8eb8256c8c55b5b2d2244cf59a8490a1164ed639 (patch) | |
tree | 91f8600207abbecbd0638e2f11fe8eda9705d731 /gcc/omp-builtins.def | |
parent | 232364e700c961e4c7d594beffc581975ab5bcce (diff) | |
download | gcc-8eb8256c8c55b5b2d2244cf59a8490a1164ed639.tar.gz |
jit: prevent ICE with type mismatch in gcc_jit_block_add_assignment_op
gcc/jit/ChangeLog:
* libgccjit.c (gcc_jit_block_add_assignment_op): Check that the
lvalue and the rvalue are of compatible type.
gcc/testsuite/ChangeLog:
* jit.dg/test-error-mismatching-types-in-assignment-op.c: New
test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219681 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/omp-builtins.def')
0 files changed, 0 insertions, 0 deletions