annotate gcc/ChangeLog.jit @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
kono
parents:
diff changeset
1 2014-10-29 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 * doc/install.texi (Tools/packages necessary for modifying GCC):
kono
parents:
diff changeset
4 Specify that Sphinx version 1.0 or later is required. Wrap .rst
kono
parents:
diff changeset
5 inside an @file command.
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 2014-10-22 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 * cgraph.h: Drop now-redundant prototype of ipa_cp_c_finalize,
kono
parents:
diff changeset
10 since trunk added this in ipa-prop.h.
kono
parents:
diff changeset
11 * ipa-icf.c (ipa_icf_driver): Set optimizer to NULL when
kono
parents:
diff changeset
12 done.
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 2014-10-20 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 * doc/install.texi (Tools/packages necessary for modifying GCC):
kono
parents:
diff changeset
17 Add Sphinx.
kono
parents:
diff changeset
18
kono
parents:
diff changeset
19 2014-10-20 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 * Makefile.in (pkgconfigdir): Drop this.
kono
parents:
diff changeset
22 (installdirs): Likewise.
kono
parents:
diff changeset
23 * configure.ac (gcc_version): Don't AC_SUBST this.
kono
parents:
diff changeset
24 * configure: Regenerate.
kono
parents:
diff changeset
25
kono
parents:
diff changeset
26 2014-10-17 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 * Makefile.in (FULL_DRIVER_NAME): New variable, adapted from the
kono
parents:
diff changeset
29 install-driver target. New target, a symlink within the builddir,
kono
parents:
diff changeset
30 linked to "xgcc", for use when running the JIT library from the
kono
parents:
diff changeset
31 builddir.
kono
parents:
diff changeset
32 (MOSTLYCLEANFILES): Add FULL_DRIVER_NAME.
kono
parents:
diff changeset
33 (install-driver): Use $(FULL_DRIVER_NAME) rather than spelling it
kono
parents:
diff changeset
34 out.
kono
parents:
diff changeset
35 (site.exp): Don't set "bindir", as this is no longer needed when
kono
parents:
diff changeset
36 running the jit testsuite.
kono
parents:
diff changeset
37
kono
parents:
diff changeset
38 2014-10-13 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
39
kono
parents:
diff changeset
40 * configure.ac: Update a reference to jit/internal-api.c to
kono
parents:
diff changeset
41 jit/jit-playback.c.
kono
parents:
diff changeset
42 * configure: Regenerate.
kono
parents:
diff changeset
43
kono
parents:
diff changeset
44 2014-10-07 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
45
kono
parents:
diff changeset
46 * Makefile.in (site.exp): When constructing site.exp, add a line
kono
parents:
diff changeset
47 to set "bindir".
kono
parents:
diff changeset
48 * configure.ac: Generate a gcc-driver-name.h file containing
kono
parents:
diff changeset
49 GCC_DRIVER_NAME for the benefit of jit/internal-api.c.
kono
parents:
diff changeset
50 * configure: Regenerate.
kono
parents:
diff changeset
51
kono
parents:
diff changeset
52 2014-10-03 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
53
kono
parents:
diff changeset
54 * diagnostic.c (diagnostic_finish): Free the memory for
kono
parents:
diff changeset
55 context->classify_diagnostic and context->printer, running the
kono
parents:
diff changeset
56 destructor for the latter.
kono
parents:
diff changeset
57
kono
parents:
diff changeset
58 2014-10-02 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
59
kono
parents:
diff changeset
60 * configure: Regenerate, after merger from trunk.
kono
parents:
diff changeset
61
kono
parents:
diff changeset
62 2014-10-02 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
63
kono
parents:
diff changeset
64 * configure.ac (doc_build_sys): New variable, set to "sphinx" if
kono
parents:
diff changeset
65 sphinx is installed, falling back to "texinfo" otherwise.
kono
parents:
diff changeset
66 * configure: Regenerate.
kono
parents:
diff changeset
67 * Makefile.in (doc_build_sys): New.
kono
parents:
diff changeset
68
kono
parents:
diff changeset
69 2014-09-24 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
70
kono
parents:
diff changeset
71 * ChangeLog.jit: Add copyright footer.
kono
parents:
diff changeset
72
kono
parents:
diff changeset
73 2014-09-24 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
74
kono
parents:
diff changeset
75 * cgraph.h (cgraphbuild_c_finalize): Delete prototype of empty
kono
parents:
diff changeset
76 function.
kono
parents:
diff changeset
77 (ipa_c_finalize): Likewise.
kono
parents:
diff changeset
78 (predict_c_finalize): Likewise.
kono
parents:
diff changeset
79 (symtab_c_finalize): Likewise.
kono
parents:
diff changeset
80 (varpool_c_finalize): Likewise.
kono
parents:
diff changeset
81
kono
parents:
diff changeset
82 * cgraph.c (cgraph_c_finalize): Add leading comment. Put return
kono
parents:
diff changeset
83 type on line before function name.
kono
parents:
diff changeset
84 * cgraphunit.c (cgraphunit_c_finalize): Likewise.
kono
parents:
diff changeset
85 * dwarf2out.c (dwarf2out_c_finalize): Likewise.
kono
parents:
diff changeset
86 * gcse.c (gcse_c_finalize): Likewise.
kono
parents:
diff changeset
87 * ipa-cp.c (ipa_cp_c_finalize): Likewise.
kono
parents:
diff changeset
88 * ipa-reference.c (ipa_reference_c_finalize): Likewise.
kono
parents:
diff changeset
89
kono
parents:
diff changeset
90 * params.c (params_c_finalize): Update leading comment to match
kono
parents:
diff changeset
91 format of the others mentioned above.
kono
parents:
diff changeset
92
kono
parents:
diff changeset
93 * cgraphbuild.c (cgraphbuild_c_finalize): Delete empty function.
kono
parents:
diff changeset
94 * ipa.c (ipa_c_finalize): Likewise.
kono
parents:
diff changeset
95 * predict.c (predict_c_finalize): Likewise.
kono
parents:
diff changeset
96 * symtab.c (symtab_c_finalize): Likewise.
kono
parents:
diff changeset
97 * varpool.c (varpool_c_finalize): Likewise.
kono
parents:
diff changeset
98
kono
parents:
diff changeset
99 * toplev.c (toplev::finalize): Remove calls to empty functions
kono
parents:
diff changeset
100 cgraphbuild_c_finalize, ipa_c_finalize, predict_c_finalize,
kono
parents:
diff changeset
101 symtab_c_finalize, varpool_c_finalize.
kono
parents:
diff changeset
102
kono
parents:
diff changeset
103 2014-09-23 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
104
kono
parents:
diff changeset
105 * passes.c (execute_ipa_summary_passes): Fix whitespace when
kono
parents:
diff changeset
106 assigning to current_pass.
kono
parents:
diff changeset
107 (ipa_write_summaries_2): Assign "pass" to "current_pass" global
kono
parents:
diff changeset
108 before calling write_summary hook.
kono
parents:
diff changeset
109 (ipa_write_optimization_summaries_1): Likewise when calling
kono
parents:
diff changeset
110 write_optimization_summary hook.
kono
parents:
diff changeset
111 (ipa_read_summaries_1): Likewise for read_summary hook.
kono
parents:
diff changeset
112 (ipa_read_optimization_summaries_1): Likewise for
kono
parents:
diff changeset
113 read_optimization_summary hook.
kono
parents:
diff changeset
114 (execute_ipa_stmt_fixups): Likewise for stmt_fixup hook.
kono
parents:
diff changeset
115
kono
parents:
diff changeset
116 2014-09-22 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
117
kono
parents:
diff changeset
118 * cgraph.c (cgraph_c_finalize): Remove FIXME.
kono
parents:
diff changeset
119 * timevar.c (timevar_init): Likewise.
kono
parents:
diff changeset
120
kono
parents:
diff changeset
121 2014-09-18 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
122
kono
parents:
diff changeset
123 * Makefile.in (pkgconfigdir): New.
kono
parents:
diff changeset
124 (installdirs): Add creation of $(DESTDIR)$(pkgconfigdir).
kono
parents:
diff changeset
125 * configure.ac (gcc_version): Expose this value for use via
kono
parents:
diff changeset
126 AC_SUBST, since we need it within the new file libgccjit.pc.in.
kono
parents:
diff changeset
127 * configure: Regenerate.
kono
parents:
diff changeset
128
kono
parents:
diff changeset
129 2014-09-10 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
130
kono
parents:
diff changeset
131 * cgraph.c (cgraph_c_finalize): Update to reflect the movement of
kono
parents:
diff changeset
132 many globals into fields of the "symtab" object.
kono
parents:
diff changeset
133 * cgraphunit.c (graphunit_c_finalize): Likewise.
kono
parents:
diff changeset
134 * symtab.c (symtab_c_finalize): Likewise.
kono
parents:
diff changeset
135
kono
parents:
diff changeset
136 * toplev.c (initialize_rtl): Move static local "initialized_once"
kono
parents:
diff changeset
137 into file scope, and rename to...
kono
parents:
diff changeset
138 (rtl_initialized): New variable.
kono
parents:
diff changeset
139 (toplev::finalize): Clear rtl_initialized and
kono
parents:
diff changeset
140 this_target_rtl->target_specific_initialized so that RTL will be
kono
parents:
diff changeset
141 reinitialized when the compiler is run more than once in-process.
kono
parents:
diff changeset
142
kono
parents:
diff changeset
143 2014-07-14 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
144
kono
parents:
diff changeset
145 * cgraph.h (ipa_cp_c_finalize): Add prototype.
kono
parents:
diff changeset
146 * ipa-cp.c (ipa_cp_c_finalize): New.
kono
parents:
diff changeset
147 * toplev.c (toplev::finalize): Add call to ipa_cp_c_finalize.
kono
parents:
diff changeset
148
kono
parents:
diff changeset
149 2014-05-08 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
150
kono
parents:
diff changeset
151 * params.c (global_init_params): Require that params_finished be
kono
parents:
diff changeset
152 false, rather than being idempotent, in favor of purging all state
kono
parents:
diff changeset
153 between toplev invocations, since in a release build
kono
parents:
diff changeset
154 init_ggc_heuristics calls set_param_value_internal, and the
kono
parents:
diff changeset
155 latter assumes that params_finished is true.
kono
parents:
diff changeset
156 (params_c_finalize): New.
kono
parents:
diff changeset
157 * params.h (params_c_finalize): New.
kono
parents:
diff changeset
158 * toplev.c (toplev::finalize): Call params_c_finalize.
kono
parents:
diff changeset
159
kono
parents:
diff changeset
160 2014-03-24 Tom Tromey <tromey@redhat.com>
kono
parents:
diff changeset
161
kono
parents:
diff changeset
162 * toplev.c (general_init): Initialize input_location.
kono
parents:
diff changeset
163 * input.c (input_location): Initialize to UNKNOWN_LOCATION.
kono
parents:
diff changeset
164
kono
parents:
diff changeset
165 2014-03-19 Tom Tromey <tromey@redhat.com>
kono
parents:
diff changeset
166
kono
parents:
diff changeset
167 * timevar.h (auto_timevar): New class.
kono
parents:
diff changeset
168
kono
parents:
diff changeset
169 2014-03-19 Tom Tromey <tromey@redhat.com>
kono
parents:
diff changeset
170
kono
parents:
diff changeset
171 * diagnostic.c (bt_stop): Use toplev::main.
kono
parents:
diff changeset
172 * main.c (main): Update.
kono
parents:
diff changeset
173 * toplev.c (do_compile): Remove argument. Don't check
kono
parents:
diff changeset
174 use_TV_TOTAL.
kono
parents:
diff changeset
175 (toplev::toplev, toplev::~toplev, toplev::start_timevars): New
kono
parents:
diff changeset
176 functions.
kono
parents:
diff changeset
177 (toplev::main): Rename from toplev_main. Update.
kono
parents:
diff changeset
178 (toplev::finalize): Rename from toplev_finalize. Update.
kono
parents:
diff changeset
179 * toplev.h (class toplev): New.
kono
parents:
diff changeset
180 (struct toplev_options): Remove.
kono
parents:
diff changeset
181 (toplev_main, toplev_finalize): Don't declare.
kono
parents:
diff changeset
182
kono
parents:
diff changeset
183 2014-03-11 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
184
kono
parents:
diff changeset
185 * gcse.c (gcse_c_finalize): New, to clear test_insn between
kono
parents:
diff changeset
186 in-process compiles.
kono
parents:
diff changeset
187 * gcse.h (gcse_c_finalize): New.
kono
parents:
diff changeset
188 * toplev.c: Include "gcse.h" so that we can...
kono
parents:
diff changeset
189 (toplev_finalize): Call gcse_c_finalize.
kono
parents:
diff changeset
190
kono
parents:
diff changeset
191 2014-03-11 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
192
kono
parents:
diff changeset
193 * dwarf2out.c (dwarf2out_c_finalize): Release base_types.
kono
parents:
diff changeset
194
kono
parents:
diff changeset
195 2014-03-10 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
196
kono
parents:
diff changeset
197 * ipa-reference.c (ipa_init): Move static bool init_p from here
kono
parents:
diff changeset
198 to...
kono
parents:
diff changeset
199 (ipa_init_p): New file-scope variable, so that it can be reset
kono
parents:
diff changeset
200 when repeatedly invoking the compiler within one process by...
kono
parents:
diff changeset
201 (ipa_reference_c_finalize): New function.
kono
parents:
diff changeset
202 * ipa-reference.h (ipa_reference_c_finalize): New.
kono
parents:
diff changeset
203 * toplev.c (toplev_finalize): Invoke new function
kono
parents:
diff changeset
204 ipa_reference_c_finalize.
kono
parents:
diff changeset
205
kono
parents:
diff changeset
206 2014-01-24 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
207
kono
parents:
diff changeset
208 * timevar.def: Replace TV_CLIENT_CALLBACK with TV_JIT_REPLAY.
kono
parents:
diff changeset
209
kono
parents:
diff changeset
210 2013-10-11 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
211
kono
parents:
diff changeset
212 * doc/install.texi (--enable-shared): Add note contrasting it
kono
parents:
diff changeset
213 with...
kono
parents:
diff changeset
214 (--enable-host-shared): New option.
kono
parents:
diff changeset
215
kono
parents:
diff changeset
216 2013-10-11 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
217
kono
parents:
diff changeset
218 * dumpfile.h (gcc::dump_manager): New class, to hold state
kono
parents:
diff changeset
219 relating to dumpfile management.
kono
parents:
diff changeset
220 (get_dump_file_name): Remove in favor of method of dump_manager.
kono
parents:
diff changeset
221 (dump_initialized_p): Likewise.
kono
parents:
diff changeset
222 (dump_start): Likewise.
kono
parents:
diff changeset
223 (dump_finish): Likewise.
kono
parents:
diff changeset
224 (dump_switch_p): Likewise.
kono
parents:
diff changeset
225 (dump_register): Likewise.
kono
parents:
diff changeset
226 (get_dump_file_info): Likewise.
kono
parents:
diff changeset
227 * context.c (gcc::context::context): Construct the dump_manager
kono
parents:
diff changeset
228 instance.
kono
parents:
diff changeset
229 * context.h (gcc::context::get_dumps): New.
kono
parents:
diff changeset
230 (gcc::context::m_dumps): New.
kono
parents:
diff changeset
231 * coverage.c (coverage_init): Port to dump_manager API.
kono
parents:
diff changeset
232 * dumpfile.c (extra_dump_files): Convert to field of
kono
parents:
diff changeset
233 gcc::dump_manager.
kono
parents:
diff changeset
234 (extra_dump_files_in_use): Likewise.
kono
parents:
diff changeset
235 (extra_dump_files_alloced): Likewise.
kono
parents:
diff changeset
236 (gcc::dump_manager::dump_manager): New.
kono
parents:
diff changeset
237 (dump_register): Convert to...
kono
parents:
diff changeset
238 (gcc::dump_manager::dump_register): ...method, replacing
kono
parents:
diff changeset
239 function-static next_dump with m_next_dump field.
kono
parents:
diff changeset
240 (get_dump_file_info): Convert to...
kono
parents:
diff changeset
241 (gcc::dump_manager::get_dump_file_info): ...method.
kono
parents:
diff changeset
242 (get_dump_file_name): Convert to...
kono
parents:
diff changeset
243 (gcc::dump_manager::get_dump_file_name): ...method.
kono
parents:
diff changeset
244 (dump_start): Convert to...
kono
parents:
diff changeset
245 (gcc::dump_manager::dump_start): ...method.
kono
parents:
diff changeset
246 (dump_finish): Convert to...
kono
parents:
diff changeset
247 (gcc::dump_manager::dump_finish): ...method.
kono
parents:
diff changeset
248 (dump_begin): Replace body with...
kono
parents:
diff changeset
249 (gcc::dump_manager::dump_begin): ...new method.
kono
parents:
diff changeset
250 (dump_phase_enabled_p): Convert to...
kono
parents:
diff changeset
251 (gcc::dump_manager::dump_phase_enabled_p): ...method.
kono
parents:
diff changeset
252 (dump_phase_enabled_p): Convert to...
kono
parents:
diff changeset
253 (gcc::dump_manager::dump_phase_enabled_p): ...method.
kono
parents:
diff changeset
254 (dump_initialized_p): Convert to...
kono
parents:
diff changeset
255 (gcc::dump_manager::dump_initialized_p): ...method.
kono
parents:
diff changeset
256 (dump_flag_name): Replace body with...
kono
parents:
diff changeset
257 (gcc::dump_manager::dump_flag_name): ...new method.
kono
parents:
diff changeset
258 (dump_enable_all): Convert to...
kono
parents:
diff changeset
259 (gcc::dump_manager::dump_enable_all): ...new method.
kono
parents:
diff changeset
260 (opt_info_enable_passes): Convert to...
kono
parents:
diff changeset
261 (gcc::dump_manager::opt_info_enable_passes): ...new method.
kono
parents:
diff changeset
262 (dump_switch_p_1): Convert to...
kono
parents:
diff changeset
263 (gcc::dump_manager::dump_switch_p_1): ...new method.
kono
parents:
diff changeset
264 (dump_switch_p): Convert to...
kono
parents:
diff changeset
265 (gcc::dump_manager::dump_switch_p): ...new method.
kono
parents:
diff changeset
266 (opt_info_switch_p): Port to dump_manager API.
kono
parents:
diff changeset
267 (enable_rtl_dump_file): Likewise.
kono
parents:
diff changeset
268 * opts-global.c (handle_common_deferred_options): Port to new
kono
parents:
diff changeset
269 dump_manager API.
kono
parents:
diff changeset
270 * passes.c (pass_manager::finish_optimization_passes): Likewise.
kono
parents:
diff changeset
271 (pass_manager::register_one_dump_file): Likewise.
kono
parents:
diff changeset
272 (pass_manager::register_pass): Likewise.
kono
parents:
diff changeset
273 (pass_init_dump_file): Likewise.
kono
parents:
diff changeset
274 (pass_fini_dump_file): Likewise.
kono
parents:
diff changeset
275 * statistics.c (statistics_early_init): Likewise.
kono
parents:
diff changeset
276
kono
parents:
diff changeset
277 2013-10-08 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
278
kono
parents:
diff changeset
279 * ipa-inline.c (ipa_inline): Fix leak of "order" when
kono
parents:
diff changeset
280 optimizations are disabled.
kono
parents:
diff changeset
281
kono
parents:
diff changeset
282 2013-10-08 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
283
kono
parents:
diff changeset
284 * coverage.c (coverage_finish): Fix leak of da_file_name.
kono
parents:
diff changeset
285
kono
parents:
diff changeset
286 2013-10-07 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
287
kono
parents:
diff changeset
288 * Makefile.in: Set PICFLAG from configure script; add it to
kono
parents:
diff changeset
289 INTERNAL_CFLAGS.
kono
parents:
diff changeset
290 * configure.ac (--enable-host-shared): Set up PICFLAG rather
kono
parents:
diff changeset
291 than attempting to append -fPIC to CFLAGS, CXXFLAGS, LDFLAGS.
kono
parents:
diff changeset
292 * configure: Regenerate.
kono
parents:
diff changeset
293
kono
parents:
diff changeset
294 2013-10-03 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
295
kono
parents:
diff changeset
296 * Makefile.in (LIBIBERTY): Use pic build of libiberty.a if
kono
parents:
diff changeset
297 configured with --enable-host-shared.
kono
parents:
diff changeset
298 (BUILD_LIBIBERTY): Likewise.
kono
parents:
diff changeset
299 * cgraph.c (cgraph_c_finalize): New.
kono
parents:
diff changeset
300 * cgraph.h (symtab_c_finalize): New declaration.
kono
parents:
diff changeset
301 (cgraph_c_finalize): Likewise.
kono
parents:
diff changeset
302 (cgraphunit_c_finalize): Likewise.
kono
parents:
diff changeset
303 (cgraphbuild_c_finalize): Likewise.
kono
parents:
diff changeset
304 (ipa_c_finalize): Likewise.
kono
parents:
diff changeset
305 (predict_c_finalize): Likewise.
kono
parents:
diff changeset
306 (varpool_c_finalize): Likewise.
kono
parents:
diff changeset
307 * cgraphbuild.c (cgraphbuild_c_finalize): New.
kono
parents:
diff changeset
308 * cgraphunit.c (first_analyzed): Move from analyze_functions
kono
parents:
diff changeset
309 to file-scope.
kono
parents:
diff changeset
310 (first_analyzed_var): Likewise.
kono
parents:
diff changeset
311 (analyze_functions): Move static variables into file-scope.
kono
parents:
diff changeset
312 (cgraphunit_c_finalize): New.
kono
parents:
diff changeset
313 * configure.ac: Add --enable-host-shared, adding -fPIC.
kono
parents:
diff changeset
314 * configure: Regenerate.
kono
parents:
diff changeset
315 * dwarf2out.c (dwarf2out_c_finalize): New.
kono
parents:
diff changeset
316 * dwarf2out.h (dwarf2out_c_finalize): Declare.
kono
parents:
diff changeset
317 * ggc-page.c (init_ggc): Make idempotent.
kono
parents:
diff changeset
318 * ipa-pure-const.c (function_insertion_hook_holder): Move to be
kono
parents:
diff changeset
319 a field of class pass_ipa_pure_const.
kono
parents:
diff changeset
320 (node_duplication_hook_holder): Likewise.
kono
parents:
diff changeset
321 (node_removal_hook_holder): Likewise.
kono
parents:
diff changeset
322 (register_hooks): Convert to method...
kono
parents:
diff changeset
323 (pass_ipa_pure_const::register_hooks): ...here, converting
kono
parents:
diff changeset
324 static variable init_p into...
kono
parents:
diff changeset
325 (pass_ipa_pure_const::init_p): ...new field.
kono
parents:
diff changeset
326 (pure_const_generate_summary): Update invocation of
kono
parents:
diff changeset
327 register_hooks to invoke as a method of current_pass.
kono
parents:
diff changeset
328 (pure_const_read_summary): Likewise.
kono
parents:
diff changeset
329 (propagate): Convert to...
kono
parents:
diff changeset
330 (pass_ipa_pure_const::execute): ...method.
kono
parents:
diff changeset
331 * ipa.c (ipa_c_finalize): New.
kono
parents:
diff changeset
332 * main.c (main): Update usage of toplev_main.
kono
parents:
diff changeset
333 * params.c (global_init_params): Make idempotent.
kono
parents:
diff changeset
334 * passes.c (execute_ipa_summary_passes): Set current_pass.
kono
parents:
diff changeset
335 * predict.c (predict_c_finalize): New.
kono
parents:
diff changeset
336 * stringpool.c (init_stringpool): Clean up if we're called more
kono
parents:
diff changeset
337 than once.
kono
parents:
diff changeset
338 * symtab.c (symtab_c_finalize): New.
kono
parents:
diff changeset
339 * timevar.c (timevar_init): Ignore repeated calls.
kono
parents:
diff changeset
340 * timevar.def (TV_CLIENT_CALLBACK): Add.
kono
parents:
diff changeset
341 (TV_ASSEMBLE): Add.
kono
parents:
diff changeset
342 (TV_LINK): Add.
kono
parents:
diff changeset
343 (TV_LOAD): Add.
kono
parents:
diff changeset
344 * toplev.c (do_compile) Add parameter (const toplev_options *);
kono
parents:
diff changeset
345 use it to avoid starting/stopping/reporting timevar TV_TOTAL
kono
parents:
diff changeset
346 for the case where toplev_main does not emcompass all timevars.
kono
parents:
diff changeset
347 (toplev_main): Add parameter (const toplev_options *); pass it
kono
parents:
diff changeset
348 to do_compile.
kono
parents:
diff changeset
349 (toplev_finalize): New.
kono
parents:
diff changeset
350 * toplev.h (struct toplev_options): New.
kono
parents:
diff changeset
351 (toplev_main): Add parameter (const toplev_options *).
kono
parents:
diff changeset
352 (toplev_finalize): New.
kono
parents:
diff changeset
353 * varpool.c (varpool_c_finalize): New.
kono
parents:
diff changeset
354
kono
parents:
diff changeset
355
kono
parents:
diff changeset
356 Copyright (C) 2013-2014 Free Software Foundation, Inc.
kono
parents:
diff changeset
357
kono
parents:
diff changeset
358 Copying and distribution of this file, with or without modification,
kono
parents:
diff changeset
359 are permitted in any medium without royalty provided the copyright
kono
parents:
diff changeset
360 notice and this notice are preserved.