This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH,testsuite]Disable warning for _Pragma3.c to avoid timestamp failures
- From: Andy H <hutchinsonandy at aim dot com>
- To: gcc-patches at gcc dot gnu dot org, janis187 at us dot ibm dot com
- Date: Tue, 17 Jun 2008 22:37:16 -0400
- Subject: [PATCH,testsuite]Disable warning for _Pragma3.c to avoid timestamp failures
Test gcc.dg/cpp/_Pragma3.c uses GCC Dependency to check if current
file is older that mi1c.h.
However, as the timestamp of the files depend on SVN checkout method,
order and speed, the test often fails.
The test originated from PR 7526. 14 Aug 2002 - where a segmentation
fault occurred.
The occurrence or otherwise of the dependency warning message is not
relevant.
The patch turns off all warnings and thus avoids the file date problem.
Tested with i686 target, with relative files ages both ways. Test passes.
Ok for 4.4 mainline?
2008-06-17 Andy Hutchinson <hutchinsonandy@aim.com>
* gcc.dg/cpp/_Pragma3.c: Disable warnings to remove file time dependent
failure.
Attachment:
pragma.patch
Description: Text document