From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31587 invoked by alias); 17 Sep 2007 17:39:27 -0000 Received: (qmail 31514 invoked by uid 48); 17 Sep 2007 17:39:16 -0000 Date: Mon, 17 Sep 2007 17:39:00 -0000 Message-ID: <20070917173916.31513.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31610] ICE with transfer, merge in gfc_conv_expr_descriptor In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" 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: 2007-09/txt/msg01375.txt.bz2 ------- Comment #10 from burnus at gcc dot gnu dot org 2007-09-17 17:39 ------- For the warning that TRANSFER contains partially undefined values, see also PR 33037. For MERGE, see PR 33455 Independent of those, the following valid program still gives an ICE (if one removes the "20" in transfer, the ICE is gone). Also the patch http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01953.html does not seem to help. character(len=20) :: string logical :: a(20) a = .true. write(*,*) transfer (merge (transfer(REPEAT("A",20), "x", 20), "b", a), string ) end -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31610