re PR middle-end/89246 (LTO produces references to cloned symbols which the compiler...
authorJakub Jelinek <jakub@redhat.com>
Sat, 9 Feb 2019 08:55:39 +0000 (09:55 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 9 Feb 2019 08:55:39 +0000 (09:55 +0100)
commitde3ed9259f3b3cda69d44332b194c1c29666c719
tree4a141d2e5c9110ed370ee53844c75df4c88df255
parent4fe5c8c730ead2286103b95a4226f9d23b95a68a
re PR middle-end/89246 (LTO produces references to cloned symbols which the compiler failed to clone)

PR middle-end/89246
* config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
If !node->definition and TYPE_ARG_TYPES is non-NULL, use
TYPE_ARG_TYPES instead of DECL_ARGUMENTS.

* gcc.dg/gomp/pr89246-1.c: New test.
* gcc.dg/gomp/pr89246-2.c: New test.

From-SVN: r268718
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr89246-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/gomp/pr89246-2.c [new file with mode: 0644]