Make module files reproducible
authorAlastair McKinstry <alastair.mckinstry@sceal.ie>
Tue, 13 Feb 2018 07:59:10 +0000 (07:59 +0000)
committerJanne Blomqvist <jb@gcc.gnu.org>
Tue, 13 Feb 2018 07:59:10 +0000 (09:59 +0200)
commit7b47686da37d266cfcc5f45cd44222737c12390a
treebcf6f7e7477f2497387dc0933512323bd962de50
parent8df1868d92b45fb257bd09bc8cd8af3baff0ae85
Make module files reproducible

Using lbasename ensures that the build path does not end up in the
module file.

Regtested on x86_64-pc-linux-gnu, committed to trunk. Will shortly
backport to the 6 and 7 branches as well.

2018-02-13  Alastair McKinstry  <alastair.mckinstry@sceal.ie>
    Janne Blomqvist  <jb@gcc.gnu.org>

* module.c (dump_module): Use lbasename to ensure that module
files are reproducible.

Co-Authored-By: Janne Blomqvist <jb@gcc.gnu.org>
From-SVN: r257613
gcc/fortran/ChangeLog
gcc/fortran/module.c