This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] revert part of the unsigned_type langhook removal


On 5/15/07, Rafael Espindola <espindola@google.com> wrote:
The attached patch is a test that reverts part of my previous one and
adds a debug output. It is currently in stage2 in a x86-64 and I am
doing a setup of a i686 environment to give it a try.

OK, it comes down to how each function handles long_integer_type_node on x86.


c_common_unsigned_type returns long_unsigned_type_node.
c_common_signed_or_unsigned_type returns unsigned_type_node, which on
a x86 has the same precision, but is a different type.

I am currently testing  a fix. If it fails I will post a patch to
partially revert my previous one.

--
Rafael Avila de Espindola

Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland

Registered in Dublin, Ireland
Registration Number: 368047


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]