Issue |
136873
|
Summary |
[clang][LoongArch] spec2006 445.gobmk runtime error in llvm 20.1.3
|
Labels |
clang
|
Assignees |
|
Reporter |
azuresky01
|
@heiher @wangleiat @SixWeining
Tested OS: `Debian sid/experimental loong64` installed with llvm 20.1.3 and 19.1.7
The program runs smoothly in llvm 19.1.7 with the following optimization setting: `-O3 -march=la464 -flto=auto`
In llvm 20.1.3, however I met the runtime error with optimization level `-O1` and above for all test/train/ref sizes. With `-O0` optimization the program can run smoothly.
An example of error message with `-O1` optimization and ref size:
```
445.gobmk: copy 0 non-zero return code (exit code=0, signal=6)
****************************************
Contents of 13x13.err
****************************************
***assertion failure:
engine/board.c:2114 - IS_STONE(board[str]) near L4***
A B C D E F G H J K L M N
13 . . . . . . . . . . . . . 13
12 . . . . . . . . . . . . . 12
11 . X O . . . . . . O . . . 11
10 . X . O . O + . . + . . . 10
9 . . . . . . . O . O . . . 9
8 . . X . X . . . . . . . . 8
7 . . . + . . + X . + . . . 7
6 . . . . . . . . . . O . . 6
5 . . X . . . . . X . . . . 5 WHITE has captured 0 stones
4 . . . + . . + . . X . . . 4 BLACK has captured 0 stones
3 . . . X . . . O . X O . . 3
2 . . . . . . . . . O X . . 2
1 . . . . . . . . . . . . . 1
A B C D E F G H J K L M N
gnugo 3.3.14 (seed 0): You stepped on a bug.
Please save this game as an sgf file and mail it to gn...@gnu.org
If you can, please also include the debug output above this message.
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs