Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv15953
Modified Files:
gcc42.info gcc42.patch
Log Message:
Move to stable with maintainer's permission to solve issue that fftw really
wants this version.
Index: gcc42.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/gcc42.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gcc42.info 30 Jul 2007 22:03:06 -0000 1.3
+++ gcc42.info 15 Jan 2008 19:18:43 -0000 1.4
@@ -1,9 +1,9 @@
Info2: <<
Package: gcc42
-Version: 4.2.1
+Version: 4.2.2
Revision: 1000
Source: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%v/gcc-%v.tar.bz2
-Source-MD5: cba410e6ff70f7d7f4be7a0267707fd0
+Source-MD5: 7ae33781417a35a2eb03ee098a9f4490
Type: -64bit
NoSetCPPFLAGS: True
NoSetLDFLAGS: True
Index: gcc42.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/gcc42.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gcc42.patch 30 Jul 2007 22:03:06 -0000 1.3
+++ gcc42.patch 15 Jan 2008 19:18:43 -0000 1.4
@@ -40,134 +40,3 @@
for peer in $peerlibs ; do
case $peer in
xlib)
-diff -uNr gcc-4.2.1/gcc/tree-ssa-structalias.c
gcc-4.2.1.memfix/gcc/tree-ssa-structalias.c
---- gcc-4.2.1/gcc/tree-ssa-structalias.c 2007-06-19 05:24:35.000000000
-0400
-+++ gcc-4.2.1.memfix/gcc/tree-ssa-structalias.c 2007-07-20
18:28:59.000000000 -0400
-@@ -4350,6 +4350,75 @@
- process_constraint (new_constraint (lhs, rhs));
- }
-
-+/* Structure used to put solution bitmaps in a hashtable so they can
-+ be shared among variables with the same points-to set. */
-+
-+typedef struct shared_bitmap_info
-+{
-+ bitmap pt_vars;
-+ hashval_t hashcode;
-+} *shared_bitmap_info_t;
-+
-+static htab_t shared_bitmap_table;
-+
-+/* Hash function for a shared_bitmap_info_t */
-+
-+static hashval_t
-+shared_bitmap_hash (const void *p)
-+{
-+ const shared_bitmap_info_t bi = (shared_bitmap_info_t) p;
-+ return bi->hashcode;
-+}
-+
-+/* Equality function for two shared_bitmap_info_t's. */
-+
-+static int
-+shared_bitmap_eq (const void *p1, const void *p2)
-+{
-+ const shared_bitmap_info_t sbi1 = (shared_bitmap_info_t) p1;
-+ const shared_bitmap_info_t sbi2 = (shared_bitmap_info_t) p2;
-+ return bitmap_equal_p (sbi1->pt_vars, sbi2->pt_vars);
-+}
-+
-+/* Lookup a bitmap in the shared bitmap hashtable, and return an already
-+ existing instance if there is one, NULL otherwise. */
-+
-+static bitmap
-+shared_bitmap_lookup (bitmap pt_vars)
-+{
-+ void **slot;
-+ struct shared_bitmap_info sbi;
-+
-+ sbi.pt_vars = pt_vars;
-+ sbi.hashcode = bitmap_hash (pt_vars);
-+
-+ slot = htab_find_slot_with_hash (shared_bitmap_table, &sbi,
-+ sbi.hashcode, NO_INSERT);
-+ if (!slot)
-+ return NULL;
-+ else
-+ return ((shared_bitmap_info_t) *slot)->pt_vars;
-+}
-+
-+
-+/* Add a bitmap to the shared bitmap hashtable. */
-+
-+static void
-+shared_bitmap_add (bitmap pt_vars)
-+{
-+ void **slot;
-+ shared_bitmap_info_t sbi = XNEW (struct shared_bitmap_info);
-+
-+ sbi->pt_vars = pt_vars;
-+ sbi->hashcode = bitmap_hash (pt_vars);
-+
-+ slot = htab_find_slot_with_hash (shared_bitmap_table, sbi,
-+ sbi->hashcode, INSERT);
-+ gcc_assert (!*slot);
-+ *slot = (void *) sbi;
-+}
-+
-+
- /* Set bits in INTO corresponding to the variable uids in solution set
- FROM, which came from variable PTR.
- For variables that are actually dereferenced, we also use type
-@@ -4460,7 +4529,9 @@
- struct ptr_info_def *pi = get_ptr_info (p);
- unsigned int i;
- bitmap_iterator bi;
--
-+ bitmap finished_solution;
-+ bitmap result;
-+
- /* This variable may have been collapsed, let's get the real
- variable. */
- vi = get_varinfo (find (vi->id));
-@@ -4492,10 +4563,20 @@
- if (pi->pt_anything)
- return false;
-
-- if (!pi->pt_vars)
-- pi->pt_vars = BITMAP_GGC_ALLOC ();
-+ finished_solution = BITMAP_GGC_ALLOC ();
-+ set_uids_in_ptset (vi->decl, finished_solution, vi->solution);
-+ result = shared_bitmap_lookup (finished_solution);
-
-- set_uids_in_ptset (vi->decl, pi->pt_vars, vi->solution);
-+ if (!result)
-+ {
-+ shared_bitmap_add (finished_solution);
-+ pi->pt_vars = finished_solution;
-+ }
-+ else
-+ {
-+ pi->pt_vars = result;
-+ bitmap_clear (finished_solution);
-+ }
-
- if (bitmap_empty_p (pi->pt_vars))
- pi->pt_vars = NULL;
-@@ -4691,6 +4772,8 @@
- vi_for_tree = pointer_map_create ();
-
- memset (&stats, 0, sizeof (stats));
-+ shared_bitmap_table = htab_create (511, shared_bitmap_hash,
-+ shared_bitmap_eq, free);
- init_base_vars ();
- }
-
-@@ -4923,6 +5006,7 @@
- varinfo_t v;
- int i;
-
-+ htab_delete (shared_bitmap_table);
- if (dump_file && (dump_flags & TDF_STATS))
- fprintf (dump_file, "Points to sets created:%d\n",
- stats.points_to_sets_created);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs