Miscompilation of make-box when stackable pass is enabled

Joseph Donaldson <[email protected]> Sun, 23 Feb 2025 18:01:17 +0000 (UTC)
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
------=_Part_3522001_779513832.1740333677991
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Hello, Manuel,
I noticed problems when compiling code with -call/cc and -fstackable enabled. Boxes introduced by -call/cc were mistakenly being compiled as stackable when they actually escaped. This resulted in errors later when the escaped value was accessed and it no longer pointed to the original value. I have submitted a simple PR I believe addresses the problem at https://github.com/manuel-serrano/bigloo/pull/128. Please take a look. I definitely could have missed something. 

Also, I recently did some work on cigloo to improve its ability to parse modern C and Gcc extensions. The PR for it is at https://github.com/manuel-serrano/bigloo/pull/126. If you have a chance, please take a look at this too. 

Thanks,Joseph Donaldson
------=_Part_3522001_779513832.1740333677991
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami=
ly:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir=
=3D"ltr" data-setdir=3D"false">Hello, Manuel,</div><div dir=3D"ltr" data-se=
tdir=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"false">I noticed p=
roblems when compiling code with -call/cc and -fstackable enabled. Boxes in=
troduced by -call/cc were mistakenly being compiled as stackable when they =
actually escaped. This resulted in errors later when the escaped value was =
accessed and it no longer pointed to the original value. I have submitted a=
 simple PR I believe addresses the problem at <a href=3D"https://github.com=
/manuel-serrano/bigloo/pull/128" rel=3D"nofollow" target=3D"_blank">https:/=
/github.com/manuel-serrano/bigloo/pull/128</a>. Please take a look. I defin=
itely could have missed something. <br></div><div dir=3D"ltr" data-setdir=
=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"false">Also, I recentl=
y did some work on cigloo to improve its ability to parse modern C and Gcc =
extensions. The PR for it is at <a href=3D"https://github.com/manuel-serran=
o/bigloo/pull/126" rel=3D"nofollow" target=3D"_blank">https://github.com/ma=
nuel-serrano/bigloo/pull/126</a>. If you have a chance, please take a look =
at this too. <br></div><div dir=3D"ltr" data-setdir=3D"false"><br></div><di=
v dir=3D"ltr" data-setdir=3D"false">Thanks,</div><div dir=3D"ltr" data-setd=
ir=3D"false">Joseph Donaldson</div></div></body></html>
------=_Part_3522001_779513832.1740333677991--