summaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index d0bad5df4fb..11107b1a077 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -179,9 +179,7 @@ void
finish_thunk (tree thunk)
{
tree function, name;
- tree fixed_offset = build_int_cst (ssizetype,
- THUNK_FIXED_OFFSET (thunk),
- THUNK_FIXED_OFFSET (thunk) < 0 ? -1 : 0);
+ tree fixed_offset = build_int_cst (ssizetype, THUNK_FIXED_OFFSET (thunk));
tree virtual_offset = THUNK_VIRTUAL_OFFSET (thunk);
my_friendly_assert (!DECL_NAME (thunk) && DECL_THUNK_P (thunk), 20021127);