From 20561343a0f3bf420852885e070ad150a8be04ec Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 2 Oct 2009 17:07:10 +0200 Subject: loc2c discontiguify loops for not small enough loc_constant. * loc2c.c (loc_constant): Add offset to size after creating piece in loc_constant loop. --- loc2c.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'loc2c.c') diff --git a/loc2c.c b/loc2c.c index 14aaf53e..9a2e475f 100644 --- a/loc2c.c +++ b/loc2c.c @@ -1460,6 +1460,8 @@ discontiguify (struct obstack *pool, int indent, struct location *loc, piece->constant_block = loc->constant_block + offset; add (piece); + + offset += size; } break; -- cgit