You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
templatem(T: type, s: int64): int64= s
funcp(n: int64): int=int(n)
type F[T; s: staticint64] =object
k: array[p(m(T, s)), int64]
The compilation (mis)behaves the same way under refc and ORC under each tested compiler version, version-1-6 (1.6.14), version-2-0 (e8d0f1c3aedd8290cc972e3d06f642e88dbe783e), and devel (41ec894cb0aa0b0d233a0f62ff4929d64ddad3a7).
Nim Version
Compiles successfully:
Nim Compiler Version 1.6.14 [Linux: amd64]
Compiled at 2023-06-29
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 71ba2e7f3c5815d956b1ae0341b0743242b8fec6
active boot switches: -d:release
Regression between 1.6 and 2.0, so these SIGSEGV.
version-2-0:
Nim Compiler Version 1.9.5 [Linux: amd64]
Compiled at 2023-06-29
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: e8d0f1c3aedd8290cc972e3d06f642e88dbe783e
active boot switches: -d:release
devel:
Nim Compiler Version 1.9.5 [Linux: amd64]
Compiled at 2023-06-29
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 41ec894cb0aa0b0d233a0f62ff4929d64ddad3a7
active boot switches: -d:release
Current Output
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Segmentation fault
Expected Output
Not a SIGSEGV
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Description
The compilation (mis)behaves the same way under refc and ORC under each tested compiler version,
version-1-6
(1.6.14),version-2-0
(e8d0f1c3aedd8290cc972e3d06f642e88dbe783e
), anddevel
(41ec894cb0aa0b0d233a0f62ff4929d64ddad3a7
).Nim Version
Compiles successfully:
Regression between 1.6 and 2.0, so these
SIGSEGV
.version-2-0
:devel
:Current Output
Expected Output
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: