]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
144c9b46b2fa2641a69b2cef79edac3b798a292b
[gcc.git] / gcc / ChangeLog
1 2011-01-14 Joseph Myers <joseph@codesourcery.com>
2
3 * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
4 * config/mips/mips.h (CC1_SPEC): Likewise.
5
6 2011-01-14 Joseph Myers <joseph@codesourcery.com>
7
8 * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
9 * config/mips/mips.h (CC1_SPEC): Likewise.
10
11 2011-01-14 Joseph Myers <joseph@codesourcery.com>
12
13 * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
14 * config/m32r/linux.h (LINK_SPEC): Likewise.
15 * config/mips/linux.h (LINK_SPEC): Likewise.
16 * config/mips/linux64.h (LINK_SPEC): Likewise.
17 * config/sparc/linux.h (LINK_SPEC): Likewise.
18 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
19 LINK_SPEC): Likewise.
20 * config/xtensa/linux.h (LINK_SPEC): Likewise.
21
22 2011-01-14 Joseph Myers <joseph@codesourcery.com>
23
24 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
25 %{version:-v}.
26 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
27
28 2011-01-14 Joseph Myers <joseph@codesourcery.com>
29
30 * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
31 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
32
33 2011-01-14 Joseph Myers <joseph@codesourcery.com>
34
35 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
36
37 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
38
39 * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
40 supports -Bstatic/-Bdynamic.
41 * configure: Regenerate.
42
43 2011-01-14 Jan Hubicka <jh@suse.cz>
44 Jack Howarth <howarth@bromo.med.uc.edu>
45
46 PR target/46037
47 * config/darwin.c (darwin_override_options): Honor flag_gtoggle
48 when checking debug_info_level. Test write_symbols instead of
49 debug_hooks->var_location when setting flag_var_tracking_uninit.
50
51 2011-01-14 Richard Guenther <rguenther@suse.de>
52
53 PR tree-optimization/47179
54 * target.def (ref_may_alias_errno): New target hook.
55 * targhooks.h (default_ref_may_alias_errno): Declare.
56 * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
57 (default_ref_may_alias_errno): New function.
58 * target.h (struct ao_ref_s): Declare.
59 * tree-ssa-alias.c: Include target.h.
60 (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
61 * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
62 (targhooks.o): Likewise.
63 * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
64 * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
65
66 2011-01-14 Richard Guenther <rguenther@suse.de>
67
68 * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
69
70 2011-01-14 Richard Guenther <rguenther@suse.de>
71
72 PR tree-optimization/47280
73 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
74 return CFG changes.
75 (tree_ssa_forward_propagate_single_use_vars): Deal with
76 CFG changes from associate_plusminus.
77
78 2011-01-14 Richard Guenther <rguenther@suse.de>
79
80 PR middle-end/47281
81 Revert
82 2011-01-11 Richard Guenther <rguenther@suse.de>
83
84 PR tree-optimization/46076
85 * tree-ssa.c (useless_type_conversion_p): Conversions from
86 unprototyped to empty argument list function types are useless.
87
88 2011-01-14 Richard Guenther <rguenther@suse.de>
89
90 PR tree-optimization/47286
91 * tree-ssa-structalias.c (new_var_info): Register variables are global.
92
93 2011-01-14 Martin Jambor <mjambor@suse.cz>
94
95 PR middle-end/46823
96 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
97
98 2011-01-13 Anatoly Sokolov <aesok@post.ru>
99
100 * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
101 LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
102 * config/xtensa/xtensa.c (xtensa_libcall_value,
103 xtensa_function_value_regno_p): New functions.
104 (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
105
106 2011-01-13 Kai Tietz <kai.tietz@onevision.com>
107
108 PR c++/47213
109 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
110 PE specific hook.
111 * config/i386/i386-protos.h (i386_pe_assemble_visibility):
112 New function prototype.
113 * config/i386/winnt.c (i386_pe_assemble_visibility):
114 Warn only if attribute was specified by user.
115
116 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
117
118 PR target/47251
119 * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
120 floating point.
121 (floatunsdidf2_fcfidu): Ditto.
122
123 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
124
125 * config/s390/s390.c (print_operand_address): Replace 'error' with
126 'output_operand_lossage'.
127 (print_operand): Likewise.
128
129 2011-01-13 Jeff Law <law@redhat.com>
130
131 PR rtl-optimization/39077
132 * doc/invoke.texi (max-gcse-insertion-ratio): Document.
133 * params.h (MAX_GCSE_INSERTION_RATIO): Define.
134 * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
135 * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
136 * gcse.c (prune_insertions_deletions): New function.
137 (compute_pre_data): Use it.
138
139 2011-01-13 Dodji Seketeli <dodji@redhat.com>
140
141 PR debug/PR46973
142 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
143 static function.
144 (prune_unused_types_mark): Use it.
145
146 2011-01-13 Andrey Belevantsev <abel@ispras.ru>
147
148 PR rtl-optimization/45352
149 * sel-sched.c: Update copyright years.
150 (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
151 in the advancing loop when we have issued issue_rate insns.
152
153 2011-01-12 Richard Henderson <rth@redhat.com>
154
155 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
156 (TARGET_MD_ASM_CLOBBERS): New.
157
158 * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
159 (TARGET_DELEGITIMIZE_ADDRESS): New.
160
161 * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
162 (clzsi2, *bsch): New patterns.
163
164 * config/mn10300/mn10300.md (INT): New mode iterator.
165 (*mov<INT>_clr): New pattern, and peep2 to generate it.
166
167 * config/mn10300/mn10300.c (mn10300_option_override): Force enable
168 flag_split_wide_types.
169
170 * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
171 (mn10300_trampoline_init): Rewrite without a template, an immediate
172 load and a direct branch.
173 * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
174
175 2011-01-12 Anatoly Sokolov <aesok@post.ru>
176
177 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
178 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
179 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
180 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
181
182 2011-01-12 Kai Tietz <kai.tietz@onevision.com>
183
184 PR debug/47209
185 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
186 of type.
187
188 2011-01-12 Jan Hubicka <jh@suse.cz>
189
190 PR driver/47244
191 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
192 (PLUGIN_COND_CLOSE): New macro.
193 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
194
195 2011-01-12 Richard Guenther <rguenther@suse.de>
196
197 PR lto/47259
198 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
199 register variables in a MEM_REF.
200
201 2011-01-12 Joseph Myers <joseph@codesourcery.com>
202
203 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
204 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
205 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
206 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
207 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
208 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
209 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
210 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
211 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
212 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
213 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
214 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
215 * config/gnu-user.h: New. Copied from linux.h.
216 (LINUX_TARGET_STARTFILE_SPEC): Rename to
217 GNU_USER_TARGET_STARTFILE_SPEC.
218 (LINUX_TARGET_ENDFILE_SPEC): Rename to
219 GNU_USER_TARGET_ENDFILE_SPEC.
220 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
221 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
222 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
223 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
224 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
225 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
226 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
227 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
228 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
229 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
230 * config/arm/linux-eabi.h (CC1_SPEC): Use
231 GNU_USER_TARGET_CC1_SPEC.
232 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
233 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
234 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
235 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
236 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
237 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
238 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
239 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
240
241 2011-01-12 Richard Guenther <rguenther@suse.de>
242
243 PR other/46946
244 * doc/invoke.texi (ffast-math): Document it is turned on
245 with -Ofast.
246
247 2011-01-12 Jan Hubicka <jh@suse.cz>
248
249 PR tree-optimization/47233
250 * opts.c (common_handle_option): Disable ipa-reference with profile
251 feedback.
252
253 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
254
255 * c-parser.c (c_parser_objc_at_property_declaration): Improved
256 error message.
257
258 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
259
260 * c-parser.c (c_lex_one_token): Updated and reindented some
261 comments. No changes in code.
262
263 2011-01-11 Ian Lance Taylor <iant@google.com>
264
265 * godump.c (go_output_var): Don't output the variable if there is
266 already a type with the same name.
267
268 2011-01-11 Ian Lance Taylor <iant@google.com>
269
270 * godump.c (go_format_type): Don't generate float80.
271
272 2011-01-11 Richard Henderson <rth@redhat.com>
273
274 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
275 declaration. Rewrite for both speed and size.
276 (mn10300_address_cost_1): Remove.
277 (mn10300_register_move_cost): New.
278 (mn10300_memory_move_cost): New.
279 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
280 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
281 extensions, shifts, BSWAP, CLZ.
282 (mn10300_wide_const_load_uses_clr): Remove.
283 (TARGET_REGISTER_MOVE_COST): New.
284 (TARGET_MEMORY_MOVE_COST): New.
285 * config/mn10300/mn10300-protos.h: Update.
286 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
287
288 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
289 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
290 * config/mn10300/mn10300-protos.h: Update.
291 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
292 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
293 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
294 (*test_int_bitfield, *test_byte_bitfield): Remove.
295 (*bit_test, *subreg_bit_test): Remove.
296 * config/mn10300/predicates.md (const_8bit_operand): Remove.
297
298 * config/mn10300/constraints.md ("c"): Rename from "A".
299 ("A", "D"): New constraint letters.
300 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
301 (fmssf4, fnmasf4, fnmssf4): Likewise.
302
303 * config/mn10300/mn10300.md (isa): New attribute.
304 (enabled): New attribute.
305
306 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
307 (abssf2, negsf2): Define only for hardware fp.
308 (sqrtsf2): Reformat.
309 (addsf3, subsf3, mulsf3): Merge expander and insn.
310
311 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
312 (DEBUGGER_AUTO_OFFSET): Remove.
313 (DEBUGGER_ARG_OFFSET): Remove.
314
315 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
316 Emit register stores with the same offsets as the hardware.
317 (mn10300_store_multiple_operation): Don't check that the register
318 save offsets are monotonic.
319 * config/mn10300/mn10300-protos.h: Update.
320
321 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
322
323 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
324 in terms of the value on the stack, not the MDR register.
325
326 2011-01-11 Jan Hubicka <jh@suse.cz>
327
328 PR lto/45721
329 PR lto/45375
330 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
331 (symbol_alias_set_destroy, symbol_alias_set_contains,
332 propagate_aliases_backward): Declare.
333 * lto-streamer-out.c (struct sets): New sturcture.
334 (trivally_defined_alias): New function.
335 (output_alias_pair_p): Rewrite.
336 (output_unreferenced_globals): Fix output of alias pairs.
337 (produce_symtab): Likewise.
338 * ipa.c (function_and_variable_visibility): Set weak alias destination
339 as needed in lto.
340 * varasm.c (symbol_alias_set_t): Remove.
341 (symbol_alias_set_destroy): Export.
342 (propagate_aliases_forward, propagate_aliases_backward): New functions
343 based on ...
344 (compute_visible_aliases): ... this one; remove.
345 (trivially_visible_alias): New
346 (trivially_defined_alias): New.
347 (remove_unreachable_alias_pairs): Rewrite.
348 (finish_aliases_1): Reorganize code checking if alias is defined.
349 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
350 in LTO mode.
351
352 2011-01-11 Richard Guenther <rguenther@suse.de>
353
354 PR tree-optimization/46076
355 * tree-ssa.c (useless_type_conversion_p): Conversions from
356 unprototyped to empty argument list function types are useless.
357
358 2011-01-11 Richard Guenther <rguenther@suse.de>
359
360 PR middle-end/45235
361 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
362 volatile MEMs as MEM_READONLY_P.
363
364 2011-01-11 Richard Guenther <rguenther@suse.de>
365
366 PR tree-optimization/47239
367 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
368
369 2011-01-11 Jeff Law <law@redhat.com>
370
371 PR tree-optimization/47086
372 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
373 IVs from statements that might throw.
374
375 2011-01-10 Jan Hubicka <jh@suse.cz>
376
377 PR lto/45375
378 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
379
380 2011-01-10 Jan Hubicka <jh@suse.cz>
381
382 PR lto/45375
383 * profile.c (read_profile_edge_counts): Ignore profile inconistency
384 when correcting profile.
385
386 2011-01-10 Jan Hubicka <jh@suse.cz>
387
388 PR lto/46083
389 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
390 DECL_FINI_PRIORITY.
391 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
392 Restore DECL_FINI_PRIORITY.
393
394 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
395
396 * doc/gimple.texi: Fix quoting of multi-word return values in
397 @deftypefn statements. Ensure presence of return value. Wrap
398 overlong @deftypefn lines.
399 (is_gimple_operand, is_gimple_min_invariant_address): Remove
400 descriptions of removed functions.
401 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
402 of multi-word return value in @deftypefn statement.
403
404 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
405
406 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
407 (Conditional Expressions, Logical Operators)
408 (Statement and operand traversals): Do not indent smallexample
409 code. Fix duplicate function argument in example.
410
411 2011-01-10 Jeff Law <law@redhat.com>
412
413 PR tree-optimization/47141
414 * ipa-split.c (split_function): Handle case where we are
415 returning a value and the return block has a virtual operand phi.
416
417 2011-01-10 Jan Hubicka <jh@suse.cz>
418
419 PR tree-optimization/47234
420 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
421 (pass_feedback_split_functions): Declare.
422 * passes.c (init_optimization_passes): Add ipa-split as subpass of
423 tree-profile.
424 * ipa-split.c (gate_split_functions): Update comments; disable
425 split-functions for profile_arc_flag and branch_probabilities.
426 (gate_feedback_split_functions): New function.
427 (execute_feedback_split_functions): New function.
428 (pass_feedback_split_functions): New global var.
429
430 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
431
432 PR lto/46760
433 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
434 calling gimple_call_set_cannot_inline.
435
436 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
437
438 * config/darwin-sections.def: Remove unused section.
439
440 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
441
442 PR c++/47218
443 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
444
445 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
446
447 PR objc/47232
448 * c-parser.c (c_parser_declaration_or_fndef): Improved
449 error message.
450
451 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
452
453 * config/i386/winnt.c (i386_pe_start_function): Make sure
454 to switch back to function's section.
455
456 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
457
458 PR gcc/46902
459 PR testsuite/46912
460 * plugin.c: Move include of dlfcn.h from here...
461 * system.h: ... to here.
462
463 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
464
465 * doc/cpp.texi (C++ Named Operators): Fix markup for header
466 file name.
467 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
468 two extra empty pages in PDF output.
469
470 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
471
472 PR objc/47078
473 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
474 for error recovery purposes behave as if it was not specified so
475 that the default type is usd.
476
477 2011-01-07 Jan Hubicka <jh@suse.cz>
478
479 PR tree-optmization/46469
480 * ipa.c (function_and_variable_visibility): Clear needed flags on
481 nodes with external decls; handle weakrefs merging correctly.
482
483 2011-01-07 Joseph Myers <joseph@codesourcery.com>
484
485 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
486 not false.
487
488 2011-01-07 Jan Hubicka <jh@suse.cz>
489
490 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
491 and no longer claim that gold is required for linker plugin.
492 * configure: Regenerate.
493 * gcc.c (PLUGIN_COND): New macro.
494 (LINK_COMMAND_SPEC): Use it.
495 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
496 * config.in (HAVE_LTO_PLUGIN): New.
497 * configure.ac (--with-lto-plugin): New parameter; autodetect
498 HAVE_LTO_PLUGIN.
499
500 2011-01-07 Jan Hubicka <jh@suse.cz>
501
502 PR tree-optimization/46367
503 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
504 when we can update original.
505 (cgraph_mark_inline_edge): Sanity check.
506 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
507
508 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
509
510 * config/spu/spu.h (ASM_COMMENT_START): Define.
511
512 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
513
514 PR driver/42445
515 * gcc.c (%>S): New.
516 (SWITCH_KEEP_FOR_GCC): Likewise.
517 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
518 (do_spec_1): Handle "%>".
519
520 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
521
522 2011-01-07 Jakub Jelinek <jakub@redhat.com>
523
524 PR target/47201
525 * config/i386/i386.c (ix86_delegitimize_address): If
526 simplify_gen_subreg fails, return orig_x.
527
528 PR bootstrap/47187
529 * value-prof.c (gimple_stringop_fixed_value): Handle
530 lhs of the call properly.
531
532 2011-01-07 Jan Hubicka <jh@suse.cz>
533
534 PR lto/45375
535 * lto-opt.c (lto_reissue_options): Set flag_shlib.
536
537 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
538
539 * target.def (function_switched_text_sections): New hook.
540 * doc/tm.texi: Regenerated.
541 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
542 * final.c (default_function_switched_text_sections): New.
543 (final_scan_insn): Call function_switched_text_sections when a
544 mid-function section change occurs.
545 * output.h (default_function_switched_text_sections): Declare.
546 * config/darwin-protos.h (darwin_function_switched_text_sections):
547 Likewise.
548 * config/darwin.c (darwin_function_switched_text_sections): New.
549 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
550
551 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
552
553 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
554 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
555 the secondary code fragment when outputting for DWARF == 2.
556
557 2011-01-07 Anatoly Sokolov <aesok@post.ru>
558
559 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
560 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
561 Remove.
562 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
563 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
564
565 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
566
567 PR debug/46704
568 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
569 when it is not empty.
570
571 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
572
573 Bobcat Enablement
574 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
575 (case ${target}): Add btver1.
576 * config/i386/driver-i386.c (host_detect_local_cpu): Let
577 -march=native recognize btver1 processors.
578 * config/i386/i386-c.c (ix86_target_macros_internal): Add
579 btver1 def_and_undef
580 * config/i386/i386.c (struct processor_costs btver1_cost): New
581 btver1 cost table.
582 (m_BTVER1): New definition.
583 (m_AMD_MULTIPLE): Includes m_BTVER1.
584 (initial_ix86_tune_features): Add btver1 tune.
585 (processor_target_table): Add btver1 entry.
586 (static const char *const cpu_names): Add btver1 entry.
587 (software_prefetching_beneficial_p): Add btver1.
588 (ix86_option_override_internal): Add btver1 instruction sets.
589 (ix86_issue_rate): Add btver1.
590 (ix86_adjust_cost): Add btver1.
591 * config/i386/i386.h (TARGET_BTVER1): New definition.
592 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
593 (enum processor_type): Add PROCESSOR_BTVER1.
594 * config/i386/i386.md (define_attr "cpu"): Add btver1.
595
596 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
597
598 PR target/43309
599 * config/i386/i386.c (legitimize_tls_address)
600 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
601 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
602 (tls_initial_exec_64_sun): New pattern.
603
604 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
605
606 * doc/invoke.texi (Overall Options): Improve wording and markup
607 of the description of -wrapper.
608
609 2011-01-06 Joseph Myers <joseph@codesourcery.com>
610
611 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
612 rdynamic, threads): New Driver options.
613
614 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
615
616 PR target/38118
617 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
618 if coming from .tdata.
619 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
620
621 2011-01-06 Jan Hubicka <jh@suse.cz>
622
623 PR lto/47188
624 * collect2.c (main): Do not enable LTOmode when plugin is active.
625
626 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
627
628 PR other/45915
629 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
630 --version output if supported.
631 * configure: Regenerate.
632
633 2011-01-06 Joseph Myers <joseph@codesourcery.com>
634
635 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
636 Driver options.
637
638 2011-01-06 Jakub Jelinek <jakub@redhat.com>
639
640 PR c/47150
641 * c-convert.c (convert): When converting a complex expression
642 other than COMPLEX_EXPR to a different complex type, ensure
643 c_save_expr is called instead of save_expr, unless in_late_binary_op.
644 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
645 when converting COMPLEX_TYPE.
646
647 2011-01-06 Ira Rosen <irar@il.ibm.com>
648
649 PR tree-optimization/47139
650 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
651 only the last reduction value is used outside the loop. Update
652 documentation.
653
654 2011-01-05 Joseph Myers <joseph@codesourcery.com>
655
656 * config/rtems.opt: New.
657 * config.gcc (*-*-rtems*): Use rtems.opt.
658
659 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
660
661 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
662 processors do not support 3DNow instructions.
663
664 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
665
666 * config/spu/spu.c (spu_option_override): Set parameter
667 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
668
669 2011-01-05 Jan Hubicka <jh@suse.cz>
670
671 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
672 at the command line.
673
674 2011-01-05 Martin Jambor <mjambor@suse.cz>
675
676 PR lto/47162
677 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
678 deltas on streamed outgoing edges.
679 (output_node_opt_summary): Output info for outgoing edges only when
680 the node is in new parameter set.
681 (output_cgraph_opt_summary): New parameter set, passed to the two
682 aforementioned functions. Update its forward declaration and its
683 callee too.
684
685 2011-01-05 Tom Tromey <tromey@redhat.com>
686
687 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
688 operator to c_finish_omp_atomic.
689 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
690 (build_unary_op): Update.
691 (build_modify_expr): Update.
692 (build_asm_expr): Update.
693
694 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
695
696 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
697 newly inserted insns.
698 (pad_bb): Likewise.
699 (spu_emit_branch_hint): Likewise.
700 (insert_hbrp_for_ilb_runout): Likewise.
701 (spu_machine_dependent_reorg): Call df_finish_pass after
702 schedule_insns returns.
703
704 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
705
706 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
707
708 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
709
710 PR tree-optimization/47005
711 * tree-sra.c (struct access): Add 'non_addressable' bit.
712 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
713 (decide_one_param_reduction): Return 0 if the parameter is passed by
714 reference and one of the accesses in the group is non_addressable.
715
716 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
717
718 PR tree-optimization/47056
719 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
720 (mark_load): Likewise. Handle FUNCTION_DECL specially.
721 (mark_store): Likewise. Pass STMT to ipa_record_reference.
722
723 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
724
725 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
726 initializer. Skip view conversions from aggregate types.
727
728 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
729
730 PR bootstrap/47055
731 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
732
733 2011-01-04 Philipp Thomas <pth@suse.de>
734
735 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
736 obvious typo.
737
738 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
739
740 * function.c (thread_prologue_and_epilogue_insns): Do not crash
741 on empty epilogue sequences.
742
743 2011-01-04 Joseph Myers <joseph@codesourcery.com>
744
745 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
746 non-static): New Driver options.
747
748 2011-01-04 Jie Zhang <jie@codesourcery.com>
749
750 PR driver/47137
751 * gcc.c (default_compilers[]): Set combinable field to 0
752 for all assembly languages.
753
754 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
755
756 * config/mips/loongson3a.md: New file.
757 * config/mips/mips.md: Include loongson3a.md.
758 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
759 TUNE_LOONGSON_3A.
760
761 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
762
763 PR middle-end/47017
764 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
765 instead of convert_memory_address_addr_space on the base expression.
766
767 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
768
769 * config/spu/spu.c (spu_option_override): Update error text
770 for bad -march= / -mtune= values.
771
772 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
773
774 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
775 if branch-hint optimization will be performed.
776
777 2011-01-03 Jakub Jelinek <jakub@redhat.com>
778
779 PR tree-optimization/47148
780 * ipa-split.c (split_function): Convert arguments to
781 DECL_ARG_TYPE if possible.
782
783 PR tree-optimization/47155
784 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
785 when computing uns.
786
787 PR rtl-optimization/47157
788 * combine.c (try_combine): If undobuf.other_insn becomes
789 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
790 and set *new_direct_jump_p too.
791
792 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
793
794 PR tree-optimization/47021
795 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
796
797 2011-01-03 Jakub Jelinek <jakub@redhat.com>
798
799 * gcc.c (process_command): Update copyright notice dates.
800 * gcov.c (print_version): Likewise.
801 * gcov-dump.c (print_version): Likewise.
802 * mips-tfile.c (main): Likewise.
803 * mips-tdump.c (main): Likewise.
804
805 2011-01-03 Martin Jambor <mjambor@suse.cz>
806
807 PR tree-optimization/46801
808 * tree-sra.c (type_internals_preclude_sra_p): Check whether
809 aggregate fields start at byte boundary instead of the bit-field flag.
810
811 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
812
813 PR driver/47137
814 * gcc.c (main): Revert revision 168407.
815
816 2011-01-03 Martin Jambor <mjambor@suse.cz>
817
818 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
819
820 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
821
822 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
823 vector optab to expand vector/scalar shift, update gimple to vector.
824
825 2011-01-03 Martin Jambor <mjambor@suse.cz>
826
827 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
828 a thunk.
829
830 2011-01-03 Martin Jambor <mjambor@suse.cz>
831
832 PR tree-optimization/46984
833 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
834 HOST_WIDE_INT.
835 (cgraph_create_indirect_edge): Fixed line length.
836 (cgraph_indirect_call_info): Declare.
837 (cgraph_make_edge_direct) Update declaration.
838 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
839 (cgraph_create_indirect_edge): Use it.
840 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
841 callees.
842 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
843 the new thunk_delta representation.
844 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
845 HOST_WIDE_INT.
846 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
847 (ipa_read_indirect_edge_info): Likewise.
848 * lto-cgraph.c (output_edge_opt_summary): New function.
849 (output_node_opt_summary): Call it on all outgoing edges.
850 (input_edge_opt_summary): New function.
851 (input_node_opt_summary): Call it on all outgoing edges.
852
853 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
854
855 PR driver/47137
856 * gcc.c (main): Don't check have_o when settting combine_inputs.
857
858 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
859
860 * regrename.c: Add general comment describing the pass.
861 (struct du_head): Remove 'length' field.
862 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
863 (regrename_optimize): Do not sort chains. Rework comments, add others.
864 Force renaming to the preferred class (if any) in the first pass and do
865 not consider registers that belong to it in the second pass.
866 (create_new_chain): Do not set 'length' field.
867 (scan_rtx_reg): Likewise.
868
869 2011-01-02 Jakub Jelinek <jakub@redhat.com>
870
871 PR tree-optimization/47140
872 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
873 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
874 to bit_value_binop.
875
876 PR rtl-optimization/47028
877 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
878 parm_birth_insn instead of at the beginning of first bb.
879
880 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
881
882 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
883 Remove the word "see" before "@pxref".
884 * doc/rtl.texi: Remove the word "see" before "@pxref".
885
886 2011-01-01 Jan Hubicka <jh@suse.cz>
887
888 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
889 memory.
890
891 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
892
893 PR target/38662
894 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
895
896 \f
897 Copyright (C) 2011 Free Software Foundation, Inc.
898
899 Copying and distribution of this file, with or without modification,
900 are permitted in any medium without royalty provided the copyright
901 notice and this notice are preserved.
This page took 0.073325 seconds and 4 git commands to generate.