From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14301 invoked by alias); 24 Jun 2009 10:55:34 -0000 Received: (qmail 13919 invoked by uid 48); 24 Jun 2009 10:55:22 -0000 Date: Wed, 24 Jun 2009 10:55:00 -0000 Subject: [Bug c++/40538] New: Compiler crashes X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "igodard at pacbell dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg01753.txt.bz2 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 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