module.c (write_module): Initialize module_column before writing module to ensure line break occurs at...

* module.c (write_module): Initialize module_column before writing
module to ensure line break occurs at correct column

From-SVN: r270777
This commit is contained in:
Andrew Benson 2019-05-01 19:47:51 +00:00 committed by Andrew Benson
parent db9c372941
commit 9f3a481e08
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2019-05-01 Andrew Benson <abensonca@gmail.com>
* module.c (write_module): Initialize module_column before writing
module to ensure line break occurs at correct column.
2019-05-01 Dominique d'Humieres <dominiq@gcc.gnu.org>
PR fortran/60144

View file

@ -6052,6 +6052,9 @@ write_module (void)
{
int i;
/* Initialize the column counter. */
module_column = 1;
/* Write the operator interfaces. */
mio_lparen ();