ipa-prop.c (read_ipcp_transformation_info): Fix undefined ordering of execution of function call parameters.

* ipa-prop.c (read_ipcp_transformation_info): Fix undefined ordering
	of execution of function call parameters.

From-SVN: r279306
This commit is contained in:
Jan Hubicka 2019-12-12 15:32:48 +01:00 committed by Jan Hubicka
parent 8d9cf0a3b3
commit 2fb1d6d654
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2019-12-12 Jan Hubicka <hubicka@ucw.cz>
* ipa-prop.c (read_ipcp_transformation_info): Fix undefined ordering
of execution of function call parameters.
2019-12-12 Vineet Gupta <vgupta@synopsys.com>
* config/arc/arc-modes.def (CC_FPUE): New Mode CC_FPUE which

View File

@ -5227,9 +5227,10 @@ read_ipcp_transformation_info (lto_input_block *ib, cgraph_node *node,
bool known = bp_unpack_value (&bp, 1);
if (known)
{
const widest_int value = streamer_read_widest_int (ib);
const widest_int mask = streamer_read_widest_int (ib);
ipa_bits *bits
= ipa_get_ipa_bits_for_value (streamer_read_widest_int (ib),
streamer_read_widest_int (ib));
= ipa_get_ipa_bits_for_value (value, mask);
(*ts->bits)[i] = bits;
}
}