summaryrefslogtreecommitdiff
path: root/gcc/line-map.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/line-map.h')
-rw-r--r--gcc/line-map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/line-map.h b/gcc/line-map.h
index d5705c75614..865fbced5b6 100644
--- a/gcc/line-map.h
+++ b/gcc/line-map.h
@@ -69,7 +69,8 @@ extern void free_line_maps
at least as long as the final call to lookup_line ().
FROM_LINE should be monotonic increasing across calls to this
- function. */
+ function. A call to this function can relocate the previous set of
+ maps, so any stored line_map pointers should not be used. */
extern struct line_map *add_line_map
PARAMS ((struct line_maps *, enum lc_reason,
unsigned int from_line, const char *to_file, unsigned int to_line));