]> git.ipfire.org Git - thirdparty/gcc.git/commit
fold-const.c (fold_comparison): Only call fold_inf_compare if the mode supports infin...
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 11 Mar 2009 15:24:00 +0000 (15:24 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 11 Mar 2009 15:24:00 +0000 (15:24 +0000)
commitdc215785635e91c391118cf773f5ba1f6d26acb1
treee99dab3450b2f3d8752625e45a2e5345cd593a8c
parent32fdf2f406a4db93a66ec808812c5843c601e9b4
fold-const.c (fold_comparison): Only call fold_inf_compare if the mode supports infinities.

ChangeLog:

* fold-const.c (fold_comparison): Only call fold_inf_compare
if the mode supports infinities.

testsuite/ChangeLog:

* gcc.c-torture/execute/ieee/inf-3.c: New test.
* gcc.c-torture/execute/ieee/inf-2.c: Fix typo.

From-SVN: r144779
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/ieee/inf-2.c
gcc/testsuite/gcc.c-torture/execute/ieee/inf-3.c [new file with mode: 0644]