[PATCH] factor common code in signed_or_unsigned

Rafael Espindola espindola@google.com
Fri Mar 23 17:46:00 GMT 2007


The attached patch factors common code to many signed_or_unsigned
language hooks. It also adds a default implementation that is used by
all non C/C++ frontends.

I am trying to remove this language hook. Removing it from C/C++
requires more work, but I believe that this patch is already a nice
cleanup.


Bootstrapped and regression tested with all languages enabled.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc2.patch
Type: text/x-patch
Size: 11998 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070323/9e60cd8e/attachment.bin>


More information about the Gcc-patches mailing list