[Bug fortran/80741] [Regression 7/8] incorrect behaviour of rewind with namelist

2017-05-16 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80741

Jerry DeLisle  changed:

   What|Removed |Added

 CC||pault at gcc dot gnu.org

--- Comment #3 from Jerry DeLisle  ---
Regression testing completed. The offending patch is the DTIO changes on
8-31-2016.

Looking at the tree dump we see things like:

   dt_parm.4.common.iostat = 
dt_parm.4.namelist_name = &"test"[1]{lb: 1 sz: 1};
dt_parm.4.namelist_name_len = 4;
dt_parm.4.common.flags = 33056;
_gfortran_st_set_nml_dtio_var (_parm.4, , &"x"[1]{lb: 1 sz: 1}, 4, 0,
8, 0B, 0B);
_gfortran_st_set_nml_dtio_var (_parm.4, , &"y"[1]{lb: 1 sz: 1}, 4, 0,
8, 0B, 0B);
dt_parm.4.common.unit = io;
_gfortran_st_read (_parm.4);
_gfortran_st_read_done (_parm.4);
  }
  {

Where this case does not involve dtio.

[Bug fortran/80741] [Regression 7/8] incorrect behaviour of rewind with namelist

2017-05-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80741

--- Comment #2 from Jerry DeLisle  ---
My initial looks are seeing a DTIO related frontend issue but this is not
causing the regression as far as I can tell.

I have looked at several other intervening patches and don't see anything
obvious, so I am starting a regression hunt.

If anyone beats me to it, report here, I will be monitoring this bug.

BTW, thanks James for the report. Much appreciated.

[Bug fortran/80741] [Regression 7/8] incorrect behaviour of rewind with namelist

2017-05-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80741

Jerry DeLisle  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2017-05-15
 CC||jvdelisle at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |jvdelisle at gcc dot 
gnu.org
Summary|incorrect behaviour of  |[Regression 7/8] incorrect
   |rewind with namelist|behaviour of rewind with
   ||namelist
 Ever confirmed|0   |1

--- Comment #1 from Jerry DeLisle  ---
Confirmed and a regression