1 2006-09-19 Steve Ellcey <sje@cup.hp.com>
4 * config/ia64/ia64.c (ia64_legitimate_constant_p): Allow function
5 pointers as legitimate constants.
7 2006-09-19 Paul Brook <paul@codesourcery.com>
10 * config/arm/arm.c (arm_unwind_emit_set): Handle reg = sp + const.
12 2006-09-17 Zdenek Dvorak <dvorakz@suse.cz>
14 PR tree-optimization/28887
15 * tree-ssa-loop-prefetch.c (analyze_ref): Strip nonaddressable
16 component parts from the reference.
17 (gather_memory_references_ref): Record the reference without the
18 nonaddressable component parts.
20 2006-09-17 Steven Bosscher <steven@gcc.gnu.org>
23 * c-opts.c (c_common_handle_option): Ignore the -std options
24 if the input language is assembly.
26 2006-09-17 Ira Rosen <irar@il.ibm.com>
29 * tree-data-ref.c (ptr_decl_may_alias_p): Look for the name memory
31 (ptr_ptr_may_alias_p): Likewise.
32 (record_record_differ_p): New function.
33 (base_object_differ_p): Call record_record_differ_p.
35 2006-09-16 Andrew Pinski <pinskia@physics.uc.edu>
38 * tree-ssa-propagate.c (set_rhs): Reject MODIFY_EXPR right
39 away for the expr argument.
41 2006-09-16 Steven Bosscher <steven@gcc.gnu.org>
44 * tree-vectorizer.c (vectorize_loops): Clear vect_loop_location
45 before using it for dumping after vectorizing loops.
47 2006-09-16 Andrew Pinski <pinskia@physics.uc.edu>
48 Jack Howarth <howarth@bromo.med.uc.edu>
51 * config/rs6000/rs6000.c (rs6000_darwin64_record_arg_advance_recurse)
52 skip on error_mark_node.
53 (rs6000_darwin64_record_arg_recurse): Likewise.
55 2006-09-16 Steven Bosscher <steven@gcc.gnu.org>
57 * rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
58 * doc/rtl.texi: Remove related documentation.
60 2006-09-16 Bernd Schmidt <bernd.schmidt@analog.com>
62 * loop-doloop.c (doloop_optimize): Remove bogus arg from debugging
65 2006-09-15 Jim Wilson <wilson@specifix.com>
67 * config/ia64/ia64.c (ia64_legitimate_constant_p, cast CONST):
68 Handle symbol offsets same as they are handled in ia64_expand_move
71 2006-09-16 Andreas Tobler <a.tobler@schweiz.org>
73 * loop-doloop.c (doloop_optimize): Change type of max_cost to int.
74 Add forgotten parameter to the fprintf call.
76 2006-09-15 Steve Ellcey <sje@cup.hp.com>
78 * config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Add define.
80 2006-09-15 Uros Bizjak <uros@kss-loka.si>
82 * doc/contrib.texi: Add my entry.
84 2006-09-15 Nick Clifton <nickc@redhat.com>
86 * doc/md.texi (Processor pipeline description): Fix typo in
87 example of how to use the absence_set directive and reword the
88 description to make it slightly easier to read.
90 2006-09-15 Bernd Schmidt <bernd.schmidt@analog.com>
92 * params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
93 * loop-doloop.c (doloop_optimize): Use it to limit costs of
94 expanding the number of iterations.
95 * config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.
97 * cfgrtl.c (emit_insn_at_entry): New function.
98 * rtl.h (emit_insn_at_entry): Declare it.
99 * integrate.c (emit_initial_value_sets): Use it.
101 * cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
103 * config/bfin/bfin.c (struct loop_info): New members block_bitmap and
105 (struct loop_work and related VEC declarations): Delete.
106 (bfin_dump_loops): Print out new member bad.
107 (bfin_bb_in_loop): Use plain bitmap test. Don't recurse.
108 (bfin_scan_loop): Don't recurse.
109 (bfin_optimize_loop): Don't use a loop depth of -1 to indicate bad
110 loops. No longer need to update outer loops if the current one is
111 found bad. Move some validitiy checks to bfin_discover_loop.
112 (bfin_discover_loop): New function, mostly split from bfin_reorg_loops,
113 but changed not to check for nesting. Also changed to use the new bad
115 (bfin_reorg_loops): Use bfin_discover_loop to find single loops one at a
116 time. Use bitmap based test to discover loop nesting.
118 2006-09-15 Kazu Hirata <kazu@codesourcery.com>
120 * doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in
123 2006-09-14 Richard Guenther <rguenther@suse.de>
124 Kazu Hirata <kazu@codesourcery.com>
127 * doc/tm.texi (TARGET_FUNCTION_VALUE): Document.
128 (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE): Deprecate.
129 Replace mentions of FUNCTION_VALUE and FUNCTION_OUTGOING_VALUE
130 with TARGET_FUNCTION_VALUE.
132 2006-09-14 Anatoly Sokolov <aesok@post.ru>
135 * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.
137 2006-09-13 Aldy Hernandez <aldyh@redhat.com>
139 * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand
142 2006-09-13 Andrew Pinski <pinskia@physics.uc.edu>
145 * dwarf2out.c (loc_descriptor_from_tree_1): Handle
148 2006-09-13 Andreas Krebbel <krebbel1@de.ibm.com>
150 * basic_block.h (bb_has_eh_pred): Fix comment.
152 2006-09-13 Andreas Krebbel <krebbel1@de.ibm.com>
154 * flow.c (calculate_global_regs_live): Invalidate eh registers
155 on eh edges. Renamed invalidated_by_call to invalidated_by_eh_edge.
156 (propagate_block): Handle eh registers as if they were set at basic
158 * except.c (dw2_build_landing_pads): Don't emit clobbers for eh
160 * global.c (global_conflicts): Make eh registers to conflict with
161 pseudos live at basic block begin.
162 * basic_block.h (bb_has_eh_pred): New function.
164 2006-09-13 Richard Sandiford <richard@codesourcery.com>
166 PR rtl-optimization/28982
167 * reload.c (find_reloads_address_1): Use RELOAD_OTHER for the
168 index of a PRE_MODIFY or POST_MODIFY address.
169 * reload1.c (inc_for_reload): Use find_replacement on the original
170 base and index registers.
172 2006-09-12 H.J. Lu <hongjiu.lu@intel.com>
174 * doc/invoke.texi (mpreferred-stack-boundary): Remove exception
175 for -Os. Update __m128 alignment requirement.
177 2006-09-13 Jan Hubicka <jh@suse.cz>
179 * cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.
181 2006-09-12 Eric Botcazou <ebotcazou@libertysurf.fr>
183 PR rtl-optimization/28243
184 * combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
185 the insn to which the note was originally attached.
187 2006-09-12 Andrew Pinski <pinskia@physics.uc.edu>
188 Roger Sayle <roger@eyesopen.com>
190 * dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
191 outside of #ifdef DWARF2_DEBUGGING_INFO to fix bootstrap failure
192 on platforms that don't use dwarf for debug info.
194 2006-09-12 Jason Merrill <jason@redhat.com>
197 * builtins.c (expand_builtin_setjmp_receiver): Clobber
198 hard_frame_pointer_rtx after using it to update the frame pointer.
200 2006-09-12 Roger Sayle <roger@eyesopen.com>
202 * target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.
203 (TARGET_ASM_CLOSE_PAREN): Likewise.
204 * config/alpha/osf5.h (TARGET_ASM_OPEN_PAREN): Define.
205 (TARGET_ASM_CLOSE_PAREN): Likewise.
207 2006-09-12 Roger Sayle <roger@eyesopen.com>
210 * config/alpha/alpha.c (alpha_start_function): Don't emit stack
211 frame information for frames larger than 512 Kbytes on Tru64 when
212 using the native assembler.
214 2006-09-12 Roger Sayle <roger@eyesopen.com>
218 * cselib.c (cselib_hash_rtx): Avoid hashing on the address of labels
219 and symbols. Instead use the implementation from cse.c's hash_rtx.
221 2006-09-12 Jan Hubicka <jh@suse.cz>
223 PR rtl-optimization/28071
224 * tree-vect-transform.c (vect_create_data_ref_ptr): Kill cast.
225 (vect_transform_loop): Likewise.
226 * tree-vectorizer.c (new_loop_vec_info): Likewise.
227 (new_loop_vec_info): Likewise.
228 (destroy_loop_vec_info): Likewise.
229 * tree-dfa.c (create_var_ann): Use GCC_CNEW.
230 (create_stmt_ann): Likewise.
231 (create_tree_ann): Rename to ...
232 (create_tree_common_ann): ... this one; allocate only the common part
234 * tree-vn.c (set_value_handle): Use get_tree_common_ann.
235 (get_value_handle): Likewise.
236 * tree-ssa-pre.c (phi_translate): Delay annotation allocation for
238 * tree-vectorizer.h (set_stmt_info): Take stmt annotation.
239 (vinfo_for_stmt): Use stmt annotations.
240 * tree-flow.h (tree_ann_common_t): New type.
241 (tree_common_ann, get_tree_common_ann, create_tree_common_ann): New.
242 (tree_ann, get_tree_ann, create_tree_ann): New.
243 * tree-flow-inline.h (get_function_ann): Do more type checking.
244 (stmt_ann): Likewise.
245 (tree_ann): Rename to ...
246 (tree_common_ann): ... this one; return ony common_ann
247 (get_tree_ann): Rename to ...
248 (tree_common_ann): This one; return only common_ann.
249 * tree-vect-patterns.c (vect_pattern_recog_1): Update call
252 2006-09-11 Geoffrey Keating <geoffk@apple.com>
254 * config.gcc (i[34567]86-*-darwin*): Set with_arch and
257 * dwarf2out.c (dwarf_file_data): New.
258 (enum dw_val_class): Add dw_val_class_file.
259 (struct dw_val_struct): Add val_file.
260 (file_table): Change to a hash table.
261 (file_table_emitted): Delete.
262 (file_table_last_lookup_index): Delete.
264 (last_emitted_file): New.
265 (lookup_filename): Change prototype to return a struct dwarf_file_data.
266 (init_file_table): Delete.
267 (maybe_emit_file): Change prototype to take a struct dwarf_file_data.
268 (AT_addr): Add comment.
272 (print_die): Handle dw_val_class_file.
273 (print_dwarf_line_table): Update for new file table structure.
274 (attr_checksum): Do checksum a filename.
275 (same_dw_val_p, same_attr_p): Do compare a filename.
276 (size_of_die): Handle dw_val_class_file.
277 (value_format): Likewise.
278 (output_die): Likewise. Also, call maybe_emit_file here.
279 (struct file_info): Constify filenames. Make file_idx a pointer
280 to a struct dwarf_file_data.
281 (struct dir_info): Constify directory names. Remove 'used' field.
282 (struct file_name_acquire_data): New.
283 (file_name_acquire): New.
284 (output_file_names): Modify to handle new file data structures.
285 (add_src_coords_attributes): Use add_AT_file.
286 (add_call_src_coords_attributes): Likewise.
287 (dwarf2out_imported_module_or_decl): Likewise.
288 (gen_subprogram_die): Modify for new file data structures.
289 (gen_variable_die): Likewise.
290 (file_table_eq): New.
291 (file_table_hash): New.
292 (file_table_last_lookup): New.
293 (lookup_filename): Rewrite to handle new file data structures.
294 (maybe_emit_file): Rewrite to handle new file data structures.
295 (dwarf2out_source_line): Always call lookup_filename and
297 (dwarf2out_init): Create file_table here.
298 (prune_unused_types_walk_attribs): Don't call maybe_emit_file here.
299 (file_table_relative_p): New.
300 (dwarf2out_finish): Change detection of relative filenames
301 to work with new file data structures. Move output_line_info call
302 after debug_info output.
304 2006-09-11 H.J. Lu <hongjiu.lu@intel.com>
309 * config/i386/i386.c (override_options): Always default to 16
312 2006-09-11 Alexandre Oliva <aoliva@redhat.com>
315 * var-tracking.c (dump_dataflow_set): Start dumping at
317 (clobber_variable_part): Kill only the variable part in
318 registers holding it, leaving other variables alone.
320 2006-09-11 Josh Triplett <josh@freedesktop.org>
322 * doc/extend.texi (Other Builtins): Actually use the macro
323 argument in the documentation example for
324 __builtin_types_compatible_p.
326 2006-09-11 Eric Botcazou <ebotcazou@libertysurf.fr>
328 PR rtl-optimization/28726
329 * sched-deps.c (sched_analyze_reg): New function extracted from...
330 (sched_analyze_1): ...here. Call it to analyze references to
331 registers. Treat again writes to a stack register as writing to the
333 (sched_analyze_2): ...and here. Call it to analyze references to
334 registers. Treat again reads of a stack register as reading the
337 2006-09-11 Guenter Roeck <guenter@roeck-us.net>
338 David Edelsohn <edelsohn@gnu.org>
341 * config/rs6000/spe.md (frob_df_di): Remove %H.
342 (frob_di_df): Remove %H. Change evmergelo to mr.
343 (frob_di_df_2): Remove %H. Change evldd to two loads.
345 2006-09-11 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>
347 * doc/cpp.texi: Fix names of charset options.
349 2006-09-10 Andrew Pinski <pinskia@physics.uc.edu>
352 * config/i386/i386.c (override_options): Use 128-bit
353 stack boundary always for 64bits.
355 2006-09-10 Eric Botcazou <ebotcazou@libertysurf.fr>
357 PR rtl-optimization/28636
358 * combine.c (force_to_mode): Test for side-effects before
359 substituting by zero.
360 (simplify_shift_const): Likewise for zero or other constants.
362 2006-09-10 Steven Bosscher <steven@gcc.gnu.org>
365 * builtins.c (expand_builtin_setjmp): Force next_lab to be
368 2006-09-10 Richard Sandiford <richard@codesourcery.com>
371 * config/mips/mips-protos.h (mips_mem_fits_mode_p): Declare.
372 * config/mips/mips.c (mips_expand_unaligned_store): Use the mode
373 returned by mode_for_size, rather than the mode of src itself,
374 to choose between 32-bit and 64-bit patterns.
375 (mips_mem_fits_mode_p): New function.
376 * config/mips/mips.md (mov_<load>l, mov_<load>r): Use it to check
377 that the size of the source matches the size of the destination.
378 (mov_<store>l, mov_<store>r): Likewise.
380 2006-09-10 Eric Christopher <echristo@apple.com>
382 * config/darwin.c (machopic_select_rtx_section): Add CONST_VECTOR
385 2006-09-09 Eric Christopher <echristo@apple.com>
388 * config/darwin.c (machopic_select_rtx_section): Add TARGET_64BIT
391 2006-09-09 Roger Sayle <roger@eyesopen.com>
392 Nicolas Setton <setton@adacore.com>
394 * dwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.
396 2006-09-10 Andreas Schwab <schwab@suse.de>
398 * config/m68k/m68k.md (bungt_rev): New pattern.
400 2006-09-09 Paolo Bonzini <bonzini@gnu.org>
401 Dale Johannesen <dalej@apple.com>
404 * regclass.c (struct reg_pref): Update documentation.
405 (regclass): Set prefclass to NO_REGS if memory is the best option.
406 (record_reg_classes): Cope with a prefclass set to NO_REGS.
408 2006-09-08 Eric Christopher <echristo@apple.com>
410 * config.gcc (i?86-*-darwin): Add 64-bit HWI support.
411 * config/t-slibgcc-darwin: Support x86_64 multilib.
412 * config/i386/i386.h (JUMP_TABLES_IN_TEXT_SECTION):
413 Return 1 for x86_64-darwin.
414 * config/i386/t-darwin: Add m64 multilib.
415 (LIB2_SIDITI_CONV_FUNCS): Use.
416 (LIB2FUNCS_EXTRA): Ditto.
417 * config/i386/darwin.h: Support x86_64.
418 * config/i386/i386.c (override_options): Turn on flag_pic
419 for x86_64-darwin. Disable flag_omit_pointer.
420 (get_pc_thunk_name): Assert !TARGET_64BIT.
421 (legitimate_address_p): Disable machopic addressing for
423 (legitimize_pic_address): Ditto.
424 (ix86_expand_move): Ditto.
425 (ix86_expand_call): Ditto.
426 (machopic_output_stub): Ditto.
427 * config/darwin.c (machopic_select_section): Support literal16.
428 (machopic_select_rtx_section): Ditto.
429 * config/darwin-sections.def: Ditto.
430 * config/darwin-64.c: New.
432 2006-09-08 Joseph S. Myers <joseph@codesourcery.com>
435 * c-tree.h (struct c_arg_info): Add pending_sizes.
436 * c-parser.c (c_parser_parms_declarator,
437 c_parser_parms_list_declarator): Initialize pending_sizes.
438 * c-decl.c (get_parm_info): Initialize pending_sizes.
439 (get_parm_info): Set pending_sizes.
440 (grokdeclarator): Call put_pending_sizes for parameters for
441 function definition only.
443 2006-09-07 Jason Merrill <jason@redhat.com>
446 * varasm.c (output_constant): Only strip actual no-op conversions.
449 * config/i386/i386.c (override_options): Use 128-bit
450 stack boundary if -msse.
452 2006-09-07 Eric Christopher <echristo@apple.com>
454 * config/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Update
456 * config/i386/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE):
459 2006-09-07 Geoffrey Keating <geoffk@apple.com>
461 * dwarf2out.c: Remove strange characters from comment above
462 dwarf2out_frame_debug_expr.
464 2006-09-07 Eric Christopher <echristo@apple.com>
466 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Move from here...
467 * config/darwin.h: ... to here.
469 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
471 * config/i386/i386.c (x86_partial_flag_reg_stall): New.
473 * config/i386/i386.h (x86_partial_flag_reg_stall): New.
474 (TARGET_PARTIAL_FLAG_REG_STALL): New.
476 * config/i386/i386.md (*ashldi3_cmp_rex64): Disabled for
477 TARGET_PARTIAL_FLAG_REG_STALL.
478 (*ashldi3_cconly_rex64): Likewise.
479 (*ashlsi3_cmp): Likewise.
480 (*ashlsi3_cconly): Likewise.
481 (*ashlsi3_cmp_zext): Likewise.
482 (*ashlhi3_cmp): Likewise.
483 (*ashlhi3_cconly): Likewise.
484 (*ashlqi3_cmp): Likewise.
485 (*ashlqi3_cconly): Likewise.
486 (*ashrdi3_cmp_rex64): Likewise.
487 (*ashrdi3_cconly_rex64): Likewise.
488 (*ashrsi3_cmp): Likewise.
489 (*ashrsi3_cconly): Likewise.
490 (*ashrsi3_cmp_zext): Likewise.
491 (*ashrhi3_cmp): Likewise.
492 (*ashrhi3_cconly): Likewise.
493 (*ashrqi3_cmp): Likewise.
494 (*ashrqi3_cconly): Likewise.
495 (*lshrdi3_cmp_rex64): Likewise.
496 (*lshrdi3_cconly_rex64): Likewise.
497 (*lshrsi3_cmp): Likewise.
498 (*lshrsi3_cconly): Likewise.
499 (*lshrsi3_cmp_zext): Likewise.
500 (*lshrhi3_cmp): Likewise.
501 (*lshrhi3_cconly): Likewise.
502 (*lshrqi2_cmp): Likewise.
503 (*lshrqi2_cconly): Likewise.
505 2006-09-07 Uros Bizjak <uros@kss-loka.si>
508 * config/i386/i386.md ("*ashldi3_cconly_rex64", "*ashlsi3_cconly",
509 "*ashlhi3_cconly", "*ashlqi3_cconly", "*ashrdi3_one_bit_cconly_rex64",
510 "*ashrdi3_cconly_rex64", "*ashrsi3_one_bit_cconly", "*ashrsi3_cconly",
511 "*ashrhi3_one_bit_cconly", "*ashrhi3_cconly",
512 "*ashrqi3_one_bit_cconly", "*ashrqi3_cconly",
513 "*lshrdi3_cconly_one_bit_rex64", "*lshrdi3_cconly_rex64",
514 "*lshrsi3_one_bit_cconly", "*lshrsi3_cconly",
515 "*lshrhi3_one_bit_cconly", "*lshrhi3_cconly",
516 "*lshrqi2_one_bit_cconly", "*lshrqi2_cconly": New patterns to
517 implement only CC setting effects of shift instructions.
519 2006-09-07 Martin Michlmayr <tbm@cyrius.com>
521 * doc/contrib.texi: Add myself.
523 2006-09-07 Andrew Pinski <pinskia@physics.uc.edu>
526 * stor-layout.c (relayout_decl): Don't zero the alignment if it
529 2006-09-07 Paolo Bonzini <bonzini@gnu.org>
532 * config/sh/sh.md (divsi_inv_qitable, divsi_inv_hitable): New patterns.
533 (divsi_inv_m1): Use them.
534 (UNSPEC_DIV_INV_TABLE): New constant.
536 2006-09-06 James E Wilson <wilson@specifix.com>
539 * flow.c (update_life_info): If UPDATE_LIFE_LOCAL and PROP_DEATH_NOTES
540 then call count_or_remove_death_notes.
542 2006-09-06 Jason Merrill <jason@redhat.com>
545 * tree-inline.c (copy_result_decl_to_var): New fn.
546 (declare_return_variable): Use it. Call declare_inline_vars here.
547 (expand_call_inline): Not here.
549 2006-09-06 Diego Novillo <dnovillo@redhat.com>
551 * doc/contrib.texi: Update my entry.
553 2006-09-06 Nick Clifton <nickc@redhat.com>
555 * config/frv/frv.h (EXTRA_MEMORY_CONSTRAINT): Define.
557 2006-09-05 Andrew Pinski <pinskia@physics.uc.edu>
560 * tree-flow.h (tree_ssa_unswitch_loops): Return unsigned int.
561 (canonicalize_induction_variables): Likewise.
562 (tree_unroll_loops_completely): Likewise.
563 (tree_ssa_prefetch_arrays): Likewise.
564 (remove_empty_loops): Likewise.
565 * tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops): Return
566 TODO_cleanup_cfg instead of directly calling
567 cleanup_tree_cfg_loop.
568 * tree-ssa-loop-ivcanon.c (canonicalize_induction_variables):
570 (tree_unroll_loops_completely): Likewise.
571 (remove_empty_loops): Likewise.
572 * tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Likewise.
573 * tree-ssa-loop.c (tree_ssa_loop_unswitch): Use the return value
574 of tree_ssa_unswitch_loops.
575 (tree_ssa_loop_ivcanon): Use the return value of
576 canonicalize_induction_variables.
577 (tree_ssa_empty_loop): Use the return value of
579 (tree_complete_unroll): Use the return value of
580 tree_unroll_loops_completely.
581 (tree_ssa_loop_prefetch): Use the return value of
582 tree_ssa_prefetch_arrays.
583 * passes.c (execute_todo): Before Cleanup CFG, set
584 updating_used_alone and after cleanup CFG, call
585 recalculate_used_alone.
587 2006-09-05 Andrew Pinski <pinskia@physics.uc.edu>
590 * tree-vect-transform.c (vectorizable_condition): Move the check
591 for the type after the check for simple condition.
593 2006-09-05 J"orn Rennecke <joern.rennecke@st.com>
594 Kaz Kojima <kkojima@gcc.gnu.org>
597 * mode-switching.c (optimize_mode_switching): Make the destination
598 block of an abnormal edge have no anticipatable mode. Don't
599 insert mode switching code at the end of the source block of
602 2006-09-05 Paolo Bonzini <bonzini@gnu.org>
604 PR rtl-optimization/26847
605 * simplify-rtx.c (struct simplify_plus_minus_op_data): Remove ix.
606 (simplify_plus_minus_op_data_cmp): For REGs, break ties on the regno.
607 (simplify_plus_minus): Count n_constants while filling ops. Replace
608 qsort with insertion sort. Before going through the array to simplify
609 pairs, sort it. Delay early exit until after the first sort, exiting
610 only if no swaps occurred. Simplify pairs in reversed order, without
611 special-casing the first iteration. Pack ops after simplifying pairs.
613 2006-09-05 Anatoly Sokolov <aesok@post.ru>
615 * config/avr/avr.c (avr_mcu_types): Add support for at90pwm1 device.
616 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
617 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
618 (avr_rtx_costs): Mark 'outer_code' argument with ATTRIBUTE_UNUSED.
620 2006-09-05 Richard Guenther <rguenther@suse.de>
622 PR tree-optimization/28900
623 * tree-if-conv.c (find_phi_replacement_condition): Gimplify
624 compound conditional before creating COND_EXPR condition.
626 2006-09-05 Richard Guenther <rguenther@suse.de>
628 PR tree-optimization/28905
629 * tree-vrp.c (fix_equivalence_set): Manually implement
630 !value_ranges_intersect_p to also handle symbolic ranges.
632 2006-09-05 Richard Guenther <rguenther@suse.de>
635 * tree-ssa-ccp.c (fold_stmt_r): Make sure to fold the condition
638 2006-09-04 Eric Botcazou <ebotcazou@libertysurf.fr>
640 PR rtl-optimization/27616
641 * cse.c (table_size): New static variable.
642 (new_basic_block): Initialize it to 0.
643 (remove_from_table): Decrement it.
644 (insert): Increment it.
645 (fold_rtx_mem_1): New function, renamed from fold_rtx_mem.
646 (fold_rtx_mem): Enforce a cap on the recursion depth. Call
647 fold_rtx_mem_1 if under the cap.
648 (fold_rtx) <RTX_COMM_ARITH>: In the associative case, delay a little
649 the lookup of the equivalent expression and test for equality of the
650 first operand of the equivalent expression before in turn looking up
651 an equivalent constant for the second operand.
653 2006-09-02 Geoffrey Keating <geoffk@apple.com>
656 2006-03-17 Alexandre Oliva <aoliva@redhat.com>
657 * dwarf2out.c (dwarf2out_stack_adjust): Always track the stack
658 pointer, instead of assuming it is possible to derive the
659 correct args size from a call insn.
661 2006-09-02 Jakub Jelinek <jakub@redhat.com>
664 * builtins.c (fold_builtin_memcpy, fold_builtin_memmove): Remove.
665 (fold_builtin_mempcpy): Rename to...
666 (fold_builtin_memory_op): ... this. Optimize one element copy
668 (fold_builtin_memset, fold_builtin_bzero, fold_builtin_bcopy): New
670 (expand_builtin_strcpy, expand_builtin_strncpy): Handle COMPOUND_EXPR.
671 (expand_builtin_memcpy, expand_builtin_mempcpy,
672 expand_builtin_memmove): Likewise. Use fold_builtin_memory_op.
673 (fold_builtin_1): Handle BUILT_IN_MEMSET, BUILT_IN_BZERO and
674 BUILT_IN_BCOPY. Use fold_builtin_memory_op for
675 BUILT_IN_MEM{CPY,PCPY,MOVE}.
677 2006-09-01 DJ Delorie <dj@redhat.com>
679 * config/m32c/cond.md (cbranch<mode>4): Defer splitting until after reload.
681 ("stzx_24_<mode>"): Likewise.
682 ("stzx_reversed_<mode>"): Likewise, and make mode-specific.
683 ("cmp<mode>_op"): New.
684 (cmp<mode>): Change to expander; just save operands.
686 (b<code>): Change to expander, emit compare here.
687 (s<code>_op): Change to use split and expander.
688 (s<code>_24_op): Likewise.
689 (s<code>_<mode>): New.
690 (s<code>_<mode>_24): New.
691 (movqicc_<code>_<mode): New.
692 (movhicc_<code>_<mode>): New.
695 * config/m32c/m32c.c (compare_op0, compare_op1): New.
696 (m32c_pend_compare): New.
697 (m32c_unpend_compare): New.
698 (m32c_expand_scc): New.
699 (m32c_expand_movcc): Emit the compare also.
700 * config/m32c/predicates.md (mra_nopp_operand): New.
702 2006-09-01 J"orn Rennecke <joern.rennecke@st.com>
703 Richard Guenther <rguenther@suse.de>
704 Adam Nemet <anemet@caviumnetworks.com>
707 * builtins.c (get_pointer_alignment): Handle more forms
708 of base addresses that can be used to derive more precise
709 information about alignment.
711 2006-09-01 Jason Merrill <jason@redhat.com>
714 * gimplify.c (gimplify_modify_expr_rhs) [BIND_EXPR]: Handle
717 * gimplify.c (voidify_wrapper_expr): Handle null type.
719 2006-09-01 Josh Conner <jconner@apple.com>
722 * tree-nrv.c (dest_safe_for_nrv_p): New function.
723 (execute_return_slot_opt): Use it.
725 2006-08-31 Josh Conner <jconner@apple.com>
728 * tree-gimple.c (is_gimple_mem_rhs): Recognize functions
729 returning aggregates.
731 2006-08-31 Zdenek Dvorak <dvorakz@suse.cz>
733 PR tree-optimization/28839
734 * tree-into-ssa.c (prune_unused_phi_nodes): Take into account kills in
735 blocks in that phi arguments appear.
737 2006-08-31 Roger Sayle <roger@eyesopen.com>
740 * dwarf2out.c (add_fde_cfi): Use a set_loc if the current label is
741 NULL, otherwise use an advance_loc4 to adjust relative to the
743 (output_cfi) <DW_CFA_set_loc>: Update the current label.
744 (dwarf2out_switch_text_section): Reset the current label to avoid
745 using advance_loc4 over section boundaries.
747 2006-08-31 Andreas Krebbel <krebbel1@de.ibm.com>
750 * config/s390/s390.md ("movsi", "movdi" expander): Accept rtxes like
751 r12 + SYMBOLIC_CONST.
753 2006-08-30 Richard Guenther <rguenther@suse.de>
755 * Makefile.in (see.o): Add $(EXPR_H) dependency.
757 2006-08-30 Zdenek Dvorak <dvorakz@suse.cz>
759 PR rtl-optimization/27735
760 * cfgloopmanip.c (fix_loop_placements, fix_bb_placements, unloop):
761 Add new argument to keep track of whether an irreducible region
762 was affected. All callers changed.
763 (fix_irreducible_loops): Removed.
764 (remove_path): Call mark_irreducible_loops if EDGE_IRREDUCIBLE_LOOP
765 flags were invalidated.
767 2006-08-29 H.J. Lu <hongjiu.lu@intel.com>
769 * config/i386/i386.md (*fop_df_comm_mixed): Match DF operands
770 instead of SF operands.
771 (*fop_df_comm_sse): Likewise.
772 (*fop_df_comm_i387): Likewise.
773 (*fop_df_1_mixed): Likewise.
774 (*fop_df_1_sse): Likewise.
776 2006-08-29 Andrew Pinski <pinskia@physics.uc.edu>
777 J"orn Rennecke <joern.rennecke@st.com>
779 PR tree-optimization/17506
780 * tree-ssa.c (warn_uninit): If warning about a location outside of
781 the current function, note where the variable was declared.
783 2006-08-28 Zdenek Dvorak <dvorakz@suse.cz>
785 PR tree-optimization/28411
786 * double-int.c (double_int_div): Use double_int_divmod.
787 (double_int_divmod, double_int_sdivmod, double_int_udivmod,
788 double_int_mod, double_int_smod, double_int_umod): New functions.
789 * double-int.h (double_int_divmod, double_int_sdivmod,
790 double_int_udivmod, double_int_mod, double_int_smod, double_int_umod):
792 * tree-ssa-loop-ivopts.c (constant_multiple_of): Returns the result
794 (get_computation_aff, get_computation_cost_at): Handle double_int
795 return type of constant_multiple_of.
797 2006-08-28 Kazu Hirata <kazu@codesourcery.com>
800 * convert.c (convert_to_integer): Set TREE_NO_WARNING to 1 on
801 an implicit conversion.
803 2006-08-28 Prafulla Thakare <prafullat@kpitcummins.com>
805 * config/h8300/h8300.c (TARGET_DEFAULT_TARGET_FLAGS): New.
807 2006-08-27 Roger Sayle <roger@eyesopen.com>
809 * ifcvt.c (cheap_bb_rtx_cost_p): Don't speculatively execute
812 2006-08-27 Kazu Hirata <kazu@codesourcery.com>
814 * config/i386/crtfastmath.c: Fix a comment typo.
816 2006-08-26 Roger Sayle <roger@eyesopen.com>
818 * tree.h (CASE_LOW_SEEN, CASE_HIGH_SEEN): New macros for manipulating
819 temporary visit flags on CASE_LABEL_EXPRs.
820 * c-common.c (match_case_to_enum): Add function comment. Avoid
821 O(N) loop, by looking up both CASE_LOW_SEEN and CASE_HIGH_SEEN.
822 (c_do_switch_warnings): Reorganize to record CASE_LOW_SEEN and
823 CASE_HIGH_SEEN for enumerated types. If the switch expression is
824 a constant, only warn if that constant value isn't handled.
826 2006-08-26 Joseph S. Myers <joseph@codesourcery.com>
829 * input.h (restore_input_file_stack): Declare.
830 (INPUT_FILE_STACK_BITS): Define.
831 * toplev.c (fs_p, input_file_stack_history,
832 input_file_stack_restored, restore_input_file_stack): New.
833 (push_srcloc, pop_srcloc): Check for input_file_stack_tick
834 overflowing INPUT_FILE_STACK_BITS bits. Save new state of stack.
835 (pop_srcloc): Don't free old state of stack.
837 2006-08-26 David Edelsohn <edelsohn@gnu.org>
840 * doc/extend.texi (PowerPC Variable Attributes): Mention altivec.
841 (PowerPC Type Attributes): New.
843 2006-08-26 Bob Wilson <bob.wilson@acm.org>
845 * config/xtensa/xtensa.c (function_arg_boundary): New.
846 (function_arg, xtensa_gimplify_va_arg_expr): Limit alignment to
848 * config/xtensa/xtensa.h (FUNCTION_ARG_BOUNDARY): Move code to new
849 function_arg_boundary function that limits alignment to STACK_BOUNDARY.
851 2006-08-26 Jakub Jelinek <jakub@redhat.com>
854 * cfgexpand.c (add_reg_br_prob_note): Check if last has exactly
857 2006-08-25 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
859 * flow.c (verify_wide_reg): Use internal_error for consistency failure.
860 (verify_local_live_at_start): Likewise.
862 2006-08-25 Joseph S. Myers <joseph@codesourcery.com>
865 * gimplify.c (gimplify_decl_expr, gimplify_init_ctor_preeval,
866 omp_add_variable): Treat sizes as variable whenever not
869 2006-08-26 Richard Guenther <rguenther@suse.de>
872 * fold-const.c (fold_binary): Fold temporary to correct
873 type before constructing new comparison.
875 2006-08-25 Fariborz Jahanian <fjahanian@apple.com>
878 * c-gimplify.c (gimplify_compound_literal_expr): Don't add
879 variable again if DECL_SEEN_IN_BIND_EXPR_P.
881 2006-08-25 Joseph S. Myers <joseph@codesourcery.com>
884 * c-decl.c (start_function): Don't try to process prototype
885 information from old declaration that isn't a function.
887 2006-08-25 Jan Hubicka <jh@suse.cz>
890 * config/i386/crtfastmath.c (set_fast_math): Force stack alignment.
892 2006-08-25 Alan Modra <amodra@bigpond.net.au>
895 * config/rs6000/rs6000.c (print_operand): Only use e500 %y syntax
898 2006-08-25 J"orn Rennecke <joern.rennecke@st.com>
900 PR tree-optimization/16876
901 * c-typeck.c (c_convert_parm_for_inlining): Don't take early
902 exit if PARM doesn't match VALUE.
904 2006-08-25 Bob Wilson <bob.wilson@acm.org>
906 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Do not emit a
907 literal_prefix directive.
908 (XTENSA_DECLARE_FUNCTION_SIZE): Delete.
909 * config/xtensa/linux.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
910 * config/xtensa/elf.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
912 2006-08-25 David Edelsohn <edelsohn@gnu.org>
915 * config/rs6000/rs6000.md (movcc_internal1): Change operand 1
916 predicate to general_operand. Add 0->y and I->r alternatives.
918 2006-08-25 Kazu Hirata <kazu@codesourcery.com>
920 * doc/tm.texi: Fix a typo.
921 * predict.c: Fix comment typos.
923 2006-08-25 Nick Clifton <nickc@redhat.com>
925 * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add
926 assertions of "cpu" and "machine".
928 2006-08-24 Andrew Pinski <pinskia@physics.uc.edu>
931 * tree-ssa-operands.c (access_can_touch_variable): Don't say
932 the access through a base which has an alias set of 0 cannot
935 2006-08-24 Bill Wendling <wendling@apple.com>
937 * doc/tm.texi (TARGET_DEFAULT_PACK_STRUCT): Fixed English.
939 2006-08-24 Jan Hubicka <jh@suse.cz>
941 * reload1.c (emit_reload_insns): Fix yet another typo in my patch.
943 2006-08-24 Jan Hubicka <jh@suse.cz>
946 * cgraph.c: Fix comments.
947 (cgraph_varpool_mark_needed_node): Mark only variables not already
949 * cgraphunit.c: Update comments; include gt-cgraphunit.h
950 (cgraph_varpool_assembled_nodes_queue): New static variable.
951 (cgraph_varpool_assemble_decl): Record output decls for debug out code.
952 (cgraph_varpool_output_debug_info): New function.
953 (cgraph_finalize_compilation_unit, cgraph_optimize): Call it.
954 * Makefile.in: Add gt-cgraphunit.h
956 2006-08-24 Jan Hubicka <jh@suse.cz>
958 * predict.c (probability_reliable_p): New predicate.
959 (edge_probability_reliable_p, br_prob_note_reliable_p): Likewise.
960 (predict_loops): Do not predict loop exit with less than 2%
962 * basic-block.h (edge_probability_reliable_p,
963 br_prob_note_reliable_p): Declare.
964 * ia64.h (ia64_print_operand): Do not disable on-chip branch
965 prediction when static predictor is not reliable.
966 * rs6000.c (output_cbranch): Likewise.
968 2006-08-23 Stuart Hastings <stuart@apple.com>
971 * gcc/config/i386/i386.c (ix86_expand_vector_init_duplicate,
972 ix86_expand_vector_init_one_nonzero): Remove TARGET_SSE test.
974 2006-08-21 Geoffrey Keating <geoffk@apple.com>
977 * dwarf2out.c (rtl_for_decl_init): Don't try to create RTL for
978 complex values, nor for generic vector values.
980 2006-08-22 Richard Guenther <rguenther@suse.de>
983 * tree-scalar-evolution.c (fold_used_pointer): Add at_stmt
984 parameter. Convert arguments to arithmetic expression to the
986 (analyze_scalar_evolution_1): Adjust caller.
988 2006-08-22 Jan Hubicka <jh@suse.cz>
990 Patch by Paolo Bonzini
991 * reload1.c (emit_reload_insns): Fix incorrect bracketing introduced by
994 2006-08-22 Daniel Berlin <dberlin@dberlin.org>
996 PR tree-optimization/28003
997 * tree-ssa-alias.c (compute_may_aliases): Compute call clobbered
998 before grouping aliases.
1000 2006-08-22 Roger Sayle <roger@eyesopen.com>
1002 * config/i386/i386.c (ix86_value_regno): Don't return FIRST_MMX_REG
1003 if !TARGET_MMX, and don't return FIRST_SSE_REG if !TARGET_SSE.
1005 2006-08-21 Jason Merrill <jason@redhat.com>
1008 * gimplify.c (voidify_wrapper_expr): Handle STATEMENT_LIST as a
1009 wrapper. Loop to handle nested wrappers.
1010 (gimplify_bind_expr): Remove temp parameter.
1011 (gimplify_modify_expr_rhs): Handle CLEANUP_POINT_EXPR, BIND_EXPR
1012 and STATEMENT_LIST on the rhs.
1013 (gimplify_statement_list): Voidify the STATEMENT_LIST.
1014 (gimplify_expr): Pass pre_p to gimplify_statement_list.
1015 (gimplify_target_expr): Remove special BIND_EXPR handling.
1017 2006-08-21 J"orn Rennecke <joern.rennecke@st.com>
1019 * config/sh/lib1funcs-Os-4-200.asm: Guard entire file with
1022 2006-08-21 Olivier Hainque <hainque@adacore.com>
1024 * gimplify.c (gimplify_init_constructor) <RECORD,UNION,ARRAY types>:
1025 Arrange for the temporary captures of components overlapping the lhs
1026 to happen before the lhs is possibly cleared.
1028 2006-08-21 Mark Shinwell <shinwell@codesourcery.com>
1030 * config/arm/pr-support.c (__gnu_unwind_execute): Insert " + 1" in
1031 necessary places to pass the correct "number of registers" values
1034 2006-08-20 Jan Hubicka <jh@suse.cz>
1036 * tree-ssa-alias.c (eq_ptr_info, ptr_info_hash): New function.
1037 (create_name_tags): Instead of quadratic checking use hashtable.
1038 * bitmap.h: Include hashtab.h.
1039 (bitmap_hash): Declare.
1040 * bitmap.c (bitmap_hash): New function.
1042 2006-08-20 Jan Hubicka <jh@suse.cz>
1044 PR rtl-optimization/28071
1045 * tree-optimize.c (tree_rest_of_compilation): Do not remove edges
1047 * tree-inline.c (copy_bb): Use cgraph_set_call_stmt.
1048 * ipa-inline.c (cgraph_check_inline_limits): Add one_only argument.
1049 (cgraph_decide_inlining, cgraph_decide_inlining_of_small_function,
1050 cgraph_decide_inlining_incrementally): Update use of
1051 cgraph_check_inline_limits.
1052 * cgraph.c (edge_hash, edge_eq): New function.
1053 (cgraph_edge, cgraph_set_call_stmt, cgraph_create_edge,
1054 cgraph_edge_remove_caller, cgraph_node_remove_callees,
1055 cgraph_remove_node): Maintain call site hash.
1056 * cgraph.h (struct cgraph_node): Add call_site_hash.
1057 (cgraph_set_call_stmt): New function.
1059 2006-08-20 Jan Hubicka <jh@suse.cz>
1061 PR rtl-optimization/28071
1062 * reload1.c (reg_has_output_reload): Turn into regset.
1063 (reload_as_needed, forget_old_reloads_1, forget_marked_reloads,
1064 choose_reload_regs, emit_reload_insns): Update to new
1065 reg_has_output_reload.
1067 2006-08-20 Jan Hubicka <jh@suse.cz>
1070 * ipa-inline.c (cgraph_decide_inlining, cgraph_early_inlining): Compute
1071 function body sizes.
1072 * cgraphunit.c (cgraph_analyze_function): Don't do so.
1074 2006-08-20 Danny Smith <dannysmith@users.sourceforge.net>
1077 * tree.c (handle_dll_attribute): Return early if not a
1078 var or function decl.
1080 2006-08-18 Joseph Myers <joseph@codesourcery.com>
1083 * config/rs6000/rs6000.h (LOCAL_ALIGNMENT): For SPE, only adjust
1084 alignment of SPE vector types.
1086 2006-08-18 Christophe Jaillet <christophe.jaillet@wanadoo.fr>
1088 * tree.c (is_attribute_with_length_p): Remove a duplicated assert.
1090 2006-08-17 Jakub Jelinek <jakub@redhat.com>
1093 * cgraph.h (struct cgraph_node): Remove externally_visible
1095 * cgraphunit.c (process_function_and_variable_attributes): Set
1096 local.externally_visible rather than externally_visible.
1099 * c-common.c (handle_externally_visible_attribute): First look
1100 at TREE_CODE and only if it is function or var decl, check for
1101 non-public objects. Don't warn for DECL_EXTERNAL.
1102 * cgraphunit.c (process_function_and_variable_attributes): Warn
1103 if externally_visible attribute is used on non-public object.
1105 2006-08-17 Jan Hubicka <jh@suse.cz>
1107 PR tree-optimization/27865
1108 * reload1.c (forget_marked_reloads): New function.
1109 (forget_old_reloads_1): When data are passed, just mark the registers
1111 (reload_as_needed): Use the new mechanizm.
1113 2006-08-17 Alexandre Oliva <aoliva@redhat.com>
1116 * reload.h (reg_equiv_alt_mem_list): New declaration.
1117 * reload1.c (reg_equiv_alt_mem_list): New definition.
1118 (reload): Initialize it and release it.
1119 (delete_output_reload): Use it.
1120 * reload.c (push_reg_equiv_alt_mem): New function.
1121 (find_reloads_toplev): Call it.
1122 (find_reloads_address, find_reloads_address_1): Likewise.
1123 (find_reloads_subreg_address): Likewise.
1125 2006-08-17 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1127 PR rtl-optimization/28489
1128 * sched-ebb.c (begin_schedule_ready): Create basic block
1130 (advance_target_bb): Skip empty blocks.
1131 * haifa-sched.c (bb_note): Make global.
1132 * sched-int.h (bb_note): Add prototype.
1134 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
1136 PR tree-optimization/27865
1137 * tree-vrp.c (adjust_range_with_scev): Do not use TYPE_{MIN,MAX}_VALUE
1139 * tree-scalar-evolution.c (fold_used_pointer_cast, pointer_offset_p,
1140 fold_used_pointer, pointer_used_p): New functions.
1141 (analyze_scalar_evolution_1): Use fold_used_pointer.
1142 * tree-chrec.c (convert_affine_scev): Convert no-op casts correctly.
1143 * tree-ssa-loop-ivopts.c (generic_type_for): Return integral type
1146 2006-08-17 Paolo Bonzini <bonzini@gnu.org>
1149 * c-common.c (fold_offsetof_1): Add an argument and recurse down to it
1150 or the INTEGER_CST. Fail on a CALL_EXPR.
1151 (fold_offsetof): Pass new argument to fold_offsetof_1.
1152 * c-parser.c (c_parser_postfix_expression): Don't include a NULL
1153 operand into an INDIRECT_REF.
1154 * c-typeck.c (build_unary_op): Adjust call to fold_offsetof.
1156 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
1158 PR gcov/profile/26570
1159 * value-prof.c (static_values): Removed.
1160 (tree_find_values_to_profile): Do not set static_values.
1161 (find_values_to_profile): Do not free static_values.
1162 * profile.c (instrument_values): Do not free the values.
1163 (branch_prob): Free the values.
1165 2006-08-16 Naveen.H.S <naveenh@kpitcummins.com>
1167 * config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.
1169 2006-08-16 Joseph S. Myers <joseph@codesourcery.com>
1172 * c-typeck.c (build_component_ref): Combine qualifiers of
1173 structure or union and field.
1175 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
1177 PR rtl-optimization/28071
1178 * basic-block.h (bb_dom_dfs_in, bb_dom_dfs_out): Declare.
1179 * dominance.c (bb_dom_dfs_in, bb_dom_dfs_out): New functions.
1180 * tree-into-ssa.c (struct dom_dfsnum): New.
1181 (cmp_dfsnum, find_dfsnum_interval, prune_unused_phi_nodes): New
1183 (insert_phi_nodes_for): Use prune_unused_phi_nodes instead of
1184 compute_global_livein.
1185 (prepare_block_for_update, prepare_use_sites_for): Mark the uses
1186 in phi nodes in the correct blocks.
1188 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
1190 PR tree-optimization/28364
1191 * tree-ssa-loop-ivopts.c (aff_combination_to_tree): Handle zero
1193 (fold_affine_expr): New function.
1194 (may_eliminate_iv): Use fold_affine_expr.
1196 2006-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1199 * c-typeck.c (c_start_case): Handle invalid orig_type correctly.
1202 2006-08-16 Mike Stump <mrs@apple.com>
1204 * doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
1205 * doc/cppopts.texi (-MD): Likewise.
1207 2006-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1210 * c-common.c (handle_weak_attribute): Ignore and warn if
1211 not a FUNCTION_ or VAR_DECL.
1213 2006-07-15 Mike Stump <mrs@apple.com>
1216 * c-parser.c (c_parser_typeof_specifier): Don't use
1217 c_finish_expr_stmt, open code desired semantics instead.
1219 2006-08-15 Nick Clifton <nickc@redhat.com>
1221 * config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
1222 fragment to tmake_file only if threads are enabled.
1223 * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Move to...
1224 * config/i386/t-gthr-win32: New file. ... here.
1226 2006-08-15 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1229 * c-parser.c (c_parser_compound_statement_nostart): Reset
1230 parser->error after each statement.
1232 2006-08-15 Jakub Jelinek <jakub@redhat.com>
1235 * omp-low.c (lower_omp_parallel): Convert t to
1236 receiver_decl's type.
1237 (expand_omp_parallel): STRIP_NOPS from the MODIFY_EXPR
1238 source before comparison.
1241 * gimplify.c (gimplify_omp_atomic_pipeline): Convert oldival
1242 to itype in assignment to oldival2.
1244 2006-07-14 Andrew Pinski <pinksia@physics.uc.edu>
1248 * c-typeck.c (build_compound_expr): If the second expression
1249 is an error mark, then just return an error mark instead of
1250 creating a COMPOUND_EXPR.
1252 2006-07-14 Mike Stump <mrs@apple.com>
1254 * Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.
1256 2006-08-14 Kazu Hirata <kazu@codesourcery.com>
1258 * c-decl.c, var-tracking.c: Fix comment typos.
1260 2006-08-14 Richard Sandiford <richard@codesourcery.com>
1262 PR rtl-optimization/28634
1263 * reorg.c (fill_slots_from_thread): Do not assume A + X - X == A
1264 for floating-point modes unless flag_unsafe_math_optimizations.
1266 2006-08-13 Alexandre Oliva <aoliva@redhat.com>
1267 Andrew Pinski <pinskia@physics.uc.edu>
1270 * tree.c (build_array_type): Unify array types with
1271 unspecified index_type.
1272 * c-decl.c (grokdeclarator): Make sure we do not modify a
1273 unified incomplete array type.
1274 * c-typeck.c (store_init_value): Create distinct type before
1275 filling in the index type in an initializer from a compound
1278 * c-decl.c (grokdeclarator): Remove code where we copy the
1281 2006-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1283 * tree-pass.h (TODO_update_ssa): Fix which bit is used to take
1284 into account for TODO_dump_cgraph.
1285 (TODO_update_ssa_no_phi): Likewise.
1286 (TODO_update_ssa_full_phi): Likewise.
1287 (TODO_update_ssa_only_virtuals): Likewise.
1288 (TODO_remove_unused_locals): Likewise.
1289 (TODO_set_props): Likewise.
1290 (TODO_update_stmt_usage): Likewise.
1292 2006-08-13 Dirk Mueller <dmueller@suse.de>
1294 * c-common.c (strict_aliasing_warning): Fix formatting.
1296 2006-08-13 Matthias Klose <doko@debian.org>
1298 * doc/invoke.texi: Fix spelling errors.
1300 2006-08-11 Eric Botcazou <ebotcazou@libertysurf.fr>
1302 PR rtl-optimization/23454
1303 * reorg.c (relax_delay_slots): Update comment.
1305 2006-08-11 Richard Guenther <rguenther@suse.de>
1308 * simplify-rtx.c (simplify_const_relational_operation):
1309 Simplify A CMP B to A - B CMP 0 only for EQ and NE comparison
1312 2006-08-10 Eric Botcazou <ebotcazou@adacore.com>
1314 * tree.c (build1_stat): Also propagate the TREE_CONSTANT and
1315 TREE_INVARIANT flags for a VIEW_CONVERT_EXPR.
1317 2006-08-10 Paul Brook <paul@codesourcery.com>
1319 * final.c (final_scan_insn): Clear current_insn_predicate before
1320 outputting inline asm.
1322 2006-08-10 Dorit Nuzman <dorit@il.ibm.com>
1324 PR tree-optimization/26197
1325 * tree-ssa-alias.c (new_type_alias): Takes additional argument. Calls
1326 get_ref_base_and_extent and overlap_subvar to add only relevant
1327 subvars as may-aliases.
1328 (add_may_alias_for_new_tag): New function, factored out of
1330 * tree-vect-transform.c (vect_create_data_ref_ptr): Call new_type_alias
1331 with additional argument.
1332 * tree-flow.h (new_type_alias): Takes additional argument.
1334 2006-08-09 Nathan Sidwell <nathan@codesourcery.com>
1336 * gcov.c (no_data_file): New flag.
1337 (read_count_file): Set it if data file not present. Assume counts
1339 (output_lines): Don't name the data file, if there wasn't one.
1341 2006-08-09 Eric Botcazou <ebotcazou@adacore.com>
1343 * config/rs6000/rs6000.c (print_operand) <D>: Fix comment and adjust.
1344 (rs6000_generate_compare): Tweak comments.
1345 * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): Fix comment.
1347 2006-08-09 Alexandre Oliva <aoliva@redhat.com>
1349 * var-tracking.c (enum micro_operation_type): Add MO_COPY.
1350 (var_debug_decl): New function.
1351 (var_reg_set): Follow debug decl link. Add location even if
1352 reg is already known to hold some other variable.
1353 (var_mem_set): Follow debug decl link.
1354 (var_reg_delete_and_set, var_mem_delete_and_set): Follow debug
1355 decl link. Delete other known locations of the variable part
1357 (var_reg_delete, var_mem_delete): Delete other known locations
1358 of the variable part if requested.
1359 (same_variable_part_p): New function.
1360 (add_stores): Select MO_COPY when appropriate.
1361 (vt_initialize): Handle it.
1362 (compute_bb_dataflow, emit_notes_in_bb): Likewise. Delete
1363 known locations for MO_SET and MO_CLOBBER.
1364 (find_variable_location_part): New function.
1365 (set_variable_part, delete_variable_part): Use it.
1366 (clobber_variable_part): New function.
1367 * dwarf2out.c (dwarf2out_var_location): Do not follow debug
1370 2006-08-07 Victor Kaplansky <victork@il.ibm.com>
1372 PR tree-optimization/26969
1373 * tree-vect-analyze.c (vect_analyze_loop_form): Add check of latch
1374 with an empty list of PHIs.
1376 2006-08-06 Paolo Bonzini <bonzini@gnu.org>
1380 * conffig/i386/i386.md: Add peephole2 to avoid "fld %st"
1383 2006-08-06 Andreas Schwab <schwab@suse.de>
1385 * config/m68k/m68k.c (m68k_output_function_epilogue): Fix format
1386 string. Whitespace and comment fixup.
1388 2006-08-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1391 * c-decl.c (validate_proto_after_old_defn): Return false on invalid
1395 * c-typeck.c (build_modify_expr): Test earlier for non-lvalues.
1398 * c-parser.c (c_parser_postfix_expression_after_paren_type): Robustify.
1400 2006-08-04 Jan Hubicka <jh@suse.cz>
1404 * reload.c (push_reload): Patch out the mismatching instruction;
1406 (find_reload): Bail out if the instruction was patched out.
1408 2006-08-04 Jan Hubicka <jh@suse.cz>
1410 PR tree-optimization/24888
1411 * tree-inline.c (expand_call_inline): Do not re-record variables.
1412 (declare_inline_vars): Add variable to unexpanded_var_list.
1414 2006-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1415 Roger Sayle <roger@eyesopen.com>
1417 PR rtl-optimization/26244
1418 * cse.c (fold_rtx): Correctly associate shifts when const_arg1 and/or
1419 inner_const are negative or greater than or equal to the bitsize of
1420 MODE. If SHIFT_COUNT_TRUNCATED is false, the values aren't associated.
1421 Otherwise, the values are masked using GET_MODE_BITSIZE (mode) - 1.
1422 Simplify complicated if statement. For ASHIFT and LSHIFTRT, return
1423 CONST0_RTX (mode) when the new shift count is greater than or equal to
1424 to the bitsize of the object being shifted and XEXP (y, 0) has no side
1427 2006-08-04 Kazu Hirata <kazu@codesourcery.com>
1429 * tree-cfg.c: Fix a comment typo.
1431 2006-08-03 Mark Mitchell <mark@codesourcery.com>
1434 * varasm.c (output_constant): Give the front end another chance to
1435 expand constants, after stripping NOPs.
1437 2006-08-03 Jan Hubicka <jh@suse.cz>
1439 * domwalk.c (walk_dominator_tree): Reorganize to non-recursive
1442 2006-08-03 Dorit Nuzman <dorit@il.ibm.com>
1444 PR tree-optimization/27770
1445 * tree-vectorizer.h (get_vectype_for_scalar_type): Function
1446 declaration removed (moved to tree-flow.h).
1447 (vect_can_force_dr_alignment_p): Likewise.
1448 * tree-flow.h (get_vectype_for_scalar_type): New function declaration
1449 (moved from tree-vectorizer.h).
1450 (vect_can_force_dr_alignment_p): Likewise.
1451 * tree-vectorizer.c (vect_print_dump_info): Allow calling this function
1452 from outside the vectorizer - in particular from cgraph stage.
1453 * tree-vect-analyze.c (vect_compute_data_ref_alignment): Don't increase
1454 the alignment of global arrays when -fsection-anchors is enabled.
1455 * cgraphunit.c (cgraph_increase_alignment): New function.
1456 (cgraph_optimize): Call cgraph_increase_alignment.
1458 2006-08-03 David Edelsohn <edelsohn@gnu.org>
1461 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
1462 not reload a SPE symbol_ref into a lo_sum address.
1464 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
1467 * dwarf2out.c (prune_unused_types_prune): Move call to
1468 prune_unused_types_update_strings to cover the parent DIE also.
1470 2006-08-02 Jan Hubicka <jh@suse.cz>
1472 PR gcov/profile/28480
1473 * tree-cfg.c (change_bb_for_stmt): New function.
1474 (tree_merge_blocks, tree_split_blocks): Use it.
1476 2006-08-01 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1482 * toplev.c (compile_file): Return early on errorcount or sorrycount.
1483 * cgraphunit.c (cgraph_finalize_compilation_unit): Likewise.
1484 (cgraph_optimize): Likewise.
1486 2006-08-01 Stuart Hastings <stuart@apple.com>
1488 * rtl.h (UINTVAL) New.
1489 * config/rs6000/rs6000.c (SMALL_INT) Use it.
1490 * testsuite/gcc.dg/20060801-1.c: New.
1492 2006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
1495 * c-typeck.c (build_external_type): Mark used enum types.
1496 * dwarf2out.c (dwarf2out_abstract_function): Save and restore
1498 (gen_subprogram_die): Whitespace fix.
1500 2006-08-01 Jan Hubicka <jh@suse.cz>
1502 * tree-outof-ssa.c (check_replaceable): Do not allocate def_vars
1503 bitmap when not needed.
1504 * tree-ssa-pre.c (bitmap_set_and, bitmap_set_and_compl): Free temporary
1507 2006-08-01 Dirk Mueller <dmueller@suse.de>
1509 * tree-vrp.c (fix_equivalence_set): Avoid bitmap memory leak.
1511 2006-07-31 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1513 * Makefile.in: Revert part of previous patch:
1514 Replace $(VARRAY_H) by varray.h in definition of BASIC_BLOCK_H
1517 2006-07-30 Eric Christopher <echristo@apple.com>
1520 * doc/extend.texi (i386 Variable Attributes): Add anchor.
1521 (PowerPC Variable Attributes): New section.
1523 2006-07-30 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
1525 PR target/28126 (partial fix)
1526 * config/mips/mips.md (tls_get_tp_<mode>): Set can_delay to no.
1528 2006-07-28 Jan Hubicka <jh@suse.cz>
1530 PR rtl-optimization/28071
1531 * cfgrtl.c (rtl_delete_block): Free regsets.
1532 * flow.c (allocate_bb_life_data): Re-use regsets if available.
1534 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1536 * Makefile.in: Use $(HEADER_H) instead of header.h in dependencies
1537 and variables used in dependencies.
1539 2006-07-27 Arjan van de Ven <arjan@linux.intel.com>
1541 * config/i386/i386.md (stack_tls_protect_set_di) Use %gs rather than
1542 %fs for -mcmodel=kernel.
1543 (stack_tls_protect_test_di): Likewise.
1545 2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
1547 * Makefile.in: Use mkinstalldirs.
1549 2006-07-27 H.J. Lu <hongjiu.lu@intel.com>
1552 * opts-common.c (prune_options): Skip joined switches.
1554 2006-07-27 Jan Hubicka <jh@suse.cz>
1556 PR rtl-optimization/28071
1557 * cselib.c (cselib_process_insn): Don't remove useless values too
1558 often for very large hashtables.
1560 2006-07-27 Jan Hubicka <jh@suse.cz>
1562 PR rtl-optimization/28071
1563 * global.c (greg_obstack): New obstack.
1564 (allocate_bb_info): Use it.
1565 (free_bb_info): Likewise.
1566 (modify_reg_pav): Likewise.
1568 2006-07-27 Roger Sayle <roger@eyesopen.com>
1570 * builtins.c (fold_fixed_mathfn): When long and long long are the
1571 same size, canonicalize llceil*, llfloor*, llround* and llrint*
1572 functions to their lceil*, lfloor*, lround* and lrint* forms.
1574 2006-07-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1577 * config/m32r/m32r.md (branch_insn): Reduce pc range for short
1579 (rev_branch_insn): Likewise.
1581 2006-07-27 Jan Hubicka <jh@suse.cz>
1583 PR rtl-optimization/28071
1584 * regmove.c (reg_is_remote_constant_p): Avoid quadratic behaviour.
1585 (reg_set_in_bb, max_reg_computed): New static variables.
1586 (regmove_optimize): Free the new array.
1587 (fixup_match_1): Update call of reg_is_remote_constant_p.
1589 2006-07-26 Jan Hubicka <jh@suse.cz>
1591 PR tree-optimization/27882
1592 * cgraph.c (cgraph_remove_node): Clear needed, reachable, next, previous
1594 * cgraphunit.c (cgraph_reset_node): Expect cgraph_remove_node to kill
1596 (cgraph_analyze_compilation_unit): Likewise.
1597 * ipa.c (cgraph_remove_unreachable_nodes): Likewise.
1598 * ipa-inline.c (cgraph_decide_recursive_inlining): Likewise.
1599 (cgraph_early_inlinine): Make order garbage collected.
1600 * Makefile.in (gt-ipa-inline): New garbagecollected file.
1602 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
1604 * dbxout.c (output_types_sort): Add a comment.
1605 (output_used_types): Free the VEC.
1607 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
1609 * function.c (reorder_fix_fragments): Delete.
1610 (reorder_blocks): Don't call it.
1611 (reorder_blocks_1): Put all subblocks under the origin block.
1613 2006-07-26 Zdenek Dvorak <dvorakz@suse.cz>
1615 PR rtl-optimization/27907
1616 * expr.c (force_operand): Use convert_move to handle FLOAT_EXTEND and
1619 2006-07-25 Roger Sayle <roger@eyesopen.com>
1622 * convert.c (convert_to_integer): When transforming (T)foo(x) into
1623 bar(x) check that bar's result type can represent all the values of T.
1625 2006-07-25 Zdenek Dvorak <dvorakz@suse.cz>
1627 * tree-chrec.c (chrec_convert_aggressive): Return NULL on failure.
1629 2006-07-25 Nick Clifton <nickc@redhat.com>
1631 * ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the
1632 size_lookup[] array.
1633 (ggc_alloc_stat): Use NUM_SIZE_LOOKUP.
1634 (ggc_pch_count_object): Likewise.
1635 (ggc_pch_alloc_object): Likewise.
1636 (ggc_pch_write_object): Likewise.
1637 (init_ggc): Do not attempt to initialize entries in the
1638 size_lookup[] array for objects whose size is greater than than
1639 the length of the array.
1641 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
1643 * dbxout.c (output_used_types_helper): Push queued types
1645 (output_types_sort): New.
1646 (output_used_types): Collect used types on a VEC and sort them
1649 2006-07-24 Richard Guenther <rguenther@suse.de>
1652 * cgraph.c (cgraph_remove_node): Do not check if dumps
1654 * cgraphunit.c (cgraph_optimize): Likewise.
1656 2006-07-24 Jan Hubicka <jh@suse.cz>
1658 PR rtl-optimization/28071
1659 * tree-cfg.c (tree_split_block): Do not allocate new stmt_list nodes.
1660 * tree-iterator.c (tsi_split_statement_list_before): Do not crash when
1661 splitting before first stmt.
1663 2006-07-24 Jan Hubicka <jh@suse.cz>
1665 PR rtl-optimization/28071
1666 * ipa-inline.c (update_caller_keys): Remove edges that
1667 are no longer inline candidates.
1669 2006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
1672 * dbxout.c (output_used_types_helper, output_used_types): New.
1673 (dbxout_symbol): Call output_used_types.
1675 2006-07-23 Jan Hubicka <jh@suse.cz>
1679 * cgraph.c (cgraph_varpool_nodes): Export.
1680 (decide_is_variable_needed): Ignored "used" attribute in
1681 unit-at-a-time mode.
1682 * cgraph.h (cgraph_varpool_nodes): Declare.
1683 * cgraphunit.c (decide_is_function_needed): Ignored "used" attribute in
1684 unit-at-a-time mode.
1686 2006-07-23 Roger Sayle <roger@eyesopen.com>
1689 * gthr-solaris.h: Prototype __gthrw forms of thr_self, mutex_init and
1690 mutex_destroy even when !_LIBOOBJC. Remove duplicate prototype of
1691 the __gthrw form of thr_keycreate.
1692 (__gthread_key_delete): Silence the unused argument warning.
1694 2006-07-23 Steven Bosscher <steven@gcc.gnu.org>
1697 * config/elfos.h (ASM_OUTPUT_ASCII): Remove 'register' marks.
1698 Cache the last found '\0' marker to avoid quadratic behavior.
1700 2006-07-23 Jan Hubicka <jh@suse.cz>
1702 * i386.md (subsi_3_zext): Fix output template.
1704 2006-07-21 Mike Stump <mrs@apple.com>
1706 * doc/invoke.texi (C++ Dialect Options): Note that
1707 -fvisibility-inlines-hidden doesn't affect explicitly
1708 instantiationed inline methods.
1710 2006-07-20 Roger Sayle <roger@eyesopen.com>
1712 * config.gcc (i[34567]86-*-solaris2*): Add usegas.h to $tm_file
1713 if the target assembler is GNU binutils' gas.
1714 * config/i386/sol2-10.h (ASM_SPEC): Check USE_GAS to determine
1715 whether to pass GNU gas or native as command line options.
1717 2006-07-20 Jason Merrill <jason@redhat.com>
1719 * tree.c (remove_attribute): New fn.
1720 * tree.h: Declare it.
1722 2006-07-20 Paul Brook <paul@codesourcery.com>
1725 * cse.c (cse_insn): Add destination addresses to hash table. Check if
1726 they are invalidated by this instruction.
1728 2006-07-21 Danny Smith <dannysmith@users.sourceforge.net>
1731 * config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define.
1733 2006-07-20 Eric Christopher <echristo@apple.com>
1736 * config/i386/i386.h (OPTION_DEFAULT_SPECS): Reorder.
1738 2006-07-19 Eric Christopher <echristo@apple.com>
1740 * config/t-slibgcc-darwin (stmp-lipo): Remove.
1741 Rewrite dependencies for libgcc_s.1.dylib.
1743 2006-07-19 Jakub Jelinek <jakub@redhat.com>
1745 * except.c (duplicate_eh_regions_1): Clear next_peer.
1747 2006-07-17 Nathan Sidwell <nathan@codesourcery.com>
1749 * doc/invoke.texi (RS/6000 and PowerPC Options): Document that
1750 -mlongcall does not guarantee all calls will be long.
1751 * doc/extend.texi (long_call/short_call): Document that longcall
1752 does not guarantee a long call will be used.
1753 (longcall/shortcall): Likewise.
1755 2006-07-18 Roger Sayle <roger@eyesopen.com>
1758 * expmed.c (expand_shift): Additionally check that the shift_cost
1759 is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
1760 before implementing a LSHIFT_EXPR as a sequence of additions.
1761 * config/sh/sh.c (shift_costs): Return MAX_COST to inform the
1762 middle-end that DImode shifts need to be synthesized by expand.
1764 2006-07-18 Diego Novillo <dnovillo@redhat.com>
1767 * tree-ssa-operands.c (access_can_touch_variable): Update
1769 Return true if ALIAS is .GLOBAL_VAR.
1771 2006-07-18 David Daney <ddaney@avtrex.com>
1773 * gcc.c (display_help): Fix typo in help text.
1775 2006-07-18 Olivier Hainque <hainque@adacore.com>
1777 * tree.h (categorize_ctor_elements): Adjust prototype and add
1778 descriptive comment, both in accordance with the interface change
1780 * varasm.c (constructor_static_from_elts_p): New function.
1781 Whether a constructor node is a valid static constant initializer
1782 if all its elements are.
1783 (initializer_constant_valid_p) <CONSTRUCTOR value>: Use it.
1784 * output.h: Declare it.
1785 * expr.c (categorize_ctor_elements_1): Return whether the constructor
1786 is a valid constant initializer instead of computing the number of
1787 non-constant elements. Use constructor_static_from_elts_p for this
1788 purpose. Replace the head comment with an indication that this is a
1789 helper for categorize_ctor_elements.
1790 (categorize_ctor_elements): Same interface change as for the _1
1791 helper. Former head comment from this helper moved here, adjusted to
1792 account for the interface changes.
1793 (mostly_zeros_p): Adjust call to categorize_ctor_elements.
1794 (all_zeros_p): Likewise.
1795 * gimplify.c (gimplify_init_constructor): Decide whether we can make
1796 static versions of the constructor from the categorize_ctor_elements
1797 return value instead of the formerly computed number of non-constant
1800 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
1802 * configure: Regenerate.
1803 * Makefile.in (build_libsubdir): New configure substitution
1804 (build_libobjdir): New variable.
1805 (BUILD_LIBIBERTY): Use it.
1807 2006-07-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1810 * c-pragma.c (handle_pragma_pack): Handle invalid constants.
1812 2006-07-18 Alexandre Oliva <aoliva@redhat.com>
1815 * c-common.c (handle_weakref_attribute): Ignore attribute in
1816 the same conditions the alias attribute is ignored.
1818 2006-07-17 Carlos O'Donell <carlos@codesourcery.com>
1820 * dbxout.c (dbxout_function_end): Do not increment scope_labelno.
1821 (dbxout_begin_prologue): Increment scope_labelno.
1823 2006-07-17 Richard Henderson <rth@redhat.com>
1826 * tree-nested.c (create_tmp_var_for): Set DECL_COMPLEX_GIMPLE_REG_P
1829 2006-07-17 Roger Sayle <roger@eyesopen.com>
1830 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1832 * config/i386/gmon-sol2.c: Silence compilation warnings by partially
1833 synchronizing code with config/sparc/gmon-sol2.c. Remove #if 0
1834 blocks. #include "tconfig.h" and "tsystem.h" to prototype system
1835 functions such as sbrk, write, etc.. Add function prototypes.
1836 Convert function declarations from K&R to ISO C. Cast pointers
1837 to "long" and "unsigned long" instead of "int" and "unsigned int".
1838 Convert tokens following #endif into comments.
1840 2006-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
1842 * invoke.texi: Remove mention of f77; Reformat table for
1843 inline parameter options correctly; mention that -malign-double
1844 is default on x86-64 targets.
1846 2006-07-17 Zdenek Dvorak <dvorakz@suse.cz>
1848 * tree-chrec.c (avoid_arithmetics_in_type_p): New.
1849 (convert_affine_scev, chrec_convert_aggressive): Use
1850 avoid_arithmetics_in_type_p. Do not check for the subtypes
1853 2006-07-17 Richard Sandiford <richard@codesourcery.com>
1856 * optabs.c (expand_doubleword_shift): Wrap the call to
1857 do_compare_rtx_and_jump with NO_DEFER_POP and OK_DEFER_POP.
1859 2006-07-17 Richard Sandiford <richard@codesourcery.com>
1862 * optabs.c (expand_binop): Pass next_methods rather than methods
1863 to expand_doubleword_shift.
1865 2006-07-17 J"orn Rennecke <joern.rennecke@st.com>
1868 * tree.h (dump_addr): Declare.
1869 * print-tree.c (dump_addr): New function.
1870 (print_node_brief, print_node): Use it.
1871 * print-rtl.c (print_rtx): Likewise.
1872 * common.opt (-fdump-noaddr): New option.
1873 * doc/invoke.texi (-fdump-noaddr): Document.
1874 * loop-unroll.c (si_info_hash): Make hash independent of addresses.
1875 (ve_info_hash): Likewise.
1877 2006-07-13 Andrew Haley <aph@redhat.com>
1879 PR tree-optimization/19505
1880 * tree-cfgcleanup.c (tree_forwarder_block_p): If we have an EH
1881 edge leaving this block, make sure that the destination of this
1882 block has only one predecessor.
1884 2006-07-17 Richard Guenther <rguenther@suse.de>
1886 PR tree-optimization/28238
1887 * tree-inline.c (copy_bb): Check if we produced valid
1888 gimple copying and substituting a stmt. If not, gimplify
1891 2006-07-16 Eric Botcazou <ebotcazou@adacore.com>
1893 * optabs.c (maybe_encapsulate_block): New function extracted from...
1894 (emit_libcall_block): ...here. Invoke it on the block of insns to
1895 maybe emit REG_LIBCALL/REG_RETVAL notes around the block.
1896 (emit_no_conflict_block): Likewise.
1898 2006-07-16 Eric Botcazou <ebotcazou@libertysurf.fr>
1900 * doc/install.texi (sparc-sun-solaris2*): Add GMP version number.
1902 2006-07-15 Roger Sayle <roger@eyesopen.com>
1904 * tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT into
1905 a new NOP_EXPR case of the switch statement.
1907 2006-07-15 Kaz Kojima <kkojima@gcc.gnu.org>
1910 * stor-layout.c (place_field): Take the bit field with
1911 an excessive size into account in the ms-bitfiled case.
1914 * stor-layout.c (place_field): Use DECL_BIT_FIELD_TYPE of
1915 the previous bit field.
1917 2006-07-14 Eliot Dresselhaus <eliot@sonic.net>
1920 * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative.
1922 2006-07-14 Ulrich Weigand <uweigand@de.ibm.com>
1924 * config/s390/linux-unwind.h (s390_fallback_frame_state): Detect
1925 signal frames correctly even when the signal was installed with
1928 2006-07-14 Carlos O'Donell <carlos@codesourcery.com>
1930 * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
1931 (dbxout_function_end): Use local label LFBB. Remove hook
1933 (dbxout_source_line): Use local label LFBB.
1934 (dbxout_block): Likewise.
1935 (dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC.
1936 (dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC.
1937 * config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC,
1938 and DBX_OUTPUT_NFUN.
1940 2006-07-13 Janis Johnson <janis187@us.ibm.com>
1942 * doc/sourcebuild.texi (Test Directives): Document dg-shouldfail.
1944 2006-07-13 Jan Hubicka <jh@suse.cz>
1946 * cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call
1948 * output.h (align_variable): Declare.
1949 * varasm.c (align_variable): Export.
1950 * value-prof.c (tree_value_profile_transformations): Recompute iterator
1951 when basic block changed.
1953 2006-07-13 Nick Clifton <nickc@redhat.com>
1955 * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst
1956 walking the LOG_LINKS chain.
1958 2006-07-12 Geoffrey Keating <geoffk@apple.com>
1960 * doc/invoke.texi (C++ Dialect Options): Explain difference
1961 between -fvisibility-inlines-hidden and setting hidden
1962 visibility explicitly.
1964 2006-07-12 Eric Christopher <echristo@apple.com>
1966 * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.
1967 (stmp-lipo): Depend on libgcc.a.
1969 2006-07-12 Kazu Hirata <kazu@codesourcery.com>
1971 * tree.c: Fix a comment typo.
1973 2006-07-12 Naveen.H.S <naveenh@kpitcummins.com>
1975 * config/m32c/muldiv.md (umulhisi3_c): Use only registers for
1977 (umulhisi3_r): Likewise.
1979 2006-07-12 Paolo Carlini <pcarlini@suse.de>
1982 * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
1983 x < 19, vs wchar_t support.
1985 2006-07-12 Nick Clifton <nickc@redhat.com>
1987 * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Use -isa=sh4-up
1988 instead of -isa=sh4.
1990 2006-07-12 Mike Stump <mrs@apple.com>
1992 * protoize.c (edit_fn_definition): Add volatile to clean_text_p.
1994 2006-07-10 Eric Christopher <echristo@apple.com>
1996 * config/t-slibgcc-darwin: Rewrite.
1998 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
2001 * Makefile.in (configure): add missing aclocal.m4 and acinclude.m4
2004 2006-07-08 Matthias Klose <doko@debian.org>
2006 * doc/sourcebuild.texi: Fix typo.
2008 2006-07-07 Mike Stump <mrs@apple.com>
2010 * toplev.c (process_options): Don't give -ffunction-sections may
2011 affect debugging warning for Mach-O.
2013 2006-07-07 James E Wilson <wilson@specifix.com>
2015 * config/mips/mips.md (cpu): Add sb1a.
2016 * config/mips/sb1.md: Modify almost all patterns to accept sb1a in
2017 addition to sb1. Adjust comments to clarify SB-1A differences from
2019 (ir_sb1a_load): New. Modify bypasses to use it.
2020 (ir_sb1a_simple_alu): Likewise.
2021 * config/mips/mips.c (mips_cpu_info_table): Add sb1a.
2022 (mips_rtx_cost_data): Add PROCESSOR_SB1A support.
2023 (mips_issue_rate): Add PROCESSOR_SB1A.
2024 (mips_multipass_dfa_lookahead): Use TUNE_SB1 instead of PROCESSOR_SB1.
2025 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1A.
2026 (TARGET_SB1): Add PROCESSOR_SB1A check.
2027 (TUNE_SB1): Likewise.
2029 * config/mips/mips-protos.h (mips_store_data_bypass_p): New.
2030 * config/mips/mips.c (mips_store_data_bypass_p): New.
2031 * config/mips/sb1.md: Use mips_store_data_bypass_p instead of
2032 store_data_bypass_p.
2034 2006-07-08 Paul Brook <paul@codesourcery.com>
2037 * config/m68k/m68k.md: Add r-m patterns for 68881 movxf.
2039 2006-07-07 Richard Guenther <rguenther@suse.de>
2042 * tree.h (build_one_cst): Declare.
2043 * tree.c (build_one_cst): New function.
2044 * tree-ssa-math-opts.c (get_constant_one): Remove.
2045 (insert_reciprocals): Use build_one_cst.
2046 * fold-const.c (fold_plusminus_mult): Likewise.
2048 2006-07-07 Roger Sayle <roger@eyesopen.com>
2050 * pointer-set.c (pointer_set_destroy): Correct whitespace.
2051 * cfgloopanal.c (dump_graph): Likewise.
2052 * dojump.c (discard_pending_stack_adjust): Likewise.
2053 * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES):
2055 * alloc-pool.c (dump_alloc_pool_statistics): Likewise.
2056 * function.c (finalize_block_changes): Likewise.
2057 * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise.
2058 * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise.
2059 * rtl.c (dump_rtx_statistics): Likewise.
2060 * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars):
2062 * varray.c (dump_varray_statistics): Likewise.
2063 * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
2064 decode_decimal64, encode_decimal128, decode_decimal128,
2065 decimal_real_to_decimal): Likewise.
2067 2006-07-07 Richard Guenther <rguenther@suse.de>
2069 PR tree-optimization/28187
2070 * tree-vrp.c (vrp_operand_equal_p): New function.
2071 (vrp_bitmap_equal_p): Likewise.
2072 (update_value_range): Use them to compare old and new
2075 2006-07-06 Roger Sayle <roger@eyesopen.com>
2077 * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Add
2078 a default case to switch statement to silence compiler warnings.
2080 2006-07-06 Roger Sayle <roger@eyesopen.com>
2083 * configure.ac (HAVE_AS_IX86_FFREEP): On x86 targets check whether
2084 the configured assembler supports the x87's ffreep mnemonic.
2085 * configure: Regenerate.
2086 * config.in: Regenerate.
2088 * config/i386/i386.c (output_387_ffreep): New function.
2089 (output_fp_compare): Use output_387_ffreep to emit ffreep insns.
2090 (output_387_reg_move): Likewise.
2092 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
2094 Port to hosts whose 'sort' and 'tail' implementations
2095 treat operands with leading '+' as file names, as POSIX
2096 has required since 2001. However, make sure the code still
2097 works on pre-POSIX hosts.
2098 * Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
2099 which says you should use "tail -c +N" rather than "tail +Nc".
2100 Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
2102 2006-07-06 Zdenek Dvorak <dvorakz@suse.cz>
2104 * tree-ssa-loop-niter.c (scev_probably_wraps_p): Fix typo in
2107 2006-07-06 David Edelsohn <edelsohn@gnu.org>
2110 * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
2111 PRE_{INC,DEC} of TFmode.
2113 2006-07-06 David Edelsohn <edelsohn@gnu.org>
2114 Alan Modra <amodra@bigpond.net.au>
2117 * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
2120 2006-07-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2123 * config/alpha/predicates.md (alpha_swapped_comparison_operator):
2124 Remove duplicate gtu.
2126 2006-07-05 Jason Merrill <jason@redhat.com>
2130 * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
2131 * c-common.c (handle_packed_attribute): So don't copy it here.
2132 * c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
2134 2006-07-05 Mike Stump <mrs@apple.com>
2136 * doc/invoke.texi (Invoking G++): Clarify prose for g++.
2138 2006-07-05 H.J. Lu <hongjiu.lu@intel.com>
2141 * config.gcc: Check with_cpu for i[34567]86--*-solaris2.1[0-9]*.
2143 2006-07-05 Richard Guenther <rguenther@suse.de>
2146 * config/i386/i386.md (*negdf2_1): Restrict pattern to
2147 TARGET_SSE2 targets if using SSE math.
2148 (*absdf2_1): Likewise.
2150 2006-07-05 Richard Guenther <rguenther@suse.de>
2152 PR tree-optimization/28162
2153 * fold-const.c (fold_binary): For (-A) * (-B) -> A * B
2154 make sure to convert the operands to the correct type.
2156 2006-07-04 Paolo Bonzini <bonzini@gnu.org>
2158 PR tree-optimization/28218
2160 * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
2161 to calculate and free the dominator information.
2163 2006-07-04 Peter O'Gorman <peter@pogma.com>
2165 * mklibgcc.in: chmod 644 before ranlib during install.
2167 2006-07-04 Andrew Stubbs <andrew.stubbs@st.com>
2168 J"orn Rennecke <joern.rennecke@st.com>
2170 * configure.ac (.eh_frame data check): Use diff -b.
2172 2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
2175 * Makefile.in (BUILD_RTL): Add build/vec.o.
2176 (build/gencondmd.o): Filter out -fkeep-inline-functions.
2177 (build/genextract): Delete.
2178 (build/genautomata): Likewise.
2180 2006-07-04 Alan Modra <amodra@bigpond.net.au>
2183 * config/rs6000/rs6000.c (function_arg_boundary): Double-word align
2184 128-bit IBM long doubles for ABI_V4.
2186 2006-07-03 Eric Botcazou <ebotcazou@adacore.com>
2188 * tree.c (range_in_array_bounds_p): New predicate.
2189 * tree.h (range_in_array_bounds_p): Declare it.
2190 * tree-eh.c (tree_could_trap_p) <ARRAY_RANGE_REF>: Use it to
2191 return a less conservative answer.
2192 * tree-sra.c (struct sra_elt): Add new pointer field 'groups'
2193 and flag 'is_group'.
2194 (IS_ELEMENT_FOR_GROUP): New macro.
2195 (FOR_EACH_ACTUAL_CHILD): Likewise.
2196 (next_child_for_group): New helper function.
2197 (can_completely_scalarize_p): Take into account groups.
2198 (sra_hash_tree): Handle RANGE_EXPR.
2199 (sra_elt_eq): Likewise.
2200 (lookup_element): Be prepared for handling groups.
2201 (is_valid_const_index): Delete.
2202 (maybe_lookup_element_for_expr) <ARRAY_REF>: Use in_array_bounds_p
2203 instead of is_valid_const_index.
2204 <ARRAY_RANGE_REF>: New case.
2205 (sra_walk_expr) <ARRAY_REF>: Use in_array_bounds_p instead of
2206 is_valid_const_index.
2207 <ARRAY_RANGE_REF>: Do not unconditionally punt.
2208 (scan_dump): Dump info for groups too.
2209 (decide_instantiation_1): Likewise.
2210 (decide_block_copy): Assert that the element is not a group.
2211 Propagate decision to groups.
2212 (generate_one_element_ref): Handle RANGE_EXPR.
2213 (mark_no_warning): Iterate over actual childs.
2214 (generate_copy_inout): Likewise.
2215 (generate_element_copy): Likewise.
2216 (generate_element_zero): Likewise.
2217 (generate_element_init_1): Likewise.
2218 (dump_sra_elt_name): Handle RANGE_EXPR.
2220 2006-07-03 Roger Sayle <roger@eyesopen.com>
2222 PR tree-optimization/26251
2223 * tree-ssa-threadupdate.c (redirection_block_p): New function.
2224 (thread_block): When optimizing for size refuse to thread jumps
2225 that would require duplication of blocks other than redirection
2228 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
2230 * configure.ac: Fix thinko in previous check-in.
2231 * configure: Regenerate.
2233 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
2236 * configure.ac (for lang...): Simplify nesting of conditionals.
2237 Test subdir_requires for non-enabled languages. Move processing
2238 of lang_opt_files and lang_tree_fiels below that test.
2239 * configure: Regenerate.
2240 * doc/sourcebuild.texi (Front End Config): Document subdir_requires.
2242 2006-07-01 Martin Michlmayr <tbm@cyrius.com>
2244 * doc/gcov.texi (Invoking Gcov): Add a missing word.
2246 2006-06-30 Kazu Hirata <kazu@codesourcery.com>
2248 * cfgexpand.c, config/i386/i386.c, genpreds.c, tree-cfg.c: Fix
2251 2006-06-29 Jason Merrill <jason@redhat.com>
2258 * tree.c (build_decl_stat): Don't hande #pragma visibility here.
2259 * c-common.c (c_determine_visibility): Handle it here.
2260 * c-decl.c (finish_decl): Call c_determine_visibility for
2262 * flags.h (enum symbol_visibility): Sort from most to least visibility.
2264 * varasm.c (default_assemble_visibility): Likewise.
2265 * c-common.c (handle_visibility_attribute): Complain about trying
2266 to give visibility to an already defined class, or trying to change
2267 declared visibility. Always attach the attribute.
2272 * attribs.c (decl_attributes): Ignore type-in-place attributes
2273 once the type has been defined.
2275 2006-06-29 Roger Sayle <roger@eyesopen.com>
2278 * c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
2279 to indicate the cpplib has issued an error message for us.
2281 2006-06-29 Asher Langton <langton2@llnl.gov>
2284 * config/i386/i386.c (ix86_output_function_epilogue): Don't
2285 insert a label at the end of an function under Mach-O.
2287 2006-06-29 Eric Christopher <echristo@apple.com>
2288 Evan Cheng <evan.cheng@apple.com>
2290 * predicates.md (vector_all_ones_operand): New.
2291 (nonimmediate_or_sse_const_operand): Ditto.
2292 * config/i386/i386-protos.h (standard_sse_constant_opcode): Declare.
2293 * config/i386/i386.c (standard_sse_constant_opcode): Define.
2294 (standard_sse_mode_p): Ditto.
2295 (standard_sse_constant_p): Add case for -1 vector.
2296 (ix86_expand_vector_move): Try to use.
2297 * sse.md (*mov<mode>_internal): Use nonimmediate_or_sse_const_operand.
2298 Call standard_sse_constant_opcode.
2299 (*movv4sf_internal): Ditto.
2300 (*movv2df_internal): Ditto.
2302 2006-06-29 Roger Sayle <roger@eyesopen.com>
2304 * genpreds.c (write_match_code_switch): Correctly use XSTR instead
2305 of XEXP to extract the operands of a MATCH_CODE rtx.
2307 2006-06-28 Andrew Pinski <pinskia@gmail.com>
2309 * tree.c (tree_size): Do not waste tail padding in
2310 struct tree_string and make the size be the same as
2311 build_string will generate.
2313 2006-06-28 Jason Merrill <jason@redhat.com>
2316 * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
2317 may_aliases already in the tag's annotations to the bitmap.
2319 2006-06-28 Roger Sayle <roger@eyesopen.com>
2321 * genpreds.c (write_predicate_stmts) <IOR>: Add missing break.
2323 2006-06-28 Roger Sayle <roger@eyesopen.com>
2325 * genpreds.c (generate_switch_p): New function.
2326 (add_mode_tests): Push the new mode test down inside an AND expr
2327 if this allows the switch-suitable MATCH_CODE to be near the root.
2328 (write_match_code_switch): New function to write a MATCH_CODE as
2330 (write_predicate_stmts): New function to write a predicate RTX
2331 expression as a sequence of statements.
2332 (write_one_predicate_function): Use write_predicate_stmts.
2333 (write_tm_constrs_h): Likewise.
2335 2006-06-26 Fred Fish <fnf@specifix.com>
2337 * config/mips/t-sb1: New file.
2338 * config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
2341 2006-06-26 DJ Delorie <dj@redhat.com>
2343 * config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.
2345 2006-06-26 Naveen H.S <naveenh@kpitcummins.com>
2346 Jayant Sonar <jayants@kpitcummins.com>
2347 Jaydeep Vipradas <jaydeepv@kpitcummins.com>
2349 * config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
2350 (subsi3, subsi3_1, subsi3_2): New.
2351 * config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
2352 * config/m32c/mov.md (SI mov peephole): New.
2353 * config/m32c/m32.c (m32c_immd_dbl_mov): New.
2354 * config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.
2356 2006-06-26 Olivier Hainque <hainque@adacore.com>
2358 * function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
2359 a CALL_EXPR target function declaration.
2361 2006-06-26 Richard Guenther <rguenther@suse.de>
2363 * tree.c (build_string): Do not waste tail padding in
2366 2006-06-26 Richard Guenther <rguenther@suse.de>
2368 * ggc-page.c (init_ggc): Add missing element to size_lookup
2372 2006-06-23 Richard Guenther <rguenther@suse.de>
2374 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
2375 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
2376 alignment requests instead. Add verification code.
2377 Add struct tree_function_decl and struct tree_binfo size to
2378 extra_order_size_table. Add missing element to size_lookup
2381 2006-06-25 Eric Botcazou <ebotcazou@adacore.com>
2384 * fold-const.c (const_binop): Be prepared for self returning zero.
2385 Simplify code handling complex values.
2387 2006-06-24 Olivier Hainque <hainque@adacore.com>
2389 * gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
2390 (gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
2393 2006-06-24 Olivier Hainque <hainque@adacore.com>
2395 * tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
2396 ARRAY_REF, so have the callback called for the low bound expression.
2398 2006-06-23 Janis Johnson <janis187@us.ibm.com>
2400 * tree.h (DECIMAL_FLOAT_TYPE_P): New.
2401 * c-typeck.c (c_common_type): Disallow operations on decimal float
2402 types and other float types.
2403 * convert.c (convert_to_real): Don't ignore conversions involving
2404 decimal float types.
2406 2006-06-23 Olivier Hainque <hainque@adacore.com>
2408 * tree.c (max_int_size_in_bytes): New function, inspired from
2409 code in function.c:assign_temp.
2410 * tree.h (max_int_size_in_bytes): Declare.
2411 * function.c (assign_temp): Use it.
2412 * gimplify.c (create_tmp_var): Relax the assertions on the type
2413 properties, not mandating constant size any more.
2414 (force_constant_size): New static function.
2415 (gimple_add_tmp_var): Use it, forcing variable size to a
2416 constant upper bound if it is not constant on entry.
2418 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
2421 * config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
2422 for initialization and setting of one_only flag to ...
2423 (i386_pe_encode_section_info): ...here.
2424 (i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
2425 Recheck that the symbol has not been defined.
2427 2006-06-23 Richard Guenther <rguenther@suse.de>
2429 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
2430 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
2431 alignment requests instead. Add verification code.
2432 Add struct tree_function_decl and struct tree_binfo size to
2433 extra_order_size_table. Add missing element to size_lookup
2436 2006-06-22 Roger Sayle <roger@eyesopen.com>
2437 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2440 * expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
2441 call to lang_hooks.types.type_for_mode returned NULL_TREE.
2443 2006-06-23 Ben Elliston <bje@au.ibm.com>
2445 * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
2446 negate dn -- manipulate it directly.
2448 2006-06-22 Roger Sayle <roger@eyesopen.com>
2449 Steven Bosscher <stevenb.gcc@gmail.com>
2452 * reload1.c (gen_reload): Call mark_jump_label on the new insns
2453 generated by gen_move_insn to add REG_LABEL notes if necessary.
2455 2006-06-22 Bob Wilson <bob.wilson@acm.org>
2457 * config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
2458 (leaf_entry): Remove use of MIN_ESA.
2460 2006-06-22 Zdenek Dvorak <dvorakz@suse.cz>
2462 PR rtl-optimization/28121
2463 * cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
2466 2006-06-21 DJ Delorie <dj@redhat.com>
2468 * config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
2470 (mulhisi3_r): Likewise.
2472 2006-06-21 Richard Sandiford <richard@codesourcery.com>
2475 * coverage.c (coverage_counter_alloc): Leave the index type
2477 (coverage_counter_alloc): Use null arguments for operands 2 and 3
2480 2006-06-21 Andrew Pinski <pinskia@physics.uc.edu>
2482 * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
2483 section from the "Options for Code Generation Conventions".
2485 2006-06-21 Richard Henderson <rth@redhat.com>
2489 * config/alpha/predicates.md (small_symbolic_operand): Deny weak
2491 (global_symbolic_operand): Allow weak symbols, even if local_p.
2493 2006-06-21 Eric Botcazou <ebotcazou@adacore.com>
2495 * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
2496 (find_interesting_uses_address): Punt if above function returns true.
2498 2006-06-21 Richard Guenther <rguenther@suse.de>
2500 * configure: Regenerated.
2502 2006-06-21 Joseph Myers <joseph@codesourcery.com>
2504 * config/mips/mips.c (function_arg): Where one part of a
2505 complex argument is in registers and the other part in the stack,
2506 return a REG not a PARALLEL.
2508 2006-06-21 Mark Mitchell <mark@codesourcery.com>
2510 * configure.ac: Set gcc_gxx_include_dir to $target/include/c++
2511 when cross-compiling. Do not substitute libstdcxx_incdir.
2512 * configure: Regenerated.
2514 2006-06-21 Jakub Jelinek <jakub@redhat.com>
2516 * varasm.c (mergeable_string_section): Check for embedded NULs and
2517 NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
2518 rather than TREE_STRING_LENGTH bytes.
2520 2006-06-21 Richard Guenther <rguenther@suse.de>
2522 * ggc-page.c (extra_order_size_table): Add var_ann_d,
2523 tree_ssa_name, bitmap_element and phi_node with 4 arguments
2526 2006-06-21 Richrad Guenther <rguenther@suse.de>
2528 * tree-ssa-loop-niter.c (simplify_using_initial_conditions):
2529 Limit iteration over the dominators.
2531 2006-06-20 Roger Sayle <roger@eyesopen.com>
2533 * config/mips/iris6.h (LIB_SPEC): Add support for -pthread.
2534 (SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified.
2536 2006-06-20 Richard Guenther <rguenther@suse.de>
2537 Michael Matz <matz@suse.de>
2539 * alloc-pool.h (free_alloc_pool_if_empty): Prototype new
2541 * alloc-pool.c (free_alloc_pool_if_empty): New function.
2542 * et-forest.h (et_free_pools): Prototype new function.
2543 * et-forest.c (et_free_tree_force): Free parent occurrence.
2544 (et_free_pools): New function.
2545 * dominance.c (free_dominance_info): Free et-forest alloc
2548 2006-06-20 Roger Sayle <roger@eyesopen.com>
2550 * expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
2551 integer modes, attempt to directly construct an integer constant.
2553 * fold-const.c (native_encode_vector): Determine the size of each
2554 element from the vector type instead of the first vector element.
2556 * tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
2557 if all of its elements/components are constant.
2558 (build_constructor_from_list): Likewise.
2560 2006-06-20 Zdenek Dvorak <dvorakz@suse.cz>
2562 PR tree-optimization/27331
2563 * tree-data-ref.c (free_data_ref): New function.
2564 (create_data_ref): Fail if the data reference has unknown access
2566 (free_data_refs): Use free_data_ref.
2568 2006-06-19 Andrew Pinski <pinskia@gmail.com>
2571 * tree-inline.c (setup_one_parameter): Strip useless
2572 type conversion before adding it to the IR.
2573 (declare_return_variable): Likewise.
2575 2006-06-19 Martin Michlmayr <tbm@cyrius.com>
2578 * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
2580 2006-06-19 Mike Stump <mrs@apple.com>
2582 * tree.c (variably_modified_type_p): VM arguments don't make the
2585 2006-06-19 Richard Guenther <rguenther@suse.de>
2587 * tree-ssa-pre.c (try_combine_conversion): Strip useless
2588 type conversions after folding.
2590 2006-06-19 Richard Guenther <rguenther@suse.de>
2592 * ggc-page.c (extra_order_size_tab): Add entries with
2593 size of struct function and basic_block.
2594 (size_lookup): Extend to cover sizes up to 511.
2595 (ggc_alloc_stat): Adjust user.
2596 (ggc_pch_count_object): Likewise.
2597 (ggc_pch_alloc_object): Likewise.
2598 (ggc_pch_write_object): Likewise.
2600 2006-06-19 Zdenek Dvorak <dvorakz@suse.cz>
2602 * tree-ssa-loop-niter.c (implies_ge_p): New function.
2603 (derive_constant_upper_bound): Handle OP0 - CST in unsigned types
2606 2006-06-19 Denis Chertykov <denisc@overta.ru>
2608 * config/avr/libgcc.S : Correct my wrong previous commit.
2610 2006-06-19 Roger Sayle <roger@eyesopen.com>
2613 * expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
2614 have stripped a SUBREG from the shift count, so we may need to
2615 convert_to_mode back to the type's mode before calling make_tree.
2616 Use new_amount instead of amount to avoid expanding a tree twice.
2618 2006-06-19 Richard Guenther <rguenther@suse.de>
2621 * fold-const.c (operand_equal_p): Check if the argument types
2622 have the same precision before stripping NOPs.
2624 2006-06-19 Daniel Berlin <dberlin@dberlin.org>
2626 Fix PR tree-optimization/27341
2627 * tree-cfg.c (gimplify_val): Call mark_new_vars_to_rename on the
2629 * tree-complex.c (pass_lower_complex): Update SMT usage.
2631 2006-06-19 Andreas Krebbel <krebbel1@de.ibm.com>
2633 * config/s390/s390.md ("doloop_si64", "doloop_si31", "doloop_di"):
2634 Add a new alternative to the constraint strings. Add move of
2635 operand 1 to 3 to the splitter definition.
2636 ("doloop_si_long"): Second contraint alternative removed.
2638 2006-06-08 Anatoly Sokolov <aesok@post.ru>
2640 * config/avr/avr.h (avr_have_movw_lpmx_p): Declare.
2641 (TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and
2643 (AVR_HAVE_MOVW) Define.
2644 (ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW.
2645 (ASM_SPEC): Add avr25.
2646 (LINK_SPEC): Add avr25.
2647 * config/avr/avr.c (avr_have_movw_lpmx_p): Add.
2648 (base_arch_s): Add new member 'have_movw_lpmx'.
2649 (avr_arch_types): Init 'have_movw_lpmx'.
2650 (avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24,
2651 attiny44, attiny84, attiny25, attiny45, attiny85, attiny261,
2652 attiny461, attiny861 and at86rf401 in 'avr25' arhitecture.
2653 (avr_override_options): Init 'avr_have_movw_lpmx_p'.
2654 (output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use
2656 (avr_file_start): Do not output '.arh' derective.
2657 * config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__.
2658 (__do_copy_data): Use __AVR_HAVE_LPMX__.
2659 * config/avr/avr.md (mcu_enhanced): Delete.
2660 (mcu_have_movw): Define.
2661 (negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'.
2662 (call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__.
2663 * config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25.
2664 (MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44,
2665 attiny84, attiny25, attiny45, attiny85, attiny261, attiny461,
2666 attiny861 and at86rf401 devices.
2668 2006-06-18 Jie Zhang <jie.zhang@analog.com>
2670 * config/bfin/bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead
2673 2006-06-17 Karl Berry <karl@gnu.org>
2675 * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi,
2676 doc/gccint.texi, doc/install.texi (@dircategory): Use
2677 "Software development" instead of "Programming", following
2678 the Free Software Directory.
2680 2006-06-17 Alexandre Oliva <aoliva@redhat.com>
2682 * config/i386/i386.c (legitimate_tls_address)
2683 <TARGET_GNU2_TLS>: Add tp after DTPOFF.
2684 * config/i386/i386.md (*tls_dynamic_gnu2_combine_32): Adjust.
2685 (*tls_dynamic_gnu2_combine_64): Likewise.
2687 2006-06-16 Richard Guenther <rguenther@suse.de>
2690 * fold-const.c (negate_expr_p): Do not introduce undefined
2691 overflow in negating INTEGER_CSTs.
2692 (fold_negate_expr): Rename from negate_expr. Revert last
2693 change for folding BIT_NOT_EXPR. Change semantics to
2694 return NULL_TREE for non-simplified negations. Do not
2695 strip type conversions and unify type handling.
2696 (negate_expr): New function, wrap around fold_negate_expr
2697 but ensure building a tree always. Strip type conversions
2698 here, fold to result type.
2699 (fold_unary): Use fold_negate_expr for folding NEGATE_EXPR.
2701 2006-06-16 Roger Sayle <roger@eyesopen.com>
2704 * reg-stack.c (subst_stack_regs): Handle noreturn function calls
2705 that (would) return their results in stack registers.
2707 2006-06-16 Michael Matz <matz@suse.de>
2708 Richard Guenther <rguenther@suse.de>
2710 * fold-const.c (fold_truthop): Only return new tree node if
2711 we canonicalized something.
2713 2006-06-16 Richard Guenther <rguenther@suse.de>
2715 * function.h (enum function_frequency): Move declaration
2716 out of struct function.
2717 (struct function): Move bool fields and the enum to the bitfield
2718 section. Reorder elements to avoid padding. Remove unused
2719 fields left over from the RTL inliner removal.
2720 * function.c (free_after_compilation): Do not zero removed fields.
2721 * Makefile.in (ipa-reference.o): Add $(FUNCTION_H) dependency.
2722 (ipa-type-escape.o): Likewise.
2724 2006-06-16 Richard Guenther <rguenther@suse.de>
2726 * cgraph.h (struct cgraph_local_info): Turn bool elements
2728 (struct cgraph_node): Likewise.
2729 (struct cgraph_varpool_node): Likewise.
2731 2006-06-15 Richard Guenther <rguenther@suse.de>
2733 * fold-const.c (fold_truth_not_expr): Rename from
2734 invert_truthvalue. Give it fold_* semantics to avoid
2736 (invert_truthvalue): New function. Wrapper around
2737 fold_truth_not_expr.
2738 (optimize_minmax_comparison): Avoid creating garbage.
2739 (fold_unary): Use fold_truth_not_expr for folding
2741 (fold_ternary): Replace uses of invert_truthvalue with
2742 fold_truth_not_expr where applicable.
2743 * tree.h (fold_truth_not_expr): Prototype.
2745 2006-06-16 Richard Guenther <rguenther@suse.de>
2747 PR tree-optimization/27781
2748 * Makefile.in (ipa-pure-const.o): Add $(TARGET_H) dependency.
2749 * ipa-pure-const.c (target.h): Include.
2750 (analyze_function): Do not analyze functions that do not
2753 2006-06-15 Andrew MacLeod <amacleod@redhat.com>
2756 * tree-dfa.c (referenced_vars_dup_list): Remove.
2757 (find_referenced_vars): Remove assert.
2758 (referenced_var_check_and_insert): Replace dup list with assert.
2759 * tree-ssa.c (delete_tree_ssa): Remove dup list processing.
2760 * tree-flow.h (referenced_vars_dup_list): Remove extern decl.
2762 2006-06-15 Richard Guenther <rguenther@suse.de>
2764 * tree-ssa-structalias.c (alias_get_name): Avoid creating
2765 extra unused identifiers if not dumping.
2766 (create_variable_info_for): Likewise.
2768 2006-06-15 Zdenek Dvorak <dvorakz@suse.cz>
2770 * tree-ssa-loop-niter.c (implies_nonnegative_p): New function.
2771 (derive_constant_upper_bound): Derive more precise upper bound in
2772 common cases. Return type changed to double_int.
2773 (record_estimate): Reflect the changed return type of
2774 derive_constant_upper_bound.
2775 * double-int.c (double_int_zext, double_int_sext): Fix.
2777 2006-06-15 Paolo Bonzini <bonzini@gnu.org>
2779 * configure.ac (CFLAGS): Get them from the toplevel or from the
2780 configure invocation.
2781 * configure: Regenerate.
2782 * Makefile.in (CFLAGS): Substitute value provided by configure.
2784 2006-06-14 Mark Mitchell <mark@codesourcery.com>
2787 * c-common.h (c_finish_omp_atomic): Adjust declaration.
2788 * c-omp.c (c_finish_omp_atomic): Return the expression to perform,
2789 rather than calling add_stmt on it.
2790 * c-parser.c (c_parser_omp_atomic): Adjust accordingly.
2792 2006-06-14 Andreas Krebbel <krebbel1@de.ibm.com>
2795 * reload1.c (reload): Remove registers returned by update_eliminables
2796 from used_spill_regs.
2798 2006-06-13 DJ Delorie <dj@redhat.com>
2800 * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants.
2802 2006-06-13 Carlos O'Donell <carlos@codesourcery.com>
2804 * Makefile.in: Define HTMLS_BUILD, HTMLS_INSTALL,
2805 html__strip_dir, html__mkdir_p. Enhance install-html target.
2806 * configure.ac: AC_SUBST datarootdir, docdir and htmldir.
2807 * configure: Regenerate.
2809 2006-06-13 Fariborz Jahanian <fjahanian@apple.com>
2811 * fold-const.c (fold_cond_expr_with_comparison): Check for
2812 Objective-C++ as language in deciding COND_EXPR transformation.
2814 2006-06-06 J"orn Rennecke <joern.rennecke@st.com>
2817 * config/sh/t-sh (LIB1ASMFUNCS): Add _udiv_qrnnd16
2818 * config/sh/sh.c (print_operand): Add !SHMEDIA functionality to 'M'.
2819 * config/sh/lib1funcs.h (SL, SL1): Define.
2820 * config/sh/lib1funcs.asm (__udiv_qrnnd16): New hidden function.
2821 * longlong.h (__sh__): Define umul_ppmm, udiv_qrnnd and sub_ddmmss.
2822 * config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): New rule.
2823 (OBJS_Os_4_200): New variable.
2824 ($(T)libgcc-Os-4-200.a): Use it.
2825 * sh.md (udivsi3): For TARGET_DIVIDE_CALL_TABLE, avoid function call
2826 when dividing 1 and/or by 0.
2828 2006-06-13 Roger Sayle <roger@eyesopen.com>
2830 * configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h>
2831 before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
2832 * configure: Regenerate.
2834 2006-06-13 Jie Zhang <jie.zhang@analog.com>
2836 * config/bfin/bfin.c (bfin_reorg_loops): Only call recog_memoized ()
2837 for real instruction.
2839 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2842 * haifa-sched.c (check_cfg): Handle special case.
2844 2006-06-13 Eric Botcazou <ebotcazou@adacore.com>
2847 * gimplify.c (declare_tmp_vars): Rename into declare_vars.
2848 Add debug_info parameter. Chain the vars to the BLOCK instead
2849 of the BIND_EXPR if debug info are requested for them.
2850 (pop_gimplify_context): Adjust for above change.
2851 (gimple_add_tmp_var): Likewise.
2852 * tree-gimple.h (declare_tmp_vars): Rename into declare_vars.
2854 * tree-nested.c (convert_nonlocal_reference): Adjust for above change.
2855 (convert_local_reference): Likewise.
2856 (get_local_debug_decl): Set DECL_IGNORED_P on the original variable.
2857 (finalize_nesting_tree_1): Request that debug info be emitted
2858 for debug_var_chain.
2860 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2862 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Fix the patch
2863 for PR target/27863.
2865 2006-06-13 Richard Guenther <rguenther@suse.de>
2868 * except.c (output_ttype): Expand type with EXPAND_INITIALIZER.
2870 2006-06-13 Richard Guenther <rguenther@suse.de>
2872 PR tree-optimization/27830
2873 * tree-inline.c (copy_body_r): For copying the operand
2874 of an ADDR_EXPR make sure to fold &* afterwards.
2876 2006-06-12 Eric Botcazou <ebotcazou@adacore.com>
2878 * gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other
2879 lvalues in the fb_none case with side-effects.
2881 2006-06-12 Kazu Hirata <kazu@codesourcery.com>
2883 * tree-flow.h: Remove the prototype for
2884 compute_phi_arg_on_exit.
2885 * tree-ssa-loop-ivopts.c (protect_loop_closed_ssa_form_use,
2886 protect_loop_closed_ssa_form, compute_phi_arg_on_exit):
2889 2006-06-12 Mark Shinwell <shinwell@codesourcery.com>
2891 * builtins.c (expand_builtin_return_addr): Only use
2892 frame_pointer_rtx when count == 0 and we are expanding
2893 __builtin_return_address.
2895 2006-06-12 Fred Fish <fnf@specifix.com>
2897 * config/mips/mips.c (mips_file_start): Create special section
2898 ".gcc_compiled_longXX" for o64 ABI as well as EABI.
2900 2006-06-11 Eric Christopher <echristo@apple.com>
2903 * stor-layout.c (place_field): Remove check for
2904 remaining_in_alignment when aligning at the end of a run.
2906 2006-06-11 Eric Christopher <echristo@apple.com>
2909 * doc/extend.texi (Structure-Packing Pragmas): Document ms_struct
2912 2006-06-11 Roger Sayle <roger@eyesopen.com>
2915 Revert incorrect fix for PR target/27158
2916 2006-05-08 Roger Sayle <roger@eyesopen.com>
2917 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
2918 of a reg_equiv_constant if the result is a legitimate constant.
2920 2006-06-11 Roger Sayle <roger@eyesopen.com>
2923 * config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
2924 extract a CONST_VECTOR element and interpret it as an integer.
2925 (vspltis_constant): Use const_vector_elt_as_int instead of the
2926 macro CONST_VECTOR_ELT in order to handle FP vector modes.
2927 * config/rs6000/predicates.md (easy_vector_const): Consider
2928 floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
2930 2006-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
2933 * stor-layout.c (update_alignment_for_field): Don't add extra
2934 alignment for packed non-bitfield fields in ms_bitfield_layout_p
2937 2006-06-09 Ralf Corsepius <ralf.corsepius@rtems.org>
2939 * config/mips/t-rtems: Add EL/EB multilib variants.
2941 2006-06-09 Mike Stump <mrs@apple.com>
2943 * c-typeck.c (c_begin_vm_scope): Fix file_scope processing.
2945 2006-06-09 David Daney <ddaney@avtrex.com>
2947 * doc/install.texi: Add binutils version recommendation for mips-*-*.
2949 2006-06-09 Andreas Krebbel <krebbel1@de.ibm.com>
2951 * reload.c (find_reloads): Unset force_reload for 'X' constraint.
2953 2006-06-09 Richard Guenther <rguenther@suse.de>
2955 PR tree-optimization/26998
2956 * tree-vrp.c (extract_range_from_unary_expr): For NEGATE_EXPR
2957 of signed types, only TYPE_MIN_VALUE is special, but for both,
2958 minimum and maximum value. Likewise VR_ANTI_RANGE is special
2959 in this case, as is -fwrapv.
2961 2006-06-08 Mike Stump <mrs@apple.com>
2964 * config/darwin.c (darwin_asm_output_anchor): Disable
2965 -fsection-anchors on darwin for now.
2966 * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Likewise.
2967 * rs6000/rs6000.c (optimization_options): Likewise.
2969 2006-06-08 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2972 * config/i386/i386.c (classify_argument): Skip fields with invalid
2975 2006-06-08 Steven Bosscher <steven@gcc.gnu.org>
2977 * cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.
2978 (cse_insn): Likewise for the stack_pointer_rtx.
2980 2006-06-08 Roger Sayle <roger@eyesopen.com>
2982 * tree-ssa-dom.c (record_conditions): Only record "unordered"
2983 conditions from floating point comparisons.
2985 2006-06-08 Paolo Bonzini <bonzini@gnu.org>
2988 * expmed.c (struct alg_hash_entry): Fix type of field T
2989 to match synth_mult argument.
2990 (NUM_ALG_HASH_ENTRIES): Make it bigger for 64-bit HOST_WIDE_INT.
2992 2006-06-08 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2995 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Update basic
2998 2006-06-08 Richard Guenther <rguenther@suse.de>
3001 * fold-const.c (negate_expr_p): We can negate BIT_NOT_EXPR
3002 only, if overflow is defined and not trapping.
3003 (negate_expr): Likewise.
3005 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
3007 PR tree-optimization/27872
3008 * tree-ssa-loop-manip.c (tree_unroll_loop): Set EDGE_IRREDUCIBLE_LOOP
3009 flag on the new exit edge of the unrolled loop.
3011 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
3013 PR rtl-optimization/26449
3014 * loop-invariant.c (move_invariant_reg): Fail if force_operand fails.
3016 2006-06-07 Andrew MacLeod <amacleod@redhat.com>
3019 * tree-dfa.c (referenced_vars_dup_list): New. List of duplicate
3020 referenced_variables with matching DECL_UID's.
3021 (find_referenced_vars): Make sure duplicate list is empty to start.
3022 (referenced_var_p): Remove.
3023 (referenced_var_check_and_insert): Renamed from referenced_var_insert.
3024 Check if var is in the list, and add if needed. Update the duplicate
3025 list if a different var is in the list with the same DECL_UID.
3026 (add_referenced_var): Call routine to check and insert.
3027 * tree-ssa.c (delete_tree_ssa): Clear var_ann's on duplicates.
3028 * tree-flow.h (referenced_vars_dup_list): External declaration.
3030 2006-06-07 Fred Fish <fnf@specifix.com>
3032 * config/mips/t-elf (MULTILIB_MATCHES): Combine two entries
3035 2006-06-07 Paolo Bonzini <bonzini@gnu.org>
3038 * reg-stack.c (subst_stack_regs_pat): Reorder resetting of
3039 the imaginary and real parts of a clobbered register.
3040 Emit insn to set the imaginary part.
3042 2006-06-06 Peter Lemieszewski <lemie@us.ibm.com>
3044 * config/s390/t-tpf (LIB2ADDEH): Include unwind-dw2-fde-glibc.c
3045 in lieu of unwind-dw2-fde.c.
3047 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
3049 * config/i386/mingw32.h (GOMP_SELF_SPECS): Define.
3051 2006-06-06 Ulrich Weigand <uweigand@de.ibm.com>
3054 * config/rs6000/altivec.md (UNSPEC_VSLW): Remove.
3055 ("altivec_vspltisw_v4sf", "altivec_vslw_v4sf"): Remove.
3056 ("mulv4sf3", "absv4sf3", "negv4sf3"): Adapt users to use
3057 V4SImode temporaries and operations instead.
3059 2006-06-06 Joseph S. Myers <joseph@codesourcery.com>
3061 * config/mips/t-linux64 (tp-bit.c): Append to tp-bit.c, not
3064 2006-06-06 Mike Stump <mrs@apple.com>
3066 * Makefile.in: Rename to htmldir to build_htmldir to avoid
3067 installing during build.
3069 2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
3071 * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default
3073 * doc/invoke.texi (max-sched-extend-regions-iters): Document.
3074 * config/ia64/ia64.c (params.h): New header.
3075 (ia64_optimization_options): New function to adjust parameters.
3076 * config/ia64/ia64-protos.h (ia64_optimization_options): New prototype.
3077 * config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro.
3078 * config/ia64/t-ia64 (ia64.o): Add dependence from params.h .
3080 2006-06-05 Kazu Hirata <kazu@codesourcery.com>
3082 * stor-layout.c (debug_rli): Fix a typo in a debug message.
3084 2006-06-05 Steve Ellcey <sje@cup.hp.com>
3087 * config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
3089 2006-06-05 Dorit Nuzman <dorit@il.ibm.com>
3090 Victor Kaplansky <victork@il.ibm.com>
3092 PR tree-optimization/26360
3093 * tree-vectorizer.c (destroy_loop_vec_info): Remove (dead) pattern
3096 2006-06-04 Roger Sayle <roger@eyesopen.com>
3097 Andrew Pinski <pinskia@physics.uc.edu>
3100 * c-common.c (c_common_truthvalue_conversion): Explicitly check
3101 for LABEL_DECL before calling DECL_WEAK.
3104 * c-typeck.c (build_binary_op): Likewise, explicitly check for
3105 LABEL_DECL and PARM_DECL.
3107 2006-06-05 Joseph S. Myers <joseph@codesourcery.com>
3111 * c-decl.c (grokdeclarator): Disallow variably modified types at
3112 file scope. Avoid marking shared array type of constant size as
3115 2006-06-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3118 * c-common.c (fold_offsetof_1): Handle static members.
3120 2006-06-04 Eric Christopher <echristo@apple.com>
3122 * stor-layout.c (start_record_layout): Initialize remaining_in_alignment.
3123 (debug_rli): Output value for remaining_in_alignment.
3124 (update_alignment_for_field): Unconditionalize
3125 ms_bitfield_layout_p code. Handle non-bitfield fields. Remove
3126 extra alignment code.
3127 (place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize
3128 ms_bitfield_layout_p code. Rewrite handling of structure fields.
3129 * tree.h (record_layout_info_s): Remove prev_packed.
3130 * doc/extend.texi (ms_struct): Add documentation of format.
3132 2006-06-04 Mark Shinwell <shinwell@codesourcery.com>
3134 * tree.h: Declare folding_initializer.
3135 * builtins.c (fold_builtin_constant_p): Give definite answer
3136 if folding inside an initializer.
3137 * fold-const.c: Define folding_initializer.
3138 (START_FOLD_INIT): Save and then set folding_initializer.
3139 (END_FOLD_INIT): Restore folding_initializer.
3141 2006-06-04 Richard Guenther <rguenther@suse.de>
3143 PR tree-optimization/27039
3144 * fold-const.c (fold_comparison): Handle pointer comparison
3145 again for all comparison codes. Compare offsets in signed
3147 (fold_binary): Move code from here.
3149 2006-06-03 Roger Sayle <roger@eyesopen.com>
3152 * config/i386/i386.c (construct_container): Split static issued_error
3153 flag into issued_sse_arg_error, issued_sse_ret_error and
3154 issued_x87_ret_error. Issue a daignostic if the x86-64 ABI
3155 requires the use of x87 registers and the user explicitly
3156 specified the -mno-80387 command line option.
3158 2006-06-02 Geoffrey Keating <geoffk@apple.com>
3160 * config/rs6000/host-darwin.c (sigaltstack): Protect prototype with
3161 HAVE_DECL_SIGALTSTACK.
3163 (segv_handler): Use MC_FLD.
3164 * configure.ac: Check for a sigaltstack declaration.
3165 Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin.
3166 * configure: Regenerate.
3167 * config.in: Regenerate.
3169 2006-06-03 J"orn Rennecke <joern.rennecke@st.com>
3172 * Makefile.in (stmp-fixinc): Fix typo.
3174 2006-06-02 Roger Sayle <roger@eyesopen.com>
3176 * fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions
3177 are type correct. Clean-up.
3178 <REALPART_EXPR>: Likewise. Optimize creal(~z) as creal(z).
3179 <IMAGPART_EXPR>: Likewise. Optimize cimag(~z) as -cimag(z).
3181 2006-06-01 DJ Delorie <dj@redhat.com>
3183 * config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
3184 shift, as we've disabled the "switch" insn that needs it.
3186 2006-06-01 Per Bothner <bothner@bothner.com>
3188 Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.
3189 * c-opts.c (finish_options): Use internal line 0 for <command-line>.
3190 * c-ppoutput.c (cb_define): Don't increment line 0.
3192 2006-06-01 Pete Steinmetz <steinmtz@us.ibm.com>
3194 * doc/invoke.texi: Add cpu_type power6.
3195 * config.gcc: Add cpu_type power6.
3196 * config/rs6000/rs6000.c (rs6000_override_options): Alias power6
3197 to power5+ with Altivec.
3198 * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6.
3199 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6.
3201 2006-05-30 Anatoly Sokolov <aesok@post.ru>
3203 * config/avr/avr.h (SET_ASM_OP): Define.
3205 2006-06-01 Kazu Hirata <kazu@codesourcery.com>
3207 * config/bfin/bfin.c: Fix comment typos.
3209 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
3212 * doc/install.texi: Document --enable-bootstrap and
3213 --disable-bootstrap.
3215 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
3217 * doc/install.texi: Document that InfoZIP can replace jar.
3219 2006-05-31 Roger Sayle <roger@eyesopen.com>
3221 * config/i386/i386.c (ix86_expand_fp_absneg_operator): When SSE
3222 isn't available, directly generate the simpler x87 patterns without
3223 the (use (const_int 0)).
3224 * config/i386/i386.md (*negsf2_1): Enable pre-reload if the SSE
3225 implementation isn't available.
3226 (*negdf2_1): Likewise.
3227 (*negxf2_1): XF mode negation is always done using the x87.
3228 (*abssf2_1, *absdf2_1, *absxf2_1): Likewise^3 for fabs.
3230 2006-05-31 Roger Sayle <roger@eyesopen.com>
3232 * builtins.c (fold_builtin_cabs): Delete prototype. Require an
3233 additional FNDECL argument. Optimize cabs(-z) and cabs(~z) as
3235 (fold_builtin_decl) <BUILT_IN_CABS>: Update fold_builtin_cabs call.
3237 2006-05-31 Jie Zhang <jie.zhang@analog.com>
3239 * config/bfin/bfin-protos.h (bfin_hardware_loop): Declare.
3240 * config/bfin/bfin.c (basic-block.h): Include.
3241 (struct machine_function): New.
3242 (bfin_init_machine_status): New.
3243 (override_options): Initialize init_machine_status.
3244 (bfin_hardware_loop): New.
3245 (MAX_LOOP_DEPTH, MAX_LOOP_LENGTH): Define.
3246 (DEF_VEC_P (loop_info)): New.
3247 (DEF_VEC_ALLOC_P (loop_info,heap)): New.
3248 (struct loop_info): New.
3249 (loop_info): New typedef.
3250 (struct loop_work): New.
3251 (loop_work): New typedef.
3252 (DEF_VEC_O (loop_work)): New.
3253 (DEF_VEC_ALLOC_O (loop_work,heap)): New.
3254 (bfin_dump_loops): New.
3255 (bfin_bb_in_loop): New.
3256 (bfin_scan_loop): New.
3257 (bfin_optimize_loop): New.
3258 (bfin_reorg_loops): New.
3259 (bfin_reorg): Use bfin_reorg_loops.
3260 * config/bfin/bfin.h (FIRST_PSEUDO_REGISTER): Adjust for adding
3262 (I_REGNO_P): Simplify.
3263 (DP_REGNO_P, DPREG_P): New macros.
3264 (REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS,
3265 REG_ALLOC_ORDER): Add LT0, LT1, LC0, LC1, LB0, LB1.
3266 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
3267 Add LT_REGS, LC_REGS, LB_REGS.
3268 (REG_CLASS_FROM_LETTER): Add 't' for LT_REGS, 'k' for LC_REGS,
3270 (REGNO_REG_CLASS): Deal with loop registers.
3271 * config/bfin/bfin.md: Add comment for 't', 'k', 'l' constraint
3273 (REG_LT0, REG_LT1, REG_LC0, REG_LC1, REG_LB0, REG_LB1):
3274 New constants for loop registers.
3275 (UNSPEC_LSETUP_END): New.
3276 (seq_insns): New define_attr. Set it for appropriate insns.
3277 (movsi_insn): Add alternatives for move from/to
3278 loop count registers.
3279 (doloop_end): New define_expand.
3280 (loop_end): New define_insn.
3281 (define_split for bad doloop_end): New.
3282 (lsetup_with_autoinit): New define_insn.
3283 (lsetup_without_autoinit): New define_insn.
3284 (rep_movsi, rep_movhi): Clobber LT1, LC1, LB1.
3285 * config/bfin/predicates.md (lc_register_operand): New.
3286 (lt_register_operand): New.
3287 (lb_register_operand): New.
3288 (nondp_register_operand): New.
3289 (nondp_reg_or_memory_operand): New.
3290 * doc/md.texi: Document Blackfin new 't', 'k', 'l' constraint letters.
3292 2006-05-31 Jie Zhang <jie.zhang@analog.com>
3294 * config/bfin/bfin.c (bfin_delegitimize_address): New.
3295 (TARGET_DELEGITIMIZE_ADDRESS): Define.
3297 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
3299 * Makefile.in (CATALOGS): Add po/ prefix.
3300 * configure: Regenerated.
3302 2006-05-31 Richard Earnshaw <richard.earnshaw@arm.com>
3305 * arm.c (arm_print_operand case 'S'): Validate that the operand is
3306 a shift operand before calling shift_op. Avoid redundant call of
3309 2006-05-30 Naveen.H.S <naveenh@kpitcummins.com>
3310 DJ Delorie <dj@redhat.com>
3312 * config/m32c/m32c.c (m32c_expand_insv): Check that the value
3313 we're inserting is a singlt-bit constant.
3315 2006-05-30 Roger Sayle <roger@eyesopen.com>
3317 * simplify-rtx.c (simplify_binary_operation_1) <LSHIFTRT>: Cast
3318 width to HOST_WIDE_INT to avoid comparison warnings on some targets.
3320 2006-05-30 Roger Sayle <roger@eyesopen.com>
3322 PR tree-optimization/23452
3323 * fold-const.c (fold_mult_zconjz): New subroutine of fold_binary,
3324 to optimize z * conj(z) as realpart(z)^2 + imagpart(z)^2.
3325 (fold_binary) <MULT_EXPR>: Call fold_mult_zconjz for integral
3326 complex values and with -ffast-math for FP complex values.
3328 2006-05-30 Kazu Hirata <kazu@codesourcery.com>
3330 * c-common.h: Remove the prototype for yyparse.
3331 * rtl.h: Remove the prototype for init_loop.
3333 2006-05-30 Andreas Krebbel <krebbel1@de.ibm.com>
3335 * cse.c (validate_canon_reg, cse_insn): Don't change insns without
3338 2006-05-30 Roger Sayle <roger@eyesopen.com>
3340 * simplify-rtx.c (simplify_binary_operation): Unfactor the shift
3342 <LSHIFTRT>: Optimize (lshiftrt (clz X) C) as (eq X 0) where C is
3343 log2(GET_MODE_BITSIZE(X)) on targets with the appropriate semantics.
3345 2006-05-30 Dirk Mueller <dmueller@suse.de>
3348 * c-common.c (convert_and_check): Only track TREE_CONSTANT_OVERFLOW
3349 for CONSTANT_CLASS_P expresisons.
3351 2006-05-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3354 * c-typeck.c (c_expr_sizeof_type): Handle invalid types.
3356 2006-05-30 Zdenek Dvorak <dvorakz@suse.cz>
3358 PR tree-optimization/27779
3359 * tree-data-ref.c (analyze_siv_subscript_cst_affine): Use
3360 initial_condition instead of CHREC_LEFT.
3362 2006-05-30 Steven Bosscher <stevenb.gcc@gmail.com>
3364 * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Fix type of begin_label.
3365 * config/m32r/initfini.c (__do_global_dtors, __do_global_ctors):
3366 Make prototypes ISO C90.
3368 2006-05-30 Mircea Namolaru <namolaru@il.ibm.com>
3369 Leehod Baruch <leehod.baruch@weizmann.ac.il>
3371 * see.c (see_analyze_one_def): Correct check.
3372 (see_get_extension_data): Check if extension is parallel.
3373 (see_get_extension_reg): Likewise.
3375 2006-05-30 Uros Bizjak <uros@kss-loka.si>
3378 * config/i386/i386.c (ix86_expand_int_vcond): Force cop0
3379 into register for (code == GTU).
3381 2006-05-29 Roger Sayle <roger@eyesopen.com>
3383 PR tree-optimization/24964
3384 * simplify-rtx.c (simplify_binary_operation_1): Add function comment.
3385 <MULT>: Minor clean-up. Don't convert x*-1.0 into -x if we honor
3386 signaling NaNs. Optimize -x*-x as x*x for all float modes, and
3387 abs(x)*abs(x) as x*x for scalar floating point modes.
3389 2006-05-29 Sebastian Pop <pop@cri.ensmp.fr>
3392 * lambda-code.c (perfect_nestify): Don't copy statements
3393 in the inner loop: move them to the inner loop header.
3395 2006-05-29 Diego Novillo <dnovillo@redhat.com>
3398 * c-tree.texi: Document OpenMP directives and clauses.
3400 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
3402 * varasm.c (globalize_decl): Fix indentation.
3404 2006-05-29 Diego Novillo <dnovillo@redhat.com>
3407 * doc/passes.texi: Add documentation for pass_vrp, pass_ipa_pta,
3408 pass_fre, pass_store_ccp, pass_copy_prop,
3409 pass_store_copy_prop, pass_merge_phi, pass_nrv,
3410 pass_return_slot, pass_object_size, pass_lim,
3411 pass_linear_transform, pass_empty_loop, pass_complete_unroll,
3412 pass_loop_prefetch and pass_stdarg.
3414 2005-05-29 Bernd Schmidt <bernd.schmidt@analog.com>
3416 * config/bfin/bfin.opt (mfdpic): New option.
3417 * config/bfin/t-bfin-elf (EXTRA_PARTS): Add crtbeginS.o and crtendS.o.
3418 (EXTRA_MULTILIB_PARTS): Likewise.
3419 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): Use -fpic.
3420 (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Build one extra -mfdpic
3422 * config/bfin/elf.h (STARTFILE_SPEC): Don't link in crt0.o if -shared.
3423 (CRT_CALL_STATIC_FUNCTION): New.
3424 * config/bfin/uclinux.h (STARTFILE_SPEC): Don't link in crt0.o if
3426 (CRT_CALL_STATIC_FUNCTION): New.
3427 * config/bfin/bfin.c (legitimize_pic_address): Now static. Handle
3429 (n_pregs_to_save): PIC register doesn't need to be saved with FD-PIC.
3430 (print_operand): Handle UNSPEC_MOVE_FDPIC and UNSPEC_FUNCDESC_GOT17M4.
3431 (initialize_trampoline): Changed to handle FD-PIC code generation.
3432 (expand_move): If TARGET_FDPIC, use emit_pic_move as needed.
3433 (bfin_expand_call): Generate FD-PIC calls if TARGET_FDPIC.
3434 (override_options): Disallow -mid-shared-library -mfdpic combination.
3435 Can't do unaligned ops if FD-PIC.
3436 Turn off flag_pic if trying to generate non-id-shared-library
3437 non-fdpic code, since it's not supported.
3438 (bfin_assemble_integer): New function.
3439 (TARGET_ASM_INTEGER): Define.
3440 * config/bfin/crti.s (__init, __fini): Save P3 on the stack if
3442 * config/bfin/crtn.s: Restore them.
3443 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __BFIN_FDPIC__
3445 (DRIVER_SELF_SPECS, SUBTARGET_DRIVER_SELF_SPECS,
3446 LINK_GCC_C_SEQUENCE_SPEC, ASM_SPEC, LINK_SPEC): New macros.
3447 (FDPIC_FPTR_REGNO, FDPIC_REGNO, OUR_FDPIC_REG): New macros.
3448 (TRAMPOLINE_SIZE, TRAMPOLINE_TEMPLATE): Adjust for FD-PIC.
3449 (CONDITIONAL_REGISTER_USAGE): If TARGET_FDPIC, FDPIC_REGNO is
3451 (enum reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Add
3452 FDPIC_REGS and FDPIC_FPTR_REGS.
3453 (REG_CLASS_FROM_LETTER): Use 'Z' and 'Y' for them.
3454 * config/bfin/bfin.md (UNSPEC_MOVE_FDPIC, UNSPEC_FUNCDESC_GOT17M4,
3455 UNSPEC_VOLATILE_LOAD_FUNCDESC): New constants.
3456 (load_funcdescsi): New pattern.
3457 (call_symbol_fdpic, sibcall_symbol_fdpic, call_value_symbol_fdpic,
3458 sibcall_value_symbol_fdpic, call_insn_fdpic, sibcall_insn_fdpic,
3459 call_value_insn_fdpic, sibcall_value_insn_fdpic): New patterns.
3461 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
3463 * gcse.c, rtlanal.c: Remove obsolete comments associated with
3466 * config/bfin/bfin.h (PARM_BOUNDRY, STACK_BOUNDRY): Remove.
3468 * tree-flow.h: Remove the prototype for add_type_alias.
3469 * tree-ssa-alias.c (add_type_alias): Remove.
3471 2006-05-28 Kazu Hirata <kazu@codesourcery.com>
3473 * cfgcleanup.c, cfgexpand.c, cgraphunit.c, config/arm/arm.c,
3474 config/fr30/fr30.md, config/i386/i386-interix.h,
3475 config/i386/i386.c, config/i386/i386.md, config/sh/superh.h,
3476 config/sh/superh64.h, config/v850/v850.c, df-core.c,
3477 df-problems.c, df.h, except.c, final.c, haifa-sched.c,
3478 lambda-code.c, libgcc2.h, omp-low.c, optabs.c, predict.c,
3479 reload.c, tree-flow.h, tree-outof-ssa.c, tree-ssa-dce.c,
3480 tree-ssa-pre.c, tree-vect-transform.c: Fix comment typos.
3481 Follow spelling conventions.
3482 * doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix typos.
3483 Follow spelling conventions.
3485 2006-05-27 Richard Guenther <rguenther@suse.de>
3488 * fold-const.c (fold_plusminus_mult_expr): Use fold_convert
3489 to produce a constant of value 1 of generic type.
3491 2006-05-27 Dirk Mueller <dmueller@suse.de>
3493 * cgraphunit.c (decide_is_function_needed): Fix wrong
3496 2006-05-26 Ulrich Weigand <uweigand@de.ibm.com>
3498 PR rtl-optimization/27661
3499 * reload.c (find_reloads): When reloading a VOIDmode constant
3500 as address due to an EXTRA_MEMORY_CONSTRAINT or 'o' constraint,
3501 use Pmode as mode of the reload register.
3503 2006-05-26 Eric Botcazou <ebotcazou@adacore.com>
3505 * doc/invoke.texi (Optimize Options): Document that -funit-at-a-time
3506 is enabled at -O and above.
3508 2006-05-26 Steven Bosscher <steven@gcc.gnu.org>
3511 * config/alpha/alpha.c (alpha_does_function_need_gp): Skip jump
3514 2006-05-25 Mark Mitchell <mark@codesourcery.com>
3517 * gimplify.c (gimplify_decl_expr): Do not call gimple_add_tmp_var
3518 for anonymous variables explicitly declared by front ends.
3520 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
3522 * tree-ssa-structalias.h (PTR_IS_REF_ALL): New macro.
3523 (struct alias_info): Add new field ref_all_symbol_mem_tag.
3524 * tree-ssa-alias.c (compute_may_aliases): If the program contains
3525 ref-all pointers, run a finalization pass for them.
3526 (compute_flow_insensitive_aliasing): Skip ref-all pointers.
3527 (finalize_ref_all_pointers): New function.
3528 (is_escape_site): Return ESCAPE_BAD_CAST for conversion from a