https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61838

Stephan Tolksdorf <st at quanttec dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |st at quanttec dot com

--- Comment #2 from Stephan Tolksdorf <st at quanttec dot com> ---
This regression from 4.8 seems to have been fixed on trunk but is still present
on the 4.9 branch. Could the fix be packported to 4.9?

Compiling the following simple snippet with "-std=c++11" produces a segfault
with 4.9: 

    template <typename... Ts> struct A {};
    struct B { B(A<int>); };
    B::B(A<int>) {}

cc1plus: internal compiler error: Segmentation fault
0x919b1f crash_signal
        ../../gcc/gcc/toplev.c:337
0x6a5ea2 analyze_functions
        ../../gcc/gcc/cgraphunit.c:1043
0x6a6f4f finalize_compilation_unit()
        ../../gcc/gcc/cgraphunit.c:2327
0x559ebb cp_write_global_declarations()
        ../../gcc/gcc/cp/decl2.c:4616

Reply via email to