aboutsummaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/values.c')
-rw-r--r--gdb/values.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/values.c b/gdb/values.c
index 5ed10b5..98631af 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -1254,8 +1254,7 @@ using_struct_return (struct type *value_type, int gcc_p)
"struct return" vs "register return" conventions. */
if (code == TYPE_CODE_STRUCT
|| code == TYPE_CODE_UNION
- || code == TYPE_CODE_ARRAY
- || RETURN_VALUE_ON_STACK (value_type))
+ || code == TYPE_CODE_ARRAY)
return USE_STRUCT_CONVENTION (gcc_p, value_type);
else
return 0;