On 2008-10-17 19:54, Hans Morten Kind wrote: > On Fri, Oct 17, 2008 at 09:50:50AM +0300, Török Edwin wrote: > >> Is it the latest Sun compiler? >> Does it also crash if you don't use any optimizations? (CFLAGS only -g) >> Does it crash if you use gcc? >> > > I have reinstalled 0.94 using gcc, the problem disappered. > I have tested both with 32 and 64-bit code and both worked. > > Without optimizations 'Sun C 5.9 SunOS_sparc Patch 124867-07 2008/06/24' > still failed. When patching to the lastest, 'Sun C 5.9 SunOS_sparc Patch > 124867-08 2008/10/07', even SUNWspro was able to make a non-crashing binary. > I'll stick to gcc! > > Thanks a lot for your help. I rest my case, > not opening any bug - calling this a compiler error. >
Please do open a bug and attach the file that was crashing when compiled with the old Sun C. I want to add that [1] to our unit tests, so that users can simply run 'make check', and know if the code works or not. [1] or a reduced testcase from it Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml