public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Nicolas Koenig <koenigni@student.ethz.ch>
To: Jerry DeLisle <jvdelisle@charter.net>,
	GCC-Fortran-ML	<fortran@gcc.gnu.org>,
	GCC-Patches-ML <gcc-patches@gcc.gnu.org>
Subject: Re: [Patch, fortran] PR80442 Handle DATA statement with iteration var in array slice
Date: Sun, 14 May 2017 00:45:00 -0000	[thread overview]
Message-ID: <b88aeb1f-7f9e-a9e5-d03c-d32baa955728@student.ethz.ch> (raw)
In-Reply-To: <c9ba5be1-179c-499e-7c08-e50557fd464f@charter.net>

Hello Jerry,

Thanks for the review. Committed as r248012.

Nicolas


On 05/13/2017 06:30 PM, Jerry DeLisle wrote:
> On 05/13/2017 04:56 AM, Nicolas Koenig wrote:
>> Ping
>> Also, attached is a better test case.
>>
>>
>> On 05/09/2017 10:49 PM, Nicolas Koenig wrote:
>>> Hello everyone,
>>>
>>> since everybody seems to be submitting patches the last few days, I thought I
>>> might as well :)
>>> Attached is a patch that makes the compiler capable of dealing with implied do
>>> variables in
>>> array slices in data statements.
>>> The copying of the expressions is necessary since gfc_simplify_expr(expr, 1)
>>> substitutes every
>>> symbol in expr that is on the iter_stack with its value.
>>>
>>> Ok for trunk?
> It looks OK and thanks for patch.
>
> Jerry
>
>
>>> Nicolas
>>>
>>> Regression tested for x86_64-pc-linux-gnu.
>>>
>>> Changelog:
>>> 2017-05-09  Nicolas Koenig  <koenigni@student.ethz.ch>
>>>
>>>          PR fortran/80442
>>>          * array.c (gfc_ref_dimen_size): Simplify stride
>>>          expression
>>>          * data.c (gfc_advance_section): Simplify start,
>>>          end and stride expressions
>>>          (gfc_advance_section): Simplify start and end
>>>          expressions
>>>          (gfc_get_section_index): Simplify start expression
>>>
>>> 2017-05-09  Nicolas Koenig  <koenigni@student.ethz.ch>
>>>
>>>          PR fortran/80442
>>>          * gfortran.dg/impl_do_var_data.f90: New Test
>>>
>>>

      reply	other threads:[~2017-05-13 23:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-09 20:52 Nicolas Koenig
2017-05-13 11:59 ` Nicolas Koenig
2017-05-13 16:52   ` Jerry DeLisle
2017-05-14  0:45     ` Nicolas Koenig [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=b88aeb1f-7f9e-a9e5-d03c-d32baa955728@student.ethz.ch \
    --to=koenigni@student.ethz.ch \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jvdelisle@charter.net \
    /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).