Certainly, I can rewrite from lmap. I'll send a patch shortly.

On 7/14/24 16:27, Roger Sayle wrote:

I’m seeing (dejagnu) testsuite problems from this (recent) patch.

Running /home/roger/GCC/patchem/gcc/testsuite/gcc.misc-tests/gcov.exp ...
ERROR: (DejaGnu) proc "lmap key { snd } {
         if { $key in $seen } continue
         set key
     }" does not exist.
The error code is NONE
The info on the error is:
invalid command name "lmap"
     while executing
"::tcl_unknown lmap key { snd } {
         if { $key in $seen } continue
         set key
     }"
     ("uplevel" body line 1)
     invoked from within
"uplevel 1 ::tcl_unknown $args"


I guess (but I’m not sure) that lmap requires Tcl 8.6, and my RHEL-based
system has
Tcl 8.5.  Is there a simple workaround to avoid the use of lmap?  Admittedly
the
systems that I use are a bit "long in the tooth" (obsolete?) [but that's
also why
they're available for use with my gcc "hobby"].

Thoughts?
Roger
--


Reply via email to