GCC Middle and Back End API Reference
glimits.h File Reference

Go to the source code of this file.

Macros

#define CHAR_BIT   __CHAR_BIT__
 
#define MB_LEN_MAX   1
 
#define SCHAR_MIN   (-SCHAR_MAX - 1)
 
#define SCHAR_MAX   __SCHAR_MAX__
 
#define UCHAR_MAX   (SCHAR_MAX * 2U + 1U)
 
#define CHAR_MIN   SCHAR_MIN
 
#define CHAR_MAX   SCHAR_MAX
 
#define SHRT_MIN   (-SHRT_MAX - 1)
 
#define SHRT_MAX   __SHRT_MAX__
 
#define USHRT_MAX   (SHRT_MAX * 2U + 1U)
 
#define INT_MIN   (-INT_MAX - 1)
 
#define INT_MAX   __INT_MAX__
 
#define UINT_MAX   (INT_MAX * 2U + 1U)
 
#define LONG_MIN   (-LONG_MAX - 1L)
 
#define LONG_MAX   __LONG_MAX__
 
#define ULONG_MAX   (LONG_MAX * 2UL + 1UL)
 
#define LONG_LONG_MIN   (-LONG_LONG_MAX - 1LL)
 
#define LONG_LONG_MAX   __LONG_LONG_MAX__
 
#define ULONG_LONG_MAX   (LONG_LONG_MAX * 2ULL + 1ULL)
 

Macro Definition Documentation

◆ CHAR_BIT

#define CHAR_BIT   __CHAR_BIT__
Copyright (C) 1991-2024 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

Under Section 7 of GPL version 3, you are granted additional
permissions described in the GCC Runtime Library Exception, version
3.1, as published by the Free Software Foundation.

You should have received a copy of the GNU General Public License and
a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
<http://www.gnu.org/licenses/>.   
Number of bits in a `char'.   

◆ CHAR_MAX

#define CHAR_MAX   SCHAR_MAX

◆ CHAR_MIN

#define CHAR_MIN   SCHAR_MIN
Minimum and maximum values a `char' can hold.   

◆ INT_MAX

#define INT_MAX   __INT_MAX__

Referenced by assign_hard_reg(), compute_value_histograms(), connect_traces(), constant_byte_string(), modref_tree< T >::copy_from(), strlen_pass::count_nonzero_bytes(), ctf_add_enumerator(), curr_insn_transform(), decode_reg_name_and_count(), diagnostic_set_caret_max_width(), do_estimate_growth_1(), estimate_growth(), expand_mult_highpart(), expand_omp_simd(), fast_allocation(), tree_switch_conversion::bit_test_cluster::find_bit_tests_slow(), find_costs_and_classes(), find_hard_regno_for_1(), tree_switch_conversion::jump_table_cluster::find_jump_tables(), find_reg(), find_split_points(), fold_ctor_reference(), get_terminal_width(), get_uncond_jump_length(), improve_allocation(), initializer_zerop(), ipa_merge_fn_summary_after_inlining(), ira_create_object(), ira_tune_allocno_costs(), lra(), max_attr_value(), merge_profile_summaries(), min_attr_value(), native_encode_initializer(), oacc_xform_loop(), print_specific_help(), propagate_allocno_info(), value_topo_info< valtype >::propagate_effects(), record_address_regs(), replace_loop_annotate_in_block(), rtvec_alloc(), scan_one_insn(), set_option(), set_switch_stmt_execution_predicate(), setup_allocno_priorities(), setup_class_translate_array(), setup_min_max_conflict_allocno_ids(), setup_profitable_hard_regs(), shortest_paths< GraphTraits, Path_t >::shortest_paths(), spill_for(), store_bit_field(), stringop_block_profile(), tp_first_run_node_cmp(), try_head_merge_bb(), update_conflict_hard_reg_costs(), vect_enhance_data_refs_alignment(), and vect_peeling_hash_choose_best_peeling().

◆ INT_MIN

◆ LONG_LONG_MAX

#define LONG_LONG_MAX   __LONG_LONG_MAX__

◆ LONG_LONG_MIN

#define LONG_LONG_MIN   (-LONG_LONG_MAX - 1LL)
Minimum and maximum values a `signed long long int' can hold.   

◆ LONG_MAX

#define LONG_MAX   __LONG_MAX__

Referenced by gcov_open().

◆ LONG_MIN

#define LONG_MIN   (-LONG_MAX - 1L)
Minimum and maximum values a `signed long int' can hold.
(Same as `int').   

Referenced by find_traces(), find_traces_1_round(), tail_duplicate(), and vt_find_locations().

◆ MB_LEN_MAX

#define MB_LEN_MAX   1
Maximum length of a multibyte character.   

◆ SCHAR_MAX

#define SCHAR_MAX   __SCHAR_MAX__

◆ SCHAR_MIN

#define SCHAR_MIN   (-SCHAR_MAX - 1)
Minimum and maximum values a `signed char' can hold.   

◆ SHRT_MAX

#define SHRT_MAX   __SHRT_MAX__

◆ SHRT_MIN

#define SHRT_MIN   (-SHRT_MAX - 1)
Minimum and maximum values a `signed short int' can hold.   

◆ UCHAR_MAX

#define UCHAR_MAX   (SCHAR_MAX * 2U + 1U)
Maximum value an `unsigned char' can hold.  (Minimum is 0).   

Referenced by init_rtlanal(), and output_default_latencies().

◆ UINT_MAX

◆ ULONG_LONG_MAX

#define ULONG_LONG_MAX   (LONG_LONG_MAX * 2ULL + 1ULL)
Maximum value an `unsigned long long int' can hold.  (Minimum is 0).   

◆ ULONG_MAX

#define ULONG_MAX   (LONG_MAX * 2UL + 1UL)
Maximum value an `unsigned long int' can hold.  (Minimum is 0).   

Referenced by diagnostic_context::diagnostic_n_impl(), format_string_diagnostic_t::emit_warning_n_va(), expand_asm_stmt(), and pp_printf_n().

◆ USHRT_MAX

#define USHRT_MAX   (SHRT_MAX * 2U + 1U)