This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/2] [graphite] add more dumps on data dependence graph
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Sebastian Pop <s dot pop at samsung dot com>
- Cc: sebpop at gmail dot com, Richard Guenther <richard dot guenther at gmail dot com>, gcc-patches at gcc dot gnu dot org, hiraditya at msn dot com
- Date: Fri, 25 Dec 2015 18:40:23 +0800 (WITA)
- Subject: Re: [PATCH 1/2] [graphite] add more dumps on data dependence graph
- Authentication-results: sourceware.org; auth=none
- References: <1450129723-10910-1-git-send-email-s dot pop at samsung dot com>
Hi Sebastian,
On Mon, 14 Dec 2015, Sebastian Pop wrote:
> gcc/graphite-dependences.c | 31 +++++++++++++++++++++++++++----
> gcc/graphite-poly.c | 15 ++++++++++++++-
> gcc/graphite-scop-detection.c | 21 ++++++++++++++++-----
on December 17th 2015, my nightly bootstrap (on i386-unknown-freebsd10.1,
but I don't think this is material) started to fail as follows:
/scratch/tmp/gerald/gcc-HEAD/gcc/graphite-scop-detection.c:1892:17:
note: in instantiation of member function 'vec<dr_info, va_heap, vl_ptr>::safe_push'
requested here
scop->drs.safe_push (dr_info (dr, pbb));
^
>From what I can see, this code was added by your patch:
> @@ -1879,7 +1879,18 @@ gather_bbs::before_dom_children (basic_block bb)
> int i;
> data_reference_p dr;
> FOR_EACH_VEC_ELT (gbb->data_refs, i, dr)
> - scop->drs.safe_push (dr_info (dr, pbb));
> + {
> + DEBUG_PRINT (dp << "Adding memory ";
> + if (dr->is_read)
> + dp << "read: ";
> + else
> + dp << "write: ";
> + print_generic_expr (dump_file, dr->ref, 0);
> + dp << "\nFrom stmt: ";
> + print_gimple_stmt (dump_file, dr->stmt, 0, 0));
> +
> + scop->drs.safe_push (dr_info (dr, pbb));
> + }
The system in question has isl 0.15 installed.
Gerald