c-tree.h (c_default_pointer_mode): New variable.
authorTristan Gingold <gingold@adacore.com>
Fri, 9 Mar 2012 11:49:50 +0000 (11:49 +0000)
committerTristan Gingold <gingold@gcc.gnu.org>
Fri, 9 Mar 2012 11:49:50 +0000 (11:49 +0000)
commit412cd71971d07bde9c9f51cf4eba32a7f0df1175
treec2157f63030eac9c3e9f2a1b5c943b69133f0c01
parent739fd6a6b37a914454431a7ab1f0a8f4e022b64c
c-tree.h (c_default_pointer_mode): New variable.

2012-03-09  Tristan Gingold  <gingold@adacore.com>

        * c-tree.h (c_default_pointer_mode): New variable.
        * c-decl.c (c_default_pointer_mode): New variable.
        (c_build_pointer_type): New function.
        (grokdeclarator): Call c_build_pointer_type instead
        of build_pointer_type.

        * config/vms/vms-c.c: Include c-tree.h
        (saved_pointer_mode): New variable.
        (handle_pragma_pointer_size): New function.
        (vms_pragma_pointer_size, vms_pragma_required_pointer_size): Likewise.
        (vms_c_register_pragma): Register __pointer_size and
        __required_pointer_size pragmas.

From-SVN: r185136
gcc/ChangeLog
gcc/c-decl.c
gcc/c-tree.h
gcc/config/vms/vms-c.c