Committed: fix spurious gcc.dg/cpp/direct2s.c regression
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Sat Jun 30 18:37:00 GMT 2007
My autotester for cris-axis-elf yells about the following
(apparently generic) regression:
gcc.sum gcc.dg/cpp/direct2s.c
Looking in gcc.log, the cause is apparent:
Excess errors:
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/cpp/direct2s.c:35: warning: current file is older than direct2.c
It's obviously a missing depencency in gcc_update (see line
above in diff context), thus committed. Sanity-checked by
executing gcc_update and observing the file being touched.
* gcc_update (files_and_dependencies): Handle
gcc/testsuite/gcc.dg/cpp/direct2s.c.
Index: gcc_update
===================================================================
--- gcc_update (revision 126154)
+++ gcc_update (working copy)
@@ -81,6 +81,9 @@ gcc/java/keyword.h: gcc/java/keyword.gpe
# testsuite
# Without this, _Pragma3.c can have a false negative.
gcc/testsuite/gcc.dg/cpp/_Pragma3.c: gcc/testsuite/gcc.dg/cpp/mi1c.h
+# Similarly, without this, you will see:
+# direct2s.c:35: warning: current file is older than direct2.c
+gcc/testsuite/gcc.dg/cpp/direct2s.c: gcc/testsuite/gcc.dg/cpp/direct2.c
# And libraries, at last
libbanshee/configure: libbanshee/configure.ac
libmudflap/configure: libmudflap/configure.ac
brgds, H-P
More information about the Gcc-patches
mailing list