Skip to content

ICE: Stack overflow when compiling large functions with C backend (over 200,000 lines) #784

Open
@BigOrangeQWQ

Description

@BigOrangeQWQ

Code

  • Target: (wasm, wasm-gc, js, native/c, native/llvm, irrelevant)
https://github.com/BigOrangeQWQ/UnificationTable/blob/master/src/unify_table/unify_table_benchmark/issue.mbt

Environment

  • OS: (Linux)
  • OS distribution and/or version: (Ubuntu 22)
  • CPU Architecture: (x86_64)
v0.1.20250529+032880619

Error output

Compiler args: moonc link-core /home/orange/.moon/lib/core/target/native/release/bundle/abort/abort.core /home/orange/.moon/lib/core/target/native/release/bundle/core.core /home/orange/projects/UnificationTable/target/native/debug/test/undo_logs/undo_logs.core /home/orange/projects/UnificationTable/target/native/debug/test/snapshot_array/snapshot_array.core /home/orange/projects/UnificationTable/target/native/debug/test/unify_table/unify_table.core /home/orange/projects/UnificationTable/target/native/debug/test/unify_table/bench/bench.core /home/orange/projects/UnificationTable/target/native/debug/test/unify_table/bench/bench.blackbox_test.core -main bigorangeqwq/unification_table/unify_table/bench_blackbox_test -o /home/orange/projects/UnificationTable/target/native/debug/test/unify_table/bench/bench.blackbox_test.c -test-mode -pkg-config-path /home/orange/projects/UnificationTable/src/unify_table/bench/moon.pkg.json -pkg-sources bigorangeqwq/unification_table/undo_logs:/home/orange/projects/UnificationTable/src/undo_logs -pkg-sources bigorangeqwq/unification_table/snapshot_array:/home/orange/projects/UnificationTable/src/snapshot_array -pkg-sources bigorangeqwq/unification_table/unify_table:/home/orange/projects/UnificationTable/src/unify_table -pkg-sources bigorangeqwq/unification_table/unify_table/bench:/home/orange/projects/UnificationTable/src/unify_table/bench -pkg-sources bigorangeqwq/unification_table/unify_table/bench_blackbox_test:/home/orange/projects/UnificationTable/src/unify_table/bench -pkg-sources moonbitlang/core:/home/orange/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -target native -g -O0

Metadata

Metadata

Assignees

Labels

ICEInternal Compiler ErrorbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions