[gccgo] Portability for PPC target

Ian Lance Taylor iant@google.com
Fri Nov 20 01:24:00 GMT 2009


I committed these patches to the gccgo branch to avoid some warnings
promoted to errors when targeting PPC.

cc1plus: warnings being treated as errors
../../gccgo/gcc/go/expressions.cc: In member function 'virtual bool Builtin_call_expression::do_integer_constant_value(bool, __mpz_struct*, Type**) const':
../../gccgo/gcc/go/expressions.cc:4651:13: error: unused variable 'field'
../../gccgo/gcc/go/expressions.cc: In member function 'virtual void Type_conversion_expression::do_check_types(Gogo*)':
../../gccgo/gcc/go/expressions.cc:7898:47: error: comparison between signed and unsigned integer expressions
../../gccgo/gcc/go/expressions.cc:7903:45: error: comparison between signed and unsigned integer expressions

Ian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1465 bytes
Desc: PPC
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091120/b10340cc/attachment.bin>


More information about the Gcc-patches mailing list