public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "U.Mutlu" <um@mutluit.com>
To: gcc@gcc.gnu.org
Subject: Re: 1x -Werror=unused-variable happens :-)
Date: Sat, 23 Jun 2018 17:14:00 -0000	[thread overview]
Message-ID: <5B2E389C.2050000@mutluit.com> (raw)
In-Reply-To: <5B2E3145.8030000@mutluit.com>

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

  reply	other threads:[~2018-06-23 12:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-23 12:10 U.Mutlu
2018-06-23 17:14 ` U.Mutlu [this message]
2018-06-24  6:13   ` U.Mutlu
2018-06-23 19:25 ` Jonathan Wakely
2018-06-23 21:11   ` U.Mutlu
2018-06-23 21:42     ` U.Mutlu
2018-06-24 14:46       ` Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5B2E389C.2050000@mutluit.com \
    --to=um@mutluit.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).