[BusyBox] Where do I report a compiler bug?
Wolfgang Denk
wd at denx.de
Mon Oct 13 09:11:32 UTC 2003
In message <200310130319.57281.rob at landley.net> you wrote:
>
> Yup, it's a compiler bug. Here's the test case. gcc 3.2.2 out of Red Hat 9
> miscompiles this with -Os, but compiles it correctly without -Os.
...
> /* Bug: this fails to move array */
>
> while(i) {
> mtfSymbol[i] = mtfSymbol[--i];
> }
Are you sure this is a compiler bug? Or is it undefined behaviour?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
A secure program has to be robust: it must be able to deal with
conditions that "can't happen", whether user input, program error or
library/etc. This is basic damage control. Buffer overflow errors
have nothing to do with security, but everything with stupidity.
-- Wietse Venema in <5cnqm3$8r9 at spike.porcupine.org>
More information about the busybox
mailing list