public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Michael Meissner <meissner@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/dmf008)] PR 108623: Revert setting precision size to 16 bits. Date: Sat, 4 Feb 2023 03:01:06 +0000 (GMT) [thread overview] Message-ID: <20230204030106.AB7BC3858C52@sourceware.org> (raw) https://gcc.gnu.org/g:0ce9e96d29ab2269531df65452cb137590dcd687 commit 0ce9e96d29ab2269531df65452cb137590dcd687 Author: Michael Meissner <meissner@linux.ibm.com> Date: Fri Feb 3 22:00:43 2023 -0500 PR 108623: Revert setting precision size to 16 bits. 2023-02-02 Michael Meissner <meissner@linux.ibm.com> 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;
reply other threads:[~2023-02-04 3:01 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230204030106.AB7BC3858C52@sourceware.org \ --to=meissner@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).