re PR tree-optimization/23433 (ICE: tree check: expected real_cst, have integer_cst...
authorSebastian Pop <pop@cri.ensmp.fr>
Sun, 21 Aug 2005 10:59:15 +0000 (12:59 +0200)
committerSebastian Pop <spop@gcc.gnu.org>
Sun, 21 Aug 2005 10:59:15 +0000 (10:59 +0000)
commit3c0c8f9dff5c2fd1e71fcbc5c05a65a33caa0303
treed097feb94c994e2b67ffb22d4d80271209456b40
parent00c59348b92a7448954687f285bf9ea41bf16f12
re PR tree-optimization/23433 (ICE: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1512)

PR tree-optimization/23433
        * tree-chrec.c (chrec_apply): Translate INTEGER_CST to a
        REAL_CST when the type is SCALAR_FLOAT_TYPE_P.

From-SVN: r103317
gcc/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr23433.c [new file with mode: 0644]
gcc/tree-chrec.c