diff options
author | Bernhard Reutner-Fischer <aldot@gcc.gnu.org> | 2015-04-10 09:54:46 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <aldot@gcc.gnu.org> | 2015-04-10 09:54:46 +0200 |
commit | 8fba183036297fa6ce1aa34e87dd47f4bfdf3014 (patch) | |
tree | 3f788b980193c18d5ecb123cff1d2dda182289a8 /gcc | |
parent | cacf1f59069873d69005fd274184adc25da3bc90 (diff) | |
download | gcc-8fba183036297fa6ce1aa34e87dd47f4bfdf3014.zip gcc-8fba183036297fa6ce1aa34e87dd47f4bfdf3014.tar.gz gcc-8fba183036297fa6ce1aa34e87dd47f4bfdf3014.tar.bz2 |
PR target/55143: undefined reference to c_default_pointer_mode
for all-gcc on ia64-hp-vms
gcc/c/ChangeLog:
2015-04-10 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
PR target/55143
* c-decl.c (c_default_pointer_mode): Remove definition.
* c-tree.h (c_default_pointer_mode): Remove declaration.
gcc/c-family/ChangeLog:
2015-04-10 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
PR target/55143
* c-common.c (c_default_pointer_mode): Add definition.
* c-common.h (c_default_pointer_mode): Add declaration.
From-SVN: r221968
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-family/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/c-family/c-common.c | 4 | ||||
-rw-r--r-- | gcc/c-family/c-common.h | 4 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/c/c-decl.c | 4 | ||||
-rw-r--r-- | gcc/c/c-tree.h | 4 |
6 files changed, 20 insertions, 8 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 9086560..3373549 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2015-04-10 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> + + PR target/55143 + * c-common.c (c_default_pointer_mode): Add definition. + * c-common.h (c_default_pointer_mode): Add declaration. + 2015-03-11 Jakub Jelinek <jakub@redhat.com> * c-common.c (c_common_nodes_and_builtins): Don't call xstrdup diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index 456c619..7fe7fa6 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -67,6 +67,10 @@ along with GCC; see the file COPYING3. If not see cpp_reader *parse_in; /* Declared in c-pragma.h. */ +/* Mode used to build pointers (VOIDmode means ptr_mode). */ + +machine_mode c_default_pointer_mode = VOIDmode; + /* The following symbols are subsumed in the c_global_trees array, and listed here individually for documentation purposes. diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h index 5b2c5ab..cabf452 100644 --- a/gcc/c-family/c-common.h +++ b/gcc/c-family/c-common.h @@ -358,6 +358,10 @@ struct c_common_resword const unsigned int disable : 16; }; +/* Mode used to build pointers (VOIDmode means ptr_mode). */ + +extern machine_mode c_default_pointer_mode; + /* Extra cpp_ttype values for C++. */ /* A token type for template-ids. If a template-id is processed while diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index f3b05c1..1720deb 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2015-04-10 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> + + PR target/55143 + * c-decl.c (c_default_pointer_mode): Remove definition. + * c-tree.h (c_default_pointer_mode): Remove declaration. + 2015-03-27 Tobias Burnus <burnus@net-b.de> PR c/65586 diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c index e1741f1..e28a294 100644 --- a/gcc/c/c-decl.c +++ b/gcc/c/c-decl.c @@ -168,10 +168,6 @@ static int warn_about_return_type; static bool undef_nested_function; -/* Mode used to build pointers (VOIDmode means ptr_mode). */ - -machine_mode c_default_pointer_mode = VOIDmode; - /* If non-zero, implicit "omp declare target" attribute is added into the attribute lists. */ int current_omp_declare_target_attribute; diff --git a/gcc/c/c-tree.h b/gcc/c/c-tree.h index c879bc7..7a72665 100644 --- a/gcc/c/c-tree.h +++ b/gcc/c/c-tree.h @@ -671,10 +671,6 @@ extern int current_function_returns_null; extern int current_function_returns_abnormally; -/* Mode used to build pointers (VOIDmode means ptr_mode). */ - -extern machine_mode c_default_pointer_mode; - /* In c-decl.c */ /* Tell the binding oracle what kind of binding we are looking for. */ |