Make module files reproducible
commit91ab8d650957025a9a6f8d1c55744fdbfef45fd7
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Feb 2018 07:59:10 +0000 (13 07:59 +0000)
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Feb 2018 07:59:10 +0000 (13 07:59 +0000)
treebcf6f7e7477f2497387dc0933512323bd962de50
parenteeace813c643ee2f2c5f37bf984a680be6032a2d
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257613 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/module.c