https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64004
Bug ID: 64004 Summary: [5 Regressio] Build error in tree-ssa-loop-niter.c in maybe_lower_iteration_bound Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sasha.levin at oracle dot com CC: ams at gcc dot gnu.org I'm seeing the following build error: ../../gcc/tree-ssa-loop-niter.c: In function ‘void maybe_lower_iteration_bound(loop*)’: ../../gcc/tree-ssa-loop-niter.c:3420:38: error: ‘struct vec<gimple_statement_base*>’ has no member named ‘empty’ if (exit_warned && !problem_stmts.empty ()) ^ make[3]: *** [tree-ssa-loop-niter.o] Error 1 Configuration used (on amd64): ../configure --prefix=/home/sasha/gcc-inst/ --with-arch=native --with-tune=native --enable-languages=c --enable-lto --enable-gold --enable-stage1-languages=c Seems to be introduced by commit: commit f18e93a8e53abb42cdcb344d966808be2505a9dc Author: ams <ams@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Nov 20 20:22:54 2014 +0000 Warn on undefined loop exit. 2014-11-20 Andrew Stubbs <a...@codesourcery.com> gcc/ * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Warn if a loop condition would be removed due to undefined behaviour. gcc/testsuite/ * gcc.dg/undefined-loop-1.c: New file. * gcc.dg/undefined-loop-2.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217891 138bc75d-0d04-0410-961f-82ee72b054a4