[gnu.gcc.bug] Bison bug, Sun-4, SunOS 4.0

tli@sargas.usc.edu (Tony Li) (10/20/88)

Environment: Sun-4, SunOS 4.0, gcc 1.25

Description: conflicts.c fails to compile, complaining with

	conflicts.c:48: conflicting types for `__builtin_alloca'
	(null):0: previous declaration of `__builtin_alloca'

Patch:

*** conflicts.c.ORIG	Wed Oct 19 11:25:08 1988
--- conflicts.c	Wed Oct 19 11:25:32 1988
***************
*** 33,38 ****
--- 33,40 ----
  
  #ifdef sparc
  #include <alloca.h>
+ #else
+ extern char *alloca ();
  #endif
  
  extern char **tags;
***************
*** 44,51 ****
  extern short *LAruleno;
  extern short *lookaheads;
  extern int verboseflag;
- 
- extern char *alloca ();
  
  char any_conflicts;
  char *conflicts;
--- 46,51 ----
Tony Li - USC University Computing Services - Dain Bramaged.
Uucp: oberon!tli						
Bitnet: tli@kylara, tli@ramoth
Internet: tli@sargas.usc.edu