re PR debug/48204 (ICE: in decimal_to_decnumber, at dfp.c:115 with -fno-tree-ccp...
authorJakub Jelinek <jakub@redhat.com>
Thu, 24 Mar 2011 18:58:58 +0000 (19:58 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 24 Mar 2011 18:58:58 +0000 (19:58 +0100)
commit6f0c9f06a58f56e54a595cdbb419c6a987710519
treebcc127f2ba58f61140e326dd7155f9c73496fb01
parent50e373331f436e2e39ca86262662a9d3ac7f3c67
re PR debug/48204 (ICE: in decimal_to_decnumber, at dfp.c:115 with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre -g)

PR debug/48204
* simplify-rtx.c (simplify_const_unary_operation): Call
real_convert when changing mode class with FLOAT_EXTEND.

* gcc.dg/dfp/pr48204.c: New test.

From-SVN: r171423
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/pr48204.c [new file with mode: 0644]