This is the mail archive of the gcc-bugs@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]

Re: Filenames with "=" crash contrib/test_summary


On Aug  8, 2000, "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com> wrote:

> ./mips-sgi-irix6.5/mabi=64/libstdc++/testsuite/libstdc++.sum in the build
> tree crashes contrib/test_summary script.

> gawk: cmd. line:40: (FILENAME=./gcc/testsuite/g++.sum FNR=12122) fatal:
> illegal name `./mips-sgi-irix6.5/mabi' in variable assignment

Which version of gawk is that?  I can't reproduce this with gawk
3.0.5.

The problem seems to be that the version of gawk you're using
interprets any argument containing `=' as a variable assignment,
instead of checking whether what is on the left of the `=' sign is a
valid variable name.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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