bug-bison
[Top][All Lists]
Advanced

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

Re: bison 1.875c - test results


From: Paul Eggert
Subject: Re: bison 1.875c - test results
Date: 25 Feb 2004 13:13:59 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Guido Trentalancia" <address@hidden> writes:

> | CXXFLAGS='-O3 -tpp7 -xNB -unroll -ip -parallel -openmp  '
...
--- /dev/null   2003-09-15 14:40:47.000000000 +0100
+++ /mnt/source/bison-1.875c/tests/testsuite.dir/at-stdout      2004-02-25 
01:07:39.565089024 +0000
@@ -0,0 +1,48 @@
+stack.hh(62) : (col. 12) remark: LOOP WAS VECTORIZED.


Thanks for reporting that.  It sounds like you've specified options to
your C++ compiler that make it chatty.  To work around the problem,
you might use different options, which don't cause it to output that
"LOOP WAS VECTORIZED" message.

I've installed the following patch to avoid the problem in future
Bison versions.

2004-02-25  Paul Eggert  <address@hidden>

        * tests/local.at (AT_COMPILE, AT_COMPILE_CXX): Ignore stdout from
        compilers.  This fixes a problem with Intel's C++ compiler being
        chatty, reported by Guido Trentalancia in
        <http://mail.gnu.org/archive/html/bug-bison/2004-02/msg00030.html>.

Index: tests/local.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/local.at,v
retrieving revision 1.4
diff -p -u -r1.4 local.at
--- tests/local.at      24 Dec 2003 08:26:02 -0000      1.4
+++ tests/local.at      25 Feb 2004 21:11:19 -0000
@@ -171,7 +171,7 @@ $2])
 # assume that we are linking too; this is a hack.
 m4_define([AT_COMPILE],
 [AT_CHECK([$CC $CFLAGS $CPPFLAGS m4_bmatch([$1], [[.]], [], [$LDFLAGS 
])m4_default([$2], [$1.c]) m4_bmatch([$1], [[.]], [], [$LIBS ])-o $1],
-          0, [], [ignore])])
+          0, [ignore], [ignore])])
 
 # AT_COMPILE_CXX(OUTPUT, [SOURCES = OUTPUT.c])
 # --------------------------------------------
@@ -180,7 +180,7 @@ m4_define([AT_COMPILE_CXX],
 [AT_KEYWORDS(c++)
 AT_CHECK([$CXX --version || exit 77], 0, ignore, ignore)
 AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS m4_default([$2], [$1.c]) -o $1],
-         0, [], [ignore])])
+         0, [ignore], [ignore])])
 
 
 




reply via email to

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