public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/dmf008)] PR 108623: Revert setting precision size to 16 bits.
@ 2023-02-04 3:01 Michael Meissner
0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2023-02-04 3:01 UTC (permalink / raw)
To: gcc-cvs
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-04 3:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-04 3:01 [gcc(refs/users/meissner/heads/dmf008)] PR 108623: Revert setting precision size to 16 bits Michael Meissner
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).