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

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Mon Jan 9 22:17:00 GMT 2017


Author: ebotcazou
Date: Mon Jan  9 22:17:17 2017
New Revision: 244249

URL: https://gcc.gnu.org/viewcvs?rev=244249&root=gcc&view=rev
Log:
	* expr.c (store_field): In the bitfield case, if the value comes from
	a function call and is of an aggregate type returned in registers, do
	not modify the field mode; extract the value in all cases if the mode
	is BLKmode and the size is not larger than a word.

Added:
    trunk/gcc/testsuite/g++.dg/opt/call2.C
    trunk/gcc/testsuite/g++.dg/opt/call3.C
    trunk/gcc/testsuite/gnat.dg/array26.adb
    trunk/gcc/testsuite/gnat.dg/array26_pkg.adb
    trunk/gcc/testsuite/gnat.dg/array26_pkg.ads
    trunk/gcc/testsuite/gnat.dg/array27.adb
    trunk/gcc/testsuite/gnat.dg/array27_pkg.adb
    trunk/gcc/testsuite/gnat.dg/array27_pkg.ads
    trunk/gcc/testsuite/gnat.dg/array28.adb
    trunk/gcc/testsuite/gnat.dg/array28_pkg.adb
    trunk/gcc/testsuite/gnat.dg/array28_pkg.ads
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list