Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gcc/4.6.0/gentoo: 74_all_gcc46_cloog-dl.patch
Date: Sun, 03 Apr 2011 01:02:10
Message-Id: 20110403010158.149C220054@flycatcher.gentoo.org
1 dirtyepic 11/04/03 01:01:58
2
3 Modified: 74_all_gcc46_cloog-dl.patch
4 Log:
5 Add missing symbols, fix ppl_io_fprint_Pointset_Powerset_C_Polyhedron.
6
7 Revision Changes Path
8 1.2 src/patchsets/gcc/4.6.0/gentoo/74_all_gcc46_cloog-dl.patch
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.0/gentoo/74_all_gcc46_cloog-dl.patch?rev=1.2&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.0/gentoo/74_all_gcc46_cloog-dl.patch?rev=1.2&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.0/gentoo/74_all_gcc46_cloog-dl.patch?r1=1.1&r2=1.2
13
14 Index: 74_all_gcc46_cloog-dl.patch
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.6.0/gentoo/74_all_gcc46_cloog-dl.patch,v
17 retrieving revision 1.1
18 retrieving revision 1.2
19 diff -u -r1.1 -r1.2
20 --- 74_all_gcc46_cloog-dl.patch 1 Apr 2011 05:20:12 -0000 1.1
21 +++ 74_all_gcc46_cloog-dl.patch 3 Apr 2011 01:01:58 -0000 1.2
22 @@ -7,24 +7,28 @@
23 Instead, dlopen libcloog as necessary. This patch originated in Fedora and
24 was modified to work on FreeBSD (http://bugs.gentoo.org/317211).
25
26 -2010-07-01 Jakub Jelinek <jakub@××××××.com>
27 +2011-01-04 Jakub Jelinek <jakub@××××××.com>
28
29 - * Makefile.in (BACKENDLIBS): Link against -ldl instead of -lcloog -lppl.
30 - (graphite.o, graphite%.o): Force -O, remove -fkeep-inline-functions.
31 - (graphite-ppl.o): Depend on graphite.h.
32 - * graphite.h: Include <dlfcn.h>. Reference libcloog and libppl symbols
33 - through pointers in cloog_pointers__ variable.
34 - * graphite.c (init_cloog_pointers): New function.
35 - (graphite_transform_loops): Call init_cloog_pointers.
36 - * graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop): Rename stmt_for
37 - argument to stmt_fora.
38 - * graphite-ppl.c: Include graphite.h.
39 + * Makefile.in (BACKENDLIBS): Link against -ldl instead of
40 + -lcloog -lppl.
41 + (graphite.o, graphite%.o): Force -O, remove -fkeep-inline-functions.
42 + (GRAPHITE_CLOOG_UTIL_H, GRAPHITE_POLY_H): New.
43 + (graphite*.o): Adjust dependencies.
44 + * graphite-cloog-compat.h: Include <dlfcn.h>. Reference libcloog and
45 + libppl symbols through pointers in cloog_pointers__ variable.
46 + * graphite.c (init_cloog_pointers): New function.
47 + (graphite_transform_loops): Call init_cloog_pointers.
48 + * graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop): Rename
49 + stmt_for argument to stmt_fora.
50 + * graphite-poly.h: Include graphite-cloog-util.h.
51
52 -2010-07-22 Ryan Hill <dirtyepic@g.o>
53 +2011-04-02 Ryan Hill <dirtyepic@g.o>
54
55 * configure.ac (DL_LIB): Check how to dlopen.
56 * configure: Regenerate.
57 * Makefile.in (BACKENDLIBS): Use DL_LIB.
58 + * graphite-cloog-compat.h: Add missing symbols.
59 +
60
61
62 --- a/gcc/Makefile.in
63 @@ -194,7 +198,7 @@
64 poly_bb_p pbb = (poly_bb_p) cloog_statement_usr (cs);
65 --- a/gcc/graphite-cloog-compat.h
66 +++ b/gcc/graphite-cloog-compat.h
67 -@@ -272,4 +272,263 @@ static inline int cloog_matrix_nrows (CloogMatrix * m)
68 +@@ -272,4 +272,269 @@ static inline int cloog_matrix_nrows (CloogMatrix * m)
69 return m->NbRows;
70 }
71 #endif /* CLOOG_ORG */
72 @@ -309,7 +313,10 @@
73 + DYNSYM (ppl_new_Constraint_System_from_Constraint); \
74 + DYNSYM (ppl_new_C_Polyhedron_from_Constraint_System); \
75 + DYNSYM (ppl_Polyhedron_affine_image); \
76 -+ DYNSYM (ppl_io_fprint_Pointset_Powerset_C_Polyhedron);
77 ++ DYNSYM (ppl_io_fprint_Pointset_Powerset_C_Polyhedron); \
78 ++ DYNSYM (ppl_new_PIP_Problem_from_constraints); \
79 ++ DYNSYM (ppl_PIP_Problem_is_satisfiable); \
80 ++ DYNSYM (ppl_delete_PIP_Problem);
81 +extern struct
82 +{
83 + bool inited;
84 @@ -452,7 +459,10 @@
85 +#define ppl_new_Constraint_System_from_Constraint (*cloog_pointers__.p_ppl_new_Constraint_System_from_Constraint)
86 +#define ppl_new_C_Polyhedron_from_Constraint_System (*cloog_pointers__.p_ppl_new_C_Polyhedron_from_Constraint_System)
87 +#define ppl_Polyhedron_affine_image (*cloog_pointers__.p_ppl_Polyhedron_affine_image)
88 -+#define ppl_io_fprint_Pointset_Powerset_C_Polyhedron (cloog_pointers__.p_ppl_io_fprint_Pointset_Powerset_C_Polyhedron)
89 ++#define ppl_io_fprint_Pointset_Powerset_C_Polyhedron (*cloog_pointers__.p_ppl_io_fprint_Pointset_Powerset_C_Polyhedron)
90 ++#define ppl_new_PIP_Problem_from_constraints (*cloog_pointers__.p_ppl_new_PIP_Problem_from_constraints)
91 ++#define ppl_PIP_Problem_is_satisfiable (*cloog_pointers__.p_ppl_PIP_Problem_is_satisfiable)
92 ++#define ppl_delete_PIP_Problem (*cloog_pointers__.p_ppl_delete_PIP_Problem)
93 +
94 +#define cloog_finalize (*cloog_pointers__.p_ppl_finalize)
95 +