This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
IRIX 5.2's cc complains about `}' just after `default:'
- To: egcs-patches at egcs dot cygnus dot com
- Subject: IRIX 5.2's cc complains about `}' just after `default:'
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 15 Jun 1999 12:57:17 -0300
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;
}
}