Bug#699866: clang crashes while translating a trivial C++ program
Andrey Rahmatullin
wrar at wrar.name
Fri Feb 8 02:27:13 UTC 2013
On Wed, Feb 06, 2013 at 02:08:10AM +0100, Christian Böhme wrote:
> 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/.
FWIW it doesn't crash on amd64 sid and i386 wheezy.
--
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20130208/78b05b02/attachment-0001.pgp>
More information about the Pkg-llvm-team
mailing list