Open Quuxplusone opened 6 years ago
Preprocessed source was too big to attach so I've uploaded it to https://gist.github.com/725b70a3ec651763588481e6c4de2b23
Attached geo_traversal-675e20.sh
(5258 bytes, application/x-sh): associated run script
I can't reproduce this crash with any version of clang that I have, including 4.0.1 and quite a number of trunk revisions around the 4.0.0 release. This looks like an Ubuntu specific issue, maybe?
(In reply to Dimitry Andric from comment #3)
> I can't reproduce this crash with any version of clang that I have,
> including 4.0.1 and quite a number of trunk revisions around the 4.0.0
> release. This looks like an Ubuntu specific issue, maybe?
In fact, I just installed a fresh Ubuntu 17.10.1 VM, with the following clang
package:
Package: clang
Status: install ok installed
Priority: optional
Section: universe/devel
Installed-Size: 33
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: llvm-defaults (0.37~exp3ubuntu1)
Version: 1:4.0-37~exp3ubuntu1
Replaces: clang (<< 3.2-1~exp2), clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-
7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Depends: clang-4.0 (>= 4.0~)
Breaks: clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<<
1:3.5~+rc1-3~exp1)
Description: C, C++ and Objective-C compiler (LLVM based)
Clang project is a C, C++, Objective C and Objective C++ front-end
for the LLVM compiler. Its goal is to offer a replacement to the GNU Compiler
Collection (GCC).
.
Clang implements all of the ISO C++ 1998 and 2001 standards and also provides
a partial support of C++1y.
.
This is a dependency package providing the default clang compiler.
Original-Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
This compiles your test case without any complaints or errors, and it even runs
perfectly under valgrind. Maybe there is a problem with your particular system?
geo_traversal-675e20.sh
(5258 bytes, application/x-sh)