[Bug c++/37532] New: [4.4 regression] ICE with decimal floating point data types

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 15 21:38:00 GMT 2008


The following code snippet triggers an ICE in the C++ frontend on mainline:

======================================
void foo(_Decimal32) {}
======================================

bug.cc:1: internal compiler error: in write_builtin_type, at cp/mangle.c:1819
Please submit a full bug report, [etc.]

The regression was introduced between 2008-07-05 and 2008-07-12.
Before the code was rejected.

Are these data types supposed to be supported in the C++ frontend or
are they C only? http://gcc.gnu.org/gcc-4.3/changes.html seems to
suggest the latter, but OTOH code like "_Decimal32 d;" compiles fine
with the C++ frontend.


-- 
           Summary: [4.4 regression] ICE with decimal floating point data
                    types
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list