From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8151 invoked by alias); 14 Aug 2010 09:04:14 -0000 Received: (qmail 5870 invoked by uid 48); 14 Aug 2010 09:03:55 -0000 Date: Sat, 14 Aug 2010 09:04:00 -0000 Message-ID: <20100814090355.5869.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/35810] [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables 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: 2010-08/txt/msg01167.txt.bz2 ------- Comment #8 from burnus at gcc dot gnu dot org 2010-08-14 09:03 ------- Another test case, which requires PR45170 (allocable string lengths); it should print "|cdef|" (found at c.l.f in the thread "Problem with automatic reallocation of allocatable scalar on assignment") program tst character(len=:), allocatable :: S S='abcdef' S=S(3:) write(*,'("|",A,"|")')S end program tst -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35810