]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR debug/48204 (ICE: in decimal_to_decnumber, at dfp.c:115 with -fno...
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 Apr 2011 18:29:28 +0000 (20:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Apr 2011 18:29:28 +0000 (20:29 +0200)
commit3295c0504387d420a2fd8afd7d46ac931f11b9a1
treef21cb3a6b0f88814bbe74b44eeee7bae89437564
parentac75cc393a60832fa56df7cbcb239133c2f67f27
backport: 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)

Backported from mainline
2011-03-24  Jakub Jelinek  <jakub@redhat.com>

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: r172117
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/pr48204.c [new file with mode: 0644]