[Bug middle-end/89246] LTO produces references to cloned symbols which the compiler failed to clone

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89246

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |7.5

--- Comment #6 from Jakub Jelinek  ---
Fixed.

[Bug middle-end/89246] LTO produces references to cloned symbols which the compiler failed to clone

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89246

--- Comment #5 from Jakub Jelinek  ---
Author: jakub
Date: Fri Aug 30 11:50:04 2019
New Revision: 275107

URL: https://gcc.gnu.org/viewcvs?rev=275107=gcc=rev
Log:
Backported from mainline
2019-02-09  Jakub Jelinek  

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

[Bug middle-end/89246] LTO produces references to cloned symbols which the compiler failed to clone

2019-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89246

--- Comment #4 from Jakub Jelinek  ---
Author: jakub
Date: Thu Feb 14 07:38:52 2019
New Revision: 268863

URL: https://gcc.gnu.org/viewcvs?rev=268863=gcc=rev
Log:
Backported from mainline
2019-02-09  Jakub Jelinek  

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-8-branch/gcc/testsuite/gcc.dg/gomp/pr89246-1.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/gomp/pr89246-2.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/config/i386/i386.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog

[Bug middle-end/89246] LTO produces references to cloned symbols which the compiler failed to clone

2019-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89246

--- Comment #3 from Jakub Jelinek  ---
Author: jakub
Date: Sat Feb  9 08:55:39 2019
New Revision: 268718

URL: https://gcc.gnu.org/viewcvs?rev=268718=gcc=rev
Log:
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:
trunk/gcc/testsuite/gcc.dg/gomp/pr89246-1.c
trunk/gcc/testsuite/gcc.dg/gomp/pr89246-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog

[Bug middle-end/89246] LTO produces references to cloned symbols which the compiler failed to clone

2019-02-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89246

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek  ---
Created attachment 45644
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45644=edit
gcc9-pr89246.patch

Untested fix.

[Bug middle-end/89246] LTO produces references to cloned symbols which the compiler failed to clone

2019-02-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89246

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-02-08
  Component|ipa |middle-end
 Ever confirmed|0   |1