This is the mail archive of the gcc-patches@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]

IRIX 5.2's cc complains about `}' just after `default:'


I'm installing the attached patch in the trunk, under the `obviously
correct' rule.  It prevented me from building the latest snapshot with 
IRIX 5.2's cc.

BTW, the latest snapshot was based on the trunk, not on the release
branch, as I expected.  Was this intentional?

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists
Index: gcc/ChangeLog
from  Alexandre Oliva  <oliva@dcc.unicamp.br>
	
	* config/mips/mips.c (mips_output_conditional_branch): Add `break' 
	between `default' label and `close braces'.
	
Index: gcc/config/mips/mips.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/mips/mips.c,v
retrieving revision 1.58
diff -u -r1.58 mips.c
--- gcc/config/mips/mips.c	1999/06/14 15:47:28	1.58
+++ gcc/config/mips/mips.c	1999/06/15 15:54:33
@@ -8661,6 +8661,7 @@
 
 	default:
 	  /* Not a special case.  */
+	  break;
 	}
     }
 

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