aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-03-20 04:52:59 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-03-20 04:52:59 +0000
commit5fd9b17875e5e720108ed599b262ad9464576956 (patch)
tree80dae71541c28dcbf4d7456f50781a1d0823bc15 /gcc/c-common.c
parent86e7df90ace6a43c5e641c179431cbd53ea29abe (diff)
downloadgcc-5fd9b17875e5e720108ed599b262ad9464576956.zip
gcc-5fd9b17875e5e720108ed599b262ad9464576956.tar.gz
gcc-5fd9b17875e5e720108ed599b262ad9464576956.tar.bz2
alias.c, [...]: Replace calls via (*targetm.foo) () with targetm.foo ().
* alias.c, attribs.c, bt-load.c, builtins.c, c-common.c, c-decl.c, c-objc-common.c, c-typeck.c, calls.c, cfglayout.c, cse.c, dbxout.c, dwarf2out.c, except.c, final.c, haifa-sched.c, integrate.c, passes.c, rtlanal.c, sched-rgn.c, sched-vis.c, simplify-rtx.c, stor-layout.c, tree.c, varasm.c, vmsdbgout.c: Replace calls via (*targetm.foo) () with targetm.foo (). From-SVN: r79729
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 49c9ccf..e21d5bd 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -3401,7 +3401,7 @@ c_common_nodes_and_builtins (void)
#include "builtins.def"
#undef DEF_BUILTIN
- (*targetm.init_builtins) ();
+ targetm.init_builtins ();
main_identifier_node = get_identifier ("main");
}
@@ -4614,7 +4614,7 @@ handle_mode_attribute (tree *node, tree name, tree args ATTRIBUTE_UNUSED,
else if ((TREE_CODE (type) == POINTER_TYPE
|| TREE_CODE (type) == REFERENCE_TYPE)
- && !(*targetm.valid_pointer_mode) (mode))
+ && !targetm.valid_pointer_mode (mode))
error ("invalid pointer mode `%s'", p);
else
{