[lto] Fixup loops before lto write-out
authorRichard Biener <rguenther@suse.de>
Thu, 26 Apr 2018 13:26:25 +0000 (13:26 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 26 Apr 2018 13:26:25 +0000 (13:26 +0000)
commitd160ae7814db14b36fc7eacc5fc14b77604837a1
tree6d18ef2621835308dfc87dfd49bb788963c0eb64
parentca9dc642200c91e750e598ef675931dafe50abb5
[lto] Fixup loops before lto write-out

2018-04-26  Richard Biener <rguenther@suse.de>
    Tom de Vries  <tom@codesourcery.com>

PR lto/85422
* lto-streamer-out.c (output_function): Fixup loops if required to match
discovery done in the reader.

* testsuite/libgomp.oacc-c-c++-common/pr85422.c: New test.

Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r259675
gcc/ChangeLog
gcc/lto-streamer-out.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/pr85422.c [new file with mode: 0644]