This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Update longlong.h from GCC 4.7.0
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 16 Mar 2012 19:46:29 +0000 (UTC)
- Subject: Re: PATCH: Update longlong.h from GCC 4.7.0
- References: <20120316174415.GA7577@intel.com> <20120316180015.3CB122C093@topped-with-meat.com>
On Fri, 16 Mar 2012, Roland McGrath wrote:
> > This patch updates longlong.h from GCC 4.7.0 so that we always use
> > __builtin_clzll and __builtin_ctzll for x86-64 DImode to support x32.
> > OK to install?
>
> Do all supported GCC versions have the ll variants of the builtins?
> If so, then the right thing to do is just to update longlong.h wholesale to
> the GCC trunk version verbatim. For that, the log entry doesn't need to
> list the individual changes, just "Update from GCC."
As I noted, there have been changes to longlong.h in glibc that aren't in
GCC, and changes in GCC that aren't in glibc, so the (nonsubstantive)
changes from glibc do need merging to GCC before we can just copy in the
GCC version - but basically copying in the GCC version is what I want (and
after that, trying to make changes in both places at once).
--
Joseph S. Myers
joseph@codesourcery.com