infcall, c++: allow more info to be computed for pass-by-reference values
[deliverable/binutils-gdb.git] / gdb / tic6x-tdep.c
index 2df83c4f61970da91dc4f145fba2460681b5d3ec..ca059f91b58032c20acccdae5a994e7faba05cf5 100644 (file)
@@ -784,7 +784,7 @@ tic6x_return_value (struct gdbarch *gdbarch, struct value *function,
       if (type != NULL)
        {
          type = check_typedef (type);
-         if (language_pass_by_reference (type))
+         if (!(language_pass_by_reference (type).trivially_copyable))
            return RETURN_VALUE_STRUCT_CONVENTION;
        }
     }
This page took 0.029388 seconds and 4 git commands to generate.