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 c++/37532] New: [4.4 regression] ICE with decimal floating point data types


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


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