https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832
claudio daffra <daffra.claudio at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daffra.claudio at gmail dot com --- Comment #14 from claudio daffra <daffra.claudio at gmail dot com> --- internal compiler error: in reshape_init_class I have reproduce this error in source code below C:\prj\cd>g++ src\prova.cpp -o prova.exe -std=c++14 src\prova.cpp: In function 'int main()': src\prova.cpp:24:5: internal compiler error: in reshape_init_class, at cp/decl.c:5484 t1 = { 1,"tok",{ .real=3.4 } ,1,2} ; ^ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://sourceforge.net/projects/mingw-w64> for instructions. C:\prj\cd> #include <iostream> #include <string> #include <stdio.h> #include <stdint.h> typedef struct token_s { uint8_t sym ; std::string tok ; union { uint64_t integer ; double real; } ; uint32_t row ; uint32_t col ; } token_t ; int main ( void ) { token_t t1 ; t1 = { 1,"tok",{ .real=3.4 } ,1,2} ; wprintf ( L"%d %s %d %d %d\n",t1.sym,t1.tok.c_str(),t1.integer,t1.row,t1.col ) ; return 0 ; }