re PR c++/28659 (ICE (segfault) while compiling kdelibs 4.0 snapshot)
authorJason Merrill <jason@redhat.com>
Tue, 22 Aug 2006 18:27:26 +0000 (14:27 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 22 Aug 2006 18:27:26 +0000 (14:27 -0400)
commit8e30dcf34530478bd343bce3771bb0c0f979ed73
tree6306d10d6d16b88e1187af65ac4605d5caa13f87
parent6d3c5221567ee9a9a75ef9388ebfa42b9bb566f6
re PR c++/28659 (ICE (segfault) while compiling kdelibs 4.0 snapshot)

        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.

From-SVN: r116329
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/testsuite/g++.dg/ext/attrib26.C [new file with mode: 0644]