Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!litsun.epfl.ch!brossard From: brossard@litsun.epfl.ch ("", Alain Brossard) Newsgroups: comp.windows.x Subject: bug in xfed with gcc -O -fstrength-reduce Message-ID: Date: 4 Jul 90 10:54:00 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 15 RFC-822-Headers: Received: from litsun.epfl.ch by SIC.Epfl.CH via INTERNET ; Wed, 4 Jul 90 11:56:52 N ================== I found that xfed compiled with gcc 1.37.1 on a Sun 3 will core dump due to a bug in gcc if compiled with the options -O -fstrength-reduce. The problem is in the file parse.y where there is a loop for (i=0; irows[i] = bits[i]; the index of bits never gets incremented by the code generated so xfed core dumps. Alain Brossard brossard@litsun.epfl.ch