Open KOLANICH opened 2 years ago
It seems your demo program reveals more bugs than current one: (https://github.com/KOLANICH/barebones_arduino_mega_2560_clang_test)
https://github.com/llvm/llvm-project/issues/56426 https://github.com/llvm/llvm-project/issues/56423
I got many crashes when building your program with debug version clang++, and simplify them to the above two bugs.
Reproducer: https://github.com/KOLANICH/barebones_arduino_mega_2560_clang_test Fix: https://reviews.llvm.org/D127501