This is the mail archive of the gcc@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: QMTest Update


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


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