diff options
Diffstat (limited to '')
| -rw-r--r-- | pkgs/simple-scalar/0003-fix-obstack.h-post-increment.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/simple-scalar/0003-fix-obstack.h-post-increment.patch b/pkgs/simple-scalar/0003-fix-obstack.h-post-increment.patch new file mode 100644 index 0000000..8e38a80 --- /dev/null +++ b/pkgs/simple-scalar/0003-fix-obstack.h-post-increment.patch @@ -0,0 +1,25 @@ +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 + |
