* [committed] Use gen_int_mode instead of GEN_INT+trunc_int_for_mode
@ 2013-09-09 9:26 Richard Sandiford
0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2013-09-09 9:26 UTC (permalink / raw)
To: gcc-patches
Bootstrapped & regression-tested on x86_64-linxu-gnu. Applied as obvious.
Thanks,
Richard
gcc/
* asan.c (asan_shadow_cst): Use gen_int_mode.
Index: gcc/asan.c
===================================================================
--- gcc/asan.c 2013-09-08 16:54:50.485108772 +0100
+++ gcc/asan.c 2013-09-08 16:59:51.380477968 +0100
@@ -869,7 +869,7 @@ asan_shadow_cst (unsigned char shadow_by
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-09 9:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-09 9:26 [committed] Use gen_int_mode instead of GEN_INT+trunc_int_for_mode Richard Sandiford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).