This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix may_alias canonical types regression
On Wed, Sep 24, 2008 at 8:13 AM, Doug Gregor <doug.gregor@gmail.com> wrote:
> On Wed, Sep 24, 2008 at 2:15 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>>> 2008-09-24 Douglas Gregor <doug.gregor@gmail.com>
>>>
>>> PR c++/37553
>>> * tree.c (build_type_attribute_qual_variant): Hash on the
>>> unqualified type, and don't overwrite an existing
>>> (type_hash_eq): For INTEGER_TYPE nodes, make the TYPE_NAME of the
>>> types significant, to allow distinguishing between wchar_t and its
>>> underlying type. This also means that we'll retain a little more
>>> typedef information.
>>
>> Please bootstrap and test Ada as well for this kind of change.
>
> Will do.
No problems found with Ada or Java.
- Doug