1 2006-07-14 Eliot Dresselhaus <eliot@sonic.net>
4 * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative.
6 2006-07-14 Ulrich Weigand <uweigand@de.ibm.com>
8 * config/s390/linux-unwind.h (s390_fallback_frame_state): Detect
9 signal frames correctly even when the signal was installed with
12 2006-07-14 Carlos O'Donell <carlos@codesoucery.com>
15 * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
16 (dbxout_function_end): Use local label LFBB. Remove hook DBX_OUTPUT_NFUN.
17 (dbxout_source_line): Use local label LFBB.
18 (dbxout_block): Likewise.
19 (dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC.
20 (dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC.
21 * config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC,
24 2006-07-13 Janis Johnson <janis187@us.ibm.com>
26 * doc/sourcebuild.texi (Test Directives): Document dg-shouldfail.
28 2006-07-13 Jan Hubicka <jh@suse.cz>
30 * cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call
32 * output.h (align_variable): Declare.
33 * varasm.c (align_variable): Export.
34 * value-prof.c (tree_value_profile_transformations): Recompute iterator
35 when basic block changed.
37 2006-07-13 Nick Clifton <nickc@redhat.com>
39 * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst
40 walking the LOG_LINKS chain.
42 2006-07-12 Geoffrey Keating <geoffk@apple.com>
44 * doc/invoke.texi (C++ Dialect Options): Explain difference
45 between -fvisibility-inlines-hidden and setting hidden
46 visibility explicitly.
48 2006-07-12 Eric Christopher <echristo@apple.com>
50 * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.
51 (stmp-lipo): Depend on libgcc.a.
53 2006-07-12 Kazu Hirata <kazu@codesourcery.com>
55 * tree.c: Fix a comment typo.
57 2006-07-12 Naveen.H.S <naveenh@kpitcummins.com>
59 * config/m32c/muldiv.md (umulhisi3_c): Use only registers for
61 (umulhisi3_r): Likewise.
63 2006-07-12 Paolo Carlini <pcarlini@suse.de>
66 * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
67 x < 19, vs wchar_t support.
69 2006-07-12 Nick Clifton <nickc@redhat.com>
71 * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Use -isa=sh4-up
74 2006-07-12 Mike Stump <mrs@apple.com>
77 * c-parser.c (c_parser_typeof_specifier): Don't use
78 c_finish_expr_stmt, open code desired semantics instead.
80 * protoize.c (edit_fn_definition): Add volatile to clean_text_p.
82 2006-07-10 Eric Christopher <echristo@apple.com>
84 * config/t-slibgcc-darwin: Rewrite.
86 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
89 * Makefile.in (configure): add missing aclocal.m4 and acinclude.m4
92 2006-07-08 Matthias Klose <doko@debian.org>
94 * doc/sourcebuild.texi: Fix typo.
96 2006-07-07 Mike Stump <mrs@apple.com>
98 * toplev.c (process_options): Don't give -ffunction-sections may
99 affect debugging warning for Mach-O.
101 2006-07-07 James E Wilson <wilson@specifix.com>
103 * config/mips/mips.md (cpu): Add sb1a.
104 * config/mips/sb1.md: Modify almost all patterns to accept sb1a in
105 addition to sb1. Adjust comments to clarify SB-1A differences from
107 (ir_sb1a_load): New. Modify bypasses to use it.
108 (ir_sb1a_simple_alu): Likewise.
109 * config/mips/mips.c (mips_cpu_info_table): Add sb1a.
110 (mips_rtx_cost_data): Add PROCESSOR_SB1A support.
111 (mips_issue_rate): Add PROCESSOR_SB1A.
112 (mips_multipass_dfa_lookahead): Use TUNE_SB1 instead of PROCESSOR_SB1.
113 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1A.
114 (TARGET_SB1): Add PROCESSOR_SB1A check.
115 (TUNE_SB1): Likewise.
117 * config/mips/mips-protos.h (mips_store_data_bypass_p): New.
118 * config/mips/mips.c (mips_store_data_bypass_p): New.
119 * config/mips/sb1.md: Use mips_store_data_bypass_p instead of
122 2006-07-08 Paul Brook <paul@codesourcery.com>
125 * config/m68k/m68k.md: Add r-m patterns for 68881 movxf.
127 2006-07-07 Richard Guenther <rguenther@suse.de>
130 * tree.h (build_one_cst): Declare.
131 * tree.c (build_one_cst): New function.
132 * tree-ssa-math-opts.c (get_constant_one): Remove.
133 (insert_reciprocals): Use build_one_cst.
134 * fold-const.c (fold_plusminus_mult): Likewise.
136 2006-07-07 Roger Sayle <roger@eyesopen.com>
138 * pointer-set.c (pointer_set_destroy): Correct whitespace.
139 * cfgloopanal.c (dump_graph): Likewise.
140 * dojump.c (discard_pending_stack_adjust): Likewise.
141 * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES):
143 * alloc-pool.c (dump_alloc_pool_statistics): Likewise.
144 * function.c (finalize_block_changes): Likewise.
145 * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise.
146 * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise.
147 * rtl.c (dump_rtx_statistics): Likewise.
148 * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars):
150 * varray.c (dump_varray_statistics): Likewise.
151 * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
152 decode_decimal64, encode_decimal128, decode_decimal128,
153 decimal_real_to_decimal): Likewise.
155 2006-07-07 Richard Guenther <rguenther@suse.de>
157 PR tree-optimization/28187
158 * tree-vrp.c (vrp_operand_equal_p): New function.
159 (vrp_bitmap_equal_p): Likewise.
160 (update_value_range): Use them to compare old and new
163 2006-07-06 Roger Sayle <roger@eyesopen.com>
165 * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Add
166 a default case to switch statement to silence compiler warnings.
168 2006-07-06 Roger Sayle <roger@eyesopen.com>
171 * configure.ac (HAVE_AS_IX86_FFREEP): On x86 targets check whether
172 the configured assembler supports the x87's ffreep mnemonic.
173 * configure: Regenerate.
174 * config.in: Regenerate.
176 * config/i386/i386.c (output_387_ffreep): New function.
177 (output_fp_compare): Use output_387_ffreep to emit ffreep insns.
178 (output_387_reg_move): Likewise.
180 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
182 Port to hosts whose 'sort' and 'tail' implementations
183 treat operands with leading '+' as file names, as POSIX
184 has required since 2001. However, make sure the code still
185 works on pre-POSIX hosts.
186 * Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
187 which says you should use "tail -c +N" rather than "tail +Nc".
188 Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
190 2006-07-06 Zdenek Dvorak <dvorakz@suse.cz>
192 * tree-ssa-loop-niter.c (scev_probably_wraps_p): Fix typo in
195 2006-07-06 David Edelsohn <edelsohn@gnu.org>
198 * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
199 PRE_{INC,DEC} of TFmode.
201 2006-07-06 David Edelsohn <edelsohn@gnu.org>
202 Alan Modra <amodra@bigpond.net.au>
205 * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
208 2006-07-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
211 * config/alpha/predicates.md (alpha_swapped_comparison_operator):
212 Remove duplicate gtu.
214 2006-07-05 Jason Merrill <jason@redhat.com>
218 * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
219 * c-common.c (handle_packed_attribute): So don't copy it here.
220 * c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
222 2006-07-05 Mike Stump <mrs@apple.com>
224 * doc/invoke.texi (Invoking G++): Clarify prose for g++.
226 2006-07-05 H.J. Lu <hongjiu.lu@intel.com>
229 * config.gcc: Check with_cpu for i[34567]86--*-solaris2.1[0-9]*.
231 2006-07-05 Richard Guenther <rguenther@suse.de>
234 * config/i386/i386.md (*negdf2_1): Restrict pattern to
235 TARGET_SSE2 targets if using SSE math.
236 (*absdf2_1): Likewise.
238 2006-07-05 Richard Guenther <rguenther@suse.de>
240 PR tree-optimization/28162
241 * fold-const.c (fold_binary): For (-A) * (-B) -> A * B
242 make sure to convert the operands to the correct type.
244 2006-07-04 Paolo Bonzini <bonzini@gnu.org>
246 PR tree-optimization/28218
248 * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
249 to calculate and free the dominator information.
251 2006-07-04 Peter O'Gorman <peter@pogma.com>
253 * mklibgcc.in: chmod 644 before ranlib during install.
255 2006-07-04 Andrew Stubbs <andrew.stubbs@st.com>
256 J"orn Rennecke <joern.rennecke@st.com>
258 * configure.ac (.eh_frame data check): Use diff -b.
260 2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
263 * Makefile.in (BUILD_RTL): Add build/vec.o.
264 (build/gencondmd.o): Filter out -fkeep-inline-functions.
265 (build/genextract): Delete.
266 (build/genautomata): Likewise.
268 2006-07-04 Alan Modra <amodra@bigpond.net.au>
271 * config/rs6000/rs6000.c (function_arg_boundary): Double-word align
272 128-bit IBM long doubles for ABI_V4.
274 2006-07-03 Eric Botcazou <ebotcazou@adacore.com>
276 * tree.c (range_in_array_bounds_p): New predicate.
277 * tree.h (range_in_array_bounds_p): Declare it.
278 * tree-eh.c (tree_could_trap_p) <ARRAY_RANGE_REF>: Use it to
279 return a less conservative answer.
280 * tree-sra.c (struct sra_elt): Add new pointer field 'groups'
282 (IS_ELEMENT_FOR_GROUP): New macro.
283 (FOR_EACH_ACTUAL_CHILD): Likewise.
284 (next_child_for_group): New helper function.
285 (can_completely_scalarize_p): Take into account groups.
286 (sra_hash_tree): Handle RANGE_EXPR.
287 (sra_elt_eq): Likewise.
288 (lookup_element): Be prepared for handling groups.
289 (is_valid_const_index): Delete.
290 (maybe_lookup_element_for_expr) <ARRAY_REF>: Use in_array_bounds_p
291 instead of is_valid_const_index.
292 <ARRAY_RANGE_REF>: New case.
293 (sra_walk_expr) <ARRAY_REF>: Use in_array_bounds_p instead of
294 is_valid_const_index.
295 <ARRAY_RANGE_REF>: Do not unconditionally punt.
296 (scan_dump): Dump info for groups too.
297 (decide_instantiation_1): Likewise.
298 (decide_block_copy): Assert that the element is not a group.
299 Propagate decision to groups.
300 (generate_one_element_ref): Handle RANGE_EXPR.
301 (mark_no_warning): Iterate over actual childs.
302 (generate_copy_inout): Likewise.
303 (generate_element_copy): Likewise.
304 (generate_element_zero): Likewise.
305 (generate_element_init_1): Likewise.
306 (dump_sra_elt_name): Handle RANGE_EXPR.
308 2006-07-03 Roger Sayle <roger@eyesopen.com>
310 PR tree-optimization/26251
311 * tree-ssa-threadupdate.c (redirection_block_p): New function.
312 (thread_block): When optimizing for size refuse to thread jumps
313 that would require duplication of blocks other than redirection
316 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
318 * configure.ac: Fix thinko in previous check-in.
319 * configure: Regenerate.
321 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
324 * configure.ac (for lang...): Simplify nesting of conditionals.
325 Test subdir_requires for non-enabled languages. Move processing
326 of lang_opt_files and lang_tree_fiels below that test.
327 * configure: Regenerate.
328 * doc/sourcebuild.texi (Front End Config): Document subdir_requires.
330 2006-07-01 Martin Michlmayr <tbm@cyrius.com>
332 * doc/gcov.texi (Invoking Gcov): Add a missing word.
334 2006-06-30 Kazu Hirata <kazu@codesourcery.com>
336 * cfgexpand.c, config/i386/i386.c, genpreds.c, tree-cfg.c: Fix
339 2006-06-29 Jason Merrill <jason@redhat.com>
346 * tree.c (build_decl_stat): Don't hande #pragma visibility here.
347 * c-common.c (c_determine_visibility): Handle it here.
348 * c-decl.c (finish_decl): Call c_determine_visibility for
350 * flags.h (enum symbol_visibility): Sort from most to least visibility.
352 * varasm.c (default_assemble_visibility): Likewise.
353 * c-common.c (handle_visibility_attribute): Complain about trying
354 to give visibility to an already defined class, or trying to change
355 declared visibility. Always attach the attribute.
360 * attribs.c (decl_attributes): Ignore type-in-place attributes
361 once the type has been defined.
363 2006-06-29 Roger Sayle <roger@eyesopen.com>
366 * c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
367 to indicate the cpplib has issued an error message for us.
369 2006-06-29 Asher Langton <langton2@llnl.gov>
372 * config/i386/i386.c (ix86_output_function_epilogue): Don't
373 insert a label at the end of an function under Mach-O.
375 2006-06-29 Eric Christopher <echristo@apple.com>
376 Evan Cheng <evan.cheng@apple.com>
378 * predicates.md (vector_all_ones_operand): New.
379 (nonimmediate_or_sse_const_operand): Ditto.
380 * config/i386/i386-protos.h (standard_sse_constant_opcode): Declare.
381 * config/i386/i386.c (standard_sse_constant_opcode): Define.
382 (standard_sse_mode_p): Ditto.
383 (standard_sse_constant_p): Add case for -1 vector.
384 (ix86_expand_vector_move): Try to use.
385 * sse.md (*mov<mode>_internal): Use nonimmediate_or_sse_const_operand.
386 Call standard_sse_constant_opcode.
387 (*movv4sf_internal): Ditto.
388 (*movv2df_internal): Ditto.
390 2006-06-29 Roger Sayle <roger@eyesopen.com>
392 * genpreds.c (write_match_code_switch): Correctly use XSTR instead
393 of XEXP to extract the operands of a MATCH_CODE rtx.
395 2006-06-28 Andrew Pinski <pinskia@gmail.com>
397 * tree.c (tree_size): Do not waste tail padding in
398 struct tree_string and make the size be the same as
399 build_string will generate.
401 2006-06-28 Jason Merrill <jason@redhat.com>
404 * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
405 may_aliases already in the tag's annotations to the bitmap.
407 2006-06-28 Roger Sayle <roger@eyesopen.com>
409 * genpreds.c (write_predicate_stmts) <IOR>: Add missing break.
411 2006-06-28 Roger Sayle <roger@eyesopen.com>
413 * genpreds.c (generate_switch_p): New function.
414 (add_mode_tests): Push the new mode test down inside an AND expr
415 if this allows the switch-suitable MATCH_CODE to be near the root.
416 (write_match_code_switch): New function to write a MATCH_CODE as
418 (write_predicate_stmts): New function to write a predicate RTX
419 expression as a sequence of statements.
420 (write_one_predicate_function): Use write_predicate_stmts.
421 (write_tm_constrs_h): Likewise.
423 2006-06-26 Fred Fish <fnf@specifix.com>
425 * config/mips/t-sb1: New file.
426 * config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
429 2006-06-26 DJ Delorie <dj@redhat.com>
431 * config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.
433 2006-06-26 Naveen H.S <naveenh@kpitcummins.com>
434 Jayant Sonar <jayants@kpitcummins.com>
435 Jaydeep Vipradas <jaydeepv@kpitcummins.com>
437 * config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
438 (subsi3, subsi3_1, subsi3_2): New.
439 * config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
440 * config/m32c/mov.md (SI mov peephole): New.
441 * config/m32c/m32.c (m32c_immd_dbl_mov): New.
442 * config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.
444 2006-06-26 Olivier Hainque <hainque@adacore.com>
446 * function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
447 a CALL_EXPR target function declaration.
449 2006-06-26 Richard Guenther <rguenther@suse.de>
451 * tree.c (build_string): Do not waste tail padding in
454 2006-06-26 Richard Guenther <rguenther@suse.de>
456 * ggc-page.c (init_ggc): Add missing element to size_lookup
460 2006-06-23 Richard Guenther <rguenther@suse.de>
462 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
463 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
464 alignment requests instead. Add verification code.
465 Add struct tree_function_decl and struct tree_binfo size to
466 extra_order_size_table. Add missing element to size_lookup
469 2006-06-25 Eric Botcazou <ebotcazou@adacore.com>
472 * fold-const.c (const_binop): Be prepared for self returning zero.
473 Simplify code handling complex values.
475 2006-06-24 Olivier Hainque <hainque@adacore.com>
477 * gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
478 (gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
481 2006-06-24 Olivier Hainque <hainque@adacore.com>
483 * tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
484 ARRAY_REF, so have the callback called for the low bound expression.
486 2006-06-23 Janis Johnson <janis187@us.ibm.com>
488 * tree.h (DECIMAL_FLOAT_TYPE_P): New.
489 * c-typeck.c (c_common_type): Disallow operations on decimal float
490 types and other float types.
491 * convert.c (convert_to_real): Don't ignore conversions involving
494 2006-06-23 Olivier Hainque <hainque@adacore.com>
496 * tree.c (max_int_size_in_bytes): New function, inspired from
497 code in function.c:assign_temp.
498 * tree.h (max_int_size_in_bytes): Declare.
499 * function.c (assign_temp): Use it.
500 * gimplify.c (create_tmp_var): Relax the assertions on the type
501 properties, not mandating constant size any more.
502 (force_constant_size): New static function.
503 (gimple_add_tmp_var): Use it, forcing variable size to a
504 constant upper bound if it is not constant on entry.
506 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
509 * config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
510 for initialization and setting of one_only flag to ...
511 (i386_pe_encode_section_info): ...here.
512 (i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
513 Recheck that the symbol has not been defined.
515 2006-06-23 Richard Guenther <rguenther@suse.de>
517 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
518 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
519 alignment requests instead. Add verification code.
520 Add struct tree_function_decl and struct tree_binfo size to
521 extra_order_size_table. Add missing element to size_lookup
524 2006-06-22 Roger Sayle <roger@eyesopen.com>
525 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
528 * expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
529 call to lang_hooks.types.type_for_mode returned NULL_TREE.
531 2006-06-23 Ben Elliston <bje@au.ibm.com>
533 * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
534 negate dn -- manipulate it directly.
536 2006-06-22 Roger Sayle <roger@eyesopen.com>
537 Steven Bosscher <stevenb.gcc@gmail.com>
540 * reload1.c (gen_reload): Call mark_jump_label on the new insns
541 generated by gen_move_insn to add REG_LABEL notes if necessary.
543 2006-06-22 Bob Wilson <bob.wilson@acm.org>
545 * config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
546 (leaf_entry): Remove use of MIN_ESA.
548 2006-06-22 Zdenek Dvorak <dvorakz@suse.cz>
550 PR rtl-optimization/28121
551 * cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
554 2006-06-21 DJ Delorie <dj@redhat.com>
556 * config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
558 (mulhisi3_r): Likewise.
560 2006-06-21 Richard Sandiford <richard@codesourcery.com>
563 * coverage.c (coverage_counter_alloc): Leave the index type
565 (coverage_counter_alloc): Use null arguments for operands 2 and 3
568 2006-06-21 Andrew Pinski <pinskia@physics.uc.edu>
570 * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
571 section from the "Options for Code Generation Conventions".
573 2006-06-21 Richard Henderson <rth@redhat.com>
577 * config/alpha/predicates.md (small_symbolic_operand): Deny weak
579 (global_symbolic_operand): Allow weak symbols, even if local_p.
581 2006-06-21 Eric Botcazou <ebotcazou@adacore.com>
583 * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
584 (find_interesting_uses_address): Punt if above function returns true.
586 2006-06-21 Richard Guenther <rguenther@suse.de>
588 * configure: Regenerated.
590 2006-06-21 Joseph Myers <joseph@codesourcery.com>
592 * config/mips/mips.c (function_arg): Where one part of a
593 complex argument is in registers and the other part in the stack,
594 return a REG not a PARALLEL.
596 2006-06-21 Mark Mitchell <mark@codesourcery.com>
598 * configure.ac: Set gcc_gxx_include_dir to $target/include/c++
599 when cross-compiling. Do not substitute libstdcxx_incdir.
600 * configure: Regenerated.
602 2006-06-21 Jakub Jelinek <jakub@redhat.com>
604 * varasm.c (mergeable_string_section): Check for embedded NULs and
605 NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
606 rather than TREE_STRING_LENGTH bytes.
608 2006-06-21 Richard Guenther <rguenther@suse.de>
610 * ggc-page.c (extra_order_size_table): Add var_ann_d,
611 tree_ssa_name, bitmap_element and phi_node with 4 arguments
614 2006-06-21 Richrad Guenther <rguenther@suse.de>
616 * tree-ssa-loop-niter.c (simplify_using_initial_conditions):
617 Limit iteration over the dominators.
619 2006-06-20 Roger Sayle <roger@eyesopen.com>
621 * config/mips/iris6.h (LIB_SPEC): Add support for -pthread.
622 (SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified.
624 2006-06-20 Richard Guenther <rguenther@suse.de>
625 Michael Matz <matz@suse.de>
627 * alloc-pool.h (free_alloc_pool_if_empty): Prototype new
629 * alloc-pool.c (free_alloc_pool_if_empty): New function.
630 * et-forest.h (et_free_pools): Prototype new function.
631 * et-forest.c (et_free_tree_force): Free parent occurrence.
632 (et_free_pools): New function.
633 * dominance.c (free_dominance_info): Free et-forest alloc
636 2006-06-20 Roger Sayle <roger@eyesopen.com>
638 * expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
639 integer modes, attempt to directly construct an integer constant.
641 * fold-const.c (native_encode_vector): Determine the size of each
642 element from the vector type instead of the first vector element.
644 * tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
645 if all of its elements/components are constant.
646 (build_constructor_from_list): Likewise.
648 2006-06-20 Zdenek Dvorak <dvorakz@suse.cz>
650 PR tree-optimization/27331
651 * tree-data-ref.c (free_data_ref): New function.
652 (create_data_ref): Fail if the data reference has unknown access
654 (free_data_refs): Use free_data_ref.
656 2006-06-19 Andrew Pinski <pinskia@gmail.com>
659 * tree-inline.c (setup_one_parameter): Strip useless
660 type conversion before adding it to the IR.
661 (declare_return_variable): Likewise.
663 2006-06-19 Martin Michlmayr <tbm@cyrius.com>
666 * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
668 2006-06-19 Mike Stump <mrs@apple.com>
670 * tree.c (variably_modified_type_p): VM arguments don't make the
673 2006-06-19 Richard Guenther <rguenther@suse.de>
675 * tree-ssa-pre.c (try_combine_conversion): Strip useless
676 type conversions after folding.
678 2006-06-19 Richard Guenther <rguenther@suse.de>
680 * ggc-page.c (extra_order_size_tab): Add entries with
681 size of struct function and basic_block.
682 (size_lookup): Extend to cover sizes up to 511.
683 (ggc_alloc_stat): Adjust user.
684 (ggc_pch_count_object): Likewise.
685 (ggc_pch_alloc_object): Likewise.
686 (ggc_pch_write_object): Likewise.
688 2006-06-19 Zdenek Dvorak <dvorakz@suse.cz>
690 * tree-ssa-loop-niter.c (implies_ge_p): New function.
691 (derive_constant_upper_bound): Handle OP0 - CST in unsigned types
694 2006-06-19 Denis Chertykov <denisc@overta.ru>
696 * config/avr/libgcc.S : Correct my wrong previous commit.
698 2006-06-19 Roger Sayle <roger@eyesopen.com>
701 * expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
702 have stripped a SUBREG from the shift count, so we may need to
703 convert_to_mode back to the type's mode before calling make_tree.
704 Use new_amount instead of amount to avoid expanding a tree twice.
706 2006-06-19 Richard Guenther <rguenther@suse.de>
709 * fold-const.c (operand_equal_p): Check if the argument types
710 have the same precision before stripping NOPs.
712 2006-06-19 Daniel Berlin <dberlin@dberlin.org>
714 Fix PR tree-optimization/27341
715 * tree-cfg.c (gimplify_val): Call mark_new_vars_to_rename on the
717 * tree-complex.c (pass_lower_complex): Update SMT usage.
719 2006-06-19 Andreas Krebbel <krebbel1@de.ibm.com>
721 * config/s390/s390.md ("doloop_si64", "doloop_si31", "doloop_di"):
722 Add a new alternative to the constraint strings. Add move of
723 operand 1 to 3 to the splitter definition.
724 ("doloop_si_long"): Second contraint alternative removed.
726 2006-06-08 Anatoly Sokolov <aesok@post.ru>
728 * config/avr/avr.h (avr_have_movw_lpmx_p): Declare.
729 (TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and
731 (AVR_HAVE_MOVW) Define.
732 (ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW.
733 (ASM_SPEC): Add avr25.
734 (LINK_SPEC): Add avr25.
735 * config/avr/avr.c (avr_have_movw_lpmx_p): Add.
736 (base_arch_s): Add new member 'have_movw_lpmx'.
737 (avr_arch_types): Init 'have_movw_lpmx'.
738 (avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24,
739 attiny44, attiny84, attiny25, attiny45, attiny85, attiny261,
740 attiny461, attiny861 and at86rf401 in 'avr25' arhitecture.
741 (avr_override_options): Init 'avr_have_movw_lpmx_p'.
742 (output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use
744 (avr_file_start): Do not output '.arh' derective.
745 * config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__.
746 (__do_copy_data): Use __AVR_HAVE_LPMX__.
747 * config/avr/avr.md (mcu_enhanced): Delete.
748 (mcu_have_movw): Define.
749 (negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'.
750 (call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__.
751 * config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25.
752 (MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44,
753 attiny84, attiny25, attiny45, attiny85, attiny261, attiny461,
754 attiny861 and at86rf401 devices.
756 2006-06-18 Jie Zhang <jie.zhang@analog.com>
758 * config/bfin/bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead
761 2006-06-17 Karl Berry <karl@gnu.org>
763 * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi,
764 doc/gccint.texi, doc/install.texi (@dircategory): Use
765 "Software development" instead of "Programming", following
766 the Free Software Directory.
768 2006-06-17 Alexandre Oliva <aoliva@redhat.com>
770 * config/i386/i386.c (legitimate_tls_address)
771 <TARGET_GNU2_TLS>: Add tp after DTPOFF.
772 * config/i386/i386.md (*tls_dynamic_gnu2_combine_32): Adjust.
773 (*tls_dynamic_gnu2_combine_64): Likewise.
775 2006-06-16 Richard Guenther <rguenther@suse.de>
778 * fold-const.c (negate_expr_p): Do not introduce undefined
779 overflow in negating INTEGER_CSTs.
780 (fold_negate_expr): Rename from negate_expr. Revert last
781 change for folding BIT_NOT_EXPR. Change semantics to
782 return NULL_TREE for non-simplified negations. Do not
783 strip type conversions and unify type handling.
784 (negate_expr): New function, wrap around fold_negate_expr
785 but ensure building a tree always. Strip type conversions
786 here, fold to result type.
787 (fold_unary): Use fold_negate_expr for folding NEGATE_EXPR.
789 2006-06-16 Roger Sayle <roger@eyesopen.com>
792 * reg-stack.c (subst_stack_regs): Handle noreturn function calls
793 that (would) return their results in stack registers.
795 2006-06-16 Michael Matz <matz@suse.de>
796 Richard Guenther <rguenther@suse.de>
798 * fold-const.c (fold_truthop): Only return new tree node if
799 we canonicalized something.
801 2006-06-16 Richard Guenther <rguenther@suse.de>
803 * function.h (enum function_frequency): Move declaration
804 out of struct function.
805 (struct function): Move bool fields and the enum to the bitfield
806 section. Reorder elements to avoid padding. Remove unused
807 fields left over from the RTL inliner removal.
808 * function.c (free_after_compilation): Do not zero removed fields.
809 * Makefile.in (ipa-reference.o): Add $(FUNCTION_H) dependency.
810 (ipa-type-escape.o): Likewise.
812 2006-06-16 Richard Guenther <rguenther@suse.de>
814 * cgraph.h (struct cgraph_local_info): Turn bool elements
816 (struct cgraph_node): Likewise.
817 (struct cgraph_varpool_node): Likewise.
819 2006-06-15 Richard Guenther <rguenther@suse.de>
821 * fold-const.c (fold_truth_not_expr): Rename from
822 invert_truthvalue. Give it fold_* semantics to avoid
824 (invert_truthvalue): New function. Wrapper around
826 (optimize_minmax_comparison): Avoid creating garbage.
827 (fold_unary): Use fold_truth_not_expr for folding
829 (fold_ternary): Replace uses of invert_truthvalue with
830 fold_truth_not_expr where applicable.
831 * tree.h (fold_truth_not_expr): Prototype.
833 2006-06-16 Richard Guenther <rguenther@suse.de>
835 PR tree-optimization/27781
836 * Makefile.in (ipa-pure-const.o): Add $(TARGET_H) dependency.
837 * ipa-pure-const.c (target.h): Include.
838 (analyze_function): Do not analyze functions that do not
841 2006-06-15 Andrew MacLeod <amacleod@redhat.com>
844 * tree-dfa.c (referenced_vars_dup_list): Remove.
845 (find_referenced_vars): Remove assert.
846 (referenced_var_check_and_insert): Replace dup list with assert.
847 * tree-ssa.c (delete_tree_ssa): Remove dup list processing.
848 * tree-flow.h (referenced_vars_dup_list): Remove extern decl.
850 2006-06-15 Richard Guenther <rguenther@suse.de>
852 * tree-ssa-structalias.c (alias_get_name): Avoid creating
853 extra unused identifiers if not dumping.
854 (create_variable_info_for): Likewise.
856 2006-06-15 Zdenek Dvorak <dvorakz@suse.cz>
858 * tree-ssa-loop-niter.c (implies_nonnegative_p): New function.
859 (derive_constant_upper_bound): Derive more precise upper bound in
860 common cases. Return type changed to double_int.
861 (record_estimate): Reflect the changed return type of
862 derive_constant_upper_bound.
863 * double-int.c (double_int_zext, double_int_sext): Fix.
865 2006-06-15 Paolo Bonzini <bonzini@gnu.org>
867 * configure.ac (CFLAGS): Get them from the toplevel or from the
868 configure invocation.
869 * configure: Regenerate.
870 * Makefile.in (CFLAGS): Substitute value provided by configure.
872 2006-06-14 Mark Mitchell <mark@codesourcery.com>
875 * c-common.h (c_finish_omp_atomic): Adjust declaration.
876 * c-omp.c (c_finish_omp_atomic): Return the expression to perform,
877 rather than calling add_stmt on it.
878 * c-parser.c (c_parser_omp_atomic): Adjust accordingly.
880 2006-06-14 Andreas Krebbel <krebbel1@de.ibm.com>
883 * reload1.c (reload): Remove registers returned by update_eliminables
884 from used_spill_regs.
886 2006-06-13 DJ Delorie <dj@redhat.com>
888 * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants.
890 2006-06-13 Carlos O'Donell <carlos@codesourcery.com>
892 * Makefile.in: Define HTMLS_BUILD, HTMLS_INSTALL,
893 html__strip_dir, html__mkdir_p. Enhance install-html target.
894 * configure.ac: AC_SUBST datarootdir, docdir and htmldir.
895 * configure: Regenerate.
897 2006-06-13 Fariborz Jahanian <fjahanian@apple.com>
899 * fold-const.c (fold_cond_expr_with_comparison): Check for
900 Objective-C++ as language in deciding COND_EXPR transformation.
902 2006-06-06 J"orn Rennecke <joern.rennecke@st.com>
905 * config/sh/t-sh (LIB1ASMFUNCS): Add _udiv_qrnnd16
906 * config/sh/sh.c (print_operand): Add !SHMEDIA functionality to 'M'.
907 * config/sh/lib1funcs.h (SL, SL1): Define.
908 * config/sh/lib1funcs.asm (__udiv_qrnnd16): New hidden function.
909 * longlong.h (__sh__): Define umul_ppmm, udiv_qrnnd and sub_ddmmss.
910 * config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): New rule.
911 (OBJS_Os_4_200): New variable.
912 ($(T)libgcc-Os-4-200.a): Use it.
913 * sh.md (udivsi3): For TARGET_DIVIDE_CALL_TABLE, avoid function call
914 when dividing 1 and/or by 0.
916 2006-06-13 Roger Sayle <roger@eyesopen.com>
918 * configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h>
919 before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
920 * configure: Regenerate.
922 2006-06-13 Jie Zhang <jie.zhang@analog.com>
924 * config/bfin/bfin.c (bfin_reorg_loops): Only call recog_memoized ()
925 for real instruction.
927 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
930 * haifa-sched.c (check_cfg): Handle special case.
932 2006-06-13 Eric Botcazou <ebotcazou@adacore.com>
935 * gimplify.c (declare_tmp_vars): Rename into declare_vars.
936 Add debug_info parameter. Chain the vars to the BLOCK instead
937 of the BIND_EXPR if debug info are requested for them.
938 (pop_gimplify_context): Adjust for above change.
939 (gimple_add_tmp_var): Likewise.
940 * tree-gimple.h (declare_tmp_vars): Rename into declare_vars.
942 * tree-nested.c (convert_nonlocal_reference): Adjust for above change.
943 (convert_local_reference): Likewise.
944 (get_local_debug_decl): Set DECL_IGNORED_P on the original variable.
945 (finalize_nesting_tree_1): Request that debug info be emitted
948 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
950 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Fix the patch
953 2006-06-13 Richard Guenther <rguenther@suse.de>
956 * except.c (output_ttype): Expand type with EXPAND_INITIALIZER.
958 2006-06-13 Richard Guenther <rguenther@suse.de>
960 PR tree-optimization/27830
961 * tree-inline.c (copy_body_r): For copying the operand
962 of an ADDR_EXPR make sure to fold &* afterwards.
964 2006-06-12 Eric Botcazou <ebotcazou@adacore.com>
966 * gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other
967 lvalues in the fb_none case with side-effects.
969 2006-06-12 Kazu Hirata <kazu@codesourcery.com>
971 * tree-flow.h: Remove the prototype for
972 compute_phi_arg_on_exit.
973 * tree-ssa-loop-ivopts.c (protect_loop_closed_ssa_form_use,
974 protect_loop_closed_ssa_form, compute_phi_arg_on_exit):
977 2006-06-12 Mark Shinwell <shinwell@codesourcery.com>
979 * builtins.c (expand_builtin_return_addr): Only use
980 frame_pointer_rtx when count == 0 and we are expanding
981 __builtin_return_address.
983 2006-06-12 Fred Fish <fnf@specifix.com>
985 * config/mips/mips.c (mips_file_start): Create special section
986 ".gcc_compiled_longXX" for o64 ABI as well as EABI.
988 2006-06-11 Eric Christopher <echristo@apple.com>
991 * stor-layout.c (place_field): Remove check for
992 remaining_in_alignment when aligning at the end of a run.
994 2006-06-11 Eric Christopher <echristo@apple.com>
997 * doc/extend.texi (Structure-Packing Pragmas): Document ms_struct
1000 2006-06-11 Roger Sayle <roger@eyesopen.com>
1003 Revert incorrect fix for PR target/27158
1004 2006-05-08 Roger Sayle <roger@eyesopen.com>
1005 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
1006 of a reg_equiv_constant if the result is a legitimate constant.
1008 2006-06-11 Roger Sayle <roger@eyesopen.com>
1011 * config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
1012 extract a CONST_VECTOR element and interpret it as an integer.
1013 (vspltis_constant): Use const_vector_elt_as_int instead of the
1014 macro CONST_VECTOR_ELT in order to handle FP vector modes.
1015 * config/rs6000/predicates.md (easy_vector_const): Consider
1016 floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
1018 2006-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
1021 * stor-layout.c (update_alignment_for_field): Don't add extra
1022 alignment for packed non-bitfield fields in ms_bitfield_layout_p
1025 2006-06-09 Ralf Corsepius <ralf.corsepius@rtems.org>
1027 * config/mips/t-rtems: Add EL/EB multilib variants.
1029 2006-06-09 Mike Stump <mrs@apple.com>
1031 * c-typeck.c (c_begin_vm_scope): Fix file_scope processing.
1033 2006-06-09 David Daney <ddaney@avtrex.com>
1035 * doc/install.texi: Add binutils version recommendation for mips-*-*.
1037 2006-06-09 Andreas Krebbel <krebbel1@de.ibm.com>
1039 * reload.c (find_reloads): Unset force_reload for 'X' constraint.
1041 2006-06-09 Richard Guenther <rguenther@suse.de>
1043 PR tree-optimization/26998
1044 * tree-vrp.c (extract_range_from_unary_expr): For NEGATE_EXPR
1045 of signed types, only TYPE_MIN_VALUE is special, but for both,
1046 minimum and maximum value. Likewise VR_ANTI_RANGE is special
1047 in this case, as is -fwrapv.
1049 2006-06-08 Mike Stump <mrs@apple.com>
1052 * config/darwin.c (darwin_asm_output_anchor): Disable
1053 -fsection-anchors on darwin for now.
1054 * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Likewise.
1055 * rs6000/rs6000.c (optimization_options): Likewise.
1057 2006-06-08 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1060 * config/i386/i386.c (classify_argument): Skip fields with invalid
1063 2006-06-08 Steven Bosscher <steven@gcc.gnu.org>
1065 * cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.
1066 (cse_insn): Likewise for the stack_pointer_rtx.
1068 2006-06-08 Roger Sayle <roger@eyesopen.com>
1070 * tree-ssa-dom.c (record_conditions): Only record "unordered"
1071 conditions from floating point comparisons.
1073 2006-06-08 Paolo Bonzini <bonzini@gnu.org>
1076 * expmed.c (struct alg_hash_entry): Fix type of field T
1077 to match synth_mult argument.
1078 (NUM_ALG_HASH_ENTRIES): Make it bigger for 64-bit HOST_WIDE_INT.
1080 2006-06-08 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1083 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Update basic
1086 2006-06-08 Richard Guenther <rguenther@suse.de>
1089 * fold-const.c (negate_expr_p): We can negate BIT_NOT_EXPR
1090 only, if overflow is defined and not trapping.
1091 (negate_expr): Likewise.
1093 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
1095 PR tree-optimization/27872
1096 * tree-ssa-loop-manip.c (tree_unroll_loop): Set EDGE_IRREDUCIBLE_LOOP
1097 flag on the new exit edge of the unrolled loop.
1099 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
1101 PR rtl-optimization/26449
1102 * loop-invariant.c (move_invariant_reg): Fail if force_operand fails.
1104 2006-06-07 Andrew MacLeod <amacleod@redhat.com>
1107 * tree-dfa.c (referenced_vars_dup_list): New. List of duplicate
1108 referenced_variables with matching DECL_UID's.
1109 (find_referenced_vars): Make sure duplicate list is empty to start.
1110 (referenced_var_p): Remove.
1111 (referenced_var_check_and_insert): Renamed from referenced_var_insert.
1112 Check if var is in the list, and add if needed. Update the duplicate
1113 list if a different var is in the list with the same DECL_UID.
1114 (add_referenced_var): Call routine to check and insert.
1115 * tree-ssa.c (delete_tree_ssa): Clear var_ann's on duplicates.
1116 * tree-flow.h (referenced_vars_dup_list): External declaration.
1118 2006-06-07 Fred Fish <fnf@specifix.com>
1120 * config/mips/t-elf (MULTILIB_MATCHES): Combine two entries
1123 2006-06-07 Paolo Bonzini <bonzini@gnu.org>
1126 * reg-stack.c (subst_stack_regs_pat): Reorder resetting of
1127 the imaginary and real parts of a clobbered register.
1128 Emit insn to set the imaginary part.
1130 2006-06-06 Peter Lemieszewski <lemie@us.ibm.com>
1132 * config/s390/t-tpf (LIB2ADDEH): Include unwind-dw2-fde-glibc.c
1133 in lieu of unwind-dw2-fde.c.
1135 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1137 * config/i386/mingw32.h (GOMP_SELF_SPECS): Define.
1139 2006-06-06 Ulrich Weigand <uweigand@de.ibm.com>
1142 * config/rs6000/altivec.md (UNSPEC_VSLW): Remove.
1143 ("altivec_vspltisw_v4sf", "altivec_vslw_v4sf"): Remove.
1144 ("mulv4sf3", "absv4sf3", "negv4sf3"): Adapt users to use
1145 V4SImode temporaries and operations instead.
1147 2006-06-06 Joseph S. Myers <joseph@codesourcery.com>
1149 * config/mips/t-linux64 (tp-bit.c): Append to tp-bit.c, not
1152 2006-06-06 Mike Stump <mrs@apple.com>
1154 * Makefile.in: Rename to htmldir to build_htmldir to avoid
1155 installing during build.
1157 2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1159 * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default
1161 * doc/invoke.texi (max-sched-extend-regions-iters): Document.
1162 * config/ia64/ia64.c (params.h): New header.
1163 (ia64_optimization_options): New function to adjust parameters.
1164 * config/ia64/ia64-protos.h (ia64_optimization_options): New prototype.
1165 * config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro.
1166 * config/ia64/t-ia64 (ia64.o): Add dependence from params.h .
1168 2006-06-05 Kazu Hirata <kazu@codesourcery.com>
1170 * stor-layout.c (debug_rli): Fix a typo in a debug message.
1172 2006-06-05 Steve Ellcey <sje@cup.hp.com>
1175 * config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
1177 2006-06-05 Dorit Nuzman <dorit@il.ibm.com>
1178 Victor Kaplansky <victork@il.ibm.com>
1180 PR tree-optimization/26360
1181 * tree-vectorizer.c (destroy_loop_vec_info): Remove (dead) pattern
1184 2006-06-04 Roger Sayle <roger@eyesopen.com>
1185 Andrew Pinski <pinskia@physics.uc.edu>
1188 * c-common.c (c_common_truthvalue_conversion): Explicitly check
1189 for LABEL_DECL before calling DECL_WEAK.
1192 * c-typeck.c (build_binary_op): Likewise, explicitly check for
1193 LABEL_DECL and PARM_DECL.
1195 2006-06-05 Joseph S. Myers <joseph@codesourcery.com>
1199 * c-decl.c (grokdeclarator): Disallow variably modified types at
1200 file scope. Avoid marking shared array type of constant size as
1203 2006-06-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1206 * c-common.c (fold_offsetof_1): Handle static members.
1208 2006-06-04 Eric Christopher <echristo@apple.com>
1210 * stor-layout.c (start_record_layout): Initialize remaining_in_alignment.
1211 (debug_rli): Output value for remaining_in_alignment.
1212 (update_alignment_for_field): Unconditionalize
1213 ms_bitfield_layout_p code. Handle non-bitfield fields. Remove
1214 extra alignment code.
1215 (place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize
1216 ms_bitfield_layout_p code. Rewrite handling of structure fields.
1217 * tree.h (record_layout_info_s): Remove prev_packed.
1218 * doc/extend.texi (ms_struct): Add documentation of format.
1220 2006-06-04 Mark Shinwell <shinwell@codesourcery.com>
1222 * tree.h: Declare folding_initializer.
1223 * builtins.c (fold_builtin_constant_p): Give definite answer
1224 if folding inside an initializer.
1225 * fold-const.c: Define folding_initializer.
1226 (START_FOLD_INIT): Save and then set folding_initializer.
1227 (END_FOLD_INIT): Restore folding_initializer.
1229 2006-06-04 Richard Guenther <rguenther@suse.de>
1231 PR tree-optimization/27039
1232 * fold-const.c (fold_comparison): Handle pointer comparison
1233 again for all comparison codes. Compare offsets in signed
1235 (fold_binary): Move code from here.
1237 2006-06-03 Roger Sayle <roger@eyesopen.com>
1240 * config/i386/i386.c (construct_container): Split static issued_error
1241 flag into issued_sse_arg_error, issued_sse_ret_error and
1242 issued_x87_ret_error. Issue a daignostic if the x86-64 ABI
1243 requires the use of x87 registers and the user explicitly
1244 specified the -mno-80387 command line option.
1246 2006-06-02 Geoffrey Keating <geoffk@apple.com>
1248 * config/rs6000/host-darwin.c (sigaltstack): Protect prototype with
1249 HAVE_DECL_SIGALTSTACK.
1251 (segv_handler): Use MC_FLD.
1252 * configure.ac: Check for a sigaltstack declaration.
1253 Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin.
1254 * configure: Regenerate.
1255 * config.in: Regenerate.
1257 2006-06-03 J"orn Rennecke <joern.rennecke@st.com>
1260 * Makefile.in (stmp-fixinc): Fix typo.
1262 2006-06-02 Roger Sayle <roger@eyesopen.com>
1264 * fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions
1265 are type correct. Clean-up.
1266 <REALPART_EXPR>: Likewise. Optimize creal(~z) as creal(z).
1267 <IMAGPART_EXPR>: Likewise. Optimize cimag(~z) as -cimag(z).
1269 2006-06-01 DJ Delorie <dj@redhat.com>
1271 * config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
1272 shift, as we've disabled the "switch" insn that needs it.
1274 2006-06-01 Per Bothner <bothner@bothner.com>
1276 Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.
1277 * c-opts.c (finish_options): Use internal line 0 for <command-line>.
1278 * c-ppoutput.c (cb_define): Don't increment line 0.
1280 2006-06-01 Pete Steinmetz <steinmtz@us.ibm.com>
1282 * doc/invoke.texi: Add cpu_type power6.
1283 * config.gcc: Add cpu_type power6.
1284 * config/rs6000/rs6000.c (rs6000_override_options): Alias power6
1285 to power5+ with Altivec.
1286 * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6.
1287 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6.
1289 2006-05-30 Anatoly Sokolov <aesok@post.ru>
1291 * config/avr/avr.h (SET_ASM_OP): Define.
1293 2006-06-01 Kazu Hirata <kazu@codesourcery.com>
1295 * config/bfin/bfin.c: Fix comment typos.
1297 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
1300 * doc/install.texi: Document --enable-bootstrap and
1301 --disable-bootstrap.
1303 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
1305 * doc/install.texi: Document that InfoZIP can replace jar.
1307 2006-05-31 Roger Sayle <roger@eyesopen.com>
1309 * config/i386/i386.c (ix86_expand_fp_absneg_operator): When SSE
1310 isn't available, directly generate the simpler x87 patterns without
1311 the (use (const_int 0)).
1312 * config/i386/i386.md (*negsf2_1): Enable pre-reload if the SSE
1313 implementation isn't available.
1314 (*negdf2_1): Likewise.
1315 (*negxf2_1): XF mode negation is always done using the x87.
1316 (*abssf2_1, *absdf2_1, *absxf2_1): Likewise^3 for fabs.
1318 2006-05-31 Roger Sayle <roger@eyesopen.com>
1320 * builtins.c (fold_builtin_cabs): Delete prototype. Require an
1321 additional FNDECL argument. Optimize cabs(-z) and cabs(~z) as
1323 (fold_builtin_decl) <BUILT_IN_CABS>: Update fold_builtin_cabs call.
1325 2006-05-31 Jie Zhang <jie.zhang@analog.com>
1327 * config/bfin/bfin-protos.h (bfin_hardware_loop): Declare.
1328 * config/bfin/bfin.c (basic-block.h): Include.
1329 (struct machine_function): New.
1330 (bfin_init_machine_status): New.
1331 (override_options): Initialize init_machine_status.
1332 (bfin_hardware_loop): New.
1333 (MAX_LOOP_DEPTH, MAX_LOOP_LENGTH): Define.
1334 (DEF_VEC_P (loop_info)): New.
1335 (DEF_VEC_ALLOC_P (loop_info,heap)): New.
1336 (struct loop_info): New.
1337 (loop_info): New typedef.
1338 (struct loop_work): New.
1339 (loop_work): New typedef.
1340 (DEF_VEC_O (loop_work)): New.
1341 (DEF_VEC_ALLOC_O (loop_work,heap)): New.
1342 (bfin_dump_loops): New.
1343 (bfin_bb_in_loop): New.
1344 (bfin_scan_loop): New.
1345 (bfin_optimize_loop): New.
1346 (bfin_reorg_loops): New.
1347 (bfin_reorg): Use bfin_reorg_loops.
1348 * config/bfin/bfin.h (FIRST_PSEUDO_REGISTER): Adjust for adding
1350 (I_REGNO_P): Simplify.
1351 (DP_REGNO_P, DPREG_P): New macros.
1352 (REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS,
1353 REG_ALLOC_ORDER): Add LT0, LT1, LC0, LC1, LB0, LB1.
1354 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
1355 Add LT_REGS, LC_REGS, LB_REGS.
1356 (REG_CLASS_FROM_LETTER): Add 't' for LT_REGS, 'k' for LC_REGS,
1358 (REGNO_REG_CLASS): Deal with loop registers.
1359 * config/bfin/bfin.md: Add comment for 't', 'k', 'l' constraint
1361 (REG_LT0, REG_LT1, REG_LC0, REG_LC1, REG_LB0, REG_LB1):
1362 New constants for loop registers.
1363 (UNSPEC_LSETUP_END): New.
1364 (seq_insns): New define_attr. Set it for appropriate insns.
1365 (movsi_insn): Add alternatives for move from/to
1366 loop count registers.
1367 (doloop_end): New define_expand.
1368 (loop_end): New define_insn.
1369 (define_split for bad doloop_end): New.
1370 (lsetup_with_autoinit): New define_insn.
1371 (lsetup_without_autoinit): New define_insn.
1372 (rep_movsi, rep_movhi): Clobber LT1, LC1, LB1.
1373 * config/bfin/predicates.md (lc_register_operand): New.
1374 (lt_register_operand): New.
1375 (lb_register_operand): New.
1376 (nondp_register_operand): New.
1377 (nondp_reg_or_memory_operand): New.
1378 * doc/md.texi: Document Blackfin new 't', 'k', 'l' constraint letters.
1380 2006-05-31 Jie Zhang <jie.zhang@analog.com>
1382 * config/bfin/bfin.c (bfin_delegitimize_address): New.
1383 (TARGET_DELEGITIMIZE_ADDRESS): Define.
1385 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
1387 * Makefile.in (CATALOGS): Add po/ prefix.
1388 * configure: Regenerated.
1390 2006-05-31 Richard Earnshaw <richard.earnshaw@arm.com>
1393 * arm.c (arm_print_operand case 'S'): Validate that the operand is
1394 a shift operand before calling shift_op. Avoid redundant call of
1397 2006-05-30 Naveen.H.S <naveenh@kpitcummins.com>
1398 DJ Delorie <dj@redhat.com>
1400 * config/m32c/m32c.c (m32c_expand_insv): Check that the value
1401 we're inserting is a singlt-bit constant.
1403 2006-05-30 Roger Sayle <roger@eyesopen.com>
1405 * simplify-rtx.c (simplify_binary_operation_1) <LSHIFTRT>: Cast
1406 width to HOST_WIDE_INT to avoid comparison warnings on some targets.
1408 2006-05-30 Roger Sayle <roger@eyesopen.com>
1410 PR tree-optimization/23452
1411 * fold-const.c (fold_mult_zconjz): New subroutine of fold_binary,
1412 to optimize z * conj(z) as realpart(z)^2 + imagpart(z)^2.
1413 (fold_binary) <MULT_EXPR>: Call fold_mult_zconjz for integral
1414 complex values and with -ffast-math for FP complex values.
1416 2006-05-30 Kazu Hirata <kazu@codesourcery.com>
1418 * c-common.h: Remove the prototype for yyparse.
1419 * rtl.h: Remove the prototype for init_loop.
1421 2006-05-30 Andreas Krebbel <krebbel1@de.ibm.com>
1423 * cse.c (validate_canon_reg, cse_insn): Don't change insns without
1426 2006-05-30 Roger Sayle <roger@eyesopen.com>
1428 * simplify-rtx.c (simplify_binary_operation): Unfactor the shift
1430 <LSHIFTRT>: Optimize (lshiftrt (clz X) C) as (eq X 0) where C is
1431 log2(GET_MODE_BITSIZE(X)) on targets with the appropriate semantics.
1433 2006-05-30 Dirk Mueller <dmueller@suse.de>
1436 * c-common.c (convert_and_check): Only track TREE_CONSTANT_OVERFLOW
1437 for CONSTANT_CLASS_P expresisons.
1439 2006-05-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1442 * c-typeck.c (c_expr_sizeof_type): Handle invalid types.
1444 2006-05-30 Zdenek Dvorak <dvorakz@suse.cz>
1446 PR tree-optimization/27779
1447 * tree-data-ref.c (analyze_siv_subscript_cst_affine): Use
1448 initial_condition instead of CHREC_LEFT.
1450 2006-05-30 Steven Bosscher <stevenb.gcc@gmail.com>
1452 * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Fix type of begin_label.
1453 * config/m32r/initfini.c (__do_global_dtors, __do_global_ctors):
1454 Make prototypes ISO C90.
1456 2006-05-30 Mircea Namolaru <namolaru@il.ibm.com>
1457 Leehod Baruch <leehod.baruch@weizmann.ac.il>
1459 * see.c (see_analyze_one_def): Correct check.
1460 (see_get_extension_data): Check if extension is parallel.
1461 (see_get_extension_reg): Likewise.
1463 2006-05-30 Uros Bizjak <uros@kss-loka.si>
1466 * config/i386/i386.c (ix86_expand_int_vcond): Force cop0
1467 into register for (code == GTU).
1469 2006-05-29 Roger Sayle <roger@eyesopen.com>
1471 PR tree-optimization/24964
1472 * simplify-rtx.c (simplify_binary_operation_1): Add function comment.
1473 <MULT>: Minor clean-up. Don't convert x*-1.0 into -x if we honor
1474 signaling NaNs. Optimize -x*-x as x*x for all float modes, and
1475 abs(x)*abs(x) as x*x for scalar floating point modes.
1477 2006-05-29 Sebastian Pop <pop@cri.ensmp.fr>
1480 * lambda-code.c (perfect_nestify): Don't copy statements
1481 in the inner loop: move them to the inner loop header.
1483 2006-05-29 Diego Novillo <dnovillo@redhat.com>
1486 * c-tree.texi: Document OpenMP directives and clauses.
1488 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
1490 * varasm.c (globalize_decl): Fix indentation.
1492 2006-05-29 Diego Novillo <dnovillo@redhat.com>
1495 * doc/passes.texi: Add documentation for pass_vrp, pass_ipa_pta,
1496 pass_fre, pass_store_ccp, pass_copy_prop,
1497 pass_store_copy_prop, pass_merge_phi, pass_nrv,
1498 pass_return_slot, pass_object_size, pass_lim,
1499 pass_linear_transform, pass_empty_loop, pass_complete_unroll,
1500 pass_loop_prefetch and pass_stdarg.
1502 2005-05-29 Bernd Schmidt <bernd.schmidt@analog.com>
1504 * config/bfin/bfin.opt (mfdpic): New option.
1505 * config/bfin/t-bfin-elf (EXTRA_PARTS): Add crtbeginS.o and crtendS.o.
1506 (EXTRA_MULTILIB_PARTS): Likewise.
1507 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): Use -fpic.
1508 (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Build one extra -mfdpic
1510 * config/bfin/elf.h (STARTFILE_SPEC): Don't link in crt0.o if -shared.
1511 (CRT_CALL_STATIC_FUNCTION): New.
1512 * config/bfin/uclinux.h (STARTFILE_SPEC): Don't link in crt0.o if
1514 (CRT_CALL_STATIC_FUNCTION): New.
1515 * config/bfin/bfin.c (legitimize_pic_address): Now static. Handle
1517 (n_pregs_to_save): PIC register doesn't need to be saved with FD-PIC.
1518 (print_operand): Handle UNSPEC_MOVE_FDPIC and UNSPEC_FUNCDESC_GOT17M4.
1519 (initialize_trampoline): Changed to handle FD-PIC code generation.
1520 (expand_move): If TARGET_FDPIC, use emit_pic_move as needed.
1521 (bfin_expand_call): Generate FD-PIC calls if TARGET_FDPIC.
1522 (override_options): Disallow -mid-shared-library -mfdpic combination.
1523 Can't do unaligned ops if FD-PIC.
1524 Turn off flag_pic if trying to generate non-id-shared-library
1525 non-fdpic code, since it's not supported.
1526 (bfin_assemble_integer): New function.
1527 (TARGET_ASM_INTEGER): Define.
1528 * config/bfin/crti.s (__init, __fini): Save P3 on the stack if
1530 * config/bfin/crtn.s: Restore them.
1531 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __BFIN_FDPIC__
1533 (DRIVER_SELF_SPECS, SUBTARGET_DRIVER_SELF_SPECS,
1534 LINK_GCC_C_SEQUENCE_SPEC, ASM_SPEC, LINK_SPEC): New macros.
1535 (FDPIC_FPTR_REGNO, FDPIC_REGNO, OUR_FDPIC_REG): New macros.
1536 (TRAMPOLINE_SIZE, TRAMPOLINE_TEMPLATE): Adjust for FD-PIC.
1537 (CONDITIONAL_REGISTER_USAGE): If TARGET_FDPIC, FDPIC_REGNO is
1539 (enum reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Add
1540 FDPIC_REGS and FDPIC_FPTR_REGS.
1541 (REG_CLASS_FROM_LETTER): Use 'Z' and 'Y' for them.
1542 * config/bfin/bfin.md (UNSPEC_MOVE_FDPIC, UNSPEC_FUNCDESC_GOT17M4,
1543 UNSPEC_VOLATILE_LOAD_FUNCDESC): New constants.
1544 (load_funcdescsi): New pattern.
1545 (call_symbol_fdpic, sibcall_symbol_fdpic, call_value_symbol_fdpic,
1546 sibcall_value_symbol_fdpic, call_insn_fdpic, sibcall_insn_fdpic,
1547 call_value_insn_fdpic, sibcall_value_insn_fdpic): New patterns.
1549 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
1551 * gcse.c, rtlanal.c: Remove obsolete comments associated with
1554 * config/bfin/bfin.h (PARM_BOUNDRY, STACK_BOUNDRY): Remove.
1556 * tree-flow.h: Remove the prototype for add_type_alias.
1557 * tree-ssa-alias.c (add_type_alias): Remove.
1559 2006-05-28 Kazu Hirata <kazu@codesourcery.com>
1561 * cfgcleanup.c, cfgexpand.c, cgraphunit.c, config/arm/arm.c,
1562 config/fr30/fr30.md, config/i386/i386-interix.h,
1563 config/i386/i386.c, config/i386/i386.md, config/sh/superh.h,
1564 config/sh/superh64.h, config/v850/v850.c, df-core.c,
1565 df-problems.c, df.h, except.c, final.c, haifa-sched.c,
1566 lambda-code.c, libgcc2.h, omp-low.c, optabs.c, predict.c,
1567 reload.c, tree-flow.h, tree-outof-ssa.c, tree-ssa-dce.c,
1568 tree-ssa-pre.c, tree-vect-transform.c: Fix comment typos.
1569 Follow spelling conventions.
1570 * doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix typos.
1571 Follow spelling conventions.
1573 2006-05-27 Richard Guenther <rguenther@suse.de>
1576 * fold-const.c (fold_plusminus_mult_expr): Use fold_convert
1577 to produce a constant of value 1 of generic type.
1579 2006-05-27 Dirk Mueller <dmueller@suse.de>
1581 * cgraphunit.c (decide_is_function_needed): Fix wrong
1584 2006-05-26 Ulrich Weigand <uweigand@de.ibm.com>
1586 PR rtl-optimization/27661
1587 * reload.c (find_reloads): When reloading a VOIDmode constant
1588 as address due to an EXTRA_MEMORY_CONSTRAINT or 'o' constraint,
1589 use Pmode as mode of the reload register.
1591 2006-05-26 Eric Botcazou <ebotcazou@adacore.com>
1593 * doc/invoke.texi (Optimize Options): Document that -funit-at-a-time
1594 is enabled at -O and above.
1596 2006-05-26 Steven Bosscher <steven@gcc.gnu.org>
1599 * config/alpha/alpha.c (alpha_does_function_need_gp): Skip jump
1602 2006-05-25 Mark Mitchell <mark@codesourcery.com>
1605 * gimplify.c (gimplify_decl_expr): Do not call gimple_add_tmp_var
1606 for anonymous variables explicitly declared by front ends.
1608 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
1610 * tree-ssa-structalias.h (PTR_IS_REF_ALL): New macro.
1611 (struct alias_info): Add new field ref_all_symbol_mem_tag.
1612 * tree-ssa-alias.c (compute_may_aliases): If the program contains
1613 ref-all pointers, run a finalization pass for them.
1614 (compute_flow_insensitive_aliasing): Skip ref-all pointers.
1615 (finalize_ref_all_pointers): New function.
1616 (is_escape_site): Return ESCAPE_BAD_CAST for conversion from a
1617 regular pointer type to a ref-all pointer type.
1618 (get_tmt_for): Return the special memory tag for ref-all pointers.
1620 2006-05-25 Richard Guenther <rguenther@suse.de>
1623 * fold-const.c (fold_binary): Do not look at the stripped
1624 op0 for (a OP c1) OP c2 to a OP (c1+c2) shift optimization.
1626 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
1628 * tree-vrp.c (extract_range_from_assert): Set the range to VARYING
1629 for LT and GT if the computed range is effectively empty.
1631 2006-05-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1634 * pa/pa-modes.def: Use mips_single_format, mips_double_format and
1635 mips_quad_format formats instead of ieee_single_format,
1636 ieee_double_format and ieee_quad_format formats, respectively.
1638 2006-05-24 Zdenek Dvorak <dvorakz@suse.cz>
1640 PR tree-optimization/27639
1641 PR tree-optimization/26719
1642 * tree-vrp.c (adjust_range_with_scev): Use scev_direction and adjust
1643 call to scev_probably_wraps_p.
1644 * tree-ssa-loop-niter.c (compare_trees, convert_step_widening,
1645 used_in_pointer_arithmetic_p, convert_step): Removed.
1646 (nowrap_type_p): New function.
1647 (scev_probably_wraps_p): Rewritten.
1648 * tree-scalar-evolution.c (instantiate_parameters_1): Do not call
1649 chrec_convert if chrec_convert_aggressive might have been used.
1650 * tree-chrec.c (convert_affine_scev, chrec_convert_1,
1651 scev_direction): New functions.
1652 (chrec_convert): Changed to a wrapper over chrec_convert_1.
1653 * tree-ssa-loop-ivopts.c (idx_find_step): Use convert_affine_scev
1654 instead of convert_step.
1655 * tree-flow.h (scev_probably_wraps_p): Declaration changed.
1656 (convert_step): Declaration removed.
1657 (convert_affine_scev, nowrap_type_p, scev_direction): Declare.
1659 2006-05-23 Kenneth Zadeck <zadeck@naturalbridge.com>
1661 * df-core.c: Added to header comments.
1662 * df.h (df_ru_bb_info, df_rd_bb_info, df_lr_bb_info,
1663 df_ur_bb_info, df_urec_bb_info): Added comments.
1664 * df-problems (df_ref_bitmap, ru, rd, lr, ur,
1665 urec, ri problems): Fixed header comments.
1666 (df_ru_transfer_function): Fixed in-out set dyslexia when copying
1667 code from df_rd_transfer_function.
1669 2006-05-23 Richard Sandiford <richard@codesourcery.com>
1671 * libgcc2.c (LIBGCC2_MAX_UNITS_PER_WORD): New macro.
1672 (LIBGCC2_UNITS_PER_WORD): Use LIBGCC2_MAX_UNITS_PER_WORD rather than
1673 MIN_UNITS_PER_WORD to set the default. Also use it in the guard.
1675 2006-05-23 Joseph Myers <joseph@codesourcery.com>
1677 * expr.c (undefined_operand_subword_p): New.
1678 (emit_move_multi_word): Do not generate move from undefined bits
1679 of a paradoxical subreg.
1681 2006-05-23 Richard Sandiford <richard@codesourcery.com>
1683 PR rtl-optimization/27736
1684 * combine.c (replaced_rhs_value): New variable.
1685 (combine_instructions): Set it.
1686 (distribute_notes): When distributing a note in replaced_rhs_insn,
1687 check whether the value was used in replaced_rhs_value.
1689 2006-05-23 Andrew MacLeod <amacleod@redhat.com>
1692 * tree-ssa-loop-im.c (determine_invariantness_stmt): Use
1693 add_referenced_var instead of add_referenced_tmp_var.
1694 * tree-complex.c (create_one_component_var): Use add_referenced_var.
1695 * tree-ssa-loop-manip.c (create_iv, tree_unroll_loop): Use
1697 * tree-tailcall.c (adjust_accumulator_values, adjust_return_value,
1698 tree_optimize_tail_calls_1): Use add_referenced_var.
1699 * tree-ssa-loop-ivopts.c (create_new_iv): Use add_referenced_var.
1700 * tree-ssa-alias.c (create_memory_tag, create_global_var, create_sft):
1701 Use add_referenced_var.
1702 * tree-if-conv.c (ifc_temp_var): Use add_referenced_var.
1703 * gimplify.c (force_gimple_operand): Use add_referenced_var.
1704 * tree-ssa-phiopt.c (conditional_replacement, abs_replacement):
1705 Use add_referenced_var.
1706 * tree-dfa.c (struct walk_state): Remove.
1707 (find_referenced_vars): Remove walk state and vars_found hash table.
1708 (make_rename_temp): Use add_referenced_var.
1709 (find_vars_r): Pass less parameters to add_referenced_var.
1710 (referenced_var_p): New. Is var in referenced_var hash table.
1711 (referenced_var_insert): Assert var isn't already in hash table.
1712 (add_referenced_var): Don't need walk_state parameter. Add var if it
1713 isn't already in the hash table.
1714 (add_referenced_tmp_var): Remove.
1715 (find_new_referenced_vars_1): Use add_referenced_var.
1716 * tree-ssa-pre.c (create_expression_by_pieces,
1717 insert_into_preds_of_block, insert_extra_phis, realify_fake_stores):
1718 Use add_referenced_var.
1719 * tree-vect-patterns.c (vect_pattern_recog_1): Use add_referenced_var.
1720 * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression,
1721 lambda_loopnest_to_gcc_loopnest, perfect_nestify): Use
1723 * tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
1724 vect_create_data_ref_ptr, vect_create_destination_var,
1725 vect_init_vector, vect_build_loop_niters,
1726 vect_generate_tmps_on_preheader, vect_update_ivs_after_vectorizer,
1727 vect_gen_niters_for_prolog_loop, vect_create_cond_for_align_checks):
1728 Use add_referenced_var.
1729 * tree-outof-ssa.c (create_temp): Use add_referenced_var.
1730 * tree-flow.h (add_referenced_tmp_var): Remove prototype
1731 (add_referenced_var): Add prototype.
1732 * tree-ssa-structalias.c (get_constraint_for,
1733 intra_create_variable_infos): Use add_referenced_var.
1735 2006-05-23 Alexandre Oliva <aoliva@redhat.com>
1737 * simplify-rtx.c (simplify_subreg): Adjust REG_OFFSET for
1738 big-endian paradoxical subregs.
1739 * var-tracking.c (struct micro_operation_def): Document that,
1740 for modify micro operations, insn is the subsequent instruction.
1741 (var_reg_delete_and_set, var_mem_delete_and_set): Split into...
1742 (var_reg_set, var_mem_set): ... new functions.
1743 (add_stores): Record subsequent insn.
1744 (compute_bb_dataflow): Use new functions for MO_USE.
1745 (emit_notes_in_bb): Use new functions for MO_USE. Emit use
1746 notes after the insn, and modify notes before the insn known
1747 to be the subsequent one.
1748 (vt_initialize): Invert sorting of MO_CLOBBERs and MO_SETs.
1750 2006-05-23 Kazu Hirata <kazu@codesourcery.com>
1753 * config/i386/i386.c (ix86_expand_builtin): Use
1754 gen_sse3_monitor64 for TARGET_64BIT.
1756 2006-05-22 Kenneth Zadeck <zadeck@naturalbridge.com>
1758 PR rtl-optimization/26375
1759 PR rtl-optimization/26855
1760 * df-problems (df_ru_bb_local_compute_process_def): Removed update
1762 (df_ru_bb_local_compute): Reversed statements and removed bogus
1763 comment explaining why they should be in wrong order.
1764 (df_ru_dump, df_rd_dump): Enhanced debug info.
1765 * modulo-sched.c (sms_schedule, tree_opt_pass pass_sms): Enhanced
1767 * ddg.c (add_deps_for_def): Converted use of reaching defs to
1768 reaching uses and fixed space problem.
1770 2006-05-23 Jan Hubicka <jh@suse.cz>
1772 * cgraphunit.c (decide_is_function_needed): Also nested functions
1773 and functions declared inline can be optimized out at -O0.
1775 2006-05-22 Gerald Pfeifer <gerald@pfeifer.com>
1777 * doc/install.texi (Configuration): Remove reference to CrossGCC
1781 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
1784 * config/i386/i386.c (ix86_expand_branch): Jump to simple if
1785 ix86_compare_emitted is non-NULL.
1787 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1790 * stmt.c (expand_asm_operands): Skip asm statement with erroneous
1793 2006-05-22 Richard Sandiford <richard@codesourcery.com>
1795 PR rtl-optimization/25514
1796 * combine.c (replaced_rhs_insn): New variable.
1797 (combine_instructions): Set replaced_rhs_insn when trying to replace
1798 a SET_SRC with a REG_EQUAL note.
1799 (distribute_notes): Use replaced_rhs_insn when determining the live
1800 range of a REG_DEAD register.
1802 2006-18-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
1803 Anatoly Sokolov <aesok@post.ru>
1805 * config/avr/avr.c (avr_mcu_types): Add support for attiny261,
1806 attiny461, attiny861, attiny25, attiny45, attiny85, attiny24,
1807 attiny44, attiny84, at90pwm2, at90pwm3, atmega165p, atmega169p,
1808 atmega164p, atmega324p, atmega644p, atmega644, atmega329,
1809 atmega3290, atmega649, atmega6490, atmega406, atmega640,
1810 atmega1280, atmega1281, at90can32, at90can64, at90usb646,
1811 at90usb647, at90usb1286 and at90usb1287 devices.
1812 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
1813 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
1815 2006-05-22 Richard Sandiford <richard@codesourcery.com>
1817 * mklibgcc.in (lib2funcs): Remove _floatdidf from initial assignment.
1819 2006-05-22 Richard Guenther <rguenther@suse.de>
1822 2006-01-31 Richard Guenther <rguenther@suse.de>
1823 Paolo Bonzini <bonzini@gnu.org>
1825 * doc/install.texi (--disable-libgcc-math): Document.
1827 2006-05-22 Richard Guenther <rguenther@suse.de>
1830 2006-01-31 Richard Guenther <rguenther@suse.de>
1832 * doc/invoke.texi (-msselibm): Document.
1833 * target.h (expand_library_builtin): New target hook.
1834 * builtins.c (expand_builtin): Use expand_library_builtin.
1835 (default_expand_library_builtin): New function.
1836 * gcc.c (LINK_GCC_MATH_SPEC): Define.
1837 (LINK_COMMAND_SPEC): Handle %(link_gcc_math).
1838 (link_gcc_math_spec): Declare.
1839 (static_specs): Add link_gcc_math_spec.
1840 * expr.h (default_expand_library_builtin): Declare.
1841 * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
1842 (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN.
1843 * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC.
1844 * config/i386/i386.opt (msselibm): New target option.
1845 * config/i386/i386.c (ix86_builtin_function_variants): New array.
1846 (ix86_init_sse_abi_builtins): New function.
1847 (ix86_expand_library_builtin): Likewise.
1848 (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
1849 (override_options): Handle error conditions wrt -msselibm.
1850 (ix86_builtins): Add function codes for SSE2 ABI builtins.
1851 (ix86_init_builtins): Call ix86_init_sse_abi_builtins.
1852 * doc/extend.texi (__builtin_sse2_*): Document new target specific
1855 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1858 * c-common.c (self_promoting_args_p): Skip erroneous args.
1861 * c-decl.c (finish_struct): Skip erroneous fields.
1863 2006-05-22 Nick Clifton <nickc@redhat.com>
1865 * config/cris/cris.opt (march): Remove VarExists attribute.
1866 (max-stackframe=): Likewise.
1868 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
1870 * doc/rtl.texi: Fix a typo.
1871 * see.c: Fix comment typos.
1873 * tree-ssa-structalias.h (alias_info): Remove num_references.
1875 2006-05-21 Mike Stump <mrs@apple.com>
1877 * config/darwin-c.c (BAD): Conditionalize on OPT_Wpragmas.
1879 (darwin_pragma_options): Use BAD instead.
1880 (darwin_pragma_unused): Likewise.
1881 (darwin_pragma_ms_struct): Likewise.
1883 2006-05-21 David Edelsohn <edelsohn@gnu.org>
1885 * config/rs6000/rs6000.md (floatsitf2): Remove constraints.
1887 2006-05-21 Kazu Hirata <kazu@codesourcery.com>
1889 PR rtl-optimization/27671
1890 * simplify-rtx.c (simplify_relational_operation_1): Fix
1891 simplifications of (eq/ne (xor x y) y) and
1892 (eq/ne (xor x y) x).
1894 PR tree-optimization/26622.
1895 * fold-const.c (fold_ternary) <COND_EXPR>: Call fold_convert
1898 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
1900 * tree-cfg.c: Prune whitespace.
1901 (debug_tree_cfg): Point to correct header containing the
1904 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
1907 * cgraphunit.c (verify_cgraph_node): Typo in error message.
1909 2006-05-20 Andrew Pinski <pinskia@physics.uc.edu>
1912 * cgraphunit.c (cgraph_optimize): Don't run ipa passes if error
1913 or sorry count is non zero.
1915 2006-05-20 Andreas Schwab <schwab@suse.de>
1917 * config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab.
1919 2006-05-19 Daniel Berlin <dberlin@dberlin.org>
1920 Kenneth Zadeck <zadeck@naturalbridge.com>
1922 PR rtl-optimization/26855
1924 * df-scan.c (mw_reg_pool, mw_link_pool): New allocation pools for
1926 (df_scan_alloc): Added code to properly handle multiword hard
1927 registers and add all_blocks parameter.
1928 (df_scan_free_internal, df_insn_refs_delete, df_ref_record): Added
1929 code to properly handle multiword hard registers.
1930 (df_rescan_blocks): Added code to remove deleted blocks from
1932 (df_ref_create_structure, df_ref_record): Added code to properly
1934 (df_ref_record_1): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER
1935 and set DF_REF_PARTIAL.
1936 (df_defs_record): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER.
1937 (df_uses_record): Added DF_REF_PARTIAL for subreg.
1938 (df_scan_add_problem): Added flags parameter.
1939 (df_ref_create_structure): Changed switching structure.
1940 (df_bb_refs_record): Fixed case where duplicate artificial refs
1941 were created. Changed location of flags.
1942 (df_record_entry_block_defs): Added code to make stack pointer
1943 live in entry block. Refined cases where frame pointer is needed.
1944 Changed location of flags.
1945 (df_record_exit_block_uses, df_insn_refs_record): Changed location of flags.
1946 (df_set_state): Removed function.
1947 (df_grow_reg_info, df_reg_chain_unlink, df_ref_remove,
1948 df_insn_create_insn_record, df_insn_refs_delete,
1949 df_ref_create_structure): Formatting changes.
1950 * df-core.c (df_mvs_dump, df_set_flags, df_clear_flags,
1951 df_delete_basic_block): New function.
1952 (df_init): Changed location of flags.
1953 (df_add_problem): Added flags parameter and the way flags are
1955 (df_insn_uid_debug, df_ref_debug, debug_df_defno, debug_df_ref,
1956 debug_df_chain): Improved debugging output.
1957 (df_insn_debug, df_insn_uid_debug): Added multiword reg support.
1958 (df_refs_chain_dump): Removed df parameter.
1959 (df_iterative_dataflow): Added consistency check.
1960 (df_prune_to_subcfg): Made public.
1961 (df_analyze_problem): Added blocks_to_init parameter and made
1963 (df_ref_record, df_bb_refs_record, df_mark_reg,
1964 df_record_exit_block_uses): Whitespace changes.
1965 (df_dump): Whitespace changes.
1966 * df.h: Some reordering to remove forward references.
1967 (df_ref_flags.DF_REF_MW_HARDREG, DF_REF_PARTIAL,
1968 DF_REF_MUST_CLOBBER, DF_REF_MAY_CLOBBER): New fields.
1969 (df_ref_flags.DF_REF_CLOBBER): Deleted field.
1970 (dataflow.flags): New field.
1971 (df.flag): Deleted field.
1972 (df_alloc_function): Added additional bitmap parameter.
1973 (df_dependent_problem_function): New type.
1974 (df_problem.changeable_flags): New field.
1975 (df_ref_flags.DF_REF_DIES_AFTER_THIS_USE, DF_SCAN_INITIAL,
1976 DF_SCAN_GLOBAL, DF_SCAN_POST_ALLOC, df_state): Removed.
1977 (df_mw_hardreg): New struct.
1978 (DF_INSN_UID_MWS): New macro.
1979 (df_refs_chain_dump, df_ref_debug, df_chain_dump): Removed df
1981 (df_add_problem, df_ru_add_problem, df_rd_add_problem,
1982 df_lr_add_problem, df_ur_add_problem, df_urec_add_problem,
1983 df_ri_add_problem, df_scan_add_problem): Added flags parameter.
1984 (df_set_state): Removed function.
1985 (df_set_flags, df_clear_flags, df_delete_basic_block) New functions.
1986 * df-problems.c (df_chain_dump): Removed df parameter.
1987 (df_ru_alloc, df_rd_alloc, df_lr_alloc, df_ur_alloc,
1988 df_urec_alloc, df_chain_alloc, df_ri_alloc): Added all blocks
1990 (df_ru_alloc, df_rd_alloc): Now resets all blocks.
1991 (df_rd_bb_local_compute_process_def, df_ur_bb_local_compute,
1992 df_chain_create_bb, df_create_unused_note, df_ri_bb_compute):
1993 Split DF_REF_CLOBBER into DF_REF_MAY_CLOBBER and
1994 DF_REF_MUST_CLOBBER cases.
1995 (df_ru_bb_local_compute_process_def,
1996 df_rd_bb_local_compute_process_def, df_lr_bb_local_compute,
1997 df_lr_bb_local_compute, df_ur_bb_local_compute,
1998 df_chain_create_bb): Made subreg aware.
1999 (df_ru_bb_local_compute, df_rd_bb_local_compute,
2000 df_lr_bb_local_compute, df_lr_bb_local_compute,
2001 df_chain_create_bb): Cleanup to use proper macros.
2002 (df_ur_local_finalize, df_urec_local_finalize): Removed unnecessary
2003 code to fixup bitvectors.
2004 (df_ri_alloc): Cleared lifetime.
2005 (df_ignore_stack_reg, df_kill_notes, df_set_notes_for_mw,
2006 df_create_unused_note): New function.
2007 (df_ri_bb_compute, df_ri_compute): Added code to create/update
2008 REG_DEAD and REG_UNUSED notes as well as register information.
2009 (df_ru_dump, df_rd_dump, df_lr_dump, df_ur_dump, df_urec_dump,
2010 df_chains_dump): Fixed crash if problem was never run.
2011 (df_ru_add_problem, df_rd_add_problem, df_lr_add_problem,
2012 df_ur_add_problem, df_urec_add_problem, df_chain_add_problem,
2013 df_ri_add_problem): Processes flags in uniform manner.
2014 (df_ru_alloc, df_ru_local_compute, df_ru_confluence_n, df_ru_free,
2015 df_ru_dump, df_rd_local_compute, df_rd_confluence_n, df_rd_free,
2016 df_rd_dump, df_urec_free_bb_info): Formatting changes.
2017 (df_ru_free_bb_info, df_ru_bb_local_compute, df_ru_dump,
2018 df_rd_free_bb_info, df_rd_bb_local_compute_process_def,
2019 df_rd_bb_local_compute, df_rd_dump, df_lr_free_bb_info,
2020 df_lr_bb_local_compute, df_lr_local_compute, df_ur_free_bb_info,
2021 df_ur_dump, df_urec_free_bb_info, df_urec_dump,
2022 df_chain_create_bb, df_ri_bb_compute): Whitespace changes.
2023 * modulo-sched.c (sms_schedule): Added flag parameter to calls.
2024 * see.c (see_initialize_data): Ditto.
2025 * final.c (rest_of_clean_state) Added regstack_completed.
2026 * rtl.h (regstack_completed): Ditto.
2027 * reg-stack.c (regstack_completed): Ditto.
2029 2006-05-19 Mike Stump <mrs@apple.com>
2031 * c-tree.h (default_conversion): Remove.
2032 * c-common.h (default_conversion): Add.
2034 2006-05-19 Zdenek Dvorak <dvorakz@suse.cz>
2036 * tree-vrp.c (valid_value_p): New function.
2037 (adjust_range_with_scev): Fail if the value of bound is not
2040 2006-05-19 Richard Sandiford <richard@codesourcery.com>
2042 * config/mips/linux-unwind.h: Include <asm/unistd.h>
2043 (mips_fallback_frame_state): Use syscall numbers to determine
2044 the appropriate li instruction for the current ABI. Only use
2045 __NR_sigreturn for o32.
2047 2006-05-19 Nicolas Setton <setton@adacore.com>
2049 * langhooks.h (struct lang_hooks): Add dwarf_name language hook.
2050 * langhooks.c (lhd_dwarf_name): New function.
2051 * langhooks-def.h (lhd_dwarf_name): Declare.
2052 (LANG_HOOKS_DWARF_NAME): New macro, defaults to lhd_dwarf_name.
2053 * dwarf2out.c (dwarf2_name): Use the dwarf_name language hook.
2054 * ada/misc.c (gnat_dwarf_name): New function.
2055 (LANG_HOOKS_DWARF_NAME): Define to gnat_dwarf_name.
2057 2006-05-19 Richard Sandiford <richard@codesourcery.com>
2059 * libgcc2.c (MIN_UNITS_PER_WORD): Move default definition from
2061 (LIBGCC2_UNITS_PER_WORD): Provide default definition, using old
2062 MIN_UNITS_PER_WORD logic from libgcc2.h. Do nothing if
2063 LIBGCC2_UNITS_PER_WORD > MIN_UNITS_PER_WORD.
2064 * libgcc2.h (MIN_UNITS_PER_WORD): Remove definition from here.
2065 Use LIBGCC2_UNITS_PER_WORD rather than MIN_UNITS_PER_WORD to
2066 determine the size of Wtype, etc.
2067 * mklibgcc.in (LIB2_SIDITI_CONV_FUNCS): New argument.
2068 (swfloatfuncs): New variable.
2069 (dwfloatfuncs): Likewise.
2070 (lib2funcs): Remove floating-point conversion functions from
2071 initial assignment. Use LIB2_SIDITI_CONV_FUNCS to determine
2072 the set of conversion routines needed. Allow entries to specify
2073 an object name, filename and word size. Update users accordingly.
2074 * Makefile.in (libgcc.mk): Pass LIB2_SIDITI_CONV_FUNCS.
2075 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Define.
2079 2006-02-08 Roger Sayle <roger@eyesopen.com>
2082 * config/fixtfdi.c: New libgcc source file.
2083 * config/fixunstfdi.c: New source file.
2084 * config/floatditf.c: New source file.
2085 * config/floatunditf.c: New souce file.
2086 * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
2087 files above instead of config/mips/_tilib.c.
2088 * config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
2090 2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2092 * pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
2093 * pa/pa-hpux11.h (LIB_SPEC): Update comment.
2095 2006-05-18 Mike Stump <mrs@apple.com>
2097 Fix up vla, vm and [*] sematics.
2103 * c-tree.h (struct c_arg_info): Add had_vla_unspec.
2104 (c_vla_unspec_p): Add.
2105 (c_vla_type_p): Add.
2106 * c-decl.c (struct c_scope): Add had_vla_unspec.
2107 (build_array_declarator): Add support for [*].
2108 (grokdeclarator): Likewise.
2109 (grokparms): Likewise.
2110 (get_parm_info): Likewise.
2111 * c-objc-common.c (c_vla_unspec_p): Likewise.
2112 * c-objc-common.h (LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P): Likewise.
2113 * c-parser.c (c_parser_typeof_specifier): Evaluate arguments to
2114 typeof when argument is a variably modified type not inside sizeof or alignof.
2115 (c_parser_direct_declarator_inner): Propagate errors.
2116 (c_parser_sizeof_expression): Add support for [*].
2117 (c_parser_parms_declarator): Initialize had_vla_unspec.
2118 (c_parser_parms_list_declarator): Likewise.
2119 * c-typeck.c (c_vla_type_p): Add.
2120 (composite_type): Add support for vla compositing.
2121 (comptypes_internal): Add support for vla compatibility.
2122 (c_expr_sizeof_expr): Evaluate vla arguments.
2123 * tree.c (variably_modified_type_p): Update comment for [*].
2125 2006-05-18 Michael Matz <matz@suse.de>
2128 * config.host: Make assignments to host_xmake_file cumulative.
2129 * config.host (*-darwin*): Test $host, not $target.
2131 2006-05-12 Stuart Hastings <stuart@apple.com>
2133 * config/i386/i386.opt (-mstackrealign): New flag.
2134 * config/i386/i386.c (force_align_arg_pointer): New attribute.
2135 (ix86_handle_cconv_attribute): Emit error when
2136 force_align_arg_pointer attribute collides with too many regparms.
2137 (ix86_function_regparm): Limit regparms when used with
2138 force_align_arg_pointer attribute. (ix86_internal_arg_pointer):
2139 Support stack-realigning prologue in non-main functions. Emit
2140 warning for nested functions under -mstackrealign, emit error for
2141 nested functions with force_align_arg_pointer attribute.
2142 * doc/extend.texi (force_align_arg_pointer): Document it.
2143 * doc/invoke.texi (-mstackrealign): Document it.
2145 2006-05-17 Kazu Hirata <kazu@codesourcery.com>
2147 PR rtl-optimization/27477
2148 * combine.c (try_combine): Don't split a parallel consisting
2149 of two sets into two individual sets if both sets reference
2152 2006-05-17 H.J. Lu <hongjiu.lu@intel.com>
2154 * config/arm/arm.opt (target_fpe_name): Remove VarExists.
2155 * config/rs6000/rs6000.opt (TARGET_NO_FP_IN_TOC): Likewise.
2157 * doc/options.texi (VarExists): Updated.
2159 2006-05-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2161 * unwind-dw2.c: Add declarations for uw_update_context and
2163 * pa/hpux-unwind.h (pa_fallback_frame_state): When an export stub is
2164 detected, advance frame state and context once to skip over stub.
2166 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
2170 * tree-loop-linear.c (linear_transform_loops): Don't test perfect_nest_p.
2171 Call rewrite_into_loop_closed_ssa only when something changed.
2172 * lambda.h (gcc_loopnest_to_lambda_loopnest): Update declaration.
2173 * lambda-code.c (can_convert_to_perfect_nest): Declared.
2174 (gcc_loopnest_to_lambda_loopnest): Removed need_perfect_nest parameter.
2175 Test for perfect_nest_p here. Fix formating.
2176 (replace_uses_equiv_to_x_with_y): Fix formating.
2177 (stmt_uses_op): Removed.
2178 (can_convert_to_perfect_nest): Removed loopivs parameter.
2179 Complete the test by checking the scalar dependences.
2180 (perfect_nestify): Remove the test for can_convert_to_perfect_nest.
2183 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
2186 From Dan Kegel <dank@kegel.com>:
2187 * Makefile.in: Strip "dir/../" combinations from SYSTEM_INCLUDE_DIR.
2189 2006-05-17 Eric Botcazou <ebotcazou@adacore.com>
2191 * tree.c (variably_modified_type_p) <ARRAY_TYPE>: Return true
2192 if the element type is variably modified without recursing.
2194 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
2197 * tree-loop-linear.c (try_interchange_loops): Test for
2198 no data dependences.
2200 2006-05-17 Zdenek Dvorak <dvorakz@suse.cz>
2202 PR tree-optimization/27548
2203 * tree-scalar-evolution.c (scev_const_prop): Do not prolong life
2204 range of ssa names that appear on abnormal edges.
2205 * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Export.
2206 * tree-flow.h (contains_abnormal_ssa_name_p): Declare.
2208 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
2211 * expr.c (safe_from_p): Handle CONSTRUCTOR again.
2213 2006-05-17 Jakub Jelinek <jakub@redhat.com>
2216 * tree.h (OMP_PARALLEL_COMBINED): Define.
2217 * gimplify.c (struct gimplify_omp_ctx): Add is_combined_parallel field.
2218 (new_omp_context): Add is_combined_parallel argument.
2219 (gimplify_scan_omp_clauses): Add in_combined_parallel argument, adjust
2220 new_omp_context caller.
2221 (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
2222 Adjust gimplify_scan_omp_clauses callers.
2223 (omp_is_private): Issue errors if iteration variable is firstprivate
2224 or reduction in the current context.
2225 * c-parser.c (c_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
2226 on combined parallel workshare constructs.
2228 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2230 * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
2231 (gcc-options.o): New rule.
2233 * optc-gen.awk: Protect variables for gcc-options.o with
2234 #ifdef GCC_DRIVER/#endif.
2236 2006-05-16 Daniel Berlin <dberlin@dberlin.org>
2238 Fix PR tree-optimization/27373
2239 * tree-ssa-forwprop.c: (forward_propagate_addr_expr_1): Add argument.
2240 (forward_propagate_addr_expr): Update call.
2242 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2244 * doc/options.texi: Move the Negative option.
2246 2006-05-16 Richard Guenther <rguenther@suse.de>
2248 PR tree-optimization/22303
2249 * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
2251 (evaluate_stmt): Fall back to fold_const_aggregate_ref, if
2252 ccp_fold did not simplify the statement.
2254 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2257 * Makefile.in (GCC_OBJS): New.
2258 (OBJS-common): Add opts-common.o.
2259 (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS).
2260 (cpp$(exeext)): Likewise.
2261 (gcc.o): Also depend on opts.h.
2262 (opts-common.o): New.
2264 * common.opt (gcoff): Add Negative(gdwarf-2).
2265 (gdwarf-2): Add Negative(gstabs).
2266 (gstabs): Add Negative(gstabs+).
2267 (gstabs+): Add Negative(gvms).
2268 (gvms): Add Negative(gxcoff).
2269 (gxcoff): Add Negative(gxcoff+).
2270 (gxcoff+): Add Negative(gcoff).
2271 * config/i386/i386.opt (m32): Add Negative(m64).
2272 (m64): Add Negative(m32).
2274 * doc/options.texi: Document the Negative option.
2276 * gcc.c: Include "opts.h".
2277 (main): Call prune_options after expandargv.
2279 * optc-gen.awk: Generate common declarations for all flag
2280 variables in options.c. Output the neg_index field.
2282 * opts.c (find_opt): Moved to ...
2283 * opts-common.c: Here. New file.
2285 * opts.h (cl_option): Add a neg_index field.
2287 (prune_options): Likewise.
2289 2006-05-16 Jakub Jelinek <jakub@redhat.com>
2292 * omp-low.c (expand_omp_parallel): Don't assert
2293 .OMP_DATA_I = &.OMP_DATA_O is the first statement in the block,
2294 instead search for it.
2297 * gimplify.c (gimplify_omp_for): Remove assertion that iteration var
2300 2006-05-16 Andreas Schwab <schwab@suse.de>
2302 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Add missing @end
2305 2006-05-15 Roger Sayle <roger@eyesopen.com>
2308 * config/i386/i386.c (legitimate_constant_p) <CONST_DOUBLE>: TImode
2309 integer constants other than zero are only legitimate on TARGET_64BIT.
2310 <CONST_VECTOR> Only zero vectors are legitimate.
2311 (ix86_cannot_force_const_mem): Integral and vector constants can
2312 always be put in the constant pool.
2314 2006-05-16 DJ Delorie <dj@redhat.com>
2316 * crtstuff.c (__dso_handle): Set section from
2317 TARGET_LBIGCC_SDATA_SECTION if defined.
2318 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Document.
2319 * config/mips/mips.h (TARGET_LIBGCC_SDATA_SECTION): Define.
2321 2006-05-16 Danny Smith <dannysmith@users.sourceforge.net>
2324 * config.host (i[34567]86-*-mingw*): Append i386/x-mingw32 to
2327 2006-05-16 Ben Elliston <bje@au.ibm.com>
2329 * tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
2331 2006-05-15 Per Bothner <per@bothner.com>
2333 * tree.c: (last_annotated_node): Use source_locus typedef.
2334 This permits bootstrapping with --enable-mapped-location.
2336 2006-05-15 Zdenek Dvorak <dvorakz@suse.cz>
2338 PR tree-optimization/26830
2339 * tree-into-ssa.c (struct ssa_name_info): Add age field.
2340 (info_for_ssa_name, current_info_for_ssa_name_age,
2341 blocks_to_update): New variables.
2342 (get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
2343 (clear_ssa_name_info, initialize_flags_in_bb,
2344 mark_block_for_update): New functions.
2345 (mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
2346 (insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
2347 prepare_def_site_for): Use mark_block_for_update.
2348 (mark_def_interesting): Assert that the processed block is marked in
2349 blocks_to_update. Do not take blocks argument.
2350 (prepare_use_sites_for, prepare_names_to_update): Do not take blocks
2352 (rewrite_update_init_block, rewrite_update_stmt): Only process
2353 blocks with statements to rewrite.
2354 (delete_update_ssa): Do not clear SSA_NAME_AUX.
2355 (update_ssa): Initialize and free blocks_to_update. Do not
2356 clear flags on statements. Do not use blocks bitmap.
2357 * tree.h (SSA_NAME_AUX): Removed.
2358 (struct tree_ssa_name): Removed aux field.
2359 * print-tree.c (print_node): Do not print SSA_NAME_AUX.
2361 2006-05-15 Richard Guenther <rguenther@suse.de>
2363 PR tree-optimization/27603
2364 * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
2365 Do computations in original type.
2367 2006-05-15 Mircea Namolaru <namolaru@il.ibm.com>
2369 * see.c: Code style changes such as redundant paranthesis,
2370 redundant intialization of local variables etc.
2371 (see_main): Declared now as static.
2372 * doc/invoke.texi: Update that -fsee is not enabled by
2375 2006-05-15 Jakub Jelinek <jakub@redhat.com>
2377 * omp-low.c (check_omp_nesting_restrictions): New function.
2378 (scan_omp_1): Call it.
2381 * omp-low.c (build_outer_var_ref): If VAR is reference in orphaned
2382 construct, return *VAR.
2384 2006-05-14 Kaz Kojima <kkojima@gcc.gnu.org>
2386 PR rtl-optimization/27406
2387 * bt-load.c (migrate_btr_def): Skip the block having abnormal
2390 2006-05-14 Roger Sayle <roger@eyesopen.com>
2392 PR rtl-optimization/27538
2393 * combine.c (expand_compound_operation): Call gen_lowpart
2394 before calling simplify_shift_const.
2396 2006-05-14 Roger Sayle <roger@eyesopen.com>
2398 PR rtl-optimization/22563
2399 * expmed.c (store_fixed_bit_field): When using AND and IOR to store
2400 a fixed width bitfield, always force the intermediates into psuedos.
2402 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
2405 * mkconfig.sh: Use operator = instead of == for test.
2407 2006-05-13 Nick Clifton <nickc@redhat.com>
2409 * dwarf2out.c (dbx_reg_number): Check return value from
2410 LEAF_REG_REMAP and only use it if it is valid.
2411 (multiple_reg_loc_descriptor): Likewise.
2413 2006-05-13 Richard Guenther <rguenther@suse.de>
2415 * config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
2418 2006-05-13 Steven Bosscher <stevenb.gcc@gmail.com>
2420 * df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
2421 information attached to non-INSNs such as NOTEs.
2422 (df_bb_regno_first_def_find, df_bb_regno_last_def_find): Likewise.
2424 2006-05-12 Andreas Krebbel <krebbel1@de.ibm.com>
2426 * config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
2428 * config/s390/s390.md: Adjust comment describing On constraint.
2430 2006-05-11 Jan Hubicka <jh@suse.cz>
2432 * cgraphunit.c (decide_is_function_needed): Don't force always_inline
2433 to be output at -O0.
2435 2006-05-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2438 * fold-const.c (size_binop): Move sanity check for arguments to
2439 the beginning of the function.
2442 * fold-const.c (tree_expr_nonnegative_p): Return early on invalid
2445 2006-05-11 Richard Guenther <rguenther@suse.de>
2448 * fold-const.c (fold_unary): Handle intermediate conversion
2449 to a pointer type like intermediate conversion to an integer
2450 type in folding of (T1)(T2)var to var.
2451 Match the code to the comment in the final conversion for
2452 (T1)(T2)var to (T1)var regarding to type precision. Rather
2453 than disallow T1 being of pointer type, assert that both T1
2454 and var are of pointer type or not. Make sure not to fall
2455 over the frontends lazyness wrt array to pointer decay though.
2457 2006-05-10 Richard Earnshaw <rearnsha@arm.com>
2459 * arm.c (arm_struct_value_rtx): Delete.
2460 (TARGET_STRUCT_VALUE_RTX): Use the default definition.
2461 (arm_init_cumulative_args): Always initialize nregs to zero.
2463 2006-05-10 Richard Guenther <rguenther@suse.de>
2465 PR tree-optimization/27532
2466 * tree-object-size.c (plus_expr_object_size): Fix typo.
2468 2006-05-10 Kazu Hirata <kazu@codesourcery.com>
2471 * config/m68k/m68k.md (ashrdi_const32, ashrdi_const32_mem,
2472 ashrdi_const, ashrdi3): Use a scratch register.
2474 2006-05-10 Richard Guenther <rguenther@suse.de>
2476 PR tree-optimization/27302
2477 * fold-const.c (operand_equal_p): For two comparisons,
2478 try comparison of one comparison code swapped if that yields
2481 2006-05-10 Ben Elliston <bje@au.ibm.com>
2483 * tree-pretty-print.c (pretty_print_string): No need to handle
2484 '\0' as a special character.
2486 * tree.h: Include "hashtab.h".
2487 (iterative_hash_expr): Use hashval_t in its prototype.
2488 * Makefile.in (TREE_H): Add $(HASHTAB_H).
2490 2006-05-09 Steve Ellcey <sje@cup.hp.com>
2493 * config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
2494 (hppa*64*-*-hpux11*): Ditto.
2495 (hppa[12]*-*-hpux11*): Ditto.
2497 2006-05-09 David Edelsohn <edelsohn@gnu.org>
2500 * config/rs6000/aix41.h (TARGET_64BIT): Define.
2502 2006-05-09 Michael Matz <matz@suse.de>
2504 * config.host (<i[34567]86-*-*, x86_64-*-*>): Set
2505 host_extra_gcc_objs and host_xmake_file.
2506 (<*-*-linux*>): Don't overwrite host_xmake_file.
2507 * gcc.c (static_spec_functions): Add EXTRA_SPEC_FUNCTIONS.
2508 * config/i386/i386.h (EXTRA_SPEC_FUNCTIONS): Define.
2509 (host_detect_local_cpu): Declare.
2510 (CC1_CPU_SPEC): Add -march=native and -mtune=native cases.
2511 * config/i386/i386.c (override_options): Handle -mtune=native
2513 * config/i386/x-i386: New file.
2514 * config/i386/driver-i386.c: New file.
2515 * doc/invoke.texi (<i386 and x86-64 Options>): Describe
2518 2006-05-09 Dirk Mueller <dmueller@suse.de>
2519 Richard Guenther <rguenther@suse.de>
2522 * fold-const.c (fold_read_from_constant_string): Relax check
2523 for matching types to matching modes.
2525 2006-05-09 Zdenek Dvorak <dvorakz@suse.cz>
2527 PR rtl-optimization/27335
2528 * loop-unroll.c (peel_loops_completely): Use loops->parray to walk the
2531 2006-05-08 Chao-ying Fu <fu@mips.com>
2532 Richard Sandiford <richard@codesourcery.com>
2534 * config/mips/mips-ps-3d.md (scc_ps, s<code>_ps): New patterns.
2535 (vcondv2sf, sminv2sf3, smaxv2sf3): Likewise.
2536 * config/mips/mips.md (UNSPEC_SCC): New constant.
2537 * config/mips/mips-protos.h (mips_expand_vcondv2sf): Declare.
2538 * config/mips/mips.c (mips_reverse_fp_cond_p): New function.
2539 (mips_emit_compare): Use it.
2540 (mips_expand_vcondv2sf): New function.
2542 2006-05-08 Daniel Berlin <dberlin@dberlin.org>
2544 Fix PR tree-optimization/27093
2545 * tree-ssa-alias.c (recalculate_used_alone): Mark variables for
2546 renaming when they become not-used_alone.
2548 2006-05-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2550 * hpux-unwind.h (pa_fallback_frame_state): Handle return parameter
2551 relocation and relocation stubs.
2553 2006-05-08 Eric Christopher <echristo@apple.com>
2555 * unwind-dw2-fde-darwin.c (examine_objects): Only check data
2558 2006-05-08 Jan Hubicka <jh@suse.cz>
2561 * cgraphunit.c (decide_is_function_needed): When not optimizing even
2562 unused static functions are needed.
2564 2006-05-08 Roger Sayle <roger@eyesopen.com>
2567 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
2568 of a reg_equiv_constant if the result is a legitimate constant.
2570 2006-05-08 Uros Bizjak <uros@kss-loka.si>
2573 * config/i386/i386.c (ix86_rtx_costs) [FLOAT_EXTEND]: For
2574 standard 80387 constants, raise the cost to prevent
2575 compress_float_constant() to generate load from memory.
2577 2006-05-08 Kazu Hirata <kazu@codesourcery.com>
2579 * config/arm/constraints.md (c): Fix a typo.
2581 * see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment
2584 2006-05-07 H.J. Lu <hongjiu.lu@intel.com>
2587 * config/i386/pmmintrin.h (_mm_monitor): Remove macro. Use
2589 (_mm_mwait): Likewise.
2591 * config/i386/sse.md (sse3_mwait): Replace "mwait\t%0, %1" with
2593 (sse3_monitor): Make it 32bit only.
2594 (sse3_monitor64): New. 64bit monitor.
2596 2006-05-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2599 * config/i386/i386.c (classify_argument): Skip fields with invalid
2602 2006-05-07 Richard Guenther <rguenther@suse.de>
2604 PR tree-optimization/27409
2605 * tree-ssa-structalias.c (get_constraint_for_component_ref):
2606 Do not try to find zero-sized subvars.
2608 2006-05-07 Richard Guenther <rguenther@suse.de>
2610 PR tree-optimization/27136
2611 * tree-ssa-loop-niter.c (get_val_for): Correct function
2612 comment, assert requirements.
2613 (loop_niter_by_eval): Stop processing if the iterated
2614 value did not simplify.
2616 2006-05-07 Mircea Namolaru <namolaru@il.ibm.com>
2618 * opts.c (flag_see): remove its setting at -O3.
2620 2006-05-07 Richard Earnshaw <rearnsha@arm.com>
2622 * genpeep.c (main): Make insn-peep.c depend on flags.h.
2623 * arm/constraints.md: New file.
2624 * arm.h (REG_CLASS_FROM_LETTER_P): Delete.
2625 (CONST_OK_FOR_ARM_LETTER, CONST_OK_FOR_THUMB_LETTER)
2626 (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_ARM_LETTER)
2627 (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT_STR_ARM)
2628 (CONSTRAINT_LEN, EXTRA_CONSTRAINT_THUMB, EXTRA_CONSTRAINT_STR)
2629 (EXTRA_MEMORY_CONSTRAINT): Likewise.
2630 * arm.md: Include constraints.md.
2631 (thumb_movsi_insn): Use satisfies_constraint_J.
2632 (movhi, movqi): Use satisfies_constraint_I.
2634 2006-04-29 Anatoly Sokolov <aesok@post.ru>
2636 * config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name
2637 for atmeg a645 device.
2639 2006-05-06 Richard Guenther <rguenther@suse.de>
2641 PR tree-optimization/27151
2642 * tree-vect-transform.c (vectorizable_condition): Punt on
2643 values that have a different type than the condition.
2645 2006-05-03 Aldy Hernandez <aldyh@redhat.com>
2648 * c-parser.c (c_parser_cast_expression): Only insert casts into
2649 hash table if pointer.
2650 * function.c (used_types_insert_helper): Rename from
2652 (used_types_insert): Call used_types_insert_helper.
2653 * function.h (used_types_insert): Accept only one argument.
2655 2006-05-05 David Edelsohn <edesohn@gnu.org>
2657 * config/rs6000/rs6000.md: Mark all "X" constraints for clobbered
2658 scratch with output modifier.
2660 2006-05-04 David Edelsohn <edelsohn@gnu.org>
2663 * config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint
2664 with output modifier.
2666 2006-05-04 Richard Sandiford <richard@codesourcery.com>
2669 * config/mips/mips.c (mips_symbolic_address_p): Return true
2670 for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL,
2671 SYMBOL_GOTTPREL, and SYMBOL_TLS.
2673 2006-05-04 Richard Guenther <rguenther@suse.de>
2675 PR tree-optimization/14287
2676 PR tree-optimization/14844
2677 PR tree-optimization/19792
2678 PR tree-optimization/21608
2679 PR tree-optimization/27090
2680 * tree-ssa-pre.c (try_combine_conversion): New function.
2681 (compute_avail): After constructing the value-handle
2682 expression, use try_combine_conversion to combine NOP_EXPRs
2683 with previous value-handle expressions and use the result if it
2686 2006-05-04 Joseph S. Myers <joseph@codesourcery.com>
2688 * config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.
2690 2006-05-04 Jan Hubicka <jh@suse.cz>
2693 * cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.
2695 2006-05-04 Bernd Schmidt <bernd.schmidt@analog.com>
2697 * config/bfin/predicates.md (const01_rtx): Tell generator programs
2698 that this only matches CONST_INTs. All users changed to VOIDmode
2701 * config/bfin/bfin.c: Include "optabs.h".
2702 (bfin_rtx_costs): Some costs for vector operations, to allow combine
2704 (enum bfin_builtins): Add a number of fractional and vector builtins.
2705 (bfin_init_builtins): Likewise.
2706 (struct builtin_description, bdesc_2arg, bdesc_1arg): New.
2707 (safe_vector_operand, bfin_expand_binop_builtin,
2708 bfin_expand_unop_builtin): New functions.
2709 (bfin_expand_builtin): Handle the new builtins.
2710 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
2713 2006-05-04 Leehod Baruch <leehod@il.ibm.com>
2716 * Makefile.in (OBJS-common): Add see.o.
2717 (see.o): Add dependencies.
2718 * common.opt (fsee): New flag for the see optimization was added.
2719 * opts.c (flag_see): Initialized.
2720 * passes.c (init_optimization_passes, pass_see): New pass.
2721 * rtl.h (see_main): Declaration as extern.
2722 * timevar.def (TV_SEE): New.
2723 * tree-pass.h (pass_see): Declaration as extern.
2724 * invoke.texi (-fsee): Document.
2725 * recog.c (validate_simplify_insn): New function.
2726 * recog.h (validate_simplify_insn): Declaration as extern.
2727 * df-problems.c (df_chain_dump): Check for NULL.
2729 2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com>
2730 Daniel Berlin <dberlin@dberlin.org>
2732 * cfgrtl.c (insert_insn_bb_end_new): New function.
2733 * basic-block.h (insert_insn_bb_end_new): Declaration as extern.
2735 2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il>
2737 * df.h (struct web_entry): Moved from web.c.
2738 (union_defs): Declaration as extern.
2739 (unionfind_root): Likewise.
2740 (unionfind_union): Likewise.
2741 * web.c (struct web_entry): Moved to df.h.
2742 (unionfind_root): Remove static declaration.
2743 (unionfind_union): Likewise.
2744 (union_defs): Likewise and generalize to use callback function.
2745 (web_main): Update arguments for union_defs function call.
2747 2006-05-04 Richard Guenther <rguenther@suse.de>
2749 PR tree-optimization/26447
2750 * tree-ssa-pre.c (realify_fake_stores): For necessary loads
2751 produce SSA_NAME copies before the store stmt to avoid
2752 breaking exception handling.
2754 2006-05-04 Jakub Jelinek <jakub@redhat.com>
2757 * gimplify.c (omp_is_private): If var is shared in some outer context,
2758 return false instead of true. Stop searching on parallel context
2761 2006-05-03 Alexandre Oliva <aoliva@redhat.com>
2764 * coverage.c: Use get_gcov_unsigned_t() instead of
2765 unsigned_type_node all over.
2767 2006-05-02 Andrew MacLeod <amacleod@redhat.com>
2769 PR tree-optimization/27381
2770 * tree-phinodes.c (remove_phi_arg_num): When moving a phi argument,
2771 maintain the same immediate_use links.
2772 * tree-ssa-operands.c (dump_immediate_uses_for): Show iteration marker
2773 node rather than segfaulting.
2775 2006-05-03 Jakub Jelinek <jakub@redhat.com>
2778 * gimplify.c (gimplify_scan_omp_clauses): Compare OMP_CLAUSE_CODE
2779 rather than TREE_CODE to OMP_CLAUSE_REDUCTION. Set also GOVD_SEEN
2780 bit for OMP_CLAUSE_REDUCTION_PLACEHOLDER.
2782 2006-05-02 Daniel Berlin <dberlin@dberlin.org>
2784 Fix PR tree-optimization/26626
2785 * tree-ssa-structalias.c (compute_points_to_sets): For now, solve
2787 * tree-ssa-operands.c (access_can_touch_variable): Allow
2788 typecasting through union pointers.
2790 2006-05-02 Jakub Jelinek <jakub@redhat.com>
2793 * omp-low.c (maybe_lookup_decl_in_outer_ctx): New function.
2794 (build_outer_var_ref): Use maybe_lookup_decl_in_outer_ctx
2795 to find if var will be a global variable even in the nested context.
2796 (omp_copy_decl): Only check for global variable at the end, it might
2797 be overridden in outer contexts.
2798 (scan_sharing_clauses): For global variables don't create a field.
2799 (lower_rec_input_clauses): Do nothing for global shared variables.
2800 Emit a barrier at the end of ILIST if there were any decls in both
2801 firstprivate and lastprivate clauses.
2802 (lower_send_clauses): Do nothing for global variables except for
2805 2006-05-02 Zdenek Dvorak <dvorakz@suse.cz>
2807 * tree.c (unsigned_type_for, signed_type_for): Make sure a type
2808 of the correct signedness is returned.
2810 2006-05-02 Jeff Law <law@redhat.com>
2812 PR tree-optimization/27364
2813 * tree-vrp.c (vrp_int_const_binop): Fix detection of overflow from
2814 multiply expressions.
2816 2006-05-02 Tom Tromey <tromey@redhat.com>
2818 * tree-flow-inline.h (op_iter_init_phiuse): Fixed typo.
2820 2006-05-02 Kazu Hirata <kazu@codesourcery.com>
2823 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when
2824 -mthumb -fPIC are used.
2826 2006-05-02 Stanislaw Skowronek <skylark@linux-mips.org>
2827 Joshua Kinard <kumba@gentoo.org>
2830 * config/mips/mips.h (TRAMPOLINE_TEMPLATE): Avoid 32-bit moves
2831 with 64-bit pointers.
2833 2006-05-02 Paul Brook <paul@codesourcery.com>
2835 * config/arm/arm.c (add_minipool_forward_ref): Check if insn
2837 (create_fix_barrier): Check that a suitable barrier location is
2839 (arm_reorg): Include ftmp->address in allowable range of addresses.
2841 2006-05-02 David Billinghurst <David.Billinghurst@riotinto.com>
2844 * ada/env.c (__gnat_clearenv): Use unsetenv() to clear environment
2847 2006-05-02 Jakub Jelinek <jakub@redhat.com>
2850 * gimplify.c (gimplify_scan_omp_clauses): Handle INDIRECT_REF
2851 around RESULT_DECL for result passed by reference.
2852 (gimplify_expr): Call omp_notice_variable when RESULT_DECL is seen.
2853 * omp-low.c (use_pointer_for_field): Don't look at
2854 DECL_HAS_VALUE_EXPR_P for RESULT_DECLs.
2855 (scan_omp_1): Call remap_decl on RESULT_DECLs.
2856 (lower_rec_input_clauses): Don't allocate VLA memory for the second
2857 time or var for passing by reference for
2858 OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE clauses. Allow creation of
2859 TREE_ADDRESSABLE variables when passing by reference.
2861 * omp-low.c (dump_omp_region): Fix output formatting.
2864 * omp-low.c (remove_exit_barrier): Handle NULL exit_bb.
2865 (expand_omp_parallel): Likewise.
2866 * tree-cfg.c (move_sese_region_to_fn): Likewise.
2869 * omp-low.c (lower_omp_sections): Call maybe_catch_exception
2870 on statement list containing also constructors and destructors.
2871 (lower_omp_single, lower_omp_for, lower_omp_parallel): Likewise.
2874 * except.c (duplicate_eh_regions): Fix clearing of
2875 cfun->eh->region_array entries.
2877 2006-05-01 DJ Delorie <dj@redhat.com>
2879 * configure.ac (gcc_cv_nm): Don't use an in-tree nm if
2881 (gcc_cv_objdump): Likewise.
2882 * configure: Regenerated.
2884 2006-05-01 Kazu Hirata <kazu@codesourcery.com>
2887 * config/arm/vfp.md (*arm_movdi_vfp): Correct the output
2888 templates for case 3 and 4.
2890 2006-05-01 DJ Delorie <dj@redhat.com>
2892 * vec.c: Include bconfig.h when appropriate.
2893 * Makefile.in (build/vec.o): Adjust dependencies.
2894 * mkconfig.sh: Make sure config.h isn't used for build machine
2897 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
2899 * tree-into-ssa.c (phis_to_rewrite, blocks_with_phis_to_rewrite): New
2901 (mark_phi_for_rewrite): New function.
2902 (insert_phi_nodes_for, mark_use_interesting): Call
2903 mark_phi_for_rewrite.
2904 (rewrite_update_phi_arguments): Traverse only phis in phis_to_rewrite.
2905 (update_ssa): Initialize and free phis_to_rewrite.
2907 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
2909 PR rtl-optimization/27291
2910 * loop-doloop.c (add_test, doloop_modify): Handle the case condition is
2911 folded to a constant.
2913 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
2915 PR tree-optimization/27283
2916 * tree-ssa-loop-ivopts.c (struct nfe_cache_elt): Store just trees,
2917 not whole # of iteration descriptions.
2918 (niter_for_exit): Return just # of iterations. Fail if # of iterations
2919 uses abnormal ssa name.
2920 (niter_for_single_dom_exit): Ditto.
2921 (find_induction_variables, may_eliminate_iv): Expect niter_for_exit to
2922 return just the number of iterations.
2924 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
2926 PR tree-optimization/27144
2927 * tree-ssa-loop-niter.c (derive_constant_upper_bound): New function.
2928 (record_estimate): Only record constant upper bound.
2929 (infer_loop_bounds_from_undefined): Call
2930 compute_estimated_nb_iterations just once.
2931 (proved_non_wrapping_p): Renamed to ...
2932 (n_of_executions_at_most): ... this. Expect bound to be a constant.
2933 (convert_step_widening, scev_probably_wraps_p): Call
2934 n_of_executions_at_most instead of proved_non_wrapping_p.
2935 (substitute_in_loop_info): Do not replace values in bounds.
2936 * cfgloop.h (struct nb_iter_bound): Remove "additional" field. Update
2939 2006-05-01 Richard Henderson <rth@redhat.com>
2942 * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Move after
2943 c_parser_skip_to_pragma_eol. Convert to switch statement. Handle
2946 2006-05-01 Roger Sayle <roger@eyesopen.com>
2948 * c-typeck.c (parser_build_binary_op): Don't call the function
2949 unsigned_conversion_warning to spot operand/result type overflow.
2950 (build_binary_op): Instead, call convert_and_check instead of
2951 convert to report the problem when the operands are promoted.
2952 * c-common.c (unsigned_conversion_warning): Make static.
2953 * c-common.h (unsigned_conversion_warning): Delete prototype.
2955 2006-05-01 Richard Guenther <rguenther@suse.de>
2957 PR tree-optimization/26726
2958 * tree-ssa-loop-ivopts.c (idx_find_step): Mark source of the
2960 (find_interesting_uses_address): ... we work around here
2961 by folding INDIRECT_REFs in the substituted base.
2963 2006-05-01 Diego Novillo <dnovillo@redhat.com>
2965 * omp-low.c (dump_omp_region): Add newlines.
2967 2006-04-30 Roger Sayle <roger@eyesopen.com>
2969 * common.opt (Woverflow): New command line option.
2970 * c-common.c (constant_expression_warning): Check warn_overflow.
2971 (overflow_waring): Pass OPT_Woverflow to warning.
2972 (unsigned_conversion_warning): Likewise.
2973 (convert_and_check): Likewise.
2974 * doc/invoke.texi: Document new command line option.
2976 2006-04-30 David Edelsohn <edelsohn@gnu.org>
2978 * config/rs6000/rs6000.c (rs6000_override_options): Enable
2979 TARGET_NO_FP_IN_TOC for section anchors.
2980 (optimization_options): Enable section anchors for all
2981 non-"Objective" languages.
2983 2006-04-28 Eric Christopher <echristo@apple.com>
2985 * config/darwin-c.c (darwin_ms_struct): Move this
2986 (darwin_set_default_type_attributes): and this...
2987 * config/darwin.c: ... here.
2988 * config/darwin.h (darwin_ms_struct): Declare.
2990 2006-04-28 Andrew MacLeod <amacleod@redhat.com>
2992 * tree-ssa-dom.c (propagate_rhs_into_lhs): Fix assert clause.
2994 2006-04-28 Roger Sayle <roger@eyesopen.com>
2997 * c-typeck.c (struct spelling): Make I an unsigned HOST_WIDE_INT.
2998 (push_array_bounds): Delete prototype. Change BOUNDS argument to
2999 an unsigned HOST_WIDE_INT.
3000 (print_spelling): Use HOST_WIDE_INT_PRINT_UNSIGNED to output the
3002 (really_start_incremental_init): No need to call convert because
3003 bitsize_zero_node is already of type bitsizetype.
3004 (push_init_level): Extract the value of constructor_index as an
3005 unsigned HOST_WIDE_INT quantity, using tree_low_cst.
3006 (process_init_element): Likewise.
3008 2006-04-28 Joseph S. Myers <joseph@codesourcery.com>
3010 * gcc.c (process_command): Add program name to GCC_EXEC_PREFIX
3011 value before passing to make_relative_prefix.
3013 2006-04-28 Alan Modra <amodra@bigpond.net.au>
3016 * builtins.c (expand_builtin_memset): Expand val in original mode.
3018 2006-04-27 Eric Christopher <echristo@apple.com>
3020 * target-def.h (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Bracket
3021 with #ifndef/#endif.
3022 * config/darwin-c.c (darwin_ms_struct): New.
3023 (darwin_pragma_ms_struct): Ditto.
3024 (darwin_set_default_type_attributes): Ditto.
3025 * config/darwin-protos.h (darwin_pragma_ms_struct): Declare.
3026 * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS):
3027 Register ms_struct pragma.
3028 * config/i386/darwin.h (REGISTER_TARGET_PRAGMAS): Declare.
3029 (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Ditto.
3030 * config/rs6000/rs6000.c (rs6000_set_default_type_attributes): Call
3031 darwin_set_default_type_attributes if TARGET_MACHO.
3033 2006-04-27 Andrew MacLeod <amacleod@redhat.com>
3035 PR tree-optimization/26854
3036 * tree-vrp.c (remove_range_assertions): Use new Immuse iterator.
3037 * doc/tree-ssa.texi: Update immuse iterator documentation.
3038 * tree-ssa-math-opts.c (execute_cse_reciprocals_1): Use new iterator.
3039 * tree-ssa-dom.c (propagate_rhs_into_lhs): Use new iterator.
3040 * tree-flow-inline.h (end_safe_imm_use_traverse, end_safe_imm_use_p,
3041 first_safe_imm_use, next_safe_imm_use): Remove.
3042 (end_imm_use_stmt_p): New. Check for end of immuse stmt traversal.
3043 (end_imm_use_stmt_traverse): New. Terminate immuse stmt traversal.
3044 (move_use_after_head): New. Helper function to sort immuses in a stmt.
3045 (link_use_stmts_after): New. Link all immuses in a stmt consescutively.
3046 (first_imm_use_stmt): New. Get first stmt in an immuse list.
3047 (next_imm_use_stmt): New. Get next stmt in an immuse list.
3048 (first_imm_use_on_stmt): New. Get first immuse on a stmt.
3049 (end_imm_use_on_stmt_p): New. Check for end of immuses on a stmt.
3050 (next_imm_use_on_stmt): New. Move to next immuse on a stmt.
3051 * tree-ssa-forwprop.c (forward_propagate_addr_expr): Use new iterator.
3052 * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Use new iterator.
3053 (perfect_nestify): Use new iterator.
3054 * tree-vect-transform.c (vect_create_epilog_for_reduction): Use new
3056 * tree-flow.h (struct immediate_use_iterator_d): Add comments.
3057 (next_imm_name): New field in struct immediate_use_iterator_d.
3058 (FOR_EACH_IMM_USE_SAFE, BREAK_FROM_SAFE_IMM_USE): Remove.
3059 (FOR_EACH_IMM_USE_STMT, BREAK_FROM_IMM_USE_STMT,
3060 FOR_EACH_IMM_USE_ON_STMT): New immediate use iterator macros.
3061 * tree-cfg.c (replace_uses_by): Use new iterator.
3062 * tree-ssa-threadedge.c (lhs_of_dominating_assert): Use new iterator.
3063 * tree-ssa-operands.c (correct_use_link): Remove.
3064 (finalize_ssa_use_ops): No longer call correct_use_link.
3066 2006-04-27 Stuart Hastings <stuart@apple.com>
3068 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New.
3069 * config/t-darwin (crt3.o): Use it.
3070 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Remove
3071 'pmode', use Pmode instead of SImode for SYMBOL_REF.
3072 * config/rs6000/rs6000.md (call_indirect_nonlocal_sysv,
3073 call_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
3074 call_value_nonlocal_sysv): Suffix with the "P" macro for 32/64
3077 2006-04-27 Roger Sayle <roger@eyesopen.com>
3079 * expmed.c (store_fixed_bit_field): If we're not optimizing for
3080 size, force the intermediate into a new pseudo rather instead of
3081 performing both a bitwise AND and a bitwise IOR in memory.
3083 2006-04-27 Richard Guenther <rguenther@suse.de>
3085 PR rtl-optimization/26685
3086 * params.def (PARAM_MAX_CSE_INSNS): Correct typo that named
3087 this one "max-flow-memory-locations".
3089 2006-04-27 Richard Guenther <rguenther@suse.de>
3091 PR tree-optimization/25148
3092 * tree-vrp.c (compare_values): Remove code dealing with
3093 comparisons against type min/max value. Honour overflow
3094 and negative constants in code dealing with comparisons
3095 of plus and minus expressions.
3096 (value_inside_range): Use fold_binary with LE_EXPR and
3097 GE_EXPR rather than compare_values.
3099 2006-04-27 Dirk Mueller <dmueller@suse.de>
3101 * config/i386/xmmintrin.h (_mm_shuffle_pi16): Declare
3104 2006-04-26 Kenneth Zadeck <zadeck@naturalbridge.com>
3106 * basic-block.h (safe_insert_insn_on_edge): Removed.
3107 * cfgrtl.c (mark_killed_regs, safe_insert_insn_on_edge): Removed.
3109 2006-04-26 David Edelsohn <edelsohn@gnu.org>
3110 Paolo Bonzini <bonzini@gnu.org>
3113 * combine.c (simplify_and_const_int_1): Use gen_int_mode.
3114 (simplify_and_const_int): Same.
3116 2006-04-26 Aldy Hernandez <aldyh@redhat.com>
3118 * tree-ssa-dse.c (dse_optimize_stmt): Remove unused variable USE.
3120 2006-04-26 Jakub Jelinek <jakub@redhat.com>
3123 * cgraph.c (cgraph_varpool_finalize_decl): Don't call
3124 cgraph_varpool_assemble_pending_decls if -fopenmp, unless
3125 cgraph_global_info_ready.
3128 * tree-cfg.c (find_outermost_region_in_block): Handle RESX_EXPR.
3131 * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for if
3132 either decl or init is error_mark_node.
3135 * tree-flow.h (struct omp_region): Add sched_kind.
3136 * omp-low.c (expand_parallel_call): Use region->inner->sched_kind
3137 instead of extracting omp for data.
3138 (expand_omp_for): Save extracted sched_kind.
3140 2006-04-25 Roger Sayle <roger@eyesopen.com>
3142 * expmed.c (store_bit_field): Also check whether the bitsize is
3143 valid for the machine's "insv" instruction before moving the
3144 target into a pseudo for use with the insv.
3145 * config/i386/predicates.md (const8_operand): New predicate.
3146 * config/i386/i386.md (extv, extzv, insv): Use the new
3147 const8_operand predicate where appropriate.
3149 2006-04-25 DJ Delorie <dj@redhat.com>
3151 * doc/install.texi (Specific): Clarify that this is not a list of
3152 supported hosts or targets.
3154 2006-04-25 Richard Sandiford <richard@codesourcery.com>
3156 PR rtl-optimization/26725
3157 * cfgrtl.c (rtl_redirect_edge_and_branch_force): Set the source
3158 block's BB_DIRTY flag.
3160 2006-04-25 Geoffrey Keating <geoffk@apple.com>
3162 * dwarf2out.c (size_of_locs): Don't fill dw_loc_addr if there
3165 * dwarf2asm.c (dw2_asm_output_data): Don't generate RTL just
3166 to print an integer.
3168 2006-04-25 David Edelsohn <edelsohn@gnu.org>
3170 * varasm.c (align_variable): New function.
3171 (get_block_for_decl): Apply align_variable to DECL before
3172 calculating section information.
3173 (assemble_variable): Split out alignment computation.
3175 2006-04-25 Andreas Krebbel <krebbel1@de.ibm.com>
3177 * expmed.c (store_bit_field): Handle paradoxical subregs on big endian
3180 2006-04-25 Bernd Schmidt <bernd.schmidt@analog.com>
3182 * genmodes.c (make_vector_mode): Allow making VECTOR_MODE_INT of a
3183 MODE_PARTIAL_INT mode.
3184 * config/bfin/bfin-modes.def: Add V2PDI and V2SI.
3185 * config/bfin/bfin.c (print_operand): Add macflag and mac/msu modifiers
3187 (hard_regno_mode_ok): V2PDImode is ok for accumulators.
3188 * config/bfin/bfin.h (CLASS_MAX_NREGS, HARD_REGNO_NREGS): Handle
3190 * config/bfin/predicates.md (const01_operand, vec_shift_operand):
3192 * config/bfin/bfin.md (UNSPEC_MUL_WITH_FLAG, UNSPEC_MAC_WITH_FLAG):
3194 (MACFLAG_NONE, MACFLAG_T, MACFLAG_FU, MACFLAG_TFU, MACFLAG_IS,
3195 MACFLAG_IU, MACFLAG_W32, MACFLAG_M, MACFLAG_S2RND, MACFLAG_ISS2,
3196 MACFLAG_IH): Likewise.
3197 (movstricthi_1): Renamed from "*movstricthi".
3198 (load_accumulator, load_accumulator_pair, movsi_insv, insv,
3199 ssaddsi3, sssubsi3, ssnegsi2, signbitssi2, smaxhi3, sminhi3,
3200 abshi2, neghi2, ssneghi2, signbitshi2, movhi_low2high,
3201 movhi_high2high, movhi_low2low, movhi_high2low, movhiv2hi_low,
3202 movhiv2hi_high, composev2hi, movv2hi_hi, movv2hi_hi_low,
3203 movv2hi_hi_high, ssaddhi3, sssubhi3, ssaddv2hi3, sssubv2hi3,
3204 addsubv2hi3, subaddv2hi3, ssaddsubv2hi3, sssubaddv2hi3,
3205 sublohiv2hi3, subhilov2hi3, sssublohiv2hi3, sssubhilov2hi3,
3206 addlohiv2hi3, addhilov2hi3, ssaddlohiv2hi3, ssaddhilov2hi3,
3207 mulhisi_ll, mulhisi_lh, mulhisi_hl, mulhisi_hh, ssnegv2hi2,
3208 ssashiftv2hi3, ssashifthi3, lshiftv2hi3, lshifthi3, packv2hi,
3209 flag_mulhi, flag_mulhisi_parts, flag_machi, flag_machi_acconly,
3210 flag_macinithi, flag_macinit1hi, flag_mulv2hi, flag_mulv2hi_parts,
3211 flag_macv2hi_parts, flag_macv2hi_parts_acconly,
3212 flag_macinitv2hi_parts, flag_macinit1v2hi_parts): New patterns.
3214 * doc/rtl.texi (ss_ashift): Improve wording.
3216 2006-04-24 Geoffrey Keating <geoffk@apple.com>
3218 * dwarf2out.c (verify_marks_clear): New.
3219 (prune_unused_types): Call verify_marks_clear initially, not
3222 2006-04-24 Bernd Schmidt <bernd.schmidt@analog.com>
3224 * rtl.def (SS_ASHIFT, SS_NEG): New codes.
3225 * doc/rtl.texi: Document them.
3226 * simplify-rtx.c (simplify_unary_operation,
3227 simplify_binary_operation_1): Don't abort when we see them.
3229 2006-04-24 Mark Mitchell <mark@codesourcery.com>
3232 2006-04-23 Mark Mitchell <mark@codesourcery.com>
3233 * configure.ac: Completely disregard languages that are not
3235 * configure: Regenerated.
3237 2006-04-24 Andrew Pinski <pinskia@gcc.gnu.org>
3238 Richard Guenther <rguenther@suse.de>
3240 PR tree-optimization/27236
3241 * tree-inline.c (copy_body_r): Make sure to copy
3242 TREE_THIS_VOLATILE flag.
3244 2006-04-24 Richard Guenther <rguenther@suse.de>
3247 * tree-complex.c (update_parameter_components): Don't handle
3248 unused parameters which have no default def.
3250 2006-04-24 Andrew Pinski <pinskia@gcc.gnu.org>
3251 Richard Guenther <rguenther@suse.de>
3253 PR tree-optimization/27218
3254 * tree-inline.c (expand_call_inline): Strip useless type
3255 conversions for the return slot address.
3257 2006-04-24 Richard Guenther <rguenther@suse.de>
3259 * cfgloop.h (struct loops): Remove unused field array. Reorder
3261 (LOOP_PREFETCH): Remove.
3263 2006-04-24 Richard Guenther <rguenther@suse.de>
3265 PR tree-optimization/22525
3266 * value-prof.c (tree_mod_pow2): Remove unnecessary temporary
3267 variable, adjust types of generated expressions.
3269 2006-04-23 H.J. Lu <hongjiu.lu@intel.com>
3271 * Makefile.in (c-convert.o): Add dependency on $(TARGET_H)
3272 (tree-vect-patterns.o): Likewise.
3274 (cselib.o): Likewise.
3275 (loop-doloop.o): Likewise.
3276 (regclass.o): Likewise.
3277 (reload1.o): Likewise.
3278 (explow.o): Replace target.h with $(TARGET_H).
3279 (ipa-prop.o): Likewise.
3280 (ipa-cp.o): Likewise.
3281 (ipa-inline.o): Likewise.
3282 (reorg.o): Likewise.
3283 (reg-stack.o): Likewise.
3285 2006-04-23 Eric Botcazou <ebotcazou@adacore.com>
3287 * tree-tailcall.c (pass_tail_recursion): Use gate_tail_calls too.
3289 2006-04-23 Mark Mitchell <mark@codesourcery.com>
3291 * print-tree.c (print_node): Print DECL_BIT_FIELD_TYPE.
3293 * configure.ac: Completely disregard languages that are not
3295 * configure: Regenerated.
3298 * c-common.h (c_build_bitfield_integer_type): Declare.
3299 * c-decl.c (c_build_bitfield_integer_type): Move to ...
3300 * c-common.c (c_build_bitfield_integer_type): ... here.
3302 2006-04-23 Roger Sayle <roger@eyesopen.com>
3305 * config/fr30/fr30.md (define_split): Avoid calling gen_lowpart on
3306 a SImode SUBREG of a floating point register after no_new_pseudos.
3308 2006-04-23 Roger Sayle <roger@eyesopen.com>
3310 * config/fr30/fr30.md (addsi_small_int): Use REGNO_PTR_FRAME_P to
3311 identify potentially eliminable registers to additionally catch
3312 VIRTUAL_INCOMING_ARGS_REGNUM.
3313 (addsi3): Update the conditions on when to use addsi_small_int.
3315 2006-04-23 Roger Sayle <roger@eyesopen.com>
3318 * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Check REGNO for
3319 STACK_POINTER_RTX and FRAME_POINTER_RTX instead of comparing the
3320 rtx to stack_pointer_rtx or frame_pointer_rtx directly.
3322 2006-04-23 Eric Botcazou <ebotcazou@adacore.com>
3324 * fold-const.c (range_predecessor): Use operand_equal_p
3325 as the predicate for equality.
3326 (range_successor): Likewise.
3328 2006-04-22 Kazu Hirata <kazu@codesourcery.com>
3331 * config/soft-fp/op-common.h: Fix a typo.
3333 2006-04-22 Frank Ch. Eigler <fche@redhat.com>
3336 * common.opt (flag_mudflap_threads): Overload flag_mudflap.
3337 * tree-mudflap.c (flag_mudflap_threads): Derive from flag_mudflap.
3339 2006-04-22 Kazu Hirata <kazu@codesourcery.com>
3341 * config/soft-fp/op-common.h, double-int.h, tree-ssa-dom.c:
3343 * doc/tm.texi: Fix a typo.
3345 2006-04-21 Geoffrey Keating <geoffk@apple.com>
3347 * dwarf2out.c (struct die_struct): Document that die_sib makes
3348 a circular linked list.
3349 (FOR_EACH_CHILD): New.
3350 (reverse_die_lists): Delete.
3351 (reverse_all_dies): Delete.
3352 (add_dwarf_attr): Correct documentation.
3353 (remove_child_with_prev): New.
3354 (remove_child_TAG): Update for change to die_struct, use
3355 remove_child_with_prev.
3356 (add_child_die): Update for change to die_struct.
3357 (splice_child_die): Use remove_child_with_prev and add_child_die.
3358 (print_die): Use FOR_EACH_CHILD.
3359 (die_checksum): Likewise.
3360 (assign_symbol_names): Likewise.
3361 (output_location_lists): Likewise.
3362 (build_abbrev_table): Likewise.
3363 (calc_die_sizes): Likewise.
3364 (mark_dies): Likewise.
3365 (unmark_dies): Likewise.
3366 (unmark_all_dies): Likewise.
3367 (output_die): Likewise.
3368 (prune_unused_types_mark): Likewise.
3369 (prune_unused_types_walk): Likewise.
3370 (same_die_p): Update for change to die_struct.
3371 (break_out_includes): Likewise.
3372 (prune_unused_types_prune): Likewise.
3373 (add_sibling_attributes): Use FOR_EACH_CHILD, simplify logic.
3374 (prune_unmark_dies): Use FOR_EACH_CHILD, don't clear die_mark if
3376 (dwarf2out_finish): Don't call reverse_all_dies.
3378 2006-04-21 Eric Christopher <echristo@apple.com>
3380 * df-core.c, tree-outof-ssa.c, config/i386/i386.c: Fix typos
3381 in comments and function names.
3383 2006-04-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3386 * c-typeck.c (digest_init): Robustify.
3388 * c-typeck.c (pop_init_level): Simplify.
3390 2006-04-21 Steve Ellcey <sje@cup.hp.com>
3392 * config/pa/t-pa64: Add dependencies on $(GCC_PASSES).
3394 2006-04-21 Paul Brook <paul@codesourcery.com>
3396 * config/arm/arm.c (arm_override_options): Error on iWMMXt and
3397 hardware floating point.
3399 2006-04-21 David Edelsohn <edelsohn@gnu.org>
3401 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add sfp to
3404 2006-04-21 Nick Clifton <nickc@redhat.com>
3406 * config/sh/t-elf (EXTRA_MULTILIB_PARTS): Include
3409 2006-04-21 Alan Modra <amodra@bigpond.net.au>
3412 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use
3413 C++ lang type in traceback table for Objective-C++.
3415 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Update comment.
3417 2006-04-20 H.J. Lu <hongjiu.lu@intel.com>
3419 * config/i386/i386.c (asm_preferred_eh_data_format): Reformat.
3421 2006-04-20 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3424 * tree-mudflap.c (mudflap_finish_file): Skip function when there
3425 were errors. Remove check for erroneous objects.
3427 2006-04-20 Jeff Law <law@redhat.com>
3429 PR tree-optimization/26854
3430 * tree-ssa-dse.c (dse_optimize_stmt): Avoid num_imm_uses when
3431 checking for zero or one use.
3432 * tree-ssa-dom.c (propagate_rhs_into_lhs): Similarly.
3433 * tree-cfgcleanup.c (merge_phi_nodes): Similarly.
3434 * tree-ssa-reassoc.c (negate_value): Similarly.
3435 (reassociate_bb): Similarly.
3437 2006-04-20 Jakub Jelinek <jakub@redhat.com>
3439 * c-pretty-print.c (pp_c_direct_abstract_declarator): Print
3440 TYPE_MAX_VALUE (TYPE_DOMAIN (t)) + 1 for ARRAY_TYPE rather
3441 than plain TYPE_MAX_VALUE (TYPE_DOMAIN (t)).
3443 2006-04-20 Alan Modra <amodra@bigpond.net.au>
3445 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Consume all
3446 fp regs if the last fp arg doesn't fit in regs.
3448 2006-04-20 Kaz Kojima <kkojima@gcc.gnu.org>
3451 * config/sh/sh.md (movsicc_true+3): Tweak condition for the case
3452 that the last insn has the REG_INC note.
3454 2006-04-19 Carlos O'Donell <carlos@codesourcery.com>
3455 Nathan Sidwell <nathan@codesourcery.com>
3458 * stor-layout.c (update_alignment_for_field): Do not align
3460 (place_union_field): Place union field at the start of the union.
3461 (place_field): Move ERROR_MARK check later, and use the current
3462 allocation position to maintain monotonicity.
3464 2006-04-19 Zdenek Dvorak <dvorakz@suse.cz>
3466 * dominance.c: Include timevar.h.
3467 (calculate_dominance_info): Use TV_DOMINANCE.
3468 * timevar.def (TV_DOMINANCE): New timevar.
3469 * Makefile.in (dominance.o): Add TIMEVAR_H dependency.
3471 2006-04-19 Andreas Krebbel <krebbel1@de.ibm.com>
3473 PR rtl-optimization/14261
3474 * ifcvt.c (noce_emit_move_insn): Call store_bit_field if the resulting
3475 move would be an INSV insn.
3476 (noce_process_if_block): Don't optimize if the destination is a
3477 ZERO_EXTRACT which can't be handled by noce_emit_move_insn.
3479 2006-04-19 Andreas Krebbel <krebbel1@de.ibm.com>
3481 * config/s390/s390.md: Add comments with the instructions emitted
3482 by an insn pattern if macros are used.
3484 2006-04-19 Alan Modra <amodra@bigpond.net.au>
3486 PR rtl-optimization/26026
3487 * fold-const.c (fold_binary): Optimize div and mod where the divisor
3488 is a known power of two shifted left a variable amount.
3490 2006-04-18 Geoffrey Keating <geoffk@apple.com>
3492 * dwarf2out.c (prune_unused_types_update_strings): Don't add strings
3493 to hash table twice when the debug_str section has SECTION_MERGE.
3495 2006-04-18 Joseph S. Myers <joseph@codesourcery.com>
3497 * config/soft-fp: New directory. From glibc.
3498 * config/soft-fp/t-softfp: New.
3499 * config/soft-fp/README: New.