public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Patch for 970904 snapshot
@ 1997-09-04 10:15 Jeffrey A Law
  1997-09-04 11:37 ` Mark Mitchell
  0 siblings, 1 reply; 4+ messages in thread
From: Jeffrey A Law @ 1997-09-04 10:15 UTC (permalink / raw)
  To: egcs

Most of you will probably need this to get 970904 to build:


Index: bitmap.c
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/bitmap.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -c -3 -p -r1.2 -r1.3
*** bitmap.c	1997/09/04 15:12:19	1.2
--- bitmap.c	1997/09/04 17:06:34	1.3
*************** Boston, MA 02111-1307, USA.  */
*** 26,31 ****
--- 26,39 ----
  #include "regs.h"
  #include "basic-block.h"
  
+ #ifdef HAVE_STDLIB_H
+ #include <stdlib.h>
+ #endif
+ 
+ #ifdef NEED_DECLARATION_FREE
+ extern void free PROTO((void *));
+ #endif
+ 
  /* Obstack to allocate bitmap elements from.  */
  static struct obstack bitmap_obstack;
  static int bitmap_obstack_init = FALSE;


Jeff Law (law@cygnus.com)
Cygnus Solutions		EGCS GNU Compiler System
http://www.cygnus.com		http://www.cygnus.com/egcs


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Patch for 970904 snapshot
  1997-09-04 10:15 Patch for 970904 snapshot Jeffrey A Law
@ 1997-09-04 11:37 ` Mark Mitchell
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Mitchell @ 1997-09-04 11:37 UTC (permalink / raw)
  To: law; +Cc: egcs

>>>>> "Jeffrey" == Jeffrey A Law <law@chunks.cygnus.com> writes:

    Jeffrey> Most of you will probably need this to get 970904 to
    Jeffrey> build:

Actually, we probably won't, since despite the ChangeLog entry the
bitmap.c diffs didn't appear in the diffs!  (Perhaps they did appear
in the full distribution; I didn't check.)

-- 
Mark Mitchell		mmitchell@usa.net
Stanford University	http://www.stanford.edu


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Patch for 970904 snapshot
  1997-09-04 10:35 Weiwen Liu
@ 1997-09-04 10:44 ` Jeffrey A Law
  0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey A Law @ 1997-09-04 10:44 UTC (permalink / raw)
  To: liu; +Cc: egcs

Thanks,

I see it.  Nevermind the patch -- Mike's change didn't get into this snapshot,
contrary to what the ChangeLog sez (and thus there's no need for the bitmap.c
patch)

[ This is due to a botch on my part while making the snapshot (had to go
  back and retag ChangeLog & version.c when I forgot to bump them for
  this snapshot... ]

Jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Patch for 970904 snapshot
@ 1997-09-04 10:35 Weiwen Liu
  1997-09-04 10:44 ` Jeffrey A Law
  0 siblings, 1 reply; 4+ messages in thread
From: Weiwen Liu @ 1997-09-04 10:35 UTC (permalink / raw)
  To: egcs

This patch for gcc/bitmap.c can not be applied.
The patch is supposed to change from line 26 to 31, but the contents there
are different from the original file in the patch.  The contents are

#include "regs.h"
#include "basic-block.h"

/* The contents of the current function definition are allocated
   in this obstack, and all are freed at the end of the function.
   For top-level functions, this is temporary_obstack.

In the patch, the original contents are

  #include "regs.h"
  #include "basic-block.h"
  
  /* Obstack to allocate bitmap elements from.  */
  static struct obstack bitmap_obstack;
  static int bitmap_obstack_init = FALSE;




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-09-04 11:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-04 10:15 Patch for 970904 snapshot Jeffrey A Law
1997-09-04 11:37 ` Mark Mitchell
1997-09-04 10:35 Weiwen Liu
1997-09-04 10:44 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).