Re: Testsuite failure with GCC 4.8

Ryan Hill <[email protected]>
Newsgroups gmane.comp.compilers.ccache
Organization Gentoo
Message-ID <[email protected]>
On Wed, 20 Mar 2013 22:33:57 +0100
Joel Rosdahl <[email protected]> wrote:

> On 17 March 2013 03:21, Ryan Hill <[email protected]> wrote:
> > In GCC 4.8 the preprocessor automatically includes <stdc-predef.h> in C/C++
> > mode. This is causing a failure in the ccache testsuite: [...]
> 
> Thanks for the notice. I believe I have fixed it now:
> http://gitweb.samba.org/?p=ccache.git;a=commit;h=b5d63f81c1a83fd4c50b769a96a04f581b7db70c

Almost.  It looks like -MMD disables this behaviour so now that particular test
fails in the opposite way.

$ gcc-4.8.0 -c -Wp,-MD,expected.d test.c && cat expected.d 
test.o: test.c /usr/include/stdc-predef.h test1.h test3.h test2.h

$ gcc-4.8.0 -c -Wp,-MMD,expected.d test.c && cat expected.d 
test.o: test.c test1.h test3.h test2.h


-- 
gcc-porting
toolchain, wxwidgets
@ gentoo.org

_______________________________________________
ccache mailing list
[email protected]
https://lists.samba.org/mailman/listinfo/ccache
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBCgAGBQJRd3F9AAoJEO04vUmVeoRjz14IAK9P24DXAgo1CCWiyTAb3m90
uH3OU16sSB88kM3Mi16ABZHdiTmqAXejsfil3MYKVrZ0FIG62h4Qi+e6HYnvay4c
nqamicfPxc1UEGDj7FWE7UY3xY1y/jlolucfrsJ6bBF8xw70mb5HRm2QO9fuyqid
wwVuG7dM59PIx/FAJpQ4kRRhzIJ1VA5WVhKmJMfnpi7wyd1CEDET8ghdydS3/f3H
f0ykQZd4j24g74Gz3IELL5I7kFzrE0kNhDin2Q+08bU/yGbM+Kyw4+nplJgZslBg
DZBO2oUnA9rbuCVozXCfZoOyCrSFfitifiPuo4uWLaE+QnaoSjk8aAdvK7R3vyw=
=+l7L
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.