This is the mail archive of the gcc-bugs@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: bug ? : -Wpedantic -Wconversion 'short a=1; a-=1;' complaint


On 16/05/18 13:58 +0000, Jason Vas Dias wrote:
Great thanks for your informative response, Jim! :
RE:
On 23/04/2018, Jim Wilson <jimw@sifive.com> wrote:
On 04/23/2018 07:11 AM, Jason Vas Dias wrote:

I really do not think a '-Wpedantic -Wconversion' warning should
be generated for the following code, but it is
(with GCC 6.4.1 and 7.3.1 on RHEL-7.5 Linux) :

  $ echo '
  typedef unsigned short U16_t;
  static void f(void)
  { U16_t a = 1;
    a-=1;
  }' > t.C;

gcc@gcc.gnu.org dropped as inappropriate.  Note that gcc-bugs is output
from our bugzilla.  Sending email here isn't very useful.  If you want a
bug fixed, you have to open a bug report in bugzilla.  You can ask gcc
questions on gcc help.

Please move this to a mailing list other than gcc-bugs, because as
explained that is for automated email from Bugzilla.

You've added "gcc@gcc.org" which is nothing to do with GCC.
gcc-help@gcc.gnu.org is the right mailing list.



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