From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15492 invoked by alias); 14 Oct 2006 17:31:34 -0000 Received: (qmail 15418 invoked by uid 48); 14 Oct 2006 17:31:27 -0000 Date: Sat, 14 Oct 2006 17:31:00 -0000 Message-ID: <20061014173127.15417.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/18769] ICE in gfc_conv_array_initializer with array initialization with transfer In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" 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 X-SW-Source: 2006-10/txt/msg01241.txt.bz2 List-Id: ------- Comment #13 from pault at gcc dot gnu dot org 2006-10-14 17:31 ------- Jerry, See comment #10. The 'problem' is to take the gmp/mpfr representations of the values in the constructor expression, write them out to form the source, read then back in binary as the destination, convert the array into gmp/mpfr values and pop the values into a constructor array. It is actually simple enough but tedious; with one thing or another I have not gotten round to it. One of the key points will be to get the numeric representation right, so bits will have to be borrowed from all over (arith.c? trans-xxx.c?) to get the gmp/mpfr to the gfc type+kind's and back again. I was sort of hoping that Steve would take an interest because he is exceeding clued up on such matters. However, he and I both have been busy. *sigh* If you want to be guided.... you would be very welcome. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18769