|
From: Sean M. <Sea...@su...> - 2003-03-24 16:44:14
|
Steve, I can confirm that SuperH has been able to reproduce your results using the toolchain from the SuperH ftp site, on SH-5 Linux. It is most interesting that the example code you provided is compiled correctly on the cross toolchain, yet SEGVs on the native toolchain - despite the fact that both toolchains are compiled from the same source code files. Even more bizarre is that our native toolchain has successfully built several large packages, and even natively built the SH-5 Linux kernel itself. We have built the native compiler statically, but this does not noticeably affect the behaviour. My suspicion is that a hard-to-provoke code-generation bug has been introduced a few months ago, and it only when complex native applications like compilers are run does it present itself. We are trying to regress our code-base and see if we can pin-point when this happened. I would be interested to know if Kaz-san has tried this example using a native gcc under SH-5 Linux, rather than the cross gcc. Kaz-san, can you please let me know ? Regards, Sean -- ------------------------------------------------------------------------ | Sean McGoogan, | E-mail: Sea...@Su... | | SuperH (UK) Ltd., | | | 2410 Aztec West, | Direct: +44 (0) 1454 465670 | | Almondsbury, | Main: +44 (0) 1454 465600 | | Bristol, BS32 4QX, U.K. | Fax: +44 (0) 1454 465601 | ------------------------------------------------------------------------ |