This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/64004] New: [5 Regressio] Build error in tree-ssa-loop-niter.c in maybe_lower_iteration_bound


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  <ams@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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]