]>
Commit | Line | Data |
---|---|---|
dd51e35a JM |
1 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
2 | ||
3 | * config/mep/mep.c (option_mtiny_specified): Remove. | |
4 | (mep_option_override): Move register handling for -mivc2 from | |
5 | mep_handle_option. Use global_options_set.x_mep_tiny_cutoff | |
6 | instead of option_mtiny_specified. | |
7 | (mep_handle_option): Access target_flags via opts pointer. Don't | |
8 | assert that global structures are in use. Defer part of -mivc2 | |
9 | handling and move it to mep_option_override. | |
10 | * config/mep/mep.opt (IVC2): New Mask entry. | |
11 | (mivc2): Use Var and Defer instead of Mask. | |
12 | ||
4a8d3d91 JM |
13 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14 | ||
15 | * config/v850/v850-opts.h: New. | |
16 | * config/v850/v850.c (small_memory): Replace with | |
17 | small_memory_physical_max array. Make that array static const. | |
18 | (v850_handle_memory_option): Take integer value of argument. Take | |
19 | gcc_options pointer, option text and location. Return void. | |
20 | Update for changes to small memory structures. | |
21 | (v850_handle_option): Access target_flags via opts pointer. Don't | |
22 | assert that global structures are in use. Update calls to | |
23 | v850_handle_memory_option. | |
24 | (v850_encode_data_area): Update references to small memory | |
25 | settings. | |
26 | * config/v850/v850.h (struct small_memory_info, small_memory): | |
27 | Remove. | |
28 | (enum small_memory_type): Move to v850-opts.h. | |
29 | * config/v850/v850.opt (config/v850/v850-opts.h): New | |
30 | HeaderInclude entry. | |
31 | (small_memory_max): New Variable entry. | |
32 | (msda): Replace by pair of options msda= and msda-. Use UInteger. | |
33 | (mtda, mzda): Likewise. | |
34 | ||
117fdbfa JM |
35 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
36 | ||
37 | * config/sh/sh.c (sh_handle_option): Access target_flags via opts | |
38 | pointer. Don't assert that global structures are in use. | |
39 | ||
d715091c JM |
40 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
41 | ||
42 | * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags | |
43 | via opts pointer. Don't assert that global structures are in use. | |
44 | ||
1bb721dc JM |
45 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
46 | ||
47 | * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. | |
48 | (munix=93): Use Var. | |
49 | * config/pa/pa-hpux1010.opt (munix=95): Use Var. | |
50 | * config/pa/pa-hpux1111.opt (munix=98): Use Var. | |
51 | * config/pa/pa-opts.h: New. | |
52 | * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. | |
53 | (pa_handle_option): Don't assert that global structures are in | |
54 | use. Access target_flags via opts pointer. Don't handle | |
55 | OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or | |
56 | OPT_munix_98 here. | |
57 | (pa_option_override): Handle deferred OPT_mfixed_range_. | |
58 | ||
cd8d8754 JM |
59 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
60 | ||
61 | * config/mn10300/mn10300-opts.h: New. | |
62 | * config/mn10300/mn10300.c (mn10300_processor, | |
63 | mn10300_tune_string): Remove. | |
64 | (mn10300_handle_option): Don't assert that global structures are | |
65 | in use. Access mn10300_processor via opts pointer. Don't handle | |
66 | OPT_mtune_ here. | |
67 | * config/mn10300/mn10300.h (enum processor_type): Move to | |
68 | mn10300-opts.h. | |
69 | (mn10300_processor): Remove. | |
70 | * config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New | |
71 | HeaderInclude entry. | |
72 | (mn10300_processor): New Variable entry. | |
73 | (mtune=): Use Var. | |
74 | ||
24e6e6b1 JM |
75 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
76 | ||
77 | * config/microblaze/microblaze.c: Don't include opts.h. | |
78 | (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove. | |
79 | * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn. | |
80 | (mno-clearbss): Use Var and Warn. | |
81 | ||
8a784afb JM |
82 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
83 | ||
84 | * config/m32r/m32r-opts.h: New. | |
85 | * config/m32r/m32r.c (m32r_model, m32r_sdata): Remove. | |
86 | (m32r_handle_option): Don't assert that global structures are in | |
87 | use. Access target_flags and m32r_cache_flush_func via opts | |
88 | pointer. Don't handle OPT_mmodel_, OPT_msdata_ or | |
89 | OPT_mno_flush_trap here. | |
90 | * config/m32r/m32r.h (Code Models, Small Data Area): Replace by | |
91 | include of m32r-opts.h. | |
92 | * config/m32r/m32r.opt (config/m32r/m32r-opts.h): New | |
93 | HeaderInclude entry. | |
94 | (m32r_model_selected, m32r_sdata_selected): New Variable entries. | |
95 | (mmodel=): Use Enum and Var. | |
96 | (m32r_model): New Enum and EnumValue entries. | |
97 | (mno-flush-trap): Use Var. | |
98 | (msdata=): Use Enum and Var. | |
99 | (m32r_sdata): New Enum and EnumValue entries. | |
100 | ||
bbfc9a8c JM |
101 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
102 | ||
103 | * config/m32c/m32c.c: Don't include opts.h. | |
104 | (target_memregs, target_memregs_set, TARGET_HANDLE_OPTION, | |
105 | m32c_handle_option): Remove. | |
106 | (m32c_option_override): Check global_options_set.x_target_memregs | |
107 | instead of target_memregs_set. | |
108 | * config/m32c/m32c.h (target_memregs): Remove. | |
109 | * config/m32c/m32c.opt (memregs=): Use UInteger with integer | |
110 | variable. | |
111 | ||
e24b8335 JM |
112 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
113 | ||
114 | * config/iq2000/iq2000-opts.h: New. | |
115 | * config/iq2000/iq2000.c: Don't include opts.h. | |
116 | (iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove. | |
117 | * config/iq2000/iq2000.h (enum processor_type, iq2000_tune): | |
118 | Remove. | |
119 | * config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New | |
120 | HeaderInclude entry. | |
121 | (iq2000_tune): New Variable entry. | |
122 | (march=): Add comment. Use Enum. | |
123 | (iq2000_arch): New Enum and EnumValue entries. | |
124 | (mcpu=): Use Enum and Var. | |
125 | (iq2000_tune): New Enum and EnumValue entries. | |
126 | ||
e6cc0c98 JM |
127 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
128 | ||
129 | * config/ia64/ia64-opts.h: New. | |
130 | * config/ia64/ia64.c (ia64_tune): Remove. | |
131 | (ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_ | |
132 | here. Use error_at. | |
133 | (ia64_option_override): Handle deferred OPT_mfixed_range_. | |
134 | * config/ia64/ia64.h (enum processor_type, ia64_tune): Remove. | |
135 | * config/ia64/ia64.opt (config/ia64/ia64-opts.h): New | |
136 | HeaderInclude entry. | |
137 | (ia64_tune): New Variable entry. | |
138 | (mfixed-range=): Use Defer and Var. | |
139 | (mtune=): Use Enum and Var. | |
140 | (ia64_tune): New Enum and EnumValue entries. | |
141 | ||
db25893c JM |
142 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
143 | ||
144 | * config/frv/frv-opts.h: New. | |
145 | * config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to | |
146 | frv-opts.h. | |
147 | (frv_cpu_type): Remove. | |
148 | * config/frv/frv.c: Don't include opts.h. | |
149 | (frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove. | |
150 | * config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude | |
151 | entry. | |
152 | (frv_cpu_type): New Variable entry. | |
153 | (frv_cpu): New Enum and EnumValue entries. | |
154 | ||
6c223f5d JM |
155 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
156 | ||
157 | * config/cris/cris.c (cris_handle_option): Access target_flags via | |
158 | opts pointer. Don't assert that global structures are in use. | |
159 | Don't call CRIS_SUBTARGET_HANDLE_OPTION. | |
160 | * config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define. | |
161 | ||
bbd399cf JM |
162 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
163 | ||
164 | * config/bfin/bfin-opts.h: New. | |
165 | * config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type, | |
166 | bfin_si_revision, bfin_workarounds): Remove. | |
167 | (bfin_cpus): Make static const. | |
168 | (bfin_load_pic_reg): Check global_options_set.x_bfin_library_id | |
169 | not bfin_lib_id_given. | |
170 | (bfin_handle_option): Don't set bfin_lib_id_given. Access | |
171 | bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts | |
172 | pointer. Use error_at. Don't assert that global structures are in | |
173 | use. | |
174 | * config/bfin/bfin.h: Include bfin-opts.h. | |
175 | (enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h. | |
176 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. | |
177 | * bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry. | |
178 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable | |
179 | entries. | |
180 | ||
5e1b4d5a JM |
181 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
182 | ||
183 | * config/arm/arm.opt (mhard-float, msoft-float): Use Alias. | |
184 | * config/arm/arm.c (arm_handle_option): Don't handle -mhard-float | |
185 | or -msoft-float here. | |
186 | * config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not | |
187 | -msoft-float and -mhard-float. | |
188 | (OPTION_DEFAULT_SPECS): Don't handle -mhard-float and | |
189 | -msoft-float. | |
190 | * config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not | |
191 | msoft-float. | |
192 | * config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and | |
193 | -msoft-float. | |
194 | (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. | |
195 | * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard, | |
196 | not mhard-float. | |
197 | (LIBGCC_SPEC): Don't handle -msoft-float. | |
198 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle | |
199 | -mhard-float. | |
200 | * config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not | |
201 | msoft-float. | |
202 | * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle | |
203 | -mfloat-abi=*, not -msoft-float and -mhard-float. | |
204 | * config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and | |
205 | -msoft-float. | |
206 | * config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): | |
207 | Use mfloat-abi=hard and mfloat-abi=soft in comments, not | |
208 | mhard-float and msoft-float. | |
209 | * config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and | |
210 | mfloat-abi=soft in comments, not mhard-float and msoft-float. | |
211 | * config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
212 | mfloat-abi=soft and mfloat-abi=hard, not msoft-float and | |
213 | mhard-float. | |
214 | * config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use | |
215 | mfloat-abi=hard and mfloat-abi=soft, not mhard-float and | |
216 | msoft-float. | |
217 | * config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard, | |
218 | not mhard-float. | |
219 | * config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, | |
220 | not msoft-float. | |
221 | ||
800d1de1 RH |
222 | 2011-03-22 Richard Henderson <rth@redhat.com> |
223 | ||
224 | * config/alpha/alpha.c (alpha_expand_prologue): Don't test | |
225 | TARGET_ABI_WINDOWS_NT. | |
226 | (alpha_output_function_end_prologue): Likewise. | |
227 | * config/alpha/alpha.h (TARGET_ABI_OSF): Likewise. | |
228 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
229 | * config/alpha/alpha.md (call, call_value, tablejump): Likewise. | |
230 | (trap, *movsi_nt_vms): Likewise. | |
231 | (call_nt, call_value_nt, *call_nt_1, *call_value_nt_1): Remove. | |
232 | (*tablejump_osf_nt_internal): Remove. | |
233 | * config/alpha/predicates.md (input_operand): Only test Pmode. | |
234 | ||
c59ddd2b JM |
235 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
236 | ||
237 | * config/alpha/alpha.c (alpha_handle_option): Access target_flags | |
238 | via opts pointer. Use error_at. Don't assert that global | |
239 | structures are in use. | |
240 | ||
1333f97f JM |
241 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
242 | ||
243 | * config/i386/i386.c (ix86_isa_flags_explicit): Remove. | |
244 | (ix86_handle_option): Access ix86_isa_flags and | |
245 | ix86_isa_flags_explicit via opts pointer. Don't assert that | |
246 | global structures are in use. | |
247 | (ix86_function_specific_save, ix86_function_specific_restore): | |
248 | Update ix86_isa_flags_explicit field name. | |
249 | * config/i386/i386.opt (ix86_isa_flags_explicit): New Variable | |
250 | entry. | |
251 | (ix86_isa_flags_explicit): Rename TargetSave entry to | |
252 | x_ix86_isa_flags_explicit. | |
253 | ||
75db85d8 RH |
254 | 2011-03-22 Richard Henderson <rth@redhat.com> |
255 | ||
256 | * config/alpha/alpha.c (NUM_ARGS): Don't test TARGET_ABI_UNICOSMK. | |
257 | (alpha_option_override, direct_return): Likewise. | |
258 | (alpha_arg_partial_bytes, alpha_setup_incoming_varargs): Likewise. | |
259 | (alpha_va_start, alpha_gimplify_va_arg, alpha_sa_mask): Likewise. | |
260 | (alpha_sa_size, compute_frame_size, alpha_expand_prologue): Likewise. | |
261 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
262 | (alpha_expand_epilogue, alpha_end_function): Likewise. | |
263 | (alpha_init_libfuncs): Likewise. | |
264 | (struct machine_function): Remove unicosmk members. | |
265 | (print_operand) ['t']: Remove. | |
266 | (unicosmk_must_pass_in_stack, unicosmk_initial_elimination_offset, | |
267 | unicosmk_output_module_name, unicosmk_output_common, | |
268 | current_section_align, unicosmk_output_text_section_asm_op, | |
269 | unicosmk_output_data_section_asm_op, unicosmk_init_sections, | |
270 | unicosmk_section_type_flags, unicosmk_unique_section, | |
271 | unicosmk_asm_named_section, unicosmk_insert_attributes, | |
272 | unicosmk_output_align, unicosmk_defer_case_vector, | |
273 | unicosmk_output_addr_vec, unicosmk_output_deferred_case_vectors, | |
274 | SSIB_PREFIX, SSIB_PREFIX_LEN, unicosmk_ssib_name, unicosmk_gen_dsib, | |
275 | unicosmk_output_ssib, unicosmk_add_call_info_word, | |
276 | unicosmk_extern_head, unicosmk_output_default_externs, | |
277 | unicosmk_output_externs, unicosmk_add_extern, unicosmk_dex_list, | |
278 | unicosmk_dex_count, unicosmk_special_name, unicosmk_need_dex, | |
279 | unicosmk_output_dex, unicosmk_file_start, unicosmk_file_end): Remove. | |
280 | * config/alpha/alpha-protos.h: Update. | |
281 | * config/alpha/alpha.h (TARGET_ABI_OSF): Don't test TARGET_ABI_UNICOSMK. | |
282 | * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM): Remove. | |
283 | (UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): Remove. | |
284 | (mulsi3): Don't test TARGET_ABI_UNICOSMK. | |
285 | (*mulsi_se, mulvsi3): Likewise. | |
286 | (divsi3, udivsi3, modsi3, umodsi3, divdi3, udivdi3): Likewise. | |
287 | (*divmodsi_internal, call, call_value, realign): Likewise. | |
288 | (moddi3, umoddi3): Likewise; remove duplicate expander. | |
289 | (moddi3_umk, umoddi3_umk, call_umk, call_value_umk): Remove. | |
290 | (*call_umk_1, *movsi, umk_laum, umk_lalm, *umk_load_ciw): Remove. | |
291 | (*movdi_nofix): Remove r/U alternative. | |
292 | (umk_mismatch_args, arg_home_umk, *call_value_umk): Remove. | |
293 | * config/alpha/constraints.md ("U"): Remove. | |
294 | * config/alpha/predicates.md (call_operand"): Don't test | |
295 | TARGET_ABI_UNICOSMK. | |
296 | ||
96e45421 JM |
297 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
298 | ||
299 | * target.def (handle_option): Take gcc_options and | |
300 | cl_decoded_option pointers and location_t. | |
301 | * doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation. | |
302 | * doc/tm.texi: Regenerate. | |
303 | * hooks.c (hook_bool_size_t_constcharptr_int_true): Remove. | |
304 | * hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare. | |
305 | * lto-opts.c (lto_reissue_options): Generate option structure for | |
306 | targetm.handle_option call. | |
307 | * opts.c (target_handle_option): Update call to | |
308 | targetm.handle_option. Remove assertions about values now passed | |
309 | down to hook. | |
310 | * targhooks.c (default_target_handle_option): New. | |
311 | * targhooks.h (default_target_handle_option): Declare. | |
312 | * config/alpha/alpha.c: Include opts.h. | |
313 | (alpha_handle_option): Update to new hook interface. | |
314 | * config/arm/arm.c: Include opts.h. | |
315 | (arm_handle_option): Update to new hook interface. | |
316 | * config/arm/t-arm (arm.o): Update dependencies. | |
317 | * config/bfin/bfin.c: Include opts.h. | |
318 | (bfin_handle_option): Update to new hook interface. | |
319 | * config/cris/cris.c: Include opts.h. | |
320 | (cris_handle_option): Update to new hook interface. | |
321 | * config/frv/frv.c: Include opts.h. | |
322 | (frv_handle_option): Update to new hook interface. | |
323 | * config/i386/i386.c: Include opts.h. | |
324 | (ix86_handle_option): Update to new hook interface. | |
325 | (ix86_valid_target_attribute_inner_p): Generate option structure | |
326 | for call to ix86_handle_option. | |
327 | * config/i386/t-i386 (i386.o): Update dependencies. | |
328 | * config/ia64/ia64.c: Include opts.h. | |
329 | (ia64_handle_option): Update to new hook interface. | |
330 | * config/ia64/t-ia64 (ia64.o): Update dependencies. | |
331 | * config/iq2000/iq2000.c: Include opts.h. | |
332 | (iq2000_handle_option): Update to new hook interface. | |
333 | * config/m32c/m32c.c: Include opts.h. | |
334 | (m32c_handle_option): Update to new hook interface. | |
335 | * config/m32r/m32r.c: Include opts.h. | |
336 | (m32r_handle_option): Update to new hook interface. | |
337 | * config/m68k/m68k.c: Include opts.h. | |
338 | (m68k_handle_option): Update to new hook interface. | |
339 | * config/mep/mep.c: Include opts.h. | |
340 | (mep_handle_option): Update to new hook interface. | |
341 | * config/microblaze/microblaze.c: Include opts.h. | |
342 | (microblaze_handle_option): Update to new hook interface. | |
343 | * config/mips/mips.c: Include opts.h. | |
344 | (mips_handle_option): Update to new hook interface. | |
345 | * config/mn10300/mn10300.c: Include opts.h. | |
346 | (mn10300_handle_option): Update to new hook interface. | |
347 | * config/pa/pa.c: Include opts.h. | |
348 | (pa_handle_option): Update to new hook interface. | |
349 | * config/pdp11/pdp11.c: Include opts.h. | |
350 | (pdp11_handle_option): Update to new hook interface. | |
351 | * config/rs6000/rs6000.c: Include opts.h. | |
352 | (rs6000_handle_option): Update to new hook interface. | |
353 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
354 | * config/rx/rx.c: Include opts.h. | |
355 | (rx_handle_option): Update to new hook interface. | |
356 | * config/s390/s390.c: Include opts.h. | |
357 | (s390_handle_option): Update to new hook interface. | |
358 | * config/score/score.c: Include opts.h. | |
359 | (score_handle_option): Update to new hook interface. | |
360 | * config/sh/sh.c: Include opts.h. | |
361 | (sh_handle_option): Update to new hook interface. | |
362 | * config/sparc/sparc.c: Include opts.h. | |
363 | (sparc_handle_option): Update to new hook interface. | |
364 | * config/v850/v850.c: Include opts.h. | |
365 | (v850_handle_option): Update to new hook interface. | |
366 | ||
66017846 JM |
367 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
368 | ||
369 | * gcc.c (driver_unknown_option_callback): Only permit and save | |
370 | unknown -Wno- options. | |
371 | (driver_wrong_lang_callback): Save options directly instead of via | |
372 | driver_unknown_option_callback. | |
373 | ||
e8b97ccd EB |
374 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
375 | ||
376 | * combine.c (simplify_set): Try harder to find the best CC mode when | |
377 | simplifying a nested COMPARE on the RHS. | |
378 | ||
ebb9f8b0 JM |
379 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
380 | ||
381 | * config/alpha/gnu.h: Remove. | |
382 | * config/arc: Remove directory. | |
383 | * config/arm/netbsd.h: Remove. | |
384 | * config/arm/t-pe: Remove. | |
385 | * config/crx: Remove directory. | |
386 | * config/i386/netbsd.h: Remove. | |
387 | * config/m68hc11: Remove directory. | |
388 | * config/m68k/uclinux-oldabi.h: Remove. | |
389 | * config/mcore/mcore-pe.h: Remove. | |
390 | * config/mcore/t-mcore-pe: Remove. | |
391 | * config/netbsd-aout.h: Remove. | |
392 | * config/rs6000/gnu.h: Remove. | |
393 | * config/sh/sh-symbian.h: Remove. | |
394 | * config/sh/symbian-base.c: Remove. | |
395 | * config/sh/symbian-c.c: Remove. | |
396 | * config/sh/symbian-cxx.c: Remove. | |
397 | * config/sh/symbian-post.h: Remove. | |
398 | * config/sh/symbian-pre.h: Remove. | |
399 | * config/sh/t-symbian: Remove. | |
400 | * config/svr3.h: Remove. | |
401 | * config/vax/netbsd.h: Remove. | |
402 | * config.build: Don't handle i[34567]86-*-pe. | |
403 | * config.gcc: Remove handling of deprecations for most deprecated | |
404 | targets. | |
405 | (m68k-*-uclinuxoldabi*): Add to second deprecated list. | |
406 | (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, | |
407 | i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, | |
408 | m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, | |
409 | powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, | |
410 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): | |
411 | Remove cases. | |
412 | * config.host: Don't handle i[34567]86-*-pe. | |
413 | * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. | |
414 | (ASM_SPEC32): Don't handle -mcall-gnu. | |
415 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle | |
416 | -mcall-gnu. | |
417 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, | |
418 | STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. | |
419 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
420 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. | |
421 | (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. | |
422 | * config/sh/sh-protos.h, config/sh/sh.c: Remove all code | |
423 | conditional on SYMBIAN. | |
424 | * configure.ac: Don't handle powerpc*-*-gnu*. | |
425 | * configure: Regenerate. | |
426 | * doc/extend.texi (interrupt attribute): Don't mention CRX. | |
427 | * doc/install-old.texi (m6811, m6812): Don't mention. | |
428 | * doc/install.texi (arc-*-elf*): Don't document multilib option. | |
429 | (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. | |
430 | (m68k-uclinuxoldabi): Don't mention. | |
431 | * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): | |
432 | Remove. | |
433 | (-mcall-gnu): Remove. | |
434 | * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 | |
435 | families): Remove constraint documentation. | |
436 | ||
999a7d80 MS |
437 | 2011-03-22 Marius Strobl <marius@FreeBSD.org> |
438 | ||
439 | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with... | |
440 | (FBSD_TARGET_CPU_CPP_BUILTINS): ...this. | |
441 | (TARGET_GNU_TLS, TARGET_SUN_TLS): Define. | |
442 | ||
980a0ff4 GJL |
443 | 2011-03-21 Georg-Johann Lay <avr@gjlay.de> |
444 | ||
445 | * config/avr/avr-protos.h (expand_epilogue): Change prototype | |
446 | * config/avr/avr.h (struct machine_function): Add field sibcall_fails. | |
447 | * config/avr/avr.c (init_cumulative_args) | |
448 | (avr_function_arg_advance): Use it. | |
449 | * config/avr/avr.c (expand_epilogue): Add bool parameter. Handle | |
450 | sibcall epilogues. | |
451 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to... | |
452 | (avr_function_ok_for_sibcall): ...this new function. | |
453 | (avr_lookup_function_attribute1): New static Function. | |
454 | (avr_naked_function_p, interrupt_function_p) | |
455 | (signal_function_p, avr_OS_task_function_p) | |
456 | (avr_OS_main_function_p): Use it. | |
457 | * config/avr/avr.md ("sibcall", "sibcall_value") | |
458 | ("sibcall_epilogue"): New expander. | |
459 | ("*call_insn", "*call_value_insn"): New insn. | |
460 | ("call_insn", "call_value_insn"): Remove | |
461 | ("call", "call_value", "epilogue"): Change expander to handle | |
462 | sibling calls. | |
463 | ||
49168734 NC |
464 | 2011-03-21 Nick Clifton <nickc@redhat.com> |
465 | ||
466 | * doc/invoke.texi (Overall Options): Move closing brace to end of | |
467 | options list. | |
468 | (Optimization Options): Add missing @gol. | |
469 | (Directory Options): Likewise. | |
470 | (i386 and x86-64 Options): Likewise. | |
471 | (RS6000 and PowerPC Options): Likewise. | |
472 | (i386 and x86-64 Windows Options): Likewise. | |
473 | (V850 Options): Add text missing from descriptions. | |
474 | ||
bdfe906f RH |
475 | 2011-03-22 Richard Henderson <rth@redhat.com> |
476 | ||
477 | * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
478 | (avr_incoming_return_addr_rtx): New. | |
479 | (emit_push_byte): New. | |
480 | (expand_prologue): Use it. Remove incorrect dwarf annotation for | |
481 | SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf | |
482 | annotation for __prologue_saves__. Fixup dwarf annotation for CFA. | |
483 | (emit_pop_byte): New. | |
484 | (expand_epilogue): Use it. Pop frame pointer by bytes. | |
485 | * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove. | |
486 | (INCOMING_RETURN_ADDR_RTX): New. | |
487 | (INCOMING_FRAME_SP_OFFSET): New. | |
488 | (ARG_POINTER_CFA_OFFSET): New. | |
489 | * config/avr/avr.md (*pushqi): Fix mode of auto-inc. | |
490 | (*pushhi, *pushsi, *pushsf, popqi): Likewise. | |
491 | (pophi): Remove. | |
492 | ||
d090a5aa RH |
493 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec. |
494 | ||
009d3fcf NF |
495 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
496 | ||
497 | * tree.c (build_call_1): New function. | |
498 | (build_call_valist, build_call_array_loc, build_call_vec): Call it. | |
499 | ||
7bec30e1 RG |
500 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
501 | ||
502 | PR tree-optimization/48228 | |
503 | * tree-vrp.c (vrp_visit_phi_node): Do not stop propagating | |
504 | for single-arg PHIs. | |
505 | ||
0b7e851b AB |
506 | 2011-03-22 Andrey Belevantsev <abel@ispras.ru> |
507 | ||
508 | PR rtl-optimization/48143 | |
509 | * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute. | |
510 | (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps, | |
511 | sse2_cvtps2pd): Likewise. | |
512 | ||
d89afca5 AK |
513 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
514 | ||
515 | * recog.c (canonicalize_change_group): Use validate_unshare_change. | |
516 | ||
f471fe72 RG |
517 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
518 | ||
519 | * gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not | |
520 | a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary. | |
521 | * tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR | |
522 | and REALIGN_LOAD_EXPR. | |
523 | (verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC, | |
524 | DOT_PROD_EXPR or REALIGN_LOAD_EXPR. | |
525 | * expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and | |
526 | DOT_PROD_EXPR case ... | |
527 | (expand_expr_real_2): ... here. | |
528 | * gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR | |
529 | and REALIGN_LOAD_EXPR. | |
530 | * tree-data-ref.c (split_constant_offset): Bail out for all CHRECs. | |
531 | * tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries. | |
532 | (vect_create_epilog_for_reduction): Likewise. | |
533 | (vectorizable_reduction): Likewise. | |
534 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust. | |
535 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
536 | ||
f2f81d57 EB |
537 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
538 | ||
539 | * gimplify.c (gimplify_cond_expr): Gimplify COMPOUND_EXPR conditions. | |
540 | ||
ab081dd6 AK |
541 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
542 | ||
543 | * config/s390/s390.c (s390_delegitimize_address): Fix offset | |
544 | handling for PLTOFF/GOTOFF. | |
545 | ||
6fd5332b NC |
546 | 2011-03-22 Nick Clifton <nickc@redhat.com> |
547 | ||
548 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove | |
549 | trailing backslash from the end of the macro definition. | |
550 | ||
01841ac0 AK |
551 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
552 | ||
553 | * config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF | |
554 | and PLT unspecs. | |
555 | ||
2ef6ce06 RS |
556 | 2011-03-21 Richard Sandiford <richard.sandiford@linaro.org> |
557 | ||
558 | * expr.h (prepare_operand): Move to... | |
559 | * optabs.h (prepare_operand): ...here and change the insn code | |
560 | parameter from "int" to "enum insn_code". | |
561 | (insn_operand_matches): Declare. | |
562 | * expr.c (init_expr_target): Use insn_operand_matches. | |
563 | (compress_float_constant): Likewise. | |
564 | * function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise. | |
565 | * optabs.c (can_compare_p, prepare_cmp_insn): Likewise. | |
566 | (emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise. | |
567 | (have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): Likewise. | |
568 | (gen_cond_trap): Likewise. | |
569 | (prepare_operand): Likewise. Change icode to an insn_code. | |
570 | (insn_operand_matches): New function. | |
571 | * reload.c (find_reloads_address_1): Use insn_operand_matches. | |
572 | * reload1.c (gen_reload): Likewise. | |
573 | * targhooks.c (default_secondary_reload): Likewise. | |
574 | ||
9e43ad68 UB |
575 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> |
576 | ||
9a96da32 UB |
577 | * config/alpha/alpha.md (unspec): New define_c_enum. |
578 | (unspecv): Ditto. | |
579 | ||
580 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> | |
581 | ||
582 | PR debug/48214 | |
9e43ad68 UB |
583 | * config/alpha/alpha.c (alpha_pad_noreturn): Do not emit an unop |
584 | between a call and its CALL_ARG_LOCATION note. | |
585 | ||
31408f60 EB |
586 | 2011-03-21 Eric Botcazou <ebotcazou@adacore.com> |
587 | ||
588 | * gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag. | |
589 | ||
590 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> | |
126e6609 JJ |
591 | |
592 | PR c/42544 | |
593 | PR c/48197 | |
594 | * c-common.c (shorten_compare): If primopN is first sign-extended | |
595 | to opN and then zero-extended to result type, set primopN to opN. | |
596 | ||
9dfd55f5 DJ |
597 | 2011-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
598 | ||
599 | * config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test | |
600 | for barrier handlers. | |
601 | ||
f3c33d9d MM |
602 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
603 | ||
604 | * config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all | |
605 | UNSPEC constants to be in the unspec enumeration, and redefine | |
606 | all UNSPECV constants to be in the unspecv enumeration, so that | |
607 | dumps print which unspec/unspec_volatile this is. | |
608 | * config/rs6000/vector.md (UNSPEC_*): Ditto. | |
609 | * config/rs6000/paired.md (UNSPEC_*): Ditto. | |
610 | * config/rs6000/vsx.md (UNSPEC_*): Ditto. | |
611 | * config/rs6000/altivec.md (UNSPEC_*, UNSPECV_*): Ditto. | |
612 | * config/rs6000/dfp.md (UNSPEC_*): Ditto. | |
613 | ||
614 | * config/rs6000/rs6000.md (UNSPECV_ISYNC, UNSPECV_LWSYNC): Rename | |
615 | UNSPEC_ISYNC and UNSPEC_HWSYNC to UNSPECV_ISYNC and | |
616 | UNSPECV_LWSYNC, since these are used as unspec_volatile. | |
617 | * config/rs6000/sync.md (isync, lwsync): Ditto. | |
618 | ||
ac43f774 RG |
619 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
620 | ||
621 | * params.def (lto-min-partition): Fix typo. | |
622 | ||
411cdbd8 RG |
623 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
624 | ||
625 | PR c/47939 | |
626 | * c-decl.c (grokdeclarator): Drop to the main variant only | |
627 | for array types. Drop flag_gen_aux_info check. | |
628 | ||
1cd9e416 RG |
629 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
630 | ||
631 | PR translation/47911 | |
632 | * params.def (lto-partitions): Fix typo. | |
633 | (lto-min-partition): Fix wording. | |
634 | ||
ada5ad67 AT |
635 | 2011-03-21 Andreas Tobler <andreast@fgznet.ch> |
636 | ||
637 | * config/rs6000/t-freebsd: Remove duplication from file. | |
638 | ||
f9613c9a RG |
639 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
640 | ||
641 | PR middle-end/47661 | |
642 | * gimple.c (is_gimple_condexpr): Use tree_could_throw_p. | |
643 | ||
9bfbc1eb RG |
644 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
645 | ||
646 | PR lto/48210 | |
647 | * params.def (lto-partitions): Require at least 1 partition. | |
648 | ||
a2268084 RO |
649 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
650 | ||
651 | * gthr-solaris.h: Remove. | |
652 | * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove. | |
653 | * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support. | |
654 | (LIB_SPEC): Likewise. | |
655 | * config/sol2.opt (threads): Remove. | |
9e43ad68 | 656 | * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads support. |
a2268084 RO |
657 | (sparc*-*-solaris2*): Likewise. |
658 | * configure.ac (enable_threads): Enable solaris support. | |
659 | * configure: Regenerate. | |
9e43ad68 | 660 | * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove -threads. |
a2268084 RO |
661 | * doc/install.texi (Configuration, --enable-threads=lib): Remove |
662 | solaris. | |
663 | ||
c43d9a1b RO |
664 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
665 | ||
666 | * config.gcc: Obsolete *-*-solaris2.8*. | |
667 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
668 | ||
084239f4 RO |
669 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
670 | ||
671 | PR bootstrap/48135 | |
672 | * doc/install.texi (Prerequisites, Perl): Remove Glob.pm | |
673 | reference. Solaris 8 perl works. | |
674 | ||
64cadbe7 RO |
675 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
676 | ||
677 | PR bootstrap/48135 | |
678 | * doc/install.texi (Prerequisites): Move jar etc. up. | |
679 | Explain support library version requirements. | |
680 | ||
eb975109 RO |
681 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
682 | ||
683 | PR bootstrap/48135 | |
684 | * doc/install.texi (Prerequisites): Move Perl to build | |
685 | requirements. Always necessary on Solaris 2 with Sun ld. | |
686 | ||
8a509ffd RO |
687 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
688 | ||
689 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for | |
690 | binutils 2.21. | |
691 | (Specific, i?86-*-solaris2.[89]): Likewise. | |
692 | (Specific, i?86-*-solaris2.10): Likewise. | |
693 | (Specific, mips-sgi-irix6): Likewise. | |
694 | (Specific, *-*-solaris2*): Remove Sun Studio download URL. | |
695 | Update for binutils 2.21. | |
696 | ||
8fbc58a1 RO |
697 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
698 | ||
699 | * configure.ac (gcc_cv_lto_plugin): Fix typo. | |
700 | Allow -fuse-linker-plugin for non-default plugin linker. | |
701 | * configure: Regenerate. | |
702 | ||
7e84ad0b NP |
703 | 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> |
704 | ||
705 | PR bootstrap/48167 | |
706 | * gengtype.c (files_rules): Added rule for cp/parser.h. | |
707 | ||
2f36e14b JJ |
708 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> |
709 | ||
710 | PR target/48213 | |
711 | * config/s390/s390.c (s390_delegitimize_address): Don't call | |
712 | lowpart_subreg if orig_x has BLKmode. | |
713 | ||
62d784f7 KT |
714 | 2011-03-21 Kai Tietz <ktietz@redhat.com> |
715 | ||
716 | PR target/12171 | |
9e43ad68 UB |
717 | * doc/plugins.texi: Adjust documentation for plugin register_callback. |
718 | * tree.h (attribute_spec): Add new member affects_type_identity. | |
719 | * attribs.c (empty_attribute_table): Adjust attribute_spec | |
720 | initializers. | |
62d784f7 KT |
721 | * config/alpha/alpha.c: Likewise. |
722 | * config/arc/arc.c: Likewise. | |
723 | * config/arm/arm.c: Likewise. | |
724 | * config/avr/avr.c: Likewise. | |
725 | * config/bfin/bfin.c: Likewise. | |
726 | * config/crx/crx.c: Likewise. | |
727 | * config/darwin.h: Likewise. | |
728 | * config/h8300/h8300.c: Likewise. | |
729 | * config/i386/cygming.h: Likewise. | |
730 | * config/i386/i386.c: Likewise. | |
731 | * config/ia64/ia64.c: Likewise. | |
732 | * config/m32c/m32c.c: Likewise. | |
733 | * config/m32r/m32r.c: Likewise. | |
734 | * config/m68hc11/m68hc11.c: Likewise. | |
735 | * config/m68k/m68k.c: Likewise. | |
736 | * config/mcore/mcore.c: Likewise. | |
737 | * config/mep/mep.c: Likewise. | |
738 | * config/microblaze/microblaze.c: Likewise. | |
739 | * config/mips/mips.c: Likewise. | |
740 | * config/rs6000/rs6000.c: Likewise. | |
741 | * config/rx/rx.c: Likewise. | |
742 | * config/sh/sh.c: Likewise. | |
743 | * config/sol2.h: Likewise. | |
744 | * config/sparc/sparc.c: Likewise. | |
745 | * config/spu/spu.c: Likewise. | |
746 | * config/stormy16/stormy16.c: Likewise. | |
747 | * config/v850/v850.c: Likewise. | |
748 | ||
54833ec0 CLT |
749 | 2011-03-21 Chung-Lin Tang <cltang@codesourcery.com> |
750 | ||
751 | * simplify-rtx.c (simplify_binary_operation_1): Handle | |
752 | (xor (and A B) C) case when B and C are both constants. | |
753 | ||
14a41392 MX |
754 | 2011-03-21 Mingjie Xing <mingjie.xing@gmail.com> |
755 | ||
756 | * tree-dfa.c (add_referenced_var): Fix typo in comment. | |
757 | ||
806c3492 EB |
758 | 2011-03-20 Eric Botcazou <ebotcazou@adacore.com> |
759 | ||
760 | PR bootstrap/48168 | |
761 | * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern. | |
762 | ||
65e0a0f3 JJ |
763 | 2011-03-20 Jakub Jelinek <jakub@redhat.com> |
764 | ||
765 | PR rtl-optimization/48156 | |
766 | * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL, | |
767 | assume df and df_lr are not NULL. | |
768 | ||
b6a75dda RR |
769 | 2011-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
770 | ||
771 | PR debug/48023 | |
772 | * config/arm/arm.c (create_fix_barrier): Do not emit a minipool | |
773 | between a call and its CALL_ARG_LOCATION note. | |
774 | ||
5969b52d KK |
775 | 2011-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
776 | ||
777 | PR debug/48178 | |
778 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
779 | between a call and its corresponding CALL_ARG_LOCATION note. | |
780 | ||
f773c2bd AS |
781 | 2011-03-19 Anatoly Sokolov <aesok@post.ru> |
782 | ||
783 | * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range | |
784 | instead of loop. Use HARD_REGISTER_NUM_P predicate. | |
785 | * haifa-sched.c (setup_ref_regs): Ditto. | |
786 | * caller-save.c (add_used_regs_1): Ditto. | |
787 | * dse.c (look_for_hardregs): Ditto. | |
788 | * df-problems.c (df_simulate_one_insn_forwards): Ditto. | |
789 | * sched-rgn.c (check_live_1): Ditto. | |
790 | ||
8bf872f9 JM |
791 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
792 | ||
793 | * c-decl.c (diagnose_mismatched_decls): Give an error for | |
794 | redefining a typedef with variably modified type. | |
795 | ||
ff8e2159 JM |
796 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
797 | ||
798 | * c-decl.c (grokfield): Don't allow typedefs for structures or | |
799 | unions with no tag by default. | |
800 | * doc/extend.texi (Unnamed Fields): Update. | |
801 | ||
16cc4440 UB |
802 | 2011-03-18 Uros Bizjak <ubizjak@gmail.com> |
803 | ||
804 | * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): | |
805 | Rewrite using indirect functions. | |
806 | (lwp_slwpcb): Ditto. | |
807 | * config/i386/sse.md (avx_vextractf128<mode>): Ditto. | |
808 | (avx_vinsertf128<mode>): Ditto. | |
809 | ||
e101e12e AK |
810 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
811 | ||
812 | * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF | |
813 | unspecs. | |
814 | ||
4627c7fb AK |
815 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
816 | ||
817 | * config/s390/s390.c (s390_chunkify_start): Prevent literal pool | |
9e43ad68 | 818 | splitting between a call and its corresponding CALL_ARG_LOCATION note. |
4627c7fb | 819 | |
2d36b47f MK |
820 | 2011-03-18 Maxim Kuvyrkov <maxim@codesourcery.com> |
821 | ||
822 | PR rtl-optimization/48170 | |
823 | * gcse.c (hoist_code): Remove bogus asserts. | |
824 | ||
2a3d7659 JL |
825 | 2011-03-18 Georg-Johann Lay <avr@gjlay.de> |
826 | ||
827 | * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost | |
828 | computation for prologue/epilogue. | |
829 | ||
34c3ef05 RO |
830 | 2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
831 | ||
832 | * Makefile.in (check-consistency): Remove. | |
833 | ||
81f2b976 JJ |
834 | 2011-03-18 Jakub Jelinek <jakub@redhat.com> |
835 | ||
836 | PR debug/48176 | |
837 | * dwarf2out.c (dwarf2out_finish): Call output_aranges even when | |
838 | arange_table_in_use is 0, but either text_section_used or | |
839 | cold_text_section_used is true. Don't call it if | |
840 | !info_section_emitted. | |
841 | ||
68fd7765 AS |
842 | 2011-03-18 Anatoly Sokolov <aesok@post.ru> |
843 | ||
844 | * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, | |
845 | FUNCTION_VALUE_REGNO_P): Remove. | |
846 | * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): | |
847 | Remove. | |
848 | * config/avr/avr.c (avr_ret_register): Make static inline. | |
849 | (avr_function_value_regno_p): New function. | |
850 | (avr_libcall_value): Make static. Add 'func' argument. | |
851 | (avr_function_value): Make static. Rename 'func' argument to | |
852 | 'fn_decl_or_type', forward it to avr_libcall_value. Call | |
853 | avr_ret_register function instead of RET_REGISTER macro. | |
854 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
855 | ||
b4ef8aac JM |
856 | 2011-03-18 Jason Merrill <jason@redhat.com> |
857 | ||
858 | PR c++/23372 | |
859 | * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR. | |
860 | ||
09a52fc3 RG |
861 | 2011-03-18 Richard Guenther <rguenther@suse.de> |
862 | ||
863 | * doc/install.texi (--enable-gold): Remove. | |
864 | (--with-plugin-ld): Document. | |
865 | * doc/invoke.texi (-fuse-linker-plugin): Clarify. | |
866 | ||
2a3d7659 | 867 | 2011-03-18 Andrew Pinski <pinskia@gmail.com> |
3bf162a0 AP |
868 | |
869 | PR middle-end/47790 | |
870 | * expr.c (optimize_bitfield_assignment_op): Revamp to work | |
871 | again after expansion changes. | |
872 | ||
2abbb0fe CLT |
873 | 2011-03-18 Chung-Lin Tang <cltang@codesourcery.com> |
874 | ||
875 | * combine.c (try_combine): Do simplification only call of | |
876 | subst() on i2 even when i1 is present. Update comments. | |
877 | ||
2efd0aa6 KK |
878 | 2011-03-18 Kaz Kojima <kkojima@gcc.gnu.org> |
879 | ||
880 | * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF | |
881 | and UNSPEC_PCREL_SYMOFF. | |
882 | ||
30a49b23 AK |
883 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
884 | ||
885 | * config/s390/s390.md: Use define_c_enum for the unspec constant | |
886 | definitions. | |
887 | ||
419e1853 JJ |
888 | 2011-03-18 Richard Henderson <rth@redhat.com> |
889 | Jakub Jelinek <jakub@redhat.com> | |
890 | ||
891 | PR bootstrap/48161 | |
892 | * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary | |
893 | instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER. | |
894 | ||
37875856 L |
895 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
896 | ||
897 | PR middle-end/47725 | |
898 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
899 | extended hard registers. | |
900 | ||
76069764 L |
901 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
902 | ||
903 | PR middle-end/47725 | |
904 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
905 | hard registers. | |
906 | ||
24da2019 AS |
907 | 2011-03-17 Anatoly Sokolov <aesok@post.ru> |
908 | ||
909 | * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
910 | * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove. | |
911 | * config/v850/v850.c (v850_output_addr_const_extra): Make static. | |
912 | Change return type to bool. | |
913 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
914 | ||
a82ff31f JJ |
915 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
916 | ||
8b29c87a JJ |
917 | PR debug/48163 |
918 | * var-tracking.c (prepare_call_arguments): If CALL target | |
919 | is a non-SYMBOL_REF CONSTANT_P, just add that into the list as | |
920 | pc instead of looking it up using cselib_lookup and use | |
921 | Pmode for it if x has VOIDmode. | |
922 | * dwarf2out.c (gen_subprogram_die): If also both first and | |
923 | second CONCAT arguments are VOIDmode, use mode of CONCAT itself. | |
924 | ||
a82ff31f JJ |
925 | PR debug/48163 |
926 | * function.c (assign_parms): For data.passed_pointer parms | |
927 | use MEM of data.entry_parm instead of data.entry_parm itself | |
928 | as DECL_INCOMING_RTL. | |
929 | * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL | |
930 | also when passed and declared mode is the same, DECL_RTL | |
931 | is a MEM with pseudo as address and DECL_INCOMING_RTL is | |
932 | a MEM too. | |
933 | ||
82ce305c JL |
934 | 2011-03-16 Jeff Law <law@redhat.com> |
935 | ||
936 | PR rtl-optimization/37273 | |
937 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
938 | handle them like argument loads from stack slots. Do not double | |
939 | count memory for memory constants and argument loads from stack slots. | |
940 | ||
fe58e02b L |
941 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
942 | ||
943 | PR debug/48160 | |
944 | * var-tracking.c (prepare_call_arguments): Check SUBREG. | |
945 | ||
6fc4dbc7 L |
946 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
947 | ||
948 | PR target/48171 | |
949 | * config/i386/i386.opt: Add Save to -mavx and -mfma. | |
950 | ||
db3ed0b3 JJ |
951 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
952 | ||
8054a389 JJ |
953 | PR bootstrap/48153 |
954 | * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL | |
955 | if dwarf_strict. | |
956 | (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict. | |
957 | Clear call_arg_locations and call_arg_loc_last always. | |
958 | ||
db3ed0b3 JJ |
959 | PR middle-end/48152 |
960 | * var-tracking.c (prepare_call_arguments): If argument needs to be | |
961 | passed by reference, adjust argtype and mode. | |
962 | ||
1bce4ff3 RG |
963 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
964 | ||
965 | PR middle-end/48134 | |
966 | * tree-ssa.c (insert_debug_temp_for_var_def): If we propagated | |
967 | a value make sure to fold the statement. | |
968 | ||
7c71147d CLT |
969 | 2011-03-17 Chung-Lin Tang <cltang@codesourcery.com> |
970 | ||
971 | PR target/43872 | |
972 | * config/arm/arm.c (arm_get_frame_offsets): Adjust early | |
973 | return condition with !cfun->calls_alloca. | |
974 | ||
0e1ee172 RG |
975 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
976 | ||
977 | PR bootstrap/48148 | |
978 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
979 | origin for decls in other ltrans units. | |
980 | (input_varpool_node): Likewise. | |
981 | ||
f8bce518 RG |
982 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
983 | ||
984 | PR middle-end/48165 | |
985 | * tree-object-size.c (compute_object_offset): Properly return | |
986 | the offset operand of MEM_REFs as sizetype. | |
987 | ||
1b6fa860 JJ |
988 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
989 | ||
dabd47e7 JJ |
990 | PR rtl-optimization/48141 |
991 | * params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New. | |
992 | * dse.c: Include params.h. | |
993 | (active_local_stores_len): New variable. | |
994 | (add_wild_read, dse_step1): Clear it when setting active_local_stores | |
995 | to NULL. | |
996 | (record_store, check_mem_read_rtx): Decrease it when removing | |
997 | from the chain. | |
998 | (scan_insn): Likewise. Increase it when adding to chain, if it | |
999 | reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and | |
1000 | set active_local_stores to NULL before the addition. | |
1001 | * Makefile.in (dse.o): Depend on $(PARAMS_H). | |
1002 | ||
1b6fa860 JJ |
1003 | PR rtl-optimization/48141 |
1004 | * dse.c (record_store): If no positions are needed in an insn | |
1005 | that cannot be deleted, at least unchain it from active_local_stores. | |
1006 | ||
7b5cb7d6 DS |
1007 | 2011-03-16 Dodji Seketeli <dodji@redhat.com> |
1008 | ||
1009 | PR debug/47510 | |
1010 | * dwarf2out.c (strip_naming_typedef): Factorize out of ... | |
1011 | (lookup_type_die_strip_naming_typedef): ... here. | |
1012 | (get_context_die): Use it. | |
1013 | (gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to | |
1014 | the anonymous struct named by the naming typedef. | |
1015 | ||
585e9d9d L |
1016 | 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> |
1017 | ||
1018 | PR target/48154 | |
1019 | * config/i386/i386.c (ix86_builtin_vectorized_function): Check | |
1020 | TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
1021 | ||
6261ab0e JL |
1022 | 2011-03-16 Jeff Law <law@redhat.com> |
1023 | ||
1024 | * tree-vrp.c (identify_jump_threads): Slightly simplify type | |
16cc4440 | 1025 | check for operands of conditional. Allow type to be a pointer. |
6261ab0e | 1026 | |
0b0081ec RG |
1027 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
1028 | ||
1029 | PR tree-optimization/48149 | |
1030 | * fold-const.c (fold_binary_loc): Fold | |
1031 | COMPLEX_EXPR <REALPART_EXPR <x>, IMAGPART_EXPR <x>>. | |
1032 | ||
64a3d647 RG |
1033 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
1034 | ||
1035 | PR tree-optimization/26134 | |
1036 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Handle rewriting | |
1037 | complex part accesses to REALPART_EXPR and IMAGPART_EXPR. | |
1038 | (non_rewritable_mem_ref_base): Handle complex type component | |
1039 | accesses, constrain offsets for vector and complex extracts | |
1040 | more properly. | |
1041 | ||
ef13324e RG |
1042 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
1043 | ||
1044 | PR tree-optimization/48146 | |
1045 | * tree-ssa-sink.c (sink_code_in_bb): Manually update virtual | |
1046 | operands avoiding the need for renaming. | |
1047 | ||
f0eddb90 RG |
1048 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
1049 | ||
1050 | * gimple-fold.c (maybe_fold_reference): Open-code relevant | |
1051 | constant folding. Move MEM_REF canonicalization first. | |
1052 | Rely on fold_const_aggregate_ref for initializer folding. | |
1053 | * tree-ssa-ccp.c (ccp_fold): Handle constant vector extracts. | |
1054 | ||
e42348b8 JJ |
1055 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
1056 | ||
29f10e71 JJ |
1057 | PR middle-end/48136 |
1058 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
1059 | arg0/arg1 or their arguments are always fold converted to matching | |
1060 | types. | |
1061 | ||
e42348b8 JJ |
1062 | * var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED |
1063 | to nargs. | |
1064 | ||
55b46574 RO |
1065 | 2011-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1066 | ||
1067 | PR lto/46944 | |
1068 | * configure.ac (gcc_cv_gld_major_version, gcc_cv_gld_minor): | |
1069 | Handle in-tree gold. | |
1070 | (ld_vers): Extract binutils version for gold. | |
1071 | (gcc_cv_ld_hidden): Handle gold here. | |
1072 | (gcc_cv_lto_plugin): Determine level of linker plugin support. | |
1073 | * configure: Regenerate. | |
1074 | * config.in: Regenerate. | |
1075 | * gcc.c: Only use LTO plugin if HAVE_LTO_PLUGIN > 0, reject | |
1076 | -fuse-linker-plugin otherwise. | |
1077 | (LINK_PLUGIN_SPEC): Define. Extract from LINK_COMMAND_SPEC. | |
1078 | (LINK_COMMAND_SPEC): Use it. | |
1079 | (main): Only look for LTOPLUGINSONAME if HAVE_LTO_PLUGIN > 0. | |
1080 | ||
2b1c5433 JJ |
1081 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
1082 | ||
c2969d8e JJ |
1083 | * emit-rtl.c (try_split): Don't call copy_call_info debug hook. |
1084 | * calls.c: Remove debug.h include. | |
1085 | (emit_call_1): Don't call virtual_call_token debug hook. | |
1086 | * dwarf2out.c (debug_dcall_section, debug_vcall_section, | |
1087 | dcall_entry, vcall_entry, dcall_table, vcall_table, vcall_insn, | |
1088 | vcall_insn_table, DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION, | |
1089 | size_of_dcall_table, output_dcall_table, size_of_vcall_table, | |
1090 | output_vcall_table, dwarf2out_direct_call, vcall_insn_table_hash, | |
1091 | vcall_insn_table_eq, store_vcall_insn, lookup_vcall_insn, | |
1092 | dwarf2out_virtual_call_token, dwarf2out_copy_call_info, | |
1093 | dwarf2out_virtual_call): Remove. | |
1094 | (dwarf2_debug_hooks): Remove direct_call, virtual_call_token, | |
1095 | copy_call_info and virtual_call hooks. | |
1096 | (dwarf2out_init): Don't initialize vcall_insn_table, | |
1097 | debug_dcall_section and debug_vcall_section. | |
1098 | (prune_unused_types): Don't mark nodes from dcall_table. | |
1099 | (dwarf2out_finish): Don't output dcall or vcall tables. | |
1100 | * final.c (final_scan_insn): Don't call direct_call or | |
1101 | virtual_call debug hooks. | |
1102 | * debug.h (struct gcc_debug_hooks): Remove direct_call, | |
1103 | virtual_call_token, copy_call_info and virtual_call hooks. | |
1104 | (debug_nothing_uid): Remove prototype. | |
1105 | * sdbout.c (sdb_debug_hooks): Remove direct_call, virtual_call_token, | |
1106 | copy_call_info and virtual_call hooks. | |
1107 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
1108 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. | |
1109 | * debug.c (do_nothing_debug_hooks): Likewise. | |
1110 | (debug_nothing_uid): Remove. | |
1111 | * doc/invoke.texi (-fenable-icf-debug): Remove. | |
1112 | * common.opt (-fenable-icf-debug): Likewise. | |
1113 | ||
325f5379 JJ |
1114 | * calls.c (emit_call_1): Set MEM_EXPR on call's MEM. |
1115 | * var-tracking.c (prepare_call_arguments): Use MEM_EXPR on | |
1116 | call's MEM. Handle functions returning aggregate through a hidden | |
1117 | first pointer. For virtual calls add clobbered pc to call arguments | |
1118 | chain. | |
1119 | * dwarf2out.c (gen_subprogram_die): Emit | |
1120 | DW_AT_GNU_call_site_target_clobbered if DW_AT_GNU_call_site_target | |
1121 | can't be emitted. | |
1122 | ||
a58a8e4b JJ |
1123 | PR debug/45882 |
1124 | * rtl.def (ENTRY_VALUE): Change format from "e" to "0". | |
1125 | * rtl.h (ENTRY_VALUE_EXP): Define. | |
1126 | * rtl.c (rtx_equal_p_cb, rtx_equal_p): Handle ENTRY_VALUE. | |
1127 | * cselib.c (rtx_equal_for_cselib_p, cselib_hash_rtx): Likewise. | |
1128 | * print-rtl.c (print_rtx): Likewise. | |
1129 | * gengtype.c (adjust_field_rtx_def): Likewise. | |
1130 | * var-tracking.c (vt_add_function_parameter): Adjust | |
1131 | gen_rtx_ENTRY_VALUE uses, use ENTRY_VALUE_EXP macro. | |
1132 | * dwarf2out.c (mem_loc_descriptor): Use ENTRY_VALUE_EXP macro. | |
1133 | * cfgexpand.c (expand_debug_expr): If a SSA_NAME without | |
1134 | partition is a default definition of a PARM_DECL, use ENTRY_VALUE | |
1135 | of its DECL_INCOMING_RTL if possible, or its DECL_RTL if set. | |
1136 | ||
2b1c5433 JJ |
1137 | * final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION. |
1138 | Call var_location debug hook even on CALL_INSNs. | |
1139 | (rest_of_clean_state): Don't print NOTE_INSN_CALL_ARG_LOCATION. | |
1140 | * rtl.def (ENTRY_VALUE): New. | |
1141 | * dwarf2out.c: Include cfglayout.h. | |
1142 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
1143 | output_loc_operands_raw): Handle DW_OP_GNU_entry_value. | |
1144 | (struct call_arg_loc_node): New type. | |
1145 | (call_arg_locations, call_arg_loc_last, block_map, call_site_count, | |
1146 | tail_call_site_count): New variables. | |
1147 | (dwarf_tag_name): Handle DW_TAG_GNU_call_site and | |
1148 | DW_TAG_GNU_call_site_parameter. | |
1149 | (dwarf_attr_name): Handle DW_AT_GNU_call_site_value, | |
1150 | DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, | |
1151 | DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, | |
1152 | DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites | |
1153 | and DW_AT_GNU_all_source_call_sites. | |
1154 | (mem_loc_descriptor): Handle ENTRY_VALUE. | |
1155 | (add_src_coords_attributes): Don't add enything if | |
1156 | DECL_SOURCE_LOCATION is UNKNOWN_LOCATION. | |
1157 | (dwarf2out_abstract_function): Save and clear call_arg_location, | |
1158 | call_site_count and tail_call_site_count around dwarf2out_decl call. | |
1159 | (gen_call_site_die): New function. | |
1160 | (gen_subprogram_die): Emit DW_TAG_GNU_call_site DIEs for call sites. | |
1161 | (gen_lexical_block_die, gen_inlined_subroutine_die): Update block_map. | |
1162 | (dwarf2out_function_decl): Clear call_arg_locations, | |
1163 | call_arg_loc_last, set call_site_count and tail_call_site_count | |
1164 | to -1 and free block_map. | |
1165 | (dwarf2out_var_location): Handle NOTE_INSN_CALL_ARG_LOCATION and | |
1166 | CALL_INSNs. Add NOTE_DURING_CALL_P var location notes even when not | |
1167 | followed by any real instructions. | |
1168 | (dwarf2out_begin_function): Set call_site_count and | |
1169 | tail_call_site_count to 0. | |
1170 | (resolve_addr): If DW_AT_abstract_origin of DW_TAG_GNU_call_site | |
1171 | is dw_val_class_addr, attempt to look it up again, for DECL_EXTERNAL | |
1172 | attempt to force a DIE for it and worst case remove the attribute. | |
1173 | (resolve_one_addr): For TREE_CONSTANT_POOL_ADDRESS_P SYMBOL_REFs | |
1174 | check TREE_ASM_WRITTEN of DECL_INITIAL of the decl instead of | |
1175 | the decl itself. | |
1176 | * var-tracking.c: Include tm_p.h. | |
1177 | (vt_stack_adjustments): For calls call note_register_arguments. | |
1178 | (argument_reg_set): New variable. | |
1179 | (add_stores): For MO_VAL_SET of non-tracked regs from argument_reg_set | |
1180 | ensure the VALUE is resolved. | |
1181 | (call_arguments): New variable. | |
1182 | (prepare_call_arguments): New function. | |
1183 | (add_with_sets): For MO_CALL set u.loc from call_arguments and clear it. | |
1184 | (struct expand_loc_callback_data): Add ignore_cur_loc field. | |
1185 | (vt_expand_loc_callback): If ignore_cur_loc, don't look at cur_loc and | |
1186 | always use the best expression. | |
1187 | (vt_expand_loc): Add ignore_cur_loc argument. | |
1188 | (vt_expand_loc_dummy): Clear ignore_cur_loc field. | |
1189 | (emit_note_insn_var_location): Adjust vt_expand_loc callers. | |
1190 | (emit_notes_in_bb) <case MO_CALL>: Add NOTE_INSN_CALL_ARG_LOCATION | |
1191 | note for all calls. | |
1192 | (vt_add_function_parameter): Use cselib_lookup_from_insn. | |
1193 | If dv is a VALUE, enter into hash table also ENTRY_VALUE for the | |
1194 | argument. Don't call cselib_preserve_only_values and | |
1195 | cselib_reset_table. | |
1196 | (note_register_arguments): New function. | |
1197 | (vt_initialize): Compute argument_reg_set. Call | |
1198 | vt_add_function_parameters before processing basic blocks instead of | |
1199 | afterwards. For calls call prepare_call_arguments before calling | |
1200 | cselib_process_insn. | |
1201 | * print-rtl.c (print_rtx): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
1202 | * Makefile.in (dwarf2out.o): Depend on $(CFGLAYOUT_H). | |
1203 | (var-tracking.o): Depend on $(TM_P_H). | |
1204 | * cfglayout.h (insn_scope): New prototype. | |
1205 | * gengtype.c (adjust_field_rtx_def): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
1206 | * cfglayout.c (insn_scope): No longer static. | |
1207 | * insn-notes.def (CALL_ARG_LOCATION): New. | |
1208 | * calls.c (expand_call, emit_library_call_value_1): Put USEs for | |
1209 | MEM arguments into CALL_INSN_FUNCTION_USAGE unconditionally. | |
1210 | * integrate.c (set_block_origin_self, set_block_abstract_flags): Do | |
1211 | nothing for DECL_EXTERNAL BLOCK_VARS. | |
1212 | ||
9ef13bd0 AM |
1213 | 2011-03-16 Alan Modra <amodra@gmail.com> |
1214 | ||
1215 | PR target/45844 | |
1216 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't | |
1217 | create invalid offset address for vsx splat insn. | |
1218 | * config/rs6000/predicates.md (splat_input_operand): New. | |
1219 | * config/rs6000/vsx.md (vsx_splat_*): Use it. | |
1220 | ||
56b67510 XDL |
1221 | 2011-03-15 Xinliang David Li <davidxl@google.com> |
1222 | ||
1223 | PR c/47837 | |
1224 | * tree-ssa-uninit.c (pred_chain_length_cmp): New function. | |
1225 | (normalize_preds): New function. | |
1226 | (is_use_properly_guarded): Normalize def predicates. | |
1227 | ||
80fffdef RR |
1228 | 2011-03-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
1229 | ||
732f37c6 | 1230 | PR target/46788 |
80fffdef RR |
1231 | * config/arm/arm.md (arm_movtas_ze): Use 'L' instead of 'c' |
1232 | in the output template. | |
1233 | ||
930672ad RG |
1234 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
1235 | ||
1236 | PR middle-end/47650 | |
1237 | * tree-pretty-print.c (dump_function_declaration): Properly | |
1238 | dump unprototyped and varargs function types. | |
1239 | ||
c7ee7b45 RG |
1240 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
1241 | ||
1242 | PR tree-optimization/13954 | |
1243 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy | |
1244 | and friends. | |
1245 | ||
b2ad5e37 RG |
1246 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
1247 | ||
1248 | PR tree-optimization/48037 | |
1249 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector | |
1250 | selects into BIT_FIELD_REFs. | |
1251 | (non_rewritable_mem_ref_base): Check if a MEM_REF is a | |
1252 | vector select. | |
1253 | ||
7ee93d4e JJ |
1254 | 2011-03-15 Jakub Jelinek <jakub@redhat.com> |
1255 | ||
1256 | PR tree-optimization/48129 | |
1257 | * builtins.c (fold_builtin_snprintf): Convert to type of | |
1258 | built_in_decls[BUILT_IN_SNPRINTF] retval instead of | |
1259 | implicit_built_in_decls[BUILT_IN_SNPRINTF] retval. | |
1260 | ||
e106efc7 RG |
1261 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
1262 | ||
1263 | PR tree-optimization/41490 | |
1264 | * tree-ssa-dce.c (propagate_necessity): Handle returns without | |
1265 | value but with VUSE. | |
1266 | * tree-ssa-operands.c (parse_ssa_operands): Add a VUSE on all | |
1267 | return statements. | |
1268 | * tree-ssa-sink.c (statement_sink_location): Fix store sinking. | |
1269 | * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Handle virtual PHIs. | |
1270 | * tree-tailcall.c (find_tail_calls): Ignore returns. | |
1271 | ||
17dea42f RG |
1272 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
1273 | ||
1274 | PR middle-end/48031 | |
1275 | * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized | |
1276 | or variable-indexed array accesses when in gimple form. | |
1277 | ||
01c77a60 RG |
1278 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
1279 | ||
16cc4440 | 1280 | * config/i386/i386.c (ix86_emit_swdivsf): Implement more efficiently. |
01c77a60 | 1281 | |
77b0791e AM |
1282 | 2011-03-15 Alan Modra <amodra@gmail.com> |
1283 | ||
1284 | PR target/48032 | |
1285 | * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not | |
1286 | presume symbol_refs without a symbol_ref_decl are suitably | |
1287 | aligned, nor other trees we may see here. Handle anchor symbols. | |
1288 | (legitimate_constant_pool_address_p): Comment. Add mode param. | |
1289 | Check cmodel=medium addresses. Adjust all calls. | |
1290 | (rs6000_emit_move): Don't call offsettable_ok_by_alignment on | |
1291 | creating cmodel=medium optimized access to locals. | |
1292 | * config/rs6000/constraints.md (R): Pass QImode to | |
1293 | legitimate_constant_pool_address_p. | |
1294 | * config/rs6000/predicates.md (input_operand): Pass mode to | |
1295 | legitimate_constant_pool_address_p. | |
1296 | * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p): | |
1297 | Update prototype. | |
1298 | ||
35f61ba4 MM |
1299 | 2011-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
1300 | ||
1301 | PR target/48053 | |
1302 | * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up | |
1303 | 64-bit constants being loaded into registers other than GPRs such | |
1304 | as loading 0 into a VSX register. | |
1305 | ||
07332e6d RO |
1306 | 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1307 | ||
16cc4440 | 1308 | * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. |
07332e6d | 1309 | |
de888d90 JJ |
1310 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
1311 | ||
ba3ceb2d JJ |
1312 | PR middle-end/47917 |
1313 | * builtins.c (fold_builtin_snprintf): New function. | |
1314 | (fold_builtin_3): Call it for BUILT_IN_SNPRINTF. | |
1315 | (fold_builtin_4): Likewise. | |
1316 | ||
2e64f8b8 JJ |
1317 | PR middle-end/38878 |
1318 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add | |
1319 | STRIP_NOPS on arg0 and arg1. When optimizing X +- C == X | |
1320 | and C - X == X also strip nops from +/-/p+ operand. | |
1321 | When optimizing -X == C, fold C to arg0's type. | |
1322 | ||
de888d90 JJ |
1323 | PR debug/47946 |
1324 | * dwarf2out.c (add_bit_offset_attribute): If bit_offset is negative, | |
1325 | emit it as add_AT_int instead of add_AT_unsigned. | |
1326 | ||
1327 | 2011-03-14 Tom Tromey <tromey@redhat.com> | |
f4e749b4 TT |
1328 | |
1329 | * unwind-dw2.c: Include sys/sdt.h if it exists. | |
1330 | (_Unwind_DebugHook): Use STAP_PROBE2. | |
1331 | * config.in, configure: Rebuild. | |
1332 | * configure.ac: Check for sys/sdt.h. | |
1333 | ||
d34abfd2 UB |
1334 | 2011-03-14 Uros Bizjak <ubizjak@gmail.com> |
1335 | ||
1336 | * config/i386/i386.md (ROUND_FLOOR): New constant. | |
1337 | (ROUND_CEIL): Ditto. | |
1338 | (ROUND_TRUNC): Ditto. | |
1339 | (ROUND_MXCSR): Ditto. | |
1340 | (ROUND_NO_EXC): Ditto. | |
1341 | (rint<mode>2): Use new defines instead of numerical constants. | |
1342 | (floor<mode>2): Ditto. | |
1343 | (ceil<mode>2): Ditto. | |
1344 | (btrunc<mode>2): Ditto. | |
1345 | * config/i386/i386-builtin-types.def: Define ROUND function type | |
1346 | aliases. | |
1347 | * config/i386/i386.c (enum ix86_builtins): Add | |
1348 | IX86_BUILTIN_{FLOOR,CEIL,TRUNC,RINT}{PS,PD}{,256} defines. | |
1349 | (struct builtin_description): Add | |
1350 | __builtin_ia32_{floor,ceil,trunc,rint}{pd,ps}{,256} descriptions. | |
1351 | (ix86_expand_sse_round): New static function. | |
1352 | (ix86_expand_args_builtin): Call ix86_expand_sse_round for ROUND | |
1353 | function types. | |
1354 | (ix86_builtin_vectorized_function): Handle | |
1355 | BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
1356 | ||
87f9e23d TT |
1357 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
1358 | ||
1359 | * c-parser.c (c_parser_asm_string_literal): Clear | |
1360 | warn_overlength_strings. | |
1361 | ||
b3ab9ea2 TT |
1362 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
1363 | ||
1364 | * c-parser.c (disable_extension_diagnostics): Save | |
1365 | warn_overlength_strings. | |
1366 | (restore_extension_diagnostics): Restore warn_overlength_strings. | |
1367 | ||
6bd73dd8 JJ |
1368 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
1369 | ||
1370 | * BASE-VER: Change to 4.7.0. | |
1371 | ||
7f4d6e1b RG |
1372 | 2011-03-14 Richard Guenther <rguenther@suse.de> |
1373 | ||
1374 | PR middle-end/48098 | |
1375 | * tree.c (build_vector_from_val): Adjust assert to requirements | |
1376 | and reality. | |
1377 | ||
c6104ef1 JJ |
1378 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
1379 | ||
1380 | PR bootstrap/48102 | |
d34abfd2 | 1381 | * graphite-cloog-compat.h (build_cloog_prog): Remove STATE parameter. |
c6104ef1 | 1382 | |
dfa95e19 AT |
1383 | 2011-03-14 Andreas Tobler <andreast@fgznet.ch> |
1384 | ||
1385 | * config/rs6000/freebsd.h: (RELOCATABLE_NEEDS_FIXUP): Define in | |
1386 | terms of target_flags_explicit. Adjust copyright year. | |
1387 | ||
1388 | * config.gcc: Add FreeBSD PowerPC soft-float libgcc bits. | |
1389 | * config/rs6000/t-freebsd: New file. Add override for | |
1390 | LIB2FUNCS_EXTRA. | |
1391 | ||
bb322018 CD |
1392 | 2011-03-13 Chris Demetriou <cgd@google.com> |
1393 | ||
1394 | * doc/invoke.texi (-fdiagnostics-show-option): Replace with... | |
1395 | (-fno-diagnostics-show-option): this, to reflect current default. | |
1396 | (-Werror=): Update text about -fno-diagnostics-show-option. | |
1397 | ||
12b1c80b PB |
1398 | 2011-03-12 Peter Bergner <bergner@vnet.ibm.com> |
1399 | ||
1400 | PR target/48053 | |
1401 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
1402 | easy_vector_constant_msb): Do not handle V2DImode and V2DFmode. | |
1403 | * config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that | |
1404 | mode is not V2DImode or V2DFmode. | |
1405 | (vspltis_constant): Do not handle V2DImode and V2DFmode. | |
1406 | (rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg. | |
1407 | * config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX | |
1408 | registers to 0. | |
1409 | (movdi_internal64): Likewise. | |
1410 | ||
57d598f7 SP |
1411 | 2011-03-12 Sebastian Pop <sebastian.pop@amd.com> |
1412 | ||
1413 | PR tree-optimization/47127 | |
1414 | * graphite-clast-to-gimple.c (build_cloog_prog): Removed state | |
1415 | parameter. | |
1416 | (set_cloog_options): Same. | |
1417 | (scop_to_clast): Same. | |
1418 | (print_clast_stmt): Do not call cloog_state_malloc and | |
1419 | cloog_state_free. | |
1420 | (print_generated_program): Same. | |
1421 | (gloog): Same. | |
1422 | * graphite-clast-to-gimple.h (cloog_state): Declared. | |
1423 | (scop_to_clast): Adjust declaration. | |
1424 | * graphite.c (cloog_state): Defined here. | |
1425 | (graphite_initialize): Call cloog_state_malloc. | |
1426 | (graphite_finalize): Call cloog_state_free. | |
1427 | ||
f231b5ff JM |
1428 | 2011-03-11 Jason Merrill <jason@redhat.com> |
1429 | ||
1430 | * attribs.c (lookup_attribute_spec): Take const_tree. | |
1431 | * tree.h: Adjust. | |
1432 | ||
6a4e2bd5 JM |
1433 | 2011-03-11 Joseph Myers <joseph@codesourcery.com> |
1434 | ||
1435 | * config/sparc/sparc.c (sparc_option_override): Use | |
1436 | PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2". | |
1437 | ||
a758fd67 RG |
1438 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
1439 | ||
1440 | PR tree-optimization/48067 | |
1441 | * tree-ssa-math-opts.c (convert_mult_to_fma): Verify the | |
1442 | multiplication result will be only used once on the target | |
1443 | stmt. | |
1444 | ||
03dfda54 RG |
1445 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
1446 | ||
1447 | * doc/invoke.texi (max-inline-insns-single): Adjust default value. | |
1448 | ||
5f11a50a RG |
1449 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
1450 | ||
1451 | PR lto/48073 | |
1452 | * tree.c (find_decls_types_r): Do not walk types only reachable | |
1453 | from IDENTIFIER_NODEs. | |
1454 | ||
4074f163 JJ |
1455 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
1456 | ||
1457 | PR middle-end/48044 | |
1458 | * ipa.c (cgraph_remove_unreachable_nodes): Enqueue | |
1459 | all vnode->force_output nodes as needed. | |
1460 | ||
30f7cdcd JM |
1461 | 2011-03-11 Jason Merrill <jason@redhat.com> |
1462 | ||
1463 | PR c++/48069 | |
1464 | * tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not | |
1465 | COMPLETE_OR_UNBOUND_ARRAY_TYPE_P. | |
1466 | ||
62ecfeb8 MJ |
1467 | 2011-03-11 Martin Jambor <mjambor@suse.cz> |
1468 | ||
1469 | * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of | |
1470 | cgraph_node. | |
1471 | ||
e89e03ab JJ |
1472 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
1473 | ||
1474 | PR tree-optimization/48063 | |
1475 | * ipa-inline.c (cgraph_decide_inlining): Don't try to | |
1476 | inline functions called once if !tree_can_inline_p (node->callers). | |
1477 | ||
efbe978b | 1478 | 2011-03-11 Chen Liqin <liqin.gcc@gmail.com> |
9d6193a7 | 1479 | |
efbe978b EB |
1480 | * config.gcc (score-*-elf): Add extra_parts .., update tmake_file and |
1481 | extra_objs. | |
9d6193a7 CL |
1482 | * config/score/score3.c: Delete. |
1483 | * config/score/score3.h: Delete. | |
1484 | * config/score/mul-div.S: Delete. | |
1485 | * config/score/sfp-machine.h: Add new file. | |
1486 | * config/score/constraints.md: Add new file. | |
1487 | * config/score/t-score-softfp: Add new file. | |
efbe978b | 1488 | * config/score/t-score-elf: Remove score3.o, do not generate multilib. |
9d6193a7 CL |
1489 | * config/score/score7.c (score7_const_ok_for_letter_p): Delete. |
1490 | (score7_extra_constraint): Delete. | |
efbe978b | 1491 | (score7_option_override): Remove unused code. |
9d6193a7 CL |
1492 | * config/score/score.c: Remove score3 and score5 define and code. |
1493 | * config/score/score.h: Remove score3 and score5 define and code. | |
efbe978b | 1494 | * config/score/score.md: Remove score3 template and unusual insn. |
9d6193a7 CL |
1495 | * config/score/score.opt: Remove score3 and score5 options. |
1496 | ||
5de27cca JDA |
1497 | 2011-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1498 | ||
1499 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT | |
1500 | when _HPUX_SOURCE is defined. | |
1501 | (LIB_SPEC): Use -lc instead of -lc_r when -threads is specified. | |
1502 | ||
18d92053 JM |
1503 | 2011-03-10 Jason Merrill <jason@redhat.com> |
1504 | ||
1505 | PR c++/48029 | |
1506 | * stor-layout.c (layout_type): Don't set structural equality | |
1507 | on arrays of incomplete type. | |
1508 | * tree.c (type_hash_eq): Handle comparing them properly. | |
1509 | ||
67a2f76d JJ |
1510 | 2011-03-10 Jakub Jelinek <jakub@redhat.com> |
1511 | ||
1512 | PR debug/48043 | |
18d92053 | 1513 | * config/s390/s390.c (s390_delegitimize_address): Make sure the |
67a2f76d JJ |
1514 | result mode matches original rtl mode. |
1515 | ||
d845b2f9 NC |
1516 | 2011-03-10 Nick Clifton <nickc@redhat.com> |
1517 | ||
1518 | * config/rx/rx.md (bitset_in_memory, bitclr_in_memory: Fix timings. | |
39242686 | 1519 | (andsi3, andsi3_flags): Fix timings for three operand alternative. |
d845b2f9 | 1520 | |
db7ec035 JJ |
1521 | 2011-03-09 Jakub Jelinek <jakub@redhat.com> |
1522 | ||
1523 | PR rtl-optimization/47866 | |
1524 | * expr.c (store_field): If MEM_SCALAR_P (target), don't use | |
1525 | MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx) | |
1526 | if target wasn't scalar. | |
1527 | * function.c (assign_stack_temp_for_type): Assert that neither | |
1528 | MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either | |
1529 | MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P | |
1530 | macro. | |
1531 | * rtl.h (MEM_SET_IN_STRUCT_P): Removed. | |
1532 | ||
5d304e47 AK |
1533 | 2011-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1534 | ||
1535 | * config/s390/s390-protos.h (s390_label_align): New prototype. | |
1536 | * config/s390/s390.c (s390_label_align): New function. | |
1537 | * config/s390/s390.h (LABEL_ALIGN): New target macro definition. | |
1538 | ||
93b826f0 MM |
1539 | 2011-03-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
1540 | ||
1541 | PR target/47755 | |
1542 | * config/rs6000/rs6000.c (easy_altivec_constant): Correctly handle | |
1543 | V2DI/V2DF constants. Only all 0's or all 1's are easy. | |
1544 | (output_vec_const_move): Ditto. | |
1545 | ||
ef78aed6 AS |
1546 | 2011-03-08 Anatoly Sokolov <aesok@post.ru> |
1547 | ||
1548 | * config/mips/mips.h (PREFERRED_RELOAD_CLASS): Remove macro. | |
1549 | * config/mips/mips-protos.h (mips_preferred_reload_class): Remove. | |
1550 | * config/mips/mips.c (mips_preferred_reload_class): Make static. | |
1551 | Change 'rclass' argument and result type to reg_class_t. | |
1552 | (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
1553 | ||
5f892aa0 GJL |
1554 | 2011-03-08 Georg-Johann Lay <avr@gjlay.de> |
1555 | ||
9e43ad68 UB |
1556 | * config/avr/avr.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. |
1557 | * config/avr/avr.c (TARGET_REGISTER_MOVE_COST) | |
1558 | (TARGET_MEMORY_MOVE_COST): Define. | |
1559 | (avr_register_move_cost, avr_memory_move_cost): New Functions. | |
5f892aa0 | 1560 | |
32bd2409 JJ |
1561 | 2011-03-08 Jakub Jelinek <jakub@redhat.com> |
1562 | ||
530a4800 JJ |
1563 | PR debug/47881 |
1564 | * ira.c (ira): Call df_analyze again if delete_trivially_dead_insns | |
1565 | removed anything. | |
1566 | ||
32bd2409 JJ |
1567 | PR tree-optimization/48022 |
1568 | * fold-const.c (fold_comparison): Don't call fold_overflow_warning | |
1569 | for EQ/NE_EXPR. | |
1570 | ||
c7148991 JJ |
1571 | 2011-03-07 Jakub Jelinek <jakub@redhat.com> |
1572 | ||
1573 | PR debug/47991 | |
1574 | * var-tracking.c (find_use_val): Return NULL for | |
1575 | cui->sets && cui->store_p BLKmode MEMs. | |
1576 | ||
43070a6e AS |
1577 | 2011-03-07 Anatoly Sokolov <aesok@post.ru> |
1578 | ||
1579 | * config/stormy16/stormy16.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): | |
1580 | Remove. | |
1581 | * config/stormy16/stormy16-protos.h (xstormy16_print_operand, | |
1582 | xstormy16_print_operand_address): Remove. | |
1583 | * config/stormy16/stormy16.c (xstormy16_print_operand, | |
1584 | xstormy16_print_operand_address): Make static. | |
1585 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
1586 | ||
efbe978b | 1587 | 2011-03-07 Pat Haugen <pthaugen@us.ibm.com> |
79eefb0d PH |
1588 | |
1589 | PR target/47862 | |
1590 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
1591 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Undefine | |
1592 | before definition. | |
1593 | ||
cec8ac0b ZD |
1594 | 2011-03-07 Zdenek Dvorak <ook@ucw.cz> |
1595 | ||
1596 | PR bootstrap/48000 | |
1597 | * cfgloopmanip.c (fix_bb_placements): Return immediately | |
1598 | if FROM is BASE_LOOP's header. | |
1599 | ||
59527282 PW |
1600 | 2011-03-07 Paul Wögerer <paul_woegerer@mentor.com> |
1601 | ||
1602 | * gimplify.c (gimplify_function_tree): Fix building calls | |
1603 | to __builtin_return_address. | |
1604 | ||
617718f7 AM |
1605 | 2011-03-07 Alan Modra <amodra@gmail.com> |
1606 | ||
1607 | * config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define. | |
1608 | * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define. | |
1609 | * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define. | |
1610 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and | |
1611 | return_mode args. | |
1612 | * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes". | |
1613 | (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode. | |
1614 | (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode. | |
1615 | (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE. | |
1616 | * config/rs6000/rs6000.c | |
1617 | (rs6000_elf_end_indicate_exec_stack): Rename to.. | |
1618 | (rs6000_elf_file_end): ..this. Only call file_end_indicate_exec_stack | |
1619 | for POWERPC_LINUX. Move code emitting .gnu_attribute to here, from.. | |
1620 | (rs6000_file_start): ..here. | |
1621 | (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New | |
1622 | file scope variables. | |
1623 | (call_ABI_of_interest): New function. | |
1624 | (init_cumulative_args): Set above vars when function return value | |
1625 | is a float, vector, or small struct. | |
1626 | (rs6000_function_arg_advance_1): Likewise for function args. | |
1627 | (rs6000_va_start): Set rs6000_passes_float if variable arg function | |
1628 | references float args. | |
1629 | ||
38528d50 MX |
1630 | 2011-03-07 Mingjie Xing <mingjie.xing@gmail.com> |
1631 | ||
1632 | * doc/cfg.texi: Remove "See" before @ref. | |
1633 | * doc/invoke.texi: Likewise. | |
1634 | ||
f42cf4f4 JM |
1635 | 2011-03-05 Jason Merrill <jason@redhat.com> |
1636 | ||
1637 | * doc/invoke.texi (C++ Dialect Options): Document ABI v5. | |
1638 | ||
804a304d AG |
1639 | 2011-03-05 Anthony Green <green@moxielogic.com> |
1640 | ||
1641 | * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile. | |
1642 | ||
634ee309 ZD |
1643 | 2011-03-05 Zdenek Dvorak <ook@ucw.cz> |
1644 | ||
1645 | PR rtl-optimization/47899 | |
1646 | * cfgloopmanip.c (fix_bb_placements): Fix first argument | |
1647 | to flow_loop_nested_p when moving the loop upward. | |
1648 | ||
6fe471c8 RE |
1649 | 2011-03-05 Richard Earnshaw <rearnsha@arm.com> |
1650 | ||
1651 | PR target/47719 | |
1652 | * arm.md (movhi_insn_arch4): Accept any immediate constant. | |
1653 | ||
cc58ceee JJ |
1654 | 2011-03-05 Jakub Jelinek <jakub@redhat.com> |
1655 | ||
1656 | PR tree-optimization/47967 | |
1657 | * ipa-cp.c (build_const_val): Return NULL instead of creating | |
1658 | VIEW_CONVERT_EXPR for mismatching sizes. | |
1659 | (ipcp_create_replace_map): Return NULL if build_const_val failed. | |
1660 | (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, | |
1661 | give up on versioning. | |
1662 | ||
ea868305 AM |
1663 | 2011-03-05 Alan Modra <amodra@gmail.com> |
1664 | ||
1665 | PR target/47986 | |
1666 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
1667 | full cmodel medium/large lo_sum + high addresses. | |
1668 | ||
bc6ce334 AK |
1669 | 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1670 | ||
1671 | * config/s390/s390.c (s390_decompose_address): Reject non-literal | |
1672 | pool references in UNSPEC_LTREL_OFFSET. | |
1673 | ||
87e7b310 JH |
1674 | 2011-03-04 Jan Hubicka <jh@suse.cz> |
1675 | ||
1676 | PR lto/47497 | |
1677 | * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. | |
1678 | (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. | |
d34abfd2 UB |
1679 | * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): |
1680 | Add node pointers. | |
87e7b310 JH |
1681 | * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, |
1682 | cgraph_add_thunk): Add node pointers. | |
1683 | * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are | |
1684 | associated to right node. | |
1685 | (input_node): Update use of cgraph_same_body_alias | |
1686 | and cgraph_add_thunk. | |
1687 | ||
d9c64246 CF |
1688 | 2011-03-04 Changpeng Fang <changpeng.fang@amd.com> |
1689 | ||
1690 | * config/i386/i386.opt (mprefer-avx128): New flag. | |
d34abfd2 UB |
1691 | * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit AVX |
1692 | modes when the flag -mprefer-avx128 is on. | |
d9c64246 | 1693 | |
08707076 RS |
1694 | 2011-03-04 Richard Sandiford <richard.sandiford@linaro.org> |
1695 | ||
1696 | * dwarf2out.c (compare_loc_operands): Fix address handling. | |
1697 | ||
52517c81 AM |
1698 | 2011-03-04 Alan Modra <amodra@gmail.com> |
1699 | ||
1700 | * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. | |
1701 | ||
b147c5b9 RG |
1702 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
1703 | ||
1704 | PR middle-end/47968 | |
1705 | * expmed.c (extract_bit_field_1): Prefer vector modes that | |
1706 | vec_extract patterns can handle. | |
1707 | ||
8750672f RG |
1708 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
1709 | ||
1710 | PR middle-end/47975 | |
1711 | * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. | |
1712 | ||
9eac0f2a RH |
1713 | 2011-03-04 Richard Henderson <rth@redhat.com> |
1714 | ||
1715 | * explow.c (emit_stack_save): Remove 'after' parameter. | |
1716 | (emit_stack_restore): Likewise. | |
1717 | * expr.h: Update to match. | |
1718 | * builtins.c, calls.c, stmt.c: Likewise. | |
1719 | * config/alpha/alpha.md, config/avr/avr.md: Likewise. | |
1720 | * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. | |
1721 | * function.c (expand_function_end): Insert the emit_stack_save | |
1722 | sequence before parm_birth_insn instead of after. | |
1723 | ||
dfee1406 UB |
1724 | 2011-03-03 Uros Bizjak <ubizjak@gmail.com> |
1725 | ||
1726 | * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. | |
1727 | (ssse3_pmaddubsw128): Ditto. | |
1728 | (ssse3_pmaddubsw): Ditto. | |
1729 | ||
f1d4c3de SE |
1730 | 2011-03-03 Steve Ellcey <sje@cup.hp.com> |
1731 | ||
1732 | * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH | |
1733 | ||
71f3a3f5 JJ |
1734 | 2011-03-03 Jakub Jelinek <jakub@redhat.com> |
1735 | ||
423ed416 JJ |
1736 | PR c/47963 |
1737 | * gimplify.c (omp_add_variable): Only call omp_notice_variable | |
1738 | on TYPE_SIZE_UNIT if it is a DECL. | |
1739 | ||
71f3a3f5 JJ |
1740 | PR debug/47283 |
1741 | * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF | |
1742 | first operand is not is_gimple_mem_ref_addr, try to fold it. | |
1743 | If the operand still isn't is_gimple_mem_ref_addr, clear | |
1744 | MEM_EXPR on op0. | |
1745 | ||
4b1a5c0d RG |
1746 | 2011-03-03 Richard Guenther <rguenther@suse.de> |
1747 | ||
1748 | PR middle-end/47283 | |
1749 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code | |
1750 | match comment. | |
1751 | (refs_may_alias_p_1): For release branches return true if | |
1752 | we are confused by our input. | |
1753 | ||
b46616fd AK |
1754 | 2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1755 | ||
1756 | * config/s390/s390.c (s390_function_value): Rename to ... | |
1757 | (s390_function_and_libcall_value): ... this. | |
1758 | (s390_function_value): New function. | |
1759 | (s390_libcall_value): New function. | |
dfee1406 | 1760 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. |
b46616fd AK |
1761 | * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove |
1762 | target macro definitions. | |
1763 | * config/s390/s390-protos.h (s390_function_value): Remove prototype. | |
1764 | ||
46d8fabb JM |
1765 | 2011-03-02 Joseph Myers <joseph@codesourcery.com> |
1766 | ||
1767 | * config/i386/freebsd64.h (CC1_SPEC): Define. | |
1768 | * config/i386/linux64.h (CC1_SPEC): Define. | |
1769 | * config/i386/x86-64.h (CC1_SPEC): Don't define. | |
1770 | ||
6b1ce545 AS |
1771 | 2011-03-02 Anatoly Sokolov <aesok@post.ru> |
1772 | ||
1773 | * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
1774 | Remove. | |
1775 | * config/stormy16/stormy16.c: Include reload.h. | |
1776 | (xstormy16_memory_move_cost): New function. | |
1777 | (TARGET_MEMORY_MOVE_COST): Define. | |
1778 | ||
34161e98 RS |
1779 | 2011-03-02 Richard Sandiford <richard.sandiford@linaro.org> |
1780 | ||
1781 | PR rtl-optimization/47925 | |
1782 | * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions | |
1783 | with side effects. Remove the more-specific check for volatile asms. | |
1784 | ||
f60a97cf AM |
1785 | 2011-03-02 Alan Modra <amodra@gmail.com> |
1786 | ||
1787 | PR target/47935 | |
1788 | * config/rs6000/predicates.md (lwa_operand): Check cmodel medium | |
1789 | toc relative addresses for valid offsets. | |
1790 | ||
f2ca11ca RG |
1791 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
1792 | ||
1793 | PR tree-optimization/47890 | |
1794 | * tree-vect-loop.c (get_initial_def_for_induction): Set | |
1795 | related stmt properly. | |
1796 | ||
7a00d9ea RG |
1797 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
1798 | ||
1799 | PR lto/47924 | |
1800 | * lto-streamer.c (lto_record_common_node): Also register | |
1801 | the canonical type. | |
1802 | ||
06c7edcc RG |
1803 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
1804 | ||
1805 | PR lto/46911 | |
1806 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
1807 | Do not stream DECL_ABSTRACT_ORIGIN. | |
1808 | (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
1809 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
1810 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
1811 | Do not stream DECL_ABSTRACT_ORIGIN. | |
1812 | (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
1813 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
1814 | ||
998871e9 AS |
1815 | 2011-02-28 Anatoly Sokolov <aesok@post.ru> |
1816 | ||
1817 | * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE, | |
1818 | FUNCTION_VALUE_REGNO_P): Remove. | |
b2e2ea67 | 1819 | * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove. |
998871e9 AS |
1820 | * config/stormy16/stormy16.c (xstormy16_function_value): Make static. |
1821 | Add 'outgoing' argument. | |
1822 | (xstormy16_libcall_value, xstormy16_function_value_regno_p): New | |
1823 | function. | |
1824 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
1825 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
1826 | ||
94369251 KT |
1827 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
1828 | ||
1829 | PR debug/28047 | |
1830 | * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp. | |
1831 | (lookup_filename): Likewise. | |
b2e2ea67 | 1832 | * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp. |
94369251 | 1833 | |
80a832cd JJ |
1834 | 2011-02-28 Bernd Schmidt <bernds@codesourcery.com> |
1835 | Jakub Jelinek <jakub@redhat.com> | |
1836 | ||
1837 | PR middle-end/47893 | |
1838 | * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define. | |
1839 | (assign_stack_local_1): Change last argument type to int. | |
1840 | * function.c (assign_stack_local_1): Replace reduce_alignment_ok | |
1841 | argument with kind. If bit ASLK_RECORD_PAD is not set in it, | |
b2e2ea67 | 1842 | don't record padding space into frame_space_list nor use those areas. |
80a832cd JJ |
1843 | (assign_stack_local): Adjust caller. |
1844 | (assign_stack_temp_for_type): Call assign_stack_local_1 instead | |
1845 | of assign_stack_local, pass 0 as last argument. | |
1846 | * caller-save.c (setup_save_areas): Adjust assign_stack_local_1 | |
1847 | callers. | |
1848 | ||
1b500976 JJ |
1849 | 2011-02-28 Jakub Jelinek <jakub@redhat.com> |
1850 | ||
f61c6f34 JJ |
1851 | PR debug/47283 |
1852 | * cfgexpand.c (convert_debug_memory_address): Add AS parameter. | |
1853 | Use target address_mode and pointer_mode hooks instead of hardcoded | |
1854 | Pmode and ptr_mode. Handle some simple cases of extending if | |
1855 | POINTERS_EXTEND_UNSIGNED < 0. | |
1856 | (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>: | |
1857 | Call convert_debug_memory_address. | |
1858 | (expand_debug_expr) <case ADDR_EXPR>: Pass as to | |
1859 | convert_debug_memory_address. | |
1860 | ||
1b500976 JJ |
1861 | PR middle-end/46790 |
1862 | * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test. | |
1863 | * configure: Regenerated. | |
1864 | * config.in: Regenerated. | |
1865 | * varasm.c (default_function_section): Return NULL | |
b2e2ea67 | 1866 | if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name. |
1b500976 | 1867 | |
2f2935b6 MJ |
1868 | 2011-02-28 Martin Jambor <mjambor@suse.cz> |
1869 | ||
1870 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix | |
1871 | the description to match the printed values. | |
1872 | ||
474086eb RG |
1873 | 2011-02-28 Richard Guenther <rguenther@suse.de> |
1874 | ||
1875 | * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT | |
1876 | of the copied scope tree. | |
1877 | ||
15bf6f3a RW |
1878 | 2011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1879 | ||
1880 | * doc/extend.texi (Function Attributes): Avoid deeply (and | |
1881 | wrongly) nested tables. | |
1882 | ||
f6b439c9 JJ |
1883 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
1884 | ||
1885 | PR middle-end/47903 | |
1886 | * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR, | |
1887 | MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if | |
1888 | r isn't op0 nor op1. | |
1889 | ||
1d8ca2c7 GJL |
1890 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
1891 | ||
1892 | * config/avr/avr.md: Remove magic comment for emacs. | |
1893 | ||
593fca4b GJL |
1894 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
1895 | ||
1896 | PR target/45261 | |
1897 | * config/avr/avr.c (avr_option_override): Use error on bad options. | |
1898 | (avr_help): New function. | |
1899 | (TARGET_HELP): Define. | |
1900 | ||
6609216e GJL |
1901 | 2011-02-22 Georg-Johann Lay <avr@gjlay.de> |
1902 | ||
1903 | PR target/42240 | |
1904 | * config/avr/avr.c (avr_cannot_modify_jumps_p): New function. | |
1905 | (TARGET_CANNOT_MODIFY_JUMPS_P): Define. | |
1906 | ||
03d458af GP |
1907 | 2011-02-26 Gerald Pfeifer <gerald@pfeifer.com> |
1908 | ||
1909 | * doc/invoke.texi (ARC Options): Use CPU instead of cpu. | |
1910 | (ARM Options): Ditto. | |
1911 | (i386 and x86-64 Options): Ditto. | |
1912 | (RX Options): Ditto. | |
1913 | (SPARC Options): Ditto. | |
1914 | ||
1c379b78 TC |
1915 | 2011-02-26 Tijl Coosemans <tijl@coosemans.org> |
1916 | ||
1917 | * config.gcc (i386-*-freebsd*): Make i486 the default arch on | |
1918 | FreeBSD 6 and later. Generally use cpu generic. | |
1919 | ||
d5ed058c | 1920 | 2011-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
b2e2ea67 | 1921 | |
d5ed058c GP |
1922 | * doc/cpp.texi: Update copyright years. |
1923 | ||
509d65dd | 1924 | 2011-02-25 Sebastien Bourdeauducq <sebastien@milkymist.org> |
308d39cd | 1925 | |
509d65dd | 1926 | PR target/46898 |
308d39cd SB |
1927 | * config/lm32/lm32.md (ashrsi3): Added needed variable. |
1928 | ||
509d65dd | 1929 | 2011-02-25 Jon Beniston <jon@beniston.com> |
308d39cd | 1930 | |
509d65dd | 1931 | PR target/46898 |
308d39cd SB |
1932 | * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New. |
1933 | * config/lm32/lm32.md (ashlsi3): Remove unused variable. | |
1934 | * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
1935 | (lm32_block_move_inline): Add type cast to remove warning. | |
b2e2ea67 | 1936 | (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out. |
308d39cd SB |
1937 | (gen_int_relational): Move declarations to start of function. |
1938 | ||
822ba6d7 EB |
1939 | 2011-02-25 Eric Botcazou <ebotcazou@adacore.com> |
1940 | ||
1941 | PR tree-optimization/45470 | |
1942 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement | |
1943 | can throw internally only. | |
1944 | * tree-vect-stmts.c (vectorizable_call): Likewise. | |
1945 | ||
ef795fc2 AS |
1946 | 2011-02-24 Anatoly Sokolov <aesok@post.ru> |
1947 | ||
1948 | * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS, | |
1949 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
1950 | * config/stormy16/stormy16-protos.h | |
1951 | (xstormy16_preferred_reload_class): Remove. | |
1952 | * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make | |
1953 | static. Change 'rclass' argument and return type to reg_class_t. | |
1954 | (TARGET_PREFERRED_RELOAD_CLASS, | |
1955 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
1956 | ||
1c3277ee RG |
1957 | 2011-02-24 Richard Guenther <rguenther@suse.de> |
1958 | ||
1959 | * lto-streamer-in.c (input_bb): Do not find referenced vars | |
1960 | in debug statements. | |
1961 | ||
67e18edb JM |
1962 | 2011-02-23 Jason Merrill <jason@redhat.com> |
1963 | ||
1964 | * common.opt (fabi-version): Document v5 and v6. | |
1965 | ||
b14fad9d RG |
1966 | 2011-02-23 Richard Guenther <rguenther@suse.de> |
1967 | ||
1968 | PR tree-optimization/47849 | |
1969 | * tree-if-conv.c (main_tree_if_conversion): Free postdom info. | |
1970 | ||
7fcf46f5 JZ |
1971 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
1972 | ||
1973 | * opts-common.c (decode_cmdline_option): Print empty string | |
1974 | argument as "" in decoded->orig_option_with_args_text. | |
1975 | * gcc.c (execute): Print empty string argument as "" | |
1976 | in the verbose output. | |
1977 | (do_spec_1): Keep empty string argument. | |
1978 | ||
f85b70fd NF |
1979 | 2011-02-23 Nathan Froyd <froydnj@codesourcery.com> |
1980 | ||
1981 | * config.gcc: Declare score-* and crx-* obsolete. | |
1982 | ||
b152a615 JZ |
1983 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
1984 | ||
1985 | PR rtl-optimization/47763 | |
1986 | * web.c (web_main): Ignore naked clobber when replacing register. | |
1987 | ||
bb6e77bc AS |
1988 | 2011-02-22 Anatoly Sokolov <aesok@post.ru> |
1989 | ||
1990 | * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
1991 | Remove. | |
1992 | ||
68bf6491 SP |
1993 | 2011-02-22 Sebastian Pop <sebastian.pop@amd.com> |
1994 | ||
1995 | PR doc/47848 | |
1996 | * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes. | |
1997 | ||
88ee1fc7 MS |
1998 | 2011-02-22 Mike Stump <mikestump@comcast.net> |
1999 | ||
2000 | * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin | |
2001 | assembler. | |
2002 | * configure: Regenerate. | |
2003 | ||
6042d1dd CLT |
2004 | 2011-02-21 Chung-Lin Tang <cltang@codesourcery.com> |
2005 | ||
2006 | PR rtl-optimization/46002 | |
2007 | * ira-color.c (update_copy_costs): Change class intersection | |
2008 | test to reg_class_contents[] test of 'hard_regno'. | |
2009 | ||
7de97f9e JM |
2010 | 2011-02-21 Joseph Myers <joseph@codesourcery.com> |
2011 | ||
2012 | * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather | |
2013 | than Driver option. | |
2014 | * config/hpux11.opt (mt): Likewise. | |
2015 | * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise. | |
2016 | * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise. | |
2017 | * config/vax/elf.opt (mno-asm-pic): Likewise. | |
2018 | * config/vms/vms.opt (map, mvms-return-codes): Likewise. | |
2019 | ||
d1d46f9f MS |
2020 | 2011-02-21 Mike Stump <mikestump@comcast.net> |
2021 | ||
2022 | PR target/47822 | |
2023 | * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a | |
2024 | tree so we can get save the type. | |
2025 | * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot | |
2026 | for CFString instead of trying to use past the end of the builtins. | |
2027 | * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise. | |
2028 | * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise. | |
2029 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise. | |
2030 | * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING): | |
2031 | Rename to darwin_builtin_cfstring. | |
2032 | (darwin_init_cfstring_builtins): Return the built type. | |
2033 | ||
23e0d930 UB |
2034 | 2011-02-21 Uros Bizjak <ubizjak@gmail.com> |
2035 | ||
2036 | PR target/47840 | |
2037 | * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32. | |
2038 | (_mm256_insert_epi64): Use _mm_insert_epi64. | |
2039 | ||
192997cf AS |
2040 | 2011-02-21 Anatoly Sokolov <aesok@post.ru> |
2041 | ||
2042 | * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
2043 | * config/stormy16/stormy16-protos.h | |
2044 | (xstormy16_mode_dependent_address_p): Remove. | |
2045 | * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p): | |
2046 | Make static. Change return type to bool. Change argument type to | |
2047 | const_rtx. Remove dead code. | |
2048 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
2049 | ||
e292d003 RG |
2050 | 2011-02-21 Richard Guenther <rguenther@suse.de> |
2051 | ||
2052 | PR lto/47820 | |
2053 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
2054 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. | |
2055 | (lto_input_ts_block_tree_pointers): Hook a BLOCK into the | |
2056 | TUs context. | |
23e0d930 | 2057 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): |
e292d003 RG |
2058 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. |
2059 | ||
77f846e9 RG |
2060 | 2011-02-20 Richard Guenther <rguenther@suse.de> |
2061 | ||
2062 | PR lto/47822 | |
2063 | * tree.c (free_lang_data_in_decl): Clean builtins from | |
2064 | the TU decl BLOCK_VARS. | |
23e0d930 | 2065 | |
b2cddfc8 AO |
2066 | 2011-02-19 Alexandre Oliva <aoliva@redhat.com> |
2067 | ||
2068 | PR debug/47620 | |
2069 | PR debug/47630 | |
2070 | * haifa-sched.c (fix_tick_ready): Skip tick computation | |
2071 | for debug insns. | |
2072 | ||
becf4c11 RG |
2073 | 2011-02-19 Richard Guenther <rguenther@suse.de> |
2074 | ||
2075 | PR lto/47647 | |
2076 | * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): | |
2077 | Remove lazy BLOCK_VARS streaming. | |
2078 | (lto_input_ts_block_tree_pointers): Likewise. | |
2079 | * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. | |
2080 | ||
27f98305 JM |
2081 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
2082 | ||
2083 | * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h. | |
2084 | ||
064bf3f4 JM |
2085 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
2086 | ||
2087 | * config/i386/biarch32.h, config/i386/mach.h, | |
2088 | config/rs6000/aix.opt, config/sh/superh64.h: Remove. | |
2089 | ||
9215ddc3 JJ |
2090 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
2091 | ||
2092 | PR target/47800 | |
2093 | * config/i386/i386.md (peephole2 for shift and plus): Use | |
2094 | operands[1] original mode in the first insn. | |
2095 | ||
8b021004 MS |
2096 | 2011-02-18 Mike Stump <mikestump@comcast.net> |
2097 | ||
65ded153 | 2098 | * config/t-darwin (TM_H): Add dependency on darwin-sections.def. |
8b021004 | 2099 | |
f84ae14c JH |
2100 | 2011-02-18 Jan Hubicka <jh@suse.cz> |
2101 | ||
2102 | PR middle-end/47788 | |
65ded153 EB |
2103 | * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits |
2104 | to zero when the function is not inlinable at all. | |
f84ae14c | 2105 | |
eddabc80 JDA |
2106 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2107 | ||
2108 | * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. | |
2109 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
2110 | pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. | |
2111 | * config/pa/t-pa-hpux11: Add rules to build pthread stubs. | |
2112 | * config/pa/t-pa64: Likewise. | |
2113 | * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
2114 | ||
ca3da783 JJ |
2115 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
2116 | ||
2117 | PR driver/47787 | |
2118 | * gcc.c (default_compilers): Clear combinable field for "@cpp-output". | |
2119 | ||
430aa868 JDA |
2120 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2121 | ||
2122 | PR target/47792 | |
2123 | * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name. | |
2124 | ||
4bf7ff7e AS |
2125 | 2011-02-18 Anatoly Sokolov <aesok@post.ru> |
2126 | ||
2127 | * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, | |
2128 | RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P, | |
2129 | LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P, | |
2130 | GO_IF_LEGITIMATE_ADDRESS): Remove macros. | |
2131 | * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
2132 | (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p, | |
2133 | m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p, | |
2134 | m32r_load_postinc_p, m32r_store_preinc_predec_p, | |
2135 | m32r_legitimate_address_p): New functions. | |
2136 | * config/m32r/constraints.md (constraint "S"): Don't use | |
2137 | STORE_PREINC_PREDEC_P. | |
2138 | (constraint "U"): Don't use LOAD_POSTINC_P. | |
2139 | ||
7efcf910 CLT |
2140 | 2011-02-18 Chung-Lin Tang <cltang@codesourcery.com> |
2141 | ||
2142 | PR rtl-optimization/46178 | |
2143 | * ira.c (setup_hard_regno_class): Use ira_class_translate[] to | |
2144 | compute ira_hard_regno_cover_class[]. | |
2145 | ||
237d6259 RG |
2146 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
2147 | ||
2148 | PR lto/47798 | |
2149 | * lto-streamer.h (lto_global_var_decls): Declare. | |
2150 | * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register | |
2151 | statics for global var processing. | |
2152 | ||
12d80acc RG |
2153 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
2154 | ||
2155 | PR tree-optimization/47737 | |
2156 | * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix | |
2157 | edge dominance check. | |
2158 | ||
abfea58d JJ |
2159 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
2160 | ||
2161 | PR debug/47780 | |
2162 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to | |
2163 | avoid invalid rtx sharing. | |
2164 | ||
f73c8882 GP |
2165 | 2011-02-18 Gerald Pfeifer <gerald@pfeifer.com> |
2166 | ||
2167 | * doc/cpp.texi (Obsolete Features): Add background on the | |
2168 | origin of assertions. | |
2169 | ||
d764a8e6 IS |
2170 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
2171 | ||
2172 | * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for | |
23e0d930 | 2173 | objc_abi == 2. |
d764a8e6 IS |
2174 | * config/darwin.c (output_objc_section_asm_op): Added support for |
2175 | ABI v1 and v2. | |
2176 | (is_objc_metadata): New. | |
2177 | (darwin_objc2_section): New. | |
2178 | (darwin_objc1_section): New. | |
2179 | (machopic_select_section): Added support for ABI v1 and v2. | |
2180 | (darwin_emit_objc_zeroed): New. | |
2181 | (darwin_output_aligned_bss): Detect objc metadata and treat it | |
2182 | appropriately. | |
2183 | (darwin_asm_output_aligned_decl_common): Same. | |
2184 | (darwin_asm_output_aligned_decl_local): Same. | |
2185 | * config/darwin-sections.def: Updated for ABI v1 and v2. | |
2186 | * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When | |
2187 | compiling Objective-C code for the NeXT runtime, default to using | |
2188 | ABI version 0 for 32-bit, and version 2 for 64-bit. | |
2189 | ||
0a8134ca JM |
2190 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
2191 | ||
2192 | * common.opt (optimize_fast): New Variable. | |
2193 | * opts.c (default_options_optimization): Use opts->x_optimize_fast | |
2194 | instead of local variable ofast. | |
2195 | ||
0a256240 NP |
2196 | 2011-02-17 Nicola Pero <nicola.pero@meta-innovation.com> |
2197 | ||
2198 | * doc/invoke.texi (fobjc-abi-version): Documented. | |
2199 | (fobjc-nilcheck): Documented. | |
2200 | (fno-nil-receiver): Updated documentation to refer to the NeXT ABI | |
2201 | version. | |
2202 | ||
fa381cb2 JM |
2203 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
2204 | ||
2205 | PR driver/47390 | |
2206 | * common.opt (export-dynamic): New Driver option. | |
2207 | * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. | |
2208 | ||
5437eaa6 JM |
2209 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
2210 | ||
2211 | * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. | |
2212 | ||
bb7e6d55 AO |
2213 | 2011-02-17 Alexandre Oliva <aoliva@redhat.com> |
2214 | Jan Hubicka <jh@suse.cz> | |
2215 | ||
2216 | PR debug/47106 | |
2217 | PR debug/47402 | |
2218 | * cfgexpand.c (account_used_vars_for_block): Remove. | |
2219 | (estimated_stack_frame_size): Use referenced vars. | |
2220 | * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced | |
2221 | that were referenced in the original function. Test src_fn | |
2222 | rather than cfun. Drop redundant get_var_ann. | |
2223 | (setup_one_parameter): Drop redundant get_var_ann. | |
2224 | (declare_return_variable): Likewise. | |
2225 | (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn. | |
2226 | (copy_arguments_for_versioning): Drop redundant get_var_ann. | |
2227 | * ipa-inline.c (compute_inline_parameters): Do not compute | |
2228 | disregard_inline_limits here. | |
bb7e6d55 AO |
2229 | (compute_inlinable_for_current, pass_inlinable): New. |
2230 | (pass_inline_parameters): Require PROP_referenced_vars. | |
2231 | * cgraphunit.c (cgraph_process_new_functions): Don't run | |
23e0d930 | 2232 | compute_inline_parameters explicitly unless function is in SSA form. |
bb7e6d55 AO |
2233 | (cgraph_analyze_function): Set .disregard_inline_limits. |
2234 | * tree-sra.c (convert_callers): Compute inliner parameters | |
2235 | only for functions already in SSA form. | |
2236 | ||
f181a8a7 JM |
2237 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
2238 | ||
2239 | * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle | |
2240 | -mlittle-endian-data. | |
2241 | ||
c6869789 JM |
2242 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
2243 | ||
2244 | * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and | |
2245 | -mno-fpu, not -fpu and -no-fpu. | |
2246 | * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise. | |
2247 | * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise. | |
2248 | ||
fbf4bfd3 UB |
2249 | 2011-02-17 Uros Bizjak <ubizjak@gmail.com> |
2250 | ||
2251 | PR target/43653 | |
2252 | * config/i386/i386.c (ix86_secondary_reload): Handle SSE | |
2253 | input reload with PLUS RTX. | |
2254 | ||
70be5dc7 JM |
2255 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
2256 | ||
2257 | * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead | |
2258 | of InverseVar(MDMX). | |
2259 | ||
30b1646e JM |
2260 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
2261 | ||
2262 | * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of | |
2263 | --m4-340. | |
2264 | ||
ab7b71e9 JM |
2265 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
2266 | ||
2267 | * config/mn10300/mn10300.opt (mno-crt0): New. | |
2268 | ||
466f3f08 JM |
2269 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
2270 | ||
2271 | * config/m68k/uclinux.opt (static-libc): New Driver option. | |
2272 | ||
8226cd7b JM |
2273 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
2274 | ||
2275 | * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*. | |
2276 | ||
45cab1d7 JM |
2277 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
2278 | ||
2279 | * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of | |
2280 | %{muser-extend-enabled}. | |
2281 | ||
65aab64f RG |
2282 | 2011-02-16 Richard Guenther <rguenther@suse.de> |
2283 | ||
2284 | PR tree-optimization/47738 | |
2285 | * tree-ssa-loop.c (run_tree_predictive_commoning): Return | |
2286 | the TODO from tree_predictive_commoning. | |
2287 | ||
fc2fa4fb JL |
2288 | 2011-02-15 Jeff Law <law@redhat.com> |
2289 | ||
2290 | Revert | |
2291 | 2011-01-25 Jeff Law <law@redhat.com> | |
2292 | ||
2293 | PR rtl-optimization/37273 | |
2294 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
2295 | handle them like argument loads from stack slots. Do not double | |
2296 | count memory for memory constants and argument loads from stack slots. | |
2297 | ||
4e380b8e L |
2298 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
2299 | ||
2300 | PR middle-end/47725 | |
2301 | * combine.c (cant_combine_insn_p): Revert the last change. | |
2302 | ||
e3a69bb4 MM |
2303 | 2011-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
2304 | ||
2305 | PR target/47755 | |
2306 | * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI | |
2307 | mode for vector constants. Remove code that checks for TImode. | |
2308 | ||
de650422 AO |
2309 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
2310 | ||
2311 | PR debug/47106 | |
2312 | PR debug/47402 | |
2313 | * cgraph.h (compute_inline_parameters): Return void. | |
2314 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
2315 | ||
30925d94 AO |
2316 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
2317 | ||
2318 | PR debug/47106 | |
2319 | PR debug/47402 | |
2320 | * tree-inline.h (estimated_stack_frame_size): Take cgraph node | |
2321 | rather than decl. | |
2322 | * cfgexpand.c (estimated_stack_frame_size): Likewise. | |
2323 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
2324 | ||
1b9a784a AO |
2325 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
2326 | ||
2327 | PR debug/47106 | |
2328 | PR debug/47402 | |
2329 | * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument. | |
2330 | Adjust all users. Pass FN to... | |
2331 | * tree-flow-inline.h (first_referenced_var): ... this. Add | |
2332 | fn argument. | |
2333 | * ipa-struct-reorg.c: Adjust. | |
2334 | * tree-dfa.c: Adjust. | |
2335 | * tree-into-ssa.c: Adjust. | |
2336 | * tree-sra.c: Adjust. | |
2337 | * tree-ssa-alias.c: Adjust. | |
2338 | * tree-ssa-live.c: Adjust. | |
2339 | * tree-ssa.c: Adjust. | |
2340 | * tree-ssanames.c: Adjust. | |
2341 | * tree-tailcall.c: Adjust. | |
2342 | ||
27c6b086 AO |
2343 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
2344 | ||
2345 | PR debug/47106 | |
2346 | PR debug/47402 | |
2347 | * tree-flow.h (referenced_var_lookup): Add fn parameter. | |
2348 | Adjust all callers. | |
2349 | * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun. | |
2350 | * tree-flow-inline.h: Adjust. | |
2351 | * gimple-pretty-print.c: Adjust. | |
2352 | * tree-into-ssa.c: Adjust. | |
2353 | * tree-ssa.c: Adjust. | |
2354 | * cfgexpand.c: Adjust. | |
2355 | ||
679e8183 NF |
2356 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
2357 | ||
fbf4bfd3 UB |
2358 | * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete. |
2359 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
2360 | (EXTRA_CONSTRAINT): Delete. | |
2361 | * config/iq2000/constraints.md: New file. | |
2362 | * config/iq2000/iq2000.md: Include it. | |
679e8183 NF |
2363 | (define_insn ""): Delete. |
2364 | (movsi_internal2, movhi_internal2, movqi_internal2): Delete | |
2365 | unsupported constraint letters from patterns. | |
2366 | (call_value, call_value_internal1): Likewise. | |
2367 | (call_value_multiple_internal1): Likewise. | |
2368 | ||
a45d420a NC |
2369 | 2011-02-15 Nick Clifton <nickc@redhat.com> |
2370 | ||
2371 | * config/mn10300/mn10300.c: Include tm-constrs.h. | |
2372 | (struct liw_data): New data structure describing an LIW candidate | |
2373 | instruction. | |
2374 | (extract_bundle): Use struct liw_data. Allow small integer | |
2375 | operands for some instructions. | |
2376 | (check_liw_constraints): Use struct liw_data. Remove swapped | |
2377 | parameter. Add comments describing the checks. Fix bug when | |
2378 | assigning the source of liw1 to the source of liw2. | |
2379 | (liw_candidate): Delete. Code moved into extract_bundle. | |
2380 | (mn10300_bundle_liw): Use struct liw_data. Check constraints | |
2381 | before swapping. | |
2382 | * config/mn10300/predicates.md (liw_operand): New predicate. | |
2383 | Allows registers and small integer constants. | |
2384 | * config/mn10300/constraints.md (O): New constraint. Accetps | |
2385 | integers in the range -8 to +7 inclusive. | |
2386 | * config/mn10300/mn10300.md (movesi_internal): Add an alternative | |
2387 | for moving a small integer into a register. Give this alternative | |
2388 | LIW attributes. | |
2389 | (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise. | |
2390 | (ashlsi3): Likewise, plus give LIW attributes to the alternatives | |
2391 | using the J,K,L and M constraints, | |
2392 | (liw): Remove SI mode on second operands to allow for HI and QI | |
2393 | mode values. | |
2394 | (cmp_liw, liw_cmp): Likewise. Plus fix order of operands in the | |
2395 | instruction. | |
2396 | ||
8a73faf1 L |
2397 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
2398 | ||
2399 | PR middle-end/47725 | |
2400 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
2401 | hard registers. | |
2402 | ||
48feba28 RG |
2403 | 2011-02-15 Richard Guenther <rguenther@suse.de> |
2404 | ||
2405 | PR tree-optimization/47743 | |
2406 | * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number | |
2407 | for a non-type-compatible VN lookup bail out. | |
2408 | ||
ad1c1eeb NF |
2409 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
2410 | ||
2411 | * config/fr30/constraints.md: New file. | |
2412 | * config/fr30/fr30.md: Include it. | |
2413 | * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete. | |
2414 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
2415 | (EXTRA_CONSTRAINT): Delete. | |
2416 | ||
49ac143d NF |
2417 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
2418 | ||
2419 | * config/frv/constraints.md: New file. | |
2420 | * config/frv/predicates.md: Include it. | |
2421 | * config/frv/frv.c (reg_class_from_letter): Delete. | |
2422 | (frv_option_override): Don't initialize it. | |
2423 | * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete. | |
2424 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete. | |
2425 | (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete. | |
2426 | (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
2427 | (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete. | |
2428 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
2429 | (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete. | |
2430 | (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete. | |
2431 | (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete. | |
2432 | (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete. | |
2433 | (REG_CLASS_FROM_CONSTRAINT): Delete. | |
2434 | ||
c95f9494 JJ |
2435 | 2011-02-15 Jakub Jelinek <jakub@redhat.com> |
2436 | ||
2437 | PR middle-end/47581 | |
2438 | * config/i386/i386.c (ix86_compute_frame_size): Don't align offset | |
2439 | if frame size is 0 in a leaf function. | |
2440 | ||
13aed611 RO |
2441 | 2011-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2442 | ||
2443 | PR pch/14940 | |
2444 | * config/alpha/host-osf.c: New file. | |
2445 | * config/alpha/x-osf: New file. | |
2446 | * config.host (alpha*-dec-osf*): Use it. | |
2447 | ||
b09c3081 AS |
2448 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
2449 | ||
2450 | * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
2451 | * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove. | |
2452 | * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to... | |
2453 | (rx_mode_dependent_address_p): ...this. Make static. Change argument | |
2454 | type to const_rtx. | |
2455 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
2456 | ||
d634083b NF |
2457 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
2458 | ||
2459 | * config/stormy16/constraints.md: New file. | |
2460 | * config/stormy16/predicates.md (nonimmediate_nonstack_operand): | |
2461 | Use satisfies_constraint_Q and satisfies_constraint_R. | |
2462 | * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p): | |
2463 | Delete. | |
2464 | (xstormy16_legitiamte_address_p): Declare. | |
2465 | * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete. | |
2466 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
2467 | (EXTRA_CONSTRAINT): Delete. | |
fbf4bfd3 | 2468 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): |
d634083b NF |
2469 | Un-staticize. |
2470 | (xstormy16_extra_constraint_p): Delete. | |
2471 | ||
c7dd803e EB |
2472 | 2011-02-14 Eric Botcazou <ebotcazou@adacore.com> |
2473 | ||
2474 | PR tree-optimization/46494 | |
2475 | * loop-unroll.c (split_edge_and_insert): Adjust comment. | |
2476 | * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info. | |
2477 | (pass_rtl_loop_done): Add TODO_verify_flow. | |
2478 | * fwprop.c (pass_rtl_fwprop): Likewise. | |
2479 | * modulo-sched.c (pass_sms): Likewise. | |
2480 | * tree-ssa-dom.c (pass_dominator): Likewise. | |
2481 | * tree-ssa-loop-ch.c (pass_ch): Likewise. | |
2482 | * tree-ssa-loop.c (pass_complete_unrolli): Likewise. | |
2483 | (pass_tree_loop_done): Likewise. | |
2484 | * tree-ssa-pre.c (execute_pre): Likewise. | |
2485 | * tree-ssa-reassoc.c (pass_reassoc): Likewise. | |
2486 | * tree-ssa-sink.c (pass_sink_code): Likewise. | |
2487 | * tree-vrp.c (pass_vrp): Likewise. | |
2488 | ||
c6150df6 NF |
2489 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
2490 | ||
c7dd803e EB |
2491 | * config/v850/constraints.md: New file. |
2492 | * config/v850/v850.md: Include it. | |
2493 | * config/v850/predicates.md (reg_or_0_operand): Use | |
2494 | satisfies_constraint_G. | |
2495 | (special_symbolref_operand): Use satisfies_constraint_K. | |
2496 | * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p. | |
2497 | (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
2498 | (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete. | |
2499 | (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
2500 | (EXTRA_CONSTRAINT): Delete. | |
2501 | (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint. | |
2502 | (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise. | |
2503 | (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise. | |
c6150df6 | 2504 | |
30dd1ea3 AS |
2505 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
2506 | ||
2507 | PR target/47696 | |
2508 | * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device | |
2509 | description. | |
2510 | ||
944f4bb3 NF |
2511 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
2512 | ||
2513 | * config/mcore/constraints.md: New file. | |
2514 | * config/mcore/mcore.md: Include it. | |
2515 | * config/mcore/mcore.c (reg_class_from_letter): Delete. | |
2516 | * config/mcore/mcore.h (reg_class_from_letter): Delete. | |
2517 | (REG_CLASS_FROM_LETTER): Delete. | |
2518 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use | |
2519 | insn_const_int_ok_for_constraint. | |
2520 | (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. | |
2521 | (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise. | |
2522 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
2523 | (EXTRA_CONSTRAINT): Delete. | |
2524 | ||
ad56a54c RO |
2525 | 2011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2526 | ||
2527 | PR ada/41929 | |
2528 | * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h> | |
2529 | (IS_SIGHANDLER): Define. | |
2530 | (sparc64_is_sighandler): New function, split off from | |
2531 | sparc64_fallback_frame_state. | |
2532 | (sparc_is_sighandler): New function, split off from | |
2533 | sparc_fallback_frame_state. | |
2534 | (sparc64_fallback_frame_state): Merge with ... | |
2535 | (sparc_fallback_frame_state): ... this into ... | |
2536 | (MD_FALLBACK_FRAME_STATE_FOR): ... this. | |
fbf4bfd3 UB |
2537 | Change new_cfa to long. Remove regs_off, fpu_save_off, fpu_save. |
2538 | Define nframes, mctx. Use IS_SIGHANDLER, handler_args, mctx, walk | |
2539 | stack instead of hardcoded offsets. | |
ad56a54c | 2540 | |
fbf4bfd3 | 2541 | 2011-02-14 Andriy Gapon <avg@freebsd.org> |
67932abf AG |
2542 | |
2543 | PR target/45808 | |
2544 | * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. | |
2545 | ||
029c8f3e RW |
2546 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2547 | ||
2548 | * configure: Regenerate. | |
2549 | ||
a016dc83 JM |
2550 | 2011-02-12 Joseph Myers <joseph@codesourcery.com> |
2551 | ||
2552 | PR driver/45731 | |
2553 | * gcc.c (asm_options): Correct spec matching --target-help. | |
2554 | ||
8957a0ec MJ |
2555 | 2011-02-12 Martin Jambor <mjambor@suse.cz> |
2556 | ||
2557 | * tree-cfg.c (verify_gimple_call): Return true upon invalid argument | |
2558 | to gimple call error. | |
2559 | ||
6ef828bc MS |
2560 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
2561 | ||
2562 | * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize | |
2563 | comments in backslash regions. | |
2564 | ||
a4015be5 MS |
2565 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
2566 | Jakub Jelinek <jakub@redhat.com> | |
2567 | Iain Sandoe <iains@gcc.gnu.org> | |
2568 | ||
2569 | PR target/47324 | |
2570 | * dwarf2out.c (output_cfa_loc): When required, apply the | |
2571 | DWARF2_FRAME_REG_OUT macro to adjust register numbers. | |
2572 | (output_loc_sequence): Likewise. | |
2573 | (output_loc_operands_raw): Likewise. | |
2574 | (output_loc_sequence_raw): Likewise. | |
2575 | (output_cfa_loc): Likewise. | |
2576 | (output_loc_list): Suppress register number adjustment when | |
2577 | calling output_loc_sequence() | |
2578 | (output_die): Likewise. | |
2579 | ||
5378dda2 AS |
2580 | 2011-02-12 Anatoly Sokolov <aesok@post.ru> |
2581 | ||
2582 | * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
2583 | Remove macros. | |
2584 | * config/xtensa/xtensa.c (xtensa_register_move_cost, | |
2585 | xtensa_memory_move_cost): New functions. | |
2586 | (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define. | |
2587 | ||
f3d533d3 AO |
2588 | 2011-02-12 Alexandre Oliva <aoliva@redhat.com> |
2589 | ||
2590 | PR lto/47225 | |
2591 | * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la | |
2592 | in the current directory. | |
2593 | * configure: Rebuilt. | |
2594 | ||
9d53403c IS |
2595 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
2596 | ||
2597 | * config/darwin.c (darwin_override_options): Add a hunk missed | |
fbf4bfd3 | 2598 | from the commit of r168571. Trim comment line lengths and |
9d53403c IS |
2599 | correct indents of the preceding block. |
2600 | ||
a350a6c8 IS |
2601 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
2602 | ||
2603 | * gcc.c (driver_handle_option): Concatenate the argument to -F with | |
2604 | the switch. | |
2605 | ||
bab79a40 JM |
2606 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
2607 | ||
2608 | * common.opt (nostartfiles): New Driver option. | |
2609 | ||
1bbc6693 XDL |
2610 | 2011-02-11 Xinliang David Li <davidxl@google.com> |
2611 | ||
2612 | PR tree-optimization/47707 | |
2613 | * tree-chrec.c (convert_affine_scev): Keep type precision. | |
2614 | ||
1da7d8c0 EB |
2615 | 2011-02-11 Eric Botcazou <ebotcazou@adacore.com> |
2616 | ||
2617 | PR tree-optimization/47420 | |
2618 | * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX. | |
2619 | ||
2620 | 2011-02-11 Pat Haugen <pthaugen@us.ibm.com> | |
3f82421f PH |
2621 | |
2622 | PR rtl-optimization/47614 | |
2623 | * rtl.h (check_for_inc_dec): Declare. | |
2624 | * dse.c (check_for_inc_dec): Externalize... | |
2625 | * postreload.c (reload_cse_simplify): ...use it before deleting stmt. | |
2626 | (reload_cse_simplify_operands): Don't simplify opnds with side effects. | |
2627 | ||
4df47bca JM |
2628 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
2629 | ||
2630 | PR driver/47678 | |
2631 | * gcc.c (main): Do not compile inputs if there were errors in | |
2632 | option handling. | |
2633 | * opts-common.c (read_cmdline_option): Check for wrong language | |
2634 | after other error checks. | |
2635 | ||
61502ca8 NF |
2636 | 2011-02-11 Nathan Froyd <froydnj@codesourcery.com> |
2637 | ||
2638 | * cgraph.c: Fix comment typos. | |
2639 | * cgraph.h: Likewise. | |
2640 | * cgraphunit.c: Likewise. | |
2641 | * ipa-cp.c: Likewise. | |
2642 | * ipa-inline.c: Likewise. | |
2643 | * ipa-prop.c: Likewise. | |
2644 | * ipa-pure-const.c: Likewise. | |
2645 | * ipa-ref.c: Likewise. | |
2646 | * ipa-reference.c: Likewise. | |
2647 | ||
b63f974e JJ |
2648 | 2011-02-11 Jakub Jelinek <jakub@redhat.com> |
2649 | ||
d50c5e0c JJ |
2650 | PR debug/47684 |
2651 | * tree-predcom.c (single_nonlooparound_use): Ignore debug uses. | |
b63f974e | 2652 | |
6dd2a13c RO |
2653 | 2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2654 | ||
2655 | PR testsuite/47400 | |
2656 | * doc/sourcebuild.texi (Require Support): Document | |
2657 | dg-require-ascii-locale. | |
2658 | ||
4a087ccf MX |
2659 | 2011-02-11 Mingjie Xing <mingjie.xing@gmail.com> |
2660 | ||
2661 | * doc/lto.texi (Write summary): Fix missing parentheses. | |
2662 | ||
a4403164 DD |
2663 | 2011-02-10 DJ Delorie <dj@redhat.com> |
2664 | ||
2665 | * config/m32c/m32c.c (m32c_option_override): Disable | |
2666 | -fcombine-stack-adjustments until flag value tracking and compare | |
2667 | optimization can be rewritten. | |
2668 | ||
4fac45bd PB |
2669 | 2011-02-10 Peter Bergner <bergner@vnet.ibm.com> |
2670 | ||
2671 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to | |
2672 | PROCESSOR_POWER7. | |
2673 | (PROCESSOR_DEFAULT64): Likewise. | |
2674 | ||
72602cd1 RH |
2675 | 2011-02-10 Richard Henderson <rth@redhat.com> |
2676 | ||
2677 | * config/rx/predicates.md (rx_zs_comparison_operator): Revert | |
2678 | change from 2011-02-03. | |
2679 | * config/rx/rx.c (flags_from_code): Likewise. | |
2680 | (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag | |
2681 | is valid, n/pz otherwise. | |
2682 | (rx_select_cc_mode): Return CCmode if Y is not zero. | |
2683 | ||
ea57f573 RG |
2684 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
2685 | ||
ea4c3e65 | 2686 | * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. |
ea57f573 | 2687 | |
92b1d23b RG |
2688 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
2689 | ||
2690 | PR tree-optimization/47677 | |
2691 | * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. | |
2692 | ||
525a2d06 JJ |
2693 | 2011-02-10 Jakub Jelinek <jakub@redhat.com> |
2694 | ||
2695 | PR target/47665 | |
2696 | * combine.c (make_compound_operation): Only change shifts into | |
2697 | multiplication for SCALAR_INT_MODE_P. | |
2698 | ||
06c969bd JZ |
2699 | 2011-02-10 Jie Zhang <jie@codesourcery.com> |
2700 | ||
2701 | PR testsuite/47622 | |
2702 | Revert | |
2703 | 2011-02-05 Jie Zhang <jie@codesourcery.com> | |
2704 | PR debug/42631 | |
2705 | * web.c (entry_register): Don't clobber the number of the | |
2706 | first uninitialized reference in used[]. | |
2707 | ||
282ec48e RG |
2708 | 2011-02-09 Richard Guenther <rguenther@suse.de> |
2709 | ||
2710 | PR tree-optimization/47664 | |
2711 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit | |
2712 | all edges again. | |
2713 | ||
df98c3e8 DE |
2714 | 2011-02-09 David Edelsohn <dje.gcc@gmail.com> |
2715 | ||
d0f21cd6 DE |
2716 | PR target/46481 |
2717 | PR target/47032 | |
df98c3e8 DE |
2718 | * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to |
2719 | PROCESSOR_POWER7. | |
2720 | (PROCESSOR_DEFAULT64): Same. | |
2721 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. | |
2722 | ||
67b6839f RO |
2723 | 2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2724 | ||
2725 | * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. | |
2726 | ||
4fd73214 MJ |
2727 | 2011-02-09 Martin Jambor <mjambor@suse.cz> |
2728 | ||
2729 | PR middle-end/45505 | |
2730 | * tree-sra.c (struct access): New flags grp_scalar_read and | |
2731 | grp_scalar_write. Changed description of assignment read and write | |
2732 | flags. | |
2733 | (dump_access): Dump new flags, reorder all of them. | |
2734 | (sort_and_splice_var_accesses): Set the new flag accordingly, use them | |
2735 | to detect multiple scalar reads. | |
2736 | (analyze_access_subtree): Use the new scalar read write flags instead | |
2737 | of the old flags. Adjusted comments. | |
2738 | ||
91140cd3 DD |
2739 | 2011-02-08 DJ Delorie <dj@redhat.com> |
2740 | ||
2741 | PR target/47548 | |
2742 | * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim | |
2743 | patterns. | |
2744 | ||
4254bbfe JM |
2745 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
2746 | ||
2747 | * config/m68k/uclinux.opt: New. | |
2748 | * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. | |
2749 | ||
f1fda84e JM |
2750 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
2751 | ||
2752 | * config/cris/elf.opt (sim): New Driver option. | |
2753 | ||
4933ae74 JM |
2754 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
2755 | ||
2756 | * config/xtensa/elf.opt: New. | |
2757 | * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. | |
2758 | ||
4ad70280 JM |
2759 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
2760 | ||
2761 | * config/vax/elf.opt: New. | |
2762 | * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. | |
2763 | ||
20893707 JM |
2764 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
2765 | ||
2766 | * config/rs6000/aix64.opt (posix, pthread): New Driver options. | |
2767 | ||
b8e7038e JM |
2768 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
2769 | ||
2770 | * config/gnu-user.opt: New. | |
2771 | * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | | |
2772 | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, | |
2773 | *-*-uclinux*): Use gnu-user.opt. | |
2774 | ||
e1c5225a TS |
2775 | 2011-02-08 Thomas Schwinge <thomas@schwinge.name> |
2776 | ||
2777 | * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. | |
2778 | * config/i386/gnu.h (CPP_SPEC): Likewise. | |
2779 | ||
5e46b0c6 ILT |
2780 | 2011-02-08 Ian Lance Taylor <iant@google.com> |
2781 | ||
2782 | * common.opt (fcx-limited-range): Add SetByCombined flag. | |
2783 | (ffinite-math-only, fmath-errno, frounding-math): Likewise. | |
2784 | (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. | |
2785 | (fassociative-math, freciprocal-math): Likewise. | |
2786 | (funsafe-math-optimizations): Likewise. | |
2787 | * opth-gen.awk: Handle SetByCombined. | |
2788 | * optc-gen.awk: Likewise. | |
ea4c3e65 | 2789 | * opts.c (set_fast_math_flags): Don't override flag if set by frontend. |
5e46b0c6 ILT |
2790 | (set_unsafe_math_optimizations_flags): Likewise. |
2791 | * doc/options.texi (Option properties): Document SetByCombined. | |
2792 | ||
32243d46 JM |
2793 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
2794 | ||
2795 | * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, | |
2796 | i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, | |
2797 | m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, | |
2798 | m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, | |
2799 | sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. | |
2800 | ||
479c1fb3 SP |
2801 | 2011-02-08 Sebastian Pop <sebastian.pop@amd.com> |
2802 | ||
2803 | PR tree-optimization/46834 | |
2804 | PR tree-optimization/46994 | |
2805 | PR tree-optimization/46995 | |
2806 | * graphite-sese-to-poly.c (used_outside_reduction): New. | |
2807 | (detect_commutative_reduction): Call used_outside_reduction. | |
2808 | (rewrite_commutative_reductions_out_of_ssa_close_phi): Call | |
2809 | translate_scalar_reduction_to_array only when at least one | |
2810 | loop-phi/close-phi tuple has been detected. | |
2811 | ||
3865a06f RG |
2812 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
2813 | ||
2814 | PR middle-end/47639 | |
2815 | * tree-vect-generic.c (expand_vector_operations_1): Update | |
2816 | stmts here ... | |
2817 | (expand_vector_operations): ... not here. Cleanup EH info | |
2818 | and the CFG if required. | |
2819 | ||
62902f3f RG |
2820 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
2821 | ||
2822 | PR tree-optimization/47641 | |
2823 | * tree-ssa.c (execute_update_addresses_taken): For asm outputs | |
2824 | require type compatibility. | |
2825 | ||
0efb9d64 AK |
2826 | 2011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2827 | ||
2828 | * gimple-low.c (lower_function_body): Don't remove the location of | |
2829 | the return statement here. | |
2830 | (lower_gimple_return): Do it here instead but only if the return | |
2831 | statement is actually used twice. | |
2832 | ||
034b8ae4 RG |
2833 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
2834 | ||
2835 | PR tree-optimization/47632 | |
2836 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove | |
2837 | unused up_to_stmt parameter, return whether cfg-cleanup is | |
2838 | necessary, remove EH info properly. | |
2839 | (forward_propagate_into_gimple_cond): Adjust caller. | |
2840 | (forward_propagate_into_cond): Likewise. | |
2841 | (forward_propagate_comparison): Likewise. | |
2842 | (tree_ssa_forward_propagate_single_use_vars): Make | |
2843 | forward_propagate_comparison case similar to the two others. | |
2844 | ||
298362c8 NC |
2845 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
2846 | ||
2847 | * config/mn10300/mn10300.opt (mliw): New command line option. | |
2848 | * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. | |
2849 | (liw_bundling): New automaton. | |
2850 | (liw): New attribute. | |
2851 | (liw_op): New attribute. | |
2852 | (liw_op1, liw_op2, liw_both, liw_either): New reservations. | |
2853 | (movsi_internal): Add LIW attributes. | |
2854 | (andsi3): Likewise. | |
2855 | (iorsi3): Likewise. | |
2856 | (xorsi3): Likewise. | |
2857 | (addsi3): Separate register and immediate alternatives. | |
2858 | Add LIW attributes. | |
2859 | (subsi3): Likewise. | |
2860 | (cmpsi): Likewise. | |
2861 | (aslsi3): Likewise. | |
2862 | (lshrsi3): Likewise. | |
2863 | (ashrsi3): Likewise. | |
2864 | (liw): New pattern. | |
2865 | * config/mn10300/mn10300.c (liw_op_names): New | |
2866 | (mn10300_print_operand): Handle 'W' operand descriptor. | |
2867 | (extract_bundle): New function. | |
2868 | (check_liw_constraints): New function. | |
2869 | (liw_candidate): New function. | |
2870 | (mn10300_bundle_liw): New function. | |
2871 | (mn10300_reorg): New function. | |
2872 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
2873 | (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. | |
2874 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define | |
2875 | __LIW__ or __NO_LIW__. | |
2876 | * doc/invoke.texi: Describe the -mliw command line option. | |
2877 | ||
90488014 JDA |
2878 | 2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2879 | ||
2880 | * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. | |
2881 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
2882 | pthread_mutex_unlock): Remove. | |
2883 | * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. | |
2884 | * config/pa/t-pa64: Likewise. | |
2885 | * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against | |
2886 | shared libc if not linking against libpthread. | |
2887 | * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. | |
2888 | ||
689ff841 IS |
2889 | 2011-02-07 Iain Sandoe <iains@gcc.gnu.org> |
2890 | ||
2891 | PR target/47558 | |
2892 | * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first | |
2893 | on 10.6 and later to ensure that we always use the unwinder from | |
2894 | the system. Only add -no_compact_unwind when tarteting darwin | |
2895 | 10.6 or later. | |
2896 | ||
821014aa SE |
2897 | 2011-02-07 Steve Ellcey <sje@cup.hp.com> |
2898 | ||
2899 | PR target/46997 | |
2900 | * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. | |
2901 | (vec_interleave_lowv2sf): Ditto. | |
2902 | (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. | |
2903 | (vec_extract_oddv2sf): Ditto. | |
2904 | ||
41cf94fb MS |
2905 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
2906 | ||
62dea57d | 2907 | PR target/42333 |
41cf94fb MS |
2908 | Add __ieee_divdc3 entry point. |
2909 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 | |
2910 | entry point. | |
2911 | (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. | |
2912 | * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. | |
2913 | * config/darwin.c (darwin_rename_builtins): Add. | |
2914 | * config/darwin-protos.h (darwin_rename_builtins): Add. | |
2915 | ||
ee09a3dd MM |
2916 | 2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
2917 | ||
2918 | PR target/47636 | |
2919 | * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro | |
2920 | for the condition. | |
2921 | ||
83296cd0 MS |
2922 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
2923 | ||
ea4c3e65 | 2924 | * config/darwin.opt (mmacosx-version-min): Update default OS version. |
83296cd0 | 2925 | |
0f4e946f DC |
2926 | 2011-02-07 Denis Chertykov <chertykov@gmail.com> |
2927 | ||
2928 | PR target/47534 | |
2929 | * config/avr/libgcc.S (exit): Move .endfunc | |
2930 | ||
1ec87690 RG |
2931 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
2932 | ||
2933 | PR tree-optimization/47615 | |
2934 | * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument. | |
2935 | * tree-ssa-sccvn.c (default_vn_walk_kind): New global. | |
2936 | (run_scc_vn): Initialize it. | |
2937 | (visit_reference_op_load): Use it. | |
2938 | * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE. | |
2939 | ||
b46ae6da UW |
2940 | 2011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2941 | ||
2942 | * config/spu/spu.c (spu_init_libfuncs): Install SImode and | |
2943 | DImode trapping arithmetic libfuncs. | |
2944 | ||
c0aae19c RG |
2945 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
2946 | ||
2947 | PR tree-optimization/47621 | |
2948 | * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from | |
2949 | two duplicates ... | |
2950 | (execute_update_addresses_taken): ... here. Make it more | |
2951 | conservative in what we accept. | |
2952 | ||
295d926b JM |
2953 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
2954 | ||
2955 | * config/sparc/freebsd.h (ASM_SPEC): Define. | |
2956 | * config/sparc/vxworks.h (ASM_SPEC): Define. | |
2957 | ||
bdeb2471 JM |
2958 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
2959 | ||
2960 | * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
2961 | ||
d5d3781a SB |
2962 | 2011-02-06 Steven Bosscher <steven@gcc.gnu.org> |
2963 | ||
2964 | * doc/invoke.texi: Remove reference to compiler internals from | |
2965 | user documentation. | |
2966 | ||
2967 | * reg-notes.def: Remove REG_VALUE_PROFILE. | |
2968 | * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. | |
2969 | ||
c42c09fc JJ |
2970 | 2011-02-05 Jakub Jelinek <jakub@redhat.com> |
2971 | ||
2972 | PR middle-end/47610 | |
2973 | * varasm.c (default_section_type_flags): If decl is NULL, | |
38be4072 | 2974 | and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit. |
c42c09fc | 2975 | |
beea2755 JZ |
2976 | 2011-02-05 Jie Zhang <jie@codesourcery.com> |
2977 | ||
2978 | PR debug/42631 | |
2979 | * web.c (entry_register): Don't clobber the number of the | |
2980 | first uninitialized reference in used[]. | |
2981 | ||
a130584a SP |
2982 | 2011-02-04 Sebastian Pop <sebastian.pop@amd.com> |
2983 | ||
2984 | PR tree-optimization/46194 | |
2985 | * tree-data-ref.c (analyze_miv_subscript): Remove comment. | |
2986 | (build_classic_dist_vector_1): Do not represent classic distance | |
2987 | vectors when the access functions are variating in different loops. | |
2988 | ||
962101ac JM |
2989 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
2990 | ||
2991 | * config/mips/iris6.opt: New. | |
2992 | * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. | |
2993 | ||
55eaaa5b RH |
2994 | 2011-02-04 Richard Henderson <rth@redhat.com> |
2995 | Steve Ellcey <sje@cup.hp.com> | |
2996 | ||
2997 | PR target/46997 | |
2998 | * config/ia64/predicates.md (mux1_brcst_element): New. | |
2999 | * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. | |
3000 | * config/ia64/ia64.c (ia64_unpack_assemble): New. | |
3001 | (ia64_unpack_sign): New. | |
3002 | (ia64_expand_unpack): Rewrite using new routines. | |
3003 | (ia64_expand_widen_sum): Ditto. | |
3004 | (ia64_expand_dot_prod_v8qi): Ditto. | |
3005 | * config/ia64/vect.md (mulv8qi3): Rewrite to use new | |
3006 | routines, add endian check. | |
3007 | (pmpy2_even): Rename from pmpy2_r, add endian check. | |
3008 | (pmpy2_odd): Rename from pmpy2_l, add endian check. | |
3009 | (vec_widen_smult_lo_v4hi): Rewrite using new routines. | |
3010 | (vec_widen_smult_hi_v4hi): Ditto. | |
3011 | (vec_widen_umult_lo_v4hi): Ditto. | |
3012 | (vec_widen_umult_hi_v4hi): Ditto. | |
3013 | (mulv2si3): Change endian checks. | |
3014 | (sdot_prodv4hi): Rewrite with new calls. | |
3015 | (udot_prodv4hi): New. | |
3016 | (vec_pack_ssat_v4hi): Add endian check. | |
3017 | (vec_pack_usat_v4hi): Ditto. | |
3018 | (vec_pack_ssat_v2si): Ditto. | |
3019 | (max1_even): Rename from max1_r, add endian check. | |
3020 | (max1_odd): Rename from max1_l, add endian check. | |
3021 | (*mux1_rev): Format change. | |
3022 | (*mux1_mix): Ditto. | |
3023 | (*mux1_shuf): Ditto. | |
3024 | (*mux1_alt): Ditto. | |
3025 | (*mux1_brcst_v8qi): Use new predicate. | |
3026 | (vec_extract_evenv8qi): Remove endian check. | |
3027 | (vec_extract_oddv8qi): Ditto. | |
3028 | (vec_interleave_lowv4hi): Format change. | |
3029 | (vec_interleave_highv4hi): Ditto. | |
3030 | (mix2_even): Rename from mix2_r, add endian check. | |
3031 | (mix2_odd): Rename from mux2_l, add endian check. | |
3032 | (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. | |
3033 | (vec_extract_evenodd_helper): Format change. | |
3034 | (vec_extract_evenv4hi): Remove endian check. | |
3035 | (vec_extract_oddv4hi): Remove endian check. | |
3036 | (vec_interleave_lowv2si): Format change. | |
3037 | (vec_interleave_highv2si): Format change. | |
3038 | (vec_initv2si): Remove endian check. | |
3039 | (vecinit_v2si): Add endian check. | |
3040 | (reduc_splus_v2sf): Add endian check. | |
3041 | (reduc_smax_v2sf): Ditto. | |
3042 | (reduc_smin_v2sf): Ditto. | |
3043 | (vec_initv2sf): Remove endian check. | |
3044 | (fpack): Add endian check. | |
3045 | (fswap): Add endian check. | |
3046 | (vec_interleave_highv2sf): Add endian check. | |
3047 | (vec_interleave_lowv2sf): Add endian check. | |
3048 | (fmix_lr): Add endian check. | |
3049 | (vec_setv2sf): Format change. | |
3050 | (*vec_extractv2sf_0_be): Use shift to extract operand. | |
3051 | (*vec_extractv2sf_1_be): New. | |
3052 | (vec_pack_trunc_v4hi): Add endian check. | |
3053 | (vec_pack_trunc_v2si): Format change. | |
3054 | ||
dcde5957 JJ |
3055 | 2011-02-04 Jakub Jelinek <jakub@redhat.com> |
3056 | ||
3057 | PR inline-asm/23200 | |
3058 | * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't | |
38be4072 | 3059 | do bb, locus and block comparison and disallow loads if it is not set. |
dcde5957 JJ |
3060 | (stmt_is_replaceable_p): New function. |
3061 | (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p | |
3062 | callers. | |
3063 | * expr.c (expand_expr_real_1) <case SSA_NAME>: If | |
3064 | get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use | |
3065 | SSA_NAME_DEF_STMT. | |
3066 | * tree-flow.h (stmt_is_replaceable_p): New prototype. | |
3067 | ||
a64a8e5a JM |
3068 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
3069 | ||
3070 | * config/rs6000/xilinx.opt: New. | |
3071 | * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. | |
3072 | ||
4da2ed2f JM |
3073 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
3074 | ||
3075 | * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. | |
3076 | ||
a6e508f9 AS |
3077 | 2011-02-03 Anatoly Sokolov <aesok@post.ru> |
3078 | ||
3079 | * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, | |
3080 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
3081 | * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, | |
3082 | secondary_reload_info, xtensa_secondary_reload): Remove. | |
3083 | * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, | |
3084 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
3085 | (xtensa_preferred_reload_class): Make static. Change return and | |
3086 | 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. | |
3087 | Use CONST_DOUBLE_P predicate. | |
3088 | (xtensa_preferred_output_reload_class): New function. | |
3089 | (xtensa_secondary_reload): Make static. | |
3090 | ||
82dc0de3 JM |
3091 | 2011-02-03 Joseph Myers <joseph@codesourcery.com> |
3092 | ||
3093 | * config/microblaze/microblaze.opt (Zxl-mode-bootstrap, | |
3094 | Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, | |
3095 | Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. | |
3096 | ||
7fece979 JJ |
3097 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
3098 | ||
3099 | PR middle-end/31490 | |
3100 | * output.h (SECTION_RELRO): Define. | |
3101 | (SECTION_MACH_DEP): Adjust. | |
3102 | (get_variable_section): New prototype. | |
3103 | * varpool.c (varpool_finalize_named_section_flags): New function. | |
3104 | (varpool_assemble_pending_decls): Call it. | |
3105 | * cgraph.h (varpool_finalize_named_section_flags): New prototype. | |
3106 | * cgraphunit.c (cgraph_output_in_order): Call | |
3107 | varpool_finalize_named_section_flags. | |
3108 | * varasm.c (get_section): Allow section flags conflicts between | |
3109 | relro and read-only sections if the section hasn't been declared yet. | |
3110 | Set SECTION_OVERRIDE after diagnosing section type conflict. | |
3111 | (get_variable_section): No longer static. | |
3112 | (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for | |
3113 | readonly sections that need relocations. | |
3114 | (decl_readonly_section_1): New function. | |
3115 | (decl_readonly_section): Use it. | |
3116 | ||
3117 | Revert: | |
509d65dd | 3118 | 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> |
7fece979 JJ |
3119 | Steve Ellcey <sje@cup.hp.com> |
3120 | ||
3121 | PR middle-end/31490 | |
3122 | * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask | |
3123 | if section attribute used. | |
3124 | ||
d18d5478 JJ |
3125 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
3126 | ||
3127 | * config/darwin.h (SECTION_NO_ANCHOR): Remove. | |
3128 | * config/darwin.c (SECTION_NO_ANCHOR): Define. | |
3129 | (darwin_init_sections): Remove assertion. | |
3130 | ||
6479ed4b NC |
3131 | 2011-02-03 Nick Clifton <nickc@redhat.com> |
3132 | ||
3133 | * config/rx/predicates.md (rx_zs_comparison_operator): Remove | |
3134 | lt and ge. | |
38be4072 | 3135 | * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. |
6479ed4b NC |
3136 | * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes |
3137 | instead of "n" and "pz". | |
3138 | (flags_from_code): LT and GE tests need CC_FLAG_O as well as | |
3139 | CC_FLAG_S. | |
3140 | ||
89843f5d JJ |
3141 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
3142 | ||
65450d64 JJ |
3143 | PR target/47312 |
3144 | * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand | |
3145 | fma, expand FMA_EXPR as fma{,f,l} call. | |
3146 | ||
7d58701c JJ |
3147 | PR lto/47274 |
3148 | * lto-streamer-out.c (write_symbol): When writing kind and visibility, | |
3149 | copy them into a unsigned char variable and pass address of it to | |
3150 | lto_output_data_stream. | |
3151 | ||
89843f5d JJ |
3152 | PR target/47564 |
3153 | * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx | |
3154 | around backend_init_target and lang_dependent_init_target calls. | |
3155 | * cgraphunit.c (cgraph_debug_gimple_stmt): New function. | |
3156 | (verify_cgraph_node): Don't call set_cfun here. Use | |
3157 | cgraph_debug_gimple_stmt instead of debug_gimple_stmt. | |
3158 | Set error_found for incorrectly represented calls to thunks. | |
3159 | ||
4deef538 AO |
3160 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
3161 | ||
3162 | PR debug/43092 | |
3163 | PR rtl-optimization/43494 | |
3164 | * rtl.h (for_each_inc_dec_fn): New type. | |
3165 | (for_each_inc_dec): Declare. | |
3166 | * rtlanal.c (struct for_each_inc_dec_ops): New type. | |
3167 | (for_each_inc_dec_find_inc_dec): New fn. | |
3168 | (for_each_inc_dec_find_mem): New fn. | |
3169 | (for_each_inc_dec): New fn. | |
3170 | * dse.c (struct insn_size): Remove. | |
3171 | (replace_inc_dec, replace_inc_dec_mem): Remove. | |
3172 | (emit_inc_dec_insn_before): New fn. | |
3173 | (check_for_inc_dec): Use it, along with for_each_inc_dec. | |
3174 | (canon_address): Pass mem modes to cselib_lookup. | |
3175 | * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. | |
3176 | (cselib_lookup_from_insn): Likewise. | |
3177 | (cselib_subst_to_values): Likewise. | |
3178 | * cselib.c (find_slot_memmode): New var. | |
3179 | (cselib_find_slot): New fn. Use it instead of | |
3180 | htab_find_slot_with_hash everywhere. | |
3181 | (entry_and_rtx_equal_p): Use find_slot_memmode. | |
3182 | (autoinc_split): New fn. | |
3183 | (rtx_equal_for_cselib_p): Rename and implement in terms of... | |
3184 | (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. | |
3185 | Deal with autoinc. Special-case recursion into MEMs. | |
3186 | (cselib_hash_rtx): Likewise. | |
3187 | (cselib_lookup_mem): Infer pmode from address mode. Distinguish | |
3188 | address and MEM modes. | |
3189 | (cselib_subst_to_values): Add memmode, pass it on. | |
3190 | Deal with autoinc. | |
3191 | (cselib_lookup): Add memmode argument, pass it on. | |
3192 | (cselib_lookup_from_insn): Add memmode. | |
3193 | (cselib_invalidate_rtx): Discard obsolete push_operand handling. | |
3194 | (struct cselib_record_autoinc_data): New. | |
3195 | (cselib_record_autoinc_cb): New fn. | |
3196 | (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM | |
3197 | mode to cselib_lookup. Reset autoinced REGs here instead of... | |
3198 | (cselib_process_insn): ... here. | |
3199 | * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode | |
3200 | to cselib_lookup. | |
3201 | (add_uses): Likewise, also to cselib_subst_to_values. | |
3202 | (add_stores): Likewise. | |
3203 | * sched-deps.c (add_insn_mem_dependence): Pass mode to | |
3204 | cselib_subst_to_values. | |
3205 | (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. | |
3206 | * gcse.c (do_local_cprop): Adjusted. | |
3207 | * postreload.c (reload_cse_simplify_set): Adjusted. | |
3208 | (reload_cse_simplify_operands): Adjusted. | |
3209 | * sel-sched-dump (debug_mem_addr_value): Pass mode. | |
3210 | ||
1551d44a AO |
3211 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
3212 | ||
3213 | PR tree-optimization/45122 | |
3214 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make | |
3215 | unsafe assumptions when there's more than one loop exit. | |
3216 | ||
c9485473 MM |
3217 | 2011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
3218 | ||
3219 | PR target/47272 | |
3220 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
3221 | Document using vector double with the load/store builtins, and | |
3222 | that the load/store builtins always use Altivec instructions. | |
3223 | ||
3224 | * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns | |
3225 | to use altivec memory instructions, even on VSX. | |
3226 | (vector_altivec_store_<mode>): Ditto. | |
3227 | ||
3228 | * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New | |
3229 | function. | |
3230 | ||
3231 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
3232 | V2DF, V2DI support to load/store overloaded builtins. | |
3233 | ||
3234 | * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add | |
3235 | altivec load/store builtins for V2DF/V2DI types. | |
3236 | ||
3237 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
3238 | set avoid indexed addresses on power6 if -maltivec. | |
3239 | (altivec_expand_ld_builtin): Add V2DF, V2DI support, use | |
3240 | vector_altivec_load/vector_altivec_store builtins. | |
3241 | (altivec_expand_st_builtin): Ditto. | |
3242 | (altivec_expand_builtin): Add VSX memory builtins. | |
3243 | (rs6000_init_builtins): Add V2DI types to internal types. | |
3244 | (altivec_init_builtins): Add support for V2DF/V2DI altivec | |
3245 | load/store builtins. | |
3246 | (rs6000_address_for_altivec): Insure memory address is appropriate | |
3247 | for Altivec. | |
3248 | ||
3249 | * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for | |
3250 | vec_vsx_ld and vec_vsx_st. | |
3251 | (vsx_store_<mode>): Ditto. | |
3252 | ||
3253 | * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type | |
3254 | variables to hold long long types for VSX vector memory builtins. | |
3255 | (RS6000_BTI_unsigned_long_long): Ditto. | |
3256 | (long_long_integer_type_internal_node): Ditti. | |
3257 | (long_long_unsigned_type_internal_node): Ditti. | |
3258 | ||
3259 | * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. | |
3260 | (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator. | |
3261 | (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator. | |
3262 | ||
3263 | * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin | |
3264 | short cuts. | |
3265 | (vec_vsx_st): Ditto. | |
3266 | ||
b24d1acf JM |
3267 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
3268 | ||
3269 | * config/pa/pa-hpux10.opt: New. | |
3270 | * config/hpux11.opt (pthread): New Driver option. | |
3271 | * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. | |
3272 | * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. | |
3273 | ||
aa18dd0f JM |
3274 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
3275 | ||
3276 | * config/ia64/vms.opt: New. | |
3277 | * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. | |
3278 | ||
28fc3eee MM |
3279 | 2011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
3280 | ||
3281 | PR target/47580 | |
3282 | * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use | |
3283 | gpc_reg_operand instead of vsx_register_operand to match rs6000.md | |
3284 | generator functions. | |
3285 | (vsx_floatuns<VSi><mode>2): Ditto. | |
3286 | (vsx_fix_trunc<mode><VSi>2): Ditto. | |
3287 | (vsx_fixuns_trunc<mode><VSi>2): Ditto. | |
3288 | ||
b5838b1f JM |
3289 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
3290 | ||
3291 | * config/i386/djgpp.opt (posix): New Driver option. | |
3292 | ||
0db8fa89 GP |
3293 | 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
3294 | ||
3295 | * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): | |
3296 | Move to the unsupported targets list. | |
3297 | ||
9cd4f22a PB |
3298 | 2011-02-02 Peter Bergner <bergner@vnet.ibm.com> |
3299 | ||
3300 | PR rtl-optimization/47525 | |
3301 | * df-scan.c: Update copyright years. | |
3302 | (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE | |
3303 | and non-clobber DF_REF_REG_DEF for calls to const and pure functions. | |
3304 | ||
9ed8059c RO |
3305 | 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3306 | ||
3307 | * config/i386/sysv4.h (TARGET_VERSION): Remove. | |
3308 | (SUBTARGET_RETURN_IN_MEMORY): Remove. | |
3309 | (ASM_OUTPUT_ASCII): Remove. | |
3310 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. | |
3311 | ||
2a737389 JL |
3312 | 2011-02-02 Jeff Law <law@redhat.com> |
3313 | ||
3314 | PR middle-end/47543 | |
3315 | * reload.c (find_reloads_address): Handle reg+d address where both | |
3316 | components are invalid by reloading the entire address. | |
3317 | ||
9dac82c4 SP |
3318 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
3319 | Richard Guenther <rguenther@suse.de> | |
3320 | ||
3321 | PR tree-optimization/40979 | |
3322 | PR bootstrap/47044 | |
3323 | * passes.c (init_optimization_passes): After LIM call copy_prop | |
3324 | and DCE to clean up. | |
3325 | * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. | |
3326 | ||
14dd9aab SP |
3327 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
3328 | ||
3329 | PR tree-optimization/47576 | |
3330 | PR tree-optimization/47555 | |
3331 | * doc/invoke.texi (scev-max-expr-complexity): Documented. | |
3332 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
3333 | (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. | |
3334 | * tree-scalar-evolution.c (follow_ssa_edge): Use | |
3335 | PARAM_SCEV_MAX_EXPR_COMPLEXITY. | |
3336 | ||
5cbf5c20 RG |
3337 | 2011-02-02 Richard Guenther <rguenther@suse.de> |
3338 | ||
3339 | PR tree-optimization/47566 | |
3340 | * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. | |
3341 | ||
83d70792 AO |
3342 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
3343 | ||
e829c321 AO |
3344 | PR debug/47106 |
3345 | PR debug/47402 | |
3346 | * tree-inline.c (declare_return_variable): Remove unused caller | |
3347 | variable. | |
3348 | ||
83d70792 AO |
3349 | PR debug/47106 |
3350 | PR debug/47402 | |
3351 | * tree-flow-inline.h (clear_is_used, is_used_p): New. | |
3352 | * cfgexpand.c (account_used_vars_for_block): Use them. | |
3353 | * tree-nrv.c (tree_nrv): Likewise. | |
3354 | * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. | |
3355 | (dump_scope_block): Likewise. | |
3356 | (remove_unused_locals): Likewise. | |
3357 | ||
aaa2ac93 AO |
3358 | PR debug/47106 |
3359 | PR debug/47402 | |
3360 | * tree-inline.c (declare_return_variable): Add result decl to | |
3361 | local decls only once. | |
3362 | * gimple-low.c (record_vars_into): Mark newly-created variables | |
3363 | as referenced. | |
3364 | ||
a59d15cf AO |
3365 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
3366 | ||
3367 | PR debug/47498 | |
3368 | PR debug/47501 | |
3369 | PR debug/45136 | |
3370 | PR debug/45130 | |
3371 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
3372 | debug insns. | |
3373 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
3374 | treatment of boundary debug insns. | |
38be4072 | 3375 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
a59d15cf AO |
3376 | * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns. |
3377 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
3378 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
3379 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
3380 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
3381 | boundary debug insns. | |
3382 | * final.c (rest_of_clean_state): Clear notes' BB. | |
3383 | ||
6fc2f091 JM |
3384 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
3385 | ||
3386 | * config/openbsd.opt (assert=): New Driver option. | |
3387 | ||
fc523387 JM |
3388 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
3389 | ||
3390 | * config/i386/nto.opt: New. | |
3391 | * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. | |
3392 | ||
6d9821e5 JM |
3393 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
3394 | ||
3395 | * config/i386/netware.opt: New. | |
3396 | * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. | |
3397 | ||
cef932d4 JM |
3398 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
3399 | ||
3400 | * config/interix.opt (posix): New Driver option. | |
3401 | ||
22843acd DD |
3402 | 2011-02-01 DJ Delorie <dj@redhat.com> |
3403 | ||
56490b74 DD |
3404 | * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. |
3405 | ||
22843acd DD |
3406 | * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg |
3407 | class for A0/A1. | |
3408 | ||
199c8f2f SP |
3409 | 2011-02-01 Sebastian Pop <sebastian.pop@amd.com> |
3410 | ||
3411 | PR tree-optimization/47561 | |
3412 | * toplev.c (process_options): Print the Graphite flags. Add | |
3413 | flag_loop_flatten to the list of options requiring Graphite. | |
3414 | ||
926bcf22 JM |
3415 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
3416 | ||
3417 | * config/i386/cygming.opt (posix): New Driver option. | |
3418 | ||
59793c51 JM |
3419 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
3420 | ||
3421 | * config/arm/vxworks.opt: New. | |
3422 | * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. | |
3423 | ||
183c38a4 JM |
3424 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
3425 | ||
3426 | * config/alpha/elf.opt: New. | |
3427 | * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, | |
3428 | alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. | |
3429 | ||
9939e416 RG |
3430 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
3431 | ||
3432 | PR tree-optimization/47559 | |
3433 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform | |
3434 | store-motion on references that can throw. | |
3435 | ||
4a3c9687 BS |
3436 | 2011-02-01 Bernd Schmidt <bernds@codesourcery.com> |
3437 | ||
3438 | * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. | |
3439 | * tree-pass.h (TDF_CSELIB): New macro. | |
3440 | * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, | |
3441 | cselib_lookup): Check for it rather than for TDF_DETAILS. | |
3442 | ||
dd3b31fb L |
3443 | 2011-02-01 H.J. Lu <hongjiu.lu@intel.com> |
3444 | ||
3445 | PR driver/47547 | |
3446 | * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output | |
3447 | is HOST_BIT_BUCKET. | |
3448 | ||
3449 | * opts.c (finish_options): Don't add x_aux_base_name if it is | |
3450 | HOST_BIT_BUCKET. | |
3451 | ||
34c1de79 RG |
3452 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
3453 | ||
3454 | PR tree-optimization/47555 | |
3455 | Revert | |
3456 | 2010-07-15 Sebastian Pop <sebastian.pop@amd.com> | |
3457 | ||
3458 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
3459 | ||
dd2804d2 SB |
3460 | 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org> |
3461 | ||
3462 | PR gcc/46692 | |
3463 | * config/lm32/t-lm32: Add multilib for all CPU options. | |
3464 | ||
3fd3b156 RG |
3465 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
3466 | ||
3467 | PR tree-optimization/47541 | |
3468 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make | |
3469 | sure to have a field at offset zero. | |
3470 | ||
f16072b6 JM |
3471 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
3472 | ||
3473 | * config/arc/arc.opt (EB, EL): New Driver options. | |
3474 | ||
6456cf2e JM |
3475 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
3476 | ||
3477 | * config/alpha/osf5.opt: New. | |
3478 | * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. | |
3479 | ||
cdde6ab4 JM |
3480 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
3481 | ||
3482 | * config/vms/vms.opt (map, mvms-return-codes): New Driver options. | |
3483 | ||
7633415c SP |
3484 | 2011-01-31 Sebastian Pop <sebastian.pop@amd.com> |
3485 | ||
3486 | * common.opt (ftree-loop-linear): Use Alias to make it an alias of | |
3487 | -floop-interchange. | |
3488 | * invoke.texi (-ftree-loop-linear): Make it clear that this flag | |
3489 | is an alias of -floop-interchange and that it requires the | |
3490 | Graphite infrastructure. | |
3491 | * tree-ssa-loop.c (gate_graphite_transforms): Do not set | |
3492 | flag_loop_interchange based on the value of flag_tree_loop_linear. | |
3493 | ||
0425d6f5 JJ |
3494 | 2011-01-31 Jakub Jelinek <jakub@redhat.com> |
3495 | Richard Guenther <rguenther@suse.de> | |
3496 | ||
3497 | PR tree-optimization/47538 | |
3498 | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use | |
3499 | type instead of r1type, except for comparisons. For right | |
3500 | shifts and comparisons punt if there are mismatches in | |
3501 | sizetype vs. non-sizetype types. | |
3502 | ||
500b16c3 RO |
3503 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3504 | ||
3505 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
3506 | avx_runtime. | |
3507 | ||
e279edb0 RO |
3508 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3509 | ||
3510 | * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld | |
3511 | version number. | |
3512 | * configure: Regenerate. | |
3513 | ||
c6092243 RO |
3514 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3515 | ||
3516 | * configure.ac (gcc_cv_ld_static_option): Define. | |
3517 | (gcc_cv_ld_dynamic_option): Define. | |
3518 | (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive | |
3519 | instead. | |
3520 | (HAVE_LD_STATIC_DYNAMIC): Update message. | |
3521 | (LD_STATIC_OPTION): Define. | |
3522 | (LD_DYNAMIC_OPTION): Define. | |
3523 | * configure: Regenerate. | |
3524 | * config.in: Regenerate. | |
3525 | * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && | |
3526 | HAVE_LD_STATIC_DYNAMIC]: Use them. | |
3527 | ||
d7862be3 NC |
3528 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
3529 | ||
3530 | * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered | |
3531 | registers inside interrupt handlers if the handler is not a leaf | |
3532 | function. | |
3533 | ||
ba4ec0e0 NC |
3534 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
3535 | ||
3536 | * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for | |
3537 | reg_renumber returning an INVALID_REGNUM. | |
3538 | ||
29a63921 AO |
3539 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
3540 | ||
3541 | PR libgcj/44341 | |
3542 | * doc/install.texi: Document host options discarded when cross | |
3543 | configuring target libraries. | |
3544 | ||
ef591d3f AO |
3545 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
3546 | ||
3547 | Reverted: | |
3548 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> | |
3549 | PR debug/45136 | |
3550 | PR debug/45130 | |
3551 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
3552 | debug insns. | |
3553 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
3554 | treatment of boundary debug insns. | |
38be4072 | 3555 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
ef591d3f AO |
3556 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
3557 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
3558 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
3559 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
3560 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
3561 | boundary debug insns. | |
3562 | * final.c (rest_of_clean-state): Clear notes' BB. | |
3563 | ||
61052244 AM |
3564 | 2011-01-31 Alan Modra <amodra@gmail.com> |
3565 | ||
3566 | * config/rs6000/rs6000.c (print_operand): Rearrange addends in | |
3567 | toc relative expressions as we do in print_operand_address. | |
3568 | ||
c4c8962b KH |
3569 | 2011-01-30 Kazu Hirata <kazu@codesourcery.com> |
3570 | ||
3571 | * doc/extend.texi: Follow spelling conventions. | |
3572 | * doc/invoke.texi: Fix a typo. | |
3573 | ||
e543b94c JM |
3574 | 2011-01-30 Joseph Myers <joseph@codesourcery.com> |
3575 | ||
3576 | * config/hpux11.opt: New. | |
3577 | * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, | |
3578 | ia64*-*-hpux*): Use hpux11.opt. | |
3579 | ||
509d65dd | 3580 | 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net> |
a70e0551 JY |
3581 | |
3582 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules | |
3583 | to tmake_file. | |
3584 | ||
7be03a0e GP |
3585 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
3586 | ||
3587 | * doc/install.texi (hppa-hp-hpux10): Remove references to HP | |
3588 | support sites. | |
3589 | ||
419d1d37 GP |
3590 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
3591 | ||
b596ed64 GP |
3592 | * doc/install.texi (Binaries): Remove outdated reference for |
3593 | Motorola 68HC11/68HC12 downloads. | |
3594 | ||
3595 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> | |
61052244 | 3596 | |
419d1d37 GP |
3597 | * doc/extend.texi (Thread-Local): Adjust reference to Ulrich |
3598 | Drepper's paper. | |
3599 | ||
4406d0e9 JW |
3600 | 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
3601 | ||
3602 | PR bootstrap/47147 | |
3603 | * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as | |
3604 | used by NetBSD. | |
3605 | ||
38be4072 | 3606 | 2011-01-28 Ahmad Sharif <asharif@google.com> |
e0b77418 AS |
3607 | |
3608 | * value-prof.c (check_counter): Corrected error message. | |
3609 | ||
0cd98787 JZ |
3610 | 2011-01-29 Jie Zhang <jie@codesourcery.com> |
3611 | ||
3612 | * config/arm/arm.c (arm_legitimize_reload_address): New. | |
3613 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
3614 | arm_legitimize_reload_address. | |
38be4072 | 3615 | * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. |
0cd98787 | 3616 | |
9b798ac5 ILT |
3617 | 2011-01-28 Ian Lance Taylor <iant@google.com> |
3618 | ||
3619 | * godump.c (go_define): Ignore macros whose definitions include | |
3620 | two adjacent operands. | |
3621 | ||
591e29d9 JJ |
3622 | 2011-01-28 Jakub Jelinek <jakub@redhat.com> |
3623 | ||
3624 | PR target/42894 | |
3625 | * varasm.c (force_const_mem): Store copy of x in desc->constant | |
3626 | instead of x itself. | |
3627 | * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst | |
3628 | itself into REG_EQUAL note. | |
3629 | ||
62dcc44a JM |
3630 | 2011-01-28 Joseph Myers <joseph@codesourcery.com> |
3631 | ||
3632 | * config/freebsd.opt (posix, rdynamic): New Driver options. | |
3633 | ||
c9f58b9a RO |
3634 | 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3635 | ||
3636 | * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports | |
3637 | -Bstatic/-Bdynamic. | |
3638 | * configure: Regenerate. | |
3639 | ||
5f02b9db JM |
3640 | 2011-01-27 Joseph Myers <joseph@codesourcery.com> |
3641 | ||
3642 | * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. | |
3643 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. | |
3644 | ||
5df97412 AS |
3645 | 2011-01-27 Anatoly Sokolov <aesok@post.ru> |
3646 | ||
3647 | * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. | |
3648 | * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. | |
3649 | * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
3650 | (s390_preferred_reload_class): Make static. Change return and | |
3651 | 'rclass' argument type to reg_class_t. | |
3652 | ||
779d4b91 JH |
3653 | 2011-01-27 Jan Hubicka <jh@suse.cz> |
3654 | ||
3655 | PR middle-end/46949 | |
3656 | * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. | |
3657 | (process_function_and_variable_attributes): Check defined weakrefs. | |
3658 | ||
e80b21ed MJ |
3659 | 2011-01-27 Martin Jambor <mjambor@suse.cz> |
3660 | ||
3661 | PR tree-optimization/47228 | |
3662 | * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of | |
3663 | build_ref_for_offset. | |
3664 | ||
6dcc4f31 UW |
3665 | 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3666 | ||
3667 | * config/spu/spu-elf.h (ASM_SPEC): Remove. | |
3668 | ||
509d65dd | 3669 | 2011-01-26 Mikael Pettersson <mikpe@it.uu.se> |
3b8ff89f MP |
3670 | |
3671 | PR rtl-optimization/46856 | |
3672 | * postreload.c (reload_combine_recognize_const_pattern): Do not | |
3673 | separate cc0 setter and user on cc0 targets. | |
3674 | ||
04af8788 NP |
3675 | 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> |
3676 | ||
3677 | PR c/43082 | |
3678 | * c-typeck.c (c_objc_common_truthvalue_conversion): If we are | |
3679 | passed a VOID_TYPE expression, immediately emit an error and | |
3680 | return error_mark_node. | |
3681 | ||
f7a60085 JL |
3682 | 2011-01-26 Jeff Law <law@redhat.com> |
3683 | ||
3684 | PR rtl-optimization/47464 | |
3685 | * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p | |
3686 | rather than may_trap_p as needed. | |
3687 | ||
5c2917ec DD |
3688 | 2011-01-26 DJ Delorie <dj@redhat.com> |
3689 | ||
3690 | PR rtl-optimization/46878 | |
3691 | * combine.c (insn_a_feeds_b): Check for the implicit cc0 | |
3692 | setter/user dependency as well. | |
3693 | ||
bef16e87 EB |
3694 | 2011-01-26 Eric Botcazou <ebotcazou@adacore.com> |
3695 | ||
3696 | PR rtl-optimization/44469 | |
3697 | * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too | |
3698 | after removing trivially dead basic blocks. | |
3699 | ||
c75d884b JM |
3700 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
3701 | ||
3702 | * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. | |
3703 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
3704 | * config/i386/netware.h (LINK_SPEC): Likewise. | |
3705 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
3706 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
3707 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
3708 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
3709 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
3710 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
3711 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
3712 | ||
d3153553 JM |
3713 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
3714 | ||
3715 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. | |
3716 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
3717 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
3718 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
3719 | * config/rs6000/linux64.h (ASM_SPEC): Likewise. | |
3720 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
3721 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
3722 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
3723 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
3724 | ||
b89b1e9d JM |
3725 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
3726 | ||
3727 | * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. | |
3728 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
3729 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
3730 | ||
12eb1a9c JM |
3731 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
3732 | ||
3733 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. | |
3734 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
3735 | * config/i386/sol2-10.h (ASM_SPEC): Likewise. | |
3736 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
3737 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
3738 | * config/rs6000/linux64.h (ASM_SPEC32): Likewise. | |
3739 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
3740 | * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. | |
3741 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
3742 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
3743 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
3744 | * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. | |
3745 | ||
e435f098 SE |
3746 | 2011-01-26 Steve Ellcey <sje@cup.hp.com> |
3747 | ||
3748 | PR target/46997 | |
3749 | * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. | |
3750 | (*mux2): Ditto. | |
3751 | (vec_extract_evenodd_help): Ditto. | |
3752 | (vec_extract_evenv4hi): Ditto. | |
3753 | (vec_extract_oddv4hi): Ditto. | |
3754 | (vec_interleave_lowv2si): Ditto. | |
3755 | (vec_interleave_highv2si): Ditto. | |
3756 | (vec_extract_evenv2si): Ditto. | |
3757 | (vec_extract_oddv2si: Ditto. | |
3758 | (vec_pack_trunc_v2si): Ditto. | |
3759 | ||
34f0eee0 JH |
3760 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
3761 | ||
3762 | PR target/47237 | |
3763 | * cgraph.h (cgraph_local_info): New field can_change_signature. | |
3764 | * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee | |
3765 | signature can change. | |
3766 | (ipcp_estimate_growth): Call sequence simplify only if calle signature | |
3767 | can change. | |
3768 | (ipcp_insert_stage): Only compute args_to_skip if signature can change. | |
3769 | (cgraph_function_versioning): We can not change signature of functions | |
3770 | that don't allow that. | |
3771 | * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. | |
3772 | (lto_input_node): Likewise. | |
38be4072 UB |
3773 | * ipa-inline.c (compute_inline_parameters): Compute |
3774 | local.can_change_signature. | |
34f0eee0 | 3775 | * ipa-split.c (visit_bb): Never split away APPLY_ARGS. |
38be4072 UB |
3776 | * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on |
3777 | functions that can not change signature. | |
34f0eee0 | 3778 | * i386.c (ix86_function_regparm, ix86_function_sseregparm, |
38be4072 UB |
3779 | init_cumulative_args): Do not use local calling conventions |
3780 | for functions that can not change signature. | |
34f0eee0 | 3781 | |
980ca891 JH |
3782 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
3783 | ||
3784 | * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk. | |
3785 | ||
768e3c60 RG |
3786 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
3787 | ||
3788 | PR tree-optimization/47190 | |
61052244 AM |
3789 | * cgraphunit.c (process_common_attributes): New function. |
3790 | (process_function_and_variable_attributes): Use it. | |
768e3c60 | 3791 | |
21d6a1c7 RG |
3792 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
3793 | ||
3794 | PR lto/47423 | |
3795 | * cgraphbuild.c (record_eh_tables): Record reference to personality | |
3796 | function. | |
3797 | ||
48bb58b1 AO |
3798 | 2011-01-26 Alexandre Oliva <aoliva@redhat.com> |
3799 | ||
3800 | PR debug/45454 | |
3801 | * sel-sched.c (moveup_expr): Don't let debug insns prevent | |
3802 | non-debug insns from moving up. | |
3803 | ||
58c741a6 DK |
3804 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
3805 | ||
3806 | PR target/40125 | |
3807 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable | |
3808 | t-dlldir{,-x} fragment for build and add it to tmake_file. | |
3809 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
3810 | * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. | |
3811 | * config/i386/t-dlldir: New file. | |
3812 | (SHLIB_DLLDIR): Define. | |
3813 | * config/i386/t-dlldir-x: New file. | |
3814 | (SHLIB_DLLDIR): Define. | |
3815 | * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. | |
3816 | (SHLIB_INSTALL): Use it. | |
3817 | ||
bff99262 CLT |
3818 | 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> |
3819 | ||
3820 | PR target/47246 | |
3821 | * config/arm/arm.c (thumb2_legitimate_index_p): Change the | |
3822 | lower bound of the allowed Thumb-2 coprocessor load/store | |
3823 | index range to -256. Add explaining comment. | |
3824 | ||
82c03907 ILT |
3825 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
3826 | ||
3827 | * godump.c (go_define): Improve lexing of macro expansion to only | |
3828 | accept expressions which match Go spec. | |
3829 | ||
47ea1edf DK |
3830 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
3831 | ||
d4dba752 | 3832 | PR c++/43601 |
47ea1edf DK |
3833 | * tree.c (handle_dll_attribute): Handle it. |
3834 | * doc/extend.texi (@item dllexport): Mention it. | |
3835 | * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it. | |
3836 | ||
744f0946 ILT |
3837 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
3838 | ||
3839 | PR tree-optimization/26854 | |
3840 | * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl. | |
3841 | (decl_jump_unsafe): Move higher in file, with no other change. | |
3842 | (bind): Set has_jump_unsafe_decl if appropriate. | |
3843 | (update_label_decls): Test has_jump_unsafe_decl to avoid loop. | |
3844 | (check_earlier_gotos): Likewise. | |
3845 | (c_check_switch_jump_warnings): Likewise. | |
3846 | ||
5734f2b3 JW |
3847 | 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> |
3848 | ||
3849 | * doc/invoke.texi (Warning Options): Add missing hyphen. | |
3850 | (-fprofile-dir): Minor grammatical fixes. | |
3851 | (-fbranch-probabilities): Likewise. | |
3852 | ||
9bdbdcef AO |
3853 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> |
3854 | ||
3855 | PR debug/45136 | |
3856 | PR debug/45130 | |
3857 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
3858 | debug insns. | |
3859 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
3860 | treatment of boundary debug insns. | |
38be4072 | 3861 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
9bdbdcef AO |
3862 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
3863 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
3864 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
3865 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
3866 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
3867 | boundary debug insns. | |
3868 | * final.c (rest_of_clean-state): Clear notes' BB. | |
3869 | ||
b305e3da SP |
3870 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
3871 | ||
3872 | * Makefile.in (LAMBDA_H): Removed. | |
3873 | (TREE_DATA_REF_H): Remove dependence on LAMBDA_H. | |
3874 | (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o, | |
3875 | lambda-trans.o, and tree-loop-linear.o. | |
3876 | (lto-symtab.o): Remove dependence on LAMBDA_H. | |
3877 | (tree-loop-linear.o): Remove rule. | |
3878 | (lambda-mat.o): Same. | |
3879 | (lambda-trans.o): Same. | |
3880 | (lambda-code.o): Same. | |
3881 | (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H. | |
3882 | (tree-vect-slp.o): Same. | |
3883 | * hwint.h (gcd): Moved here. | |
3884 | (least_common_multiple): Same. | |
3885 | * lambda-code.c: Removed. | |
3886 | * lambda-mat.c: Removed. | |
3887 | * lambda-trans.c: Removed. | |
3888 | * lambda.h: Removed. | |
3889 | * tree-loop-linear.c: Removed. | |
3890 | * lto-symtab.c: Do not include lambda.h. | |
3891 | * omega.c (gcd): Removed. | |
3892 | * passes.c (init_optimization_passes): Remove pass_linear_transform. | |
3893 | * tree-data-ref.c (print_lambda_vector): Moved here. | |
3894 | (lambda_vector_copy): Same. | |
3895 | (lambda_matrix_copy): Same. | |
3896 | (lambda_matrix_id): Same. | |
3897 | (lambda_vector_first_nz): Same. | |
3898 | (lambda_matrix_row_add): Same. | |
3899 | (lambda_matrix_row_exchange): Same. | |
3900 | (lambda_vector_mult_const): Same. | |
3901 | (lambda_vector_negate): Same. | |
3902 | (lambda_matrix_row_negate): Same. | |
3903 | (lambda_vector_equal): Same. | |
3904 | (lambda_matrix_right_hermite): Same. | |
3905 | * tree-data-ref.h: Do not include lambda.h. | |
3906 | (lambda_vector): Moved here. | |
3907 | (lambda_matrix): Same. | |
3908 | (dependence_level): Same. | |
3909 | (lambda_transform_legal_p): Removed declaration. | |
3910 | (lambda_collect_parameters): Same. | |
3911 | (lambda_compute_access_matrices): Same. | |
3912 | (lambda_vector_gcd): Same. | |
3913 | (lambda_vector_new): Same. | |
3914 | (lambda_vector_clear): Same. | |
3915 | (lambda_vector_lexico_pos): Same. | |
3916 | (lambda_vector_zerop): Same. | |
3917 | (lambda_matrix_new): Same. | |
3918 | * tree-flow.h (least_common_multiple): Removed declaration. | |
3919 | * tree-parloops.c (lambda_trans_matrix): Moved here. | |
3920 | (LTM_MATRIX): Same. | |
3921 | (LTM_ROWSIZE): Same. | |
3922 | (LTM_COLSIZE): Same. | |
3923 | (LTM_DENOMINATOR): Same. | |
3924 | (lambda_trans_matrix_new): Same. | |
3925 | (lambda_matrix_vector_mult): Same. | |
3926 | (lambda_transform_legal_p): Same. | |
3927 | * tree-pass.h (pass_linear_transform): Removed declaration. | |
3928 | * tree-ssa-loop.c (tree_linear_transform): Removed. | |
3929 | (gate_tree_linear_transform): Removed. | |
3930 | (pass_linear_transform): Removed. | |
3931 | (gate_graphite_transforms): Make flag_tree_loop_linear an alias of | |
3932 | flag_loop_interchange. | |
3933 | ||
6bdfdb96 JJ |
3934 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
3935 | ||
3936 | PR tree-optimization/47265 | |
3937 | PR tree-optimization/47443 | |
3938 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false | |
3939 | if name still has some uses. | |
3940 | ||
e4cba915 MJ |
3941 | 2011-01-25 Martin Jambor <mjambor@suse.cz> |
3942 | ||
3943 | PR tree-optimization/47382 | |
3944 | * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed. | |
3945 | (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call. | |
3946 | ||
509d65dd | 3947 | 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> |
f822b8ea JS |
3948 | |
3949 | * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to | |
3950 | sjlj_except_unwind_info. | |
3951 | ||
194313e2 RG |
3952 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
3953 | ||
3954 | PR tree-optimization/47426 | |
3955 | * tree-ssa-structalias.c (ipa_pta_execute): Make externally | |
3956 | visible functions results escape. | |
3957 | ||
147a0bcf JJ |
3958 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
3959 | ||
3960 | PR target/45701 | |
3961 | * config/arm/arm.c (any_sibcall_uses_r3): New function. | |
3962 | (arm_get_frame_offsets): Use it. | |
3963 | ||
db963b52 SP |
3964 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
3965 | Jakub Jelinek <jakub@redhat.com> | |
3966 | ||
3967 | PR tree-optimization/47271 | |
3968 | * tree-if-conv.c (bb_postdominates_preds): New. | |
3969 | (if_convertible_bb_p): Call bb_postdominates_preds. | |
3970 | (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS. | |
3971 | (predicate_scalar_phi): Call bb_postdominates_preds. | |
3972 | ||
bcddd3b9 NC |
3973 | 2011-01-25 Nick Clifton <nickc@redhat.com> |
3974 | ||
3975 | * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. | |
3976 | * config/rx/rx.c (rx_function_value): Likewise. | |
3977 | (rx_promote_function_mode): Likewise. | |
3978 | (gen_safe_add): Place an outsized immediate value inside an UNSPEC | |
3979 | in order to make it legitimate. | |
38be4072 UB |
3980 | * config/rx/rx.md (adddi3_internal): If the second operand is a MEM |
3981 | make sure that the first operand is the same as the result register. | |
bcddd3b9 NC |
3982 | (addsi3_unspec): Delete. |
3983 | (subdi3): Do not accept immediate operands. | |
3984 | (subdi3_internal): Likewise. | |
3985 | ||
7e6cb022 JL |
3986 | 2011-01-25 Jeff Law <law@redhat.com> |
3987 | ||
3988 | PR rtl-optimization/37273 | |
3989 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
3990 | handle them like argument loads from stack slots. Do not double | |
3991 | count memory for memory constants and argument loads from stack slots. | |
3992 | ||
9ffa621e JJ |
3993 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
3994 | ||
3995 | PR tree-optimization/47427 | |
3996 | PR tree-optimization/47428 | |
3997 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
3998 | coalesce if the new root var would be TREE_READONLY. | |
3999 | ||
5bd6e652 RG |
4000 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
4001 | ||
4002 | PR middle-end/47414 | |
4003 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the | |
4004 | correct type for TBAA. | |
4005 | ||
7c48ea69 SP |
4006 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4007 | ||
4008 | * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. | |
4009 | (close_phi_written_to_memory): Call for_each_index with | |
4010 | dr_indices_valid_in_loop. | |
4011 | ||
38013f25 SP |
4012 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4013 | ||
4014 | * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN | |
4015 | when it is initialized. | |
4016 | ||
5c640e29 SP |
4017 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4018 | ||
4019 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update | |
4020 | call to graphite_find_data_references_in_stmt. | |
4021 | * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. | |
4022 | (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update | |
4023 | call to graphite_find_data_references_in_stmt. | |
4024 | (analyze_drs_in_stmts): Same. | |
4025 | * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop | |
4026 | in which the scalar analysis of indices is performed. | |
4027 | (create_data_ref): Same. Update call to dr_analyze_indices. | |
4028 | (find_data_references_in_stmt): Update call to create_data_ref. | |
4029 | (graphite_find_data_references_in_stmt): Same. | |
4030 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Update | |
4031 | declaration. | |
4032 | (create_data_ref): Same. | |
4033 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update | |
4034 | call to create_data_ref. | |
4035 | ||
ac53c069 SP |
4036 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4037 | ||
4038 | * graphite-sese-to-poly.c (build_poly_scop): Move | |
38be4072 | 4039 | rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. |
ac53c069 | 4040 | |
3d17df15 SP |
4041 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4042 | ||
4043 | * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow | |
4044 | VAR_DECL, PARM_DECL, and RESULT_DECL. | |
4045 | ||
c513da01 SP |
4046 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4047 | ||
4048 | * graphite-dependences.c (reduction_dr_1): Allow several reductions | |
4049 | in a reduction PBB. | |
4050 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs | |
4051 | that have already been marked as PBB_IS_REDUCTION. | |
4052 | ||
3a292d59 SP |
4053 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4054 | ||
4055 | * graphite-scop-detection.c (same_close_phi_node): New. | |
4056 | (remove_duplicate_close_phi): New. | |
4057 | (make_close_phi_nodes_unique): New. | |
4058 | (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. | |
4059 | ||
ba858447 SP |
4060 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4061 | ||
4062 | * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. | |
4063 | * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE | |
4064 | of both data references to be the same. | |
4065 | ||
8d865c56 SP |
4066 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4067 | ||
38be4072 UB |
4068 | * graphite-dependences.c (build_lexicographical_constraint): Remove |
4069 | the gdim parameter. | |
4070 | (build_lexicographical_constraint): Adjust call to | |
4071 | ppl_powerset_is_empty. | |
8d865c56 SP |
4072 | (dependence_polyhedron): Same. |
4073 | (graphite_legal_transform_dr): Same. | |
4074 | (graphite_carried_dependence_level_k): Same. | |
38be4072 UB |
4075 | * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params |
4076 | parameter. | |
8d865c56 SP |
4077 | * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. |
4078 | ||
50034a36 SP |
4079 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4080 | ||
4081 | * graphite-sese-to-poly.c | |
4082 | (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. | |
4083 | (close_phi_written_to_memory): New. | |
4084 | (translate_scalar_reduction_to_array): Call close_phi_written_to_memory | |
4085 | and unshare_expr. | |
4086 | ||
0deada9e SP |
4087 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4088 | ||
4089 | * doc/install.texi: Update the expected version number of PPL to 0.11. | |
4090 | * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under | |
4091 | #if PPL_VERSION_MINOR < 11. | |
4092 | ||
d7d3d6af SP |
4093 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4094 | ||
4095 | * graphite-dependences.c: Include graphite-cloog-util.h. | |
4096 | (new_poly_ddr): Inlined into dependence_polyhedron. | |
4097 | (free_poly_ddr): Moved close by new_poly_ddr. | |
4098 | (dependence_polyhedron_1): Renamed dependence_polyhedron. | |
4099 | Early return NULL when ppl_powerset_is_empty returns true. | |
4100 | (dependence_polyhedron): Renamed new_poly_ddr. Call only once | |
4101 | poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. | |
4102 | (graphite_legal_transform_dr): Call new_poly_ddr. | |
4103 | (graphite_carried_dependence_level_k): Same. | |
4104 | (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. | |
4105 | (dot_transformed_deps_stmt_1): Removed. | |
4106 | (dot_deps_stmt_1): Call dot_deps_stmt_2. | |
4107 | (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. | |
4108 | (dot_deps_1): Call dot_deps_2. | |
4109 | * Makefile.in (graphite-dependences.o): Add missing dependence on | |
4110 | graphite-cloog-util.h. | |
4111 | ||
28c5db57 SP |
4112 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4113 | ||
4114 | * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. | |
4115 | (build_lexicographical_constraint): Same. | |
4116 | (dependence_polyhedron_1): Same. | |
4117 | (graphite_legal_transform_dr): Same. | |
4118 | (graphite_carried_dependence_level_k): Same. | |
4119 | * graphite-ppl.c (ppl_powerset_is_empty): New. | |
4120 | * graphite-ppl.h (ppl_powerset_is_empty): Declared. | |
4121 | * tree-data-ref.c (dump_data_reference): Print the basic block index. | |
4122 | ||
5168d98f SP |
4123 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4124 | ||
4125 | * graphite-dependences.c (build_pairwise_scheduling): Correctly compute | |
4126 | the "a followed by b" relation and document it. | |
4127 | ||
4a40293a SP |
4128 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4129 | ||
4130 | * graphite-dependences.c (build_lexicographical_constraint): Stop the | |
4131 | iteration when the bag of constraints is empty. | |
4132 | ||
271fb6fa SP |
4133 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4134 | ||
4135 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. | |
4136 | ||
92d23680 SP |
4137 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4138 | ||
4139 | * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop | |
4140 | nest and two loop depths as parameters. | |
4141 | (lst_try_interchange_loops): Call lst_interchange_profitable_p after | |
4142 | lst_perfect_nestify. | |
4143 | ||
2f51deff SP |
4144 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4145 | ||
4146 | * graphite-dependences.c (print_pddr): Call | |
4147 | ppl_io_fprint_Pointset_Powerset_C_Polyhedron. | |
4148 | ||
07f3593c SP |
4149 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
4150 | ||
4151 | * graphite-ppl.c (debug_gmp_value): New. | |
4152 | * graphite-ppl.h (debug_gmp_value): Declared. | |
4153 | ||
3fae6099 TG |
4154 | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> |
4155 | ||
4156 | * doc/install.texi: Document availability of cloog-0.16. | |
4157 | ||
1c3ba85b SP |
4158 | 2011-01-25 Vladimir Kargov <kargov@gmail.com> |
4159 | ||
4160 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free | |
4161 | invalid postdominance info. | |
4162 | ||
e8ba94fc JH |
4163 | 2011-01-24 Jan Hubicka <jh@suse.cz> |
4164 | ||
4165 | PR c/21659 | |
4166 | * doc/extend.texi (weak pragma): Drop claim that it must | |
4167 | appear before definition. | |
4168 | * varasm.c (merge_weak, declare_weak): Only sanity check | |
4169 | that DECL is not output at a time it is declared weak. | |
4170 | ||
2b6e2d13 KZ |
4171 | 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> |
4172 | ||
4173 | * machmode.def: Fixed comments. | |
1c3ba85b | 4174 | |
9841210f KT |
4175 | 2011-01-24 Kai Tietz <kai.tietz@onevision.com> |
4176 | ||
4177 | * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. | |
4178 | ||
4179 | 2011-01-24 Paul Koning <ni1d@arrl.net> | |
e046112d PK |
4180 | |
4181 | * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != | |
1c3ba85b | 4182 | WORDS_BIG_ENDIAN. |
e046112d | 4183 | |
a6c5070a L |
4184 | 2011-01-24 H.J. Lu <hongjiu.lu@intel.com> |
4185 | ||
4186 | PR target/46519 | |
4187 | * config/i386/i386.c: Include sbitmap.h and fibheap.h. | |
4188 | (block_info): Add scanned and prev. | |
4189 | (move_or_delete_vzeroupper_2): Return if the basic block | |
4190 | has been scanned and the upper 128bit state is unchanged | |
4191 | from the last scan. | |
4192 | (move_or_delete_vzeroupper_1): Return true if the exit | |
4193 | state is changed. | |
4194 | (move_or_delete_vzeroupper): Visit basic blocks using the | |
4195 | work-list based algorithm based on vt_find_locations in | |
4196 | var-tracking.c. | |
4197 | ||
4198 | * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). | |
4199 | ||
a40d79d7 NC |
4200 | 2011-01-24 Nick Clifton <nickc@redhat.com> |
4201 | ||
4202 | * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. | |
4203 | * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass | |
4204 | -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified | |
4205 | then define __v850e1__. | |
4206 | * doc/invoke.texi: Document -mv850es. | |
4207 | ||
440eb8de RH |
4208 | 2011-01-24 Richard Henderson <rth@redhat.com> |
4209 | ||
4210 | * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept | |
4211 | compound unordered comparisons. | |
4212 | * config/rx/rx.c (rx_split_fp_compare): Remove. | |
4213 | * config/rx/rx-protos.h: Update. | |
4214 | * config/rx/rx.md (gcc_conds, rx_conds): Remove. | |
4215 | (cbranchsf4): Don't call rx_split_fp_compare. | |
4216 | (*cbranchsf4): Use rx_split_cbranch. | |
4217 | (*cmpsf): Don't accept "i" constraint. | |
4218 | (*conditional_branch): Only valid after reload. | |
4219 | (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare. | |
4220 | ||
3ff79f99 MM |
4221 | 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
4222 | ||
4223 | PR target/47385 | |
4224 | * config/rs6000/altivec.md (vector constant splitters): Add | |
4225 | support for creating vector single precision constants if -mvsx is | |
4226 | used and we would create the constant using Altivec primitives. | |
4227 | ||
ff3d9d08 BS |
4228 | 2011-01-23 Bernd Schmidt <bernds@codesourcery.com> |
4229 | Richard Sandiford <rdsandiford@googlemail.com> | |
4230 | ||
4231 | PR rtl-optimization/47166 | |
4232 | * reload1.c (emit_reload_insns): Disable the spill_reg_store | |
4233 | mechanism for PRE_MODIFY and POST_MODIFY. | |
4234 | (inc_for_reload): For PRE_MODIFY, return the insn that sets the | |
4235 | reloadreg. | |
4236 | ||
7fcaf152 AS |
4237 | 2011-01-23 Andreas Schwab <schwab@linux-m68k.org> |
4238 | ||
8788adb6 | 4239 | * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. |
7fcaf152 | 4240 | |
d09b58c4 JH |
4241 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
4242 | ||
4243 | PR lto/47333 | |
4244 | * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. | |
4245 | ||
e8ff8c5a JH |
4246 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
4247 | ||
4248 | PR tree-optimization/43884 | |
4249 | PR lto/44334 | |
8788adb6 | 4250 | * predict.c (maybe_hot_frequency_p): Use entry block frequency as base. |
e8ff8c5a JH |
4251 | * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. |
4252 | ||
ccaed3ba AS |
4253 | 2011-01-22 Anatoly Sokolov <aesok@post.ru> |
4254 | ||
4255 | * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. | |
4256 | * config/s390/s390.c (s390_register_move_cost, | |
4257 | s390_memory_move_cost): New. | |
4258 | (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. | |
4259 | ||
0cecee06 UW |
4260 | 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4261 | ||
4262 | PR middle-end/47401 | |
4263 | * except.c (sjlj_assign_call_site_values): Move setting the | |
4264 | crtl->uses_eh_lsda flag to ... | |
4265 | (sjlj_mark_call_sites): ... here. | |
4266 | (sjlj_emit_function_enter): Support NULL dispatch label. | |
4267 | (sjlj_build_landing_pads): In a function with no landing pads | |
4268 | that still has must-not-throw regions, generate code to register | |
4269 | a personality function with empty LSDA. | |
4270 | ||
e692f276 RH |
4271 | 2011-01-21 Richard Henderson <rth@redhat.com> |
4272 | ||
1b7ae0b7 RH |
4273 | * config/rx/rx.c (TARGET_FLAGS_REGNUM): New. |
4274 | ||
3843787f RH |
4275 | * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. |
4276 | ||
e692f276 RH |
4277 | * compare-elim.c: New file. |
4278 | * Makefile.in (OBJS-common): Add it. | |
4279 | (compare-elim.o): New. | |
4280 | * common.opt (fcompare-elim): New. | |
4281 | * opts.c (default_options_table): Add OPT_fcompare_elim. | |
4282 | * tree-pass.h (pass_compare_elim_after_reload): New. | |
4283 | * passes.c (init_optimization_passes): Add it. | |
4284 | * recog.h: Protect against re-inclusion. | |
4285 | * target.def (TARGET_FLAGS_REGNUM): New POD hook. | |
4286 | * doc/invoke.texi (-fcompare-elim): Document it. | |
4287 | * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it. | |
4288 | * doc/tm.texi: Rebuild. | |
4289 | ||
9a7c2050 NC |
4290 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
4291 | ||
4292 | * config/rx/rx.md (cstoresf4): Pass comparison operator to | |
4293 | rx_split_fp_compare. | |
4294 | ||
15ba5696 NC |
4295 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
4296 | ||
4297 | * config/rx/rx.md (UNSPEC_CONST): New. | |
4298 | (deallocate_and_return): Wrap the amount popped off the stack in | |
4299 | an UNSPEC_CONST in order to stop it being rejected by | |
4300 | -mmax-constant-size. | |
4301 | (pop_and_return): Add a "(return)" rtx. | |
4302 | (call): Drop the immediate operand. | |
4303 | (call_internal): Likewise. | |
4304 | (call_value): Likewise. | |
4305 | (call_value_internal): Likewise. | |
4306 | (sibcall_internal): Likewise. | |
4307 | (sibcall_value_internal): Likewise. | |
4308 | (sibcall): Likewise. Generate an explicit call using | |
4309 | sibcall_internal. | |
4310 | (sibcall_value): Likewise. | |
4311 | (mov<>): FAIL if a constant operand is not legitimate. | |
4312 | (addsi3_unpsec): New pattern. | |
9a7c2050 | 4313 | |
38be4072 | 4314 | * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs. |
15ba5696 NC |
4315 | (ok_for_max_constant): New function. |
4316 | (gen_safe_add): New function. | |
4317 | (rx_expand_prologue): Use gen_safe_add. | |
4318 | (rx_expand_epilogue): Likewise. | |
4319 | (rx_is_legitimate_constant): Use ok_for_max_constant. Handle | |
4320 | UNSPEC CONSTs. | |
4321 | ||
caaf13d3 JL |
4322 | 2011-01-21 Jeff Law <law@redhat.com> |
4323 | ||
4324 | PR tree-optimization/47053 | |
4325 | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. | |
4326 | (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when | |
4327 | statements are deleted. | |
4328 | (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP | |
4329 | is nonempty, then purge dead edges and cleanup the CFG. | |
4330 | ||
12c30f2f AO |
4331 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
4332 | ||
4333 | PR debug/47402 | |
4334 | Temporarily revert: | |
4335 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> | |
4336 | PR debug/47106 | |
4337 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
4338 | ||
7360d2ac JJ |
4339 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
4340 | ||
aaa52a96 JJ |
4341 | PR middle-end/45566 |
4342 | * except.c (convert_to_eh_region_ranges): Emit queued no-region | |
4343 | notes from other section in hot/cold partitioning even if | |
4344 | last_action is -3. Increment call_site_base. | |
4345 | ||
7360d2ac JJ |
4346 | PR rtl-optimization/47366 |
4347 | * fwprop.c (forward_propagate_into): Return bool. If | |
4348 | any changes are made, -fnon-call-exceptions is used and | |
4349 | REG_EH_REGION note is present, call purge_dead_edges | |
4350 | and return true if it purged anything. | |
4351 | (fwprop_addr): Adjust callers, call cleanup_cfg (0) if | |
4352 | any EH edges were purged. | |
4353 | ||
e90b336f JL |
4354 | 2011-01-21 Jeff Law <law@redhat.com> |
4355 | ||
4356 | PR rtl-optimization/41619 | |
4357 | * caller-save.c (setup_save_areas): Break out code to determine | |
4358 | which hard regs are live across calls by examining the reload chains | |
4359 | so that it is always used. | |
4360 | Eliminate code which checked REG_N_CALLS_CROSSED. | |
4361 | ||
3ffe07e1 JJ |
4362 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
4363 | ||
4364 | PR tree-optimization/47355 | |
4365 | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if | |
4366 | NOP has non-debug uses beyond PHIs in new_bb. | |
4367 | ||
1c7d0b34 AO |
4368 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
4369 | ||
4370 | PR debug/47106 | |
4371 | * cfgexpand.c (account_used_vars_for_block): Only account vars | |
4372 | that are annotated as used. | |
4373 | (estimated_stack_frame_size): Don't set TREE_USED. | |
4374 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
4375 | ||
f99cc488 RG |
4376 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
4377 | ||
4378 | PR middle-end/47395 | |
4379 | * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. | |
4380 | ||
3bc27de7 RG |
4381 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
4382 | ||
4383 | PR tree-optimization/47365 | |
4384 | * tree-ssa-sccvn.h (vn_lookup_kind): Declare. | |
4385 | (vn_reference_lookup_pieces): Adjust. | |
4386 | (vn_reference_lookup): Likewise. | |
4387 | * tree-ssa-sccvn.c (vn_walk_kind): New static global. | |
4388 | (vn_reference_lookup_3): Only look through kills if in | |
4389 | VN_WALKREWRITE mode. | |
4390 | (vn_reference_lookup_pieces): Adjust. | |
4391 | (vn_reference_lookup): Likewise. | |
4392 | (visit_reference_op_load): Likewise. | |
4393 | (visit_reference_op_store): Likewise. | |
4394 | * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. | |
4395 | (compute_avail): Likewise. | |
4396 | (eliminate): Likewise. | |
4397 | ||
d8debb1d JJ |
4398 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
4399 | ||
4400 | * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove | |
4401 | DECL_IGNORED_P non-reg vars if they are used. | |
4402 | ||
3a2df831 JJ |
4403 | PR tree-optimization/47391 |
4404 | * varpool.c (const_value_known_p): Return false if | |
4405 | decl is volatile. | |
4406 | ||
1dd584a2 KT |
4407 | 2011-01-21 Kai Tietz <kai.tietz@onevision.com> |
4408 | ||
4409 | PR bootstrap/47215 | |
4410 | * config/i386/i386.c (ix86_local_alignment): Handle | |
4411 | case for va_list_type_node is nil. | |
4412 | (ix86_canonical_va_list_type): Likewise. | |
4413 | ||
7f9f095e AM |
4414 | 2011-01-21 Alan Modra <amodra@gmail.com> |
4415 | ||
4416 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add | |
4417 | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. | |
4418 | ||
837b01f6 RR |
4419 | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
4420 | ||
4421 | * config/arm/arm.md (define_attr type): Rename f_load | |
4422 | and f_store to f_fpa_load and f_fpa_store. Update. | |
4423 | (write_conflict): Deal with rename fallout. | |
4424 | (*push_fp_multi): Likewise. | |
4425 | * config/arm/fpa.md (f_load): Use f_fpa_load. | |
4426 | (f_store): Use f_fpa_store. | |
4427 | (*movsf_fpa): Likewise. | |
4428 | (*movdf_fpa): Likewise. | |
4429 | (*movxf_fpa): Likewise. | |
4430 | (*thumb2_movsf_fpa): Likewise. | |
4431 | (*thumb2_movdf_fpa): Likewise. | |
4432 | (*thumb2_movxf_fpa): Likewise. | |
4433 | * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to | |
4434 | f_loadd and f_stored. | |
4435 | (*thumb2_movdi_vfp): Likewise. | |
4436 | (*thumb2_movsf_vfp): Fix attribute to f_loads. | |
4437 | (*thumb2_movsi_vfp): Likewise. | |
4438 | * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): | |
4439 | Use f_loads instead of f_load. | |
4440 | * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. | |
4441 | ||
a1a79768 AS |
4442 | 2011-01-20 Anatoly Sokolov <aesok@post.ru> |
4443 | ||
4444 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
4445 | * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove. | |
4446 | * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
4447 | (xtensa_mode_dependent_address_p): New function. | |
4448 | (constantpool_address_p): Make static. Change return type to bool. | |
4449 | Change argument type to const_rtx. Use CONST_INT_P predicate. | |
4450 | ||
427f6cec AO |
4451 | 2011-01-20 Alexandre Oliva <aoliva@redhat.com> |
4452 | ||
4453 | PR debug/46583 | |
4454 | * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls. | |
4455 | ||
583ac69c JJ |
4456 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
4457 | ||
4458 | PR debug/47283 | |
4459 | * cfgexpand.c (expand_debug_expr): Instead of generating | |
4460 | (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF | |
4461 | etc. handling. | |
4462 | ||
93e452ed RG |
4463 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
4464 | ||
4465 | PR middle-end/47370 | |
4466 | * tree-inline.c (remap_gimple_op_r): Recurse manually for | |
4467 | the pointer operand of MEM_REFs. | |
4468 | ||
28fc44f3 JJ |
4469 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
4470 | ||
4471 | PR tree-optimization/46130 | |
4472 | * ipa-split.c (consider_split): If return_bb contains non-virtual | |
4473 | PHIs other than for retval or if split_function would not adjust it, | |
4474 | refuse to split. | |
4475 | ||
ddd268f2 RG |
4476 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
4477 | ||
4478 | PR tree-optimization/47167 | |
4479 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
4480 | Revert previous change, only avoid enumeral type changes. | |
4481 | ||
882020aa MS |
4482 | 2011-01-19 Mike Stump <mikestump@comcast.net> |
4483 | ||
4484 | * doc/tm.texi.in (BRANCH_COST): Englishify. | |
4485 | * doc/tm.texi (BRANCH_COST): Likewise. | |
4486 | ||
7edb6247 DS |
4487 | 2011-01-19 Dodji Seketeli <dodji@redhat.com> |
4488 | ||
4489 | PR c++/47291 | |
4490 | * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) | |
61052244 AM |
4491 | (gen_scheduled_generic_parms_dies): New functions. |
4492 | (gen_struct_or_union_type_die): Schedule template parameters DIEs | |
4493 | generation for the end of CU compilation. | |
4494 | (dwarf2out_finish): Generate template parameters DIEs here. | |
7edb6247 | 4495 | |
23d5ed5d AO |
4496 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
4497 | ||
4498 | PR debug/46240 | |
4499 | * tree-into-ssa.c (maybe_register_def): Do not attempt to add | |
4500 | debug bind stmt on merge edges. | |
4501 | ||
37d6a488 AO |
4502 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
4503 | ||
4504 | PR debug/47079 | |
4505 | PR debug/46724 | |
4506 | * function.c (instantiate_expr): Instantiate incoming rtl of | |
4507 | implicit arguments, and recurse on VALUE_EXPRs. | |
4508 | (instantiate_decls): Instantiate rtl and VALUE_EXPR of result. | |
4509 | * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx. | |
4510 | ||
689f2c82 AO |
4511 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
4512 | ||
4513 | * c-parser.c (c_parser_for_statement): Initialize | |
4514 | collection_expression. | |
4515 | ||
03029de4 JM |
4516 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
4517 | ||
4518 | * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}. | |
4519 | ||
3e03217e JM |
4520 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
4521 | ||
4522 | * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. | |
4523 | (LINK_SHLIB_SPEC): Don't use %(link_path). | |
4524 | (SUBTARGET_EXTRA_SPECS): Remove link_path. | |
4525 | ||
5bbe9b3f JM |
4526 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
4527 | ||
4528 | * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. | |
4529 | (NO_SHARED_LIB_SUPPORT): Remove. | |
4530 | (LINK_SHLIB_SPEC): Remove one conditional definition. | |
4531 | ||
368e0b39 JM |
4532 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
4533 | ||
4534 | * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared} | |
4535 | %{call_shared}. | |
4536 | * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}. | |
4537 | * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}. | |
4538 | * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared} | |
4539 | %{call_shared} and conditionals on these options not being passed. | |
4540 | * config/mips/sde.h (LINK_SPEC): Remove %{non_shared} | |
4541 | %{call_shared}. | |
4542 | ||
ed7656f6 JJ |
4543 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
4544 | ||
68457901 JJ |
4545 | * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge, |
4546 | simplify. | |
4547 | ||
ed7656f6 JJ |
4548 | * ipa-split.c: Spelling fixes. |
4549 | ||
e0d1958f RH |
4550 | 2011-01-19 Richard Henderson <rth@redhat.com> |
4551 | ||
4552 | * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand. | |
4553 | (*mulsi3): Likewise. | |
4554 | ||
27098b6b RH |
4555 | * longlong.h [__mn10300__] (count_leading_zeros): New. |
4556 | [__mn10300__] (umul_ppmm, smul_ppmm): New. | |
4557 | [__mn10300__] (add_ssaaaa, subddmmss): New. | |
4558 | [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New. | |
4559 | [__mn10300__] (UMUL_TIME, UDIV_TIME): New. | |
4560 | ||
d6be7c36 UW |
4561 | 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4562 | ||
4563 | * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case. | |
4564 | ||
b1efde2a RH |
4565 | 2011-01-19 Richard Henderson <rth@redhat.com> |
4566 | ||
44217823 RH |
4567 | * config/mn10300/mn10300.md (addsi3_flags): New. |
4568 | (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New. | |
4569 | (subsi3_flags, subc_internal, subdi3): New. | |
4570 | (subdi3_internal, *subdi3_degenerate): New. | |
4571 | * config/mn10300/predicates.md (reg_or_am33_const_operand): New. | |
4572 | ||
37a185d7 RH |
4573 | * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New. |
4574 | (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn. | |
4575 | (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once. | |
4576 | * config/mn10300/mn10300-protos.h: Update. | |
4577 | * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn. | |
4578 | (return_ret): Likewise. Rename from return_internal_regs. | |
4579 | (return_internal): Remove. | |
4580 | ||
040c5757 RH |
4581 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove. |
4582 | (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL. | |
4583 | (mn10300_legitimate_constant_p): Likewise. | |
4584 | (mn10300_can_use_return_insn): Use mn10300_initial_offset. | |
4585 | (mn10300_frame_size): New. | |
4586 | (mn10300_expand_prologue): Use it. | |
4587 | (mn10300_expand_epilogue): Likewise. | |
4588 | (mn10300_initial_offset): Likewise. | |
4589 | * config/mn10300/mn10300-protos.h: Update. | |
4590 | * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove. | |
4591 | * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove. | |
4592 | (prologue, epilogue, return_internal): Tidy output code. | |
4593 | (mn10300_store_multiple_operation, return): Likewise. | |
4594 | (int_label, pop_pic_reg, GOTaddr2picreg): Remove. | |
4595 | (am33_loadPC, mn10300_loadPC, call_next_insn): Remove. | |
4596 | (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove. | |
4597 | (load_pic, am33_load_pic): New. | |
4598 | (mn10300_load_pic0, mn10300_load_pic1): New. | |
4599 | ||
bad41521 RH |
4600 | * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes. |
4601 | * config/mn10300/mn10300.c (CC_FLAG_Z): New. | |
4602 | (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New. | |
4603 | (cc_flags_for_mode, cc_flags_for_code): New. | |
4604 | (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the | |
4605 | overflow flag is not valid. Validate that the flags we need | |
4606 | for the comparison are valid. | |
4607 | (mn10300_output_cmp): Remove. | |
4608 | (mn10300_output_add): New. | |
4609 | (mn10300_select_cc_mode): Use cc_flags_for_code. | |
4610 | (mn10300_split_cbranch): New. | |
4611 | (mn10300_match_ccmode): New. | |
4612 | (mn10300_split_and_operand_count): New. | |
4613 | * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments | |
4614 | to the function. | |
4615 | * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge... | |
4616 | (addsi3): ... here. Use mn10300_output_add. | |
4617 | (*addsi3_flags): New. | |
4618 | (*am33_subsi3, *mn10300_subsi3): Merge... | |
4619 | (subsi3): ... here. Use attribute isa. | |
4620 | (*subsi3_flags): New. | |
4621 | (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC | |
4622 | when possible. | |
4623 | (*am33_andsi3, *mn10300_andsi3): Merge... | |
4624 | (andsi3): ... here. | |
4625 | (*andsi3_flags): New. | |
4626 | (andsi3 splitters): New. | |
4627 | (*am33_iorsi3, *mn10300_iorsi3): Merge... | |
4628 | (iorsi3): ... here. | |
4629 | (*iorsi3_flags): New. | |
4630 | (*am33_xorsi3, *mn10300_xorsi3): Merge... | |
4631 | (xorsi3): ... here. | |
4632 | (*xorsi3_flags): New. | |
4633 | (*am33_cmpsi2, *mn10300_cmplsi2): Merge... | |
4634 | (one_cmplsi2): ... here. | |
4635 | (*one_cmplsi2_flags): New. | |
4636 | (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r" | |
4637 | instead of "dax" in constraints. Use mn10300_split_cbranch. | |
4638 | (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not | |
4639 | use matching constraints to eliminate a self-comparison. | |
4640 | (*integer_conditional_branch): Rename from integer_conditional_branch. | |
4641 | Use int_mode_flags to match CC_REG. | |
4642 | (*cbranchsi4_btst, *btstsi): New. | |
4643 | (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use | |
4644 | mn10300_split_cbranch. | |
4645 | (*am33_cmpsf): Rename from am33_cmpsf. | |
4646 | (*float_conditional_branch): Rename from float_conditional_branch. | |
4647 | (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge... | |
4648 | (zero_extendqisi2): ... here. | |
4649 | (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge... | |
4650 | (zero_extendhisi2): ... here. | |
4651 | (*extendqisi2_am33, *extendqisi2_mn10300): Merge... | |
4652 | (extendqisi2): ... here. | |
4653 | (*extendhisi2_am33, *extendhisi2_mn10300): Merge... | |
4654 | (extendhisi2): ... here. | |
4655 | (*am33_ashlsi3, *mn10300_ashlsi3): Merge... | |
4656 | (ashlsi3): ... here. | |
4657 | (*am33_lshrsi3, *mn10300_lshrsi3): Merge... | |
4658 | (lshrsi3): ... here. | |
4659 | (*am33_ashrisi3, *mn10300_ashrsi3): Merge... | |
4660 | (ashrsi3): ... here. | |
4661 | (consecutive add peephole): Remove. | |
4662 | * config/mn10300/predicates.md (label_ref_operand): New. | |
4663 | (int_mode_flags): New. | |
4664 | (CCZN_comparison_operator): New. | |
4665 | ||
9efb4993 RH |
4666 | * config/mn10300/mn10300.md (UNSPEC_EXT): New. |
4667 | (throughput_42_latency_43): New reservation. | |
4668 | (mulsidi3, umulsidi3): New expanders. | |
4669 | (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose | |
4670 | the MDR register to allocation; separately allocate the low and | |
4671 | high parts of the DImode result. | |
4672 | (umulsidi3_internal): Similarly. | |
4673 | (*am33_mulsi3, *mn10300_mulsi3): Merge into ... | |
4674 | (*mulsi3): ... here. Clobber MDR as a scratch as necessary. | |
4675 | (udivsi3, umodsi3): Remove. | |
4676 | (udivmodsi4, divmodsi4): New expanders. | |
4677 | (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly. | |
4678 | (*divmodsi4): Simiarly. | |
4679 | (ext_internal): New. | |
4680 | ||
c25a21f5 RH |
4681 | * config/mn10300/constraints.md ("z"): New constraint. |
4682 | * config/mn10300/mn10300.h (MDR_REGNUM): Remove. | |
4683 | (FIXED_REGISTERS): Don't fix MDR. | |
4684 | (CALL_USED_REGSITERS): Reformat nicely. | |
4685 | (REG_ALLOC_ORDER): Add MDR. | |
4686 | (enum regclass): Add MDR_REGS. | |
4687 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match. | |
4688 | (IRA_COVER_CLASSES): Add MDR_REGS. | |
4689 | (REGNO_REG_CLASS): Handle MDR_REG. | |
4690 | * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS. | |
4691 | (mn10300_register_move_cost): Likewise. | |
4692 | * config/mn10300/mn10300.md (MDR_REG): New. | |
4693 | (*movsi_internal): Handle moves to/from MDR_REGS. | |
4694 | ||
36846b26 RH |
4695 | * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle |
4696 | POST_MODIFY. | |
4697 | (mn10300_secondary_reload): Tidy combination reload classes. | |
4698 | (mn10300_legitimate_address_p): Allow post-modify and reg+reg | |
4699 | addresses for AM33. Allow symbolic offsets for reg+imm. | |
4700 | (mn10300_regno_in_class_p): New. | |
4701 | (mn10300_legitimize_reload_address): New. | |
4702 | * config/mn10300/mn10300.h (enum reg_class): Remove | |
4703 | DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS, | |
4704 | SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add | |
4705 | SP_OR_GENERAL_REGS. | |
4706 | (REG_CLASS_NAMES): Update to match. | |
4707 | (REG_CLASS_CONTENTS): Likewise. | |
4708 | (INDEX_REG_CLASS): Use GENERAL_REGS for AM33. | |
4709 | (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33. | |
4710 | (REGNO_IN_RANGE_P): Remove. | |
4711 | (REGNO_DATA_P): Use mn10300_regno_in_class_p. | |
4712 | (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise. | |
4713 | (REGNO_STRICT_OK_FOR_BASE_P): Likewise. | |
4714 | (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise. | |
4715 | (REGNO_STRICT_OK_FOR_INDEX_P): Likewise. | |
4716 | (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove. | |
4717 | (REGNO_GENERAL_P): New. | |
4718 | (HAVE_POST_MODIFY_DISP): New. | |
4719 | (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New. | |
4720 | (LEGITIMIZE_RELOAD_ADDRESS): New. | |
4721 | * config/mn10300/mn10300-protos.h: Update. | |
4722 | ||
8b119bb6 RH |
4723 | * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow |
4724 | DATA_REGS for AM33 stack-pointer destination. | |
4725 | (mn10300_preferred_output_reload_class): Likewise. | |
4726 | (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class | |
4727 | into a form appropriate for ... | |
4728 | (TARGET_SECONDARY_RELOAD): New. | |
4729 | * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove. | |
4730 | * config/mn10300/mn10300-protos.h: Update. | |
4731 | * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from | |
4732 | reload_insi; use the "A" constraint for the scratch; handle AM33 | |
4733 | moves of sp to non-address registers. | |
4734 | ||
b1efde2a RH |
4735 | * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into |
4736 | (*movqi_internal): ... here. | |
4737 | (*am33_movhi, *mn10300_movhi): Merge into... | |
4738 | (*movhi_internal): ... here. | |
4739 | (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A" | |
4740 | as the source/destination of moves from/to SP. | |
4741 | (movsf): Only allow for AM33-2. | |
1c3ba85b | 4742 | (*movsf_internal): Use "r" instead of "dax"; use "F" instead of |
b1efde2a RH |
4743 | any integer constant constraint. Only allow for AM33-2. Tidy |
4744 | all of the alternative outputs. | |
4745 | (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove. | |
4746 | (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow | |
4747 | for MN103. | |
4748 | (udivsi3, umodsi3): New patterns for MN103 only. | |
4749 | ||
b899fd78 JR |
4750 | 2011-01-19 Joern Rennecke <amylaar@spamcop.net> |
4751 | ||
4752 | * doc/tm.texi.in: Spell out that a lack of register class unions | |
4753 | can lead to ICEs. | |
4754 | * doc/tm.texi: Regenerate. | |
4755 | ||
afaaa67d JJ |
4756 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
4757 | ||
2e0642cd JJ |
4758 | PR rtl-optimization/47337 |
4759 | * dce.c (check_argument_store): New function. | |
4760 | (find_call_stack_args): Ignore debug insns. Use check_argument_store. | |
4761 | ||
afaaa67d JJ |
4762 | PR tree-optimization/47290 |
4763 | * tree-eh.c (infinite_empty_loop_p): New function. | |
4764 | (cleanup_empty_eh): Use it. | |
4765 | ||
d2cd871f SE |
4766 | 2011-01-18 Steve Ellcey <sje@cup.hp.com> |
4767 | ||
4768 | PR target/46997 | |
4769 | * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN. | |
4770 | (a64_expand_widen_sum): Ditto. | |
4771 | * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN. | |
4772 | (vec_extract_evenodd_help): Ditto. | |
4773 | (vec_extract_evenv4hi): Ditto. | |
4774 | (vec_extract_oddv4hi): Ditto. | |
4775 | (vec_extract_evenv2si): Ditto. | |
4776 | (vec_extract_oddv2si): Ditto. | |
4777 | (vec_extract_evenv2sf): Ditto. | |
4778 | (vec_extract_oddv2sf): Ditto. | |
4779 | (vec_pack_trunc_v4hi: Ditto. | |
4780 | (vec_pack_trunc_v2si): Ditto. | |
4781 | (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN. | |
4782 | (vec_interleave_highv8qi): Ditto. | |
4783 | (mix1_r): Ditto. | |
4784 | (vec_extract_oddv8qi): Ditto. | |
4785 | (vec_interleave_lowv4hi): Ditto. | |
4786 | (vec_interleave_highv4hi): Ditto. | |
4787 | (vec_interleave_lowv2si): Ditto. | |
4788 | (vec_interleave_highv2si): Ditto. | |
4789 | ||
41a1208a JDA |
4790 | 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4791 | ||
4792 | * doc/extend.texi: Mention __float128 support on hppa HP-UX. | |
4793 | * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1. | |
4794 | * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h". | |
4795 | (pa_c_mode_for_suffix): New. | |
4796 | (TARGET_EXPAND_BUILTIN): Define. | |
4797 | (TARGET_C_MODE_FOR_SUFFIX): Define. | |
4798 | (pa_builtins): Define. | |
4799 | (pa_init_builtins): Register __float128 type and init new support | |
4800 | builtins. | |
4801 | * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined. | |
4802 | * config/pa/quadlib.c (_U_Qfcopysign): New. | |
4803 | ||
1ecad98e EB |
4804 | 2011-01-18 Eric Botcazou <ebotcazou@adacore.com> |
4805 | ||
4806 | PR middle-end/46894 | |
4807 | * explow.c (allocate_dynamic_stack_space): Do not assume more than | |
4808 | BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET | |
4809 | are defined. | |
4810 | ||
d4f2460a UW |
4811 | 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4812 | ||
4813 | PR tree-optimization/47179 | |
4814 | * config/spu/spu.c (spu_ref_may_alias_errno): New function. | |
4815 | (TARGET_REF_MAY_ALIAS_ERRNO): Define. | |
4816 | ||
4994da65 RG |
4817 | 2011-01-18 Richard Guenther <rguenther@suse.de> |
4818 | ||
4819 | PR rtl-optimization/47216 | |
4820 | * emit-rtl.c: Include tree-flow.h. | |
4821 | (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead | |
4822 | of replicating it with different semantics. | |
4823 | * Makefile.in (emit-rtl.o): Adjust. | |
4824 | ||
1eb458d1 RR |
4825 | 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
4826 | ||
38be4072 | 4827 | * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. |
61052244 | 4828 | (cortex_a9_dp): Handle neon types correctly. |
1eb458d1 | 4829 | |
e7ef91dc JJ |
4830 | 2011-01-18 Jakub Jelinek <jakub@redhat.com> |
4831 | ||
4832 | PR rtl-optimization/47299 | |
4833 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use | |
38be4072 | 4834 | subtarget. Use normal multiplication if both operands are constants. |
e7ef91dc JJ |
4835 | * expmed.c (expand_widening_mult): Don't try to optimize constant |
4836 | multiplication if op0 has VOIDmode. Convert op1 constant to mode | |
4837 | before using it. | |
4838 | ||
535b7874 RW |
4839 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
4840 | ||
4841 | * doc/lto.texi (LTO): Ensure two spaces after period. Fix | |
4842 | spacing after 'e.g.', typos, comma, hyphenation. | |
4843 | ||
27bf36f3 RH |
4844 | 2011-01-17 Richard Henderson <rth@redhat.com> |
4845 | ||
8a5b5449 RH |
4846 | * config/rx/predicates.md (rx_constshift_operand): Use match_test. |
4847 | (rx_restricted_mem_operand): New. | |
4848 | (rx_shift_operand): Use register_operand. | |
4849 | (rx_source_operand, rx_compare_operand): Likewise. | |
4850 | * config/rx/rx.md (addsi3_flags): New expander. | |
4851 | (adddi3): Rewrite as expander. | |
4852 | (adc_internal, *adc_flags, adddi3_internal): New patterns. | |
4853 | (subsi3_flags): New expander. | |
4854 | (subdi3): Rewrite as expander. | |
4855 | (sbb_internal, *sbb_flags, subdi3_internal): New patterns. | |
4856 | ||
784f69be RH |
4857 | * config/rx/rx.c (RX_BUILTIN_SAT): Remove. |
4858 | (rx_init_builtins): Remove sat builtin. | |
4859 | (rx_expand_builtin): Likewise. | |
4860 | * config/rx/rx.md (ssaddsi3): New. | |
4861 | (*sat): Rename from sat. Represent the CC_REG input. | |
4862 | ||
f033541c RH |
4863 | * config/rx/predicates.md (rshift_operator): New. |
4864 | * config/rx/rx.c (rx_expand_insv): Remove. | |
4865 | * config/rx/rx-protos.h: Update. | |
4866 | * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift | |
4867 | operand to the canonical position. | |
4868 | (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly. | |
4869 | (*bitclr, *bitclr_in_memory): Similarly. | |
4870 | (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New. | |
4871 | (insv): Retain the zero_extract in the expansion. | |
4872 | ||
34fee389 RH |
4873 | * config/rx/rx.md (bswapsi2): Use = not + for output reload. |
4874 | (bswaphi2, bitinvert, revw): Likewise. | |
4875 | ||
265c835f RH |
4876 | * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET. |
4877 | (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
4878 | * config/rx/rx.md (pop_and_return): Use VOIDmode for SET. | |
4879 | (stack_push, stack_pushm, stack_pop, stack_popm): Likewise. | |
4880 | (bitset, bitset_in_memory): Likewise. | |
4881 | (bitinvert, bitinvert_in_memory): Likewise. | |
4882 | (bitclr, bitclr_in_memory): Likewise. | |
4883 | (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise. | |
4884 | (rx_strend, rx_cmpstrn): Likewise. | |
4885 | (rx_setmem): Likewise. Make the source BLKmode to match the dest. | |
4886 | (bitop peep2 patterns): Remove. | |
4887 | ||
b4d83be3 RH |
4888 | * config/rx/rx.c (rx_match_ccmode): New. |
4889 | * config/rx/rx-protos.h: Update. | |
4890 | * config/rx/rx.md (abssi2): Clobber, don't set flags. | |
4891 | (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise. | |
4892 | (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise. | |
4893 | (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise. | |
4894 | (fix_truncsfsi2, floatsisf2): Likewise. | |
4895 | (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New. | |
4896 | (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New. | |
4897 | (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New. | |
4898 | (*subsi3_flags, *xorsi3_flags): New. | |
4899 | ||
d0acb939 RH |
4900 | * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns. |
4901 | ||
c06fc3d9 RH |
4902 | * config/rx/rx.c (rx_print_operand): Remove workaround for |
4903 | unsplit comparison operations. | |
4904 | ||
2882702b RH |
4905 | * config/rx/rx.md (movsicc): Split after reload. |
4906 | (*movsicc): Merge *movsieq and *movsine via match_operator. | |
4907 | (*stcc): New pattern. | |
4908 | ||
6f7310f2 RH |
4909 | * config/rx/rx.c (rx_float_compare_mode): Remove. |
4910 | * config/rx/rx.h (rx_float_compare_mode): Remove. | |
4911 | * config/rx/rx.md (cstoresi4): Split after reload. | |
4912 | (*sccc): New pattern. | |
4913 | ||
e963cb1a RH |
4914 | * config/rx/predicates.md (label_ref_operand): New. |
4915 | (rx_z_comparison_operator): New. | |
4916 | (rx_zs_comparison_operator): New. | |
4917 | (rx_fp_comparison_operator): New. | |
4918 | * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes. | |
4919 | Validate that the flags are set properly for the comparison. | |
4920 | (rx_gen_cond_branch_template): Remove. | |
4921 | (rx_cc_modes_compatible): Remove. | |
4922 | (mode_from_flags): New. | |
4923 | (flags_from_code): Rename from flags_needed_for_conditional. | |
4924 | (rx_cc_modes_compatible): Re-write in terms of flags_from_mode. | |
4925 | (rx_select_cc_mode): Likewise. | |
4926 | (rx_split_fp_compare): New. | |
4927 | (rx_split_cbranch): New. | |
4928 | * config/rx/rx.md (most_cond, zs_cond): Remove iterators. | |
4929 | (*cbranchsi4): Use match_operator and rx_split_cbranch. | |
4930 | (*cbranchsf4): Similarly. | |
4931 | (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use | |
4932 | match_operator and rx_split_cbranch. | |
4933 | (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and | |
4934 | tstbranchsi4m_ne. Use match_operator and rx_split_cbranch. | |
4935 | (*cmpsi): Rename from cmpsi. | |
4936 | (*tstsi): Rename from tstsi. | |
4937 | (*cmpsf): Rename from cmpsf; use CC_Fmode. | |
4938 | (*conditional_branch): Rename from conditional_branch. | |
4939 | (*reveresed_conditional_branch): Remove. | |
4940 | (b<code>): Remove expander. | |
4941 | * config/rx/rx-protos.h: Update. | |
4942 | ||
af530bb4 RH |
4943 | * config/rx/rx.c (rx_compare_redundant): Remove. |
4944 | * config/rx/rx.md (cmpsi): Don't use it. | |
4945 | * config/rx/rx-protos.h: Update. | |
4946 | ||
27bf36f3 RH |
4947 | * config/rx/rx-modes.def (CC_F): New mode. |
4948 | * config/rx/rx.c (rx_select_cc_mode): New. | |
4949 | * config/rx/rx.h (SELECT_CC_MODE): Use it. | |
4950 | * config/rx/rx-protos.h: Update. | |
4951 | ||
d7fde127 RH |
4952 | 2011-01-17 Richard Henderson <rth@redhat.com> |
4953 | ||
4954 | * except.c (dump_eh_tree): Fix stray ; after for statement. | |
4955 | ||
6ff38230 RG |
4956 | 2011-01-17 Richard Guenther <rguenther@suse.de> |
4957 | ||
4958 | PR tree-optimization/47313 | |
4959 | * tree-inline.c (tree_function_versioning): Move DECL_RESULT | |
4960 | handling before copying the body. Properly deal with | |
4961 | by-reference result in SSA form. | |
4962 | ||
114ce554 ILT |
4963 | 2011-01-17 Ian Lance Taylor <iant@google.com> |
4964 | ||
bf5cd92b | 4965 | PR target/47219 |
114ce554 ILT |
4966 | * config/sparc/sparc.c (sparc_sr_alias_set): Don't define. |
4967 | (struct_value_alias_set): Don't define. | |
4968 | (sparc_option_override): Don't set sparc_sr_alias_set and | |
4969 | struct_value_alias_set. | |
4970 | (save_or_restore_regs): Use gen_frame_mem rather than calling | |
4971 | set_mem_alias_set. | |
4972 | (sparc_struct_value_rtx): Likewise. | |
4973 | ||
98c6d93c L |
4974 | 2011-01-17 H.J. Lu <hongjiu.lu@intel.com> |
4975 | ||
4976 | PR target/47318 | |
4977 | * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to | |
4978 | __m128i. | |
4979 | (_mm_maskstore_pd): Likewise. | |
4980 | (_mm_maskload_ps): Likewise. | |
4981 | (_mm_maskstore_ps): Likewise. | |
4982 | (_mm256_maskload_pd): Change mask to __m256i. | |
4983 | (_mm256_maskstore_pd): Likewise. | |
4984 | (_mm256_maskload_ps): Likewise. | |
4985 | (_mm256_maskstore_ps): Likewise. | |
4986 | ||
4987 | * config/i386/i386-builtin-types.def: Updated. | |
4988 | (ix86_expand_special_args_builtin): Likewise. | |
4989 | ||
4990 | * config/i386/i386.c (bdesc_special_args): Update | |
4991 | __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps, | |
4992 | __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256, | |
4993 | __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps, | |
4994 | __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256. | |
4995 | ||
4996 | * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>): | |
4997 | Use <avxpermvecmode> on mask register. | |
4998 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise. | |
4999 | ||
b9361af2 | 5000 | 2011-01-17 Olivier Hainque <hainque@adacore.com> |
61052244 AM |
5001 | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
5002 | Eric Botcazou <ebotcazou@adacore.com> | |
b9361af2 OH |
5003 | |
5004 | PR target/46655 | |
5005 | * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only | |
5006 | if <= USHRT_MAX in 32-bit mode. | |
5007 | ||
b7ae9eb5 RW |
5008 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
5009 | ||
5010 | * doc/install.texi (Configuration, Specific): Wrap long | |
5011 | lines in examples. Allow line wrapping in long options | |
5012 | and URLs where beneficial for PDF output. | |
5013 | ||
4377fad9 RS |
5014 | 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com> |
5015 | ||
5016 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
5017 | SYMBOL_PC_RELATIVE for nonlocal labels. | |
5018 | ||
55959ffa | 5019 | 2011-01-15 Eric Botcazou <ebotcazou@adacore.com> |
be46831f | 5020 | |
55959ffa EB |
5021 | * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. |
5022 | ||
5023 | 2011-01-15 Jan Hubicka <jh@suse.cz> | |
5024 | ||
5025 | PR tree-optimization/47276 | |
be46831f JH |
5026 | * ipa.c (function_and_variable_visibility): Do not try to mark alias |
5027 | declarations as needed. | |
5028 | ||
05842ff5 MJ |
5029 | 2011-01-15 Martin Jambor <mjambor@suse.cz> |
5030 | ||
5031 | * common.opt (fdevirtualize): New flag. | |
5032 | * doc/invoke.texi (Option Summary): Document it. | |
5033 | * opts.c (default_options_table): Add devirtualize flag. | |
5034 | * ipa-prop.c (detect_type_change): Return immediately if | |
5035 | devirtualize flag is not set. | |
5036 | (detect_type_change_ssa): Likewise. | |
5037 | (compute_known_type_jump_func): Likewise. | |
5038 | (ipa_analyze_virtual_call_uses): Likewise. | |
5039 | ||
f65cf2b7 MJ |
5040 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
5041 | ||
5042 | PR tree-optimization/45934 | |
5043 | PR tree-optimization/46302 | |
5044 | * ipa-prop.c (type_change_info): New type. | |
5045 | (stmt_may_be_vtbl_ptr_store): New function. | |
5046 | (check_stmt_for_type_change): Likewise. | |
5047 | (detect_type_change): Likewise. | |
5048 | (detect_type_change_ssa): Likewise. | |
5049 | (compute_complex_assign_jump_func): Check for dynamic type change. | |
5050 | (compute_complex_ancestor_jump_func): Likewise. | |
5051 | (compute_known_type_jump_func): Likewise. | |
5052 | (compute_scalar_jump_functions): Likewise. | |
5053 | (ipa_analyze_virtual_call_uses): Likewise. | |
5054 | (ipa_analyze_node): Push and pop cfun, set current_function_decl. | |
5055 | ||
eb5bb0fd JM |
5056 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5057 | ||
5058 | * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. | |
5059 | * config/i386/i386.opt (msse5): New Alias. | |
5060 | ||
f2060fbe JM |
5061 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5062 | ||
5063 | * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
5064 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
5065 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
5066 | * config/sparc/sparc.h (CC1_SPEC): Likewise. | |
5067 | ||
3a7b4385 JM |
5068 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5069 | ||
5070 | * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of | |
5071 | -mcpu options. | |
5072 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
5073 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
5074 | * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise. | |
5075 | * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC): | |
5076 | Likewise. | |
5077 | * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8. | |
5078 | ||
a7b778f8 JM |
5079 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5080 | ||
38be4072 | 5081 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. |
a7b778f8 | 5082 | |
a7edae0a MS |
5083 | 2011-01-14 Mike Stump <mikestump@comcast.net> |
5084 | ||
5085 | * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set. | |
5086 | * config/fr30/fr30.md: Likweise | |
5087 | (movsi_push): Likewise. | |
5088 | (movsi_pop): Likewise. | |
5089 | (enter_func): Likewise. | |
5090 | * config/moxie/moxie.md (movsi_push): Likewise. | |
5091 | (movsi_pop): Likewise. | |
5092 | ||
cbabf03f JM |
5093 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5094 | ||
5095 | * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} | |
5096 | %{no_archive} %{exact_version}. | |
5097 | * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. | |
5098 | * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} | |
5099 | %{no_archive} %{exact_version}. | |
5100 | * config/mips/openbsd.h (LINK_SPEC): Likewise. | |
5101 | * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. | |
5102 | * config/mips/vxworks.h: Likewise. | |
5103 | ||
438da41a JM |
5104 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5105 | ||
38be4072 | 5106 | * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. |
438da41a | 5107 | |
da290a42 JM |
5108 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5109 | ||
5110 | * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, | |
5111 | ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. | |
5112 | ||
8989d00e JM |
5113 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5114 | ||
5115 | * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not | |
5116 | -nodefaultlib. | |
5117 | ||
a3010a69 JM |
5118 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5119 | ||
5120 | * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check | |
5121 | for mcpu not cpu. | |
5122 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, | |
5123 | CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu | |
5124 | not cpu. | |
5125 | (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. | |
5126 | Don't handle -shlib. | |
5127 | ||
e7f2f537 JM |
5128 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5129 | ||
5130 | * config/avr/avr.h (CPP_SPEC): Don't handle -posix. | |
5131 | (CC1_SPEC): Don't handle -profile. | |
5132 | ||
34830bfd JM |
5133 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5134 | ||
5135 | * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. | |
5136 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
5137 | ||
b2d36e74 JM |
5138 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5139 | ||
5140 | * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. | |
5141 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
5142 | ||
dabadc52 JM |
5143 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5144 | ||
5145 | * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. | |
5146 | * config/m32r/linux.h (LINK_SPEC): Likewise. | |
5147 | * config/mips/linux.h (LINK_SPEC): Likewise. | |
5148 | * config/mips/linux64.h (LINK_SPEC): Likewise. | |
5149 | * config/sparc/linux.h (LINK_SPEC): Likewise. | |
5150 | * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
5151 | LINK_SPEC): Likewise. | |
5152 | * config/xtensa/linux.h (LINK_SPEC): Likewise. | |
5153 | ||
43ee6785 JM |
5154 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5155 | ||
5156 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove | |
5157 | %{version:-v}. | |
5158 | * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. | |
5159 | ||
45e79dfd JM |
5160 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5161 | ||
5162 | * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. | |
5163 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
5164 | ||
37e9e71d JM |
5165 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
5166 | ||
5167 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}. | |
5168 | ||
bb127cd8 RO |
5169 | 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5170 | ||
5171 | * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always | |
5172 | supports -Bstatic/-Bdynamic. | |
5173 | * configure: Regenerate. | |
5174 | ||
89a012ea | 5175 | 2011-01-14 Jan Hubicka <jh@suse.cz> |
509d65dd | 5176 | Jack Howarth <howarth@bromo.med.uc.edu> |
89a012ea JH |
5177 | |
5178 | PR target/46037 | |
5179 | * config/darwin.c (darwin_override_options): Honor flag_gtoggle | |
5180 | when checking debug_info_level. Test write_symbols instead of | |
5181 | debug_hooks->var_location when setting flag_var_tracking_uninit. | |
5182 | ||
7352c013 RG |
5183 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
5184 | ||
5185 | PR tree-optimization/47179 | |
5186 | * target.def (ref_may_alias_errno): New target hook. | |
5187 | * targhooks.h (default_ref_may_alias_errno): Declare. | |
5188 | * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. | |
5189 | (default_ref_may_alias_errno): New function. | |
5190 | * target.h (struct ao_ref_s): Declare. | |
5191 | * tree-ssa-alias.c: Include target.h. | |
5192 | (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. | |
5193 | * Makefile.in (tree-ssa-alias.o): Adjust dependencies. | |
5194 | (targhooks.o): Likewise. | |
5195 | * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. | |
5196 | * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. | |
5197 | ||
9a6c9288 RG |
5198 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
5199 | ||
5200 | * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. | |
5201 | ||
0fdb0d27 RG |
5202 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
5203 | ||
5204 | PR tree-optimization/47280 | |
5205 | * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and | |
5206 | return CFG changes. | |
5207 | (tree_ssa_forward_propagate_single_use_vars): Deal with | |
5208 | CFG changes from associate_plusminus. | |
5209 | ||
8f66db3b RG |
5210 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
5211 | ||
5212 | PR middle-end/47281 | |
5213 | Revert | |
5214 | 2011-01-11 Richard Guenther <rguenther@suse.de> | |
5215 | ||
280d9630 EB |
5216 | PR tree-optimization/46076 |
5217 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
5218 | unprototyped to empty argument list function types are useless. | |
8f66db3b | 5219 | |
6c0c92e6 RG |
5220 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
5221 | ||
5222 | PR tree-optimization/47286 | |
280d9630 | 5223 | * tree-ssa-structalias.c (new_var_info): Register variables are global. |
6c0c92e6 | 5224 | |
db09f943 MJ |
5225 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
5226 | ||
5227 | PR middle-end/46823 | |
5228 | * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. | |
5229 | ||
dde8a3a4 AS |
5230 | 2011-01-13 Anatoly Sokolov <aesok@post.ru> |
5231 | ||
5232 | * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, | |
5233 | LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
5234 | * config/xtensa/xtensa.c (xtensa_libcall_value, | |
5235 | xtensa_function_value_regno_p): New functions. | |
5236 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
5237 | ||
a2b63a20 KT |
5238 | 2011-01-13 Kai Tietz <kai.tietz@onevision.com> |
5239 | ||
5240 | PR c++/47213 | |
5241 | * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
5242 | PE specific hook. | |
5243 | * config/i386/i386-protos.h (i386_pe_assemble_visibility): | |
5244 | New function prototype. | |
5245 | * config/i386/winnt.c (i386_pe_assemble_visibility): | |
5246 | Warn only if attribute was specified by user. | |
5247 | ||
b41f0b34 MM |
5248 | 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
5249 | ||
5250 | PR target/47251 | |
5251 | * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware | |
5252 | floating point. | |
5253 | (floatunsdidf2_fcfidu): Ditto. | |
5254 | ||
3f3c098d AK |
5255 | 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
5256 | ||
5257 | * config/s390/s390.c (print_operand_address): Replace 'error' with | |
5258 | 'output_operand_lossage'. | |
5259 | (print_operand): Likewise. | |
5260 | ||
29fa95ed JL |
5261 | 2011-01-13 Jeff Law <law@redhat.com> |
5262 | ||
280d9630 | 5263 | PR rtl-optimization/39077 |
29fa95ed JL |
5264 | * doc/invoke.texi (max-gcse-insertion-ratio): Document. |
5265 | * params.h (MAX_GCSE_INSERTION_RATIO): Define. | |
5266 | * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. | |
5267 | * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. | |
5268 | * gcse.c (prune_insertions_deletions): New function. | |
5269 | (compute_pre_data): Use it. | |
5270 | ||
71d12276 DS |
5271 | 2011-01-13 Dodji Seketeli <dodji@redhat.com> |
5272 | ||
5273 | PR debug/PR46973 | |
5274 | * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New | |
5275 | static function. | |
61052244 | 5276 | (prune_unused_types_mark): Use it. |
71d12276 | 5277 | |
9b0f04e7 AB |
5278 | 2011-01-13 Andrey Belevantsev <abel@ispras.ru> |
5279 | ||
5280 | PR rtl-optimization/45352 | |
1c3ba85b | 5281 | * sel-sched.c: Update copyright years. |
9b0f04e7 | 5282 | (reset_sched_cycles_in_current_ebb): Also recheck the DFA state |
1c3ba85b | 5283 | in the advancing loop when we have issued issue_rate insns. |
9b0f04e7 | 5284 | |
d6a3e264 RH |
5285 | 2011-01-12 Richard Henderson <rth@redhat.com> |
5286 | ||
a49b692a RH |
5287 | * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New. |
5288 | (TARGET_MD_ASM_CLOBBERS): New. | |
5289 | ||
126b1483 RH |
5290 | * config/mn10300/mn10300.c (mn10300_delegitimize_address): New. |
5291 | (TARGET_DELEGITIMIZE_ADDRESS): New. | |
5292 | ||
f3d9d2e0 RH |
5293 | * config/mn10300/mn10300.md (UNSPEC_BSCH): New. |
5294 | (clzsi2, *bsch): New patterns. | |
5295 | ||
d84760c9 RH |
5296 | * config/mn10300/mn10300.md (INT): New mode iterator. |
5297 | (*mov<INT>_clr): New pattern, and peep2 to generate it. | |
5298 | ||
ec815d65 RH |
5299 | * config/mn10300/mn10300.c (mn10300_option_override): Force enable |
5300 | flag_split_wide_types. | |
5301 | ||
d6a3e264 RH |
5302 | * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove. |
5303 | (mn10300_trampoline_init): Rewrite without a template, an immediate | |
5304 | load and a direct branch. | |
5305 | * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16. | |
5306 | ||
0f8ab434 AS |
5307 | 2011-01-12 Anatoly Sokolov <aesok@post.ru> |
5308 | ||
5309 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
5310 | * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. | |
5311 | * config/s390/s390.c (s390_output_addr_const_extra): Make static. | |
5312 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
5313 | ||
d8a24b65 KT |
5314 | 2011-01-12 Kai Tietz <kai.tietz@onevision.com> |
5315 | ||
5316 | PR debug/47209 | |
5317 | * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT | |
5318 | of type. | |
5319 | ||
56e22cab JH |
5320 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
5321 | ||
5322 | PR driver/47244 | |
5323 | * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. | |
5324 | (PLUGIN_COND_CLOSE): New macro. | |
5325 | (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. | |
5326 | ||
4b18b3c2 RG |
5327 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
5328 | ||
5329 | PR lto/47259 | |
5330 | * lto-streamer-out.c (output_gimple_stmt): Do not wrap | |
5331 | register variables in a MEM_REF. | |
5332 | ||
8e38461c JM |
5333 | 2011-01-12 Joseph Myers <joseph@codesourcery.com> |
5334 | ||
5335 | * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, | |
5336 | crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, | |
5337 | hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | | |
5338 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
5339 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
5340 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, | |
5341 | ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, | |
5342 | m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, | |
5343 | mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, | |
5344 | s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, | |
5345 | sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, | |
5346 | am33_2.0-*-linux*): Use gnu-user.h before linux.h. | |
5347 | * config/gnu-user.h: New. Copied from linux.h. | |
5348 | (LINUX_TARGET_STARTFILE_SPEC): Rename to | |
5349 | GNU_USER_TARGET_STARTFILE_SPEC. | |
5350 | (LINUX_TARGET_ENDFILE_SPEC): Rename to | |
5351 | GNU_USER_TARGET_ENDFILE_SPEC. | |
5352 | (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. | |
5353 | (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. | |
5354 | (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, | |
5355 | LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, | |
5356 | CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, | |
5357 | UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, | |
5358 | BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, | |
5359 | BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, | |
5360 | LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, | |
5361 | TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. | |
5362 | * config/arm/linux-eabi.h (CC1_SPEC): Use | |
5363 | GNU_USER_TARGET_CC1_SPEC. | |
5364 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. | |
5365 | (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. | |
5366 | (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC | |
5367 | * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, | |
5368 | LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, | |
5369 | LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, | |
5370 | CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, | |
5371 | LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. | |
5372 | ||
a570fc16 RG |
5373 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
5374 | ||
5375 | PR other/46946 | |
5376 | * doc/invoke.texi (ffast-math): Document it is turned on | |
5377 | with -Ofast. | |
5378 | ||
b0223c3e JH |
5379 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
5380 | ||
5381 | PR tree-optimization/47233 | |
ca1e00b3 EB |
5382 | * opts.c (common_handle_option): Disable ipa-reference with profile |
5383 | feedback. | |
b0223c3e | 5384 | |
1c3ba85b | 5385 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
d853ee42 NP |
5386 | |
5387 | * c-parser.c (c_parser_objc_at_property_declaration): Improved | |
ca1e00b3 EB |
5388 | error message. |
5389 | ||
d853ee42 NP |
5390 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
5391 | ||
5392 | * c-parser.c (c_lex_one_token): Updated and reindented some | |
5393 | comments. No changes in code. | |
5394 | ||
4053a5a0 ILT |
5395 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
5396 | ||
5397 | * godump.c (go_output_var): Don't output the variable if there is | |
5398 | already a type with the same name. | |
5399 | ||
fa3e04d2 ILT |
5400 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
5401 | ||
5402 | * godump.c (go_format_type): Don't generate float80. | |
5403 | ||
885fe07c RH |
5404 | 2011-01-11 Richard Henderson <rth@redhat.com> |
5405 | ||
72d6e3c5 RH |
5406 | * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward |
5407 | declaration. Rewrite for both speed and size. | |
5408 | (mn10300_address_cost_1): Remove. | |
5409 | (mn10300_register_move_cost): New. | |
5410 | (mn10300_memory_move_cost): New. | |
5411 | (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle | |
5412 | ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare, | |
5413 | extensions, shifts, BSWAP, CLZ. | |
5414 | (mn10300_wide_const_load_uses_clr): Remove. | |
5415 | (TARGET_REGISTER_MOVE_COST): New. | |
5416 | (TARGET_MEMORY_MOVE_COST): New. | |
5417 | * config/mn10300/mn10300-protos.h: Update. | |
5418 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove. | |
5419 | ||
df37c023 RH |
5420 | * config/mn10300/constraints.md ("R", "T"): Remove constraints. |
5421 | * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove. | |
5422 | * config/mn10300/mn10300-protos.h: Update. | |
5423 | * config/mn10300/mn10300.md (movsi_internal): Don't use "R". | |
5424 | (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove. | |
5425 | (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove. | |
5426 | (*test_int_bitfield, *test_byte_bitfield): Remove. | |
5427 | (*bit_test, *subreg_bit_test): Remove. | |
62d3f9b2 | 5428 | * config/mn10300/predicates.md (const_8bit_operand): Remove. |
df37c023 | 5429 | |
85a337b5 RH |
5430 | * config/mn10300/constraints.md ("c"): Rename from "A". |
5431 | ("A", "D"): New constraint letters. | |
5432 | * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint. | |
5433 | (fmssf4, fnmasf4, fnmssf4): Likewise. | |
5434 | ||
a5c727e3 RH |
5435 | * config/mn10300/mn10300.md (isa): New attribute. |
5436 | (enabled): New attribute. | |
5437 | ||
0d9e23f4 RH |
5438 | * config/mn10300/mn10300.md (absdf2, negdf2): Remove. |
5439 | (abssf2, negsf2): Define only for hardware fp. | |
5440 | (sqrtsf2): Reformat. | |
5441 | (addsf3, subsf3, mulsf3): Merge expander and insn. | |
5442 | ||
c157b3f0 RH |
5443 | * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New. |
5444 | (DEBUGGER_AUTO_OFFSET): Remove. | |
5445 | (DEBUGGER_ARG_OFFSET): Remove. | |
5446 | ||
cc909bba RH |
5447 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static. |
5448 | Emit register stores with the same offsets as the hardware. | |
5449 | (mn10300_store_multiple_operation): Don't check that the register | |
5450 | save offsets are monotonic. | |
5451 | * config/mn10300/mn10300-protos.h: Update. | |
5452 | ||
e3b5c2f3 RH |
5453 | * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete. |
5454 | ||
885fe07c RH |
5455 | * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define |
5456 | in terms of the value on the stack, not the MDR register. | |
5457 | ||
6e701822 JH |
5458 | 2011-01-11 Jan Hubicka <jh@suse.cz> |
5459 | ||
5460 | PR lto/45721 | |
5461 | PR lto/45375 | |
5462 | * tree.h (symbol_alias_set_t): Move typedef here from varasm.c | |
5463 | (symbol_alias_set_destroy, symbol_alias_set_contains, | |
5464 | propagate_aliases_backward): Declare. | |
5465 | * lto-streamer-out.c (struct sets): New sturcture. | |
5466 | (trivally_defined_alias): New function. | |
5467 | (output_alias_pair_p): Rewrite. | |
5468 | (output_unreferenced_globals): Fix output of alias pairs. | |
5469 | (produce_symtab): Likewise. | |
5470 | * ipa.c (function_and_variable_visibility): Set weak alias destination | |
5471 | as needed in lto. | |
5472 | * varasm.c (symbol_alias_set_t): Remove. | |
5473 | (symbol_alias_set_destroy): Export. | |
5474 | (propagate_aliases_forward, propagate_aliases_backward): New functions | |
5475 | based on ... | |
5476 | (compute_visible_aliases): ... this one; remove. | |
5477 | (trivially_visible_alias): New | |
5478 | (trivially_defined_alias): New. | |
5479 | (remove_unreachable_alias_pairs): Rewrite. | |
5480 | (finish_aliases_1): Reorganize code checking if alias is defined. | |
5481 | * passes.c (rest_of_decl_compilation): Do not call assemble_alias when | |
5482 | in LTO mode. | |
5483 | ||
1b248907 RG |
5484 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
5485 | ||
5486 | PR tree-optimization/46076 | |
5487 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
5488 | unprototyped to empty argument list function types are useless. | |
5489 | ||
b1923f0a RG |
5490 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
5491 | ||
5492 | PR middle-end/45235 | |
5493 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark | |
5494 | volatile MEMs as MEM_READONLY_P. | |
5495 | ||
e98965af RG |
5496 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
5497 | ||
5498 | PR tree-optimization/47239 | |
5499 | * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs. | |
5500 | ||
9f9ca914 JL |
5501 | 2011-01-11 Jeff Law <law@redhat.com> |
5502 | ||
1ee3ea05 | 5503 | PR tree-optimization/47086 |
9f9ca914 JL |
5504 | * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record |
5505 | IVs from statements that might throw. | |
5506 | ||
345fdcb7 JH |
5507 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
5508 | ||
5509 | PR lto/45375 | |
5510 | * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. | |
5511 | ||
c459c97b JH |
5512 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
5513 | ||
5514 | PR lto/45375 | |
5515 | * profile.c (read_profile_edge_counts): Ignore profile inconistency | |
5516 | when correcting profile. | |
5517 | ||
06c9eb51 JH |
5518 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
5519 | ||
5520 | PR lto/46083 | |
5521 | * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store | |
5522 | DECL_FINI_PRIORITY. | |
5523 | * lto-streamer-in.c (unpack_ts_function_decl_value_fields): | |
5524 | Restore DECL_FINI_PRIORITY. | |
5525 | ||
ae9fd815 RW |
5526 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
5527 | ||
5528 | * doc/gimple.texi: Fix quoting of multi-word return values in | |
5529 | @deftypefn statements. Ensure presence of return value. Wrap | |
5530 | overlong @deftypefn lines. | |
5531 | (is_gimple_operand, is_gimple_min_invariant_address): Remove | |
5532 | descriptions of removed functions. | |
5533 | * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting | |
5534 | of multi-word return value in @deftypefn statement. | |
5535 | ||
0ecb4a7c RW |
5536 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
5537 | ||
5538 | * doc/gimple.texi (Temporaries, Operands, Compound Lvalues) | |
5539 | (Conditional Expressions, Logical Operators) | |
5540 | (Statement and operand traversals): Do not indent smallexample | |
5541 | code. Fix duplicate function argument in example. | |
5542 | ||
2e5e346d JL |
5543 | 2011-01-10 Jeff Law <law@redhat.com> |
5544 | ||
1ee3ea05 | 5545 | PR tree-optimization/47141 |
2e5e346d JL |
5546 | * ipa-split.c (split_function): Handle case where we are |
5547 | returning a value and the return block has a virtual operand phi. | |
5548 | ||
cf9712cc JH |
5549 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
5550 | ||
1c3ba85b | 5551 | PR tree-optimization/47234 |
cf9712cc JH |
5552 | * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. |
5553 | (pass_feedback_split_functions): Declare. | |
5554 | * passes.c (init_optimization_passes): Add ipa-split as subpass of | |
5555 | tree-profile. | |
5556 | * ipa-split.c (gate_split_functions): Update comments; disable | |
5557 | split-functions for profile_arc_flag and branch_probabilities. | |
5558 | (gate_feedback_split_functions): New function. | |
5559 | (execute_feedback_split_functions): New function. | |
5560 | (pass_feedback_split_functions): New global var. | |
5561 | ||
94cd932c L |
5562 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
5563 | ||
5564 | PR lto/46760 | |
5565 | * tree-inline.c (tree_can_inline_p): Check e->call_stmt before | |
5566 | calling gimple_call_set_cannot_inline. | |
5567 | ||
fbbfcaf1 IS |
5568 | 2011-01-10 Iain Sandoe <iains@gcc.gnu.org> |
5569 | ||
5570 | * config/darwin-sections.def: Remove unused section. | |
5571 | ||
d06865bf DK |
5572 | 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com> |
5573 | ||
5574 | PR c++/47218 | |
5575 | * cgraphunit.c (assemble_thunk): Call resolve_unique_section. | |
5576 | ||
96bbfbac NP |
5577 | 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com> |
5578 | ||
5579 | PR objc/47232 | |
5580 | * c-parser.c (c_parser_declaration_or_fndef): Improved | |
5581 | error message. | |
5582 | ||
1ba6516f KT |
5583 | 2011-01-09 Kai Tietz <kai.tietz@onevision.com> |
5584 | ||
5585 | * config/i386/winnt.c (i386_pe_start_function): Make sure | |
5586 | to switch back to function's section. | |
5587 | ||
0c5d770e IS |
5588 | 2011-01-09 Iain Sandoe <iains@gcc.gnu.org> |
5589 | ||
5590 | PR gcc/46902 | |
5591 | PR testsuite/46912 | |
5592 | * plugin.c: Move include of dlfcn.h from here... | |
5593 | * system.h: ... to here. | |
5594 | ||
5595 | 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
4ee1aa2a RW |
5596 | |
5597 | * doc/cpp.texi (C++ Named Operators): Fix markup for header | |
5598 | file name. | |
5599 | * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid | |
5600 | two extra empty pages in PDF output. | |
5601 | ||
046608a3 NP |
5602 | 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> |
5603 | ||
5604 | PR objc/47078 | |
5605 | * c-parser.c (c_parser_objc_type_name): If the type is unknown, | |
5606 | for error recovery purposes behave as if it was not specified so | |
5607 | that the default type is usd. | |
5608 | ||
8cb114b9 JH |
5609 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
5610 | ||
5611 | PR tree-optmization/46469 | |
5612 | * ipa.c (function_and_variable_visibility): Clear needed flags on | |
5613 | nodes with external decls; handle weakrefs merging correctly. | |
5614 | ||
b294a75e JM |
5615 | 2011-01-07 Joseph Myers <joseph@codesourcery.com> |
5616 | ||
5617 | * opts.c (finish_options): Set opts->x_flag_opts_finished to true, | |
5618 | not false. | |
5619 | ||
96bdf9b4 JH |
5620 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
5621 | ||
5622 | * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults | |
5623 | and no longer claim that gold is required for linker plugin. | |
5624 | * configure: Regenerate. | |
5625 | * gcc.c (PLUGIN_COND): New macro. | |
5626 | (LINK_COMMAND_SPEC): Use it. | |
5627 | (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. | |
5628 | * config.in (HAVE_LTO_PLUGIN): New. | |
5629 | * configure.ac (--with-lto-plugin): New parameter; autodetect | |
5630 | HAVE_LTO_PLUGIN. | |
5631 | ||
17afc0fe JH |
5632 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
5633 | ||
5634 | PR tree-optimization/46367 | |
5635 | * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only | |
5636 | when we can update original. | |
5637 | (cgraph_mark_inline_edge): Sanity check. | |
5638 | * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. | |
5639 | ||
d4c48c0f UW |
5640 | 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
5641 | ||
5642 | * config/spu/spu.h (ASM_COMMENT_START): Define. | |
5643 | ||
96f5b137 L |
5644 | 2011-01-07 H.J. Lu <hongjiu.lu@intel.com> |
5645 | ||
5646 | PR driver/42445 | |
5647 | * gcc.c (%>S): New. | |
5648 | (SWITCH_KEEP_FOR_GCC): Likewise. | |
5649 | (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. | |
5650 | (do_spec_1): Handle "%>". | |
5651 | ||
5652 | * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". | |
5653 | ||
c6a8f6de JJ |
5654 | 2011-01-07 Jakub Jelinek <jakub@redhat.com> |
5655 | ||
c21bbd7a JJ |
5656 | PR target/47201 |
5657 | * config/i386/i386.c (ix86_delegitimize_address): If | |
5658 | simplify_gen_subreg fails, return orig_x. | |
5659 | ||
c6a8f6de JJ |
5660 | PR bootstrap/47187 |
5661 | * value-prof.c (gimple_stringop_fixed_value): Handle | |
5662 | lhs of the call properly. | |
5663 | ||
fe95fbf9 JH |
5664 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
5665 | ||
5666 | PR lto/45375 | |
5667 | * lto-opt.c (lto_reissue_options): Set flag_shlib. | |
5668 | ||
14d11d40 IS |
5669 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
5670 | ||
72e961c8 EB |
5671 | * target.def (function_switched_text_sections): New hook. |
5672 | * doc/tm.texi: Regenerated. | |
5673 | * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. | |
14d11d40 | 5674 | * final.c (default_function_switched_text_sections): New. |
72e961c8 EB |
5675 | (final_scan_insn): Call function_switched_text_sections when a |
5676 | mid-function section change occurs. | |
14d11d40 | 5677 | * output.h (default_function_switched_text_sections): Declare. |
72e961c8 EB |
5678 | * config/darwin-protos.h (darwin_function_switched_text_sections): |
5679 | Likewise. | |
14d11d40 | 5680 | * config/darwin.c (darwin_function_switched_text_sections): New. |
72e961c8 | 5681 | * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. |
14d11d40 | 5682 | |
0b764288 IS |
5683 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
5684 | ||
5685 | * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for | |
5686 | DWARF >= 3. Add pubnames for the primary section and a reduced DIE for | |
5687 | the secondary code fragment when outputting for DWARF == 2. | |
5688 | ||
2ac6bb04 AS |
5689 | 2011-01-07 Anatoly Sokolov <aesok@post.ru> |
5690 | ||
5691 | * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
5692 | * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): | |
5693 | Remove. | |
5694 | * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. | |
5695 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
5696 | ||
9f82de11 EB |
5697 | 2011-01-06 Eric Botcazou <ebotcazou@adacore.com> |
5698 | ||
5699 | PR debug/46704 | |
280d9630 EB |
5700 | * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only |
5701 | when it is not empty. | |
9f82de11 EB |
5702 | |
5703 | 2011-01-06 Changpeng Fang <changpeng.fang@amd.com> | |
14b52538 | 5704 | |
1ed72abf | 5705 | Bobcat Enablement |
14b52538 | 5706 | * config.gcc (i[34567]86-*-linux* | ...): Add btver1. |
1ed72abf | 5707 | (case ${target}): Add btver1. |
14b52538 | 5708 | * config/i386/driver-i386.c (host_detect_local_cpu): Let |
1ed72abf | 5709 | -march=native recognize btver1 processors. |
14b52538 | 5710 | * config/i386/i386-c.c (ix86_target_macros_internal): Add |
1ed72abf | 5711 | btver1 def_and_undef |
14b52538 | 5712 | * config/i386/i386.c (struct processor_costs btver1_cost): New |
1ed72abf CF |
5713 | btver1 cost table. |
5714 | (m_BTVER1): New definition. | |
5715 | (m_AMD_MULTIPLE): Includes m_BTVER1. | |
5716 | (initial_ix86_tune_features): Add btver1 tune. | |
5717 | (processor_target_table): Add btver1 entry. | |
5718 | (static const char *const cpu_names): Add btver1 entry. | |
5719 | (software_prefetching_beneficial_p): Add btver1. | |
5720 | (ix86_option_override_internal): Add btver1 instruction sets. | |
5721 | (ix86_issue_rate): Add btver1. | |
5722 | (ix86_adjust_cost): Add btver1. | |
14b52538 | 5723 | * config/i386/i386.h (TARGET_BTVER1): New definition. |
1ed72abf CF |
5724 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. |
5725 | (enum processor_type): Add PROCESSOR_BTVER1. | |
14b52538 CF |
5726 | * config/i386/i386.md (define_attr "cpu"): Add btver1. |
5727 | ||
e1a973d8 RO |
5728 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5729 | ||
5730 | PR target/43309 | |
5731 | * config/i386/i386.c (legitimize_tls_address) | |
5732 | <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. | |
5733 | * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. | |
5734 | (tls_initial_exec_64_sun): New pattern. | |
5735 | ||
c73f67c5 GP |
5736 | 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
5737 | ||
5738 | * doc/invoke.texi (Overall Options): Improve wording and markup | |
5739 | of the description of -wrapper. | |
5740 | ||
bc4c6f9c JM |
5741 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
5742 | ||
5743 | * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, | |
5744 | rdynamic, threads): New Driver options. | |
5745 | ||
adb75db0 RO |
5746 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5747 | ||
5748 | PR target/38118 | |
5749 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss | |
5750 | if coming from .tdata. | |
5751 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
5752 | ||
402c1cb4 JH |
5753 | 2011-01-06 Jan Hubicka <jh@suse.cz> |
5754 | ||
5755 | PR lto/47188 | |
5756 | * collect2.c (main): Do not enable LTOmode when plugin is active. | |
5757 | ||
a4da6485 RO |
5758 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5759 | ||
5760 | PR other/45915 | |
5761 | * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd | |
5762 | --version output if supported. | |
5763 | * configure: Regenerate. | |
5764 | ||
028dbdf4 JM |
5765 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
5766 | ||
5767 | * config/linux-android.opt (tno-android-cc, tno-android-ld): New | |
5768 | Driver options. | |
5769 | ||
dfe776dd JJ |
5770 | 2011-01-06 Jakub Jelinek <jakub@redhat.com> |
5771 | ||
5772 | PR c/47150 | |
5773 | * c-convert.c (convert): When converting a complex expression | |
5774 | other than COMPLEX_EXPR to a different complex type, ensure | |
5775 | c_save_expr is called instead of save_expr, unless in_late_binary_op. | |
5776 | * c-typeck.c (convert_for_assignment): Set in_late_binary_op also | |
5777 | when converting COMPLEX_TYPE. | |
5778 | ||
210dedfe IR |
5779 | 2011-01-06 Ira Rosen <irar@il.ibm.com> |
5780 | ||
5781 | PR tree-optimization/47139 | |
5782 | * tree-vect-loop.c (vect_is_simple_reduction_1): Check that | |
5783 | only the last reduction value is used outside the loop. Update | |
5784 | documentation. | |
5785 | ||
cd33a412 JM |
5786 | 2011-01-05 Joseph Myers <joseph@codesourcery.com> |
5787 | ||
5788 | * config/rtems.opt: New. | |
5789 | * config.gcc (*-*-rtems*): Use rtems.opt. | |
5790 | ||
819edd94 CF |
5791 | 2011-01-05 Changpeng Fang <changpeng.fang@amd.com> |
5792 | ||
5793 | * config/i386/i386.c (ix86_option_override_internal): Bulldozer | |
5794 | processors do not support 3DNow instructions. | |
5795 | ||
dc242c4a UW |
5796 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
5797 | ||
5798 | * config/spu/spu.c (spu_option_override): Set parameter | |
5799 | PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. | |
5800 | ||
be286227 JH |
5801 | 2011-01-05 Jan Hubicka <jh@suse.cz> |
5802 | ||
5803 | * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified | |
5804 | at the command line. | |
5805 | ||
644e637f MJ |
5806 | 2011-01-05 Martin Jambor <mjambor@suse.cz> |
5807 | ||
5808 | PR lto/47162 | |
5809 | * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk | |
5810 | deltas on streamed outgoing edges. | |
5811 | (output_node_opt_summary): Output info for outgoing edges only when | |
5812 | the node is in new parameter set. | |
5813 | (output_cgraph_opt_summary): New parameter set, passed to the two | |
5814 | aforementioned functions. Update its forward declaration and its | |
5815 | callee too. | |
5816 | ||
7bd11157 TT |
5817 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
5818 | ||
5819 | * c-parser.c (c_parser_omp_atomic): Pass location of assignment | |
5820 | operator to c_finish_omp_atomic. | |
5821 | * c-typeck.c (lvalue_or_else): Add 'loc' argument. | |
5822 | (build_unary_op): Update. | |
5823 | (build_modify_expr): Update. | |
5824 | (build_asm_expr): Update. | |
5825 | ||
f626b979 UW |
5826 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
5827 | ||
5828 | * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for | |
5829 | newly inserted insns. | |
5830 | (pad_bb): Likewise. | |
5831 | (spu_emit_branch_hint): Likewise. | |
5832 | (insert_hbrp_for_ilb_runout): Likewise. | |
5833 | (spu_machine_dependent_reorg): Call df_finish_pass after | |
5834 | schedule_insns returns. | |
5835 | ||
4c825c02 UW |
5836 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
5837 | ||
5838 | * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. | |
5839 | ||
5e9fba51 EB |
5840 | 2011-01-05 Eric Botcazou <ebotcazou@adacore.com> |
5841 | ||
5842 | PR tree-optimization/47005 | |
5843 | * tree-sra.c (struct access): Add 'non_addressable' bit. | |
5844 | (create_access): Set it for a DECL_NONADDRESSABLE_P field. | |
5845 | (decide_one_param_reduction): Return 0 if the parameter is passed by | |
5846 | reference and one of the accesses in the group is non_addressable. | |
5847 | ||
3ebb5ca6 EB |
5848 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
5849 | ||
5850 | PR tree-optimization/47056 | |
5851 | * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers. | |
5852 | (mark_load): Likewise. Handle FUNCTION_DECL specially. | |
5853 | (mark_store): Likewise. Pass STMT to ipa_record_reference. | |
5854 | ||
d5d4d14e EB |
5855 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
5856 | ||
5857 | * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the | |
5858 | initializer. Skip view conversions from aggregate types. | |
5859 | ||
d996ef70 KT |
5860 | 2011-01-04 Kai Tietz <kai.tietz@onevision.com> |
5861 | ||
5862 | PR bootstrap/47055 | |
5863 | * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC. | |
5864 | ||
509d65dd | 5865 | 2011-01-04 Philipp Thomas <pth@suse.de> |
017096ca PT |
5866 | |
5867 | * config/microblaze/microbalse.opt (mxl-float-convert): Fix | |
5868 | obvious typo. | |
5869 | ||
55c623b5 UW |
5870 | 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
5871 | ||
5872 | * function.c (thread_prologue_and_epilogue_insns): Do not crash | |
5873 | on empty epilogue sequences. | |
5874 | ||
b98d6b35 JM |
5875 | 2011-01-04 Joseph Myers <joseph@codesourcery.com> |
5876 | ||
5877 | * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now, | |
5878 | non-static): New Driver options. | |
5879 | ||
a0d43bac JZ |
5880 | 2011-01-04 Jie Zhang <jie@codesourcery.com> |
5881 | ||
5882 | PR driver/47137 | |
5883 | * gcc.c (default_compilers[]): Set combinable field to 0 | |
5884 | for all assembly languages. | |
5885 | ||
2b18eb32 MX |
5886 | 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com> |
5887 | ||
5888 | * config/mips/loongson3a.md: New file. | |
5889 | * config/mips/mips.md: Include loongson3a.md. | |
5890 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when | |
5891 | TUNE_LOONGSON_3A. | |
5892 | ||
42a48c4f EB |
5893 | 2011-01-03 Eric Botcazou <ebotcazou@adacore.com> |
5894 | ||
5895 | PR middle-end/47017 | |
5896 | * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space | |
5897 | instead of convert_memory_address_addr_space on the base expression. | |
5898 | ||
9c1732c4 UW |
5899 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
5900 | ||
5901 | * config/spu/spu.c (spu_option_override): Update error text | |
5902 | for bad -march= / -mtune= values. | |
5903 | ||
aa474365 UW |
5904 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
5905 | ||
5906 | * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking | |
5907 | if branch-hint optimization will be performed. | |
5908 | ||
9766135b JJ |
5909 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
5910 | ||
371556ee JJ |
5911 | PR tree-optimization/47148 |
5912 | * ipa-split.c (split_function): Convert arguments to | |
5913 | DECL_ARG_TYPE if possible. | |
5914 | ||
1ac12fa2 JJ |
5915 | PR tree-optimization/47155 |
5916 | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type | |
5917 | when computing uns. | |
5918 | ||
9766135b JJ |
5919 | PR rtl-optimization/47157 |
5920 | * combine.c (try_combine): If undobuf.other_insn becomes | |
5921 | (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it | |
5922 | and set *new_direct_jump_p too. | |
5923 | ||
f4a2e571 SP |
5924 | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> |
5925 | ||
5926 | PR tree-optimization/47021 | |
5927 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. | |
5928 | ||
9f8e43c0 JJ |
5929 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
5930 | ||
5931 | * gcc.c (process_command): Update copyright notice dates. | |
5932 | * gcov.c (print_version): Likewise. | |
5933 | * gcov-dump.c (print_version): Likewise. | |
5934 | * mips-tfile.c (main): Likewise. | |
5935 | * mips-tdump.c (main): Likewise. | |
5936 | ||
1a2e38f3 MJ |
5937 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
5938 | ||
5939 | PR tree-optimization/46801 | |
5940 | * tree-sra.c (type_internals_preclude_sra_p): Check whether | |
5941 | aggregate fields start at byte boundary instead of the bit-field flag. | |
5942 | ||
56b721c5 L |
5943 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
5944 | ||
5945 | PR driver/47137 | |
5946 | * gcc.c (main): Revert revision 168407. | |
5947 | ||
839d549b MJ |
5948 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
5949 | ||
5950 | * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. | |
5951 | ||
4ce99a20 | 5952 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2fa6eeff UW |
5953 | |
5954 | * tree-vect-generic.c (expand_vector_operations_1): When using vector/ | |
5955 | vector optab to expand vector/scalar shift, update gimple to vector. | |
5956 | ||
76df0ae6 MJ |
5957 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
5958 | ||
5959 | * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to | |
5960 | a thunk. | |
5961 | ||
ce47fda3 MJ |
5962 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
5963 | ||
5964 | PR tree-optimization/46984 | |
5965 | * cgraph.h (cgraph_indirect_call_info): make field thunk_delta | |
5966 | HOST_WIDE_INT. | |
5967 | (cgraph_create_indirect_edge): Fixed line length. | |
5968 | (cgraph_indirect_call_info): Declare. | |
5969 | (cgraph_make_edge_direct) Update declaration. | |
5970 | * cgraph.c (cgraph_allocate_init_indirect_info): New function. | |
5971 | (cgraph_create_indirect_edge): Use it. | |
5972 | (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all | |
5973 | callees. | |
5974 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for | |
5975 | the new thunk_delta representation. | |
5976 | * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to | |
5977 | HOST_WIDE_INT. | |
5978 | (ipa_write_indirect_edge_info): Remove streaming of thunk_delta. | |
5979 | (ipa_read_indirect_edge_info): Likewise. | |
5980 | * lto-cgraph.c (output_edge_opt_summary): New function. | |
5981 | (output_node_opt_summary): Call it on all outgoing edges. | |
5982 | (input_edge_opt_summary): New function. | |
5983 | (input_node_opt_summary): Call it on all outgoing edges. | |
5984 | ||
1e67fa1f L |
5985 | 2011-01-02 H.J. Lu <hongjiu.lu@intel.com> |
5986 | ||
5987 | PR driver/47137 | |
5988 | * gcc.c (main): Don't check have_o when settting combine_inputs. | |
5989 | ||
6656b2ac EB |
5990 | 2011-01-02 Eric Botcazou <ebotcazou@adacore.com> |
5991 | ||
5992 | * regrename.c: Add general comment describing the pass. | |
5993 | (struct du_head): Remove 'length' field. | |
5994 | (get_element, merge_sort_comparison, merge, sort_du_head): Remove. | |
5995 | (regrename_optimize): Do not sort chains. Rework comments, add others. | |
5996 | Force renaming to the preferred class (if any) in the first pass and do | |
5997 | not consider registers that belong to it in the second pass. | |
5998 | (create_new_chain): Do not set 'length' field. | |
5999 | (scan_rtx_reg): Likewise. | |
6000 | ||
bc470c24 JJ |
6001 | 2011-01-02 Jakub Jelinek <jakub@redhat.com> |
6002 | ||
4e996296 JJ |
6003 | PR tree-optimization/47140 |
6004 | * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use | |
6005 | TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument | |
6006 | to bit_value_binop. | |
6007 | ||
bc470c24 | 6008 | PR rtl-optimization/47028 |
6656b2ac EB |
6009 | * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after |
6010 | parm_birth_insn instead of at the beginning of first bb. | |
bc470c24 | 6011 | |
5af62fcd | 6012 | 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com> |
0d52f2a8 MX |
6013 | |
6014 | * doc/generic.texi: Remove duplicated "@subsubsection Statements". | |
6015 | Remove the word "see" before "@pxref". | |
6016 | * doc/rtl.texi: Remove the word "see" before "@pxref". | |
6017 | ||
0e20c89f JH |
6018 | 2011-01-01 Jan Hubicka <jh@suse.cz> |
6019 | ||
6656b2ac EB |
6020 | * tree-loop-distribution.c (tree_loop_distribution): Do not use freed |
6021 | memory. | |
0e20c89f | 6022 | |
220e83ca KT |
6023 | 2011-01-01 Kai Tietz <kai.tietz@onevision.com> |
6024 | ||
6025 | PR target/38662 | |
6656b2ac | 6026 | * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too. |
220e83ca | 6027 | |
ad41bd84 | 6028 | \f |
797103eb | 6029 | Copyright (C) 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
6030 | |
6031 | Copying and distribution of this file, with or without modification, | |
6032 | are permitted in any medium without royalty provided the copyright | |
6033 | notice and this notice are preserved. |