1 2010-12-07 Andrey Belevantsev <abel@ispras.ru>
4 * haifa-sched.c (sched_create_recovery_edges): Update
6 * sel-sched-ir.c (maybe_tidy_empty_bb): Update dominator info
7 after deleting an empty block.
8 (tidy_control_flow): Also verify dominators.
9 (sel_remove_bb): Update dominator info after removing a block.
10 (sel_redirect_edge_and_branch_force): Assert that no unreachable
11 blocks will be created. Update dominator info.
12 (sel_redirect_edge_and_branch): Update dominator info when
13 basic blocks do not become unreachable.
14 (sel_remove_loop_preheader): Update dominator info.
16 2010-12-07 Richard Guenther <rguenther@suse.de>
18 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref):
19 Reset alignment information.
20 (bump_vector_ptr): Likewise.
22 2010-12-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
26 * config/pa/pa.c (pa_function_section): New function.
27 (TARGET_ASM_FUNCTION_SECTION): Define.
29 2010-12-07 Ian Lance Taylor <iant@google.com>
30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
33 * configure.ac: Disable AC_MSG_ERROR while looking for the C++
37 2010-12-07 Paul Koning <ni1d@arrl.net>
39 * config/pdp11/pdp11.c (output_addr_const_pdp11): Output negative
40 values with sign rather than as unsigned.
42 2010-12-07 Paul Koning <ni1d@arrl.net>
44 * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.
45 (pdp11_function_section): New function.
47 2010-12-07 Joseph Myers <joseph@codesourcery.com>
49 * config/mcore/mcore.c Don't include assert.h.
50 (layout_mcore_frame, handle_structs_in_regs): Use gcc_assert.
51 * config/spu/spu.c: Don't include assert.h.
52 (spu_sms_res_mii): Use gcc_assert.
54 2010-12-07 Sebastian Pop <sebastian.pop@amd.com>
56 PR tree-optimization/42327
57 * tree-data-ref.c (omega_setup_subscript): Call build_int_cst
58 instead of using integer_minus_one_node.
60 2010-12-07 Nathan Froyd <froydnj@codesourcery.com>
63 * params.def (CXX_MAX_NAMESPACES_FOR_DIAGNOSTIC_HELP): New parameter.
64 * doc/invoke.texi (cxx-max-namespaces-for-diagnostic-help): Document.
66 2010-12-07 Richard Guenther <rguenther@suse.de>
68 PR tree-optimization/46832
69 * tree-ssa-math-opts.c (execute_optimize_widening_mul): Check
70 that the call has a lhs.
72 2010-12-07 Yao Qi <yao@codesourcery.com>
74 * Makefile.in: Add $(TARGET_H) to the regrename.o rule.
75 * regrename.c (struct du_head): Add new element length.
76 (sort_du_head, get_element, merge, merge_sort_comparison):
77 New functions of merge sort implementation to du_head list.
78 (regrename_optimize): Sort du_head linked list by length.
79 Iterate registers in a preferred-register-first order.
81 (check_new_reg_p): here. New function.
82 (create_new_chain): Initialize length.
83 (scan_rtx_reg): Increase length for non-debug insns.
84 * target.def: New hook preferred_rename_class.
85 * targhook.c (default_preferred_rename_class): New.
86 * targhook.h: Declare it.
87 * doc/tm.texi.in: New hook TARGET_PREFERRED_RENAME_CLASS.
88 * doc/tm.texi: Regenerate.
90 2010-12-07 Jakub Jelinek <jakub@redhat.com>
93 * tree-parloops.c (separate_decls_in_region): Use UNKNOWN_LOCATION
94 instead of BUILTINS_LOCATION.
95 (create_loop_fn): Add LOC argument, pass it to build_decl instead of
97 (create_parallel_loop): Add LOC argument, use it for OMP clauses
98 and GIMPLE_*OMP* statements.
99 (gen_parallel_loop): Determine locus for the parallel loop, pass it
100 to create_loop_fn and create_parallel_loop.
101 * cfgexpand.c (gimple_expand_cfg): For builtin functions, call
102 set_curr_insn_source_location (UNKNOWN_LOCATION).
104 2010-12-07 Joern Rennecke <amylaar@spamcop.net>
105 Richard Guenther <rguenther@suse.de>
108 * config/bfin/bfin.c (BB_AUX_INDEX): Cast to intptr_t.
109 (bfin_reorder_loops): Change type of index to intptr_t.
111 2010-12-07 Richard Guenther <rguenther@suse.de>
113 PR tree-optimization/46726
114 * tree-inline.c (estimate_num_insns): Special case pow (x, 2.0).
116 2010-12-07 Richard Guenther <rguenther@suse.de>
118 * tree-ssa-math-opts.c (execute_optimize_widening_mul): Unlink
121 2010-12-07 Nicola Pero <nicola.pero@meta-innovation.com>
123 * c-parser.c (c_parser_typeof_specifier): Removed special
124 treatment of objc_volatilized attribute for Objective-C.
126 2010-12-06 Vladimir Makarov <vmakarov@redhat.com>
128 * ira.c (update_equiv_regs): Prohibit move insns if
129 pressure-sensitive scheduling was done.
131 2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com>
133 * c-parser.c (c_parser_for_statement): Use c_fully_fold() instead
134 of c_process_expr_stmt() for the iterating and collection
135 expressions of an Objective-C fast enumeration loop.
137 2010-12-06 Jakub Jelinek <jakub@redhat.com>
140 * dwarf2out.c (modified_type_die): If both is_const_type and
141 is_volatile_type is set, start with DW_TAG_const_type or
142 DW_TAG_volatile_type depending on where we get qualified type
143 in the recursive call.
146 * config/ia64/ia64.c (rtx_needs_barrier): Handle asm CLOBBER
147 as a store into that register.
149 PR tree-optimization/46528
151 * profile.c (branch_prob): Make sure last is never set to a debug
155 * reginfo.c (init_subregs_of_mode): Don't call find_subregs_of_mode
158 PR rtl-optimization/46777
159 * cfglayout.c (duplicate_insn_chain): Avoid duplicating
160 also barrier after tablejump.
162 2010-12-06 Joern Rennecke <amylaar@spamcop.net>
163 Richard Henderson <rth@redhat.com>
166 * config/vax/vax.c (vax_output_int_move): Fold #if into if.
168 2010-12-06 Eric Botcazou <ebotcazou@adacore.com>
170 * config/sparc/sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally.
171 * config/sparc/sol2-gas.h (PUSHSECTION_FORMAT): Redefine.
173 2010-12-06 Joern Rennecke <amylaar@spamcop.net>
176 * config/frv/predicates.md (gpr_or_int12_operand): Use IN_RANGE.
177 (gpr_fpr_or_int12_operand, gpr_or_int10_operand): Likewise.
178 (int12_operand, int_2word_operand, uint16_operand): Likewise.
179 (fpr_or_int6_operand, int6_operand, int5_operand): Likewise.
180 (uint5_operand, uint4_operand): Likewise.
181 * config/frv/frv.h (IN_RANGE_P): Delete.
182 (GPR_P, FPR_P, CC_P, ICC_P, FCC_P, CR_P, ICR_P, FCR_P): Use IN_RANGE.
183 (ACC_P, ACCG_P, SPR_P, CONST_OK_FOR_I, CONST_OK_FOR_J): Likewise.
184 (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise.
185 (CONST_OK_FOR_P): Likewise.
186 * config/frv/frv.md (*movqicc_internal2_int): Likewise.
187 (*movqicc_internal2_float, *movhicc_internal2_int): Likewise.
188 (*movhicc_internal2_float, *movsicc_internal2_int): Likewise.
189 (*movsicc_internal2_float, casesi): Likewise.
190 * config/frv/frv.c (frv_frame_offset_rtx): Likewise.
191 (frv_asm_output_mi_thunk, frv_legitimate_address_p_1): Likewise.
192 (frv_emit_movsi, output_move_single, frv_emit_cond_move): Likewise.
193 (frv_split_cond_move, frv_rtx_costs): Likewise.
196 * config/mmix/mmix.c (mmix_intval): Split shift count.
198 2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
200 * config/i386/i386.c (m_COREI7): New.
201 (initial_ix86_tune_features): Turn on
202 X86_TUNE_SSE_UNALIGNED_LOAD_OPTIMAL and
203 X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL for Core i7.
205 2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
207 * config.gcc: Allow corei7-avx for --with-arch/--with-cpu.
209 * config/i386/driver-i386.c (host_detect_local_cpu): Support
212 * config/i386/i386.c (override_options): Handle "corei7-avx".
214 * doc/invoke.texi: Document corei7-avx.
216 2010-12-06 Richard Guenther <rguenther@suse.de>
218 PR tree-optimization/46806
219 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do not
220 coalesce different types.
222 2010-12-06 Richard Guenther <rguenther@suse.de>
224 PR tree-optimization/46785
225 * tree-vect-loop.c (vect_is_simple_reduction_1): Also allow
226 call statements as operand definition.
228 2010-12-06 Mingjie Xing <mingjie.xing@gmail.com>
230 * doc/tm.texi.in: Fix typo.
231 * doc/tm.texi: Regenerate.
233 2010-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
235 * config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]: Fix typo in
238 2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com>
240 * c-family/c-common.h: Removed the declarations of all the objc_
241 callbacks, and moved them into c-objc.h. Removed
242 objc_ivar_visibility_kind and moved it into c-objc.h.
243 * c-family/c-objc.h: New file.
244 * c-family/c-common.c: Include c-objc.h.
245 * c-family/c-format.c: Same change.
246 * c-family/stub-objc.c: Same change.
247 * c-decl.c: Include c-family/c-objc.h.
248 * c-parser.c: Same change.
249 * c-typeck.c: Same change.
250 * c-config-lang.in (gtfiles): Added c-family/c-objc.h.
251 * Makefile.in (c-decl.o): Depend on c-family/c-objc.h.
252 (c-parser.o): same change.
253 (c-typeck.o): Same change.
254 (c-family/c-format.o): Same change.
255 (c-family/stub-objc.o): Same change.
256 (c-family/c-common.o): Same change.
257 (PLUGIN_HEADERS): Added c-family/c-objc.h.
259 2010-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
261 * config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]: Ignore
262 --with-dwarf2 option.
264 2010-12-03 Jan Hubicka <jh@suse.cz>
266 * lto-streamer-in.c (input_cfg): Fix pasto.
268 2010-12-03 Jan Hubicka <jh@suse.cz>
270 * ipa.c (cgraph_externally_visible_p): Do not localize builtins
271 and functions with user asm defined names.
272 (varpool_externally_visible_p): Do not localize vars with user
275 2010-12-03 Jan Hubicka <jh@suse.cz>
277 * dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME
278 to prevent mangling with lto frontend.
280 2010-12-03 Jan Hubicka <jh@suse.cz>
282 * Makefile.in (LTO_STREAMER_H): Add GCOV_IO_H.
283 * lto-cgraph.c (merge_profile_summaries): Fix thinko.
285 2010-12-03 Jan Hubicka <jh@suse.cz>
287 PR tree-optimization/46760
288 * cgraph.c (cgraph_create_node): Initialize count_materialization_scale.
289 * cgraph.h (struct cgraph_node): Add count_materialization_scale.
290 * lto-cgraph.c (lto_output_edge): Fix assert.
291 (lto_output_node): Output count_materialization_scale.
292 (output_profile_summary): Output only runs and sum_max.
293 (input_node): Input count_materialization_scale.
294 (input_profile_summary): Read data into file specific gcov summary.
295 (merge_profile_summaries): New function.
296 (input_cgraph): Update call of input_profile_summary;
297 call merge_profile_summaries.
298 * lto-streamer-in.c (input_cfg): Add count_materialization_scale arg;
299 rescale counts at read in.
300 (intput_bb): Likewise.
301 (input_function): Update call of input_bb.
302 (lto_read_body): Update call of input_cfg.
303 * lto-streamer.h: Inlclude gcov-io.h
304 (lto_file_decl_data): Add gcov_ctr_summary.
306 2010-12-03 Dave Korn <dave.korn.cygwin@gmail.com>
308 * doc/tm.texi.in (Cond. Exec. Macros): Rename node from this ...
309 (Cond Exec Macros): ... to this.
310 * doc/tm.texi: Regenerate.
312 2010-12-03 Jason Merrill <jason@redhat.com>
315 * dwarf2out.c (gen_tagged_type_die): Don't put local types in
318 2010-12-03 Nathan Froyd <froydnj@codesourcery.com>
320 * config/arm/arm.c (arm_legitimate_index_p): Split
321 VALID_NEON_QREG_MODE and VALID_NEON_DREG_MODE cases. Permit
322 slightly larger constants in the latter case.
323 (thumb2_legitimate_index_p): Likewise.
325 2010-12-03 Joseph Myers <joseph@codesourcery.com>
327 * common.opt (N, Q, Qn, Qy, Z, n, r, s, t): New options.
328 * gcc.c (cc1_options): Add %{Qy:}.
330 2010-12-03 Joseph Myers <joseph@codesourcery.com>
332 * gcc.c (LINK_COMMAND_SPEC): Don't handle -A, -d or -m.
333 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
334 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise.
336 2010-12-03 Alexander Monakov <amonakov@ispras.ru>
338 PR rtl-optimization/45354
339 * sel-sched-ir.c (jump_leads_only_to_bb_p): Rename to ...
340 (bb_has_removable_jump_to_p): This. Update all callers. Make static.
341 Allow BBs ending with a conditional jump. Forbid EDGE_CROSSING jumps.
342 * sel-sched-ir.h (jump_leads_only_to_bb_p): Delete prototype.
344 2010-12-03 Laurynas Biveinis <laurynas.biveinis@gmail.com>
346 * basic-block.h (struct edge_prediction): Remove forward
348 * tree-flow.h (struct edge_prediction): Move from here...
349 * predict.c (struct edge_prediction): ...to here.
350 * cselib.h (struct elt_list): Move from here...
351 * cselib.c (struct elt_list): ...to here.
353 2010-12-02 Ian Lance Taylor <iant@google.com>
355 * gcc.c (default_compilers): Add entry for ".go".
356 * common.opt: Add -static-libgo as a driver option.
357 * doc/install.texi (Configuration): Mention libgo as an option for
358 --enable-shared. Mention go as an option for --enable-languages.
359 * doc/invoke.texi (Overall Options): Mention .go as a file name
360 suffix. Mention go as a -x option.
361 * doc/frontends.texi (G++ and GCC): Mention Go as a supported
363 * doc/sourcebuild.texi (Top Level): Mention libgo.
364 * doc/standards.texi (Standards): Add section on Go language.
365 Move references for other languages into their own section.
366 * doc/contrib.texi (Contributors): Mention that I contributed the
369 2010-12-03 Laurynas Biveinis <laurynas.biveinis@gmail.com>
371 * tree.h (struct call_expr_arg_iterator_d): Remove GTY tag.
372 (const_call_expr_arg_iterator_d): Likewise.
373 (expanded_location): Likewise.
374 * c-tree.h (struct c_arg_tag_d): Likewise.
375 * dwarf2out.c (struct cfa_loc): Likewise.
376 (struct skeleton_chain_struct): Likewise.
377 * except.c (struct ttypes_filter): Likewise.
378 * cselib.h (struct cselib_val_struct): Likewise.
379 (elt_loc_list): Likewise.
380 (elt_list): Likewise.
381 * varasm.c (struct addr_const): Likewise.
382 * tree-flow.h (struct edge_prediction): Likewise.
383 (struct int_tree_map): Likewise.
384 (struct _edge_var_map): Likewise.
386 2010-12-02 H.J. Lu <hongjiu.lu@intel.com>
389 * config/i386/i386.c (initial_ix86_tune_features): Turn on
390 X86_TUNE_INTER_UNIT_MOVES for Core 2 and Core i7.
392 2010-12-02 H.J. Lu <hongjiu.lu@intel.com>
394 * config.gcc: Allow corei7 for --with-arch=/--with-cpu=.
396 2010-12-02 Ian Lance Taylor <iant@google.com>
398 * configure.ac: AC_DEFINE ENABLE_BUILD_WITH_CXX. Check for C++
399 header files unordered_map, tr1/unordered_map, and ext/hash_map.
400 * configure, config.in: Rebuild.
402 2010-11-02 Eric Botcazou <ebotcazou@adacore.com>
405 * config/sparc/sparc.c (can_use_mov_pic_label_ref): New predicate.
406 (sparc_expand_move): Call it to decide whether to emit the special
407 mov{si,di}_pic_label_ref patterns.
408 (sparc_legitimize_pic_address): Call it to decide whether to emit
409 the regular PIC sequence for labels. Fix long line.
410 (sparc_file_end): Set is_thunk for the PIC helper.
412 2010-12-02 Eric Botcazou <ebotcazou@adacore.com>
414 * tree.c (build_range_type_1): Do not SET_TYPE_STRUCTURAL_EQUALITY
415 for a non-shared type.
417 2010-12-02 Sebastian Pop <sebastian.pop@amd.com>
420 * tree-scalar-evolution.c (interpret_rhs_expr): Handle ADDR_EXPR
421 with MEM_REFs as POINTER_PLUS_EXPR.
423 2010-12-02 Joseph Myers <joseph@codesourcery.com>
425 * config/i386/linux.h, config/m32r/linux.h, config/m68k/linux.h,
426 config/sparc/linux.h, config/sparc/linux64.h: Remove comments
429 2010-12-02 Joseph Myers <joseph@codesourcery.com>
431 * config/bfin/bfin.h (LINK_SPEC): Remove %{b}.
432 * config/frv/frv.h (LINK_SPEC): Remove %{b}.
433 * config/i386/netware.h (LINK_SPEC): Remove %{b}.
434 * config/i386/nto.h (LINK_SPEC): Remove %{b}.
435 * config/lm32/uclinux-elf.h (LINK_SPEC): Remove %{b}.
436 * config/sol2.h (LINK_SPEC): Remove %{b}.
437 * config/svr4.h (LINK_SPEC): Remove %{b}.
439 2010-12-02 Joseph Myers <joseph@codesourcery.com>
441 * config/i386/freebsd.h (LINK_SPEC): Cut long comment.
442 * config/i386/linux.h (LINK_SPEC): Cut long comment.
443 * config/i386/netware.h (LINK_SPEC): Remove %{V}.
444 * config/m32r/linux.h (LINK_SPEC): Cut long comment.
445 * config/m68k/linux.h (LINK_SPEC): Cut long comment.
446 * config/sparc/linux.h (LINK_SPEC): Cut long comment.
447 (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}.
448 * config/sparc/linux64.h (LINK_SPEC): Cut long comment.
449 (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}.
450 * config/sparc/netbsd-elf.h (ASM_SPEC): Remove %{V} and
453 2010-12-02 Joseph Myers <joseph@codesourcery.com>
455 * gcc.c (trad_capable_cpp, default_compilers): Don't handle
458 2010-12-02 Joseph Myers <joseph@codesourcery.com>
460 * config/alpha/freebsd.h (LINK_SPEC): Don't handle -Wl,.
461 * config/bfin/bfin.h (ASM_SPEC): Don't handle -Wa,.
462 * config/frv/frv.h (ASM_SPEC): Don't handle -Wa,.
463 * config/lm32/uclinux-elf.h (LINK_SPEC): Don't handle -Wl,.
464 * config/microblaze/microblaze.h (LINK_SPEC): Don't handle -Wl,.
465 * config/mn10300/linux.h (ASM_SPEC): Don't handle -Wa,.
466 * config/pa/pa-linux.h (ASM_SPEC): Don't handle -Wa,.
467 * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't handle -Wa,.
468 * config/rs6000/linux64.h (ASM_SPEC_COMMON): Don't handle -Wa,.
469 * config/rs6000/sysv4.h (LINK_SPEC): Don't handle -Wl,.
470 * config/rs6000/vxworks.h (ASM_SPEC): Don't handle -Wa,.
471 * config/sol2.h (ASM_SPEC): Don't handle -Wa,.
472 * config/sparc/linux.h (ASM_SPEC): Don't handle -Wa,.
473 * config/sparc/linux64.h (ASM_SPEC): Don't handle -Wa,.
474 * config/sparc/sp-elf.h (ASM_SPEC): Don't handle -Wa,.
475 * config/sparc/sysv4.h (ASM_SPEC): Don't handle -Wa,.
476 * config/svr4.h (SVR4_ASM_SPEC): Don't handle -Wa,.
477 * config/vxworks.h (VXWORKS_LINK_SPEC): Don't handle -Wl,.
479 2010-12-02 Paul Koning <ni1d@arrl.net>
481 * config/pdp11/pdp11.c (output_jump): Map unsigned to signed
482 opcodes if CC_NO_OVERFLOW is set.
483 (notice_update_cc_on_set): Correct setting of CC0 as a side
484 effect; set CC_NO_OVERFLOW for cases where C flag is not
487 2010-12-02 Ian Lance Taylor <iant@google.com>
489 * doc/install.texi (Configuration): Update default for
492 2010-12-02 Nathan Froyd <froydnj@codesourcery.com>
495 * c-decl.c (grokparms): Set arg_info->parms to NULL_TREE when
498 2010-12-02 Sebastian Pop <sebastian.pop@amd.com>
500 PR tree-optimization/45199
501 * tree-data-ref.c (mem_write_stride_of_same_size_as_unit_type_p): New.
502 (stores_zero_from_loop): Call
503 mem_write_stride_of_same_size_as_unit_type_p.
504 * tree-data-ref.h (stride_of_unit_type_p): New.
505 * tree-loop-distribution.c (generate_memset_zero): Simplified.
506 Call stride_of_unit_type_p.
507 (build_rdg_partition_for_component): Do not call
508 rdg_flag_similar_memory_accesses when
509 flag_tree_loop_distribute_patterns is set.
511 2010-12-02 Richard Guenther <rguenther@suse.de>
513 * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Disregard
514 sign-changing conversions for induction detection.
516 2010-12-02 Richard Guenther <rguenther@suse.de>
518 PR tree-optimization/46723
519 * tree-vect-loop.c (get_initial_def_for_induction): Strip
520 conversions from the induction evolution and apply it to
522 * tree-vect-stmts.c (vect_get_vec_def_for_operand): Handle
523 assigns for induction defs.
525 2010-12-02 Richard Guenther <rguenther@suse.de>
527 * value-prof.c (gimple_ic): Use stmt_ends_bb_p to detect
528 the case we need to split the edge and not the block.
530 2010-12-02 Bernd Schmidt <bernds@codesourcery.com>
532 DFA model for Core 2 and Core i7 scheduling.
534 * config/i386/core2.md: New DFA model for Core 2 and Core i7.
535 * config/i386/i386.c (ix86_option_override_internal): Update entries
536 for Core 2 and Core i7.
537 (ix86_issue_rate): Set issue rate to 3 [be realistic].
538 * config/i386/i386.md: Include "core2.md".
539 (define_attr cpu): Add "corei7".
541 2010-12-02 Maxim Kuvyrkov <maxim@codesourcery.com>
543 Define tuning for Core 2 and Core i7.
545 * config/i386/i386-c.c (ix86_target_macros_internal): Update.
546 * config/i386/i386.c (core2_cost): Delete, use generic costs instead.
547 (m_CORE2): Replace with m_CORE2_{32,64}.
548 (m_CORE2I7{,_32,_64}): New macros.
549 (m_GENERIC32, m_GENERIC64): Update.
550 (initial_ix86_tune_features, x86_accumulate_outgoing_args,)
551 (x86_arch_always_fancy_math_387): Set m_CORE2I7_32 iff m_GENERIC32 and
552 set m_CORE2I7_64 iff m_GENERIC64.
553 (processor_target_table): Use generic costs for Core 2 and Core i7.
554 (ix86_option_override_internal): Update entries for Core 2 and Core i7.
555 (ix86_issue_rate): Remove entry for Core 2.
556 (ia32_multipass_dfa_lookahead, ix86_sched_init_global): Update.
557 * config/i386/i386.h (TARGET_CORE2_32, TARGET_CORE2_64): New macros.
558 (TARGET_CORE2): Update.
559 (PROCESSOR_CORE2_32, PROCESSOR_CORE2_64): New constants.
560 (PROCESSOR_CORE2): Remove.
562 2010-12-02 Richard Guenther <rguenther@suse.de>
564 * lto-streamer.h (LTO_major_version): Bump to 2.
566 2010-12-02 Richard Guenther <rguenther@suse.de>
569 * gimple.c (canonical_type_hash_cache): New hashtable.
570 (gimple_type_hash): Make a wrapper around ...
571 (gimple_type_hash_1): ... this. Take gtc_mode argument.
572 (gimple_canonical_type_hash): Likewise.
573 (gtc_visit): Take a gtc_mode argument.
574 (gimple_types_compatible_p_1): Likewise. Do not compare struct
575 tag names or field names when computing canonical types.
576 (gimple_types_compatible_p): Adjust.
577 (visit): Take a gtc_mode argument.
578 (iterative_hash_gimple_type): Likewise. Do not hash struct tag
579 names or field names when computing hashes of canonical types.
580 (gimple_register_canonical_type): Use gimple_canonical_type_hash
582 (print_gimple_types_stats): Dump stats of canonical_type_hash_cache.
583 (free_gimple_type_tables): Free canonical_type_hash_cache.
585 2010-12-02 Richard Guenther <rguenther@suse.de>
586 Ira Rosen <irar@il.ibm.com>
588 PR tree-optimization/46663
589 * tree-vect-patterns.c (vect_recog_pow_pattern): Check that
590 FUNCTION_DECL exists and that it's a builtin.
592 2010-12-02 Jie Zhang <jie@codesourcery.com>
595 * varasm.c (compute_visible_aliases): Handle user set
598 2010-12-01 Michael Meissner <meissner@linux.vnet.ibm.com>
600 * config/rs6000/rs6000.c (rs6000_option_override_internal): Fix
601 thinko regarding setting -mno-<xxx> debug switches.
602 (rs6000_rtx_costs): Add FMA. Delete old rtl based FMA costs.
604 2010-12-01 Joseph Myers <joseph@codesourcery.com>
606 * intl.c: Don't include tm.h.
607 * Makefile.in (intl.o): Don't depend on $(TM_H).
609 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
611 * graphite-sese-to-poly.c (analyze_drs_in_stmts): Fix set but
613 (rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
615 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
617 * graphite-sese-to-poly.c (analyze_drs): Removed.
618 (build_scop_drs): Do not call analyze_drs.
619 (analyze_drs_in_stmts): New.
621 (insert_out_of_ssa_copy): Call analyze_drs_in_stmts.
622 (insert_out_of_ssa_copy_on_edge): Same.
623 (rewrite_close_phi_out_of_ssa): Call insert_stmts.
624 (rewrite_phi_out_of_ssa): Same.
625 (rewrite_cross_bb_scalar_dependence): Same.
626 (split_reduction_stmt): Move data references in the new basic blocks.
627 (translate_scalar_reduction_to_array_for_stmt): Call insert_stmts.
629 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
631 * sese.c (rename_uses): Do not handle ADDR_EXPR in LHS of assignments.
633 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
636 * graphite-poly.c (new_poly_bb): Returns a poly_bb_p. Do not take
637 the reduction bool in parameter. Clear PBB_IS_REDUCTION. Set GBB_PBB.
638 * graphite-poly.h (new_poly_bb): Update declaration.
639 (gbb_from_bb): Moved here...
641 * graphite-sese-to-poly.c (var_used_in_not_loop_header_phi_node):
643 (graphite_stmt_p): Removed.
644 (try_generate_gimple_bb): Returns a gimple_bb_p. Do not pass in
645 sbitmap reductions. Always build a gimple_bb_p. Do not call
647 (build_scop_bbs_1): Do not pass in sbitmap reductions.
648 (build_scop_bbs): Same.
649 (gbb_from_bb): ... from here.
650 (add_conditions_to_constraints): Moved up.
652 (build_scop_drs): Call analyze_drs. Remove all the PBBs that do
653 not contain data references.
654 (new_pbb_from_pbb): New.
655 (insert_out_of_ssa_copy_on_edge): Call new_pbb_from_pbb after a
657 (rewrite_close_phi_out_of_ssa): Update call to
658 insert_out_of_ssa_copy_on_edge.
659 (rewrite_reductions_out_of_ssa): Now static.
660 (rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
662 (split_reduction_stmt): Call split_pbb.
663 (translate_scalar_reduction_to_array): Pass in the scop, do not
664 pass in the sbitmap reductions.
665 (rewrite_commutative_reductions_out_of_ssa_close_phi): Same.
666 (rewrite_commutative_reductions_out_of_ssa_loop): Same.
667 (rewrite_commutative_reductions_out_of_ssa): Same.
668 (build_poly_scop): Call build_scop_bbs,
669 rewrite_commutative_reductions_out_of_ssa,
670 rewrite_reductions_out_of_ssa, and
671 rewrite_cross_bb_scalar_deps_out_of_ssa. Move build_scop_drs
673 * graphite-sese-to-poly.h (rewrite_commutative_reductions_out_of_ssa):
675 (rewrite_reductions_out_of_ssa): Same.
676 (rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
677 (build_scop_bbs): Same.
678 * graphite.c (graphite_transform_loops): Do not initialize reductions.
679 Do not call build_scop_bbs,
680 rewrite_commutative_reductions_out_of_ssa,
681 rewrite_reductions_out_of_ssa, and
682 rewrite_cross_bb_scalar_deps_out_of_ssa.
683 * sese.h (struct gimple_bb): Add field pbb.
686 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
688 * graphite-sese-to-poly.c (handle_scalar_deps_crossing_scop_limits):
690 (rewrite_cross_bb_scalar_deps): Pass in the scop. Call
691 handle_scalar_deps_crossing_scop_limits.
692 (rewrite_cross_bb_scalar_deps_out_of_ssa): Create an empty BB
693 after the scop. Update call to rewrite_cross_bb_scalar_deps.
695 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
697 * sese.c (rename_uses): Call recompute_tree_invariant_for_addr_expr
698 when replacing a constant in an ADDR_EXPR.
700 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
702 * graphite-blocking.c (lst_do_strip_mine_loop): Extra parameter
704 (lst_do_strip_mine): Same.
705 (scop_do_strip_mine): Same.
706 * graphite-poly.c (apply_poly_transforms): Update call to
708 * graphite-poly.h (scop_do_strip_mine): Update declaration.
710 2010-12-01 Jan Hubicka <jh@suse.cz>
712 * tree.c (build_common_builtin_nodes): Do not initialize
713 BUILT_IN_PROFILE_FUNC_ENTER and BUILT_IN_PROFILE_FUNC_EXIT.
714 * builtins.c (expand_builtin_profile_func): Remove.
715 (expand_builtin): Do not handle BUILT_IN_PROFILE_FUNC_ENTER and
716 BUILT_IN_PROFILE_FUNC_EXIT.
717 * builtins.def (profile_func_enter, profile_func_exit): Remove stubs.
718 (__cyg_profile_func_enter, __cyg_profile_func_exit): New.
719 * gimplify.c (gimplify_function_tree): Reorganize code calling
722 2010-12-01 Joseph Myers <joseph@codesourcery.com>
724 * opts.c: Expand comment on tm.h include.
726 2010-12-01 Yao Qi <yao@codesourcery.com>
728 * config/arm/predicates.md ("vfp_register_operand"): Return true for
729 VFP_D0_D7_REGS classes.
731 2010-12-01 Joseph Myers <joseph@codesourcery.com>
733 * common.opt (flag_stack_check): New Variable entry.
734 (fcompare-debug-second): Use Var.
735 * flags.h (flag_compare_debug, flag_stack_check): Remove.
736 * opts.c (flag_compare_debug): Remove.
737 (common_handle_option): Don't handle OPT_fcompare_debug_second.
738 Set opts->x_flag_stack_check for OPT_fstack_check_.
739 * toplev.c (flag_stack_check): Remove.
741 2010-12-01 Joseph Myers <joseph@codesourcery.com>
743 * common.opt (main_input_filename, main_input_basename,
744 main_input_baselength): New Variable entries. From toplev.c.
745 * final.c (output_quoted_string): Move from toplev.c.
746 * output.h (output_quoted_string): Move from toplev.h.
747 * opts-global.c (read_cmdline_options): Use gcc_options pointer to
748 access main_input_filename, main_input_baselength and
750 * targhooks.c: Include intl.h and opts.h.
751 (option_affects_pch_p, default_get_pch_validity): Move from
753 * targhooks.h (option_affects_pch_p, default_get_pch_validity):
755 * toplev.c (main_input_filename, main_input_basename,
756 main_input_baselength): Move to common.opt.
757 (output_quoted_string): Move to final.c.
758 (warn_deprecated_use): Move to tree.c.
759 (option_affects_pch_p, default_get_pch_validity,
760 pch_option_mismatch, default_pch_valid_p): Move to targhooks.c.
761 * toplev.h (skip_leading_substring): Move to tree-dump.c.
762 (warn_deprecated_use): Move to tree.h.
763 (output_quoted_string): Move to output.h.
764 (main_input_filename, main_input_basename, main_input_baselength):
766 (default_get_pch_validity, default_pch_valid_p): Move to
768 * tree-dump.c (skip_leading_substring): Move from toplev.h.
769 * tree.c (warn_deprecated_use): Move from toplev.c.
770 * tree.h (warn_deprecated_use): Move from toplev.h.
771 * c-typeck.c, config/alpha/alpha.c, config/arc/arc.c,
772 config/arm/arm.c, config/avr/avr.c, config/bfin/bfin.c,
773 config/cris/cris.c, config/crx/crx.c, config/fr30/fr30.c,
774 config/frv/frv.c, config/h8300/h8300.c, config/ia64/ia64.c,
775 config/iq2000/iq2000.c, config/lm32/lm32.c, config/m32c/m32c.c,
776 config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c,
777 config/mcore/mcore.c, config/mep/mep.c,
778 config/microblaze/microblaze.c, config/mips/mips.c,
779 config/mmix/mmix.c, config/mn10300/mn10300.c,
780 config/moxie/moxie.c, config/pa/pa.c, config/pdp11/pdp11.c,
781 config/picochip/picochip.c, config/s390/s390.c,
782 config/score/score.c, config/sh/sh.c, config/sparc/sparc.c,
783 config/spu/spu.c, config/stormy16/stormy16.c, config/v850/v850.c,
784 config/vax/vax.c, config/xtensa/xtensa.c, gimple-low.c,
785 graphite-sese-to-poly.c, plugin.c, tree-cfg.c, tree-inline.c,
786 varasm.c, xcoffout.c: Don't include toplev.h.
787 * Makefile.in (c-typeck.o, tree-inline.o, tree-cfg.o,
788 gimple-low.o, graphite-sese-to-poly.o, targhooks.o, plugin.o,
789 varasm.o, xcoffout.o): Update dependencies.
790 * config/arm/t-arm (arm.o): Update dependencies.
791 * config/spu/t-spu-elf (spu.o): Update dependencies.
793 2010-12-01 Richard Guenther <rguenther@suse.de>
795 PR tree-optimization/46730
796 * value-prof.c (gimple_ic): Always generate a separate merge BB.
798 2010-11-30 Ian Lance Taylor <iant@google.com>
800 * config/i386/linux.h (ASM_SPEC): Pass -v as -v, not -V. Remove
801 all of %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}.
802 * config/i386/linux64.h (ASM_SPEC): Likewise.
803 * config/i386/mingw-w64.h (ASM_SPEC): Likewise.
804 * config/i386/sol2-10.h (ASM_SPEC) [USE_GAS]: Likewise.
805 * config/i386/vxworks.h (ASM_SPEC): Likewise.
806 * config/i386/x86-64.h (ASM_SPEC): Likewise.
807 * config/i386/sol2.h (ASM_SPEC): Remove %{Wa,*:%*}.
808 * config/i386/sol2-10.h (ASM_SPEC) [!USE_GAS]: Likewise.
810 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
812 * c-decl.c (finish_function): Call objc_finish_function in
814 * c-typeck.c (convert_for_assignment): Do not call
815 objc_type_quals_match().
817 2010-11-30 Richard Guenther <rguenther@suse.de>
819 PR tree-optimization/46722
820 * tree-ssa-math-opts.c (convert_mult_to_fma): Get multiplication
821 operands as arguments.
822 (execute_optimize_widening_mul): Also handle power of two as
825 2010-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
828 * cgraphunit.c (process_function_and_variable_attributes): Fix
831 2010-11-30 Joseph Myers <joseph@codesourcery.com>
833 * hwint.c: New. Extracted from toplev.c.
834 * hwint.h (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
836 * toplev.c (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
838 * toplev.h (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
840 * builtins.c, combine.c, config/i386/winnt.c, double-int.c,
841 explow.c, expmed.c, fold-const.c, ggc-page.c, ggc-zone.c, ifcvt.c,
842 ipa-struct-reorg.c, ira-color.c, matrix-reorg.c, omp-low.c,
843 real.c, recog.c, reload.c, rtlanal.c, simplify-rtx.c,
844 stor-layout.c, tree-dfa.c, tree-ssa-alias.c,
845 tree-ssa-loop-niter.c, tree-vect-data-refs.c,
846 tree-vect-loop-manip.c, tree-vect-loop.c, tree-vect-stmts.c,
847 tree-vrp.c: Don't include toplev.h.
848 * genattrtab.c, genconditions.c, genemit.c, genextract.c,
849 genoutput.c, genpeep.c, genpreds.c, genrecog.c: Don't include
850 toplev.h in generated output.
851 * Makefile.in (OBJS-common): Add hwint.o.
852 Dependencies for above files changed to remove toplev.h.
854 (insn-attrtab.o, insn-emit.o, insn-extract.o, insn-output.o,
855 insn-peep.o, insn-preds.o, insn-recog.o): Don't depend on
857 * config/i386/t-cygming (winnt.o): Don't depend on toplev.h.
858 * config/i386/t-interix (winnt.o): Don't depend on toplev.h.
860 2010-11-30 Richard Guenther <rguenther@suse.de>
862 PR tree-optimization/46717
863 * value-prof.c (gimple_ic): Preserve EH edges of the indirect
864 call. Manually create EH edges for the direct call and update
867 2010-11-30 Joseph Myers <joseph@codesourcery.com>
869 * diagnostic-core.h: Include bversion.h.
870 * toplev.h: Don't include input.h or bversion.h.
871 (parse_optimize_options): Don't declare here.
872 * alias.c, auto-inc-dec.c, c-aux-info.c, c-convert.c, c-parser.c,
873 caller-save.c, cfg.c, cfganal.c, cfgbuild.c, cfgcleanup.c,
874 combine-stack-adj.c, config/arm/pe.c, config/darwin-c.c,
875 config/host-darwin.c, config/i386/host-cygwin.c,
876 config/i386/host-mingw32.c, config/i386/msformat-c.c,
877 config/i386/netware.c, config/i386/nwld.c,
878 config/i386/winnt-cxx.c, config/i386/winnt-stubs.c,
879 config/ia64/ia64-c.c, config/m32c/m32c-pragma.c,
880 config/mep/mep-pragma.c, config/microblaze/microblaze-c.c,
881 config/rs6000/host-darwin.c, config/rs6000/rs6000-c.c,
882 config/score/score3.c, config/score/score7.c,
883 config/sh/symbian-base.c, config/sh/symbian-c.c,
884 config/sh/symbian-cxx.c, config/sol2-c.c, config/sol2.c,
885 config/v850/v850-c.c, config/vxworks.c, convert.c, cppbuiltin.c,
886 cselib.c, dbgcnt.c, ddg.c, dfp.c, dominance.c, emit-rtl.c,
887 fixed-value.c, fwprop.c, ggc-common.c, gimple.c, gimplify.c,
888 graphite-blocking.c, graphite-clast-to-gimple.c,
889 graphite-dependences.c, graphite-flattening.c,
890 graphite-interchange.c, graphite-poly.c,
891 graphite-scop-detection.c, graphite.c, haifa-sched.c,
892 implicit-zee.c, integrate.c, ipa-pure-const.c, ipa-reference.c,
893 ira-build.c, ira-conflicts.c, ira-costs.c, ira-lives.c, jump.c,
894 lists.c, loop-doloop.c, loop-iv.c, lto-cgraph.c, lto-compress.c,
895 lto-opts.c, lto-section-in.c, lto-section-out.c,
896 lto-streamer-out.c, lto-symtab.c, modulo-sched.c, optabs.c,
897 params.c, postreload-gcse.c, postreload.c, predict.c, profile.c,
898 regcprop.c, reginfo.c, regmove.c, reorg.c, resource.c,
899 sched-deps.c, sched-ebb.c, sched-rgn.c, sdbout.c,
900 sel-sched-dump.c, sel-sched-ir.c, sese.c, stmt.c, targhooks.c,
901 tree-cfgcleanup.c, tree-mudflap.c, tree-nomudflap.c,
902 tree-object-size.c, tree-outof-ssa.c, tree-phinodes.c,
903 tree-profile.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-coalesce.c,
904 tree-ssa-live.c, tree-ssa-loop-prefetch.c, tree-ssa-loop.c,
905 tree-ssa-operands.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
906 tree-vect-patterns.c, value-prof.c, var-tracking.c, web.c: Don't
908 * Makefile.in (TOPLEV_H): Remove. All uses changed to use
909 toplev.h. Dependencies for above files and c-family files changed
910 to remove $(TOPLEV_H) or toplev.h.
911 (C_TREE_H): Don't include $(TOPLEV_H).
912 (DIAGNOSTIC_CORE_H): Use $(INPUT_H) instead of input.h. Add
914 * config/arm/t-pe, config/arm/t-wince-pe, config/i386/t-cygming,
915 config/ia64/t-ia64, config/mep/t-mep, config/score/t-score-elf,
916 config/t-darwin, config/t-sol2,
917 config/t-vxworks, config/v850/t-v850, config/v850/t-v850e:
918 Dependencies for above files changed to remove $(TOPLEV_H) or
921 2010-11-30 Richard Guenther <rguenther@suse.de>
924 * gcc.c (main): Use the first input with a compiler as infile
925 for link spec processing.
927 2010-11-30 Richard Guenther <rguenther@suse.de>
930 * cgraphunit.c (ipa_passes): Stop after errors from
933 2010-11-30 Mingjie Xing <mingjie.xing@gmail.com>
935 * gcc-plugin.h: Include coretypes.h.
936 * Makefile.in (FUNCTION_H): Add hard-reg-set.h.
938 2010-11-30 Laurynas Biveinis <laurynas.biveinis@gmail.com>
940 * ggc-zone.c (ggc_pch_read): Fix conditional compilation.
941 * ggc-none.c (ggc_internal_alloc_zone_stat)
942 (ggc_internal_cleared_alloc_zone_stat): New.
944 2010-11-29 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
946 * config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p): Check
947 TARGET_SINGLE_PIC_BASE for RS6000_PIC_OFFSET_TABLE_REGNUM.
948 (rs6000_emit_prologue): Don't set PIC register if
949 TARGET_SINGLE_PIC_BASE.
950 * config/rs6000/rs6000.opt (msingle-pic-base): New option.
951 * doc/invoke.texi (msingle-pic-base): Document.
953 2010-11-29 H.J. Lu <hongjiu.lu@intel.com>
956 * exec-tool.in (id): New.
957 Check and export LT_RCU_$id instead of LT_RCU.
959 2010-11-29 Zdenek Dvorak <rakdver@kam.uniff.cz>
961 PR tree-optimization/46675
962 * tree-ssa-loop-niter.c (split_to_var_and_offset): Avoid overflow
963 in offset calculation.
965 2010-11-29 Jan Hubicka <jh@suse.cz>
967 * collect2.c (main): Do not imply verbose output with
968 LTO and linker plugin.
970 2010-11-29 Dodji Seketeli <dodji@redhat.com>
972 * dwarf2out.c (print_die): Print the address of the current DIE or
973 of any DIE referenced by the current one.
975 2010-11-29 Dodji Seketeli <dodji@redhat.com>
978 * dwarf2out.c (lookup_type_die_strip_naming_typedef): New
980 (scope_die_for, gen_type_die_for_member): Replace uses of
981 lookup_type_die with use of lookup_type_die_strip_naming_typedef.
983 2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
985 * config/darwin.c (darwin_mergeable_string_section): Remove blank line.
986 (darwin_asm_declare_object_name): Correct spelling.
987 (darwin_output_aligned_bss): Likewise.
989 2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
990 Mike Stump <mrs@gcc.gnu.org>
995 * config/i386/darwin.h (ASM_OUTPUT_COMMON): Remove
996 (ASM_OUTPUT_LOCAL): Likewise.
997 * config/darwin-protos.h (darwin_asm_declare_object_name): New.
998 (darwin_output_aligned_bss): Likewise.
999 (darwin_asm_output_aligned_decl_local): Likewise.
1000 (darwin_asm_output_aligned_decl_common): Likewise.
1001 (darwin_use_anchors_for_symbol_p): Likewise.
1002 * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Remove.
1003 (TARGET_ASM_OUTPUT_ANCHOR): Define.
1004 (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Define.
1005 (DARWIN_SECTION_ANCHORS): Set to 1.
1006 * config/darwin.c (emit_aligned_common): New var.
1007 (darwin_init_sections): Check that the Darwin private zero-size section
1009 (darwin_text_section): Check for zero-sized objects.
1010 (darwin_mergeable_string_section): Likewise.
1011 (darwin_mergeable_constant_section): Likewise.
1012 (machopic_select_section): Adjust to check for zero-sized objects.
1013 Assert that OBJC meta data are non-zero sized.
1014 (darwin_asm_declare_object_name): New.
1015 (darwin_asm_declare_constant_name): Adjust for zero-sized
1017 (BYTES_ZFILL): Define.
1018 (darwin_emit_weak_or_comdat): New.
1019 (darwin_emit_local_bss): New.
1020 (darwin_emit_common): New.
1021 (darwin_output_aligned_bss): New.
1022 (darwin_asm_output_aligned_decl_common): New.
1023 (darwin_asm_output_aligned_decl_local): New.
1024 (darwin_file_end): Disable subsections_via_symbols when section
1025 anchoring is active.
1026 (darwin_asm_output_anchor): Re-enable.
1027 (darwin_use_anchors_for_symbol_p): New.
1028 (darwin_override_options): Check for versions that can emit
1029 aligned common. Update usage of flags to current.
1030 * config/darwin-sections.def: Update comments and flags for
1031 non-anchor sections. zobj_const_section, zobj_data_section,
1032 zobj_bss_section, zobj_const_data_section: New.
1033 * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Redefine.
1034 (ASM_OUTPUT_ALIGN): Make whitespace output consistent.
1035 (L2_MAX_OFILE_ALIGNMENT): Define.
1036 (ASM_OUTPUT_ALIGNED_BSS): Define.
1037 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define.
1038 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define.
1039 (SECTION_NO_ANCHOR): Define.
1040 (TARGET_ASM_OUTPUT_ANCHOR) Define with a default of NULL.
1041 (DARWIN_SECTION_ANCHORS): Define with a default of 0.
1043 2010-11-29 Joseph Myers <joseph@codesourcery.com>
1045 * system.h: Include "safe-ctype.h" instead of <safe-ctype.h>.
1046 Include <signal.h>, <sys/mman.h>, <sys/resource.h> and <sys/times.h>.
1047 (O_BINARY, SIGCHLD, MAP_FAILED, MAP_ANONYMOUS, kill):
1048 Conditionally define.
1049 (GET_ENVIRONMENT): Poison.
1050 * configure.ac: Don't test for mincore.
1051 * configure: Regenerate.
1052 * config.in: Regenerate.
1053 * collect2-aix.c: Don't include <sys/mman.h>.
1054 * collect2.c: Don't include <signal.h>.
1055 (SIGCHLD): Don't define.
1056 (prefix_from_env): Use getenv instead of GET_ENVIRONMENT.
1057 * config/alpha/alpha.c: Include "splay-tree.h" instead of
1059 * config/arm/arm.c (arm_target_help): Use getenv instead of
1061 * config/avr/driver-avr.c: Don't include <stdlib.h>.
1062 * config/frv/frv.c: Don't include <ctype.h>.
1063 * config/host-darwin.c: Don't include <sys/mman.h>.
1064 * config/host-hpux.c: Don't include <sys/mman.h> or <unistd.h>.
1065 (MAP_FAILED): Don't define.
1066 * config/host-linux.c: Don't include <sys/mman.h> or <limits.h>.
1067 * config/host-solaris.c: Don't include <sys/mman.h>.
1068 * config/i386/cygming.h: Don't include <stdio.h>.
1069 * config/i386/driver-i386.c: Don't include <stdlib.h>.
1070 * config/i386/host-cygwin.c: Don't include <sys/mman.h>.
1071 * config/iq2000/iq2000.c: Don't include <signal.h>.
1072 * config/m32c/m32c-pragma.c: Don't include <stdio.h>.
1073 * config/m68hc11/m68hc11.c: Don't include <stdio.h>.
1074 * config/mep/mep-pragma.c: Don't include <stdio.h>.
1075 * config/microblaze/microblaze.c: Don't include <signal.h>.
1076 * config/mips/mips.c: Don't include <signal.h>.
1077 * config/rs6000/host-darwin.c: Don't include <signal.h>.
1078 * cppdefault.c (cpp_relocated): Use getenv instead of GET_ENVIRONMENT.
1079 * defaults.h (GET_ENVIRONMENT): Don't define.
1080 * et-forest.h: Don't include <ansidecl.h> or <stddef.h>.
1081 * gcc.c: Don't include <signal.h>, <sys/mman.h> or <sys/types.h>.
1082 (SIGCHLD, MAP_FAILED, kill): Don't define.
1083 (process_command): Use getenv instead of GET_ENVIRONMENT.
1084 * genhooks.c: Don't include <string.h>.
1085 * ggc-common.c: Don't include <sys/resource.h>, <sys/mman.h> or
1087 (MAP_FAILED): Don't define.
1088 * ggc-page.c Don't include <sys/mman.h>.
1089 (MAP_ANONYMOUS, MAP_FAILED): Don't define.
1090 * ggc-zone.c: Don't include <sys/mman.h>.
1091 (MAP_ANONYMOUS, MAP_FAILED): Don't define.
1092 * graph.c: Include "config.h" instead of <config.h>.
1093 * incpath.c (add_env_var_paths): Use getenv instead of GET_ENVIRONMENT.
1094 * lto-wrapper.c: Don't include <errno.h>, <signal.h> or "libiberty.h".
1095 (SIGCHLD, kill): Don't define.
1096 * mips-tfile.c: Don't include <signal.h>.
1097 * opts.c: Don't include <signal.h> or <sys/resource.h>.
1098 (print_specific_help): Use getenv instead of GET_ENVIRONMENT.
1099 * passes.c: Don't include <signal.h>, <sys/resource.h> or
1101 * sparseset.h: Don't include <assert.h>.
1102 * timevar.c: Don't include <sys/times.h> or <sys/resource.h>.
1103 * tlink.c: Don't include "libiberty.h".
1104 * toplev.c: Don't include <signal.h> or <sys/times.h>.
1105 * tree-mudflap.c: Include "demangle.h" instead of <demangle.h>.
1106 * tree-switch-conversion.c: Don't include <signal.h>.
1107 * vmsdbgout.c: Don't include <errno.h> or <string.h>.
1109 2010-11-29 Nicola Pero <nicola.pero@meta-innovation.com>
1111 * c-parser.c (c_parser_objc_try_catch_statement): Renamed to
1112 c_parser_objc_try_catch_finally_statement for consistency with the
1113 C++ parser. Parse @catch(...) and pass NULL_TREE to
1114 objc_begin_catch_clause() in that case. Improved error recovery.
1115 Reorganized code to be almost identical to
1116 cp_parser_objc_try_catch_finally_statement.
1118 2010-11-29 Joern Rennecke <amylaar@spamcop.net>
1120 PR tree-optimization/46621
1121 * gimple.h: Don't include tm.h or hard-reg-set.h .
1122 * Makefile.in (GIMPLE_H): Remove $(TM_H).
1125 * cppbuiltin.c: Include target.h .
1126 (define_builtin_macros_for_type_sizes):
1127 Use targetm.float_words_big_endian.
1129 2010-11-27 Jan Hubicka <jh@suse.cz>
1131 * dwarf2out.c (dwarf2out_begin_function): Set cold_text_section
1132 and output cold_text_section_label.
1133 (dwarf2out_init): Don't do that there.
1134 (dwarf2out_finish): Handle cold section end label only if cold
1137 2010-11-27 Eric Botcazou <ebotcazou@adacore.com>
1139 * tree-nested.c (remap_vla_decls): Fully expand value expressions of
1142 2010-11-27 Richard Guenther <rguenther@suse.de>
1144 * gimple.c (gimple_assign_copy_p): Use gimple_assign_single_p.
1145 (gimple_assign_ssa_name_copy_p): Likewise.
1146 (gimple_assign_unary_nop_p): Use is_gimple_assign.
1147 (is_gimple_cast): Remove.
1148 (gimple_assign_single_p): Move ...
1149 * gimple.h (gimple_assign_single_p): ... here.
1150 (is_gimple_cast): Remove.
1151 (gimple_assign_rhs_code): Simplify.
1152 * gimple-fold.c (gimple_fold_builtin): Use CONVERT_EXPR_P
1153 instead of is_gimple_cast.
1154 * ipa-type-escape.c (look_for_casts): Likewise.
1156 2010-11-26 Joseph Myers <joseph@codesourcery.com>
1158 * doc/options.texi (Enum, EnumValue): Document new record types.
1159 (Enum): Document new option flag.
1161 * optc-gen.awk: Handle enumerated option arguments.
1162 * opth-gen.awk: Handle enumerated option arguments.
1163 * opts-common.c (enum_arg_ok_for_language, enum_arg_to_value,
1164 enum_value_to_arg): New.
1165 (decode_cmdline_option): Handle enumerated arguments.
1166 (read_cmdline_option): Handle CL_ERR_ENUM_ARG.
1167 (set_option, option_enabled, get_option_state): Handle CLVC_ENUM.
1168 * opts.c (print_filtered_help, print_specific_help): Take
1169 lang_mask arguments.
1170 (print_filtered_help): Handle printing values of enumerated
1171 options. Print possible arguments for enumerated options.
1172 (print_specific_help): Update call to print_filtered_help.
1173 (common_handle_option): Update calls to print_specific_help. Use
1174 value rather than arg for OPT_fdiagnostics_show_location_. Don't
1175 handle OPT_ffp_contract_, OPT_fexcess_precision_,
1176 OPT_fvisibility_, OPT_ftls_model_, OPT_fira_algorithm_ or
1177 OPT_fira_region_ here.
1178 * opts.h (enum cl_var_type): Add CLVC_ENUM.
1179 (struct cl_option): Add var_enum.
1180 (CL_ENUM_CANONICAL, CL_ENUM_DRIVER_ONLY, struct cl_enum_arg,
1181 struct cl_enum, cl_enums, cl_enums_count): New.
1182 (CL_ERR_ENUM_ARG): Define.
1183 (CL_ERR_NEGATIVE): Update value.
1184 (enum_value_to_arg): Declare.
1185 * common.opt (flag_ira_algorithm, flag_ira_region,
1186 flag_fp_contract_mode, flag_excess_precision_cmdline,
1187 default_visibility, flag_tls_default): Remove Variable entries.
1188 (help_enum_printed): New Variable.
1189 (fdiagnostics-show-location=): Use Enum. Add associated
1190 SourceInclude, Enum and EnumValue entries.
1191 (fexcess-precision=, ffp-contract=, fira-algorithm=, fira-region=,
1192 ftls-model=, fvisibility=): Use Enum, Var and Init. Add
1193 associated Enum and EnumValue entries.
1195 2010-11-26 Joern Rennecke <amylaar@spamcop.net>
1198 * config/microblaze/microblaze.c (microblaze_block_move_straight):
1200 (microblaze_option_override): Don't use C++ style comments.
1201 (save_restore_insns): Remove unused variable base_offset.
1202 (microblaze_expand_prologue): Remove unused variable insn.
1203 (microblaze_secondary_reload): Adjust type to match target.h .
1204 (microblaze_elf_in_small_data_p): Move declarations to start of block.
1205 (microblaze_expand_move): Likewise.
1206 * config/microblaze/microblaze.h (LARGE_INT):
1207 Avoid signed / unsigned comparisons.
1208 (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
1209 (ASM_FORMAT_PRIVATE_NAME): Make format specifier match printed data.
1210 (ASM_FINISH_DECLARE_OBJECT): Likewise. Constify name.
1212 2010-11-26 Michael Matz <matz@suse.de>
1214 * tree-ssa-copy.c (fini_copy_prop): Don't DCE when we have loops.
1216 * passes.c (init_optimization_passes): Remove superfluous
1219 2010-11-26 Richard Guenther <rguenther@suse.de>
1222 * gimple.c (gtc_visit): Do not return true for members of an
1223 SCC still being processed but the current lattice value of
1224 the member. Treat SCC members comparison state as lattice,
1225 starting at equal, eventually dropping to unequal.
1226 (gimple_types_compatible_p_1): Likewise.
1228 2010-11-26 Richard Guenther <rguenther@suse.de>
1231 * dwarf2out.c (dwarf2out_finish): Use comp_unit_die as root
1232 for location list processing.
1234 2010-11-26 Richard Guenther <rguenther@suse.de>
1237 * cgraph.c (cgraph_clone_edge): Clone call_stmt dependent
1240 2010-11-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1242 * config/s390/s390.c (print_operand_address): Replace assert with
1244 (print_operand): Replace assertions, gcc_unreachable and
1245 fatal_insn with error messages.
1247 2010-11-26 Richard Guenther <rguenther@suse.de>
1249 PR tree-optimization/46665
1250 * tree-ssa-structalias.c (pt_solution_set_var): Use DECL_PT_UID.
1252 2010-11-26 Ian Bolton <ian.bolton@arm.com>
1254 * config/arm/arm.c (arm_option_override): enable loop array
1255 prefetching at -O3 for suitable targets, and configure params.
1256 * config/arm/arm-protos.h (struct tune_params): Add fields for
1257 configuring loop array prefetching.
1259 2010-11-26 Christian Borntraeger <borntraeger@de.ibm.com>
1261 * config/s390/2817.md (z196_crack): Add z196_g3 as possible slot.
1263 2010-11-26 Richard Guenther <rguenther@suse.de>
1265 PR tree-optimization/46664
1266 * tree-affine.c (aff_combination_to_tree): Add rest last.
1268 2010-11-26 Michael Haubenwallner <michael.haubenwallner@salomon.at>
1271 * configure.ac: Accept extra arguments for AS_FOR_TARGET,
1272 LD_FOR_TARGET, NM_FOR_TARGET, OBJDUMP_FOR_TARGET.
1273 * configure: Regenerated.
1274 * exec-tool.in: Not quoting command, may have extra arguments.
1276 2010-11-26 Richard Guenther <rguenther@suse.de>
1278 PR tree-optimization/46528
1280 * profile.c (branch_prob): Do not split blocks based on locations
1281 from debug statements.
1283 2010-11-26 Jakub Jelinek <jakub@redhat.com>
1286 * builtins.c (fold_builtin_memset): Check c is INTEGER_CST instead
1287 of host_integerp check. Use TREE_INT_CST_LOW instead of tree_low_cst.
1290 * tree.h (build1_stat_loc, build2_stat_loc, build3_stat_loc,
1291 build4_stat_loc, build5_stat_loc, build6_stat_loc): New inlines.
1292 (build1_loc, build2_loc, build3_loc, build4_loc, build5_loc,
1293 build6_loc): Define.
1294 * fold-const.c (protected_set_expr_location_unshare): New inline.
1295 (fold_convert_loc, pedantic_non_lvalue_loc): Use it.
1296 (negate_expr, associate_trees, non_lvalue_loc, omit_one_operand_loc,
1297 pedantic_omit_one_operand_loc, omit_two_operands_loc,
1298 fold_truth_not_expr, invert_truthvalue_loc, make_bit_field_ref,
1299 optimize_bit_field_compare, make_range, fold_range_test, fold_truthop,
1300 build_fold_addr_expr_with_type_loc, fold_unary_loc, fold_binary_loc,
1301 fold_indirect_ref_1, build_fold_indirect_ref_loc): Use builN_loc
1302 instead of buildN followed by SET_EXPR_LOCATION or
1303 protected_set_expr_location.
1304 (fold_build1_stat_loc, fold_build2_stat_loc, fold_build3_stat_loc):
1305 Use buildN_stat_loc instead of buildN_stat followed by
1308 2010-11-26 Basile Starynkevitch <basile@starynkevitch.net>
1310 * Makefile.in (s-tm-texi): Remove spurous tab.
1312 2010-11-26 Alexandre Oliva <aoliva@redhat.com>
1315 * tree-cfg.c (replace_uses_by): Don't mark BBs as altered on
1318 2010-11-26 Alexandre Oliva <aoliva@redhat.com>
1320 * toplev.c (finalize): Add no_backend parameter. Don't finish
1321 passes when preprocessing only. Adjust...
1322 (do_compile): ... caller.
1324 2010-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1326 * config/pa/pa.md (negdf2): Condition on !flag_signed_zeros instead of
1327 flag_unsafe_math_optimizations.
1329 Move fnegabs related patterns together. Only use fmpynfadd instruction
1330 to negate a multiply if !flag_signed_zeros is true.
1332 2010-11-25 Uros Bizjak <ubizjak@gmail.com>
1334 * gengtype-state.c (read_state_structures): Initialize "previous".
1336 2010-11-25 Basile Starynkevitch <basile@starynkevitch.net>
1337 Jeremie Salvucci <jeremie.salvucci@free.fr>
1339 * gengtype-state.c: Add new file.
1341 * gengtype.c (type count): New variable.
1342 (new_structure, find_param_structure, create_pointer)
1343 (create_array): Use it to set state_number in types.
1344 (dump_everything): Improve comment.
1345 (main): Call read_state and write_state. Print type_count.
1347 * gengtype.h (type_lineloc): New function.
1348 (read_state, write_state): New declarations.
1350 * Makefile.in (GENGTYPE_FLAGS): New variable.
1351 (s-gtype): Run gengtype twice and generate gtype.state.
1352 (build/gengtype-state.o): New rule.
1353 (build/gengtype$(build_exeext)): Link gengtype-state.o.
1354 (mostlyclean): Update comment. Remove gtype.state.
1356 2010-11-25 Jakub Jelinek <jakub@redhat.com>
1359 * combine.c (try_combine): When substing i2dest for i2src, pass
1360 1 as last argument even if
1361 i0_feeds_i1_n && i1_feeds_i2_n && i0dest_in_i0src.
1363 2010-11-25 H.J. Lu <hongjiu.lu@intel.com>
1366 * builtins.c (target_char_cast): Check INTEGER_CST instead of
1367 host_integerp. Replace tree_low_cst with TREE_INT_CST_LOW.
1369 2010-11-25 Joseph Myers <joseph@codesourcery.com>
1371 * target.def (supports_split_stack, except_unwind_info): Take
1372 gcc_options parameters.
1373 * targhooks.c (default_except_unwind_info,
1374 dwarf2_except_unwind_info, sjlj_except_unwind_info): Take
1375 gcc_options parameters.
1376 * targhooks.h (default_except_unwind_info,
1377 dwarf2_except_unwind_info, sjlj_except_unwind_info): Update
1379 * doc/tm.texi.in (TARGET_IRA_COVER_CLASSES,
1380 TARGET_HAVE_NAMED_SECTIONS, TARGET_UNWIND_TABLES_DEFAULT):
1381 Document that hooks must not be modified.
1382 (TARGET_EXCEPT_UNWIND_INFO): Refer to opts argument.
1383 * doc/tm.texi: Regenerate.
1384 * defaults.h (STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT): Pass
1385 &global_options to targetm.except_unwind_info.
1386 * dwarf2out.c (dwarf2out_do_frame, dwarf2out_do_cfi_asm,
1387 dwarf2out_begin_prologue, dwarf2out_frame_init,
1388 dwarf2out_frame_finish, dwarf2out_assembly_start): Pass
1389 &global_options to targetm.except_unwind_info.
1390 * except.c (init_eh, finish_eh_generation,
1391 gate_convert_to_eh_region_ranges,
1392 output_one_function_exception_table): Pass &global_options to
1393 targetm.except_unwind_info.
1394 * expr.c (build_personality_function): Pass &global_options to
1395 targetm.except_unwind_info.
1396 * function.c (expand_function_end): Pass &global_options to
1397 targetm.except_unwind_info.
1398 * hooks.c (hook_bool_bool_gcc_optionsp_false): New.
1399 * hooks.h (hook_bool_bool_gcc_optionsp_false): Declare.
1400 * opts.c (finish_options): Pass opts to targetm.except_unwind_info
1401 and targetm.supports_split_stack. Remove assertions about opts
1403 (common_handle_option): Remove assertions about opts, opts_set and dc.
1404 * tree-tailcall.c (suitable_for_tail_call_opt_p): Pass
1405 &global_options to targetm.except_unwind_info.
1406 * tree.c (build_common_builtin_nodes: Pass &global_options to
1407 targetm.except_unwind_info.
1408 * config/arm/arm.c (arm_except_unwind_info): Add gcc_options parameter.
1409 (arm_compute_func_type, arm_expand_prologue, thumb_pushpop,
1410 thumb1_expand_prologue, thumb1_output_function_prologue,
1411 arm_unwind_emit, arm_output_fn_unwind): Update calls to
1412 arm_except_unwind_info.
1413 * config/i386/i386.c (ix86_supports_split_stack): Add gcc_options
1415 * config/ia64/ia64.c (ia64_except_unwind_info): Add gcc_options
1417 (ia64_output_function_prologue, ia64_add_bundle_selector_before,
1418 ia64_reorg, ia64_asm_unwind_emit): Update calls to
1419 ia64_except_unwind_info.
1420 * config/pa/pa.c (pa_option_override): Pass &global_options to
1421 targetm.except_unwind_info.
1422 * config/picochip/picochip-protos.h (picochip_except_unwind_info):
1425 2010-11-25 Kai Tietz <kai.tietz@onevision.com>
1427 * cgraphunit.c (process_function_and_variable_attributes):
1428 Mark dllexport-ed function/variables as needed.
1429 * ipa.c (cgraph_externally_visible_p): Make dllexport-ed
1430 as externally visible.
1432 2010-11-25 Alexander Monakov <amonakov@ispras.ru>
1434 PR rtl-optimization/46585
1435 * sel-sched-ir.c (return_regset_to_pool): Verify that RS is not NULL.
1436 (vinsn_init): Skip computation of dependencies for local NOPs.
1437 (vinsn_delete): Don't try to free regsets for local NOPs.
1438 (setup_nop_and_exit_insns): Change definition of nop_pattern.
1440 2010-11-25 Alexander Monakov <amonakov@ispras.ru>
1442 PR rtl-optimization/46602
1443 * sel-sched-ir.c (maybe_tidy_empty_bb): Move checking ...
1444 (tidy_control_flow): Here.
1446 2010-11-25 Joern Rennecke <amylaar@spamcop.net>
1447 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1450 * Makefile.in (s-tm-texi): Remove \r occurences from tmp-tm.texi.
1451 Fix target.def pathname in timestamp comparison.
1453 2010-11-24 Richard Henderson <rth@redhat.com>
1455 * config/ia64/predicates.md (pmpyshr_operand): New.
1456 * config/ia64/ia64.c (ia64_expand_unpack): New.
1457 (ia64_expand_widen_mul_v4hi): New.
1458 (ia64_expand_widen_sum): Update for pattern renames.
1459 (ia64_expand_dot_prod_v8qi): Likewise.
1460 * config/ia64/ia64-protos.h: Update.
1461 * config/ia64/vect.md (vecwider): New mode attribute.
1462 (vec_widen_umult_lo_v8qi, vec_widen_umult_hi_v8qi): New.
1463 (vec_widen_smult_lo_v8qi, vec_widen_smult_hi_v8qi): New.
1464 (pmpyshr2, pmpyshr2_u): New.
1465 (vec_widen_smult_lo_v4hi, vec_widen_smult_hi_v4hi): New.
1466 (vec_widen_umult_lo_v4hi, vec_widen_umult_hi_v4hi): New.
1468 (vec_pack_ssat_v4hi): Rename from pack2_sss.
1469 (vec_pack_usat_v4hi): Rename from *pack2_uss.
1470 (vec_pack_ssat_v2si): Rename from pack4_sss.
1471 (vec_interleave_lowv8qi): Rename from unpack1_l, use the correct
1472 vec_select operation.
1473 (vec_interleave_highv8qi): Similarly.
1474 (mux1_alt): Rename from *mux1_alt.
1475 (vec_extract_evenv8qi, vec_extract_oddv8qi): New.
1476 (vec_interleave_lowv4hi): Rename from unpack2_l.
1477 (vec_interleave_highv4hi): Rename from unpack2_h.
1478 (mix2_r): Rename from *mix2_r.
1479 (mix2_l): Similarly.
1480 (vec_extract_evenodd_helper): New.
1481 (vec_extract_evenv4hi, vec_extract_oddv4hi): New.
1482 (vec_interleave_lowv2si): Rename from *unpack4_l.
1483 (vec_interleave_highv2si): Rename from *unpack4_h.
1484 (vec_extract_evenv2si, vec_extract_oddv2si): New.
1485 (vec_interleave_lowv2sf): Rename from fmix_r.
1486 (vec_interleave_highv2sf): Rename from *fmix_l.
1487 (vec_extract_evenv2sf, vec_extract_oddv2sf): New.
1488 (vec_unpacku_lo_<VECINT12>, vec_unpacku_hi_<VECINT12>): New.
1489 (vec_unpacks_lo_<VECINT12>, vec_unpacks_hi_<VECINT12>): New.
1490 (vec_pack_trunc_v4hi, vec_pack_trunc_v2si): New.
1492 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
1494 * targhooks.c (default_except_unwind_info): Remove
1495 MUST_USE_SJLJ_EXCEPTIONS case.
1496 * config/h8300/h8300.h (MUST_USE_SJLJ_EXCEPTIONS): Delete.
1497 * config/h8300/h8300.c (TARGET_EXCEPT_UNWIND_INFO): Define.
1498 * doc/tm.texi.in (MUST_USE_SJLJ_EXCEPTIONS): Delete.
1499 * doc/tm.texi: Regenerate.
1500 * system.h (MUST_USE_SJLJ_EXCEPTIONS): Poison.
1502 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
1504 * cppbuiltin.c (define_builtin_macros_for_type_sizes): Define
1505 __FLOAT_WORD_ORDER__ according to FLOAT_WORDS_BIG_ENDIAN.
1506 * config/dfp-bit.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
1507 * doc/cpp.texi (__FLOAT_WORD_ORDER__): Document.
1508 * system.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Poison.
1510 2010-11-24 H.J. Lu <hongjiu.lu@intel.com>
1513 * config/i386/i386.c (ix86_expand_call): Don't check
1516 2010-11-24 H.J. Lu <hongjiu.lu@intel.com>
1519 * config/i386/i386.c (upper_128bits_state): New.
1520 (block_info_def): Remove upper_128bits_set and done. Add state,
1521 referenced, count, processed and rescanned.
1522 (check_avx256_stores): Updated.
1523 (move_or_delete_vzeroupper_2): Updated. Handle deleted BB_END.
1524 Call note_stores only if needed. Set referenced and count.
1525 (move_or_delete_vzeroupper_1): Updated. Set rescan_vzeroupper_p.
1526 (rescan_move_or_delete_vzeroupper): New.
1527 (move_or_delete_vzeroupper): Process and rescan all all basic
1528 blocks instead of predecessor blocks of all exit points.
1529 (ix86_option_override_internal): Enable vzeroupper optimization
1530 only for -fexpensive-optimizations and not optimizing for size.
1531 (use_avx256_p): Removed.
1532 (init_cumulative_args): Don't set use_avx256_p.
1533 (ix86_function_arg): Likewise.
1534 (ix86_expand_move): Likewise.
1535 (ix86_expand_vector_move_misalign): Likewise.
1536 (ix86_local_alignment): Likewise.
1537 (ix86_minimum_alignment): Likewise.
1538 (ix86_expand_epilogue): Don't check use_avx256_p when generating
1540 (ix86_expand_call): Likewise.
1542 * config/i386/i386.h (machine_function): Remove use_vzeroupper_p
1543 and use_avx256_p. Add rescan_vzeroupper_p.
1545 2010-11-24 Joseph Myers <joseph@codesourcery.com>
1547 * toplev.c: Include <signal.h>.
1549 2010-11-24 Richard Guenther <rguenther@suse.de>
1552 * lto-symtab.c (lto_cgraph_replace_node): Mark edges with
1553 conflicting function signatures as non-inlineable.
1555 2010-11-24 Jakub Jelinek <jakub@redhat.com>
1557 PR rtl-optimization/46614
1558 * sched-deps.c (NON_FLUSH_JUMP_KIND, NON_FLUSH_JUMP_P): Define.
1559 (deps_analyze_insn): Mark JUMP_INSNs in
1560 last_pending_memory_flush that weren't added through
1561 flush_pending_lists with NON_FLUSH_JUMP_KIND.
1562 (sched_analyze_2, sched_analyze_insn): Check NON_FLUSH_JUMP_P
1563 on INSN_LIST instead of JUMP_P check on its operand.
1564 * sched-rgn.c (concat_INSN_LIST): Copy over REG_NOTE_KIND.
1566 2010-11-24 Richard Guenther <rguenther@suse.de>
1568 * lto-streamer-in.c (input_gimple_stmt): Use types_compatible_p.
1570 2010-11-24 Richard Guenther <rguenther@suse.de>
1573 * lto-streamer-in.c (input_gimple_stmt): When we cannot find
1574 a FIELD_DECL that is type correct issue a warning and fixup
1575 with a VIEW_CONVERT_EXPR.
1577 2010-11-24 Basile Starynkevitch <basile@starynkevitch.net>
1579 * doc/invoke.texi (Options for Debugging Your Program or GCC):
1580 Explain static numbering of dump files.
1582 2010-11-24 Joseph Myers <joseph@codesourcery.com>
1584 * common.opt (user_vect_verbosity_level): New Variable entry.
1585 (ftree-vectorizer-verbose=): Mark as UInteger.
1586 * flag-types.h (enum vect_verbosity_levels): Move from enum
1587 verbosity_levels in tree-vectorizer.h.
1588 * opts.c: Don't include tree.h.
1589 (vect_set_verbosity_level): Move from tree-vectorizer.c. Use
1590 gcc_options parameter; take integer option argument.
1591 (common_handle_option): Update call to vect_set_verbosity_level.
1592 * tree-vectorizer.c (user_vect_verbosity_level): Remove.
1593 (vect_set_verbosity_level): Move to opts.c.
1594 (vect_verbosity_level, vect_print_dump_info): Update for change of
1596 * tree-vectorizer.h (enum verbosity_levels): Move to flag-types.h.
1597 (vect_print_dump_info): Update for change of enum name.
1598 * tree.h (vect_set_verbosity_level): Remove.
1599 * Makefile.in (opts.o): Update dependencies.
1601 2010-11-24 Jakub Jelinek <jakub@redhat.com>
1604 * cfgexpand.c (maybe_cleanup_end_of_block): Test NEXT_INSN (insn)
1605 instead of insn with any_condjump_p.
1607 2010-11-24 Mingjie Xing <mingjie.xing@gmail.com>
1609 * config/mips/loongson.md: Change the description comment of the file
1610 and update the copyright years.
1611 (define_insn "<u>div<mode>3): Add loongson3a support.
1612 (define_insn "<u>mod<mode>3"): Likewise.
1613 * config/mips/mips.md: Rename mul<mode>3_mul3_ls2ef to
1614 mul<mode>3_mul3_loongson.
1615 (define_expand "mul<mode>3"): Add TARGET_LOONGSON_3A.
1616 (define_insn "mul<mode>3_mul3_loongson"): Add loongson3a support.
1618 2010-11-23 Joseph Myers <joseph@codesourcery.com>
1620 * common.opt (initial_max_fld_align, flag_debug_asm,
1621 flag_dump_rtl_in_asm, flag_dump_all_passed, rtl_dump_and_exit,
1622 flag_print_asm_name, graph_dump_format, help_printed,
1623 help_columns, flag_opts_finished): New Variable entries.
1624 (fdbg-cnt-list, fdbg-cnt=, fdebug-prefix-map=, frandom-seed,
1625 frandom-seed=): Mark deferred.
1626 (fsched-verbose=): Use UInteger and Var.
1627 * flags.h (set_struct_debug_option, flag_print_asm_name,
1628 rtl_dump_and_exit, flag_debug_asm, flag_dump_rtl_in_asm,
1629 graph_dump_format): Don't declare here.
1630 * haifa-sched.c (sched_verbose_param, fix_sched_param): Remove.
1631 * opts-global.c: Include dbgcnt.h and debug.h.
1632 (decode_options): Pass location to finish_options.
1633 (handle_common_deferred_options): Check flag_dump_all_passed.
1634 Handle OPT_fdbg_cnt_, OPT_fdbg_cnt_list, OPT_fdebug_prefix_map_,
1635 OPT_frandom_seed and OPT_frandom_seed_. Don't assert on
1637 * opts.c: Don't include toplev.h, dbgcnt.h or debug.h.
1638 (set_struct_debug_option): Add location_t parameter. Update
1639 recursive call. Use error_at.
1640 (default_options_optimization): Use error_at.
1641 (finish_options): Add location_t parameter. Use
1642 opts->x_flag_opts_finished instead of first_time_p. Use
1643 opts->x_optimize instead of optimize. Use error_at. Pass
1645 (print_filtered_help): Use opts->x_help_printed to track what
1646 options have been printed.
1647 (print_specific_help): Use opts->x_help_columns to track number of
1649 (common_handle_option): Pass locations and gcc_options pointers to
1650 more functions. Use warning_at instead of fnotice and warning.
1651 Don't handle OPT_fdbg_cnt_, OPT_fdbg_cnt_list or
1652 OPT_fdebug_prefix_map_. Use error_at. Set
1653 opts->x_initial_max_fld_align; don't set maximum_field_alignment.
1654 Don't handle OPT_frandom_seed or OPT_frandom_seed_. Don't handle
1655 OPT_fsched_verbose_.
1656 (handle_param): Add location_r parameter. Use error_at.
1657 (set_debug_level): Add location_r parameter. Use error_at and
1659 (setup_core_dumping): Add diagnostic_context parameter.
1660 (decode_d_option): Add gcc_options, location_t and
1661 diagnostic_context parameters and use them instead of global
1662 state. Use warning_at.
1663 (enable_warning_as_error): Use error_at.
1664 * opts.h (finish_options): Update prototype.
1665 (set_struct_debug_option): Declare here.
1666 * rtl.h (fix_sched_param): Remove.
1667 * stor-layout.c (initial_max_fld_align): Remove.
1668 * toplev.c (rtl_dump_and_exit, flag_print_asm_name,
1669 graph_dump_format, flag_debug_asm, flag_dump_rtl_in_asm): Remove.
1670 (process_options): Set maximum_field_alignment.
1671 * tree.h (initial_max_fld_align) Don't declare here.
1672 * Makefile.in (opts.o, opts-global.o): Update dependencies.
1674 2010-11-23 Joseph Myers <joseph@codesourcery.com>
1676 * flag-types.h (struct visibility_flags): Don't declare here.
1677 * flags.h (strip_off_ending, fast_math_flags_set_p,
1678 fast_math_flags_struct_set_p): Declare here.
1679 (visibility_options): Don't declare here.
1680 * opts-common.c (option_enabled, get_option_state): Move from
1682 * opts-global.c: Include diagnostic.h instead of
1683 diagnostic-core.h. Include tree.h, langhooks.h, lto-streamer.h
1685 (const_char_p, ignored_options, in_fnames, num_in_fnames,
1686 write_langs, complain_wrong_lang, postpone_unknown_option_warning,
1687 print_ignored_options, unknown_option_callback,
1688 post_handling_callback, lang_handle_option, add_input_filename,
1689 read_cmdline_options, initial_lang_mask, init_options_once,
1690 decode_cmdline_options_to_array_default_mask,
1691 set_default_handlers, decode_options): Move from opts.c.
1692 (print_ignored_options): Use warning_at instead of saving and
1693 restoring input_location.
1694 * opts.c: Include <signal.h> and <sys/resource.h>. Include rtl.h
1695 instead of expr.h. Don't include langhooks.h, except.h or
1696 lto-streamer.h. Add more comments on includes.
1697 (strip_off_ending, setup_core_dumping, decode_d_option): Move from
1699 (visibility_options): Move to c-family/c-common.c.
1700 (const_char_p, ignored_options, in_fnames, num_in_fnames,
1701 write_langs, complain_wrong_lang, postpone_unknown_option_warning,
1702 print_ignored_options, unknown_option_callback,
1703 post_handling_callback, lang_handle_option, add_input_filename,
1704 read_cmdline_options, initial_lang_mask, init_options_once,
1705 decode_cmdline_options_to_array_default_mask,
1706 set_default_handlers, decode_options): Move to opts-global.c.
1707 (target_handle_option, default_options_optimization,
1708 finish_options, common_handle_option): Remove static.
1709 (option_enabled, get_option_state): Move to opts-common.c.
1710 * opts.h (common_handle_option, target_handle_option,
1711 finish_options, default_options_optimization): Declare.
1712 * toplev.c: Don't include <signal.h> or <sys/resource.h>.
1713 (setup_core_dumping, strip_off_ending, decode_d_option): Move to
1715 * toplev.h (strip_off_ending, decode_d_option,
1716 fast_math_flags_set_p, fast_math_flags_struct_set_p): Don't
1718 * Makefile.in (opts.o, opts-global.o): Update dependencies.
1720 2010-11-23 Dave Korn <dave.korn.cygwin@gmail.com>
1723 * gcc.c (LINK_COMMAND_SPEC): Remove hard-coded pass-through plugin
1724 options, replace by call of pass-through-libs spec function to process
1725 link_gcc_c_sequence spec.
1726 (lto_libgcc_spec): Delete variable.
1727 (static_specs[]): Remove related entry.
1728 (static_spec_functions[]): Add new entry for pass-through-libs.
1729 (main): Don't generate deleted lto_libgcc_spec.
1730 (pass_through_libs_spec_func): New function to implement the new
1731 pass-through-libs spec function.
1732 * doc/invoke.texi (pass-through-libs): Document new spec function.
1734 2010-11-23 Joseph Myers <joseph@codesourcery.com>
1736 * doc/options.texi (Warning, Optimization): Document.
1738 2010-11-23 Jan Hubicka <jh@suse.cz>
1740 * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): New macro.
1741 (tree_decl_with_vis): Add implicit_section_name_p.
1742 * targhooks.h (default_function_section): Declare.
1743 * target.def (function_section): New hook.
1744 * defaults.h (HOT_TEXT_SECTION_NAME,
1745 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
1746 * predict.c (choose_function_section): Remove.
1747 (estimate_bb_frequencies): Do not use choose_function_section.
1748 * coretypes.h (enum node_frequency): Move here from cgraph.h
1749 * cgraph.h (enum node_frequency): Remove.
1750 * varasm.c (initialize_cold_section_name, unlikely_text_section,
1751 unlikely_text_section_p): Remove.
1752 (named_subsection_entry): New structure.
1753 (get_text_section): New function.
1754 (default_function_section): New function.
1755 (function_section_1): Break out from ...; handle profile info.
1756 (function_section): ... here.
1757 (unlikely_text_section): Remove.
1758 (unlikely_text_section_p): Use function_section_1.
1759 (assemble_start_function): Do not initialize cold section.
1760 (default_section_type_flags): Do not special case cold subsection.
1761 (switch_to_section): Likewise.
1762 * output.h (get_text_section): Define.
1763 * config/i386/winnt.c: Do not special case cold section.
1764 * config/darwin-protos.h (darwin_function_section): Declare.
1765 * config/microblaze/microblaze.h (HOT_TEXT_SECTION_NAME,
1766 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
1767 * config/ia64/hpux.h (HOT_TEXT_SECTION_NAME,
1768 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
1769 (TARGET_ASM_FUNCTION_SECTION): Define to ia64_hpux_function_section.
1770 * config/ia64/ia64.c (ia64_hpux_function_section): New function.
1771 * config/darwin.c (machopic_select_section): Use
1772 darwin_function_section.
1773 (darwin_function_section): New function.
1774 * config/darwin.h (HOT_TEXT_SECTION_NAME,
1775 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
1776 (TARGET_ASM_FUNCTION_SECTION): Define.
1777 * system.h (HOT_TEXT_SECTION_NAME,
1778 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Poison.
1780 2010-11-23 Iain Sandoe <iains@gcc.gnu.org>
1782 * config/darwin.h (LINK_COMMAND_SPEC_A): Use %(link_gcc_c_sequence).
1783 LINK_GCC_C_SEQUENCE_SPEC: Define new macro.
1785 2010-11-23 Jakub Jelinek <jakub@redhat.com>
1788 * cfgexpand.c (maybe_cleanup_end_of_block): Remove also BARRIERs
1789 following unconditional jumps.
1791 2010-11-23 Richard Guenther <rguenther@suse.de>
1793 * doc/md.texi (386 constraints): Clarify A constraint documentation.
1795 2010-11-23 Basile Starynkevitch <basile@starynkevitch.net>
1796 Jeremie Salvucci <jeremie.salvucci@free.fr>
1798 * gengtype.c (enum typekind, struct options)
1799 (struct nested_ptr_data, struct pair, NUM_PARAM)
1800 (enum gc_used_num, struct type, UNION_P, UNION_OR_STRUCT_P):
1802 (string_type, scalar_nonchar, scalar_nonchar, scalar_char):
1803 Remove static, add zero state_number.
1804 (typedefs, structures, param_structs, variables): Remove static.
1805 (create_option): Remove.
1806 (create_string_option, create_type_option, create_nested_option):
1808 (create_nested_ptr_option): Use create_nested_option.
1809 (note_variable, adjust_field_rtx_def, adjust_field_type): Call the
1810 new create*option functions.
1811 (process_gc_options): Adjust for discriminated option.
1812 (output_mangled_typename): Handle TYPE_NONE.
1813 (walk_type): Test option kinds.
1814 (write_types_process_field): Handle TYPE_NONE and TYPE_ARRAY.
1815 (write_func_for_structure, write_type, write_local, write_root)
1816 (write_roots, note_def_vec, dump_options): Adjust for
1817 discriminated option.
1819 * gengtype.h (typedefs, structures, param_structs, variables
1820 enum typekind): Move from gengtype.c
1821 (enum option_kind): New discriminating enumeration.
1822 (struct options): Becomes discriminated.
1823 (struct nested_ptr_data): Nove from gengtype.c
1824 (create_string_option, create_type_option, create_nested_option)
1825 (create_nested_ptr_option): New functions
1826 (struct pair, enum_gc_used_enum, NUM_PARAM, struct type, UNION_P)
1827 (UNION_OR_STRUCT_P): Move from gengtype.c
1829 * gengtype-parse.c (str_optvalue_opt, type_optvalue, option): Make
1830 discriminated options.
1832 2010-11-23 Richard Guenther <rguenther@suse.de>
1834 * tree-ssa-sccvn.c (vn_reference_lookup_3): Avoid doing work
1835 twice. Avoid re-allocating the ops vector all the time.
1837 2010-11-23 Richard Guenther <rguenther@suse.de>
1839 * tree-ssa-alias.c (refs_may_alias_p_1): Avoid calls to
1840 is_gimple_min_invariant, group tree code checks to allow
1842 (stmt_may_clobber_ref_p_1): Check for SSA_NAME instead
1845 2010-11-23 Eric Botcazou <ebotcazou@adacore.com>
1847 * config.gcc (sparc*-*-*): Reorder.
1849 2010-11-23 Basile Starynkevitch <basile@starynkevitch.net>
1851 * gengtype.c (header_dot_h_frul, source_dot_c_frul):
1852 Remove ENABLE_CHECKING around DBGPRINTF.
1854 2010-11-22 Joseph Myers <joseph@codesourcery.com>
1856 * common.opt (exit_after_options, write_symbols, debug_info_level,
1857 use_gnu_debug_info_extensions): New Variable entries.
1858 (fprofile-dir=): Use Var.
1859 * flag-types.h (enum debug_info_level): Rename to enum
1861 * flags.h (write_symbols, debug_info_level,
1862 use_gnu_debug_info_extensions): Remove declarations.
1863 * opts.c (exit_after_options, write_symbols, debug_info_level): Remove.
1864 (set_struct_debug_option): Make static variables const.
1865 (use_gnu_debug_info_extensions): Remove.
1866 (set_debug_level, print_filtered_help, print_specific_help,
1867 fast_math_flags_set_p): Take gcc_options parameters and use them
1868 in place of global variables.
1869 (print_filtered_help): Make new_help non-static.
1870 (print_specific_help): Update call to print_filtered_help.
1871 (common_handle_option): Update calls to print_specific_help. Use
1872 gcc_options structure for more settings. Make --help table
1873 const. Don't handle OPT_fprofile_dir_ here. Update calls to
1875 * toplev.c (profile_data_prefix): Remove.
1876 * toplev.h (profile_data_prefix, exit_after_options): Remove
1878 (fast_math_flags_set_p): Update prototype.
1879 * cppbuiltin.c (define_builtin_macros_for_compilation_flags):
1880 Update call to fast_math_flags_set_p.
1882 2010-11-22 Richard Henderson <rth@redhat.com>
1885 * config/crx/crx.c (crx_addr_reg): Rename from crx_addr_reg_p;
1886 return the address register extracted.
1887 (crx_decompose_address): Update the extracted address register.
1889 2010-11-22 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
1892 * gcc.c (main): Don't crash when lto-wrapper program is not found.
1894 2010-11-22 Joern Rennecke <amylaar@spamcop.net>
1897 * config/picochip/picochip.c (picochip_secondary_reload): Make static.
1898 * config/picochip/picochip-protos.h: Don't include "target.h" .
1899 (picochip_secondary_reload): Don't declare.
1902 * config/m32c/m32c-protos.h (m32c_conditional_register_usage): Declare.
1903 * config/m32c/m32c.c (m32c_conditional_register_usage): No longer
1906 2010-11-22 H.J. Lu <hongjiu.lu@intel.com>
1909 * gengtype.c (header_dot_h_frul): Check ENABLE_CHECKING.
1910 (source_dot_c_frul): Likewise.
1912 2010-11-22 Basile Starynkevitch <basile@starynkevitch.net>
1914 * gimple-pretty-print.c (dump_bb_header): Add check for cfun.
1916 2010-11-22 Paolo Bonzini <bonzini@gnu.org>
1919 * Makefile.in (fwprop.o) Add sparseset.h.
1920 * fwprop.c: Include sparseset.h
1921 (struct find_occurrence_data, find_occurrence_callback,
1922 find_occurrence): Remove.
1923 (active_defs, active_defs_check, register_active_defs,
1924 update_df_init, update_uses): New.
1925 (update_df): Rewrite.
1926 (try_fwprop_subst, forward_propagate_asm): Add calls to
1927 update_df_init and update_df.
1928 (fwprop_init): Allocate active_defs and active_defs_check.
1929 (fwprop_done): Free them.
1930 (fwprop, fwprop_addr): Adjust comments.
1931 * df.h (df_uses_create): Declare.
1932 * df-scan.c (df_install_ref_incremental): Break out of df_ref_create.
1933 (df_ref_create): Return result of df_ref_create_structure directly.
1934 (df_ref_create_structure): Call df_install_ref_incremental when
1935 no collection_rec is passed.
1936 (df_ref_record): Do not create multiword hard reg info when no
1937 collection_rec is passed.
1938 (df_uses_create): New.
1940 2010-11-21 Uros Bizjak <ubizjak@gmail.com>
1943 * fold-const.c (pedantic_non_lvalue_loc): Unshare x before
1946 2010-11-22 Richard Guenther <rguenther@suse.de>
1948 * gimple-fold.c (maybe_fold_reference): When canonicalizing
1949 MEM_REFs, preserve volatileness.
1950 * cgraphbuild.c (mark_address): Properly check for FUNCTION_DECL
1953 2010-11-22 Richard Guenther <rguenther@suse.de>
1955 * tree-ssa-ccp.c (get_base_constructor): Remove superfluous breaks.
1957 2010-11-22 Alexander Monakov <amonakov@ispras.ru>
1959 PR rtl-optimization/45652
1960 * alias.c (get_reg_base_value): New.
1961 * rtl.h (get_reg_base_value): Add prototype.
1962 * sel-sched.c (init_regs_for_mode): Use it. Don't use registers with
1963 non-null REG_BASE_VALUE for renaming.
1965 2010-11-22 Jeremie Salvucci <jeremie.salvucci@free.fr>
1966 Basile Starynkevitch <basile@starynkevitch.net>
1968 * gengtype.c: Include xregex.h and obstack.h
1969 Added comments about role of get_output_file_with_visibility and
1970 our regexpr machinery.
1971 (frul_actionrout_t, struct file_rule_st): New.
1972 (hader_dot_h_frul, source_dot_c_frul): New functions.
1973 (NULL_REGEX, NULL_FRULACT): New.
1975 (matching_file_name_substitute): New function.
1976 (get_output_file_with_visibility): Updated comments and rewritten
1977 to use the new files_rules machinery.
1979 * Makefile.in (XREGEX_H): Added variable.
1980 (build/gengtype.o): Added dependencies for xregex.h and obstack.h
1982 2010-11-21 Nathan Froyd <froydnj@codesourcery.com>
1984 * system.h (FUNCTION_ARG_BOUNDARY): Really poison.
1986 2010-11-21 Nathan Froyd <froydnj@codesourcery.com>
1988 * target.def (conditional_register_usage): Define.
1989 * reginfo.c (init_reg_sets_1): Call
1990 targetm.conditional_register_usage.
1991 * system.h (CONDITIONAL_REGISTER_USAGE): Poison.
1992 * doc/tm.texi.in (CONDITIONAL_REGISTER_USAGE): Adjust language
1993 for making it a hook.
1994 * doc/tm.texi: Regenerate.
1995 * config/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Move logic...
1996 * config/alpha/alpha.c (alpha_conditional_register_usage): ...here.
1998 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
1999 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2000 * config/arc/arc.c (arc_conditional_register_usage): ...here.
2002 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2003 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2004 * config/arm/arm.c (arm_conditional_register_usage): ...here.
2006 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2007 * config/bfin/bfin.h (CONDITIONAL_REGISTER_USAGE): Delete.
2008 * config/bfin/bfin-protos.h (conditional_register_usage): Delete.
2009 * config/bfin/bfin.c (conditional_register_usage): Move code into...
2010 (bfin_conditional_register_usage): ...here. New function.
2011 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2012 * config/cris/cris.h (CONDITIONAL_REGISTER_USAGE): Delete.
2013 * config/cris/cris-protos.h (cris_conditional_register_usage): Delete.
2014 * config/cris/cris.c (cris_conditional_register_usage): Make static.
2015 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2016 * config/fr30/fr30.h (FIXED_REGISTERS): Adjust comment.
2017 * config/frv/frv.h (CONDITIONAL_REGISTER_USAGE): Delete.
2018 * config/frv/frv-protos.h (frv_conditional_register_usage): Delete.
2019 * config/frv/frv.c (frv_conditional_register_usage): Make static.
2020 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2021 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2022 * config/h8300/h8300.c (h8300_conditional_register_usage): ...here.
2024 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2025 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Delete.
2026 * config/i386/i386-protos.h (ix86_conditional_register_usage): Delete.
2027 * config/i386/i386.c (ix86_conditional_register_usage): Make static.
2028 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2029 * config/m32c/m32c.h (CONDITIONAL_REGISTER_USAGE): Delete.
2030 * config/m32c/m32c-protos.h (m32c_conditional_register_usage): Delete.
2031 * config/m32c/m32c.c (m32c_conditional_register_usage): Make static.
2032 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2033 * config/m32r/m32r.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2034 * config/m32r/m32r.c (m32r_conditional_register_usage): ...here.
2036 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2037 * config/m68hc11/m68hc11.h (CONDITIONAL_REGISTER_USAGE): Delete.
2038 * config/m68hc11/m68hc11-protos.h (m68hc11_conditional_register_usage):
2040 * config/m68hc11/m68hc11.c (m68hc11_conditional_register_usage): Make
2042 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2043 * config/mep/mep.h (CONDITIONAL_REGISTER_USAGE): Delete.
2044 * config/mep/mep-protos.h (mep_conditional_register_usage): Delete.
2045 * config/mep/mep.c (mep_conditional_register_usage): Make static.
2046 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2047 * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Delete.
2048 * config/mips/mips-protos.h (mips_conditional_register_usage): Delete.
2049 * config/mips/mips.c (mips_conditional_register_usage): Make static.
2050 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2051 * config/mmix/mmix.h (CONDITIONAL_REGISTER_USAGE): Delete.
2052 * config/mmix/mmix-protos.h (mmix_conditional_register_usage): Delete.
2053 * config/mmix/mmix.c (mmix_conditional_register_usage): Make static.
2054 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2055 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2056 * config/mn10300/mn10300.c (mn10300_conditional_register_usage):
2057 ...here. New function.
2058 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2059 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2060 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): ...with this...
2061 * config/pa/pa.c (pa_conditional_register_usage): ...here.
2063 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2064 * config/pdp11/pdp11.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2065 * config/pdp11/pdp11.c (pdp11_conditional_register_usage): ...here.
2067 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2068 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Delete.
2069 * config/rs6000/rs6000-protos.h (rs6000_conditional_register_usage):
2071 * config/rs6000/rs6000.c (rs6000_conditional_register_usage): Make
2073 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2074 * config/rx/rx.h (CONDITIONAL_REGISTER_USAGE): Delete.
2075 * config/rx/rx-protos.h (rx_conditional_register_usage): Delete.
2076 * config/rx/rx.c (rx_conditional_register_usage): Make static.
2077 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2078 * config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Delete.
2079 * config/s390/s390-protos.h (s390_conditional_register_usage): Delete.
2080 * config/s390/s390.c (s390_conditional_register_usage): Make static.
2081 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2082 * config/score/score.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2083 * config/score/score.c (score_conditional_register_usage): ...here.
2085 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2086 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2087 * config/sh/sh.c (sh_conditional_register_usage): ...here.
2089 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2090 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2091 * config/sparc/sparc.c (sparc_conditional_register_usage): ...here.
2093 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2094 * config/spu/spu.h (CONDITIONAL_REGISTER_USAGE): Delete.
2095 * config/spu/spu-protos.h (spu_conditional_register_usage): Delete.
2096 * config/spu/spu.c (spu_conditional_register_usage): Make static.
2097 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2098 * config/v850/v850.h (CONDITIONAL_REGISTER_USAGE): Move logic...
2099 * config/v850/v850.c (v850_conditional_register_usage): ...here.
2101 (TARGET_CONDITIONAL_REGISTER_USAGE): Define.
2103 2010-11-21 Jan Hubicka <jh@suse.cz>
2104 Dominique d'Humieres <dominiq@lps.ens.ft>
2107 * tree-emutls.c (get_emutls_init_templ_addr, new_emutls_decl): Do not
2108 finalize external decls.
2110 2010-11-21 Joseph Myers <joseph@codesourcery.com>
2112 * system.h (strerror): Poison.
2114 2010-11-21 Richard Henderson <rth@redhat.com>
2116 * config/ia64/ia64.c (ia64_expand_builtin): Use the correct mode
2119 2010-11-21 Richard Henderson <rth@redhat.com>
2121 PR rtl-optimization/46571
2122 * gcse.c (hash_scan_set): Use next_nonnote_nondebug_insn.
2123 (compute_hash_table_work): Use NONDEBUG_INSN_P.
2125 2010-11-21 Paul Koning <ni1d@arrl.net>
2127 * config/mips/pdp11.md (negsi2): Fix wrong code.
2129 2010-11-21 Paul Koning <ni1d@arrl.net>
2131 * config/mips/pdp11.c (pdp11_legitimate_address_p): New function.
2132 * config/mips/pdp11.h (GO_IF_LEGITIMATE_ADDRESS): Delete.
2134 2010-11-21 Eric Botcazou <ebotcazou@adacore.com>
2136 * config/mips/mips.c (machine_function): Rename load_label_length to
2137 load_label_num_insns.
2138 (mips_load_label_length): Rename to...
2139 (mips_load_label_num_insns): ...this. Adjust to first renaming.
2140 (mips_adjust_insn_length): Adjust to second renaming. Fix thinko.
2142 2010-11-21 Uros Bizjak <ubizjak@gmail.com>
2145 * config/alpha/predicates.md (direct_call_operand): Return false
2146 for !TARGET_SMALL_TEXT targets.
2148 2010-11-20 Joseph Myers <joseph@codesourcery.com>
2150 * doc/tm.texi.in (HANDLE_SYSV_PRAGMA,
2151 HANDLE_PRAGMA_PACK_PUSH_POP): Remove.
2152 (HANDLE_PRAGMA_PACK_WITH_EXPANSION): Don't refer to HANDLE_SYSV_PRAGMA.
2153 * doc/tm.texi: Regenerate.
2154 * system.h (HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_SYSV_PRAGMA,
2155 HANDLE_PRAGMA_WEAK): Poison.
2156 * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Don't define.
2157 * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2158 * config/alpha/osf5.h (HANDLE_SYSV_PRAGMA): Don't define.
2159 * config/alpha/vms.h (HANDLE_SYSV_PRAGMA): Don't define.
2160 * config/arm/arm.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2161 * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Don't define.
2162 * config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2163 * config/darwin.h (HANDLE_SYSV_PRAGMA): Don't define.
2164 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2165 * config/elfos.h (HANDLE_SYSV_PRAGMA): Don't define.
2166 * config/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2167 * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Don't define.
2168 * config/i386/cygming.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2169 * config/i386/djgpp.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2170 * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Don't define.
2171 (HANDLE_PRAGMA_WEAK): Don't undefine.
2172 * config/i386/netware.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2173 * config/i386/vxworks.h (HANDLE_SYSV_PRAGMA): Don't define.
2174 * config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2175 * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Don't define.
2176 * config/interix.h (HANDLE_SYSV_PRAGMA): Don't define.
2177 (HANDLE_PRAGMA_WEAK): Don't undefine.
2178 * config/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2179 * config/m32r/linux.h (HANDLE_SYSV_PRAGMA): Don't define.
2180 (HANDLE_PRAGMA_PACK): Don't undefine.
2181 * config/m32r/m32r.h (HANDLE_SYSV_PRAGMA): Don't undefine.
2182 * config/mep/mep.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2183 * config/mips/elf.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2184 * config/mips/sde.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2185 * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Don't define.
2186 * config/netbsd.h (HANDLE_SYSV_PRAGMA): Don't define.
2187 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2188 * config/openbsd.h (HANDLE_SYSV_PRAGMA): Don't define.
2189 * config/pa/pa-hpux.h (HANDLE_SYSV_PRAGMA): Don't define.
2190 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2191 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Don't define.
2192 * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2193 * config/rx/rx.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2194 * config/score/elf.h (HANDLE_SYSV_PRAGMA): Don't define.
2195 * config/spu/spu.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2196 * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Don't define.
2197 * config/xtensa/elf.h (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define.
2199 2010-11-20 Eric Botcazou <ebotcazou@adacore.com>
2202 * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP): Move to...
2203 * config/sparc/sol2.h (ASM_OUTPUT_ALIGN_WITH_NOP): ...here.
2204 * config/sparc/sol2-gas.h (ASM_OUTPUT_ALIGN_WITH_NOP): Undefine.
2206 2010-11-20 Jan Hubicka <jh@suse.cz>
2208 * cgraph.c (ld_plugin_symbol_resolution_names): New.
2209 (dump_cgraph_node): Dump resolution.
2210 * cgraph.h (ld_plugin_symbol_resolution_names): Declare.
2211 (cgraph_comdat_can_be_unshared_p): Dclare.
2212 * lto-streamer-out.c (produce_symtab): Use
2213 cgraph_comdat_can_be_unshared_p.
2214 * ipa.c (cgraph_address_taken_from_non_vtable_p): New function.
2215 (cgraph_comdat_can_be_unshared_p): New function based on logic
2216 in cgraph_externally_visible_p.
2217 (cgraph_externally_visible_p): Use it.
2218 (varpool_externally_visible_p): Virtual tables can be unshared.
2219 * varpool.c (dump_varpool_node): Dump resolution.
2221 2010-11-20 Jan Hubicka <jh@suse.cz>
2223 * stmt.c (lshift_cheap_p): Support properly optimize_insn_for_speed_p.
2225 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2228 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New variables.
2229 (AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
2231 (STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
2232 (install-strip): New target.
2233 (STRIPPROG): New variable, exported if STRIP is set.
2234 * doc/install.texi (Final install): Minor markup and code style
2235 fixes. Document install-strip target.
2237 2010-11-20 Paul Koning <ni1d@arrl.net>
2239 * config/pdp11/pdp11-protos.h (pdp11_initial_elimination_offset,
2240 pdp11_regno_reg_class): New functions.
2241 * config/pdp11/pdp11.md (define_constants): Add register numbers.
2242 * config/pdp11/pdp11.c (pdp11_regno_reg_class,
2243 pdp11_sp_frame_offset, pdp11_initial_elimination_offset): New
2245 * config/pdp11/pdp11.h (FIXED_REGISTERS, CALL_USED_REGISTERS): Add
2246 frame pointer and argument pointer pseudo-registers.
2247 (ARG_POINTER_REGNUM): Define.
2248 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Add frame pointer and
2250 (FIRST_PARM_OFFSET): Update for argument pointer.
2251 (INITIAL_FRAME_POINTER_OFFSET): Delete.
2252 (ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): New macros.
2253 (REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_INDEX_P, REGISTER_NAMES): Add
2254 frame pointer and argument pointer.
2256 2010-11-20 Jakub Jelinek <jakub@redhat.com>
2259 * tree-parloops.c (try_create_redunction_list): Ignore debug stmts
2260 when looking for immediate uses.
2262 PR tree-optimization/45830
2263 * stmt.c (expand_switch_using_bit_tests_p): New function.
2264 (expand_case): Use it.
2265 * tree.h (expand_switch_using_bit_tests_p): New prototype.
2266 * tree-switch-conversion.c (struct switch_conv_info): Add
2267 bit_test_uniq, bit_test_count and bit_test_bb fields.
2268 (check_range): Fix a comment.
2269 (check_process_case): Compute bit_test_uniq and bit_test_count.
2270 (create_temp_arrays): Use XCNEWVEC, merge 3 arrays into one
2272 (free_temp_arrays): Use XDELETEVEC, adjust for the 3 arrays merging.
2273 (constructor_contains_same_values_p): Use FOR_EACH_VEC_ELT.
2274 (array_value_type): New function.
2275 (build_one_array): Use it, if it returned different type,
2276 fold_convert all constructor fields and convert back to the
2277 wider type in the generated code.
2278 (process_switch): Initialize bit_test_uniq, bit_test_count and
2279 bit_test_bb fields. Don't optimize if expand_switch_using_bit_tests_p
2282 2010-11-19 Michael Matz <matz@suse.de>
2284 PR tree-optimization/46077
2285 * tree-chrec.c (eq_evolutions_p): Accept some expressions.
2287 2010-11-19 Anatoly Sokolov <aesok@post.ru>
2289 * config/mn10300/mn10300.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
2290 * config/mn10300/mn10300.c (mn10300_asm_output_addr_const_extra): New
2292 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
2294 2010-11-19 Uros Bizjak <ubizjak@gmail.com>
2296 * mode-switching.c (optimize_mode_switching): Use
2297 FOR_BB_INSNS instead of open-coded loop.
2298 * cfgrtl.c (redirect_branch_edge): Ditto.
2300 2010-11-19 Joern Rennecke <amylaar@spamcop.net>
2303 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Split shift count
2304 to accomodate 32 bit HOST_WIDE_INT.
2305 (m68hc11_emit_logical): Remove unused variable insn.
2306 (m68hc11_check_z_replacement) <CLOBBER>: Set this_insn_uses_ix and
2307 this_insn_uses_iy before use.
2310 * config/crx/crx.c (crx_expand_epilogue): Remove unused variable.
2312 2010-11-19 Joseph Myers <joseph@codesourcery.com>
2315 * c-tree.h (in_late_binary_op): Move to c-family/c-common.h.
2316 * c-typeck.c (in_late_binary_op): Move to c-family/c-common.c.
2318 2010-11-19 Michael Meissner <meissner@linux.vnet.ibm.com>
2320 * doc/extend.texi (Function attributes): Document PowerPC target
2321 attributes that are supported.
2322 (Pragmas): Document that PowerPC now supports target pragmas.
2324 * doc/options.texi (TargetVariable): Document TargetVariable,
2325 HeaderInclude, and SourceInclude.
2327 * doc/invoke.texi (-mfused-madd): Document that -mfused-madd is
2328 mapped to -ffp-contract=fast, and -mno-fused-madd is mapped to
2331 * optc-gen.awk: Add support for TargetVariable, HeaderInclude, and
2332 SourceInclude directives. Fix a cut+paste error with target save
2333 enum variables. Sort enums in the structures after ints and
2335 * opth-gen.awk: Ditto.
2337 * configure.ac: Add support for HeaderInclude and SourceInclude option
2338 directives to add the appropriate files to the dependency lists.
2339 * configure: Regenerate.
2340 * Makefile.in (OPTIONS_H_EXTRA): New variable for HeaderInclude.
2341 (OPTIONS_C_EXTRA): New variable for SourceInclude.
2342 (OPTIONS_H): Add $(OPTIONS_H_EXTRA).
2343 (options.o): Add $(OPTIONS_C_EXTRA) dependency.
2344 (gcc-options.o): Ditto.
2345 * opt-include.awk: New awk script to handle HeaderInclude and
2348 * config/rs6000/aix.opt (-mxl-compat): Mark option as Save so it
2349 gets saved in the target options.
2350 * config/rs6000/linux64.opt (-mprofile-kernel): Ditto.
2351 * config/rs6000/sysv4.opt (-mbit-align): Ditto.
2352 (-mprototype): Ditto.
2353 (-mbit-word): ditto.
2354 (-mregnames): Ditto.
2355 (-msecure-plt): Ditto.
2357 * config/rs6000/rs6000.opt (-mpowerpc-gpopt): Ditto.
2358 (-mpowerpc-gfxopt): Ditto.
2365 (-mhard-dfp): Ditto.
2368 (-mmultiple): Ditto.
2373 (-mno-update): Ditto.
2374 (-mavoid-indexed-addresses): Ditto.
2375 (-mtls-markers): Ditto.
2376 (-msched-epilog): Ditto.
2377 (-msched-prolog): Ditto.
2378 (-maix-struct-return): Ditto.
2379 (-msvr4-struct-return): Ditto.
2380 (-mxl-compat): Ditto.
2381 (-mrecip-precision): Ditto.
2382 (-mfp-in-toc): Ditto.
2383 (-msum-in-toc): Ditto.
2385 (-mblock-move-inline-limit=): Ditto.
2388 (-mlongcall): Ditto.
2389 (-mgen-cell-microcode): Ditto.
2390 (-mwarn-cell-microcode): Ditto.
2391 (-mwarn-altivec-long): Ditto.
2392 (-mprioritize-restricted-insns=): Ditto.
2393 (-msingle-float): Ditto.
2394 (-mdouble-float): Ditto.
2395 (-msimple-fpu): Ditto.
2396 (-mxilinx-fpu): Ditto.
2397 * config/rs6000/aix64.opt (-mpe): Ditto.
2399 * config/rs6000/rs6000.opt (HeaderInclude): Include rs6000-opts.h.
2400 (rs6000_cpu): Move variable to be a target variable. Rename
2401 cmodel to rs6000_current_cmodel because of macro conflict. Merge
2402 -mdebug=<xxx> variables into a single int.
2403 (rs6000_always_hint): Ditto.
2404 (rs6000_sched_groups): Ditto.
2405 (rs6000_align_branch_targets): Ditto.
2406 (rs6000_sched_costly_dep): Ditto.
2407 (rs6000_sched_insert_nops): Ditto.
2408 (rs6000_long_double_type_size): Ditto.
2409 (rs6000_ieeequad): Ditto.
2410 (rs6000_altivec_abi): Ditto.
2411 (rs6000_spe): Ditto.
2412 (rs6000_spe_abi): Ditto.
2413 (rs6000_float_gprs): Ditto.
2414 (rs6000_darwin64_abi): Ditto.
2415 (can_override_loop_align): Ditto.
2416 (rs6000_sdata): Ditto.
2417 (rs6000_tls_size): Ditto.
2418 (rs6000_current_abi): Ditto.
2419 (rs6000_traceback): Ditto.
2420 (rs6000_alignment_flags): Ditto.
2421 (rs6000_current_cmodel): Ditto.
2422 (rs6000_recip_control): Ditto.
2423 (rs6000_cpu_index): Ditto.
2424 (rs6000_tune_index): Ditto.
2425 (rs6000_debug): Ditto.
2426 (rs6000_target_flags_explict): Ditto.
2428 * config/rs6000/rs6000-protos.h (rs6000_pragma_target_parse): Add
2431 * config/rs6000/linux64.h (rs6000_current_cmode): Rename from
2432 cmodel. Change all uses.
2434 * config/rs6000/rs6000.c (rs6000_always_hint): Move to
2435 rs6000.opt. Combine -mdebug=<xxx> variables into a single int.
2436 Rename cmodel to rs6000_current_cmodel.
2437 (rs6000_sched_groups): Ditto.
2438 (rs6000_align_branch_targets): Ditto.
2439 (rs6000_sched_costly_dep): Ditto.
2440 (rs6000_sched_insert_nops): Ditto.
2441 (rs6000_long_double_type_size): Ditto.
2442 (rs6000_ieeequad): Ditto.
2443 (rs6000_altivec_abi): Ditto.
2444 (rs6000_spe): Ditto.
2445 (rs6000_spe_abi): Ditto.
2446 (rs6000_float_gprs): Ditto.
2447 (rs6000_darwin64_abi): Ditto.
2448 (can_override_loop_align): Ditto.
2449 (rs6000_sdata): Ditto.
2450 (rs6000_tls_size): Ditto.
2451 (rs6000_current_abi): Ditto.
2452 (rs6000_traceback): Ditto.
2453 (rs6000_alignment_flags): Ditto.
2454 (rs6000_current_cmodel): Ditto.
2455 (rs6000_recip_control): Ditto.
2456 (rs6000_cpu_index): Ditto.
2457 (rs6000_tune_index): Ditto.
2458 (rs6000_debug): Ditto.
2459 (rs6000_target_flags_explict): Ditto.
2460 (rs6000_sched_insert_nops_str): Make static.
2461 (rs6000_sched_costly_dep_str): Ditto.
2462 (rs6000_recip_name): Ditto.
2463 (rs6000_abi_name): Ditto.
2464 (rs6000_sdata_name): Ditto.
2465 (enum rs6000_traceback_name): Move to rs6000-opts.h.
2466 (rs6000_parse_tls_size_option): Delete.
2467 (rs6000_valid_attribute_p): New function for target attributes and
2469 (rs6000_function_specific_save): Ditto.
2470 (rs6000_function_specific_restore): Ditto.
2471 (rs6000_function_specific_print): Ditto.
2472 (rs6000_can_inline_p): Ditto.
2473 (rs6000_set_current_function): Ditto.
2474 (rs6000_inner_target_options): Ditto.
2475 (rs6000_debug_target_options): Ditto.
2476 (rs6000_pragma_target_parse): Ditto.
2477 (TARGET_OPTION_VALID_ATTRIBUTE_P): Define target hooks for target
2478 attributes and pragmas.
2479 (TARGET_OPTION_SAVE): Ditto.
2480 (TARGET_OPTION_RESTORE): Ditto.
2481 (TARGET_OPTION_PRINT): Ditto.
2482 (TARGET_CAN_INLINE_P): Ditto.
2483 (TARGET_SET_CURRENT_FUNCTION): Ditto.
2484 (POWER_MASKS): Move to file level scope from the
2485 rs6000_option_override_internal function.
2486 (POWERPC_MASKS): Ditto.
2487 (ISA_*_MASKS): Ditto.
2488 (struct rs6000_ptt): Ditto.
2489 (processor_target_table): Ditto.
2490 (rs6000_cpu_name_lookup): Map cpu name to an index in
2491 processor_target_table.
2492 (rs6000_debug_reg_global): Print more information on processor
2493 options for -mdebug=reg.
2494 (rs6000_init_hard_regno_mode_ok): Add support for target
2495 attributes and pragmas. Merge all -mdebug=<xxx> fields into one.
2496 Allow -mdebug=val1,val2. Rename cmodel variable.
2497 (rs6000_option_override_internal): Ditto.
2498 (rs6000_option_override): Ditto.
2499 (rs6000_handle_option): Ditto.
2500 (rs6000_conditional_register_usage): Add debug trace message.
2501 (struct rs6000_opt_mask): New for target attribute/pragma support.
2502 (rs6000_opt_masks): Ditto.
2503 (struct rs6000_opt_var): Ditto.
2504 (rs6000_opt_vars): Ditto.
2505 (rs6000_previous_function): Ditto.
2507 * config/rs6000/rs6000.h (top level): Include rs6000-opts.h if it
2508 wasn't already included.
2509 (enum rs6000_cmodel): Move to rs6000-opts.h or rs6000.opt.
2510 (enum processor_type): Ditto.
2511 (rs6000_cpu): Ditto.
2512 (enum fpu_type_t): Ditto.
2514 (enum rs6000_dependence_cost): Ditto.
2515 (enum rs6000_nop_insertion): Ditto.
2516 (enum group_termination): Ditto.
2517 (rs6000_long_double_type_size): Ditto.
2518 (rs6000_ieeequad): Ditto.
2519 (rs6000_altivec_abi): Ditto.
2520 (rs6000_spe_abi): Ditto.
2521 (rs6000_spe): Ditto.
2522 (rs6000_float_gprs): Ditto.
2523 (rs6000_alignment_flags): Ditto.
2524 (rs6000_sched_insert_nops): Ditto.
2525 (enum rs6000_vector): Ditto.
2526 (enum rs6000_abi): Ditto.
2527 (rs6000_current_opt): Ditto.
2528 (rs6000_debug_*): Delete.
2529 (MASK_DEBUG*): Combine -mdebug=xxxx into one int.
2530 (TARGET_DEBUG*): Ditto.
2532 * config/rs6000/rs6000-opts.h: New header file to define the enums
2533 that are used in target variables that are now defined in rs6000.opt.
2535 * config/rs6000/sysv4.h (enum rs6000_sdata_type): Move to
2537 (rs6000_sdata): Ditto.
2538 (rs6000_abi_name): Delete.
2539 (rs6000_sdata_name): Ditto.
2540 (rs6000_tls_size_string): Ditto.
2542 2010-11-19 Joseph Myers <joseph@codesourcery.com>
2544 * common.opt (debug_struct_ordinary, debug_struct_generic): New
2546 * dwarf2out.c (matches_main_base, dump_struct_debug, DUMP_GSTRUCT,
2547 should_emit_struct_debug): Move from opts.c.
2548 * flag-types.h (enum debug_struct_file): Move from opts.c.
2549 * flags.h (should_emit_struct_debug): Remove.
2550 (base_of_path): Declare.
2551 (set_struct_debug_option): Add gcc_options parameter.
2552 * optc-gen.awk, opth-gen.awk: Handle array variables.
2553 * opts.c (enum debug_struct_file, debug_struct_ordinary,
2554 debug_struct_generic): Remove.
2555 (set_struct_debug_option): Add gcc_options parameter.
2556 (base_of_path): Remove static.
2557 (main_input_basename, main_input_baselength, matches_main_base,
2558 dump_struct_debug, DUMP_GSTRUCT, should_emit_struct_debug):
2560 * toplev.c (main_input_basename, main_input_baselength): Define
2562 * toplev.h (main_input_basename, main_input_baselength): Declare
2565 2010-11-19 Joseph Myers <joseph@codesourcery.com>
2567 * common.opt (flag_instrument_functions_exclude_functions,
2568 flag_instrument_functions_exclude_files): New Variable definitions.
2569 * flags.h (flag_instrument_functions_exclude_p): Don't declare.
2570 * gimplify.c (char_p): Declare type and vectors.
2571 (flag_instrument_functions_exclude_p): Moved from opts.c. Make static.
2572 * opts.c (flag_instrument_functions_exclude_functions,
2573 flag_instrument_functions_exclude_files): Remove.
2574 (add_comma_separated_to_vector): Take void **.
2575 (flag_instrument_functions_exclude_p): Move to gimplify.c.
2576 (common_handle_option): Use options structure for
2577 -finstrument-functions-exclude- options.
2579 2010-11-19 Joseph Myers <joseph@codesourcery.com>
2581 * doc/options.texi (Var): Document effects of Defer.
2583 * opt-functions.awk (var_type, var_set): Handle deferred options.
2584 * opts-common.c (set_option): Handle CLVC_DEFER.
2585 * common.opt (fcall-saved-, fcall-used-, fdump-, ffixed-,
2586 fplugin=, fplugin-arg-, fstack-limit, fstack-limit-register=,
2587 fstack-limit-symbol=): Mark as deferred.
2588 * opts.c: Don't include rtl.h, ggc.h, output.h, tree-pass.h or
2590 (print_filtered_help): Don't report state of CLVC_DEFER options.
2591 (common_handle_option): Move code for OPT_fcall_used_,
2592 OPT_fcall_saved_, OPT_fdump_, OPT_ffixed_, OPT_fplugin_,
2593 OPT_fplugin_arg_, OPT_fstack_limit, OPT_fstack_limit_register_ and
2594 OPT_fstack_limit_symbol_ to opts-global.c.
2595 (option_enabled, get_option_state): Handle CLVC_DEFER.
2596 * opts.h: Include vec.h.
2597 (enum cl_var_type): Add CLVC_DEFER.
2598 (cl_deferred_option): Define type and vectors.
2599 (handle_common_deferred_options): Declare.
2600 * opts-global.c: New.
2601 * toplev.c (toplev_main): Call handle_common_deferred_options
2602 * Makefile.in (OPTS_H): Include $(VEC_H).
2603 (OBJS-common): Include opts-global.o.
2604 (opts.o): Update dependencies.
2605 (opts-global.o): Add dependencies.
2607 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
2609 * c-parser.c (c_parser_objc_protocol_definition): Pass attributes
2610 to objc_declare_protocols.
2612 2010-11-19 Richard Guenther <rguenther@suse.de>
2615 * lto-streamer-out.c (lto_output_ts_common_tree_pointers): For
2616 IDENTIFIERs do not stream TREE_TYPE.
2617 * lto-streamer-in.c (lto_input_ts_common_tree_pointers): Likewise.
2619 2010-11-19 Christian Borntraeger <borntraeger@de.ibm.com>
2621 * config/s390/s390.c (s390_function_arg_integer): Handle NULLPTR_TYPE.
2623 2010-11-19 Jakub Jelinek <jakub@redhat.com>
2626 * dwarf2out.c (const_ok_for_output_1): Don't complain about
2627 non-delegitimized TLS UNSPECs.
2629 2010-11-18 Jack Howarth <howarth@bromo.med.uc.edu>
2630 Ian Lance Taylor <iant@google.com>
2632 * config/darwin-c.c (darwin_additional_format_types): Export.
2634 2010-11-18 Paul Koning <ni1d@arrl.net>
2636 * config/pdp11/pdp11.h (FIRST_PARM_OFFSET): Fix case of no frame
2639 2010-11-18 Paul Koning <ni1d@arrl.net>
2641 * config/pdp11/pdp11.md (abshi2): Delete TARGET_ABSHI_BUILTIN.
2642 * config/pdp11/pdp11.c (TARGET_DEFAULT_TARGET_FLAGS): Ditto.
2643 * config/pdp11/pdp11.opt (-mabshi): Delete.
2645 2010-11-19 Mingjie Xing <mingjie.xing@gmail.com>
2647 * resource.h (struct resources): Fix typo in the comment.
2649 2010-11-19 Uros Bizjak <ubizjak@gmail.com>
2652 * config/i386/i386.c (ix86_reorg): Call compute_bb_for_insn.
2654 2010-11-18 Richard Henderson <rth@redhat.com>
2657 * function.c (maybe_copy_prologue_epilogue_insn): Rename from
2658 maybe_copy_epilogue_insn; handle prologue insns as well.
2659 * rtl.h, cfglayout.c: Update for rename.
2660 * recog.c (peep2_attempt): Copy prologue/epilogue data for
2661 RTX_FRAME_RELATED_P insns.
2663 2010-11-18 Jakub Jelinek <jakub@redhat.com>
2666 * builtins.c (fold_builtin_printf): Don't copy and modify string
2667 before build_string_literal, instead modify what
2668 build_string_literal returned.
2670 2010-11-18 Nathan Froyd <froydnj@codesourcery.com>
2673 * c-typeck.c (build_unary_op): Call build_real_imag_expr for
2674 REALPART_EXPR and IMAGPART_EXPR.
2676 2010-11-18 Richard Guenther <rguenther@suse.de>
2678 PR tree-optimization/46172
2679 * tree-vect-loop-manip.c (remove_dead_stmts_from_loop): New
2681 (slpeel_tree_peel_loop_to_edge): Call it.
2683 2010-11-18 Jeff Law <law@redhat.com>
2685 PR middle-end-optimization/46297
2686 * postreload.c (reload_combine_note_store): Deal with embedded
2687 side effects in MEM expressions.
2689 2010-11-18 Richard Guenther <rguenther@suse.de>
2692 * dwarf2out.c (add_AT_die_ref): Work around LTO losing types
2693 when checking is not enabled.
2695 2010-11-18 Richard Guenther <rguenther@suse.de>
2698 * gimple.c (gimple_register_type): Update TYPE_MAIN_VARIANT of
2700 (gimple_register_canonical_type): Also cache the canoncial type
2701 for non type leaders.
2703 2010-11-18 Richard Guenther <rguenther@suse.de>
2705 * lto-wrapper.c (run_gcc): Fix -flto=N parsing.
2707 2010-11-18 Alexander Monakov <amonakov@ispras.ru>
2710 * sel-sched-ir.c (init_expr): Use the correct type for
2712 * sel-sched.c (fill_vec_av_set): Use explicitly signed char type.
2714 2010-11-17 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
2716 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Support -fpic
2717 as well as -mrelocatable at the same time.
2719 2010-11-17 Quentin Neill <quentin.neill.gnu@gmail.com>
2722 * config/i386/bmiintrin.h (__lzcnt_u16, __lzcnt_u32, __lzcnt_u64):
2723 Call the clz builtin.
2725 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com>
2726 Steve Ellcey <sje@cup.hp.com>
2729 * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask
2730 if section attribute used.
2732 2010-11-17 Jan Hubicka <jh@suse.cz>
2734 * builtins.c (expand_builtin_mathfn_2, expand_builtin_mathfn): Do not
2735 expand errno setting variant when optimizing for size.
2737 2010-11-17 Eric Botcazou <ebotcazou@adacore.com>
2739 * postreload.c (reload_combine): Call control_flow_insn_p only once.
2740 Reverse backward loop. Fix formatting issues.
2742 2010-11-17 Paolo Bonzini <bonzini@gnu.org>
2744 * c-parser.c (c_token_is_qualifier,
2745 c_parser_next_token_is_qualifier): New.
2746 (c_parser_declaration_or_fndef, c_parser_struct_declaration):
2747 Improve error message on specs->tagdef_seen_p.
2748 (c_parser_struct_or_union_specifier): Improve error recovery.
2749 (c_parser_declspecs): Move exit condition on C_ID_ID early.
2750 Reorganize exit condition for C_ID_TYPENAME/C_ID_CLASSNAME
2751 using c_parser_next_token_is_qualifier; extend it to cover
2752 a ctsk_tagdef typespec and !typespec_ok in general.
2754 2010-11-17 Richard Guenther <rguenther@suse.de>
2756 * value-prof.c (gimple_divmod_fixed_value_transform): Update the stmt.
2757 (gimple_mod_pow2_value_transform): Likewise.
2758 (gimple_mod_subtract_transform): Likewise.
2760 2010-11-17 Richard Guenther <rguenther@suse.de>
2763 * gimple.c (gimple_register_canonical_type): Make sure to only
2764 make type leaders canonical types.
2766 2010-11-17 Michael Matz <matz@suse.de>
2768 * timevar.def (TV_IPA_OPT, TV_EARLY_LOCAL, TV_OPTIMIZE,
2769 TV_POSTRELOAD, TV_REMOVE_UNUSED, TV_ADDRESS_TAKEN, TV_TODO,
2770 TV_VERIFY_LOOP_CLOSED, TV_VERIFY_RTL_SHARING,
2771 TV_REBUILD_FREQUENCIES, TV_REPAIR_LOOPS): New.
2772 * tree-into-ssa.c (rewrite_into_ssa): Don't push/pop timevar here ...
2773 (pass_build_ssa): ... but here.
2774 * cgraphbuild.c (pass_rebuild_cgraph): Use timevar.
2775 * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Use timevar.
2776 * tree-emutls.c (pass_ipa_lower_emutls): Ditto.
2777 * df-core.c (pass_df_initialize_opt, pass_df_initialize_no_opt): Ditto.
2778 * predict.c (rebuild_frequencies): Ditto.
2779 * tree-vectorizer.c (pass_ipa_increase_alignment): Ditto.
2780 * emit-rtl.c (verify_rtl_sharing): Ditto.
2781 * tree-cfgcleanup.c (repair_loop_structures): Ditto.
2782 * tree-ssa-live.c (remove_unused_locals): Ditto.
2783 * cfglayout.c (pass_into_cfg_layout, pass_outof_cfg_layout): Ditto.
2784 * tree-ssa.c (pass_early_warn_uninitialized,
2785 execute_update_addresses_taken, pass_update_address_taken): Ditto.
2786 * tree-optimize.c (pass_all_optimizations, pass_early_local_passes,
2787 pass_cleanup_cfg_post_optimizing, tree_rest_of_compilation): Ditto.
2788 * passes.c (pass_postreload, execute_todo): Ditto.
2789 * tree-ssanames.c (pass_release_ssa_names): Ditto.
2791 2010-11-17 Joseph Myers <joseph@codesourcery.com>
2793 * doc/invoke.texi (-dy): Remove.
2794 * langhooks-def.h (lhd_do_nothing_i): Don't declare.
2795 (LANG_HOOKS_PARSE_FILE): Define to lhd_do_nothing.
2796 * langhooks.c (lhd_do_nothing_i): Remove.
2797 * langhooks.h (lang_hooks.parse_file): Take no arguments.
2798 * toplev.c (set_yydebug): Remove.
2799 (compile_file): Update call to lang_hooks.parse_file.
2800 (decode_d_option): Don't handle -dy.
2802 2010-11-17 Jakub Jelinek <jakub@redhat.com>
2804 PR rtl-optimization/46440
2805 * combine.c (update_cfg_for_uncondjump): When changing
2806 an indirect jump into unconditional jump, remove BARRIERs
2809 2010-11-17 Joseph Myers <joseph@codesourcery.com>
2811 * opts.c (target_handle_option): Do not assert that loc ==
2814 2010-11-17 Jakub Jelinek <jakub@redhat.com>
2815 Richard Guenther <rguenther@suse.de>
2818 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1,
2819 call_may_clobber_ref_p_1): Return true for __sync_* and some
2820 OpenMP builtins that act as threading barriers.
2822 2010-11-17 Richard Guenther <rguenther@suse.de>
2824 PR tree-optimization/46498
2825 * tree-ssa-dce.c (perform_tree_ssa_dce): Compute dominator info.
2827 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
2829 * config/xtensa/xtensa.c (function_arg_boundary): Really rename to...
2830 (xtensa_function_arg_boundary): ...this.
2831 * config/picochip/pichochip.c (picochip_function_arg_boundary): Fix
2832 thinko in declaration.
2833 (picochip_function_arg, picochip_arg_partial_bytes): Pass proper
2834 number of parameters to picochip_function_arg_boundary.
2835 (picochip_arg_advance): Likewise.
2837 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
2840 * config/pa/pa.c (pa_function_arg_boundary): Move TYPE_SIZE accesses
2841 under check for type.
2843 2010-11-16 Eric Botcazou <ebotcazou@adacore.com>
2845 * ifcvt.c (dead_or_predicable): Fix typo.
2847 2010-11-16 Richard Henderson <rth@redhat.com>
2849 * config.gcc [s390*-*] (extra_options): Add fused-madd.opt.
2850 * config/s390/s390.opt (mfused-madd): Remove.
2851 * config/s390/s390.c (s390_rtx_costs): Handle FMA.
2852 (TARGET_DEFAULT_TARGET_FLAGS): Remove MASK_FUSED_MADD.
2853 * config/s390/s390.md (fma<DSF>4): Rename from *fmadd<DSF>; use FMA.
2854 (fms<DSF>4): Rename from *fmsub<DSF>; use FMA.
2856 2010-11-16 Richard Henderson <rth@redhat.com>
2858 * config.gcc [powerpc*, rs6000*] (extra_options): Add fused-madd.opt.
2859 * config/rs6000/rs6000.opt (mfused-madd): Remove.
2860 * config/rs6000/altivec.md (altivec_vmaddfp): Remove.
2861 (*altivec_vmaddfp_1): Remove.
2862 (*altivec_fmav4sf4): Rename from altivec_vmaddfp_2; use FMA.
2863 (altivec_mulv4sf3): Expand to FMA directly.
2864 (*altivec_vnmsubfp): Rename from altivec_vnmsubfp.
2865 (*altivec_vnmsubfp_1, *altivec_vnmsubfp_2): Remove.
2866 * config/rs6000/paired.md (paired_madds0): Use FMA.
2867 (paired_madds1): Likewise.
2868 (*paired_madd): Rename from paired_madd; use FMA.
2869 (*paired_msub, *paired_nmadd, *paired_nmsub): Similarly.
2870 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Do not
2871 consider TARGET_FUSED_MADD wrt rs6000_recip_control.
2872 (bdesc_3arg): Update CODE_FOR_* for pattern renames.
2873 (rs6000_emit_madd): Use fma_optab.
2874 (rs6000_emit_msub): Use fms_optab.
2875 (rs6000_emit_nmsub): Expand the FMA pattern directly.
2876 * config/rs6000/rs6000.md (FMA_F): New mode iterator.
2877 (*fmasf4_fpr): Rename from fmasf4_fpr.
2878 (*nfmasf4_fpr): Rename from *fnmasf4_fpr.
2879 (*nfmssf4_fpr): Rename from *fnmssf4_fpr.
2880 (*fmaddsf4_powerpc, *fmaddsf4_power, *fmsubsf4_powerpc): Remove.
2881 (*fmsubsf4_power, *fnmaddsf4_powerpc_1, *fnmaddsf4_powerpc_2): Remove.
2882 (*fnmaddsf4_power_1, *fnmaddsf4_power_2, *fnmsubsf4_powerpc_1): Remove.
2883 (*fnmsubsf4_powerpc_2, *fnmsubsf4_power_1, *fnmsubsf4_power_2): Remove.
2884 (*fmadf4_fpr): Rename from fmadf4_fpr.
2885 (*nfmadf4_fpr): Rename from *fnmadf4_fpr.
2886 (*nfmsdf4_fpr): Rename from *fnmsdf4_fpr.
2887 (*fmadddf4_fpr, *fmsubdf4_fpr, *fnmadddf4_fpr_1): Remove.
2888 (*fnmadddf4_fpr_2, *fnmsubdf4_fpr_1, *fnmsubdf4_fpr_2): Remove.
2889 (fmasf4, fmadf4): Macroize into...
2890 (fma<FMA_F>4): ... here.
2891 (fms<FMA_F>4, fnma<FMA_F>4, fnms<FMA_F>4): New.
2892 (nfma<FMA_F>4, nfms<FMA_F>4): New.
2893 * config/rs6000/vector.md (mul<VEC_F>3): Do not depend on
2895 * config/rs6000/vsx.md (vsx_fmadd<VSX_B>4): Remove.
2896 (*vsx_fmadd<mode>4_1): Remove.
2897 (vsx_fmsub<mode>4, *vsx_fmsub<mode>4_1): Remove.
2898 (vsx_fnmadd<mode>4_1, vsx_fnmadd<mode>4_2): Remove.
2899 (vsx_fnmsub<mode>4_1, vsx_fnmsub<mode>4_2): Remove.
2900 (*vsx_fma<mode>4): Rename from vsx_fmadd<mode>4_2.
2901 (*vsx_fms<mode>4): Rename from vsx_fmsub<mode>4_2.
2902 (*vsx_nfma<mode>4): Rename from vsx_fnmadd<mode>4.
2903 (*vsx_nfms<mode>4): Rename from vsx_fnmsub<mode>4.
2905 2010-11-16 Richard Henderson <rth@redhat.com>
2907 * config/pa/pa.md (fmadf4): Rename from unnamed; use FMA.
2908 (fmasf4, fnmadf4, fnmasf4): Likewise.
2909 (unnamed plus+mult insns and splitters): Delete.
2911 2010-11-16 Richard Henderson <rth@redhat.com>
2913 * config/spu/spu.md (fma<VSF>4): Rename from fma_<VSF>.
2914 (fnma<VSF>4): Rename from fnms_<VSF>.
2915 (fms<VSF>4): Rename from fms_<VSF>.
2916 (fma<VDF>4): Rename from fma_<VDF>.
2917 (fms<VDF>4): Rename from fms_<VDF>.
2918 (nfma<VDF>4): Rename from fnma_<VDF>.
2919 (nfms<VDF>4): Rename from fnms_<VDF>.
2920 (fnma<VDF>4, fnms<VDF>4): New expanders.
2921 (floatunsdisf2): Update for the renames.
2922 (*div<VSF>3_fast, *div<VSF>3_adjusted): Likewise.
2923 * config/spu/spu-builtins.def: Update CODE_FOR_* for the renames.
2925 2010-11-16 Eric Botcazou <ebotcazou@adacore.com>
2927 PR rtl-optimization/46490
2928 * combine.c (expand_compound_operation): Fix thinko.
2930 2010-11-16 Richard Henderson <rth@redhat.com>
2933 * recog.c (peep2_attempt): Convert frame-related info when possible.
2934 (peep2_fill_buffer): Allow frame-related insns into the buffer.
2935 (peephole2_optimize): Allow peep2_attempt to fail.
2937 2010-11-16 Eric Botcazou <ebotcazou@adacore.com>
2939 PR rtl-optimization/46315
2940 * rtl.h (remove_reg_equal_equiv_notes_for_regno): Declare.
2941 * rtlanal.c (remove_reg_equal_equiv_notes_for_regno): New function
2943 * dce.c (delete_corresponding_reg_eq_notes): ...here. Rename into...
2944 (remove_reg_equal_equiv_notes_for_defs): ...this.
2945 (delete_unmarked_insns): Adjust to above renaming.
2946 * ifcvt.c (dead_or_predicable): Remove REG_EQUAL and REG_EQUIV notes
2947 referring to registers set in the insns being moved, if any.
2949 * df-core.c (df_ref_dump): New function extracted from...
2950 (df_refs_chain_dump): ...here. Call it.
2951 (df_regs_chain_dump): Likewise.
2952 * df-problems.c (df_chain_dump): Print 'e' for uses in notes.
2953 * df-scan.c (df_scan_start_dump): Likewise. Fix long line.
2955 2010-11-16 Andreas Schwab <schwab@linux-m68k.org>
2957 PR rtl-optimization/46395
2958 * postreload.c (reload_combine): Invalidate register use
2959 information on all control flow insns.
2961 * config/m68k/m68k.c (m68k_delegitimize_address): Also expect
2962 LABEL_REF in UNSPEC operand.
2964 2010-11-16 Jan Hubicka <jh@suse.cz>
2966 * cgraph.h (+varpool_can_remove_if_no_refs): Move here from ...;
2967 when !flag_toplevel_reorder do not remove unless variable is
2968 COMDAT or ARTIFICIAL.
2969 * ipa.c (varpool_can_remove_if_no_refs): ... here.
2970 (cgraph_remove_unreachable_nodes): Only analyzed nodes needs to stay.
2971 * cgraphunit.c (cgraph_analyze_functions): Dump varpool, too.
2972 * varpool.c (decide_is_variable_needed): Do not handle visibility
2974 (varpool_finalize_decl): Likewise.
2975 (varpool_remove_unreferenced_decls): Use varpool_mark_needed_node;
2976 update outdated comment on DECL_RTL_SET_P check.
2978 2010-11-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2980 * config/sol2.h (NM_FLAGS): Define.
2981 * doc/tm.texi.in (Macros for Initialization, NM_FLAGS): Document.
2982 * doc/tm.texi: Update.
2984 2010-11-16 Nick Clifton <nickc@redhat.com>
2986 * config/v850/v850.md (maddsf4): Rename to fmasf4 and use fma rtx_code.
2987 (msubsf4): Rename to fmssf4, and use fma.
2988 (nmaddsf4): Rename to fnmasf4 and use fma.
2989 (nmsubsf4): Rename to fnmssf4 and use fma.
2991 2010-11-16 Joern Rennecke <amylaar@spamcop.net>
2994 * config/score/score3.c (score3_return_in_memory): Constify arguments.
2995 (score3_in_small_data_p, score3_function_value): Likewise.
2996 (score3_trampoline_init): Use LCT_NORMAL.
2997 (score3_print_operand): Initialize code as UNKNOWN.
2998 * config/score/predicates.md (score_load_multiple_operation):
2999 Remove unused variable.
3000 (score_store_multiple_operation): Likewise.
3001 * config/score/score7.c (score7_return_in_memory): Constify arguments.
3002 (score7_in_small_data_p, score7_function_value): Likewise.
3003 (score7_trampoline_init): Use LCT_NORMAL.
3004 (score7_print_operand): Initialize code as UNKNOWN.
3005 * config/score/score3.h (score3_return_in_memory): Update prototype.
3006 (score3_in_small_data_p, score3_function_value): Likewise.
3007 * config/score/score-protos.h (score_function_value): Likewise.
3008 * config/score/score7.h (score7_return_in_memory): Update prototype.
3009 (score7_in_small_data_p, score7_function_value): Likewise.
3010 * config/score/score.c (TARGET_PROMOTE_PROTOTYPES): Constify.
3011 (score_return_in_memory, score_pass_by_reference): Constify arguments.
3012 (score_output_mi_thunk, score_function_prologue): Don't return a value.
3013 (score_function_epilogue, score_in_small_data_p): Likewise.
3014 (score_option_override, score_asm_trampoline_template): Likewise.
3015 (score_trampoline_init, score_print_operand): Likewise.
3016 (score_print_operand_address, score_prologue): Likewise.
3017 (score_epilogue, score_call, score_call_value): Likewise.
3018 (score_movsicc, score_movdi, score_zero_extract_andi): Likewise.
3019 (score_function_arg_advance): Likewise. Make static.
3020 (score_asm_file_end): Mark parameter value with ATTRIBUTE_UNUSED.
3021 (score_function_arg, score_legitimate_address_p): Make static.
3022 (score_function_value): Mark parameter func with ATTRIBUTE_UNUSED.
3023 * config/score/score.h (REGNO_REG_CLASS): Cast value to enum reg_class.
3024 * config/score/score-conv.h (UIMM_IN_RANGE, SIMM_IN_RANGE):
3025 Allow (W) == HOST_BITS_PER_WIDE_INT.
3028 * config/pdp11/t-pdp11 (java/constants.o-warn): Remove.
3029 * config/t-pnt16-warn (java/constants.o-warn): Likewise.
3031 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
3033 * config/arc/arc.c: Delete pasto.
3034 * config/pa/pa.c (pa_function_arg_boundary): Add missing comparison.
3036 2010-11-16 Anatoly Sokolov <aesok@post.ru>
3038 * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS,
3039 PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
3040 * config/mn10300/mn10300.c (TARGET_PREFERRED_RELOAD_CLASS,
3041 TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define.
3042 (mn10300_preferred_reload_class,
3043 mn10300_preferred_output_reload_class): New functions.
3045 2010-11-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3047 * gensupport.c (MNEMONIC_ATTR_NAME, MNEMONIC_HTAB_SIZE): New macros.
3048 (htab_eq_string, add_mnemonic_string, gen_mnemonic_setattr)
3049 (mnemonic_htab_callback, gen_mnemonic_attr): New functions.
3050 (init_rtx_reader_args_cb): Invoke gen_mnemonic_attr.
3052 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
3054 * builtins.c (std_gimplify_va_arg_expr): Use
3055 targetm.calls.function_arg_boundary.
3056 * function.c (assign_parms, locate_and_pad_parm): Likewise.
3057 * calls.c (struct arg_data): Update comment.
3058 * defaults.h (FUNCTION_ARG_BOUNDARY): Delete.
3059 * target.def (function_arg_boundary): Define.
3060 * targhooks.h (default_function_arg_boundary): Declare.
3061 * targhooks.c (default_function_arg_boundary): Define.
3062 * doc/tm.texi.in (FUNCTION_ARG_PADDING): Use
3063 TARGET_FUNCTION_ARG_BOUNDARY.
3064 (FUNCTION_ARG_BOUNDARY): Delete.
3065 (TARGET_FUNCTION_ARG_BOUNDARY): New.
3066 * doc/tm.texi: Regenerate.
3067 * system.h (FUNCTION_ARG_BOUNDARY): Poison.
3068 * config/arc/arc.h (FUNCTION_ARG_BOUNDARY): Delete.
3069 * config/arc/arc.c (arc_function_arg_boundary): Define.
3070 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3071 * config/arm/arm.h (FUNCTION_ARG_BOUNDARY): Delete.
3072 * config/arm/arm-protos.h (arm_needs_doubleword_align): Delete.
3073 * config/arm/arm.c (arm_needs_doubleword_align): Make static.
3074 (arm_function_arg_boundary): Define.
3075 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3076 * config/frv/frv.h (FUNCTION_ARG_BOUNDARY): Delete.
3077 * config/frv/frv-protos.h (frv_function_arg_boundary): Delete.
3078 * config/frv/frv.c (frv_function_arg_boundary): Make static.
3079 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3080 * config/i386/i386.h (FUNCTION_ARG_BOUNDARY): Delete.
3081 * config/i386/i386-protos.h (ix86_function_arg_boundary): Delete.
3082 * config/i386/i386.c (ix86_function_arg_boundary): Make static.
3083 (ix86_compat_function_arg_boundary): Take and return unsigned int.
3084 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3085 * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Delete.
3086 * config/ia64/ia64-protos.h (ia64_function_arg_boundary): Delete.
3087 * config/ia64/ia64.c (ia64_function_arg_boundary): Make static.
3088 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3089 * config/m32c/m32c.h (FUNCTION_ARG_BOUNDARY): Delete.
3090 * config/m32c/m32c.c (m32c_function_arg_boundary): Define.
3091 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3092 * config/m32r/m32r.h (FUNCTION_ARG_BOUNDARY): Delete.
3093 * config/mcore/mcore.h (FUNCTION_ARG_BOUNDARY): Delete.
3094 * config/mcore/mcore.c (mcore_function_arg_boundary): Define.
3095 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3096 * config/mips/mips.h (FUNCTION_ARG_BOUNDARY): Delete.
3097 * config/mips/mips-protos.h (mips_function_arg_boundary): Delete.
3098 * config/mips/mips.c (mips_function_arg_boundary): Make static.
3099 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3100 * config/pa/pa.h (FUNCTION_ARG_BOUNDARY): Delete.
3101 * config/pa/pa.c (pa_function_arg_boundary): Define.
3102 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3103 * config/picochip/picochip.h (FUNCTION_ARG_BOUNDARY): Delete.
3104 * config/picochip/picochip-protos.h
3105 (picochip_get_function_arg_boundary): Delete.
3106 * config/picochip/picochip.c (picochip_get_function_arg_boundary):
3108 (picochip_function_arg_boundary): ...this. Make static.
3109 (picochip_function_arg, picochip_arg_partial_bytes): Adjust.
3110 (picochip_arg_advance): Adjust.
3111 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3112 * config/rs6000/rs6000.h (FUNCTION_ARG_BOUNDARY): Delete.
3113 * config/rs6000/rs6000-protos.h (function_arg_boundary): Delete.
3114 * config/rs6000/rs6000.c (function_arg_boundary): Rename to...
3115 (rs6000_function_arg_boundary): ...this. Make static.
3116 (rs6000_parm_start, rs6000_gimplify_va_arg): Adjust.
3117 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3118 * config/rx/rx.h (FUNCTION_ARG_BOUNDARY): Delete.
3119 * config/rx/rx.c (rx_function_arg_boundary): Define.
3120 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3121 * config/sparc/sparc.h (FUNCTION_ARG_BOUNDARY): Delete.
3122 * config/sparc/sparc.c (sparc_function_arg_boundary): Define.
3123 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3124 * config/xtensa/xtensa.h (FUNCTION_ARG_BOUNDARY): Delete.
3125 * config/xtensa/xtensa-protos.h (function_arg_boundary): Delete.
3126 * config/xtensa/xtensa.c (function_arg_boundary): Rename to...
3127 (xtensa_function_arg_boundary): ...this. Make static.
3128 (TARGET_FUNCTION_ARG_BOUNDARY): Define.
3130 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
3132 * expr.c (alignment_for_piecewise_move): New function.
3133 (widest_int_mode_for_size): New function.
3134 (move_by_pieces, move_by_pieces_ninsns): Call them.
3135 (can_store_by_pieces, store_by_pieces_1): Likewise.
3137 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
3139 * gcc.c (char_p): Define. Define a VEC of it.
3140 (n_linker_options, n_assembler_options, n_preprocessor_options):
3142 (linker_options, assembler_options, preprocessor_options): Convert
3144 (add_preprocessor_option): Adjust.
3145 (add_assembler_option): Adjust.
3146 (add_linker_option): Adjust.
3147 (do_specs_vec): New function.
3148 (do_spec_1): Call it. Adjust for new types.
3150 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
3152 * Makefile.in (bitmap.o, ebitmap.o, et-forest.o): Update dependencies.
3153 (sreal.o, statistics.o, stringpool.o): Likewise.
3155 2010-11-16 Richard Guenther <rguenther@suse.de>
3157 PR tree-optimization/44545
3158 * tree-ssa-reassoc.c (linearize_expr_tree): Possibly throwing
3159 statements are not reassociatable.
3160 (reassociate_bb): Likewise.
3162 2010-11-16 Nathan Froyd <froydnj@codesourcery.com>
3164 * bitmap.c: Delete unnecessary includes.
3165 * ebitmap.c: Likewise.
3166 * et-forest.c: Likewise.
3167 * sreal.c: Likewise.
3168 * statistics.c: Likewise.
3169 * stringpool.c: Likewise.
3170 * double-int.c: Add comment for inclusion of tm.h.
3172 2010-11-16 Richard Guenther <rguenther@suse.de>
3174 * tree-ssa-sccvn.c (visit_unary_op): Rename to ...
3175 (visit_nary_op): ... this.
3176 (visit_binary_op): Remove.
3177 (visit_use): Adjust and handle GIMPLE_TERNARY_RHS.
3179 2010-11-16 Richard Guenther <rguenther@suse.de>
3182 * tree-eh.c (cleanup_empty_eh_unsplit): Avoid creating duplicate edges.
3184 2010-11-16 Nick Clifton <nickc@redhat.com>
3186 * config/rx/rx.c (rx_is_ms_bitfield_layout): Return false if the
3189 2010-11-15 Richard Henderson <rth@redhat.com>
3191 * fold-const.c (operand_equal_for_comparison_p): Handle FMA_EXPR,
3192 WIDEN_MULT_PLUS_EXPR, WIDEN_MULT_MINUS_EXPR, VEC_COND_EXPR and
3195 2010-11-15 Richard Henderson <rth@redhat.com>
3197 * config/mn10300/mn10300.md (fmasf4, fmssf4, fnmasf4, fnmssf4): Rename
3198 from fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4 respectively. Use
3201 2010-11-15 Richard Henderson <rth@redhat.com>
3203 * config/frv/frv.md (fmasf4, fmssf4): Rename from *muladdsf4
3204 and *mulsubsf4 respectively. Use fma rtx_code.
3206 2010-11-15 Joseph Myers <joseph@codesourcery.com>
3208 * gcc.c: Include "vec.h".
3209 (argbuf): Make into a VEC.
3210 (argbuf_length, argbuf_index): Remove.
3211 (alloc_args, clear_args, store_arg, execute, insert_wrapper,
3212 do_spec, do_self_spec, do_spec_1, eval_spec_function, main,
3213 compare_debug_dump_opt_spec_function: Use VEC interfaces on argbuf.
3214 * Makefile.in (GCC_OBJS): Add vec.o and ggc-none.o.
3215 (gcc.o): Depend on $(VEC_H).
3217 2010-11-15 Richard Henderson <rth@redhat.com>
3219 * loop-unroll.c (analyze_insn_to_expand_var): Accept accumulation
3220 via FMA if unsafe math.
3221 (insert_var_expansion_initialization): Handle FMA.
3222 (combine_var_copies_in_loop_exit): Likewise.
3224 2010-11-15 Richard Henderson <rth@redhat.com>
3226 * config.gcc [ia64-*] (extra_options): Add fused-madd.opt.
3227 * config/ia64/ia64.opt: Remove mfused-madd.
3228 * config/ia64/ia64.c (ia64_rtx_costs): Handle FP MULT, PLUS, FMA.
3229 * config/ia64/vms.h (TARGET_DEFAULT): Remove MASK_FUSED_MADD.
3230 * config/ia64/vms64.h (TARGET_DEFAULT): Likewise.
3231 * config/ia64/ia64.h (TARGET_DEFAULT): Likewise.
3232 * config/ia64/hpux.h (TARGET_DEFAULT): Likewise.
3233 * config/ia64/vect.md (addv2sf3, subv2sf3): Generate FMA.
3234 (*addv2sf3_1, *addv2sf3_2, *subv2sf3_1, *subv2sf3_2): Remove.
3235 (fmav2sf4): Rename from fpma; use FMA code.
3236 (fmsv2sf4): Rename from fpms; use FMA code.
3237 (fnmav2sf4): Rename from *fpnma; use FMA code.
3238 * config/ia64/ia64.md (MODE_SDF): New iterator.
3239 (suffix): New mode attribute.
3240 (*maddsf4, *msubsf4, *nmaddsf4): Remove.
3241 (fmssf4): Rename from *fmssf4.
3242 (fnmasf4): Rename from *nfmasf4.
3243 (*madddf4, *madddf4_trunc, *msubdf4, *msubdf4_trunc): Remove.
3244 (*nmadddf4, *nmadddf4_truncsf): Remove.
3245 (fmsdf4): Rename from *fmsdf4.
3246 (fnmadf4): Rename from *nfmadf4.
3247 (*fmadf_trunc_sf, *fmsdf_trunc_sf, *fnmadf_trunc_sf): New.
3248 (*maddxf4, *maddxf4_truncsf, *maddxf4_truncdf): Remove.
3249 (*msubxf4, *msubxf4_truncsf, *msubxf4_truncdf): Remove.
3250 (*nmaddxf4, *nmaddxf4_truncsf, *nmaddxf4_truncdf): Remove.
3251 (fmsxf4): Rename from *fmsxf4.
3252 (fnmaxf4): Rename from *nfmaxf4.
3253 (*fmaxf_trunc_<MODE_SDF>, *fmsxf_trunc_<MODE_SDF>): New.
3254 (*fnmaxf_trunc_<MODE_SDF>): New.
3256 2010-11-15 Jakub Jelinek <jakub@redhat.com>
3258 PR tree-optimization/46461
3259 * tree-ssa-forwprop.c (simplify_builtin_call): Ensure ptr1 is
3262 2010-11-15 Ian Lance Taylor <iant@google.com>
3264 * godump.c: New file.
3265 * common.opt (fdump-go-spec=): New option.
3266 * tree.h: Add comments for TYPE_SYMTAB_ADDRESS and friends.
3267 (TYPE_SYMTAB_IS_ADDRESS, TYPE_SYMTAB_IS_POINTER): Define.
3268 (TYPE_SYMTAB_IS_DIE): Define.
3269 (struct tree_type): Change GTY for symtab field to use
3270 TYPE_SYMTAB_IS_ADDRESS and friends and to use a debug_hooks field
3271 to pick the union field.
3272 * debug.h (struct gcc_debug_hooks): Add tree_type_symtab_field.
3273 (dump_go_spec_init): Declare.
3274 * toplev.c (process_options): Handle flag_dump_go_spec.
3275 * debug.c: Include "tree.h".
3276 (do_nothing_debug_hooks): Set tree_type_symtab_field.
3277 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
3278 * dbxout.c (dbx_debug_hooks): Likewise.
3279 (xcoff_debug_hooks): Likewise.
3280 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
3281 * sdbout.c (sdb_debug_hooks): Likewise. Do not define if
3282 SDB_DEBUGGING_INFO is not defined.
3283 * doc/invoke.texi (Option Summary): Mention -fdump-go-spec.
3284 (Overall Options): Document -fdump-go-spec.
3285 * Makefile.in (OBJS-common): Add godump.o.
3286 (debug.o): Add dependency on $(TREE_H).
3287 (godump.o): New target.
3288 (GTFILES): Add $(srcdir)/godump.c.
3290 2010-11-15 Jakub Jelinek <jakub@redhat.com>
3293 * config/i386/i386.c (pro_epilogue_adjust_stack): Instead of
3294 marking r11 set RTX_FRAME_RELATED_P if offset is too large for
3295 style < 0, add REG_FRAME_RELATED_EXPR.
3298 * rtl.h (vt_equate_reg_base_value): New prototype.
3299 * alias.c (vt_equate_reg_base_value): New function.
3300 * var-tracking.c (vt_init_cfa_base): Use it.
3302 2010-11-15 Jan Hubicka <jh@suse.cz>
3303 Diego Novillo <dnovillo@google.com>
3306 * doc/lto.texi: Add.
3307 * doc/gccint.texi: Add reference to lto.texi.
3308 * doc/invoke.texi: Update user documentation for LTO.
3309 Move internal flags to lto.texi
3311 2010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
3313 * c-typeck.c (build_unary_op): Use
3314 objc_build_incr_expr_for_property_ref to build the pre/post
3315 increment/decrement of an Objective-C property ref, and skip the
3316 lvalue_or_else check in that case.
3318 2010-11-15 Martin Jambor <mjambor@suse.cz>
3320 PR tree-optimization/46349
3321 * tree-sra.c (contains_bitfld_comp_ref_p): New function.
3322 (contains_vce_or_bfcref_p): Likewise.
3323 (sra_modify_assign): Use them.
3325 2010-11-15 Richard Guenther <rguenther@suse.de>
3327 PR tree-optimization/46467
3328 * tree-ssa-structalias.c (do_structure_copy): Properly treat
3329 variables without subvars.
3331 2010-11-15 Hariharan Sandanagobalane <hariharan@picochip.com>
3333 * config/picochip/picochip.c (file header): Picochip name change.
3334 * config/picochip/picochip.md (file header): Likewise.
3335 * config/picochip/predicates.md (file header): Likewise.
3336 * config/picochip/dfa_space.md (file header): Likewise.
3337 * config/picochip/dfa_speed.md (file header): Likewise.
3338 * config/picochip/picochip.h(file header): Likewise.
3339 * config/picochip/constraints.md (file header): Likewise.
3340 * config/picochip/picochip-protos.h (file header): Likewise.
3341 * config/picochip/libgccExtras/setjmp.asm (file header): Likewise.
3342 * config/picochip/libgccExtras/divmodsi4.asm (file header): Likewise.
3343 * config/picochip/libgccExtras/ashlsi3.asm (file header): Likewise.
3344 * config/picochip/libgccExtras/longjmp.asm (file header): Likewise.
3345 * config/picochip/libgccExtras/ashlsi3.c (file header): Likewise.
3346 * config/picochip/libgccExtras/popcounthi2.asm (file header): Likewise.
3347 * config/picochip/libgccExtras/parityhi2.asm (file header): Likewise.
3348 * config/picochip/libgccExtras/udivmodhi4.asm (file header): Likewise.
3349 * config/picochip/libgccExtras/ashrsi3.asm (file header): Likewise.
3350 * config/picochip/libgccExtras/ashrsi3.c (file header): Likewise.
3351 * config/picochip/libgccExtras/ucmpsi2.asm (file header): Likewise.
3352 * config/picochip/libgccExtras/divmodhi4.asm (file header): Likewise.
3353 * config/picochip/libgccExtras/lshrsi3.asm (file header): Likewise.
3354 * config/picochip/libgccExtras/subdi3.asm (file header): Likewise.
3356 2010-11-15 Richard Guenther <rguenther@suse.de>
3359 * tree-ssa-math-opts.c (convert_mult_to_fma): Disregard debug stmts.
3361 2010-11-15 Nick Clifton <nickc@redhat.com>
3363 * config/stormy16/stormy16.c (direct_return): Do not generate a
3364 direct return for interrupt handlers.
3366 2010-11-15 Joern Rennecke <amylaar@spamcop.net>
3368 * Makefile.in (tm.texi): Replace with rule for:
3369 ($(srcdir)/doc/tm.texi).
3370 (s-tm-texi): Depend on $(srcdir)/doc/../doc/tm.texi instead of on
3371 $(srcdir)/doc/tm.texi .
3372 (TEXI_GCCINT_FILES): Depend on $(srcdir)/doc/tm.texi instead of on
3376 * config/m32r/m32r.c: Remove unused variables frame_size and insn.
3379 * config/arm/arm.c (locate_neon_builtin_icode): Initialize key.
3380 (arm_output_asm_insn) Add ATTRIBUTE_PRINTF_4.
3383 * config/v850/v850.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Delete.
3385 2010-11-15 Richard Guenther <rguenther@suse.de>
3388 * lto-opts.c (lto_write_options): Write -fexceptions even if
3389 not set by the user.
3391 2010-11-13 Paolo Bonzini <bonzini@gnu.org>
3394 * c-decl.c (declspecs_add_type): Make variables with error types
3396 * c-parser.c (c_parser_next_tokens_start_declaration): Two IDs
3397 do not start a declaration before an Objective-C foreach.
3398 (c_parser_declaration_or_fndef): Improve recovery after unknown
3400 (c_parser_for_statement): Hoist entrance of "foreach context"
3401 before ifs, add corresponding reset where it was missing. &