From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 89C84385DC16; Tue, 14 Apr 2020 21:08:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89C84385DC16 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586898481; bh=XCQnFZLyz8B8aFxrK11aOe9lGNEOZ+ID218CX3xZGWg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Y5Ur2EMThCN+ckWl6x0WsaA1MRG0/jGYQ53vpTbTIzxb9lxgIxN7M3OIqgrDT9if7 VrQcjyXKvDIqkHrtubvdBYmYiJhxsAFWmo3h+JvRIUswFLvc9t9O5gonrh58k2/JLT ZhbefuS1SDHmxQvPYtW9rfVfbaUeL5jAk9Rvu3jA= From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1 Date: Tue, 14 Apr 2020 21:08:01 +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: 9.3.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: Tue, 14 Apr 2020 21:08:01 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D89494 --- Comment #18 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #17) > So, what exactly happens? Does GCC 4.2 e.g. fail to initialize all membe= rs > to zeros in the > - memset (data, 0, sizeof (*data)); > + *data =3D assign_parm_data_one (); > change? > Would it work to > memset (data, 0, sizeof (*data)); > data->arg =3D function_arg_info (); > for old GCC, or add for old GCC an explicit default constructor to > struct assign_parm_data_one, or > #if GCC_VERSION < 4300 > memset (data, 0, sizeof (*data)); > #endif > *data =3D assign_parm_data_one (); > ? > Most of the other changes seem to be just about using different member na= mes > and thus shouldn't really matter much. hmm I don't see a CTOR specified for assign_parm_data_one. So I guess it's using an implicit default, which is perhaps trivial (assuming that the stru= ct assign_parm_data_one is POD, which seems possible). Will poke at this when I have a spare machine supporting that bootstrap compiler.=