https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88831
wangchang15 <wangchang15 at huawei dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wangchang15 at huawei dot com --- Comment #3 from wangchang15 <wangchang15 at huawei dot com> --- Created attachment 45429 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45429&action=edit C testcase source code My PC OS is ubuntu 16. The attachment is the source code temp.c. This testcase requires a csmith runtime. We use a version 2.1.0 of csmith tool which can be downloaded from following URL. http://embed.cs.utah.edu/csmith/ To build the csmith runtime, you need to run following commands. cd [csmith-root] ./configure make The directory layout of my test is as follows. The directory csmith is the csmith runtime ([csmith-root]). $MYTEST/temp.c $MYTEST/csmith By running command " /some/path/to/my/cross/compiler/aarch64-linux-gnu-gcc temp.c -static -O2 -I ./csmith/runtime -fcompare-debug=-g -lm -w -o ./temp_O2.exe ", the error message "-fcompare-debug failure (length)" will arise.