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 :-)


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


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