From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 374E7385DC0A; Sun, 12 Apr 2020 15:54:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 374E7385DC0A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586706853; bh=/rK9jBXc7KmDVlhyBk/3tAb/NnU0dt3nXXIcl06cz3E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KV8n6ONi5U3i3K2ehzQkrp+dexCoB+XsGQoHMhUm/4Ep6oQT+6n7yIvROvo9wQ4jL uLl8aAWkBZL0fkIXB41fQIKmvm08/zjyGIVS06Hufazc6x5CvToqamFUB3KaCdOrMf NIg8dEJjwqUJfRXV/qbQK18ZXg6OJ6L+NcjnwPVA= From: "pkubaj at anongoth dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1 Date: Sun, 12 Apr 2020 15:54:12 +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: pkubaj at anongoth dot pl 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: Sun, 12 Apr 2020 15:54:13 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D89494 --- Comment #16 from Piotr Kubaj --- 634afa05a8cbff010480088811fe1f39eca70c1d is the first bad commit commit 634afa05a8cbff010480088811fe1f39eca70c1d Author: Richard Sandiford Date: Tue Aug 20 08:53:52 2019 +0000 Make function.c use function_arg_info internally This patch adds a function_arg_info field to assign_parm_data_one, so that: - passed_type -> arg.type - promoted_mode -> arg.mode - named_arg -> arg.named We can then pass this function_arg_info directly to the converted hooks. Between the initialisation of the assign_parm_data_one and the application of promotion rules (which is a state internal to assign_parm_find_data_types), arg.mode is equivalent to passed_mode (i.e. to TYPE_MODE). 2019-08-20 Richard Sandiford gcc/ * function.c (assign_parm_data_one): Replace passed_type, promoted_mode and named_arg with a function_arg_info field. (assign_parm_find_data_types): Remove local variables and assign directly to "data". Make data->passed_mode shadow data->arg.mode until promotion, then assign the promoted mode to data->arg.mode. (assign_parms_setup_varargs, assign_parm_find_entry_rtl) (assign_parm_find_stack_rtl, assign_parm_adjust_entry_rtl) (assign_parm_remove_parallels, assign_parm_setup_block_p) (assign_parm_setup_block, assign_parm_setup_reg) (assign_parm_setup_stack, assign_parms, gimplify_parameters): U= se arg.mode instead of promoted_mode, arg.type instead of passed_t= ype and arg.named instead of named_arg. Use data->arg for function_arg_info structures that had the field values passed_t= ype, promoted_mode and named_arg. Base other function_arg_infos on data->arg, changing the necessary properties. From-SVN: r274705 gcc/ChangeLog | 19 +++++++ gcc/function.c | 168 +++++++++++++++++++++++++----------------------------= ---- 2 files changed, 92 insertions(+), 95 deletions(-)=