r256052 - in /trunk/gcc: ChangeLog expr.c tests...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Sun Dec 31 23:51:00 GMT 2017
Author: jakub
Date: Sun Dec 31 23:51:14 2017
New Revision: 256052
URL: https://gcc.gnu.org/viewcvs?rev=256052&root=gcc&view=rev
Log:
PR middle-end/83609
* expr.c (expand_assignment): Fix up a typo in simplify_gen_subreg
last argument when extracting from CONCAT. If either from_real or
from_imag is NULL, use expansion through memory. If result is not
a CONCAT and simplify_gen_subreg fails, try to simplify_gen_subreg
the parts directly to inner mode, if even that fails, use expansion
through memory.
* gcc.dg/pr83609.c: New test.
* g++.dg/opt/pr83609.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/opt/pr83609.C
trunk/gcc/testsuite/gcc.dg/pr83609.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list