diff options
author | Roger Sayle <sayle@gcc.gnu.org> | 2007-01-30 04:39:59 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2007-01-30 04:39:59 +0000 |
commit | bcf52d7b57feb18b8839c3b0706c367c6018a876 (patch) | |
tree | 3dcbb29663a562dd3b54c1da772ca6214bb6d2c1 /gcc/passes.c | |
parent | 2828987879a62a861500d4b1d5649575a07e0b78 (diff) | |
download | gcc-bcf52d7b57feb18b8839c3b0706c367c6018a876.zip gcc-bcf52d7b57feb18b8839c3b0706c367c6018a876.tar.gz gcc-bcf52d7b57feb18b8839c3b0706c367c6018a876.tar.bz2 |
fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT to avoid undefined behaviour on overflow.
* fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT to
avoid undefined behaviour on overflow. Use force_fit_type_double
to construct the constant with the specified TREE_OVERFLOW.
From-SVN: r121332
Diffstat (limited to 'gcc/passes.c')
0 files changed, 0 insertions, 0 deletions