Closed llvmbot closed 1 year ago
I've reproduced this issue with clang version 3.3 (trunk 175854) in Windows. The overflow happens in a recursive call to ParseDeclaratorInternal handling tok::star.
Fixed in Clang 3.5.2 https://godbolt.org/z/o3MMPnMda
Extended Description
~/build_llvm/install/bin/clang ~/gcc-4.4.6/gcc/testsuite/gcc.c-torture/compile/limits-pointer.c clang: error: unable to execute command: Segmentation fault clang: error: clang frontend command failed due to signal 2 (use -v to see invocation) clang: note: diagnostic msg: Please submit a bug report to http://llvm.org and include command line arguments and all diagnostic information. clang: note: diagnostic msg: Preprocessed source(s) are located at: clang: note: diagnostic msg: /tmp/cc-q6dAJR.i rkotler@ubuntu-rkotler:~/icpc$