On Mon, 10 Jan 2022 at 12:13, Manuel Lauss <manuel.lauss@xxxxxxxxx> wrote: > > On Mon, Jan 10, 2022 at 1:10 PM Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: > > > > On Mon, 10 Jan 2022 at 12:04, Manuel Lauss via Gcc-help > > <gcc-help@xxxxxxxxxxx> wrote: > > > > > > I'm seeing an issue with what looks like a miscompilation of libcap with gcc-12: > > [...] > > > I attach the disassemblies of the gcc-11 (OK) and gcc-12 built (BAD) > > > cap_text.o files. Maybe someone here can use this to figure out what > > > went wrong. > > > > This should be in bugzilla really. > > OK, I felt that this was too vague yet. Add the preprocessed cap_text.i file and the two cap_text.s files from gcc-11 and gcc-12 and it should be good enough.