PR c++/83490
* calls.c (compute_argument_addresses): Ignore TYPE_EMPTY_P arguments.
* g++.dg/abi/empty29.C: New test.
From-SVN: r255852
+2017-12-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/83490
+ * calls.c (compute_argument_addresses): Ignore TYPE_EMPTY_P arguments.
+
2017-12-20 Julia Koval <julia.koval@intel.com>
* common/config/i386/i386-common.c (OPTION_MASK_ISA_VPCLMULQDQ_SET,
&& args[i].partial == 0)
continue;
+ if (TYPE_EMPTY_P (TREE_TYPE (args[i].tree_value)))
+ continue;
+
/* Pointer Bounds are never passed on the stack. */
if (POINTER_BOUNDS_P (args[i].tree_value))
continue;
+2017-12-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/83490
+ * g++.dg/abi/empty29.C: New test.
+
2017-12-20 Martin Liska <mliska@suse.cz>
PR middle-end/82404
--- /dev/null
+// PR c++/83490
+// { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-options "-fipa-icf-functions -Og -maccumulate-outgoing-args" }
+
+struct A {};
+A operator < (A, A) { return A (); }
+A operator > (A, A) { return A (); }