From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8D17F3858C66; Fri, 1 Mar 2024 22:34:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D17F3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709332475; bh=I2T2Sjo2cp45XcVvFgOhd9T3lGOKpDC8np1HmGkJ0kE=; h=From:To:Subject:Date:From; b=OcJFuDqZOFBwUdfSoCoiWB8t2iooZaCYDUvWISULCbOw7rsr+g4jrkf3Vi7uVLHJL PeI402Q+QR2XpAmtNhBdq1kf1dR4NR7VFeFHcfJRfjDbLkmKGoUv40sxcaj1swPf60 YjeXfIP2F53bzJLL7F7GUa5masZ0f0hVcGCRvYeY= From: "csfore at posteo dot net" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzExNDE5OV0gTmV3OiBbMTQgcmVncmVzc2lvbl0gZXJy?= =?UTF-8?B?b3I6IGlubGluaW5nIGZhaWxlZCBpbiBjYWxsIHRvIOKAmGFsd2F5c19pbmxp?= =?UTF-8?B?bmXigJkg4oCYcmVhZGxpbmthdC5sb2NhbGFsaWFz4oCZOiBmdW5jdGlvbiBu?= =?UTF-8?B?b3QgaW5saW5hYmxl?= Date: Fri, 01 Mar 2024 22:34:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: csfore at posteo dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114199 Bug ID: 114199 Summary: [14 regression] error: inlining failed in call to =E2=80=98always_inline=E2=80=99 =E2=80=98readlinkat.loc= alalias=E2=80=99: function not inlinable Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: csfore at posteo dot net Target Milestone: --- Created attachment 57590 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57590&action=3Dedit build.log Does not fail on 13 Steps to reproduce: 1. Build attached file with -O3 -fno-semantic-interposition -fPIC libumockdev-preload.i $ gcc -O3 -fno-semantic-interposition -fPIC libumockdev-preload.i libumockdev-preload.i: In function =E2=80=98__readlinkat_chk=E2=80=99: libumockdev-preload.i:4:6: error: inlining failed in call to =E2=80=98alway= s_inline=E2=80=99 =E2=80=98readlinkat.localalias=E2=80=99: function not inlinable 4 | long readlinkat() {} | ^~~~~~~~~~ libumockdev-preload.i:5:34: note: called from here 5 | long __readlinkat_chk() { return readlinkat(); } | ^~~~~~~~~~~~ $ gcc -v gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-14.0.1_pre20240225/work/gcc-14-20240225/conf= igure --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/14 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/14/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/14/python --enable-languages=3Dc,c++,go,fortran,rust --enable-obsolete --enable-secur= eplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Dyes,extra --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo Harden= ed 14.0.1_pre20240225 p23' --with-gcc-major-version-only --enable-libstdcxx-ti= me --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=3Dpos= ix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-multilib --with-multilib-list=3Dm32,m64 --disable-fixed-point --enable-targets=3Dall --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config=3D'bootstrap= -O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240225 (experimental) (Gentoo Hardened 14.0.1_pre20240= 225 p23)=