This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Graphite/Cloog/PPL problems on Cygwin, HEAD broken maybe?
- From: "Sebastian Pop" <sebpop at gmail dot com>
- To: "Dave Korn" <dave dot korn dot cygwin at googlemail dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Richard Guenther" <rguenther at suse dot de>
- Date: Mon, 12 Jan 2009 19:03:28 -0600
- Subject: Re: Graphite/Cloog/PPL problems on Cygwin, HEAD broken maybe?
- References: <2ca21dcc0901120752q31081a93jbf4d26a4a9cfa44@mail.gmail.com>
On Mon, Jan 12, 2009 at 9:52 AM, Dave Korn
<dave.korn.cygwin@googlemail.com> wrote:
> Firstly, there's a multiply-defined symbol:
>
> ---------------------------<snip>---------------------------
> ranlib libbackend.a
> gcc-4 -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
> -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long
> -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -o
> cc1-dummy.exe c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o
> c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o
> c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o
> c-parser.o i386-c.o cygwin2.o msformat-c.o c-gimplify.o tree-mudflap.o
> c-pretty-print.o c-omp.o dummy-checksum.o \
> main.o tree-browser.o libbackend.a ../libcpp/libcpp.a
> ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a -lintl -liconv
> ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/usr/lib -L/usr/lib
> -lmpfr -lgmp -L/opt/gcc-tools/lib -lcloog -L/opt/gcc-tools/lib -lppl_c -lppl
> -lgmpxx
> /opt/gcc-tools/lib/libcloog.a(domain.o): In function `debug_value':
> /gnu/gcc/prereq/cloog/source/ppl/domain.c:3579: multiple definition of
> `_debug_value'
> libbackend.a(graphite.o):/gnu/gcc/gcc/gcc/graphite.c:68: first defined here
> ---------------------------<snip>---------------------------
>
Attached is a fix for this one. Regstrapped on amd64-linux.
Okay for trunk?
Thanks,
Sebastian Pop
--
AMD - GNU Tools
* graphite.h (debug_value): Removed.
* graphite.c (debug_value): Removed.
Index: graphite.h
===================================================================
--- graphite.h (revision 143257)
+++ graphite.h (working copy)
@@ -381,7 +381,6 @@ extern void debug_rename_map (htab_t);
extern void debug_ivtype_map (htab_t);
extern void debug_loop_vec (graphite_bb_p);
extern void debug_oldivs (scop_p);
-extern void debug_value (Value);
/* Describes the type of an iv stack entry. */
typedef enum {
Index: graphite.c
===================================================================
--- graphite.c (revision 143257)
+++ graphite.c (working copy)
@@ -61,14 +61,6 @@ along with GCC; see the file COPYING3.
static VEC (scop_p, heap) *current_scops;
-/* Print GMP value V on stderr. */
-
-void
-debug_value (Value v)
-{
- value_print (stderr, "%4s\n", v);
-}
-
/* Converts a GMP constant V to a tree and returns it. */
static tree