From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1166 invoked by alias); 1 Jul 2010 15:01:57 -0000 Received: (qmail 31359 invoked by uid 48); 1 Jul 2010 15:01:25 -0000 Date: Thu, 01 Jul 2010 15:01:00 -0000 Message-ID: <20100701150125.31357.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/32454] Bounds-check misses overflow of lhs array In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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-07/txt/msg00081.txt.bz2 ------- Comment #2 from dominiq at lps dot ens dot fr 2010-07-01 15:01 ------- > I forgot to mention: I think this file is valid Fortran 2003 and only invalid > Fortran 95. Maybe using: > integer, dimension(4) :: y > is a better test case. It is caught at compile time: y = [y, (99,i=1,4)] 1 Error: Different shape for array assignment at (1) on dimension 1 (4 and 8) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32454