https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61717
Bug ID: 61717 Summary: seg fault on using variadic templates to initialize array Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: programmerjake at gmail dot com Created attachment 33071 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33071&action=edit preprocessed source segmentation fault on using variadic templates to initialize array gcc command line : g++ -std=c++11 -Wall -fexceptions -g -c main.cpp -o main.o gcc output : In file included from main.cpp:2:0: garbage_collector.h:321:87: internal compiler error: Segmentation fault successive_range<n, __builtin_offsetof(GCPtrArray<T, n>, ptrArray)> GCPtrArray<T, n>::objectOffsetArray ^