This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
It turned out to be both. I had forgotten that the character length structures can be shared; in this case, the temporary was sharing with the original variable, so that the substring reference wound up applying to both! This is cured by obtaining a new character length structure and populating that.
as you dealt with the above PR, could you please have a look into PR 28174? Either there is something wrong with your fix, or there is an independent problem.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |