I have tracked a bug in my code to a piece of code that could be simplified to
This piece of code is seg faulting while initializing the vector(gcc/clang++).Is this behavior expected?Code:/* gcc/clang -std=c++11 -mavx -o file */ #include <string> #include <vector> #include <list> extern "C" { #include <pmmintrin.h> #include <immintrin.h> } typedef unsigned long u64; typedef __m256i u256; int main( int main, char *argv[]) { std::vector<u256> stack(10); std::vector<u64> cstack(10 * 1288); }