r204444 - in /trunk/gcc: ChangeLog expr.c tests...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Nov 6 07:48:00 GMT 2013


Author: jakub
Date: Wed Nov  6 07:48:50 2013
New Revision: 204444

URL: http://gcc.gnu.org/viewcvs?rev=204444&root=gcc&view=rev
Log:
	PR middle-end/58970
	* expr.c (get_bit_range): Handle *offset == NULL_TREE.
	(expand_assignment): If *bitpos is negative, set *offset
	and adjust *bitpos, so that it is not negative.

	* gcc.c-torture/compile/pr58970.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr58970-1.c
    trunk/gcc/testsuite/gcc.c-torture/compile/pr58970-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list