]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-vrp.c (range_fits_type_p): Require the MSB of the double_int to be clear for...
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 2 Jan 2013 11:43:22 +0000 (11:43 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 2 Jan 2013 11:43:22 +0000 (11:43 +0000)
commit635b0b0cfcbad6c9807d58307d316072f1303011
treeeaf13caf18386a72a6812debdbf74552de5aaa98
parent4ff4293f15f3a442f6552e764d2127640932b253
tree-vrp.c (range_fits_type_p): Require the MSB of the double_int to be clear for sign changes.

gcc/
* tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
to be clear for sign changes.

gcc/testsuite/
* gcc.dg/torture/fp-int-convert-2.c: New test.

From-SVN: r194800
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/fp-int-convert-2.c [new file with mode: 0644]
gcc/tree-vrp.c