From 2c2f86741646b349e2dfc6e477c24fa8fbd84b71 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 22 Oct 2018 10:25:28 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/mem-stats.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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. */ -- 2.30.2