[PATCH] Optimize sprintf(buffer,"foo")
Roger Sayle
roger@eyesopen.com
Mon Jun 23 21:06:00 GMT 2003
Hi Richard,
> > Does anyone know why some of the gcc.c-torture/execute/string-opts-*.c
> > were moved to gcc.c-torture/execute/builtins and the others weren't?
> > Clearly static-after-extern wasn't the only consideration as almost
> > all of the remaining string-opts-*.c tests use this idiom.
>
> The idea was to move only those that had to be moved ("to avoid
> unncessary disruption"). Tests like the one above are supposed
> to fail, so it doesn't really matter how the failure happens.
Ah. Thanks for the explanation. That makes sense.
Roger
--
More information about the Gcc-patches
mailing list