re PR c++/10091 ([parisc] ICE in cp_expr_size, at cp/cp-lang.c:307)
authorJason Merrill <jason@gcc.gnu.org>
Tue, 18 Mar 2003 04:36:03 +0000 (23:36 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 18 Mar 2003 04:36:03 +0000 (23:36 -0500)
commit82efaf43d83897c116f79ba2ac5929c106d7eeba
tree88310bae3369e9f1bfa85001db5c73eef27a9770
parent10326855ab6f03a63a891d80f578c34104b18e22
re PR c++/10091 ([parisc] ICE in cp_expr_size, at cp/cp-lang.c:307)

        PR c++/10091
        * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of
        an unaligned member of TREE_ADDRESSABLE type.
        * cp/typeck.c (build_class_member_access_expr): Compare
        TYPE_MAIN_VARIANTs.

From-SVN: r64523
gcc/testsuite/g++.dg/ext/packed2.C [new file with mode: 0644]