re PR target/65531 (ICE: symtab_node::verify failed: Two symbols with same comdat_gro...
authorIlya Enkovich <ilya.enkovich@intel.com>
Tue, 31 Mar 2015 08:29:28 +0000 (08:29 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Tue, 31 Mar 2015 08:29:28 +0000 (08:29 +0000)
commitb7e85ee1070cecffe7dc6b722b67afd758663fb2
tree19f537ccb6ebaa77c99c38727cd554e769dbc5d3
parentce52d8847ea9f0a105a67f5a746ba1dcb998f534
re PR target/65531 (ICE: symtab_node::verify failed: Two symbols with same comdat_group are not linked by the same_comdat_group list. with -fcheck-pointer-bounds -mmpx)

gcc/

PR target/65531
* ipa-chkp.c (chkp_maybe_create_clone): Don't set
same_comdat_group for external symbols.
* symtab.c (symtab_node::verify_symtab_nodes): Avoid
infinite same_comdat_group traversal loop.

gcc/testsuite/

PR target/65531
* gcc.target/i386/mpx/pr65531.cc: New.

From-SVN: r221788
gcc/ChangeLog
gcc/ipa-chkp.c
gcc/symtab.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/mpx/pr65531.cc [new file with mode: 0644]