From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 51F4A3858D3C; Fri, 24 Nov 2023 10:36:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 51F4A3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700822202; bh=kOzo4ED8Dt0ATXJCIgLtQVUUX86vE2BeyOpIWw79+Hc=; h=From:To:Subject:Date:From; b=H7Z8Tj2Aeyhk/jdGWN9PCuGIrTxO4lhKXoYfEgkaL5CCLrd8eblGRHPZyEx8QBhGO 1ffsbtjGt5OujaDi5dzODAaB25R/bBHBWHtfNuIjVZBMLpuI1w7swYLXgV9nqwexiL /9bEOI66+YJKtODgzRX27uK/ZfpyuVvNFuo4FFwk= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/112699] New: Should limits.h in freestanding environment be self-contained? Date: Fri, 24 Nov 2023 10:36:40 +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: xry111 at gcc dot gnu.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone 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=3D112699 Bug ID: 112699 Summary: Should limits.h in freestanding environment be self-contained? Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: xry111 at gcc dot gnu.org Target Milestone: --- Currently limits.h always includes the libc limits.h if it's available at b= uild time. Should it be self-contained instead like stdint.h with -ffreestandin= g?=