File tree 3 files changed +11
-0
lines changed
3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -592,6 +592,8 @@ jit_langhook_init (void)
592
592
global_dc -> begin_diagnostic = jit_begin_diagnostic ;
593
593
global_dc -> end_diagnostic = jit_end_diagnostic ;
594
594
595
+ clear_nonstandard_integer_type_cache ();
596
+
595
597
build_common_tree_nodes (false);
596
598
597
599
/* I don't know why this has to be done explicitly. */
Original file line number Diff line number Diff line change @@ -6963,6 +6963,14 @@ build_reference_type (tree to_type)
6963
6963
(HOST_BITS_PER_WIDE_INT > 64 ? HOST_BITS_PER_WIDE_INT : 64)
6964
6964
static GTY (( )) tree nonstandard_integer_type_cache [2 * MAX_INT_CACHED_PREC + 2 ];
6965
6965
6966
+ void clear_nonstandard_integer_type_cache (void )
6967
+ {
6968
+ for (size_t i = 0 ; i < 2 * MAX_INT_CACHED_PREC + 2 ; i ++ )
6969
+ {
6970
+ nonstandard_integer_type_cache [i ] = NULL ;
6971
+ }
6972
+ }
6973
+
6966
6974
/* Builds a signed or unsigned integer type of precision PRECISION.
6967
6975
Used for C bitfields whose precision does not match that of
6968
6976
built-in target types. */
Original file line number Diff line number Diff line change @@ -5385,6 +5385,7 @@ extern bool real_minus_onep (const_tree);
5385
5385
extern void init_ttree (void );
5386
5386
extern void build_common_tree_nodes (bool );
5387
5387
extern void build_common_builtin_nodes (void );
5388
+ extern void clear_nonstandard_integer_type_cache (void );
5388
5389
extern tree build_nonstandard_integer_type (unsigned HOST_WIDE_INT, int );
5389
5390
extern tree build_nonstandard_boolean_type (unsigned HOST_WIDE_INT);
5390
5391
extern tree build_range_type (tree, tree, tree);
You can’t perform that action at this time.
0 commit comments