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 1fad1da..0cb2291 100644 (file)
@@ -1,5 +1,10 @@
 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
        * tree-vrp.c (set_value_range_with_overflow): Decompose
        incomplete result.
index 741c073..140691e 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.  */