[Bug c++/40538] New: Compiler crashes

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Wed Jun 24 10:55:00 GMT 2009


This code:
typedef typeof(1.0df) decimal32_t;
decimal32_t foo(decimal32_t x) { return x; }
int main() {
    decimal32_t d;
    d = foo(d);
    return 0;
    }

gets you:
~/ootbc/personal/ivan$ g++ foo.cc
foo.cc:2: internal compiler error: in write_builtin_type, at cp/mangle.c:1852
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: Compiler crashes
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net


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



More information about the Gcc-bugs mailing list