-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression from 2.0 to version-2-2
/devel
with refc
, LTO and -fstack-usage
#24746
Comments
version-2-2
/devel
with refc
, LTO and -fstack-usage
version-2-2
/devel
with refc
, LTO and -fstack-usage
A diff of the C source generated -- some variable name noise, but fairly clear superficially what changed: @@ -90,41 +75,49 @@
}
static N_INLINE(void, nimFrame)(TFrame *s_p0) {
{
- if (!(framePtr__system_u2617 == ((TFrame *)NIM_NIL)))
+ if (!(framePtr__system_u2710 == ((TFrame *)NIM_NIL)))
goto LA3_;
(*s_p0).calldepth = ((NI16)0);
}
goto LA1_;
LA3_:;
{
- (*s_p0).calldepth = (NI16)((*framePtr__system_u2617).calldepth + ((NI16)1));
+ (*s_p0).calldepth = (NI16)((*framePtr__system_u2710).calldepth + ((NI16)1));
}
LA1_:;
- (*s_p0).prev = framePtr__system_u2617;
- framePtr__system_u2617 = s_p0;
+ (*s_p0).prev = framePtr__system_u2710;
+ framePtr__system_u2710 = s_p0;
{
if (!((*s_p0).calldepth == ((NI16)2000)))
goto LA8_;
- callDepthLimitReached__system_u3150();
+ callDepthLimitReached__system_u3256();
}
LA8_:;
}
static N_INLINE(void, popFrame)(void) {
- framePtr__system_u2617 = (*framePtr__system_u2617).prev;
+ framePtr__system_u2710 = (*framePtr__system_u2710).prev;
}
N_LIB_PRIVATE N_NIMCALL(void,
h__s_u1)(tyArray__msnM9cX4aNc7VxW6WzOqyjA Result) {
+ tyArray__msnM9cX4aNc7VxW6WzOqyjA colontmpD_;
+ tyArray__msnM9cX4aNc7VxW6WzOqyjA colontmpD__2;
nimZeroMem((void *)Result, sizeof(tyArray__msnM9cX4aNc7VxW6WzOqyjA));
+ nimZeroMem((void *)colontmpD_, sizeof(tyArray__msnM9cX4aNc7VxW6WzOqyjA));
+ nimZeroMem((void *)colontmpD__2, sizeof(tyArray__msnM9cX4aNc7VxW6WzOqyjA));
{
if (!NIM_TRUE)
goto LA3_;
- nimCopyMem((void *)Result, (NIM_CONST void *)Result,
+ nimCopyMem((void *)colontmpD_, (NIM_CONST void *)Result,
+ sizeof(tyArray__msnM9cX4aNc7VxW6WzOqyjA));
+ nimCopyMem((void *)Result, (NIM_CONST void *)colontmpD_,
sizeof(tyArray__msnM9cX4aNc7VxW6WzOqyjA));
}
goto LA1_;
LA3_:;
{
- nimCopyMem((void *)Result, (NIM_CONST void *)Result,
+ nimCopyMem((void *)colontmpD__2, (NIM_CONST void *)Result,
+ sizeof(tyArray__msnM9cX4aNc7VxW6WzOqyjA));
+ nimCopyMem((void *)Result, (NIM_CONST void *)colontmpD__2,
sizeof(tyArray__msnM9cX4aNc7VxW6WzOqyjA));
}
LA1_:; |
It breaks with ORC as well, related to #18341 |
This was referenced Mar 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nim Version
Description
Build with
Current Output
Expected Output
Known Workarounds
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: