comparison gcc/lto/ChangeLog @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents 77e2b8dfacca
children f6334be47118
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
1 2010-05-22 Richard Guenther <rguenther@suse.de>
2
3 * lto.c (read_cgraph_and_symbols): Do not collect.
4
5 2010-05-20 Jan Hubicka <jh@suse.cz>
6
7 * lto.c (promote_var, promote_fn): New functions.
8 (lto_promote_cross_file_statics): Compute correctly boundary including
9 static initializers of readonly vars.
10
11 2010-05-18 Jan Hubicka <jh@suse.cz>
12
13 * lto.c (lto_1_to_1_map): Partition non-inline clones.
14 (lto_promote_cross_file_statics): Deal with non-inline clones.
15
16 2010-05-18 Jan Hubicka <jh@suse.cz>
17
18 * lto.c (lto_materialize_function): Announce function when
19 reading body; allocate_struct_function only when reading body;
20 do not finalize local statics; ggc_collect after reading;
21 do not mark reachable node.
22 (materialize_cgraph): Do not announce function.
23
24 2010-05-11 Jan Hubicka <jh@suse.cz>
25
26 * lto.c (materialize_cgraph): Revert my previous patch.
27
28 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
29
30 * lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Rename to
31 IMAGE_FILE_MACHINE_AMD64.
32 * lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Likewise.
33
34 2010-05-11 Jan Hubicka <jh@suse.cz>
35
36 * lto.c (lto_fixup_decls): Remove global var decls freeing here.
37 (materialize_cgraph): Add it here.
38
39 2010-05-11 Jan Hubicka <jh@suse.cz>
40
41 * lto.c (lto_fixup_decls): Free no longer needed lto_global_var_decls
42 vector.
43
44 2010-05-11 Jan Hubicka <jh@suse.cz>
45
46 * lto.c (lto_1_to_1_map): Remove some no longer needed checks.
47 (lto_promote_cross_file_statics): Never promote DECL_EXTERNAL;
48 use reachable_from_other_partition_p and
49 referenced_from_other_partition_p test.
50
51 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
52
53 * lto-coff.c (validate_file): Add x64-coff support.
54 * lto-coff.h (IMAGE_FILE_MACHINE_ADM64): New.
55 (COFF_KNOWN_MACHINES): Add IMAGE_FILE_MACHINE_ADM64.
56 * lto-lang.c (lto_build_c_type_nodes): Add check for
57 'long long unsigned int' for x64-windows.
58 (lto_init): Likewise.
59
60
61 2010-05-07 Steven Bosscher <steven@gcc.gnu.org>
62
63 * lto.h (struct lto_file_struct): Document offset member.
64 * lto-endian.h: New file.
65 * lto-macho.h: New file.
66 * lto-macho.c: New file.
67 * Make-lang.in: Add rule for lto-macho.o.
68
69 2010-05-07 Richard Guenther <rguenther@suse.de>
70
71 PR lto/43857
72 PR lto/43371
73 * lang.opt (fresolution): Change to ...
74 (fresolution=): ... this.
75 * lto-lang.c (lto_handle_option): Adjust.
76
77 2010-05-07 Richard Guenther <rguenther@suse.de>
78
79 * lto.c (DUMPBASE_SUFFIX): Remove.
80 (lto_execute_ltrans): Move functionality to lto-wrapper.c.
81 Rename to ...
82 (lto_write_ltrans_list): ... only output the list of ltrans files.
83 (lto_maybe_unlink): Remove.
84 (do_whole_program_analysis): Do not execute LTRANS phase
85 from here.
86
87 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
88
89 * lto-lang.c (lto_handle_option): Add argument kind.
90
91 2010-05-05 Jan Hubicka <jh@suse.cz>
92
93 * lto.c (lto_promote_cross_file_statics): Compute boundary based on
94 refs.
95
96 2010-05-05 Jan Hubicka <jh@suse.cz>
97
98 * lto.c (lto_1_to_1_map): Partition only needed nodes.
99
100 2010-04-30 Jan Hubicka <jh@suse.cz>
101
102 * lto.c (get_filename_for_set): Look for cgraph node and if none found, use
103 default name.
104 (lto_wpa_write_files): Write any non-empty partition.
105
106 2010-04-30 Jan Hubicka <jh@suse.cz>
107
108 * lto.c: Do not attempt to make constant pool references global.
109
110 2010-04-28 Jan Hubicka <jh@suse.cz>
111
112 * lto/lto.c (lto_read_in_decl_state): Use GGC.
113 (lto_wpa_write_files): Announce what we are writting.
114 (all_file_decl_data): New.
115 (read_cgraph_and_symbols): Use GGC; correct timevars.
116 (do_whole_program_analysis): Collect.
117 * lto/Make-lang.in (lto.o): Fix dependency.
118 * Makefile.in (GTFILES): Add lto-streamer.h.
119 * varpool.c (varpool_analyze_pending_decls): Use TV_VARPOOL.
120 (varpool_assemble_pending_decls): Use VAROUT.
121 * lto-streamer.h (lto_tree_ref_table): Annotate.
122 (lto_in_decl_state): Annotate.
123 (lto_file_decl_data): Annotate.
124
125 2010-04-28 Jan Hubicka <jh@suse.cz>
126
127 * lto.c (lto_varpool_node_sets): New.
128 (lto_1_to_1_map): Partition varpool too.
129 (globalize_context_t, globalize_cross_file_statics,
130 lto_scan_statics_in_ref_table, lto_scan_statics_in_cgraph_node,
131 lto_scan_statics_in_remaining_global_vars): Remove.
132 (lto_promote_cross_file_statics): Rewrite.
133 (get_filename_for_set): Take vset argument.
134 (lto_wpa_write_files): Pass around vsets.
135
136 2010-04-27 Dave Korn <dave.korn.cygwin@gmail.com>
137
138 PR lto/42776
139 * Make-lang.in (LTO_OBJS): Use LTO_BINARY_READER instead of
140 hardcoding 'lto-elf.o'.
141 ($(LTO_EXE)): Use LTO_USE_LIBELF instead of hardcoding '-lelf'.
142
143 * lto-coff.h: New file.
144 * lto-coff.c: Likewise.
145
146 2010-04-26 Richard Guenther <rguenther@suse.de>
147
148 * lto.c (lto_fixup_type): Deal with non-type TYPE_CONTEXT.
149
150 2010-04-26 Dave Korn <dave.korn.cygwin@gmail.com>
151
152 * lto.h (lto_elf_file_open): Rename prototype from this ...
153 (lto_obj_file_open): ... to this.
154 (lto_elf_file_close): Likewise ...
155 (lto_obj_file_close): ... and likewise.
156 (lto_elf_build_section_table): Likewise ...
157 (lto_obj_build_section_table): ... and likewise.
158 (lto_elf_begin_section): Likewise ...
159 (lto_obj_begin_section): ... and likewise.
160 (lto_elf_append_data): Likewise ...
161 (lto_obj_append_data): ... and likewise.
162 (lto_elf_end_section): Likewise ...
163 (lto_obj_end_section): ... and likewise.
164 * lto.c (lto_file_read): Update references to the above.
165 (lto_wpa_write_files): Likewise.
166 (lto_read_all_file_options): Likewise.
167 (read_cgraph_and_symbols): Likewise.
168 * lto-lang.c (LANG_HOOKS_BEGIN_SECTION): Likewise.
169 (LANG_HOOKS_APPEND_DATA): Likewise.
170 (LANG_HOOKS_END_SECTION): Likewise.
171 * lto-elf.c (lto_elf_file_open): Rename from this ...
172 (lto_obj_file_open): ... to this, updating any references.
173 (lto_elf_file_close): Likewise ...
174 (lto_obj_file_close): ... and likewise.
175 (lto_elf_build_section_table): Likewise ...
176 (lto_obj_build_section_table): ... and likewise.
177 (lto_elf_begin_section): Likewise ...
178 (lto_obj_begin_section): ... and likewise.
179 (lto_elf_append_data): Likewise ...
180 (lto_obj_append_data): ... and likewise.
181 (lto_elf_end_section): Likewise ...
182 (lto_obj_end_section): ... and likewise.
183
184 2010-04-21 Jan Hubicka <jh@suse.cz>
185
186 * lto.c (lto_fixup_tree): Do not call wpa fixup.
187 (materialize_cgraph): Likewise.
188
189 2010-04-21 Jan Hubicka <jh@suse.cz>
190
191 * lto.c (lto_wpa_write_files): Update.
192 (read_cgraph_and_symbols): Be more verbose.
193 (materialize_cgraph): Likewise.
194 (do_whole_program_analysis): Likewise.
195
196 2010-04-21 Jan Hubicka <jh@suse.cz>
197
198 * lto.c (globalize_cross_file_statics): When function has address taken,
199 it needs to be public.
200
201 2010-04-20 Jan Hubicka <jh@suse.cz>
202
203 * lto.c (lto_add_inline_clones): Do not track inlined_decls.
204 (lto_add_all_inlinees): Likewise.
205 (lto_wpa_write_files): Likewise.
206
207 2010-04-18 Eric Botcazou <ebotcazou@adacore.com>
208
209 * lto-lang.c (lto_init): Remove second argument in call to
210 build_common_tree_nodes.
211
212 2010-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
213
214 * lto-elf.c [!HAVE_ELF_GETSHDRSTRNDX] (elf_getshdrstrndx): New
215 function.
216
217 2010-03-09 Eric Botcazou <ebotcazou@adacore.com>
218
219 PR bootstrap/43276
220 * lto-elf.c: Define EM_* constants if not already defined.
221
222 2010-03-03 Eric Botcazou <ebotcazou@adacore.com>
223
224 * lto-elf.c (is_compatible_architecture): New static function.
225 (DEFINE_VALIDATE_EHDR): Use it to validate the architecture.
226
227 2010-02-11 Richard Guenther <rguenther@suse.de>
228
229 PR driver/43021
230 * lto-elf.c (lto_elf_file_open): Handle file@offset case more
231 appropriately.
232
233 2010-01-11 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
234
235 * lto.c (O_BINARY): Define.
236 (lto_read_section_data): Open file in binary mode.
237 * lto-elf.c (O_BINARY): Define.
238 (lto_elf_file_open): Open file in binary mode.
239
240 2010-01-08 Richard Guenther <rguenther@suse.de>
241
242 PR lto/42528
243 * lto-lang.c (lto_handle_option): Handle -f[un]signed-char.
244 (lto_init): Do not init char_type_node in a standard way
245 but according to flag_signed_char.
246
247 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
248
249 PR lto/41564
250 * lto.c (DUMPBASE_SUFFIX): New.
251 (lto_execute_ltrans): Append a sequence number to -dumpbase
252 for LTRANS.
253
254 2010-01-02 H.J. Lu <hongjiu.lu@intel.com>
255
256 PR lto/42580
257 * lto-elf.c (lto_elf_file_open): Stop if the command line
258 option file is missing.
259
1 2009-12-15 Richard Guenther <rguenther@suse.de> 260 2009-12-15 Richard Guenther <rguenther@suse.de>
2 261
3 * lto.c (lto_fixup_field_decl): Fixup DECL_FIELD_OFFSET. 262 * lto.c (lto_fixup_field_decl): Fixup DECL_FIELD_OFFSET.
4 (lto_post_options): Do not disable debuginfo. 263 (lto_post_options): Do not disable debuginfo.
5 264