PR c++/28659
commitb5de1aa4059bc18a6c07ec20df7c7118be36bc8d
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Aug 2006 18:27:26 +0000 (22 18:27 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Aug 2006 18:27:26 +0000 (22 18:27 +0000)
tree6306d10d6d16b88e1187af65ac4605d5caa13f87
parent80e7b7723955d110f22c922c9c0d08d0000e5c1d
    PR c++/28659
        * typeck.c (merge_types): If either of the types have the right
        attributes, return that one.

        * tree.c (cp_build_type_attribute_variant): Make sure we aren't
        doing this to class types.
        * typeck.c (original_type): Deal with type quals properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116329 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/testsuite/g++.dg/ext/attrib26.C [new file with mode: 0644]