re PR c/87682 (gcc/mem-stats.h:172: possible broken comparison operator ?)
authorRichard Biener <rguenther@suse.de>
Mon, 22 Oct 2018 10:25:28 +0000 (10:25 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 22 Oct 2018 10:25:28 +0000 (10:25 +0000)
2018-10-22  Richard Biener  <rguenther@suse.de>

PR middle-end/87682
* mem-stats.h (mem_usage::operator==): Fix pasto.

From-SVN: r265376

gcc/ChangeLog
gcc/mem-stats.h

index 1fad1da2e4a29ca86f1dab6fabbc8cdd1ea8d18c..0cb2291e43fab4bb8821504ba1a301a7d7056824 100644 (file)
@@ -1,3 +1,8 @@
+2018-10-22  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/87682
+       * mem-stats.h (mem_usage::operator==): Fix pasto.
+
 2018-10-22  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/87640
index 741c07301d993dc18aa593925666da2e43c2f0e4..140691e8ec19a4fcb48f8bd587c42762abb785d5 100644 (file)
@@ -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.  */