1x -Werror=unused-variable happens :-)

U.Mutlu um@mutluit.com
Sat Jun 23 17:14:00 GMT 2018


Here's another one, but different error type, for further inspection, in the 
same library as before:

../../../gcc_trunk/libitm/method-ml.cc: In member function 'virtual bool 
{anonymous}::ml_wt_dispatch::supports(unsigned int)':
../../../gcc_trunk/libitm/method-ml.cc:650:35: error: comparison is always 
true due to limited range of data type [-Werror=type-limits]
      return (number_of_threads * 2 <= ml_mg::OVERFLOW_RESERVE);
              ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~


Btw, this happens on a x86_64 host/target.


-- 
U.Mutlu



More information about the Gcc mailing list