X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fc-typeck.c;h=2de1e5c66729d55b5fc76a2921ed52986c01fa7c;hp=b696e5e38beb933c0ca32c26c0a80d38c3edb092;hb=b589b3b48226d43a2d5361199ca3d704ccbc8a05;hpb=f7273180cc277a28a6779a21bfa5d5e878254c5f diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index b696e5e38be..2de1e5c6672 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -394,7 +394,7 @@ composite_type (tree t1, tree t2) tree pointed_to_1 = TREE_TYPE (t1); tree pointed_to_2 = TREE_TYPE (t2); tree target = composite_type (pointed_to_1, pointed_to_2); - t1 = build_pointer_type (target); + t1 = build_pointer_type_for_mode (target, TYPE_MODE (t1), false); t1 = build_type_attribute_variant (t1, attributes); return qualify_type (t1, t2); }