[Bug c++/56530] Bogus warning with -Wsign-conversion (again)

2013-03-05 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56530



--- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com 2013-03-05 
10:02:10 UTC ---

Mainline and current 4_7-branch are fine. Not sure which patch fixed it.


[Bug c++/56530] Bogus warning with -Wsign-conversion (again)

2013-03-05 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56530



Paolo Carlini paolo.carlini at oracle dot com changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-03-05

 Ever Confirmed|0   |1



--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2013-03-05 
10:43:49 UTC ---

The fix for c++/53650 did it. I guess we can add a testcase with 1 (instead of

0, as the existing one) and close the PR.


[Bug c++/56530] Bogus warning with -Wsign-conversion (again)

2013-03-05 Thread paolo at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56530



--- Comment #3 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org 
2013-03-05 11:14:36 UTC ---

Author: paolo

Date: Tue Mar  5 11:14:28 2013

New Revision: 196459



URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196459

Log:

2013-03-05  Paolo Carlini  paolo.carl...@oracle.com



PR c++/56530

* g++.dg/warn/Wsign-conversion-2.C: New.



Modified:

trunk/gcc/testsuite/ChangeLog


[Bug c++/56530] Bogus warning with -Wsign-conversion (again)

2013-03-05 Thread paolo at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56530



--- Comment #4 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org 
2013-03-05 11:15:23 UTC ---

Author: paolo

Date: Tue Mar  5 11:15:17 2013

New Revision: 196460



URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196460

Log:

2013-03-05  Paolo Carlini  paolo.carl...@oracle.com



PR c++/56530

* g++.dg/warn/Wsign-conversion-2.C: New.



Added:

trunk/gcc/testsuite/g++.dg/warn/Wsign-conversion-2.C


[Bug c++/56530] Bogus warning with -Wsign-conversion (again)

2013-03-05 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56530



Paolo Carlini paolo.carlini at oracle dot com changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.7.3



--- Comment #5 from Paolo Carlini paolo.carlini at oracle dot com 2013-03-05 
11:17:03 UTC ---

Done.