From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27271 invoked by alias); 14 Jul 2010 17:42:22 -0000 Received: (qmail 27226 invoked by uid 48); 14 Jul 2010 17:42:12 -0000 Date: Wed, 14 Jul 2010 17:42:00 -0000 Message-ID: <20100714174212.27225.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/44744] Missing -fcheck=bounds diagnostic for function assignment with tmp array 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-07/txt/msg01507.txt.bz2 ------- Comment #3 from burnus at gcc dot gnu dot org 2010-07-14 17:42 ------- After PR 44773 has been fixed, we are back to things which failed before. Test case which has no diagnostic (same as the one in comment 0 but with TARGET attribute to force the creation of an array temporary) integer, target :: a(-4:1), b(0:4) b = 5 i = 0 a(i:1) = f(b) contains function f(x) integer :: x(:),f(size(x)) f = x end function end -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |diagnostic Last reconfirmed|0000-00-00 00:00:00 |2010-07-14 17:42:11 date| | Summary|[4.6 Regression] Missed |Missing -fcheck=bounds |runtime error after revision|diagnostic for function |161550 |assignment with tmp array http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44744