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/48928] [4.7 Regression] ICE: in decimal_to_decnumber, at dfp.c:113 with -O -g and decimal float


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-09 09:32:23 UTC ---
Created attachment 24211
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24211
gcc47-pr48928.patch

Ugh, dfp is complete mess, in many places in the folder, middle-end and
optimizers dconst{1,2,m1,half} are used even for decimal types/modes, but those
real formats are binary, not decimal.  The following patch just accepts the
status quo and handles those 4 standard constants specially instead of ICEing
on them.


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