Hi! On Tue, Jan 10, 2023 at 09:26:13AM -0300, Adhemerval Zanella Netto wrote: > On 12/12/22 20:52, Segher Boessenkool wrote: > > On Mon, Dec 12, 2022 at 02:10:16PM -0300, Adhemerval Zanella Netto wrote: > > How do you intend to modify all the existing copies of the header that > > haven't been updated for over a decade already?> > > If you think changing all user code that uses longlong.h is a good idea, > > please change it to not use inline asm, use builtins in some cases but > > mostly just rewrite things in plain C. But GCC cannot rewrite user code > > (not preemptively anyway ;-) ) -- and longlong.h as encountered in the > > wild (not the one in our libgcc source code) is user code. > > > > If you think changing the copy in libgcc is a good idea, please change > > the original in glibc first? > > That's my original intention [1], but Joseph stated that GCC is the upstream > source of this file. Joseph, would you be ok for a similar patch to glibc > since gcc is reluctant to accept it? > > [1] https://sourceware.org/pipermail/libc-alpha/2022-October/143050.html
The file starts with /* longlong.h -- definitions for mixed size 32/64 bit arithmetic. Copyright (C) 1991-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. Please change that first then? Segher