diff options
author | Richard Biener <rguenther@suse.de> | 2018-10-22 10:25:28 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2018-10-22 10:25:28 +0000 |
commit | 2c2f86741646b349e2dfc6e477c24fa8fbd84b71 (patch) | |
tree | 8f8749d734e3bd036a5d9fcfede147701739e7b4 /gcc/mem-stats.h | |
parent | 893ade8b74b15b96301a44d394a92ea2efad6a09 (diff) | |
download | gcc-2c2f86741646b349e2dfc6e477c24fa8fbd84b71.zip gcc-2c2f86741646b349e2dfc6e477c24fa8fbd84b71.tar.gz gcc-2c2f86741646b349e2dfc6e477c24fa8fbd84b71.tar.bz2 |
re PR c/87682 (gcc/mem-stats.h:172: possible broken comparison operator ?)
2018-10-22 Richard Biener <rguenther@suse.de>
PR middle-end/87682
* mem-stats.h (mem_usage::operator==): Fix pasto.
From-SVN: r265376
Diffstat (limited to 'gcc/mem-stats.h')
-rw-r--r-- | gcc/mem-stats.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/mem-stats.h b/gcc/mem-stats.h index 741c073..140691e 100644 --- a/gcc/mem-stats.h +++ b/gcc/mem-stats.h @@ -169,7 +169,7 @@ struct mem_usage { return (m_allocated == second.m_allocated && m_peak == second.m_peak - && m_allocated == second.m_allocated); + && m_times == second.m_times); } /* Comparison operator. */ |