[Bug c++/70495] New: false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread andras.szilard at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: andras.szilard at gmail dot com Target Milestone: --- Hi, I have the strange warning "comparison between signed and unsigned integer expressions" when only unsigned

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread andras.szilard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 --- Comment #3 from András --- > b+b has type int Note: this does not give the warning. You can see the linked example for more details.

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread andras.szilard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 --- Comment #5 from András --- @Jonathan: could you, please, give me a link, which explains why this "conversion to int" takes place (where it comes from)? Thanks!

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-26 Thread andras.szilard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 András changed: What|Removed |Added Version|5.3.0 |6.1.0 --- Comment #7 from András --- Presents