This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65736] [5 Regression] ICE (in process_init_constructor_array, at cp/typeck2.c:1263)
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Apr 2015 23:35:44 +0000
- Subject: [Bug c++/65736] [5 Regression] ICE (in process_init_constructor_array, at cp/typeck2.c:1263)
- Auto-submitted: auto-generated
- References: <bug-65736-4 at http dot gcc dot gnu dot org/bugzilla/>
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.