This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/48928] [4.7 Regression] ICE: in decimal_to_decnumber, at dfp.c:113 with -O -g and decimal float
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 9 May 2011 09:37:37 +0000
- Subject: [Bug debug/48928] [4.7 Regression] ICE: in decimal_to_decnumber, at dfp.c:113 with -O -g and decimal float
- Auto-submitted: auto-generated
- References: <bug-48928-4@http.gcc.gnu.org/bugzilla/>
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.