public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/70070] ICE on initializing character data beyond min/max bound
       [not found] <bug-70070-4@http.gcc.gnu.org/bugzilla/>
@ 2021-01-24 21:13 ` anlauf at gcc dot gnu.org
  2021-01-25 20:35 ` cvs-commit at gcc dot gnu.org
  2021-01-25 20:44 ` anlauf at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: anlauf at gcc dot gnu.org @ 2021-01-24 21:13 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gcc dot gnu.org
           Keywords|                            |ice-on-invalid-code

--- Comment #13 from anlauf at gcc dot gnu.org ---
Patch: https://gcc.gnu.org/pipermail/fortran/2021-January/055628.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/70070] ICE on initializing character data beyond min/max bound
       [not found] <bug-70070-4@http.gcc.gnu.org/bugzilla/>
  2021-01-24 21:13 ` [Bug fortran/70070] ICE on initializing character data beyond min/max bound anlauf at gcc dot gnu.org
@ 2021-01-25 20:35 ` cvs-commit at gcc dot gnu.org
  2021-01-25 20:44 ` anlauf at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-25 20:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:

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

commit r11-6901-ga61efd469371b71483d42afa1038e6a8c16baf4a
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Mon Jan 25 21:33:53 2021 +0100

    PR fortran/70070 - ICE on initializing character data beyond min/max bound

    Check for initialization of substrings beyond bounds in DATA statements.

    gcc/fortran/ChangeLog:

            PR fortran/70070
            * data.c (create_character_initializer): Check substring indices
            against bounds.
            (gfc_assign_data_value): Catch error returned from
            create_character_initializer.

    gcc/testsuite/ChangeLog:

            PR fortran/70070
            * gfortran.dg/pr70070.f90: New test.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/70070] ICE on initializing character data beyond min/max bound
       [not found] <bug-70070-4@http.gcc.gnu.org/bugzilla/>
  2021-01-24 21:13 ` [Bug fortran/70070] ICE on initializing character data beyond min/max bound anlauf at gcc dot gnu.org
  2021-01-25 20:35 ` cvs-commit at gcc dot gnu.org
@ 2021-01-25 20:44 ` anlauf at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: anlauf at gcc dot gnu.org @ 2021-01-25 20:44 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from anlauf at gcc dot gnu.org ---
Fixed for gcc-11.  Closing.

Thanks for the report!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-25 20:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-70070-4@http.gcc.gnu.org/bugzilla/>
2021-01-24 21:13 ` [Bug fortran/70070] ICE on initializing character data beyond min/max bound anlauf at gcc dot gnu.org
2021-01-25 20:35 ` cvs-commit at gcc dot gnu.org
2021-01-25 20:44 ` anlauf at gcc dot gnu.org

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).