public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/93499] ICE in gfc_zero_size_array, at fortran/arith.c:1686
       [not found] <bug-93499-4@http.gcc.gnu.org/bugzilla/>
@ 2020-05-09 19:01 ` anlauf at gcc dot gnu.org
  2020-05-10 17:46 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-05-09 19:01 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |anlauf at gcc dot gnu.org
                 CC|                            |anlauf at gcc dot gnu.org

--- Comment #3 from anlauf at gcc dot gnu.org ---
Patch posted for review:

https://gcc.gnu.org/pipermail/gcc-patches/2020-May/545469.html

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

* [Bug fortran/93499] ICE in gfc_zero_size_array, at fortran/arith.c:1686
       [not found] <bug-93499-4@http.gcc.gnu.org/bugzilla/>
  2020-05-09 19:01 ` [Bug fortran/93499] ICE in gfc_zero_size_array, at fortran/arith.c:1686 anlauf at gcc dot gnu.org
@ 2020-05-10 17:46 ` cvs-commit at gcc dot gnu.org
  2020-05-10 17:50 ` anlauf at gcc dot gnu.org
  2020-05-11 19:27 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-10 17:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 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:92ed82367e7ccf5e031e9cb7c653c14a2d64ca89

commit r11-255-g92ed82367e7ccf5e031e9cb7c653c14a2d64ca89
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Sun May 10 19:46:06 2020 +0200

    PR fortran/93499 - ICE on division by zero in declaration statements

    Division by zero in declaration statements could sometimes
    generate NULL pointers being passed around that lead to ICEs.

    2020-05-10  Harald Anlauf  <anlauf@gmx.de>

    gcc/fortran/
            PR fortran/93499
            * arith.c (gfc_divide): Catch division by zero.
            (eval_intrinsic_f3): Safeguard for NULL operands.

    gcc/testsuite/
            PR fortran/93499
            * gfortran.dg/pr93499.f90: New test.

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

* [Bug fortran/93499] ICE in gfc_zero_size_array, at fortran/arith.c:1686
       [not found] <bug-93499-4@http.gcc.gnu.org/bugzilla/>
  2020-05-09 19:01 ` [Bug fortran/93499] ICE in gfc_zero_size_array, at fortran/arith.c:1686 anlauf at gcc dot gnu.org
  2020-05-10 17:46 ` cvs-commit at gcc dot gnu.org
@ 2020-05-10 17:50 ` anlauf at gcc dot gnu.org
  2020-05-11 19:27 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-05-10 17:50 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

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

--- Comment #5 from anlauf at gcc dot gnu.org ---
Fixed on master for GCC 11.

Thanks for the report!

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

* [Bug fortran/93499] ICE in gfc_zero_size_array, at fortran/arith.c:1686
       [not found] <bug-93499-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-05-10 17:50 ` anlauf at gcc dot gnu.org
@ 2020-05-11 19:27 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-11 19:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 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:1422c2e4462c9b7c44aa035ac56af77565556181

commit r11-288-g1422c2e4462c9b7c44aa035ac56af77565556181
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Mon May 11 21:27:11 2020 +0200

    PR fortran/95053 - ICE in gfc_divide(): Bad basic type

            The fix for PR 93499 introduced a too strict check in gfc_divide
            that could trigger errors in the early parsing phase.  Relax the
            check and defer to a later stage.

    gcc/fortran/

    2020-05-11  Harald Anlauf  <anlauf@gmx.de>

            PR fortran/95053
            * arith.c (gfc_divide): Do not error out if operand 2 is
            non-numeric.  Defer checks to later stage.

    gcc/testsuite/

    2020-05-11  Harald Anlauf  <anlauf@gmx.de>

            PR fortran/95053
            * gfortran.dg/pr95053.f: New test.

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

end of thread, other threads:[~2020-05-11 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93499-4@http.gcc.gnu.org/bugzilla/>
2020-05-09 19:01 ` [Bug fortran/93499] ICE in gfc_zero_size_array, at fortran/arith.c:1686 anlauf at gcc dot gnu.org
2020-05-10 17:46 ` cvs-commit at gcc dot gnu.org
2020-05-10 17:50 ` anlauf at gcc dot gnu.org
2020-05-11 19:27 ` cvs-commit 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).