This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Optimize sprintf(buffer,"foo")


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
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]