[Bug preprocessor/65481] _Pragma GCC dependency broken on powerpc64

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 20 20:40:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65481

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Never mind. It does work correctly. The t.c mtime of

  2015-03-19 19:54:40.448639710 -0400

clearly is before the t.h mtime of

  2015-03-19 19:56:02.508682213 -0400

I reversed the order of the two files in the test case. Doh!

(It would be nice to change the test so as not to depend on the timestamps of
the sources but instead create a couple of headers of its own, one older than
the other, and use those instead. That way it could reliably verify that the
pragma works both ways.)



More information about the Gcc-bugs mailing list