From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3B14839DC4E0; Fri, 9 Apr 2021 18:11:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3B14839DC4E0 From: "thiago at kde dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/100005] undefined reference to `_rdrand64_step' Date: Fri, 09 Apr 2021 18:11:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thiago at kde dot org 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: Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2021 18:11:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100005 --- Comment #6 from Thiago Macieira --- (In reply to Jakub Jelinek from comment #5) > then one would get an out of line copy when taking their address, but it = would=20 > duplicated in all the TUs that did this. That's not a problem, since that's only for debug mode builds. In release builds, they should get properly inlined. > Anyway, your assumption that intrinsics can be used the way you expect th= em > is just wrong. If you say so, then please close as WONTFIX or NOTABUG. And indeed the ones that are implemented as macros can't have their address taken anyway, since macros don't have address. I would suggest a better error message, though, if "just works" is not possible.=