From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11712 invoked by alias); 19 Oct 2015 20:02:13 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 11693 invoked by uid 89); 19 Oct 2015 20:02:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-ob0-f172.google.com Received: from mail-ob0-f172.google.com (HELO mail-ob0-f172.google.com) (209.85.214.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 19 Oct 2015 20:02:11 +0000 Received: by obbzf10 with SMTP id zf10so148512852obb.2; Mon, 19 Oct 2015 13:02:09 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.91.6 with SMTP id ca6mr20082335obb.30.1445284929790; Mon, 19 Oct 2015 13:02:09 -0700 (PDT) Received: by 10.202.168.133 with HTTP; Mon, 19 Oct 2015 13:02:09 -0700 (PDT) In-Reply-To: <20151019191326.GA95651@troutmask.apl.washington.edu> References: <20151019191326.GA95651@troutmask.apl.washington.edu> Date: Mon, 19 Oct 2015 20:04:00 -0000 Message-ID: Subject: Re: [PATCH] fortran/68019 -- Remove an assert() that prevents error message From: Paul Richard Thomas To: Steve Kargl Cc: "fortran@gcc.gnu.org" , gcc-patches Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-10/txt/msg01792.txt.bz2 Hi Steve, Yes, this is OK for trunk. I suggest that it is so obvious that it should go into 5 branch as well. Cheers Paul On 19 October 2015 at 21:13, Steve Kargl wrote: > The attached patch removes an assert() that prevents gfortran from > issuing an error message. Built and tested on x86_64-*-freebsd. > Althoug probably an "obviously correct" patch, OK to commit? > > 2015-10-19 Steven G. Kargl > > PR fortran/68019 > * decl.c (add_init_expr_to_sym): Remove an assert() to allow an error > message to be issued. > > 2015-10-19 Steven G. Kargl > > PR fortran/68019 > * gfortran.dg/pr68019.f90: new test. > > -- > Steve -- Outside of a dog, a book is a man's best friend. Inside of a dog it's too dark to read. Groucho Marx