public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* [Bug fortran/98022] [9/10/11 Regression] ICE in gfc_assign_data_value,  at fortran/data.c:468 since r9-3803-ga5fbc2f36a291cbe
       [not found] ` <bug-98022-10374-V0slYNQyDI@http.gcc.gnu.org/bugzilla/>
@ 2020-12-26 16:49   ` Paul Richard Thomas
  0 siblings, 0 replies; only message in thread
From: Paul Richard Thomas @ 2020-12-26 16:49 UTC (permalink / raw)
  To: fortran

Dear All,

I decided to turn this into an unconditional error since the testcase
violates F18(R841). However, the code has been corrected such that, were
the error removed, the expected result would be obtained. This also has the
side effect the error recovery is clean.

Regtested on FC33/x86_64.

Paul


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98022

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pault@gcc.gnu.org>:

https://gcc.gnu.org/g:c7256c8260afa313e019fd531574ad33ec49b9f6

commit r11-6342-gc7256c8260afa313e019fd531574ad33ec49b9f6
Author: Paul Thomas <pault@gcc.gnu.org>
Date:   Sat Dec 26 16:44:24 2020 +0000

    Fortran: Correction to recent patch in light of comments [PR98022].

    2020-12-26  Paul Thomas  <pault@gcc.gnu.org>

    gcc/fortran
            PR fortran/98022
            * data.c (gfc_assign_data_value): Throw an error for inquiry
            references. Follow with corrected code that would provide the
            expected result and provides clean error recovery.

    gcc/testsuite/
            PR fortran/98022
            * gfortran.dg/data_inquiry_ref.f90: Change to dg-compile and
            add errors for inquiry references.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-26 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-98022-10374@http.gcc.gnu.org/bugzilla/>
     [not found] ` <bug-98022-10374-V0slYNQyDI@http.gcc.gnu.org/bugzilla/>
2020-12-26 16:49   ` [Bug fortran/98022] [9/10/11 Regression] ICE in gfc_assign_data_value, at fortran/data.c:468 since r9-3803-ga5fbc2f36a291cbe Paul Richard Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).