This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] libgomp_g.h: Include stdint.h instead of gstdint.h
- From: Frederik Harwath <frederik at codesourcery dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: <jakub at redhat dot com>, <kcy at codesourcery dot com>
- Date: Mon, 30 Sep 2019 00:03:00 -0700
- Subject: [PATCH] libgomp_g.h: Include stdint.h instead of gstdint.h
- Ironport-sdr: 9i/89/pJnSPosx5R0u+wjK+nAXmbZvbosCR8XnVbp+DkHqvk8NbRUWhcvIwC3DP9NGeX/HJKaU n8Cs1jABZjYZayl1yOUd4KdTVszu4aMXkyYH6cRA3jygo9bvCb63FmVpjHP7D4XgONipJ4zqxV LLLNHJJq8PZAcTeMxzREZScW3DbfCPvqejnYWRrr563PISgZMr+hOFvNKpRvarS0U5yrziJoPJ W5izoYQvlJl7AN9+SInrp/GCY9X0oNG3DcYwQtk6+OXg3gq3wMgdabJGoC/LmcmlDY3ozwQGzT Ngk=
- Ironport-sdr: 8Cl3zbK6+bTWHr7gFA3vLWTasdkU7UGLHKxrjzmiae5iVaKr0DEOxM+2wLpZM/b5LV9zVnw5az ZyR2N1fNRkgzdHV5oTfpcgxJByaCgFhnYfTdO/Jezb+5vz/RKMAvhkOtSUwSLRgr+EdHJ5x6BH nuYpHGHlMrqwZCxJGjBFhHjwYfsm47KfmcQVhIeB3/Ic111tVLh2dDVnutvjn79ZFyyN2R2J3g 9JmTaHNkLpI6fOYTf1DmkzbgylFcXZrTEsVkZlq4gL2z0i0ekZ42F6X2g9kZ3d/8qBWriucf+6 qw0=
Hi,
I am a new member of Mentor's Sourcery Tools Services group and this is the first patch that I am submitting here.
I do not have write access to the svn repository yet, hence someone would have to merge this patch for me if it gets accepted.
But I intend to apply for an account soon.
The patch changes libgomp/libgomp_g.h to include stdint.h instead of the internal gstdint.h. The inclusion of gstdint.h has been
introduced by GCC trunk r265930, presumably because this introduced uses of uintptr_t. Since gstdint.h is not part of GCC's
installation, several libgomp test cases fail to compile when running the tests with the installed GCC.
I have tested the patch with "make check" on x86_64 GNU/Linux.
Best regards,
Frederik
libgomp/ChangeLog:
2019-09-25 Kwok Cheung Yeung <kcy@codesourcery.com>
* libgomp_g.h: Include stdint.h instead of gstdint.h.
diff --git a/libgomp/libgomp_g.h b/libgomp/libgomp_g.h
index 32a9d8a..dfb55fb 100644
--- a/libgomp/libgomp_g.h
+++ b/libgomp/libgomp_g.h
@@ -31,7 +31,7 @@
#include <stdbool.h>
#include <stddef.h>
-#include "gstdint.h"
+#include <stdint.h>
/* barrier.c */