https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68785
--- Comment #9 from rguenther at suse dot de <rguenther at suse dot de> --- On Wed, 9 Dec 2015, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68785 > > --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > Reduced testcase: > int > foo (void) > { > return *(int *) ""; > } And I still think simplifying that to return a (partly undefined) constant is ok. As would simplifying it to __builtin_trap () of course.