From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 080E13858000; Tue, 15 Aug 2023 05:04:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 080E13858000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692075889; bh=YOzEVuXXKzgtt9lpoQhnIQ6aoLJdlhTNMsShpZrZ718=; h=From:To:Subject:Date:In-Reply-To:References:From; b=n/9pDRZViHMi8I6cSvkTBwAkd4MDOQH8+zjeEHz50eCTcwR2YNDUY+y7oLhM1suNO HChU+02nFQrJY429edPX1TTvBFkncxzhekvLU86uH84/dnGM+gDstWDLp4w2mVB9Lf //jH361Y2o4BY+u31PL+35avJOmBs5Ue7/MkF64I= From: "hp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others Date: Tue, 15 Aug 2023 05:04:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hp at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: linkw 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111021 --- Comment #8 from Hans-Peter Nilsson --- (In reply to Kewen Lin from comment #6) >=20 > btw, thanks for the suggestion on "defaulting to NULL or something" in ML, > but I guess a default value like zero rather than ERROR_MARK has to base = on > the assertion that the default value is equal to ERROR_MARK, IMHO it isn't > quite maintainable. I believe you could add a code_helper constructor for another type, maybe e= ven "int"? Then the "default" value for the code_helper argument for the legitimate address hook function would just look like "code_helper =3D 0". Maybe that's too error-prone and a pointer-type or some entirely different = type would be better. I might have misunderstood things of course, but that's wh= at I mean by "or something".=