public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/93366] ICE: Invalid expression in gfc_element_size
       [not found] <bug-93366-4@http.gcc.gnu.org/bugzilla/>
@ 2020-04-29 20:57 ` anlauf at gcc dot gnu.org
  2020-04-29 21:20 ` sgk at troutmask dot apl.washington.edu
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-04-29 20:57 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

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

--- Comment #3 from anlauf at gcc dot gnu.org ---
(In reply to kargl from comment #2)
> patch against last SVN revision.
Steve,

do you still care?

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

* [Bug fortran/93366] ICE: Invalid expression in gfc_element_size
       [not found] <bug-93366-4@http.gcc.gnu.org/bugzilla/>
  2020-04-29 20:57 ` [Bug fortran/93366] ICE: Invalid expression in gfc_element_size anlauf at gcc dot gnu.org
@ 2020-04-29 21:20 ` sgk at troutmask dot apl.washington.edu
  2020-04-30 20:43 ` anlauf at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: sgk at troutmask dot apl.washington.edu @ 2020-04-29 21:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Wed, Apr 29, 2020 at 08:57:44PM +0000, anlauf at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93366
> 
> anlauf at gcc dot gnu.org changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |anlauf at gcc dot gnu.org
> 
> --- Comment #3 from anlauf at gcc dot gnu.org ---
> (In reply to kargl from comment #2)
> > patch against last SVN revision.
> Steve,
> 
> do you still care?
> 

It is not that I don't care.  It is that I no longer have
an ability to commit patches or checkout top-of-tree.  The
recent io.c discuss that I participated in shows that top-of-tree
and svn r280157 have started to diverge substantially.  So,
my time is done.  It is time for a younger generation to 
step up.

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

* [Bug fortran/93366] ICE: Invalid expression in gfc_element_size
       [not found] <bug-93366-4@http.gcc.gnu.org/bugzilla/>
  2020-04-29 20:57 ` [Bug fortran/93366] ICE: Invalid expression in gfc_element_size anlauf at gcc dot gnu.org
  2020-04-29 21:20 ` sgk at troutmask dot apl.washington.edu
@ 2020-04-30 20:43 ` anlauf at gcc dot gnu.org
  2020-05-04 20:16 ` anlauf at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-04-30 20:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from anlauf at gcc dot gnu.org ---
Created attachment 48427
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48427&action=edit
Update and extension of Steve's patch

I've updated Steve's patch to reflect current master before creating the
10-release branch.

My additions handle a few accepts-invalid cases for
KIND, MERGE, SHAPE, SPREAD.

If there are no objections, I will submit with a testcase after the 10 release
for the 11 master.

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

* [Bug fortran/93366] ICE: Invalid expression in gfc_element_size
       [not found] <bug-93366-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-04-30 20:43 ` anlauf at gcc dot gnu.org
@ 2020-05-04 20:16 ` anlauf at gcc dot gnu.org
  2020-05-05 20:17 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-05-04 20:16 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

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

--- Comment #6 from anlauf at gcc dot gnu.org ---
Patch posted at

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

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

* [Bug fortran/93366] ICE: Invalid expression in gfc_element_size
       [not found] <bug-93366-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2020-05-04 20:16 ` anlauf at gcc dot gnu.org
@ 2020-05-05 20:17 ` cvs-commit at gcc dot gnu.org
  2020-05-05 20:32 ` anlauf at gcc dot gnu.org
  2020-06-14 12:58 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-05 20:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 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:5a26ea7e0f8b9a00a2eb0a5e8f70efa04056f167

commit r11-120-g5a26ea7e0f8b9a00a2eb0a5e8f70efa04056f167
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Tue May 5 22:16:50 2020 +0200

    PR fortran/93366 - ICE on invalid, reject invalid use of NULL() as argument

    gcc/fortran/ChangeLog:

    2020-05-05  Steve Kargl  <kargl@gcc.gnu.org>
            Harald Anlauf  <anlauf@gmx.de>

            PR fortran/93366
            * check.c (gfc_check_associated, invalid_null_arg): Factorize
            check for presence of invalid NULL() argument.
            (gfc_check_kind, gfc_check_merge, gfc_check_shape)
            (gfc_check_sizeof, gfc_check_spread, gfc_check_transfer): Use this
            check for presence of invalid NULL() arguments.

    gcc/testsuite/ChangeLog:

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

            PR fortran/93366
            * gfortran.dg/pr93366.f90: New test.

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

* [Bug fortran/93366] ICE: Invalid expression in gfc_element_size
       [not found] <bug-93366-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2020-05-05 20:17 ` cvs-commit at gcc dot gnu.org
@ 2020-05-05 20:32 ` anlauf at gcc dot gnu.org
  2020-06-14 12:58 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-05-05 20:32 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

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

--- Comment #8 from anlauf at gcc dot gnu.org ---
Fixed on master for GCC 11.  Thanks for the report!

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

* [Bug fortran/93366] ICE: Invalid expression in gfc_element_size
       [not found] <bug-93366-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2020-05-05 20:32 ` anlauf at gcc dot gnu.org
@ 2020-06-14 12:58 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-14 12:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:294105192c9f6bdcebce81752fc1e64e2b7adebb

commit r10-8301-g294105192c9f6bdcebce81752fc1e64e2b7adebb
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Tue May 5 22:16:50 2020 +0200

    PR fortran/93366 - ICE on invalid, reject invalid use of NULL() as argument

    gcc/fortran/ChangeLog:

    2020-05-05  Steve Kargl  <kargl@gcc.gnu.org>
                Harald Anlauf  <anlauf@gmx.de>

            PR fortran/93366
            * check.c (gfc_check_associated, invalid_null_arg): Factorize
            check for presence of invalid NULL() argument.
            (gfc_check_kind, gfc_check_merge, gfc_check_shape)
            (gfc_check_sizeof, gfc_check_spread, gfc_check_transfer): Use this
            check for presence of invalid NULL() arguments.

    gcc/testsuite/ChangeLog:

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

            PR fortran/93366
            * gfortran.dg/pr93366.f90: New test.

    (cherry picked from commit 5a26ea7e0f8b9a00a2eb0a5e8f70efa04056f167)

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

end of thread, other threads:[~2020-06-14 12:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93366-4@http.gcc.gnu.org/bugzilla/>
2020-04-29 20:57 ` [Bug fortran/93366] ICE: Invalid expression in gfc_element_size anlauf at gcc dot gnu.org
2020-04-29 21:20 ` sgk at troutmask dot apl.washington.edu
2020-04-30 20:43 ` anlauf at gcc dot gnu.org
2020-05-04 20:16 ` anlauf at gcc dot gnu.org
2020-05-05 20:17 ` cvs-commit at gcc dot gnu.org
2020-05-05 20:32 ` anlauf at gcc dot gnu.org
2020-06-14 12:58 ` 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).