g++ crashes on invalid: int foo[16]; int *bar = &foo[-1]; trying to emit instructions outside of function context.
-- Summary: ICE on &foo[-1] Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at redhat dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23260