From: Richard Biener Date: Mon, 22 Oct 2018 10:25:28 +0000 (+0000) Subject: re PR c/87682 (gcc/mem-stats.h:172: possible broken comparison operator ?) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c2f86741646b349e2dfc6e477c24fa8fbd84b71;p=gcc.git re PR c/87682 (gcc/mem-stats.h:172: possible broken comparison operator ?) 2018-10-22 Richard Biener PR middle-end/87682 * mem-stats.h (mem_usage::operator==): Fix pasto. From-SVN: r265376 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1fad1da2e4a..0cb2291e43f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-22 Richard Biener + + PR middle-end/87682 + * mem-stats.h (mem_usage::operator==): Fix pasto. + 2018-10-22 Richard Biener PR tree-optimization/87640 diff --git a/gcc/mem-stats.h b/gcc/mem-stats.h index 741c07301d9..140691e8ec1 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. */