[comp.sys.mips] bug in cc version 1.31

aluko@portia.Stanford.EDU (Stephen Goldschmidt) (08/01/89)

/* (line 1)
   I am working on a R2000 running "RISC/os (UMIPS) 3.10 mips".

   This source file compiles under v1.31 of the C compiler if you use:

     cc -c sub.c

   but gives 

as1: Error: sub.c, line 24: Not all branch-label symbols were defined
as1: Error: sub.c, line 22: Label referenced but not defined: $32

   if you use:

     cc -S sub.c ; cc -c sub.s

 */

sub (i) 
  int i;
{
  if (i) 
  { 
    subsub (0); } /*else {
    subsub (1);
  }*/
  return i;
}