This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

[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


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