public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mikael Morin <morin-mikael@orange.fr>
To: Harald Anlauf <anlauf@gmx.de>, fortran@gcc.gnu.org
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH, v2] PR libfortran/103634 - Runtime crash with PACK on zero-sized arrays
Date: Tue, 14 Dec 2021 12:50:16 +0100	[thread overview]
Message-ID: <e9a354ac-0da5-c429-c9d4-c56c39ddab7c@orange.fr> (raw)
In-Reply-To: <44f97688-e1be-e23e-9480-7fc78b3b6d78@gmx.de>

Le 13/12/2021 à 21:27, Harald Anlauf via Fortran a écrit :
> Works better with patch attached...
> 
> Am 13.12.21 um 21:25 schrieb Harald Anlauf via Gcc-patches:
>>
>> The code is so similar (for good reason) that it makes sense to keep
>> it synchronous.  I added code for 'zero_sized' array with the minor
>> difference that I made it boolean instead of integer.
>>
>> I also extended the testcase so that it exercises PACK/pack_internal
>> a little, for argument 'vector' present as well as not.  (There are
>> existing tests for intrinsic types, but not for the issue at hand).
>>
>> Regtested again, and checked the testcase (against other compilers
>> and also with valgrind).
>>
>> OK now?
>>
Yes, thanks.

      parent reply	other threads:[~2021-12-14 11:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09 20:05 [PATCH] " Harald Anlauf
2021-12-09 20:37 ` Mikael Morin
2021-12-13 20:25   ` [PATCH, v2] " Harald Anlauf
2021-12-13 20:27     ` Harald Anlauf
2021-12-13 20:27       ` Harald Anlauf
2021-12-14 11:50       ` Mikael Morin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e9a354ac-0da5-c429-c9d4-c56c39ddab7c@orange.fr \
    --to=morin-mikael@orange.fr \
    --cc=anlauf@gmx.de \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).