r238248 - in /trunk/gcc: ChangeLog expr.c tests...
ktkachov@gcc.gnu.org
ktkachov@gcc.gnu.org
Tue Jul 12 15:00:00 GMT 2016
Author: ktkachov
Date: Tue Jul 12 15:00:28 2016
New Revision: 238248
URL: https://gcc.gnu.org/viewcvs?rev=238248&root=gcc&view=rev
Log:
[expr.c] PR middle-end/71700: zero-extend sub-word value when widening constructor element
PR middle-end/71700
* expr.c (store_constructor): Mask sign-extended bits when widening
sub-word constructor element at the start of a word.
* gcc.c-torture/execute/pr71700.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr71700.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list