diff options
author | Richard Biener <rguenther@suse.de> | 2022-01-18 12:15:36 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-01-18 12:19:49 +0100 |
commit | d21db05b6f44f8cb6df8da5af276df0c4bb3a6c9 (patch) | |
tree | 93844258e08af8d5dcd7561b8e5e67e2acf68575 /gcc/function.h | |
parent | abb748aaf3e1d25258949856d5b39f6ac90a8119 (diff) | |
download | gcc-d21db05b6f44f8cb6df8da5af276df0c4bb3a6c9.zip gcc-d21db05b6f44f8cb6df8da5af276df0c4bb3a6c9.tar.gz gcc-d21db05b6f44f8cb6df8da5af276df0c4bb3a6c9.tar.bz2 |
pack fields in cgraph_simd_clone_arg and struct function
As pointed out by pahole.
2022-01-18 Richard Biener <rguenther@suse.de>
* cgraph.h (struct cgraph_simd_clone_arg): Re-arrange fields to
avoid padding.
* function.h (struct function): Likewise.
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/function.h b/gcc/function.h index fb60979..0986137 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -270,13 +270,6 @@ struct GTY(()) function { /* Value histograms attached to particular statements. */ htab_t GTY((skip)) value_histograms; - /* Different from normal TODO_flags which are handled right at the - beginning or the end of one pass execution, the pending_TODOs - are passed down in the pipeline until one of its consumers can - perform the requested action. Consumers should then clear the - flags for the actions that they have taken. */ - unsigned int pending_TODOs; - /* For function.cc. */ /* Points to the FUNCTION_DECL of this function. */ @@ -338,6 +331,13 @@ struct GTY(()) function { unsigned int curr_properties; unsigned int last_verified; + /* Different from normal TODO_flags which are handled right at the + beginning or the end of one pass execution, the pending_TODOs + are passed down in the pipeline until one of its consumers can + perform the requested action. Consumers should then clear the + flags for the actions that they have taken. */ + unsigned int pending_TODOs; + /* Non-null if the function does something that would prevent it from being copied; this applies to both versioning and inlining. Set to a string describing the reason for failure. */ |