QMTest Update
Hans-Peter Nilsson
hp@bitrange.com
Thu Jun 13 15:34:00 GMT 2002
On 13 Jun 2002, Gabriel Dos Reis wrote:
> Hans-Peter Nilsson <hp@bitrange.com> writes:
> | > foreach file [lsort [find $srcdir/$subdir *.C]] {
> | > Note the "lsort" command.
> |
> | Note its absence in gcc.c-torture/compile/compile.exp.
> | Perhaps all similar absenteeisms should be fixed as
> | obvious.
>
> Actually, instead of duplicating the same code over and over, I think
> a more scalable approach is to factorise the main-loop codes. That is
> a much more viable approach in the long run.
We're still talking about what's now a one-line for-loop, right?
Well, if you find a non-obfuscating way to rewrite it, go wild
with the factoring.
brgds, H-P
More information about the Gcc
mailing list