summaryrefslogtreecommitdiff
path: root/libssp/snprintf-chk.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2018-07-03 14:47:11 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2018-07-03 14:47:11 +0000
commit42a98b43bbd3faf452545871daa49d155dfd03e2 (patch)
tree4fd357077b47dfab63779852ccc2674c47b4d94c /libssp/snprintf-chk.c
parent42addb5adfbe872a7dd086db04df3f517a61f1e8 (diff)
downloadgcc-42a98b43bbd3faf452545871daa49d155dfd03e2.tar.gz
Reorg line_map data structures for better packing.
* include/line-map.h (enum lc_reason): Add LC_HWM. (LINE_MAP_MAX_LOCATION): Define here. (struct line_map): Move reason field to line_map_ordinary. Adjust GTY tagging. (struct line_map_ordinary): Reorder fields for less padding. (struct line_map_macro): Likewise. (MAP_ORDINARY_P): New. (linemap_check_ordinary, linemap_check_macro): Adjust. * line-map.c (LINE_MAP_MAX_SOURCE_LOCATION): Delete. (new_linemap): Take start_location, not reason. Adjust. (linemap_add, linemap_enter_macro): Adjust. (linemap_line_start): Likewise. (linemap_macro_expansion_map_p): Use MAP_ORDINARY_P. (linemap_macro_loc_to_spelling_point): Likewise. (linemap_macro_loc_to_def_point): Likewise. (linemap_dump): Likewise. From-SVN: r262348
Diffstat (limited to 'libssp/snprintf-chk.c')
0 files changed, 0 insertions, 0 deletions