This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[RFA:] Re: Updated [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
On Sun, 17 May 2009, Hans-Peter Nilsson wrote:
> On Sun, 17 May 2009, Hans-Peter Nilsson wrote:
> > On Sun, 17 May 2009, Hans-Peter Nilsson wrote:
> > > Or even better, break it out to a
> > > separate file.
> >
> > I now noticed you're already half-way there.
> > Just a couple of more lines!
>
> Like the attached merged patch. I checked trans-types.i that
> tm.h and config/newlib-stdint.h are included, so I don't see a
> reason not to move it all. Build has passed the point of
> failure.
Regression test complete for cris-elf at r147643: no regressions
compared to last successful build (at r147634).
(The change from the preprocessor-directive-friendly definition
to a conditional expression seemed worthy of a note. Maybe the
change doesn't make sense anymore; I'll update and retest if the
rest of the patch is satisfactory.)
Here's the CL for
<http://gcc.gnu.org/ml/gcc-patches/2009-05/msg01092.html>.
Ok to commit?
2009-05-18 Francois-Xavier Coudert <fxcoudert@gmail.com>
Hans-Peter Nilsson <hp@axis.com>
* defaults.h (UINT_FAST64_TYPE, INTPTR_TYPE, UINTPTR_TYPE)
(WCHAR_TYPE, MODIFIED_WCHAR_TYPE, PTRDIFF_TYPE, WINT_TYPE)
(INTMAX_TYPE, UINTMAX_TYPE, SIG_ATOMIC_TYPE, INT8_TYPE, INT16_TYPE)
(INT32_TYPE, INT64_TYPE, UINT8_TYPE, UINT16_TYPE, UINT32_TYPE)
(UINT64_TYPE, INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE)
(INT_LEAST64_TYPE, UINT_LEAST8_TYPE, UINT_LEAST16_TYPE)
(UINT_LEAST32_TYPE, UINT_LEAST64_TYPE, INT_FAST8_TYPE)
(INT_FAST16_TYPE, INT_FAST32_TYPE, INT_FAST64_TYPE)
(UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE)
(SIZE_TYPE, PID_TYPE): Move defaults here.
(CHAR16_TYPE, CHAR32_TYPE): Ditto. Tweak definition to use
conditional expression in terms of the corresponding
UINT_LEAST<N>_TYPE instead of #ifndefs.
* c-common.h: Macros above moved from here.
brgds, H-P
- References:
- [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- Updated [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING