Commit dcad1dd3 by Richard Sandiford Committed by Richard Sandiford

asan.c (asan_shadow_cst): Use gen_int_mode.

gcc/
	* asan.c (asan_shadow_cst): Use gen_int_mode.

From-SVN: r202384
parent daf5c770
2013-09-09 Richard Sandiford <rdsandiford@googlemail.com>
* asan.c (asan_shadow_cst): Use gen_int_mode.
2013-09-08 Jan Hubicka <jh@suse.cz>
* ipa-profile.c: Add toplevel comment.
......
......@@ -869,7 +869,7 @@ asan_shadow_cst (unsigned char shadow_bytes[4])
for (i = 0; i < 4; i++)
val |= (unsigned HOST_WIDE_INT) shadow_bytes[BYTES_BIG_ENDIAN ? 3 - i : i]
<< (BITS_PER_UNIT * i);
return GEN_INT (trunc_int_for_mode (val, SImode));
return gen_int_mode (val, SImode);
}
/* Clear shadow memory at SHADOW_MEM, LEN bytes. Can't call a library call here
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment