https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80540
--- Comment #4 from Qirun Zhang <helloqirun at gmail dot com> --- (In reply to Martin Liška from comment #2) > > gcc-4.8.5 crashes at all levels; > > gcc-4.9 accepts it at all levels; > > I can't find a release that does not ICE w/ -O2. Hi Martin, This version works fine. $ gcc-4.9 -O2 abc.c -c $ gcc-4.9 --version gcc-4.9 (Ubuntu 4.9.3-8ubuntu2~14.04) 4.9.3 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.