Bug#699866: clang crashes while translating a trivial C++ program
Christian Böhme
monodhs at arcor.de
Wed Feb 6 01:08:10 UTC 2013
Package: clang
Version: 3.0-6
Severity: grave
Justification: renders package unusable
Dear Maintainer,
compiling this program
---8<---
#include <cstddef>
int main ( int argc, char * argv[] )
{
int * i = new int (100);
int j = (*i) + 4;
delete i;
return j;
}
---8<---
causes clang to crash in the lexer complaining about the execution
of an "Illegal instruction" and suggesting to file a report with
http://llvm.org/bugs/.
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.39-2-powerpc
Locale: LANG=POSIX, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages clang depends on:
ii libc6 2.13-37
ii libclang-common-dev 3.0-6
ii libffi5 3.0.10-3
ii libgcc1 1:4.7.2-5
ii libllvm3.0 3.0-10
ii libstdc++6 4.7.2-5
ii libstdc++6-4.6-dev 4.6.3-14
Versions of packages clang recommends:
ii llvm-3.0-dev 3.0-10
ii python 2.7.3~rc2-1
clang suggests no packages.
-- no debconf information
More information about the Pkg-llvm-team
mailing list