This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

*ping* Re: [Patch, fortran] merge two gfc_trans_scalar_assign flags


Le 19/04/2015 16:54, Mikael Morin a Ãcrit :
Hello,

while working on pr65792, I noticed that gfc_trans_scalar_assign's
l_is_temp and dealloc flags are used only once, and at the same place.
This patch merges them together.
The calls are changed from
	gfc_trans_scalar_assign (...blah..., foo, x, bar);
to
	gfc_trans_scalar_assign (...blah..., x, !foo && bar);
As foo is most of the time either true or false, this is a simplification.

regression tested on x86-64-unknown-linux-gnu.
OK for post 5.1 trunk?


Ping: https://gcc.gnu.org/ml/gcc-patches/2015-04/msg00966.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]