This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa]: Andersen points-to analysis
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Pop Sébastian <pop at gauvain dot u-strasbg dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 25 Nov 2002 23:03:27 -0500 (EST)
- Subject: Re: [tree-ssa]: Andersen points-to analysis
- References: <Pine.LNX.4.50.0211252112130.4098-101000@dberlin.org><20021126030904.GA10540@gauvain.u-strasbg.fr>
On Tue, 26 Nov 2002, [iso-8859-1] Pop Sébastian wrote:
> Hi,
> I had an error during the bootstrap of tree-ssa branch:
>
Hmm.
What version of gcc?
All the bootstrap ones i've used are 3.1+, and i have no trouble.
Anyway, try adding "!= NULL" to the end of line 704.
> gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include -I../../gcc/gcc/../libbanshee/libcompat -I../../gcc/gcc/../libbanshee -I../../gcc/gcc/../libbanshee/points-to ../../gcc/gcc/tree-alias-ander.c -o tree-alias-ander.o
> In file included from ../../gcc/gcc/tree-alias-ander.c:49:
> ../../gcc/gcc/../libbanshee/engine/util.h:46: warning: ANSI C does not allow macro with variable arguments
> In file included from ../../gcc/gcc/tree-alias-ander.c:49:
> ../../gcc/gcc/../libbanshee/engine/util.h:103: warning: no previous prototype for `min'
> ../../gcc/gcc/../libbanshee/engine/util.h:104: warning: no previous prototype for `max'
> ../../gcc/gcc/tree-alias-ander.c:413: warning: function declaration isn't a prototype
> ../../gcc/gcc/tree-alias-ander.c: In function `andersen_heap_assign':
> ../../gcc/gcc/tree-alias-ander.c:592: warning: unused parameter `lhs'
> ../../gcc/gcc/tree-alias-ander.c: In function `andersen_may_alias':
> ../../gcc/gcc/tree-alias-ander.c:704: incompatible types in return
> ../../gcc/gcc/tree-alias-ander.c:705: warning: control reaches end of non-void function
> ../../gcc/gcc/tree-alias-ander.c: At top level:
> ../../gcc/gcc/tree-alias-ander.c:242: warning: `pta_bottom' defined but not used
> ../../gcc/gcc/tree-alias-ander.c:392: warning: `pta_get_ptsize' defined but not used
> ../../gcc/gcc/tree-alias-ander.c:413: warning: `print_out_result' defined but not used
> make[2]: *** [tree-alias-ander.o] Erreur 1
> make[2]: Leaving directory `/home/pop/gcc/tree-ssa/bin/gcc'
> make[1]: *** [stage1_build] Erreur 2
> make[1]: Leaving directory `/home/pop/gcc/tree-ssa/bin/gcc'
> make: *** [bootstrap] Erreur 2
> pop@gauvain:~/gcc/tree-ssa/bin$
>
>
>