]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraphclones.cc
re PR lto/62026 (Crash in lto_get_decl_name_mapping)
authorJan Hubicka <hubicka@ucw.cz>
Wed, 15 Oct 2014 17:01:08 +0000 (19:01 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 15 Oct 2014 17:01:08 +0000 (17:01 +0000)
commit48fb6d4090508e8dde8aaa95b366c2489f62950b
tree1f015af4afa8c3718025ac862a9f9c29c76b5e0f
parentd5ffd10bc2afc1da7e18e63721a5056fcc420633
re PR lto/62026 (Crash in lto_get_decl_name_mapping)

PR lto/62026
* lto/pr62026.C: New testcase.

* cgraphclones.c (duplicate_thunk_for_node): Get body to have args
to duplicate.
* lto-streamer-out.c (lto_output): Handle correctly thunks that was born
at WPA time.

From-SVN: r216278
gcc/ChangeLog
gcc/cgraphclones.c
gcc/lto-streamer-out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr62026.C [new file with mode: 0644]