From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6979 invoked by alias); 4 Nov 2005 14:54:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 6946 invoked by uid 48); 4 Nov 2005 14:54:45 -0000 Date: Fri, 04 Nov 2005 14:54:00 -0000 Message-ID: <20051104145445.6945.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/20244] internal compiler error: in fold_convert, at fold-const.c:2003 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "anglade at gmail dot com" X-SW-Source: 2005-11/txt/msg00643.txt.bz2 List-Id: ------- Comment #4 from anglade at gmail dot com 2005-11-04 14:54 ------- Hi all, Looking at the examples of failure due to this bug, I've observed that they are due to user defined datatype. The function fold_convert seems to handle only intrinsic datatypes while the examples were using user defined one. If user-defined datatypes are removed, the compilation just go through fine. This feeling about datatype is confirmed by a meer look at fold-const.c. Which is switch/casing the datatypes. Unfortunately I'm not a gcc expert and really don't know how this should be bug-fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20244