3.2 C compiler bug

David B. Anderson davea at quasar.wpd.sgi.com
Thu May 10 06:38:55 AEST 1990


In article <9005071321.AA27323@> lmo at lsr-vax.UUCP ("Lance M. Optican - LMO") writes:
>There is a bug in the Irix C-compiler:
[ ]
>The following program prints zero but it should print 1.
>If you modify the program so that foo() does not return a struct it works
>as expected.
[ ]
>This seems to be a problem with the function prototyping.  If you
>change to the old-fashioned 'C' convention, the problem goes away:

Thanks for the report. 

The bug has been fixed for the release after 3.2.

Regards,
[ David B. Anderson  Silicon Graphics  (415)335-1548  davea at sgi.com ]
[``What can go wrong?''                          --Calvin and Hobbes]



More information about the Comp.sys.sgi mailing list