summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/toplev.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-12-30 02:52:43 +0000
committerpfg <pfg@FreeBSD.org>2013-12-30 02:52:43 +0000
commit7f6132b57e4d59f915adbdce8ce71600c89e3703 (patch)
tree060c315eb0bd2558570d450438a9a8a4c4f740e0 /contrib/gcc/toplev.c
parent4ba8fc2916269d5e26598123350515d24ab4f5a3 (diff)
downloadFreeBSD-src-7f6132b57e4d59f915adbdce8ce71600c89e3703.zip
FreeBSD-src-7f6132b57e4d59f915adbdce8ce71600c89e3703.tar.gz
gcc: small diff reduction wrt gcc43 and Apple GCC.
Obtained from: gcc 4.3 (rev. 121464, 122528, 124106; GPLv2) MFC after: 3 weeks
Diffstat (limited to 'contrib/gcc/toplev.c')
-rw-r--r--contrib/gcc/toplev.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/gcc/toplev.c b/contrib/gcc/toplev.c
index 786ec12..71c4a8b 100644
--- a/contrib/gcc/toplev.c
+++ b/contrib/gcc/toplev.c
@@ -1948,6 +1948,11 @@ lang_dependent_init (const char *name)
provide a dummy function context for them. */
init_dummy_function_start ();
init_expr_once ();
+
+ /* Although the actions of init_set_costs are language-independent,
+ it uses optabs, so we cannot call it from backend_init. */
+ init_set_costs ();
+
expand_dummy_function_end ();
/* If dbx symbol table desired, initialize writing it and output the
OpenPOWER on IntegriCloud