PR c++/35602 Bogus warning with -Wsign-conversion

Manuel López-Ibáñez lopezibanez@gmail.com
Wed Aug 20 15:44:00 GMT 2008


2008/8/20 Ian Lance Taylor <iant@google.com>:
>
> That seems odd.  Why is that?

The compiler generates some extra code in this case.
See the PR http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35602

Why or when, I don't know but I guess this fix may apply to other
cases of compiler-generated stuff.

Cheers,

Manuel.



More information about the Gcc-patches mailing list