re PR middle-end/66221 (lto1: error: type variant has different TYPE_ARG_TYPES)
authorIlya Enkovich <enkovich.gnu@gmail.com>
Thu, 21 May 2015 08:32:52 +0000 (08:32 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Thu, 21 May 2015 08:32:52 +0000 (08:32 +0000)
commit551dc3008c48b64027cc8b143ee5a342834b0ba4
treee07368d6654f4fbbebf36eaee06bf19631d68783
parent0fee2ac2882790ca549b1c5504f7fa1e59b25a39
re PR middle-end/66221 (lto1: error: type variant has different TYPE_ARG_TYPES)

gcc/

PR middle-end/66221
* ipa-chkp.c (chkp_copy_function_type_adding_bounds): Use
build_distinct_type_copy to copy bounds.

gcc/testsuite/

PR middle-end/66221
* gcc.dg/lto/pr66221_0.c: New test.
* gcc.dg/lto/pr66221_1.c: New test.

From-SVN: r223471
gcc/ChangeLog
gcc/ipa-chkp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr66221_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/pr66221_1.c [new file with mode: 0644]