lto-streamer-out.c (class DFS): Adjust hash_scc method.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 30 Jun 2015 21:05:02 +0000 (21:05 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 30 Jun 2015 21:05:02 +0000 (21:05 +0000)
commitcec34ee582db1c7990d6f871e953862fe4fb7ca1
tree7a1a1508684e972a3637251b0c51eecde667a9c1
parentec4a505ff54c848fd4d71c7d121482c65e7b5ce7
lto-streamer-out.c (class DFS): Adjust hash_scc method.

* lto-streamer-out.c (class DFS): Adjust hash_scc method.
(DFS::DFS): Pass this_ref_p and ref_p to hash_scc.
(hash_scc): Add this_ref_p and ref_p parameters and pass them
to the inner DFS walk.

From-SVN: r225212
gcc/ChangeLog
gcc/lto-streamer-out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/lto17.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto17.ads [new file with mode: 0644]