[Patch, Fortran] PR87556 – for FORM TEAM also use argse.pre/post
Tobias Burnus
burnus@net-b.de
Mon Oct 15 19:46:00 GMT 2018
as the subject states, FORM TEAM was only using the resulting tree
expression, ignoring code which was generated before (or afterward).
I am not sure how to best convert it to a test-suite test case. For
form team (team(this_image()), my_team2)
the old dump was:
   integer(kind=4) D.3829;
â¦
   _gfortran_caf_form_team (team (&D.3829), &my_team2, 0);
the new one is:
 {
   integer(kind=4) D.3822;
   D.3822 = _gfortran_caf_this_image (0);
   _gfortran_caf_form_team (team (&D.3822), &my_team2, 0);
 }
[Does it make sense to check for 5 "this_image (0)" calls? or for 4
"D.\[0-9\]+ = _gfortran_caf_this_image (0);" calls?]
Build and on-going regtesting on x86-64-gnu-linux.
OK for the trunk?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr87556.diff
Type: text/x-patch
Size: 3501 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20181015/0aad669f/attachment.bin>
More information about the Fortran
mailing list