From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AC88E3858D39; Wed, 4 Jan 2023 13:47:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC88E3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672840064; bh=RIP/M63GF/TSV37NzWWDp2wfmR46ZrscA4g5fy9E/2E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wDd1nmKs+iioze9CD+RWplJsnyfGQoycTcXfH2FI3kqNHmxi7DPUIw2tz8mp7g8HM oLpc5PXz3syYAGNhZRx4AS1i870jGGBmLTxCNK023ll0L0A88/lVuYK40qiGGX+O7l KslNEuSXI2k/1e4Ztzbo38IuIDPz64ZsWKUzbols= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108283] Problem when accessing address zero Date: Wed, 04 Jan 2023 13:47:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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_status resolution 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108283 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Andrew Pinski --- > As a user I=E2=80=99m not aware of every switch and option of the compile= r. So you are saying you don't understand the programming language you are wri= ting in. Again deferencing a null pointer is undefined by the C standard. Gcc just had an option that makes it well defined. Also again building for arm-eabi by default is just building for a semi hos= ted env. If you want something different you need to use an option.=