r219681 - in /trunk/gcc: jit/ChangeLog jit/libg...
dmalcolm@gcc.gnu.org
dmalcolm@gcc.gnu.org
Thu Jan 15 19:36:00 GMT 2015
Author: dmalcolm
Date: Thu Jan 15 19:36:42 2015
New Revision: 219681
URL: https://gcc.gnu.org/viewcvs?rev=219681&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/jit/ChangeLog
trunk/gcc/jit/libgccjit.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list