diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/function.h | 34 |
2 files changed, 22 insertions, 17 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e7b047..48a24ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -5,6 +5,11 @@ 2003-08-29 Richard Henderson <rth@redhat.com> + * function.h (struct function): Move function_frequency and + max_jumptable_ents before start of bit field members. + +2003-08-29 Richard Henderson <rth@redhat.com> + * builtins.c (expand_builtin_constant_p): Check cse_not_expected here, (fold_builtin_constant_p) ... not here. diff --git a/gcc/function.h b/gcc/function.h index 4f5b51f..4216acb 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -389,6 +389,23 @@ struct function GTY(()) delay list for them is recorded here. */ rtx epilogue_delay_list; + /* How commonly executed the function is. Initialized during branch + probabilities pass. */ + enum function_frequency { + /* This function most likely won't be executed at all. + (set only when profile feedback is available). */ + FUNCTION_FREQUENCY_UNLIKELY_EXECUTED, + /* The default value. */ + FUNCTION_FREQUENCY_NORMAL, + /* Optimize this function hard + (set only when profile feedback is available). */ + FUNCTION_FREQUENCY_HOT + } function_frequency; + + /* Maximal number of entities in the single jumptable. Used to estimate + final flowgraph size. */ + int max_jumptable_ents; + /* Collected bit flags. */ /* Nonzero if function being compiled needs to be given an address @@ -487,23 +504,6 @@ struct function GTY(()) /* Nonzero if code to initialize arg_pointer_save_area has been emitted. */ unsigned int arg_pointer_save_area_init : 1; - - /* How commonly executed the function is. Initialized during branch - probabilities pass. */ - enum function_frequency { - /* This function most likely won't be executed at all. - (set only when profile feedback is available). */ - FUNCTION_FREQUENCY_UNLIKELY_EXECUTED, - /* The default value. */ - FUNCTION_FREQUENCY_NORMAL, - /* Optimize this function hard - (set only when profile feedback is available). */ - FUNCTION_FREQUENCY_HOT - } function_frequency; - - /* Maximal number of entities in the single jumptable. Used to estimate - final flowgraph size. */ - int max_jumptable_ents; }; /* The function currently being compiled. */ |