Fix ICE on invalid calls_comdat_local flag [pr94582]
authorJan Hubicka <jh@suse.cz>
Mon, 20 Apr 2020 13:25:50 +0000 (15:25 +0200)
committerJan Hubicka <jh@suse.cz>
Mon, 20 Apr 2020 13:25:50 +0000 (15:25 +0200)
commit48c82310947355665d628d4d1c8e736df9987574
tree08aeb9c41a0be02b7c2ebda0771730d22e843f81
parentaeb430aadc3c91af50095be924365981d85f8b8a
Fix ICE on invalid calls_comdat_local flag [pr94582]

PR ipa/94582
* tree-inline.c (optimize_inline_calls): Recompute calls_comdat_local
flag.

* g++.dg/torture/pr94582.C: New test.
gcc/ChangeLog
gcc/ipa-comdats.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr94582.C [new file with mode: 0644]
gcc/tree-inline.c