Bug#799908: /usr/lib/llvm-3.6/bin/clang: A templated constexpr function decorated with 'noexcept()' crashes the compiler (c++1z flag is used)

Abhishek Sudhakaran itzurabhi at gmail.com
Thu Sep 24 04:27:46 UTC 2015


Package: clang-3.6
Version: 1:3.6-2ubuntu1~trusty1
Severity: important
File: /usr/lib/llvm-3.6/bin/clang

Dear Maintainer,


   * What led up to the situation?
	templated constexpr function decorated with 'noexcept()' crashes the compiler (c++1z flag is used)
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
	tried llvm manual to check if the buf is on the front end , and found it crashed also with -O0 -emit-llvm flags
   * What was the outcome of this action?
	compiler crash
   * What outcome did you expect instead?



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clang-3.6 depends on:
ii  binutils                 2.24-5ubuntu13
ii  libc6                    2.19-0ubuntu6.6
ii  libc6-dev                2.19-0ubuntu6.6
ii  libclang-common-3.6-dev  1:3.6-2ubuntu1~trusty1
ii  libclang1-3.6            1:3.6-2ubuntu1~trusty1
ii  libedit2                 3.1-20130712-2
ii  libgcc-4.8-dev           4.8.4-2ubuntu1~14.04
ii  libgcc1                  1:5.1.0-0ubuntu11~14.04.1
ii  libllvm3.6               1:3.6-2ubuntu1~trusty1
ii  libobjc-4.8-dev          4.8.4-2ubuntu1~14.04
ii  libstdc++-4.8-dev        4.8.4-2ubuntu1~14.04
ii  libstdc++6               5.1.0-0ubuntu11~14.04.1
ii  libtinfo5                5.9+20140118-1ubuntu1

Versions of packages clang-3.6 recommends:
ii  llvm-3.6-dev  1:3.6-2ubuntu1~trusty1
ii  python        2.7.5-5ubuntu3

Versions of packages clang-3.6 suggests:
pn  clang-3.6-doc  <none>
pn  gnustep        <none>
pn  gnustep-devel  <none>

-- no debconf information



More information about the Pkg-llvm-team mailing list