From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10119 invoked by alias); 13 Sep 2005 08:34:30 -0000 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 Received: (qmail 10099 invoked by uid 48); 13 Sep 2005 08:34:26 -0000 Date: Tue, 13 Sep 2005 08:34:00 -0000 Message-ID: <20050913083426.10098.qmail@sourceware.org> From: "rsandifo at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041106124307.18315.Thomas.Koenig@online.de> References: <20041106124307.18315.Thomas.Koenig@online.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/18315] missing error for incompatible array assignment involving lbound X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg01573.txt.bz2 List-Id: ------- Additional Comments From rsandifo at gcc dot gnu dot org 2005-09-13 08:34 ------- After the patch for 18899, this now works for: program main implicit none real :: a(0:9) integer :: bn(10) bn(1:1) = lbound(a) print *, bn(1) end program main but like FX says, we probably ought to report an error for the mismatch in the original testcase. Reclassifying as a missing diagnostic bug. -- What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Keywords|wrong-code |accepts-invalid Last reconfirmed|2005-05-08 17:28:58 |2005-09-13 08:34:24 date| | Summary|wrong result for lbound with|missing error for |single argument |incompatible array | |assignment involving lbound http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18315