This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Really fix PR 56782
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: Mikael Morin <mikael dot morin at sfr dot fr>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 17 Apr 2013 19:12:56 +0200
- Subject: Re: [patch, fortran] Really fix PR 56782
- References: <516A7D6C dot 7000801 at netcologne dot de> <516AB9D0 dot 3050308 at sfr dot fr> <516ABB54 dot 4090309 at netcologne dot de> <516C5615 dot 8010007 at sfr dot fr>
Hi Mikael,
Attached is what I had in mind.
And a testcase (the '|| expr->expr_type == EXPR_FUNCTION' in
copy_walk_reduction_arg appeared wrong to me, and it was seemingly).
Yes, you can also do it this way.
OK if accompanied by a ChangeLog entry and my test cases, as well :-)
Thomas