This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: syntax errors in new SPARC files
- To: davem at dm dot cobaltmicro dot com, jfc at tiac dot net
- Subject: Re: syntax errors in new SPARC files
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Tue, 18 Aug 1998 11:09:39 -0400 (EDT)
- Cc: egcs-bugs at cygnus dot com, egcs-patches at cygnus dot com
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.