This is the mail archive of the gcc@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]

Re: Is Banshee required for tree-ssa?



On Jan 26, 2004, at 4:18 PM, Phil Edwards wrote:


Because I don't have libbanshee, so when tree-alias-common.c contains

    /* If we have andersen's points-to analysis, include it. */
    #ifdef HAVE_BANSHEE
    #include "tree-alias-ander.h"
    #endif

with tree-alias-ander.h containing the declaration of andersen_alias_ops, but
tree-alias-common.c then unconditionally uses that variable:


    static void
    create_alias_vars (void)
    {
      basic_block bb;
      if (HAVE_BANSHEE && flag_tree_points_to == PTA_ANDERSEN)
X       current_alias_ops = andersen_alias_ops;
      else
      ....

So I get

/home/pme/src/ssa/gcc/tree-alias-common.c: In function `create_alias_vars':
/home/pme/src/ssa/gcc/tree-alias-common.c:979: error: `andersen_alias_ops' undeclared



This was caused by Richard's un-ifdefing of HAVE_BANSHEE right in the above.

Zdenek put a fix on the lno-branch that i'm going to commit to the tree-ssa branch (which is to redo the ifdefing).
We can't include tree-alias-ander without libbanshee, so that's not an option.
--Dan



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