[Bug middle-end/89246] LTO produces references to cloned symbols which the compiler failed to clone
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 30 11:50:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89246
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 11:50:04 2019
New Revision: 275107
URL: https://gcc.gnu.org/viewcvs?rev=275107&root=gcc&view=rev
Log:
Backported from mainline
2019-02-09 Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/gomp/pr89246-1.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/gomp/pr89246-2.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/i386/i386.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list