forked from iains/gcc-14-branch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bootstrap failure with --enable-gather-detailed-mem-stats.
This patch restores bootstrap when detailed memory stats are enabled. No functional changes. Tested on x86_64. Committed to trunk. 2012-11-27 Diego Novillo <[email protected]> * vec.h: Replace 'class vec' with 'struct vec' everywhere. (ggc_internal_cleared_alloc_stat): Remove. (va_gc::reserve): Add PASS_MEM_STAT to ggc_realloc_stat call. (va_stack::reserve): Add PASS_MEM_STAT to va_heap::reserve call. (vec<T, A, vl_embed>::copy): Replace ALONE_MEM_STAT_DECL with ALONE_CXX_MEM_STAT_INFO. (vec_safe_reserve): Replace MEM_STAT_DECL with CXX_MEM_STAT_INFO. (vec_safe_reserve_exact): Likewise. (vec_alloc): Likewise. (vec_safe_grow): Likewise. (vec_safe_grow_cleared): Likewise. (vec_safe_push): Likewise. (vec_safe_insert): Likewise. (vec_safe_splice): Likewise. (vec_alloc): Likewise. (vec_check_alloc): Likewise. From-SVN: r193864
- Loading branch information
Showing
2 changed files
with
48 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,22 @@ | ||
2012-11-27 Diego Novillo <[email protected]> | ||
|
||
* vec.h: Replace 'class vec' with 'struct vec' everywhere. | ||
(ggc_internal_cleared_alloc_stat): Remove. | ||
(va_gc::reserve): Add PASS_MEM_STAT to ggc_realloc_stat call. | ||
(va_stack::reserve): Add PASS_MEM_STAT to va_heap::reserve call. | ||
(vec<T, A, vl_embed>::copy): Replace ALONE_MEM_STAT_DECL with | ||
ALONE_CXX_MEM_STAT_INFO. | ||
(vec_safe_reserve): Replace MEM_STAT_DECL with CXX_MEM_STAT_INFO. | ||
(vec_safe_reserve_exact): Likewise. | ||
(vec_alloc): Likewise. | ||
(vec_safe_grow): Likewise. | ||
(vec_safe_grow_cleared): Likewise. | ||
(vec_safe_push): Likewise. | ||
(vec_safe_insert): Likewise. | ||
(vec_safe_splice): Likewise. | ||
(vec_alloc): Likewise. | ||
(vec_check_alloc): Likewise. | ||
|
||
2012-11-27 Marc Glisse <[email protected]> | ||
|
||
* tree-cfg.c (verify_gimple_comparison): Verify that vector | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters