This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/65736] [5 Regression] ICE (in process_init_constructor_array, at cp/typeck2.c:1263)


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Just -std=c++11 is needed:
int a[1];
char *b[1] { (char *)&a[0] + 1 };
Started to ICE with r221777.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]