bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison-1.875: build feedback: HP/Compaq/DEC OSF/1 5.1


From: Paul Eggert
Subject: Re: bison-1.875: build feedback: HP/Compaq/DEC OSF/1 5.1
Date: Fri, 3 Jan 2003 08:55:26 -0800 (PST)

> Date: Thu, 2 Jan 2003 07:35:50 -0700 (MST)
> From: "Nelson H. F. Beebe" <address@hidden>

> The build of bison-1.875 on HP/Compaq/DEC OSF/1 5.1 succeeded, but there
> were two validation test failures. Here is the testsuite.log file:
> ...
> 27. reduce.at:212: testing Reduced Automaton...
> reduce.at:248: bison not-reduced.y
> reduce.at:260: sed -n '/^Grammar/q;/^$/!p' not-reduced.output
> reduce.at:287: bison reduced.y
> reduce.at:291: sed 's/not-reduced/reduced/g' not-reduced.c
> --- expout    2003-01-02 06:57:03.000000000 -0700
> +++ 
> /uufs/inscc.utah.edu/common/home/mthnhb/alpha/build/bison-1.875/tests/testsuite.dir/at-stdout
>      2003-01-02 06:57:03.000000000 -0700
> @@ -1166,7 +1166,7 @@
>  }
>  
>  
> -#line 10 "\377\037\272'HP\275#\215"
> +#line 18 "\377\037\272'HP\275#\215"

That's strange.  Not only is the line number wrong, but also the file
name is corrupted.  A similar problem occurred in the other test case
failure on this platform.

Possibly this is related to the compiler bug that you mentioned in
another message.  Another possibility is a portability problem in
lib/quotearg.c, but I don't see offhand what it would be.

In scan-skel.l, suppose you replace this:

#define QPUTS(String) \
   fputs (quotearg_style (c_quoting_style, (String)), yyout);

with something like this:

#define QPUTS(String) \
   (fputc ("\"", yyout), \
    fputs (String, yyout), \
    fputc ("\"", yyout))

Does this work around the problem?  This is not a real fix; it's just
an attempt to see whether the problem is in quotearg.c, or in its
caller.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]