diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-01-15 19:36:42 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-01-15 19:36:42 +0000 |
commit | 96a87981994da859c17259d8c4dccb6602476b0e (patch) | |
tree | 91f8600207abbecbd0638e2f11fe8eda9705d731 /gcc/jit/ChangeLog | |
parent | 548c43e724cc6dc360afe75816396c7d5eba38fc (diff) | |
download | gcc-96a87981994da859c17259d8c4dccb6602476b0e.zip gcc-96a87981994da859c17259d8c4dccb6602476b0e.tar.gz gcc-96a87981994da859c17259d8c4dccb6602476b0e.tar.bz2 |
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.
From-SVN: r219681
Diffstat (limited to 'gcc/jit/ChangeLog')
-rw-r--r-- | gcc/jit/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index d15a214..70a3d57 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,8 @@ +2015-01-15 David Malcolm <dmalcolm@redhat.com> + + * libgccjit.c (gcc_jit_block_add_assignment_op): Check that the + lvalue and the rvalue are of compatible type. + 2015-01-13 David Malcolm <dmalcolm@redhat.com> * docs/cp/topics/contexts.rst (Debugging): Add |