This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: syntax errors in new SPARC files


	I got the following error on bootstrapping the egcs trunk
checked out today (19980818) on sparc-sun-solaris2.5 using cc for
stage 1.  Looks like another instance of the label stuff jfc found.

 > cc -c -DIN_GCC -DSVR4 -g -DHAVE_CONFIG_H -DHAIFA -I. -I. -I./config
 > 	./config/sparc/sparc.c
 > "./config/sparc/sparc.c", line 6406: syntax error before or at: }

	I fixed it with the following patch.

--- /caip/u26/ghazi/gcc-testing/cvs-egcs/egcs/gcc/config/sparc/sparc.c	Mon Aug 17 09:35:19 1998
+++ egcs-CVS19980818/gcc/config/sparc/sparc.c	Tue Aug 18 11:00:37 1998
@@ -6402,7 +6402,7 @@
 
 	  return &list[i];
 	}
-    next:
+    next:;
     }
   return 0;
 }
--
Kaveh R. Ghazi			Project Manager / Custom Development
ghazi@caip.rutgers.edu		Icon CMT Corp.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]