Be more carefull about DECL merging in LTO (PR lto/85248).
authorMartin Liska <marxin@gcc.gnu.org>
Tue, 10 Apr 2018 07:24:59 +0000 (07:24 +0000)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 10 Apr 2018 07:24:59 +0000 (07:24 +0000)
commit8d96e546b765cf7e008584359065651008e728e1
treedbdf98e4977a4c4df3bd44bfdcb4fed00ccd3bce
parentc1b8f25d8090e778b330555005c81bc0c582a6b8
Be more carefull about DECL merging in LTO (PR lto/85248).

2018-04-10  Richard Biener  <rguenther@suse.de>
    Martin Liska  <mliska@suse.cz>

PR lto/85248
* lto-symtab.c (lto_symtab_merge_p): Handle noreturn attribute.
2018-04-10  Jakub Jelinek  <jakub@redhat.com>

PR lto/85248
* gcc.dg/lto/pr85248_0.c: New test.
* gcc.dg/lto/pr85248_1.c: New test.

From-SVN: r259265
gcc/lto/ChangeLog
gcc/lto/lto-symtab.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr85248_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/pr85248_1.c [new file with mode: 0644]