From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id AB7BC3858C52; Sat, 4 Feb 2023 03:01:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB7BC3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675479666; bh=4xurDDA5JaGou+6cZpAmq12E7qYSQRw3O0+b4ZtGa3M=; h=From:To:Subject:Date:From; b=j8RDNcwElRnEm8ZgWw/FEviOB8sCgVG7ANUgbkoWmV62Kb8HkUiUbr45owrva2N4S VOyUdjhoVVn4p2eeKKSR6V3gxqZwDS5HjkrV9sa/Z+s3r1MlZ+hpnuy4uPv6gENqpE 0v36Ex44i3ECL6dXtiakx4RxIi42qLZjNK5YpLek= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Michael Meissner To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/dmf008)] PR 108623: Revert setting precision size to 16 bits. X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/dmf008 X-Git-Oldrev: 0c16dc66c66ed4232748ba5a14b04d8fce2b0e9f X-Git-Newrev: 0ce9e96d29ab2269531df65452cb137590dcd687 Message-Id: <20230204030106.AB7BC3858C52@sourceware.org> Date: Sat, 4 Feb 2023 03:01:06 +0000 (GMT) List-Id: https://gcc.gnu.org/g:0ce9e96d29ab2269531df65452cb137590dcd687 commit 0ce9e96d29ab2269531df65452cb137590dcd687 Author: Michael Meissner Date: Fri Feb 3 22:00:43 2023 -0500 PR 108623: Revert setting precision size to 16 bits. 2023-02-02 Michael Meissner gcc/ PR middle-end/108623 * tree-core.h (tree_type_common): Revert setting the precision size to 16 bits. Diff: --- gcc/tree-core.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gcc/tree-core.h b/gcc/tree-core.h index e5513208511..acd8deea34e 100644 --- a/gcc/tree-core.h +++ b/gcc/tree-core.h @@ -1686,8 +1686,18 @@ struct GTY(()) tree_type_common { tree attributes; unsigned int uid; - unsigned int precision : 16; + unsigned int precision : 10; + unsigned no_force_blk_flag : 1; + unsigned needs_constructing_flag : 1; + unsigned transparent_aggr_flag : 1; + unsigned restrict_flag : 1; + unsigned contains_placeholder_bits : 2; + ENUM_BITFIELD(machine_mode) mode : 8; + + /* TYPE_STRING_FLAG for INTEGER_TYPE and ARRAY_TYPE. + TYPE_CXX_ODR_P for RECORD_TYPE and UNION_TYPE. */ + unsigned string_flag : 1; unsigned lang_flag_0 : 1; unsigned lang_flag_1 : 1; unsigned lang_flag_2 : 1; @@ -1703,22 +1713,12 @@ struct GTY(()) tree_type_common { so we need to store the value 32 (not 31, as we need the zero as well), hence six bits. */ unsigned align : 6; - /* TYPE_STRING_FLAG for INTEGER_TYPE and ARRAY_TYPE. - TYPE_CXX_ODR_P for RECORD_TYPE and UNION_TYPE. */ - unsigned string_flag : 1; - unsigned no_force_blk_flag : 1; - unsigned warn_if_not_align : 6; - unsigned needs_constructing_flag : 1; - unsigned transparent_aggr_flag : 1; - - unsigned contains_placeholder_bits : 2; - unsigned restrict_flag : 1; unsigned typeless_storage : 1; unsigned empty_flag : 1; unsigned indivisible_p : 1; unsigned no_named_args_stdarg_p : 1; - unsigned spare : 9; + unsigned spare : 15; alias_set_type alias_set; tree pointer_to;