[Bug c++/23608] -Wsign-compare and const propagation

2005-08-29 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-08-30 00:09 --- Subject: Re: -Wsign-compare and const propagation "bangerth at dealii dot org" <[EMAIL PROTECTED]> writes: | As annoying as this is, I don't consider this a bug. It may be classified | as an enhance

[Bug c++/23608] -Wsign-compare and const propagation

2005-08-29 Thread br1 at internet dot com dot uy
--- Additional Comments From br1 at internet dot com dot uy 2005-08-29 23:23 --- I don't know much about const in C, just C++. I just wanted to have this request entered in your database, as a possible enhancement, of course. Regards, Bruno -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug c++/23608] -Wsign-compare and const propagation

2005-08-29 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-08-29 23:10 --- What Andrew is trying to say is that in C, even variables that are marked 'const' can be modified. Thus, the compiler can't (naively, i.e. without using flow analysis) determine that 'i' or 'ic' have the val

[Bug c++/23608] -Wsign-compare and const propagation

2005-08-29 Thread pinskia at physics dot uc dot edu
--- Additional Comments From pinskia at physics dot uc dot edu 2005-08-29 23:01 --- Subject: Re: -Wsign-compare and const propagation On Aug 29, 2005, at 6:24 PM, br1 at internet dot com dot uy wrote: > > --- Additional Comments From br1 at internet dot com dot uy > 2005-08-29

Re: [Bug c++/23608] -Wsign-compare and const propagation

2005-08-29 Thread Andrew Pinski
On Aug 29, 2005, at 6:24 PM, br1 at internet dot com dot uy wrote: --- Additional Comments From br1 at internet dot com dot uy 2005-08-29 22:24 --- Could you point me to the section in the standard? I thought warning were a quality of implementation matter. No you misunderstood

[Bug c++/23608] -Wsign-compare and const propagation

2005-08-29 Thread br1 at internet dot com dot uy
--- Additional Comments From br1 at internet dot com dot uy 2005-08-29 22:24 --- Could you point me to the section in the standard? I thought warning were a quality of implementation matter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23608

[Bug c++/23608] -Wsign-compare and const propagation

2005-08-28 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-29 02:34 --- ic by the C++ standard does not need to propagate its value into ic < 5u so I think the warning is warranted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23608