This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA:] unbreak build, update2 (was: Re: Updated [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING)
On Tue, May 19, 2009 at 01:30:04AM +0200, Hans-Peter Nilsson wrote:
> > Date: Sun, 17 May 2009 22:46:43 +0000 (UTC)
> > From: "Joseph S. Myers" <joseph@codesourcery.com>
>
> > Moving all these defaults certainly seems sensible;
>
> Was that an approval?
>
> Anyways, here's an update that's just a plain move, to avoid
> changing the CHAR16_TYPE and CHAR32_TYPE definitions. (They
> aren't used in preprocessor conditionals, but anyway.)
>
> Regtested cris-axis-elf, no regressions compared to beginning of
> the breakage (still broken at r147677 and probably most probably
> "right now" at r147681 too). I'll have to start carrying around
> this patch in order to spot regressions.
>
> 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, CHAR16_TYPE, CHAR32_TYPE): Move defaults here...
> * c-common.h: ...from here.
This patch is approved. As Joseph says, hopefully Fortran will be modified to
use INTMAX_TYPE.
--
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com