+2017-06-29 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/81261
+ * tree-inline.c (expand_call_inline): Combine profile statuses.
+
2017-06-30 Andrew Pinski <apinski@cavium.com>
* tree-if-conv.c (predicate_scalar_phi): Update new_stmt if
+2017-06-29 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/81261
+ * g++.dg/ipa/pr81261.C: New testcase.
+
2017-06-30 Andrew Pinski <apinski@cavium.com>
* gcc.dg/torture/pr81245.c: New testcase.
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O1 -fno-guess-branch-probability" } */
+
+struct CBase {
+ virtual void BaseFunc () {}
+};
+
+struct MMixin {
+ virtual void * MixinFunc (int, void *) = 0;
+};
+
+struct CExample: CBase, public MMixin
+{
+ void *MixinFunc (int arg, void *arg2)
+ {
+ if (arg != 1 || arg2)
+ return 0;
+ return this;
+ }
+};
+
+void *test (MMixin & anExample)
+{
+ return anExample.MixinFunc (1, 0);
+}
+
+int main ()
+{
+ CExample c;
+ return (test (c) != &c);
+}
else
id->dst_simt_vars = NULL;
+ if (profile_status_for_fn (id->src_cfun) == PROFILE_ABSENT)
+ profile_status_for_fn (dst_cfun) = PROFILE_ABSENT;
+
/* If the src function contains an IFN_VA_ARG, then so will the dst
function after inlining. Likewise for IFN_GOMP_USE_SIMT. */
prop_mask = PROP_gimple_lva | PROP_gimple_lomp_dev;