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