26 lines
811 B
Diff
26 lines
811 B
Diff
From b074acb822459a42d2507ad5729e9e60bb1de572 Mon Sep 17 00:00:00 2001
|
|
From: Alejandro Soto <alejandro@34project.org>
|
|
Date: Wed, 26 Apr 2023 13:35:42 -0600
|
|
Subject: [PATCH 2/3] fix obstack.h post-increment
|
|
|
|
---
|
|
obstack.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/gcc-2.7.2.3/obstack.h b/gcc-2.7.2.3/obstack.h
|
|
index 28bcd44..3a517b5 100644
|
|
--- a/gcc-2.7.2.3/obstack.h
|
|
+++ b/gcc-2.7.2.3/obstack.h
|
|
@@ -338,7 +338,7 @@ __extension__ \
|
|
if (__o->next_free + sizeof (void *) > __o->chunk_limit) \
|
|
_obstack_newchunk (__o, sizeof (void *)); \
|
|
if (!__o->alloc_failed) \
|
|
- *((void **)__o->next_free)++ = ((void *)datum); \
|
|
+ *((void **)__o->next_free++) = ((void *)datum); \
|
|
(void) 0; })
|
|
|
|
#define obstack_int_grow(OBSTACK,datum) \
|
|
--
|
|
2.38.4
|
|
|