This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/48204] [4.5/4.6/4.7 Regression] ICE: in decimal_to_decnumber, at dfp.c:115 with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre -g


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48204

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.03.21 13:04:14
                 CC|                            |dje at gcc dot gnu.org
   Target Milestone|---                         |4.5.3
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-21 13:04:14 UTC ---
Confirmed.

#1  0x000000000102be84 in decimal_to_decnumber (r=0x7fffffffcd90, 
    dn=0x7fffffffccf0) at /space/rguenther/src/svn/trunk/gcc/dfp.c:113
113           gcc_assert (r->decimal);
...
#4  0x000000000093087e in real_to_target_fmt (buf=0x7fffffffce10, 
    r_orig=0x7fffffffce30, fmt=0x12077c0)
    at /space/rguenther/src/svn/trunk/gcc/real.c:2761
2761      (*fmt->encode) (fmt, buf, &r);
...
#6  0x00000000006a9d63 in insert_float (rtl=0x7ffff5b28820, 
    array=0x7ffff7ed8df8 "\257\257\257\257\257\257\257\257")
    at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:16326
16326     real_to_target (val, &rv, GET_MODE (rtl));
(gdb) call debug_rtx (rtl)
(const_double:DD 3.0e+0 [0x0.cp+2])

so appearantly REAL_VALUE_FROM_CONST_DOUBLE doesn't "work" for DDmode.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]