News for hackers. Stuff that matters.
Re:The Following Code Causes Segfault in Clang by udp on Saturday August 02, 2014 @07:48PM (#8126467)
Something I found last week that crashes with clang-503.0.40:

    template<class T> class foo
    {
    public:

        ~ foo()
        {
        }

        foo &operator = (const foo &rhs)
        {
            foo::~foo();
            new (this) foo (rhs);

            return *this;
        }
    };

    int main(int argc, char * argv[])
    {
        foo<int> a, b;
        b = a;
    }
Re:The Following Code Causes Segfault in Clang by archgoon on Saturday August 02, 2014 @11:47PM (#8126952)
This is the same bug.