Bug#794475: clang-3.6: clang segfaults on invalid use of non-static data member

2015-08-03 Thread Lorenz Hübschle-Schneider
reopen 794475 = retitle 794475 clang segfaults on failed parameter substitution in templated class or struct Hi, I've managed to come up with a small test case now and it's really quite small: - template struct test { test() { foo(); } void foo(int x = k) {}

Bug#794475: clang-3.6: clang segfaults on invalid use of non-static data member

2015-08-03 Thread Lorenz Hübschle-Schneider
Package: clang-3.6 Version: 1:3.6.2~+rc1-1~exp1 Severity: normal Dear Maintainer, I managed to make clang-3.6 segfault on a piece of code that should not compile, as it comprises the invalid use of a non-static data member. This also applies to clang-3.5. The crash is 100% reproducible and also