This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop dependence analysis!!
Ritu Sabharwal <ritu@csa.iisc.ernet.in> writes:
> We are using gcc-3.0 for modulo scheduling, the loop dependence
> analysis is done in dependene.c file. This file is not used anywhere in
> the source code but we need to use it to find the distance and direction
> vectors for finding dependencies for finding II(initiation interval).
> We have used the functions from this file but this is not working
> properly, giving segmentation fault. Is something missing in that file?
It seems that this file is nowhere used in any GCC version. Since
it's not used anywhere, I'm not surprised that you get problems using
it.
It was added with this ChangeLog and afterwards nothing happened:
2000-08-22 Stan Cox <scox@redhat.com>
* Makefile.in (OBJS): Add dependence.o.
* dependence.c: New file.
Looking at the gcc-patches archive, the patch contains a follow-on
patch that was never committed:
http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00788.html
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00117.html
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00187.html
Stan, what's going on here? Should we remove dependence.c completly?
Or will the rest get added at some point?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj