public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39131]  New: decimal float point: ICE on typeid( 0.dd )
@ 2009-02-08 14:54 d dot frey at gmx dot de
  2009-02-12 23:18 ` [Bug c++/39131] " bangerth at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: d dot frey at gmx dot de @ 2009-02-08 14:54 UTC (permalink / raw)
  To: gcc-bugs

The following, compiled with no further options ("g++ t.cc"), results in an
ICE:

#include <typeinfo>
int main() {
  typeid( 0.dd );
}

Also, documentation on DFPs is not very good. When trying to use DFPs with C++,
constants are recognised, while _Decimal[32|64|128] are rejected. I'd
appreciate some more information on DFPs as them seem really useful to me.


-- 
           Summary: decimal float point: ICE on typeid( 0.dd )
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: d dot frey at gmx dot de
  GCC host triplet: x86_64-linux-gnu


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/39131] decimal float point: ICE on typeid( 0.dd )
  2009-02-08 14:54 [Bug c++/39131] New: decimal float point: ICE on typeid( 0.dd ) d dot frey at gmx dot de
@ 2009-02-12 23:18 ` bangerth at gmail dot com
  2009-11-10 23:06 ` jason at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bangerth at gmail dot com @ 2009-02-12 23:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bangerth at gmail dot com  2009-02-12 23:17 -------
Confirmed:

g/x> /home/bangerth/bin/x86/gcc-mainline/bin/c++ -c x.cc
x.cc: In function 'int main()':
x.cc:3: internal compiler error: in write_builtin_type, at cp/mangle.c:1855
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 

bangerth at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at gmail dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-02-12 23:17:54
               date|                            |


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/39131] decimal float point: ICE on typeid( 0.dd )
  2009-02-08 14:54 [Bug c++/39131] New: decimal float point: ICE on typeid( 0.dd ) d dot frey at gmx dot de
  2009-02-12 23:18 ` [Bug c++/39131] " bangerth at gmail dot com
  2009-11-10 23:06 ` jason at gcc dot gnu dot org
@ 2009-11-10 23:06 ` jason at gcc dot gnu dot org
  2009-11-12  4:44 ` jason at gcc dot gnu dot org
  2009-11-12  4:49 ` jason at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-10 23:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jason at gcc dot gnu dot org  2009-11-10 23:05 -------
*** Bug 40538 has been marked as a duplicate of this bug. ***


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igodard at pacbell dot net


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/39131] decimal float point: ICE on typeid( 0.dd )
  2009-02-08 14:54 [Bug c++/39131] New: decimal float point: ICE on typeid( 0.dd ) d dot frey at gmx dot de
  2009-02-12 23:18 ` [Bug c++/39131] " bangerth at gmail dot com
@ 2009-11-10 23:06 ` jason at gcc dot gnu dot org
  2009-11-10 23:06 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-10 23:06 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-02-12 23:17:54         |2009-11-10 23:06:07
               date|                            |


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/39131] decimal float point: ICE on typeid( 0.dd )
  2009-02-08 14:54 [Bug c++/39131] New: decimal float point: ICE on typeid( 0.dd ) d dot frey at gmx dot de
                   ` (2 preceding siblings ...)
  2009-11-10 23:06 ` jason at gcc dot gnu dot org
@ 2009-11-12  4:44 ` jason at gcc dot gnu dot org
  2009-11-12  4:49 ` jason at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-12  4:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jason at gcc dot gnu dot org  2009-11-12 04:44 -------
Subject: Bug 39131

Author: jason
Date: Thu Nov 12 04:44:24 2009
New Revision: 154113

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154113
Log:
        PR c++/39131
        * rtti.c (emit_support_tinfos): Add DFP types.
        * config/abi/pre/gnu.ver: Add DFP types.
        * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.4.

Added:
    trunk/gcc/testsuite/g++.dg/dfp/typeid1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/rtti.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/config/abi/pre/gnu.ver
    trunk/libstdc++-v3/testsuite/util/testsuite_abi.cc


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/39131] decimal float point: ICE on typeid( 0.dd )
  2009-02-08 14:54 [Bug c++/39131] New: decimal float point: ICE on typeid( 0.dd ) d dot frey at gmx dot de
                   ` (3 preceding siblings ...)
  2009-11-12  4:44 ` jason at gcc dot gnu dot org
@ 2009-11-12  4:49 ` jason at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-12  4:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jason at gcc dot gnu dot org  2009-11-12 04:49 -------
The ICE was fixed a while back; the patch I just checked in makes uses of
typeid(0.dd) link.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-12  4:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-08 14:54 [Bug c++/39131] New: decimal float point: ICE on typeid( 0.dd ) d dot frey at gmx dot de
2009-02-12 23:18 ` [Bug c++/39131] " bangerth at gmail dot com
2009-11-10 23:06 ` jason at gcc dot gnu dot org
2009-11-10 23:06 ` jason at gcc dot gnu dot org
2009-11-12  4:44 ` jason at gcc dot gnu dot org
2009-11-12  4:49 ` jason at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).