This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


U.Mutlu wrote on 06/23/2018 02:10 PM:
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.


Ok, a bugzilla bug report entry for this has just been filed:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86294



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]