From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8439 invoked by alias); 23 Nov 2008 08:56:13 -0000 Received: (qmail 29639 invoked by uid 48); 23 Nov 2008 08:54:50 -0000 Date: Sun, 23 Nov 2008 08:56:00 -0000 Message-ID: <20081123085450.29638.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/27766] [meta] -fbounds-check related bugs In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tkoenig 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: 2008-11/txt/msg01952.txt.bz2 ------- Comment #7 from tkoenig at gcc dot gnu dot org 2008-11-23 08:54 ------- (In reply to comment #6) > (2) The failure of gfortran.dg/bound_2.f90 comes from " Incorrect size in > SOURCE argument to RESHAPE intrinsic: is 9, should be 4". This is wrong, the > standard says: > > "If PAD is absent or of size zero, the size of SOURCE shall be greater than or > equal to PRODUCT (SHAPE)." You're right; this is now PR 38234. > (3) I think the failure of gfortran.dg/forall_13.f90: "Array reference out of > bounds for array 'p', upper bound of dimension 1 exceeded (4 > 3)", is also > wrong. This is PR 36091. We should run the testsuite with -fbounds-check to catch this kind of thing. -- tkoenig at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn|38234 | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27766