1 2003-03-22 DJ Delorie <dj at redhat dot com>,
2 Bruce Korb <bkorb at gnu dot org>
4 * fixinc/inclhack.def (solaris_mutex_init_1): New; Fix
5 buggy Solaris 2.6 mutex/cond initializers.
6 (solaris_mutex_init): Rename to solaris_mutex_init_2.
7 * fixinc/fixincl.x: Regenerate.
8 * fixinc/tests/base/pthread.h: Update.
9 * fixinc/fixincl.c(initialize): be explicit about the default case
10 and indicate verbose level when being very, very verbose.
11 * fixinc/check.tpl(VERBOSE): provide a means for passing the value in
13 2003-03-22 Andreas Jaeger <aj@suse.de>
15 * config/i386/i386.c (ix86_init_machine_status): Return value.
17 2003-03-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
19 * pa.c (output_cbranch, output_bb, output_bvb): Output nop for
20 conditional branch to the following instruction. Use next_real_insn
21 instead of next_active_insn.
22 (output_dbra, output_movb, jump_in_call_delay): Use next_real_insn
23 instead of next_active_insn.
25 2003-03-22 Ulrich Weigand <uweigand@de.ibm.com>
27 * config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o' instead
28 of 'm' constraint in forced-split alternatives.
29 ("*adddi3_31", "*subdi3_31"): Likewise. Also, pass 0 instead of 1 as
30 VALIDATE_ADDRESS parameter to operand_subword.
32 2003-03-22 Kazu Hirata <kazu@cs.umass.edu>
34 * config/h8300/h8300.c (notice_update_cc): Correctly handle
35 the case where the set destination is STRICT_LOW_PART.
37 2003-03-22 Svein E. Seldal <Svein.Seldal@solidas.com>
39 * config/c4x/t-c4x (INSTALL_LIBGCC): Make gcc recognize a c33 as a
40 c30 instead of a c40 processor.
42 2003-03-22 Alan Modra <amodra@bigpond.net.au>
44 * combine.c (simplify_comparison <AND>): Use gen_int_mode. Tidy.
46 2003-03-21 Zack Weinberg <zack@codesourcery.com>
48 * c-common.c: Include intl.h.
49 (shadow_warning): Rewrite to allow better diagnostic translations.
50 * c-common.h: Update prototype of shadow_warning. Declare sw_kind enum.
51 * c-decl.c (warn_if_shadowing): Update calls to shadow_warning;
53 * Makefile.in (c-common.o): Add intl.h.
55 2003-03-21 Nathanael Nerode <neroden@gcc.gnu.org>
57 * config.gcc: Remove 'float_format'.
59 * fixproto: Define NULL and size_t in generated stdlib.h and
60 unistd.h. Kill unused required_stdlib_h, required_unistd_h.
61 Rearrange file generation loop for readability. Generate time.h,
63 * tsystem.h: Include <string.h>, <time.h> unconditionally.
64 * config.gcc: Blow away POSIX defines.
66 2003-03-22 Stephane Carrez <stcarrez@nerim.fr>
68 * config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
70 2003-03-22 Stephane Carrez <stcarrez@nerim.fr>
72 * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
73 writing .interrupt command.
74 * config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
75 if it's a far or near function.
76 ("call_value"): Likewise.
77 * config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and
79 (m68hc11_handle_fntype_attribute): Accept attributes on methods.
80 (m68hc11_override_options): Ignore -mlong-calls for 68HC11.
81 (m68hc11_initial_elimination_offset): Set current_function_far
82 according to attributes.
83 (expand_prologue): Likewise.
84 (trap_handler_symbol): New global to keep track of trap handlers.
85 (m68hc11_encode_section_info): Mark symbol as far if needed; set
87 (m68hc11_is_far_symbol): New function.
88 (m68hc11_is_trap_symbol): New function.
89 * config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare.
90 (m68hc11_is_trap_symbol): Declare.
92 Fri Mar 21 23:12:33 CET 2003 Jan Hubicka <jh@suse.cz>
94 * i386.c (ix86_compute_frame_layout): Recompute fast prologues
95 only when amount of saved regs changed.
96 (ix86_init_machine_status): Initialize use_fast_prologue_epilgoue_nregs.
97 * i386.h (machine_function): New fields use_fast_prologue_epilgoue_nregs.
99 Fri Mar 21 22:44:33 CET 2003 Jan Hubicka <jh@suse.cz>
102 * function.c (instantiate_virtual_regs_lossage): New function.
103 (instantiate_virtual_regs_1): Use it.
104 (instantiate_virtual_regs): Do not continue in substition when insn has
107 2003-03-21 Kazu Hirata <kazu@cs.umass.edu>
109 * combine.c (make_field_assignment): Fix a warning.
111 2003-03-21 Kazu Hirata <kazu@cs.umass.edu>
113 * config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.
115 2003-03-21 Dale Johannesen <dalej@apple.com>
117 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Increase
118 priority for R2 on Darwin.
119 (HARD_REGNO_MODE_OK): Don't accept R31 for DFmode.
121 2003-03-21 Kazu Hirata <kazu@cs.umass.edu>
123 * combine.c (make_field_assignment): Remove unnecessary AND
124 when storing into zero_extract.
126 2003-03-21 Zack Weinberg <zack@codesourcery.com>
128 * aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete.
129 * configure.in: Don't call gcc_AC_C_FLOAT_FORMAT.
130 * defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN
133 2003-03-21 DJ Delorie <dj@redhat.com>
135 * optabs.c (init_integral_libfuncs): Make sure we init at least up
136 to "long long" size words.
138 2003-03-21 Ulrich Weigand <uweigand@de.ibm.com>
140 * config/s390/s390.h: Do not include fixdfdi.h on s390x.
141 (TARGET_64BIT): Define as compile-time constant when IN_LIBGCC2.
142 (MIN_UNITS_PER_WORD): Do not define when IN_LIBGCC2.
144 2003-03-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
147 * doc/extend.texi: Move misplaced paragraph about underscores in
150 2003-03-21 Eric Botcazou <ebotcazou@libertysurf.fr>
151 Richard Henderson <rth@redhat.com>
154 * config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
155 (GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
156 PIC+SYMBOLIC_CONST in other modes than Pmode.
157 (GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
158 the form PIC+SYMBOLIC_CONST as mode dependent.
160 2003-03-21 DJ Delorie <dj@redhat.com>
162 * config/stormy16/stormy16.c (xstormy16_expand_arith): Make
163 sure we always emit at least one insn.
165 2003-03-21 Christopher Faylor <cgf@redhat.com>
167 * config.gcc (i[34567]86-*-cygwin*): Use new common makefile
168 stub t-cygming. Use common target header cygming.h. Add extra
169 c_target_obj and cxx_target_obj file. Default cygwin to posix
170 threading. Enforce i386 as float format.
171 (i[34567]86-*-mingw*): Use new common makefile stub t-cygming.
172 Remove cygwin.h as target header. Use common target header
173 cygming.h Enforce i386 as float format. Correct typo.
174 * config/i386/cygming.h: New file, containing definitions
175 common to mingw32 and cygwin.
176 * config/i386/cygwin.h: Remove definitions common to cygwin and
177 mingw. Simplify special spec logic. Define "wrappers" around
178 certain include path defines to accommodate -mno-cygwin.
179 Remove some #if 0'ed code.
180 (STANDARD_INCLUDE_DIR) Always define when not cross-compiling.
181 (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin.
182 (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan.
183 * config/i386/mingw32.h: Remove definitions common to cygwin and
185 (EXTRA_OS_CPP_BUILTINS): Adjust.
186 (TARGET_VERSION): Define.
187 * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override
188 mingw32.h definitions.
189 (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h.
190 * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o.
191 Add compilation rules for cygwin1.o cygwin2.o.
192 * config/i386/cygwin1.c: New file.
193 * config/i386/cygwin2.c: New file.
194 * config/i386/t-cygming: New makefile stub.
196 2003-03-20 Richard Henderson <rth@redhat.com>
198 * fold-const.c (extract_muldiv_1): Revert changing order of
199 operands in case MULT_EXPR of 2003-02-16 patch.
201 2003-03-20 Daniel Berlin <dberlin@dberlin.org>
202 Merge changes from new-regalloc-branch
204 From Michael Matz <matz@suse.de>
205 * df.c (df_ref_record_1): Move init of loc to safe point.
206 Only recurse on interesting things in parallels.
207 Handle CLASS_CANNOT_CHANGE_MODE smarter.
208 (df_uses_record): Ditto.
210 * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which
211 it's already okay to use memory operands in (IE doesn't require
212 adding another insn or anything).
214 2003-03-20 Richard Henderson <rth@redhat.com>
217 * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE
218 different from word_mode.
220 2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
222 * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
223 source operand to those that can be extracted with bld.
225 2003-03-20 Richard Earnshaw <rearnsha@arm.com>
228 * arm.md (UNSPEC_PIC_BASE): New constant.
229 (pic_add_dot_plus_four): Wrap with unspec.
230 (pic_add_dot_plus_eight): Likewise.
232 2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
234 * config/h8300/h8300.md (*insv_si_1_n): New.
235 (*insv_si_1_n_lshiftrt): Likewise.
237 2003-03-20 Roger Sayle <roger@eyesopen.com>
239 * fold-const.c (fold_mathfn_compare): New function to simplify
240 comparisons against built-in math functions. Fold comparisons
241 of sqrt against constants.
242 (fold): Call fold_mathfn_compare when appropriate.
244 2003-03-20 Richard Earnshaw <rearnsha@arm.com>
246 * ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
249 2003-03-20 Per Bothner <pbothner@apple.com>
251 Various cleanups to help compile server.
253 * cppinit.c (cpp_create_reader): Take extra hash_table* argument,
254 and pass that to _cpp_init_hashtable.
255 (cpp_read_main_file): Drop hash_table* argument; don't call
257 * cpplib.h: Update declarations to match.
258 * c-opts.c (c_common_init_options): Pass ident_hash to
260 (c_common_post_options): Don't pass ident_hash to cpp_read_main_file.
261 * fix-header.c (read_scan_file): Likewise pass NULL table to
262 cpp_create_reader rather than cpp_read_main_file.
264 * cppfiles.c (cpp_rename_file): Generalized and renamed
266 * cpplib.h: Update declaration to match.
267 * c-opts.c (push_command_line_line, finish_options): Change
268 cpp_rename_file calls to cpp_change_file.
270 * line-map.c (add_line_map): Allow leaving the outermost file.
271 Allowing entering an outermost-file after the initial time.
273 * toplev.c (pop_srcloc): Allow popping from initial file.
275 2003-03-20 Kazu Hirata <kazu at cs dot umass dot edu>
277 * fold-const.c (fold): Fold A - (A & B) into ~B & A.
279 2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
281 * config/h8300/h8300.md (a peephole2): New.
283 2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
285 * config/h8300/h8300.md (*addsi3_and_r_1): New.
286 (*addsi3_and_not_r_1): Likewise.
288 2003-03-19 Loren James Rittle <ljrittle@acm.org>
290 * Makefile.in (STRICT2_WARN): Add @WERROR@.
291 (GCC_WARN_CFLAGS): Remove $(WERROR).
292 (fixinc.sh-warn): New.
293 * ada/Make-lang.in (ada-warn): Add $(WERROR).
294 * cp/Make-lang.in (cp-warn): Add $(WERROR).
295 * f/Make-lang.in (f-warn): Add $(WERROR).
296 * java/Make-lang.in (java-warn): Add $(WERROR).
297 * treelang/Make-lang.in (treelang-warn): Add $(WERROR).
299 2003-03-19 Nathanael Nerode <neroden@gcc.gnu.org>
301 * c-common.h (c_dump_tree), c-dump.c (c_dump_tree),
302 langhooks-def.h (lhd_tree_dump_dump_tree),
303 langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree):
304 Change return type from 'int' to 'bool'. Replace 0 and 1 with
305 true and false in return statements.
307 2003-03-19 Kevin Buettner <kevinb@redhat.com>
309 * dwarf2out.c (DWARF_INITIAL_LENGTH_SIZE): Define.
310 (DWARF_COMPILE_UNIT_HEADER_SIZE): Take into account
311 DWARF_INITIAL_LENGTH_SIZE.
312 (output_compilation_unit_header, output_pubnames, output_aranges)
313 (output_line_info): Output 0xffffffff escape value for 64-bit
315 * config/mips/iris6.h (DWARF_INITIAL_LENGTH_SIZE): Define.
317 2003-03-19 Ulrich Weigand <uweigand@de.ibm.com>
319 * config/s390/s390.c (s390_preferred_reload_class): Do not
320 force constants to the pool unless necessary.
321 (s390_decompose_address): Prefer to use pointer as base,
323 * config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from
325 ("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi",
326 "*movdf_64", "*movsf"): Add '?' to Q->Q alternatives.
327 ("*extractqi", "*extracthi", "*zero_extendhisi2_31",
328 "*zero_extendqisi2_31", "*zero_extendqihi2_31",
329 "*adddi3_31", "*subdi3_31"): Do not set "type" attribute.
331 Wed Mar 19 11:28:45 CET 2003 Jan Hubicka <jh@suse.cz>
333 * i386.h (machine_function): New fields use_fast_prologue_epilogue.
334 * i386.c (use_fast_prologue_epilogue): Remove.
335 (ix86_frame): New field save_regs-using_mov;
336 (ix86_compute_frame_layout): Decide on fast prologues;
337 allocate saved registers in red zone.
338 (ix86_expand_epilogue, ix86_expand_prolgoues): Obey new parameters.
340 2003-03-19 Nick Clifton <nickc@redhat.com>
342 * config/mcore/mcore.h (CPP_SPEC): Remove trailing semi-colon.
344 2003-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
347 * config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine.
348 * pa-protos.h (output_lbranch): New prototype.
349 * pa.c (compute_frame_size): Change size of the frame marker on the
350 64-bit ports to 48 bytes.
351 (pa_output_function_prologue): Document why SAVE_SP is set.
352 (hppa_expand_prologue): Save previous stack pointer into frame marker
353 on targets which use the hpux unwind library.
354 (output_cbranch): Use output_lbranch.
355 (output_lbranch): New function to output long unconditional branches.
356 * pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define.
357 (STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on
359 * pa.md (jump): Use output_lbranch.
360 (allocate_stack): New expander for dynamic stack allocation.
362 2003-03-19 Alan Modra <amodra@bigpond.net.au>
364 * config/rs6000/rs6000.c (rs6000_stack_info): Only require a frame
365 when debugging on XCOFF targets. Delete "abi" temp.
368 * combine.c (force_to_mode <NOT>): Use gen_int_mode.
370 2003-03-18 Jakub Jelinek <jakub@redhat.com>
372 * config/s390/s390.c (s390_output_dwarf_dtprel): New.
373 * config/s390/s390-protos.h (s390_output_dwarf_dtprel): New proto.
374 * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define.
376 * config/ia64/ia64.c (ia64_output_dwarf_dtprel): New.
377 * config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): New proto.
378 * config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Define.
380 2003-03-18 Geoffrey Keating <geoffk@apple.com>
382 * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't clone
383 the result of machopic_function_base_name.
384 * config/darwin.c (machopic_function_base_name): Use a gc-allocated
385 string rather than a static array.
387 * Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies.
389 * gengtype.c: Include rtl.h.
390 (enum rtx_code): Don't define.
391 (rtx_format): Make declaration match rtl.h.
392 (rtx_next_new): Rename from rtx_next to avoid conflict. Change all
394 (adjust_field_rtx_def): Describe strings in NOTE_LINE_NUMBER notes.
395 * Makefile.in (gengtype.o): Update dependencies.
397 2003-03-18 Andreas Schwab <schwab@suse.de>
399 * config/m68k/m68k.md (iordi3): Fix setting low half to -1. From
402 2003-03-18 Geoffrey Keating <geoffk@apple.com>
404 * function.c (next_block_index): Mark with GTY.
406 * config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
408 2003-03-18 Richard Henderson <rth@redhat.com>
410 * config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
411 (builtin_setjmp_receiver): Delay call to ia64_reload_gp
414 2003-03-18 Richard Henderson <rth@redhat.com>
416 * builtins.c (expand_builtin_unop): New target_mode operand;
417 use it to convert the result to the correct mode.
418 (expand_builtin): Update all callers.
420 2003-03-18 Ulrich Weigand <uweigand@de.ibm.com>
422 * config/s390/s390.md ("movti", "movhi", "movqi"): Add "type" attribute.
424 Tue Mar 18 19:22:57 CET 2003 Jan Hubicka <jh@suse.cz>
426 * i386.md: Fix previous commit that mistakely applied the patch
429 * alias.c (rtx_equal_for_memref_p): Assume that X and Y has been
431 (memrefs_conflict_p): Likewise.
432 (addr_side_effect_eval): Canonicalize the constructed address.
434 Tue Mar 18 13:15:08 CET 2003 Jan Hubicka <jh@suse.cz>
436 * i386.md (cvtts?2si peep2): New.
438 2003-03-18 Kazu Hirata <kazu@cs.umass.edu>
440 * config/h8300/h8300.md (*iorsi3_two_qi_zext): New.
442 2003-03-18 Andreas Schwab <schwab@suse.de>
444 * dwarf2out.c (output_file_names): Cast size_t to unsigned long
447 2003-03-17 Jason Merrill <jason@redhat.com>
450 * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of
451 an unaligned member of TREE_ADDRESSABLE type.
453 2003-03-18 Alan Modra <amodra@bigpond.net.au>
455 * config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.
456 (TARGET_PROFILE_KERNEL): Define.
457 (SUBTARGET_SWITCHES): Handle -mprofile-kernel.
458 (PROFILE_BEFORE_PROLOGUE): Don't define.
459 (PROFILE_KERNEL): Remove hacks.
460 * config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default.
461 (rs6000_stack_info): No need to save lr if just for profiling when
462 TARGET_PROFILE_KERNEL.
463 (output_profile_hook): Output nothing when TARGET_PROFILE_KERNEL.
464 (output_function_profiler): Localize label generation. Emit code
465 for kernel profiling.
467 2003-03-17 Kazu Hirata <kazu@cs.umass.edu>
469 * config/h8300/h8300-protos.h: Add a prototype for
470 byte_accesses_mergeable_p.
471 * config/h8300/h8300.c (byte_accesses_mergeable_p): New.
472 * config/h8300/h8300.md (*iorhi3_two_qi_mem): Likewise.
473 (a splitter): Likewise.
474 (*iorsi3_ashift_16_ashift_24): Likewise.
475 (*iorsi3_ashift_16_ashift_24_mem): Likewise.
477 2003-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
479 * dwarf2asm.h: Delete obsolete comment.
480 (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
481 dw2_asm_output_pcrel, dw2_asm_output_addr,
482 dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
483 dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
484 dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
485 dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
487 2003-03-17 Zack Weinberg <zack@codesourcery.com>
489 * c-tree.h (struct lang_identifier): Remove error_locus field.
490 (IDENTIFIER_ERROR_LOCUS): Kill.
491 (record_function_scope_shadow): New prototype.
492 * c-typeck.c (build_external_ref): Don't complain if
493 decl is error_mark_node. When not at file scope, bind the
494 decl's local value to error_mark_node to suppress further
495 warnings, instead of setting IDENTIFIER_ERROR_LOCUS.
497 * c-decl.c (get_function_binding_level): New static function.
498 (record_function_scope_shadow): New exported function.
499 (c_make_fname_decl): Use get_function_binding_level.
501 2003-03-17 Steve Ellcey <sje@cup.hp.com>
503 * stmt.c (tail_recursion_args): Call promote_mode to set
504 unsignedp flag correctly before calling convert_move.
506 2003-03-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
508 * loop-unroll.c (decide_peel_completely,
509 decide_unroll_constant_iterations, decide_unroll_stupid,
510 decide_unroll_runtime_iterations, decide_peel_simple): Set
513 Mon Mar 17 18:57:01 CET 2003 Jan Hubicka <jh@suse.cz>
515 * ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.
517 2003-03-17 Olivier Hainque <hainque@act-europe.fr>
519 * function.c (assign_parms): For a struct value address passed as
520 first argument, delay the function's result RTL setup code until
521 after the emission of parameter conversions.
523 2003-03-17 Dave Love <fx@gnu.org>
524 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
526 * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
527 __arch64__ to match Compaq cc.
529 2003-03-17 Neil Booth <neil@daikokuya.co.uk>
531 * c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
532 (c_common_init): Set EBCDIC in cpp options.
533 * cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option,
534 not conditional compilation.
535 * cpplib.h (struct cpp_options): New entry EBCDIC.
537 2003-03-17 Neil Booth <neil@daikokuya.co.uk>
539 * fix-header.c (read_scan_file): Need to malloc arguments to add_path.
541 2003-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
543 * function.c (thread_prologue_and_epilogue_insns): Set delete_unused
544 argument to 0 for redirect_jump.
546 2003-03-16 Mark Mitchell <mark@codesourcery.com>
549 * except.c (eh_region_u_cleanup): Add prev_try.
550 (expand_eh_region_end_cleanup): Set it.
551 (reachable_handlers): Use it to skip over cleanup blocks.
553 2003-03-17 Andreas Jaeger <aj@suse.de>
555 * Makefile.in (TAGS): Remove obsolete handling of =*.[chy].
557 2003-03-17 Alan Modra <amodra@bigpond.net.au>
559 * config/rs6000/linux64.h (TARGET_64BIT): Redefine.
560 (TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Likewise.
561 (SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Likewise.
562 (SUBTARGET_OVERRIDE_OPTIONS, CPP_SYSV_SPEC): Likewise.
564 2003-03-16 Richard Henderson <rth@redhat.com>
566 * simplify-rtx (simplify_binary_operation): Don't abort for
567 SS_PLUS, US_PLUS, SS_MINUS, US_MINUS.
569 2003-03-16 Richard Henderson <rth@redhat.com>
571 * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
572 optimize_size as well.
574 2003-03-16 Stephane Carrez <stcarrez@nerim.fr>
576 * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
577 for D register to specify the low part of it, aka B.
578 (m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement
579 the register if we are loading 1 or -1 to it; avoid using temp
580 register when moving X/Y to Y/X.
581 (m68hc11_gen_movqi): Likewise.
582 (m68hc11_check_z_replacement): Fix last insn setting for compare case.
584 2003-03-14 Mark Mitchell <mark@codesourcery.com>
587 * config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs
588 into the constant pool.
590 2003-03-16 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
593 * tree.c (get_narrower): For extensions with unchanged bit number,
594 return the unsignedness of the outer mode.
596 2003-03-16 Roger Sayle <roger@eyesopen.com>
598 * c-typeck.c (build_component_ref): Turn "for" into "do .. while"
599 to avoid "may be used uninitialized" warning on ia64-hpux.
600 * config/ia64/ia64-c.c: Include "tm_p.h" for function prototypes.
602 2003-03-16 Andreas Jaeger <aj@suse.de>
604 * configure.in: Improve check for memcheck.h.
605 * configure: Regenerated.
607 2003-03-16 Neil Booth <neil@daikokuya.co.uk>
609 * doc/cppopts.texi: Remove documentation of -A-.
611 2003-03-15 Zack Weinberg <zack@codesourcery.com>
613 * doc/libgcc.texi: Remove @tie.
615 2003-03-15 Josef Zlomek <zlomekj@suse.cz>
617 * rtl.h (subrtx_p): Renamed to rtx_referenced_p.
618 (rtx_pair): Added new element update_label_nuses, renamed to
620 * cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Use
621 replace_label_data instead of rtx_pair.
622 * loop.c (load_mems): Likewise.
623 * rtlanal.c (replace_label): Replace label in pool constants and in
624 INSN_LIST (in REG_LABEL note).
625 (subrtx_p): Renamed to rtx_referenced_p.
626 (subrtx_p_1): Renamed to rtx_referenced_p_1, compare the interior of
627 LABEL_REF with CODE_LABEL, traverse constants from pool.
629 2003-03-15 Aldy Hernandez <aldyh@redhat.com>
630 Zack Weinberg <zack@codesourcery.com>
632 * Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.
633 * doc/libgcc.texi: New file.
634 * doc/interface.texi: Delete paragraph about libgcc interface.
635 * doc/gccint.texi: Add libgcc menu entry and @include libgcc.texi.
637 2003-03-15 Jason Merrill <jason@redhat.com>
640 * dwarf2out.c (gen_decl_die): Ignore frontend tree codes.
643 * dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested
644 function DIEs at toplevel.
645 (decls_for_scope): At -g1, don't descend into subblocks.
647 2003-03-15 Ulrich Weigand <uweigand@de.ibm.com>
649 * varasm.c (struct rtx_const): Change type of un.addr member
650 to struct holding an additional 'symbol' member.
651 (decode_rtx_const): Re-enable optimization to count SYMBOL_REFs
652 with equal string addresses as equal.
653 (simplify_subtraction): Adapt to struct rtx_const change.
655 2003-03-15 Neil Booth <neil@daikokuya.co.uk>
657 * fix-header.c (read_scan_file): Read main file before handling -D.
659 2003-03-15 Roger Sayle <roger@eyesopen.com>
661 * c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
662 * c-typeck.c (c_tree_expr_nonnegative_p): Likewise.
663 * cfgbuild.c (find_many_sub_basic_blocks): Likewise.
664 (find_sub_basic_blocks): Likewise.
665 * cgraphunit.c (cgraph_expand_functions): Likewise.
666 * dwarf2out.c (prune_unused_types): Likewise.
667 * expr.c (store_field): Likewise.
668 * genextract.c (print_path): Likewise.
669 * haifa-sched.c (schedule_insn): Likewise.
670 * lcm.c (compute_antinout_edge): Likewise.
671 * loop-unroll.c (decide_peel_once_rolling): Likewise.
672 * ra-colorize.c (ra_colorize_free_all): Likewise.
673 * ra-debug.c (dump_igraph): Likewise.
674 (debug_hard_reg_set): Likewise.
675 * reg-stack.c (reg_to_stack): Likewise.
676 * rtlanal.c (refers_to_regno_p): Likewise.
677 * tracer.c (layout_superblocks): Likewise.
679 2003-03-15 Neil Booth <neil@daikokuya.co.uk>
681 * fix-header.c (read_scan_file): Fix thinko.
683 2003-03-15 Glen Nakamura <glen@imodulo.com>
685 * reload1.c (choose_reload_regs): Use && instead of ||
686 with REG_CANNOT_CHANGE_MODE_P condition.
688 2003-03-15 Neil Booth <neil@daikokuya.co.uk>
690 * Makefile.in: Update.
691 * c-common.h (cb_register_builtins): Rename c_cpp_builtins.
692 * c-lex.c (init_c_lex): Register builtins hook is dead.
693 * c-opts.c (COMMAND_LINE_OPTIONS, missing_arg): Handle -A, -D and -U.
694 (c_common_decode_option): Don't call cpp_handle_option.
695 Handle -A, -D and -U.
696 (handle_deferred_opts): Simplify.
697 (finish_options): Define builtins and command line macros.
698 * c-ppoutput.c (init_pp_output): Register builtins hook is dead.
699 * cppinit.c: Don't include intl.h.
700 (init_builtins): Rename cpp_init_builtins. No hook to call.
701 (init_library): Don't need to sort options.
702 (cpp_create_reader): Don't set pending.
703 (cpp_destroy): Don't free pending.
704 (struct pending_option, cl_directive_handler, struct cpp_pending,
705 APPEND, free_chain, new_pending_directive, parse_option, opt_comp,
706 cpp_finish_options, COMMAND_LINE_OPTIONS, DEF_OPT, struct cl_option,
707 cl_options, cpp_handle_option): Remove.
708 * cpplib.h (struct cpp_pending, register_builtins, cpp_handle_option,
709 cpp_finish_options): Remove.
710 (cpp_init_builtins): New.
711 * fix-header.c (read_scan_file): Update to handle -D. Fix
712 handling of -I. Replace call to cpp_finish_options.
714 2003-03-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
717 * function.c (thread_prologue_and_epilogue_insns): Use redirect_jump
718 for conditional returns.
720 2003-03-14 Jason Merrill <jason@redhat.com>
723 * varasm.c (assemble_variable): Leave constant zeroes in .rodata.
725 2003-03-14 Neil Booth <neil@daikokuya.co.uk>
727 * c-opts.c (finish_options): New.
728 (COMMAND_LINE_OPTIONS, c_common_decode_option): Add -imacros.
729 (missing_arg): Handle OPT_include and OPT_imacros.
730 (c_common_init, c_common_parse_file): Use finish_options.
731 (handle_deferred_opts): Update.
732 * cppinit.c (struct cpp_pending): Remove imacros_head and imacros_tail.
733 (cpp_finish_options): Don't handle -imacros here.
735 (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -imacros.
737 2003-03-14 Jakub Jelinek <jakub@redhat.com>
739 * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
740 rs6000_maybe_dead if !fromprolog.
742 2003-03-14 Neil Booth <neil@daikokuya.co.uk>
744 * Makefile.in: Update.
745 * c-common.h (fe_file_change, pp_file_change): New.
746 * c-lex.c (init_c_lex): Don't set cb_file_change.
747 (c_common_parse_file): Move to c-opts.c.
748 (cb_file_change): Rename fe_file_change.
749 * c-opts.c: Include debug.h.
750 (warn_unused_macros, include_cursor): New.
751 (push_command_line_include, cb_file_change): New.
752 (COMMAND_LINE_OPTIONS): Handle -include.
753 (c_common_decode_option): Use local warn_unused_macros.
755 (c_common_post_options): Set file change callback.
756 (handle_deferred_opts): Skip -include. Don't free the array.
757 (c_common_init): Call cpp_finish_options here, and push an
758 initial -include file.
759 * c-ppoutput.c (cb_file_change): Rename pp_file_change.
760 (preprocess_file): Don't call cpp_finish_options.
761 (init_pp_output): Don't set the file change callback.
762 (pp_file_change): Return if no line commands or no output.
763 * cpphash.h (next_include_file, first_unused_line): Remove.
764 * cppinit.c (include_head, include_tail): Remove.
765 (cpp_destroy): Don't free -include chain.
766 (cpp_finish_options): Don't handle -include, or worry about
768 (_cpp_maybe_push_include_file): Remove.
769 (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -include.
770 * cpplib.c (_cpp_pop_buffer): Don't handle -include.
771 * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_create_definition):
772 Used flag is set based upon the state of the warn_unused_macros
773 flag, and so use of first_unused_line is unnecessary.
775 Thu Mar 13 18:39:42 CET 2003 Jan Hubicka <jh@suse.cz>
777 * cselib.c (clear_table): Do not take argument; always clear just
779 (cselib_process_insn): Update call of clear_table
780 (cselib_init): Do not call clear_table.
781 (cselib_finish): Clear table.
783 * cse.c (count_reg_usage): Do not check side_effects_p.
784 * rtlanal.c (set_noop_p): Check side_effects_p only when set looks
786 (find_reg_equal_equiv_note): Do not use find_reg_note.
788 2003-03-14 Richard Henderson <rth@redhat.com>
791 * config/alpha/alpha.c (alpha_va_start): Account for
792 current_function_pretend_args_size in the AP offset.
794 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line.
795 (INITIAL_ELIMINATION_OFFSET): Move out of line.
796 * config/alpha/alpha.c (alpha_setup_incoming_varargs): New.
797 (alpha_initial_elimination_offset) New.
798 * config/alpha/alpha-protos.h: Update.
800 2003-03-14 Jakub Jelinek <jakub@redhat.com>
802 * stmt.c (expand_start_case): Call emit_queue ().
804 2003-03-14 Chris Demetriou <cgd@broadcom.com>
805 Alexandre Oliva <aoliva@redhat.com>
807 * config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2
810 2003-03-14 Eric Botcazou <ebotcazou@libertysurf.fr>
813 * tree-inline.c (initialize_inlined_parameters): Make sure the value
814 of read-only constant arguments is passed with the right type.
816 2003-03-14 Steven Bosscher <steven@gcc.gnu.org>
818 * doc/extend.texi (Function Names): Make the example compilable.
820 2003-03-13 David Edelsohn <edelsohn@gnu.org>
822 * config/rs6000/rs6000.c (processor_target_table): Really allow
823 GP optional instructions on Power4.
825 2003-03-13 Roger Sayle <roger@eyesopen.com>
827 * calls.c (flags_from_decl_or_type): Factor and remove redundant
830 2003-03-13 Mike Stump <mrs@apple.com>
832 * ggc-page.c (struct page_entry): Remove varray.h header.
833 Add index_by_depth field.
834 Remove save_in_use_p field.
835 (struct globals): Add depth_in_use, depth_max, by_depth_in_use,
836 by_depth_max, by_depth, and save_in_use fields.
837 (INITIAL_PTE_COUNT): Add.
838 (save_in_use_p_i): Add.
839 (save_in_use_p): Add.
841 (move_ptes_to_front): Add.
843 (push_by_depth): Add.
845 (free_page): Add support for and use faster data structures.
846 (ggc_alloc): Likewise.
847 (init_ggc): Likewise.
848 (ggc_recalculate_in_use_p): Likewise.
849 (ggc_pop_context): Likewise.
850 (clear_marks): Likewise.
851 (ggc_pch_read): Likewise.
852 * Makefile.in (ggc-page.o): Remove varray.h.
854 2003-03-13 Nathanael Nerode <neroden@gcc.gnu.org>
856 * ChangeLog: Rotated last year's entries to...
859 * config/ia64/fde-glibc.c, config/ia64/freebsd.h,
860 config/ia64/hpux.h, config/ia64/hpux_longdouble.h,
861 config/ia64/ia64-c.c, config/ia64/ia64-modes.def,
862 config/ia64/ia64-protos.h, config/ia64/ia64.c,
863 config/ia64/ia64.h, config/ia64/ia64.md,
864 config/ia64/itanium1.md, config/ia64/itanium2.md,
865 config/ia64/quadlib.c, config/ia64/unwind-ia64.c,
866 config/ia64/unwind-ia64.h: It's GCC, not GNU CC.
868 2003-03-13 Aldy Hernandez <aldyh@redhat.com>
870 * config/rs6000/rs6000.c (rs6000_dwarf_register_span):
871 Differentiate endianness.
872 (s6000_override_options): Use cpu type instead of TARGET_SPE.
874 2003-03-13 Nick Clifton <nickc@redhat.com>
876 * config/arm/arm.c (print_multi_reg): Do not generate a type 2
877 LDM instructions with writeback enabled.
878 (output_return_instruction): Likewise.
880 * config/arm/pe.h (FIXED_REGISTERS): Remove definition.
881 (CALL_USED_REGISTERS): Remove definition.
882 (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.
884 2003-03-13 Alan Modra <amodra@bigpond.net.au>
886 * config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
887 (rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF.
888 (rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO.
889 (rs6000_override_options): Don't clear flag_pic for ABI_AIX.
890 (rs6000_legitimize_address): Formatting.
891 (rs6000_emit_move): Likewise.
892 (rs6000_return_addr): Test ABI_AIX as well as flag_pic.
893 (rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise.
894 (rs6000_elf_select_section): Comment reason for shlib being
896 (rs6000_elf_unique_section): Likewise.
897 (rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX.
898 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX
900 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
901 (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
902 * config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define.
904 2003-03-13 Richard Henderson <rth@redhat.com>
906 * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
908 * config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
909 (ia64_gp_save_reg): Remove.
910 (struct ia64_frame_info): Move to the beginning of the file;
912 (ia64_expand_call): Rearrange for new call patterns.
913 (ia64_reload_gp): New.
914 (ia64_split_call): New.
915 (ia64_compute_frame_size): Allocate reg_save_gp.
916 (ia64_expand_prologue): Save reg_save_gp.
917 (ia64_expand_epilogue): Don't restore gp.
918 (ia64_hard_regno_rename_ok): Remove R4 hack.
919 (ia64_function_ok_for_sibcall): New.
920 (ia64_output_mi_thunk): Set reload_completed, no_new_pseudos;
921 call try_split on sibcall pattern.
922 * config/ia64/ia64-protos.h: Update.
923 * config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp):
924 Rename from nopic versions. Confiscate 2nd argument to call as
926 (call_pic, call_value_pic, sibcall_pic): Remove.
927 (call_gp, call_value_gp, sibcall_gp): New.
928 (builtin_setjmp_setup): Remove.
929 (builtin_setjmp_receiver): Call ia64_reload_gp.
931 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
933 * config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
934 config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace
937 * config/c4x/c4x-c.c, config/c4x/c4x-modes.def,
938 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
939 config/c4x/c4x.md, config/c4x/libgcc.S, config/c4x/rtems.h:
942 * genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h,
943 langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC".
945 * c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c,
946 langhooks.c, tree-inline.c, unwind-dw2-fde-darwin.c,
947 unwind-dw2-fde-glibc.c, unwind-libunwind.c, vmsdbgout.c: Replace
950 * config/v850/lib1funcs.asm, config/v850/rtems.h,
951 config/v850/v850-c.c, config/v850/v850-protos.h,
952 config/v850/v850.c, config/v850/v850.h, config/v850/v850.md:
955 * config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h,
956 config/vax/netbsd.h, config/vax/openbsd.h, config/vax/openbsd1.h,
957 config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c,
958 config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h: GCC, not
961 2003-03-12 Benjamin Kosnik <bkoz@redhat.com>
963 * cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING.
965 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
967 * fixinc/fixinc.interix: Remove dead code (most of it).
968 * fixinc/fixinc.dgux: Remove.
970 * ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h,
971 ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC.
973 2003-03-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
975 * pa.c (pa_init_builtins): Fix warning.
977 2003-03-12 Steve Ellcey <sje@cup.hp.com>
979 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
980 (ASM_OUTPUT_XDATA_SHORT): Remove.
981 (ASM_OUTPUT_XDATA_INT): Remove.
982 (ASM_OUTPUT_XDATA_DOUBLE_INT): Remove.
983 (ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs.
984 (ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers.
985 (CASE_VECTOR_MODE): Handle 32 bit pointers in case statement.
987 2003-03-12 Andrew Lewycky <andrew@mxc.ca>
990 * expr.c (store_expr): Don't attempt to store void-typed trees,
991 just evaluate them for side effects.
993 2003-03-12 Neil Booth <neil@daikokuya.co.uk>
995 * cppfiles.c (cpp_rename_file, cpp_push_include): New.
996 * cppinit.c (push_include): Move with changes to cppfiles.c.
997 (cpp_read_main_file): Mark named operators here...
998 (cpp_finish_options): ...not here. Update.
999 (_cpp_maybe_push_include_file): Update.
1000 * cpplib.h (cpp_push_include, cpp_rename_file): New.
1002 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
1004 * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,
1005 _gcc_COMPUTE_GAS_VERSION.
1006 * configure.in: Use them.
1007 * configure: Regenerate.
1009 2003-03-12 Bob Wilson <bob.wilson@acm.org>
1011 * config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
1013 (subdi3): Reorder emitted instructions.
1015 2003-03-12 Andreas Jaeger <aj@suse.de>
1017 * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to
1018 NETBSD_OS_CPP_BUILTINS_LP64.
1020 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
1022 * Makefile.in: Eliminate all.indirect. Update and clean up comments.
1023 Rearrange. Reorganize.
1024 * configure.in: Rearrange.
1025 * configure: Regenerate.
1027 2003-03-12 Andreas Jaeger <aj@suse.de>
1029 * c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for
1032 * doc/cpp.texi (Common Predefined Macros): Document __LP64__ and
1035 * config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define
1037 * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise.
1039 * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to
1040 NETBSD_OS_CPP_BUILTINS_LP64.
1041 * config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
1042 * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
1044 * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove.
1046 Wed Mar 12 19:04:39 CET 2003 Jan Hubicka <jh@suse.cz>
1048 * i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.
1050 2003-03-12 Daniel Jacobowitz <drow@mvista.com>
1052 Fix PR target/9797 and PR c/9853.
1053 * stmt.c (expand_decl_init): Call push_temp_slots () and
1056 Wed Mar 12 16:30:25 2003 J"orn Rennecke <joern.rennecke@superh.com>
1058 * sh.c: Include basic-block.h.
1059 (sh_output_mi_thunk, emit_load_ptr): New functions.
1060 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine.
1062 2003-03-12 Nick Clifton <nickc@redhat.com>
1064 * config/arm/pe.h (FIXED_REGISTERS): Add Maverick registers.
1065 (CALL_USED_REGISTERS): Likewise.
1066 * config/arm/arm.h (FIRST_PSEUDO_REGISTER): Update comment
1067 describing how this value is calculated.
1069 2003-03-12 Hans-Peter Nilsson <hp@bitrange.com>
1071 * configure.in (rlim_t): Define to long if no valid definition
1072 found in sys/resource.h.
1073 * config.in, configure: Regenerate.
1075 2003-03-12 Neil Booth <neil@daikokuya.co.uk>
1077 * config/mcore/mcore-elf.h (CPP_PREDEFINES): Replace with
1078 TARGET_OS_CPP_BUILTINS.
1079 * config/mcore/mcore-pe.h: Similarly.
1080 * config/mcore/mcore.h: Replace CPP_PREDEFINES and part of
1081 CPP_SPEC with TARGET_CPU_CPP_BUILTINS.
1083 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
1086 * c-decl.c (duplicate_decls): Discard the initializer of the new decl
1087 only if it is a VAR_DECL.
1089 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
1091 PR optimization/9888
1092 * config/i386/i386.md (jcc_1): Fix range.
1095 (doloop_end_internal): Likewise.
1097 2003-03-12 Danny Smith <dannysmith@users.sourceforge.net>
1099 * config/i386/winnt.c (DLL_IMPORT_PREFIX): New define.
1100 Use throughout instead of DLL_IMPORT_EXPORT_PREFIX and "e."
1101 (DLL_EXPORT_PREFIX): New define. Use throughout instead of
1102 DLL_IMPORT_EXPORT_PREFIX and "i."
1103 (i386_pe_dllexport_name_p): Here.
1104 (i386_pe_dllimport_name_p): Here.
1105 (i386_pe_mark_dllexport): Here. Remove DLL_IMPORT_PREFIX,
1106 not 9 chars when getting identifier name.
1107 (i386_pe_mark_dllimport): Here.
1108 (i386_pe_encode_section_info): Here. Remove DLL_IMPORT_PREFIX,
1109 not 9 chars when getting identifier name. Correct comment.
1110 (i386_pe_strip_name_encoding): Here. Add comments for different
1112 (gen_fastcall_suffix): Break down xmalloc() argument to
1114 (gen_stdcall_suffix): Likewise.
1115 Update copyright year.
1117 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
1119 PR optimization/9888
1120 * config/i386/i386.md (movsi_1): Remove special alternatives
1122 (movsi_1_nointernunit): Likewise.
1123 (movhi_1): Likewise.
1124 * config/i386/i386.c (memory_address_length): Do not use
1125 short displacement when there is no base.
1126 (ix86_attr_length_address_default): Handle LEA instructions.
1128 2003-03-12 Neil Booth <neil@daikokuya.co.uk>
1130 * c-cppbuiltin.c (builtin_define_std): Make non-static.
1132 2003-03-11 Loren James Rittle <ljrittle@acm.org>
1134 * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
1135 (FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro.
1136 (FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro.
1137 * config/freebsd.h (CPP_PREDEFINES): Remove.
1138 (TARGET_OS_CPP_BUILTINS): New.
1139 * config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS
1140 instead of TARGET_OS_CPP_BUILTINS.
1141 * config/sparc/freebsd.h (CPP_PREDEFINES): Remove.
1143 2003-03-11 Geoffrey Keating <geoffk@apple.com>
1145 * c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED.
1147 2003-03-11 Aldy Hernandez <aldyh@redhat.com>
1149 * config/rs6000/rs6000.c (rs6000_stack_info): Remove
1150 insn_chain_scanned. Use insn_chain_scanned_p in machine_function.
1152 * config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p.
1154 Tue Mar 11 21:19:03 2003 Alexandre Oliva <aoliva@redhat.com>
1156 * toplev.c (independent_decode_option): Return success for --help,
1157 --target-help and --version.
1159 Tue Mar 11 20:20:14 2003 Alexandre Oliva <aoliva@redhat.com>
1161 * config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
1162 Default to -mips3 on -mabi=64. Don't add -mips* flag if -march is
1164 (SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by
1166 (LINK_SPEC): Let endian options affect the linker emulation name.
1168 Tue Mar 11 22:35:39 2003 J"orn Rennecke <joern.rennecke@superh.com>
1170 * sh.md (reload_inqi): Fix mode for source in second set.
1172 Tue Mar 11 22:48:03 CET 2003 Jan Hubicka <jh@suse.cz>
1174 * cselib.c (cselib_invalidate_mem_1): Move too ...
1175 (cselib_invalidate_mem): ... here; use new list
1176 (dummy_val, first_containing_mem): New static variables.
1177 (clear_table): Initialize first_containing_mem.
1178 (discard_useless_values): Compact the containing_mem list.
1179 (add_mem_for_addr): Add to the list.
1180 * cselib.h (cselib_val): Add next_containing_mem.
1182 2003-03-11 Aldy Hernandez <aldyh@redhat.com>
1184 * config/rs6000/rs6000.c (rs6000_override_options): Disable string
1185 instructions for e500.
1187 2003-03-11 Neil Booth <neil@daikokuya.co.uk>
1189 * Makefile.in: Update.
1190 * c-cppbuiltin.c: Include tm_p.h.
1192 2003-03-11 Aldy Hernandez <aldyh@redhat.com>
1194 * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
1196 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
1197 (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
1198 (_Unwind_SetGR): Same.
1199 (_Unwind_GetGRPtr): New.
1200 (_Unwind_SetGRPtr): New.
1201 (uw_update_context_1): Use accesor functions instead of accessing
1202 context->reg[] directly.
1203 (uw_install_context_1): Same.
1204 (execute_cfa_program): Same.
1205 (__frame_state_for): Same.
1207 * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
1208 the synthetic register offset.
1210 * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.
1212 2003-03-11 Hans-Peter Nilsson <hp@axis.com>
1214 * config/cris/cris.md: Remove lingering EGCS reference.
1215 ("*extopqihi_side_biap"): For HI operation, match
1216 cris_additive_operand_extend_operator, not
1217 cris_operand_extend_operator. Adjust condition.
1218 ("*extopqihi_side", "*extopqihi"): Ditto.
1219 ("*extopqisi_side_biap"): Correct operand numbers in condition.
1220 ("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
1221 ("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
1222 ("*extophisi_swap"): Ditto.
1223 ("*extopqihi_swap_side_biap"): For HI operation, match a simple
1224 PLUS, not cris_operand_extend_operator. Adjust condition and
1226 ("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
1227 * config/cris/cris.h (PREDICATE_CODES): Add
1228 cris_additive_operand_extend_operator.
1229 * config/cris/cris.c (cris_additive_operand_extend_operator):
1232 2003-03-11 Hartmut Penner <hpenner@de.ibm.com>
1234 * df.c (read_modify_subreg_p): Change from static to global.
1235 * df.h (read_modify_subreg_p): Add prototype.
1236 * sched-deps.c (sched_analyze_1): Generate true dependency for
1237 strict_low_part, certain subregs and zero/sign_extract.
1239 2003-03-11 Neil Booth <neil@daikokuya.co.uk>
1241 * Makefile.in: Update.
1242 * c-common.c: Don't include real.h or except.h.
1243 (REGISTER_PREFIX): Remove.
1244 (builtin_define_std, builtin_define_with_value,
1245 builtin_define_with_int_value, builtin_define_with_hex_fp_value,
1246 builtin_define_type_max, builtin_define_type_precision,
1247 builtin_define_float_constants): Move to c-cppbuiltin.c.
1248 (c_stddef_cpp_builtins): New.
1249 * c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
1250 * c-cppbuiltin.c: New, extracted from c-common.c.
1251 (define__GNUC__): New.
1252 * cppspec.c (lang_specific_driver): Remove support of -no-gcc.
1253 * gcc.c: Remove support of %v1, %v2 and %v3 specs.
1254 (cpp_unique_options): Don't support no-gcc.
1255 (do_spec_1): Remove support of version specs.
1256 * doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
1257 * doc/passes.texi: Update.
1258 * doc/tm.texi: Update.
1260 2003-03-10 Aldy Hernandez <aldyh@redhat.com>
1262 * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
1264 2003-03-10 Andrew Pinski <apinski@apple.com>
1266 * config/darwin.c (machopic_function_base_name): If dynamic-no-pic
1267 is on should not get here.
1268 (machopic_indirect_data_reference): If dynamic-no-pic is on just
1269 generate high/low parts of the address.
1270 (machopic_legitimize_pic_address): Change MACHOPIC_PURE to
1271 MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
1272 symbol and labels with a new reg. Dynamic-no-pic does not have a
1273 pic_offset_table_rtx.
1274 (machopic_select_section): Change references of flag_pic to
1276 (machopic_asm_out_destructor): Likewise.
1277 * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
1278 reference of flag_pic to MACHOPIC_INDIRECT.
1279 (MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
1280 (MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
1281 (MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
1282 (MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
1283 * config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
1284 0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
1285 * config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
1286 (TARGET_DYNAMIC_NO_PIC): Define.
1287 (SUBTARGET_SWITCHES): Define, have sub-target switches for
1289 (SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
1290 rs6000_override_options to here. Dynamic-no-pic overrides
1292 (CC1_SPEC): Change from not static then pic to not static and not
1293 dynamic-no-pic then pic.
1294 * config/rs6000/rs6000.c (rs6000_override_options): Move the
1295 check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
1296 (rs6000_legitimize_reload_address): Add case for loading floating in
1298 (rs6000_emit_move): Add case for dynamic-no-pic. Change reference
1299 of flag_pic to MACHOPIC_INDIRECT.
1300 (secondary_reload_class): Conditional change the reference of
1301 flag_pic to MACHOPIC_INDIRECT.
1302 (rs6000_output_mi_thunk): Change reference of flag_pic to
1304 (output_profile_hook): Likewise.
1305 (machopic_output_stub): Non-pure (dynamic-no-pic) is now supported.
1306 * config/rs6000/rs6000.md (movdf_low): Add the case for
1307 MACHO_DYNAMIC_NO_PIC_P.
1308 (call): Change references for flag_pic in TARGET_MACHO to
1310 (SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
1311 -mdynamic-no-pic is on. Also move case for -fpic from rs6000.c.
1312 * doc/invoke.texi (-mdynamic-no-pic): Document.
1314 2003-03-10 Devang Patel <dpatel@apple.com>
1317 * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
1318 (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
1319 * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
1320 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
1321 * cppspec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
1322 (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
1324 2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl>
1326 PR optimization/7189
1327 * toplev.c (rest_of_compilation): Move
1328 check_function_return_warnings up to just after
1329 delete_unreachable_blocks.
1331 2003-03-10 Stephane Carrez <stcarrez@nerim.fr>
1333 * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
1334 * config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
1336 * config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
1337 for reg rename optimization to avoid using Z and Y registers.
1339 2003-03-10 Stephane Carrez <stcarrez@nerim.fr>
1341 * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
1342 when adding to X and Y since leax/leay are fast.
1343 ("*addhi3"): Accept 'I' constraint when adding to address register.
1344 ("rotlhi3"): Operand 1 must be a register_operand.
1345 (peephole2): New peephole to optimize some adds.
1346 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
1347 to represent -2 .. 2 small integer range.
1349 2003-03-10 Stephane Carrez <stcarrez@nerim.fr>
1351 * config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
1352 each 16-bit rotation.
1354 2003-03-10 Zack Weinberg <zack@codesourcery.com>
1356 * c-opts.c (add_prefixed_path): Don't use concat. When
1357 prefixing with cpp_GCC_INCLUDE_DIR, copy only the first
1358 cpp_GCC_INCLUDE_DIR_len characters.
1360 2003-03-10 Segher Boessenkool <segher@koffie.nl>
1362 * testsuite/gcc.dg/altivec-9.c: New file.
1364 * config/rs6000/rs6000.c (altivec_frame_fixup): Remove.
1365 (rs6000_emit_prologue): Use rs6000_frame_related instead.
1367 2003-03-10 Aldy Hernandez <aldyh@redhat.com>
1369 * config/rs6000/spe.h: Define __ev64_*64__ to use single element
1371 (__ev_convert_u64): Remove macro. Define as inline.
1372 (__ev_convert_s64): Same.
1374 2003-03-10 Aldy Hernandez <aldyh@redhat.com>
1376 * config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define.
1377 (rs6000_stack_t): Add spe_64bit_regs_used.
1379 * config/rs6000/rs6000.c (rs6000_stack_info): Calculate
1380 spe_64bit_regs_used, and use it to determine the size of the
1382 (spe_func_has_64bit_regs_p): New.
1383 (spe_synthesize_frame_save): New.
1384 (rs6000_frame_related): Handle SPE synthetic registers.
1385 (rs6000_emit_prologue): Only save in 64-bits if the function used
1386 any registers in 64-bit mode.
1387 (rs6000_emit_epilogue): Same, but for restore.
1389 2003-03-10 Richard Earnshaw <rearnsha@arm.com>
1391 * arm.h (enum floating_point_type): Delete. Replace with...
1392 (enum fputype): ... new.
1393 (FPUTYPE_DEFAULT): Renamed from FP_DEFAULT. Values reworked.
1394 * linux-elf.h (FPUTYPE_DEFAULT): Likewise.
1395 * arm.md (attr fpu): Reworked for new underlying enum values.
1396 * arm.c (arm_fpu_arch): Now enum fputype.
1397 (arm_fpu_tune): Renamed from arm_fpu. Now enum fputype.
1398 (arm_override_options, arm_output_epilogue, arm_expand_prologue):
1399 Update uses of arm_fpu_arch and arm_fpu_tune.
1401 2003-03-10 Josef Zlomek <zlomekj@suse.cz>
1403 * cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
1404 (try_crossjump_to_edge): Replace refereces to one jump table by
1405 references to identical jump table.
1406 * loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label.
1407 (replace_label): Moved to rtlanal.c.
1408 (struct rtx_pair): Moved to rtl.h.
1409 * rtl.h (struct rtx_pair): Moved from loop.c.
1410 (replace_label): New extern function.
1411 (subrtx_p): New extern function.
1412 (tablejump_p): New extern function.
1413 * rtlanal.c (replace_label): Moved from loop.c.
1414 (subrtx_p_1): New static function.
1415 (subrtx_p): New function.
1416 (tablejump_p): New function.
1418 Mon Mar 10 15:30:36 CET 2003 Jan Hubicka <jh@suse.cz>
1420 * cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
1422 * cfgcleanup.c (merge_blocks): Return where to iterate next.
1423 (try_optimize_cfg): Use return value of merge_blocks
1425 2003-03-10 Michael Matz <matz@suse.de>
1427 * cfg.c (unchecked_make_edge): New.
1428 (cached_make_edge): Use it.
1429 * basic-block.h (unchecked_make_edge): Declare.
1430 * cfglayout.c (cfg_layout_duplicate_bb): Use it.
1432 2003-03-10 Richard Earnshaw <rearnsha@arm.com>
1434 * fpa.md: New file. Move all patterns relating to FPA co-processor
1436 * arm.md: ... from here.
1437 (cirrus.md, fpa.md): Include at end of description.
1438 (divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands.
1439 (pic_load_addr_based): Remove register constraint from expander.
1440 (seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered)
1441 (sordered, sungt, sunle, sunge, sunlt): Likewise.
1442 (eh_epilogue, tablejump): Likewise.
1444 2003-03-09 David Edelsohn <edelsohn@gnu.org>
1447 * config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final
1450 2003-03-09 Neil Booth <neil@daikokuya.co.uk>
1452 * config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
1453 * config/ip2k/ip2k.h: Similarly.
1454 * config/m32r/m32r.h: Similarly.
1455 * config/m68hc11/m68hc11.h: Similarly.
1456 * config/mn10200/mn10200.h: Similarly.
1457 * config/mn10300/mn10300.h: Similarly.
1458 * config/pdp11/pdp11.h: Similarly.
1459 * config/v850/v850.h: Similarly.
1460 * config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS.
1461 * config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS.
1462 * config/mips/iris3.h: Remove #if 0 block.
1464 2003-03-09 Roger Sayle <roger@eyesopen.com>
1465 Joern Rennecke <joern.rennecke@superh.com>
1467 * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle
1468 pending argument upon return from handle_braces here.
1469 (do_spec_2): Instead handle it upon return from do_spec_1 here.
1471 2003-03-09 Roger Sayle <roger@eyesopen.com>
1472 Joern Rennecke <joern.rennecke@superh.com>
1474 * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle
1475 pending argument upon return from handle_braces here.
1476 (do_spec_2): Instead handle it upon return from do_spec_1 here.
1478 2003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1480 * varasm.c (make_decl_one_only): Use declare_weak().
1482 2003-03-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1485 * c-common.c (c_common_nodes_and_builtins): Initialize target builtins
1486 after the common builtins.
1487 * pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define.
1488 * pa.c (TARGET_INIT_BUILTINS): Define.
1489 (pa_init_builtins): New function.
1491 * pa.md (call, call_value, sibcall, sibcall_value): When sufficient
1492 space has been allocated for the outgoing arguments, set the arg
1493 pointer for a call emitted after virtuals have been instantiated
1494 using the stack pointer offset, otherwise abort.
1496 2003-03-09 DJ Delorie <dj@redhat.com>
1498 * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert.
1500 2003-03-09 Richard Earnshaw <rearnsha@arm.com>
1502 * arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2)
1503 (arm_fix_truncdfsi2): Add missing fix in floating point mode before
1504 conversion to integer.
1505 * cirrus.md (cirrus_truncsfsi2, cirrus_truncdfsi2): Likewise.
1507 2003-03-09 Roger Sayle <roger@eyesopen.com>
1509 * builtins.def: Fix typo and improve grammar.
1510 * loop-unroll.c (decide_peel_completely): Tidy log message.
1512 2003-03-09 Kazu Hirata <kazu@cs.umass.edu>
1514 * config/h8300/h8300.md (*tstsi_upper_bit): New.
1515 (*iorsi3_e2f): Likewise.
1517 2003-03-08 Kazu Hirata <kazu@cs.umass.edu>
1519 * config/h8300/h8300.c (h8300_and_costs): Return the number of
1520 assembly instructions needed.
1521 (h8300_shift_costs): Likewise.
1523 2003-03-09 Hans-Peter Nilsson <hp@bitrange.com>
1525 * config/cris/aout.h (ENDFILE_SPEC): Undef.
1527 * optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC
1529 * expr.c (emit_move_insn_1): ... to here.
1531 * config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
1532 (TARGET_OS_CPP_BUILTINS): New macro.
1533 * config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to...
1534 (TARGET_OS_CPP_BUILTINS): New macro.
1535 (CPP_PREDEFINES): Don't define. Move old definitions and...
1536 (CPP_SPEC): ...move -D__CRIS_ABI_version=2 to...
1537 (TARGET_CPU_CPP_BUILTINS): New macro.
1538 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant
1539 definitions and the optional __PIC__, __pic__ and
1540 __NO_UNDERSCORES__ definitions to...
1541 (TARGET_OS_CPP_BUILTINS): New macro.
1543 * flags.h (flag_leading_underscore): Declare.
1545 * c-opts.c (c_common_post_options): On fopen failure, return
1548 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
1550 * config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
1552 * config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here.
1553 * config/cris/aout.h (HAVE_GAS_HIDDEN): Undef.
1555 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
1557 * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
1559 * config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
1562 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
1564 * c-common.h (c_common_init, c_common_post_options): Update.
1565 * c-objc-common.c (c_objc_common_init): Update for new prototype.
1566 * c-opts.c (saved_lineno): New.
1567 (c_common_post_options, c_common_init): Update prototypes,
1568 move call to cpp_read_main_file from latter to former.
1569 * c-tree.h (c_ojbc_common_init): Update.
1570 * langhooks-def.h (lhd_post_options): New.
1571 (LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS): Update.
1572 * langhooks.c (lhd_post_options): New.
1573 * langhooks.h (struct lang_hooks): Update post_options and init hooks.
1574 * toplev.c (no_backend): New.
1575 (process_options): Call post_options hook and set main_input_filename
1576 and input_filename here.
1577 (lang_dependent_init, do_compile): post_options hook moved to
1579 * objc/objc-act.c (objc_init): Update prototype.
1580 * objc/objc-act.h (objc_init): Update prototype.
1582 2003-03-08 Roger Sayle <roger@eyesopen.com>
1584 * emit-rtl.c (gen_lowpart): Don't attempt to load a part of
1585 a complex or vector type, using a load in the original mode.
1587 Sat Mar 8 19:22:30 CET 2003 Jan Hubicka <jh@suse.cz>
1589 * Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.
1590 * gt-cgraph.h: New GC file.
1591 * cgraph.c (known_fns): New static variable.
1592 (cgraph_node): Add the decl into varray.
1594 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
1596 * config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.
1598 2003-03-08 Richard Earnshaw <rearnsha@arm.com>
1600 * arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa)
1601 (neg_const_double_ok_for_fpa, output_mov_long_double_fpa_from_arm)
1602 (output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm)
1603 (output_mov_double_arm_from_fpa): Renamed to use fpa instead of fpu.
1604 All callers changed.
1605 * arm.md, arm.h, arm-protos.h: Updated.
1607 * arm.h (enum reg_class FPA_REGS): Renamed from FPU_REGS.
1608 (CLASS_MAX_NREGS, REGISTER_MOVE_COST, REG_CLASS_FROM_LETTER): Updated.
1609 * arm.c (arm_regno_class, f_register_operand): Updated.
1611 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
1613 * config/cris/cris.h: Remove EGCS references.
1614 (CPP_SPEC): Remove "-$".
1615 (INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL.
1617 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
1619 * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
1620 preference to CPP_PREDEFINES.
1622 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
1624 * cppinit.c (cpp_finish_options): Set first_unused_line to -1.
1626 2003-03-08 Kazu Hirata <kazu@cs.umass.edu>
1628 * config/h8300/h8300.md (*extzv_16_8): New.
1630 Sat Mar 8 14:13:35 CET 2003 Jan Hubicka <jh@suse.cz>
1632 * c-decl.c: (finish_function): Update call of tree_inlinable_function_p.
1633 * cgraph.h: (cgraph_local_info): Add can_inline_once
1634 (cgraph_global_info): Add inline_once.
1635 (cgraph_node): Add previous.
1636 (cgraph_remove_node): New.
1637 * cgraphunit.c (cgraph_mark_functions_to_inline_once): New static
1639 (cgraph_optimize): Call it.
1640 (cgraph_finalize_function): Set inlinable flags.
1641 (cgraph_finalize_compilation_unit): Actually remove the reclaimed nodes.
1642 (cgraph_mark_functions_to_output): Use new inlining heuristics flags.
1643 (cgraph_expand_function): Likewise.
1645 (cgraph_node): Put nodes into doubly linked chain.
1646 (cgraph_remove_node): New function.
1647 * flags.h (flag_inline_functions_called_once): Declare.
1648 * tree-inline.c: Include cgraph.h
1649 (inlinable_functions_p): Add extra argument to bypass limits.
1650 (expand_call_inline): Obey cgraph flag.
1651 * tree-inline.h (tree_inlinable_function_p): Update prototype.
1653 2003-03-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1655 * gcse.c (bypass_block, bypass_conditional_jumps): Do not create
1658 * loop-unroll.c (unroll_loop_runtime_iterations): Update irreducible
1659 loops info correctly.
1661 2003-03-08 Eric Botcazou <ebotcazou@libertysurf.fr>
1664 * unroll.c (calculate_giv_inc): Handle constants being
1665 loaded with LSHIFTRT.
1667 2003-03-07 David Edelsohn <edelsohn@gnu.org>
1669 * config/rs6000/rs6000.c (processor_target_table): Do not disable
1670 GP optional instructions on Power3, Power4, 620, and 630.
1672 2003-03-07 Kazu Hirata <kazu@cs.umass.edu>
1674 * calls.c: Fix comment formatting.
1675 * cfgloopanal.c: Likewise.
1676 * cfgloopmanip.c: Likewise.
1677 * combine.c: Likewise.
1678 * dwarf2out.c: Likewise.
1679 * ggc-common.c: Likewise.
1680 * langhooks.c: Likewise.
1681 * loop-unroll.c: Likewise.
1683 * ra-build.c: Likewise.
1684 * sbitmap.c: Likewise.
1685 * toplev.c: Likewise.
1687 2003-03-07 James E Wilson <wilson@tuliptree.org>
1689 * config/sh/sh.h (HARD_REGNO_NREGS): Round up the XD register count.
1691 2003-03-07 Geoffrey Keating <geoffk@apple.com>
1693 * objc/lang-specs.h (objective-c-header): Use .gch not .pch;
1694 support -no-integrated-cpp.
1696 * c-pch.c (get_ident): Use c_language_kind and flag_objc rather
1697 than langhooks.name.
1699 2003-03-07 Michael Matz <matz@suse.de>
1701 * df.h (enum df_ref_flags.DF_REF_STRIPPED): New.
1702 (DF_FOR_REGALLOC): New.
1703 * df.c (df_ref_record): Set DF_REF_STRIPPED.
1704 (read_modify_subreg_p): Simplify.
1705 (df_def_record_1, df_uses_record): Set DF_REF_MODE_CHANGE more often.
1706 Use DF_FOR_REGALLOC.
1707 * ra.h (struct web): New member subreg_stripped.
1708 (invalid_mode_change_regs): Declare.
1709 * ra.c (invalid_mode_change_regs): New.
1710 (init_ra): Initialize it.
1711 * ra-build.c (init_one_web_common, remember_web_was_spilled): Use it.
1712 Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
1713 (reinit_one_web, parts_to_web_1): Deal with subreg_stripped.
1714 * ra-colorize.c (colorize_one_web): Use invalid_mode_change_regs.
1715 Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
1717 2003-03-07 Richard Earnshaw <rearnsha@arm.com>
1719 * arm.md (addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, negsf2)
1720 (negdf2, abssi2, abssf2, absdf2, floatsisf2, floatsidf2)
1721 (fix_truncsfsi2, fix_truncdfsi2, truncdfsf2): Moved back into main
1722 machine description file from ...
1723 * cirrus.md: ... here.
1725 2003-03-06 Kazu Hirata <kazu@cs.umass.edu>
1727 * config/h8300/h8300.md (a peephole2): Don't use
1728 reg_overlap_mentioned_p.
1730 2003-03-06 Geoffrey Keating <geoffk@apple.com>
1732 * c-pch.c: Include langhooks.h.
1733 (IDENT_LENGTH): New.
1735 (pch_ident): Delete.
1736 (pch_init): Use get_ident, IDENT_LENGTH.
1737 (c_common_valid_pch): Likewise. Also, use actual language
1739 * Makefile.in (c-pch.o): Add langhooks.h to dependencies.
1741 * objc/config-lang.in (gtfiles): Add objc-act.c. Remove duplicate
1743 * objc/Make-lang.in (objc/objc-act.o): Add dependency on
1745 (gt-objc-objc-act.h): New rule.
1746 * objc/lang-specs.h: Support PCH.
1747 * objc/objc-act.c: Include gt-objc-objc-act.h.
1748 (objc_add_static_instance): Move num_static_inst out, mark for PCH.
1749 (build_selector_reference_decl): Move idx out, mark for PCH.
1750 (build_class_reference_decl): Likewise.
1751 (build_objc_string_decl): Move *_idx out, mark for PCH.
1752 (build_tmp_function_decl): Move xxx out, mark for PCH.
1754 2003-03-06 Dale Johannesen <dalej@apple.com>
1756 * config/rs6000/rs6000.c (rs6000_binds_local_p): Consider
1757 global functions for inlining on Darwin.
1759 2003-03-06 Vladimir Makarov <vmakarov@redhat.com>
1761 * haifa-sched.c (schedule_block): Don't call reorder when sorting
1764 2003-03-06 Neil Booth <neil@daikokuya.co.uk>
1766 * Makefile.in (c-ppoutput.o): Update.
1767 * c-common.h (init_pp_output): New.
1768 (preprocess_file): Update.
1769 * c-lex.c (init_c_lex): Move mbchar initialization to cpplib.
1771 * c-opts.c (c_common_init): Call init_pp_output if preprocessing.
1772 Make call to cpp_read_main_file common to whether preprocessing
1773 or not. Don't register builtins.
1774 * c-ppoutput.c: Include c-pragma.h.
1775 (setup_callbacks): Rename init_pp_output.
1776 (preprocess_file): No longer setup callbacks or call
1778 * cpphash.h (_cpp_init_mbchar): New.
1779 * cppinit.c (init_library): Call _cpp_init_mbchar.
1780 * cpplex.c (_cpp_init_mbchar): New.
1782 2003-03-06 Roger Sayle <roger@eyesopen.com>
1784 * emit-rtl.c (gen_lowpart): When requesting the low-part of a
1785 MEM, try loading the MEM into a register and taking the low-part
1786 of that, to help CSE see the use of the MEM in its true mode.
1788 2003-03-05 Tom Tromey <tromey@redhat.com>
1790 * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH):
1793 2003-03-05 Nick Clifton <nickc@cambridge.redhat.com>
1795 * config/stormy16/stormy16.md ("*eqbranchsi"): Remove '+' on
1797 ("*ineqbranchsi"): Likewise.
1799 2003-03-05 Andrew Haley <aph@cambridge.redhat.com>
1801 * config/stormy16/stormy16.c (xstormy16_expand_prologue): Delete
1802 mem_fake_push_rtx. Instead construct a SEQUENCE to show the
1803 register store followed by a stack increment.
1805 2003-03-05 Chris Moller <cmoller@redhat.com>
1807 * config/stormy16/stormy16.c (REG_NEEDS_SAVE): added a term
1808 to inhibit saving CARRY_REGS.
1810 * config/stormy16/stormy16.c (xs_hi_general_operand):
1811 added predicate to detect and error-out on out-of-range
1812 const_ints for movhi.
1813 * config/stormy16/stormy16.md (movhi): use
1814 xs_hi_general_operand.
1816 * config/stormy16/stormy16.c (xstormy16_expand_prologue):
1817 added a check for local vbl size overflow.
1818 * config/stormy16/stormy16.c (xs_hi_nonmemory_operand):
1819 added predicate to detect and error-out on out-of-range
1820 const_ints for addhi and subhi.
1821 * config/stormy16/stormy16.md (addhi3, addchi4, addchi5,
1822 subhi3, subchi4, subchi5): used xs_hi_nonmemory_operand.
1824 * config/stormy16/stormy16.c (xstormy16_legitimate_address_p):
1825 add a term to accept PRE_MODIFY addresses.
1826 * config/stormy16/stormy16.c (xstormy16_expand_move):
1827 add code to expand PRE_MODIFY addresses to an add followed
1830 2003-03-06 Jason Merrill <jason@redhat.com>
1832 * tree-inline.c (inlinable_function_p): Revert earlier change
1833 pending investigation.
1835 2003-03-06 Kazu Hirata <kazu@cs.umass.edu>
1837 * config/h8300/h8300.md (a new peephole2): New.
1839 Thu Mar 6 14:20:15 CET 2003 Jan Hubicka <jh@suse.cz>
1841 * cgraph.c (cgraph_node): Do not confuse nested functions and methods.
1843 2003-03-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1845 * dwarf2out.c (size_of_die): Compute size of external reference to
1848 2003-03-06 Hans-Peter Nilsson <hp@bitrange.com>
1850 * config/mmix/mmix.md ("*movcc_expanded"): New pattern.
1851 ("movcc", "movcc_uns", "movcc_fp", "movcc_fpeq", "movcc_fun"): New
1854 2003-03-05 Roger Sayle <roger@eyesopen.com>
1856 * expr.h (lang_expand_expr): Delete obsolete prototype.
1858 2003-03-05 Kazu Hirata <kazu@cs.umass.edu>
1860 * emit-rtl.c (gen_highpart_mode): Fix a comment typo.
1862 2003-03-05 Kazu Hirata <kazu@cs.umass.edu>
1864 * config/h8300/h8300.md (a peephole2): Generalize to
1865 accept a memory operand.
1867 Wed Mar 5 19:34:18 2003 Olivier Hainque <hainque@act-europe.fr>
1869 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '+'.
1870 * config/alpha/alpha.c (print_operand, case '+'): New.
1871 * config/alpha/alpha.md (call_osf_1_noreturn): Document and use.
1872 (call_value_osf_1_noreturn): Likewise.
1874 Wed Mar 5 18:55:02 2003 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1876 * stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN.
1877 (expand_end_bindings): Likewise.
1879 2003-03-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1881 * pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
1882 (epilogue): Don't generate return_external_pic when emitting PA 2.0
1885 2003-03-05 Aldy Hernandez <aldyh@redhat.com>
1887 * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
1889 * config/rs6000/rs6000.c (rs6000_dwarf_register_span): New.
1891 * hooks.c (hook_rtx_rtx_null): New.
1893 * hooks.h (hook_rtx_rtx_null): Protoize.
1895 * target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro.
1896 (TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN.
1898 * target.h (struct gcc_target): Add dwarf_register_span.
1900 * dwarf2out.c (multiple_reg_loc_descriptor): New.
1901 (one_reg_loc_descriptor): New.
1902 (reg_loc_descriptor): Add support for values that span more than
1905 Wed Mar 5 23:16:57 CET 2003 Jan Hubicka <jh@suse.cz>
1907 * Makefile.in (calls.o, toplev.o alias.o): Depend on cgraph.h
1908 * alias.c: Include cgraph.h
1909 (mark_constant_function): Use cgraph_rtl_info.
1910 * calls.c: Include cgraph.h
1911 (flags_from_decl_or_type): Use cgraph_rtl_info to find pure and const
1913 (expand_call): Use cgraph_rtl_info to set preferred stack boundary.
1914 * cgraph.c (cgraph_rtl_info): New function.
1915 * cgraph.h (cgraph_rtl_info): Declare
1916 (cgraph_rtl_info): Likewise.
1917 * function.h (struct function): Add recursive_call_emit.
1918 * toplev.c: Include cgraph.h.
1919 (rest_of_compilation): Set preferred_incoming_stack_boundary.
1921 2003-03-05 Kazu Hirata <kazu@cs.umass.edu>
1923 * config/h8300/h8300.c (output_simode_bld): Clear the
1924 destination first if possible.
1925 * config/h8300/h8300.md (extzv_1_r_h8300hs): Add an
1927 (extzv_1_r_inv_h8300hs): Likewise.
1929 2003-03-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1931 * basic-block.h (EDGE_IRREDUCIBLE_LOOP, EDGE_ALL_FLAGS): New.
1932 * cfg.c (dump_edge_info): Add EDGE_IRREDUCIBLE_LOOP flag dump.
1933 * cfgloop.c (flow_loop_free): Made global.
1934 (establish_preds): New static function.
1935 (flow_loop_tree_node_add): Handle subloops of added loop correctly.
1936 (get_loop_exit_edges): New.
1937 (verify_loop_structure): Verify EDGE_IRREDUCIBLE_LOOP flags.
1938 * cfgloop.h (flow_loop_free, get_loop_exit_edges, unloop): Declare.
1939 * cfgloopanal.c (mark_irreducible_loops): Mark edges in irreducible
1941 * cfgloopmanip.c (loop_delete_branch_edge): Allow to test for
1942 removability of an edge.
1943 (fix_irreducible_loops): New static function.
1944 (find_path, remove_path): Add ability to remove enclosing loops.
1946 (copy_bbs, duplicate_loop_to_header_edge): Use EDGE_IRREDUCIBLE_LOOP
1948 * cfgrtl.c (verify_flow_info): Handle EDGE_IRREDUCIBLE_LOOP flag.
1949 * loop-unroll.c (peel_loops_completely): Do not duplicate loop if
1951 (decide_peel_completely, peel_loops_completely): Allow complete peeling
1952 of non-duplicable once rolling loops.
1953 * loop-unswitch.c (unswitch_loop): Update EDGE_IRREDUCIBLE_LOOP flags.
1955 Wed Mar 5 21:40:57 2003 J"orn Rennecke <joern.rennecke@superh.com>
1957 * sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value
1958 for align_jumps is 4.
1960 (SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL,
1963 2003-03-05 Stephane Carrez <stcarrez@nerim.fr>
1965 * config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return
1966 according to va_arg type.
1967 (EXPAND_BUILTIN_VA_ARG): Remove.
1968 * config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove.
1969 * config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove.
1971 2003-03-05 David Edelsohn <edelsohn@gnu.org>
1973 * config/rs6000/rs6000.c (rs6000_variable_issue): Remove unnecessary
1976 2003-03-05 Michael Matz <matz@suse.de>
1978 * i386/i386.c (ix86_save_reg): Also test
1979 current_function_uses_const_pool.
1981 2003-03-05 Michael Matz <matz@suse.de>
1983 * unwind.h: Add the GPL exception.
1984 * Makefile.in (USER_H): Add unwind.h.
1986 2003-03-05 Eric Botcazou <ebotcazou@libertysurf.fr>
1989 * c-typeck.c (push_init_level): Add sanity check.
1991 Wed Mar 5 02:04:04 CET 2003 Jan Hubicka <jh@suse.cz>
1993 * toplev.c (rest_of_compilation): Deffer RTL compilation only when
1994 RTL inlining is done.
1996 * cgraphunit.c (cgraph_mark_local_functions): New local function.
1997 (cgraph_optimize): Mark local functions.
1998 * i386-protos.h (init_cumulative_args): Update prototype.
1999 * i386.c (init_cumulative_args): Use register passing convention for
2002 * cgraph.c (cgraph_global_info_ready): New global variable
2003 (cgraph_local_info, cgraph_global_info): New functions.
2004 * cgraph.h (struct cgraph_local_info, cgraph_global_info): New
2006 (cgraph_local_info, cgraph_global_info, cgraph_global_info_ready):
2008 * cgraphunit.c (cgraph_finalize_function): Set inline_many.
2009 (cgraph_mark_functions_to_output): Use inline_many.
2010 (cgraph_expand_function): Free DECL_SAVED_TREE uncondtionally.
2011 (cgraph_expand_functions): Expand inline functions last.
2012 (cgraph_optimize): Do not emit uneeded functions.
2014 2003-03-04 Steve Ellcey <sje@cup.hp.com>
2016 * expr.c (convert_modes): Check for legal hard register.
2018 2003-03-04 Tom Tromey <tromey@redhat.com>
2020 * doc/sourcebuild.texi (Front End Directory): Document tags.
2021 * configure: Rebuilt.
2022 * configure.in (target_list): Added tags.
2023 * Makefile.in (TAGS): Depend on lang.clean. Include subdirectory
2024 TAGS files by reference.
2025 * objc/Make-lang.in (objc.tags): New target.
2027 2003-03-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2029 * gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync,
2030 gcov_skip, gcov_skip_string, gcov_write_unsigned, gcov_write_counter,
2031 gcov_write_string, gcov_read_unsigned, gcov_read_counter,
2032 gcov_read_string, gcov_write_length): Modified to enable reading/
2033 writing of whole .da file just once.
2034 (da_file_open, da_file_close, da_file_eof, da_file_error,
2035 da_file_position, da_file_seek, da_file_write, da_file_read): New
2037 (actual_da_file, actual_da_file_position, actual_da_file_length,
2038 actual_da_file_buffer, actual_da_file_buffer_size): New static
2040 * libgcov.c (gcov_exit): Modified to read/write the whole .da file at
2044 2003-03-04 Andreas Schwab <schwab@suse.de>
2046 * config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA
2047 offset without frame pointer.
2049 2003-03-04 Steve Ellcey <sje@cup.hp.com>
2051 * expr.c (expand_expr): Call promote_mode to set unsignedp.
2053 2003-03-04 Daniel Jacobowitz <drow@mvista.com>
2055 * configure.in: Don't always define TARGET_SYSTEM_ROOT.
2056 * configure: Regenerated.
2057 * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined.
2059 2003-03-04 Andreas Jaeger <aj@suse.de>
2061 * configure.in: Check for <memcheck.h>.
2062 * configure: Regenerated.
2064 * config.in: Define HAVE_MEMCHECK_H.
2066 * ggc-common.c: Use <memcheck.h> if available instead of
2068 * ggc-page.c: Likewise.
2069 * cppfiles.c: Likewise.
2071 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
2073 * config/h8300/h8300.md (*extzv_8_8): Fix cc and lengths.
2075 2003-03-04 Eric Botcazou <ebotcazou@libertysurf.fr>
2078 * c-typeck.c (do_case): Attach the first case label to the SWITCH_BODY.
2079 (c_finish_case): Rechain the next statements to the SWITCH_STMT.
2081 Tue Mar 4 11:30:04 CET 2003 Jan Hubicka <jh@suse.cz>
2083 * doc/invoke.texi: Document that unit-at-a-time is enabled for -O3
2084 * toplev.c (parse_options_and_default_flags): Enable flag_unit_at_a_time
2087 2003-03-04 Nathanael Nerode <neroden@gcc.gnu.org>
2089 * configure.in: Delete three unused variables. Move a variable
2090 definition closer to its use. Simplify use_collect2 logic. Start to
2091 organize. Simplify tests for in-tree gas and ld.
2092 * configure: Regenerate.
2094 2003-03-04 Neil Booth <neil@daikokuya.co.uk>
2096 * Makefile.in: Update.
2097 * c-common.c (flag_no_line_commands, flag_no_output,
2098 flag_dump_macros, flag_dump_includes): New.
2099 * c-common.h (flag_no_line_commands, flag_no_output,
2100 flag_dump_macros, flag_dump_includes, preprocess_file): New.
2101 (init_c_lex): Update prototype.
2102 * c-lex.c (init_c_lex): Update prototype; move some code to
2104 * c-opts.c (preprocess_file): Subsume into c_common_init.
2105 (c_common_decode_option): Update flags.
2106 (c_common_init): Move code from preprocess_file and init_c_lex.
2107 (sanitize_cpp_opts): Update.
2108 * c-ppoutput.c: New, cppmain.c almost verbatim.
2109 * cpphash.h (struct printer): Remove.
2110 (struct cpp_reader): Remove print.
2111 * cpplib.h (dump_none, dump_only, dump_names, dump_definitions,
2112 cpp_preprocess_file): Remove.
2113 (struct cpp_options): Remove no_output, no_line_commands, dump_macros
2115 * cppmain.c: Remove.
2116 * doc/passes.texi: Update.
2118 2003-03-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2120 * function.c (STACK_ALIGNMENT_NEEDED): New macro. Default to 1.
2121 (assign_stack_local_1): Perform overall stack alignment only when
2122 STACK_ALIGNMENT_NEEDED is non-zero.
2123 * doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
2125 * pa.c (compute_frame_size): Rename fsize to size. Account for
2126 alignment to a word boundary before general register save block. Only
2127 account for double-word alignment before floating point register save
2128 block if one or more are saved. Don't allocate space for %r3 when
2129 frame pointer is needed.
2130 (hppa_expand_prologue): Include alignment to word boundary in local
2132 * pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports.
2133 (STACK_ALIGNMENT_NEEDED): Define.
2135 2003-03-04 Kevin Buettner <kevinb@redhat.com>
2137 * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for
2138 global register variables.
2140 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
2142 * reload.c (reload_adjust_reg_for_mode): New function.
2143 (subst_reloads): Call it.
2144 (operands_match_p): Adjust registers using HARD_REGNO_NREGS.
2145 * reload.h (reload_adjust_reg_for_mode): Declare.
2146 * reload1.c (emit_input_reload_insns, emit_output_reload_insns):
2149 2003-03-03 James E Wilson <wilson@tuliptree.org>
2151 * optabs.c (add_equal_note): Delete SUBREG_REG use.
2154 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
2156 * config/h8300/h8300.md (*ixorsi3_ashift_16): New.
2157 (*ixorsi3_lshiftrt_16): New.
2158 (*iorsi3_ashift_16): Remove.
2160 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
2162 * config/h8300/h8300.md (*extzv_8_8): Use '?' to simplify the
2165 2003-03-03 Geoffrey Keating <geoffk@apple.com>
2167 * doc/install.texi (Specific): Update entry for powerpc-darwin.
2169 2003-03-03 Richard Henderson <rth@redhat.com>
2171 * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0.
2173 2003-03-03 David Edelsohn <edelsohn@gnu.org>
2175 * config/rs6000/rs6000.c (rs6000_multipass_dfa_lookahead): Delete.
2176 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Delete.
2177 (rs6000_variable_issue): Do not return negative value.
2178 (rs6000_issue_rate): Uniformly set issue rate to 1 for first
2181 2003-03-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2183 * dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
2184 prune_unused_types calls.
2186 2003-03-03 Jason Merrill <jason@redhat.com>
2188 * tree-inline.c (find_builtin_longjmp_call): Save and restore
2189 lineno and input_filename.
2190 (find_alloca_call): Likewise.
2191 (inlinable_function_p): Run the langhook earlier.
2193 * calls.c (compute_argument_addresses): Give the new MEMs a
2194 minimum alignment of PARM_BOUNDARY.
2196 Mon Mar 3 20:45:25 2003 J"orn Rennecke <joern.rennecke@superh.com>
2198 * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
2199 subtarget_asm_isa_spec.
2200 (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
2201 (ASM_SPEC): Define as SH_ASM_SPEC.
2202 (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
2203 Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
2204 * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
2205 (SUBTARGET_ASM_ISA_SPEC): Undef / define.
2207 * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops
2208 and align_jumps if not set.
2209 Force align_jumps to be at least 2.
2210 When relaxing, force align_functions to be at least the maximum of
2211 align_loops, align_jumps and 4.
2212 * sh.c (find_barrier, barrier_align): Honour align_jumps_log.
2213 (sh_loop_align): Honour align_loops_log.
2215 * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN
2216 to check for indirect_jump_scratch.
2217 (indirect_jump_scratch): Add second set.
2218 * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN
2219 when looking for indirect_jump_scratch.
2220 Extract scratch register taking new structure of indirect_jump_scratch
2222 (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch.
2224 Mon Mar 3 19:07:21 CET 2003 Jan Hubicka <jh@suse.cz>
2226 * calls.c (rtx_for_function_call): Take the address as an argument
2227 (expand_call): Do not modify the expression.
2229 * toplev.c (rest_of_compilation): Avoid cfg_cleanup calls when not
2232 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
2234 * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to
2235 TARGET_H8300H and TARGET_H8300S.
2237 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
2239 * config/h8300/h8300.md (a peephole2): New.
2241 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
2243 * config/h8300/h8300.md (*extzv_8_8): Use shorter code when
2244 operands[0] and operands[1] are different.
2246 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
2248 * reload1.c (reload_cse_move2add): Remove variable success.
2250 2003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2252 * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid
2255 2003-03-02 Richard Henderson <rth@redhat.com>
2257 * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.
2258 * config.in, configure: Rebuild.
2259 * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum.
2260 * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the
2261 paired ldtoffx and ldxmov annotations.
2262 (load_symptr_internal1): Remove.
2263 (load_symptr_high, load_symptr_low): New.
2265 2003-03-02 Neil Booth <neil@daikokuya.co.uk>
2267 * c-incpath.c (add_path): Fix sysp assignment.
2269 2003-03-02 Kurt Garloff <garloff@suse.de>
2271 * params.def: Introduce parameter max-inline-insns-rtl for
2272 a separate limit for the RTL inliner.
2273 * params.h: Likewise.
2274 * integrate.c (function_cannot_inline_p): Use it.
2275 * toplev.c (decode_f_option): Set multiple parameters
2276 controlling inlining with -finline-limit.
2277 * params.def: Fix orthographic and typographic errors.
2278 * doc/invoke.texi: Document parameters controlling inlining
2279 and the way -finline-limit sets multiple of them.
2281 * tree.h (struct tree_decl): Introduce inlined_function_flag,
2282 recording whether the function became eligible for inlining
2283 by a compiler flag rather than the declaration.
2284 Provide DID_INLINE_FUNC macro to access it.
2285 * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC.
2286 * cp/decl.c (grokfndecl): Likewise.
2287 * toplev.c (rest_of_compilation): Likewise.
2288 * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC.
2289 * print-tree.c (print_node): Report it.
2290 * params.def: Introduce new max-inline-insns-auto limit.
2291 * params.h: Likewise.
2292 * tree-inline.c (inlinable_function_p): Apply it to functions
2293 with DID_INLINE_FUNC set.
2294 * toplev.c (decode_f_option): Initialize it from -finline-limit
2296 * doc/invoke.texi: Document new parameter.
2298 2003-03-02 Geoffrey Keating <geoffk@apple.com>
2300 * fix-header.c (read_scan_file): Don't reference simplify_path.
2302 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
2304 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable
2305 min/max instructions by default as may result in reload errors.
2307 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
2309 * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to
2310 avoid reload problems; define split for it.
2312 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
2314 * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function.
2315 * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare.
2316 * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register.
2317 * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for
2318 rotatert and rotate.
2319 ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns.
2320 ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert.
2321 ("*rotrhi3_addr"): New split for shift insns on address register.
2322 ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split.
2323 * config/m68hc11/larith.asm (___rotlhi3): New asm function.
2324 (___rotrhi3): Likewise.
2325 * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them.
2327 2003-03-02 Neil Booth <neil@daikokuya.co.uk>
2329 * toplev.c (aux_base_name): Moved from toplev.h.
2330 (filename): Constify.
2331 (lang_dependent_init): Don't duplicate name.
2332 (process_options): Set aux_base_name here, not...
2333 (do_compile): ...here. Change protoype.
2334 (toplev_main): Move some code from do_compile.
2335 * toplev.h: Remove aux_base_name.
2337 2003-03-02 Kazu Hirata <kazu@cs.umass.edu>
2339 * config/h8300/h8300-protos.h: Add a prototype for
2341 * config/h8300/h8300.c (print_operand): Handle 'c'.
2342 (iorxor_operator): New.
2343 * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator.
2344 * config/h8300/h8300.md (*iorhi3_zext): Remove.
2345 (*iorsi3_zexthi): Likewise.
2346 (*iorsi3_zextsi): Likewise.
2347 (*xorhi3_zextqi): Likewise.
2348 (*xorsi3_zexthi): Likewise.
2349 (*xorsi3_zextsi): Likewise.
2350 (*ixorhi3_zext): New.
2351 (*ixorsi3_zext_qi): Likewise.
2352 (*ixorsi3_zext_hi): Likewise.
2354 2003-03-02 Neil Booth <neil@daikokuya.co.uk>
2356 * c-incpath.c (remove_component_p, simplify_path): Move back to
2358 (remove_duplicates): Use cpp_simplify_path.
2359 * c-incpath.h (simplify_path): Remove.
2360 * c-lex.c: Don't include c-incpath.h.
2361 (init_c_lex): Remove simplify_path.
2362 * cppfiles.c (remove_component_p, cpp_simplify_path): Restore.
2363 (find_or_create_entry, validate_pch): Revert.
2365 2003-03-02 Ashif Harji <asharji@uwaterloo.ca>
2367 * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke
2368 an external cpp during compilation.
2369 (option_map): Likewise.
2370 * objc/lang-specs.h (default_compilers): Similarly.
2371 * doc/invoke.texi: Document -no-integrated-cpp flag.
2373 2003-03-02 Kazu Hirata <kazu@cs.umass.edu>
2375 * config/h8300/h8300.md (zero_extendqisi2): Change to an
2377 (*zero_extendqisi2_h8300): New.
2378 (*zero_extendqisi2_h8300hs): New.
2379 (two splitters): New.
2381 2003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2383 * fp-bit.h (float_to_usi): Fix condition wrapping prototype.
2385 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
2387 * config/h8300/h8300.md (a peephole2): Remove dead code.
2389 2003-03-01 Roger Sayle <roger@eyesopen.com>
2392 * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro.
2393 (BT_FN_INT_CONST_STRING_VALIST_ARG,
2394 BT_FN_INT_STRING_CONST_STRING_VALIST_ARG,
2395 BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG,
2396 BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG,
2397 BT_FN_INT_STRING_CONST_STRING_VAR,
2398 BT_FN_INT_CONST_STRING_CONST_STRING_VAR,
2399 BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types.
2400 * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2,
2401 ATTR_NONNULL_3): Also include the nothrow attribute.
2402 (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf,
2403 vsnprintf, vscanf, vsscanf): Don't define attributes here.
2404 * builtins.def (putchar, puts): Make full C89 built-ins.
2405 (snprintf, sprintf, scanf, sscanf, vprintf, vscanf,
2406 vsscanf, vsnprintf, vsprintf): New built-ins.
2407 * c-common.c (c_common_nodes_and_builtins): Handle new macro
2408 DEF_FUNCTION_TYPE_VAR_3.
2410 * doc/extend.texi: Document these new built-in functions.
2412 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
2414 * config/h8300/h8300.md (a peephole2): New.
2416 2003-03-01 Richard Earnshaw <rearnsha@arm.com>
2418 * predict.c (estimate_bb_frequencies): Correctly set
2419 real_values_initialized after initialization.
2421 2003-03-01 Neil Booth <neil@daikokuya.co.uk>
2423 * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS,
2424 cppinit.o, cppdefault.o, fix-header): Update.
2425 * c-incpath.c: New file.
2426 * c-incpath.h: New file.
2427 * c-lex.c: Include c-incpath.h.
2428 (init_c_lex): Register path simplifier.
2429 * c-opts.c: Include cppdefault.h and c-incpath.h.
2430 (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc,
2431 std_cxx_inc, quote_chain_split, add_prefixed_path): New.
2432 (COMMAND_LINE_OPTIONS): Add more options from cpplib.
2433 (missing_arg, c_common_decode_option): Handle them.
2434 (c_common_post_options): Register include chains.
2435 (print_help): Update.
2436 * cppdefault.h (struct default include): Update.
2437 Move some macros to ...
2438 * cppdefault.c: ... here.
2439 (cpp_include_defaults): Add extra field add_sysroot.
2440 * cppfiles.c (include_file, search_from, find_or_create_entry,
2441 cpp_included, find_include_file, remap_filename): Update for
2442 renaming of search_path to cpp_path, and of the chain headers.
2443 (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c.
2444 * cpphash.h (struct search_path): Move to cpplib.h.
2445 (struct cpp_buffer, struct cpp_reader): Update.
2446 (_cpp_simplify_pathname): Remove.
2447 * cppinit.c: Don't include prefix.h and cppdefault.h.
2448 (INO_T_EQ, INO_T_COPY, path_include, append_include_chain,
2449 remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs,
2450 init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir,
2451 no_pth, cpp_handle_options): Remove.
2452 (struct pending_option): Remove chain members.
2453 (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS,
2454 cpp_handle_option): Update.
2455 * cpplib.h (struct cpp_path, cpp_set_include_chains): New.
2456 (struct cpp_options): Remove quote_include, bracket_include,
2457 include_prefix, include_prefix_len, verbose, ignore_srcdir,
2458 no_standard_includes, no_standard_cplusplus_includes.
2459 (struct cpp_callbacks): Add simplify_path.
2460 (cpp_handle_options): Remove.
2461 * fix-header.c: Include c-incpath.h.
2462 (read_scan_file): Update to use c-incpath functionality.
2463 * doc/passes.texi: Update.
2465 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
2467 * config/h8300/h8300.c (bit_operand): Accept MEM only if it
2468 satisfies EXTRA_CONSTRAINT 'U'.
2470 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
2472 * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch
2474 (*tst_extzv_memqi_1_n): Change to a splitter.
2475 (a peephole2): Update.
2477 2003-03-01 Richard Earnshaw <rearnsha@arm.com>
2479 * predict.c (estimate_bb_frequencies): Initialize the sreal
2480 constants once per compilation.
2482 2003-02-28 Richard Henderson <rth@redhat.com>
2484 * toplev.c (flag_eliminate_unused_debug_types): Enable by default.
2486 2003-02-28 scott snyder <snyder@fnal.gov>
2488 * flags.h: Add flag_eliminate_unused_debug_types.
2489 * toplev.c: Add flag_eliminate_unused_debug_types.
2490 (f_options): Add -feliminate-unused-debug-types.
2491 * dwarf2out.c (struct file_table): Add emitted member.
2492 (splice_child_die): Fix the parent pointer for the child being
2494 (lookup_filename): Maintain file_table.emitted array. Don't
2495 output .file directive here.
2496 (maybe_emit_file): (new)
2497 (init_file_table): Set up file_table.emitted.
2498 (dwarf2out_source_line): Use maybe_emit_file.
2499 (dwarf2out_start_source_file): Use maybe_emit_file.
2500 (dwarf2out_init): Use maybe_emit_file.
2501 (prune_unused_types_walk_attribs): (new)
2502 (prune_unused_types_mark): (new)
2503 (prune_unused_types_walk): (new)
2504 (prune_unused_types_prune): (new)
2505 (prune_unused_types): (new)
2506 (dwarf2out_finish): Call prune_unused_types if
2507 flag_eliminate_unused_debug_types is set.
2508 * doc/invoke.texi (Option Summary): Add
2509 -feliminate-unused-debug-types.
2510 (Debugging Options): Likewise.
2512 2003-02-28 Geoffrey Keating <geoffk@apple.com>
2514 * doc/invoke.texi: Change .pch to .gch.
2515 * cppfiles.c (open_file_pch): Likewise.
2516 * gcc.c (default_compilers): Likewise.
2518 2003-02-28 Aldy Hernandez <aldyh@redhat.com>
2520 * floatlib.c: Remove.
2522 2003-02-28 Jason Merrill <jason@redhat.com>
2524 * stor-layout.c (variable_size): Leave a "minus 1" outside the
2527 2003-02-28 David Edelsohn <edelsohn@gnu.org>
2529 * config/rs6000/power4.md: Add compare bypass.
2531 2003-02-28 Jason Thorpe <thorpej@wasabisystems.com>
2533 * config/netbsd.h: Update copyright years.
2534 (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
2535 -pthread is specified on the command line.
2537 2003-02-28 Dale Johannesen <dalej@apple.com>
2539 * loop.c (struct movable): Add insert_temp, shrink savemode.
2540 (scan_loop): Accept invariants that require copying; mark as
2542 (combine_movables): Don't combine insert_temp movables.
2543 (move_movables): Insert copies for insert_temp movables.
2544 Don't record the info based on regno for insert_temp's.
2546 2003-02-28 Joel Sherrill <joel@OARcorp.com>
2549 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
2550 this constant defaults to 1.
2552 2003-02-28 Bob Wilson <bob.wilson@acm.org>
2554 * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
2556 2003-02-28 Richard Earnshaw <rearnsha@arm.com>
2558 * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any
2559 ARMv5e processor, not just for XScale. Instructions are predicable.
2560 (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e.
2562 2003-02-28 Nick Clifton <nickc@redhat.com>
2564 * config/arm/arm.c (note_invalid_constants): Change parameter type
2567 2003-02-28 Kazu Hirata <kazu@cs.umass.edu>
2569 * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the
2571 (*tst_extzv_memqi_1_n): Likewise.
2574 2003-02-28 Richard Sandiford <rsandifo@redhat.com>
2576 * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
2579 Fri Feb 28 11:09:14 CET 2003 Jan Hubicka <jh@suse.cz>
2581 * combine.c (gen_lowpart_for_combine): Update handling of
2583 * flow.c (life_analysis, mark_used_regs): Likewise.
2584 * regclass.c (subregs_of_mode): Turn into single bitmap.
2585 (cannot_change-mode_set_regs, invalid_mode_change_p): Update
2586 dealing with subregs_of_mode
2587 * regs.h (subregs_of_mode): Update prototype.
2589 2003-02-28 Josef Zlomek <zlomekj@suse.cz>
2591 * emit-rtl.c (set_reg_attrs_for_parm): New function.
2592 * rtl.h (set_reg_attrs_for_parm): New exported function.
2593 * function.c (assign_parms): Use set_reg_attrs_for_parm instead of
2594 set_reg_attrs_from_mem.
2596 2003-02-27 Roger Sayle <roger@eyesopen.com>
2597 Zack Weinberg <zack@codesourcery.com>
2599 * gcc.c (do_spec_1): Treat %U like %u for unique associations.
2601 2003-02-27 Kazu Hirata <kazu@cs.umass.edu>
2603 * reload1.c (sext_for_mode): Remove.
2604 (reload_cse_move2add): Use trunc_int_for_mode instead of
2606 (move2add_note_store): Likewise.
2607 Reset register information if we see a set in non-integer
2610 2003-02-27 David Edelsohn <edelsohn@gnu.org>
2612 * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
2614 (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
2615 * config/rs6000/aix51.h: Same.
2616 * config/rs6000/aix52.h: Same.
2617 * config/rs6000/power4.md: Additional VMX bypasses.
2619 2003-02-27 Geert Bosch <bosch@gnat.com>
2621 * toplev.c (print_version): Add indentation for GGC heuristics and
2622 output after printing version information.
2624 2003-02-27 James E Wilson <wilson@tuliptree.org>
2626 * combine.c (simplify_comparison): Require integral mode when
2627 permuting SUBREG with AND.
2629 2003-02-27 Steve Ellcey <sje@cup.hp.com>
2631 * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.
2633 2003-02-27 Nick Clifton <nickc@redhat.com>
2635 * config/arm/arm.md (extendsfdf2): Add pattern accidentally
2636 deleted when cirrus instructions were added.
2638 2003-02-27 Jason Thorpe <thorpej@wasabisystems.com>
2640 * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable
2641 POSIX thread support by default.
2643 2003-02-27 Roger Sayle <roger@eyesopen.com>
2645 * config/i386/cygwin.h: Don't include any other files directly.
2646 * config/i386/mingw32.h: Don't include cygwin.h directly.
2647 * config.gcc (cygwin, mingw32, uwin): Instead make these files
2648 explicit in the tm_files variable.
2650 2003-02-27 Alan Modra <amodra@bigpond.net.au>
2652 * config/rs6000/rs6000.md: Add TI constant splitter.
2654 2003-02-26 Alexandre Oliva <aoliva@redhat.com>
2656 * builtins.c (purge_builtin_constant_p): Handle subreg of
2659 * function.c (assign_stack_local_1): Truncate constant added to
2660 frame_pointer_rtx or virtual_stack_vars_rtx for Pmode.
2662 2003-02-26 David Edelsohn <edelsohn@gnu.org>
2664 * config.gcc: Add power4 to PowerPC with_cpu list.
2666 Wed Feb 26 19:46:25 CET 2003 Jan Hubicka <jh@suse.cz>
2668 * objc-act.c: (mark_referenced_methods): Fix compilation problem.
2670 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2672 * gcov-dump.c (print_prefix): Fix signedness warning.
2673 * gcov-io.h (struct counter_section, struct counter_section_data): New.
2674 (struct function_info): n_arc_counts field removed, n_counter_sections,
2675 counter_sections fields added.
2676 (struct gcov_info): arc_counts, n_arc_counts fields removed,
2677 n_counter_sections, counter_sections fields added.
2678 * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple
2680 * profile.h (MAX_COUNTER_SECTIONS): New.
2681 (struct section_info): New.
2682 (struct profile_info): count_instrumented_edges,
2683 count_edges_instrumented_now fields removed, n_sections, section_info
2685 (find_counters_section): Declare.
2686 * profile.c (struct function_list): count_edges field removed,
2687 n_counter_sections, counter_sections fields added.
2688 (set_purpose, label_for_tag, build_counter_section_fields,
2689 build_counter_section_value, build_counter_section_data_fields,
2690 build_counter_section_data_value, build_function_info_fields,
2691 build_function_info_value, build_gcov_info_fields,
2692 build_gcov_info_value): New static functions.
2693 (find_counters_section): New function.
2694 (instrument_edges, get_exec_counts, compute_branch_probabilities,
2695 branch_prob, create_profiler): Modified to support multiple profile
2698 2003-02-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2700 * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY
2701 is 8 * STACK_BOUNDARY.
2702 * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port.
2704 2003-02-26 Michael Matz <matz@suse.de>
2706 * ra-colorize.c (merge_moves): Fix list handling.
2708 2003-02-26 Nick Clifton <nickc@redhat.com>
2710 * config/arm/arm.c (is_load_address): Rename to...
2711 (arm_memory_load_p) ... this and make it check for SUBREGs and
2712 constant loads that will be converted into loads from the
2714 (is_cirrus_insn): Rename to ...
2715 (arm_cirrus_insn_p): ... this, for consistency. Replace test
2716 of CIRRUS_NO with CIRRUS_NOT.
2717 (cirrus_reorg): Use renamed functions.
2718 (note_invalid_constants): Change from a void function to bool.
2719 Add an extra parameter, saying whether the fixups should be
2720 pushed. Return true if fixups are needed.
2721 (arm_reorg): Use renamed functions. Use INSN_P. Replace test
2722 of CIRRUS_NO with CIRRUS_NOT.
2723 * config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that
2724 other floating point co-processors can also affect this.
2725 * config/arm/arm.md ("type" attribute): Add mav_farith and
2726 mav_dmult. Replace references to "cirrus_type" attribute with
2728 * config/arm/cirrus.md ("cirrus_fpu" attribute): Delete.
2729 ("cirrus_type" attribute): Delete - use "type" instead.
2730 ("cirrus" attribute): Replace 'no' with 'not' and 'yes' with
2733 Tue Feb 25 22:46:27 CET 2003 Jan Hubicka <jh@suse.cz>
2735 * objc-act.c: Include cgraph.h
2736 (mark_referenced_methods): New function.
2737 (objc_init): Call it.
2738 * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set.
2740 * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time
2743 * optabs.c (expand_fix): Do not widen the input operand.
2745 * expr.c (emit_group_store): Fix crash when converting single
2746 register into complex register.
2748 * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h
2749 * alias.c: Include timevar.h
2750 (init_alias_analysis): Set timevar
2751 * jump.c: Include timevar.h
2752 (rebuild_jump_labels): Set timevar
2753 * regcalss.c: Include timevar.h
2754 (reg_scan): Set timevar
2755 * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New
2757 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2759 * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
2761 * Makefile.in (loop-unroll.o): New.
2762 * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New.
2763 (unroll_and_peel_loops): Declare.
2764 * alias.c (init_alias_analysis): Flag_unroll_loops renamed to
2765 flag_old_unroll_loops.
2766 * loop.c (loop_invariant_p): Ditto.
2767 * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to
2768 flag_old_unroll_all_loops.
2769 * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops.
2770 (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops.
2771 * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed.
2772 (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES,
2773 PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES,
2774 PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES,
2775 PARAM_MAX_ONCE_PEELED_INSNS): New.
2776 * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New.
2777 (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller
2779 (flag_peel_loops): New.
2780 (lang_independent_options): The new flags added.
2781 (rest_of_compilation): Call new unroller.
2782 (process_options): Setup flags for coexistence of old and new unroller.
2783 * doc/invoke.texi: Document new options.
2784 * doc/passes.texi: Document new unroller pass.
2786 2003-02-26 David Billinghurst <David.Billinghurst@riotinto.com>
2788 * fixinc/fixincl.x: Regenerate
2790 2003-02-26 Josef Zlomek <zlomekj@suse.cz>
2792 * function.c (assign_parms): Set reg_attrs for parameters passed in
2795 2003-02-26 Alan Modra <amodra@bigpond.net.au>
2798 * tlink.c (scan_linker_output): Drop leading '.' from symbol names.
2800 2003-02-25 David Edelsohn <edelsohn@gnu.org>
2802 * config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine
2805 2003-02-25 Roger Sayle <roger@eyesopen.com>
2807 * combine.c (combine_simplify_rtx, simplfy_comparison): Use CC0_P.
2808 * cse.c (invalidate_skipped_set): Likewise.
2809 * integrate.c (subst_constants): Likewise.
2810 * jump.c (reversed_comparison_code_parts): Likewise.
2811 * loop.c (canonicalize_condition): Likewise.
2812 * simplify-rtx.c (simplify_relational_operation): Likewise.
2814 2003-02-25 Roger Sayle <roger@eyesopen.com>
2816 * builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete.
2817 (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit): Use
2818 the appropriate macro to define built-in function.
2819 (fmod,fmodf,fmodl): New built-in functions.
2821 * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins.
2823 2003-02-25 Richard Henderson <rth@redhat.com>
2825 * config/i386/i386.c (function_arg): Pass variable sized
2826 structures correctly on the stack.
2828 2003-02-25 Kazu Hirata <kazu@cs.umass.edu>
2830 * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS
2831 does not reduce the cost of SET.
2833 2003-02-25 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2836 * config/rs6000/rs6000.c (first_reg_to_save): Handle
2837 PIC_OFFSET_TABLE_REGNUM for -fPIC too.
2838 (rs6000_emit_prologue): Likewise.
2839 (rs6000_emit_epilogue): Likewise.
2840 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
2841 PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.
2843 2003-02-25 Richard Henderson <rth@redhat.com>
2845 * real.c (real_to_integer2): Force overflow result only for
2848 2003-02-25 Kazu Hirata <kazu@cs.umass.edu>
2850 * gcse.c (cprop_jump): Revert the 2003-02-23 change.
2852 2003-02-25 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
2853 Richard Henderson <rth@redhat.com>
2855 * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
2856 there is no similar load.
2858 2003-02-25 Vladimir Makarov <vmakarov@redhat.com>
2859 Richard Henderson <rth@redhat.com>
2861 * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from
2863 (add_forward_dependence): New function prototype.
2865 * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to
2867 (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move
2868 them to haifa-sched.c.
2870 * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp,
2871 haifa_classify_insn): Move them from sched-rgn.c.
2873 * sched-deps.c (add_dependence): Return flag of creating a new
2875 (add_forward_dependence): New function.
2876 (compute_forward_dependences): Use the function.
2878 * sched-ebb.c (earliest_block_with_similiar_load): New function.
2879 (add_deps_for_risky_insns): New function.
2880 (schedule_ebb): Call the function.
2882 2003-02-20 Aldy Hernandez <aldyh@redhat.com>
2884 * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to
2885 TARGET_VECTOR_OPAQUE_P. Document accordingly.
2887 * testsuite/gcc.dg/20030218-1.c: Check that initialization of
2890 * c-typeck.c (comptypes): Change call to vector_types_compatible
2892 (convert_for_assignment): Call vector_opaque_p instead of
2893 vector_types_compatible.
2894 (really_start_incremental_init): Disallow initialization of opaque
2897 * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE.
2898 Define TARGET_VECTOR_OPAQUE_P.
2899 (TARGET_INITIALIZER): Same.
2901 * target.h (struct gcc_target): Remove vector_types_compatible.
2902 Add vector_opaque_p.
2904 * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible):
2906 (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is
2907 a vector type. Change return type to bool.
2908 (TARGET_VECTOR_TYPES_COMPATIBLE): Remove.
2909 (TARGET_VECTOR_OPAQUE_P): Define.
2911 * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p
2914 (cp_parser_init_declarator): Fix typo in function comments.
2916 Tue Feb 25 12:35:34 CET 2003 Jan Hubicka <jh@suse.cz>
2918 * Makefile.in (lcm.o): Add dependency on function.h
2919 * lcm.c (function.h): Include.
2920 * i386.c (machine_function, ix86_stack_locals,
2921 * ix86_save_varrargs_registers) : Move to
2923 * i386.h (machine_function, ix86_stack_locals,
2924 ix86_save_varrargs_registers): ... here; add optimize_mode_switching
2925 (ix86_optimize_mode_switching): New.
2926 * i386.md (fix patterns): Set ix86_optimize_mode_switching
2928 2003-02-25 Nick Clifton <nickc@redhat.com>
2930 * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo. Name
2931 of fourth arg is 'fndecl' not 'indirect'. Update comment
2932 describing the function's parameters.
2934 Mon Feb 24 22:08:22 CET 2003 Jan Hubicka <jh@suse.cz>
2936 * combine.c (simplify_shift_const): Fix previous patch.
2938 2003-02-24 Jeff Law <law@redhat.com>
2940 * i386.md (testdi_1_rex64): Discourage reload from using the %eax
2942 (testsi_1, testhi_1, testqi_1): Likewise.
2944 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2946 * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
2947 __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
2948 * doc/extend.texi (Tru64 Pragmas): Reflect this.
2950 * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
2951 extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
2952 * fixinc/fixincl.x: Regenerate.
2953 * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
2955 Fixes PR c/5059, c/6126, other/9671.
2957 2003-02-24 Roger Sayle <roger@eyesopen.com>
2959 * gcc.c (do_spec_1) ['{']: Handle pending argument upon return
2960 from handle_braces in "%{...}".
2962 2003-02-24 Kaz Kojima <kkojima@gcc.gnu.org>
2964 * config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define.
2965 (prepare_move_operands): Handle TLS operands.
2966 (tls_symbolic_operand): New.
2967 (nonpic_symbol_mentioned_p): Handle TLS UNSPECs.
2968 (legitimize_pic_address): Do nothing for the TLS symbol.
2969 (sh_encode_section_info): Handle TLS case.
2970 (sh_strip_name_encoding): Drop TLS encoding.
2971 * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype.
2972 * config/sh/sh.h (SH_TLS_ENCODING): Define.
2973 (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise.
2974 (ASM_OUTPUT_LABELREF): Drop TLS encoding.
2975 (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs.
2976 * config/sh/sh.md: Define TLS UNSPEC constants.
2977 (type): Add tls_load.
2978 ("tls_global_dynamic", "tls_local_dynamic"): New insns.
2979 ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders.
2980 ("tls_initial_exec"): New insn.
2981 ("sym2TPOFF", "symTPOFF2reg"): New expanders.
2982 ("load_gbr"): New insn.
2984 * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
2985 * configure: Regenerate.
2987 2003-02-24 Alan Modra <amodra@bigpond.net.au>
2990 * calls.c (store_one_arg): Revert 1999-02-16 change. Revert
2991 2000-12-17 change. Pass EXPAND_STACK_PARM to expand_expr.
2992 * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM.
2993 (enum block_op_methods): Reorder for better store_expr optimization.
2994 * expr.c (store_expr): Test bit 1 of "want_value" for call param
2995 stores, test bit 0 for original want_value meaning. Pass
2996 BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set. Adjust
2997 recursive calls, and calls to expand_param.
2998 (expand_expr): Handle EXPAND_STACK_PARM modifier. When cse
2999 expected, set target to 0 rather than to subtarget. Formatting.
3001 2003-02-23 Kazu Hirata <kazu@cs.umass.edu>
3003 * gcse.c (cprop_jump): Use the REG_EQUAL note if available.
3005 2003-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3007 * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
3008 new default behavior.
3009 * ggc-common.c: Include sys/resource.h.
3010 (ggc_rlimit_bound): New function.
3011 (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update
3012 defaults to account for rlimits.
3014 2003-02-22 Richard Henderson <rth@redhat.com>
3016 * i386.c, i386.h (TUNEMASK): Rename from CPUMASK.
3018 2003-02-22 Kelley Cook <kelley@dwhoops.info>
3020 * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu.
3021 (ix86_tune_string): Rename from ix86_cpu_string.
3023 2003-02-22 Kelley Cook <kelleycook@comcast.net>
3025 * config/i386/i386.c: Replace "mcpu" with "mtune".
3026 * config/i386/i386.h (TARGET_OPTIONS): Likewise.
3027 (CC1_CPU_SPEC): Likewise. New warning for "-mcpu".
3028 * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu"
3029 with "mtune". Note that "mcpu" is a deprecated synonym for "mtune".
3031 2003-02-23 Andreas Schwab <schwab@suse.de>
3033 * config.gcc: Delete references to m68k/t-linux and
3035 * config/m68k/t-linux, config/m68k/t-linux-aout: Removed.
3037 Sat Feb 22 20:22:19 CET 2003 Jan Hubicka <jh@suse.cz>
3039 * toplev.c (rest_of_compilation): Apply fotgotten hunk
3040 of track scheduling patch.
3042 Sat Feb 22 19:29:28 CET 2003 Jan Hubicka <jh@suse.cz>
3044 * config/linux.h (TARGET_HAS_F_SETLKW): Define.
3045 * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise
3047 Sat Feb 22 12:42:16 CET 2003 Jan Hubicka <jh@suse.cz>
3049 * c-decl.c (c_expand_body_1): Fix.
3051 Sat Feb 22 03:13:36 CET 2003 Jan Hubicka <jh@suse.cz>
3053 * expmed.c (expand_divmod): Undo sign extensions for unsigned operands
3055 * cfgcleanup.c (try_forward_edges): Don't check loop structures
3056 when not optimizing.
3057 (cleanup_cfg): Do not iterate trought delete_trivially_dead_insns
3059 * toplev.c (rest_of_compilation): Duplicate loop headers only when
3060 optimizing; Delete trivially dead insns early; fix optimize check.
3062 * Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add
3063 dependency on cgraph.h
3064 * c-decl.c: Include cgraph.h
3065 (finish_function): Update call of tree_inlinable_function_p.
3066 * c-objc-common.c: Include cgraph.h
3067 * cgraph.h: New file.
3068 * cgraphunit.c: New file.
3069 * cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h
3070 (cgraph_nodes, cgraph_n_nodes): Globalize.
3071 (cgraph_finalize_function, cgraph_finalize_compilation_unit
3072 cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node):
3073 Move into cgraphunit.c
3074 * tree-inline.c: Include cgraph.h
3075 * tree-inline.c: Include cgraph.h
3077 2003-02-22 Josef Zlomek <zlomekj@suse.cz>
3079 * config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
3080 for copying a register.
3082 2003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl>
3085 * toplev.c (process_options): If flag_detailed_statistics is set,
3086 then set time_report as well.
3089 * jump.c (never_reached_warning): Don't fall through BARRRIER
3090 insns. Update comments to reflect what the function really does.
3092 2003-02-21 Roger Sayle <roger@eyesopen.com>
3094 * fold-const.c (omit_one_operand): No longer static.
3095 * tree.h (omit_one_operand): Prototype here.
3096 (div_and_round_double): Keep fold-const.c prototypes together.
3097 * builtins.c (builtin_mathfn_code): Handle binary built-in
3098 funtions, such as "pow" and "atan2".
3099 (fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0.
3100 Simplify optimizations using "type" the builtin's return type.
3102 2003-02-22 Hans-Peter Nilsson <hp@axis.com>
3104 * config/cris/cris.c (cris_rtx_costs): Blockify dangling else.
3105 Fix functionalization typo.
3107 * regmove.c (optimize_reg_copy_1): Do not replace a hard register
3110 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3112 * Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
3113 * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
3115 * ggc-common.c: Include params.h
3116 (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
3117 init_ggc_heuristics): New functions.
3118 * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
3119 init_ggc_heuristics): Prototype.
3120 * toplev.c (print_version): Output GGC heuristics.
3121 (parse_options_and_default_flags): Call init_ggc_heuristics.
3123 Sat Feb 22 02:35:07 CET 2003 Jan Hubicka <jh@suse.cz>
3125 * i386.c (def_builtin): Special case 64bit builtins.
3126 (MASK_SSE164, MASK_SSE264): New constants.
3127 (builtin_description): Add 64bit builtins.
3128 (ix86_init_mmx_sse_builtins): Likewise.
3129 * i386.h (enum ix86_builtins): Likewise.
3130 * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
3131 sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
3132 (sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
3133 * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
3134 * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
3135 _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
3136 _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
3138 Sat Feb 22 00:48:22 CET 2003 Jan Hubicka <jh@suse.cz>
3140 * i386.c (builtin_description): Add __builtin_ia32_paddq and
3141 __builtin_ia32_psubq. Fix __builtin_ia32_paddq128
3142 and __builtin_ia32_psubq128.
3143 * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
3144 * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
3145 (mmx_adddi3, mmx_subdi3): New.
3146 * mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
3147 * xmmintrin.h (_mm_movepi64_pi64): New.
3148 (_mm_add_epi64, _mm_sub_epi64): fix.
3149 (_mm_mul_pu16): Rename to...
3150 (_mm_mul_su32): ... this one.
3152 * builtins.c (expand_builtin_expect): Do not predict
3153 flag_guess_branch_prob is not set.
3154 * c-semantics.c (expand_stmt): Likewise.
3155 * predict.c (predict_insn): Likewise.
3156 * stmt.c (expand_continue_loop): Likewise.
3157 * toplev.c (rest_of_compilation): Do not call
3158 note_prediction_to_br_prob and note_prediction_to_br_prob
3159 when not optimizing.
3161 Fri Feb 21 23:10:13 CET 2003 Jan Hubicka <jh@suse.cz>
3163 * cfgrtl.c (commit_edge_insertions): Call
3164 find_many_sub_basic_block only when some code has been emitted.
3165 (commit_edge_insertions_watch_calls): Bring into sync with
3166 commit_edge_insertions
3168 Fri Feb 21 20:41:29 2003 J"orn Rennecke <joern.rennecke@superh.com>
3170 * sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
3172 * sh.md (binary_sf_op): Use extra constant operand instead of
3173 negating constant operand 4.
3174 * sh.c (sh_expand_binop_v2sf): Supply it.
3176 2003-02-21 Zack Weinberg <zack@codesourcery.com>
3178 * cpphash.h (struct lexer_state): Add directive_wants_padding.
3179 * cpplib.c (_cpp_handle_directive): Set directive_wants_padding
3180 for directives of type INCL.
3181 (glue_header_name, parse_include): Use get_token_no_padding.
3182 * cppmacro.c (replace_args): If directive_wants_padding,
3183 provide padding tokens.
3185 2003-02-21 Kazu Hirata <kazu@cs.umass.edu>
3187 * config/h8300/h8300.md (a peephole2): New.
3189 Fri Feb 21 11:05:44 CET 2003 Jan Hubicka <jh@suse.cz>
3191 * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
3192 (commit_edge_insertions): Call find_many_sub_basic_blocks
3194 * reg-stack.c (convert_regs): Cleax aux for blocks.
3196 Fri Feb 21 10:29:52 CET 2003 Jan Hubicka <jh@suse.cz>
3198 * toplev.c (parse_options_and_default_flags): Undo accidental commit.
3200 2003-02-21 Glen Nakamura <glen@imodulo.com>
3202 PR optimization/8613
3203 * builtins.c (expand_builtin): Emit postincrements before expanding
3206 2003-02-21 Ben Elliston <bje@redhat.com>
3209 * doc/install.texi (Configuration): Explain using $HOME instead of
3210 the ~ metacharacter when referring to home directories.
3212 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
3214 * configure.in (TARGET_SYSTEM_ROOT): Set default to
3215 ${exec_prefix}/${target_alias}/sys-root. Match explicit
3216 '${exec_prefix}' (in addition to the expansion thereof) as
3218 * configure: Rebuilt.
3220 2003-02-20 Kazu Hirata <kazu@cs.umass.edu>
3222 * config/h8300/h8300.md (addhi3_incdec): Change the name to
3224 (addsi3_incdec): Change the name to *addsi3_incdec.
3226 2003-02-20 Roger Sayle <roger@eyesopen.com>
3228 * explow.c (force_reg): Avoid useless REG_EQUAL notes.
3230 2003-02-20 Toon Moene <toon@moene.indiv.nluug.nl>
3233 * c-opts.c (sanitize_cpp_opts): Add Fortran front end
3234 options to be ignored.
3235 (c_common_decode_option): Ignore them when preprocessing.
3237 Thu Feb 20 21:41:19 CET 2003 Jan Hubicka <jh@suse.cz>
3239 * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
3241 (lang_independent_options): Add -fsched2-use-superblocks
3243 (rest_of_compilation): Deal with it.
3244 * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare.
3245 * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
3247 * rtl.h (reg_to_stack): Update prototype.
3248 * reg-stack.c (reg_to_stack): Return when something has changed;
3249 update liveness when executing after superblock scheduling.
3251 * combine.c (simplify_shift_const): Simplify few special cases
3254 2003-02-20 David Edelsohn <edelsohn@gnu.org>
3256 * config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
3257 (add.,subf.,neg.): Change attribute to fast_compare.
3258 All DFA descriptions updated.
3260 2003-02-20 Nathan Sidwell <nathan@codesourcery.com>
3262 Change base class access representation.
3263 * tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED,
3264 TREE_VIA_PRIVATE): Remove.
3265 (BINFO_BASEACCESSES): New binfo elt.
3266 (BINFO_BASEACCESS): New accessor.
3267 (BINFO_ELTS): Increase.
3268 (TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New.
3269 (access_public_node, access_protected_node,
3270 access_private_node): New global nodes.
3271 * tree.c (build_common_tree_nodes_2): Initialize access nodes.
3272 * dbxout.c (dbxout_type): Adjust.
3273 * dwarf2out.c (gen_inheritance_die): Add access parameter.
3274 (gen_member_die): Adjust.
3275 * dwarfout.c (output_inheritance_die): ARG is array of two trees.
3276 (output_type): Adjust.
3277 * tree-dump.c (dequeue_and_dump): Adjust binfo dumping.
3279 Change base class access representation. Share virtual base
3281 * cp/call.c (build_special_member_call): Remove binfo_for_vbase
3283 * cp/class.c (build_base_path): Likewise.
3284 (build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use.
3285 (build_secondary_vtable): Remove FOR_TYPE arg. Adjust.
3286 (make_new_vtable): Adjust.
3287 (force_canonical_binfo_r): Delete.
3288 (force_canonical_binfo): Delete.
3289 (mark_primary_virtual_base): Delete.
3290 (dfs_unshared_virtual_bases): Delete.
3291 (mark_primary_bases): Adjust.
3292 (maybe_warn_about_overly_private_class): Adjust.
3293 (dfs_base_derived_from): Delete.
3294 (base_derived_from): Follow the inheritance chain.
3295 (struct find_final_overrider_data): Add vpath member.
3296 (dfs_find_final_overrider): Adjust.
3297 (dfs_find_final_overrider_q, dfs_find_final_overrider_post): New.
3298 (find_final_overrider): Adjust.
3299 (update_vtable_entry_for_fn): Adjust.
3300 (modify_all_vtables): Adjust.
3301 (walk_subobject_offsets): Adjust.
3302 (layout_nonempty_base_or_field): Adjust.
3303 (layout_empty_base): Remove last parameter. Adjust.
3304 (build_base_field): Adjust.
3305 (build_base_fields): Adjust.
3306 (propagate_binfo_offsets): Remove last parameter. Adjust.
3307 (dfs_set_offset_for_unshared_vbases): Delete.
3308 (layout_virtual_bases): Adjust.
3309 (finish_struct_1): Adjust.
3310 (init_class_processing): Don't init access nodes.
3311 (dfs_get_primary_binfo): Delete.
3312 (get_primary_binfo): Adjust.
3313 (dump_class_hierarchy_r): Remove most derived arg, add IGO
3315 (dump_class_hierarchy): Adjust.
3316 (finish_vtbls): Adjust.
3317 (get_original_base): Delete.
3318 (build_vtt_inits): Adjust.
3319 (dfs_build_secondary_vptr_vtt_inits): Adjust.
3320 (dfs_ctor_vtable_bases_queue_p): Adjust.
3321 (build_ctor_vtbl_group): Adjust.
3322 (dfs_accumulate_vtbl_inits): Adjust.
3323 (build_vtbl_initializer): Adjust.
3324 (build_vbase_offset_vtbl_entries): Adjust.
3325 (add_vcall_offset_vtbl_entries_1): Adjust.
3326 * cp/cp-tree.h (CPTI_ACCESS_*): Remove.
3327 (access_*_node): Remove.
3328 (CANONICAL_BINFO): Delete.
3329 (BINFO_UNSHARED_MARKED): Remove.
3330 (BINFO_MARKED): Set LANG_FLAG_0 directly.
3331 (SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete.
3332 (BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly.
3333 (SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED):
3335 (BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly.
3336 (SET_BINFO_NEW_VTABLE_MARKED): Adjust.
3337 (SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED):
3339 (BINFO_DEPENDENT_BASE_P): New.
3340 (dfs_walk, dfs_walk_real): Queue function takes derived binfo and
3342 (markedp, unmarkedp): Adjust.
3343 (dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p,
3344 dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp,
3345 find_vbase_instance, binfo_for_vbase): Delete.
3346 (copied_binfo, original_binfo): Declare.
3347 (finish_base_specifier): Add virtual_p arg.
3348 (unshare_base_binfos): Delete.
3349 (copy_base_binfos): Declare.
3350 (reverse_path): Delete.
3351 * cp/decl.c (xref_basetypes): Access and virtuality passed
3352 differently. Don't copy direct base binfos here. Call
3354 * cp/init.c (dfs_initialize_vtbl_ptrs): Adjust.
3355 (initialize_vtbl_ptrs): Adjust.
3356 (expand_member_init): Adjust.
3357 * cp/parser.c (cp_parser_base_specifier): Adjust.
3358 * cp/pt.c (instantiate_class_template): Adjust.
3359 (get_template_base_recursive): Adjust.
3360 * cp/rtti.c (get_pseudo_ti_init): Adjust.
3361 (get_pseudo_ti_desc): Adjust.
3362 * cp/tree.c (unshare_base_binfos): Rename to ...
3363 (copy_base_binfos): ... here, reimplement.
3364 (make_binfo): Set BINFO_DEPENDENT_BASE_P.
3365 (reverse_path): Remove.
3366 * cp/typeck.c (get_delta_difference): Adjust error messages.
3367 * cp/semantics.c (finish_base_specifier): Add virtual arg, adjust.
3368 * cp/search.c (lookup_base_r): Adjust.
3369 (dynamic_cast_base_recurse): Adjust.
3370 (canonical_binfo): Remove.
3371 (dfs_canonical_queue): Remove.
3372 (dfs_assert_unmarked_p): Remove.
3373 (assert_canonical_unmarked): Remove.
3374 (shared_marked_p, shared_unmarked_p): Remove.
3375 (BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE.
3376 (dfs_access_in_type): Adjust.
3377 (access_in_type): Adjust.
3378 (dfs_accessible_queue_p): Adjust.
3379 (dfs_accessible_p): Adjust.
3380 (is_subobject_of_p_1, is_subobject_of_p): Remove.
3381 (struct lookup_field_info): Remove from_dep_base_p field.
3382 (lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P.
3383 (lookup_field_r): Remove dependent base code.
3384 (lookup_member): Likewise.
3385 (dfs_walk, dfs_walk_real): Add access arg to queue fn.
3386 (dfs_unmarked_real_bases_queue_p): Remove.
3387 (dfs_marked_real_bases_queue_p): Remove.
3388 (dfs_skip_vbases): Remove.
3389 (dfs_get_pure_virtuals): Adjust.
3390 (markedp, unmarkedp): Adjust.
3391 (marked_vtable_pathp, unmarked_vtable_pathp): Remove.
3392 (marked_pushdecls_p, unmarked_pushdecls_p): Adjust.
3393 (dfs_unmark): Adjust.
3394 (dfs_get_vbase_types):Remove.
3395 (dfs_build_inheritance_graph_order): Remove.
3396 (get_vbase_types): Remove
3397 (dfs_find_vbase_instance): Remove.
3398 (find_vbase_instance): Remove.
3399 (dfs_debug_unmarkedp): Adjust.
3400 (dependent_base_p): Remove.
3401 (dfs_push_type_decls): Adjust.
3402 (dfs_push_decls): Adjust.
3403 (dfs_no_overlap_yet): Adjust.
3404 (copied_binfo): New function.
3405 (original_binfo): New function.
3406 (binfo_for_vbase): Remove.
3408 Change base class access representation.
3409 * java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC.
3410 (add_interface_do): Likewise.
3412 2003-02-20 David Edelsohn <edelsohn@gnu.org>
3414 * config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
3415 * config/rs6000/power4.md (power4-store,power4-vecstore): New
3417 (power4-fpstore): Compact.
3419 2003-02-20 Kazu Hirata <kazu@cs.umass.edu>
3421 * config/h8300/h8300.md (*iorsi3_w): New.
3423 2003-02-20 Josef Zlomek <zlomekj@suse.cz>
3425 * combine.c (distribute_notes): Kill REG_EXEC_COUNT.
3426 * rtl.c (reg_note_name): Likewise.
3427 * rtl.h (enum reg_note): Likewise.
3428 * doc/invoke.texi: Likewise.
3429 * doc/rtl.texi: Likewise.
3431 2003-02-20 Josef Zlomek <zlomekj@suse.cz>
3433 * bb-reorder.c (find_traces_1_round): Fix comment typo.
3435 2003-02-19 Roger Sayle <roger@eyesopen.com>
3437 * fold-const.c (fold_real_zero_addition_p): Don't fold a zero
3438 addition in the presence of signaling NaNs.
3440 2003-02-19 Krister Walfridsson <cato@df.lth.se>
3442 * tm.texi (INIT_CUMULATIVE_ARGS): Fix typo.
3444 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
3446 * config/h8300/h8300.c (output_logical_op): Optimize or.l when
3447 ORing with 0xffff??00 with the highest bit of the ?? part set.
3448 (compute_logical_op_length): Update.
3449 (compute_logical_op_cc): Likewise.
3451 2003-02-19 Josef Zlomek <zlomekj@suse.cz>
3453 * bb-reorder.c (find_traces_1_round): Fixed condition for small
3454 destination block with multiple predecessors.
3455 (connect_traces): Check whether the block is a start of trace.
3457 Wed Feb 19 19:00:24 CET 2003 Jan Hubicka <jh@suse.cz>
3459 * calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS
3460 * function.c (assign_params): Likewise.
3461 * arm-protos.h (arm_init_cumulative_args): Update prototype.
3462 * arm.c (arm_init_cumulative_args): Update function.
3463 * arm.h (INIT_CUMULATIVE_ARGS): Update.
3464 * avr-protos.h (init_cumulative_args): Update prototype.
3465 * avr.c (init_cumulative_args): Update function.
3466 * avr.h (INIT_CUMULATIVE_ARGS): Update.
3467 * d30v-protos.h (d30v_init_cumulative_args): Update prototype.
3468 * d30v.c (d30v_init_cumulative_args): Update function.
3469 * d30v.h (INIT_CUMULATIVE_ARGS): Update.
3470 * frv-protos.h (frv_init_cumulative_args): Update prototype.
3471 * frv.c (frv_init_cumulative_args): Update function.
3472 * frv.h (INIT_CUMULATIVE_ARGS): Update.
3473 * mips.c (mips_expand_prolgue): Update call of INIT_CUMULA