1 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com>
3 * Makefile.in (cleanstrap): Pass BOOT_CFLAGS to bootstrap.
6 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8 * gcse.c (gmalloc): Argument is a size_t. Add ATTRIBUTE_MALLOC.
9 (grealloc): Size argument is a size_t.
10 (gcalloc): New function. Use throughout in lieu of
13 * config/avr/avr.c (avr_init_once): Use xcalloc in lieu of
15 * config/ia64/ia64.c (ia64_reorg): Likewise.
16 * conflict.c (conflict_graph_new): Likewise.
17 * fixinc/fixincl.c (run_compiles): Likewise.
18 * genattrtab.c (optimize_attrs): Likewise.
19 * genrecog.c (new_decision): Likewise.
20 * haifa-sched.c (schedule_block): Likewise.
21 * hashtable.c (ht_create): Likewise.
23 2003-08-11 Bob Wilson <bob.wilson@acm.org>
25 * config/xtensa/lib2funcs.S: Fix whitespace.
26 * config/xtensa/xtensa.md (all insns and expanders): Use brace block
27 syntax where appropriate. Remove unnecessary backslash escapes.
28 Reformat comments and fix some code formatting.
29 (extendqisi2): Rearrange conditional.
30 (*btrue, *bfalse, *ubtrue, *ubfalse, *bittrue, *bitfalse, *masktrue,
31 *maskfalse, movsicc_internal0, movsfcc_internal0): Call abort instead
34 2003-08-11 Richard Sandiford <rsandifo@redhat.com>
36 * config/mips/mips.c: Various formatting fixes.
37 (override_options): Resync -mtune handling with gas.
38 (mips_issue_rate): Rearrange like mips_use_dfa_pipeline_interface.
39 * config/mips/mips.h: More formatting fixes.
40 (mips_abi): Move declaration.
41 * config/mips/mips.md (exception_receiver): Add mode to
44 2003-08-11 Aldy Hernandez <aldyh@redhat.com>
46 * config/rs6000/rs6000.c (spe_init_builtins): Handle evsplati and
48 (bdesc_1arg): Remove evsplati and evsplatfi.
50 2003-08-11 J"orn Rennecke <joern.rennecke@superh.com>
52 * dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix
55 2003-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
57 * builtins.c (expand_builtin_strcat): Optimize constant strings.
59 2003-08-10 Gabriel Dos Reis <gdr@integrable-solutions.net>
61 * pretty-print.c (pp_base_indent): Rename from pp_indent.
62 * c-pretty-print.h (pp_c_pretty_print_flag)s: New datatype.
63 (struct c_pretty_print_info): Add more fields.
64 (pp_c_left_paren): Move to c-pretty-print.c.
65 (pp_c_right_paren): Likewise.
66 (pp_c_left_brace): Likewise.
67 (pp_c_right_brace): Likewise.
68 (pp_c_left_bracket): Likewise.
69 (pp_c_right_bracket): Likewise.
70 (pp_c_declarator): Declare.
71 (pp_c_direct_declarator): Likewise.
72 (pp_c_specifier_qualifier_list): Likewise.
73 (pp_c_type_id): Likewise.
74 * c-pretty-print.c (pp_c_cv_qualifier): Change prootype. Rework..
75 (pp_c_type_qualifier_list): New.
76 (pp_c_pointer): Likewise.
77 (pp_c_parameter_type_list): Likewise.
78 (pp_c_function_definition): Likewise.
79 (pp_c_id_expression): Likewise.
80 (pp_c_simple_type_specifier): Tidy.
81 (pp_c_unary_expression): Likewise.
82 (pp_c_expression): Likewise.
83 (pp_c_pretty_printer_init): Likewise.
84 (pp_c_specifier_qualifier_list): Rework..
85 (pp_c_abstract_declarator): Likewise.
86 (pp_c_postfix_expression): Likewise.
87 (pp_c_primary_expression): Likewise.
88 (pp_c_cast_expression): Likewise.
89 (pp_c_direct_abstract_declarator): Likewise.
90 (pp_c_storage_class_specifier): Likewise.
91 (pp_c_function_specifier): Likewise.
92 (pp_c_declaration_specifiers): Likewise.
93 (pp_c_direct_declarator): Likewise.
94 (pp_c_declarator): Likewise.
95 (pp_c_declaration): Likewise.
96 (pp_c_statement): Likewise.
97 (pp_c_integer_constant): Rename from pp_c_integer_literal.
98 (pp_c_character_constant): Rename from pp_c_character_literal.
99 (pp_c_bool_constant): Rename from pp_c_bool_literal.
100 (pp_c_enumeration_constant): Rename from pp_c_enumerator.
101 (pp_c_floating_constant): Rename from pp_c_real_literal.
102 (pp_c_constant): Rename from pp_c_literal.
103 * c-lang.c: Include diagnostic.h and c-pretty-print.h
104 (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): Define.
105 (c_initialize_diagnostics): New.
106 * Makefile.in (c-lang.o): Update dependency.
108 2003-08-10 Nathan Sidwell <nathan@codesourcery.com>
110 * c-typeck.c (digest_init): Add conversion for VECTOR_TYPEs.
112 2003-08-10 Richard Sandiford <rsandifo@redhat.com>
114 * config/mips/mips.c (mips_no_mips16_string): Remove.
115 (override_options): Don't handle -mips16 as part of -mipsN.
116 * config/mips/mips.h (mips_no_mips16_string): Remove declaration.
117 (TARGET_SWITCHES): Add -mips16 and -mno-mips16 entries.
118 (TARGET_OPTIONS): Remove -mno-mips16.
120 2003-08-10 Richard Sandiford <rsandifo@redhat.com>
122 * config/mips/mips-protos.h (coprocessor_operand): Remove declaration.
123 (coprocessor2_operand): Likewise.
124 * config/mips/mips.c (STAB_CODE_TYPE): Remove.
125 (lookup_name): Remove declaration.
126 (abort_with_insn): Remove. Replace all uses with fatal_insn.
127 (mips16, mips_abicalls): Remove.
128 (mips_char_to_class): Remove initialiser: all entries are NO_REGS.
129 (arith32_operand, large_int, true_reg_or_0_operand): Remove.
130 (coprocessor_operand, coprocessor2_operand): Remove.
131 (override_options): Don't set mips16 or mips_abicalls.
132 (print_operand): Don't expect SIGN_EXTEND operands.
133 (mips_secondary_reload_class): Likewise.
134 (mips_output_conditional_branch): Remove disabled long-branch code.
135 * config/mips/mips.h (call_used_regs): Remove declaration.
136 (may_call_alloca): Likewise.
137 (mips_cpu_attr, mips_abicalls_type, mips_abicalls_attr): Remove.
138 (mips_abicalls, mips16): Remove declarations.
139 (ASM_FINAL_SPEC, LIB_SPEC): Remove.
140 (CC1_SPEC): Remove outdated comment.
141 (MIPS_VERSION, MACHINE_TYPE): Remove.
142 (TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove.
143 (PC_REGNUM, STACK_POINTER_OFFSET): Remove disabled definitions.
144 (STRUCT_VALUE_RETURN_REGNUM, STACK_DYNAMIC_OFFSET): Likewise.
145 (PUSH_ROUNDING): Likewise.
146 (ASSEMBLER_SCRATCH_REGNUM): Remove.
147 * config/mips/mips.md: Replace mips_cpu_attr with mips_tune
148 and mips16 with TARGET_MIPS16.
150 2003-08-09 Per Bothner <pbothner@apple.com>
152 * cppinit.c (cpp_read_main_file): Split out source-independent
153 initialization to separate function ...
154 (cpp_post_options): New function.
155 * cppfiles.c (cpp_stack_file): Rename public name to ...
156 (_cpp_stack_file): New internal function name.
157 * cpplib.h: Update accordingly.
158 * cppinit.c: (cpp_create_reader): Initialize cpp_readers line here.
159 (cpp_read_main_file): Don't initialize line here.
160 * c-opts.c (c_common_post_options): Call cpp_post_options.
161 (c_common_parse_file): Call cpp_read_main_file, not cpp_stack_file.
162 * fix-header.c (read_scan_file): Call cpp_post_options.
164 2003-08-09 Per Bothner <per@bothner.com>
166 * c-decl.c (SCOPE_LIST_APPEND): Remove bogus line continuation.
168 2003-08-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
170 * pa.c (pa_asm_output_mi_thunk): Fix typo.
172 2003-08-09 Neil Booth <neil@daikokuya.co.uk>
174 PR preprocessor/11839
175 * cppfiles.c (open_file): Handle ENOTDIR.
177 2003-08-09 Richard Sandiford <rsandifo@redhat.com>
180 * config/mips/mips.c (override_options): Reject -mabi=eabi -mabicalls.
182 2003-08-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
184 * pa.md (extzv, extv, insv): Fix operand limit checks. Fail if
185 source/destination is not a register operand.
187 2003-08-08 Richard Henderson <rth@redhat.com>
190 * config/ia64/ia64.c (ia64_initial_elimination_offset): Remove
191 RETURN_ADDRESS_POINTER_REGNUM.
192 (ia64_expand_prologue): Don't frob it.
193 (ia64_output_function_epilogue): Likewise.
194 (ia64_return_addr_rtx): New.
195 (ia64_split_return_addr_rtx): New.
196 * config/ia64/ia64-protos.h: Update.
197 * config/ia64/ia64.h (FIRST_PSEUDO_REGISTER): Decrement.
198 (RETURN_ADDRESS_POINTER_REGNUM): Remove.
199 (GENERAL_REGNO_P): Don't check it.
200 (AR_*_REGNUM): Renumber.
201 (FIXED_REGISTERS): Remove RETURN_ADDRESS_POINTER_REGNUM.
202 (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Likewise.
203 (REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Likewise.
204 (ELIMINABLE_REGS, REGISTER_NAMES): Likewise.
205 (RETURN_ADDR_RTX): Use ia64_return_addr_rtx.
206 * config/ia64/ia64.md (UNSPEC_RET_ADDR): New.
207 (movdi_ret_addr): New.
209 2003-08-08 Geoffrey Keating <geoffk@apple.com>
211 * config.gcc (powerpc-*-darwin*): Don't build a soft-float multilib.
213 2003-08-08 Roger Sayle <roger@eyesopen.com>
215 * tree.h (get_identifier) Define a macro form of get_identifier
216 that calls get_identifier_with_length when the string is constant.
217 (get_identifier_with_length): Change type of second argument to
219 * stringpool.c (get_identifier): Undefine the macro before giving
220 the function definition.
221 (get_identifier_with_length): Change type of second argument to
222 size_t in function definition.
223 * hashtable.c (calc_hash): Change type of second argument to size_t.
224 (ht_lookup): Change type of third argument to size_t. Reorganize
225 to speed-up the cases where the hash table slot is empty, or the
226 first probe matches (i.e. there isn't a collision).
227 * hashtable.h (ht_lookup): Adjust function prototype.
229 2003-08-08 Bernardo Innocenti <bernie@develer.com>
233 * longlong.h (count_leading_zeros): Exclude on __mcpu32__.
235 2003-08-08 Neil Booth <neil@daikokuya.co.uk>
237 * common.opt: Add debug switches.
238 * flags.h (use_gnu_debug_info_extensions): Boolify.
239 * opts.c (write_symbols, debug_info_level,
240 use_gnu_debug_info_extensions): Move from toplev.c.
241 (set_debug_level): New.
242 (common_handle_options): Handle debug switches.
243 (print_help): Display target options directly.
244 * toplev.c (debug_hooks): Don't initialize.
245 (write_symbols, debug_info_level,
246 use_gnu_debug_info_extensions): Move to opts.c.
247 (debug_args, display_help, decode_g_option): Remove.
248 (process_options): Set no debug if level zero here,
249 and no-debug-hooks. Error here if impossible debug format selected.
250 * toplev.h (display_help, decode_g_option): Remove.
252 2003-08-08 Richard Sandiford <rsandifo@redhat.com>
254 * tree.c (get_file_function_name_long): Fix size of alloca() area.
256 2003-08-08 Kelley Cook <kelleycook@wideopenwest.com>
258 * configure.in (gcc_cv_prog_cmp_skip): Flipflop make_compare_target
259 and gcc_cv_prog_cmp_skip.
260 * configure: Regenerate.
262 2003-08-08 Stan Cox <scox@redhat.com>
264 * config/iq2000: New port.
265 * config.gcc (iq2000-*-elf): Added.
266 * doc/install.texi (Specific): Add iq2000 description.
268 2003-08-08 Andreas Schwab <schwab@suse.de>
270 * configure.in (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Fix quoting
271 and insert missing empty argument.
272 * configure: Regenerate.
274 2003-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
276 * pa.c (update_total_code_bytes): Use new macro IN_NAMED_SECTION_P.
277 (attr_length_millicode_call): Likewise.
278 (attr_length_call): Likewise. Revise some maximum insn lengths.
279 (attr_length_indirect_call): Likewise.
280 (output_call): Fix thinko that added extra nop.
281 * pa.h (IN_NAMED_SECTION_P): Define.
284 * pa-hpux.h, pa-hpux10.h, pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define
285 __STDC_EXT__ when using C++ dialect.
287 2003-08-07 J"orn Rennecke <joern.rennecke@superh.com>
289 * sh.c (calc_live_regs): If the return address pointer is live,
291 (sh5_schedule_saves): Exclude PR_MEDIA_REG from being a temp register
292 for saves / restores.
293 (sh_expand_epilogue): If sh_media_register_for_return returns a
294 register number, flag the instructions that restores PR_MEDIA_REG
296 Remove dead update of offset.
297 (sh_get_pr_initial_val): Use UNSPEC_RA if we don't know yet if
298 we can use the result of get_hard_reg_initial_val.
299 * sh.md (UNSPEC_RA): New constant.
300 (movsi_i_lowpart+1): Changed into a define_insn_and_split, named:
301 (load_ra). Handle UNSPEC_RA.
302 (sibcall_media): Use PR_MEDIA_REG.
304 * sh.h (CALL_USED_REGISTERS): Include PR_REG and PR_MEDIA_REG.
305 * sh.c (calc_live_regs): Use sh_pr_n_sets to determine if pr
306 needs saving on SHmedia.
308 2003-08-07 Ulrich Weigand <uweigand@de.ibm.com>
310 * config/s390/s390.md: Replace all occurrences of \\t with \t.
312 2003-08-07 Richard Sandiford <rsandifo@redhat.com>
314 * local-alloc.c (combine_regs): Fix comment typo.
316 2003-08-06 Zack Weinberg <zack@codesourcery.com>
318 * c-decl.c (builtin_decls): Replace with first_builtin_decl
319 and last_builtin_decl.
320 (c_init_decl_processing): Initialize both.
321 (c_reset_state): Iterate from first_builtin_decl to
322 last_builtin_decl inclusive to reintroduce builtins.
324 2003-08-06 David Mosberger <davidm@hpl.hp.com>
326 * doc/extend.texi (Function Attributes): Document the IA-64 version
327 of the "model" attribute.
329 * config/ia64/ia64.h (SYMBOL_FLAG_SMALL_ADDR): New macro.
330 (SYMBOL_REF_SMALL_ADDR_P): Ditto.
331 (PREDICATE_CODES): Mention "small_addr_symbolic_operand".
333 * config/ia64/ia64.c (ia64_handle_model_attribute): New function.
334 (ia64_encode_section_info): Likewise.
335 (ia64_attribute_table): Add "model" attribute.
336 (TARGET_ENCODE_SECTION_INFO): Define.
337 (small_addr_symbolic_operand): New function.
338 (got_symbolic_operand): Return 0 for a symbolref to an object
339 in the small address area.
340 (enum ia64_addr_area): New type.
341 (small_ident1): New variable.
342 (small_ident2): Likewise.
343 (init_idents): New function.
344 (ia64_get_addr_area): Likewise.
345 (ia64_encode_addr_area): Likewise.
346 (ia64_encode_section_info): Likewise.
347 (ia64_expand_load_address): For symbolic references to objects in
348 the small-address-area, load the address via gen_rtx_SET() (which,
349 eventually, will expand into "addl").
351 2003-08-06 Per Bothner <pbothner@apple.com>
353 * line-map.h (fileline): New typedef.
354 (struct line_map, linemap_add, linemap_lookup): Use it.
355 * input.h (struct location_s): Comment notes that long-term we want
356 to replace it by fileline.
358 2003-08-06 J"orn Rennecke <joern.rennecke@superh.com>
360 Fix SHcompact exception handling:
361 * sh.c (sh_get_pr_initial_val): If PR is or miight be clobbered
362 by the prologue, return a MEM with return_address_pointer_rtx
364 * sh.h (HARD_REGNO_MODE_OK): PR is OK for SImode.
365 (RETURN_ADDR_OFFSET): Don't define.
366 (SH_DBX_REGISTER_NUMBER): Use SHmedia numbers for SHmedia
367 registers that are visible in compact mode. Show that SHmedia
368 registers still exist in compact mode, even if there are not
370 (ASM_PREFERRED_EH_DATA_FORMAT): Supply DW_EH_PE_indirect
371 if GLOBAL. Use DW_EH_PE_textrel (nominally) for CODE,
372 and DW_EH_PE_pcrel for pic data.
373 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): If DW_EH_PE_textrel,
374 set SYMBOL_FLAG_FUNCTION in symbol, and actually use
375 DW_EH_PE_pcrel / DW_EH_PE_absptr encoding.
376 (ALLOCATE_INITIAL_VALUE): Put PR on stack if prologue clobbers it.
377 * sh.md (movsi_media-1): New splitter.
379 2003-08-06 Graeme Peterson <gp@qnx.com>
381 * config/i386/nto.h: New.
382 * config/i386/t-nto: New.
383 * config.gcc (i[34567]86-*-nto-qnx*): New.
385 2003-08-06 Phil Edwards <pme@gcc.gnu.org>
387 * doc/install.texi (*-*-solaris2*): Refine configure instructions.
389 2003-08-06 Alan Modra <amodra@bigpond.net.au>
391 * calls.c (load_register_parameters): Arrange for call_fusage to
392 report the whole register as used when shifting to the msb.
394 2003-08-05 Roger Sayle <roger@eyesopen.com>
396 * builtins.c (expand_builtin): When not optimizing, call the library
397 function for all builtins that have library functions (except alloca).
399 2003-08-05 Alexandre Oliva <aoliva@redhat.com>
401 * c.opt: Introduce -fworking-directory.
402 * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it.
403 * c-common.h (flag_working_directory): Declare.
404 * c-common.c (flag_working_directory): Define.
405 * c-opts.c (c_common_handle_options): Set it.
406 (sanitize_cpp_opts): Set...
407 * cpplib.h (struct cpp_options): ... working_directory option.
408 (struct cpp_callbacks): Add dir_change.
409 * cppinit.c (read_original_filename): Call...
410 (read_original_directory): New. Look for # 1 "directory//"
412 (cpp_read_main_file): Call dir_change callback if working_directory
414 * gcc.c (cpp_unique_options): Pass -g*.
415 * c-lex.c (cb_dir_change): New.
416 (init_c_lex): Set dir_change callback.
417 * toplev.c (src_pwd): New static variable.
418 (set_src_pwd, get_src_pwd): New functions.
419 * toplev.h (get_src_pwd, set_src_pwd): Declare.
420 * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd().
421 * dwarf2out.c (gen_compile_unit_die): Likewise.
422 * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise.
424 2003-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net>
426 * pretty-print.h (pp_set_line_maximum_length): Make macro.
427 (pp_set_prefix): Likewise.
428 (pp_destroy_prefix): Likewise.
429 (pp_remaining_character_count_for_line): Likewise.
430 (pp_clear_output_area): Likewise.
431 (pp_formatted_text): Likewise.
432 (pp_last_position_in_text): Likewise.
433 (pp_emit_prefix): Likewise.
434 (pp_append_text): Likewise.
435 (pp_flush): Likewise.
436 (pp_format_text): Likewise.
437 (pp_format_verbatim): Likewise.
438 (pp_tree_identifier): Tidy.
439 * pretty-print.c (pp_base_format_text): Rename from pp_format_text.
440 (pp_base_format_verbatim): Rename from pp_format_verbatim.
441 (pp_base_flush): Rename from pp_flush.
442 (pp_base_set_line_maximum_length): Rename from
443 pp_set_line_maximum_length.
444 (pp_base_clear_output_area): Rename from pp_clear_output_area.
445 (pp_base_set_prefix): Rename from pp_set_prefix.
446 (pp_base_destroy_prefix): Rename from pp_destroy_prefix.
447 (pp_base_emit_prefix): Rename from pp_emit_prefix.
448 (pp_base_append_text): Rename from pp_append_text.
449 (pp_base_formatted_text): Rename from pp_formatted_text.
450 (pp_base_last_position_in_text): Rename from pp_last_position_in_text.
451 (pp_base_remaining_character_count_for_line): Rename from
452 pp_remaining_character_count_for_line.
453 * diagnostic.h (diagnostic_format_decoder): Tidy.
454 (diagnostic_flush_buffer): Likewise.
455 * c-pretty-print.h: (pp_c_string_literal): Declare.
456 (pp_c_real_literal): Likewise.
457 (pp_c_integer_literal): Likewise.
458 * c-pretty-print.c (pp_c_char): Use pp_string in lieu of
460 (pp_c_character_literal): Tidy.
461 (pp_c_string_literal): Make public.
462 (pp_c_bool_literal): Likewise.
463 (pp_c_integer_literal): Likewise.
464 (pp_c_real_literal): Likewise.
466 * Makefile.in (C_PRETTY_PRINT_H): New variable.
467 (c-pretty-print.o): Update dependence.
469 2003-08-05 Chris Demetriou <cgd@broadcom.com>
471 * config/mips/mips.md (fix_truncdfsi2_macro): Properly restore
472 ".set nomacro" state.
473 (fix_truncsfsi2_macro): Likewise.
475 2003-08-05 Steven Bosscher <steven@gcc.gnu.org>
477 * tree.h (DID_INLINE_FUNC): Remove macro.
478 (DECL_DECLARED_INLINE_P): Move from c-tree.h and cp/cp-tree.h,
479 add tree check for FUNCTION_DECL.
480 (DECL_ESTIMATED_INSNS): Move from c-common.h and java/java-tree.h.
481 (struct tree_decl): Rename inlined_function_flag to
482 declared_inline_flag.
483 * c-common.h (c_lang_decl): Remove.
484 (DECL_ESTIMATED_INSNS): Remove.
485 * c-tree.h (struct lang_decl): Don't include c_lang_decl.
486 (DECL_DECLARED_INLINE_P): Remove.
487 * c-decl.c (grokdeclarator): Update comment. With -finline-functions,
488 do not reset DECL_DECLARED_INLINE_P. Don't use DID_INLINE_FUNC.
489 (finish_function): Make uninlinable a bool. Fixup call to
490 tree_inlinable_function_p() and fix some code style issues.
491 * cgraph.h (disgread_inline_limits): Fix spelling: `disregard'.
492 * cgraph.c (dump_cgraph): Likewise.
493 * cgraphunit.c (cgraph_decide_inlining): Likewise
494 (cgraph_finalize_compilation_unit): Likewise.
495 Also update call to tree_inlinable_function_p().
496 (cgraph_default_inline_p): Don't use DID_INLINE_FUNC. Instead
497 look at DECL_DECLARED_INLINE and reverse logic.
498 * print-tree.c (print_node): Likewise.
499 * toplev.c (rest_of_handle_inlining): Don't use DID_INLINE_FUNC.
500 * tree-inline.h (tree_inlinable_function_p): Make a bool. Update
502 * tree-inline.c (inlinable_function_p): Split up in this function to
503 check for basic inlining inhibiting conditions, and new
504 limits_allow_inlining() function. Warn if inlining is impossible
505 because the inline candidate calls alloca or uses sjlj exceptions.
506 (limits_allow_inlining): this new function to check if the inlining
507 limits are satisfied. Throttle from currfn_max_inline_insns, not from
508 MAX_INLINE_INSNS_SINGLE. The latter only makes sense if
509 MAX_INLINE_INSNS_AUTO and MAX_INLINE_INSNS_SINGLE are equal.
511 (tree_inlinable_function_p): Make a bool. Update call to
513 (expand_call_inline): Use limits_allow_inlining() when not in
514 unit-at-a-time mode to decide on inlining. Don't use DID_INLINE_FUNC,
515 instead see if the function was declared `inline'.
517 2003-08-05 Josef Zlomek <zlomekj@suse.cz>
519 * gcse.c (try_replace_reg): Fix updating of note.
521 2003-08-04 Roger Sayle <roger@eyesopen.com>
524 * fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the
525 logic in negate_expr, i.e. we don't invert (A-B) for floating
526 point types unless flag_unsafe_math_optimizations.
528 2003-08-04 Roger Sayle <roger@eyesopen.com>
530 * fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0.
531 Optimize x*c+x and x+x*c into x*(c+1) and x*c1+x*c2 into x*(c1+c2)
532 for floating point expressions with -ffast-math.
533 (fold <MULT_EXPR>): Don't transform x*2.0 into x+x.
534 * expmed.c (expand_mult): Wrap long line. Expand x*2.0 as x+x.
536 2003-08-04 Roger Sayle <roger@eyesopen.com>
538 * c-common.c (flag_noniso_default_format_attributes): Delete.
539 (built_in_attribute): Don't define/undefine DEF_FN_ATTR.
540 (c_attrs_initialized): Delete.
541 (c_common_nodes_and_builtins): Don't test c_attrs_initialized,
542 always call c_init_attributes.
543 (c_init_attributes): Don't define/undefine DEF_FN_ATTR. Don't
544 set c_attrs_initialized when done.
545 (c_common_insert_default_attributes): Delete.
546 * c-common.h (flag_noniso_default_format_attributes): Delete.
547 (c_coomon_insert_default_attributes): Delete prototype.
548 * c-opts.c (set_std_c89, set_std_c99, set_std_cxx98): Dont set
549 flag_noniso_default_format_attributes.
551 * c-decl.c (c_insert_default_attributes): Delete.
552 * c-tree.h (c_insert_default_attributes): Delete prototype.
554 * attribs.c (decl_attributes): Don't call insert_default_attributes
555 langhook. Update function description comment.
556 * langhooks.h (lang_hooks): Remove insert_default_attributes field.
557 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Delete.
558 * c-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't define.
559 * system.h: Poison LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES macro.
561 * objc/objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't
564 2003-08-04 Richard Sandiford <rsandif@redhat.com>
566 * config/mips/mips.c (override_options): Disable -G on targets that
567 have no .section support.
568 (mips_select_section): Use default_select_section for such targets.
570 2003-08-04 Nathanael Nerode <neroden@gcc.gnu.org>
572 * fixinc/inclhack.def (svr4_undeclared_getrnge): Introduce and enable.
573 * fixinc/inclhack.def (static_getrnge): Remove disabled hack.
574 * fixinc/fixincl.x: Rebuild.
575 * fixinc/tests/base/regexp.h: New test.
577 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
579 * c-ppoutput.c (cb_line_change): Don't skip line changing while
580 parsing macro arguments in the top-level context.
582 2003-08-04 Neil Booth <neil@daikokuya.co.uk>
584 * config.in: Remove HAVE_LSTAT.
585 * configure, configure.in: Don't test for lstat.
587 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
589 * opts.c (decode_options): Do language-specific initialization for
590 the global diagnostic context.
591 * langhooks-def.h (lhd_initialize_diagnostics): Declare.
592 (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro.
593 (LANG_HOOKS_INITIALIZER): Adjust.
594 * langhooks.h (struct lang_hooks): Add new field
595 initialize_diagnostics.
596 * langhooks.c (lhd_initialize_diagnostics): Define.
598 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
600 * pretty-print.h: Adjust macro definitions.
601 * pretty-print.c (pp_newline): Rename to pp_base_newline.
602 (pp_character): Rename to pp_base_character.
603 (pp_string): Rename to pp_base_string.
604 * c-pretty-print.c (pp_buffer): Move to pretty-print.h
605 (pp_newline): Likewise. Adjust.
608 2003-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
610 * builtins.def (BUILT_IN_ABS, BUILT_IN_IMAXABS, BUILT_IN_LABS,
611 BUILT_IN_LLABS): Move to miscellaneous section.
613 2003-08-03 Neil Booth <neil@daikokuya.co.uk>
615 PR preprocessor/11534
616 * cppexp.c (parse_defined): Warn only if -pedantic.
618 2003-08-03 Neil Booth <neil@daikokuya.co.uk>
620 * cppfiles.c (stack_file): Use file path.
622 2003-08-02 Roger Sayle <roger@eyesopen.com>
624 * builtin-types.def (BT_SSIZE): New primitive type.
625 (BT_FN_INT_PTR_CONST_STRING_VALIST_ARG,
626 BT_FN_STRING_CONST_STRING_CONST_STRING_INT,
627 BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR,
628 BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR): New function types.
629 * builtins.def (BUILT_IN_DCGETTEXT, BUILT_IN_DGETTEXT,
630 BUILT_IN_FSCANF, BUILT_IN_GETTEXT, BUILT_IN_STRFMON,
631 BUILT_IN_STRFTIME, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): New builtins.
632 * builtin-attrs.def: Remove DEF_FN_ATTR construct and the last
633 few functions that define default attributes using it.
634 * c-common.c (c_common_insert_default_attributes): Do nothing.
636 * doc/extend.texi: Document these "new" builtins.
638 2003-08-02 Kaz Kojima <kkojima@gcc.gnu.org>
640 * config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
641 (LIB_SPEC): Set -lpthread always when -pthread set. Set -lieee
642 when -mieee-fp set and -shared not set.
643 (SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5.
645 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
647 * cppfiles.c (struct _cpp_file): Rename once_only_next to
648 next_file. Remove import and pragma_once, add once_only.
649 (find_file): Add new file structures to the all_files list.
650 (should_stack_file): Mark #import-ed files once-only, and
651 don't stack them if the file has already been stacked.
652 (_cp_mark_file_once_only): Simplify.
653 * cpphash.h (struct cpp_reader): Rename once_only_files
654 to all_files. Rename saw_pragma_once to seen_once_only.
655 (_cpp_mark_file_once_only): Update prototype.
656 * cpplib.c (do_pragma_once): Update.
658 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
660 * cppfiles.c (ENOTDIR): Remove.
661 (open_file_in_dir): Rename find_file_in_dir. Handle errors
662 other than ENOENT here.
663 (once_only_file_p): Rename should_stack_file.
664 (find_file, open_file_failed, read_file_guts): Report errors
666 (read_file): Move pch handling to should_stack_file.
667 (should_stack_file): Handle PCH and once-only issues, and
669 (stack_file): Don't do file reads.
671 2003-08-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
673 * libgcov.c (gcov_exit): Cleanup and fix.
674 * profile.c (compute_value_histograms): Don't try to read profiles
675 that are not present.
677 2003-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
679 * builtins.def: Categorize.
681 * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
683 (BUILT_IN_FFSL): Use DEF_EXT_LIB_BUILTIN.
685 2003-08-02 Andreas Tobler <a.tobler@schweiz.ch>
687 * config.gcc: Enable posix threads by default on darwin.
689 2003-08-01 Jakub Jelinek <jakub@redhat.com>
691 * cfgcleanup.c (outgoing_edges_match): Check REG_EH_REGION notes
692 even if nehedges1 is 0.
694 2003-08-01 Nathanael Nerode <neroden@gcc.gnu.org>
696 * fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h,
697 fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c,
698 fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes
701 * fixinc/inclhack.def (broken_cabs): Make matching more generous.
702 * fixinc/fixincl.x: Regenerate.
703 * fixinc/tests/base/math.h: Regenerate to match test_text change.
705 2003-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
707 * ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
709 2003-08-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
711 * except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode,
712 for accesses to exc_ptr.
714 2003-08-01 Geoffrey Keating <geoffk@apple.com>
716 * doc/sourcebuild.texi (Front End Directory): Don't make references
717 to libsubdir, it's not part of the interface to frontends.
718 * doc/install.texi (Configuration): Help users read faster by saying
719 that GCC's configure options are the standard autoconf ones.
720 Mention --libdir. Update the default rules for finding the
721 assembler. Don't use libsubdir since we haven't said what it means.
722 (Specific): In the Solaris 7 notes, update the place to put the
724 * doc/invoke.texi: Update lib/gcc-lib to lib/gcc.
725 * doc/cpp.texi (Search Path): Actually, the search path
726 depends on libdir, which can relocate with cpp.
727 * doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's
728 now a private interface between the Makefile and the driver.
730 2003-08-01 Richard Henderson <rth@redhat.com>
732 * system.h: Poison ASM_SIMPLIFY_DWARF_ADDR.
734 * varasm.c (lookup_constant_def): New function.
735 * rtl.h (lookup_constant_def): Declare it.
736 * dwarf2out.c (loc_descriptor_from_tree): Use it.
737 Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR.
739 2003-08-01 Zack Weinberg <zack@codesourcery.com>
741 * c-decl.c (gettags, pushdecl_function_level): Delete.
742 (last_function_parm_vars): Rename last_function_parm_others.
743 (current_function_parm_vars): Rename current_function_parm_others.
744 (struct c_scope): Rewrite comment explaining this data structure.
745 Add names_last, blocks_last, parms_last fields. Rename
746 incomplete_list to incomplete.
747 (SCOPE_LIST_APPEND, SCOPE_LIST_CONCAT): New macros.
748 (poplevel): Ignore second argument. No need to nreverse
749 anything. Restructure such that each list is processed
750 exactly once. Use 'const location_t *locus' syntactic sugar
751 variable where useful. Issue unused variable warnings
752 ourselves, do not rely on function.c.
753 (insert_block, pushdecl, bind_label): Use SCOPE_LIST_APPEND.
754 (pushdecl_top_level): Likewise. Don't call duplicate_decls.
755 (implicitly_declare): decl cannot be error_mark_node.
756 (undeclared_variable): Manipulate scope structure directly.
757 (c_make_fname_decl): Likewise.
758 (getdecls, c_init_decl_processing): Fix comment.
759 (mark_forward_parm_decls): Use SCOPE_LIST_CONCAT. No need
761 (grokparms): No need to nreverse parms list.
762 (store_parm_decls_newstyle): Set up the parms_last and
763 names_last fields of the new scope too.
764 (store_parm_decls_oldstyle): Can assume DECL_WEAK is not set
765 on parms to begin with; check this under ENABLE_CHECKING. Set
767 (check_for_loop_decls): Refer directly to current_scope->tags.
768 Use consistent quote style in diagnostics.
769 (c_write_global_declarations): The names list is not backward.
771 * c-common.h: Don't prototype gettags.
772 * c-parse.in: Call poplevel with second argument 0 always.
774 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
776 * builtins.def: Resort builtins.
778 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
780 * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN,
781 DEF_EXT_LIB_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN):
782 Prepend "__builtin_" onto NAME with string concatenation. Remove
783 explicit "__builtin_" from each macro call.
785 Reformat entire file.
787 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
789 * builtins.def (ATTR_MATHFN_ERRNO, ATTR_MATHFN_FPROUNDING,
790 ATTR_MATHFN_FPROUNDING_ERRNO): New macros. Use throughout.
792 2003-08-01 Andreas Krebbel <krebbel1@de.ibm.com>
794 * config/s390/s390.c (s390_select_ccmode): Do not attempt to use CCL,
795 CCL1, or CCL2 modes with floating point operations.
797 * config/s390/s390.md ("*addsf3_cc", "*addsf3_cconly", "*adddf3_cc",
798 "*adddf3_cconly", "*subsf3_cc", "*subsf3_cconly", "*subdf3_cc",
799 "*subdf3_cconly"): New insns.
800 ("*negabssi2", "*negabsdi2", "*negabsdf2", "*negabssf2"): Likewise.
802 2003-08-01 Neil Booth <neil@daikokuya.co.uk>
804 * Makefile.in: Refine dependencies.
805 * c-opts.c (c_common_handle_option): Do nothing for -Wimport.
806 * c.opt: Update help for -Wimport.
807 * cppfiles.c: Include hashtab.h. Update comments.
808 (stack_file): Read the file before updating dependencies.
809 (once_only_file_p): Be smarter about marking once-only files.
810 (_cpp_mark_file_once_only): Correct the check for existence on
812 (open_file_failed): Use name not path, which is NULL.
813 * cpphash.h: Don't include hashtab.h.
814 (struct _cpp_file): Remove.
815 (struct cpp_reader): Update.
816 * cppinit.c (cpp_create_reader): Don't initialize warn_import.
817 * cpplib.h (struct cpp_options): Remove warn_import.
818 (cpp_simplify_path): Remove.
820 2003-08-01 Nathan Sidwell <nathan@codesourcery.com>
823 * doc/extend.texi (Statement Expressions): Document C++ semantics.
825 2003-07-31 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
827 * config.gcc (sh-*-linux*): Do not override sh/t-linux with sh/t-le.
829 2003-07-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
831 * builtin-types.def: Use `LONGDOUBLE' instead of `LONG_DOUBLE'
833 * builtins.def: Likewise.
835 2003-07-31 Jason Merrill <jason@redhat.com>
837 * Makefile.in (bubblestrap): Don't require a previous full
840 * expr.c (mostly_zeros_p): No longer static.
841 * tree.h: Declare it.
842 * stmt.c (resolve_asm_operand_names): Don't copy the pattern
843 unless we need to do substitutions.
845 2003-07-31 Roger Sayle <roger@eyesopen.com>
847 * fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and
848 pow(x,c)*x as pow(x,c+1) for constant values c. Optimize x*x
849 as pow(x,2.0) when the latter will be expanded back into x*x.
850 (fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1).
851 * builtins.c (expand_builtin_pow): Ignore flag_errno_math as
852 pow can never set errno when used with an integer exponent.
853 Always use expand_powi when exponent is -1, 0, 1 or 2.
854 (fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0)
855 as 1.0/(x*x). This avoids unbounded recursion as we now prefer
856 the pow forms of these expressions.
858 2003-07-31 Geoffrey Keating <geoffk@apple.com>
860 * Makefile.in (libexecdir): New.
861 (libsubdir): Use gcc instead of gcc-lib.
862 (libexecsubdir): New.
863 (ORDINARY_FLAGS_TO_PASS): Add libexecsubdir.
864 (DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of
866 (installdirs): Make libexecsubdir.
867 (install-common): Put executables in libexecsubdir.
868 (itoolsdir): Use libexecsubdir.
869 (itoolsdatadir): New.
870 (install-mkheaders): Separate data files and executables.
871 (install-collect2): Put executables in libexecsubdir.
872 (uninstall): Remove libexecsubdir.
873 * mkheaders.in: Update for new arrangement of files.
875 (libexecsubdir): New.
876 (itoolsdir): Use libexecsubdir.
877 (itoolsdatadir): New.
878 * gcc.c (gcc_libexec_prefix): New.
879 (STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib.
880 (standard_exec_prefix_1): Use libexec.
881 (standard_exec_prefix_2): New.
882 (standard_libexec_prefix): New.
883 (process_command): Update for new arrangement of files. Compute
884 gcc_libexec_prefix. Update for change from gcc-lib to gcc.
886 2003-07-31 Nathanael Nerode <neroden@gcc.gnu.org>
888 * inclhack.def (stdio_va_list): Avoid bogus replacement which
890 * fixincl.x: Regenerate.
892 2003-07-31 Jakub Jelinek <jakub@redhat.com>
894 * config/i386/i386.c (legitimate_pic_address_disp_p): Disallow TLS
895 SYMBOL_REFs not inside UNSPEC even in PLUS rtx.
897 2003-07-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
899 * dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case.
901 2003-07-31 Per Bothner <pbothner@apple.com>
903 * opts.c (in_fnames, num_in_fnames): Moved here from c-opts.
904 (add_input_filename): New function.
905 (handle_options): Call add_input_filename directly instead of
907 * opts.h (in_fnames, num_in_fnames): Moved here.
908 (add_input_filename): Declare.
909 * c-decl.c: Need to #include opts.h.
910 * Makefile.in (c-decl.o): Also depends on opts.h.
911 * c-opts.c (in_fnames, num_in_fnames): Moved to opts.c.
912 (c_common_handle_filename): Replaced by add_input_filename.
913 * c-common.h (in_fnames, num_in_fnames, c_common_handle_filename):
915 * langhooks.h (struct lang_hooks): Remove handle_filename hook.
916 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME): Remove macro.
917 (LANG_HOOKS_INITIALIZER): Remove use of LANG_HOOKS_HANDLE_FILENAME.
918 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME): Remove macro.
920 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
922 * combine.c (try_combine): Set JUMP_LABEL for newly created
925 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
927 * fold-const.c (fold): Fold some comparisons of bit operations.
929 Thu Jul 31 19:49:53 CEST 2003 Jan Hubicka <jh@suse.cz>
931 * cgraph.c (create_edge): Fix typo.
932 * i386.c (pic_symbolic_operand): Reorder tests.
934 2003-07-31 Nathan Sidwell <nathan@codesourcery.com>
936 * doc/gcov.texi (Invoking Gcov): Describe output name mangling
938 (Gcov Data Files): Update.
940 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
942 * config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by
945 * gthr-posix.c: New file.
946 * gthr-posix.h: Define _REENTRANT if missing.
947 Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK.
949 * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided
951 * config/alpha/t-osf-pthread: New file.
953 * fixinc/inclhack.def (alpha_pthread): New fix.
954 * fixinc/fixincl.x: Regenerate.
955 * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase.
957 * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads
959 Fixes PR bootstrap/9330.
961 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
963 * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5*
966 * configure: Regenerate.
968 2003-07-31 Vladimir Makarov <vmakarov@redhat.com>
970 * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0
973 2003-07-30 Roger Sayle <roger@eyesopen.com>
975 * builtins.def: Alphabetize.
977 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu>
979 * doc/c-tree.texi: Normalize spellings of "lowercase" and
981 * doc/cpp.texi: Likewise.
982 * doc/md.texi: Likewise.
983 * doc/rtl.texi: Likewise.
984 * doc/tm.texi: Likewise.
986 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu>
988 * objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3)
989 (objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves
992 2003-07-30 Chris Demetriou <cgd@broadcom.com>
994 * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these
995 macros before defining them.
997 2003-07-31 Ulrich Weigand <uweigand@de.ibm.com>
999 * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH,
1000 UNSPECV_BLOCKAGE): New constants.
1001 ("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31",
1002 "*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2"
1003 splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee",
1004 "fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them.
1006 (all insns and expanders): Write output control string as brace block
1007 where appropriate. Remove \-escapes for doublequote characters.
1009 Thu Jul 31 01:04:19 CEST 2003 Jan Hubicka <jh@suse.cz>
1011 * gcse.c (insert_store): Fix typo in previous patch.
1013 2003-07-30 Neil Booth <neil@daikokuya.co.uk>
1015 * cppfiles.c (stack_file, open_file_failed): Use path for deps.
1017 2003-07-30 Andi Kleen <ak@muc.de>
1019 * loop.c (check_dbra_loop): Allow LTU in the loop condition.
1021 2003-07-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1023 * combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes.
1024 * gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER,
1025 GCOV_N_VALUE_COUNTERS): New.
1026 * profile.c (compute_value_histograms): New static function.
1027 (branch_prob): Read back the value histograms.
1028 * rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note.
1029 * rtl.h (enum reg_note): Add REG_VALUE_PROFILE note.
1030 * value-prof.c: Add comment on reading the profile.
1031 * value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New.
1032 * doc/invoke.texi (-fprofile-values): Document behavior with
1033 -fbranch-probabilities.
1035 2003-07-30 David Edelsohn <edelsohn@gnu.org>
1037 * longlong.h (PowerPC umul_ppmm): Do not test __vxworks__.
1039 2003-07-30 Ulrich Weigand <uweigand@de.ibm.com>
1041 * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset
1044 Wed Jul 30 19:12:10 CEST 2003 Jan Hubicka <jh@suse.cz>
1046 * gcse.c (insert_store): Ignore fake edges.
1048 * c-common.c (flag_vtable_gc): Kill.
1049 * c-common.g (flag_vtable_gc): Kill.
1050 * c-opts (c_common_handle_option): Kill.
1051 * c.opt (fvtable-gc): Kill.
1052 * final.c (final_scan_insn): Do not call assemble_vtable_entry.
1053 * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
1054 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
1056 * invoke.texi (-ftable-gc): Kill documentation.
1058 * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
1059 just because function body is missing.
1061 * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
1063 2003-07-30 Ranjit Mathew <rmathew@hotmail.com>
1065 * unwind-sjlj.c: Fix typo in file description.
1067 2003-07-30 Alan Modra <amodra@bigpond.net.au>
1069 * calls.c (load_register_parameters): When shifting reg sized values
1070 to the msb, move the value to a reg first.
1072 2003-07-29 Geoffrey Keating <geoffk@apple.com>
1074 * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
1075 * line-map.h (linemap_add): Update comments.
1076 * line-map.c (linemap_add): Update comments, interpret zero-length
1077 filename as "<stdin>".
1079 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
1081 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
1083 2003-07-29 Zack Weinberg <zack@codesourcery.com>
1085 * c-decl.c (last_function_parm_vars, current_function_parm_vars):
1086 New static variables.
1087 (struct c_scope): Add parms and warned_forward_parm_decls
1088 fields; remove parm_order.
1089 (storedecls, storetags): Delete.
1090 (poplevel): Also clear bindings on the parms chain.
1091 (pushdecl): Handle forward declarations of parameters, and
1092 chain PARM_DECLs on the parms list, not the names list.
1093 (lookup_name_current_level): Check for PARM_DECLs on the parms
1095 (push_parm_decl): Don't update parm_order.
1096 (clear_parm_order): Rename mark_forward_parm_decls. Issue the
1097 warning, only once per parameter list, and set TREE_ASM_WRITTEN
1098 on the decls here. Then move the forward decls to the names list.
1099 (grokparms): Set last_function_parm_vars.
1100 (get_parm_info): Don't use gettags or getdecls. No need to
1101 extract non-parms from the parms list, or reorganize the parms
1102 list. Feed nonparms back in the TREE_TYPE of the list node
1103 returned. Issue only one error per parameter list for "void"
1104 appearing more than once in said parameter list. Collapse
1105 parmlist_tags_warning into this function to avoid double scan
1107 (start_function): Set current_function_parm_vars.
1108 (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope
1109 directly. Get non-parms from current_function_parm_vars; no
1110 need to extract them from the parms chain. Properly bind tags
1112 (store_parm_decls_oldstyle): No need to extract non-parameters
1113 from the parms chain, nor to store them back afterward. Move
1114 declaration to top of function, restructure code reordering
1116 (store_parm_decls): No need to save and restore warn_shadow.
1117 * c-parse.in: Don't call parmlist_tags_warning nor
1118 clear_parm_order. Call mark_forward_parm_decls when forward
1119 parm decls are encountered.
1120 * c-tree.h: Prototype mark_forward_parm_decls; not
1121 clear_parm_order or parmlist_tags_warning.
1123 2003-07-29 Geoffrey Keating <geoffk@apple.com>
1125 * c-common.c (allow_pch): Remove.
1126 * c-common.h (allow_pch): Remove.
1127 (c_common_no_more_pch): Declare.
1128 * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate.
1129 * c-pch.c: Include hosthooks.h.
1130 (c_common_valid_pch): Don't check allow_pch.
1131 (c_common_read_pch): Clear valid_pch to prevent reading PCH files.
1132 (c_common_no_more_pch): New.
1133 * ggc-common.c: Include hosthooks.h.
1134 (gt_pch_save): Call gt_pch_get_address.
1135 (gt_pch_restore): Call gt_pch_use_address.
1136 * hooks.c (hook_voidp_size_t_null): New.
1137 (hook_bool_voidp_size_t_false): New.
1138 * hooks.h (hook_voidp_size_t_null): New.
1139 (hook_bool_voidp_size_t_false): New.
1140 * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New.
1141 (HOST_HOOKS_GT_PCH_USE_ADDRESS): New.
1142 (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS,
1143 HOST_HOOKS_GT_PCH_USE_ADDRESS.
1144 * hosthooks.h (struct host_hooks): Add gt_pch_get_address,
1146 * doc/hostconfig.texi (Host Common): Document
1147 HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS.
1148 * Makefile.in (c-pch.o): Depend on hosthooks.h.
1149 (ggc-common.o): Likewise.
1151 * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define.
1152 (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define.
1153 (pch_address_space): New.
1154 (darwin_rs6000_gt_pch_get_address): New.
1155 (darwin_rs6000_gt_pch_use_address): New.
1157 2003-07-29 Neil Booth <neil@daikokuya.co.uk>
1159 PR preprocessor/11569
1160 PR preprocessor/11649
1161 * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
1162 * cppfiles.c: Completely rewritten.
1163 * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
1164 struct cpp_path is now struct cpp_dir.
1165 (remove_duplicates): Don't simplify path names.
1166 * c-opts.c (c_common_parse_file): cpp_read_next_file renamed
1168 * cpphash.h: Include hashtab.h.
1169 (_cpp_file): Declare.
1170 (struct cpp_buffer): struct include_file is now struct _cpp_file,
1171 and struct cpp_path is now struct cpp_dir. Rename members.
1172 (struct cpp_reader): Similarly. New members once_only_files,
1173 file_hash, file_hash_entries, quote_ignores_source_dir,
1174 no_search_path, saw_pragma_once. Remove all_include_files and
1175 max_include_len. Make some members bool.
1176 (_cpp_mark_only_only): Renamed from _cpp_never_reread.
1177 (_cpp_stack_file): Renamed from _cpp_read_file.
1178 (_cpp_stack_include): Renamed from _cpp_execute_include.
1179 (_cpp_init_files): Renamed from _cpp_init_includes.
1180 (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
1181 * cppinit.c (cpp_create_reader): Initialize no_search_path. Update.
1182 (cpp_read_next_file): Rename and move to cppfiles.c.
1183 (cpp_read_main_file): Update.
1184 * cpplib.c (run_directive): Update for renamed members.
1185 (do_include_common, _cpp_pop_buffer): Update.
1186 (do_import): Undeprecate #import.
1187 (do_pragma_once): Undeprecate. Use _cpp_mark_file_once_only.
1188 * cpplib.h: Remove file_name_map_list.
1189 (cpp_options): Remove map_list.
1190 (cpp_dir): Rename from cpp_path. New datatype for name_map.
1191 (cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
1193 2003-07-29 Phil Edwards <pme@gcc.gnu.org>
1195 * Makefile.in: Make stamp-objdir safe for parallel builds.
1197 2003-07-29 Phil Edwards <pme@gcc.gnu.org>
1199 * Makefile.in (stmp-docobjdir): New target; ensure $docobjdir exists.
1200 (info): Depend on stmp-docobjdir.
1202 2003-07-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1204 * configure: Regenerate.
1206 Tue Jul 29 19:24:49 CEST 2003 Jan Hubicka <jh@suse.cz>
1209 * tree-inline.c (expand_call_inline): Always call inlinable_function_p
1210 in !unit-at-a-time mode.
1212 2003-07-28 Geoffrey Keating <geoffk@apple.com>
1214 * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect
1217 2003-07-28 Mark Mitchell <mark@codesourcery.com>
1220 * c-common.c (shorten_compare): Take into account differences
1221 between C and C++ representation for enumeration types.
1222 * tree.h (set_min_and_max_values_for_integral_type): Declare.
1223 * stor-layout.c (set_min_and_max_values_for_integral_type): New
1224 function, broken out from ...
1225 (fixup_signed_type): ... here and ...
1226 (fixup_unsigned_type): ... here.
1228 2003-07-28 Zack Weinberg <zack@codesourcery.com>
1230 * c-decl.c: Update commentary, adjust blank lines throughout.
1231 (struct c_scope): Fix indentation. Reorder members so
1232 outer-context pointers come first, booleans last.
1233 (duplicate_decls, define_label): Use a 'locus' variable for
1234 diagnostic locations in a few more places.
1235 (warn_if_shadowing): Un-split a conditional that fits on one line.
1236 (c_init_decl_processing): No need to clear current_scope and
1237 current_function_scope.
1238 (start_decl): Merge if/else if statements with same action.
1239 (push_parm_decl): Rename old_immediate_size_expand to use
1240 save_foo convention; save/restore around entire function.
1241 (grokdeclarator): Remove unnecessary braces.
1243 2003-07-28 Hans-Peter Nilsson <hp@bitrange.com>
1244 Michael Culbertson <Michael.J.Culbertson@wheaton.edu>
1246 * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn
1247 when warn_declaration_after_statement. Call pedwarn_c90, not
1248 pedwarn. Correct message: it's "ISO C90", not "ISO C89".
1249 * c-common.c (warn_declaration_after_statement): Define.
1250 * c-common.h (warn_declaration_after_statement): Declare.
1251 * c.opt (Wdeclaration-after-statement): New.
1252 * c-errors.c (pedwarn_c90): New function.
1253 * c-opts.c (c_common_handle_option) <case
1254 OPT_Wdeclaration_after_statement>: New.
1255 * c-tree.h (pedwarn_c90): Declare.
1256 * doc/invoke.texi (Option Summary): Document
1257 -Wdeclaration-after-statement.
1258 (Warning Options): Ditto.
1260 Mon Jul 28 20:13:06 CEST 2003 Jan Hubicka <jh@suse.cz>
1262 * i386.md (memory attribute) Avoid accessing uninitialized memory
1263 for ishift1 type instructions.
1265 2003-07-28 Jakub Jelinek <jakub@redhat.com>
1267 * configure.in (--enable-checking): Add fold category.
1268 (ENABLE_FOLD_CHECKING): Define if requested.
1269 * configure: Rebuilt.
1270 * config.in: Rebuilt.
1271 * doc/install.texi: Document it.
1272 * fold-const.c: Include md5.h.
1273 [ENABLE_FOLD_CHECKING] (fold): Define to fold_1.
1274 [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed,
1275 print_fold_checksum): New functions.
1277 * fold-const.c (fold): Never modify argument passed to fold, instead
1278 change a copy and return it.
1279 * convert.c (convert_to_integer): Likewise.
1281 2003-07-27 Nathanael Nerode <neroden@gcc.gnu.org>
1283 * fixinc/fixinc.svr4: Remove dead code. Remove now-unnecessary
1284 cleanup of junk after #else and #endif directives. Collapse repeated
1285 clauses into for statment.
1287 * fixinc/fixincl.sh: GNU C -> GCC. Add usage comment.
1289 2003-07-27 Zack Weinberg <zack@codesourcery.com>
1291 * c-decl.c (struct c_scope): Remove keep_if_subblocks field.
1292 (keep_next_if_subblocks): Rename next_is_function_body.
1293 (pushlevel): Adjust commentary. Always set ->keep on the
1294 outermost level of a function. Don't set ->keep_if_subblocks.
1295 (poplevel): Adjust commentary. Don't look at ->keep_if_subblocks.
1296 (store_parm_decls): Adjust to match.
1297 (finish_function): Adjust to match.
1298 Call poplevel with all three arguments zero.
1300 * c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle):
1301 New functions split out of store_parm_decls.
1302 Avoid unnecessary work. Use local variables consistently.
1303 (store_parm_decls): Likewise.
1305 (finish_function): No need to set functionbody flag on call to
1307 (struct language_function): Remove scope field.
1308 (c_push_function_context, c_pop_function_context): No need to
1309 save and restore current_scope.
1311 2003-07-27 Nathan Sidwell <nathan@codesourcery.com>
1313 * doc/extend.texi (Deprecated Features): Implicit typename is
1314 gone. Default args on types is going.
1316 2003-07-26 J"orn Rennecke <joern.rennecke@superh.com>
1318 * Makefile.in (ifcvt.o): Depend on target.h
1319 * ifcvt.c (target.h): Include.
1320 (if_convert): Don't call mark_loop_exit_edges if we can't
1323 2003-07-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1325 * doc/install.texi (Testing): Adjust required versions of DejaGnu.
1327 2003-07-26 Richard Henderson <rth@redhat.com>
1330 * cse.c (count_reg_usage): Handle asm_operands properly.
1332 2003-07-26 Roger Sayle <roger@eyesopen.com>
1334 * builtins.def (DEF_FALLBACK_BUILTIN): Delete.
1335 (DEF_EXT_FALLBACK_BUILTIN): Delete.
1336 (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using
1337 the regular DEF_EXT_LIB_BUILTIN macro.
1338 (BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using
1339 the regular DEF_LIB_BUILTIN macro.
1340 (BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED,
1341 BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED,
1342 BUILT_IN_FWRITE_UNLOCKED): Declare using the regular
1343 DEF_EXT_LIB_BUILTIN macro.
1345 * c-decl.c (duplicate_decls): Remove code to handle builtin
1346 functions prototyped without an argument list.
1348 2003-07-26 Danny Smith <dannysmith@users.sourceforge.net>
1350 * config/i386/winnt.c: Revert 2003-07-08 change.
1351 (i386_pe_section_type_flags): Remove error_with_decl here too.
1353 2003-07-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
1355 * config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
1356 * config/mcore/mcore.c (mcore_mark_dllimport): Likewise.
1357 * config/v850/v850.c (v850_handle_data_area_attribute): Likewise.
1358 (v850_handle_data_area_attribute): Likewise.
1360 2003-07-26 Geoffrey Keating <geoffk@apple.com>
1362 * varasm.c (output_constant_def_contents): Use
1363 ASM_DECLARE_CONSTANT_NAME if defined.
1364 * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
1365 * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
1366 objects get at least one byte to prevent assembler problems.
1367 (ASM_DECLARE_CONSTANT_NAME): New.
1369 * Makefile.in (libbackend.o): Remove options_.h.
1370 (mostlyclean): Likewise.
1372 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
1373 insert a label at the end of an function under Mach-O.
1375 * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
1377 2003-07-25 Aldy Hernandez <aldyh@redhat.com>
1379 * config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
1381 (spe_init_builtins): Declare __ev64_opaque__ as a builtin type.
1383 * config/rs6000/spe.h: Remove __ev64_opaque__ definition.
1385 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1387 * doc/passes.texi (Passes): Mention pretty-printing and
1390 2003-07-25 Nathan Sidwell <nathan@codesourcery.com>
1392 * doc/extend.texi (Function Attributes): GNU C++ does now allow
1393 unused parameter decls.
1394 (Attribute Syntax): GNU C++ does not allow label attributes to be
1397 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1399 * objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl.
1400 (objc_declare_class): Likewise.
1401 (error_with_ivar): Likewise.
1402 (start_class): Likewise.
1403 (warn_with_method): Likewise.
1405 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1407 Remove pedwarn_with_decl, warning_with_decl and error_with_decl
1409 * calls.c (try_to_integrate): Don't use xxx_with_decl.
1410 (expand_call): Likewise.
1411 * dwarfout.c (output_reg_number): Likewise.
1412 * expr.c (expand_expr): Likewise.
1413 * function.c (assign_temp): Likewise.
1414 (uninitialized_vars_warning): Likewise.
1415 (setjmp_args_warning): Likewise.
1416 (expand_function_end): Likewise.
1417 * stmt.c (fixup_gotos): Likewise.
1418 (warn_about_unused_variables): Likewise.
1419 (expand_end_bindings): Likewise.
1420 * stor-layout.c (layout_decl): Likewise.
1421 (place_field): Likewise.
1422 * toplev.c (check_global_declarations): Likewise.
1423 (rest_of_handle_inlining): Likewise.
1424 (default_tree_printer): New function.
1425 (general_init): Initialize diagnostic machinery before routing
1426 signals to the ICE machinery. Set default tree printer.
1427 * toplev.h (pedwarn_with_decl): Remove declaration.
1428 (warning_with_decl): Likewise.
1429 (error_with_decl): Likewise.
1430 (pedwarn): Remove attribute for the time being.
1431 * tree-inline.c (expand_call_inline): Don't use xxx_with_decl.
1432 * varasm.c (named_section): Likewise.
1433 (make_decl_rtl): Likewise.
1434 (assemble_variable): Likewise.
1435 (merge_weak): Likewise.
1436 (declare_weak): Likewise.
1438 * diagnostic.h: Move non-diagnostic stuff into pretty-print.h.
1439 * diagnostic.c: Move non-diagnostic stuff into pretty-print.c.
1440 (format_with_decl): Remove.
1441 (diagnostic_for_decl): Likewise.
1442 (pedwarn_with_decl): Likewise.
1443 (warning_with_decl): Likewise.
1444 (error_with_decl): Likewise.
1445 (diagnostic_initialize): Adjust.
1446 (diagnostic_count_diagnostic): Likewise.
1447 (announce_function): Likewise.
1448 (lhd_print_error_function): Likewise.
1449 (diagnostic_report_current_module): Likewise.
1450 (default_diagnostic_starter): Likewise.
1451 (diagnostic_report_diagnostic): Likewise.
1452 (default_diagnostic_finalizer): Likewise.
1453 (verbatim): Likewise.
1455 (warning): Likewise.
1456 * opts.c (common_handle_option): Likewise.
1457 * pretty-print.c: New file.
1458 * c-pretty-print.h (pp_base): Override.
1459 * c-pretty-print.c: Adjust use of macros throughout.
1460 (pp_buffer): New macro.
1461 (pp_newline): Likewise.
1462 * c-objc-common.c (c_tree_printer): Adjust prototype. Tidy.
1463 * Makefile.in (DIAGNOSTIC_H): New variable.
1464 (c-errors.o): Use it.
1465 (c-objc-common.o): Likewise.
1466 (c-common.o): Likewise.
1467 (c-opts.o): Likewise.
1468 (c-format.o): Likewise.
1469 (diagnostic.o): Likewise.
1471 (toplev.o): Likewise.
1472 (rtl-error.o): Likewise.
1473 (dwarf2out.o): Likewise.
1475 (pretty-print.o): New rule.
1477 2003-07-24 Roger Sayle <roger@eyesopen.com>
1479 * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from
1480 front-end builtins to normal builtins, using DEF_LIB_BUILTIN.
1481 (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed
1482 from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN.
1483 (DEF_FRONT_END_LIB_BUILTIN): Delete.
1484 (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete.
1485 (BUILT_IN_FWRITE_UNLOCKED): Wrap long line.
1487 * builtins.c (build_string_literal): New function to construct
1488 a char* pointer to a string literal.
1489 (expand_builtin_fputs): Change 2nd argument from "int ignore" to
1490 "rtx target" to be consistent with other expand_builtin_* functions.
1491 Change 3rd argument from "int unlocked" to "bool unlocked".
1492 (expand_builtin_printf): Rewrite of c_expand_builtin_printf from
1493 c-common.c to avoid front-end dependencies. Optimize printf("")
1494 as a no-op when the result isn't required. Handle embedded NULs
1496 (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf
1497 from c-common.c to avoid front-end dependencies. Likewise, optimize
1498 fprintf(fp,"") as a no-op when the result isn't required, evaluating
1499 fp for side-effects. Handle embedded NULs in format string.
1500 (expand_builtin_sprintf): Fix typo.
1501 (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not
1502 optimizing. Adjust calls of expand_builtin_fputs to match the API
1503 change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using
1504 expand_builtin_printf. Likewise, expand BUILT_IN_FPRINTF_UNLOCKED
1505 and BUILT_IN_FPRINTF using expand_builtin_fprintf.
1507 * c-common.c (is_valid_printf_arglist): Delete.
1508 (c_expand_builtin): Delete.
1509 (c_expand_builtin_printf): Moved to builtins.c. Delete.
1510 (c_expand_builtin_fprintf): Moved to builtins.c. Delete.
1511 (c_expand_expr): No longer treat CALL_EXPRs specially.
1512 (CALLED_AS_BUILT_IN): Delete.
1514 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1516 PR optimization/11631
1517 * gcse.c (store_motion): Connect infinite loops to exit.
1519 2003-07-24 Jason Merrill <jason@redhat.com>
1521 * tree.h (boolean_type_node): Move from C/C++/Java frontends.
1522 (boolean_true_node, boolean_false_node): Likewise.
1523 (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}.
1524 * tree.c (build_common_tree_nodes): Init boolean_type_node.
1525 (build_common_tree_nodes_2): Init boolean_{true,false}_node.
1526 * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE.
1527 * c-common.h (truthvalue_type_node): Renamed from boolean_type_node.
1528 (truthvalue_true_node): Renamed from boolean_true_node.
1529 (truthvalue_false_node): Renamed from boolean_false_node.
1530 * c-decl.c: Just set truthvalue_* to integer_*.
1531 * c-*.[ch]: s/boolean/truthvalue/. s/c_bool/boolean/.
1533 2003-07-24 Roger Sayle <roger@eyesopen.com>
1535 * c-decl.c (match_builtin_function_types): New subroutine of
1536 duplicate_decls to test whether a redeclaration of a builtin
1537 function is suitably close, i.e. the return type and all of
1538 the argument types have the same modes as the builtin expects.
1539 (duplicate_decls): Fuzzy type matching for builtin functions
1540 moved to match_builtin_function_types.
1542 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1544 * cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible
1547 2003-07-24 Zack Weinberg <zack@codesourcery.com>
1549 * c-decl.c: Search-and-replace change 'binding level' to
1550 'scope' in commentary.
1551 (struct binding_level): Now struct c_scope.
1552 (current_binding_level): Now current_scope.
1553 (free_binding_level): Now scope_freelist.
1554 (current_function_level): Now current_function_scope.
1555 (global_binding_level): Now global_scope.
1556 (make_binding_level): Now make_scope.
1557 (pop_binding_level): Now pop_scope.
1559 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1561 * configure.in (libgcc_visibility): Add missing whitespace.
1563 2003-07-24 Richard Henderson <rth@redhat.com>
1565 * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0,
1566 __gcc_personality_v0.
1568 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1570 * Makefile.in: Replace pwd by ${PWD_COMMAND}.
1572 2003-07-24 Nathan Sidwell <nathan@codesourcery.com>
1574 * doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update
1575 documentation missed from my 2003-07-09 patch.
1577 2003-07-24 Nathanael Nerode <neroden@gcc.gnu.org>
1579 * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if
1581 * configure: Rebuild.
1583 2003-07-24 Steven Bosscher <steven@gcc.gnu.org>
1586 * c-typeck.c (type_lists_compatible_p): Do not compare
1587 arguments if one of them is an error_mark_node
1589 2003-07-24 Alan Modra <amodra@bigpond.net.au>
1591 * config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
1592 if current_function_calls_eh_return.
1594 2003-07-23 Mark Mitchell <mark@codesourcery.com>
1596 * doc/c-tree.texi (OFFSET_TYPE): Update description.
1598 2003-07-23 Bob Wilson <bob.wilson@acm.org>
1600 * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64.
1601 * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
1602 __umodsi3, __modsi3): Increase frame size to 32.
1604 2003-07-23 Geoffrey Keating <geoffk@apple.com>
1606 * config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack
1609 2003-07-23 Mark Mitchell <mark@codesourcery.com>
1611 * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE.
1613 PR optimization/10679
1614 * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
1616 2003-07-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1618 PR target/11607 and PR target/11516
1619 * pa.md (extzv, extv, insv): Revert latter half of last patch.
1621 2003-07-22 Mark Mitchell <mark@codesourcery.com>
1623 * fold-const.c (force_fit_type): Handle OFFSET_TYPE.
1624 * varasam.c (output_constant): Likewise.
1626 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
1628 * alias.c: Fix comment formatting.
1629 * c-common.c: Likewise.
1630 * c-decl.c: Likewise.
1631 * c-opts.c: Likewise.
1632 * combine.c: Likewise.
1633 * cpplib.c: Likewise.
1634 * diagnostic.c: Likewise.
1635 * dojump.c: Likewise.
1636 * final.c: Likewise.
1637 * fold-const.c: Likewise.
1640 * ggc-page.c: Likewise.
1643 * mips-tfile.c: Likewise.
1644 * recog.c: Likewise.
1645 * regclass.c: Likewise.
1646 * regmove.c: Likewise.
1650 2003-07-22 Per Bothner <pbothner@apple.com>
1652 * line-map.c (add_line_map): Handle invalid LEAVE request.
1653 Fixes PR preprocessor/11361.
1655 2003-07-22 Per Bothner <pbothner@apple.com>
1657 * diagnostic.c.(diagnostic_report_current_module): Update to match
1658 2003-06-05 changes to push_srcloc and pop_srcloc.
1660 2003-07-22 Wolfgang Bangerth <bangerth@dealii.org>
1662 * doc/trouble.texi: Better document two-stage name lookup.
1664 2003-07-22 Eric Christopher <echristo@redhat.com>
1666 * config/s390.c (s390_valid_pointer_mode): New.
1667 (TARGET_VALID_POINTER_MODE): Use.
1668 (s390_emit_prologue): Add tpf profiling hooks.
1669 (s390_emit_epilogue): Ditto.
1670 * config/s390.h (MASK_TPF): New.
1672 (POINTERS_EXTEND_UNSIGNED): Define.
1673 * config/s390.md (ptr_extend): New pattern.
1675 2003-07-22 Zack Weinberg <zack@codesourcery.com>
1677 * hashtable.c (approx_sqrt): Make static.
1678 * hashtable.h: Don't prototype approx_sqrt.
1679 * line-map.c (init_line_maps): Rename linemap_init.
1680 (free_line_maps): Rename linemap_free.
1681 (add_line_map): Rename linemap_add.
1682 (lookup_line): Rename linemap_lookup.
1683 (print_containing_files): Rename linemap_print_containing_files.
1684 * linemap.h: Update to match.
1686 * cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
1687 linemap routines to use new names.
1689 2003-07-16 Nathan Sidwell <nathan@codesourcery.com>
1691 * c-common.c (handle_packed_attribute): Don't pack a struct via a
1692 typedef. Propagate packedness from a main variant.
1694 2003-07-22 Nathanael Nerode <neroden@gcc.gnu.org>
1696 * Makefile.in (install-common): Add dependency on installdirs.
1698 2003-07-21 Alexandre Oliva <aoliva@redhat.com>
1700 * c-common.c (c_common_type_for_mode): Return integer types for
1703 2003-07-22 Geoffrey Keating <geoffk@apple.com>
1705 * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
1706 (finish_decl): Call maybe_apply_pragma_weak here.
1707 (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
1708 TREE_PUBLIC and TREE_STATIC are decided.
1709 (start_function): Move call to maybe_apply_pragma_weak. Check that
1710 DECL_ASSEMBLER_NAME isn't set too early.
1712 * cpplex.c (_cpp_process_line_notes): Mention option name in
1715 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
1717 * combine.c (if_then_else_cond): Simplify the comparison of
1718 rtx against -1, 0, and 1.
1719 * loop.c (check_dbra_loop): Likewise.
1720 * optabs.c (emit_conditional_move): Likewise.
1721 (emit_conditional_add): Likewise.
1722 * config/i386/i386.md (*movsi_or): Likewise.
1723 (*movdi_or_rex6): Likewise.
1725 Tue Jul 22 00:42:12 CEST 2003 Jan Hubicka <jh@suse.cz>
1727 * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
1729 2003-07-21 Neil Booth <neil@daikokuya.co.uk>
1731 * cppfiles.c (open_file_pch): Don't put unused entries in the
1732 splay tree. Remove dead code.
1734 2003-07-21 Geoffrey Keating <geoffk@apple.com>
1736 * c-common.h (num_in_fnames): Declare.
1737 (c_static_assembler_name): Move from here...
1738 * c-tree.h (c_static_assembler_name): ... to here.
1739 * c-opts.c: Don't include langhooks-def.h.
1740 (c_static_assembler_name): Move to c-decl.c.
1741 (num_in_fnames): Make externally visible.
1742 * c-decl.c: Include langhooks-def.h.
1743 (c_static_assembler_name): Move from c-opts.c.
1744 * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H).
1745 (c-opts.o): Remove $(LANGHOOKS_DEF_H).
1747 * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME
1748 when it's not needed.
1750 2003-07-21 Jakub Jelinek <jakub@redhat.com>
1752 * config/rs6000/rs6000.h (machine_function): Add ra_need_lr.
1753 * config/rs6000/rs6000.c (rs6000_return_addr): Set it.
1754 (rs6000_emit_prologue): Save FPRs inline if set.
1756 2003-07-21 H.J. Lu <hongjiu.lu@intel.com>
1758 * config/ia64/ia64.md (prefetch): Support predicate.
1760 2003-07-21 Josef Zlomek <zlomekj@suse.cz>
1762 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p.
1763 * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump
1766 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
1768 PR optimization/11536
1769 * unroll.c (loop_iterations): Do not replace a register holding
1770 the final value by its equivalent before the loop if it is not
1773 2003-07-21 Dave Fluri <dave.fluri@onlink.net>
1775 * doc/extend.texi: Fixes to spelling, grammar, and diction.
1777 2003-07-21 Ben Elliston <bje@wasabisystems.com>
1779 * doc/invoke.texi (Optimize Options): Replace "it's" with "its".
1780 (V850 Options): Spelling fixes.
1782 2003-07-20 Lisa M. Goldstein <opus@gnu.org>
1784 * doc/invoke.texi: Fixes to style, grammar and diction.
1786 2003-07-20 Roger Sayle <roger@eyesopen.com>
1788 * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form.
1789 * system.h (SMALL_STACK): Poison obsolete target macro.
1790 * doc/tm.texi (SMALL_STACK): Remove target macro documentation.
1792 2003-07-20 Phil Edwards <pme@gcc.gnu.org>
1794 * configure.in: Cache the results of testing for cmp's capabilities.
1795 * configure: Regenerate.
1797 2003-07-20 Mark Mitchell <mark@codesourcery.com>
1800 * dwarf2out.c (gen_enumeration_type_die): Remember that
1801 enumerators can be unsigned.
1803 2003-07-19 Zack Weinberg <zack@codesourcery.com>
1805 * c-decl.c (named_labels, shadowed_labels, label_level_chain)
1806 (push_label_level, pop_label_level): Kill.
1807 (struct binding_level): Rename level_chain to outer.
1808 Add outer_function field. Change parm_flag, function_body,
1809 keep, keep_if_subblocks to 1-bit bitfields of type bool.
1810 (current_function_level): New variable.
1811 (keep_next_level_flag, keep_next_if_subblocks): Change type to bool.
1812 (keep_next_level, declare_parm_level, warn_if_shadowing):
1814 (struct language_function): Kill named_labels, shadowed_labels fields.
1815 (c_init_decl_processing, start_function, c_push__function_context)
1816 (c_pop_function_context): No need to muck with named_labels nor
1819 (make_binding_level): No need to clear the structure here.
1820 (pop_binding_level): Always operate on current_binding_level.
1821 Update current_function_level if necessary.
1822 (pushlevel): Don't clear named_labels. Update current_function_level
1823 if necessary. Use "true" and "false" where appropriate.
1824 (poplevel): Diagnose labels defined but not used, or vice
1825 versa, and clear out label-meanings leaving scope, while
1826 walking down the decls list, for all binding levels.
1827 Handle LABEL_DECLs appearing in the shadowed list.
1828 pop_binding_level takes no arguments.
1829 (pushdecl_function_level): Use current_function_level.
1831 (make_label, bind_label): New static functions.
1832 (declare_label): New exported function.
1833 (lookup_label, define_label): Rewritten for new data structure.
1834 (shadow_label): Kill.
1836 * c-tree.h: Prototype declare_label; don't prototype
1837 push_label_level, pop_label_level, nor shadow_label.
1838 * c-parse.in: Remove all calls to push_label_level and
1839 pop_label_level. Use declare_label for __label__ decls.
1841 * doc/extend.texi: Clarify that __label__ can be used to
1842 declare labels with local scope in any nested block, not
1843 just statement expressions. Cross-reference nested functions
1844 section from local labels section.
1846 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1848 * sched-rgn.c (find_rgns): Initialize current_edge correctly.
1850 2003-07-19 Phil Edwards <pme@gcc.gnu.org>
1852 * doc/makefile.texi (restrap, profiledbootstrap): Document targets.
1854 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1856 * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c
1857 fixinc/server.c objc/objc-act.c: Remove unnecessary casts.
1859 2003-07-19 Ulrich Weigand <uweigand@de.ibm.com>
1861 * config/s390/s390.c (legitimize_pic_address): Access local symbols
1862 relative to the GOT instead of relative to the literal pool base.
1863 (s390_output_symbolic_const): Handle new GOT-relative accesses.
1864 * config/s390/s390.md ("call"): Access local functions and PLT stubs
1865 relative to the GOT instead of relative to the literal pool base.
1866 ("call_value"): Likewise.
1867 ("call_value_tls"): Likewise.
1869 * config/s390/s390.c (s390_chunkify_start): Remove pool anchor
1870 reloading. Support LTREL_BASE / LTREL_OFFSET construct.
1871 (s390_chunkify_finish): Likewise.
1872 (s390_chunkify_cancel): Likewise.
1873 (s390_reorg): Adapt caller.
1874 (find_base_register_in_addr,
1875 find_base_register_ref, replace_base_register_ref): Delete.
1876 (find_ltrel_base, replace_ltrel_base): New functions.
1877 (find_constant_pool_ref): Handle LTREL_BASE unspecs.
1878 (s390_decompose_address): Handle LTREL_BASE unspecs. Optimize
1879 base vs. index register usage.
1880 (struct constant_pool): Remove 'anchor'.
1881 (s390_add_anchor): Delete.
1882 (s390_dump_pool): Remove anchor handling.
1883 * config/s390/s390.md ("reload_anchor"): Remove.
1885 * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET.
1886 (s390_load_got): New function. Use LTREL_BASE/OFFSET.
1887 (s390_emit_prologue): Use it.
1888 * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup",
1889 "builtin_setjmp_receiver"): Cleanup. Use s390_load_got. Do not
1890 hard-code register 14.
1891 * config/s390/s390-protos.h (s390_load_got): Declare.
1893 * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable):
1894 Support TImode constants.
1895 * config/s390/s390.md ("consttable_ti"): New.
1896 ("consttable_si", "consttable_di"): Handle TLS symbols correctly.
1898 * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE,
1899 UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF,
1900 UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END,
1901 UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI,
1902 UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL):
1903 New symbolic constants.
1904 ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
1905 "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31",
1906 "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64",
1907 "pool", "literal_pool_31", "literal_pool_64"): Cleanup. Use
1908 symbolic UNSPEC values.
1909 * config/s390/s390.c (larl_operand, s390_short_displacement,
1910 bras_sym_operand, s390_cannot_force_const_mem,
1911 s390_delegitimize_address, s390_decompose_address,
1912 legitimize_pic_address, s390_output_symbolic_const,
1913 s390_function_profiler): Use symbolic UNSPEC values.
1915 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1917 * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
1918 c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
1919 c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
1920 collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
1921 cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
1922 cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
1923 dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
1924 fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
1925 gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
1926 genemit.c genextract.c genoutput.c genrecog.c gensupport.c
1927 ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
1928 integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
1929 loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
1930 postreload.c prefix.c print-tree.c protoize.c ra-build.c
1931 ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
1932 regmove.c regrename.c reload.c reload1.c reorg.c resource.c
1933 sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
1934 simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
1935 tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
1936 varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
1939 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
1941 * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
1942 * toplev.h (warning): Remove attribute.
1944 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
1946 * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
1947 (pop_label_level): Likewise.
1948 (duplicate_decls): Likewise.
1949 (implicitly_declare): Likewise.
1950 (shadow_label): Likewise.
1951 (start_decl): Likewise.
1952 (finish_decl): Likewise.
1953 (grokdeclarator): Likewise.
1954 (get_parm_info): Likewise.
1955 (detect_field_duplicates): Likewise.
1956 (finish_struct): Likewise.
1957 (start_function): Likewise.
1958 (store_parm_decls): Likewise.
1959 (finish_function): Likewise.
1960 (c_expand_body_1): Likewise.
1961 (check_for_loop_decls): Likewise.
1962 (merge_translation_unit_decls): Likewise.
1964 2003-07-19 Neil Booth <neil@daikokuya.co.uk>
1966 * common.opt: Document --param.
1967 * opts.c (columns, undocumented_msg): New.
1968 (print_help): Get number of columns from environment. Print
1969 --param help. Tweak newline handling.
1970 (print_param_help): New.
1971 (print_filtered_help): Better handling of duplicates. Complain
1972 about undocumented switches.
1973 (print_switch): New.
1974 (wrap_help): Improve wrapping, use COLUMNS.
1975 * opts.sh: Ignore comments in records.
1976 * params.def: Fix typos and remove trailing periods.
1977 * toplev.c (display_help): Don't dump --param help.
1978 * doc/sourcebuild.texi: Update.
1980 2003-07-18 Richard Henderson <rth@redhat.com>
1983 * optabs.c (prepare_operand): Fail gracefully instead of abort
1984 if the predicate doesn't satisfy.
1985 (gen_cond_trap): Allow prepare_operand to fail.
1987 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
1989 * c-common.c: Don't undefine GCC_DIAG_STYLE.
1990 (fname_decl): Don't use xxx_with_decl.
1991 (c_add_case_label): Likewise.
1992 (handle_section_attribute): Likewise.
1993 (handle_alias_attribute): Likewise.
1994 (handle_no_instrument_function_attribute): Likewise.
1995 (handle_no_limit_stack_attribute): Likewise.
1996 * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
1997 * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.
1999 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2001 * Makefile.in (ifcvt.o): Add cfgloop.h.
2002 * basic-block.h (EDGE_LOOP_EXIT): New flag.
2003 * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
2004 * ifcvt.c: Include cfgloop.h.
2005 (mark_loop_exit_edges): New static function.
2006 (if_convert): Call it.
2007 (find_if_header): Ignore branches out of loops.
2009 2003-07-18 Kazu Hirata <kazu@cs.umass.edu>
2011 * combine.c (simplify_comparison): Don't share rtx when converting
2012 (ne (and (not X) 1) 0) to (eq (and X 1) 0).
2014 2003-07-18 David Edelsohn <edelsohn@gnu.org>
2016 * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
2017 (AGGREGATES_PAD_UPWARD_ALWAYS): Define.
2018 (MUST_PASS_IN_STACK): Define.
2019 (BLOCK_REG_PADDING): Define.
2021 2003-07-18 Richard Henderson <rth@redhat.com>
2023 * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
2024 to skip the addr_vec.
2026 Fri Jul 18 15:22:28 2003 Alexandre Oliva <aoliva@redhat.com>
2028 * combine.c (combinable_i3pat): Don't forbid occurrences of
2029 i2dest or i1dest in inner_dest if inner_dest is a mem.
2031 Fri Jul 18 17:05:57 CEST 2003 Jan Hubicka <jh@suse.cz>
2033 * cgraph.c (cgraph_remove_node): Clear the hash table slot.
2035 2003-07-17 Jakub Jelinek <jakub@redhat.com>
2038 * loop.c (basic_induction_var): Check if convert_modes emitted any
2039 instructions. Remove them and return 0 if so.
2041 2003-07-18 Eric Botcazou <ebotcazou@libertysurf.fr>
2043 PR optimization/11083
2044 * toplev.c (rest_of_handle_addresof): Rename into
2045 rest_of_handle_addressof. Delete unreachable blocks
2046 if dead edges were purged after the addressof pass.
2048 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
2050 * Makefile.in, configure, configure.in: Remove handling of
2051 lang-options.h and options_.h.
2052 * toplev.c (struct lang_opt, documented_lang_options): Remove.
2053 (display_help): Don't use documented_lang_options.
2055 2003-07-17 Zack Weinberg <zack@codesourcery.com>
2057 * c-decl.c (pushdecl_function_level): Make static, return nothing.
2058 (kept_level_p): Fold into poplevel.
2059 (undeclared_variable): Moved here from c-typeck.c. Export.
2060 * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
2061 (undeclared_variable): Prototype here. Don't prototype
2062 kept_level_p nor pushdecl_function_level.
2063 * c-parse.in: Change first argument to poplevel from
2064 "kept_level_p()" to "KEEP_MAYBE".
2065 * c-typeck.c (undeclared_variable): Moved to c-decl.c.
2067 2003-07-17 Roger Sayle <roger@eyesopen.com>
2069 * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
2070 commutative operands instead of modifying the RTL in-place.
2072 2003-07-17 Mark Mitchell <mark@codesourcery.com>
2074 PR optimization/11557
2075 * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
2076 unless we know which function is being called.
2078 2003-07-17 Roger Sayle <roger@eyesopen.com>
2080 * cse.c (fold_rtx): Use swap_commutative_operands_p to determine
2081 whether to reorder the operands of a commutative binary operator.
2083 2003-07-17 Roger Sayle <roger@eyesopen.com>
2085 * fold-const.c (const_binop): Avoid performing the FP operation at
2086 compile-time, if either operand is NaN and we honor signaling NaNs,
2087 or if we're dividing by zero and either flag_trapping_math is set
2088 or the desired mode doesn't support infinities.
2089 (fold_initializer): New function to fold an expression ignoring any
2090 potential run-time exceptions or traps.
2091 * tree.h (fold_initializer): Prototype here.
2092 * c-typeck.c (build_binary_op): Move to the end of the file so
2093 that intializer_stack is in scope. If constructing an initializer,
2094 i.e. when initializer_stack is not NULL, use fold_initializer to
2096 * simplify-rtx.c (simplify_binary_operation): Likewise, avoid
2097 performing FP operations at compile-time, if they would raise an
2098 exception at run-time.
2100 2003-07-17 Geoffrey Keating <geoffk@apple.com>
2103 * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
2104 (langhooks.o): Add $(GGC_H), gt-langhooks.h.
2105 (GTFILES): Add langhooks.c.
2106 (gt-langhooks.h): New.
2107 * c-common.h (c_static_assembler_name): Prototype.
2108 * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
2109 * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
2110 * c-opts.c: Include langhooks-def.h.
2111 (c_static_assembler_name): New.
2112 * langhooks.c: Include ggc.h. Include gt-langhooks.h.
2114 (lhd_set_decl_assembler_name): Give static objects with context
2116 * varasm.c (var_labelno): Delete.
2117 (make_decl_rtl): Don't change the assembler name once it's set.
2119 * c-opts.c (this_input_filename): New.
2120 (finish_options): Take new parameter, name of file being compiled.
2121 Update callers. Set this_input_filename.
2122 (push_command_line_include): Use this_input_filename not
2123 main_input_filename.
2125 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
2127 * Makefile.in: Depend .pot generation on options.c.
2128 * po/exgettext: Add an extra_files variable containing additional
2131 2003-07-17 Zack Weinberg <zack@codesourcery.com>
2133 * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
2134 c_write_global_declarations.
2136 * c-decl.c: Fix typos in several comments. Remove all
2137 #if 0 blocks; reindent as needed. Remove unused argument
2138 to declare_parm_level; all callers changed.
2139 * c-parse.in: Update calls to declare_parm_level. Avoid
2140 issuing a double warning in some circumstances.
2141 * c-typeck.c: Update calls to declare_parm_level.
2142 * c-tree.h: Update prototype of declare_parm_level.
2144 * c-pragma.c (apply_pragma_weak): Don't complain about a
2145 redundant #pragma weak.
2147 * objc/objc-act.c (forward_declare_categories,
2148 build_selector_reference_decl, build_class_reference_decl,
2149 build_objc_string_decl, synth_forward_declarations,
2150 build_protocol_reference): Set TREE_PUBLIC on synthetic
2151 forward decl to 0, consistent with eventual definition.
2152 Correct comments to match.
2154 * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
2155 in regexp that don't form a range expression.
2156 * fixinc/fixincl.def: Regenerate.
2158 2003-07-17 Richard Henderson <rth@redhat.com>
2161 * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
2162 even with !TARGET_CONST_GP.
2163 (ia64_function_ok_for_sibcall): Reject non-local functions.
2165 2003-07-17 Steven Bosscher <steven@gcc.gnu.org>
2167 * c-common.c (c_estimate_num_insns_1): Don't handle
2169 * expr.c (safe_from_p): Likewise.
2170 * gengtype.c (adjust_field_tree_exp): Likewise.
2171 * stmt.c (warn_if_unused_value): Likewise
2172 * tree.c (first_rtl_op): Likewise.
2173 * tree.def: Don't define METHOD_CALL_EXPR.
2174 * java/lang.c (java_estimate_num_insns_1): Don't handle
2177 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
2180 * doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
2181 and its restrictions for the SPARC64 port.
2182 Move the entry of "-mimpure-text" before that of "-mv8".
2184 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
2185 Phil Edwards <phil@jaj.com>
2187 * doc/install.texi (*-*-solaris2*): Document the step-by-step
2188 procedure to bootstrap and install.
2189 Document the preference for the legacy Sun tools in /usr/bin
2190 over the POSIX tools in /usr/xpg4/bin for the build process.
2192 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
2194 * c.opt: Document Uncodumented; use it. Document ObjC options.
2195 * opts.c (print_filtered_help): Skip undocumented switches.
2196 * opts.h (CL_UNDOCUMENTED): New.
2197 * opts.sh: Handle Undocumented.
2198 * toplev.c (documented_lang_options): Prevent its becoming empty.
2200 * lang-options.h: Remove.
2202 2003-07-16 Ulrich Weigand <uweigand@de.ibm.com>
2204 * loop.c (check_ext_dependent_givs): Pass const struct loop *
2205 instead of struct loop_info * as argument. Accept BIVs with
2206 increment +/- 1 provided there is a friendly exit test against
2207 a loop-invariant value.
2208 (strength_reduce): Adapt call to check_ext_dependent_givs.
2210 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
2211 Con Bradley <con.bradley@superh.com>
2213 * sh-protos.h (sh_get_pr_initial_val): Declare.
2214 * sh.c (regno_reg_class): Make its elements type enum reg_class.
2215 (output_stack_adjust): Remove emit_fn argument. Add epilogue_p
2216 and live_regs_mask arguments. Changed all callers.
2217 (save_schedule_s): New structure.
2218 (save_schedule): New typedef.
2219 (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
2220 (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
2221 In interrupts handlers, also save registers that are usually
2222 partially saved, and make sure there is at least one general purpose
2223 register saved if a target register needs saving.
2224 Add casts in comparisons to avoid warnings.
2225 (sh_media_register_for_return): return -1 for interrupt handlers.
2226 (MAX_SAVED_REGS, MAX_TEMPS): New defines.
2227 (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp
2228 registers used are available.
2229 Set RTX_FRAME_RELATED_P where appropriate.
2230 Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
2231 (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
2232 (initial_elimination_offset): Likewise.
2233 * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
2234 (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
2235 (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
2236 (XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
2237 (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
2238 and for target registers.
2239 (RETURN_IN_MEMORY): Add parentheses to avoid warnings.
2240 (regno_reg_class): Make its elements type enum reg_class.
2241 (CONSTRAINT_LEN): Don't use isdigit.
2242 (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
2243 (FUNCTION_ARG): Add parentheses to avoid warnings.
2244 (RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
2245 (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
2246 (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
2247 (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
2248 * sh.md (xordi3+1): Remove unused variable regno.
2249 (return_media): Check that tr0 is available before using it.
2251 2003-07-16 Neil Booth <neil@daikokuya.co.uk>
2253 * c.opt: Document more options.
2255 2003-07-16 Roger Sayle <roger@eyesopen.com>
2257 * combine.c (subst): Also handle (subreg (const_double ...)) case
2258 if created by a substitution, by using the original inner mode.
2260 2003-07-16 Roger Sayle <roger@eyesopen.com>
2262 * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
2263 to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
2264 (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X.
2266 2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
2268 * doc/install.texi (--without-headers): New.
2270 Partial Fix PR/10129
2271 * config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
2272 (machopic_output_function_base_name): New; print the true pic label.
2273 (machopic_classify_ident): Pic Base is always a defined data.
2274 * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
2275 * config/darwin-proto.h (machopic_output_function_base_name): Prototype.
2277 * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
2278 if they are not floating point registers.
2281 * ggc.h: Add header guards.
2282 * c-decl.c (finish_struct): Sort fields if
2283 number greater than 15 and there are no
2284 anonymous structs/unions.
2285 * c-common.h: Include ggc.h.
2286 (sorted_fields_type): New struct.
2287 (field_decl_cmp): New prototype.
2288 (resort_sorted_fields): New prototype.
2289 (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
2290 * c-tree.h: (lang_type): Use pointer to sorted_fields_type
2291 as s, removing other fields.
2292 * c-typeck.c (lookup_field): Use s in lang_type.
2293 These were mostly moved from cp/class.c:
2294 * c-common.c (field_decl_cmp): New static function.
2295 (field_decl_cmp): New function.
2296 (resort_sorted_fields): New function.
2298 2003-07-16 Geoffrey Keating <geoffk@apple.com>
2300 * config/darwin.c (machopic_select_section): Use decl_readonly_section
2301 to do most of the work.
2303 2003-07-16 Hans-Peter Nilsson <hp@bitrange.com>
2305 * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
2306 * config/mmix/mmix.c: Convert functions to ISO C90.
2307 (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
2309 (mmix_get_hard_reg_initial_val): Tweak section head comment.
2311 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
2313 * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
2315 2003-07-16 Jakub Jelinek <jakub@redhat.com>
2317 * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
2318 (uw_update_context_1): Use it.
2319 * config/rs6000/rs6000.c (insn_after_throw): Remove.
2320 (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
2321 in parent frame if _Unwind_* called directly instead of through
2323 (rs6000_emit_eh_toc_restore): Remove.
2324 (rs6000_emit_prologue): Update stack pointer before doing any saving
2325 if current_function_calls_eh_return. Generate unwind info for $r2.
2326 (rs6000_emit_epilogue): Restore stack pointer after doing all
2327 restoring if current_function_calls_eh_return. Restore $r2.
2328 * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
2329 * config/rs6000/rs6000.md (eh_return): Remove call to
2330 rs6000_emit_eh_toc_restore.
2331 * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
2332 * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
2334 2003-07-15 Jakub Jelinek <jakub@redhat.com>
2336 * expr.c (emit_block_move): Don't move anything if size is const 0.
2337 (clear_storage): Test against const0_rtx instead of comparing INTVAL
2340 2003-07-15 David S. Miller <davem@redhat.com>
2342 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
2343 emit nop if the last real insn is CALL_INSN.
2345 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
2347 * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
2349 * config/i386/xm-mingw32.h: Change GNU CC to GCC.
2351 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
2353 * config/i386/winnt.c (associated_type): Artificial methods are not
2354 affected by the import/export status of their class unless they are
2356 (i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
2358 * config/i386/winnt.c: Fix GCC copyright comment.
2360 2003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net>
2363 * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
2364 not recursing on hard error.
2365 (diagnostic_for_decl): Likewise.
2366 * diagnostic.def: Rearrange.
2368 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
2370 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
2371 If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
2373 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
2374 Richard Henderson <rth@redhat.com>
2376 * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
2377 to decide if to access a _Unwind_Ptr or a _Unwind_Word.
2378 (_Unwind_SetGR): Likewise.
2379 (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
2380 (Unwind_SpTmp): New typedef.
2381 (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
2382 (uw_update_context): Use _Unwind_GetPtr.
2383 (init_dwarf_reg_size_table): Move above uw_init_context_1.
2384 (uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
2385 Use _Unwind_SetSpColumn.
2386 (uw_install_context_1): Don't initialize dwarf_reg_size_table.
2389 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
2391 * c.opt: Document more options.
2392 * toplev.c (documented_lang_options): Remove all local help strings.
2394 2003-07-15 Mark Mitchell <mark@codesourcery.com>
2397 * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
2400 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
2403 * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
2404 swap comparison operands if doing so would generate an
2405 unrecognizable insn.
2407 2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
2409 PR optimization/11320
2410 * sched-int.h (struct deps) [reg_conditional_sets]: New field.
2411 (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
2412 * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
2413 current_sched_info->compute_jump_reg_dependencies. Record which
2414 registers are used and which registers are set by the jump.
2415 Clear deps->reg_conditional_sets after a barrier.
2416 Set deps->reg_conditional_sets if the insn is a COND_EXEC.
2417 Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
2418 (init_deps): Initialize reg_conditional_sets.
2419 (free_deps): Clear reg_conditional_sets.
2420 * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
2421 Mark registers live on entry of the fallthrough block and conditionally
2422 set as set by the jump. Mark registers live on entry of non-fallthrough
2423 blocks as used by the jump.
2424 * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
2425 Mark new parameters as unused.
2427 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
2429 * doc/invoke.texi: Resync MIPS -march documentation.
2431 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
2433 * config/mips/mips.h (PROCESSOR_R9000): New processor_type.
2434 (TARGET_MIPS9000, TUNE_MIPS9000): New macros.
2435 (GENERATE_MULT3_SI): True for TARGET_MIPS9000.
2436 * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
2437 (mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
2438 (mips_issue_rate): Handle PROCESSOR_R9000.
2439 (mips_use_dfa_pipeline_interface): Likewise.
2440 * config/mips/9000.md: New file.
2441 * config/mips/mips.md: Include it.
2442 (define_attr cpu): Add r9000.
2443 (mulsi3_mult3): Use "mul" for rm9000 code.
2445 2003-07-15 Stan Cox <scox@redhat.com>
2447 * config/mips/mips.h (PROCESSOR_R7000): New processor_type.
2448 (TARGET_MIPS7000, TUNE_MIPS7000): New macros.
2449 (GENERATE_MULT3_SI): True for TARGET_MIPS7000.
2450 * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
2451 (mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
2452 (mips_issue_rate): Handle PROCESSOR_R7000.
2453 (mips_use_dfa_pipeline_interface): Likewise.
2454 * config/mips/7000.md: New file.
2455 * config/mips/mips.md: Include it.
2456 (define_attr cpu): Add r7000.
2457 (mulsi3_mult3): Use "mul" for rm7000 code.
2459 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
2461 * config/mips/mips.md (define_attr type): Add condmove. Use it for
2462 the conditional move patterns.
2463 * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
2464 Check for condmove type.
2465 (ir_vr54_arith): Add move type.
2466 * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
2467 * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
2469 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
2471 * c-opts.c (print_help): Remove.
2472 (c_common_handle_option): Don't handle --help.
2473 * c.opt: Document some options.
2475 * opts.c (print_filtered_help): New.
2476 (print_help): Use it.
2478 2003-07-14 Geoffrey Keating <geoffk@apple.com>
2480 * c-common.c (c_common_type_for_mode): Handle V4DFmode.
2481 * tree.c: (build_common_tree_nodes_2): Likewise.
2482 * tree.h (enum tree_index): Add TI_V4DF_TYPE.
2483 (V4DF_type_node): New.
2485 * c-opts.c (push_command_line_include): Don't free deferred_opts,
2487 (finish_options): Reset init_cursor.
2489 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
2491 * expr.c (expand_assignment): Remove an unused argument
2493 * expr.h: Update the prototype.
2494 * function.c: Update the callers.
2497 2003-07-14 Mark Mitchell <mark@codesourcery.com>
2500 * integrate.c (copy_decl_for_inlining): Do not mark copied decls
2503 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
2505 * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
2506 with __cplusplus, not "we must use the C++ compiler's type"
2507 * fixinc/inclhack.def (void_null): Note that Interix needs this.
2508 * fixinc/fixincl.x: Regenerate.
2510 2003-07-14 Geoffrey Keating <geoffk@apple.com>
2512 * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
2513 and unseen_objects from the global data before calling
2514 __deregister_frame_info_bases.
2515 (examine_objects): Insert objects into the seen_objects list,
2517 (_Unwind_Find_FDE): Always unlock the global object lists, even if
2518 we couldn't allocate a data structure to put in it.
2520 * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
2521 (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
2522 (SET_TYPE_PROTOCOL_LIST): New.
2523 * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
2524 (get_object_reference): Likewise.
2526 Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka <jh@suse.cz>
2528 * cfglayout.c (locator_file): Break out from ....
2529 (insn_file): ... here.
2530 (locator_line): Break out from ....
2531 (insn_line): ... here.
2532 * rtl.h (locator_file, locator_line): Declare.
2533 (final_start_function): Set proper line/file info.
2535 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
2537 * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
2538 handled by pp_c_cast_expression.
2540 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
2542 * config/mips/mips.c (mips_expand_prologue): Use a single insn to
2543 allocate 32768 bytes of stack. Use addition rather than subtraction
2544 when a single insn is enough.
2545 * config/mips/mips.md: Remove insns and splitters for subtracting
2547 (subsi3): Only accept register operands.
2548 (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well.
2549 (subdi3_internal_3, subsi3_internal_2): Likewise.
2550 (casesi): Use expand_binop to subtract the lower bound.
2552 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
2554 * config/mips/mips.c (mips_in_small_data_p): Don't handle
2555 TARGET_MIPS16 specially.
2557 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
2559 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
2560 mips_output_aligned_bss.
2561 * config/mips/linux.h: Likewise.
2562 * config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
2563 * config/mips/mips.c (mips_output_aligned_bss): New function.
2565 * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
2566 * config/mips/elf64.h: Likewise.
2568 * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
2569 mips_declare_object_name.
2570 (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
2571 * config/mips/elf64.h: As for elf.h.
2572 * config/mips/iris6.h: Likewise.
2573 * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
2574 * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
2575 do...while (0) block.
2576 * config/mips/mips-protos.h (mips_declare_object_name): Declare.
2577 (mips_finish_declare_object): Declare.
2578 * config/mips/mips.c (mips_declare_object_name): New function.
2579 (mips_finish_declare_object): New function.
2581 * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
2582 * config/mips/linux.h: Likewise.
2584 * config/mips/mips.c (inside_function): Delete.
2585 (file_in_function_warning, ignore_line_number): Delete.
2586 (mips_output_filename): Don't warn about changing filenames within
2588 (mips_output_lineno): Update accordingly.
2589 (mips_output_function_prologue): Don't reset the deleted variables.
2590 * config/mips/mips.h (inside_function): Delete.
2591 (file_in_function_warning, ignore_line_number): Delete.
2593 * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
2594 * config/mips/elf64.h: Likewise.
2595 * config/mips/openbsd.h: Likewise.
2596 * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
2597 * config/mips/linux.h: Likewise.
2598 * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
2599 (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
2601 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
2602 to the list of include files when using gas.
2603 (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
2604 * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
2605 * config/mips/elf64.h: Likewise.
2606 * config/mips/iris5.h: Likewise.
2607 * config/mips/linux.h: Likewise.
2608 * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
2609 * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
2610 (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
2611 * config/mips/sdb.h: ...this new file.
2613 2003-07-14 Douglas Rupp <rupp@gnat.com>
2615 * fixinc/server.c (server_setup): Don't use non-POSIX NULL first
2616 argument to getcwd; use fixed buffer instead.
2618 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
2620 * fixinc/mkfixinc.sh: Treat OpenBSD normally.
2621 * fixinc/fixinc.wrap: Delete.
2623 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
2625 * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
2628 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
2630 * ggc-page.c (struct globals): Add new fields to keep track of the
2631 total allocated memory and overhead.
2632 (ggc_print_statistics): Print them.
2633 (ggc_alloc): Keep track of the total allocated memory and the
2636 * tree.c (dump_tree_statistics): Increase spacing.
2637 (enum tree_node_kind): Move to ...
2638 * tree.h (enum tree_node_kind): ... here.
2639 (tree_node_counts, tree_node_sizes): Declare.
2641 2003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
2643 * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
2645 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2647 PR optimization/11440
2648 * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
2651 2003-07-14 Alan Modra <amodra@bigpond.net.au>
2653 * doc/tm.texi (BLOCK_REG_PADDING): Describe.
2654 * expr.h (struct locate_and_pad_arg_data): Add where_pad.
2655 (emit_group_load, emit_group_store): Adjust declarations.
2656 Remove most occurrences of #ifdef TREE_CODE.
2657 * expr.c (emit_group_load): Add "type" param, and use
2658 BLOCK_REG_PADDING to determine need for a shift. Optimize non-
2659 aligned accesses if !SLOW_UNALIGNED_ACCESS.
2660 (emit_group_store): Likewise.
2661 (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
2662 emit_group_load and emit_group_store calls.
2663 * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use
2664 BLOCK_REG_PADDING to determine whether we need endian_correction.
2665 (load_register_parameters): Localize vars. Handle shifting of
2666 small values to the correct end of regs. Adjust emit_group_load
2668 (expand_call, emit_library_call_value_1): Adjust emit_group_load
2669 and emit_group_store calls.
2670 * function.c (assign_parms): Set mem alignment for stack slots.
2671 Adjust emit_group_store call. Store values at the "wrong" end
2672 of regs to the stack. Use BLOCK_REG_PADDING.
2673 (locate_and_pad_parm): Save where_pad.
2674 (expand_function_end): Adjust emit_group_load call.
2675 * stmt.c (expand_value_return): Adjust emit_group_load call.
2676 * Makefile.in (calls.o): Depend on $(OPTABS_H).
2677 * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
2678 (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
2679 (MUST_PASS_IN_STACK): Define.
2680 (BLOCK_REG_PADDING): Define.
2681 * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
2682 (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
2683 * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
2684 (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
2685 Act on AGGREGATES_PAD_UPWARD_ALWAYS.
2687 2003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com>
2689 * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
2691 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2693 * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
2694 both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
2696 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
2699 * toplev.c: Don't cut off option names.
2701 2003-07-13 Andreas Jaeger <aj@suse.de>
2703 * c-decl.c (link_hash_hash): Avoid warning about casting pointer
2704 to integer of different size.
2706 2003-07-13 Kazu Hirata <kazu@cs.umass.edu>
2708 * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
2709 to (eq (and X 1) 0).
2711 2003-07-13 Andreas Jaeger <aj@suse.de>
2713 * config.gcc: Add pmmintrin.h for x86_64-*-*.
2715 2003-07-13 Zack Weinberg <zack@codesourcery.com>
2717 * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
2718 (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
2719 list. Move these all together down by cpplib.
2721 * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
2722 definition of CPPCHAR_SIGNED_T.
2724 * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
2725 * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
2726 * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
2728 * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
2729 * cppinit.c (cpp_create_reader): Likewise.
2731 * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
2732 * cpptrad.c: Likewise. All callers changed.
2733 * cpplib.c: All callers changed.
2734 * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
2735 * hashtable.h: Define GTY(x) to nothing here too.
2737 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2739 * stor-layout.c (compute_record_mode): Remove very obsolete test
2740 that forces BLKmode for records with fields crossing word boundary.
2742 2003-07-13 Zack Weinberg <zack@codesourcery.com>
2744 * Makefile.in: Remove orphan reference to acconfig.h.
2746 2003-07-13 Andreas Jaeger <aj@suse.de>
2748 * cgraphunit.c: Convert prototypes to ISO C90.
2750 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
2752 * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
2754 * fixinc/fixincl.x: Rebuild.
2756 2003-07-12 Zack Weinberg <zack@codesourcery.com>
2758 * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
2759 i?86-*-*. Use correct name of cache variable.
2760 * configure: Regenerate.
2762 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
2764 * config/alpha/alpha.c: Fix comment typos.
2765 * config/alpha/alpha.md: Likewise.
2766 * config/arm/arm.c: Likewise.
2767 * config/arm/arm.md: Likewise.
2768 * config/arm/lib1funcs.asm: Likewise.
2769 * config/avr/avr.md: Likewise.
2770 * config/arm/README-interworking: Fix typos.
2772 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
2774 * c-format.c: Fix comment formatting.
2775 * c-typeck.c: Likewise.
2776 * coverage.c: Likewise.
2777 * cppcharset.c: Likewise.
2778 * cpplib.c: Likewise.
2779 * dbxout.c: Likewise.
2780 * gcov-io.h: Likewise.
2781 * toplev.c: Likewise.
2783 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
2785 * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
2788 2003-07-12 Zack Weinberg <zack@codesourcery.com>
2790 * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
2791 uses three-argument AC_DEFINE so no acconfig.h entries are
2793 (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
2794 which contains the GAS version number as a scaled integer.
2795 (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add
2796 ability to check for ELF assembler.
2797 (gcc_GAS_CHECK_FEATURE): New macro.
2798 * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all
2799 assembler feature checks using gcc_GAS_CHECK_FEATURE.
2800 Use three-argument AC_DEFINE everywhere.
2801 * acconfig.h: Deleted.
2802 * config.in, configure: Regenerate.
2804 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
2806 * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
2808 * fixinc/fixincl.x: Regenerate.
2810 * fixinc/inclhack.def (gnu_types): Improve comment.
2812 2003-07-12 Andreas Jaeger <aj@suse.de>
2814 * fp-test.c (main): Use ISO C90 prototype.
2816 * version.c: Remove unneded include of ansidecl.h.
2818 * cgraph.h: Convert prototypes to ISO C90.
2819 * cgraph.c: Likewise.
2820 * fix-header.c: Likewise.
2822 * protoize.c: Likewise.
2824 Sat Jul 12 06:09:38 CEST 2003 Jan Hubicka <jh@suse.cz>
2826 * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
2829 Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka <jh@suse.cz>
2830 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2832 * cgraph.c (cgraph_max_uid): New global variable.
2833 (cgraph_node): Set uid field.
2834 (create_edge): Keep inline flags consistent.
2835 (dump_cgraph): Dump more info.
2836 * cgraph.h (struct cgraph_local_info): Remove inline_many and
2837 can_inline_once; add inlinable, disgread_inline_limits, and self_insn
2838 (struct cgraph_global_info): Add insns, calls, cloned_times,
2840 (struct cgraph_node): Add uid.
2841 (struct cgraph_edge): Add inline_call.
2842 (cgraph_max_uid, cgraph_inline_p): Declare.
2843 * cgraph.c: Include params.h and fibheap.h
2844 (cgraph_mark_functions_to_inline_once): Kill.
2845 (INSNS_PER_CALL): New constant.
2846 (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
2848 (cgraph_finalize_function): Do not analyze inlining.
2849 (cgraph_finalize_compilation_unit): Set inlining attributes.
2850 (cgraph_mark_functions_to_output): More consistency checks.
2851 (cgraph_optimize_function): Set current_function_decl to NULL.
2852 (cgraph_expand_function): Use new inline flags.
2853 (cgraph_postorder): Expand from cgraph_expand_functions.
2854 (INLINED_TIMES, SET_INLINED_TIMES): New macros.
2855 (cgraph_inlined_into, cgraph_inlined_callees,
2856 cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
2857 cgraph_mark_inline, cgraph_check_inline_limits,
2858 cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
2859 cgraph_decide_inlining, cgraph_inline_p): New functions.
2860 * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
2861 PARAM_INLINE_UNIT_GROWTH): New parameters.
2862 * tree-inline.c (struct inline_data): New field current_decl.
2863 (expand_call_inline): Avoid forward declarations; use
2864 inlinable_function_p.
2865 (optimize_inline_calls): Set id.current_decl.
2867 2003-07-11 Andrew Pinski <pinskia@physics.uc.edu>
2869 * configure.in: Remove wrongly added definition of
2871 * configure: Regenerate.
2873 2003-07-11 Dan Nicolaescu <dann@ics.uci.edu>
2875 * rtl.def (NOTE): Do not use padding.
2877 2003-07-11 Dara Hazeghi <dhazeghi@yahoo.com>
2879 * doc/install.tex: Update required binutils for i?86-*-linux*
2881 2003-07-11 Richard Henderson <rth@redhat.com>
2883 * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
2885 2003-07-11 Mark Mitchell <mark@codesourcery.com>
2887 * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
2888 TRANSLATION_UNIT_DECL as top_level.
2890 2003-07-11 Jakub Jelinek <jakub@redhat.com>
2892 * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
2893 then fall back to cmpstrM.
2894 * builtins.c (expand_builtin_memcmp): Likewise.
2895 * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
2896 (s390_expand_cmpmem): ... this.
2897 * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
2898 cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
2899 from cmpstr* patterns. Rename call to s390_expand_cmpstr
2900 to s390_expand_cmpmem.
2901 * config/s390/s390.c (s390_expand_cmpstr): Rename to...
2902 (s390_expand_cmpstr): ... this. Rename cmpstr* instructions
2904 * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
2906 * doc/md.texi (cmpstrM): Describe as String compare insn, not
2910 2003-07-11 Loren James Rittle <ljrittle@acm.org>
2912 * config/i386/freebsd.h (SET_ASM_OP): Remove.
2913 (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
2914 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
2915 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
2917 2003-07-11 Richard Henderson <rth@redhat.com>
2919 * function.c (assign_parms): Don't recombine complex args if
2920 fnargs is unchanged from orig_fnargs.
2921 (split_complex_args): Return args without complex before copying.
2922 Re-layout the modified parameters.
2924 2003-07-11 J"orn Rennecke <joern.rennecke@superh.com>
2926 * regclass.c (choose_hard_reg_mode): Add third argument.
2927 Changed all callers.
2928 * rtl.h (choose_hard_reg_mode): Update declaration.
2929 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
2930 Take HARD_REGNO_CALL_PART_CLOBBERED into account.
2932 2003-07-11 Geoffrey Keating <geoffk@apple.com>
2934 * c-decl.c (finish_decl): Handle 'used' here...
2935 * cgraphunit.c (cgraph_finalize_function): ... and here ...
2936 * c-common.c: (handle_used_attribute): ... not here.
2938 * configure.in (onstep): Support --enable-intermodule.
2939 * Makefile.in (OBJS-common): New.
2941 (OBJS-archive): New.
2942 (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
2943 (OBJS-onestep): New.
2944 (libbackend.a): Support @onestep@.
2945 (libbackend.o): New.
2946 * configure: Regenerate.
2948 * c-common.h (c_reset_state): New prototype.
2949 (c_parse_file): New prototype.
2950 (finish_file): Move prototype from c-tree.h.
2951 * c-decl.c: Include <hashtab.h>.
2952 (builtin_decls): New.
2953 (current_file_decl): New.
2954 (duplicate_decls): Add extra parameter. Change all callers. Don't
2955 output duplicate common symbols.
2956 (link_hash_hash): New.
2957 (link_hash_eq): New.
2958 (poplevel): Handle popping of the top level.
2959 (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
2960 (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
2961 (pushdecl_top_level): Likewise.
2962 (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
2963 (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
2964 (finish_decl): Handle TRANSLATION_UNIT_DECL.
2965 (merge_translation_unit_decls): New.
2966 (c_write_global_declarations): New.
2967 (c_reset_state): New.
2968 (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
2969 * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
2970 * c-objc-common.c (c_cannot_inline_tree_fn): Handle
2971 TRANSLATION_UNIT_DECL.
2972 (c_objc_common_finish_file): Call merge_translation_unit_decls.
2973 * c-opts.c (in_fnames): Rename from in_fname.
2974 (c_common_decode_option): Handle multiple input filenames.
2975 (c_common_post_options): Likewise.
2976 (c_common_parse_file): Likewise; also, call c_parse_file rather than
2978 * c-parse.in: Move cleanup code to c_parse_file.
2979 (free_parser_stacks): Move contents to c_parse_file.
2980 (c_parse_file): New.
2981 * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
2983 (C_DECL_FILE_SCOPE): New.
2984 (finish_file): Move prototype to c-common.h.
2985 (merge_translation_unit_decls): New prototype.
2986 (comptypes): Add extra parameter to prototype.
2987 (c_write_global_declarations): New prototype.
2988 * c-typeck.c (tagged_types_tu_compatible_p): New.
2989 (function_types_compatible_p): Add extra parameter, change all callers.
2990 (type_lists_compatible_p): Likewise.
2991 (comptypes): Likewise.
2992 (struct tagged_tu_seen): New.
2993 (tagged_tu_seen_base): New.
2994 (build_unary_op): Handle TRANSLATION_UNIT_DECL.
2995 (c_mark_addressable): Remove #if 0 code.
2996 * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
2997 comment explaining why it shouldn't have to.
2998 * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
3000 * cppinit.c (cpp_read_next_file): New.
3001 (cpp_read_main_file): Use it.
3002 * cpplib.c (undefine_macros): New.
3003 (cpp_undef_all): New.
3004 * cpplib.h (cpp_read_next_file): Prototype.
3005 (cpp_undef_all): Prototype.
3006 * langhooks-def.h (write_global_declarations): Remove prototype.
3007 * toplev.h (write_global_declarations): Add prototype.
3008 * tree.c (decl_type_context): Use switch statement, handle
3009 TRANSLATION_UNIT_DECL.
3010 * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
3011 (TRANSLATION_UNIT_DECL): New kind of tree.
3012 * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
3013 * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
3014 * doc/invoke.texi: Make attempt to document new functionality.
3016 2003-05-19 Per Bothner <bothner@apple.com>
3018 * gcc.c (combine_inputs): New.
3019 (process_command): Set combine_inputs.
3020 (do_spec_1): Handle combine_inputs.
3023 2003-07-10 James E Wilson <wilson@tuliptree.org>
3025 PR optimization/9745
3026 * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
3027 loop_insn_emit_before.
3028 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
3030 2003-07-10 Zack Weinberg <zack@codesourcery.com>
3032 * cppcharset.c: Fix comment.
3033 (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
3034 (EILSEQ): #define to EINVAL if not already defined.
3035 (convert_using_iconv): #if out when !HAVE_ICONV.
3036 (init_iconv_desc): Handle !HAVE_ICONV here...
3037 (cpp_init_iconv): ...not here.
3039 2003-07-11 Neil Booth <neil@daikokuya.co.uk>
3041 * common.opt: More --help messages.
3042 * opts.c (print_help): Use puts().
3043 * toplev.c (f_options): Remove help text.
3044 (display_help): Don't dump f_options.
3046 2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org>
3048 * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
3049 Move i?86-*-interix* to the don't-fix list.
3050 * fixinc/fixinc.interix: Delete with extreme prejudice.
3052 2003-07-10 Dara Hazeghi <dhazeghi@yahoo.com>
3055 * doc/install.texi: Document requirements for ia64-*-hpux* target.
3057 2003-07-10 Roger Sayle <roger@eyesopen.com>
3059 * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
3061 2003-07-10 Zack Weinberg <zack@codesourcery.com>
3063 * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
3064 one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
3065 one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
3066 convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
3067 convert_no_conversion, convert_using_iconv): New functions.
3068 (APPLY_CONVERSION): New macro.
3069 (struct conversion, conversion_tab): New data structure.
3070 (init_iconv_desc): Check conversion_tab for a custom conversion
3071 primitive before trying to use iconv.
3072 (convert_cset): Deleted.
3073 (cpp_init_iconv): Use UTF- terminology, not UCS-.
3074 (_cpp_destroy_iconv): Update to match.
3075 (_cpp_valid_ucn): We don't need iconv to implement UCNs.
3076 (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
3077 (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
3078 (_cpp_interpret_string_notranslate): New function, moved here
3081 * cpphash.h (convert_f, struct cset_converter): New types.
3082 (struct cpp_reader): narrow_cset_desc and wide_cset_desc
3083 are now struct cset_converter, not bare iconv_t.
3085 * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
3086 all callers changed.
3088 2003-07-10 Kelley Cook <kelleycook@wideopenwest.com>
3090 * Makefile.in (options.h): Depend on Makefile. Add move-if-change
3091 to opts.sh command line.
3092 * opts.sh: Write to temporary files with a move-if-change at the end.
3094 2003-07-10 Denis Chertykov <denisc@overta.ru>
3095 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3097 * combine.c (gen_binary): Handle the CLOBBER rtx and
3098 don't build a binary operation with it.
3100 2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3102 * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
3103 store_killed_after, store_killed_before): Keep track of the correct
3104 dependency function to use.
3106 2003-07-10 Steven Bosscher <steven@gcc.gnu.org>
3107 * toplev.c (do_compile): Don't try to open dump files before
3108 lang_dependent_init initializes dump_base_name.
3110 2003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3112 * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
3114 * config/frv/frv.c (frv_expand_builtin): Likewise.
3115 * config/sh/sh.c (sh_media_init_builtins): Likewise.
3117 2003-07-09 Mark Mitchell <mark@codesourcery.com>
3120 * doc/invoke.texi (C++ Dialect Options): Change documentation of
3123 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
3125 * tm.texi (RETURN_ADDR_OFFSET): Document.
3127 2003-07-10 Nathan Sidwell <nathan@codesourcery.com>
3129 * gcov-io.h: Update documentation.
3130 (GCOV_UNSIGNED2STRING): New.
3131 (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
3132 GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
3133 GCOV_TAG_SUMMARY_LENGTH): Adjust.
3134 (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
3135 GCOV_TAG_COUNTER_NUM): New.
3136 (GCOV_BLOCK_SIZE): Number of words.
3137 (gcov_var): Adjust buffer type.
3138 * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
3139 (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
3140 count, not byte count.
3141 (gcov_open): Adjust overread init.
3142 (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
3143 gcov_write_string, gcov_write_tag, gcov_write_length,
3144 gcov_write_tag_length): Adjust.
3145 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
3146 (gcov_sync, gcov_seek): Adjust.
3147 * gcov-dump.c (print_usage): Show gcc version only.
3148 (dump_file): Use GCOV_UNSIGNED2STRING.
3149 (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
3150 * gcov.c (print_version): Show gcc version only.
3151 (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
3152 GCOV_TAG_*_NUM macros.
3153 (read_count_file): Use GCOV_UNSIGNED2STRING. Use
3154 GCOV_TAG_COUNTER_LENGTH.
3155 * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
3156 Use GCOV_TAG_COUNTER_NUM.
3157 * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
3158 (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
3160 2003-07-10 Andreas Schwab <schwab@suse.de>
3162 * gcov-dump.c (dump_file): Fix missing address operator.
3164 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
3167 * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
3169 (fold_single_bit_test): If sign_bit_p() fails, assume that the
3170 bit being tested is not a sign bit.
3172 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
3174 * config/h8300/h8300.md (a peephole2): New.
3176 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
3178 2001-12-13 Alexandre Oliva <aoliva@redhat.com>
3179 * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
3180 from ld-linux.so.2 to ld.so.1.
3181 2001-11-18 Alexandre Oliva <aoliva@redhat.com>
3182 * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
3183 * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
3184 nor -Wl,-rpath-link.
3185 (LIB_SPEC): Add -rpath-link if !static.
3186 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
3187 * config/mn10300/mn10300.c (mn10300_protect_label): New
3189 * config/mn10300/linux.h (PRINT_OPERAND,
3190 PRINT_OPERAND_ADDRESS): Set it during their execution.
3191 (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
3192 mn10300_protect_label is set.
3193 * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
3195 (LIB_SPEC, STARTFILE_SPEC): Define.
3196 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
3197 * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
3198 FLOAT_BIT_ORDER_MISMATCH.
3199 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
3200 * config.gcc (am33_2.0-*-linux*): Added.
3201 * config/mn10300/linux.h: New.
3202 * config/mn10300/t-linux: New.
3204 2003-07-10 Andreas Jaeger <aj@suse.de>
3206 * fold-const.c: Properly wrap prototypes.
3208 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
3210 2003-06-16 Alexandre Oliva <aoliva@redhat.com>
3211 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
3213 * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
3214 * config/mn10300/mn10300.h: GTY-declare it.
3215 2003-06-11 Alexandre Oliva <aoliva@redhat.com>
3216 * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
3217 prototype. Use incoming RTL argument.
3218 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
3219 * config/mn10300/mn10300.md (int_label): Move C statements...
3220 (GOTaddr2picreg): ... here.
3221 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
3222 * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
3223 * config/mn10300/mn10300.c (mn10300_encode_section_info):
3224 ... here. New function.
3225 (TARGET_ENCODE_SECTION_INFO): Define to it.
3226 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
3227 * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
3229 (mn10300_loadPC): Define as insn splittable after reload.
3230 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3231 * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
3232 be defined in .rodata even in PIC, now that the assembler
3234 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
3235 * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
3236 symbol take an underscore prefix.
3237 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
3238 * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
3239 legitimize_pic_address): Declare.
3240 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
3241 the PIC register as fixed.
3242 (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
3243 (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
3245 (LEGITIMATE_PIC_OPERAND_P): Define.
3246 (PIC_OFFSET_TABLE_REGNUM): Define.
3247 (GOT_SYMBOL_NAME): Define.
3248 (SYMBOLIC_CONST_P): Define.
3249 (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
3251 (MN10300_GLOBAL_P): Test it.
3252 (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
3253 (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
3254 * config/mn10300/mn10300.c (print_operand): Handle unspec.
3255 (expand_prologue): Set PIC register.
3256 (call_address_operand): Don't match SYMBOL_REFs in PIC.
3257 (legitimize_address): Call legitimize_pic_address.
3258 (legitimize_pic_address): New fn.
3259 (legitimate_pic_operand_p): New fn.
3260 * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
3261 (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
3262 UNSPEC_PLT): New constants.
3263 (pop_pic_reg): New insn.
3264 (movsi): Adjust non-PIC addresses.
3265 (builtin_setjmp_receiver): Restore the PIC register.
3267 (call): Adjust non-PIC addresses.
3268 (int_label, GOTaddr2picreg): New expands.
3269 (am33_loadPC): New insn.
3270 (mn10300_loadPC): New expand.
3271 (call_next_insn): New insn.
3272 (add_GOT_to_pic_reg): New expand.
3273 (symGOT2reg, symGOT2reg_i): New expands.
3274 (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
3275 (sym2PIC, sym2PLT): New expands.
3277 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
3279 * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
3280 2001-05-01 Alexandre Oliva <aoliva@redhat.com>
3281 * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
3282 to flag_unsafe_math_optimizations.
3283 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
3284 * config/mn10300/mn10300.c (expand_prologue): Mark
3285 FP-register-saving insns as frame-related.
3286 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
3287 * config/mn10300/mn10300.c
3288 (mn10300_get_live_callee_saved_regs): Don't search past
3289 LAST_EXTENDED_REGNUM.
3290 (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
3291 * config/mn10300/mn10300.md: Remove excessive line breaks from
3292 `@' output patterns that were accounted as additional
3294 * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
3295 Re-introduce changes accidentally removed in Richard Sandiford's
3297 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
3298 Re-instate am33-2 lost in merge from net GCC.
3299 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
3300 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
3301 floating-point registers.
3302 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
3303 * config/mn10300/mn10300.md (movdf): Revert some am33-specific
3304 pessimizations that had gone in on 2000-05-08.
3305 2000-06-28 Graham Stott <grahams@cygnus.co.uk>
3306 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
3307 2000-06-22 Graham Stott <grahams@cygnus.co.uk>
3308 * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
3310 * (movhi): Likewise.
3311 * (movsi): Likewise.
3312 * (movsf): Likewise.
3313 * (movdi): Likewise.
3314 * (movdf): Likewise.
3315 Wed May 24 13:16:09 2000 Alexandre Oliva <aoliva@cygnus.com>
3316 * config/mn10300/mn10300.c (fp_regs_to_save): New function.
3317 (can_use_return_insn, initial_offset): Add fp_regs_to_save.
3318 (expand_prologue, expand_epilogue): Save and restore FP regs.
3319 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
3320 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
3321 2000-05-13 Alexandre Oliva <aoliva@cygnus.com>
3322 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
3323 subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
3325 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
3326 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
3327 Discourage the two-argument, longer opcodes.
3328 (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
3330 * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
3331 (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
3332 * config/mn10300/mn10300.md (cmpsf): New pattern.
3333 (branch): Test mdep.fpCC and output fbCC.
3334 * config/mn10300/mn10300.c (print_operand): Output conditions.
3335 (notice_cc_update): Recognize fcmp and set mdep.fpCC.
3336 2000-05-10 Alexandre Oliva <aoliva@cygnus.com>
3337 * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
3338 mulsf3, divsf3): Use the `F' constraint for FP values.
3339 * config/mn10300/mn10300.c (const_1f_operand): New function.
3340 * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
3341 * config/mn10300/mn10300.md (sqrtsf2): New expand.
3342 (rsqrtsf2): New insn.
3343 2000-05-09 Alexandre Oliva <aoliva@cygnus.com>
3344 * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
3346 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
3347 * config/mn10300/mn10300.md (abssf2, negdf2): On
3348 TARGET_AM33_2, expand to...
3349 (abssf2_am33_2, negdf2_am33_2): New insns.
3350 (addsf3, subsf3, mulsf3, divsf3): Likewise.
3351 (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
3352 * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
3353 movdi, movdf): Added FP regs.
3354 * invoke.texi (-mam33-2, -mno-am33-2): Document.
3355 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
3356 * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
3358 (REGNO_AM33_2_FP_P): Renamed to...
3359 (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
3360 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
3361 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
3362 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
3363 regs from GENERAL_REGS.
3364 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
3365 * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
3366 * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
3367 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
3368 2000-04-23 Alexandre Oliva <aoliva@cygnus.com>
3369 * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
3371 2000-04-21 Alexandre Oliva <aoliva@cygnus.com>
3372 * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
3373 (EXTRA_CONSTRAINT): Added OK_FOR_Q.
3374 * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
3375 * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
3376 * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
3377 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
3378 AM33/2.0 floating-point registers.
3379 (CONDITIONAL_REGISTER_USAGE): Adjust.
3380 (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
3381 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
3382 (REG_CLASS_FROM_LETTER): Added `f' and `A'.
3383 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
3384 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
3385 (MULTILIB_DIRNAMES): Likewise.
3386 * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
3387 `__AM33_2__' when `-mam33-2' is given.
3388 (TARGET_AM33_2): Define.
3389 (TARGET_SWITCHES): Adjust.
3390 * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
3393 2003-07-09 Matt Kraai <kraai@alumni.cmu.edu>
3395 * doc/install.texi: Add missing @.
3397 2003-07-09 Bob Wilson <bob.wilson@acm.org>
3399 * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
3401 2003-07-09 Aldy Hernandez <aldyh@redhat.com>
3404 * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
3406 2003-07-09 Nathanael Nerode <neroden@gcc.gnu.org>
3409 * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
3410 "x-crtfini.o" with "crtinit.o", "crtfini.o".
3412 * fixinc/inclhack.def (limits_ifndefs): Add select test.
3413 * fixinc/fixincl.x: Rebuild.
3415 * fixinc/inclhack.def (math_exception): Improve bypass and comment.
3416 * fixinc/fixincl.x: Rebuild.
3418 2003-07-09 Hans-Peter Nilsson <hp@bitrange.com>
3420 * doc/install.texi (Configuration): Document the valgrind option
3421 to --enable-checking.
3423 Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka <jh@suse.cz>
3425 * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
3427 2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3429 * c-lex.c (cb_ident): Cast cstr.text to const char *.
3431 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
3433 * gcov-io.h: Update documentation.
3434 (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
3436 (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
3437 (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
3438 (struct gcov_var): Change buffer's type. Add endian flag.
3439 (gcov_open): Remove mode in libgcov.
3440 (gcov_magic): Prototype.
3441 * gcov-io.c (from_file): New.
3442 (gcov_open): Clear endian flag.
3444 (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
3446 (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
3447 gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
3448 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
3449 * gcov-iov.c (main): Correct cast.
3450 * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
3452 (gcov_begin_output): Use GCOV_NOTE_MAGIC.
3453 (coverage_init): Use GCOV_NOTE_SUFFIX.
3454 * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
3455 Rename to gcov_version, and return flag.
3456 (gcov_exit): Use gcov_version.
3457 (__gcov_init): Use gcov_version.
3458 * Makefile.in (coverageexts): Update.
3459 * gcov.c (print_version): Remove endianness conversion.
3460 (create_file_names): Use GCOV_NOTE_SUFFIX.
3461 (read_graph_file): Use gcov_magic.
3462 (read_count_file): Likewise.
3463 * gcov-dump.c (dump_file): Remove endianness conversion, use
3466 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
3468 * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
3470 * configure: Regenerated.
3471 * Makefile.in (ALL_CFLAGS): Correct its comment.
3473 2003-07-08 Mark Mitchell <mark@codesourcery.com>
3475 * fold-const.c (make_range): Do not access operand 1 for a
3476 zero-operand operator.
3478 2003-07-09 Neil Booth <neil@daikokuya.co.uk>
3480 * toplev.c (warn_dummy, W_options): Die.
3481 (display_help): Don't print W_options.
3482 * common.opt: Add W_options help from toplev.c.
3484 2003-07-09 Andreas Jaeger <aj@suse.de>
3486 * opts.c (wrap_help): Only pass int arguments as arguments to
3487 printf's '*' modifier. Change argument of function.
3489 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
3491 * doc/invoke.texi: Fix misspelling of "@item".
3493 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
3495 * config/i386/i386.md: Remove an old comment about
3498 Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka <jh@suse.cz>
3500 * cgraph.c (cgraph_node_name): New function.
3501 (dump_cgraph): Use it.
3502 * cgraph.h (cgraph_dump_file): Declare.
3503 (cgraph_node_name): Declare.
3504 * cgraphunit.c: Include timevar.h
3505 (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
3506 (cgraph_optimize_function): Use TV_INTEGRATION.
3507 (cgraph_mark_local_functions): reorganize dumps.
3508 (cgraph_mark_functions_to_inline_once): Likewise.
3509 (cgraph_optimize): Likewise; use timevar.
3510 * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
3511 * toplev.c (dump_file_index): Add DFI_cgraph.
3512 (dump_file_info): Likewise.
3513 (cgraph_dump_file): New global variable.
3514 (do_compile): Open and close cgraph dump.
3515 * invoke.texi (-d): Document new flag; renumber.
3517 2003-07-08 Roger Sayle <roger@eyesopen.com>
3520 * calls.c (emit_call_1): Don't bother popping the arguments off of
3521 the stack after a noreturn function call; The adjustment is dead.
3522 (expand_call): Likewise.
3524 2003-07-08 Geoffrey Keating <geoffk@apple.com>
3526 * expr.c (MOVE_MAX_PIECES): Move from here...
3527 * defaults.h (MOVE_MAX_PIECES): ... to here.
3529 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
3531 * Makefile.in (stage1-start): Handle an empty SUBDIRS.
3533 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3535 * genattr.c (internal_dfa_insn_code): Don't prototype.
3536 * genattrtab.c (attr_desc): Add `static_p' field.
3537 (expand_units): Make blockage range and ready cost functions
3539 (write_attr_get): Don't add extern prototypes in C file. Mark
3540 static functions as appropriate.
3541 (find_attr, make_internal_attr): Initialize static_p.
3542 * genattrtab.h (ATTR_STATIC): New macro.
3543 * genautomata.c (output_internal_reset_func): Mark output function
3545 (make_internal_dfa_insn_code_attr): Mark output function as static.
3547 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3549 * genattrtab.h: Add new macros for attr `special' flags.
3550 * genattrtab.c (attr_desc): Reorder/resize fields better.
3551 Use attr `special' macros in all calls to make_internal_attr.
3552 * genautomata.c: Likewise.
3554 Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka <jh@suse.cz>
3556 * c-common.c (c_estimate_num_insns_1): New static function.
3557 (c_estimate_num_insns): New global function.
3558 * c-common.h (DECL_NUM_STMTS): Rename to...
3559 (DECL_ESTIMATED_INSNS): ... this.
3560 (c_estimate_num_insns): Declare.
3561 * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
3562 * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
3563 * c-semantics.c (add_stmt): Do not account statements.
3564 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
3566 * langhooks.h (lang_hooks_for_tree_inlining): Add
3568 * params.def (max-inline-insns-auto, max-inline-insns-auto): set
3570 (max-inline-insns): set to 300.
3571 (min-inline-insns): set to 10.
3572 * tree-inline.c (struct inline_data): Rename inlined_stmts to
3574 (INSNS_PER_STMT): Kill.
3575 (inlinable_function_p): Compute and store body size.
3576 (expand_call_inline): Likewise.
3577 (optimize_inline_calls): Likewise.
3579 2003-07-08 James E Wilson <wilson@tuliptree.org>
3582 * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
3583 loop over new variable t2 instead of t.
3585 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
3588 * config/i386/winnt.c: Replace use of error(), warning() with
3589 error_with_decl(), warning_with_decl(), throughout.
3591 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
3593 * opts.c (wrap_help): Use unsigned int, not size_t.
3595 2003-07-08 Stephane Carrez <stcarrez@nerim.fr>
3597 * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
3598 as .file/.loc directives are incompatible with linker relaxation.
3600 2003-07-08 Zack Weinberg <zack@codesourcery.com>
3602 * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
3603 * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
3604 * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
3605 * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
3606 * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
3607 * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
3608 Escape { and } characters which are not part of range expressions.
3609 * fixinc/fixincl.x: Regenerate.
3610 * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
3612 2003-07-08 Steven Bosscher <steven@gcc.gnu.org>
3615 * tree-inline.c (find_alloca_call): Use
3616 walk_tree_without_duplicates, instead of walk_tree.
3617 (find_builtin_longjmp_call): Likewise.
3618 * c-objc-common.c (c_cannot_inline_fn): Likewise.
3619 * c-semantics.c (find_reachable_label): Likewise.
3621 2003-07-08 Jakub Jelinek <jakub@redhat.com>
3624 * config/i386/i386.c (ix86_check_movabs): New function.
3625 * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
3626 * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
3627 (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
3629 2003-07-08 Chris Demetriou <cgd@broadcom.com>
3631 * Makefile.in (install-po): Cope with empty CATALOGS.
3633 2003-07-08 Richard Sandiford <rsandifo@redhat.com>
3635 * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
3636 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
3637 (SECTION_FUNCTION_TEMPLATE): Delete.
3638 * config/mips/elf.h: As for elf64.h.
3639 (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
3640 * config/mips/linux.h: As for elf.h
3641 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
3642 * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
3643 (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling
3644 of in_sdata from current_section_name and current_section_flags.
3645 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
3646 * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
3647 (MASK_GP_OPT, TARGET_GP_OPT): Delete.
3648 (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
3649 (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
3650 (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
3651 * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
3652 (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
3653 (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
3654 (override_options): Remove setting of MASK_GPOPT.
3655 (mips_output_external): Use mips_in_small_data_p to check whether a
3656 symbol needs an .extern directive. Don't emit such directives for
3657 TARGET_EXPLICIT_RELOCS.
3658 (mips_declare_object): Update accordingly.
3659 (mips_select_rtx_section): Call named_section rather than
3661 (mips_select_section): Use default_elf_section_section for everything
3662 except .text string constants.
3663 (mips_in_small_data_p): New function.
3664 (mips_encode_section_info): Remove small data handling.
3665 (mips_unique_section): Delete.
3666 (iris6_section_type_flags): New function.
3667 * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
3669 2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3672 * pa.md: Disparage all mtsar constraints.
3673 (extzv, extv, insv): Don't fail on length of {32|64}.
3675 2003-07-08 Zack Weinberg <zack@codesourcery.com>
3677 * system.h: Poison MAP_CHARACTER.
3678 * config/i370/i370-protos.h (mvs_map_char): Delete.
3679 * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
3680 * config/i370/i370.h (MAP_CHARACTER): Delete definition.
3681 (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
3683 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
3685 * toplev.c (randomize): Correct call to time().
3687 2003-07-08 Jakub Jelinek <jakub@redhat.com>
3689 * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
3690 REG_EQUIV notes as well.
3692 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
3694 * doc/md.texi: Fix the description of addmodecc.
3696 2003-07-07 Zack Weinberg <zack@codesourcery.com>
3698 * Makefile.in (top_builddir): Set to "..", not ".".
3699 (INTLLIBS, INTLDEPS): Delete.
3700 (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
3701 (LIBDEPS): Add $(LIBICONV_DEP).
3702 (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
3703 (INCLUDES): Replace -I../intl with @INCINTL@.
3704 ($(top_builddir)/intl/libintl.a): Delete rule.
3705 (stage2-start, stage3-start, stage4-start, stageprofile-start,
3706 stagefeedback-start): Use $$ for variable to be evaluated by
3708 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
3709 HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
3710 * aclocal.m4: sinclude ../config/progtest.m4. Add
3711 contents of lcmessage.m4 from gettext distro.
3712 * configure.in: Check for wchar.h and setlocale. Set
3713 LIBICONV_DEP to the empty string and substitute it.
3714 Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
3715 this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
3716 not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
3717 in $LIBINTL, to avoid linking it twice.
3718 * configure, config.in: Regenerate.
3720 2003-07-08 Nathanael Nerode <neroden@gcc.gnu.org>
3722 * fixinc/mkfixinc.sh: Remove winnt support.
3723 * fixinc/fixinc.winnt: Delete with extreme prejudice.
3725 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
3727 * Makefile.in: Update.
3728 * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
3729 * c.opt: Update documentation.
3730 * common.opt: Add some help text.
3731 * opts.c: Include intl.h.
3732 (wrap_help, print_help): New.
3733 (find_opt, handle_option, common_handle_option): opt_text now
3734 contains the '-'. Use print_help to output help.
3735 * opts.h (struct cl_option): New member "help".
3736 * opts.sh: Update to handle help text output and to prepend
3738 * toplev.c (display_help): Remove some help text.
3740 2003-07-07 David Edelsohn <edelsohn@gnu.org>
3741 Fariborz Jahanian <fjahanian@apple.com>
3743 * configure.in: Test for PowerPC mfcr field support in assembler.
3744 * config.in, configure: Regenderated.
3746 * config/rs6000/power4.md: Add mfcrf reservation.
3747 * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
3748 * config/rs6000/rs6000.c (mfcr_operation): Define.
3749 (print_operand): Add 'Q' case for mfcrf.
3750 * config/rs6000/rs6000.h (TARGET_MFCRF): New.
3751 * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
3752 (movcc_internal1): Emit optional field operand for mfcr and set
3753 "type" attribute appropriately.
3754 (mfcr SCC): Likewise.
3755 (movesi_from_cr_one): New.
3757 2003-07-07 Roger Sayle <roger@eyesopen.com>
3759 * config/i386/i386.md: Correct check-in of incorrect version.
3761 2003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3763 * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
3764 adjacent stdio calls.
3765 * c-decl.c (c_print_identifier): Likewise.
3766 * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
3767 * print-rtl.c (print_rtx): Likewise.
3768 * print-tree.c (print_node_brief, print_node): Likewise.
3769 * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
3771 * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
3772 * config.in, configure: Regenerated.
3774 2003-07-07 Roger Sayle <roger@eyesopen.com>
3777 * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
3778 Changed to define_expand patterns that copy operand[1] to prevent
3779 it from being clobbered before emitting an atan2?f3_1 insn.
3780 (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
3781 patterns that actually specify the behaviour of x87's FPATAN.
3783 2003-07-07 Jakub Jelinek <jakub@redhat.com>
3785 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
3786 clearing of SYMBOL_FLAG_LOCAL bit.
3787 If vcall_offset fits into signed 16-bit immediate, use
3788 one instruction for both addition and load.
3790 2003-07-07 Neil Booth <neil@daikokuya.co.uk>
3792 * opts.c (common_handle_option): Correct handling of the
3793 -falign- switches that do and don't take an argument.
3795 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
3797 * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
3799 (pushhi1_h8300hs): Likewise.
3801 2003-07-07 Andreas Jaeger <aj@suse.de>
3803 * genextract.c: Convert remaining prototypes to ISO C90.
3805 * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
3806 * fold-const.c (fold_single_bit_test): Likewise.
3807 * diagnostic.c (default_diagnostic_finalizer): Likewise.
3808 * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
3810 * gengtype.c (write_array): Generate ISO C90 prototypes.
3812 * genflags.c (gen_proto): Generate ISO C90 prototypes.
3814 2003-07-07 Roger Sayle <roger@eyesopen.com>
3816 PR optimization/11059
3817 * expr.c (can_store_by_pieces): Return true if length is zero.
3818 (store_by_pieces): If length is zero and endp is two, abort,
3819 othwerise, if length is zero and endp is not two, return "to".
3820 (clear_by_pieces): Do nothing if length is zero.
3821 (clear_storage): Do nothing if length is zero.
3822 (store_constructor): Simplify code when size is zero, or the
3823 target has already been cleared. This avoids emitting a
3824 blockage instruction when initializing empty structures.
3826 2003-07-07 Andreas Jaeger <aj@suse.de>
3828 * mips-tfile.c: Convert prototypes to ISO C90.
3829 * mips-tdump.c: Convert prototypes to ISO C90.
3831 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
3833 * rtl.h (emit_line_note): Take a location_t.
3834 (emit_line_note_force): Remove.
3835 (set_file_and_line_for_statement): Take a location_t.
3836 * tree.g (emit_line_note): Take a location_t.
3837 * emit-rtl.c (emit_line_note): Take a location_t.
3838 (emit_line_note_force): Remove.
3839 * function.c (init_function_start): Adjust emit_line_note call.
3840 (expand_function_end): Use force_next_line_note, not
3841 emit_line_note_force.
3842 * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
3843 * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
3844 genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
3845 genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
3846 genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
3847 genrtl_continue_stmt, genrtl_switch_stmt,
3848 genrtl_asm_stmt): Likewise.
3849 * expr.c (expand_expr): Likewise.
3850 * integrate.c (expand_inline_function): Likewise.
3851 * stmt.c (set_file_and_line_for_stmt): Take a location_t.
3852 (expand_decl_init): Adjust emit_line_note call.
3854 2003-07-07 Dale Johannesen <dalej@apple.com>
3856 * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900.
3858 2003-07-07 Andreas Jaeger <aj@suse.de>
3860 * config/i386/i386-protos.h: Convert prototypes to ISO C90.
3861 * config/i386/i386.c: Likewise.
3863 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
3865 * config/h8300/h8300.md: Use gen_int_mode instead of
3866 GEN_INT (trunc_int_for_mode (...)).
3868 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
3870 * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
3871 2 bytes and then subtract 2 from the stack pointer.
3872 (pushhi1_h8300hs): Likewise.
3874 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
3876 * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
3878 * configure: Regenerated.
3879 * Makefile.in: Remove extraneous comment.
3880 * toplev.c (randomize): Protect against potential multiple calls.
3881 * doc/invoke.texi (-frandom-seed): Document use for in coverage
3884 2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3885 Eric Botcazou <ebotcazou@libertysurf.fr>
3887 PR optimization/11198
3888 * alias.c (objects_must_conflict_p): Return 1 if the types have
3889 the same alias set, not if the alias sets only conflict.
3891 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
3893 * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
3894 (convert_cset): Change inbuf to type ICONV_CONST char.
3895 * Makefile.in (LIBS): Add LIBICONV.
3897 * doc/invoke.texi (-falign-functions): Document that
3898 when n is zero then a machine-dependent default is used.
3899 (-falign-labels): Document that when n is zero then a
3900 machine-dependent default is used and that -falign-labels =1
3901 is equivalent to -fno-align-labels.
3902 (-falign-loops): Likewise.
3903 (-falign-jumps): Likewise.
3905 2003-07-06 Art Haas <ahaas@airmail.net>
3907 * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
3910 2003-07-06 James E Wilson <wilson@tuliptree.org>
3912 PR optimization/9812
3913 * rtl.h (mem_for_const_double): Delete prototype.
3914 * varasm.c (mem_for_const_double): Delete function.
3915 * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
3916 config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
3917 (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
3918 * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
3919 (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
3920 * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add
3921 comment about confused support for XFmode constants.
3923 Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka <jh@suse.cz>
3925 * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
3927 2003-07-06 Kazu Hirata <kazu@cs.umass.edu>
3929 * config/h8300/h8300.c: Fix comment typos.
3930 * config/h8300/h8300.md: Likewise.
3931 * config/i386/athlon.md: Likewise.
3932 * config/i386/i386.c: Likewise.
3933 * config/i386/pentium.md: Likewise.
3934 * config/ia64/ia64.c: Likewise.
3935 * config/ia64/itanium1.md: Likewise.
3936 * config/ia64/itanium2.md: Likewise.
3937 * config/m32r/m32r.md: Likewise.
3938 * config/m68hc11/m68hc11.c: Likewise.
3939 * config/mcore/mcore.c: Likewise.
3940 * config/mips/sr71k.md: Likewise.
3941 * config/mips/t-iris5-as: Likewise.
3942 * config/mmix/mmix.h: Likewise.
3943 * config/ns32k/ns32k.h: Likewise.
3944 * config/ns32k/NOTES: Fix a typo.
3946 2003-07-06 Andreas Jaeger <aj@suse.de>
3948 * stmt.c: Convert remaining prototypes to ISO C90.
3949 * cfglayout.c: Likewise.
3950 * dbxout.c: Likewise.
3952 * genemit.c: Likewise.
3954 * basic-block.h: Convert prototypes to ISO C90.
3955 * c-parse.in: Likewise.
3956 * c-pragma.h: Likewise.
3957 * c-typeck.c: Likewise.
3958 * cfghooks.h: Likewise.
3959 * cfgloopanal.c: Likewise.
3960 * dbxout.h: Likewise.
3961 * debug.h: Likewise.
3962 * dwarf2asm.h: Likewise.
3964 * gengtype-lex.l: Likewise.
3965 * sched-int.h: Likewise.
3966 * timevar.c: Likewise.
3968 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
3970 * c-common.h (c_comon_handle_filename,
3971 c_common_missing_arguement): New.
3972 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
3973 LANG_HOOKS_MISSING_ARGUMENT): New.
3974 * c-opts.c (missing_arg): Rename c_common_missing_argument,
3975 update to be an appropriate langhook.
3976 (c_common_handle_option): Don't handle filenames.
3977 (c_common_handle_filename): New.
3978 * hooks.c (hook_void_constcharptr,
3979 hook_bool_constcharptr_size_t_false): New.
3980 * hooks.h (hook_void_constcharptr,
3981 hook_bool_constcharptr_size_t_false): New.
3982 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
3983 LANG_HOOKS_MISSING_ARGUMENT): New.
3984 (LANG_HOOKS_INITIALIZER): Update.
3985 * langhooks.h (struct lang_hooks): Add handle_filename and
3987 * opts.c (handle_option): Don't handle filenames here, but ...
3988 (handle_options): ... here.
3989 (common_handle_option): Don't handle missing arguments here.
3990 * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
3991 LANG_HOOKS_MISSING_ARGUMENT): New.
3993 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
3995 * Makfile.in: Remove traces of mbchar.
3996 * c-parse.in (MULTIBYTE_CHARS): Remove.
3997 * config.in (MULTIBYTE_CHARS): Remove.
3998 * configure: Remove --enable-mbchar.
3999 * configure.in: Remove --enable-mbchar.
4000 * mbchar.c, mbchar.h: Remove.
4001 * system.h: Poison MULTIBYTE_CHARS.
4002 * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
4003 * config/linux.h (MULTIBYTE_CHARS): Remove.
4004 * config/svr4.h (MULTIBYTE_CHARS): Remove.
4005 * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
4007 2003-07-06 Andreas Jaeger <aj@suse.de>
4009 * varray.c (varray_check_failed): Fix typo.
4011 * unroll.c: Convert prototypes to ISO C90.
4012 * varasm.c: Likewise.
4013 * varray.c: Likewise.
4014 * varray.h: Likewise.
4015 * vmsdbgout.c: Likewise.
4016 * xcoffout.c: Likewise.
4017 * xcoffout.h: Likewise.
4019 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
4021 * gcov-io.h: Add a local time stamp.
4022 (struct gcov_info): Add stamp field.
4023 (gcov_truncate): New.
4024 * coverage.c (read_counts_file): Skip the stamp.
4025 (coverage_begin_output): Write the stamp.
4026 (build_gcov_info): Declare and init the stamp.
4027 (coverage_finish): Only unlink data file, if stamp is zero.
4028 * gcov-dump.c (dump_file): Dump the stamp.
4029 * gcov.c (bbg_stamp): New.
4030 (release_structures): Clear bbg_stamp.
4031 (read_graph_file): Read stamp.
4032 (read_count_file): Check stamp.
4033 * libgcov.c (gcov_exit): Check stamp and truncate if needed.
4035 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
4037 * tree.h (default_flag_random_seed): Remove.
4038 * toplev.h (local_tick): Declare.
4039 * tree.c (flag_random_seed, default_flag_random_seed): Move to
4041 (append_random_chars): Don't call default_flag_random_seed.
4042 * toplev.c (flag_random_seed): Define here. Set local_tick.
4043 (local_tick): Define.
4044 (randomize): New, moved from tree.c.
4045 (print_switch_values): Adjust.
4046 (toplev_main): Call randomize.
4048 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
4050 * tree.h (crc32_string): Declare.
4051 * tree.c (append_random_chars): Remove.
4052 (crc32_string): New.
4053 (get_file_function_name_long): Use crc32_string here.
4055 2003-07-06 Andreas Jaeger <aj@suse.de>
4057 * gcc.c: Convert prototypes to ISO C90.
4059 * gcov-dump.c: Likewise.
4060 * gcov-iov.c: Likewise.
4062 * genattrtab.h: Likewise.
4064 * global.c: Likewise.
4065 * graph.c: Likewise.
4066 * graph.h: Likewise.
4067 * hosthooks.h: Likewise.
4068 * hooks.h: Likewise.
4069 * hooks.c: Likewise.
4070 * hashtable.h: Likewise.
4071 * hashtable.c: Likewise.
4072 * haifa-sched.c: Likewise.
4073 * integrate.h: Likewise.
4074 * integrate.c: Likewise.
4075 * input.h: Likewise.
4076 * ifcvt.c: Likewise.
4078 * langhooks-def.h: Likewise. Add extern to prototypes.
4079 * langhooks.c: Likewise.
4080 * langhooks.h: Likewise.
4082 * local-alloc.c: Likewise.
4083 * loop-init.c: Likewise.
4084 * loop-unroll.c: Likewise.
4085 * loop-unswitch.c: Likewise.
4087 * loop.h: Likewise. Add extern to prototypes.
4088 * machmode.h: Likewise.
4090 * mbchar.c: Likewise.
4091 * mbchar.h: Likewise.
4092 * mkdeps.c: Likewise.
4093 * mkdeps.h: Likewise.
4094 * optabs.c: Likewise.
4095 * optabs.h: Likewise.
4096 * output.h: Likewise.
4097 * gccspec.c: Likwise.
4098 * postreload.c: Likewise.
4099 * prefix.c: Likewise.
4100 * prefix.h: Likewise.
4101 * print-rtl.c: Likewise.
4102 * print-tree.c: Likewise.
4103 * profile.c: Likewise.
4104 * read-rtl.c: Likewise.
4107 * recog.c: Likewise.
4108 * recog.h: Likewise.
4109 * reg-stack.c: Likewise.
4110 * regclass.c: Likewise.
4111 * regmove.c: Likewise.
4112 * regrename.c: Likewise.
4114 * reload.c: Likewise.
4115 * reload.h: Likewise.
4116 * reload1.c: Likewise.
4117 * reorg.c: Likewise.
4118 * resource.c: Likewise.
4119 * resource.h: Likewise.
4120 * rtl-error.c: Likewise.
4123 * rtlanal.c: Likewise.
4124 * sbitmap.c: Likewise.
4125 * sbitmap.h: Likewise.
4126 * scan-decls.c: Likewise.
4128 * sched-deps.c: Likewise.
4129 * sched-ebb.c: Likewise.
4130 * sched-int.h: Likewise.
4131 * sched-rgn.c: Likewise.
4132 * sched-vis.c: Likewise.
4133 * sibcall.c: Likewise.
4134 * simplify-rtx.c: Likewise.
4135 * sreal.c: Likewise.
4136 * sreal.h: Likewise.
4137 * ssa-ccp.c: Likewise.
4138 * ssa-dce.c: Likewise.
4141 * stack.h: Likewise.
4143 * stor-layout.c: Likewise.
4144 * stringpool.c: Likewise.
4145 * target.h: Likewise.
4146 * timevar.c: Likewise.
4147 * timevar.h: Likewise.
4148 * tlink.c: Likewise.
4149 * tracer.c: Likewise.
4150 * tree-inline.c: Likewise.
4151 * tree-inline.h: Likewise.
4155 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
4157 * combine.c (nonzero_bits1): Fix a warning.
4159 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
4161 * config/h8300/h8300.c (compute_mov_length): Correct the
4162 length of loading CONST0_RTX (SFmode).
4164 2003-07-05 Nathan Sidwell <nathan@codesourcery.com>
4166 * toplev.c (output_clean_symbol_name): Remove.
4167 * toplev.h (output_clean_symbol_name): Remove.
4168 * config/alpha/alpha.c (unicosmk_output_module_name): Use
4169 lbasename & clean_symbol_name.
4171 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
4173 * ggc.h: Follow spelling conventions.
4174 * config/i386/i386.c: Likewise.
4175 * config/i386/winnt.c: Likewise.
4176 * config/rs6000/rs6000.c: Likewise.
4178 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
4180 * bt-load.c: Fix comment typos.
4181 * c-incpath.c: Likewise.
4183 * cfgcleanup.c: Likewise.
4184 * cfgloop.h: Likewise.
4185 * cfgloopmanip.c: Likewise.
4186 * cfgrtl.c: Likewise.
4187 * diagnostic.h: Likewise.
4188 * dwarfout.c: Likewise.
4189 * emit-rtl.c: Likewise.
4190 * et-forest.c: Likewise.
4191 * et-forest.h: Likewise.
4194 * genattr.c: Likewise.
4196 * langhooks.h: Likewise.
4197 * local-alloc.c: Likewise.
4198 * loop-unroll.c: Likewise.
4199 * loop-unswitch.c: Likewise.
4200 * ra-build.c: Likewise.
4201 * regclass.c: Likewise.
4202 * regmove.c: Likewise.
4203 * rtl.def: Likewise.
4204 * rtlanal.c: Likewise.
4205 * sched-ebb.c: Likewise.
4206 * sched-rgn.c: Likewise.
4207 * simplify-rtx.c: Likewise.
4209 * tracer.c: Likewise.
4212 2003-07-05 Zack Weinberg <zack@codesourcery.com>
4214 * cppcharset.c: Use the correct return type for the fallback iconv
4217 Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4219 Blame to Jan Hubicka <jh@suse.cz>
4220 * cfglayout.c (record_effective_endpoints): Split insns before
4221 first basic block correctly.
4223 2003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4225 * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
4226 bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
4227 if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
4229 2003-07-05 Andreas Jaeger <aj@suse.de>
4231 * genattrtab.c (write_attr_get): Revert part of last patch to
4232 always write out a prototype.
4234 * genemit.c (gen_split): Readd lost unused attributes in last
4237 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4239 * cfgloopmanip.c (force_single_succ_latches): Force latch to be
4240 different from header.
4242 2003-07-05 Andreas Schwab <schwab@suse.de>
4244 * config/m68k/m68k.c: Remove code protected by CRDS.
4245 * config/m68k/m68k.md: Likewise.
4247 2003-07-05 Neil Booth <neil@daikokuya.co.uk>
4250 * c-opts.c (permit_fortran_options): New.
4251 (c_common_init_options): Accept fortran front end options if
4252 it looks like we might be preprocessing Fortran.
4253 (c_common_handle_option): Don't reject switch if permit_fotran_options.
4255 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4257 * genattr.c (internal_dfa_insn_code): Output prototype.
4258 * genattrtab.c: Don't output unnecessary decls, output in ISO C.
4259 * genautomata.c: Likewise.
4260 * genconditions.c: Likewise.
4261 * genemit.c: Likewise.
4262 * genextract.c: Likewise.
4263 * gengenrtl.c: Likewise.
4264 * gengtype.c: Likewise.
4265 * genopinit.c: Likewise.
4266 * genoutput.c: Likewise.
4267 * genpeep.c: Likewise.
4268 * genrecog.c: Likewise.
4270 2003-07-04 Zack Weinberg <zack@codesourcery.com>
4272 * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
4273 (struct cpp_options): Add narrow_charset, wide_charset,
4274 bytes_big_endian fields. Remove EBCDIC field.
4275 (cpp_init_iconv, cpp_interpret_string): New external interfaces.
4277 * cpphash.h: Include <iconv.h> if we have it, otherwise
4278 provide a dummy definition of iconv_t.
4279 (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
4280 (_cpp_valid_ucn): Update prototype.
4281 (_cpp_destroy_iconv): New prototype.
4283 * doc/cpp.texi: Document character set handling.
4284 * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
4285 * doc/extend.texi: Delete entire section on multiline strings.
4286 Rewrite section on __FUNCTION__ etc now that these are
4289 * cppucnid.tab, cppucnid.pl: New files.
4290 * cppucnid.h: New generated file.
4291 * cppcharset.c: Include cppucnid.h. Lots of commentary added.
4292 (iconv_open, iconv, iconv_close): Provide dummy definitions
4294 (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
4295 _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
4296 emit_numeric_escape, convert_hex, convert_oct, convert_escape,
4297 cpp_interpret_string, narrow_str_to_charconst,
4298 wide_str_to_charconst): New.
4299 (ucn_valid_in_identifier): Use a binary search through the
4300 ucnranges table defined in cppucnid.h, not a long chain of if
4302 (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal
4303 character names are only valid in C++ and C99" to a warning.
4304 Issue the "meaning of \[uU] is different in traditional C"
4305 warning here. Take care not to let iconv see an invalid UCS
4306 value if we get a malformed UCN. Issue an error if we don't
4308 (cpp_interpret_charconst): Moved here from cpplex.c. Use
4309 cpp_interpret_string to do the heavy lifting.
4311 * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
4312 narrow_charset, wide_charset fields of options structure.
4313 (cpp_destroy): Call _cpp_destroy_iconv.
4314 * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
4315 (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
4316 (cpp_interpret_charconst): Moved to cppcharset.c.
4317 * cpplib.c (dequote_string): Delete.
4318 (interpret_string_notranslate): New.
4319 (do_line, do_linemarker): Use interpret_string_notranslate.
4321 * Makefile.in (cppcharset.o): Depend on cppucnid.h.
4323 * c-common.c (fname_string, combine_strings): Delete.
4324 * c-common.h (fname_string, combine_strings): Delete prototypes.
4325 * c-lex.c (ignore_escape_flag): Delete.
4326 (cb_ident): Use cpp_interpret_string, not lex_string.
4327 (get_nonpadding_token): New function.
4328 (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
4329 Adjust calls to lex_string. Don't write *value twice.
4330 (lex_string): Now handles string constant concatenation.
4331 Most of the work handed off to cpp_interpret_string.
4332 Call fix_string_type here.
4333 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
4334 FUNC_NAME, throughout.
4335 (OBJC_STRING): New token type.
4336 (primary:STRING): No need to call fix_string_type here.
4337 (primary:objc_string): Make that OBJC_STRING.
4338 (objc_string nonterminal): Delete.
4339 (yylexname): Delete code to handle fake string constants.
4340 (yylexstring): Delete entirely.
4341 (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need
4342 to handle CPP_ATSIGN.
4344 * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
4345 * c-opts.c (missing_arg, c_common_handle_option): Handle
4346 OPT_fexec_charset_ and OPT_fwide_exec_charset_.
4347 (c_common_init): Set cpp_opts->bytes_big_endian, not
4348 cpp_opts->EBCDIC. Call cpp_init_iconv.
4349 (print_help): Document -fexec-charset= and -fexec-wide-charset=.
4350 (TARGET_EBCDIC): Delete default definition.
4352 * objc/objc-act.c (build_objc_string_object): No need to
4353 handle string constant concatenation.
4355 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
4357 * doc/install.texi: Fix typos.
4358 * doc/invoke.texi: Likewise.
4359 * doc/tm.texi: Likewise.
4361 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
4363 * config/pa/fptr.c: Fix comment typos.
4364 * config/pa/pa-64.h: Likewise.
4365 * config/pa/pa.c: Likewise.
4366 * config/pa/pa.h: Likewise.
4367 * config/rs6000/603.md: Likewise.
4368 * config/rs6000/7xx.md: Likewise.
4369 * config/rs6000/darwin.h: Likewise.
4370 * config/rs6000/freebsd.h: Likewise.
4371 * config/rs6000/rs6000.c: Likewise.
4372 * config/rs6000/rs6000.md: Likewise.
4373 * config/rs6000/spe.h: Likewise.
4375 2003-07-04 Ulrich Weigand <uweigand@de.ibm.com>
4377 * config/s390/2064.md: Change GNU CC to GCC.
4378 * config/s390/2084.md: Likewise.
4379 * config/s390/fixdfdi.h: Likewise.
4380 * config/s390/linux.h: Likewise.
4381 * config/s390/s390-modes.def: Likewise.
4382 * config/s390/s390-protos.h: Likewise.
4383 * config/s390/s390.c: Likewise.
4384 * config/s390/s390.h: Likewise.
4385 * config/s390/s390.md: Likewise.
4386 * config/s390/s390x.h: Likewise.
4388 2003-07-04 Jeff Law <law@redhat.com>
4391 * expr.c (do_store_flag): Pass in the correct result type
4392 when calling fold_single_bit_test.
4393 * fold-const.c (fold_single_bit_test): Use result_type for the
4394 result when folding a sign bit test.
4396 2003-07-04 Neil Booth <neil@daikokuya.co.uk>
4398 * opts.c (common_handle_options): Negate sense of -falign- switches.
4400 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
4402 * Makefile.in: Replace PWD with PWD_COMMAND.
4404 2003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4406 * cfgloopanal.c (count_strange_loop_iterations): New static function.
4407 (constant_iterations, count_loop_iterations, simple_loop_exit_p):
4408 Handle strange loops.
4410 2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl>
4412 * install.texi: Even the g77 manpage is derived from
4413 the full g77 manual.
4415 2003-07-04 Zack Weinberg <zack@codesourcery.com>
4417 * ABOUT-NLS: Delete.
4418 * intl: Delete entire directory.
4419 * aclocal.m4: Include ../config/gettext.m4. Delete
4420 AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
4421 AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
4422 * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
4423 Remove intl/Makefile from all_outputs.
4424 * configure, config.in: Regenerate.
4425 * Makefile.in: Expunge all references to intl subdirectory.
4426 Add -I../intl to INCLUDES.
4427 * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
4429 2003-07-04 Roger Sayle <roger@eyesopen.com>
4431 * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
4432 * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
4434 2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
4436 PR c++/5287, PR c++/7910, PR c++/11021
4437 * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
4438 dllimport attribute if function is defined at declaration, but
4439 report error instead. Likewise for dllimport'd variable
4440 definitions. Set implicit TREE_PUBLIC for dllimport'd variables
4441 declared within functions, Report error if dllimport or dllexport
4442 symbol is not global.
4443 (i386_pe_dllimport_p): Ignore dllimport attribute of functions
4444 if defined after declaration or if inlined. Don't allow definition
4445 of static data members of C++ classes. Don't dllimport virtual
4447 (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
4448 (i386_pe_mark_dllimport): Remove unnecessary checks.
4449 (i386_pe_encode_section_info): Warn if the dllimport attribute
4450 and symbol prefix have been instantiated and then overridden.
4452 * doc/extend.texi: Document dllimport and dllexport attributes.
4454 * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
4456 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
4458 * config/kaos.h (CPP_PREDEFINES): Delete.
4459 (TARGET_OS_CPP_BUILTINS): New.
4461 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4463 * c-aux-info.c: Include toplev.h after c-tree.h.
4464 * c-common.c: Likewise.
4465 (GCC_DIAG_STYLE): Undef.
4466 * c-semantics.c (GCC_DIAG_STYLE): Define.
4467 * c-tree.h (GCC_DIAG_STYLE): Likewise.
4468 * diagnostic.h (inform): Move prototype to toplev.h.
4469 * jump.c: Include diagnostic.h before toplev.h.
4470 * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
4471 (warning, error, fatal_error, pedwarn, sorry, inform,
4472 error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
4474 2003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4476 * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
4477 at all if edge is not specified.
4478 (can_copy_bbs_p, copy_bbs): New.
4479 * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
4480 * cfgloop.c (get_loop_body): Comment more precisely.
4481 * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
4482 (scale_bbs_frequencies): Fix comment typo.
4483 (can_duplicate_loop_p): Use can_copy_bbs_p.
4484 (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
4486 2003-07-03 Devang Patel <dpatel@apple.com>
4488 * c-opts.c (c_common_parse_file): Remove extra
4489 debug_hooks->start_source_file call.
4491 2003-07-03 Roger Sayle <roger@eyesopen.com>
4493 * real.c (real_trunc, real_floor, real_ceil): New functions
4494 to implement trunc, floor and ceil respectively.
4495 * real.h (real_trunc, real_floor, real_ceil): Prototype here.
4496 * builtins.c (integer_valued_real_p): New function to test if
4497 a floating point expression has an integer valued result.
4498 (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
4499 foo(x) where foo is an integer rounding function. Similarly,
4500 optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
4501 (double)(int)x when both foo and bar are integer rounding
4502 functions and we don't need to honor errno.
4503 (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
4504 New functions to fold trunc, floor and ceil.
4505 (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
4506 fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
4507 to fold BUILT_IN_CEIL*.
4508 * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
4509 the remaining integer rounding functions.
4511 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
4513 * config/sparc/sparc.c (function_arg_partial_nregs): Use
4514 SPARC_INT_ARG_MAX to determine where to split unnamed
4515 complex FP arguments.
4517 Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka <jh@suse.cz>
4519 * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
4520 * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
4521 (merge_blocks_move_predecessor_nojumps,
4522 merge_blocks_move_successor_nojumps): Use merge_blocks.
4523 (try_optimize_cfg): Use merge_blocks_move.
4524 * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
4525 (merge_blocks_nomove): Rename to rtl_merge_blocks.
4526 (cfg_layout_create_basic_block): New.
4527 (rtl_can_merge_blocks): New.
4528 (cfg_layout_split_block): Do not alloc aux by hand.
4529 * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
4531 (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
4532 * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
4533 * cfgloopmanip.c (loop_split_edge_with): Likewise.
4534 * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
4536 * basic-block.h (basic_block_def): Add field 'rbi'.
4537 * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
4538 find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
4539 * cfg.c (entry_exit_blocks): Add new field.
4540 * cfglayout.c: Include alloc-pool.h;
4541 (cfg_layout_pool): New.
4542 (record_effective_endpoints, fixup_reorder_chain,
4543 fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
4545 (cfg_layout_initialize_rbi): New function.
4546 (cfg_layout_initialize): Use it.
4547 (cfg_layout_finalize): Clear rbi fields.
4548 * cfglayout.h (RBI): Kill.
4549 (cfg_layout_initialize_rbi): Declare.
4550 * cfgloopmanip.c (copy_bbs): Use rbi.
4551 (record_exit_edges): Likewise.
4552 (duplicate_loop_to_header_edge): Likewise.
4553 * cfgrtl.c (cfg_layout_create_basic_block): Use
4554 cfg_layout_initialize_rbi.
4555 (cfg_layout_split_block): Use rbi.
4556 (cfg_layout_delete_block): Likewise.
4557 * loop-init.c (loop_optimizer_finalize): Likewise.
4558 * loop-unswitch.c (unswitch_loop): Likewise.
4559 * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
4561 * cfgrtl.c: Update comments.
4562 (try_redirect_by_replacing_jump): New argument.
4563 (redirect_branch_edge): Break out from ...
4564 (rtl_redirect_edge_and_branch): ... this one.
4565 (update_cfg_after_block_merging): Break out from ...
4566 (rtl_merge_blocks): ... this one.
4567 (cfg_layout_split_edge): New.
4568 (cfg_layout_merge_blocks): New.
4569 (cfg_layout_can_merge_blocks_p): New.
4570 (cfg_layout_redirect_edge_and_branch): Reorganize.
4571 (cfg_layout_rtl_cfg_hooks): Fill in.
4572 (cfg_layout_delete_block): Kill barriers.
4573 * cfganal.c (can_fallthru): Deal with exit blocks
4574 * cfglayout.c (cfg_layout_function_header): New function
4575 (record_effective_endpoints): Record function header.
4576 (fixup_reorder_chain): Fixup dead jumptables; place header
4578 * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
4579 * bb-reorder.c (cfg_layout_initialize): Update call.
4580 * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
4581 edges in cfglayout mode.
4582 * cfglayout.c (cleanup_unconditional_jumps): Kill.
4583 (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
4584 * cfglayout.h (cfg_layout_initialize): Update prototype.
4585 * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
4586 * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
4587 * flow.c (propagate_block): Do not crash when basic block ends
4588 by first insn in the chain.
4589 * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later
4591 * tracer.c (tracer): Update call of cfg_layout_initialize.
4593 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4595 * Makefile.in: Use dependency variables in lieu of explicit
4598 2003-07-03 Steven Bosscher <steven@gcc.gnu.org>
4600 * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
4601 * tree.h: ...to here.
4603 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
4605 * config/s390/2064.md: Fix comment typos.
4606 * config/s390/2084.md: Likewise.
4607 * config/s390/s390.c: Likewise.
4608 * config/s390/s390.md: Likewise.
4609 * config/sh/sh.c: Likewise.
4610 * config/sh/sh.h: Likewise.
4611 * config/sh/sh.md: Likewise.
4612 * config/sparc/sparc.c: Likewise.
4613 * config/sparc/sparc.h: Likewise.
4614 * config/sparc/sparc.md: Likewise.
4615 * config/stormy16/stormy16.c: Likewise.
4616 * config/stormy16/stormy16.h: Likewise.
4617 * config/stormy16/stormy-abi: Fix a typo.
4619 2003-07-03 Kelley Cook <kelleycook@wideopenwest.org>
4621 * Makefile.in (ifcvt.o): Depend on OPTABS_H.
4623 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4625 * config/mips/mips.h (save_argv): Delete.
4627 2003-07-03 Roger Sayle <roger@eyesopen.com>
4630 * fold-const.c (extract_muldiv_1): There's nothing that can be done
4631 if the expression is a SAVE_EXPR.
4633 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
4635 * config/m32r/m32r.c: Fix comment typos.
4636 * config/m68hc11/m68hc11.c: Likewise.
4637 * config/m68hc11/m68hc11.h: Likewise.
4638 * config/m68k/m68k.c: Likewise.
4639 * config/mcore/mcore.c: Likewise.
4640 * config/mcore/mcore.h: Likewise.
4641 * config/mcore/mcore.md: Likewise.
4642 * config/mips/mips.c: Likewise.
4643 * config/mips/mips.h: Likewise.
4644 * config/mips/mips.md: Likewise.
4645 * config/mips/netbsd.h: Likewise.
4646 * config/mn10300/mn10300.c: Likewise.
4648 2003-07-03 Andreas Schwab <schwab@suse.de>
4650 * dbxout.c (pending_bincls): Move decl down inside
4651 DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
4653 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
4655 * rtl.h (NOTE_DATA): Refer to whole union.
4656 * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
4658 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
4660 PR optimization/11381
4661 * simplify-rtx.c (simplify_relational_operation): Check that
4662 two equal operands have no side-effects before simplifying
4665 2003-07-02 Jeff Law <law@redhat.com>
4667 * expr.c (do_store_flag): Remove special case folding for
4668 single bit tests. Instead call back into the commonized folder
4670 * fold-const.c (fold_single_bit_test): New function, mostly
4671 extracted from do_store_flag, with an additional case extracted
4673 (fold): Call fold_single_bit_test appropriately.
4674 * tree.h (fold_single_bit_test): Prototype.
4676 2003-07-02 Zack Weinberg <zack@codesourcery.com>
4678 * system.h: Include filenames.h.
4679 (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
4680 (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
4681 define based on HAVE_DOS_BASED_FILE_SYSTEM.
4682 * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
4683 * config/i386/xm-mingw32.h: Don't define
4684 HAVE_DOS_BASED_FILE_SYSTEM,
4685 DIR_SEPARATOR, or DIR_SEPARATOR_2.
4686 * doc/hostconfig.texi: Update to match.
4688 * cppfiles.c, gcc.c, gensupport.c, protoize.c,
4689 config/i386/cygwin.h:
4690 Use IS_ABSOLUTE_PATH throughout.
4691 * gcc.c (DIR_UP): Delete, unused.
4692 * protoize.c (IS_SAME_PATH): Define in terms of
4694 (is_abspath): Delete.
4696 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
4698 * config/i386/emmintrin.h: Fix comment typos.
4699 * config/i386/i386.c: Likewise.
4700 * config/i386/i386.h: Likewise.
4701 * config/i386/sco5.h: Likewise.
4702 * config/ia64/ia64.c: Likewise.
4703 * config/ia64/itanium2.md: Likewise.
4705 2003-07-02 H.J. Lu <hongjiu.lu@intel.com>
4707 * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
4709 (emit_bincl_stab): Same.
4710 (emit_pending_bincls): Same.
4712 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
4714 * config/h8300/h8300.c (compute_mov_length): Fix the length of
4715 loading CONST0_RTX (SFmode).
4716 * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
4717 'G' to CONST0_RTX (SFmode).
4718 * config/h8300/h8300.md (movsf_h8300): Change the first
4720 (movsf_h8300h): Likewise.
4722 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
4724 * c-common.h (c_common_init_options): New prototype.
4725 * c-opts.c (deferred_size): Remove.
4726 (defer_opt): Array is now pre-allocated.
4727 (c_common_init_options): Pre-allocate deferred_opts. Make
4728 lang_flags unsigned.
4729 (push_command_line_options): Free deferred_opts.
4730 * hooks.c (hook_uint_uint_constcharptrptr_0): New.
4731 * hooks.h (hook_uint_uint_constcharptrptr_0): New.
4732 * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
4733 * langhooks.h (struct lang_hooks): New prototype for init_options.
4734 * main.c (main): Cast argv.
4735 * opts.c (handle_option, handle_options): Update prototypes.
4736 (decode_options): save_argc, save_argv are not global. Constify.
4737 * opts.h (decode_options): New prototype.
4738 * toplev.c (general_init): New protoype.
4739 (save_argv): Make static.
4740 (save_argc): Remove.
4741 (print_switch_values, general_init): Constify.
4742 (toplev_main): Save argv.
4743 * toplev.h (toplev_main): Update prototype.
4744 (save_argc, save_argv): Remove.
4746 2003-07-02 David Edelsohn <edelsohn@gnu.org>
4748 * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
4749 (emit_bincl_stab): Same.
4750 (emit_pending_bincls): Same.
4752 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
4755 * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
4757 2003-07-02 Andreas Schwab <schwab@suse.de>
4759 * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
4761 2003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr>
4763 PR optimization/11210
4764 * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
4765 about the behaviour with regard to bitfields.
4766 * fold-const (decode_field_reference): Record outermost type in
4767 case the expression is a NOP. Strip all NOPs. Set the signedness
4768 to that of the outermost type (if any) when the bitsize is equal
4769 to the size of the type.
4771 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4773 * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
4774 (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
4775 (adddi3_internal_3, addsi3_internal_2): Likewise.
4777 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4779 * config/mips/mips.c (machine_function): Add new fields:
4780 ignore_hazard_length_p and all_noreorder_p.
4781 (mips_flag_delayed_branch): New variable.
4782 (override_options): Treat '/' as an operand punctuation character.
4783 Set up mips_flag_delayed_branch.
4784 (print_operand): Handle '/'.
4785 (mips_output_function_prologue): Put the whole function in
4786 .set noreorder and .set nomacro if all_noreorder_p is true.
4787 (mips_output_function_epilogue): End the noreorder/nomacro sequence.
4788 (mips16_optimize_gp): Remove "first insn" parameter.
4789 (mips16_lay_out_constants): New function, split out from mips_reorg.
4790 (mips_avoid_hazard, mips_avoid_hazards): New functions.
4791 (mips_reorg): For mips16 code, call mips16_lay_out_constant
4792 and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS,
4793 do delayed-branch scheduling followed by hazard detection.
4794 (mips_adjust_insn_length): Only account for hazards if
4795 !ignore_hazard_length_p.
4796 (mips_output_load_label): Add a nop to the o32 sequence if
4797 the target suffers from load delays.
4798 (mips_output_conditional_branch): Add %/ to the end of branches.
4799 (mips_output_division): Fill the branch delay slot with %#.
4800 * config/mips/mips.md: Remove redundant '%*' from mips16 branch
4801 instructions. End all other %* branches with %/.
4802 (ffssi2, ffsdi2): Fix lengths.
4803 (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
4804 (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
4805 (fix_truncsfsi2_macro): Likewise.
4806 (mov_lwl): Set hazard to "none".
4807 (ashldi3_internal): Fill the branch delay slot with %#.
4808 (ashrdi3_internal, lshrdi3_internal): Likewise.
4809 (exception_receiver): Explicitly set $28.
4810 (hazard_nop): New pattern.
4812 Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka <jh@suse.cz>
4814 * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
4815 before calling tree_inlinable_function_p.
4817 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4819 * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
4820 <internal/stdio_core.h> too.
4821 (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
4822 <internal/wchar_core.h> too.
4823 Substitute va_list uses in inline definition.
4824 * fixinc/fixincl.x: Regenerate.
4826 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4828 * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
4829 Undef before redefinition.
4830 (LABEL_AFTER_LOC): Likewise.
4831 (DEFAULT_SIGNED_CHAR): Likewise.
4832 (ASM_OUTPUT_ASCII): Moved here from iris4.h.
4835 * config/mips/iris3.h: Remove, unused.
4836 * config/mips/iris4.h: Likewise.
4838 * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
4840 * config/mips/iris5.h (TARGET_DEFAULT): Move ...
4841 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
4844 * config/mips/iris5.h: Move explicit includes ...
4845 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
4847 * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
4848 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
4851 * config/mips/iris6.h (TARGET_DEFAULT): Move ...
4852 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
4855 * config/mips/iris6.h: Fix IRIX spelling.
4856 (MULTILIB_DEFAULTS): Undef before redefinition.
4858 * config/mips/iris6.h: Move explicit includes ...
4859 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
4861 Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka <jh@suse.cz>
4863 * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
4864 cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
4865 Use next_needed field instead of aux to maintain the queue.
4866 * cgraph.h (cgraph_node): Add next_needed.
4867 (cgraph_varpool_node): Add next_needed; remove aux.
4868 * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
4870 Wed Jul 2 02:12:51 CEST 2003 Jan Hubicka <jh@suse.cz>
4872 * cgraphunit.c (cgraph_finalize_function): Set finalized.
4873 (cgraph_finalize_function): Do not examine inlinablility.
4874 (cgraph_finalize_compilation_unit): Do it here.
4875 * cgraph.h (cgraph_local_info): Add finalized field.
4877 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4879 * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
4880 (gt_pch_restore): Likewise.
4882 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
4884 * config/alpha/alpha.c: Fix comment typos.
4885 * config/alpha/elf.h: Likewise.
4886 * config/arm/arm.c: Likewise.
4887 * config/arm/arm.h: Likewise.
4888 * config/arm/arm.md: Likewise.
4889 * config/arm/t-arm-coff: Likewise.
4890 * config/arm/t-strongarm-pe: Likewise.
4891 * config/arm/xscale-elf.h: Likewise.
4892 * config/avr/avr.h: Likewise.
4894 2003-07-01 Jeff Law <law@redhat.com>
4896 * stmt.c (any_pending_cleanups): Remove another redundant test.
4898 2003-07-01 David Edelsohn <edelsohn@gnu.org>
4899 J"orn Rennecke <joern.rennecke@superh.com>
4901 * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
4904 2003-07-01 Devang Patel <dpatel@apple.com>
4906 * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
4908 (struct dbx_file): New members - bincl_status, pending_bincl_name and
4910 (pending_bincls): New.
4911 (dbxout_init): Initialize new dbx_file members.
4912 (dbxout_start_source_file): Same.
4913 (emit_bincl_stab): New function.
4914 (emit_pending_bincls): Same.
4915 (emit_pending_bincls_if_required): Same.
4916 (dbxout_end_source_file): Emit EINCL stab only if BINCL is already
4918 (dbxout_begin_block): Emit pending BINCL stabs.
4919 (dbxout_end_block): Same.
4920 (dbxout_function_decl): Same.
4921 (dbxout_continue): Same.
4922 (dbxout_type): Same.
4923 (dbxout_class_name_qualifiers): Same.
4924 (dbxout_symbol): Same.
4925 (dbxout_symbol_location): Same.
4926 (dbxout_parms): Same.
4928 2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4930 * c-semantics.c (genrtl_case_label): Fix format specifier bug.
4931 * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
4933 2003-07-01 Andreas Jaeger <aj@suse.de>
4935 * fold-const.c: Convert prototypes to ISO C90.
4936 * function.c: Likewise.
4937 * function.h: Likewise.
4939 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
4941 * doc/contrib.texi: Fix typos.
4942 * doc/invoke.texi: Likewise.
4943 * doc/passes.texi: Likewise.
4944 * doc/sourcebuild.texi: Likewise.
4945 * doc/tm.texi: Likewise.
4947 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
4949 * basic-block.h: Fix comment typos.
4950 * bb-reorder.c: Likewise.
4951 * c-format.c: Likewise.
4952 * cfgcleanup.c: Likewise.
4953 * cfghooks.h: Likewise.
4954 * cfgloop.c: Likewise.
4955 * cfgloopmanip.c: Likewise.
4956 * cfgrtl.c: Likewise.
4957 * cgraph.h: Likewise.
4958 * cgraphunit.c: Likewise.
4959 * combine.c: Likewise.
4960 * convert.c: Likewise.
4961 * dbxout.c: Likewise.
4964 * diagnostic.c: Likewise.
4965 * dwarf2out.c: Likewise.
4966 * et-forest.h: Likewise.
4968 * fold-const.c: Likewise.
4969 * function.h: Likewise.
4970 * gcov-io.h: Likewise.
4973 * genautomata.c: Likewise.
4974 * ggc-common.c: Likewise.
4975 * ggc-page.c: Likewise.
4976 * loop-unroll.c: Likewise.
4977 * loop-unswitch.c: Likewise.
4979 * mips-tfile.c: Likewise.
4980 * optabs.c: Likewise.
4981 * ra-build.c: Likewise.
4982 * ra-colorize.c: Likewise.
4983 * ra-rewrite.c: Likewise.
4985 * regmove.c: Likewise.
4986 * reload.c: Likewise.
4987 * rtlanal.c: Likewise.
4988 * sched-ebb.c: Likewise.
4989 * sched-int.h: Likewise.
4990 * sched-vis.c: Likewise.
4991 * sreal.c: Likewise.
4992 * ssa-ccp.c: Likewise.
4994 * toplev.c: Likewise.
4995 * tree-inline.c: Likewise.
4996 * value-prof.c: Likewise.
4997 * value-prof.h: Likewise.
4999 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
5001 * rtl.h (emit_line_note_after): Remove.
5002 (emit_note_copy_after, emit_note_copy): New.
5003 * emit-rtl.c (reorder_insns_with_line_notes): Replace
5004 emit_line_note_after with emit_note_copy_after.
5005 (emit_insn_after_with_line_notes): Likewise.
5006 (emit_line_note_after): Kill.
5007 (emit_note_copy_after): New.
5008 (emit_note_copy): New.
5009 * function.c (emit_return_into_block): Use emit_note_copy_after.
5010 (thread_prologue_and_epilogue_insns): Likewise.
5011 * integrate.c (expand_inline_function): Use emit_note_copy.
5012 (copy_insn_list): Likewise.
5013 * unroll.c (copy_loop_body): Likewise.
5014 * cfglayout.c (duplicate_insn_chain): Likewise.
5016 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
5018 * c-tree.h (define_label): Replace filename and lineno arguments
5020 * c-decl.c (poplevel): Adjust define_label call.
5021 (pop_label_level): Likewise.
5022 (define_label): Replace filename and lineno arguments with a
5024 (store_parm_decls): Use DECL_SOURCE_LOCATION.
5025 * c-parse.in (label): Adjust define_label call.
5027 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
5029 * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
5030 config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
5031 config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
5032 config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
5033 config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
5035 2003-07-01 Andreas Jaeger <aj@suse.de>
5037 * final.c: Convert prototypes to ISO C90.
5039 * flags.h: Likewise.
5040 * gcov-io.c: Likewise.
5041 * gcov-io.h: Likewise.
5043 See ChangeLog.9 for earlier changes.