2019-07-03 Martin Liska <mliska@suse.cz>
PR middle-end/90899
* multiple_target.c (create_dispatcher_calls): Add to comdat
group only if set for ifunc.
2019-07-03 Martin Liska <mliska@suse.cz>
PR middle-end/90899
* gcc.target/i386/pr90899.c: New test.
From-SVN: r272992
+2019-07-03 Martin Liska <mliska@suse.cz>
+
+ PR middle-end/90899
+ * multiple_target.c (create_dispatcher_calls): Add to comdat
+ group only if set for ifunc.
+
2019-07-03 Martin Liska <mliska@suse.cz>
PR target/88056
{
symtab_node *source = ref->referring;
source->create_reference (inode, IPA_REF_ALIAS);
- source->add_to_same_comdat_group (inode);
+ if (inode->get_comdat_group ())
+ source->add_to_same_comdat_group (inode);
}
else
gcc_unreachable ();
+2019-07-03 Martin Liska <mliska@suse.cz>
+
+ PR middle-end/90899
+ * gcc.target/i386/pr90899.c: New test.
+
2019-07-03 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/91033
--- /dev/null
+/* PR middle-end/90899 */
+/* { dg-do compile } */
+/* { dg-require-ifunc "" } */
+
+__attribute__ ((target_clones ("default", "arch=slm"))) static int f () { return 0; }
+__attribute__ ((alias ("f"))) __typeof (f) g;