invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld, and -mhp-ld options to list of options.
[official-gcc.git] / gcc / ChangeLog
blob028a383a6fdfec98ea0a779ddefc83763e0984aa
1 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
3         * doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
4         and -mhp-ld options to list of options.  Add -mgnu-ld
5         and -mhp-ld option descriptions.
7 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
9         * fixinc/inclhack.def (hpux11_abs):  New.
10         (stdio_va_list): change __va_list__ to __gnuc_va_list.
11         * fixinc/fixincl.x: Rebuild.
13 2002-10-04  Roger Sayle  <roger@eyesopen.com>
15         * config/i386/i386.h (processor_costs): Add new fields fadd,
16         fmul, fdiv, fabs, fchs and fsqrt to costs structure.
17         (RTX_COSTS): Use these fields to determine the RTX costs
18         of floating point addition/subtraction, multiplication,
19         division, fabs, negation and square root respectively.
20         * config/i386/i386.c (size_cost): Provide instruction sizes
21         for these new fields.
22         (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
23         k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
24         counts for these new fields for all x86 processor variants.
26 2002-10-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
28         * mips.c (mips_const_double_ok): Delete unused variable.
30         * gengtype.c (rtx_next): Change type to int.
32 2002-10-04  Andreas Jaeger  <aj@suse.de>
34         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
36 2002-10-04  Richard Henderson  <rth@redhat.com>
38         * real.h (SIGNIFICAND_BITS): Add one more word.
39         (CONST_DOUBLE_FORMAT): Accomodate 6 words.
40         * real.c (times_pten): New.
41         (real_to_decimal, real_from_string): Use it.
42         (sticky_rshift_significand): Use & to find modulus.
43         (rshift_significand, lshift_significand): Likewise.
44         (do_divide): Apply sticky bit after normalization.
45         (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
47 2002-10-03  Andreas Jaeger  <aj@suse.de>
49         * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
50         to unsigned long, adjust printf format string.
51         (output_mangled_typename): Likewise.
53 2002-10-03  Jason Thorpe  <thorpej@wasabisystems.com>
55         * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
56         * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
57         (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
58         assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
59         (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
60         (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
61         * config/vax/elf.h (FUNCTION_PROFILER): Remove.
62         (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
64 2002-10-03  Mark Mitchell  <mark@codesourcery.com>
66         * doc/invoke.texi (-Wabi): Document mangling bug.
68 2002-10-04  Alan Modra  <amodra@bigpond.net.au>
70         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
71         name for the tbtab label that depends on the function asm name.
72         Don't output tbtab label unless optional_tbtab.
73         (output_mi_thunk): Formatting.
75 2002-10-03  Richard Henderson  <rth@redhat.com>
77         * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
78         * config/m68k/m68k.c (override_options): ... here.
79         * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
80         * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
81         * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
82         * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
84 2002-10-03  Richard Henderson  <rth@redhat.com>
86         * real.h (struct real_value): Use ENUM_BITFIELD.
88 2002-10-03  Richard Henderson  <rth@redhat.com>
90         * config/i960/i960.md (call, call_value): Use emit_call_insn.
92 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
94         * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
96 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
98         * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
99         * config/pa/pa.h (MASK_GNU_LD): New.
100         (TARGET_GNU_LD): New.
101         * config/pa/pa64-hpux.h (LINK_SPEC): Set based
102         on gnu-ld and MASK_GNU_LD.
103         (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
105 Thu Oct  3 23:35:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
107         * i386.c (athlon_cost): Fix the move costs.
109 Thu Oct  3 23:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
111         * final.c (final): Use symbol name as function name for profiling.
112         * profile.c (get_exec_counts): Likewise.
113         (branch_prob): Likewise.
115 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
117         * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
119 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
121         * gcc.c (print_multi_os_directory): New variable.
122         (option_map): Support --print-multi-os-directory.
123         (struct prefix_list): Add os_multilib field.
124         (multilib_os_dir): New variable.
125         (static_specs): Add multilib_options.
126         (find_a_file): Add multilib argument.  Search in GCC or OS multilib
127         subdirs if non-zero.
128         (read_specs, execute): Update callers.
129         (find_file): Likewise.  Don't prefix name with multilib_dir, instead
130         pass 1 as multilib option.
131         (display_help): Include --print-multi-os-directory.
132         (add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
133         (process_command): Update callers.  Handle --print-multi-os-directory.
134         (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
135         set.
136         (main): Update find_a_file and add_prefix callers.
137         Handle print_multi_os_directory.
138         (struct mdswitchstr): New.
139         (mdswitches, n_mdswitches): New variables.
140         (used_arg): Add MULTILIB_DEFAULT switches too if they are not
141         present on the command line nor their mutually incompatible
142         switches.
143         (default_arg): Optimize.
144         (set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
145         array.
146         (print_multilib_info): Only print GCC multilib dir name, not OS
147         multilib dirname.
148         * genmultilib: Add osdirnames parameter.  Output multilib_options
149         variable.  If osdirnames is specified, output dirnames as
150         dirname:osdirname.
151         * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
152         and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
153         to compute libgcc_s soname and install path.
154         * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
155         SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
156         (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
157         argument.
159         * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
160         (SHLIB_SLIBDIR_SUFFIXES): Remove.
161         * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
162         ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
163         (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
164         and -m64.
165         * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
166         (SHLIB_SLIBDIR_SUFFIXES): Remove.
167         * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
168         (STARTFILE_ARCH_SPEC): Remove.
169         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
170         (SHLIB_SLIBDIR_SUFFIXES): Remove.
171         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
172         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
173         (SHLIB_SLIBDIR_SUFFIXES): Remove.
175 Thu Oct  3 21:42:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
177         * predict.c (choose_function_section): Avoid choice for linkonce functions.
179 Thu Oct  3 15:15:00 CEST 2002  Jan Hubicka  <jh@suse.cz>
181         * i386.md (lea to mul peep2): Fix condition.
183 2002-10-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
185         * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
186         * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
188 2002-10-02  Richard Henderson  <rth@redhat.com>
190         PR opt/7124
191         * config/i386/i386.c (ix86_register_move_cost): Increase cost
192         for secondary_memory_needed pairs.
194 2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>
196         * doc/vms.texi: Blow away false include file section.
198 2002-10-02  Roger Sayle  <roger@eyesopen.com>
200         PR optimization/6627
201         * toplev.c (force_align_functions_log): New global variable.
202         * flags.h (force_align_functions_log): Add extern prototype.
203         * varasm.c (assemble_start_function): Use it to force minimum
204         function alignment.
205         * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
206         minimum function alignment to one byte.
207         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
208         the least significant bit of vtable member function pointers.
209         * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
210         here from cp/cp-tree.h.
212 Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
214         * i386.c (print_operand_address): Use RIP addressing for offsetted
215         label refs too.
217 2002-09-30  David S. Miller  <davem@redhat.com>
219         PR middle-end/7151
220         * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
221         (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
223 2002-10-01  Roger Sayle  <roger@eyesopen.com>
225         * unroll.c (loop_iterations): Revert 2002-09-08 change.
227 2002-10-01  Richard Henderson  <rth@redhat.com>
229         * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
230         (real_to_hexadecimal): Likewise.
231         * print-rtl.c (print_rtx): If we are linked with real.c, don't
232         dump the XWINT fields of a floating point CONST_DOUBLE.
234 2002-10-01  Jason Thorpe  <thorpej@wasabisystems.com>
236         * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
238 2002-10-01  Richard Henderson  <rth@redhat.com>
240         * calls.c (precompute_register_parameters): Force non-legitimate
241         constants into pseudos.
243 2002-10-01  Nick Clifton  <nickc@redhat.com>
245         * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
246         to assembler template.
248 2002-10-01  Richard Henderson  <rth@redhat.com>
250         * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
251         for TLS debug info to !DECL_EXTERNAL.
253 2002-10-01  Matt Thomas  <matt@3am-software.com>
254             Jason Thorpe  <thorpej@wasabisystems.com>
256         * config.gcc (vax-*-netbsdelf*): Enable configuration.
257         * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
258         if not already defined.
259         * config/vax/elf.h: New file.
260         * config/vax/netbsd-elf.h: New file.
261         * config/vax/vax.c: Include "debug.h".
262         (vax_output_function_prologue): Add dwarf2 support.  Use
263         MAIN_NAME_P when checking for VMS_TARGET stack adjust.
264         * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
265         'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
266         'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
267         (VAX_ISTREAM_SYNC): Remove.
268         (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
269         (JUMP_TABLES_IN_TEXT_SECTION): Define.
270         (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
271         (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
272         and assemble_name.
273         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
274         (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
275         (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
276         (INCOMING_RETURN_ADDR_RTX): Define.
277         * config/vax/vax.md (VUNSPEC_BLOCKAGE)
278         (VUNSPEC_SYNC_ISTREAM): Define.
279         (blockage): Use VUNSPEC_BLOCKAGE.
280         (sync_istream): New insn.
282 2002-10-01  Richard Henderson  <rth@redhat.com>
284         * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
285         (*call_value_pop, call, call_value): Add dwarf2 EH support.
286         (*call): New insn.
288 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
290         PR c/8083
291         * c-typeck.c (build_c_cast): Warn about type punning which breaks
292         type based aliasing.
294 2002-10-01  Mark Mitchell  <mark@codesourcery.com>
296         * stor-layout.c (update_alignment_for_field): New function.
297         (place_union_field): Use it.
298         (place_field): Likewise.
300 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
302         PR other/8077
303         * gcc.c (cc1_options): Add space on -auxbase-strip.
305 2002-10-01  Jim Wilson  <wilson@redhat.com>
307         * config/v850/v850.h (EPILOGUE_USES): Define.
309 2002-09-30  Andrew Haley  <aph@redhat.com>
311         * flow.c (insn_dead_p): When using non-call-exceptions, don't
312         eliminate insns that may trap.
313         * cse.c (insn_live_p): Likewise.
315 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
317         * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
318         (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
319         * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
320         * config/mips/mips.md: Apply same renaming here.
322 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
324         * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
325         (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
326         * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
327         * config/mips/mips.md (define_attr cpu): Remove r4320.
328         Remove vr4320 scheduler and uses of TARGET_MIPS4320.
330 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
332         * config/mips/mips.c (mips16_strings): New variable.
333         (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
334         symbol in mips16_strings.  Free the list.
335         (mips_encode_section_info): Keep track of local strings.
337 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
339         * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
340         (sordered_df, sordered_sf): Remove.
341         * config/mips/mips.c (get_float_compare_codes): New fn.
342         (gen_int_relational, gen_conditional_move): Use it.
344 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
346         * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
347         * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
348         * config/mips/mips.c (fcc_register_operand): New function.
349         (mips_emit_fcc_reload): New function, extracted from reload_incc.
350         (override_options): Allow TFmode values in float registers
351         if ISA_HAS_8CC.
352         * cnfig/mips/mips.md (reload_incc): Change destination prediate
353         to fcc_register_operand.  Remove misleading source constraint.
354         Use mips_emit_fcc_reload.
355         (reload_outcc): Duplicate reload_incc.
357 2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
359         * longlong.h: Partially synchronize with GMP-4.1 version:
360         Use i370 definitions also for s390.
361         Add generic definition of umul_ppmm in terms of smul_ppmm.
362         [s390] (umul_ppmm): Remove.
363         [s390] (smul_ppmm): Fix incorrect assembler constraints.
364         [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
366 2002-09-30  Bob Wilson  <bob.wilson@acm.org>
368         * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
369         Add new RL_REGS register class.
370         (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
371         Call xtensa_preferred_reload_class for both input and output reloads.
372         * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
373         (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
374         instead of either AR_REGS or GR_REGS classes.
375         (xtensa_secondary_reload_class): Use new RL_REGS class.
376         * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
378 2002-09-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
380         * pa.c (hppa_encode_label): Don't drop '*' from function labels.
381         (pa_strip_name_encoding): Strip '@' and '*', in that order.
382         * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
383         there is a '*' prefix in NAME.
385 Mon Sep 30 21:33:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
387         * reload.c (push_reload): Handle subregs and secondary memory.
388         * reload1.c (gen_reload): Likewise.
390         * jump.c (reg_or_subregno): New function.
391         * rtl.h (reg_or_subregno): Declare
392         * unroll.c (find_splittable_givs): Handle subregs.
394 2002-09-30  Mark Mitchell  <mark@codesourcery.com>
396         * store-layout.c (finish_record_layout): Add free_p parameter.
397         (layout_type): Pass it.
398         * tree.h (finish_record_layout): Update prototype.
400 Mon Sep 30 14:57:18 CEST 2002  Jan Hubicka  <jh@suse.cz>
402         * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
404         * gcse.c (cprop_jump): Check that the register has not
405         been modified
406         (cprop_jump): Likewise.
408 2002-09-30  Richard Earnshaw  <rearnsha@arm.com>
410         * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
411         (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
412         that we have a SImode access, and only then if reload hasn't completed;
413         for all other cases, use LO_REGS.
415 2002-09-29  Richard Henderson  <rth@redhat.com>
417         * real.c (real_from_string): Apply sign last.  Tidy exponent handling.
419 2002-09-29  Richard Henderson  <rth@redhat.com>
421         PR c/8002
422         * combine.c (force_to_mode): Handle FLOAT_MODE destinations
423         for CONST_INT.
425 2002-09-29  David Edelsohn  <edelsohn@gnu.org>
427         * real.h (ibm_extended_format): Declare.
428         * real.c (encode_ibm_extended, decode_ibm_extended): New
429         functions.
431 2002-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
433         * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
435         * ia64.c (ia64_hpux_asm_file_end): Const-ify.
437 2002-09-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
439         * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
441 2002-09-29  Kazu Hirata  <kazu@cs.umass.edu>
443         * builtins.def: Fix comment formatting.
444         * c-common.def: Likewise.
445         * cfgcleanup.c: Likewise.
446         * combine.c: Likewise.
447         * gengtype.c: Likewise.
448         * params.def: Likewise.
449         * predict.def: Likewise.
450         * rtl.def: Likewise.
451         * stab.def: Likewise.
452         * stor-layout.c: Likewise.
453         * tree.def: Likewise.
454         * config/darwin.c: Likewise.
455         * config/darwin.h: Likewise.
456         * config/dbxcoff.h: Likewise.
457         * config/elfos.h: Likewise.
458         * config/fp-bit.c: Likewise.
459         * config/freebsd-spec.h: Likewise.
460         * config/interix.h: Likewise.
461         * config/libgloss.h: Likewise.
462         * config/linux-aout.h: Likewise.
463         * config/linux.h: Likewise.
464         * config/lynx-ng.h: Likewise.
465         * config/lynx.h: Likewise.
466         * config/netbsd-aout.h: Likewise.
467         * config/netbsd.h: Likewise.
468         * config/netware.h: Likewise.
469         * config/psos.h: Likewise.
470         * config/ptx4.h: Likewise.
472 2002-09-28  Kazu Hirata  <kazu@cs.umass.edu>
474         * ChangeLog.4: Fix typos.
475         * ChangeLog.6: Likewise.
476         * FSFChangeLog.10: Likewise.
477         * genattrtab.c: Fix comment typos.
478         * haifa-sched.c: Likewise.
479         * real.c: Likewise.
480         * tree.h: Likewise.
481         * config/arm/arm.c: Likewise.
482         * config/arm/crti.asm: Likewise.
483         * config/arm/crtn.asm: Likewise.
484         * config/frv/frv.c: Likewise.
485         * config/frv/frv.md: Likewise.
486         * config/h8300/h8300.md: Likewise.
487         * config/i386/rtemself.h: Likewise.
488         * config/ia64/unwind-ia64.c: Likewise.
489         * config/ip2k/ip2k.h: Likewise.
490         * config/m88k/m88k.c: Likewise.
491         * config/m88k/m88k.md: Likewise.
492         * config/mips/sr71k.md: Likewise.
493         * config/mmix/mmix.c: Likewise.
494         * config/rs6000/rs6000.c: Likewise.
495         * config/sh/sh.md: Likewise.
497 2002-09-26  Theodore A. Roth  <troth@verinet.com>
499         * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
500         * config/avr/avr.md: Ditto.
502 2002-09-27  Alexander N. Kabaev <ak03@gte.com>
504         PR preprocessor/8055
505         * cppmacro.c (stringify_arg): Do not overflow the buffer
506         with the terminating NUL when the argument to be stringified
507         has no tokens.
509 2002-09-27  Richard Henderson  <rth@redhat.com>
511         * unroll.c (simplify_cmp_and_jump_insns): New.
512         (unroll_loop): Use it.  Use simplify_gen_foo+force_operand
513         instead of expand_simple_foo.
515 2002-09-27  Richard Henderson  <rth@redhat.com>
517         PR optimization/7520
518         * cfganal.c (flow_active_insn_p): New.
519         (forwarder_block_p): Use it.
521 2002-09-27  Richard Henderson  <rth@redhat.com>
523         * emit-rtl.c (active_insn_p): Revert last change.
525 2002-09-27  Jakub Jelinek  <jakub@redhat.com>
527         * doc/extend.texi (tls_model): Document.
528         * varasm.c (decl_tls_model): New.
529         * c-common.c (handle_tls_model_attribute): New.
530         (c_common_attribute_table): Add tls_model.
531         * config/alpha/alpha.c (alpha_encode_section_info): Use
532         decl_tls_model.
533         * flags.h (enum tls_model, flag_tls_default): Move...
534         * tree.h (enum tls_model, flag_tls_default): ...here.
535         (decl_tls_model): New prototype.
536         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
537         * config/i386/i386.c (ix86_encode_section_info): Likewise.
538         * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
539         Allow !flag_pic.
541 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
543         * LANGUAGES: Follow spelling conventions.
544         * rtl.def: Likewise.
545         * sbitmap.c: Likewise.
546         * sched-int.h: Likewise.
547         * sched-rgn.c: Likewise.
548         * sibcall.c: Likewise.
549         * simplify-rtx.c: Likewise.
550         * ssa.c: Likewise.
551         * stab.def: Likewise.
552         * stmt.c: Likewise.
553         * stor-layout.c: Likewise.
554         * target.h: Likewise.
555         * timevar.c: Likewise.
556         * toplev.c: Likewise.
557         * tree-dump.c: Likewise.
558         * tree-inline.c: Likewise.
559         * tree.c: Likewise.
560         * tree.def: Likewise.
561         * tree.h: Likewise.
562         * unroll.c: Likewise.
563         * varasm.c: Likewise.
564         * vmsdbgout.c: Likewise.
565         * treelang/treelang.texi: Likewise.
566         * treelang/treetree.c: Likewise.
568 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
570         * config/h8300/h8300.c (compute_saved_regs): Use a macro
571         instead of a hard register number.
572         (get_shift_alg): Use an enumerated type instead of numbers.
573         (h8300_shift_needs_scratch_p): Likewise.
575 2002-09-26  David S. Miller  <davem@redhat.com>
577         PR optimization/7335
578         * calls.c (emit_library_call_value_1): Passing args by reference
579         converts a CONST function into a PURE one.
581 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
583         * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
584         text_section.
585         * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
586         text section.
587         * config/rs6000/rs6000.c (rs6000_override_options): Allow
588         function-sections and data-sections functionality on AIX.
590 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
591             Dale Johannesen  <dalej@apple.com>
593         * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
594         in RTL for sub-word loads from memory.
596 2002-09-26  Richard Henderson  <rth@redhat.com>
598         PR c/7160
599         * sched-deps.c (sched_analyze_insn): Make clobber insns depend
600         on call insns.
602 2002-09-26  Richard Henderson  <rth@redhat.com>
604         * emit-rtl.c (const_double_htab_eq): Remove unused variable.
606 2002-09-26  Chris Lattner  <sabre@nondot.org>
608         * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
609         handling undefined values.
611 2002-09-26  Richard Henderson  <rth@redhat.com>
613         PR opt/7520
614         * emit-rtl.c (active_insn_p): Consider a clobber of the
615         function return value to be active even after reload.
617 2002-09-27  Alan Modra  <amodra@bigpond.net.au>
619         * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
620         by absolute loop increment, not loop increment.
622 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
624         * c-common.h: Follow spelling conventions.
625         * cpplex.c: Likewise.
626         * cpplib.h: Likewise.
627         * gthr-dce.h: Likewise.
628         * gthr-posix.h: Likewise.
629         * optabs.c: Likewise.
630         * output.h: Likewise.
631         * profile.c: Likewise.
632         * protoize.c: Likewise.
633         * ra-rewrite.c: Likewise.
634         * real.c: Likewise.
635         * recog.c: Likewise.
636         * reg-stack.c: Likewise.
637         * regclass.c: Likewise.
638         * regmove.c: Likewise.
639         * reload.c: Likewise.
640         * reload.h: Likewise.
641         * reload1.c: Likewise.
642         * reorg.c: Likewise.
643         * resource.c: Likewise.
644         * rtl.h: Likewise.
645         * rtlanal.c: Likewise.
647 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
649         * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
650         for symbol address.
652 2002-09-24  Eric Christopher  <echristo@redhat.com>
654         * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
655         * config/mips/elf64.h: Ditto.
657 2002-09-24  Eric Christopher  <echristo@redhat.com>
659         * except.c (expand_builtin_extract_return_address): Handle case
660         where Pmode != ptr_mode.
662 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
664         * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
666 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
668         * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
670 2002-09-26  Igor Shevlyakov <igor@microunity.com>
672         * combine.c (simplify_set): Don't call to force_to_mode if size
673         of integer type is larger than HOST_BITS_PER_WIDE_INT.
675 2002-09-26  Janis Johnson  <janis187@us.ibm.com>
677         * Makefile.in (qmtest-g++): Fix file path.
679 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
681         * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
682         A + (-const) on RTX level, even for unsigned types.
684 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
686         * reload.c (dup_replacements): New function.
687         (find_reloads): Use it to duplicate replacements at the top level
688         of match_dup operands.
690 2002-09-26  Miles Bader  <miles@gnu.org>
692         * v850.md ("length"): Change default value to 4.
694 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
696         * ChangeLog.1: Follow spelling conventions.
697         * ChangeLog.4: Likewise.
698         * ChangeLog.6: Likewise.
699         * FSFChangeLog.11: Likewise.
700         * doc/cpp.texi: Likewise.
701         * doc/invoke.texi: Likewise.
702         * doc/tm.texi: Likewise.
704 2002-09-26  Nick Clifton  <nickc@redhat.com>
706         * config.gcc: Add x prefix to v850e case for handling
707         --with-cpu=v850e.
709 2002-09-25  David S. Miller  <davem@redhat.com>
711         PR target/7842
712         * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
713         extend.
715 2002-09-25  Richard Henderson  <rth@redhat.com>
717         * emit-rtl.c (const_double_htab_eq): Distinguish integer and
718         fp CONST_DOUBLE; use real_identical.
720 2002-09-25  Mark Mitchell  <mark@codesourcery.com>
722         * doc/invoke.texi: Add more -Wabi examples.
724 2002-09-25  Richard Sandiford  <rsandifo@redhat.com>
726         * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
728 2002-09-24  Denis Chertykov  <denisc@overta.ru>
730         * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
731         cases of optimizing "add sp,w" to "inc sp".
733 2002-09-24  Adam Nemet  <anemet@lnxw.com>
735         * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
736         epilogue for naked functions.
738 2002-09-24  Adam Nemet  <anemet@lnxw.com>
739             Nick Clifton  <nickc@redhat.com>
741         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
742         (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
743         is defined.
745 2002-09-24  Ulrich Weigand  <uweigand@de.ibm.com>
747         * config/s390/s390.c (preferred_la_operand_p): New function.
748         * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
749         * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
750         ("*la_64_cc", "*la_31_cc", splitters): ... these.
751         ("*la_31"): Deactivate for TARGET_64BIT.
752         ("*la_31_and", "*la_31_and_cc"): New.
754 2002-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
756         * real.h (real_value): Make `exp' explicitly signed.
758 2002-09-24  Kazu Hirata  <kazu@cs.umass.edu>
760         * config/elfos.h: Follow spelling conventions.
761         * config/alpha/alpha.h: Likewise.
762         * config/arc/arc.h: Likewise.
763         * config/arm/arm.md: Likewise.
764         * config/avr/avr.h: Likewise.
765         * config/cris/cris.md: Likewise.
766         * config/d30v/d30v.h: Likewise.
767         * config/frv/frv.c: Likewise.
768         * config/frv/frv.h: Likewise.
769         * config/h8300/h8300.c: Likewise.
770         * config/h8300/h8300.h: Likewise.
771         * config/h8300/h8300.md: Likewise.
772         * config/i386/cygwin.h: Likewise.
773         * config/i386/i386.h: Likewise.
774         * config/i386/sysv3.h: Likewise.
775         * config/i960/i960.h: Likewise.
776         * config/ia64/ia64.h: Likewise.
777         * config/ia64/ia64.md: Likewise.
778         * config/ip2k/ip2k.h: Likewise.
779         * config/m32r/m32r.h: Likewise.
780         * config/m68k/m68k.h: Likewise.
781         * config/m88k/m88k.h: Likewise.
782         * config/mcore/mcore.c: Likewise.
783         * config/mcore/mcore.h: Likewise.
784         * config/mcore/mcore.md: Likewise.
785         * config/mips/mips.h: Likewise.
786         * config/mmix/mmix.h: Likewise.
787         * config/mmix/mmix.md: Likewise.
788         * config/ns32k/netbsd.h: Likewise.
789         * config/ns32k/ns32k.h: Likewise.
790         * config/ns32k/ns32k.md: Likewise.
791         * config/pa/pa.h: Likewise.
792         * config/romp/romp.h: Likewise.
793         * config/rs6000/rs6000.h: Likewise.
794         * config/rs6000/rs6000.md: Likewise.
795         * config/sparc/sparc.h: Likewise.
796         * config/stormy16/stormy-abi: Likewise.
797         * config/stormy16/stormy16.h: Likewise.
798         * config/vax/vax.h: Likewise.
800 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
802         * version.c (version_string): Now const char[].
803         * version.h: Update to match.
805 2002-09-23  Richard Henderson  <rth@redhat.com>
807         * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
808         MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
809         (TARGET_SWITCHES): Don't reference them.
810         * config/i386/i386.c (override_options): Use target_flags_explicit
811         to examine bits set by the user.
813 2002-09-23  Dale Johannesen  <dalej@apple.com>
815         * dbxout.c (dbxout_parms):  Set current_sym_code for params
816         passed on stack by invisible reference.
818 2002-09-23  Richard Earnshaw  <rearnsha@arm.com>
820         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
821         at least one byte of space.
823 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
825         * c-common.h (flag_abi_version): Fix typo in comment.
826         * doc/invoke.texi (flag_abi_version): Document default value.
828 2002-09-23  Hans-Peter Nilsson  <hp@axis.com>
830         * doc/extend.texi (Extended Asm): Clarify that overlap between
831         asm-declared register variables used in an asm and the asm clobber
832         list is not allowed.
833         * stmt.c (decl_conflicts_with_clobbers_p): New function.
834         (expand_asm_operands): Keep track of clobbered registers.  Call
835         decl_conflicts_with_clobbers_p for each input and output operand.
836         If no conflicts found before, also do conflict sanity check when
837         emitting clobbers.
839 2002-09-23  Richard Henderson  <rth@redhat.com>
841         * c-common.c (cpp_define_data_format): Remove.
842         (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
843         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
844         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
845         * doc/cpp.texi: Don't document them either.
846         (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
847         __LONG_LONG_MAX__): Document.
848         (__TARGET_FLOAT_FORMAT__): Remove.
850 2002-09-23  Richard Henderson  <rth@redhat.com>
852         * real.c (do_multiply): Normalize U before addition.
854 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
856         * c-common.c (flag_abi_version): New variable.
857         * c-common.h (flag_abi_version): Declare it.
858         * c-opts.c (missing_arg): Add -fabi-version.
859         (c_common_decode_option): Process -fabi-version.
860         * doc/invoke.texi (-fabi-version): Document it.
861         (-Wabi): Add information about bit-fields in unions.
863 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
865         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
866         unless -fno-pic or -fno-PIC is specified.
868 2002-09-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
870         * c-common.c (preprocessing_trad_p): Define.
871         * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
872         (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
873         * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
874         * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
875         * pa-linux.h (CPP_PREDEFINES): Delete.
876         (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
877         * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
878         * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
879         (TARGET_OS_CPP_BUILTINS): Define.
880         * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
881         (TARGET_SWITCHES): Reformat.  Use N_() macro.  Add SUBTARGET_SWITCHES.
882         (SUBTARGET_SWITCHES): Provide default definition.
883         (TARGET_OPTIONS): Reformat.  Use N_() macro.
884         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
885         CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
886         EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
887         (TARGET_CPU_CPP_BUILTINS): Define.
888         (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
889         * doc/invoke.texi (msio, mwsio): Document new hppa options.
890         * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
891         preprocessing_trad_p().
893 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
895         * doc/install.texi: Document behavior of --with-headers and
896         --with-libs when arguments are omitted.
898 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>
900         * dbxout.c: Follow spelling conventions.
901         * defaults.h: Likewise.
902         * df.c: Likewise.
903         * diagnostic.h: Likewise.
904         * doloop.c: Likewise.
905         * dwarf2out.c: Likewise.
906         * dwarfout.c: Likewise.
907         * emit-rtl.c: Likewise.
908         * except.c: Likewise.
909         * explow.c: Likewise.
910         * expmed.c: Likewise.
911         * expr.c: Likewise.
912         * expr.h: Likewise.
913         * flags.h: Likewise.
914         * flow.c: Likewise.
915         * fold-const.c: Likewise.
916         * function.c: Likewise.
917         * function.h: Likewise.
918         * gcc.c: Likewise.
919         * gcov-io.h: Likewise.
920         * gcov.c: Likewise.
921         * gcse.c: Likewise.
922         * genattrtab.c: Likewise.
923         * genconfig.c: Likewise.
924         * genrecog.c: Likewise.
925         * ggc-page.c: Likewise.
926         * ggc.h: Likewise.
927         * global.c: Likewise.
928         * gthr-win32.h: Likewise.
929         * integrate.c: Likewise.
930         * jump.c: Likewise.
931         * langhooks.c: Likewise.
932         * langhooks.h: Likewise.
933         * line-map.h: Likewise.
934         * local-alloc.c: Likewise.
935         * longlong.h: Likewise.
936         * loop.c: Likewise.
937         * loop.h: Likewise.
939 Tue Aug 27 22:26:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
941         * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
943 Tue Aug 27 20:07:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
945         * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
946         for -Os/TARGET_64BIT too.
948 2002-09-21  Kazu Hirata  <kazu@cs.umass.edu>
950         * ChangeLog: Follow spelling conventions.
951         * ChangeLog.0: Likewise.
952         * ChangeLog.1: Likewise.
953         * ChangeLog.2: Likewise.
954         * ChangeLog.3: Likewise.
955         * ChangeLog.4: Likewise.
956         * ChangeLog.5: Likewise.
957         * ChangeLog.6: Likewise.
958         * FSFChangeLog.10: Likewise.
959         * FSFChangeLog.11: Likewise.
960         * alias.c: Likewise.
961         * basic-block.h: Likewise.
962         * c-aux-info.c: Likewise.
963         * c-common.c: Likewise.
964         * c-common.h: Likewise.
965         * c-decl.c: Likewise.
966         * c-format.c: Likewise.
967         * c-semantics.c: Likewise.
968         * c-typeck.c: Likewise.
969         * calls.c: Likewise.
970         * cfganal.c: Likewise.
971         * cfgloop.c: Likewise.
972         * collect2.c: Likewise.
973         * combine.c: Likewise.
974         * conflict.c: Likewise.
975         * cppexp.c: Likewise.
976         * cppfiles.c: Likewise.
977         * cpphash.h: Likewise.
978         * cppinit.c: Likewise.
979         * cpplex.c: Likewise.
980         * cpplib.c: Likewise.
981         * cpplib.h: Likewise.
982         * cppmacro.c: Likewise.
983         * cse.c: Likewise.
985 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
987         * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
988         LINK_SPEC.
989         (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
990         * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
991         (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
993 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
995         PR opt/7930
996         * cse.c (fold_rtx): Calculate old_cost before we fold each
997         operand.
999 2002-09-21  Richard Henderson  <rth@redhat.com>
1001         * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
1002         __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
1003         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
1004         __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
1005         __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
1006         * doc/cpp.texi: Don't document them.
1008 2002-09-21  Richard Henderson  <rth@redhat.com>
1010         * c-common.c (builtin_define_float_constants): Use real_format
1011         to get the floating-point parameters.
1013 2002-09-21  Richard Henderson  <rth@redhat.com>
1015         * real.c (struct real_format): Move to real.h.
1016         (real_format_for_mode): Rename from fmt_for_mode; update all users;
1017         initialize with ieee defaults.
1018         (real_to_target_fmt, real_from_target_fmt): New.
1019         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
1020         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
1021         ieee_quad_format, i370_single_format, i370_double_format,
1022         c4x_single_format, c4x_extended_format): Rename from s/_format//.
1023         (ieee_quad_format): Fix emin.
1024         (format_for_size, init_real_once): Remove.
1025         * real.h (struct real_format): Move from real.c.
1026         (real_format_for_mode): Declare.
1027         (real_to_target_fmt, real_from_target_fmt): Declare.
1028         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
1029         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
1030         ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
1031         i370_single_format, i370_double_format, c4x_single_format,
1032         c4x_extended_format): Declare.
1033         * toplev.c (do_compile): Don't call init_real_once.
1035         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1036         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1038         * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
1039         * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
1040         * config/alpha/alpha.c (override_options): Set real_format_for_mode
1041         for VAX, if enabled.
1043         * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
1044         for C4X.
1046         * config/i370/i370.h (OVERRIDE_OPTIONS): New.
1047         * config/i370/i370.c (override_options): New.
1048         * config/i370/i370-protos.h: Update.
1050         * config/i386/i386.c (override_options): Set real_format_for_mode
1051         for Intel 80-bit extended.
1052         * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1054         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
1055         (OVERRIDE_OPTIONS): Move code...
1056         * config/i960/i960.c (i960_initialize): ... here.  Set
1057         real_format_for_mode for Intel 80-bit extended.
1059         * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
1060         for Intel 80-bit extended, if enabled.
1062         * config/m68k/m68k.c (override_options): Set real_format_for_mode
1063         for Motorola 96-bit extended.
1065         * config/vax/vax.h (OVERRIDE_OPTIONS): New.
1066         * config/vax/vax.c (override_options): New.
1067         * config/vax/vax-protos.h: Update.
1069 2002-09-21  Alan Modra  <amodra@bigpond.net.au>
1071         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
1072         #if TARGET_MACHO.
1074         * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
1075         insns.  Supply missing clobber of scratch reg.
1077 2002-09-20  Kazu Hirata  <kazu@cs.umass.edu>
1079         * config/m32r/m32r.c: Follow spelling conventions.
1080         * config/m32r/m32r.h: Likewise.
1081         * config/m32r/m32r.md: Likewise.
1082         * config/m68k/m68k.c: Likewise.
1083         * config/m88k/m88k.c: Likewise.
1084         * config/mcore/mcore.c: Likewise.
1085         * config/mips/mips.c: Likewise.
1086         * config/mips/mips.h: Likewise.
1087         * config/mmix/mmix.c: Likewise.
1088         * config/mn10200/mn10200.c: Likewise.
1089         * config/ns32k/ns32k.h: Likewise.
1090         * config/pa/pa.c: Likewise.
1091         * config/pa/pa64-linux.h: Likewise.
1092         * config/pdp11/pdp11.h: Likewise.
1093         * config/romp/romp.c: Likewise.
1094         * config/romp/romp.h: Likewise.
1095         * config/rs6000/eabi.asm: Likewise.
1096         * config/rs6000/linux64.h: Likewise.
1097         * config/rs6000/rs6000.c: Likewise.
1098         * config/rs6000/rs6000.h: Likewise.
1099         * config/rs6000/rs6000.md: Likewise.
1100         * config/rs6000/sysv4.h: Likewise.
1101         * config/rs6000/xcoff.h: Likewise.
1103 2002-09-20  Jim Wilson  <wilson@redhat.com>
1105         * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
1107 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
1109         * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
1110         * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
1111         UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
1112         (legitimate_address_p): Likewise.
1113         (legitimize_address): Use @gotntpoff and @indntpoff.
1114         (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
1115         (output_addr_const_extra): Likewise.
1117 2002-09-20  Jim Wilson  <wilson@redhat.com>
1119         * combine.c (try_combine): When split an instruction pair, where the
1120         first has a sign_extend src, verify that the src and dest modes match.
1122 2002-09-20  Richard Henderson  <rth@redhat.com>
1124         * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
1125         (override_options): Do not initialize them.
1126         (mips_const_double_ok): Allow no fp constants except zero,
1127         and not even that for mips16.
1128         (const_float_1_operand): Use dconst1.
1129         * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
1130         movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
1131         Don't allow arbitrary constants; fix predicates and C constraint.
1133 2002-09-20  Neil Booth  <neil@daikokuya.co.uk>
1135         * cppmacro.c: Don't warn about function-like macros without
1136         '(' during pre-expansion.
1138 2002-09-20  Jim Wilson  <wilson@redhat.com>
1140         * config/v850/v850.c (current_function_anonymous_args): Delete.
1141         (expand_prologue): Use current_function_args_info.anonymous_args.
1142         (expand_epilogue): Delete use of current_function_anonymous_args.
1143         * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
1144         (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
1145         (current_function_anonymous_args): Delete extern declaration.
1146         (SETUP_INCOMING_VARARGS): Set anonymous_args field.
1148 2002-09-20  Geoffrey Keating  <geoffk@apple.com>
1150         * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
1151         to load_macho_picbase.
1152         * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
1153         (load_macho_picbase): Take the symbol to use as a parameter.
1154         (macho_correct_pic): New insn.
1155         (builtin_setjmp_reciever): On Darwin, restore the PIC register.
1157         * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
1158         RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
1159         (CAN_ELIMINATE): Likewise.
1160         (INITIAL_ELIMINATION_OFFSET): Likewise.
1161         (TOC_REGISTER): Likewise.
1163 2002-09-20  Richard Henderson  <rth@redhat.com>
1165         * real.c (real_hash): New.
1166         * real.h: Declare it.
1167         * cse.c (canon_hash): Use it.
1168         * cselib.c (hash_rtx): Likewise.
1169         * emit-rtl.c (const_double_htab_hash): Likewise.
1170         * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
1171         * varasm.c (struct rtx_const): Reduce vector size; separate
1172         integer and fp vectors.
1173         (HASHBITS): Remove.
1174         (const_hash_1): Rename from const_hash.  Use real_hash.  Do not
1175         take modulus MAX_HASH_TABLE.
1176         (const_hash): New.  Do take modulus MAX_HASH_TABLE.
1177         (output_constant_def): Do not take modulus MAX_HASH_TABLE.
1178         (SYMHASH): Don't use HASHBITS.
1179         (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
1180         Fix CONST_VECTOR thinko wrt fp vectors.  Fix kind comparison.
1181         (simplify_subtraction): Fix kind comparison.
1182         (const_hash_rtx): Return unsigned int.  Don't use HASHBITS.
1183         Use a union to pun integer array.
1184         * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
1185         only hash two words of integral CONST_DOUBLE.
1187 2002-09-20  Steve Ellcey  <sje@cup.hp.com>
1189         * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
1190         (STARTFILE_PREFIX_SPEC): New.
1191         (LINK_SPEC): Modify.
1192         (LIB_SPEC): Modify.
1193         (LIBGCC_SPEC): New.
1195 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
1197         * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
1198         UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
1200 2002-09-20  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
1202         * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
1203         Add clobber of the condition code register.
1205 2002-09-20  Richard Henderson  <rth@redhat.com>
1207         * real.c (do_fix_trunc): Static.
1208         (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
1209         encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
1210         encode_i370_single, encode_i370_double, encode_c4x_single,
1211         encode_c4x_extended): Add default abort case.
1213 2002-09-20  Richard Henderson  <rth@redhat.com>
1215         * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
1216         MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
1217         (struct realvaluetype): Remove.
1218         (REAL_VALUE_TYPE): Use struct real_value.
1219         (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
1220         (test_real_width): New.
1221         * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
1222         (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
1223         (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
1224         real_isneg, real_isnegzero, real_identical, exact_real_inverse,
1225         real_to_integer, real_to_integer2, real_to_decimal,
1226         real_to_hexadecimal, real_from_string, real_from_integer,
1227         real_inf, real_nan, real_2expN, real_convert, real_to_target,
1228         real_from_target): Likewise.
1229         * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
1230         * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
1232 2002-09-20  Richard Henderson  <rth@redhat.com>
1234         * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
1235         IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
1236         * defaults.h: ... here.
1237         * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
1238         config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
1239         config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
1240         config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
1242 2002-09-20  Hans-Peter Nilsson  <hp@bitrange.com>
1244         * config/mmix/mmix.md ("negdf2"): Rewrite.
1245         ("*expanded_negdf2"): New.
1247 2002-09-19  Jim Wilson  <wilson@redhat.com>
1249         * combine.c (simplify_set): When optimizing a subreg src with a
1250         cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
1252 2002-09-19  Dale Johannesen <dalej@apple.com>
1253         * combine.c (make_extraction): Don't create
1254         invalid subreg.
1256 2002-09-19  Ulrich Weigand  <uweigand@de.ibm.com>
1258         * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
1259         and STRICT_LOW_PART within SET_DEST.
1260         * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
1261         splitters, replacing pre-reload splitters.
1262         ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
1263         "*zero_extendqihi2_31"): New insns.
1264         ("*zero_extendqihi2_64"): Do not clobber CC.
1266 2002-09-19  Steve Ellcey  <sje@cup.hp.com>
1268         * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
1269         (DTORS_SECTION_ASM_OP): Ditto.
1270         (READONLY_DATA_SECTION_ASM_OP): Moved.
1271         (DATA_SECTION_ASM_OP): New.
1272         (SDATA_SECTION_ASM_OP): New.
1273         (BSS_SECTION_ASM_OP): New.
1274         (SBSS_SECTION_ASM_OP): New.
1275         (TEXT_SECTION_ASM_OP): New.
1277 2002-09-19  Kazu Hirata  <kazu@cs.umass.edu>
1279         * config/fp-bit.c: Follow spelling conventions.
1280         * config/d30v/d30v.c: Likewise.
1281         * config/d30v/d30v.h: Likewise.
1282         * config/fr30/fr30.c: Likewise.
1283         * config/fr30/fr30.h: Likewise.
1284         * config/fr30/fr30.md: Likewise.
1285         * config/frv/frv.c: Likewise.
1286         * config/frv/frv.h: Likewise.
1287         * config/h8300/h8300.c: Likewise.
1288         * config/h8300/lib1funcs.asm: Likewise.
1289         * config/i370/i370.c: Likewise.
1290         * config/i386/i386.h: Likewise.
1291         * config/i386/i386.md: Likewise.
1292         * config/i386/pentium.md: Likewise.
1293         * config/i386/winnt.c: Likewise.
1294         * config/i960/i960.c: Likewise.
1295         * config/ia64/ia64.h: Likewise.
1296         * config/ip2k/ip2k.c: Likewise.
1297         * config/ip2k/ip2k.h: Likewise.
1298         * config/ip2k/ip2k.md: Likewise.
1299         * config/ip2k/libgcc.S: Likewise.
1301 2002-09-19  Stephen Clarke <stephen.clarke@superh.com>
1303         * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
1304         (GOTOFF_P): Extend to allow gotoff plus constant.
1306 2002-09-18  Richard Henderson  <rth@redhat.com>
1308         * ifcvt.c (noce_process_if_block): Correctly detect X modified
1309         with INSN_B before COND_EARLIEST.  Don't check A and B for
1310         modification in condition range.  Reorder INSN_B for A==B properly.
1311         (if_convert): Iterate until no matches for a block.
1313 2002-09-18  Richard Henderson  <rth@redhat.com>
1315         * calls.c (store_one_arg): Rename default_align to parm_align;
1316         always adjust parm_align for downward padding.
1318 2002-09-18  Richard Henderson  <rth@redhat.com>
1320         * toplev.c (backend_init): Move init_real_once invocation ...
1321         (do_compile): ... here.
1323 2002-09-18  Richard Henderson  <rth@redhat.com>
1325         * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
1326         RTX_UNCHANGING_P markers for successful tail-recursive replacement.
1328 2002-09-18  Richard Henderson  <rth@redhat.com>
1330         * real.c (round_for_format): Collect sticky as unsigned long, not bool.
1332 2002-09-19  Alan Modra  <amodra@bigpond.net.au>
1334         * config/rs6000/rs6000.md: (floatdisf2): Rename to
1335         floatdisf2_internal1.
1336         (floatdisf2): New define_expand.
1337         (floatdisf2_internal2): Likewise.
1339 2002-09-18  Richard Henderson  <rth@redhat.com>
1341         * real.c (sticky_rshift_significand): Collect sticky as
1342         unsigned long, not bool.
1344 2002-09-18  Ulrich Weigand  <uweigand@de.ibm.com>
1346         * config/s390/s390.c (s390_address_cost): New function.
1347         config/s390/s390-protos.h (s390_address_cost): Add prototype.
1348         config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
1349         (RTX_COST): Use COSTS_N_INSNS.
1351 2002-09-18  Douglas Rupp  <rupp@gnat.com>
1352             Donn Terry  <donnte@microsoft.com>
1354         * stor-layout.c (place_field): Handle alignment of whole
1355         structures when MSVC compatible bitfields are involved.
1356         Change method of computing location of MS bitfields to
1357         be compatible with #pragma pack(n).
1359         * tree.h (record_layout_info): Add new field
1360         remaining_in_alignment.
1362         * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
1363         (pragma pack): Add paragraph on MSVC bit-field packing.
1365 2002-09-18  Richard Earnshaw  (reanrsha@arm.com)
1367         PR optimization/7967
1368         * arm.md (ne_zeroextractsi): Add clobber of the condition code
1369         register.
1371 2002-09-18  Kazu Hirata  <kazu@cs.umass.edu>
1373         * config/s390/s390.c: Follow spelling conventions.
1374         * config/sh/lib1funcs.asm: Likewise.
1375         * config/sh/sh.c: Likewise.
1376         * config/sh/sh.h: Likewise.
1377         * config/sparc/sparc.c: Likewise.
1378         * config/sparc/sparc.h: Likewise.
1379         * config/sparc/sparc.md: Likewise.
1380         * config/stormy16/stormy16.c: Likewise.
1381         * config/stormy16/stormy16.h: Likewise.
1382         * config/v850/v850.c: Likewise.
1383         * config/v850/v850.h: Likewise.
1384         * config/vax/vax.c: Likewise.
1385         * config/vax/vax.h: Likewise.
1387 2002-09-18  Nick Clifton  <nickc@redhat.com>
1389         * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
1390         * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
1391         * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
1393 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
1395         * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
1396         statement that the only translation is to en_UK.
1398 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
1400         * config/alpha/alpha.c: Follow spelling conventions.
1401         * config/alpha/alpha.h: Likewise.
1402         * config/alpha/alpha.md: Likewise.
1403         * config/arc/arc.h: Likewise.
1404         * config/arm/arm.c: Likewise.
1405         * config/arm/arm.h: Likewise.
1406         * config/arm/arm.md: Likewise.
1407         * config/arm/pe.c: Likewise.
1408         * config/arm/unknown-elf.h: Likewise.
1409         * config/avr/avr.c: Likewise.
1410         * config/avr/avr.h: Likewise.
1411         * config/c4x/c4x.c: Likewise.
1412         * config/cris/cris.c: Likewise.
1413         * config/cris/cris.h: Likewise.
1415 2002-09-17  Samuel Figueroa  <figueroa@apple.com>
1417         * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
1418         * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
1419         * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
1421 2002-09-17  Dale Johannesen  <dalej@apple.com>
1423         * cfgcleanup.c (try_forward_edges):  Do not forward a
1424         branch to just after a loop exit before loop optimization;
1425         this interfered with doloop detection.
1427 2002-09-17  Nick Clifton  <nickc@redhat.com>
1429         * config/arm/arm.c (output_return_instruction): Do not
1430         writeback the stack pointer when it is being loaded.
1431         (arm_output_epilogue): Likewise.
1433 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
1435         * optabs.c (prepare_cmp_insn): Let emit_library_call_value
1436         generate a pseudo reg that receives the result of a libcall.
1437         (prepare_float_lib_cmp): Likewise.
1439 2002-09-17  Steve Ellcey  <sje@cup.hp.com>
1441         * config/ia64/elf.h: Remove CPP_PREDEFINES.
1443 Tue Sep 17 13:58:04 2002  Nicola Pero  <n.pero@mi.flashnet.it>
1445         Fix PR/7014 and related objc bugs:
1446         * c-typeck.c (comp_target_types): Added a reflexive argument.
1447         Pass it to ObjC when/if calling objc_comptypes().  Updated all
1448         callers to provide the appropriate reflexive argument.
1449         * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
1450         typechecking for all cases of comparisons and assignments,
1451         particularly the obscure and less common ones involving protocols.
1453 2002-09-17  Nick Clifton  <nickc@redhat.com>
1455         * machmode.def (V1DImode): New mode.  A single element vector.
1456         * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
1457         (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
1458         * tree.c (build_common_tree_nodes_2): Build
1459         unsigned_V1DI_type_node and V1D1_type_node.
1460         * c-common.c (c_common_type_for_mode): Return
1461         unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
1462         * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
1464 Tue Sep 17 13:40:13 2002  Nicola Pero  <n.pero@mi.flashnet.it>
1466         * doc/objc.texi (Constant string objects): Extended documentation
1467         to make clear that the constant string class ivar layout is
1468         completely fixed.
1470 2002-09-17  Roger Sayle  <roger@eyesopen.com>
1472         * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
1473         NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
1475 2002-09-16  Richard Henderson  <rth@redhat.com>
1477         * expr.c (emit_block_move): Set memory block size as appropriate
1478         for the copy.
1480 2002-09-16  Richard Henderson  <rth@redhat.com>
1482         PR fortran/3924
1483         * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
1485 2002-09-16  Richard Henderson  <rth@redhat.com>
1487         * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
1488         as well as OFFSET for BITPOS.
1490 2002-09-16  Jeff Garzik  <jgarzik@mandrakesoft.com>
1492         * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
1493         * config/i386/i386.c (processor_alias_table): Add winchip-c6,
1494         winchip2 and c3.
1495         * doc/invoke.texi: Mention new aliases.
1497 2002-09-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1499         * calls.c (store_one_arg): Set default alignment for BLKmode arguments
1500         to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
1501         downward.
1502         * function.c (pad_below):  Always compile.
1503         (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
1504         alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
1505         Pad below when the argument is not in a register and the padding
1506         direction is downward.
1508         * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
1509         (PAD_VARARGS_DOWN): Define.
1510         * pa.c (function_arg_padding): Revise padding directions to make them
1511         compatible with the 32 and 64-bit runtime architecture documentation.
1512         (hppa_va_arg):  Add code to handle variable and size zero arguments
1513         passed by reference on TARGET_64BIT.  Reformat.
1514         (function_arg): Use a PARALLEL for BLKmode and aggregates args on
1515         TARGET_64BIT.  Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
1516         wide when !TARGET_64BIT.  Move forward check for mode==VOIDmode.
1517         Add comments.
1518         * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
1519         (RETURN_IN_MEMORY): Return size zero types in memory.
1520         (FUNCTION_VALUE): Return TFmode in general registers.
1521         (MUST_PASS_IN_STACK): Define.
1522         (FUNCTION_ARG_BOUNDARY): Simplify.
1523         (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
1524         by reference.
1525         (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
1527 2002-09-16  Richard Henderson  <rth@redhat.com>
1529         * real.c (do_fix_trunc): New.
1530         (real_arithmetic): Call it.
1531         * simplify-rtx.c (simplify_unary_operation): Handle FIX
1532         with a floating-point result mode.
1534 2002-09-16  Richard Henderson  <rth@redhat.com>
1536         * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
1537         (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
1538         * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
1539         (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
1540         * builtins.c (fold_builtin_nan): New.
1541         (fold_builtin): Call it.
1542         * real.c (real_nan): Parse a non-empty string.
1543         (round_for_format): Fix NaN significand truncation.
1544         * real.h (real_nan): Return bool.
1545         * doc/extend.texi: Document new builtins.
1547 2002-09-16  Jason Merrill  <jason@redhat.com>
1548             Danny Smith  <dannysmith@users.sourceforge.net>
1550         * config/i386/winnt.c (ix86_handle_dll_attribute): Set
1551         DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
1552         (i386_pe_mark_dllimport): Not here.
1554 2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>
1556         * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
1558 2002-09-16  Geoffrey Keating  <geoffk@redhat.com>
1560         * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
1561         warnings about unused operands when HOST_BITS_PER_WIDE_INT is
1562         < 64.
1563         (rs6000_emit_cmove): Use real_isinf not target_isinf.
1565 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
1567         * calls.c (emit_library_call_value_1): Don't refer to
1568         hard_libcall_value.
1569         * optabs.c (prepare_float_lib_cmp): Likewise.
1571 2002-09-16  Geoffrey Keating  <geoffk@apple.com>
1573         * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
1574         mangling.
1576         The following changes are merged from pch-branch:
1578         * doc/gty.texi (GTY Options): Document %a.
1579         * gengtype.c (do_scalar_typedef): New function.
1580         (process_gc_options): Handle `length' option.
1581         (set_gc_used_type): A pointer to an array of structures doesn't
1582         qualify as a pointer to a structure.
1583         (output_escaped_param): Add `%a' escape.
1584         (write_gc_structure_fields): Allow 'desc' on array of unions.
1585         (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
1586         do_scalar_typedef.
1588         * gengtype.c (enum rtx_code): Make global.
1589         (rtx_format): Make global.
1590         (rtx_next): New.
1591         (gen_rtx_next): New.
1592         (write_rtx_next): New.
1593         (adjust_field_rtx_def): Skip fields marked by chain_next.
1594         (open_base_files): Delete redundant prototype.
1595         (write_enum_defn): New.
1596         (output_mangled_typename): Correct abort call.
1597         (write_gc_marker_routine_for_structure): Handle chain_next and
1598         chain_prev options.
1599         (finish_root_table): Don't output redundant \n.
1600         (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
1601         * c-tree.h (union lang_tree_node): Add chain_next option.
1603         * gengtype.h (NUM_PARAM): New definition.
1604         (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
1605         * gengtype.c (find_param_structure): New.
1606         (adjust_field_type): Handle param<n>_is option.
1607         (process_gc_options): Detect use_params option.  Update callers.
1608         (set_gc_used_type): Add 'param' parameter, update callers.  Handle
1609         'use_params' option.
1610         (open_base_files): Add splay-tree.h to list of files included.
1611         (output_mangled_typename): New.
1612         (write_gc_structure_fields): Update 'param' parameter to support
1613         multiple parameters.  Change name mangling.  Allow parameterized
1614         fields to have an apparent scalar type.  Handle param<n>_is options,
1615         use_param option.
1616         (write_gc_marker_routine_for_structure): Update for change to name
1617         mangling.  Better guess the output file for parameterized types.
1618         (write_gc_types): Update for change to name mangling.
1619         (write_gc_root): Update for change to name mangling.  Handle (ignore)
1620         param<n>_is options.
1621         * doc/gty.texi (GTY Options): Add description of param<n>_is
1622         options, use_params option.
1623         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
1624         * gengtype-lex.l: Produce token for param<n>_is.
1625         * gengtype-yacc.y: Parse param<n>_is.
1627         * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
1629         * rtl.c: Update comment describing rtx_format.
1630         * rtl.h (union rtunion): Separate definition and typedef.
1631         (struct rtx_def): Use gengtype to mark.
1632         * Makefile.in (gengtype.o): Also depend on rtl.def.
1633         * ggc.h (ggc_mark_rtx_children): Delete prototype.
1634         (ggc_mark_rtx): Change to alias of gengtype-generated routine.
1635         * ggc-common.c (ggc_mark_rtx_children): Delete.
1636         (ggc_mark_rtx_children_1): Delete.
1637         (gt_ggc_m_rtx_def): Delete.
1638         * gengtype.c (adjust_field_rtx_def): New.
1639         (adjust_field_type): Call adjust_field_rtx_def.
1640         (write_gc_structure_fields): Add 'default' case to switch if none
1641         is specified; remove unused code.
1643         * tree.h (struct tree_exp): Update for change to meaning
1644         of special.
1645         * gengtype.c (adjust_field_tree_exp): New function.
1646         (adjust_field_type): Handle `tree_exp' special here.
1647         (write_gc_structure_fields): Don't handle `tree_exp' special here.
1648         Handle new `dot' option.
1650         * gengtype.h: Make `info' a pointer-to-const.
1651         * gengtype-yacc.y (yacc_ids): Use xasprintf.
1653         * gengtype.c (write_gc_structure_fields): Remove implementation
1654         of `always' option, add `default' option.
1655         * doc/gty.texi (GTY Options): Remove documentation of `always',
1656         add `default'.
1658 2002-09-16  Hans-Peter Nilsson  <hp@bitrange.com>
1660         * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
1662 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1664         * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
1666         * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
1667         instead of the *-protos.h file directly.
1668         * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
1669         * darwin.c (machopic_output_stub): Move prototype ...
1670         * darwin-protos.h (machopic_output_stub): ... here.
1671         * rs6000-protos.h (machopic_output_stub): Don't declare.
1673 2002-09-16  Richard Henderson  <rth@redhat.com>
1675         * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
1677 2002-09-16  Richard Henderson  <rth@redhat.com>
1679         * real.c, real.h: Rewrite from scratch.
1681         * Makefile.in (simplify-rtx.o): Depend on TREE_H.
1682         (paranoia): New target.
1683         * builtins.c (fold_builtin_inf): Use new real.h interface.
1684         * c-common.c (builtin_define_with_hex_fp_value): Likewise.
1685         * c-lex.c (interpret_float): Likewise.
1686         * emit-rtl.c (gen_lowpart_common): Likewise.
1687         * optabs.c (expand_float): Use real_2expN.
1688         * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
1689         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
1690         (FLOAT_WORDS_BIG_ENDIAN): New.
1691         * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
1692         directly to REAL_VALUE_NEGATIVE.
1693         * loop.c (canonicalize_condition): Likewise.
1694         * simplify-rtx.c: Include tree.h.
1695         (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
1696         with floating-point result modes.
1697         * toplev.c (backend_init): Call init_real_once.
1699         * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
1700         * tree.c (build_real): Likewise.
1701         * config/alpha/alpha.c, config/vax/vax.c (float_strings,
1702         float_values, inited_float_values, check_float_value): Remove.
1703         * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
1704         config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
1705         * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
1706         (VAX_HALFWORD_ORDER): Remove.
1708 2002-09-16  Ulrich Weigand  <uweigand@de.ibm.com>
1710         * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
1711         (s390_load_address): ... this new function.
1712         (s390_decompose_address): Allow the argument pointer and all
1713         virtual registers as 'pointer' registers.
1714         (s390_expand_plus_operand): Use s390_load_address.
1715         config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
1716         ("force_la_31"): New insn pattern.
1717         config/s390/s390-protos.h (legitimize_la_operand): Remove.
1718         (s390_load_address): Add prototype.
1720         * config/s390/s390.c: Include "optabs.h".
1721         (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
1722         config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
1723         s390_expand_cmpstr): Add prototypes.
1724         config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
1725         ("movstrdi_short"): Rename to "movstr_short_64".  Change predicates
1726         for operands 0 and 1 to "memory_operand".  Add type attribute.
1727         ("movstrsi_short"): Rename to "movstr_short_31".  Change predicates
1728         for operands 0 and 1 to "memory_operand".  Add type attribute.
1729         ("movstrdi_long", "movstrsi_long"): Remove.
1730         ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
1731         ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
1732         ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
1733         ("clrstrsico"): Remove, replace by ...
1734         ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
1735         ("clrstrsi_64"): Rename to "clrstr_long_64".
1736         ("clrstrsi_31"): Rename to "clrstr_long_31".
1737         ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
1738         ("cmpstr_const"): Remove, replace by ...
1739         ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
1740         ("cmpstr_64"): Rename to "cmpstr_long_64".
1741         ("cmpstr_31"): Rename to "cmpstr_long_31".
1743 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
1745         * ABOUT-NLS: Follow spelling conventions.
1746         * ChangeLog: Likewise.
1747         * ChangeLog.1: Likewise.
1748         * ChangeLog.2: Likewise.
1749         * ChangeLog.3: Likewise.
1750         * ChangeLog.4: Likewise.
1751         * ChangeLog.5: Likewise.
1752         * ChangeLog.6: Likewise.
1753         * FSFChangeLog.10: Likewise.
1754         * FSFChangeLog.11: Likewise.
1755         * c-common.c: Likewise.
1756         * c-lex.c: Likewise.
1757         * c-objc-common.c: Likewise.
1758         * cppexp.c: Likewise.
1759         * cppinit.c: Likewise.
1760         * cpplex.c: Likewise.
1761         * doloop.c: Likewise.
1762         * flow.c: Likewise.
1763         * function.c: Likewise.
1764         * integrate.c: Likewise.
1765         * loop.c: Likewise.
1766         * reg-stack.c: Likewise.
1767         * reload.h: Likewise.
1768         * ssa.c: Likewise.
1770 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
1772         * ChangeLog: Follow spelling conventions.
1773         * ChangeLog.0: Likewise.
1774         * ChangeLog.1: Likewise.
1775         * ChangeLog.2: Likewise.
1776         * ChangeLog.4: Likewise.
1777         * ChangeLog.6: Likewise.
1778         * config.gcc: Likewise.
1779         * dwarfout.c: Likewise.
1780         * reload1.c: Likewise.
1781         * simplify-rtx.c: Likewise.
1782         * unwind-sjlj.c: Likewise.
1783         * config/avr/avr.h: Likewise.
1784         * config/d30v/d30v.h: Likewise.
1785         * config/frv/frv.c: Likewise.
1786         * config/frv/frv.h: Likewise.
1787         * config/ip2k/ip2k.h: Likewise.
1788         * config/m88k/m88k-move.sh: Likewise.
1789         * config/stormy16/stormy16.c: Likewise.
1790         * config/stormy16/stormy16.h: Likewise.
1791         * doc/extend.texi: Likewise.
1792         * doc/interface.texi: Likewise.
1793         * doc/invoke.texi: Likewise.
1794         * doc/md.texi: Likewise.
1795         * doc/rtl.texi: Likewise.
1796         * doc/tm.texi: Likewise.
1797         * doc/trouble.texi: Likewise.
1798         * ginclude/float.h: Likewise.
1799         * treelang/treelang.texi: Likewise.
1801 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1803         * i386-protos.h (i386_pe_dllexport_name_p,
1804         i386_pe_dllimport_name_p, i386_pe_unique_section,
1805         i386_pe_declare_function_type, i386_pe_record_external_function,
1806         i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
1807         prototype.
1808         * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
1809         * i386/t-interix (winnt.o): Likewise.
1811         * v850-protos.h (v850_output_addr_const_extra): Prototype.
1813 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
1815         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
1816         MIPS ABI CPP macros.
1817         (TARGET_CPU_CPP_BUILTINS): Redefine.
1818         (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
1819         (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
1821 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1823         * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
1825 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
1827         * ChangeLog: Follow spelling conventions.
1828         * ChangeLog.0: Likewise.
1829         * ChangeLog.1: Likewise.
1830         * ChangeLog.2: Likewise.
1831         * ChangeLog.3: Likewise.
1832         * ChangeLog.4: Likewise.
1833         * ChangeLog.5: Likewise.
1834         * ChangeLog.6: Likewise.
1835         * FSFChangeLog.10: Likewise.
1836         * FSFChangeLog.11: Likewise.
1837         * c-common.c: Likewise.
1838         * c-common.h: Likewise.
1839         * c-format.c: Likewise.
1840         * c-opts.c: Likewise.
1841         * cpplib.c: Likewise.
1842         * langhooks.h: Likewise.
1843         * real.c: Likewise.
1844         * reg-stack.c: Likewise.
1845         * toplev.c: Likewise.
1846         * config/arm/arm.c: Likewise.
1847         * config/arm/arm.md: Likewise.
1848         * config/arm/linux-gas.h: Likewise.
1849         * config/arm/netbsd.h: Likewise.
1850         * config/c4x/c4x.c: Likewise.
1851         * config/c4x/c4x.h: Likewise.
1852         * config/c4x/c4x.md: Likewise.
1853         * config/c4x/libgcc.S: Likewise.
1854         * config/fr30/fr30.md: Likewise.
1855         * config/frv/frv.md: Likewise.
1856         * config/ia64/ia64.md: Likewise.
1857         * config/mips/mips.h: Likewise.
1858         * config/mn10300/mn10300.c: Likewise.
1859         * config/stormy16/stormy16.c: Likewise.
1860         * config/v850/v850.md: Likewise.
1861         * doc/extend.texi: Likewise.
1862         * doc/invoke.texi: Likewise.
1863         * doc/md.texi: Likewise.
1865 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
1867         * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
1868         library if -pthread is specified.
1870 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
1872         * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
1873         for --enable-threads=yes and --enable-threads=posix.
1875 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
1877         * config/sparc/cypress.md: Replace Sparc with SPARC.
1878         * config/sparc/freebsd.h: Likewise.
1879         * config/sparc/gmon-sol2.c: Likewise.
1880         * config/sparc/hypersparc.md: Likewise.
1881         * config/sparc/lb1spc.asm: Likewise.
1882         * config/sparc/lb1spl.asm: Likewise.
1883         * config/sparc/linux.h: Likewise.
1884         * config/sparc/linux64.h: Likewise.
1885         * config/sparc/lynx.h: Likewise.
1886         * config/sparc/sol2.h: Likewise.
1887         * config/sparc/sparc-modes.def: Likewise.
1888         * config/sparc/sparc.c: Likewise.
1889         * config/sparc/sparc.h: Likewise.
1890         * config/sparc/sparc.md: Likewise.
1891         * config/sparc/sparclet.md: Likewise.
1892         * config/sparc/supersparc.md: Likewise.
1893         * config/sparc/sysv4.h: Likewise.
1894         * config/sparc/vxsim.h: Likewise.
1895         * config/sparc/vxsparc64.h: Likewise.
1897 2002-09-14  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1899         * config/avr/avr.c (output.h): Move after inclusion of tree.h.
1901 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
1903         * ChangeLog: Follow spelling conventions.
1904         * ChangeLog.0: Likewise.
1905         * ChangeLog.2: Likewise.
1906         * ChangeLog.3: Likewise.
1907         * ChangeLog.4: Likewise.
1908         * ChangeLog.5: Likewise.
1909         * ChangeLog.6: Likewise.
1910         * cppfiles.c: Likewise.
1911         * cppinit.c: Likewise.
1912         * cpplib.h: Likewise.
1913         * cse.c: Likewise.
1914         * debug.h: Likewise.
1915         * df.c: Likewise.
1916         * dominance.c: Likewise.
1917         * hashtable.c: Likewise.
1918         * hashtable.h: Likewise.
1919         * loop.c: Likewise.
1920         * config/arm/README-interworking: Likewise.
1921         * config/arm/arm.c: Likewise.
1922         * config/arm/arm.h: Likewise.
1923         * config/arm/arm.md: Likewise.
1924         * config/dsp16xx/dsp16xx.h: Likewise.
1925         * config/frv/frv.c: Likewise.
1926         * config/frv/frv.h: Likewise.
1927         * config/ip2k/ip2k.h: Likewise.
1928         * config/rs6000/rs6000.c: Likewise.
1929         * config/stormy16/stormy-abi: Likewise.
1930         * config/stormy16/stormy16.h: Likewise.
1931         * config/v850/v850.c: Likewise.
1933 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
1935         * loop.c: Fix a comment typo.
1937 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
1939         * config/fr30/fr30.h: Fix comment typos.
1940         * config/frv/frv.c: Likewise.
1941         * config/i386/xmmintrin.h: Likewise.
1942         * config/mips/mips.c: Likewise.
1943         * config/sh/sh.c: Likewise.
1945 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
1947         * haifa-sched.c: Follow spelling conventions.
1948         * regclass.c: Likewise.
1949         * regrename.c: Likewise.
1950         * config/fp-bit.c: Likewise.
1951         * config/frv/frv.h: Likewise.
1952         * config/m88k/m88k.c: Likewise.
1953         * config/mcore/mcore.c: Likewise.
1954         * config/rs6000/darwin.h: Likewise.
1955         * config/rs6000/gnu.h: Likewise.
1956         * config/rs6000/linux.h: Likewise.
1957         * config/rs6000/linux64.h: Likewise.
1958         * config/rs6000/rs6000.c: Likewise.
1959         * config/rs6000/rs6000.h: Likewise.
1960         * config/sh/sh.c: Likewise.
1961         * config/sparc/sparc.c: Likewise.
1962         * config/sparc/ultra1_2.md: Likewise.
1964 2002-09-14  Stephane Carrez  <stcarrez@nerim.fr>
1966         * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
1967         memory operand when source is 0 (K constraint).
1968         ("movsi_internal"): Likewise.
1969         ("movdf_internal"): Likewise.
1970         ("movsf_internal"): Likewise.
1972 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
1974         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
1975         targetm.binds_local_p to set SYMBOL_REF_FLAG.
1976         (rs6000_xcoff_encode_section_info): Likewise.
1977         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1979 2002-09-10  Theodore A. Roth  <troth@verinet.com>
1981         * gcc/config/avr/avr.h: Set default options for C++ for avr.
1983 2002-09-13  Richard Henderson  <rth@redhat.com>
1985         * Makefile.in (toplev.o): Depend on real.h.
1986         (print-rtl.o, varasm.o, ifcvt.o): Likewise.
1988 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
1990         * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
1991         * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
1992         * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
1994 2002-09-13  Nathan Sidwell  <nathan@codesourcery.com>
1996         * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
1998 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
2000         * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
2001         ia64*-*-linux*): Set extra_parts.
2002         * config/ia64/t-aix (EXTRA_PARTS): Remove.
2003         * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
2005 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
2007         * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
2008         * config/h8300/h8300.c: Likewise.
2009         * config/h8300/h8300.h: Likewise.
2010         * config/h8300/h8300.md: Likewise.
2011         * doc/invoke.texi: Likewise.
2013 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
2015         * config/h8300/h8300.c (h8300_init_once): Fix formatting.
2017 2002-09-13  Matt Austern  <austern@apple.com>
2019         * cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p.
2020         * cp/call.c: Change call-by-const-reference mechanism to use
2021         non_cast_lvalue_p when deciding whether the create a temporary.
2022         We need a temporary when passing, e.g. (long) x by const ref.
2023         * testsuite/g++.dg/other/constref[12].C: New, regression tests for
2024         passing a cast expression to a function by const reference.
2026 2002-09-13  Richard Henderson  <rth@redhat.com>
2028         * config/alpha/alpha.md (attr type): Add callpal.
2029         (imb, trap, load_tp, set_tp): Use it.
2030         * config/alpha/ev4.md (ev4_callpal): New.
2031         * config/alpha/ev5.md (ev5_callpal): New.
2032         * config/alpha/ev6.md (ev6_ibr): Handle callpal.
2033         * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
2034         (alphaev5_insn_pipe): Likewise.
2036 2002-09-13  Andreas Jaeger  <aj@suse.de>
2038         * Makefile.in (print-rtl.o): Depend on CONFIG_H.
2040 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
2042         * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
2043         LIB2ADDEH): New, set to NULL.
2044         (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
2046 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
2048         * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
2049         (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
2050         (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
2051         Add declarations.
2052         (_U_Qfneg): Remove.
2054 2002-09-13 Dhananjay Deshpande  <dhananjayd@kpit.com>
2056         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
2057         for H8/300, H8S aa:8 mode.
2058         (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
2059         * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
2060         for H8/300 aa:8 mode.
2062 2002-09-13  Hartmut Penner  <hpenner@de.ibm.com>
2064         * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
2065         insns.
2067 2002-09-12  Richard Henderson  <rth@redhat.com>
2069         * Makefile.in (HOST_PRINT): Use print-rtl1.o
2070         (print-rtl.o): Don't define GENERATOR_FILE.
2071         (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
2072         * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
2073         unless GENERATOR_FILE.
2075 2002-09-12  Stan Shebs  <shebs@apple.com>
2077         * config/darwin.h (USER_LABEL_PREFIX): Define here...
2078         * config/i386/darwin.h: ... instead of here.
2080         * target.h (struct gcc_target): New field
2081         terminate_dw2_eh_frame_info.
2082         * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
2083         (TARGET_INITIALIZER): Add it.
2084         * dwarf2out.c (output_call_frame_info): Use target hook.
2085         * dwarf2asm.c (dw2_asm_output_delta): Use macro
2086         ASM_OUTPUT_DWARF_DELTA if defined.
2087         * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
2088         (ASM_OUTPUT_DWARF_DELTA): Ditto.
2089         (ASM_OUTPUT_DWARF_OFFSET): Ditto.
2090         (ASM_OUTPUT_DWARF_PCREL): Ditto.
2091         * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
2092         (powerpc-*-darwin*): Ditto.
2093         * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
2094         to work correctly for Darwin.
2095         * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
2096         (STARTFILE_SPEC): Add crtbegin.o.
2097         (ENDFILE_SPEC): Define.
2098         (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
2099         (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
2100         (ASM_OUTPUT_DWARF_DELTA): Define.
2101         (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
2102         * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
2104 2002-09-13  Alan Modra  <amodra@bigpond.net.au>
2106         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
2107         nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
2108         * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
2110 2002-09-12  Zack Weinberg  <zack@codesourcery.com>
2112         * toplev.c: Move default definition of USER_LABEL_PREFIX...
2113         * defaults.h: ... here.
2115 2002-09-12  Richard Henderson  <rth@redhat.com>
2117         * vax.c: Include tree.h earlier.
2119 2002-09-12  Stan Shebs  <shebs@apple.com>
2121         * config/darwin.c (machopic_finish): Remove #if 0 chunks.
2122         (machopic_operand_p): Ditto.
2124 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2126         * config/arm/arm.c (arm_compute_initial_elimination_offset):
2127         Fix a comment typo.
2129 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2131         * toplev.c (do_abort): Fix a comment typo.
2133 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2135         * cselib.c: Fix comment formatting.
2136         * gengtype.c: Likewise.
2138 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2140         * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
2141         (udivmodhi4): Likewise.
2143 2002-09-12  Graham Stott  <graham.stott@btinternet.com>
2144             Roger Sayle  <roger@eyesopen.com>
2146         * i386.c (any_fp_register_operand, fp_register_operand,
2147         register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
2148         New predicate functions.
2149         * i386-protos.h:  Add their prototypes.
2150         * i386.h: Add them to PREDICATE_CODES.
2151         * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
2152         "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
2153         "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
2154         "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
2155         "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
2156         "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
2157         "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
2158         "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
2159         "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
2160         "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
2161         "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
2162         Use these new predicates to simplify and correct the use of
2163         FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
2165 2002-09-12  Jason Merrill  <jason@redhat.com>
2167         * diagnostic.c (output_add_identifier): New fn.
2168         * diagnostic.h: Declare it.
2170         * calls.c (store_one_arg): Use size_in_bytes to determine the
2171         amount of space to push.
2173 2002-09-12  Jakub Jelinek  <jakub@redhat.com>
2175         * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
2177 2002-09-12  Ulrich Weigand  <uweigand@de.ibm.com>
2179         * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
2180         * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
2181         (s390_select_ccmode): Likewise.
2182         (s390_branch_condition_mask): Likewise.
2183         (optimization_options): Do not set flag_branch_on_count.
2184         (s390_split_branches): Handle doloop branches.
2185         (s390_chunkify_pool): Likewise.
2186         * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
2187         ("doloop_end"): New expander.
2188         ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
2189         associated splitters): New.
2191 2002-09-11  Hartmut Penner  <hpenner@de.ibm.com>
2193         * fold-const.c (make_range): Only narrow to signed range if
2194         the signed range is smaller than the unsigned range.
2196 2002-09-12  Alan Modra  <amodra@bigpond.net.au>
2198         * emit-rtl.c (set_mem_size): New function.
2199         * expr.h (set_mem_size): Declare.
2200         * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
2201         (expand_block_move): Instead, use adjust_address and
2202         replace_equiv_address to generate proper aliasing info.
2203         Move common code out of conditionals.  Localize vars.
2205 2002-09-09  Eric Botcazou  ebotcazou@libertysurf.fr
2207         * optabs.c (expand_binop): Minor cleanup.
2208         (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
2210 2002-09-11  Dan Nicolaescu  <dann@ics.uci.edu>
2212         * print-tree.c (print_node): Print the restrict qualifier.
2214 2002-09-11  Janis Johnson  <janis187@us.ibm.com>
2216         * doc/install.texi: Fix typos.
2218 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
2220         * Makefile.in: Remove all references to s-under and underscore.c.
2221         * collect2.c, tlink.c: Change all uses of prepends_underscore
2222         to look directly at USER_LABEL_PREFIX.
2224 2002-09-11  David Edelsohn  <edelsohn@gnu.org>
2226         * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
2227         alignment to csect.
2228         (rs6000_xcoff_unique_section): Only set section name for public
2229         data.
2230         (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
2231         * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
2232         duplicate definition.
2234 2002-09-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2236         * pa.md (extzv): Check predicates before emitting extzv_32.
2237         (insv): Likewise.
2239 2002-09-10  Ulrich Weigand  <uweigand@de.ibm.com>
2241         * config/s390/s390.h (MOVE_MAX): Define to correct value.
2242         (MAX_MOVE_MAX): Define.
2243         (MOVE_BY_PIECES_P): Define.
2244         (CLEAR_BY_PIECES_P): Define.
2246 2002-09-10  Denis Chertykov  <denisc@overta.ru>
2248         * config/avr/avr.md (movstrhi): Use right operands for conversion.
2250 2002-09-10  Richard Earnshaw  <rearnsha@arm.com>
2252         PR c/7873
2253         * arm.md (insv): Use reg_or_int_operand for operand[3].
2255 2002-09-10  David Edelsohn  <edelsohn@gnu.org>
2257         * rs6000.c (rs6000_assemble_visibility): Protect declaration
2258         inside macro.  Correct function definition typo.
2259         (rs6000_xcoff_section_type_flags): New function.
2260         (TARGET_SECTION_TYPE_FLAGS): Remove definition.
2261         (rs6000_elf_section_type_flags): Call default_section_type_flags_1
2262         with appropriate PIC test.
2263         (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
2264         determine readonly.
2265         (rs6000_binds_local_p): Combine PIC flags.
2266         * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
2267         * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
2269 2002-09-09  Per Bothner  <per@bothner.com>
2271         * print-tree.c (print_node):  In a STRING_CST, escape non-ascii
2272         characters, and only print TREE_STRING_LENGTH chars.
2274 2002-09-09  Steve Ellcey  <sje@cup.hp.com>
2276         * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
2277         (ASM_FILE_END) New.
2278         * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
2279         * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
2280         * config/ia64/ia64.c (ia64_asm_output_external): Create list
2281         of external functions if TARGET_HPUX_LD is true.
2282         (ia64_hpux_add_extern_decl): New, routine to put names on
2283         list of external functions.
2284         (ia64_hpux_asm_file_end): Put out declarations for external
2285         functions if and only if they are used.
2287 2002-09-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2289         * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
2290         on TARGET_64BIT before pic register restore.
2292 2002-09-09  David Edelsohn  <edelsohn@gnu.org>
2294         * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
2295         (TARGET_HAVE_TLS): New description.
2297 2002-09-09  Janis Johnson  <janis187@us.ibm.com>
2299         * doc/extend.texi (Statement Exprs): Fix broken link.
2301 2002-09-09  Denis Chertykov  <denisc@overta.ru>
2303         * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
2304         right conversion of operands[1].
2306 2002-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
2308         * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
2309         commutative.  Use "nonimmediate_operand" instead of "register_operand"
2310         as predicate for operand 0.  Move to after the "*tmXX_mem" insns.
2312         ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
2313         as commutative.
2315         ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
2316         mark as commutative.  Use "nonimmediate_operand" instead of
2317         "register_operand" as predicate for operand 1.
2319         ("movstrictsi"): Fix typo in insn name.
2321 2002-09-09  Jan Hubicka  <jh@suse.cz>
2323         * i386.c (index_register_operand): New.
2324         * i386.h (predicate_codes): Add new predicate.
2325         * i386.md (lea_general_*): Use index_regsiter_operand
2326         (ashift to lea splitter): Do not produce invalid leas
2327         (ashift to mov+ashift split): New.
2329 2002-09-09  Nick Clifton  <nickc@redhat.com>
2331         * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
2332         Fix folding marks.
2334 2002-09-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
2335             J"orn Rennecke <joern.rennecke@superh.com>
2337         * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
2339 2002-09-09  Alan Modra  <amodra@bigpond.net.au>
2341         * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
2342         (function_ok_for_sibcall): Use binds_local_p.  Respect longcall
2343         attributes.
2345 2002-09-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2347         * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
2349 2002-09-08  Richard Henderson  <rth@redhat.com>
2351         * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
2352         (DW_OP_GNU_push_tls_address): New.
2353         (DW_OP_lo_user): Fix.
2354         * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
2355         (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
2356         (size_of_loc_descr): Likewise.
2357         (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
2358         (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
2359         (loc_descriptor_from_tree): Handle TLS variables.
2360         (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
2361         (add_location_or_const_value_attribute): ... not here.  Defer
2362         to loc_descriptor_from_tree for TLS variables.
2364         * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
2365         * config/i386/i386.c (i386_output_dwarf_dtprel): New.
2366         * config/i386/i386-protos.h: Update.
2368 2002-09-08  Roger Sayle  <roger@eyesopen.com>
2370         PR optimization/6405
2371         * unroll.c (loop_iterations): last_loop_insn should be the previous
2372         non-note instruction before loop->end.
2373         * loop.c (strength_reduce): The conditional jump is the last
2374         non-note instruction before loop->end (as above).
2376 2002-09-08  Roger Sayle  <roger@eyesopen.com>
2378         * combine.c (try_combine): Handle the case that undobuf.other_insn
2379         has been turned into a return or unconditional jump, by inserting
2380         a BARRIER if necessary.
2381         (simplify_set):  Test if a condition code setter has a constant
2382         comparison at compile time, if so convert this insn to a no-op move
2383         and update/simplify the condition code user (undobuf.other_insn).
2385 2002-09-08  Krister Walfridsson  <cato@df.lth.se>
2387         * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
2388         (CLEAR_INSN_CACHE): Define.
2390 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
2392         * basic-block.h: Fix comment formatting.
2393         * c-common.c: Likewise.
2394         * c-common.h: Likewise.
2395         * c-lex.c: Likewise.
2396         * c-pretty-print.c: Likewise.
2397         * cfglayout.c: Likewise.
2398         * cfgloop.c: Likewise.
2399         * defaults.h: Likewise.
2400         * et-forest.c: Likewise.
2401         * explow.c: Likewise.
2402         * function.h: Likewise.
2403         * gcov.c: Likewise.
2404         * genattrtab.c: Likewise.
2405         * gengtype.c: Likewise.
2406         * ifcvt.c: Likewise.
2407         * libgcc2.c: Likewise.
2408         * loop.c: Likewise.
2409         * profile.c: Likewise.
2410         * ra-build.c: Likewise.
2411         * real.c: Likewise.
2412         * rtl.h: Likewise.
2413         * tracer.c: Likewise.
2414         * tree-inline.c: Likewise.
2415         * varasm.c: Likewise.
2417 2002-09-08  Jan Hubicka  <jh@suse.cz>
2419         * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
2420         handling.
2422         * loop.c (loop_gics_reduce):  Emit addition after.
2424 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
2426         * varasm.c (default_assemble_visibility): Rename from
2427         assemble_visibility.
2428         * output.h: Here too.
2429         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
2430         * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
2432 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
2434         * reload.c (find_reloads <p constraint>): Pass operand_mode to
2435         find_reloads_address.
2437 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
2439         * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
2440         (anonymous pattern): Likewise.
2442 2002-09-07  Scott Snyder  <snyder@fnal.gov>
2444         PR target/7374
2445         * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
2447 2002-09-07  Roger Sayle  <roger@eyesopen.com>
2449         * basic-block.h (struct loop): Remove unused cont_dominator field.
2451 2002-09-07  Igor Shevlyakov <igor@microunity.com>
2453         * varasm.c (decode_rtx_const): Don't check undefined field for
2454         CONST_VECTOR.
2456 2002-09-07  Glen Nakamura  <glen@imodulo.com>
2458         PR opt/7814
2459         * sched-deps.c (sched_analyze_insn): Make sure to add insn
2460         to reg_last->sets after flushing the dependency lists to guarantee
2461         that subsequent clobbers will be dependent on it.
2463 2002-09-07  Igor Shevlyakov <igor@microunity.com>
2465         * combine.c (simplify_shift_const): Calculate rotate count
2466         correctly for vector operands.
2468 2002-09-07  Ansgar Esztermann  <ansgar@thphy.uni-duesseldorf.de>
2470         * c-typeck.c (c_tree_expr_nonnegative_p): New function.
2471         (build_binary_op): Call c_tree_expr_nonnegative_p rather than
2472         tree_expr_nonnegative_p.
2473         (build_conditional_expr): Likewise.
2474         * c-tree.h (c_tree_expr_nonnegative_p): Declare.
2476 2002-09-07  Richard Henderson  <rth@redhat.com>
2478         * builtins.def (inf, inff, infl): Mark const.
2479         (huge_val, huge_valf, huge_vall): Likewise.
2480         (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
2482         * real.c (ereal_inf): Clear E before use.
2484 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
2486         * config/h8300/h8300.md (udivmodqi4): Split the pattern into
2487         an expander and an anonymous pattern.  Zero out the upper half
2488         of the dividend in the expander.
2489         (udivmodqi4): Likewise.
2491 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
2493         * config/h8300/h8300.c: Fix formatting.
2494         * config/h8300/h8300.h: Likewise.
2495         * config/h8300/h8300.md: Likewise.
2497 2002-09-07  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2499         * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
2500         information.
2502 2002-09-07  Graham Stott  <graham.stott@btinternet.con>
2504        * rtlanal.c (dead_or_set_regno_p): Fix typo.
2506 2002-09-07  Alan Modra  <amodra@bigpond.net.au>
2508         * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
2510         * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
2511         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
2512         (TARGET_ASM_OUT): Add the above here.
2513         * target.h (struct gcc_target): Add "visibility" field.
2514         * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
2515         * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
2516         (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
2517         (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
2519 2002-09-06  Ziemowit Laski <zlaski@apple.com>
2521         * c-lang.c (objc_is_id): New stub.
2522         * c-tree.h (objc_is_id): New forward declaration.
2523         * c-typeck.c (build_c_cast): Do not strip protocol
2524         qualifiers from 'id' type.
2525         * objc/objc-act.c (objc_comptypes): Correct handling
2526         of protocol qualifiers.
2527         (objc_is_id): New.
2529 Fri Sep  6 13:10:08 2002  Jeffrey A Law  (law@redhat.com)
2531         * pentium.md (pentium-firstvboth): Fix typo.
2533 2002-09-06      Dhananjay Deshpande <dhananjayd@kpit.com>
2535         * h8300.c (enum shift_alg): Move to earlier in h8300.c.
2536         (enum shift_type, enum h8_cpu): Likewise.
2537         (INL, ROT, LOP, SPC macros): Likewise.
2538         (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise.  Lose
2539         const designator.
2540         (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
2541         space efficient algorithms when optimize for codesize.
2543 Fri Sep  6 16:35:32 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2545         Fix PR/1727 and long-standing failing testcase
2546         objc/formal-protocol-6.m.
2547         * objc-act.c (build_protocol_expr): If compiling for the GNU
2548         runtime, create a list of Protocol statically allocated instances
2549         if it doesn't exist, then add the Protocol object to this same
2550         list.
2551         (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
2552         instead of TREE_CHAIN.
2554 Fri Sep  6 16:17:33 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2556         * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
2557         10k.  Fixed category dumping - print out category names with the
2558         proper syntax.  Print '@end\n' and not '\n@end' at the end of the
2559         interface.
2560         (finish_objc): Fixed the -gen-decls option.  It was printing out
2561         only the last class.  Dump an interface declaration of all classes
2562         being compiled instead.
2564 2002-09-06  Jason Thorpe  <thorpej@wasabisystems.com>
2566         * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
2567         prototype.
2568         * config/arm/arm.c (arm_gen_return_addr_mask): New function.
2569         * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
2570         if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
2571         rather than GEN_INT.
2572         * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
2573         (return_addr_mask, *check_arch2): New.
2575 2002-09-06  Ulrich Weigand  <uweigand@de.ibm.com>
2577         * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
2578         "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
2579         "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
2580         "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
2581         "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
2582         "adddf3", "*adddf3", "*adddf3_ibm",
2583         "addsf3", "*addsf3", "*addsf3_ibm",
2584         "muldi3", "mulsi3", "mulsidi3",
2585         "muldf3", "*muldf3", "*muldf3_ibm",
2586         "mulsf3", "*mulsf3", "*mulsf3_ibm",
2587         "*anddi3_cc", "*anddi3_cconly", "anddi3",
2588         "*andsi3_cc", "*andsi3_cconly", "andsi3",
2589         "*iordi3_cc", "*iordi3_cconly", "iordi3",
2590         "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
2591         "*xordi3_cc", "*xordi3_cconly", "xordi3",
2592         "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
2593         instead of "register_operand" as predicate for "%0" operand.
2595 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
2597         * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
2598         unconditionally when gcc_cv_as_flags64 checks are gone.
2599         * configure: Rebuilt.
2601 2002-09-06  Alan Modra  <amodra@bigpond.net.au>
2603         * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
2604         2002-07-26 change.  Comment.
2606 2002-09-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2608         * frv.c (frv_unique_section, frv_select_section,
2609         frv_select_rtx_section): Delete.
2610         (frv_in_small_data_p): New.
2611         (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
2612         TARGET_ASM_SELECT_RTX_SECTION): Delete.
2613         (TARGET_IN_SMALL_DATA_P): Define.
2615 2002-09-05  Dale Johannesen  <dalej@apple.com>
2617         * reload1.c (reload):  Retain only those memory clobbers
2618         added for variable-array handling.
2620 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
2622         * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
2623         return-in-memory rules.
2624         * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
2626 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
2628         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
2629         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
2631 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
2633         * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
2634         not a compile-time constant for the non-IBM case.
2635         * config/arm/arm-protos.h (arm_float_words_big_endian): New
2636         prototype.
2637         * config/arm/arm.c (arm_float_words_big_endian): New function.
2638         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
2639         if TARGET_VFP  and not TARGET_HARD_FLOAT.
2640         (ARM_FLAG_VFP, TARGET_VFP): Define.
2641         (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
2643 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
2645         * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
2646         URLs.  Fix AIX wording.
2648 2002-09-05  Stan Shebs  <shebs@apple.com>
2650         * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
2651         -fPIC equivalent on Darwin.
2653 Thu Sep  5 16:27:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
2655         * sh.c (sh_expand_builtin): Return early if encountering an
2656         error_mark for a type.
2658 2002-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
2660         * config/s390/s390.c (s390_expand_plus_operand): Do not require
2661         double-word scratch register.
2662         config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
2664         ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
2665         "*cli"): Replace s_operand by memory_operand.
2666         ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
2668 2002-09-05  Kazu Hirata  <kazu@cs.umass.edu>
2670         * config/h8300/h8300.c (asm_file_start): Add a missing
2671         semicolon.
2673 2002-09-04  Krister Walfridsson  <cato@df.lth.se>
2675         * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
2676         * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
2677         (ix86_output_addr_diff_elt) Likewise.
2678         (x86_output_mi_thunk) Likewise.
2679         * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
2681 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2683         * frv.c (frv_encode_section_info): Fix error in last change.
2685 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
2687         * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
2688         (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
2689         (TARGET_BINDS_LOCAL_P): Define.
2690         (rs6000_override_options): Save original flag_pic value.
2691         (rs6000_elf_select_section): Call default_elf_select_section_1.
2692         (rs6000_elf_unique_section): Call default_unique_section_1.
2693         (rs6000_elf_in_small_data_p): New function.
2694         (rs6000_xcoff_asm_named_section): Determine storage mapping class.
2695         (rs6000_xcoff_select_section): Update based on defaults.
2696         (rs6000_xcoff_unique_section): Set to basic name if not common.
2697         (rs6000_binds_local_p): New function.
2698         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
2699         targetm.have_srodata_section if SDATA_EABI.
2700         (TARGET_IN_SMALL_DATA_P): Define.
2702 2002-09-04  Dale Johannesen  <dalej@apple.com>
2704         * varasm.c (struct rtx_const, decode_rtx_const):
2705         Make veclo and vechi fields not share storage.
2707 Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
2709         * loop.c (scan_loop): Don't mark separate insns out of a libcall
2710         for moving.
2711         (move_movables): Abort if we see the first insn of a libcall.
2713 2002-09-04  Richard Henderson  <rth@redhat.com>
2715         * builtin-types.def (BT_FN_FLOAT): New.
2716         (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
2717         * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
2718         BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
2719         * builtins.c (fold_builtin_inf): New.
2720         (fold_builtin): Call it.
2721         * real.c (ereal_inf): New.
2722         * real.h: Declare it.
2723         * doc/extend.texi: Document new builtins.
2725 2002-09-04  Richard Henderson  <rth@redhat.com>
2727         * cse.c (cse_insn): Avoid subreg games if the equivalence
2728         is already in the proper mode.
2730 2002-09-04  Eric Botcazou  <ebotcazou@multimania.com>
2732         PR c/7102
2733         * optabs.c (expand_binop): Convert CONST_INTs in all cases.
2735 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2737         * pa.md (setccfp0, setccfp1): New patterns.
2739 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2741         * frv-protos.h (frv_init_builtins, frv_expand_builtin,
2742         frv_select_section, frv_select_rtx_section,
2743         frv_encode_section_info, frv_unique_section): Delete.
2744         * frv.c: Update for target hooks.
2745         * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
2746         SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
2747         EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
2749 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2751         * ip2k-protos.h (function_prologue, function_epilogue,
2752         encode_section_info): Update to match target hook specification.
2753         * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
2754         (function_prologue, function_epilogue, encode_section_info):
2755         Update to match target hook specification.
2756         * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
2757         ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
2758         (NOTICE_UPDATE_CC): Cast to void.
2759         * ip2k.md: Add defaults in switch statements.
2761 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
2763         * doc/trouble.texi (Interoperation): Update information about C++ ABI
2764         issues.
2766 2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
2768         * config/sparc/t-netbsd64: Disable multilib for now.
2770 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
2772         * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
2773         * target.h (gcc_target): Add have_srodata_section member.
2774         * varasm.c (section_category): Add SECCAT_SRODATA.
2775         (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
2776         READONLY_SDATA_SECTION defined.
2777         (decl_readonly_section_1): True for SECCAT_SRODATA also.
2778         (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
2779         (default_unique_section_1): Likewise.
2781 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2783         * expr.c (emit_group_load): Revise to allow splitting TCmode source
2784         into DImode pieces.
2786         * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
2787         * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
2788         for floating-point register class.
2789         * pa.c (function_arg): Fix handling of modes wider than one word for
2790         TARGET_64BIT.
2792 Wed Sep  4 18:48:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
2794         * combine.c (make_compound_operation): Don't generate zero / sign
2795         extensions in floating point modes.
2797 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
2799         * doc/c-tree.texi: Fix overfull hboxes.
2800         * doc/cppopts.texi: Ditto.
2801         * doc/extend.texi: Ditto.
2802         * doc/gty.texi: Ditto.
2803         * doc/invoke.texi: Ditto.
2804         * doc/makefile.texi: Ditto.
2805         * doc/rtl.texi: Ditto.
2806         * doc/standards.texi: Ditto.
2807         * doc/tm.texi: Ditto.
2809 2002-09-04  Richard Henderson  <rth@redhat.com>
2811         * c-common.c (builtin_define_with_hex_fp_value): New.
2812         (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.
2814 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
2816         * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
2817         (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
2818         -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
2819         Warn that these options can break ABI compatibility.
2821 2002-09-04  Richard Henderson  <rth@redhat.com>
2823         * real.c (ereal_to_decimal): Add digits parameter.
2824         * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
2825         * c-pretty-print.c (pp_c_real_literal): Update call.
2826         * print-rtl.c (print_rtx): Likewise.
2827         * print-tree.c (print_node_brief, print_node): Likewise.
2828         * sched-vis.c (print_value): Likewise.
2829         * config/arc/arc.c (arc_print_operand): Likewise.
2830         * config/c4x/c4x.c (c4x_print_operand): Likewise.
2831         * config/i370/i370.h (PRINT_OPERAND): Likewise.
2832         * config/i386/i386.c (print_operand): Likewise.
2833         * config/i960/i960.c (i960_print_operand): Likewise.
2834         * config/ip2k/ip2k.c (asm_output_float): Likewise.
2835         * config/m32r/m32r.c (m32r_print_operand): Likewise.
2836         * config/m68hc11/m68hc11.c (print_operand): Likewise.
2837         * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
2838         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
2839         * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
2840         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
2841         * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
2842         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
2843         * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
2844         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
2845         * config/mips/mips.c (print_operand): Likewise.
2846         * config/ns32k/ns32k.c (print_operand): Likewise.
2847         * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
2848         * config/vax/vax.h (PRINT_OPERAND): Likewise.
2849         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
2851 2002-09-04  Bob Wilson  <bob.wilson@acm.org>
2853         * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
2854         xtensa_multibss_section_type_flags.
2855         * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
2857 2002-09-04  Richard Henderson  <rth@redhat.com>
2859         * doc/install-old.texi: Don't mention enquire.
2860         * doc/sourcebuild.texi: Update float.h description.
2862 Wed Sep  4 11:22:14 2002  J"orn Rennecke <joern.rennecke@superh.com>
2864         * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
2866 2002-09-03  David Edelsohn  <edelsohn@gnu.org>
2868         * varasm.c (default_section_type_flags): Append _1 to name with
2869         shlib parameter.  Use original name to call new function with
2870         implicit flag_pic.
2871         (decl_readonly_section): Likewise.
2872         (default_elf_select_section): Likewise.
2873         (default_unique_section): Likewise.
2874         (default_bind_local_p): Likewise.
2875         (categorize_decl_for_section): Add shlib parameter to use in place
2876         of implicit flag_pic.
2877         * output.h: Declare new functions with _1 and shlib argument.
2879 2002-09-03  Janis Johnson  <janis187@us.ibm.com>
2881         * doc/install.texi: Fix typos, formatting problems, and obvious
2882         overfull/underfull boxes.
2884         * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
2885         * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
2886         include its file, compat.texi.
2887         * doc/compat.texi: New file with new chapter, Binary Compatibility.
2889 2002-09-03  Neil Booth  <neil@daikokuya.co.uk>
2891         Debian BTS Bug #157416
2892         * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
2893         * cpplib.c (destringize_and_run): Kludge around getting
2894         tokens from in-progress macros.
2895         (_cpp_do__Pragma): Simplify.
2897 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
2899         * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
2900         (CPP_CPU_SPEC): Remove.
2901         (TARGET_CPU_CPP_BUILTINS): New.
2902         * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
2903         (CPP_SPEC): Remove.
2904         (TARGET_OS_CPP_BUILTINS): New.
2905         * config/ia64/linux.h (CPP_PREDEFINES): Remove.
2906         (TARGET_OS_CPP_BUILTINS): New.
2907         * config/ia64/aix.h (CPP_SPEC): Move some stuff to
2908         TARGET_OS_CPP_BUILTINS.
2909         (CPP_PREDEFINES): Remove.
2910         (CPLUSPLUS_CPP_SPEC): Remove.
2911         (TARGET_OS_CPP_BUILTINS): New.
2913 2002-09-03  Richard Henderson  <rth@redhat.com>
2915         * Makefile.in (USER_H): Add ginclude/float.h.
2916         (FLOAT_H): Remove.
2917         (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
2918         (mostlyclean): Don't remove float.h intermediate files.
2919         (distclean): Don't remove float.h.
2920         * config.gcc: Remove all float_format references.
2921         * configure.in (float_format, float_h_file): Remove.
2923         * c-common.c: Include tree-inline.h.
2924         (builtin_define_with_int_value): New.
2925         (builtin_define_type_precision): Use it.
2926         (builtin_define_float_constants): New.
2927         (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
2928         __FLT_EVAL_METHOD__.
2929         * defaults.h (TARGET_FLT_EVAL_METHOD): New.
2930         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
2931         * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
2932         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
2933         (TARGET_FLT_EVAL_METHOD): New.
2935         * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
2936         config/float-i386.h, config/float-i64.h, config/float-m68k.h,
2937         config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
2938         * ginclude/float.h: New.
2940 2002-09-03  Stan Shebs  <shebs@apple.com>
2942         * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
2943         (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
2944         (PREFERRED_DEBUGGING_TYPE): Ditto.
2945         (ASM_OUTPUT_IDENT): Remove empty definition.
2947 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
2949         * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
2950         cxx_target.
2951         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
2952         handling routine for builtin pragma.
2953         * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
2954         Registered pragma handling routine.
2955         * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
2956         (ia64_hpux_add_pragma_builtin) New subroutine used by above.
2957         If builtin pragma seen for math routine and C89 conformance is
2958         requested use different math function in order to set errno.
2959         * t-ia64 (ia64-c.o): Add new rule for new file.
2961 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2963         * config/s390/s390.md ("movti"): Add Q->Q alternative.
2964         ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
2965         "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
2967         ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
2968         "*movsf_ss"): Remove.
2970 2002-09-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2972         * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
2973         Delete macros.
2975 2002-09-03   Arati Dikey  <aratid@kpit.com>
2977         * h8300.c (asm_file_start): Corrected optimization comment.
2979 2002-09-03  Stan Shebs  <shebs@apple.com>
2981         * c-lang.c (recognize_objc_keyword): Remove, no longer used.
2982         * c-tree.h (recognize_objc_keyword): Remove decl.
2983         * c-typeck.c (comp_target_types): Update a comment.
2985 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2987         * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
2988         and register validity checks.
2989         (general_s_operand): Adapt to s390_decompose_address interface change.
2990         (q_constraint): Likewise.
2991         (s390_expand_plus_operand): Likewise.
2992         (legitimiate_address_p): Likewise.
2993         (legitimate_la_operand_p): Likewise.
2994         (legitimize_la_operand): Likewise.
2995         (print_operand_address): Likewise.
2996         (print_operand): Likewise.
2998 Tue Sep  3 11:32:14 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3000         PR objc/5956:
3001         * objc/objc-act.c (build_typed_selector_reference): Fix typo which
3002         was causing the new selector never to match the existing ones
3003         (Patch by Alexander Malmberg <alexander@malmberg.org>).
3005 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
3007         * config/i386/i386.md ("femms"): Add "memory" attr "none".
3009 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
3011         * expr.c (expand_expr): Remove extraneous comment and code.
3013 2002-08-31  Richard Henderson  <rth@redhat.com>
3015         * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
3017 2002-08-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3019         * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
3021 2002-08-30  Richard Henderson  <rth@redhat.com>
3023         PR opt/7515
3024         * c-objc-common.c: Include target.h.
3025         (c_cannot_inline_tree_fn): Don't auto-inline functions that
3026         don't bind locally.  Factor setting DECL_UNINLINABLE.
3027         * Makefile.in (c-objc-common.o): Update.
3029 2002-08-30  Janis Johnson  <janis187@us.ibm.com>
3031         * doc/install.texi (Configuration, Building): Fix a typo and
3032         some formatting directives.
3034 2002-08-30  Paul Koning <pkoning@equallogic.com>
3036         * doc/c-tree.texi (RDIV_EXPR): Fix typo.
3037         * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
3038         implemented" note.
3039         * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
3040         for alphabetic order.
3041         * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
3042         VAX_FLOAT_FORMAT.  Remove reference to HOST_FLOAT_FORMAT.
3043         (VAX_HALFWORD_ORDER): Document.
3044         (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
3045         IEEE float format.
3046         (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
3047         (ASM_OUTPUT_LABEL_REF): Fix font.
3048         (CASE_VECTOR_SHORTEN_MODE): Ditto.
3050 2002-08-30  Denis Chertykov  <denisc@overta.ru>
3052         * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
3053         stuff.
3054         (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
3055         CONST_DOUBLE constants.
3057 2002-08-30  Jason Thorpe  <thorpej@wasabisystems.com>
3059         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
3060         related defines to...
3061         (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
3062         * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
3063         as a no-op.
3065 2002-08-30  Krister Walfridsson  <cato@df.lth.se>
3067         * config/arm/arm.c (arm_asm_output_labelref): New function.
3068         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
3069         * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
3071 2002-08-29  Rodney Brown  <rbrown64@csc.com.au>
3073         * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
3074         memory exhausted" workarounds.
3076 2002-08-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3078         * diagnostic.c (fancy_abort): Don't repeat "internal error".
3079         * toplev.c (crash_signal): Likewise.
3081 Fri Aug 30 00:33:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3083         * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
3084         * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
3085         Extended, updated documentation.
3086         (-Wundeclared-selector): Documented.
3088 2002-08-29  Jason Thorpe  <thorpej@wasabisystems.com>
3090         * config/chorus.h: Consistently define *_DEBUGGING_INFO with
3091         the value 1.  Do not undef before defining.
3092         * config/darwin.h: Likewise.
3093         * config/dbx.h: Likewise.
3094         * config/dbxcoff.h: Likewise.
3095         * config/dbxelf.h: Likewise.
3096         * config/elfos.h: Likewise.
3097         * config/interix.h: Likewise.
3098         * config/lynx-ng.h: Likewise.
3099         * config/lynx.h: Likewise.
3100         * config/netware.h: Likewise.
3101         * config/psos.h: Likewise.
3102         * config/svr3.h: Likewise.
3103         * config/alpha/alpha.h: Likewise.
3104         * config/alpha/elf.h: Likewise.
3105         * config/alpha/vms.h: Likewise.
3106         * config/arc/arc.h: Likewise.
3107         * config/arm/aout.h: Likewise.
3108         * config/arm/coff.h: Likewise.
3109         * config/c4x/c4x.h: Likewise.
3110         * config/h8300/h8300.h: Likewise.
3111         * config/i386/cygwin.h: Likewise.
3112         * config/i386/djgpp.h: Likewise.
3113         * config/i386/gas.h: Likewise.
3114         * config/i386/gstabs.h: Likewise.
3115         * config/i386/i386-coff.h: Likewise.
3116         * config/i386/i386-interix.h: Likewise.
3117         * config/i386/sco5.h: Likewise.
3118         * config/i386/svr3dbx.h: Likewise.
3119         * config/i386/sysv3.h: Likewise.
3120         * config/i386/win32.h: Likewise.
3121         * config/i386/x86-64.h: Likewise.
3122         * config/i960/i960.h: Likewise.
3123         * config/ia64/ia64.h: Likewise.
3124         * config/ip2k/ip2k.h: Likewise.
3125         * config/m32r/m32r.h: Likewise.
3126         * config/m68k/3b1.h: Likewise.
3127         * config/m68k/3b1g.h: Likewise.
3128         * config/m68k/ccur-GAS.h: Likewise.
3129         * config/m68k/coff.h: Likewise.
3130         * config/m68k/hp2bsd.h: Likewise.
3131         * config/m68k/hp310g.h: Likewise.
3132         * config/m68k/hp320g.h: Likewise.
3133         * config/m68k/hp3bsd.h: Likewise.
3134         * config/m68k/hp3bsd44.h: Likewise.
3135         * config/m68k/linux-aout.h: Likewise.
3136         * config/m68k/m68k-aout.h: Likewise.
3137         * config/m68k/mot3300.h: Likewise.
3138         * config/m68k/netbsd.h: Likewise.
3139         * config/m68k/openbsd.h: Likewise.
3140         * config/m68k/pbb.h: Likewise.
3141         * config/m68k/plexus.h: Likewise.
3142         * config/m68k/sun2.h: Likewise.
3143         * config/m68k/sun3.h: Likewise.
3144         * config/m68k/tower-as.h: Likewise.
3145         * config/m68k/vxm68k.h: Likewise.
3146         * config/m88k/aout-dbx.h: Likewise.
3147         * config/m88k/m88k-aout.h: Likewise.
3148         * config/mcore/mcore-elf.h: Likewise.
3149         * config/mcore/mcore-pe.h: Likewise.
3150         * config/mips/elf.h: Likewise.
3151         * config/mips/elf64.h: Likewise.
3152         * config/mips/iris5gas.h: Likewise.
3153         * config/mips/iris6.h: Likewise.
3154         * config/mips/mips.h: Likewise.
3155         * config/mips/sni-gas.h: Likewise.
3156         * config/mmix/mmix.h: Likewise.
3157         * config/ns32k/netbsd.h: Likewise.
3158         * config/pa/pa64-hpux.h: Likewise.
3159         * config/romp/romp.h: Likewise.
3160         * config/rs6000/sysv4.h: Likewise.
3161         * config/rs6000/xcoff.h: Likewise.
3162         * config/sh/coff.h: Likewise.
3163         * config/sh/elf.h: Likewise.
3164         * config/sparc/linux64.h: Likewise.
3165         * config/sparc/liteelf.h: Likewise.
3166         * config/sparc/netbsd.h: Likewise.
3167         * config/sparc/openbsd.h: Likewise.
3168         * config/sparc/pbd.h: Likewise.
3169         * config/sparc/sp64-elf.h: Likewise.
3170         * config/sparc/sp86x-elf.h: Likewise.
3171         * config/sparc/sparc.h: Likewise.
3172         * config/vax/vax.h: Likewise.
3173         * config/vax/vaxv.h: Likewise.
3175 2002-08-29  "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
3177         * h8300.c (shift_alg_hi): Various tweaks to improve performance
3178         of HImode shifts.
3179         (get_shift_alg): Corresponding changes.
3181 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3183         * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
3185 2002-08-29  Richard Henderson  <rth@redhat.com>
3187         * expr.h (enum block_op_methods): New.
3188         (emit_block_move): Update prototype.
3189         * expr.c (block_move_libcall_safe_for_call_parm): New.
3190         (emit_block_move_via_loop): New.
3191         (emit_block_move): Use them.  New argument METHOD.
3192         (emit_push_insn): Always respect the given alignment.
3193         (expand_assignment): Update call to emit_block_move.
3194         (store_expr, store_field, expand_expr): Likewise.
3195         * builtins.c (expand_builtin_apply): Likewise.
3196         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
3197         * function.c (expand_function_end): Likewise.
3198         * config/sh/sh.c (sh_initialize_trampoline): Likewise.
3199         * config/sparc/sparc.c (sparc_va_arg): Likewise.
3200         * calls.c (expand_call, emit_library_call_value_1): Likewise.
3201         (save_fixed_argument_area): Use emit_block_move with
3202         BLOCK_OP_CALL_PARM instead of move_by_pieces.
3203         (restore_fixed_argument_area): Likewise.
3204         (store_one_arg): Fix alignment parameter to emit_push_insn.
3206 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3208         * install.texi (hppa64-hp-hpux11*): Document installation procedure.
3210 2002-08-29  Catherine Moore  <clm@redhat.com>
3212         * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
3213         NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
3214         (PREDICATE_CODES): Include new predicates.
3215         (RTX_COSTS): Handle UMOD and UDIV.  Tune MULT for v850e.
3216         (TARGET_SWITCHES):  Add strict-align.
3217         (TARGET_STRICT_ALIGN): New.
3218         (MASK_DEFAULT, STRICT_ALIGNMENT):  Redefine.
3219         * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
3220         Define.
3221         (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
3222         v850_muldi3.
3223         * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
3224         L_callt_save_r2_r31, L_return_r2_r31,
3225         L_save_all_interrupt): Change addi to add.
3226         (L_save_interrupt, L_return_interrupt): Rework.
3227         (__return_r31):  Correct .size directive.
3228         (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
3229         (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
3230         New routines.
3231         * config/v850/v850.c (expand_prologue): Call
3232         gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
3233         gen_callt_return_interrupt and gen_callt_save_all_interrupt.
3234         (reg_or_int9_operand): New predicate.
3235         (reg_or_const_operand): New routine.
3236         * config/v850/v850.md (return_interrupt): Changed from
3237         restore_interrupt.
3238         (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
3239         (callt_save_interrupt): Change save sequence.
3240         (callt_return_interrupt): New.
3241         (save_interrupt): Don't use runtime function for LONG_CALLS
3242         and TARGET_PROLOG_FUNCTION.
3243         (save_all_interrupt): Likewise.
3244         (mulsi3): Use new predicate.
3245         (moviscc): Disallow some combination of constants.
3246         Fix define_split for sasf insns, so that it will not generate bad
3247         code if operand0 and operand5 are the same.
3248         * config/v850/v850-protos.h: Prototype new predicates.
3250 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3252         * c-common.c (builtin_define_type_precision): New function.
3253         (cb_register_builtins): Use it.  Define __WCHAR_UNSIGNED__ is
3254         wchar_t is unsigned in C++.
3255         * doc/cpp.texi (Common Predefined Macros): Document
3256         __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
3257         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
3258         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
3260 2002-08-28  Sylvain Pion <pion@cs.nyu.edu>
3262         * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
3263         section.  Mention that it is enabled by -Wall.
3264         (-Wall): Mention that there can be language-specific warnings as well.
3265         (-Wctor-dtor-privacy): Mention that it is enabled by default.
3266         (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
3268 Wed Aug 28 15:35:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
3270         * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
3271         if it is ever live.
3273         * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
3274         attribute for SHCOMPACT.
3276         * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
3277         appropriately.
3278         (FUNCTION_BOUNDARY): Specify only the minimum alignment required
3279         by the ABI.
3281         * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
3283 2002-08-28  Jason Thorpe  <thorpej@wasabisystems.com>
3285         * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
3286         "MASK_GAS|MASK_ABICALLS".
3287         * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
3288         (TARGET_DEFAULT): Remove.
3289         (MACHINE_TYPE): Undefine before defining.
3290         (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
3292 2002-08-27  Mark Mitchell  <mark@codesourcery.com>
3294         * c-common.c (warn_abi): New variable.
3295         * c-common.h (warn_abi): Likewise.
3296         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
3297         (c_common_decode_option): Handle it.
3298         * doc/invoke.texi: Document -Wabi.
3300 Tue Aug 27 23:03:52 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3302         * c-common.c (warn_undeclared_selector): New variable.
3303         * c-common.h (warn_undeclared_selector): Idem.
3304         * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
3305         to on when -Wundeclared-selector is found.
3306         (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
3307         * objc/objc-act.c (build_selector_expr): If
3308         warn_undeclared_selector is set, check that the selector has
3309         already been defined, and emit a warning if not.
3311 2002-08-27  Nick Clifton  <nickc@redhat.com>
3312             Catherine Moore  <clm@redhat.com>
3313             Jim Wilson  <wilson@cygnus.com>
3315         * config.gcc: Add v850e-*-* target.
3316         Add --with-cpu= support for v850.
3317         * config/v850/lib1funcs.asm: Add v850e callt functions.
3318         * config/v850/v850.h: Add support for v850e target.
3319         * config/v850/v850.c: Add functions to support v850e target.
3320         * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
3321         * config/v850/v850.md: Add patterns for v850e instructions.
3322         * doc/invoke.texi: Document new v850e command line switches.
3324 Tue Aug 27 18:30:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
3325                           Aldy Hernandez <aldyh at redhat dot com>
3327         * doc/tm.texi: Applied numerous fixes to the automaton based
3328         scheduler descrition.
3330 Tue Aug 27 19:51:05 CEST 2002  Jan Hubicka  <jh@suse.cz>
3332         * i386.c (classify_argument): Handle variable sized objects.
3334 Tue Aug 27 19:18:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
3336         * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
3338 Tue Aug 27 18:01:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
3340         * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
3342 Tue Aug 27 18:00:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
3344         * i386.c (classify_argument): Properly compute word size of the analyzed object.
3346 Tue Aug 27 14:39:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
3348         * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
3349         mac_gp ftrc_s and cwb.  Add / Adjust definitions in individual insn
3350         accordingly.
3351         (attribute insn_class): Provide default definitions based on type.
3352         Remove all insn-specific settings.
3353         (various function units): Remove old SH4 scheduling.
3354         (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
3355         New attributes.  Set them where appropriate.
3356         (cpu unit FS): Don't define / use.
3357         (F3, load_store): New cpu units.
3358         (F01): New reservation.
3359         (all insn_reservations): Make dependent on sh4 pipeline model.
3360         Fix latencies.
3361         (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
3362         (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
3363         (mt insn_reservation): Use type mt_group.
3364         (insn_reservation load_store): Split into sh4_load, sh4_load_si,
3365         sh4_fload and sh4_store.
3366         (insn_reservation branch_zero and branch): Replace with sh4_branch.
3367         (insn_reservation branch_far): Replace with sh4_return.
3368         (insn_reservation return_from_exp): Rename to:
3369         (sh4_return_from_exp).  Change to be just d_lock*5.
3370         (insn_reservation lds_to_pr): Rename to:
3371         (sh4_lds_to_pr).  Change to be just d_lock*2.
3372         (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
3373         d_lock*2.
3374         (insn_reservation prload_mem): Rename to:
3375         (sh4_prstore_mem).  Change to d_lock*2,nothing,memory.
3376         (insn_reservation fpscr_store): Rename to:
3377         (fpscr_load).  Change to d_lock,nothing,F1*3.
3378         (insn_reservation fpscr_store_mem): Rename to:
3379         (fpscr_load_mem).  Change to d_lock,nothing,(F1+memory),F1*2.
3380         (insn_reservation multi): Change to
3381         d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
3382         (insn_reservation fp_arith): Change to issue,F01,F2.
3383         (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
3384         (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
3385         (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
3386         (insn_reservation fp_double_cmp): Change to
3387         d_lock,(d_lock+F01),F1+F2,F2.
3388         (insn_reservation dp_div): Change to
3389         issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
3390         * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
3391         (sh_adjust_cost, SHcompact): Differentiate between different
3392         kinds of dependencies.  Drop factor of ten for superscalar.
3393         Use new instruction types.  Add new exception rules.
3395         * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
3397         * sh.md (mperm_w): Add DONE.
3399 2002-08-27  David Edelsohn  <edelsohn@gnu.org>
3401         * longlong.h: Import current PowerPC defintion from GMP-4.1.
3403         * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
3405         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
3407 Tue Aug 27 13:53:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
3409         * sh.h (MAX_FIXED_MODE_SIZE): Define.
3411 2002-08-27  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
3413         * doc/cpp.texi (Common Predefined Macros): Don't mess with table
3414         delimiter.
3416 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3418         * c-common.c (cpp_define_data_format): New function.
3419         (cb_register_builtins): Call it.
3421         * doc/cpp.texi (Common Predefined Macros): Document
3422         __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
3423         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
3424         __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
3425         __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
3426         __TARGET_USES_VAX_H_FLOAT__.
3428 2002-08-26  Ziemowit Laski <zlaski@apple.com>
3430         * objc/objc-act.c (get_super_receiver): If inside a class method
3431         of a category, cast the receiver to 'id' before accessing the 'isa'
3432         field so that <objc/objc-class.h> is not needed.  For NeXT runtime.
3434 2002-08-26  Ulrich Weigand  <uweigand@de.ibm.com>
3436         * config/s390/s390-protos.h (s390_function_prologue,
3437         s390_function_epilogue): Remove.
3438         config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
3439         TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
3441         config/s390/s390.c (s390_machine_dependent_recorg): New function.
3442         config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
3443         config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
3444         config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
3445         to being called from MACHINE_DEPENDENT_REORG.  Update regs_ever_live.
3447         config/s390/s390.c (s390_frame_info): Inline save_fprs_p.  Always
3448         assume BASE_REGISTER and RETURN_REGNUM need to be saved.
3449         (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
3450         function is not a leaf function.  Use save_gprs and restore_gprs.
3451         (s390_emit_epilogue): Likewise.
3452         (save_gprs, restore_gprs): New functions.
3453         (struct s390_frame): Remove return_reg_saved_p member.
3454         (save_fprs_p): Remove.
3455         (s390_optimize_prolog): New function.
3456         (s390_legitimate_reload_constant): Remove now unnecessary check.
3458         (s390_function_count): Remove.
3459         (s390_output_symbolic_const): Replace s390_function_count by
3460         current_function_funcdef_no.
3461         (s390_output_constant_pool): Likewise.
3463         (legitimize_pic_address): Use regs_ever_live to track PIC register
3464         instead of current_function_uses_pic_offset_table.
3465         (s390_emit_prologue): Likewise.
3466         config/s390/s390.md ("call", "call_value"): Likewise.
3468 2002-08-26  Neil Booth  <neil@daikokuya.co.uk>
3470         * c-opts.c (find_opt): Don't complain about wrong languages
3471         here.  Return exact matches even for wrong language.
3472         (c_common_decode_option): Complain about wrong languages
3473         here.
3475 2002-08-24  Stuart Hastings  <stuart@apple.com>
3477         * function.h (struct function): Add flag
3478         all_throwers_are_sibcalls.
3479         * except.c (set_nothrow_function_flags): Replaces
3480         nothrow_function_p. Set new flag.
3481         * except.h (set_nothrow_function_flags): Replaces
3482         nothrow_function_p.
3483         * dwarf2out.c (struct dw_fde_struct): Add flag
3484         all_throwers_are_sibcalls.
3485         (output_call_frame_info): Test it.
3486         (dwarf2out_begin_prologue) Propagate it from cfun to
3487         dw_fde_struct.
3488         * toplev.c (rest_of_compilation): Update calls to
3489         nothrow_function_p.
3491 2002-08-23  Zack Weinberg  <zack@codesourcery.com>
3493         * ggc-page.c (compute_inverse): Short circuit calculation for
3494         object sizes larger than half a page.
3496 2002-08-23  David Edelsohn  <edelsohn@gnu.org>
3498         * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
3499         DEFAULT_ABI == ABI_AIX like PIC.  Test PIC & reloc for readonly
3500         default.
3501         (rs6000_elf_unique_section): Likewise.
3503 2002-08-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3505         * ns32k.c (ns32k_globalize_label): Delete.
3506         * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
3508 2002-08-23  Alan Modra  <amodra@bigpond.net.au>
3510         * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
3511         for loading delta with num_insns_constant_wide.  Calculate
3512         delta_low, delta_high without using a conditional.
3514 2002-08-22  Jason Merrill  <jason@redhat.com>
3516         * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
3517         * c-common.def: Adjust.
3518         * c-dump.c (c_dump_tree): Adjust.
3519         * c-semantics.c (genrtl_return_stmt): Adjust.
3520         * c-pretty-print.c (pp_c_statement): Adjust.
3521         * tree-inline.c (copy_body_r): Adjust.
3523 2002-08-22  Zack Weinberg  <zack@codesourcery.com>
3525         * ggc-page.c: Avoid division in ggc_set_mark.
3526         (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
3527         compute_inverse): New.
3528         (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
3529         (init_ggc): Initialize inverse_table.
3531 2002-08-22  Tom Tromey  <tromey@redhat.com>
3533         * doc/install.texi (Configuration): Document --datadir.
3535 2002-08-22  Alexandre Oliva  <aoliva@redhat.com>
3537         * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
3539 2002-08-22  Hans-Peter Nilsson  <hp@bitrange.com>
3541         * gengtype-lex.l (ID): Allow underscore as first character.
3543 2002-08-21  David Edelsohn  <edelsohn@gnu.org>
3545         * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
3546         function.
3547         (rs6000_xcoff_asm_named_section): Rename.
3548         * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
3550 2002-08-21  Tom Tromey  <tromey@redhat.com>
3552         For PR java/6005 and PR java/7611:
3553         * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
3554         (fold): Likewise.
3555         * langhooks.c (lhd_can_use_bit_fields_p): New function.
3556         * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
3557         (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
3558         (LANG_HOOKS_INITIALIZER): Use it.
3559         * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
3560         field.
3562 2002-08-21  Stan Shebs  <shebs@apple.com>
3564         * tree.c (finish_vector_type): Fix a typo in a comment.
3565         * Makefile.in: Fix "the the" stutters in comments.
3566         * genautomata.c: Ditto.
3567         * ifcvt.c: Ditto.
3568         * regrename.c: Ditto.
3569         * config/alpha/alpha.c: Ditto.
3570         * config/alpha/vms-crt0-64.c: Ditto.
3571         * config/alpha/vms-crt0.c: Ditto.
3572         * config/alpha/vms-psxcrt0-64.c: Ditto.
3573         * config/alpha/vms-psxcrt0.c: Ditto.
3574         * config/d30v/d30v.h: Ditto.
3575         * config/fr30/fr30.h: Ditto.
3576         * config/rs6000/rs6000.c: Ditto.
3577         * config/stormy16/stormy16.h: Ditto.
3578         * doc/md.texi: Ditto.
3580 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3582         * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
3584 2002-08-21  Joseph S. Myers  <jsm@polyomino.org.uk>
3586         * c-decl.c (grokdeclarator): Make invalid combinations with long,
3587         short, signed or unsigned into hard errors.  Fixes PR c/4319.
3588         Also make duplicate modifiers such as "short short" into hard
3589         errors.
3591 2002-08-21  Andrew Pinski <pinskia@physics.uc.edu>
3592             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3594         * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
3595         to the actual end.  Add '@end table' and '@table @code'.
3597 2002-08-20  Geoffrey Keating  <geoffk@redhat.com>
3599         * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
3601         * unroll.c (biv_total_increment): Don't try to compute the total
3602         increment for FP BIVs.
3604 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3606         * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
3607         * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
3608         ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3609         * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
3610         * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
3611         * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
3612         (GLOBAL_ASM_OP): Define.
3613         * arm.c (aof_globalize_label): New function.
3614         (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
3615         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3616         * c4x.c (c4x_globalize_label): New function.
3617         (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
3618         * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
3619         (GLOBAL_ASM_OP): Define.
3620         * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
3621         * darwin-protos.h (darwin_globalize_label): Declare.
3622         * darwin.c (darwin_globalize_label): New function.
3623         * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
3624         (ASM_GLOBALIZE_LABEL): Delete.
3625         (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
3626         * dsp16xx.c (asm_output_common): Use target hook.
3627         * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
3628         * frv.h (ASM_GLOBALIZE_LABEL): Delete.
3629         (GLOBAL_ASM_OP): Define.
3630         * i370.c (i370_globalize_label): New function.
3631         (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
3632         * i370.h (ASM_GLOBALIZE_LABEL): Delete.
3633         * i386.c (ix86_asm_file_end): Use target hook.
3634         * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
3635         (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
3636         * ia64.c (ia64_asm_output_external): Likewise.
3637         * ia64/sysv4.h: Update comment.
3638         * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3639         * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
3640         * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
3641         * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
3642         * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
3643         * mmix-protos.h (mmix_asm_globalize_label): Delete.
3644         * mmix.c (mmix_asm_globalize_label): Likewise.
3645         * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
3646         (GLOBAL_ASM_OP): Define.
3647         * ns32k.c (ns32k_globalize_label): New function.
3648         * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
3649         (ASM_GLOBALIZE_LABEL): Delete.
3650         * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
3651         (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
3652         * pa.c (pa_globalize_label): New function.
3653         * pa.h (ASM_GLOBALIZE_LABEL): Delete.
3654         (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
3655         * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
3656         (GLOBAL_ASM_OP): Define.
3657         (TARGET_ASM_GLOBALIZE_LABEL): Undef.
3658         * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3659         * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
3660         (GLOBAL_ASM_OP): Define.
3661         * v850.c (v850_output_aligned_bss): Use target hook.
3662         * vax.c (vms_globalize_label): New function.
3663         (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
3664         * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
3665         (GLOBAL_ASM_OP): Define.
3666         * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
3667         * doc/tm.texi: Update docs.
3668         * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
3669         target hook.
3670         * final.c (output_alternate_entry_point): Likewise.
3671         * hooks.c (hook_FILEptr_constcharptr_void): New function.
3672         * hooks.h (hook_FILEptr_constcharptr_void): Declare.
3673         * output.h (assemble_global): Delete.
3674         (default_globalize_label): Declare.
3675         * system.h (ASM_GLOBALIZE_LABEL): Poison.
3676         * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
3677         (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
3678         * target.h (gcc_target): Add globalize_label member.
3679         * varasm.c (asm_output_bss, asm_output_aligned_bss,
3680         globalize_decl): Use target hook.
3681         (assemble_global): Delete.
3682         (default_globalize_label): New function.
3684 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3686         * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
3688 2002-08-20  Devang Patel  <dpatel@apple.com>
3689         * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
3691 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3693         * arc.c (output_shift): Use stdio instead of asm_fprintf.
3694         * arm.c (thumb_output_function_prologue): Likewise.
3695         * avr.c (print_operand): Likewise.
3696         * c4x.c (c4x_print_operand): Likewise.
3697         * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
3698         ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
3699         * cris.c (cris_target_asm_function_prologue,
3700         cris_asm_output_mi_thunk): Likewise.
3701         * h8300.c (print_operand): Likewise.
3702         * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3703         * ip2k.c (print_operand): Likewise.  Fix format specifier.
3704         * m68hc11.c (asm_print_register, print_operand,
3705         print_operand_address): Use stdio instead of asm_fprintf.
3706         (print_operand_address): Fix format specifier.
3707         * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
3708         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
3709         asm_fprintf.
3710         * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3711         * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3712         * m68k.c (m68k_output_function_prologue,
3713         m68k_output_function_epilogue, print_operand): Likewise.
3714         * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
3715         Likewise.  Fix format specifier.
3716         * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3717         * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3718         * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3720 2002-08-15  Eric Christopher  <echristo@redhat.com>
3721             Jeff Knaggs  <jknaggs@redhat.com>
3723         * config.gcc (mipsisa64sr71k-elf): New target.
3724         * config/mips/sr71k.md: New file.
3725         * config/mips/mips.md: Use it.
3726         (rot*): Add sr71k specifics.
3727         * config/mips/t-sr71k: New file.
3728         * config/mips/mips.h (sr71k): New cpu.
3729         (TARGET_SR71K): Use it.
3730         (TUNE_SR71K): Ditto.
3731         (GENERATE_BRANCHLIKELY): Ditto.
3732         (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
3733         ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
3734         * config/mips/mips.c (sr71k): New cpu.
3735         (mips_use_dfa_pipeline_interface): Use.
3737 2002-08-15  Eric Christopher  <echristo@redhat.com>
3738             Richard Sandiford <rsandifo@redhat.com>
3739             Aldy Hernandez  <aldyh@redhat.com>
3740             Graham Stott    <grahams@redhat.com>
3741             Michael Meissner  <meissner@redhat.com>
3742             Gavin Romig-Koch  <gavin@redhat.com>
3743             Ken Raeburn  <raeburn@cygnus.com>
3744             Alexandre Oliva <aoliva@redhat.com>
3746         * config.gcc (mips64vr-elf): New target.
3747         * config/mips/5400.md: New file.
3748         * config/mips/5500.md: Ditto.
3749         * config/mips/mips.md: Use them.
3750         (frsqrt): New.
3751         * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
3752         cpus.
3753         (mips_issue_rate): Use them.
3754         (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
3755         (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
3756         * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
3757         cpus.
3758         (TARGET_MIPSx): Use them.
3759         (TUNE_MIPSx): Ditto.
3760         (GETNATE_MULT3_SI): Ditto.
3761         (ISA_HAS_BRANCHLIKELY): Ditto.
3762         (ISA_HAS_CONDMOVE): Ditto.
3763         (ISA_HAS_NMADD_NMSUB): Ditto.
3764         (ISA_HAS_MULHI): New. Ditto.
3765         (ISA_HAS_MULS): Ditto.
3766         (ISA_HAS_MSAC): Ditto.
3767         (ISA_HAS_MACC): Ditto.
3768         (ISA_HAS_ROTR_SI): Ditto.
3769         (ISA_HAS_ROTR_DI): Ditto.
3770         (RTX_COSTS): Use.
3772 2002-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3774         * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
3775         at head.
3776         (remove_dup_nonsys_dirs): New function.
3777         (remove_dup_dirs): Change argument head to head_ptr.  Remove warnings.
3778         (merge_include_chains): Remove non-system include directories from
3779         quote and bracket include chains when they duplicate equivalent system
3780         directories.
3781         * doc/cpp.texi (-I): Update.
3782         * doc/cppopts.texi (-I): Update.
3783         * doc/install.texi (--with-local-prefix): Further document usage of
3784         this option.
3785         * doc/invoke.texi (-I): Update.
3787 2002-08-20  Richard Henderson  <rth@redhat.com>
3789         * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
3790         (emit_block_move): Split out subroutines.
3791         (emit_block_move_via_movstr): New.
3792         (emit_block_move_via_libcall): New.  Emit bcopy via normal call also.
3793         (emit_block_move_libcall_fn): New.  Construct function prototype for
3794         bcopy as well.
3795         (clear_storage): Split out subroutines.
3796         (clear_storage_via_clrstr): New.
3797         (clear_storage_via_libcall): New. Emit bzero as a normal call also.
3798         (clear_storage_libcall_fn): New.  Construct function prototype for
3799         bzero as well.
3800         (emit_push_insn): Use emit_block_move.
3801         (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
3802         (store_constructor): Likewise.
3804 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
3806         * objc/objc-act.c (building_objc_message_expr): Rename to
3807         current_objc_message_selector.
3809 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
3811         * objc/objc-act.c (build_ivar_chain): Remove.
3812         (objc_copy_list): Likewise.
3813         (get_class_ivars): Inline call to removed build_ivar_chain
3814         function.  Save off a clean copy of ivars in the CLASS_OWN_IVARS
3815         slot; use that slot (rather than CLASS_IVARS) when accessing
3816         ivars for base classes.  Call copy_list and chainon instead of
3817         objc_copy_list.
3818         (build_private_template): Call get_class_ivars instead of
3819         build_ivar_chain.
3820         (start_class): Allocate room for the CLASS_OWN_IVARS slot.
3821         (continue_class): Call get_class_ivars instead of
3822         build_ivar_chain.
3823         (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
3824         of DECL_BIT_FIELD (which may have been cleared).
3825         * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
3827 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3829         * genautomata.c (output_translate_vect, output_state_ainsn_table,
3830         output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
3831         in output file.
3832         (output_internal_min_issue_delay_func): Initialize variable in
3833         output file.
3835 2002-08-19  Alexandre Oliva  <aoliva@redhat.com>
3837         * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
3838         (stage2_build, stage3_build, stage4_build): Likewise, to CC.
3840 2002-08-19  Geoffrey Keating  <geoffk@redhat.com>
3841             Steve Ellcey  <sje@cup.hp.com>
3843         * machmode.h (SCALAR_INT_MODE_P): New macro to test for
3844         scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
3845         * explow.c (trunc_int_for_mode): Abort when the mode is not
3846         a scaler integer mode.
3847         * combine.c (expand_compound_operation): Don't expand Vector
3848         or Complex modes into shifts.
3849         (expand_field_assignment): Don't do bitwise arithmatic and
3850         shifts on Vector or Complex modes.
3851         (simplify_comparison): Don't call trunc_int_for_mode
3852         for VOIDmode.
3853         * recog.c (general_operand): Likewise.
3854         (immediate_operand): Likewise.
3855         (nonmemory_operand): Likewise.
3857 2002-08-19  David Edelsohn  <edelsohn@gnu.org>
3859         * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
3860         multi-instruction SImode constant.  Add REG_EQUAL note.
3861         * config/rs6000/rs6000.md (movsi splitter): Use
3862         rs6000_emit_set_const.
3864 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3866         * tree-inline.c (initialize_inlined_parameters): Wrap variable in
3867         the macro test controlling its use.
3869 2002-08-18  H.J. Lu  (hjl@gnu.org)
3871         * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
3872         crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
3873         gnu_ld=yes.
3874         (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
3875         i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
3876         s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
3877         xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
3878         here.
3879         (cris-*-linux*): Remove setting thread_file here.
3881 2002-08-18  Neil Booth  <neil@daikokuya.co.uk>
3883         PR preprocessor/7602
3884         * cppinit.c (path_include): Treat the system environment
3885         variables as being cxx_aware.
3887 2002-08-17  Joseph S. Myers  <jsm@polyomino.org.uk>
3889         * c-decl.c (flexible_array_type_p): New function.
3890         (grokdeclarator, finish_struct): Use it.
3891         * doc/extend.texi: Document constraints on use of structures with
3892         flexible array members.
3894 2002-08-17  Richard Sandiford  <rsandifo@redhat.com>
3896         * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
3897         config/mips/t-r3900 (MULTILIB_MATCHES): Define.
3898         * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
3900 2002-08-16  Stan Shebs  <shebs@apple.com>
3902         * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
3903         for ObjC with -fnext-runtime.
3904         * doc/cpp.texi: Document it.
3906 2002-08-16  Janis Johnson  <janis187@us.ibm.com>
3908         * doc/install.texi (Final installation): Replace links to individual
3909         build status pages with a link to a common page that lists them all.
3911 2002-08-16  Sylvain Pion <pion@cs.nyu.edu>
3913         * doc/invoke.texi: Fix typo.
3915 2002-08-16  David Edelsohn  <edelsohn@gnu.org>
3917         * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
3919 2002-08-16  Andrew Haley  <aph@redhat.com>
3921         * tree-inline.c: Add includes for Java inliner.
3922         (remap_decl): Don't handle anonymous types for Java.
3923         (remap_block): Add handling for Java trees.
3924         (copy_scope_stmt): Conditionalize for non-Java use only.
3925         (copy_body_r): Handle Java trees.  Add handling for
3926         LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
3927         (initialize_inlined_parameters):  Handle Java trees.
3928         (declare_return_variable): Likewise.
3929         (expand_call_inline): Handle Java trees.
3930         (walk_tree): Likewise.
3931         (copy_tree_r): Don't handle SCOPE_STMTs for Java.
3932         (add_stmt_to_compound): New function.
3934 2002-08-15  Richard Henderson  <rth@redhat.com>
3936         * Makefile.in (LOOSE_WARN): Remove -fno-common.
3937         (NOCOMMON_FLAG): New substitution point.
3938         (GCC_WARN_CFLAGS): Include it.
3939         * configure.in (ac_checking): Set nocommon_flag.
3940         (nocommon_flag): New substitution point.
3942 2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
3944         * c-tree.h (skip_evaluation): Move declaration...
3945         * c-common.h: ... here.
3946         * c-typeck.c (build_external_ref): Don't assemble_external nor
3947         mark a tree as used if skip_evaluation is set.
3948         * c-parse.in (typeof): New non-terminal to set skip_evaluation
3949         around TYPEOF.
3950         (typespec_nonreserved_nonattr): Use it.
3952 2002-08-15  Douglas B Rupp  <rupp@gnat.com>
3954         * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
3955         (xcoff_debug_hooks): Update end_prologue.
3956         * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
3957         * debug.h (end_prologue): Add file arg.
3958         (end_epilogue): Add line and file args.
3959         (dwarf2out_end_epilogue): Add line and file args.
3960         (vmsdbgout_after_prologue): Remove.
3961         * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
3962         (dwarf2_debug_hooks): Update end_prologue.
3963         * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
3964         (dwarfout_end_prologue): Add file arg.
3965         * final.c (vmsdbgout_after_prologue): Remove
3966         (final_end_function): Update end_epilogue call.
3967         (final_scan_insn): Update end_prologue call.
3968         * sdbout.c (sdbout_end_epilogue): Add line and file args.
3969         (sdbout_end_prologue): Add file arg.
3970         (sdb_debug_hooks): Update end_prologue.
3971         (sdb_begin_prologue): Update sdbout_end_prologue call.
3972         * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
3973         vmsdbgout_end_function.
3974         (vmsdbgout_end_prologue): New function renamed from
3975         vmsdbgout_after_prologue. Call vmsdbgout_source_line.
3976         (vmsdbgout_end_function): New function.
3977         (vmsdbgout_end_epilogue): Add line and file args. Call
3978         vmsdbgout_source_line.
3979         (write_pclines): Write only valid line numbers.
3980         (write_srccorr): Don't write source correlation records if 0 lines.
3981         * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
3983 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
3985         * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
3986         (_Unwind_Internal_Ptr): 32 bit version for use in
3987         read_encoded_value_with_base.
3988         * gcc/unwind-pe.h (read_encoded_value_with_base): Use
3989         _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
3990         right size.
3992 2002-08-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3994         * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
3995         signed/unsigned warnings.
3997         * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
3998         record_reg_classes): Likewise.
4000         * reload.c (reload_inner_reg_of_subreg, push_reload,
4001         find_reloads_address_1): Likewise.
4003 2002-08-15  David Edelsohn  <edelsohn@gnu.org>
4005         * rs6000.c (output_mi_thunk): Return to function section on
4006         TARGET_ELF.
4008         * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
4010 2002-08-15  Ulrich Weigand  <uweigand@de.ibm.com>
4012         * config/s390/s390.c (legitimize_address): Optimize loading
4013         of large displacements.
4015 2002-08-14  Douglas B Rupp  <rupp@gnat.com>
4017         * config/alpha/alpha-protos.h: Update.
4019         * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
4020         (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
4021         (alpha_linkage_symbol_p): New static function.
4022         (print_operand_address): Print linkage operand.
4024         (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
4025         variables.
4026         (reloc_kind): New enum.
4027         (struct alpha_funcs): New struct.
4028         (struct alpha_links): Add reloc_kind field. Rename links_kind field.
4030         (alpha_need_linkage): Rewrite.
4031         (alpha_use_linkage): New global function.
4032         (alpha_write_linkage): Rewrite and make static.
4033         (alpha_write_one_linkage): Rewrite
4035         (alpha_start_function): Remove procedure descriptor output.
4036         (alpha_end_function): Write linkages at end of each function.
4038         * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
4039         (call_vms_1, call_value_vms_1): Rewrite.
4041         * config/alpha/vms.h (ASM_FILE_END): Remove.
4043 2002-08-14  Richard Henderson  <rth@redhat.com>
4045         * ggc-page.c (RTL_SIZE): New.
4046         (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
4047         * rtl.def (BARRIER, NOTE): Pad to 9 slots.
4049 2002-08-14  Richard Henderson  <rth@redhat.com>
4051         * calls.c: Include target.h.
4052         * Makefile.in (calls.o): Update.
4054         * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
4055         * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
4057 2002-08-14  Richard Henderson  <rth@redhat.com>
4059         * Makefile.in (LOOSE_WARN): Add -fno-common.
4060         * c-common.h (constant_string_class_name): Add missing extern.
4062 2002-08-15  Neil Booth  <neil@daikokuya.co.uk>
4064         PR preprocessor/7358
4065         * c-opts.c (check_deps_environment_vars): Ignore main file
4066         for SUNPRO_DEPENDENCIES.
4067         * cppfiles.c (stack_include_file): Ignore main file if
4068         appropriate.
4069         * cpplib.h (struct cpp_options): New member in deps.
4070         * doc/cppenv.texi: Update.
4072 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
4074         PR preprocessor/7526
4075         * cpplib.c (run_directive): Kludge so _Pragma dependency works.
4077 2002-08-14  Nathan Sidwell  <nathan@codesourcery.com>
4079         * doc/invoke.texi (-a): Remove documentation.
4080         (-fprofile-arcs): Remove reference to -a, -ax options.
4081         * doc/gcov.texi (Gcov Data Files): Data might be merged.
4083 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
4085         Fix PR/7566
4086         * c-semantics.c (genrtl_case_label): Don't (mis)use
4087         warning_with_decl.
4089 2002-08-14  Dale Johannesen  <dalej@apple.com>
4091         * explow.c (emit_stack_restore):  Emit memory clobbers
4092         preceding the stack pop, to prevent the scheduler from
4093         moving refs to variable arrays below this pop.
4094         * reload1.c (reload):  Preserve these clobbers for sched2.
4095         * doc/rtl.texi:  Document clobber (mem:BLK (scratch)).
4097 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
4099         * c-opts.c (c_common_post_options): Correct test.
4101 2002-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4103         * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
4104         order in call to fprintf.
4106 2002-08-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4108         * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
4110 2002-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
4112         * reload.c (find_reloads): Handle constraint letters marked by
4113         EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
4114         (alternative_allows_memconst): Likewise.
4115         * reload1.c (maybe_fix_stack_asms): Likewise.
4116         * recog.c (asm_operand_ok, preprocess_constraints,
4117         constrain_operands): Likewise.
4118         * regclass.c (record_operand_costs, record_reg_classes): Likewise.
4119         * local-alloc.c (block_alloc, requires_inout): Likewise.
4120         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
4122         * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
4123         (EXTRA_ADDRESS_CONSTRAINT): Likewise.
4124         * doc/tm.texi: Document these two new target macros.
4126         * config/s390/s390.c (s390_expand_plus_operand): Accept already
4127         valid operands.
4128         (q_constraint): New function.
4129         config/s390/s390-protos.h (q_constraint): Declare it.
4130         config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
4131         (EXTRA_MEMORY_CONSTRAINT): New macro.
4133         * config/s390/s390.md: Throughout the machine description,
4134         replace all instances of the constraint combinations 'Qo'
4135         or 'oQ' with simply 'Q'.
4137 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
4139         * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
4140         * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
4141         (LIBGCC2_CFLAGS): Compile with -mrelax.
4143 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
4145         * doc/invoke.texi: Document -minmax for 68HC12.
4147         * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
4148         ("uminqi3"): Likewise.
4149         ("uminhi3", "umaxhi3"): Likewise.
4151         * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
4152         (TARGET_MIN_MAX): Define.
4153         (TARGET_SWITCHES): New option -minmax/-mnominmax.
4155 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
4157         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
4158         (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
4160         * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
4161         (ret, declare, farsym): New gas macros.
4162         (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
4163         ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
4164         and declare the symbol far when compiled with -mlong-calls.
4165         (__far_trampoline): New for 68HC12 trampoline code to invoke a
4166         far handler using jsr/bsr.
4168         * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
4169         (jsr): New macro to transform a 'jsr' into a 'call'.
4171 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
4173         * doc/invoke.texi: Document -mlong-calls for 68HC12.
4175         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
4176         -mlong-calls is specified.
4177         (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
4178         assembler directives.
4179         (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
4180         (TARGET_SWITCHES): Add -mlong-calls options.
4181         (current_function_far): Declare.
4183         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
4184         into account the page register saved on the stack.
4185         (m68hc11_override_options): Take into account -mlong-calls option.
4186         (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
4188         * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
4189         if the function is going to be in 68HC12 banked memory (-mlong-calls).
4190         ("*return_16bit"): Likewise.
4191         ("*return_void"): Likewise.
4192         ("call", "call_value"): Use call for a far function call.
4194 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
4196         * toplev.c (parse_options_and_default_flags): Don't call
4197         post_options here.
4198         (general_init): Initialize GC, pools and tree hash here,
4199         instead of lang_independent_init.
4200         (lang_independent_init): Rename backend_init.
4201         (do_compile): Call post_options hook; exit early if there
4202         have been errors after switch processing.
4203         (toplev_main): Update.
4205 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
4207         * c-pretty-print.h: Guard against multiple inclusion.
4208         Robustify macros.
4209         (pp_c_attributes): Declare.
4210         * c-pretty-print.c (pp_c_attributes): New function.
4212 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4214         * m68k.c (m68k_output_function_prologue,
4215         m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
4216         and NEWS/MOTOROLA.
4217         * genattrtab.c: Remove dpx2 comment.
4218         * libgcc2.c (__enable_execute_stack): Delete versions for
4219         NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
4220         sony_news/SYSTYPE_BSD.
4221         * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
4222         __gmicro__, __i860__, __NeXT__ and __pyr__.
4223         * rtl.h: Remove convex comment.
4224         * varasm.c: Likewise.
4226 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4228         * c-opts.c (lang_flags): Const-ify.
4229         * ra-build.c (undef_table): Likewise.
4230         * ra.c (eliminables): Likewise.
4232 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
4234         * tree.h: Guard against multiple inclusion.
4236 2002-08-14  Hans-Peter Nilsson  <hp@bitrange.com>
4238         * reload1.c (reload_cse_simplify): Before checking
4239         REG_FUNCTION_VALUE_P, check REG_P.
4241 2002-08-13  Geoffrey Keating  <geoffk@redhat.com>
4243         * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
4245 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
4247         * c-opts.c (c_common_init_options): Extra braces needed.
4249 Tue Aug 13 17:40:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
4251         * sh.c (sh_init_builtins): Add PARAMS to declaration.
4252         (sh_media_init_builtins, sh_expand_builtin): Likewise.
4253         (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
4254         (sh_expand_binop_v2sf): Likewise.
4255         * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
4256         (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
4257         (sh_initialize_trampoline): Likewise.
4259 2002-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
4261         * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
4262         new condition code modes.
4263         s390.c (s390_match_ccmode_set): Handle those new CC modes.
4264         (s390_select_ccmode): Likewise.
4265         (s390_branch_condition_mask): Likewise.
4267         * s390-protos.h (s390_tm_ccmode): Declare.
4268         s390.c (s390_tm_ccmode): New function.
4269         (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
4271         * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
4272         ("*cmpsi_tm2"): Rename to "*tmsi_ext".
4273         ("*cmpqi_tm2"): Rename to "*tmqi_ext".
4275         ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
4276         "*cmphi_tm_sub","*cmphi_cct_0",  "*cmpqi_tm", "*cmpqi_tm_sub",
4277         "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
4278         ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
4279         "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
4281         ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
4282         "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
4283         "*cmpqi_ccs_0"): Remove, replace by ...
4284         ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
4285         "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
4286         "*tstqi", "*tstqi_cconly"): ... these new patterns.
4288         ("*cmpsidi_ccs"): Remove, replace by ...
4289         ("*cmpsi_ccs_sign"): ... this new pattern.
4290         ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
4292         ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
4293         ("*cli"): ... this new pattern.
4295         ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
4296         "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
4297         New patterns.
4298         ("adddi3_64"): Rename to "*adddi3_64".
4299         ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
4300         ("adddi3"): Adapt expander.
4302         ("*addsi3_cc"): Allow "general_operand" for operand 2.
4303         ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
4304         "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
4306         ("addhi3", "addqi3"): Remove, replace by ...
4307         ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
4309         ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
4310         "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
4311         ("subdi3"): Replace by insn and splitter "*subdi3_31".
4312         ("subdi3"): New expander.
4314         ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
4316         ("subhi3", "subqi3"): Remove, replace by ...
4317         ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
4319         ("*muldi3_sign"): New pattern.
4320         ("muldi3"): Do not clobber CC.
4321         ("mulsi3"): Likewise.
4322         ("mulsi_6432"): Likewise.
4324 2002-08-13  Denis Chertykov  <denisc@overta.ru>
4326         * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
4327         which can change CC0.
4329 Tue Aug 13 14:49:20 2002  J"orn Rennecke <joern.rennecke@superh.com>
4331         * gcse.c (adjust_libcall_notes): New function.
4332         (do_local_cprop): Use it.  Add fourth parameter.  Changed caller.
4334 2002-08-13  Nathan Sidwell  <nathan@codesourcery.com>
4336         * libgcc2.c (L_bb): Remove unneeded #includes.
4337         (__global_counters, __gthreads_active): Remove unused globals.
4338         (__bb_exit_func): Merge counts into files rather than appending.
4339         * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
4340         (ALL_CFLAGS): ... to here.
4342 2002-08-13  Denis Chertykov  <denisc@overta.ru>
4344         * config/ip2k/ip2k.c (commands_in_file): Variable removed.
4345         (function_epilogue): Don't calculate function size.
4346         (ip2k_set_compare): Don't use lookup_const_double.
4347         (asm_file_start): Initialization of commands_in_file removed.
4348         (asm_file_end): Output of commands_in_file removed.
4350         * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
4351         __INT_MAX__.
4353 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
4355         * c-opts.c (c_common_init_options): Check option array is
4356         sorted if checking enabled.
4358 2002-08-13  Gabriel Dos Reis  <gdr@nerim.net>
4360         * c-pretty-print.c: #include "c-tree.h".
4361         (pp_c_simple_type_specifier): Tweak.
4362         (pp_c_storage_class_specifier): New.
4363         (pp_c_function_specifier): Likewise.
4364         (pp_c_declaration_specifiers): Likewise.
4365         (pp_c_init_declarator): Likewise.
4366         (pp_c_declaration): Likewise.
4367         (pp_c_direct_declarator): Stub.
4368         (pp_c_declarator): Likewise.
4369         (pp_c_parameter_declaration): Likewise.
4371 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
4373         * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
4374         handle_deferred_opts, sanitize_cpp_opts, defer_opt,
4375         struct deferred_opt): New.
4376         (COMMAND_LINE_OPTIONS): Add -M*.
4377         (missing_arg): Update.
4378         (c_common_decode_option): Handle -M*.
4379         (c_common_post_options): Handle -M*.  Use sanitize_cpp_opts;
4380         don't call cpp_post_options.
4381         (c_common_finish, check_deps_environment_vars): Update.
4382         * cppfiles.c (stack_include_file, handle_missing_header): Update.
4383         * cpphash.h (CPP_PRINT_DEPS): Remove.
4384         * cppinit.c: Don't include version.h.
4385         (cpp_create_reader): Don't call deps_init.  Initialize
4386         warn_long_long.
4387         (cpp_read_main_file): Init deps if necessary.
4388         (cpp_destroy): Conditionally free deps.
4389         (cpp_finish): Update.
4390         (no_tgt): Remove.
4391         (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
4392         (cpp_post_options): Rename post_options.
4393         * cpplib.h (struct cpp_options): Remove some dependency options;
4394         move others to a new structure.
4395         (cpp_post_options): Remove.
4396         (cpp_finish): Comment.
4397         * fix-header.c (read_scan_file): Don't call cpp_post_options.
4399 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
4401         * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
4402         ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
4403         MMIX_rR_REGNUM as clobbered.
4404         * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
4406 2002-08-12  Gabriel Dos Reis  <gdr@nerim.net>
4408         * diagnostic.h (output_formatted_scalar): Rename from
4409         output_formatted_integer.
4410         * diagnostic.def: Add DK_DEBUG.
4411         * diagnostic.c (output_decimal): Adjust.
4412         (output_long_decimal): Likewise.
4413         (output_unsigned_decimal): Likewise.
4414         (output_octal): Likewise.
4415         (output_long_octal): Likewise.
4416         (output_hexadecimal): Likewise.
4417         (output_long_hexadecimal): Likewise.
4418         * c-pretty-print.c (pp_c_type_specifier): New function.
4419         (pp_c_specifier_qualifier_list): Likewise.
4420         (pp_c_abstract_declarator): Likewise.
4421         (pp_c_char): Replace pp_format_integer with pp_format_scalar.
4423 2002-08-12  David Edelsohn  <edelsohn@gnu.org>
4425         * doc/trouble.texi (Disappointments): Add static constructor and
4426         destructor dependency information for AIX.
4428 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
4430         * cpphash.h (struct printer): New from cppmain.c.
4431         (cpp_reader): New member.
4432         * cppmain.c (struct printer): Move to cpphash.h.
4433         (options, print): Remove.
4434         (account_for_newlines, print_line, maybe_print_line,
4435         cpp_preprocess_file, setup_callbacks, scan_translation_unit,
4436         scan_translation_unit_trad, cb_line_change, cb_ident,
4437         cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
4438         cb_def_pragma): Make reentrant.
4440 2002-08-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4442         * real.c (ieee_64): Always define.
4443         (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
4444         (dec_h): Not used yet, hide it.
4445         (emdnorm): Mark parameter in ATTRIBUTE_UNUSED.  Guard label with
4446         macro controlling use.
4447         (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
4449 Mon Aug 12 12:48:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
4451         * i386.md (tablejump): Sign extend the operand.
4452         * i386.c (classify_argument): Fix missed case from previous patch.
4454 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
4456         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
4457         to c-copts.c.
4458         (warn_multichar): Die.
4459         (cb_register_builtins): Export.
4460         * c-common.h (warn_multichar, preprocess_file): Remove.
4461         (cb_register_builtins): New.
4462         * c-lang.c (c_init): Remove.
4463         (LANG_HOOKS_INIT): Use c_objc_common_init.
4464         * c-lex.c (init_c_lex): Don't canonicalize filename.
4465         * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
4466         (preprocess_file): Make static.  Update for cpplib.
4467         (c_common_decode_option): Remove warn_multichar.  Use in_fname.
4468         (c_common_post_options): Set some cpp options here.
4469         (c_common_init): Move from c-common.c.
4470         * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
4471         * cpplib.h (struct cpp_options): Remove in_fname.
4472         (cpp_preprocess_file): Update.
4473         * cppmain.c (cpp_preprocess_file): Update for new prototypes.
4475 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4477         * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
4479 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4481         * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
4482         backslash in comment preceeding macro definition.
4483         * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
4484         * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
4485         * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
4487 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
4489         * expr.c (store_expr): In condition for checking if value is
4490         generated in TARGET, move call to expr_size last.
4492 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
4494         * c-common.c (c_common_init): Call preprocess_file instead.
4495         (c_common_finish): Move to c-opts.c.
4496         * c-common.h (preprocess_file): new.
4497         * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
4498         check_deps_environment_vars, c_common_finish): New.
4499         (c_common_decode_option): Update for out_fname and dependencies.
4500         * cppinit.c (init_dependency_output, output_deps): Remove.
4501         (cpp_destroy): Update prototype.
4502         (cpp_add_dependency_target): New.
4503         (cpp_read_main_file): Don't overlay a buffer.
4504         (cpp_finish): Take a deps output stream and write deps to it.
4505         Return the error count.
4506         (cpp_post_options): Don't canonicalize out_fname, or do anything
4507         with dependencies.
4508         * cpplib.h (struct cpp_options): Remove out_fname and
4509         preprocess_only.
4510         (cpp_add_dependency_target): New.
4511         (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
4512         * cppmain.c (cpp_preprocess_file): Update prototype.  Don't
4513         set preprocess_only.  Don't handle the output stream directly.
4515 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4517         * dsp16xx.c (print_operand): Fix format specifier.
4518         * dsp16xx.md: Avoid automatic aggregate initialization.
4519         * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
4520         * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
4521         integer constant modifier.
4522         * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
4523         * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
4524         guards.
4525         * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
4526         * v850.c (v850_select_section): Mark parameter with
4527         ATTRIBUTE_UNUSED.
4528         * global.c (global_alloc): Const-ify.
4529         * ra-colorize.c (hardregset_to_string): Fix format specifier.
4531 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4533         * darwin-c.c (darwin_pragma_options): Const-ify.
4534         * darwin.c (machopic_non_lazy_ptr_name,
4535         machopic_validate_stub_or_non_lazy_ptr): Likewise.
4536         (machopic_indirect_data_reference): Wrap variables in macros
4537         controlling their use.
4538         (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
4539         (machopic_select_section): Use parentheses around && within ||.
4540         * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
4542 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4544         * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
4545         mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
4546         ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
4547         ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
4548         mdr_try_remove_redundant_insns, track_w_reload,
4549         mdr_try_wreg_elim): Make function static to match prototype.
4550         * mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
4551         parameter with ATTRIBUTE_UNUSED.
4553 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4555         * arc.c (arc_init): Don't use ISO C style function definitions.
4556         * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
4557         arm_get_strip_length, arm_strip_name_encoding): Likewise.
4558         * avr.h (progmem_section): Likewise.
4559         * h8300.c h8300_asm_insn_count): Likewise.
4560         * m32r.c (init_idents): Likewise.
4561         * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
4562         * sh.c (sh_cfun_interrupt_handler_p): Likewise.
4563         * xtensa.c (xtensa_build_va_list): Likewise.
4565 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
4567         * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
4568         * c-opts.c (parse_option): Rename find_opt.
4569         (set_std_c99): New function.
4570         (COMMAND_LINE_OPTIONS): Handle -remap and -o.  Remove OPT_std_bad.
4571         (missing_arg): Remove OPT_std_bad.  Handle -o.
4572         (c_common_decode_option): Handle input and output file names,
4573         -o and -remap.  Clean up -std= handling.
4574         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
4575         (cpp_handle_option): Similarly.  Don't handle filenames.
4577 Sun Aug 11 14:43:17 CEST 2002  Jan Hubicka  <jh@suse.cz>
4579         * i386.c (classify_argument): Fix computing of field's offsets.
4581 2002-08-11  Andreas Jaeger  <aj@suse.de>
4583         PR target/7531:
4584         * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
4586 2002-08-10  Ziemowit Laski  <zlaski@apple.com>
4588         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
4589         reference to clk_objective_c with flag_objc.
4590         * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
4591         Likewise.
4592         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
4594 2002-08-10  Neil Booth  <neil@daikokuya.co.uk>
4596         * c-opts.c (set_std_cxx98, set_std_c89): New.
4597         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
4598         (c_common_decode_option): Handle new switches from cppinit.c.
4599         Add -std=gnu++98.
4600         * cppinit.c (set_lang): Rename cpp_set_lang.  Export.
4601         (no_arg, no_num): Remove.
4602         (COMMAND_LINE_OPTIONS): Move more to c-opts.c.  Drop all lang-
4603         switches apart from -lang-objc and lang-asm.
4604         (cpp_handle_option): Similarly.
4605         * cpplib.h (cpp_set_lang): New.
4606         * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
4607         -std=gnu++98.
4608         * objc/lang-specs.h: Remove -ansi.
4610 Sat Aug 10 19:59:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
4611                                Graham Stott
4613         * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
4614         errors.
4616 2002-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4618         * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
4619         emit_jump_insn): Fix uninitialized variable.
4620         * gcov.c (init_line_info): Likewise.
4621         * genautomata.c (transform_3): Add braces around ambiguous
4622         else.
4623         * ifcvt.c (cond_exec_process_insns): Mark parameter with
4624         ATTRIBUTE_UNUSED.
4625         * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
4626         * regrename.c (copyprop_hardreg_forward): Fix uninitialized
4627         variable.
4629         * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
4630         warnings in output files.
4632 2002-08-09  Ziemowit Laski  <zlaski@apple.com>
4634         * c-common.c (flag_objc): New.
4635         * c-common.h (c_language_kind): Get rid of clk_objective_c
4636         enum value.
4637         (flag_objc): New extern declaration.
4638         * c-decl.c (implicitly_declare): Call objc_check_decl
4639         instead of maybe_objc_check_decl.
4640         (finish_decl): Likewise.
4641         (grokfield): Likewise.
4642         (finish_struct): Likewise.
4643         * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
4644         (maybe_objc_comptypes): Rename to objc_comptypes.
4645         (maybe_building_objc_message_expr): Rename to
4646         objc_message_selector.
4647         * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
4648         replace with flag_objc as needed.
4649         * c-opts.c (c_common_init_options): Likewise.
4650         (c_common_decode_option): Likewise.
4651         * c-parse.in (init_reswords): Likewise.
4652         * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
4653         (maybe_objc_comptypes): Rename to objc_comptypes.
4654         (maybe_building_objc_message_expr): Rename to
4655         objc_message_selector.
4656         * c-typeck.c (comptypes): Call objc_comptypes instead of
4657         maybe_objc_comptypes, and/or objc_message_selector instead of
4658         maybe_building_objc_message_expr.
4659         (comp_target_types): Likewise.
4660         (convert_for_assignment): Likewise.
4661         (warn_for_assignment): Likewise.
4662         * cppinit.c (init_builtins): Set __OBJC__ manifest constant
4663         independently of those for other languages.
4664         * objc/objc-act.c (maybe_objc_comptypes): Delete.
4665         (maybe_objc_check_decl): Delete.
4666         (maybe_building_objc_message_expr): Rename to
4667         objc_message_selector.
4668         * objc/objc-lang.c (objc_init_options): Use clk_c instead of
4669         clk_objective_c; set flag_objc flag.
4671 2002-08-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
4673         * ifcvt.c (find_if_case_2): Test correct basic block for size.
4675 2002-08-09  Dale Johannesen  <dalej@apple.com>
4677         * config/rs6000/rs6000.md: Add sibcall patterns.
4678         * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL):  Define.
4679         * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
4680         Rewritten to handle sibcalls.
4681         * config/rs6000/rs6000.c (function_ok_for_sibcall):  New.
4682         * config/rs6000/rs6000-protos.h (function_ok_for_sibcall):  New.
4684 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
4686         * profile.c (da_file_name): New static var.
4687         (init_branch_prob): Initialize it.
4688         (end_branch_prob): Remove da file.
4690         * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
4691         * configure.in (coverage_flags): Default to nothing.
4692         * configure: Rebuilt.
4694 2002-08-09  Neil Booth  <neil@daikokuya.co.uk>
4696         * Makefile.in (c-opts.o): Update
4697         * c-opts.c: Include intl.h.
4698         (print_help): Move from cppinit.c.  Remove unused options.
4699         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
4700         (missing_arg): Complain for switches without an argument.
4701         (c_common_decode_option): Reject missing joined arguments.
4702         Handle new switches from cppinit.c.
4703         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
4704         (cpp_handle_option): Similarly.
4705         (print_help): Moved to c-opts.c.
4706         * cpplib.h (struct cpp_options): Remove help_only.
4707         * gcc.c (cpp_unique_options): Remove -$.
4708         * doc/cppopts.texi: Undocument -h.
4710 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
4712         * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
4713         legitimate constant.
4714         (legitimate_pic_operand_p): Neither pic operand.
4715         (legitimate_address_p): But legitimate address.
4716         (get_thread_pointer): Generate MEM/u instead of CONST around
4717         UNSPEC_TP.
4718         (print_operand): Remove printing of UNSPEC_TP.
4719         (print_operand_address): And print it here.
4721 2002-08-08  Devang Patel  <dpatel@apple.com>
4723         * objc/objc-act.c (build_selector_translation_table): Issue warning,
4724         when  -Wselector is used,if method for which selector is being
4725         created does not exist.
4727 2002-08-08  Stephen Clarke <stephen.clarke@superh.com>
4729         * config/sh/sh.c (prepare_move_operands): Only call
4730         target_reg_operand if TARGET_SHMEDIA.
4732 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
4734         * config/rs6000/rs6000.h, config/rs6000/aix.h,
4735         config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
4736         two patches.
4737         * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
4739 2002-08-08  Lars Brinkhoff  <lars@nocrew.org>
4740             Richard Henderson  <rth@redhat.com>
4742         * emit-rtl.c (gen_rtx_REG): After reload, only return
4743         frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
4745 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
4747         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
4748         * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
4749         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
4750         macro.
4752 2002-08-08  Adam Nemet  <anemet@lnxw.com>
4754         * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
4755         register.
4756         (thumb_expand_prologue): Likewise.
4757         (thumb_output_function_prologue): Likewise.
4758         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
4759         the additional push of the PIC register.
4761 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
4763         * configure.in (enable_coverage): New enable switch.
4764         * configure: Rebuilt.
4765         * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
4766         (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
4767         (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
4768         (mostlyclean): Remove coverage files.
4769         * doc/install.texi: Document enable_coverage.
4771         * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
4772         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
4773         * f/Make-lang.in (f.mostlyclean): Remove coverage files.
4774         * java/Make-lang.in (java.mostlyclean): Remove coverage files.
4775         * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
4776         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
4777         files.
4779 2002-08-08  Neil Booth  <neil@daikokuya.co.uk>
4781         * c-opts.c (cpp_opts): New.
4782         (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
4783         (c_common_decode_options): Handle cpplib switches.
4784         (c_common_init_options): Set cpp_opts.
4785         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
4786         (cpp_handle_option): Similarly.
4788 2002-08-08  David Edelsohn  <edelsohn@gnu.org>
4790         * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
4791         (TARGET_ALTIVEC_ABI): Same.
4792         (TARGET_ALTIVEC_VRSAVE): Same.
4794         * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
4795         icode not CODE_FOR_nothing.  Change switch to if.
4797 2002-08-08  Alan Modra  <amodra@bigpond.net.au>
4799         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
4801 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
4803         * stor-layout.c (place_union_field): For bitfields if
4804         PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
4805         TYPE_USER_ALIGN.
4807 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4809         * pa.c (struct deferred_plabel): Constify name field.
4811 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
4813         * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
4815 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4817         * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
4818         local_prefix are the same.
4819         * configure: Rebuilt.
4821 2002-08-07  Jakub Jelinek  <jakub@redhat.com>
4822             Richard Henderson  <rth@redhat.com>
4824         * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
4825         to type_align when PCC_BITFIELD_TYPE_MATTERS.  Only apply
4826         ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
4827         (place_field): Likewise.
4828         * config/i386/i386.c (x86_field_alignment): Don't check
4829         DECL_USER_ALIGN here.
4830         * config/rs6000/rs6000.c (rs6000_field_alignment): New.
4831         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
4832         prototype.
4833         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
4834         * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
4835         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
4836         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
4837         * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
4838         * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
4840 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
4842         * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
4843         * c-common.c: Don't include tree-inline.h.
4844         (c_common_init_options, c_common_post_options): Move to c-opts.c.
4845         * c-common.h (c_common_decode_option): New.
4846         * c-decl.c (c_decode_option): Remove.
4847         * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
4848         * c-opts.c: New file.
4849         * c-tree.h (c_decode_option): Remove.
4850         * doc/passes.texi: Update.
4851         * objc/objc-act.c (objc_decode_option): Remove.
4852         * objc/objc-act.h (objc_decode_option): Remove.
4853         * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
4854         c_common_decode_option.
4856 2002-08-07  Chris Demetriou  <cgd@broadcom.com>
4858         * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
4859         dependency on TARGET_DOUBLE_FLOAT.
4861 2002-08-07  Stephen Clarke <stephen.clarke@superh.com>
4863         * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
4864         overwrite callee-save registers.  Fix comment.
4866 2002-08-06  Chris Demetriou  <cgd@broadcom.com>
4868         * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
4869         in target_flags based on ISA, if it was not set on the command
4870         line.  Warn if MASK_BRANCHLIKLEY is set but the ISA does not
4871         support Branch Likely instructions.
4872         * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
4873         (TARGET_BRANCHLIKELY): Likewise.
4874         (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
4875         (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
4876         ISA_HAS_BRANCHLIKELY.
4877         (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
4878         * doc/invoke.texi: Document new MIPS -mbranch-likely and
4879         -mno-branch-likely options.
4881 2002-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4883         * ip2k.c (ip2k_set_compare): Add missing iteration variable.
4885         * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
4886         $(GCONFIG_H).
4888 2002-08-06  Aldy Hernandez  <aldyh@redhat.com>
4890         * c-decl.c (duplicate_decls): Error out for incompatible TLS
4891         declarations.
4893         * testsuite/gcc.dg/tls/diag-3.c: New.
4895 2002-08-06  Dale Johannesen  <dalej@apple.com>
4897         * c-common.c (fname_decl): Use line number 0 for
4898         __func__, to avoid confusing debuggers.
4900 2002-08-06  Nathan Sidwell  <nathan@codesourcery.com>
4902         * gcov.c: Tidy.
4903         (struct line_info, struct coverage): New structures.
4904         (gcov_file_name, gcov_file): Remove globals.
4905         (output_data): Take source file parameter. Fix memory leak. Break
4906         up into ...
4907         (init_line_info, output_line_info, make_gcov_file_name,
4908         accumulate_branch_counts): ... here.
4909         (calculate_branch_probs, function_summary): Adjust.
4910         (main): Adjust.
4911         (function_*): Remove global variables.
4913 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
4915         * dwarf2out.c: Remove unused macros.
4917 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
4919         * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
4921 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
4923         * cppinit.c (struct lang_flags): Rename trigraphs std.
4924         (set_lang): Update.
4925         * cpplib.h (struct cpp_options): New member std.
4926         * cppmacro.c (_cpp_builtin_macro_text): Use std.
4927         (collect_args): Flag whether to swallow a possible future
4928         comma pasted with varargs.
4929         (replace_args): Use this flag.
4930         * doc/cpp.texi: Update varargs extension documentation.
4932 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
4934         * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
4936 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
4938         * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
4939         and MODE_CLASS_INT modes.
4941 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
4943         * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
4944         --{enable,disable}-threads is given to configure.
4945         (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
4946         x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
4947         powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
4948         s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
4949         Remove thread_file setting here.
4951 2002-08-06  David Edelsohn  <edelsohn@gnu.org>
4953         * doc/install.texi (Binaries): Update Bull Freeware URL.
4955 2002-08-06  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4957         * doc/gcc.texi (Top): Rename Index to Keyword Index.
4959 2002-08-05  Nathan Sidwell  <nathan@codesourcery.com>
4961         * gcov.c (output_data): Round to % to nearest, tweak formatting.
4963 2002-08-05  Jakub Jelinek  <jakub@redhat.com>
4965         * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
4966         of the operands into MINUS_EXPR if code is PLUS_EXPR.
4968 2002-08-05  Douglas B Rupp  <rupp@gnat.com>
4970         * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
4971         * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
4972         drectve_section): Define.
4973         * config/i386/t-interix: Replace interix.o rule with winnt.o.
4974         * config/i386/interix.c: Remove.
4976 2002-08-05  Geoffrey Keating  <geoffk@redhat.com>
4978         * attribs.c: Don't include obstack.h.
4979         * builtins.c: Likewise.
4980         * cfganal.c: Likewise.
4981         * cfgbuild.c: Likewise.
4982         * cfgcleanup.c: Likewise.
4983         * emit-rtl.c: Likewise.
4984         * loop.c: Likewise.
4985         * stmt.c: Likewise.
4987         * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
4989 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
4991         * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
4993 2002-08-04  Chris Demetriou  <cgd@broadcom.com>
4995         * doc/invoke.texi: Remove duplicated paragraph describing
4996         TARGET_SWITCHES.
4998 2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
5000         * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
5001         * collect2.h (permanent_obstack): Delete declaration.
5002         * collect2.c (permanent_obstack): Delete definition.
5003         (main): Don't initialize permanent_obstack.  Use xstrdup instead.
5004         * expr.c: Don't include obstack.h.
5005         (permanent_obstack): Delete declaration.
5006         * function.c: Don't include obstack.h.
5007         (permanent_obstack): Delete declaration.
5008         * integrate.c: Don't include obstack.h.
5009         (function_maybepermanent_obstack): Delete declaration.
5010         * print-tree.c (debug_tree): Use x*alloc not permalloc.
5011         * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
5012         * tlink.c (pfgets): Use xstrdup not permanent_obstack.
5013         * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
5014         * tree.h: Rename init_obstacks to init_ttree.  Remove declarations
5015         of permalloc, expralloc, perm_calloc.
5016         * tree.c (permanent_obstack): Delete definition.
5017         (init_ttree): Rename from init_obstacks.
5018         (permalloc): Delete.
5019         (perm_calloc): Delete.
5020         (dump_tree_statistics): Don't print information about
5021         permanent_obstack.
5022         * varasm.c (assemble_start_function): Use xstrdup instead of
5023         permalloc/strcpy.
5024         (assemble_variable): Likewise.
5025         * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
5026         permalloc.
5027         (unicosmk_add_extern): Likewise.
5028         * config/c4x/c4x.c (c4x_external_ref): Likewise.
5029         (c4x_global_label): Likewise.
5030         * config/frv/frv.c (frv_encode_section_info): Likewise.
5031         * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
5032         (i386_pe_record_exported_symbol): Likewise.
5033         * config/mips/mips.c (mips_output_external): Likewise.
5034         (mips_output_external_libcall): Likewise.
5035         * config/pa/pa.c: (permanent_obstack): Delete declaration.
5036         (output_call): Use ggc_strdup instead of allocating on
5037         permanent_obstack.
5038         * config/romp/romp.c: Include ggc.h.
5039         (get_symref): Don't declare permanent_obstack, use ggc_strdup
5040         intead of permanent_obstack.
5041         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
5042         instead of permalloc.
5043         * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
5044         instead of permalloc
5045         * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
5046         instead of permalloc.
5047         * config/vax/vax.c (vms_check_external): Use xmalloc instead of
5048         permalloc.
5050 2002-08-04  Bernd Schmidt  <bernds@redhat.com>
5052         Contribute a port developed primarily by Michael Meissner,
5053         Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
5054         * config.gcc: Add frv-elf target.
5055         * config/frv/cmovd.c: New file.
5056         * config/frv/cmovh.c: New file.
5057         * config/frv/cmovw.c: New file.
5058         * config/frv/frv-abi.h: New file.
5059         * config/frv/frv-asm.h: New file.
5060         * config/frv/frv-modes.def: New file.
5061         * config/frv/frv-protos.h: New file.
5062         * config/frv/frv.c: New file.
5063         * config/frv/frv.h: New file.
5064         * config/frv/frv.md: New file.
5065         * config/frv/frvbegin.c: New file.
5066         * config/frv/frvend.c: New file.
5067         * config/frv/lib1funcs.asm: New file.
5068         * config/frv/media.h: New file.
5069         * config/frv/modi.c: New file.
5070         * config/frv/t-frv: New file.
5071         * config/frv/uitod.c: New file.
5072         * config/frv/uitof.c: New file.
5073         * config/frv/ulltod.c: New file.
5074         * config/frv/ulltof.c: New file.
5075         * config/frv/umodi.c: New file.
5076         * config/frv/xm-frv.h: New file.
5078         * config/frv/media.h: Removed again.
5080 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
5082         * gcov.c (bb_file_time): New static variable.
5083         (object_directory): May also be object file.
5084         (preserve_paths): New static variable.
5085         (print_usage): Adjust.
5086         (options): Adjust.
5087         (process_args): Adjust.
5088         (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
5089         file. Find modification date on bb file.
5090         (read_profile): Don't rewind a NULL file.
5091         (format_hwint): New static function.
5092         (function_summary): Use format_hwint.
5093         (output_data): SOURCE_FILE_NAME is never relative to
5094         OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
5095         mangling. Adjust output format to make it more machine readable.
5096         * doc/gcov.texi: Document & clarify semantics.
5098 2002-08-04  Joseph S. Myers  <jsm@polyomino.org.uk>
5100         * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
5102 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
5104         * gcc.c (cc1_options): Pass output file as auxbase when
5105         appropriate.
5106         * profile.c (init_branch_prob): FILENAME has already had ending
5107         stripped.
5108         * final.c (end_final): Likewise.
5109         * toplev.c (aux_base_name): New global.
5110         (compile_file): Pass aux_base_name to init init_branch_prob and
5111         end_final.
5112         (independent_decode_option, case 'a'): New auxinfo options.
5113         (case 'd'): Protect against mising basename.
5114         (do_compile): Initialize aux_base_name.
5115         * toplev.h (aux_base_name): New global.
5116         * doc/invoke.texi: Adjust documentation.
5118 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
5120         * config/i386/i386.c (x86_field_alignment): Remove duplicate test
5121         of TARGET_ALIGN_DOUBLE.
5123 2002-08-04  Gabriel Dos Reis  <gdr@nerim.net>
5125         * diagnostic.c (inform): New function.
5126         * diagnostic.h (inform): Declare.
5128 2002-08-03  David Edelsohn  <edelsohn@gnu.org>
5130         * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
5131         (movhi_internal): Same.
5132         (movqi_internal): Same.
5133         (movdi_internal64): Same.
5135         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
5137         * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
5138         (ASM_OUTPUT_SKIP): Use it.  SIZE unsigned.
5139         (COMMON_ASM_OP): Define.
5140         (ASM_OUTPUT_ALIGNED_COMMON): Use it.  SIZE unsigned.
5141         Use ALIGN parameter.
5142         (LOCAL_COMMON_ASM_OP): Define.
5143         (ASM_OUTPUT_LOCAL): Use it.  SIZE unsigned.
5145 2002-08-03  Roger Sayle  <roger@eyesopen.com>
5147         * builtins.def: Define new builtin functions exp, expf, expl,
5148         log, logf and logl (and their __builtin_* variants).
5149         * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
5150         Define exp_optab and log_optab.
5151         * optabs.c (init_optans): Initialize exp_optab and log_optab.
5152         * genopinit.c (optabs): Implement exp_optab and log_optab
5153         using exp?f2 and log?f2 patterns.
5154         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
5155         and BUILT_IN_LOG* using exp_optab and log_optab respectively.
5156         (expand_builtin): Ignore the new builtins (and all cos and
5157         sin variants) when not optimizing.  Expand new builtins via
5158         expand_builtin_mathfn when flag_unsafe_math_optimizations.
5160         * doc/extend.texi: Document new exp and log builtins.
5161         * doc/md.texi: Document new exp?f2 and log?f2 patterns
5162         (and previously undocumented cos?f2 and sin?f2 patterns).
5164 2002-08-03  Jason Merrill  <jason@redhat.com>
5166         * explow.c (int_expr_size): New fn.
5167         * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
5168         * expr.h: Declare it.
5170 2002-08-02  Krister Walfridsson  <cato@df.lth.se>
5172         * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
5173         gengtype-* dependencies.
5175 2002-08-02  Eric Christopher  <echristo@redhat.com>
5177         * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
5178         * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
5179         #ifndef to #undef.
5180         (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
5182 2002-08-02  David Edelsohn  <edelsohn@gnu.org>
5184         PR optimize/7067
5185         * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
5186         small if optimizing for size.
5188 2002-08-02  Daniel Jacobowitz  <drow@mvista.com>
5190         * configure.in (FORBUILD): Use $build_alias.
5191         * configure: Regenerated.
5193 2002-08-02  Richard Sandiford  <rsandifo@redhat.com>
5195         * config.gcc: Don't include mips/abi64.h in $tm_file.
5196         * hard-reg-set.h (call_really_used_regs): Declare.
5197         * config/mips/abi64.h: Remove file.
5198         * config/mips/linux.h,
5199         * config/mips/iris6.h: Don't include it.
5200         * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
5201         * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
5202         (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
5203         FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
5204         FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
5205         Bring across definitions from abi64.h.
5206         (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
5207         (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
5208         (struct mips_args): Use it.
5209         * config/mips/mips.c (mips_conditional_register_usage): Define.
5211 2002-08-02  Jason Merrill  <jason@redhat.com>
5213         * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
5214         * langhooks.c (lhd_expr_size): Define default.
5215         * langhooks.h (struct lang_hooks): Add expr_size.
5216         * explow.c (expr_size): Call it.
5217         * expr.c (store_expr): Don't copy an expression of size zero.
5218         (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
5219         to store.
5220         * Makefile.in (builtins.o): Depend on langhooks.h.
5222 2002-08-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5224         * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
5225         * ra-debug.c: Include "tm_p.h".
5226         * ra-rewrite.c (is_partly_live_1): Change return type to bool.
5228 2002-08-02  Toon Moene  <toon@moene.indiv.nluug.nl>
5230         * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
5231         when not honoring signalling NaNs.
5232         (simplify_ternary_operation): a == b has a definite value
5233         when not honoring NaNs.
5235 2002-08-02  Jason Merrill  <jason@redhat.com>
5237         * gdbinit.in (pct): New macro.
5239 2002-08-01  Stan Shebs  <shebs@apple.com>
5240             Andreas Tobler  <toa@pop.agri.ch>
5242         * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
5243         plays nice with Darwin headers.
5244         (_BSD_RUNE_T_DEFINED_): Likewise.
5246 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
5248         * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
5249         * cppinit.c (cpp_post_options): Likewise.
5251         * cppexp.c (cpp_classify_number): Suppress -Wtraditional
5252         warning about 'LL' suffix (but not 'ULL' etc) when
5253         -Wno-long-long is in effect.
5255         * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
5256         Check for failing time()/localtime(), issue a warning, and
5257         make __TIME__ and __DATE__ expand to fallback strings.
5259         * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
5260         and __TIME__ when the date and time cannot be determined.
5262 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
5264         * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
5266 2002-08-01  Daniel Jacobowitz  <drow@mvista.com>
5268         * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
5270 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
5272         * config.gcc (mipsisa64sb1-*-elf*): New configuration.
5273         (mipsisa64sb1el-*-elf*): Likewise.
5274         * config/mips/mips.c (mips_cpu_info_table): Add sb1.
5275         * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
5276         (TARGET_SB1, TUNE_SB1): New macros.
5277         * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
5278         -mtune flags.
5280 2002-08-01  David Edelsohn  <edelsohn@gnu.org>
5282         * varasm.c (asm_emit_uninitialized): Return false if global BSS
5283         and ASM_EMIT_BSS not supported by target.
5284         (assemble_variable): Do not duplicate uninitialized logic.
5285         Fall through if asm_emit_uninitialized failed.
5287 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
5289         * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
5291 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
5293         * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
5294         (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
5296         * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
5297         HOST_BITS_PER_WIDE_INT == 64.
5299 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5301         * df.c (df_insn_table_realloc): Change parameter to unsigned.
5302         * optabs.c (expand_binop): Make variable unsigned.
5303         * simplify-rtx.c (simplify_subreg): Likewise.
5304         * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
5306 2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5308         * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
5310 2002-08-01  Richard Henderson  <rth@redhat.com>
5312         * toplev.c (parse_options_and_default_flags): Don't set
5313         flag_reorder_blocks for -Os.
5315         * config/avr/avr.c (avr_optimization_options): Remove.
5316         * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
5317         * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
5318         * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
5320 2002-08-01  H.J. Lu <hjl@gnu.org>
5321             Richard Henderson  <rth@redhat.com>
5323         * output.h (DECL_READONLY_SECTION): Remove.
5324         (decl_readonly_section): Declare.
5325         * varasm.c (decl_readonly_section): New.
5326         (default_section_type_flags, default_select_section): Use it.
5327         * config/arm/pe.c (arm_pe_unique_section): Likewise.
5328         * config/i386/interix.c (i386_pe_unique_section): Likewise.
5329         * config/i386/winnt.c (i386_pe_unique_section): Likewise.
5330         * config/mcore/mcore.c (mcore_unique_section): Likewise.
5331         * config/mips/mips.c (mips_unique_section): Likewise.
5333 2002-08-01  Richard Henderson  <rth@redhat.com>
5335         * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
5336         refers to a subroutine parameter.
5338 2002-08-01  Jakub Jelinek  <jakub@redhat.com>
5340         * varasm.c (assemble_visibility): Strip name encoding.
5342 2002-08-01  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
5344         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
5345         (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
5346         when there is no frame pointer.
5347         (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
5348         registers properly.
5349         * config/ns32k/__unorddf2.c: New file.
5350         * config/ns32k/__unordsf2.c: New file.
5351         * config/ns32k/t-ns32k: New file.
5352         * config.gcc (ns32k-*-netbsd*): Use it.
5354 2002-08-01  Aldy Hernandez  <aldyh@redhat.com>
5356         * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
5358 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
5360         * c-common.c (__GXX_ABI_VERSION): Correct spelling.
5362 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
5364         * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
5366 2002-08-01  Richard Sandiford  <rsandifo@redhat.com>
5368         * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
5370 2002-08-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5372         * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
5373         n_sets): Removed.
5374         (expr_hash_table, set_hash_table): Type changed to ...
5375         (struct hash_table): New type.
5376         (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
5377         insert_expr_in_table, insert_set_in_table, compute_hash_table,
5378         dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
5379         compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
5380         (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
5381         (alloc_hash_table): New.
5382         (free_set_hash_table, free_expr_hash_table): Merged to ...
5383         (free_hash_table): New.
5384         (compute_set_hash_table, compute_expr_hash_table): Merged to ...
5385         (compute_hash_table_work): New.
5386         (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
5387         find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
5388         pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
5389         one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
5390         hoist_code, one_code_hoisting_pass,
5391         trim_ld_motion_mems): Altered due to changed type of hash tables.
5393 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
5395         * final.c (output_alternate_entry_point):
5396         If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
5398 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5400         * objc/objc-act.c (encode_complete_bitfield): Add prototype and
5401         avoid ISO C style function definition.
5403         * expr.c (expand_assignment): Delete unused variable.
5405 2002-08-01  Toon Moene  <toon@moene.indiv.nluug.nl>
5407         * c-common.c (cb_register_builtins): Set
5408         __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
5409         is given, and to 0 otherwise.
5410         * combine.c (simplify_if_then_else): HONOR_NANS
5411         implies FLOAT_MODE_P.
5413 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
5415         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
5416         (cpp_handle_option): Don't handle it.
5417         (print_help): Update.
5418         * doc/cppopts.texi: Update.
5420 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
5422         * c-common.c (cb_register_builtins): If C++, define
5423         __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
5424         * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
5426         * lang-specs.h: Simplify in accordance with new code in
5427         c-common.c.
5429 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
5431         * c-common.c: Define all C/ObjC/C++ warning and flag variables.
5432         * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
5433         * c-decl.c: Move all warning and flag variables to c-common.c.
5434         * c-format.c: Move all warning variables to c-common.c.
5435         * c-tree.h: Move all warning and flag declarations to c-common.h.
5436         * objc/objc-act.c: Move all warning variables to c-common.c.
5437         (flag_warn_protocol): Rename warn_protocol.
5439 2002-07-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5441         * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
5443 2002-07-31  Graham Stott  <graham.stott@btinternet.com>
5445         * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
5446         .section prefix.
5448 2002-07-31  Stan Shebs  <shebs@apple.com>
5450         * config.gcc (i[34567]86-*-darwin*): New configuration.
5451         * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
5452         defining.
5453         (TARGET_ENCODE_SECTION_INFO): Ditto.
5454         (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
5455         * config/darwin.c (machopic_indirect_data_reference): Remove
5456         setting of RTX_UNCHANGING_P.
5457         (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
5458         not to be applied to sums.
5459         * config/i386/t-darwin: New file.
5460         * config/i386/darwin.h: New file.
5461         * config/i386/i386.h (TARGET_MACHO): Add default definition.
5462         * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
5463         * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
5464         label and not the GOT add.
5465         (constant_address_p): For Mach-O, seeing a CONST is enough.
5466         (legitimate_pic_address_disp_p): Add a Mach-O case.
5467         (legitimate_address_p): Also test machopic_operand_p if Mach-O.
5468         (legitimize_pic_address): Use generic Mach-O code to legitimize.
5469         (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
5470         if outputting a difference.
5471         (ix86_output_addr_diff_elt): Add Mach-O case.
5472         (ix86_expand_move): Similarly.
5473         (ix86_expand_call): Similarly.
5474         (current_machopic_label_num): New global.
5475         (machopic_output_stub): New function.
5476         (ix86_value_regno): New function.
5477         (ix86_function_value): Use it instead of VALUE_REGNO.
5478         (ix86_libcall_value): Ditto.
5479         * config/i386/unix.h (VALUE_REGNO): Remove.
5481 2002-07-31  Graham Stott  <grahas@btinternet.com>
5483         * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
5484         hash for LABEL_REF's.
5486 2002-07-31  Graham Stott  <grahams@btinternet.com>
5488         * config/rs6000/rs6000.c (spe_init_builtins,
5489         altivec_init_builtins, rs6000_common_init_builtins):
5490         Replace ANSI with K&R function def.
5492 2002-07-31  David Edelsohn  <edelsohn@gnu.org>
5494         * rs6000.c (validate_condition_mode): Test flag_finite_math_only
5495         for CCFPmode.
5497 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
5499         * config/mips/crtn.asm: Don't use __mips16 to determine the
5500         return-address offset.  Define RA to a suitable temporary
5501         register for the return address.
5503 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
5505         * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
5506         constraints to 'd'.
5508 2002-07-30  Chris Demetriou  <cgd@broadcom.com>
5510         * config/mips/elf.h (STARTFILE_SPEC): Define differently if
5511         default ABI is MEABI.  (Undoes incorrect change in Eric Christopher's
5512         patch on 2002-07-29.)
5513         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
5515 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5517         * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
5518         fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
5519         ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
5520         openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
5521         s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
5522         (ASM_GLOBALIZE_LABEL): Delete.
5523         (GLOBAL_ASM_OP): Define.
5525         * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
5527         * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
5528         * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
5530 2002-07-30  Geoffrey Keating  <geoffk@redhat.com>
5532         * doc/extend.texi (Hints implementation): Document that GCC
5533         mostly ignores `register'.
5535 2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>
5537         * flags.h: Declare flag_finite_math_only.
5538         Use it in definition of HONOR_NANS and
5539         HONOR_INFINITIES.
5540         * c-common.c (cb_register_builtins): Emit
5541         __FINITE_MATH_ONLY__ when flag_finite_math_only
5542         is set.
5543         * combine.c (simplify_if_then_else): If
5544         flag_finite_math_only is set, a == b has a
5545         definite value.
5546         * toplev.c: Initialize flag_finite_math_only.
5547         (set_flags_fast_math): Set it on -ffast-math.
5548         (flag_fast_math_set_p): Test it.
5549         * doc/invoke.texi: Document -ffinite-math-only.
5551 2002-07-30  Richard Henderson  <rth@redhat.com>
5553         * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
5554         (noce_process_if_block): Likewise.
5556 2002-07-30  Bernd Schmidt  <bernds@redhat.com>
5558         * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
5559         Bail out early if false_expr is NULL and we'd crash due to this.
5560         * genemit.c (gen_expand): Recognize return insns even if the return
5561         appears in a parallel.
5562         * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
5563         * config/fp-bit.c: Likewise.
5564         * doc/tm.texi: Document it.
5566 2002-07-30  David Edelsohn  <edelsohn@gnu.org>
5567             Zack Weinberg  <zack@codesourcery.com>
5569         * rs6000.c (rs6000_expand_unop_builtin): Check icode not
5570         CODE_FOR_nothing.  Change switch to if.
5571         (rs6000_expand_binop_builtin): Same.
5572         (rs6000_expand_builtin): Expand builtin if target support enabled.
5573         (rs6000_init_builtins): Init builtin if target support enabled.
5574         (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
5576 2002-07-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5578         * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
5580 2002-07-30  Richard Sandiford  <rsandifo@redhat.com>
5582         * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
5584 Tue Jul 30 18:31:31 2002  J"orn Rennecke <joern.rennecke@superh.com>
5586         * sh.md (cond_delay_slot): New attribute.
5587         (cbranch delay): Use it for anulled-true case.
5588         (stuff_delay_slot): New pattern.
5589         * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
5590         delay slot insn.
5591         (gen_far_branch): Emit stuff_delay_slot pattern.
5593 Tue Jul 30 11:21:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
5595         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
5597 2002-07-30  Kazu Hirata  <kazu@cs.umass.edu>
5599         * fold-const.c: Fix comment typos.
5600         * gcse.c: Likewise.
5601         * reload1.c: Likewise.
5603 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
5605         * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
5606         for TARGET_SPE.
5608 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
5610         * c-pretty-print.h (pp_c_statement): Declare.
5611         * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
5612         (pp_c_statement): Define.
5614 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5616         * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
5617         darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
5618         ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
5619         mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
5620         rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
5621         v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
5623         * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
5624         * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
5626 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
5628         * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
5629         (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
5630         COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
5631         (pp_c_expression): Update.
5633 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5635         * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
5636         concat in lieu of xmalloc/strcpy/memcpy/sprintf.
5637         * alpha/vms-ld.c (main): Likewise.
5638         * dsp16xx.c (double_reg_to_memory): Likewise.
5639         * mcore.c (mcore_expand_prolog): Likewise.
5640         * cppfiles.c (read_name_map): Likewise.
5641         * gensupport.c (process_rtx, identify_predicable_attribute,
5642         alter_test_for_insn): Likewise.
5643         * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
5645 2002-07-29  Roger Sayle  <roger@eyesopen.com>
5647         * builtins.c (expand_builtin):  Change the default behavior to
5648         only issue an error if the builtin function doesn't have a
5649         fallback library call.  Remove several cases handled by the
5650         new default.
5652 2002-07-29  John David Anglin  <dave@hiauly1.hia.nrc>
5654         * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
5655         floating point format of the target is IEEE.
5656         * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
5657         format of the target is DEC.
5659 2002-07-29  Richard Henderson  <rth@redhat.com>
5661         * unroll.c (verify_addresses): Remove.
5662         (find_splittable_givs): Never split DEST_ADDR givs.
5664 2002-07-29  Geoffrey Keating  <geoffk@redhat.com>
5666         * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
5667         is exhaustive.
5668         (Files): Improve documentation on generated source files.
5670         * doc/extend.texi (Translation implementation): Document what
5671         diagnostics look like.
5672         (Identifiers implementation): Document that there's normally no
5673         limit on identifier names.
5674         (Integers implementation): Document two's complement.
5675         (Hints implementation): Document that GCC honors 'inline', mostly.
5676         (Preprocessing directives implementation): Document that GCC
5677         requires the current time.
5679 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
5681         * c-pretty-print.h (struct c_pretty_print_info): Add new member.
5682         (pp_initializer): New macro.
5683         (pp_c_initializer): Declare.
5684         * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
5685         (pp_c_initializer): Define.
5686         (pp_c_initializer_list): New function.
5687         (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
5688         VECTOR_CST, CONSTRUCTOR.
5689         (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
5690         IMAGPART_EXPR.
5691         (pp_c_cast_expression): Handle FLOAT_EXPR.
5692         (pp_c_assignment_expression): Handle INIT_EXPR.
5693         (pp_c_expression): Update.
5695 2002-07-30  Neil Booth  <neil@daikokuya.co.uk>
5697         * objc/objc-act.c (objc_init): Return immediately if filename
5698         is NULL.
5700 2002-07-29  Eric Christopher  <echristo@redhat.com>
5702         * config/mips/elf.h: Remove ecoff.h and gofast includes.
5703         (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
5704         (SDB_DEBUGGING_INFO): Undefine.
5705         (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
5706         (PUT_SDB_SIZE): Remove.
5707         (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
5708         (STARTFILE_SPEC): Add isa3264 define.
5709         * config/mips/elf64.h: Ditto.  Move TARGET_MEM_FUNCTIONS from here...
5710         * config/mips/ecoff.h: Remove. and here...
5711         * config/mips/iris3.h: and here...
5712         * config/mips/sni-svr4.h: and here...
5713         * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
5714         Add assembler -mmdebug options for non-dwarf debugging.
5715         * config/mips/r3900.h: Remove debug info defines.
5716         * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
5717         * config/mips/isa3264.h: Ditto.
5718         * config/mips/t-isa3264: Fix up for file removal and gofast configure
5719         change.
5720         * config/mips/t-elf: Ditto.
5721         * config/mips/t-ecoff: Ditto.
5722         * config/mips/t-r3900: Ditto.
5723         * config/mips/t-iris5-6: Ditto.
5724         * config/mips/t-isa3264: Ditto.
5725         * config/mips/t-linux: Remove.
5726         * config/mips/t-netbsd: Remove.
5727         * config/mips/t-mips: New file.
5728         * config/mips/t-gofast: Ditto.
5729         * config/mips/netbsd.h: Remove unnecessary undefines.
5730         * config/mips/linux.h: Remove #include of mips.h.
5731         * config.gcc: Add mips.h include for elf targets. Remove tm_file
5732         for ecoff. Add gofast configure option for mips.
5734 2002-07-29  Chris Demetriou  <cgd@broadcom.com>
5736         * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
5737         linker scripts use STARTUP directives consistently.
5738         * configure: Regenerate.
5739         * config.in: Regenerate.
5740         * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
5741         on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
5742         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
5743         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
5744         HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
5745         will be the same.
5747 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
5749         * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
5751 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
5753         * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
5755 2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>
5757         * config/rs6000/rs6000.md: Move altivec patterns from here...
5759         * config/rs6000/altivec.md: ...to here.
5761 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
5763         * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
5765 2002-07-29  Richard Henderson  <rth@redhat.com>
5767         * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
5768         set_mem_attributes and add BITPOS argument.  Subtract it from
5769         OFFSET when same is adjusted.
5770         (set_mem_attributes): New wrapper function.
5771         * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
5772         remove offset adjustment hack.
5773         * expr.h (set_mem_attributes_minus_bitpos): Declare.
5775 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
5777         * Makefile.in (C_OBJS): Include c-pretty-print.o
5778         (c-pretty-print.o): Add depency rule.
5779         * pretty-print.h: Add more macros.
5780         * c-pretty-print.c: New file.
5781         * c-pretty-print.h: Likewise.
5783 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
5785         * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
5786         constants to __ev64_s32__.
5787         (__internal_ev_mwhgsmian): Same.
5788         (__internal_ev_mwhgsmfan): Same.
5789         (__internal_ev_mwhgssfan): Same.
5790         (__internal_ev_mwhgumiaa): Same.
5791         (__internal_ev_mwhgsmiaa): Same.
5792         (__internal_ev_mwhgsmfaa): Same.
5793         (__internal_ev_mwhgssfaa): Same.
5795 2002-07-29  David Edelsohn  <edelsohn@gnu.org>
5797         * varasm.c (assemble_variable): Narrow test for uninitialized
5798         without BSS target support.
5800 2002-07-29  Nathan Sidwell  <nathan@codesourcery.com>
5802         * profile.c: Add file comment describing the overall algorithm and
5803         structures.
5804         (struct edge_info): Add comments.
5805         (struct bb_info): Add comments.
5806         * basic-block.h (EDGE_*): Add comments.
5807         * doc/gcov.texi (Gcov Data Files): Document bit flags.
5809 2002-07-29  Bob Wilson  <bob.wilson@acm.org>
5811         * config/xtensa/elf.h, config/xtensa/linux.h
5812         (TARGET_OS_CPP_BUILTINS): Define.
5813         (CPP_PREDEFINES): Remove.
5814         * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
5815         (CPP_SPEC): Remove.
5817 2002-07-29  Zack Weinberg  <zack@codesourcery.com>
5819         * gensupport.c: Include hashtab.h.
5820         (insn_elision, condition_table, hash_c_test, cmp_c_test,
5821         maybe_eval_c_test): New routines and data structures to
5822         support insn elision.
5823         (init_md_reader): Read and initialize the condition_table.
5824         (read_md_rtx): Discard insn patterns whose C test is provably
5825         always false.
5826         * gensupport.h: Declare new functions and data structures.
5828         * genconditions.c, dummy-conditions.c: New files.
5829         * Makefile.in: Build genconditions; run it to construct
5830         insn-conditions.c; build that and link it into most gen*
5831         programs.
5832         (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
5833         (GEN): Delete, unused.
5834         (STAGESTUFF): Update.
5836         * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
5837         CODE_FOR_nothing for all elided patterns.
5838         (main): Tweaked to support this.
5839         * genflags.c (gen_proto): Emit a static inline generator
5840         function here for all elided patterns, which simply returns
5841         NULL_RTX.
5842         (gen_insn): Do not define HAVE_xxx for elided patterns.
5843         (main): Tweaked to support this.  No need to forward-declare
5844         struct rtx_def.
5845         * genrecog.c: Do not bother emitting the C test if it's known
5846         to be true at compile time.
5848 2002-07-29  Mike Stump  <mrs@apple.com>
5850         * config.gcc (target_gtfiles): Initialize, as otherwise cross
5851         compilers hosted on powerpc-apple-darwin6.0 won't even build.
5853 2002-07-29  Richard Earnshaw  <rearnsha@arm.com>
5855         * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
5856         remove clobber of LR.
5857         (sibcall_insn, sibcall_value_insn): Update accordingly.
5858         (sibcall_epilogue): Remove debugging comment from assembler stream.
5860 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
5862         * pretty-print.h: Define more macros.
5863         * diagnostic.h (output_formatted_integer): Moved from...
5864         * diagnostic.c: ... here.
5866 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5868         * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
5870 2002-07-28  Zack Weinberg  <zack@codesourcery.com>
5872         * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
5873         arguments.  Always use ".-symbol" as expression argument.
5874         * doc/tm.texi: Update to match.  Document requirement for
5875         ".size symbol, .-symbol" to be acceptable to assembler.
5877         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
5878         config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
5879         config/i386/freebsd-aout.h, config/i386/sco5.h,
5880         config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
5881         config/xtensa/linux.h:  Update uses of ASM_OUTPUT_MEASURED_SIZE.
5883 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5885         * Makefile.in (gengtype-lex.c): Fix error in last change.
5887         * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
5888         backslash.
5890         * Makefile.in (vmsdbgout.o): Depend on function.h.
5892         * vmsdbgout.c: Include function.h.
5894 2002-07-28  Alan Modra  <amodra@bigpond.net.au>
5896         * prefix.c (update_path): Don't strip single `.' path components
5897         unless stripping a later `..' component.  Exit loop as soon as
5898         a valid path is found.
5900 2002-07-27  Roger Sayle  <roger@eyesopen.com>
5902         * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
5903         argument.  Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
5904         BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
5905         floating point unordered comparisons (e.g. __builtin_isgreater)
5906         as const, and leave the remaining GCC_BUILTINs unchanged.
5908         * c-decl.c (builtin_function): No need to explicitly mark
5909         BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
5911 2002-07-27  Roger Sayle  <roger@eyesopen.com>
5913         * Makefile.in: rtlanal.o now depends upon real.h.
5915         * flags.h [flag_signaling_nans]: New flag.
5916         [HONOR_SNANS]: New macro.
5918         * toplev.c [flag_signaling_nans]: Initialize to false.
5919         (f_options): Add processing for "-fsignaling-nans".
5920         (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
5921         (process_options): flag_signaling_nans implies flag_trapping_math.
5923         * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
5924         when -fsignaling-nans.  First step to implementing WG14's N965.
5926         * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
5927         1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
5928         [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
5930         * simplify-rtx.c (simplify_relational_operation): Conditionalize
5931         transforming abs(x) < 0.0 into false on !HONOR_SNANS.
5933         * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
5934         required by HONOR_SNANS.  (may_trap_p): Floating point DIV, MOD,
5935         UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
5936         -fsignaling_nans.  EQ and NE only trap for flag_signaling_nans
5937         not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
5939         * doc/invoke.texi: Document new -fsignaling-nans compiler option.
5941 2002-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5943         * Makefile.in (gengtype-lex.c): Work around a bug in flex.
5944         * gengtype-lex.l (YY_USE_PROTOS): Undef.
5945         (YY_DECL): Define.
5947 2002-07-27  Roger Sayle  <roger@eyesopen.com>
5949         * doc/invoke.texi: Document that both -fno-builtin-foo and
5950         -fno-builtin are supported by the g++ front-end.
5952 2002-07-27  Stan Shebs  <shebs@apple.com>
5954         * configure.in: Rename config_gtfiles to target_gtfiles.
5955         * configure: Regenerate.
5956         * doc/gty.texi: Update reference.
5957         * config.gcc (powerpc-*-darwin*): Set target_gtfiles
5958         instead of appending to it.
5960 2002-07-25  Aldy Hernandez  <aldyh@redhat.com>
5962         * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
5963         vectors are split into two registers.
5964         (function_arg): Same.
5966 Thu Jul 26 23:00:13 2002  J"orn Rennecke <joern.rennecke@superh.com>
5968         * pa.md (extv): Check predicates before emitting extv_32.
5970 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
5972         * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
5973         (rs6000_traceback): New var.
5974         (rs6000_override_options): Set rs6000_traceback.
5975         (rs6000_output_function_epilogue): Implement traceback options.
5976         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
5977         (rs6000_traceback_name): Declare.
5979         * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
5980         label reference when NO_PROFILE_COUNTERS.
5982 2002-07-26  Jason Merrill  <jason@redhat.com>
5984         * function.c (assign_parms): Handle frontend-directed pass by
5985         invisible reference.
5987 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
5989         * doc/cppopts.texi: Update.
5991 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
5993         * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
5994         warnings on assertions.
5996 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
5998         * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
5999         RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
6000         RID_COMPL): Remove.
6001         * c-parse.in (rid_to_yy): Similarly.
6003 2002-07-26  Jason Merrill  <jason@redhat.com>
6005         * c-dump.c: Resurrect.
6006         * tree-dump.c: Move C-specific stuff to c-dump.c.
6007         * c-common.h: Declare c_dump_tree.
6008         * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
6009         * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
6010         (c-dump.o): New rule.
6012 2002-07-26  Alan Modra  <amodra@bigpond.net.au>
6014         * config/rs6000/rs6000.md: Enable patterns using rlwinm for
6015         PowerPC64.  Replace "T" and "S" constraints with "n" when the
6016         predicate will do.  Formatting fixes.
6017         (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
6018         as for extzvsi_internal1.
6020 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
6022         * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
6023         DERIV_END_LABEL_FMT): Remove.
6024         (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
6026 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
6028         * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
6029         Remove.
6031 2002-07-25  Stan Shebs  <shebs@apple.com>
6033         * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
6034         local var dwarfp.
6035         (output_compiler_stub): Remove unused locals.
6036         (output_call): Always initialize line number.
6038 Thu Jul 25 20:34:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
6040         * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
6041         * sh.md (truncdiqi2, movqi_media): Likewise.
6043 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
6045         * gcse.c (obstack_chunk_alloc): Remove.
6046         (gcse_alloc): Fix to count allocated bytes.
6047         * collect2.c (SYMBOL__MAIN): Remove.
6049 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
6051         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
6052         HAVE_TARGET_EXECUTABLE_SUFFIX.
6054 Thu Jul 25 18:57:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
6056         * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
6057         SIZE, EXPR and OFFSET.
6059 2002-07-25  Richard Henderson  <rth@redhat.com>
6061         * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
6062         in ARRAY_REF of DECL_P case.
6064 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
6066         * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
6067         description.  Document -mips32, -mips64, and the associated -march
6068         values.  Describe the "mipsN" arguments to -march.  Say that the
6069         -mipsN options are equivalent to -march.  Reword the description
6070         of default type sizes.
6071         * toplev.h (target_flags_explicit): Declare.
6072         * toplev.c (target_flags_explicit): New var.
6073         (set_target_switch): Update target_flags_explicit.
6074         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
6075         * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
6076         * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
6077         * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
6078         * config/mips/mips.h (mips_cpu_info): New struct.
6079         (mips_cpu_string, mips_explicit_type_size_string): Remove.
6080         (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
6081         (MIPS_CPP_SET_PROCESSOR): New macro.
6082         (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
6083         Define _MIPS_ARCH and _MIPS_TUNE.
6084         (MIPS_ISA_DEFAULT): Don't provide a default value.  Instead...
6085         (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
6086         MIPS_ISA_DEFAULT were already defined.
6087         (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
6088         (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
6089         (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
6090         (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
6091         (ABI_GAS_ASM_SPEC): Remove.
6092         (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
6093         (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
6094         Invoke %(asm_abi_default_spec) if no ABI was specified.
6095         (CC1_SPEC): Remove ISA -> register-size rules.
6096         (EXTRA_SPECS): Remove abi_gas_asm_spec.  Add asm_abi_default_spec.
6097         * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
6098         (mips_cpu_string, mips_explicit_type_size_string): Remove.
6099         (mips_cpu_info_table): New array.
6100         (mips_set_architecture, mips_set_tune): New fns.
6101         (override_options): Rework to make -mipsN equivalent to -march.
6102         Detect more erroneous cases, including those removed from CC1_SPEC.
6103         Don't change the ABI based on architecture, or vice versa.
6104         Unify logic with GAS.
6105         (mips_asm_file_start): Get architecture name from mips_arch_info.
6106         (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
6107         (mips_parse_cpu): Take the name of the option as argument.  Handle
6108         'from-abi'.  Raise an error if the option is wrong.
6109         (mips_cpu_info_from_isa): New fn.
6111 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
6113         * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
6114         (tablejump_mips162): Likewise.
6116 Thu Jul 25 10:23:41 2002  J"orn Rennecke <joern.rennecke@superh.com>
6118         * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
6119         int_mode_for_mode.
6121 2002-07-25  Gabriel Dos Reis  <gdr@nerim.net>
6123         * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
6124         complaining.
6125         * c-common.h (c_sizeof): Adjust definition.
6126         (c_alignof): Likewise.
6127         * c-tree.h (c_sizeof_nowarn): Now macro.
6128         * c-typeck.c (c_sizeof_nowarn): Remove definition.
6130 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
6132         * c-decl.c (c_decode_option): No need to handle switches
6133         cpplib handles.
6135 2002-07-24  Zack Weinberg  <zack@codesourcery.com>
6137         * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
6138         ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
6139         * doc/tm.texi: Document them.  Also document SIZE_ASM_OP,
6140         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
6142         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
6143         config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
6144         config/cris/aout.h, config/i386/freebsd-aout.h,
6145         config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
6146         config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
6147         config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
6148         config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
6149         config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
6150         config/xtensa/elf.h, config/xtensa/linux.h:
6151         Use the new macros.
6152         Where possible, remove redundant definitions of SIZE_ASM_OP,
6153         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
6155 2002-07-24  Aldy Hernandez  <aldyh@redhat.com>
6157         * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
6158         TARGET_ISEL, and TARGET_FPRS.
6160         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
6161         -mabi=spe, -mabi=no-spe, and -misel=.
6163         * config/rs6000/rs6000-protos.h: Add output_isel.
6164         Move vrsave_operation prototype here.
6166         * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
6167         (smaxsi3): Same.
6168         (uminsi3): Same.
6169         (umaxsi3): Same.
6170         (abssi2_nopower): Disallow when TARGET_ISEL.
6171         (*ne0): Same.
6172         (negsf2): Change to expand and rename old pattern to *negsf2.
6173         (abssf2): Change to expand and rename old pattern to *abssf2.
6175         New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
6176         fixunssfsi2.
6178         Change patterns that check for TARGET_HARD_FLOAT or
6179         TARGET_SOFT_FLOAT to also check TARGET_FPRS.
6181         * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
6182         rs6000_isel, rs6000_fprs, rs6000_isel_string.
6183         (rs6000_override_options): Add 8540 case to
6184         processor_target_table.
6185         Set rs6000_isel for the 8540.
6186         Call rs6000_parse_isel_option.
6187         (enable_mask_for_builtins): New.
6188         (rs6000_parse_isel_option): New.
6189         (rs6000_parse_abi_options): Add spe and no-spe.
6190         (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
6191         (rs6000_legitimize_address): Check for TARGET_FPRS when checking
6192         for TARGET_HARD_FLOAT.
6193         Add case for SPE_VECTOR_MODE.
6194         (rs6000_legitimize_reload_address): Handle SPE vector modes.
6195         (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
6196         vector modes.
6197         Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
6198         (rs6000_emit_move): Check for TARGET_FPRS.
6199         Add cases for SPE vector modes.
6200         (function_arg_boundary): Return 64 for SPE vector modes.
6201         (function_arg_advance): Check for TARGET_FPRS and
6202         Handle SPE vectors.
6203         (function_arg): Same.
6204         (setup_incoming_varargs): Check for TARGET_FPRS.
6205         (rs6000_va_arg): Same.
6206         (struct builtin_description): Un-constify mask field.  Move up in
6207         file.
6208         (bdesc_2arg): Un-constify and add SPE builtins.
6209         (bdesc_1arg): Same.
6210         (bdesc_spe_predicates): New.
6211         (bdesc_spe_evsel): New.
6212         (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
6213         (rs6000_expand_binop_builtin): Same.
6214         (bdesc_2arg_spe): New.
6215         (spe_expand_builtin): New.
6216         (spe_expand_predicate_builtin): New.
6217         (spe_expand_evsel_builtin): New.
6218         (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
6219         (rs6000_init_builtins): Initialize SPE builtins.  Call
6220         rs6000_common_init_builtins.
6221         (altivec_init_builtins): Move all non-altivec builtin code to...
6222         (rs6000_common_init_builtins): ...here.  New function.
6223         (branch_positive_comparison_operator): Allow NE code for SPE.
6224         (ccr_bit): Return correct ccr bit for SPE fp.
6225         (print_operand): Emit crnor in 'D' case for SPE.
6226         New case 't'.
6227         Add SPE code for 'y' case.
6228         (rs6000_generate_compare): Generate rtl for SPE fp.
6229         (output_cbranch): Handle SPE hard floats.
6230         (rs6000_emit_cmove): Handle isel.
6231         (rs6000_emit_int_cmove): New.
6232         (output_isel): New.
6233         (rs6000_stack_info): Adjust stack frame so GPRs are saved in
6234         64-bits for SPE.
6235         (debug_stack_info): Add SPE info.
6236         (gen_frame_mem_offset): New.
6237         (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
6238         Change mode of frame pointer, when saving it, to Pmode.
6239         (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
6240         Misc cleanups and use gen_frame_mem_offset when appropriate.
6242         * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
6243         (TARGET_SPE_ABI): New.
6244         (TARGET_SPE): New.
6245         (TARGET_ISEL): New.
6246         (TARGET_FPRS): New.
6247         (FIXED_SCRATCH): New.
6248         (RTX_COSTS): Add PROCESSOR_PPC8540.
6249         (ASM_CPU_SPEC): Add case for 8540.
6250         (TARGET_OPTIONS): Add isel= case.
6251         (rs6000_spe_abi): New.
6252         (rs6000_isel): New.
6253         (rs6000_fprs): New.
6254         (rs6000_isel_string): New.
6255         (UNITS_PER_SPE_WORD): New.
6256         (LOCAL_ALIGNMENT): Adjust for SPE.
6257         (HARD_REGNO_MODE_OK): Same.
6258         (DATA_ALIGNMENT): Same.
6259         (MEMBER_TYPE_FORCES_BLK): New.
6260         (FIRST_PSEUDO_REGISTER): Set to 113.
6261         (FIXED_REGISTERS): Add SPE registers.
6262         (reg_class): Same.
6263         (REG_CLASS_NAMES): Same.
6264         (REG_CLASS_CONTENTS): Same.
6265         (REGNO_REG_CLASS): Same.
6266         (REGISTER_NAMES): Same.
6267         (DEBUG_REGISTER_NAMES): Same.
6268         (ADDITIONAL_REGISTER_NAMES): Same.
6269         (CALL_USED_REGISTERS): Same.
6270         (CALL_REALLY_USED_REGISTERS): Same.
6271         (SPE_ACC_REGNO): New.
6272         (SPEFSCR_REGNO): New.
6273         (SPE_SIMD_REGNO_P): New.
6274         (HARD_REGNO_NREGS): Adjust for SPE.
6275         (VECTOR_MODE_SUPPORTED_P): Same.
6276         (REGNO_REG_CLASS): Same.
6277         (FUNCTION_VALUE): Same.
6278         (LIBCALL_VALUE): Same.
6279         (LEGITIMATE_OFFSET_ADDRESS_P): Same.
6280         (SPE_VECTOR_MODE): New.
6281         (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
6282         the GPRs.  Set FIXED_SCRATCH fixed in SPE case.
6283         (rs6000_stack): Add spe_gp_size, spe_padding_size,
6284         spe_gp_save_offset.
6285         (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
6286         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
6287         (SPE_CONST_OFFSET_OK): New.
6288         (rs6000_builtins): Add SPE builtins.
6290         * testsuite/gcc.dg/ppc-spe.c: New.
6292         * config/rs6000/eabispe.h: New.
6294         * config/rs6000/spe.h: New.
6296         * config/rs600/spe.md: New.
6298         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
6299         __SIMD__ for TARGET_SPE.
6301         * config.gcc: Add powerpc-*-eabispe* case.
6302         Add spe.h to user headers for powerpc.
6304 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
6306         * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
6307         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
6308         * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
6310 2002-07-24  Richard Henderson  <rth@redhat.com>
6312         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
6313         form when not optimizing.
6315 2002-07-24  David Mosberger  <davidm@hpl.hp.com>
6317         * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
6318         thread_pointer_rtx as unchanging.
6320 2002-07-24  Michael Matz  <matz@suse.de>
6322         * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
6323         (free_reg): Use it.
6325 2002-07-24  Richard Earnshaw  <rearnsha@arm.com>
6327         * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
6328         pattern.
6329         (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
6330         (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
6332 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
6334         * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
6335         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
6336         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
6338 Wed Jul 24 17:59:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
6340         * toplev.c (rest_of_compilation): Dump loops before clobbering
6341         the structure.
6343 Wed Jul 24 17:23:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
6345         * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
6347 2002-07-24  Frank van der Linden  <fvdl@wasabisystems.com>
6349         PR optimization/7291
6350         * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
6351         problem on x86_64.
6353 2002-07-24  Gabriel Dos Reis  <gdr@nerim.net>
6355         * pretty-print.h: Add macros from cp/error.c
6357 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
6359         * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
6360         (mask64_2_operand): Declare.
6361         (build_mask64_2_operands): Declare.
6362         (and64_2_operand): Declare.
6363         (extract_MB): Declare.
6364         (extract_ME): Declare.
6365         * config/rs6000/rs6000.c (mask64_operand): Allow all ones.  Remove
6366         CONST_DOUBLE code.
6367         (mask_operand_wrap): New insn predicate.
6368         (mask64_2_operand): Likewise.
6369         (and64_2_operand): Likewise.
6370         (build_mask64_2_operands): New function.
6371         (extract_MB): New function.
6372         (extract_ME): New function.
6373         (print_operand <case m,M>): Use extract_MB and extract_ME.
6374         (print_operand <case S>): Allow all ones.  Remove CONST_DOUBLE support.
6375         * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
6376         (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
6377         mask64_2_operand.  Remove CONST_DOUBLE from mask64_operand.
6378         * config/rs6000/rs6000.md (andsi3_internal3): New
6379         (andsi3_internal3+1): Enable split for powerpc64.
6380         (andsi3_internal3+2): New split.
6381         (andsi3_internal4): Renamed old andsi3_internal3.
6382         (andsi3_internal5): New.
6383         (andsi3_internal5+1): Enable split for powerpc64.
6384         (andsi3_internal5+2): New split.
6385         (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
6386         (anddi3): Handle 't' constraint.
6387         (anddi3+1): New split.
6388         (anddi3_internal2): Handle 't' constraint.
6389         (anddi3_internal2+1): New split.
6390         (anddi3_internal3): Handle 't' constraint.
6391         (anddi3_internal3+1): New split.
6393 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
6395         * config/rs6000/rs6000.md: Remove scratch reg on insns using
6396         addze and similar (plus (comparison r1 r2) r3) insns.  Add
6397         missing scratch reg in one case.  Formatting fixes.
6399 2002-07-24  Neil Booth  <neil@daikokuya.co.uk>
6401         * cppexp.c (parse_defined): Mark macro used.
6402         * cpphash.h (struct cpp_macro): New member "used".
6403         (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
6404         (struct cpp_reader): New member.
6405         * cppinit.c (cpp_finish_options): Set first_unused_line.
6406         (cpp_finish): Warn of unused macros if requested.
6407         (OPT_TABLE): New switches.
6408         (cpp_handle_option): Handle them.
6409         * cpplib.c (do_undef): Warn if macro unused.
6410         (do_ifdef, do_ifndef): Mark macro used.
6411         * cpplib.h (struct cpp_options): New member.
6412         * cppmacro.c (_cpp_warn_if_unused_macro): New.
6413         (enter_macro_context): Mark macro used.
6414         (_cpp_create_definition): Mark macro unused; warn if unused
6415         when redefined.
6416         * cpptrad.c (scan_out_logcial_line, push_replacement_text):
6417         Mark macros used.
6418         * doc/cppopts.texi: Update.
6420 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6422         * dwarf2out.c (SECTION_ASM_OP,
6423         ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
6424         * system.h (SECTION_ASM_OP): Poison.
6425         * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
6426         * config/alpha/alpha-interix.h, config/mips/linux.h
6427         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
6428         * config/mmix/mmix-protos.h, config/mmix/mmix.c
6429         (mmix_asm_output_define_label_difference_symbol): Remove.
6430         * config/mmix/mmix.h
6431         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
6432         * doc/tm.texi: Remove documentation.
6434 Tue Jul 23 21:49:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
6436         * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
6437         (constrain_operands): Likewise.
6438         * regclass.c (record_reg_classes): Likewise.
6439         * reload.c (find_reloads): Likewise.
6440         * doc/md.texi: Likewise.
6442         * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
6443         * simplify-rtx.c (simplify_subreg): When converting to a non-int
6444         mode, try to convert to an integer mode of matching size first.
6446         * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
6447         from individual subregs, check that each subreg has been generated
6448         sucessfully.
6450 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6452         * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
6453         * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
6454         FOR_EACH_BB_IN_SBITMAP): Remove.
6455         * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
6456         * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
6457         LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
6458         * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
6459         PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
6460         * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
6462 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
6464         * pretty-print.h: New file.
6466 2002-07-23      Paul Koning     <pkoning@equallogic.com>
6468         * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
6469         (LARGEST_EXPONENT_IS_NORMAL): Ditto.
6470         (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
6471         (TARGET_G_FLOAT): Default to 0 if not defined.
6472         (ieeetoe): New, common routine to convert target format floats
6473         to internal form.
6474         (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
6475         vs. others.
6476         (e113toe): Change to use ieeetoe.
6478 2002-07-23  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6480         * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
6481         IBM.
6482         (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
6483         (e64toe): Remove special cases for DEC and IBM. Remove support for
6484         ARM_EXTENDED_IEEE_FORMAT.
6485         (e24toe): Remove special cases for DEC.
6486         (significand_size): Simplify. Indent.
6487         (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
6488         (etoieee, toieee): New.
6489         (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
6490         etoieee and toieee for IEEE arithmetic.
6492 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
6494         * doc/extend.texi: Say ISO C90, not ISO C89.
6495         * doc/invoke.texi: Likewise.
6496         * doc/standards.texi: Likewise.
6498 2002-07-23  Steve Ellcey  <sje@cup.hp.com>
6500         * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
6501         Fix permutation of conversion and plus/mult.
6502         * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
6503         ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
6504         (expand_builtin_strncpy) Ditto.
6505         (expand_builtin_memset) Ditto.
6507 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
6509         Fix PR/7363:
6510         * c-common.c (c_sizeof_or_alignof_type): New function.
6511         (c_alignof): Remove definition.
6512         * c-common.h (c_sizeof, c_alignof): Define as macros.
6513         (c_sizeof_or_alignof_type): Declare.
6514         (my_friendly_assert): Moved from cp/cp-tree.h
6515         * c-typeck.c (c_sizeof): Remove definition.
6517 2002-07-23  Jan Hubicka  <jh@suse.cz>
6519         * gcse.c (try_replace_reg): Use num_changes_pending.
6520         * recog.c (num_changes_pending): New function.
6521         (validate_replace_src): Use validate_repalce_src_group.
6522         (validate_replace_src_group): New.
6523         * recog.h (validate_repalce_src_group): New.
6524         (num_changes_pending): Likewise.
6526 Tue Jul 23 12:16:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
6528         * calls.c (emit_library_call_value_1): If
6529         FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
6530         libcall, const call nor pure call.
6532 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6534         * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
6536 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6538         * vmsdbgout.c (SECTION_ASM_OP): Remove.
6540 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6542         * config/i386/i386.c (AT_BP): Remove.
6544 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6546         * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
6547         Default definition.
6548         * gcse.c: Don't define obstack_chunk_free.
6549         * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
6550         flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
6551         integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
6552         reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
6553         Don't define obstack macros.
6555 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
6557         PR target/6744
6558         * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
6559         ASM_OPERANDS instructions.
6561 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
6563         PR target/7361
6564         * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
6565         constant addresses only on 68HC12.
6567 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
6569         * cppfiles.c (stack_include_file): Correct test of whether
6570         a dependency should be output.
6572 2002-07-22  David Edelsohn  <edelsohn@gnu.org>
6574         * collect2.c (is_ctor_dtor): Add other possible JOINER values.
6576 2002-07-22  Richard Earnshaw  <rearnsha@arm.com>
6578         * arm.md (movqi): If optimizing and we can create pseudos, use
6579         a ZERO_EXTEND to load from memory, then copy the result into the
6580         target.
6581         (movhi): Likewise, but only for ARMv4.
6583 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
6585         * ssa-ccp.c (PHI_PARMS): Remove.
6587 2002-07-22  Richard Sandiford  <rsandifo@redhat.com>
6589         * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
6590         on big-endian targets.
6592 2002-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6594         * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
6595         HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
6596         HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
6597         New formatting macros.
6599         * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
6601 Mon Jul 22 15:27:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
6603         * rtlanal.c (subreg_regno_offset): Return correct offset for
6604         big endian paradoxical subregs.
6606         * optabs.c (expand_vector_unop): Don't expand using sub_optab
6607         if we got the wrong mode.
6609         * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
6610         * genrecog.c (write_switch, write_cond): Use it.
6611         * genemit.c (gen_exp): Likewise.
6613 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
6615         * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
6617 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
6619         * c-decl.c (build_compound_literal): Defer compound literal decls
6620         until until file end to emit them only if they are actually used.
6622 2002-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6624         * ra-build.c (check_conflict_numbers): Hide unused function.
6625         (livethrough_conflicts_bb): Avoid automatic aggregate
6626         initialization.
6627         (parts_to_webs_1): Avoid `U' integer constant modifier.
6628         (conflicts_between_webs): Wrap a variable in the macro controlling
6629         its usage.
6630         * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
6631         (dump_igraph, dump_graph_cost): Avoid string concatenation
6632         (dump_static_insn_cost): Avoid automatic aggregate
6633         initialization.
6634         * ra-rewrite.c (insert_stores): Avoid automatic aggregate
6635         initialization.
6636         (dump_cost): Avoid string concatenation
6638 2002-07-21  Richard Henderson  <rth@redhat.com>
6640         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
6641         GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
6643 2002-07-21  Richard Henderson  <rth@redhat.com>
6645         * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
6646         that are not unrolled completely.
6648 2002-07-21  Richard Henderson  <rth@redhat.com>
6650         * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
6651         * loop.c (strength_reduce): Update.
6652         * toplev.c (rest_of_compilation): Do unrolling in the first
6653         loop pass, not the second.
6655 2002-07-21  Richard Henderson  <rth@redhat.com>
6657         * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
6658         when flag_argument_noalias == 2.
6659         * alias.c (nonoverlapping_memrefs_p): Handle that.
6660         * print-rtl.c (print_mem_expr): Likewise.
6662 2002-07-21  Hartmut Schirmer  <hartmut.schirmer@arcor.de>
6664         * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
6665         instead of __negdi2 directly.
6667 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
6669         * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
6670         * function.c (SYMBOL__MAIN): Remove definition.
6671         * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
6672         * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
6673         * profile.c (GCOV_INDEX_TO_BB): Remove.
6674         * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
6675         * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
6677 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
6679         * c-lex.c (GET_ENVIRONMENT): Remove.
6680         * collect2.c (GET_ENV_PATH_LIST): Remove.
6681         (prefix_from_env): Use GET_ENVIRONMENT.
6682         * cppinit.c (GET_ENV_PATH_LIST): Remove.
6683         (init_standard_includes): Use GET_ENVIRONMENT.
6684         * defaults.h (GET_ENVIRONMENT): Define here if not already.
6685         * gcc.c (GET_ENV_PATH_LIST): Remove.
6686         (make_relative_prefix, process_command): Update.
6687         * protoize.c (GET_ENV_PATH_LIST): Remove.
6688         (do_processing): Update.
6690 2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>
6692         * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
6693         (grokdeclarator): Likewise.
6694         * c-format.c (C_STD_NAME): Likewise.
6695         * c-lex.c (interpret_integer): Likewise.
6696         * c-typeck.c (build_array_ref): Likewise.
6697         * cpplex.c (_cpp_lex_direct): Likewise.
6698         * toplev.c (documented_lang_options): Likewise.
6700 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
6702         * c-format.c (T99_I, T99_UI): Remove.
6704 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
6706         * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
6708 Sun Jul 21 21:36:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
6710         * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
6711         do_local_cprop.
6713 2002-07-21  Andreas Jaeger  <aj@suse.de>
6715         * reload1.c (fixup_abnormal_edges): Remove unused variable.
6717 2002-07-21  Bernd Schmidt  <bernds@redhat.com>
6719         Improvements for the ifcvt pass from Michael Meissner, with patches
6720         by Richard Sandiford <rsandifo@redhat.com>
6721         * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
6722         * ifcvt.c (cond_exec_changed_p): New static variable.
6723         (last_active_insn): New function, renamed from last_active_insn_p
6724         and changed to return the last active insn in a basic block. All
6725         callers updated.
6726         (block_fallthru): New function.
6727         (cond_exec_process_insns): New argument CE_INFO.  Pass it to
6728         IFCVT_MODIFY_INSN.  All callers updated.
6729         Return false if START or END are NULL.
6730         Handle case where we're processing an insn that is already
6731         conditional.
6733         (noce_process_if_block): CE_INFO argument rather than
6734         multiple args containing the involved basic blocks.  All callers
6735         changed.
6736         (process_if_block, merge_if_block, find_if_block,
6737         cond_exec_process_if_block): Likewise.
6739         (cond_exec_process_if_block): New arg DO_MULTIPLE_P.  All callers
6740         changed.
6741         Use new function last_active_insn to simplify some code.
6742         New code to handle multiple tests.
6743         Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
6744         cond_exec_changed_p to TRUE.
6746         (process_if_block): New code to handle multiple tests.
6747         (merge_if_block): Likewise.
6748         (find_if_header): New arg PASS.  Changed to return the currently
6749         processed basic block or NULL instead of true/false. All callers
6750         changed.
6751         Call IFCVT_INIT_EXTRA_FIELDS.
6752         (block_jumps_and_fallthru_p): New function.
6753         (find_if_block): Discover opportunities to convert multiple tests.
6754         Add additional debugging output.
6755         Update the ce_info structure before returning.
6757         (if_convert): Run multiple passes of if-conversion.
6758         * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
6759         IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
6760         IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
6761         these macros.
6763 Sun Jul 21 00:54:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
6765         * gcse.c: Include cselib.h
6766         (constptop_register): Break out from ...
6767         (cprop_insn): ... here; kill basic_block argument.
6768         (do_local_cprop, local_cprop_pass): New functions.
6769         (one_cprop_pass): Call local_cprop_pass.
6771 2002-07-20  Roger Sayle  <roger@eyesopen.com>
6773         * simplify-rtx.c (simplify_relational_operation): Optimize
6774         abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
6776 2002-07-20  Michae Matz  <matz@suse.de>
6778         * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
6780 2002-07-20  Neil Booth  <neil@daikokuya.co.uk>
6782         * cppexp.c (struct op): Add token pointer.
6783         (check_promotion, CHECK_PROMOTION): New.
6784         (optab): Update.
6785         (_cpp_parse_expr): Update, use token pointer of struct op.
6786         (reduce): Warn about change of sign owing to promotion.
6787         * cppinit.c (cpp_handle_option): New warning if -Wall.
6788         * cpplib.h (struct cpp_options): New member.
6790 2002-07-19  David Edelsohn  <edelsohn@gnu.org>
6792         * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
6793         fpu list.  Separate Power4 compare and delayed_compare.  Correct
6794         Power4 fpcompare.
6795         (fix_truncdfsi2_internal): Restore FPR preference.
6796         * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
6797         mcpu?power4, mcpu?604e.  Remove mpower, mpower2, mpowerpc.
6799 2002-07-19  Momchil Velikov <velco@fadata.bg>
6801         * reload1.c (reload_as_needed): Duplicate oldpat.
6803 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
6805         PR optimization/7130
6806         * loop.h (struct loop_info): Add "preconditioned".
6807         * unroll.c (unroll_loop): Set it.
6808         * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
6810 2002-07-19  Zack Weinberg  <zack@codesourcery.com>
6812         * rtl.def (CODE_LABEL): Remove slot 8.
6813         * rtl.h (struct rtx_def): Document new uses of jump and call fields.
6814         (LABEL_ALTERNATE_NAME): Delete.
6815         (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
6816         * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
6818         * final.c (output_alternate_entry_point): New.
6819         (final_scan_insn): Use it instead of
6820         ASM_OUTPUT_ALTERNATE_LABEL_NAME.  Do not consider possibility
6821         of a case label being an alternate entry point.
6823         * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
6824         * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
6825         Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
6826         (field deleted).
6827         * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
6829         * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
6830         LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
6831         * doc/tm.texi: Delete documentation of
6832         ASM_OUTPUT_ALTERNATE_LABEL_NAME.
6834 2002-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6836         * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
6837         (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
6838         (LINK_SPEC): Define.
6839         (STARTFILE_SPEC): Define.
6840         (ENDFILE_SPEC): Define.
6842         * config/mips/iris6-o32.h (LINK_SPEC): Move ...
6843         * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
6845         * config/mips/iris6-o32-gas.h: New file.
6846         * config.gcc (mips-sgi-irix6*o32): Use it.
6848         * config/mips/t-iris5-gas: New file.
6849         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
6851 2002-07-19  Neil Booth  <neil@daikokuya.co.uk>
6853         * cppexp.c (ALWAYS_EVAL): Remove.
6854         (optab, reduce): Always evaluate.
6855         (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
6856         only if not skipping evaluation.
6858 2002-07-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
6860         * config/avr/avr.c (debug_hard_reg_set): Remove.
6862 2002-07-19  Chris Demetriou  <cgd@broadcom.com>
6864         * gcc.c (cpp_options): Include "%1" (cc1_spec).
6866 2002-07-19  Richard Henderson  <rth@redhat.com>
6868         * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
6870 2002-07-19  Alan Modra  <amodra@bigpond.net.au>
6872         * prefix.c (update_path): Don't zap single `.' path components
6873         unless followed by another `.' and fix typo last patch.
6875 2002-07-18  Neil Booth  <neil@daikokuya.co.uk>
6877         * cppexp.c (cpp_num_mul): Remove unused parameter.
6878         (UNARY, BINARY, OTHER, binary_handler): Remove.
6879         (ALWAYS_EVAL): New.
6880         (optab): Update.
6881         (reduce): Refactor to a large switch, don't use a function
6882         pointer.
6884 2002-07-18  Bo Thorsen  <bo@berlioz.suse.de>
6886         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
6888 Thu Jul 18 19:39:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
6890         * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
6891         (sh_expand_binop_v2sf): Likewise.
6892         * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
6893         (int_gpr_dest, trunc_hi_operand): New functions.
6894         * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
6895         trunc_hi_operand.
6896         (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
6897         * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
6898         (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
6899         (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
6900         (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
6901         (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
6902         (extendhisi2_media+1, extendqisi2_media+1): Likewise.
6903         (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
6904         (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
6905         (movsf_ie+1): Likewise.
6906         (loaddi_trunc): Use int_gpr_dest predicate.
6907         (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
6908         (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
6909         (casesi_worker_0+[12], casesi_worker): Likewise.
6910         (shcompact_preserve_incoming_args): Likewise.
6911         (mov_nop): Use any_register_operand predicate.
6912         (mperm_w0): Use trunc_hi_operand predicate.
6914 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6916         * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
6917         * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
6918         numbering.
6920 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6922         * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
6924 2002-07-18  Richard Henderson  <rth@redhat.com>
6926         PR optimization/7147
6927         * ifcvt.c (noce_get_condition): Make certain that the condition
6928         is valid at JUMP.
6930 Thu Jul 18 13:44:51 2002  J"orn Rennecke <joern.rennecke@superh.com>
6932         * sh.c (barrier_align, push): Shut up compiler warnings.
6933         (initial_elimination_offset,sh_media_init_builtins): Likewise.
6934         (reg_no_subreg_operand): Delete.
6936 2002-07-17  Bo Thorsen  <bo@suse.de>
6938         * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
6939         (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
6940         (STARTFILE_SPEC): Remove hardcoded library paths.
6941         (ENDFILE_SPEC): Likewise.
6943 Thu Jul 18 09:38:59 CEST 2002  Jan Hubicka  <jh@suse.cz>
6945         * gcse.c (hoist_expr_reaches_here_p):  Stop once expr_bb is reached.
6947         * gcse.c (try_replace_reg): Do not return false positives.
6949 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
6951         * prefix.c: (update_path): Strip ".." components when prior dir
6952         doesn't exist.  Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
6954         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
6955         (ASM_OUTPUT_REG_POP): Likewise.
6957 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
6959         * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
6960         adjustments to first_reg for profiling case.
6961         (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
6962         Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
6963         Save static chain reg to sp + 12 on ABI_AIX_NODESC.
6964         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
6965         (ASM_OUTPUT_REG_POP): Define.
6966         * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
6967         (ASM_OUTPUT_REG_POP): Undef.
6969 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
6971         * cpplib.c (do_sccs): Handle #sccs on all systems.
6972         * system.h (SCCS_DIRECTIVE): Poison.
6973         * config/darwin.h, config/freebsd.h, config/netbsd.h,
6974         config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
6975         config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
6976         config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
6977         config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
6978         config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
6979         config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
6980         config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
6981         Remove all references to SCCS_DIRECTIVE.
6982         * doc/cpp.texi, doc/tm.texi: Update.
6984 Wed Jul 17 19:23:32 2002  J"orn Rennecke <joern.rennecke@superh.com>
6986         * regrename.c (maybe_mode_change): New function.
6987         (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
6989 2002-07-17  Rodney Brown  <rbrown64@csc.com.au>
6991         * config/i386/i386.c (ix86_expand_int_movcc): In the general case
6992         suppress addition when either ct or cf are zero.
6994 2002-06-17  Eric Botcazou <ebotcazou@multimania.com>
6995             Glen Nakamura <glen@imodulo.com>
6997         PR optimization/6713
6998         * loop.c (loop_givs_rescan): Explicitly delete the insn that
6999         sets a non-replaceable giv after issuing the new one.
7001 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
7003         * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
7004         eval_token): Clarify and correct use of "bool" variables.
7005         * cpplib.h (struct cpp_options): Similarly.
7006         * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
7007         * cpptrad.c (recursive_macro): Similarly.
7009 Wed Jul 17 17:08:06 2002  J"orn Rennecke <joern.rennecke@superh.com>
7011         * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
7012         SHmedia code.
7014         * sh.md (cmpgtudi_media): Remove spurious @.
7016         * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
7017         * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
7019         * config/sh/lib1funcs.asm (init_trampoline): New entry point.
7020         * sh-protos.h (sh_initialize_trampoline): Declare.
7021         * sh.c (sh_initialize_trampoline): New function.
7022         * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
7023         (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
7024         (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
7025         (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
7026         * sh.md (initialize_trampoline, double_shori): New patterns.
7027         (initialize_trampoline_compact): Likewise.
7028         (shmedia32_initialize_trampoline_big): Remove.
7029         (shmedia32_initialize_trampoline_little): Likewise.
7031         * sh-protos.h (binary_float_operator): Remove declaration.
7032         (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
7033         * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
7034         (unary_float_operator, sh_expand_unop_v2sf): New functions.
7035         (sh_expand_binop_v2sf): Likewise.
7036         (zero_vec_operand): Delete.
7037         (SH_BLTIN_UDI): New builtin shared signature define.  Renumbered
7038         all non-shared ones.
7039         (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
7040         Enable nsb and byterev.
7041         * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
7042         (HARD_REGNO_MODE_OK): Allow TImode in fp regs.  Allow V2SFmode
7043         in general regs.
7044         (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
7045         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.  Remove clause for
7046         immediate operands.
7047         (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
7048         Add DF_HI_REGS.
7049         (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
7050         lowpart fp regs - only for big endian for now.
7051         (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
7052         when FPU is in use.
7053         (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
7054         (LOAD_EXTEND_OP): NIL for SImode.
7055         (REGISTER_MOVE_COST): Add DF_HI_REGS.  Const for moves between
7056         general and fp registers is 4.
7057         PREDICATE_CODES: Amend binary_float_operator entry.
7058         Remove zero_vec_operand.  Add unary_float_operator.
7059         * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
7060         subreg SET_DEST.
7061         (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
7062         (truncdiqi2): Do sign extension.
7063         (movsi_media, movdi_media): Allow to use r63 to an fp register.
7064         (movdf_media, movsf_media): Likewise.
7065         (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
7066         Collapse to one define_insn_and_split.  Allow immediate sources.
7067         (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
7068         (movv4sf_i): Allow immediate sources.  Use simplify_gen_subreg.
7069         (movv4sf): Allow immediate sources.
7070         (movsf_media_nofpu+1): Don't split moves to FP registers.
7071         (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
7072         (movv8qi_i+3): Check against CONST0_RTX.
7073         (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
7074         for input and output operands.  Fix argument 3 to gen_mextr_rl.
7075         (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
7076         (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
7077         (mshf0_w, fipr, ftrv): Likewise.
7078         (mshfhi_l_di): Now insn_and_split.  Can handle FP regs.
7080 2002-07-17  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
7082         * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
7083         NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively.  All uses changed.
7084         * arm.c: Similarly.
7086 2002-07-17  Richard Sandiford  <rsandifo@redhat.com>
7088         * config/mips/mips-protos.h (mips_sign_extend): Declare.
7089         * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
7090         (TARGET_SWITCHES): Remove debugh.
7091         (ISA_HAS_TRUNC_W): New macro.
7092         (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
7093         (PREDICATE_CODES): Remove se_nonimmediate_operand.
7094         * config/mips/mips.c (movdi_operand): Allow sign-extensions of
7095         any SImode move_operand.
7096         (se_nonimmediate_operand): Remove.
7097         (mips_sign_extend): New.
7098         (mips_move_2words): Use it for sign-extended source operands.
7099         (override_options): Allow integers to be put into single FPRs.
7100         (mips_secondary_reload_class): Handle integers in float registers.
7101         * config/mips/mips.md (extendsidi2): Turn into a define_expand.
7102         (fix_truncsfsi2, fix_truncdfsi2): Likewise.
7103         (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
7104         (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
7105         (fix_truncdfdi2): Provide only a single alternative, in which the
7106         integer is in a float register.  Depend on TARGET_FLOAT64 rather
7107         than TARGET_64BIT.
7108         (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
7109         (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
7110         (movdi_internal2): Don't allow the source operand to be sign-extended.
7111         Add alternatives for float registers.
7112         (*movdi_internal2_extend): New.  Version of movdi_internal2 that
7113         allows sign-extension.
7114         (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
7115         (movsi_internal2): Rename to movsi_internal.  Add alternatives for
7116         float registers.  Remove TARGET_DEBUG_H_MODE test.
7117         (movhi_internal1): Rename to movhi_internal.  Don't check
7118         TARGET_DEBUG_H_MODE.  Fix transposed *d and *f source constraints.
7119         (movqi_internal1): Rename to movqi_internal and remove
7120         TARGET_DEBUG_H_MODE dependency.
7121         (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
7123 2002-07-16  Jim Wilson  <wilson@redhat.com>
7125         * toplev.c (lang_dependent_init): Create function context for
7126         init_expr_once.
7128 2002-07-16  Hans-Peter Nilsson  <hp@axis.com>
7130         * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
7131         --gc-sections if -r.
7132         * config/cris/cris.h: Ditto.
7134 2002-07-16  Rodney Brown  <rbrown64@csc.com.au>
7136         * config/i386/i386.c (ix86_expand_int_movcc): In the case where
7137         the comparison directly gives a mask suppress addition when cf is
7138         zero by complementing the mask.
7140 2002-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
7142         * Makefile.in: Delete references to enquire.
7143         * enquire.c: Move to contrib.
7145 2002-07-16  Stan Shebs  <shebs@apple.com>
7147         * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
7148         config/rs6000/darwin.h.
7149         (ASM_OUTPUT_SKIP): Ditto.
7150         (TEXT_SECTION_ASM_OP): Ditto.
7151         (DATA_SECTION_ASM_OP): Ditto.
7152         (ASM_APP_ON): Define.
7153         (ASM_APP_OFF): Define.
7154         * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
7155         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
7157         * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
7158         (machopic_function_base_name): Declare result to be const.
7159         (machopic_non_lazy_ptr_name): Ditto.
7160         (machopic_stub_name): Ditto.
7161         * config/darwin-protos.h: Ditto for the prototypes.
7163 Wed Jul 17 00:22:39 CEST 2002  Jan Hubicka  <jh@suse.cz>
7165         * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
7167 Wed Jul 17 00:20:48 CEST 2002  Jan Hubicka  <jh@suse.cz>
7169         * i386.md (prefetch): Fix for 64bit mode.
7170         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
7172 Wed Jul 17 00:19:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
7174         * i386.h (MACHINE_DEPENDENT_REORG): New macro.
7175         * i386.c (x86_machine_dependent_reorg): New function.
7176         * i386-protos.h (x86_machine_dependent_reorg): Declare.
7178 2002-07-16  Zack Weinberg  <zack@codesourcery.com>
7180         * builtins.c (std_expand_builtin_va_start): Remove unused
7181         first argument.
7182         (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
7183         std_expand_builtin_va_start with just two arguments.
7184         * expr.h: Update prototypes.
7186         * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
7187         arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
7188         i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
7189         m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
7190         mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
7191         rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
7192         s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
7193         sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
7194         xtensa-protos.h, xtensa.h, xtensa.c:  Remove unused first
7195         argument from all implementations of EXPAND_BUILTIN_VA_START
7196         and all uses of std_expand_builtin_va_start.
7198 Tue Jul 16 19:32:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
7200         * regrename.c (copy_value): Don't record high part copies.
7202 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
7204         * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
7205         (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
7206         * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
7208 2002-07-16  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
7210         * doc/invoke.texi (NS32K Options): Document -mieee-compare option
7212         * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
7213         into addsi3 using register class "x" and "y".
7215         * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
7216         "earlyclobber" constraint modifier for some alternative.
7218         * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
7219         (*ble, *blt): Flag to indicate bCOND and sCOND should check for
7220         unordered.
7221         config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
7223         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
7224         (TARGET_SWITCHES): Add -mieee-compare option.
7225         (OVERRIDE_OPTIONS): 32332 is a subset of
7226         32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
7227         (TARGET_SWITCHES): Fix description of bit-field option.
7228         * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
7229         -mieee-compare option. Remove 32332 flag.
7231 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
7233         * explow.c (convert_memory_address): Remove special handling
7234         when POINTERS_EXTEND_UNSIGNED < 0.
7235         * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
7236         (movedi_symbolic): Fix typo.
7237         (load_fptr): Remove mode restriction so it works for SI and DI.
7238         (load_fptr_internal1): Ditto.
7239         (load_gprel): Ditto.
7240         (load_symptr_internal1): Ditto.
7241         (call_pic): Ditto.
7242         * config/ia64.c (call_operand): Modify mode check.
7243         (ia64_expand_load_address): Handle DI and SI addresses and symbols.
7244         (ia64_expand_move): Ditto.
7245         (ia64_assemble_integer): Handle SImode function pointers.
7246         (ia64_expand_fetch_and_op): Handle SImode mem addresses.
7247         (ia64_expand_op_and_fetch): Ditto.
7248         (ia64_expand_compare_and_swap): Ditto.
7249         (ia64_expand_lock_test_and_set): Ditto.
7250         (ia64_expand_lock_release): Ditto.
7252 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7254         * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
7256 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7257             Richard Earnshaw  <rearnsha@arm.com>
7259         * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
7260         CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF.  Simplify logic.
7262 2002-07-16  Richard Earnshaw  <rearnsha@arm.com>
7264         * arm.md (stack_tie): New insn.  Use an idiom that the alias code
7265         understands to be a memory clobber.
7266         * arm.c (arm_expand_prologue): Use it.
7268 2002-07-16  Daniel Berlin  <dberlin@dberlin.org>
7270         * ra-rewrite.c: #include reload.h, insn-config.h
7271         * ra-build.c: #include reload.h
7272         * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
7273         depend on reload.h, insn-config.h.
7275 Tue Jul 16 11:57:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
7277         * expr.c (emit_move_insn_1): Handle arbitrary moves that are
7278         the same size as a word.
7280         * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
7281         BYTES_BIG_ENDIAN into account.
7283 Tue Jul 16 12:22:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
7285         * i386.md (prefetch): Fix for 64bit mode.
7286         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
7288         * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
7290 2002-07-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
7292         * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
7294 2002-07-15  Zack Weinberg  <zack@codesourcery.com>
7296         * ginclude/varargs.h: Replace with stub which issues #error.
7297         * ginclude/stdarg.h: __builtin_stdarg_start is renamed
7298         __builtin_va_start.
7300         * builtins.def (BUILT_IN_VARARGS_START): Delete.
7301         (BUILT_IN_VA_START): New.
7302         * builtins.c (expand_builtin_va_start): Eliminate first
7303         argument and code to implement pre-ISO varargs.
7304         (std_expand_builtin_va_start): Ignore first argument; it is
7305         always 1.
7306         (expand_builtin): Handle BUILT_IN_VA_START and
7307         BUILT_IN_STDARG_START identically.  Delete
7308         BUILT_IN_VARARGS_START case.
7310         * function.c (assign_parms): Delete hide_last_arg and all
7311         its uses.
7312         (mark_varargs): Delete function.
7313         * function.h (struct function): Delete 'varargs' bit.
7314         (current_function_varargs): Delete macro.
7315         * tree.h: Don't declare mark_varargs.
7317         * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
7318         (c_expand_body): Don't call mark_varargs.
7319         * c-objc-common.c: Handle BUILT_IN_VA_START and
7320         BUILT_IN_STDARG_START identically.  Delete
7321         BUILT_IN_VARARGS_START case.
7322         * c-tree.h: Don't declare c_mark_varargs.
7323         * c-parse.in: Remove grammar rules for '&...' (which has been
7324         commented out since before 2.7.2) and for '...' in K+R
7325         argument declarations.
7327         * builtins.c, function.c, integrate.c, sibcall.c,
7328         config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
7329         config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
7330         config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
7331         config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
7332         config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
7333         config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
7334         config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
7335         config/stormy16/stormy16.c: Delete all references to
7336         current_function_varargs, and code predicated on that flag.
7338         * config/alpha/alpha.c (alpha_va_start),
7339         config/arc/arc.c (arc_va_start),
7340         config/i386/i386.c (ix86_va_start),
7341         config/mips/mips.c (mips_va_start),
7342         config/mn10300/mn10300.c (mn10300_va_start),
7343         config/rs6000/rs6000.c (rs6000_va_start),
7344         config/s390/s390.c (s390_va_start),
7345         config/sh/sh.c (sh_va_start),
7346         Ignore first argument; it is always 1.
7348         * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
7349         * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
7350         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
7351         Delete m68hc11_va_start.
7352         * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
7353         No need to define EXPAND_BUILTIN_VA_START.
7355         * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
7356         doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
7358 2002-07-15  Eric Botcazou  <ebotcazou@multimania.com>
7360         PR optimization/7153
7361         * regmove.c (optimize_reg_copy_3): Don't optimize if the register
7362         dies in more than one insn.
7364 2002-07-15  Jason Thorpe  <thorpej@wasabisystems.com>
7366         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
7368 2002-07-15  Michael Matz  <matz@suse.de>,
7369             Daniel Berlin  <dberlin@dberlin.org>,
7370             Denis Chertykov  <denisc@overta.ru>
7372         Add a new register allocator.
7374         * ra.c: New file.
7375         * ra.h: New file.
7376         * ra-build.c: New file.
7377         * ra-colorize.c: New file.
7378         * ra-debug.c: New file.
7379         * ra-rewrite.c: New file.
7381         * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
7382         (ra-rewrite.o): New .o files for libbackend.a.
7383         (GTFILES): Add basic-block.h.
7385         * toplev.c (flag_new_regalloc): New.
7386         (f_options): New option "new-ra".
7387         (rest_of_compilation): Call initialize_uninitialized_subregs()
7388         only for the old allocator.  If flag_new_regalloc is set, call
7389         new allocator, instead of local_alloc(), global_alloc() and
7390         friends.
7392         * doc/invoke.texi: Document -fnew-ra.
7393         * basic-block.h (FOR_ALL_BB): New.
7394         * config/rs6000/rs6000.c (print_operand): Write small constants
7395         as @l+80.
7397         * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
7398         (df_reg_table_realloc): Make size at least as large as max_reg_num().
7399         (df_insn_table_realloc): Size argument now is absolute, not relative.
7400         Changed all callers.
7402         * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
7403         * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
7405         2002-06-20  Michael Matz  <matz@suse.de>
7407         * df.h (struct ref.id): Make unsigned.
7408         * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
7410         2002-06-13  Michael Matz  <matz@suse.de>
7412         * df.h (DF_REF_MODE_CHANGE): New flag.
7413         * df.c (df_def_record_1, df_uses_record): Set this flag for refs
7414         involving subregs with invalid mode changes, when
7415         CLASS_CANNOT_CHANGE_MODE is defined.
7417         2002-05-07  Michael Matz  <matz@suse.de>
7419         * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
7421         2002-05-03  Michael Matz  <matz@suse.de>
7423         * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
7425         Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>
7427         * regclass.c (regclass): Work with all regs which have sets or
7428         refs.
7429         (reg_scan_mark_refs): Count regs inside (clobber ...).
7431         2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>
7433         * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
7434         (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
7435         add new refs.
7436         (df_bb_refs_update): Don't clear insns_modified here, ...
7437         (df_analyse): ... but here.
7439         * sbitmap.c (dump_sbitmap_file): New.
7440         (debug_sbitmap): Use it.
7442         * sbitmap.h (dump_sbitmap_file): Add prototype.
7444         2001-08-07  Daniel Berlin  <dan@cgsoftware.com>
7446         * df.c (df_insn_modify): Grow the UID table if necessary, rather
7447         than assume all emits go through df_insns_modify.
7449         2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
7451         * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
7452         increase REG_N_REFS (like flow does), so that regclass doesn't
7453         think a reg is useless, and thus, not calculate a class, when it
7454         really should have.
7456         2001-01-28  Daniel Berlin  <dberlin@redhat.com>
7458         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
7459         dataflow analysis.
7461 2002-07-15  Jakub Jelinek  <jakub@redhat.com>
7463         PR middle-end/7245
7464         * config/i386/i386.c (const_int_1_31_operand): New.
7465         * config/i386/i386.h (PREDICATE_CODES): Add it.
7466         * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
7467         ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
7468         lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
7470 2002-07-14  Alan Modra  <amodra@bigpond.net.au>
7472         PR target/7282
7473         * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
7474         (floatunssidf2): Likewise.
7475         (floatsidf_ppc64): New insn_and_split.
7476         (floatunssidf_ppc64): Likewise.
7478 2002-07-14  Andreas Jaeger  <aj@suse.de>
7480         * config.gcc (sh64): Remove unused
7481         target_requires_64bit_host_wide_int.
7483 2002-07-12  Roger Sayle  <roger@eyesopen.com>
7485         * expr.c [CLEAR_RATIO]: New macro defining the maximum number
7486         of move instructions to use when clearing memory, c.f. MOVE_RATIO.
7487         [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
7488         whether clear_by_pieces should be used to clear storage.
7489         (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
7491         * doc/tm.texi: Document these two new target macros.
7493 2002-07-12  Stephane Carrez  <stcarrez@nerim.fr>
7495         * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
7496         the scratch register.
7497         ("*movhi2_push"): Accept Z_REG because a split pattern can make use
7498         of it, forbid reload to use it.
7500 2002-07-12  Marek Michalkiewicz  <marekm@amelek.gda.pl>
7502         * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
7503         usage on 64-bit hosts, return value was truncated to 32 bits.
7505 Fri Jul 12 00:49:36 2002  J"orn Rennecke <joern.rennecke@superh.com>
7507         * simplify-rtx.c (simplify_subreg): Handle floating point
7508         CONST_DOUBLEs.  When an integer subreg of a smaller mode than
7509         the element mode is requested, compute a subreg with an
7510         integer mode of the same size as the element mode first.
7512 Thu Jul 11 22:02:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
7514         * combine.c (try_combine): When converting a paradoxical subreg
7515         to an extension, take LOAD_EXTEND_OP into account.
7517 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7519         * config.gcc (mips-sgi-irix6*o32): New configuration.
7521         * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
7522         configurations.
7523         * configure: Regenerate.
7525         * config/mips/iris6-o32-as.h: New file.
7526         * config/mips/iris6-o32.h: New file.
7528         * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
7529         (NM_FLAGS): Define.
7530         (HAVE_AS_SHF_MERGE): Undefine.
7532         * config/mips/t-iris5-as: New file.
7533         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
7535         * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
7536         SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
7537         SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
7538         dp-bit.c, fp-bit.c): Move ...
7539         * config/mips/t-iris5-6: ... here.
7540         New file, shared by IRIX 5 and IRIX 6.
7541         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
7542         mips-sgi-irix5*): Use it.
7544         * config/mips/iris6.h: Remove duplicate comment.
7546         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
7547         !TARGET_IRIX6]: Define.
7548         (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
7550         * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
7552 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7554         * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
7555         and delete code to force constant to register.
7556         * pa-protos.h (adddi3_operand): Add prototype.
7557         * pa.c (adddi3_operand): New function.
7559 2002-07-11  Roger Sayle  <roger@eyesopen.com>
7561         * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
7562         non-ANSI builtin functions.
7564 Thu Jul 11 11:31:12 2002  J"orn Rennecke <joern.rennecke@superh.com>
7566         * rtl.h (gen_rtx_CONST_VECTOR): Declare.
7567         * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
7568         * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
7569         (gen_const_vector_0): Use it.
7571 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7573         * pa.md (adddi3): For 32-bit targets, force constants to a register
7574         if they don't fit in an 11-bit immediate.  Change insn predicate to
7575         arith11_operand.  Remove comment.
7576         * pa.c (cint_ok_for_move): Fix comment.
7577         (emit_move_sequence):  Don't directly split DImode constants on 32-bit
7578         targets.
7580 2002-07-11  Tim Josling  <tej@melbpc.org.au>
7582         Remove front end hard coding from gengtype.c.
7584         * Makefile.in
7585         (STAGESTUFF): add gtyp-gen.h
7586         (GTFILES): Remove front end specific files.
7587         (GTFILES_FILES_LANGS): New, from configure..
7588         (GTFILES_FILES_FILES): Likewise.
7589         (GTFILES_LANG_DIR_NAMES): Likewise.
7590         (GTFILES_SRCDIR): Likewise.
7591         (gtyp-gen.h): Build from configure information.
7592         (s-gtype): Remove command line parameters from gengtype.
7593         (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
7594         (mostlyclean): Delete files generated by and for gengtype.
7596         * c-config-lang.in: New file.
7598         * configure.in (all_gtfiles_files_langs): New. Accumulate files
7599         for each language.
7600         (all_gtfiles_files_files): New. Accumulate language for each file
7601         accumulated.
7602         (gtfiles): Pick up value for C.
7603         (srcdir): AC-SUBST this variable.
7604         (all_gtfiles_files_langs): AC-SUBST this variable.
7605         (all_gtfiles_files_files): AC-SUBST this variable.
7607         * configure: Regenerate.
7609         * gengtype-lex.l (parse_file): Make parameter const.
7611         * gengtype.c (toplevel): include gtyp-gen.h.
7612         (BASE_FILE_<language> unnamed enum): Delete.
7613         (lang_names): Delete (replaced by gtyp-gen.h)
7614         (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
7615         all references.
7616         (NUM_GT_FILES): New.
7617         (NUM_LANG_FILES): New.
7618         (srcdir_len): New.
7619         (NUM_BASE_FILES): Change calculation.
7620         (open_base_files): Change prototype to avoid warning.
7621         (startswith): Delete.
7622         (get_file_basename): Iterate through generated language list not
7623         hard coded list.
7624         (get_base_file_bitmap): Use generated list of files and languages.
7625         (close_output_files): Add prototype to rmove warning.
7626         (main): Iterate through list of generated files from gtyp-gen.h
7627         rather than command line paramaters.  Ignore duplicated file
7628         names.
7630         * gengtype.h (parse_file): Amend prototype for const parameter.
7632         * doc/sourcebuild.texi: Document gtfiles variable.
7634         * doc/gty.texi: Document changes to gtfiles variable for front
7635         ends.
7637         * objc/config-lang.in (gtfiles): Add files needed for objc front
7638         end.
7640 2002-07-10  Roger Sayle  <roger@eyesopen.com>
7642         PR c/2454
7643         * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
7644         to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.
7646 2002-07-10  Roger Sayle  <roger@eyesopen.com>
7647             Zack Weinberg <zack@codesourcery.com>
7649         * builtins.def: Make the argument types of abort and exit
7650         independent of the front-end.
7652 2002-07-11  Alan Modra  <amodra@bigpond.net.au>
7654         * config/rs6000/linux64.h (ASM_SPEC): Define.
7656 2002-07-10  Aldy Hernandez  <aldyh@redhat.com>
7658         * config/rs6000/rs6000.c (emit_frame_save): New.
7659         (rs6000_frame_related): Replace reg2 before reg.
7660         (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
7661         and eh_return registers.
7663 2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>
7665         Revert all patches for optimization of Complex .op. Real.
7666         * complex_part_zero_p: Remove
7667         * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
7668         with x.
7669         * expand_cmplxdiv_wide: Ditto.
7670         * expand_binop: Ditto.
7672 2002-07-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
7674         * config/avr/avr.md: Fix two 0x80000000 constants to make them
7675         negative also on 64-bit hosts.
7677         Default to -fno-reorder-blocks when optimizing for size.
7678         * config/avr/avr-protos.h (avr_optimization_options): Declare.
7679         * config/avr/avr.c (avr_optimization_options): New function.
7680         * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
7682         Optimize returning from simple functions.
7683         * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
7684         * config/avr/avr.c (avr_simple_epilogue): New function.
7685         * config/avr/avr.md (return): New insn.
7687 2002-07-10  Douglas B Rupp  <rupp@gnat.com>
7689         * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
7690         HAS_INIT_SECTION to protection.
7692 2002-07-10  Mark Mitchell  <mark@codesourcery.com>
7694         * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
7695         deprecated.
7697 Wed Jul 10 19:50:03 2002  J"orn Rennecke <joern.rennecke@superh.com>
7699         * combine.c (gen_lowpart_for_combine): Handle vector modes.
7700         Supply non-VOID mode to simplify_gen_subreg.
7702 Wed Jul 10 18:48:55 CEST 2002  Jan Hubicka  <jh@suse.cz>
7704         * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
7706 2002-07-10  Jeffrey A Law  <law@redhat.com>
7708         * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
7709         as appropriate.
7711         * mn10200.c (expand_epilogue): Fix test to determine which scratch
7712         register to use.
7714 Wed Jul 10 16:06:00 2002  J"orn Rennecke <joern.rennecke@superh.com>
7716         * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
7717         Get mode from dest.
7718         If simplify_gen_subreg fails, try next equivalent.
7720 2002-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
7722         * diagnostic.h: #include location.h
7723         (location_t): Move definition to..
7724         * location.h: ... here.  New file.
7725         * tree.h: #include location.h
7726         (DECL_SOURCE_LOCATION): New macro.
7727         (DECL_SOURCE_FILE): Use.
7728         (DECL_SOURCE_LINE): Likewise.
7729         (struct tree_decl): REplace filename and linenum with locus.
7730         * Makefile.in (TREE_H): add location.h
7731         (diagnostic.o): Depends on gt-location.h
7732         (gt-location.h): Depends on s-gtype
7734 2002-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
7736         * config/rs6000/aix.h: Convert CPP_PREDEFINES to
7737         TARGET_OS_CPP_BUILTINS.
7738         * config/rs6000/aix31.h: Likewise.
7739         * config/rs6000/aix41.h: Likewise.
7740         * config/rs6000/aix43.h: Likewise.
7741         * config/rs6000/aix51.h: Likewise.
7742         * config/rs6000/beos.h: Likewise.
7743         * config/rs6000/darwin.h: Likewise.
7744         * config/rs6000/eabi.h: Likewise.
7745         * config/rs6000/eabisim.h: Likewise.
7746         * config/rs6000/linux.h: Likewise.
7747         * config/rs6000/linux64.h: Likewise.
7748         * config/rs6000/lynx.h: Likewise.
7749         * config/rs6000/mach.h: Likewise.
7750         * config/rs6000/rtems.h: Likewise.
7751         * config/rs6000/sysv4.h: Likewise.
7752         * config/rs6000/vxppc.h: Likewise.
7754 2002-07-09 Devang Patel <dpatel@apple.com>
7755         * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
7756         Do not allow ObjC objects as a parameter type for Objective-C methods.
7757         My previous patch restricted  'struct' also.
7759 2002-07-09  Neil Booth  <neil@daikokuya.co.uk>
7761         * cpperror.c (cpp_error): Default to directive_line within
7762         directives here.
7763         * cppexp.c (cpp_interpret_integer): Only use traditional
7764         number semantics in directives.
7765         * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
7766         (do_include_common): Similarly.
7767         * cpptrad.c (scan_out_logical_line): Implement accurate
7768         quoting of <> in #include.
7769         * doc/cpp.texi: Update.
7771 Tue Jul  9 22:37:44 2002  Stephen Clarke <stephen.clarke@superh.com>
7772                           J"orn Rennecke <joern.rennecke@superh.com>
7774         * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
7775         * sh.md (attribute issues): Replace with:
7776         (attribute pipe_model).  All users changed.
7777         (attribute type): Change pt / ptabs to pt_media / ptabs_media.
7778         All users changed.
7779         (function units sh5issue, sh5fds): New.
7780         (attribute is_mac_media): New.
7781         (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
7782         (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
7783         (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
7784         (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
7785         (call_media, call_value_media, sibcall_media): Likewise.
7786         (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
7787         (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
7788         (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
7789         (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
7790         (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
7791         (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
7792         (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
7793         (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
7794         (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
7795         (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
7796         (truncdfsf2_media): Likewise.
7797         (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
7798         (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
7800 Tue Jul  9 21:39:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
7802         * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
7803         * sh.c (general_extend_operand, inqhi_operand): New functions.
7804         * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
7805         alternatives using 'N' modifier.  Add type.
7806         (adddi3z_media): Likewise.  Enable generator function generation.
7807         (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
7808         exact predicates / constraints.  Add type.
7809         (subsi3): Allow 0 for SHMEDIA.
7810         (udivsi3_i4_media): Use match_operand for input values
7811         rather than hard registers.
7812         (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
7813         unnecessarily through hard registers.  Keep copies of pseudo
7814         registers outside of the libcall sequence.
7815         (mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
7816         (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
7817         (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
7818         (extendhidi2, extendqidi2): Likewise.
7819         (andsi3_compact): Name.
7820         (andcdi3): Enable generator function generation.
7821         (zero_extendhisi2, zero_extendqisi2): Rename to
7822         (zero_extendhisi2_compact, zero_extendqisi2_compact).
7823         (extendhisi2, extendqisi2): Rename to
7824         (extendhisi2_compact, extendqisi2_compact).
7825         (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
7826         (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
7827         (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
7828         (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
7829         (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
7830         (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
7831         (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
7832         (shmedia32_initialize_trampoline_big): Likewise.
7833         (shmedia32_initialize_trampoline_little): Likewise.
7834         (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
7835         (negdi2): Remove spurious T clobber.
7836         (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
7837         (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
7838         (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
7839         (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
7840         (ic_invalidate_line_media): Write back data cache before invalidating
7841         instruction cache.  Add type.
7842         (movsf_media): Sign-extend when the destination is a general
7843         purpose register.  Add type.
7844         (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
7845         (casesi_worker_0+1): Only increment ref count for proper label.
7846         (casesi_worker_0+2): Likewise.
7848 2002-07-09  Mark Mitchell  <mark@codesourcery.com>
7850         * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
7852 2002-07-09  Steve Ellcey  <sje@cup.hp.com>
7854         * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
7855         from Pmode to ptr_mode.
7856         (get_exception_pointer): Ditto.
7857         (connect_post_landing_pads): Ditto.
7858         (dw2_build_landing_pads): Ditto.
7860 2002-07-08  Steve Ellcey  <sje@cup.hp.com>
7861         * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
7862         * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
7863         (handle_pragma_redefine_extname): Change to use new function.
7865 2002-07-08  Roger Sayle  <roger@eyesopen.com>
7867         * combine.c (combine_simplify_rtx): Add an explicit cast
7868         to avoid signed/unsigned comparison warning.
7869         (simplify_if_then_else): Likewise.
7870         (extended_count): Likewise.
7871         (simplify_shift_const): Likewise.
7872         (simplify_comparison): Likewise.
7874 2002-07-08  Richard Sandiford  <rsandifo@redhat.com>
7876         * config/mips/mips.md: Add imadd type.  Update scheduler description
7877         to use imadd as well as imul.
7878         (*mul_acc_si, *madsi): Change imul alternatives to imadd.
7879         (*mul_acc_di, *mul_acc_64bit_di): Likewise.
7880         (*mul_sub_si): Likewise for first alternative.  Change second
7881         alternative from imul to multi.
7883 2002-07-07  Neil Booth  <neil@daikokuya.co.uk>
7885         * c-common.c (c_common_post_options): Update prototype;
7886         don't init backends if preprocessing only.
7887         * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
7888         * langhooks.h (struct lang_hooks): Update post_options to
7889         return a boolean.
7890         * toplev.c (parse_options_and_default_flags, do_compile,
7891         lang_independent_init): Update prototypes.  Allow the
7892         front end to specify that there is no need to initialize
7893         the back end.
7894         (general_init): Move call to hex_init here...
7895         (toplev_main): ...from here.  Pass flag for back end init
7896         suppression.
7898 Sun Jul  7 20:38:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
7900         * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
7901         (PREDICATE_CODES): Add entries for equality_comparison_operator,
7902         greater_comparison_operator and less_comparison_operator.
7903         * sh.c (print_operand): Add '\'' code.  Make 'o' handle
7904         more operators.
7905         (equality_comparison_operator): New function.
7906         (greater_comparison_operator, less_comparison_operator): Likewise.
7907         * sh.md (beq_media_i): Disable generator function generation.
7908         Use match_operator to handle a whole class of comparisons.  Add
7909         modifier in output template to provide branch prediction.  Add type.
7910         (bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
7911         (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
7912         (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
7913         (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
7915 2002-07-07  Hans-Peter Nilsson  <hp@bitrange.com>
7917         Emit MMIX function prologue and epilogue as rtl.
7918         * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
7919         not unprototyped get_hard_reg_initial_val.
7920         ("call_value", "nonlocal_goto_receiver"): Ditto.
7921         ("return"): Make define_expand.  Move real insn to...
7922         ("*expanded_return"): New pattern.
7923         ("prologue", "epilogue"): New define_expands.
7924         * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
7925         (struct machine_function): New member in_prologue.
7926         (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
7927         (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
7928         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
7929         (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
7930         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
7931         (LOCAL_REGNO): Define.  Adjust comment.
7932         * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
7933         Consider regs_ever_live[MMIX_rJ_REGNUM], not just
7934         leaf_function_p.
7935         (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
7936         the prologue.
7937         (mmix_target_asm_function_prologue): Make static.  Just mark that
7938         the prologue is being emitted.  Move guts to...
7939         (mmix_expand_prologue): New function.  Adjust for emitting
7940         prologue as rtl.  For sizes, use HOST_WIDE_INT only.
7941         (mmix_target_asm_function_epilogue): Make static.  Simply emit a
7942         \n.  Move guts to...
7943         (mmix_expand_epilogue): New function.  Adjust for emitting
7944         epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
7945         (mmix_target_asm_function_end_prologue): Mark that the prologue
7946         has ended.
7947         (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
7948         (mmix_conditional_register_usage): Improve comments.
7949         (mmix_local_regno): New function.
7950         (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
7951         * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
7952         (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
7953         (mmix_get_hard_reg_initial_val): Ditto.
7955 2002-07-06  Andreas Jaeger  <aj@suse.de>
7957         * toplev.c (set_fast_math_flags): Don't use ISO C style function
7958         definitions.
7959         * gengtype.c (open_base_files): Likewise.
7960         (close_output_files): Likewise.
7961         * tracer.c (find_best_predecessor): Likewise.
7962         (find_best_successor): Likewise.
7963         (ignore_bb_p): Likewise.
7965 2002-07-05  Roger Sayle  <roger@eyesopen.com>
7967         PR c++/7099
7968         * builtin-attrs.def: Define new attribute lists for use in
7969         builtins.def.
7970         * builtins.def [DEF_BUILTIN]: Modify to take an additional
7971         ATTRS argument, an enumerated value defined in builtin-attrs.def
7972         that represents the attribute list for the builtins.  Modify
7973         all builtin functions to pass an appropriate attribute list.
7974         Specify "abort", "exit", "_exit" and "_Exit" builtins here with
7975         their required noreturn attributes.
7976         * tree.h (enum_builtin_function): Ignore the additional parameter
7977         to DEF_BUILTIN.
7978         * builtins.c (built_in_names): Likewise.
7979         * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
7980         argument with a tree representing the functions attribute list.
7981         Pass this "attrs" argument to builtin_function.  No longer handle
7982         the noreturn_p processing manually.
7983         (built_in_attributes): Move the definitions from builtin-attrs.def
7984         before c_common_nodes_and_builtins.
7985         (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
7986         DEF_BUILTIN, passing it to both builtin_function and the changed
7987         builtin_function_2.
7989         * doc/extend.texi: Document __builtin_abort, __builtin_exit,
7990         __builtin__exit and __builtin__Exit.
7992 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
7994         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
7995         QI mode registers in soft registers.
7996         ("zero_extendqihi2"): Do not take into account soft registers
7997         for register allocation (use '*' constraint).
7999 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
8001         * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
8002         it is dead.
8003         ("*ashrsi3"): Likewise.
8004         ("*lshrsi3"): Likewise.
8006 2002-07-05  Vladimir Makarov  <vmakarov@redhat.com>
8008         * genautomata.c (output_max_insn_queue_index_def): Take latencies
8009         into account.
8011 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
8013         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
8014         address computation and memory moves.
8016 2002-07-03  Mark Mitchell  <mark@codesourcery.com>
8018         PR c++/6706
8019         * dwarfout.c (output_reg_number): Fix warning message.
8020         (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
8021         before using it.
8023 2002-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8025         * gcc/gcc.c (asm_debug): Move initialization ...
8026         (init_spec): ... here.
8028 2002-07-05  Nathan Sidwell  <nathan@codesourcery.com>
8030         * c-parse.in (extdef): Append ';'.
8031         (old_style_parm_decls): Append ';'.
8033 2002-07-04  Daniel Jacobowitz  <drow@mvista.com>
8035         * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
8036         gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
8037         to gcc_cv_as_gstabs_flag.
8038         * configure: Rebuilt.
8040 2002-07-04  Geoffrey Keating  <geoffk@redhat.com>
8042         * ggc.h (ggc_add_root): Document as obsolete.
8044 Thu Jul  4 07:58:01 2002  J"orn Rennecke <joern.rennecke@superh.com>
8046         * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
8047         (mshflo_w): Likewise.
8049 Thu Jul  4 07:36:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
8051         * simplify-rtx.c (simplify_subreg): Reduce problem of finding
8052         vector mode subregs of constants to finding integer mode
8053         subregs of constants.
8054         * cse.c (cse_insn): Use simplify_gen_subreg.
8055         * convert.c (convert_to_integer): Don't strip a NOP_EXPR
8056         From a vector mode expression of different size than the
8057         target mode.
8059 2002-07-03  Eric Christopher  <echristo@redhat.com>
8061         * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
8062         * config/mips/mips.h: Remove deprecated -m<processor> options
8063         and cc1_cpu_spec associated.
8064         (CONSTANT_ADDRESS_P): Fix last patch.
8065         (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
8066         * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
8067         sunge_sf): Remove.
8069 2002-07-03  Stan Shebs  <shebs@apple.com>
8071         * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
8072         (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
8073         (CPP_SPEC): Remove insertion of APPLE_CC definition.
8075 2002-07-03  Roger Sayle  <roger@eyesopen.com>
8077         * combine.c (struct_undo): Change types of recorded substitutions
8078         to be either "int" or "rtx", instead of "unsigned int" and "rtx".
8079         (do_SUBST_INT): Change types of the substitution from unsigned int
8080         to int, to avoid compilation warning from SUBST_INT's only caller.
8082         (make_extraction): Add cast to avoid compilation warning.
8083         (force_to_mode): Remove cast to avoid compilation warning.
8085 2002-07-03  Eric Botcazou  <ebotcazou@multimania.com>
8086             Jeff Law  <law@redhat.com>
8088         * i386.md (length_immediate attribute): Fix typo.
8089         (length_address attribute): Likewise.
8090         (modrm attribute): Set it to 0 for immediate call instructions.
8091         (jcc_1 pattern): Set modrm attribute to 0.
8092         (jcc_2 pattern ): Likewise.
8093         (jump pattern): Likewise.
8094         (doloop_end_internal pattern): Explicitly set length.
8095         (leave pattern): Fix typo.
8096         (leave_rex64 pattern): Likewise.
8098 2002-07-03  David Edelsohn  <edelsohn@gnu.org>
8100         * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
8101         in FPR as preference.
8102         (fctiwz): Same.
8103         (floatdidf2, fix_truncdfdi2): Same.
8104         (floatdisf2, floatditf2, fix_trunctfdi2): Same.
8105         (floatditf2): Same.
8106         (floatsitf2, fix_trunctfsi2): SImode in GPR.
8107         (ctrdi): Remove FPR alternative and splitter.
8109 2002-07-03  Will Cohen  <wcohen@redhat.com>
8111         * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
8113 Wed Jul  3 10:24:16 2002  J"orn Rennecke <joern.rennecke@superh.com>
8115         * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
8116         than UNITS_PER_WORD, unless this is little endian and the first unit
8117         in this word.  Let extract_bit_field decide how to load an element.
8118         Force arguments to matching mode.
8119         (expand_vector_unop): Likewise.
8121         * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
8122         consist of word_mode elements.
8123         * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
8124         BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
8125         (build_unary_op): Allow vector types for BIT_NOT_EPR.
8126         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
8127         CONST_VECTOR.
8128         * optabs.c (expand_vector_binop): Try to perform operation in
8129         smaller vector modes with same inner size.  Add handling of AND, IOR
8130         and XOR.  Reject expansion to inner-mode sized scalars when using
8131         OPTAB_DIRECT.  Use simplify_gen_subreg on constants.
8132         (expand_vector_unop): Try to perform operation in smaller vector
8133         modes with same inner size.  Add handling of one's complement.
8134         When there is no vector negate operation, try a vector subtract
8135         operation.  Use simplify_gen_subreg on constants.
8136         * simplify-rtx.c (simplify_subreg): Add capability to convert vector
8137         constants into smaller vectors with same inner mode, and to
8138         integer CONST_DOUBLEs.
8140 2002-07-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8142         * c-parse.in (parsing_iso_function_signature): New variable.
8143         (extdef_1): New, copied from...
8144         (extdef): ... here.  Reset parsing_iso_function_signature.
8145         (old_style_parm_decls):  Reset parsing_iso_function_signature.
8146         (old_style_parm_decls_1): New, copied from old_style_parm_decls.
8147         Warn about ISO C style function definitions.
8148         (nested_function, notype_nested_function): Reset
8149         parsing_iso_function_signature.
8150         (parmlist_2): Set parsing_iso_function_signature.
8152         * doc/invoke.texi (-Wtraditional): Document new behavior.
8154 2002-07-02  Chris Demetriou  <cgd@broadcom.com>
8156         * config.gcc (mips*el-*-*): Use tm_defines to set
8157         TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
8158         * config/mips/little.h: Remove.
8160 2002-07-02 Devang Patel <dpatel@apple.com>
8162         * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
8163         object as parameter. Prevent something like 'NSObject' to be
8164         used as the type for a method argument.
8166 2002-07-03  Neil Booth  <neil@daikokuya.co.uk>
8168         * cpptrad.c: Update comment.
8170 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
8172         * doc/cpp.texi: Update for traditional preprocessing changes.
8173         * goc/cppopts.texi: Similarly.
8175 2002-07-02  Ziemowit Laski  <zlaski@apple.com>
8177         * c-parse.in (designator): Enable designated initializers if ObjC.
8178         (objcmessageexpr): Remove references to objc_receiver_context.
8179         * objc/objc-act.h (objc_receiver_context): Remove decl.
8180         * objc/objc-act.c (objc_receiver_context): Remove.
8181         (lookup_objc_ivar): Test objc_method_context instead of
8182         objc_receiver_context.
8184 Tue Jul  2 18:45:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
8186         * sh.c (print_operand, case 'N'): Allow zero vector.
8187         (arith_reg_or_0_operand): Likewise.
8188         (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
8189         * sh.h (CONST_COSTS): 0 has 0 cost.  Check OUTER_CODE for
8190         IOR, XOR, PLUS and SET and take their respective constant
8191         ranges into account.
8192         (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
8193         * sh.md (subdi3, subdi3_media): Allow zero operand.
8194         (movv8qi_i+3): Only vector that is not split is the zero vector.
8195         Fix operand 3 to simplify_subreg.
8196         (movv2si_i): Split alternative 1.
8197         (mshfhi_l_di_rev+1): New splitter.
8199 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
8201         PR preprocessor/7029
8202         * cppinit.c (cpp_handle_option):  Suppress warnings with an
8203         implicit "-w" for "-M" and "-MM".
8204         * doc/cppopts.texi: Update.
8206 2002-07-01  Roger Sayle  <roger@eyesopen.com>
8208         * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
8209         identifier "bzero" to "memset".  Pass extra NULL_TREE argument to
8210         builtin_function.
8212 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
8214         * README.Portability: Fix typos.
8216 2002-07-01  Hans-Peter Nilsson  <hp@axis.com>
8218         PR target/7177
8219         * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
8220         of indirections for register inside sign-extended mem part.
8222 2002-07-01  Roger Sayle  <roger@eyesopen.com>
8224         * tree.h:  Modify builtin_function interface to take an extra
8225         argument ATTRS, which is a tree representing an attribute list.
8227         * c-decl.c (builtin_function): Accept additional parameter.
8228         * objc/objc-act.c (builtin_function): Likewise.
8229         * f/com.c (builtin_function): Likewise.
8230         * java/decl.c (builtin_function): Likewise.
8231         * ada/utils.c (builtin_function): Likewise.
8232         * cp/decl.c (builtin_function): Likewise.
8233         (builtin_function_1): Likewise.
8235         * c-common.c (c_common_nodes_and_builtins): Pass an additional
8236         NULL_TREE argument to builtin_function.  (builtin_function_2):
8237         Likewise.
8238         * cp/call.c (build_java_interface_fn_ref): Likewise.
8239         * objc/objc-act.c (synth_module_prologue): Likewise.
8240         * java/decl.c (java_init_decl_processing): Likewise.
8241         * f/com.c (ffe_com_init_0): Likewise.
8243         * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
8244         NULL_TREE argument to builtin_function.
8245         * config/arm/arm.c (def_builtin): Likewise.
8246         * config/c4x/c4x.c (c4x_init_builtins): Likewise.
8247         * config/i386/i386.c (def_builtin): Likewise.
8248         * config/ia64/ia64.c (def_builtin): Likewise.
8249         * config/rs6000/rs6000.c (def_builtin): Likewise.
8251 2002-07-01  Zack Weinberg  <zack@codesourcery.com>
8253         * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
8254         * config/mips/t-isa3264: Likewise.
8255         * config/mmix/t-mmix: Likewise.
8257 2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8259         * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
8261 2002-07-01  Roger Sayle  <roger@eyesopen.com>
8263         PR opt/4046
8264         * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
8265         A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
8266         B are truth values.
8268 2002-07-01  Nathanael Nerode  <neroden@gcc.gnu.org>
8270         * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
8272 2002-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
8274         * README.Portability (Function prototypes): Give an example of
8275         declaring and defining a function with no arguments.
8277         * README.Portability (Function prototypes): Document new
8278         variable-argument function macros.
8280 Mon Jul  1 19:55:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
8282         * sh.c (langhooks.h): Include.
8283         (sh_init_builtins, sh_media_init_builtins): New functions.
8284         (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
8285         (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
8286         (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
8287         (builtin_description): New struct tag.
8288         (signature_args, bdesc): New arrays.
8289         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
8290         (print_operand): Add 'N' modifier.
8291         * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
8292         (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
8293         (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
8294         (CONST_COSTS): Add special case for SHmedia AND.
8295         (PREDICATE_CODES): Add and_operand, arith_reg_dest,
8296         extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
8297         sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
8298         target_operand can also be const or unspec.
8299         * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
8300         (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
8301         (attribute type): Add new types.
8302         (anddi3): Add splitter.
8303         (movdi_const_16bit+1): Add code to handle vector constants and
8304         bitmasks efficiently.
8305         (shori_media): Have generator function made.
8306         (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
8307         (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
8308         (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
8309         (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
8310         (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
8311         (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
8312         (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
8313         (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
8314         (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
8315         (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
8316         (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
8317         (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
8318         (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
8319         (mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
8320         (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
8321         (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
8322         (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
8323         (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
8324         (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
8325         (ftrv): Likewise.
8327         (fpu_switch+1, fpu_switch+2): Remove constraint.
8329 2002-07-01  Aldy Hernandez  <aldyh@redhat.com>
8331         * tree.c (build_function_type_list): Update function comment.
8332         Rename first argument to return_type.
8334 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
8336         * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
8337         tradcif.y and related files.
8339 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
8341         * cpptrad.c (skip_whitespace): Pass pointer to prior char.
8343 2002-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8345         * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
8347 See ChangeLog.7 for earlier changes.