(__ev_set_acc_u64): Use __ev_create_u64 to convert uint64_t into __ev64_opaque__.
[official-gcc.git] / gcc / ChangeLog
blob189d5c32881cc1ae1cc737d11659240d207ede82
1 2002-10-08  Nick Clifton  <nickc@redhat.com>
3         * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
4         convert uint64_t into __ev64_opaque__.
5         (__ev_set_acc_s64): Likewise, but using signed types.
7 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
9         * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
10         ("*doloop_di_long"): Likewise.
12 Tue Oct  8 16:50:10 CEST 2002  Jan Hubicka  <jh@suse.cz>
14         * print-rtl.c (print_rtx): Increase buffer size for real numbers.
16 2002-10-08  Richard Sandiford  <rsandifo@redhat.com>
18         * config/mips/mips.md (define_attr cpu): Add r4111.
20 2002-10-08  Anthony Green  <green@redhat.com> 
22         * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields. 
24 2002-10-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
26         * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
27         for REAL_VALUE_TO_DECIMAL output.
29 2002-10-07  David Edelsohn  <edelsohn@gnu.org>
31         * config/rs6000/rs6000.c (rs6000_override_options): Set
32         real_format_for_mode for IBM extended format, if enabled.
33         (easy_fp_constant): Add TFmode.
34         (rs6000_legitimize_address): Add TFmode.
35         (rs6000_legitimate_address): Same.
36         (function_arg_advance): TFmode uses two FPRs.
37         (rs6000_emit_prologue): Fix warning.
38         (rs6000_output_function_epilogue): Add TFmode.
39         (output_toc): Add TFmode.
40         * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
41         (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
42         * rs6000.md (movtf splitter): Load TFmode constant.
44 2002-10-07  Dale Johannesen  <dalej@apple.com>
46         * rtl.h:  Add NOTE_PRECONDITIONED.
47         * unroll.c:  Set it.
48         * loop.c:  Set loop_info->preconditioned from it.
49         * doloop.c:  Permit doloop treatment when loop_info->preconditoned.
51 2002-10-07  Richard Henderson  <rth@redhat.com>
53         * config/i960/i960.c (i960_setup_incoming_varargs): Create a
54         new rtx for comparing the argument pointer against zero.
55         (i960_va_start): Similarly.
57 2002-10-07  Richard Henderson  <rth@redhat.com>
59         * config/i960/i960.md (*): Use TFmode, not XFmode.
60         * config/i960/i960.c (*): Likewise.
61         (i960_arg_size_and_align): Remove XFmode alignment hack.
62         (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
63         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
64         (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
65         (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
67 2002-10-07  Richard Henderson  <rth@redhat.com>
69         * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
70         entry points; use void return value and argument list.
72 2002-10-05  Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
74         * t-pdp11: Add MULTILIB support for msoft-float.
75         * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
77         * t-pdp11: Add LIB2FUNCS_EXTRA.
78         * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit, 
79         add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
80         'fldd' to 'ldd', rename 'fstd' to 'std'.
81         (pdp11_output_function_epilogue): Likewise.
82         (output_move_quad): Make the comment gas compatible.
83         (output_ascii): Add preceding 0 to the octal constant.
84         (print_operand_address): Add pre_modify, post_modify.
85         (output_addr_const_pdp11): Add preceding 0 to the octal constant.
86         * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
87         with the indication of Paul Koning. 
88         (PRINT_OPERAND): Fix floating constant.
89         * pdp11.md (movdi): Restrict matching pattern.
90         (movqi): Generalize the matching pattern.
91         (movdf): Restrict matching pattern.
92         (zero_extendqihi2): Change constant representation.
93         (floatsidf2): Fix wrong operands.
94         (addqi3): Fix wrong instruction name.
95         (subqi3): Fix wrong instruction name.
96         (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
97         (xorsi3): Fix wrong insn.
98         (one_cmplqi2): Add two operand pattern.
99         (lsrsi3): New.
100         (negsi2): New.
101         (call): Add register indirect case.
102         (mod): Fix wrong subreg.
104 2002-09-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
105             Volker Reichelt <reichelt@igpm.rwth-aachen.de>
107         PR c/7411
108         * expr.c (expand_expr) [PLUS]: Simplify after the operands
109         have been expanded in EXPAND_NORMAL mode.
111 2002-10-06  Richard Henderson  <rth@redhat.com>
113         * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
115 2002-10-06  Richard Henderson  <rth@redhat.com>
117         PR optimization/2960
118         * toplev.c (rest_of_compilation): Don't copy_loop_headers if
119         optimize_size.
121 2002-10-06  Alexandre Oliva  <aoliva@redhat.com>
123         * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
124         previously definitions.
126 2002-10-06  Frank Ch. Eigler  <fche@redhat.com>
128         * cppinit.c (init_standard_includes, parse_option): Use strncmp.
129         * c-opts.c (find_opt): Similarly.
131 2002-10-05  Jakub Jelinek  <jakub@redhat.com>
133         * gcc.c (set_multilib_dir): Don't access *end.
134         Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
135         (print_multilib_info): Don't show paths starting with ".:".
136         * genmultilib: Add new option, "yes" if multilibs are enabled.
137         Update comments.  If multilibs not enabled, print .:${osdirout}
138         for each directory.  If multilibs are enabled, always print
139         ${dirout}:${osdirout}, even if the two are the same.
140         * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
141         Pass all MULTILIB_* variables to genmultilib even if
142         --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
144 2002-10-04  Bruce Korb  <bkorb@gnu.org>
146         * fixinc/inclhack.def(hpux11_abs):  use format fix
147         * fixinc/fixincl.x: regenerate
148         * fixinc/tests/base/stdlib.h: accommodate new fix test
150 Sat Oct  5 19:42:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
152         * c-common.c (cb_register_builtins):  Use really_no_inline.
154 2002-10-04  David Edelsohn  <edelsohn@gnu.org>
156         * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
157         copied instruction if the note is not loop invariant.
159 2002-10-04  Loren J. Rittle  <ljrittle@acm.org>
161         * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
163 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
165         * doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
166         and -mhp-ld options to list of options.  Add -mgnu-ld
167         and -mhp-ld option descriptions.
169 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
171         * fixinc/inclhack.def (hpux11_abs):  New.
172         (stdio_va_list): change __va_list__ to __gnuc_va_list.
173         * fixinc/fixincl.x: Rebuild.
175 2002-10-04  Roger Sayle  <roger@eyesopen.com>
177         * config/i386/i386.h (processor_costs): Add new fields fadd,
178         fmul, fdiv, fabs, fchs and fsqrt to costs structure.
179         (RTX_COSTS): Use these fields to determine the RTX costs
180         of floating point addition/subtraction, multiplication,
181         division, fabs, negation and square root respectively.
182         * config/i386/i386.c (size_cost): Provide instruction sizes
183         for these new fields.
184         (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
185         k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
186         counts for these new fields for all x86 processor variants.
188 2002-10-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
190         * mips.c (mips_const_double_ok): Delete unused variable.
192         * gengtype.c (rtx_next): Change type to int.
194 2002-10-04  Andreas Jaeger  <aj@suse.de>
196         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
198 2002-10-04  Richard Henderson  <rth@redhat.com>
200         * real.h (SIGNIFICAND_BITS): Add one more word.
201         (CONST_DOUBLE_FORMAT): Accomodate 6 words.
202         * real.c (times_pten): New.
203         (real_to_decimal, real_from_string): Use it.
204         (sticky_rshift_significand): Use & to find modulus.
205         (rshift_significand, lshift_significand): Likewise.
206         (do_divide): Apply sticky bit after normalization.
207         (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
209 2002-10-03  Andreas Jaeger  <aj@suse.de>
211         * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
212         to unsigned long, adjust printf format string.
213         (output_mangled_typename): Likewise.
215 2002-10-03  Jason Thorpe  <thorpej@wasabisystems.com>
217         * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
218         * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
219         (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
220         assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
221         (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
222         (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
223         * config/vax/elf.h (FUNCTION_PROFILER): Remove.
224         (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
226 2002-10-03  Mark Mitchell  <mark@codesourcery.com>
228         * doc/invoke.texi (-Wabi): Document mangling bug.
230 2002-10-04  Alan Modra  <amodra@bigpond.net.au>
232         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
233         name for the tbtab label that depends on the function asm name.
234         Don't output tbtab label unless optional_tbtab.
235         (output_mi_thunk): Formatting.
237 2002-10-03  Richard Henderson  <rth@redhat.com>
239         * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
240         * config/m68k/m68k.c (override_options): ... here.
241         * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
242         * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
243         * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
244         * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
246 2002-10-03  Richard Henderson  <rth@redhat.com>
248         * real.h (struct real_value): Use ENUM_BITFIELD.
250 2002-10-03  Richard Henderson  <rth@redhat.com>
252         * config/i960/i960.md (call, call_value): Use emit_call_insn.
254 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
256         * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
258 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
260         * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
261         * config/pa/pa.h (MASK_GNU_LD): New.
262         (TARGET_GNU_LD): New.
263         * config/pa/pa64-hpux.h (LINK_SPEC): Set based
264         on gnu-ld and MASK_GNU_LD.
265         (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
267 Thu Oct  3 23:35:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
269         * i386.c (athlon_cost): Fix the move costs.
271 Thu Oct  3 23:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
273         * final.c (final): Use symbol name as function name for profiling.
274         * profile.c (get_exec_counts): Likewise.
275         (branch_prob): Likewise.
277 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
279         * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
281 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
283         * gcc.c (print_multi_os_directory): New variable.
284         (option_map): Support --print-multi-os-directory.
285         (struct prefix_list): Add os_multilib field.
286         (multilib_os_dir): New variable.
287         (static_specs): Add multilib_options.
288         (find_a_file): Add multilib argument.  Search in GCC or OS multilib
289         subdirs if non-zero.
290         (read_specs, execute): Update callers.
291         (find_file): Likewise.  Don't prefix name with multilib_dir, instead
292         pass 1 as multilib option.
293         (display_help): Include --print-multi-os-directory.
294         (add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
295         (process_command): Update callers.  Handle --print-multi-os-directory.
296         (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
297         set.
298         (main): Update find_a_file and add_prefix callers.
299         Handle print_multi_os_directory.
300         (struct mdswitchstr): New.
301         (mdswitches, n_mdswitches): New variables.
302         (used_arg): Add MULTILIB_DEFAULT switches too if they are not
303         present on the command line nor their mutually incompatible
304         switches.
305         (default_arg): Optimize.
306         (set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
307         array.
308         (print_multilib_info): Only print GCC multilib dir name, not OS
309         multilib dirname.
310         * genmultilib: Add osdirnames parameter.  Output multilib_options
311         variable.  If osdirnames is specified, output dirnames as
312         dirname:osdirname.
313         * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
314         and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
315         to compute libgcc_s soname and install path.
316         * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
317         SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
318         (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
319         argument.
321         * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
322         (SHLIB_SLIBDIR_SUFFIXES): Remove.
323         * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
324         ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
325         (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
326         and -m64.
327         * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
328         (SHLIB_SLIBDIR_SUFFIXES): Remove.
329         * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
330         (STARTFILE_ARCH_SPEC): Remove.
331         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
332         (SHLIB_SLIBDIR_SUFFIXES): Remove.
333         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
334         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
335         (SHLIB_SLIBDIR_SUFFIXES): Remove.
337 Thu Oct  3 21:42:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
339         * predict.c (choose_function_section): Avoid choice for linkonce functions.
341 Thu Oct  3 15:15:00 CEST 2002  Jan Hubicka  <jh@suse.cz>
343         * i386.md (lea to mul peep2): Fix condition.
345 2002-10-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
347         * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
348         * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
350 2002-10-02  Richard Henderson  <rth@redhat.com>
352         PR opt/7124
353         * config/i386/i386.c (ix86_register_move_cost): Increase cost
354         for secondary_memory_needed pairs.
356 2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>
358         * doc/vms.texi: Blow away false include file section.
360 2002-10-02  Roger Sayle  <roger@eyesopen.com>
362         PR optimization/6627
363         * toplev.c (force_align_functions_log): New global variable.
364         * flags.h (force_align_functions_log): Add extern prototype.
365         * varasm.c (assemble_start_function): Use it to force minimum
366         function alignment.
367         * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
368         minimum function alignment to one byte.
369         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
370         the least significant bit of vtable member function pointers.
371         * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
372         here from cp/cp-tree.h.
374 Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
376         * i386.c (print_operand_address): Use RIP addressing for offsetted
377         label refs too.
379 2002-09-30  David S. Miller  <davem@redhat.com>
381         PR middle-end/7151
382         * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
383         (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
385 2002-10-01  Roger Sayle  <roger@eyesopen.com>
387         * unroll.c (loop_iterations): Revert 2002-09-08 change.
389 2002-10-01  Richard Henderson  <rth@redhat.com>
391         * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
392         (real_to_hexadecimal): Likewise.
393         * print-rtl.c (print_rtx): If we are linked with real.c, don't
394         dump the XWINT fields of a floating point CONST_DOUBLE.
396 2002-10-01  Jason Thorpe  <thorpej@wasabisystems.com>
398         * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
400 2002-10-01  Richard Henderson  <rth@redhat.com>
402         * calls.c (precompute_register_parameters): Force non-legitimate
403         constants into pseudos.
405 2002-10-01  Nick Clifton  <nickc@redhat.com>
407         * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
408         to assembler template.
410 2002-10-01  Richard Henderson  <rth@redhat.com>
412         * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
413         for TLS debug info to !DECL_EXTERNAL.
415 2002-10-01  Matt Thomas  <matt@3am-software.com>
416             Jason Thorpe  <thorpej@wasabisystems.com>
418         * config.gcc (vax-*-netbsdelf*): Enable configuration.
419         * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
420         if not already defined.
421         * config/vax/elf.h: New file.
422         * config/vax/netbsd-elf.h: New file.
423         * config/vax/vax.c: Include "debug.h".
424         (vax_output_function_prologue): Add dwarf2 support.  Use
425         MAIN_NAME_P when checking for VMS_TARGET stack adjust.
426         * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
427         'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
428         'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
429         (VAX_ISTREAM_SYNC): Remove.
430         (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
431         (JUMP_TABLES_IN_TEXT_SECTION): Define.
432         (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
433         (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
434         and assemble_name.
435         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
436         (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
437         (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
438         (INCOMING_RETURN_ADDR_RTX): Define.
439         * config/vax/vax.md (VUNSPEC_BLOCKAGE)
440         (VUNSPEC_SYNC_ISTREAM): Define.
441         (blockage): Use VUNSPEC_BLOCKAGE.
442         (sync_istream): New insn.
444 2002-10-01  Richard Henderson  <rth@redhat.com>
446         * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
447         (*call_value_pop, call, call_value): Add dwarf2 EH support.
448         (*call): New insn.
450 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
452         PR c/8083
453         * c-typeck.c (build_c_cast): Warn about type punning which breaks
454         type based aliasing.
456 2002-10-01  Mark Mitchell  <mark@codesourcery.com>
458         * stor-layout.c (update_alignment_for_field): New function.
459         (place_union_field): Use it.
460         (place_field): Likewise.
462 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
464         PR other/8077
465         * gcc.c (cc1_options): Add space on -auxbase-strip.
467 2002-10-01  Jim Wilson  <wilson@redhat.com>
469         * config/v850/v850.h (EPILOGUE_USES): Define.
471 2002-09-30  Andrew Haley  <aph@redhat.com>
473         * flow.c (insn_dead_p): When using non-call-exceptions, don't
474         eliminate insns that may trap.
475         * cse.c (insn_live_p): Likewise.
477 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
479         * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
480         (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
481         * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
482         * config/mips/mips.md: Apply same renaming here.
484 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
486         * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
487         (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
488         * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
489         * config/mips/mips.md (define_attr cpu): Remove r4320.
490         Remove vr4320 scheduler and uses of TARGET_MIPS4320.
492 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
494         * config/mips/mips.c (mips16_strings): New variable.
495         (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
496         symbol in mips16_strings.  Free the list.
497         (mips_encode_section_info): Keep track of local strings.
499 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
501         * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
502         (sordered_df, sordered_sf): Remove.
503         * config/mips/mips.c (get_float_compare_codes): New fn.
504         (gen_int_relational, gen_conditional_move): Use it.
506 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
508         * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
509         * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
510         * config/mips/mips.c (fcc_register_operand): New function.
511         (mips_emit_fcc_reload): New function, extracted from reload_incc.
512         (override_options): Allow TFmode values in float registers
513         if ISA_HAS_8CC.
514         * cnfig/mips/mips.md (reload_incc): Change destination prediate
515         to fcc_register_operand.  Remove misleading source constraint.
516         Use mips_emit_fcc_reload.
517         (reload_outcc): Duplicate reload_incc.
519 2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
521         * longlong.h: Partially synchronize with GMP-4.1 version:
522         Use i370 definitions also for s390.
523         Add generic definition of umul_ppmm in terms of smul_ppmm.
524         [s390] (umul_ppmm): Remove.
525         [s390] (smul_ppmm): Fix incorrect assembler constraints.
526         [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
528 2002-09-30  Bob Wilson  <bob.wilson@acm.org>
530         * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
531         Add new RL_REGS register class.
532         (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
533         Call xtensa_preferred_reload_class for both input and output reloads.
534         * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
535         (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
536         instead of either AR_REGS or GR_REGS classes.
537         (xtensa_secondary_reload_class): Use new RL_REGS class.
538         * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
540 2002-09-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
542         * pa.c (hppa_encode_label): Don't drop '*' from function labels.
543         (pa_strip_name_encoding): Strip '@' and '*', in that order.
544         * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
545         there is a '*' prefix in NAME.
547 Mon Sep 30 21:33:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
549         * reload.c (push_reload): Handle subregs and secondary memory.
550         * reload1.c (gen_reload): Likewise.
552         * jump.c (reg_or_subregno): New function.
553         * rtl.h (reg_or_subregno): Declare
554         * unroll.c (find_splittable_givs): Handle subregs.
556 2002-09-30  Mark Mitchell  <mark@codesourcery.com>
558         * store-layout.c (finish_record_layout): Add free_p parameter.
559         (layout_type): Pass it.
560         * tree.h (finish_record_layout): Update prototype.
562 Mon Sep 30 14:57:18 CEST 2002  Jan Hubicka  <jh@suse.cz>
564         * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
566         * gcse.c (cprop_jump): Check that the register has not
567         been modified
568         (cprop_jump): Likewise.
570 2002-09-30  Richard Earnshaw  <rearnsha@arm.com>
572         * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
573         (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
574         that we have a SImode access, and only then if reload hasn't completed;
575         for all other cases, use LO_REGS.
577 2002-09-29  Richard Henderson  <rth@redhat.com>
579         * real.c (real_from_string): Apply sign last.  Tidy exponent handling.
581 2002-09-29  Richard Henderson  <rth@redhat.com>
583         PR c/8002
584         * combine.c (force_to_mode): Handle FLOAT_MODE destinations
585         for CONST_INT.
587 2002-09-29  David Edelsohn  <edelsohn@gnu.org>
589         * real.h (ibm_extended_format): Declare.
590         * real.c (encode_ibm_extended, decode_ibm_extended): New
591         functions.
593 2002-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
595         * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
597         * ia64.c (ia64_hpux_asm_file_end): Const-ify.
599 2002-09-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
601         * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
603 2002-09-29  Kazu Hirata  <kazu@cs.umass.edu>
605         * builtins.def: Fix comment formatting.
606         * c-common.def: Likewise.
607         * cfgcleanup.c: Likewise.
608         * combine.c: Likewise.
609         * gengtype.c: Likewise.
610         * params.def: Likewise.
611         * predict.def: Likewise.
612         * rtl.def: Likewise.
613         * stab.def: Likewise.
614         * stor-layout.c: Likewise.
615         * tree.def: Likewise.
616         * config/darwin.c: Likewise.
617         * config/darwin.h: Likewise.
618         * config/dbxcoff.h: Likewise.
619         * config/elfos.h: Likewise.
620         * config/fp-bit.c: Likewise.
621         * config/freebsd-spec.h: Likewise.
622         * config/interix.h: Likewise.
623         * config/libgloss.h: Likewise.
624         * config/linux-aout.h: Likewise.
625         * config/linux.h: Likewise.
626         * config/lynx-ng.h: Likewise.
627         * config/lynx.h: Likewise.
628         * config/netbsd-aout.h: Likewise.
629         * config/netbsd.h: Likewise.
630         * config/netware.h: Likewise.
631         * config/psos.h: Likewise.
632         * config/ptx4.h: Likewise.
634 2002-09-28  Kazu Hirata  <kazu@cs.umass.edu>
636         * ChangeLog.4: Fix typos.
637         * ChangeLog.6: Likewise.
638         * FSFChangeLog.10: Likewise.
639         * genattrtab.c: Fix comment typos.
640         * haifa-sched.c: Likewise.
641         * real.c: Likewise.
642         * tree.h: Likewise.
643         * config/arm/arm.c: Likewise.
644         * config/arm/crti.asm: Likewise.
645         * config/arm/crtn.asm: Likewise.
646         * config/frv/frv.c: Likewise.
647         * config/frv/frv.md: Likewise.
648         * config/h8300/h8300.md: Likewise.
649         * config/i386/rtemself.h: Likewise.
650         * config/ia64/unwind-ia64.c: Likewise.
651         * config/ip2k/ip2k.h: Likewise.
652         * config/m88k/m88k.c: Likewise.
653         * config/m88k/m88k.md: Likewise.
654         * config/mips/sr71k.md: Likewise.
655         * config/mmix/mmix.c: Likewise.
656         * config/rs6000/rs6000.c: Likewise.
657         * config/sh/sh.md: Likewise.
659 2002-09-26  Theodore A. Roth  <troth@verinet.com>
661         * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
662         * config/avr/avr.md: Ditto.
664 2002-09-27  Alexander N. Kabaev <ak03@gte.com>
666         PR preprocessor/8055
667         * cppmacro.c (stringify_arg): Do not overflow the buffer
668         with the terminating NUL when the argument to be stringified
669         has no tokens.
671 2002-09-27  Richard Henderson  <rth@redhat.com>
673         * unroll.c (simplify_cmp_and_jump_insns): New.
674         (unroll_loop): Use it.  Use simplify_gen_foo+force_operand
675         instead of expand_simple_foo.
677 2002-09-27  Richard Henderson  <rth@redhat.com>
679         PR optimization/7520
680         * cfganal.c (flow_active_insn_p): New.
681         (forwarder_block_p): Use it.
683 2002-09-27  Richard Henderson  <rth@redhat.com>
685         * emit-rtl.c (active_insn_p): Revert last change.
687 2002-09-27  Jakub Jelinek  <jakub@redhat.com>
689         * doc/extend.texi (tls_model): Document.
690         * varasm.c (decl_tls_model): New.
691         * c-common.c (handle_tls_model_attribute): New.
692         (c_common_attribute_table): Add tls_model.
693         * config/alpha/alpha.c (alpha_encode_section_info): Use
694         decl_tls_model.
695         * flags.h (enum tls_model, flag_tls_default): Move...
696         * tree.h (enum tls_model, flag_tls_default): ...here.
697         (decl_tls_model): New prototype.
698         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
699         * config/i386/i386.c (ix86_encode_section_info): Likewise.
700         * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
701         Allow !flag_pic.
703 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
705         * LANGUAGES: Follow spelling conventions.
706         * rtl.def: Likewise.
707         * sbitmap.c: Likewise.
708         * sched-int.h: Likewise.
709         * sched-rgn.c: Likewise.
710         * sibcall.c: Likewise.
711         * simplify-rtx.c: Likewise.
712         * ssa.c: Likewise.
713         * stab.def: Likewise.
714         * stmt.c: Likewise.
715         * stor-layout.c: Likewise.
716         * target.h: Likewise.
717         * timevar.c: Likewise.
718         * toplev.c: Likewise.
719         * tree-dump.c: Likewise.
720         * tree-inline.c: Likewise.
721         * tree.c: Likewise.
722         * tree.def: Likewise.
723         * tree.h: Likewise.
724         * unroll.c: Likewise.
725         * varasm.c: Likewise.
726         * vmsdbgout.c: Likewise.
727         * treelang/treelang.texi: Likewise.
728         * treelang/treetree.c: Likewise.
730 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
732         * config/h8300/h8300.c (compute_saved_regs): Use a macro
733         instead of a hard register number.
734         (get_shift_alg): Use an enumerated type instead of numbers.
735         (h8300_shift_needs_scratch_p): Likewise.
737 2002-09-26  David S. Miller  <davem@redhat.com>
739         PR optimization/7335
740         * calls.c (emit_library_call_value_1): Passing args by reference
741         converts a CONST function into a PURE one.
743 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
745         * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
746         text_section.
747         * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
748         text section.
749         * config/rs6000/rs6000.c (rs6000_override_options): Allow
750         function-sections and data-sections functionality on AIX.
752 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
753             Dale Johannesen  <dalej@apple.com>
755         * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
756         in RTL for sub-word loads from memory.
758 2002-09-26  Richard Henderson  <rth@redhat.com>
760         PR c/7160
761         * sched-deps.c (sched_analyze_insn): Make clobber insns depend
762         on call insns.
764 2002-09-26  Richard Henderson  <rth@redhat.com>
766         * emit-rtl.c (const_double_htab_eq): Remove unused variable.
768 2002-09-26  Chris Lattner  <sabre@nondot.org>
770         * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
771         handling undefined values.
773 2002-09-26  Richard Henderson  <rth@redhat.com>
775         PR opt/7520
776         * emit-rtl.c (active_insn_p): Consider a clobber of the
777         function return value to be active even after reload.
779 2002-09-27  Alan Modra  <amodra@bigpond.net.au>
781         * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
782         by absolute loop increment, not loop increment.
784 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
786         * c-common.h: Follow spelling conventions.
787         * cpplex.c: Likewise.
788         * cpplib.h: Likewise.
789         * gthr-dce.h: Likewise.
790         * gthr-posix.h: Likewise.
791         * optabs.c: Likewise.
792         * output.h: Likewise.
793         * profile.c: Likewise.
794         * protoize.c: Likewise.
795         * ra-rewrite.c: Likewise.
796         * real.c: Likewise.
797         * recog.c: Likewise.
798         * reg-stack.c: Likewise.
799         * regclass.c: Likewise.
800         * regmove.c: Likewise.
801         * reload.c: Likewise.
802         * reload.h: Likewise.
803         * reload1.c: Likewise.
804         * reorg.c: Likewise.
805         * resource.c: Likewise.
806         * rtl.h: Likewise.
807         * rtlanal.c: Likewise.
809 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
811         * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
812         for symbol address.
814 2002-09-24  Eric Christopher  <echristo@redhat.com>
816         * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
817         * config/mips/elf64.h: Ditto.
819 2002-09-24  Eric Christopher  <echristo@redhat.com>
821         * except.c (expand_builtin_extract_return_address): Handle case
822         where Pmode != ptr_mode.
824 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
826         * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
828 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
830         * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
832 2002-09-26  Igor Shevlyakov <igor@microunity.com>
834         * combine.c (simplify_set): Don't call to force_to_mode if size
835         of integer type is larger than HOST_BITS_PER_WIDE_INT.
837 2002-09-26  Janis Johnson  <janis187@us.ibm.com>
839         * Makefile.in (qmtest-g++): Fix file path.
841 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
843         * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
844         A + (-const) on RTX level, even for unsigned types.
846 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
848         * reload.c (dup_replacements): New function.
849         (find_reloads): Use it to duplicate replacements at the top level
850         of match_dup operands.
852 2002-09-26  Miles Bader  <miles@gnu.org>
854         * v850.md ("length"): Change default value to 4.
856 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
858         * ChangeLog.1: Follow spelling conventions.
859         * ChangeLog.4: Likewise.
860         * ChangeLog.6: Likewise.
861         * FSFChangeLog.11: Likewise.
862         * doc/cpp.texi: Likewise.
863         * doc/invoke.texi: Likewise.
864         * doc/tm.texi: Likewise.
866 2002-09-26  Nick Clifton  <nickc@redhat.com>
868         * config.gcc: Add x prefix to v850e case for handling
869         --with-cpu=v850e.
871 2002-09-25  David S. Miller  <davem@redhat.com>
873         PR target/7842
874         * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
875         extend.
877 2002-09-25  Richard Henderson  <rth@redhat.com>
879         * emit-rtl.c (const_double_htab_eq): Distinguish integer and
880         fp CONST_DOUBLE; use real_identical.
882 2002-09-25  Mark Mitchell  <mark@codesourcery.com>
884         * doc/invoke.texi: Add more -Wabi examples.
886 2002-09-25  Richard Sandiford  <rsandifo@redhat.com>
888         * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
890 2002-09-24  Denis Chertykov  <denisc@overta.ru>
892         * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
893         cases of optimizing "add sp,w" to "inc sp".
895 2002-09-24  Adam Nemet  <anemet@lnxw.com>
897         * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
898         epilogue for naked functions.
900 2002-09-24  Adam Nemet  <anemet@lnxw.com>
901             Nick Clifton  <nickc@redhat.com>
903         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
904         (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
905         is defined.
907 2002-09-24  Ulrich Weigand  <uweigand@de.ibm.com>
909         * config/s390/s390.c (preferred_la_operand_p): New function.
910         * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
911         * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
912         ("*la_64_cc", "*la_31_cc", splitters): ... these.
913         ("*la_31"): Deactivate for TARGET_64BIT.
914         ("*la_31_and", "*la_31_and_cc"): New.
916 2002-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
918         * real.h (real_value): Make `exp' explicitly signed.
920 2002-09-24  Kazu Hirata  <kazu@cs.umass.edu>
922         * config/elfos.h: Follow spelling conventions.
923         * config/alpha/alpha.h: Likewise.
924         * config/arc/arc.h: Likewise.
925         * config/arm/arm.md: Likewise.
926         * config/avr/avr.h: Likewise.
927         * config/cris/cris.md: Likewise.
928         * config/d30v/d30v.h: Likewise.
929         * config/frv/frv.c: Likewise.
930         * config/frv/frv.h: Likewise.
931         * config/h8300/h8300.c: Likewise.
932         * config/h8300/h8300.h: Likewise.
933         * config/h8300/h8300.md: Likewise.
934         * config/i386/cygwin.h: Likewise.
935         * config/i386/i386.h: Likewise.
936         * config/i386/sysv3.h: Likewise.
937         * config/i960/i960.h: Likewise.
938         * config/ia64/ia64.h: Likewise.
939         * config/ia64/ia64.md: Likewise.
940         * config/ip2k/ip2k.h: Likewise.
941         * config/m32r/m32r.h: Likewise.
942         * config/m68k/m68k.h: Likewise.
943         * config/m88k/m88k.h: Likewise.
944         * config/mcore/mcore.c: Likewise.
945         * config/mcore/mcore.h: Likewise.
946         * config/mcore/mcore.md: Likewise.
947         * config/mips/mips.h: Likewise.
948         * config/mmix/mmix.h: Likewise.
949         * config/mmix/mmix.md: Likewise.
950         * config/ns32k/netbsd.h: Likewise.
951         * config/ns32k/ns32k.h: Likewise.
952         * config/ns32k/ns32k.md: Likewise.
953         * config/pa/pa.h: Likewise.
954         * config/romp/romp.h: Likewise.
955         * config/rs6000/rs6000.h: Likewise.
956         * config/rs6000/rs6000.md: Likewise.
957         * config/sparc/sparc.h: Likewise.
958         * config/stormy16/stormy-abi: Likewise.
959         * config/stormy16/stormy16.h: Likewise.
960         * config/vax/vax.h: Likewise.
962 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
964         * version.c (version_string): Now const char[].
965         * version.h: Update to match.
967 2002-09-23  Richard Henderson  <rth@redhat.com>
969         * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
970         MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
971         (TARGET_SWITCHES): Don't reference them.
972         * config/i386/i386.c (override_options): Use target_flags_explicit
973         to examine bits set by the user.
975 2002-09-23  Dale Johannesen  <dalej@apple.com>
977         * dbxout.c (dbxout_parms):  Set current_sym_code for params
978         passed on stack by invisible reference.
980 2002-09-23  Richard Earnshaw  <rearnsha@arm.com>
982         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
983         at least one byte of space.
985 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
987         * c-common.h (flag_abi_version): Fix typo in comment.
988         * doc/invoke.texi (flag_abi_version): Document default value.
990 2002-09-23  Hans-Peter Nilsson  <hp@axis.com>
992         * doc/extend.texi (Extended Asm): Clarify that overlap between
993         asm-declared register variables used in an asm and the asm clobber
994         list is not allowed.
995         * stmt.c (decl_conflicts_with_clobbers_p): New function.
996         (expand_asm_operands): Keep track of clobbered registers.  Call
997         decl_conflicts_with_clobbers_p for each input and output operand.
998         If no conflicts found before, also do conflict sanity check when
999         emitting clobbers.
1001 2002-09-23  Richard Henderson  <rth@redhat.com>
1003         * c-common.c (cpp_define_data_format): Remove.
1004         (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
1005         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
1006         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
1007         * doc/cpp.texi: Don't document them either.
1008         (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
1009         __LONG_LONG_MAX__): Document.
1010         (__TARGET_FLOAT_FORMAT__): Remove.
1012 2002-09-23  Richard Henderson  <rth@redhat.com>
1014         * real.c (do_multiply): Normalize U before addition.
1016 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
1018         * c-common.c (flag_abi_version): New variable.
1019         * c-common.h (flag_abi_version): Declare it.
1020         * c-opts.c (missing_arg): Add -fabi-version.
1021         (c_common_decode_option): Process -fabi-version.
1022         * doc/invoke.texi (-fabi-version): Document it.
1023         (-Wabi): Add information about bit-fields in unions.
1025 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
1027         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
1028         unless -fno-pic or -fno-PIC is specified.
1030 2002-09-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1032         * c-common.c (preprocessing_trad_p): Define.
1033         * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
1034         (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
1035         * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
1036         * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
1037         * pa-linux.h (CPP_PREDEFINES): Delete.
1038         (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
1039         * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
1040         * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
1041         (TARGET_OS_CPP_BUILTINS): Define.
1042         * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
1043         (TARGET_SWITCHES): Reformat.  Use N_() macro.  Add SUBTARGET_SWITCHES.
1044         (SUBTARGET_SWITCHES): Provide default definition.
1045         (TARGET_OPTIONS): Reformat.  Use N_() macro.
1046         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
1047         CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
1048         EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
1049         (TARGET_CPU_CPP_BUILTINS): Define.
1050         (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
1051         * doc/invoke.texi (msio, mwsio): Document new hppa options.
1052         * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
1053         preprocessing_trad_p().
1055 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
1057         * doc/install.texi: Document behavior of --with-headers and
1058         --with-libs when arguments are omitted.
1060 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>
1062         * dbxout.c: Follow spelling conventions.
1063         * defaults.h: Likewise.
1064         * df.c: Likewise.
1065         * diagnostic.h: Likewise.
1066         * doloop.c: Likewise.
1067         * dwarf2out.c: Likewise.
1068         * dwarfout.c: Likewise.
1069         * emit-rtl.c: Likewise.
1070         * except.c: Likewise.
1071         * explow.c: Likewise.
1072         * expmed.c: Likewise.
1073         * expr.c: Likewise.
1074         * expr.h: Likewise.
1075         * flags.h: Likewise.
1076         * flow.c: Likewise.
1077         * fold-const.c: Likewise.
1078         * function.c: Likewise.
1079         * function.h: Likewise.
1080         * gcc.c: Likewise.
1081         * gcov-io.h: Likewise.
1082         * gcov.c: Likewise.
1083         * gcse.c: Likewise.
1084         * genattrtab.c: Likewise.
1085         * genconfig.c: Likewise.
1086         * genrecog.c: Likewise.
1087         * ggc-page.c: Likewise.
1088         * ggc.h: Likewise.
1089         * global.c: Likewise.
1090         * gthr-win32.h: Likewise.
1091         * integrate.c: Likewise.
1092         * jump.c: Likewise.
1093         * langhooks.c: Likewise.
1094         * langhooks.h: Likewise.
1095         * line-map.h: Likewise.
1096         * local-alloc.c: Likewise.
1097         * longlong.h: Likewise.
1098         * loop.c: Likewise.
1099         * loop.h: Likewise.
1101 Tue Aug 27 22:26:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
1103         * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
1105 Tue Aug 27 20:07:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
1107         * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
1108         for -Os/TARGET_64BIT too.
1110 2002-09-21  Kazu Hirata  <kazu@cs.umass.edu>
1112         * ChangeLog: Follow spelling conventions.
1113         * ChangeLog.0: Likewise.
1114         * ChangeLog.1: Likewise.
1115         * ChangeLog.2: Likewise.
1116         * ChangeLog.3: Likewise.
1117         * ChangeLog.4: Likewise.
1118         * ChangeLog.5: Likewise.
1119         * ChangeLog.6: Likewise.
1120         * FSFChangeLog.10: Likewise.
1121         * FSFChangeLog.11: Likewise.
1122         * alias.c: Likewise.
1123         * basic-block.h: Likewise.
1124         * c-aux-info.c: Likewise.
1125         * c-common.c: Likewise.
1126         * c-common.h: Likewise.
1127         * c-decl.c: Likewise.
1128         * c-format.c: Likewise.
1129         * c-semantics.c: Likewise.
1130         * c-typeck.c: Likewise.
1131         * calls.c: Likewise.
1132         * cfganal.c: Likewise.
1133         * cfgloop.c: Likewise.
1134         * collect2.c: Likewise.
1135         * combine.c: Likewise.
1136         * conflict.c: Likewise.
1137         * cppexp.c: Likewise.
1138         * cppfiles.c: Likewise.
1139         * cpphash.h: Likewise.
1140         * cppinit.c: Likewise.
1141         * cpplex.c: Likewise.
1142         * cpplib.c: Likewise.
1143         * cpplib.h: Likewise.
1144         * cppmacro.c: Likewise.
1145         * cse.c: Likewise.
1147 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
1149         * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
1150         LINK_SPEC.
1151         (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
1152         * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
1153         (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
1155 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
1157         PR opt/7930
1158         * cse.c (fold_rtx): Calculate old_cost before we fold each
1159         operand.
1161 2002-09-21  Richard Henderson  <rth@redhat.com>
1163         * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
1164         __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
1165         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
1166         __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
1167         __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
1168         * doc/cpp.texi: Don't document them.
1170 2002-09-21  Richard Henderson  <rth@redhat.com>
1172         * c-common.c (builtin_define_float_constants): Use real_format
1173         to get the floating-point parameters.
1175 2002-09-21  Richard Henderson  <rth@redhat.com>
1177         * real.c (struct real_format): Move to real.h.
1178         (real_format_for_mode): Rename from fmt_for_mode; update all users;
1179         initialize with ieee defaults.
1180         (real_to_target_fmt, real_from_target_fmt): New.
1181         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
1182         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
1183         ieee_quad_format, i370_single_format, i370_double_format,
1184         c4x_single_format, c4x_extended_format): Rename from s/_format//.
1185         (ieee_quad_format): Fix emin.
1186         (format_for_size, init_real_once): Remove.
1187         * real.h (struct real_format): Move from real.c.
1188         (real_format_for_mode): Declare.
1189         (real_to_target_fmt, real_from_target_fmt): Declare.
1190         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
1191         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
1192         ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
1193         i370_single_format, i370_double_format, c4x_single_format,
1194         c4x_extended_format): Declare.
1195         * toplev.c (do_compile): Don't call init_real_once.
1197         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1198         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1200         * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
1201         * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
1202         * config/alpha/alpha.c (override_options): Set real_format_for_mode
1203         for VAX, if enabled.
1205         * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
1206         for C4X.
1208         * config/i370/i370.h (OVERRIDE_OPTIONS): New.
1209         * config/i370/i370.c (override_options): New.
1210         * config/i370/i370-protos.h: Update.
1212         * config/i386/i386.c (override_options): Set real_format_for_mode
1213         for Intel 80-bit extended.
1214         * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1216         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
1217         (OVERRIDE_OPTIONS): Move code...
1218         * config/i960/i960.c (i960_initialize): ... here.  Set
1219         real_format_for_mode for Intel 80-bit extended.
1221         * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
1222         for Intel 80-bit extended, if enabled.
1224         * config/m68k/m68k.c (override_options): Set real_format_for_mode
1225         for Motorola 96-bit extended.
1227         * config/vax/vax.h (OVERRIDE_OPTIONS): New.
1228         * config/vax/vax.c (override_options): New.
1229         * config/vax/vax-protos.h: Update.
1231 2002-09-21  Alan Modra  <amodra@bigpond.net.au>
1233         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
1234         #if TARGET_MACHO.
1236         * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
1237         insns.  Supply missing clobber of scratch reg.
1239 2002-09-20  Kazu Hirata  <kazu@cs.umass.edu>
1241         * config/m32r/m32r.c: Follow spelling conventions.
1242         * config/m32r/m32r.h: Likewise.
1243         * config/m32r/m32r.md: Likewise.
1244         * config/m68k/m68k.c: Likewise.
1245         * config/m88k/m88k.c: Likewise.
1246         * config/mcore/mcore.c: Likewise.
1247         * config/mips/mips.c: Likewise.
1248         * config/mips/mips.h: Likewise.
1249         * config/mmix/mmix.c: Likewise.
1250         * config/mn10200/mn10200.c: Likewise.
1251         * config/ns32k/ns32k.h: Likewise.
1252         * config/pa/pa.c: Likewise.
1253         * config/pa/pa64-linux.h: Likewise.
1254         * config/pdp11/pdp11.h: Likewise.
1255         * config/romp/romp.c: Likewise.
1256         * config/romp/romp.h: Likewise.
1257         * config/rs6000/eabi.asm: Likewise.
1258         * config/rs6000/linux64.h: Likewise.
1259         * config/rs6000/rs6000.c: Likewise.
1260         * config/rs6000/rs6000.h: Likewise.
1261         * config/rs6000/rs6000.md: Likewise.
1262         * config/rs6000/sysv4.h: Likewise.
1263         * config/rs6000/xcoff.h: Likewise.
1265 2002-09-20  Jim Wilson  <wilson@redhat.com>
1267         * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
1269 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
1271         * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
1272         * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
1273         UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
1274         (legitimate_address_p): Likewise.
1275         (legitimize_address): Use @gotntpoff and @indntpoff.
1276         (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
1277         (output_addr_const_extra): Likewise.
1279 2002-09-20  Jim Wilson  <wilson@redhat.com>
1281         * combine.c (try_combine): When split an instruction pair, where the
1282         first has a sign_extend src, verify that the src and dest modes match.
1284 2002-09-20  Richard Henderson  <rth@redhat.com>
1286         * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
1287         (override_options): Do not initialize them.
1288         (mips_const_double_ok): Allow no fp constants except zero,
1289         and not even that for mips16.
1290         (const_float_1_operand): Use dconst1.
1291         * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
1292         movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
1293         Don't allow arbitrary constants; fix predicates and C constraint.
1295 2002-09-20  Neil Booth  <neil@daikokuya.co.uk>
1297         * cppmacro.c: Don't warn about function-like macros without
1298         '(' during pre-expansion.
1300 2002-09-20  Jim Wilson  <wilson@redhat.com>
1302         * config/v850/v850.c (current_function_anonymous_args): Delete.
1303         (expand_prologue): Use current_function_args_info.anonymous_args.
1304         (expand_epilogue): Delete use of current_function_anonymous_args.
1305         * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
1306         (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
1307         (current_function_anonymous_args): Delete extern declaration.
1308         (SETUP_INCOMING_VARARGS): Set anonymous_args field.
1310 2002-09-20  Geoffrey Keating  <geoffk@apple.com>
1312         * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
1313         to load_macho_picbase.
1314         * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
1315         (load_macho_picbase): Take the symbol to use as a parameter.
1316         (macho_correct_pic): New insn.
1317         (builtin_setjmp_reciever): On Darwin, restore the PIC register.
1319         * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
1320         RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
1321         (CAN_ELIMINATE): Likewise.
1322         (INITIAL_ELIMINATION_OFFSET): Likewise.
1323         (TOC_REGISTER): Likewise.
1325 2002-09-20  Richard Henderson  <rth@redhat.com>
1327         * real.c (real_hash): New.
1328         * real.h: Declare it.
1329         * cse.c (canon_hash): Use it.
1330         * cselib.c (hash_rtx): Likewise.
1331         * emit-rtl.c (const_double_htab_hash): Likewise.
1332         * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
1333         * varasm.c (struct rtx_const): Reduce vector size; separate
1334         integer and fp vectors.
1335         (HASHBITS): Remove.
1336         (const_hash_1): Rename from const_hash.  Use real_hash.  Do not
1337         take modulus MAX_HASH_TABLE.
1338         (const_hash): New.  Do take modulus MAX_HASH_TABLE.
1339         (output_constant_def): Do not take modulus MAX_HASH_TABLE.
1340         (SYMHASH): Don't use HASHBITS.
1341         (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
1342         Fix CONST_VECTOR thinko wrt fp vectors.  Fix kind comparison.
1343         (simplify_subtraction): Fix kind comparison.
1344         (const_hash_rtx): Return unsigned int.  Don't use HASHBITS.
1345         Use a union to pun integer array.
1346         * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
1347         only hash two words of integral CONST_DOUBLE.
1349 2002-09-20  Steve Ellcey  <sje@cup.hp.com>
1351         * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
1352         (STARTFILE_PREFIX_SPEC): New.
1353         (LINK_SPEC): Modify.
1354         (LIB_SPEC): Modify.
1355         (LIBGCC_SPEC): New.
1357 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
1359         * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
1360         UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
1362 2002-09-20  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
1364         * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
1365         Add clobber of the condition code register.
1367 2002-09-20  Richard Henderson  <rth@redhat.com>
1369         * real.c (do_fix_trunc): Static.
1370         (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
1371         encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
1372         encode_i370_single, encode_i370_double, encode_c4x_single,
1373         encode_c4x_extended): Add default abort case.
1375 2002-09-20  Richard Henderson  <rth@redhat.com>
1377         * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
1378         MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
1379         (struct realvaluetype): Remove.
1380         (REAL_VALUE_TYPE): Use struct real_value.
1381         (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
1382         (test_real_width): New.
1383         * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
1384         (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
1385         (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
1386         real_isneg, real_isnegzero, real_identical, exact_real_inverse,
1387         real_to_integer, real_to_integer2, real_to_decimal,
1388         real_to_hexadecimal, real_from_string, real_from_integer,
1389         real_inf, real_nan, real_2expN, real_convert, real_to_target,
1390         real_from_target): Likewise.
1391         * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
1392         * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
1394 2002-09-20  Richard Henderson  <rth@redhat.com>
1396         * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
1397         IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
1398         * defaults.h: ... here.
1399         * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
1400         config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
1401         config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
1402         config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
1404 2002-09-20  Hans-Peter Nilsson  <hp@bitrange.com>
1406         * config/mmix/mmix.md ("negdf2"): Rewrite.
1407         ("*expanded_negdf2"): New.
1409 2002-09-19  Jim Wilson  <wilson@redhat.com>
1411         * combine.c (simplify_set): When optimizing a subreg src with a
1412         cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
1414 2002-09-19  Dale Johannesen <dalej@apple.com>
1415         * combine.c (make_extraction): Don't create
1416         invalid subreg.
1418 2002-09-19  Ulrich Weigand  <uweigand@de.ibm.com>
1420         * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
1421         and STRICT_LOW_PART within SET_DEST.
1422         * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
1423         splitters, replacing pre-reload splitters.
1424         ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
1425         "*zero_extendqihi2_31"): New insns.
1426         ("*zero_extendqihi2_64"): Do not clobber CC.
1428 2002-09-19  Steve Ellcey  <sje@cup.hp.com>
1430         * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
1431         (DTORS_SECTION_ASM_OP): Ditto.
1432         (READONLY_DATA_SECTION_ASM_OP): Moved.
1433         (DATA_SECTION_ASM_OP): New.
1434         (SDATA_SECTION_ASM_OP): New.
1435         (BSS_SECTION_ASM_OP): New.
1436         (SBSS_SECTION_ASM_OP): New.
1437         (TEXT_SECTION_ASM_OP): New.
1439 2002-09-19  Kazu Hirata  <kazu@cs.umass.edu>
1441         * config/fp-bit.c: Follow spelling conventions.
1442         * config/d30v/d30v.c: Likewise.
1443         * config/d30v/d30v.h: Likewise.
1444         * config/fr30/fr30.c: Likewise.
1445         * config/fr30/fr30.h: Likewise.
1446         * config/fr30/fr30.md: Likewise.
1447         * config/frv/frv.c: Likewise.
1448         * config/frv/frv.h: Likewise.
1449         * config/h8300/h8300.c: Likewise.
1450         * config/h8300/lib1funcs.asm: Likewise.
1451         * config/i370/i370.c: Likewise.
1452         * config/i386/i386.h: Likewise.
1453         * config/i386/i386.md: Likewise.
1454         * config/i386/pentium.md: Likewise.
1455         * config/i386/winnt.c: Likewise.
1456         * config/i960/i960.c: Likewise.
1457         * config/ia64/ia64.h: Likewise.
1458         * config/ip2k/ip2k.c: Likewise.
1459         * config/ip2k/ip2k.h: Likewise.
1460         * config/ip2k/ip2k.md: Likewise.
1461         * config/ip2k/libgcc.S: Likewise.
1463 2002-09-19  Stephen Clarke <stephen.clarke@superh.com>
1465         * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
1466         (GOTOFF_P): Extend to allow gotoff plus constant.
1468 2002-09-18  Richard Henderson  <rth@redhat.com>
1470         * ifcvt.c (noce_process_if_block): Correctly detect X modified
1471         with INSN_B before COND_EARLIEST.  Don't check A and B for
1472         modification in condition range.  Reorder INSN_B for A==B properly.
1473         (if_convert): Iterate until no matches for a block.
1475 2002-09-18  Richard Henderson  <rth@redhat.com>
1477         * calls.c (store_one_arg): Rename default_align to parm_align;
1478         always adjust parm_align for downward padding.
1480 2002-09-18  Richard Henderson  <rth@redhat.com>
1482         * toplev.c (backend_init): Move init_real_once invocation ...
1483         (do_compile): ... here.
1485 2002-09-18  Richard Henderson  <rth@redhat.com>
1487         * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
1488         RTX_UNCHANGING_P markers for successful tail-recursive replacement.
1490 2002-09-18  Richard Henderson  <rth@redhat.com>
1492         * real.c (round_for_format): Collect sticky as unsigned long, not bool.
1494 2002-09-19  Alan Modra  <amodra@bigpond.net.au>
1496         * config/rs6000/rs6000.md: (floatdisf2): Rename to
1497         floatdisf2_internal1.
1498         (floatdisf2): New define_expand.
1499         (floatdisf2_internal2): Likewise.
1501 2002-09-18  Richard Henderson  <rth@redhat.com>
1503         * real.c (sticky_rshift_significand): Collect sticky as
1504         unsigned long, not bool.
1506 2002-09-18  Ulrich Weigand  <uweigand@de.ibm.com>
1508         * config/s390/s390.c (s390_address_cost): New function.
1509         config/s390/s390-protos.h (s390_address_cost): Add prototype.
1510         config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
1511         (RTX_COST): Use COSTS_N_INSNS.
1513 2002-09-18  Douglas Rupp  <rupp@gnat.com>
1514             Donn Terry  <donnte@microsoft.com>
1516         * stor-layout.c (place_field): Handle alignment of whole
1517         structures when MSVC compatible bitfields are involved.
1518         Change method of computing location of MS bitfields to
1519         be compatible with #pragma pack(n).
1521         * tree.h (record_layout_info): Add new field
1522         remaining_in_alignment.
1524         * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
1525         (pragma pack): Add paragraph on MSVC bit-field packing.
1527 2002-09-18  Richard Earnshaw  (reanrsha@arm.com)
1529         PR optimization/7967
1530         * arm.md (ne_zeroextractsi): Add clobber of the condition code
1531         register.
1533 2002-09-18  Kazu Hirata  <kazu@cs.umass.edu>
1535         * config/s390/s390.c: Follow spelling conventions.
1536         * config/sh/lib1funcs.asm: Likewise.
1537         * config/sh/sh.c: Likewise.
1538         * config/sh/sh.h: Likewise.
1539         * config/sparc/sparc.c: Likewise.
1540         * config/sparc/sparc.h: Likewise.
1541         * config/sparc/sparc.md: Likewise.
1542         * config/stormy16/stormy16.c: Likewise.
1543         * config/stormy16/stormy16.h: Likewise.
1544         * config/v850/v850.c: Likewise.
1545         * config/v850/v850.h: Likewise.
1546         * config/vax/vax.c: Likewise.
1547         * config/vax/vax.h: Likewise.
1549 2002-09-18  Nick Clifton  <nickc@redhat.com>
1551         * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
1552         * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
1553         * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
1555 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
1557         * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
1558         statement that the only translation is to en_UK.
1560 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
1562         * config/alpha/alpha.c: Follow spelling conventions.
1563         * config/alpha/alpha.h: Likewise.
1564         * config/alpha/alpha.md: Likewise.
1565         * config/arc/arc.h: Likewise.
1566         * config/arm/arm.c: Likewise.
1567         * config/arm/arm.h: Likewise.
1568         * config/arm/arm.md: Likewise.
1569         * config/arm/pe.c: Likewise.
1570         * config/arm/unknown-elf.h: Likewise.
1571         * config/avr/avr.c: Likewise.
1572         * config/avr/avr.h: Likewise.
1573         * config/c4x/c4x.c: Likewise.
1574         * config/cris/cris.c: Likewise.
1575         * config/cris/cris.h: Likewise.
1577 2002-09-17  Samuel Figueroa  <figueroa@apple.com>
1579         * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
1580         * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
1581         * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
1583 2002-09-17  Dale Johannesen  <dalej@apple.com>
1585         * cfgcleanup.c (try_forward_edges):  Do not forward a
1586         branch to just after a loop exit before loop optimization;
1587         this interfered with doloop detection.
1589 2002-09-17  Nick Clifton  <nickc@redhat.com>
1591         * config/arm/arm.c (output_return_instruction): Do not
1592         writeback the stack pointer when it is being loaded.
1593         (arm_output_epilogue): Likewise.
1595 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
1597         * optabs.c (prepare_cmp_insn): Let emit_library_call_value
1598         generate a pseudo reg that receives the result of a libcall.
1599         (prepare_float_lib_cmp): Likewise.
1601 2002-09-17  Steve Ellcey  <sje@cup.hp.com>
1603         * config/ia64/elf.h: Remove CPP_PREDEFINES.
1605 Tue Sep 17 13:58:04 2002  Nicola Pero  <n.pero@mi.flashnet.it>
1607         Fix PR/7014 and related objc bugs:
1608         * c-typeck.c (comp_target_types): Added a reflexive argument.
1609         Pass it to ObjC when/if calling objc_comptypes().  Updated all
1610         callers to provide the appropriate reflexive argument.
1611         * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
1612         typechecking for all cases of comparisons and assignments,
1613         particularly the obscure and less common ones involving protocols.
1615 2002-09-17  Nick Clifton  <nickc@redhat.com>
1617         * machmode.def (V1DImode): New mode.  A single element vector.
1618         * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
1619         (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
1620         * tree.c (build_common_tree_nodes_2): Build
1621         unsigned_V1DI_type_node and V1D1_type_node.
1622         * c-common.c (c_common_type_for_mode): Return
1623         unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
1624         * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
1626 Tue Sep 17 13:40:13 2002  Nicola Pero  <n.pero@mi.flashnet.it>
1628         * doc/objc.texi (Constant string objects): Extended documentation
1629         to make clear that the constant string class ivar layout is
1630         completely fixed.
1632 2002-09-17  Roger Sayle  <roger@eyesopen.com>
1634         * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
1635         NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
1637 2002-09-16  Richard Henderson  <rth@redhat.com>
1639         * expr.c (emit_block_move): Set memory block size as appropriate
1640         for the copy.
1642 2002-09-16  Richard Henderson  <rth@redhat.com>
1644         PR fortran/3924
1645         * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
1647 2002-09-16  Richard Henderson  <rth@redhat.com>
1649         * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
1650         as well as OFFSET for BITPOS.
1652 2002-09-16  Jeff Garzik  <jgarzik@mandrakesoft.com>
1654         * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
1655         * config/i386/i386.c (processor_alias_table): Add winchip-c6,
1656         winchip2 and c3.
1657         * doc/invoke.texi: Mention new aliases.
1659 2002-09-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1661         * calls.c (store_one_arg): Set default alignment for BLKmode arguments
1662         to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
1663         downward.
1664         * function.c (pad_below):  Always compile.
1665         (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
1666         alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
1667         Pad below when the argument is not in a register and the padding
1668         direction is downward.
1670         * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
1671         (PAD_VARARGS_DOWN): Define.
1672         * pa.c (function_arg_padding): Revise padding directions to make them
1673         compatible with the 32 and 64-bit runtime architecture documentation.
1674         (hppa_va_arg):  Add code to handle variable and size zero arguments
1675         passed by reference on TARGET_64BIT.  Reformat.
1676         (function_arg): Use a PARALLEL for BLKmode and aggregates args on
1677         TARGET_64BIT.  Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
1678         wide when !TARGET_64BIT.  Move forward check for mode==VOIDmode.
1679         Add comments.
1680         * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
1681         (RETURN_IN_MEMORY): Return size zero types in memory.
1682         (FUNCTION_VALUE): Return TFmode in general registers.
1683         (MUST_PASS_IN_STACK): Define.
1684         (FUNCTION_ARG_BOUNDARY): Simplify.
1685         (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
1686         by reference.
1687         (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
1689 2002-09-16  Richard Henderson  <rth@redhat.com>
1691         * real.c (do_fix_trunc): New.
1692         (real_arithmetic): Call it.
1693         * simplify-rtx.c (simplify_unary_operation): Handle FIX
1694         with a floating-point result mode.
1696 2002-09-16  Richard Henderson  <rth@redhat.com>
1698         * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
1699         (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
1700         * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
1701         (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
1702         * builtins.c (fold_builtin_nan): New.
1703         (fold_builtin): Call it.
1704         * real.c (real_nan): Parse a non-empty string.
1705         (round_for_format): Fix NaN significand truncation.
1706         * real.h (real_nan): Return bool.
1707         * doc/extend.texi: Document new builtins.
1709 2002-09-16  Jason Merrill  <jason@redhat.com>
1710             Danny Smith  <dannysmith@users.sourceforge.net>
1712         * config/i386/winnt.c (ix86_handle_dll_attribute): Set
1713         DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
1714         (i386_pe_mark_dllimport): Not here.
1716 2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>
1718         * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
1720 2002-09-16  Geoffrey Keating  <geoffk@redhat.com>
1722         * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
1723         warnings about unused operands when HOST_BITS_PER_WIDE_INT is
1724         < 64.
1725         (rs6000_emit_cmove): Use real_isinf not target_isinf.
1727 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
1729         * calls.c (emit_library_call_value_1): Don't refer to
1730         hard_libcall_value.
1731         * optabs.c (prepare_float_lib_cmp): Likewise.
1733 2002-09-16  Geoffrey Keating  <geoffk@apple.com>
1735         * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
1736         mangling.
1738         The following changes are merged from pch-branch:
1740         * doc/gty.texi (GTY Options): Document %a.
1741         * gengtype.c (do_scalar_typedef): New function.
1742         (process_gc_options): Handle `length' option.
1743         (set_gc_used_type): A pointer to an array of structures doesn't
1744         qualify as a pointer to a structure.
1745         (output_escaped_param): Add `%a' escape.
1746         (write_gc_structure_fields): Allow 'desc' on array of unions.
1747         (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
1748         do_scalar_typedef.
1750         * gengtype.c (enum rtx_code): Make global.
1751         (rtx_format): Make global.
1752         (rtx_next): New.
1753         (gen_rtx_next): New.
1754         (write_rtx_next): New.
1755         (adjust_field_rtx_def): Skip fields marked by chain_next.
1756         (open_base_files): Delete redundant prototype.
1757         (write_enum_defn): New.
1758         (output_mangled_typename): Correct abort call.
1759         (write_gc_marker_routine_for_structure): Handle chain_next and
1760         chain_prev options.
1761         (finish_root_table): Don't output redundant \n.
1762         (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
1763         * c-tree.h (union lang_tree_node): Add chain_next option.
1765         * gengtype.h (NUM_PARAM): New definition.
1766         (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
1767         * gengtype.c (find_param_structure): New.
1768         (adjust_field_type): Handle param<n>_is option.
1769         (process_gc_options): Detect use_params option.  Update callers.
1770         (set_gc_used_type): Add 'param' parameter, update callers.  Handle
1771         'use_params' option.
1772         (open_base_files): Add splay-tree.h to list of files included.
1773         (output_mangled_typename): New.
1774         (write_gc_structure_fields): Update 'param' parameter to support
1775         multiple parameters.  Change name mangling.  Allow parameterized
1776         fields to have an apparent scalar type.  Handle param<n>_is options,
1777         use_param option.
1778         (write_gc_marker_routine_for_structure): Update for change to name
1779         mangling.  Better guess the output file for parameterized types.
1780         (write_gc_types): Update for change to name mangling.
1781         (write_gc_root): Update for change to name mangling.  Handle (ignore)
1782         param<n>_is options.
1783         * doc/gty.texi (GTY Options): Add description of param<n>_is
1784         options, use_params option.
1785         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
1786         * gengtype-lex.l: Produce token for param<n>_is.
1787         * gengtype-yacc.y: Parse param<n>_is.
1789         * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
1791         * rtl.c: Update comment describing rtx_format.
1792         * rtl.h (union rtunion): Separate definition and typedef.
1793         (struct rtx_def): Use gengtype to mark.
1794         * Makefile.in (gengtype.o): Also depend on rtl.def.
1795         * ggc.h (ggc_mark_rtx_children): Delete prototype.
1796         (ggc_mark_rtx): Change to alias of gengtype-generated routine.
1797         * ggc-common.c (ggc_mark_rtx_children): Delete.
1798         (ggc_mark_rtx_children_1): Delete.
1799         (gt_ggc_m_rtx_def): Delete.
1800         * gengtype.c (adjust_field_rtx_def): New.
1801         (adjust_field_type): Call adjust_field_rtx_def.
1802         (write_gc_structure_fields): Add 'default' case to switch if none
1803         is specified; remove unused code.
1805         * tree.h (struct tree_exp): Update for change to meaning
1806         of special.
1807         * gengtype.c (adjust_field_tree_exp): New function.
1808         (adjust_field_type): Handle `tree_exp' special here.
1809         (write_gc_structure_fields): Don't handle `tree_exp' special here.
1810         Handle new `dot' option.
1812         * gengtype.h: Make `info' a pointer-to-const.
1813         * gengtype-yacc.y (yacc_ids): Use xasprintf.
1815         * gengtype.c (write_gc_structure_fields): Remove implementation
1816         of `always' option, add `default' option.
1817         * doc/gty.texi (GTY Options): Remove documentation of `always',
1818         add `default'.
1820 2002-09-16  Hans-Peter Nilsson  <hp@bitrange.com>
1822         * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
1824 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1826         * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
1828         * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
1829         instead of the *-protos.h file directly.
1830         * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
1831         * darwin.c (machopic_output_stub): Move prototype ...
1832         * darwin-protos.h (machopic_output_stub): ... here.
1833         * rs6000-protos.h (machopic_output_stub): Don't declare.
1835 2002-09-16  Richard Henderson  <rth@redhat.com>
1837         * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
1839 2002-09-16  Richard Henderson  <rth@redhat.com>
1841         * real.c, real.h: Rewrite from scratch.
1843         * Makefile.in (simplify-rtx.o): Depend on TREE_H.
1844         (paranoia): New target.
1845         * builtins.c (fold_builtin_inf): Use new real.h interface.
1846         * c-common.c (builtin_define_with_hex_fp_value): Likewise.
1847         * c-lex.c (interpret_float): Likewise.
1848         * emit-rtl.c (gen_lowpart_common): Likewise.
1849         * optabs.c (expand_float): Use real_2expN.
1850         * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
1851         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
1852         (FLOAT_WORDS_BIG_ENDIAN): New.
1853         * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
1854         directly to REAL_VALUE_NEGATIVE.
1855         * loop.c (canonicalize_condition): Likewise.
1856         * simplify-rtx.c: Include tree.h.
1857         (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
1858         with floating-point result modes.
1859         * toplev.c (backend_init): Call init_real_once.
1861         * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
1862         * tree.c (build_real): Likewise.
1863         * config/alpha/alpha.c, config/vax/vax.c (float_strings,
1864         float_values, inited_float_values, check_float_value): Remove.
1865         * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
1866         config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
1867         * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
1868         (VAX_HALFWORD_ORDER): Remove.
1870 2002-09-16  Ulrich Weigand  <uweigand@de.ibm.com>
1872         * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
1873         (s390_load_address): ... this new function.
1874         (s390_decompose_address): Allow the argument pointer and all
1875         virtual registers as 'pointer' registers.
1876         (s390_expand_plus_operand): Use s390_load_address.
1877         config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
1878         ("force_la_31"): New insn pattern.
1879         config/s390/s390-protos.h (legitimize_la_operand): Remove.
1880         (s390_load_address): Add prototype.
1882         * config/s390/s390.c: Include "optabs.h".
1883         (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
1884         config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
1885         s390_expand_cmpstr): Add prototypes.
1886         config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
1887         ("movstrdi_short"): Rename to "movstr_short_64".  Change predicates
1888         for operands 0 and 1 to "memory_operand".  Add type attribute.
1889         ("movstrsi_short"): Rename to "movstr_short_31".  Change predicates
1890         for operands 0 and 1 to "memory_operand".  Add type attribute.
1891         ("movstrdi_long", "movstrsi_long"): Remove.
1892         ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
1893         ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
1894         ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
1895         ("clrstrsico"): Remove, replace by ...
1896         ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
1897         ("clrstrsi_64"): Rename to "clrstr_long_64".
1898         ("clrstrsi_31"): Rename to "clrstr_long_31".
1899         ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
1900         ("cmpstr_const"): Remove, replace by ...
1901         ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
1902         ("cmpstr_64"): Rename to "cmpstr_long_64".
1903         ("cmpstr_31"): Rename to "cmpstr_long_31".
1905 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
1907         * ABOUT-NLS: Follow spelling conventions.
1908         * ChangeLog: Likewise.
1909         * ChangeLog.1: Likewise.
1910         * ChangeLog.2: Likewise.
1911         * ChangeLog.3: Likewise.
1912         * ChangeLog.4: Likewise.
1913         * ChangeLog.5: Likewise.
1914         * ChangeLog.6: Likewise.
1915         * FSFChangeLog.10: Likewise.
1916         * FSFChangeLog.11: Likewise.
1917         * c-common.c: Likewise.
1918         * c-lex.c: Likewise.
1919         * c-objc-common.c: Likewise.
1920         * cppexp.c: Likewise.
1921         * cppinit.c: Likewise.
1922         * cpplex.c: Likewise.
1923         * doloop.c: Likewise.
1924         * flow.c: Likewise.
1925         * function.c: Likewise.
1926         * integrate.c: Likewise.
1927         * loop.c: Likewise.
1928         * reg-stack.c: Likewise.
1929         * reload.h: Likewise.
1930         * ssa.c: Likewise.
1932 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
1934         * ChangeLog: Follow spelling conventions.
1935         * ChangeLog.0: Likewise.
1936         * ChangeLog.1: Likewise.
1937         * ChangeLog.2: Likewise.
1938         * ChangeLog.4: Likewise.
1939         * ChangeLog.6: Likewise.
1940         * config.gcc: Likewise.
1941         * dwarfout.c: Likewise.
1942         * reload1.c: Likewise.
1943         * simplify-rtx.c: Likewise.
1944         * unwind-sjlj.c: Likewise.
1945         * config/avr/avr.h: Likewise.
1946         * config/d30v/d30v.h: Likewise.
1947         * config/frv/frv.c: Likewise.
1948         * config/frv/frv.h: Likewise.
1949         * config/ip2k/ip2k.h: Likewise.
1950         * config/m88k/m88k-move.sh: Likewise.
1951         * config/stormy16/stormy16.c: Likewise.
1952         * config/stormy16/stormy16.h: Likewise.
1953         * doc/extend.texi: Likewise.
1954         * doc/interface.texi: Likewise.
1955         * doc/invoke.texi: Likewise.
1956         * doc/md.texi: Likewise.
1957         * doc/rtl.texi: Likewise.
1958         * doc/tm.texi: Likewise.
1959         * doc/trouble.texi: Likewise.
1960         * ginclude/float.h: Likewise.
1961         * treelang/treelang.texi: Likewise.
1963 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1965         * i386-protos.h (i386_pe_dllexport_name_p,
1966         i386_pe_dllimport_name_p, i386_pe_unique_section,
1967         i386_pe_declare_function_type, i386_pe_record_external_function,
1968         i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
1969         prototype.
1970         * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
1971         * i386/t-interix (winnt.o): Likewise.
1973         * v850-protos.h (v850_output_addr_const_extra): Prototype.
1975 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
1977         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
1978         MIPS ABI CPP macros.
1979         (TARGET_CPU_CPP_BUILTINS): Redefine.
1980         (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
1981         (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
1983 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1985         * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
1987 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
1989         * ChangeLog: Follow spelling conventions.
1990         * ChangeLog.0: Likewise.
1991         * ChangeLog.1: Likewise.
1992         * ChangeLog.2: Likewise.
1993         * ChangeLog.3: Likewise.
1994         * ChangeLog.4: Likewise.
1995         * ChangeLog.5: Likewise.
1996         * ChangeLog.6: Likewise.
1997         * FSFChangeLog.10: Likewise.
1998         * FSFChangeLog.11: Likewise.
1999         * c-common.c: Likewise.
2000         * c-common.h: Likewise.
2001         * c-format.c: Likewise.
2002         * c-opts.c: Likewise.
2003         * cpplib.c: Likewise.
2004         * langhooks.h: Likewise.
2005         * real.c: Likewise.
2006         * reg-stack.c: Likewise.
2007         * toplev.c: Likewise.
2008         * config/arm/arm.c: Likewise.
2009         * config/arm/arm.md: Likewise.
2010         * config/arm/linux-gas.h: Likewise.
2011         * config/arm/netbsd.h: Likewise.
2012         * config/c4x/c4x.c: Likewise.
2013         * config/c4x/c4x.h: Likewise.
2014         * config/c4x/c4x.md: Likewise.
2015         * config/c4x/libgcc.S: Likewise.
2016         * config/fr30/fr30.md: Likewise.
2017         * config/frv/frv.md: Likewise.
2018         * config/ia64/ia64.md: Likewise.
2019         * config/mips/mips.h: Likewise.
2020         * config/mn10300/mn10300.c: Likewise.
2021         * config/stormy16/stormy16.c: Likewise.
2022         * config/v850/v850.md: Likewise.
2023         * doc/extend.texi: Likewise.
2024         * doc/invoke.texi: Likewise.
2025         * doc/md.texi: Likewise.
2027 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
2029         * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
2030         library if -pthread is specified.
2032 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
2034         * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
2035         for --enable-threads=yes and --enable-threads=posix.
2037 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
2039         * config/sparc/cypress.md: Replace Sparc with SPARC.
2040         * config/sparc/freebsd.h: Likewise.
2041         * config/sparc/gmon-sol2.c: Likewise.
2042         * config/sparc/hypersparc.md: Likewise.
2043         * config/sparc/lb1spc.asm: Likewise.
2044         * config/sparc/lb1spl.asm: Likewise.
2045         * config/sparc/linux.h: Likewise.
2046         * config/sparc/linux64.h: Likewise.
2047         * config/sparc/lynx.h: Likewise.
2048         * config/sparc/sol2.h: Likewise.
2049         * config/sparc/sparc-modes.def: Likewise.
2050         * config/sparc/sparc.c: Likewise.
2051         * config/sparc/sparc.h: Likewise.
2052         * config/sparc/sparc.md: Likewise.
2053         * config/sparc/sparclet.md: Likewise.
2054         * config/sparc/supersparc.md: Likewise.
2055         * config/sparc/sysv4.h: Likewise.
2056         * config/sparc/vxsim.h: Likewise.
2057         * config/sparc/vxsparc64.h: Likewise.
2059 2002-09-14  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2061         * config/avr/avr.c (output.h): Move after inclusion of tree.h.
2063 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
2065         * ChangeLog: Follow spelling conventions.
2066         * ChangeLog.0: Likewise.
2067         * ChangeLog.2: Likewise.
2068         * ChangeLog.3: Likewise.
2069         * ChangeLog.4: Likewise.
2070         * ChangeLog.5: Likewise.
2071         * ChangeLog.6: Likewise.
2072         * cppfiles.c: Likewise.
2073         * cppinit.c: Likewise.
2074         * cpplib.h: Likewise.
2075         * cse.c: Likewise.
2076         * debug.h: Likewise.
2077         * df.c: Likewise.
2078         * dominance.c: Likewise.
2079         * hashtable.c: Likewise.
2080         * hashtable.h: Likewise.
2081         * loop.c: Likewise.
2082         * config/arm/README-interworking: Likewise.
2083         * config/arm/arm.c: Likewise.
2084         * config/arm/arm.h: Likewise.
2085         * config/arm/arm.md: Likewise.
2086         * config/dsp16xx/dsp16xx.h: Likewise.
2087         * config/frv/frv.c: Likewise.
2088         * config/frv/frv.h: Likewise.
2089         * config/ip2k/ip2k.h: Likewise.
2090         * config/rs6000/rs6000.c: Likewise.
2091         * config/stormy16/stormy-abi: Likewise.
2092         * config/stormy16/stormy16.h: Likewise.
2093         * config/v850/v850.c: Likewise.
2095 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
2097         * loop.c: Fix a comment typo.
2099 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
2101         * config/fr30/fr30.h: Fix comment typos.
2102         * config/frv/frv.c: Likewise.
2103         * config/i386/xmmintrin.h: Likewise.
2104         * config/mips/mips.c: Likewise.
2105         * config/sh/sh.c: Likewise.
2107 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
2109         * haifa-sched.c: Follow spelling conventions.
2110         * regclass.c: Likewise.
2111         * regrename.c: Likewise.
2112         * config/fp-bit.c: Likewise.
2113         * config/frv/frv.h: Likewise.
2114         * config/m88k/m88k.c: Likewise.
2115         * config/mcore/mcore.c: Likewise.
2116         * config/rs6000/darwin.h: Likewise.
2117         * config/rs6000/gnu.h: Likewise.
2118         * config/rs6000/linux.h: Likewise.
2119         * config/rs6000/linux64.h: Likewise.
2120         * config/rs6000/rs6000.c: Likewise.
2121         * config/rs6000/rs6000.h: Likewise.
2122         * config/sh/sh.c: Likewise.
2123         * config/sparc/sparc.c: Likewise.
2124         * config/sparc/ultra1_2.md: Likewise.
2126 2002-09-14  Stephane Carrez  <stcarrez@nerim.fr>
2128         * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
2129         memory operand when source is 0 (K constraint).
2130         ("movsi_internal"): Likewise.
2131         ("movdf_internal"): Likewise.
2132         ("movsf_internal"): Likewise.
2134 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
2136         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
2137         targetm.binds_local_p to set SYMBOL_REF_FLAG.
2138         (rs6000_xcoff_encode_section_info): Likewise.
2139         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2141 2002-09-10  Theodore A. Roth  <troth@verinet.com>
2143         * gcc/config/avr/avr.h: Set default options for C++ for avr.
2145 2002-09-13  Richard Henderson  <rth@redhat.com>
2147         * Makefile.in (toplev.o): Depend on real.h.
2148         (print-rtl.o, varasm.o, ifcvt.o): Likewise.
2150 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
2152         * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
2153         * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
2154         * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
2156 2002-09-13  Nathan Sidwell  <nathan@codesourcery.com>
2158         * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
2160 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
2162         * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
2163         ia64*-*-linux*): Set extra_parts.
2164         * config/ia64/t-aix (EXTRA_PARTS): Remove.
2165         * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
2167 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
2169         * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
2170         * config/h8300/h8300.c: Likewise.
2171         * config/h8300/h8300.h: Likewise.
2172         * config/h8300/h8300.md: Likewise.
2173         * doc/invoke.texi: Likewise.
2175 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
2177         * config/h8300/h8300.c (h8300_init_once): Fix formatting.
2179 2002-09-13  Matt Austern  <austern@apple.com>
2181         * cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p.
2182         * cp/call.c: Change call-by-const-reference mechanism to use
2183         non_cast_lvalue_p when deciding whether the create a temporary.
2184         We need a temporary when passing, e.g. (long) x by const ref.
2185         * testsuite/g++.dg/other/constref[12].C: New, regression tests for
2186         passing a cast expression to a function by const reference.
2188 2002-09-13  Richard Henderson  <rth@redhat.com>
2190         * config/alpha/alpha.md (attr type): Add callpal.
2191         (imb, trap, load_tp, set_tp): Use it.
2192         * config/alpha/ev4.md (ev4_callpal): New.
2193         * config/alpha/ev5.md (ev5_callpal): New.
2194         * config/alpha/ev6.md (ev6_ibr): Handle callpal.
2195         * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
2196         (alphaev5_insn_pipe): Likewise.
2198 2002-09-13  Andreas Jaeger  <aj@suse.de>
2200         * Makefile.in (print-rtl.o): Depend on CONFIG_H.
2202 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
2204         * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
2205         LIB2ADDEH): New, set to NULL.
2206         (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
2208 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
2210         * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
2211         (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
2212         (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
2213         Add declarations.
2214         (_U_Qfneg): Remove.
2216 2002-09-13 Dhananjay Deshpande  <dhananjayd@kpit.com>
2218         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
2219         for H8/300, H8S aa:8 mode.
2220         (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
2221         * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
2222         for H8/300 aa:8 mode.
2224 2002-09-13  Hartmut Penner  <hpenner@de.ibm.com>
2226         * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
2227         insns.
2229 2002-09-12  Richard Henderson  <rth@redhat.com>
2231         * Makefile.in (HOST_PRINT): Use print-rtl1.o
2232         (print-rtl.o): Don't define GENERATOR_FILE.
2233         (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
2234         * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
2235         unless GENERATOR_FILE.
2237 2002-09-12  Stan Shebs  <shebs@apple.com>
2239         * config/darwin.h (USER_LABEL_PREFIX): Define here...
2240         * config/i386/darwin.h: ... instead of here.
2242         * target.h (struct gcc_target): New field
2243         terminate_dw2_eh_frame_info.
2244         * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
2245         (TARGET_INITIALIZER): Add it.
2246         * dwarf2out.c (output_call_frame_info): Use target hook.
2247         * dwarf2asm.c (dw2_asm_output_delta): Use macro
2248         ASM_OUTPUT_DWARF_DELTA if defined.
2249         * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
2250         (ASM_OUTPUT_DWARF_DELTA): Ditto.
2251         (ASM_OUTPUT_DWARF_OFFSET): Ditto.
2252         (ASM_OUTPUT_DWARF_PCREL): Ditto.
2253         * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
2254         (powerpc-*-darwin*): Ditto.
2255         * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
2256         to work correctly for Darwin.
2257         * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
2258         (STARTFILE_SPEC): Add crtbegin.o.
2259         (ENDFILE_SPEC): Define.
2260         (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
2261         (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
2262         (ASM_OUTPUT_DWARF_DELTA): Define.
2263         (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
2264         * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
2266 2002-09-13  Alan Modra  <amodra@bigpond.net.au>
2268         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
2269         nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
2270         * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
2272 2002-09-12  Zack Weinberg  <zack@codesourcery.com>
2274         * toplev.c: Move default definition of USER_LABEL_PREFIX...
2275         * defaults.h: ... here.
2277 2002-09-12  Richard Henderson  <rth@redhat.com>
2279         * vax.c: Include tree.h earlier.
2281 2002-09-12  Stan Shebs  <shebs@apple.com>
2283         * config/darwin.c (machopic_finish): Remove #if 0 chunks.
2284         (machopic_operand_p): Ditto.
2286 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2288         * config/arm/arm.c (arm_compute_initial_elimination_offset):
2289         Fix a comment typo.
2291 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2293         * toplev.c (do_abort): Fix a comment typo.
2295 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2297         * cselib.c: Fix comment formatting.
2298         * gengtype.c: Likewise.
2300 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2302         * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
2303         (udivmodhi4): Likewise.
2305 2002-09-12  Graham Stott  <graham.stott@btinternet.com>
2306             Roger Sayle  <roger@eyesopen.com>
2308         * i386.c (any_fp_register_operand, fp_register_operand,
2309         register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
2310         New predicate functions.
2311         * i386-protos.h:  Add their prototypes.
2312         * i386.h: Add them to PREDICATE_CODES.
2313         * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
2314         "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
2315         "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
2316         "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
2317         "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
2318         "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
2319         "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
2320         "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
2321         "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
2322         "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
2323         "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
2324         Use these new predicates to simplify and correct the use of
2325         FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
2327 2002-09-12  Jason Merrill  <jason@redhat.com>
2329         * diagnostic.c (output_add_identifier): New fn.
2330         * diagnostic.h: Declare it.
2332         * calls.c (store_one_arg): Use size_in_bytes to determine the
2333         amount of space to push.
2335 2002-09-12  Jakub Jelinek  <jakub@redhat.com>
2337         * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
2339 2002-09-12  Ulrich Weigand  <uweigand@de.ibm.com>
2341         * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
2342         * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
2343         (s390_select_ccmode): Likewise.
2344         (s390_branch_condition_mask): Likewise.
2345         (optimization_options): Do not set flag_branch_on_count.
2346         (s390_split_branches): Handle doloop branches.
2347         (s390_chunkify_pool): Likewise.
2348         * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
2349         ("doloop_end"): New expander.
2350         ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
2351         associated splitters): New.
2353 2002-09-11  Hartmut Penner  <hpenner@de.ibm.com>
2355         * fold-const.c (make_range): Only narrow to signed range if
2356         the signed range is smaller than the unsigned range.
2358 2002-09-12  Alan Modra  <amodra@bigpond.net.au>
2360         * emit-rtl.c (set_mem_size): New function.
2361         * expr.h (set_mem_size): Declare.
2362         * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
2363         (expand_block_move): Instead, use adjust_address and
2364         replace_equiv_address to generate proper aliasing info.
2365         Move common code out of conditionals.  Localize vars.
2367 2002-09-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
2369         * optabs.c (expand_binop): Minor cleanup.
2370         (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
2372 2002-09-11  Dan Nicolaescu  <dann@ics.uci.edu>
2374         * print-tree.c (print_node): Print the restrict qualifier.
2376 2002-09-11  Janis Johnson  <janis187@us.ibm.com>
2378         * doc/install.texi: Fix typos.
2380 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
2382         * Makefile.in: Remove all references to s-under and underscore.c.
2383         * collect2.c, tlink.c: Change all uses of prepends_underscore
2384         to look directly at USER_LABEL_PREFIX.
2386 2002-09-11  David Edelsohn  <edelsohn@gnu.org>
2388         * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
2389         alignment to csect.
2390         (rs6000_xcoff_unique_section): Only set section name for public
2391         data.
2392         (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
2393         * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
2394         duplicate definition.
2396 2002-09-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2398         * pa.md (extzv): Check predicates before emitting extzv_32.
2399         (insv): Likewise.
2401 2002-09-10  Ulrich Weigand  <uweigand@de.ibm.com>
2403         * config/s390/s390.h (MOVE_MAX): Define to correct value.
2404         (MAX_MOVE_MAX): Define.
2405         (MOVE_BY_PIECES_P): Define.
2406         (CLEAR_BY_PIECES_P): Define.
2408 2002-09-10  Denis Chertykov  <denisc@overta.ru>
2410         * config/avr/avr.md (movstrhi): Use right operands for conversion.
2412 2002-09-10  Richard Earnshaw  <rearnsha@arm.com>
2414         PR c/7873
2415         * arm.md (insv): Use reg_or_int_operand for operand[3].
2417 2002-09-10  David Edelsohn  <edelsohn@gnu.org>
2419         * rs6000.c (rs6000_assemble_visibility): Protect declaration
2420         inside macro.  Correct function definition typo.
2421         (rs6000_xcoff_section_type_flags): New function.
2422         (TARGET_SECTION_TYPE_FLAGS): Remove definition.
2423         (rs6000_elf_section_type_flags): Call default_section_type_flags_1
2424         with appropriate PIC test.
2425         (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
2426         determine readonly.
2427         (rs6000_binds_local_p): Combine PIC flags.
2428         * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
2429         * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
2431 2002-09-09  Per Bothner  <per@bothner.com>
2433         * print-tree.c (print_node):  In a STRING_CST, escape non-ascii
2434         characters, and only print TREE_STRING_LENGTH chars.
2436 2002-09-09  Steve Ellcey  <sje@cup.hp.com>
2438         * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
2439         (ASM_FILE_END) New.
2440         * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
2441         * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
2442         * config/ia64/ia64.c (ia64_asm_output_external): Create list
2443         of external functions if TARGET_HPUX_LD is true.
2444         (ia64_hpux_add_extern_decl): New, routine to put names on
2445         list of external functions.
2446         (ia64_hpux_asm_file_end): Put out declarations for external
2447         functions if and only if they are used.
2449 2002-09-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2451         * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
2452         on TARGET_64BIT before pic register restore.
2454 2002-09-09  David Edelsohn  <edelsohn@gnu.org>
2456         * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
2457         (TARGET_HAVE_TLS): New description.
2459 2002-09-09  Janis Johnson  <janis187@us.ibm.com>
2461         * doc/extend.texi (Statement Exprs): Fix broken link.
2463 2002-09-09  Denis Chertykov  <denisc@overta.ru>
2465         * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
2466         right conversion of operands[1].
2468 2002-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
2470         * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
2471         commutative.  Use "nonimmediate_operand" instead of "register_operand"
2472         as predicate for operand 0.  Move to after the "*tmXX_mem" insns.
2474         ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
2475         as commutative.
2477         ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
2478         mark as commutative.  Use "nonimmediate_operand" instead of
2479         "register_operand" as predicate for operand 1.
2481         ("movstrictsi"): Fix typo in insn name.
2483 2002-09-09  Jan Hubicka  <jh@suse.cz>
2485         * i386.c (index_register_operand): New.
2486         * i386.h (predicate_codes): Add new predicate.
2487         * i386.md (lea_general_*): Use index_regsiter_operand
2488         (ashift to lea splitter): Do not produce invalid leas
2489         (ashift to mov+ashift split): New.
2491 2002-09-09  Nick Clifton  <nickc@redhat.com>
2493         * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
2494         Fix folding marks.
2496 2002-09-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
2497             J"orn Rennecke <joern.rennecke@superh.com>
2499         * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
2501 2002-09-09  Alan Modra  <amodra@bigpond.net.au>
2503         * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
2504         (function_ok_for_sibcall): Use binds_local_p.  Respect longcall
2505         attributes.
2507 2002-09-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2509         * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
2511 2002-09-08  Richard Henderson  <rth@redhat.com>
2513         * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
2514         (DW_OP_GNU_push_tls_address): New.
2515         (DW_OP_lo_user): Fix.
2516         * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
2517         (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
2518         (size_of_loc_descr): Likewise.
2519         (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
2520         (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
2521         (loc_descriptor_from_tree): Handle TLS variables.
2522         (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
2523         (add_location_or_const_value_attribute): ... not here.  Defer
2524         to loc_descriptor_from_tree for TLS variables.
2526         * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
2527         * config/i386/i386.c (i386_output_dwarf_dtprel): New.
2528         * config/i386/i386-protos.h: Update.
2530 2002-09-08  Roger Sayle  <roger@eyesopen.com>
2532         PR optimization/6405
2533         * unroll.c (loop_iterations): last_loop_insn should be the previous
2534         non-note instruction before loop->end.
2535         * loop.c (strength_reduce): The conditional jump is the last
2536         non-note instruction before loop->end (as above).
2538 2002-09-08  Roger Sayle  <roger@eyesopen.com>
2540         * combine.c (try_combine): Handle the case that undobuf.other_insn
2541         has been turned into a return or unconditional jump, by inserting
2542         a BARRIER if necessary.
2543         (simplify_set):  Test if a condition code setter has a constant
2544         comparison at compile time, if so convert this insn to a no-op move
2545         and update/simplify the condition code user (undobuf.other_insn).
2547 2002-09-08  Krister Walfridsson  <cato@df.lth.se>
2549         * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
2550         (CLEAR_INSN_CACHE): Define.
2552 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
2554         * basic-block.h: Fix comment formatting.
2555         * c-common.c: Likewise.
2556         * c-common.h: Likewise.
2557         * c-lex.c: Likewise.
2558         * c-pretty-print.c: Likewise.
2559         * cfglayout.c: Likewise.
2560         * cfgloop.c: Likewise.
2561         * defaults.h: Likewise.
2562         * et-forest.c: Likewise.
2563         * explow.c: Likewise.
2564         * function.h: Likewise.
2565         * gcov.c: Likewise.
2566         * genattrtab.c: Likewise.
2567         * gengtype.c: Likewise.
2568         * ifcvt.c: Likewise.
2569         * libgcc2.c: Likewise.
2570         * loop.c: Likewise.
2571         * profile.c: Likewise.
2572         * ra-build.c: Likewise.
2573         * real.c: Likewise.
2574         * rtl.h: Likewise.
2575         * tracer.c: Likewise.
2576         * tree-inline.c: Likewise.
2577         * varasm.c: Likewise.
2579 2002-09-08  Jan Hubicka  <jh@suse.cz>
2581         * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
2582         handling.
2584         * loop.c (loop_gics_reduce):  Emit addition after.
2586 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
2588         * varasm.c (default_assemble_visibility): Rename from
2589         assemble_visibility.
2590         * output.h: Here too.
2591         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
2592         * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
2594 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
2596         * reload.c (find_reloads <p constraint>): Pass operand_mode to
2597         find_reloads_address.
2599 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
2601         * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
2602         (anonymous pattern): Likewise.
2604 2002-09-07  Scott Snyder  <snyder@fnal.gov>
2606         PR target/7374
2607         * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
2609 2002-09-07  Roger Sayle  <roger@eyesopen.com>
2611         * basic-block.h (struct loop): Remove unused cont_dominator field.
2613 2002-09-07  Igor Shevlyakov <igor@microunity.com>
2615         * varasm.c (decode_rtx_const): Don't check undefined field for
2616         CONST_VECTOR.
2618 2002-09-07  Glen Nakamura  <glen@imodulo.com>
2620         PR opt/7814
2621         * sched-deps.c (sched_analyze_insn): Make sure to add insn
2622         to reg_last->sets after flushing the dependency lists to guarantee
2623         that subsequent clobbers will be dependent on it.
2625 2002-09-07  Igor Shevlyakov <igor@microunity.com>
2627         * combine.c (simplify_shift_const): Calculate rotate count
2628         correctly for vector operands.
2630 2002-09-07  Ansgar Esztermann  <ansgar@thphy.uni-duesseldorf.de>
2632         * c-typeck.c (c_tree_expr_nonnegative_p): New function.
2633         (build_binary_op): Call c_tree_expr_nonnegative_p rather than
2634         tree_expr_nonnegative_p.
2635         (build_conditional_expr): Likewise.
2636         * c-tree.h (c_tree_expr_nonnegative_p): Declare.
2638 2002-09-07  Richard Henderson  <rth@redhat.com>
2640         * builtins.def (inf, inff, infl): Mark const.
2641         (huge_val, huge_valf, huge_vall): Likewise.
2642         (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
2644         * real.c (ereal_inf): Clear E before use.
2646 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
2648         * config/h8300/h8300.md (udivmodqi4): Split the pattern into
2649         an expander and an anonymous pattern.  Zero out the upper half
2650         of the dividend in the expander.
2651         (udivmodqi4): Likewise.
2653 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
2655         * config/h8300/h8300.c: Fix formatting.
2656         * config/h8300/h8300.h: Likewise.
2657         * config/h8300/h8300.md: Likewise.
2659 2002-09-07  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2661         * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
2662         information.
2664 2002-09-07  Graham Stott  <graham.stott@btinternet.con>
2666        * rtlanal.c (dead_or_set_regno_p): Fix typo.
2668 2002-09-07  Alan Modra  <amodra@bigpond.net.au>
2670         * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
2672         * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
2673         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
2674         (TARGET_ASM_OUT): Add the above here.
2675         * target.h (struct gcc_target): Add "visibility" field.
2676         * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
2677         * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
2678         (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
2679         (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
2681 2002-09-06  Ziemowit Laski <zlaski@apple.com>
2683         * c-lang.c (objc_is_id): New stub.
2684         * c-tree.h (objc_is_id): New forward declaration.
2685         * c-typeck.c (build_c_cast): Do not strip protocol
2686         qualifiers from 'id' type.
2687         * objc/objc-act.c (objc_comptypes): Correct handling
2688         of protocol qualifiers.
2689         (objc_is_id): New.
2691 Fri Sep  6 13:10:08 2002  Jeffrey A Law  (law@redhat.com)
2693         * pentium.md (pentium-firstvboth): Fix typo.
2695 2002-09-06      Dhananjay Deshpande <dhananjayd@kpit.com>
2697         * h8300.c (enum shift_alg): Move to earlier in h8300.c.
2698         (enum shift_type, enum h8_cpu): Likewise.
2699         (INL, ROT, LOP, SPC macros): Likewise.
2700         (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise.  Lose
2701         const designator.
2702         (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
2703         space efficient algorithms when optimize for codesize.
2705 Fri Sep  6 16:35:32 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2707         Fix PR/1727 and long-standing failing testcase
2708         objc/formal-protocol-6.m.
2709         * objc-act.c (build_protocol_expr): If compiling for the GNU
2710         runtime, create a list of Protocol statically allocated instances
2711         if it doesn't exist, then add the Protocol object to this same
2712         list.
2713         (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
2714         instead of TREE_CHAIN.
2716 Fri Sep  6 16:17:33 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2718         * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
2719         10k.  Fixed category dumping - print out category names with the
2720         proper syntax.  Print '@end\n' and not '\n@end' at the end of the
2721         interface.
2722         (finish_objc): Fixed the -gen-decls option.  It was printing out
2723         only the last class.  Dump an interface declaration of all classes
2724         being compiled instead.
2726 2002-09-06  Jason Thorpe  <thorpej@wasabisystems.com>
2728         * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
2729         prototype.
2730         * config/arm/arm.c (arm_gen_return_addr_mask): New function.
2731         * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
2732         if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
2733         rather than GEN_INT.
2734         * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
2735         (return_addr_mask, *check_arch2): New.
2737 2002-09-06  Ulrich Weigand  <uweigand@de.ibm.com>
2739         * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
2740         "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
2741         "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
2742         "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
2743         "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
2744         "adddf3", "*adddf3", "*adddf3_ibm",
2745         "addsf3", "*addsf3", "*addsf3_ibm",
2746         "muldi3", "mulsi3", "mulsidi3",
2747         "muldf3", "*muldf3", "*muldf3_ibm",
2748         "mulsf3", "*mulsf3", "*mulsf3_ibm",
2749         "*anddi3_cc", "*anddi3_cconly", "anddi3",
2750         "*andsi3_cc", "*andsi3_cconly", "andsi3",
2751         "*iordi3_cc", "*iordi3_cconly", "iordi3",
2752         "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
2753         "*xordi3_cc", "*xordi3_cconly", "xordi3",
2754         "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
2755         instead of "register_operand" as predicate for "%0" operand.
2757 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
2759         * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
2760         unconditionally when gcc_cv_as_flags64 checks are gone.
2761         * configure: Rebuilt.
2763 2002-09-06  Alan Modra  <amodra@bigpond.net.au>
2765         * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
2766         2002-07-26 change.  Comment.
2768 2002-09-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2770         * frv.c (frv_unique_section, frv_select_section,
2771         frv_select_rtx_section): Delete.
2772         (frv_in_small_data_p): New.
2773         (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
2774         TARGET_ASM_SELECT_RTX_SECTION): Delete.
2775         (TARGET_IN_SMALL_DATA_P): Define.
2777 2002-09-05  Dale Johannesen  <dalej@apple.com>
2779         * reload1.c (reload):  Retain only those memory clobbers
2780         added for variable-array handling.
2782 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
2784         * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
2785         return-in-memory rules.
2786         * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
2788 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
2790         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
2791         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
2793 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
2795         * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
2796         not a compile-time constant for the non-IBM case.
2797         * config/arm/arm-protos.h (arm_float_words_big_endian): New
2798         prototype.
2799         * config/arm/arm.c (arm_float_words_big_endian): New function.
2800         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
2801         if TARGET_VFP  and not TARGET_HARD_FLOAT.
2802         (ARM_FLAG_VFP, TARGET_VFP): Define.
2803         (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
2805 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
2807         * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
2808         URLs.  Fix AIX wording.
2810 2002-09-05  Stan Shebs  <shebs@apple.com>
2812         * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
2813         -fPIC equivalent on Darwin.
2815 Thu Sep  5 16:27:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
2817         * sh.c (sh_expand_builtin): Return early if encountering an
2818         error_mark for a type.
2820 2002-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
2822         * config/s390/s390.c (s390_expand_plus_operand): Do not require
2823         double-word scratch register.
2824         config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
2826         ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
2827         "*cli"): Replace s_operand by memory_operand.
2828         ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
2830 2002-09-05  Kazu Hirata  <kazu@cs.umass.edu>
2832         * config/h8300/h8300.c (asm_file_start): Add a missing
2833         semicolon.
2835 2002-09-04  Krister Walfridsson  <cato@df.lth.se>
2837         * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
2838         * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
2839         (ix86_output_addr_diff_elt) Likewise.
2840         (x86_output_mi_thunk) Likewise.
2841         * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
2843 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2845         * frv.c (frv_encode_section_info): Fix error in last change.
2847 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
2849         * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
2850         (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
2851         (TARGET_BINDS_LOCAL_P): Define.
2852         (rs6000_override_options): Save original flag_pic value.
2853         (rs6000_elf_select_section): Call default_elf_select_section_1.
2854         (rs6000_elf_unique_section): Call default_unique_section_1.
2855         (rs6000_elf_in_small_data_p): New function.
2856         (rs6000_xcoff_asm_named_section): Determine storage mapping class.
2857         (rs6000_xcoff_select_section): Update based on defaults.
2858         (rs6000_xcoff_unique_section): Set to basic name if not common.
2859         (rs6000_binds_local_p): New function.
2860         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
2861         targetm.have_srodata_section if SDATA_EABI.
2862         (TARGET_IN_SMALL_DATA_P): Define.
2864 2002-09-04  Dale Johannesen  <dalej@apple.com>
2866         * varasm.c (struct rtx_const, decode_rtx_const):
2867         Make veclo and vechi fields not share storage.
2869 Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
2871         * loop.c (scan_loop): Don't mark separate insns out of a libcall
2872         for moving.
2873         (move_movables): Abort if we see the first insn of a libcall.
2875 2002-09-04  Richard Henderson  <rth@redhat.com>
2877         * builtin-types.def (BT_FN_FLOAT): New.
2878         (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
2879         * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
2880         BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
2881         * builtins.c (fold_builtin_inf): New.
2882         (fold_builtin): Call it.
2883         * real.c (ereal_inf): New.
2884         * real.h: Declare it.
2885         * doc/extend.texi: Document new builtins.
2887 2002-09-04  Richard Henderson  <rth@redhat.com>
2889         * cse.c (cse_insn): Avoid subreg games if the equivalence
2890         is already in the proper mode.
2892 2002-09-04  Eric Botcazou  <ebotcazou@multimania.com>
2894         PR c/7102
2895         * optabs.c (expand_binop): Convert CONST_INTs in all cases.
2897 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2899         * pa.md (setccfp0, setccfp1): New patterns.
2901 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2903         * frv-protos.h (frv_init_builtins, frv_expand_builtin,
2904         frv_select_section, frv_select_rtx_section,
2905         frv_encode_section_info, frv_unique_section): Delete.
2906         * frv.c: Update for target hooks.
2907         * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
2908         SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
2909         EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
2911 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2913         * ip2k-protos.h (function_prologue, function_epilogue,
2914         encode_section_info): Update to match target hook specification.
2915         * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
2916         (function_prologue, function_epilogue, encode_section_info):
2917         Update to match target hook specification.
2918         * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
2919         ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
2920         (NOTICE_UPDATE_CC): Cast to void.
2921         * ip2k.md: Add defaults in switch statements.
2923 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
2925         * doc/trouble.texi (Interoperation): Update information about C++ ABI
2926         issues.
2928 2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
2930         * config/sparc/t-netbsd64: Disable multilib for now.
2932 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
2934         * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
2935         * target.h (gcc_target): Add have_srodata_section member.
2936         * varasm.c (section_category): Add SECCAT_SRODATA.
2937         (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
2938         READONLY_SDATA_SECTION defined.
2939         (decl_readonly_section_1): True for SECCAT_SRODATA also.
2940         (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
2941         (default_unique_section_1): Likewise.
2943 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2945         * expr.c (emit_group_load): Revise to allow splitting TCmode source
2946         into DImode pieces.
2948         * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
2949         * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
2950         for floating-point register class.
2951         * pa.c (function_arg): Fix handling of modes wider than one word for
2952         TARGET_64BIT.
2954 Wed Sep  4 18:48:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
2956         * combine.c (make_compound_operation): Don't generate zero / sign
2957         extensions in floating point modes.
2959 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
2961         * doc/c-tree.texi: Fix overfull hboxes.
2962         * doc/cppopts.texi: Ditto.
2963         * doc/extend.texi: Ditto.
2964         * doc/gty.texi: Ditto.
2965         * doc/invoke.texi: Ditto.
2966         * doc/makefile.texi: Ditto.
2967         * doc/rtl.texi: Ditto.
2968         * doc/standards.texi: Ditto.
2969         * doc/tm.texi: Ditto.
2971 2002-09-04  Richard Henderson  <rth@redhat.com>
2973         * c-common.c (builtin_define_with_hex_fp_value): New.
2974         (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.
2976 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
2978         * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
2979         (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
2980         -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
2981         Warn that these options can break ABI compatibility.
2983 2002-09-04  Richard Henderson  <rth@redhat.com>
2985         * real.c (ereal_to_decimal): Add digits parameter.
2986         * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
2987         * c-pretty-print.c (pp_c_real_literal): Update call.
2988         * print-rtl.c (print_rtx): Likewise.
2989         * print-tree.c (print_node_brief, print_node): Likewise.
2990         * sched-vis.c (print_value): Likewise.
2991         * config/arc/arc.c (arc_print_operand): Likewise.
2992         * config/c4x/c4x.c (c4x_print_operand): Likewise.
2993         * config/i370/i370.h (PRINT_OPERAND): Likewise.
2994         * config/i386/i386.c (print_operand): Likewise.
2995         * config/i960/i960.c (i960_print_operand): Likewise.
2996         * config/ip2k/ip2k.c (asm_output_float): Likewise.
2997         * config/m32r/m32r.c (m32r_print_operand): Likewise.
2998         * config/m68hc11/m68hc11.c (print_operand): Likewise.
2999         * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
3000         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
3001         * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
3002         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
3003         * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
3004         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3005         * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
3006         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3007         * config/mips/mips.c (print_operand): Likewise.
3008         * config/ns32k/ns32k.c (print_operand): Likewise.
3009         * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
3010         * config/vax/vax.h (PRINT_OPERAND): Likewise.
3011         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
3013 2002-09-04  Bob Wilson  <bob.wilson@acm.org>
3015         * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
3016         xtensa_multibss_section_type_flags.
3017         * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
3019 2002-09-04  Richard Henderson  <rth@redhat.com>
3021         * doc/install-old.texi: Don't mention enquire.
3022         * doc/sourcebuild.texi: Update float.h description.
3024 Wed Sep  4 11:22:14 2002  J"orn Rennecke <joern.rennecke@superh.com>
3026         * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
3028 2002-09-03  David Edelsohn  <edelsohn@gnu.org>
3030         * varasm.c (default_section_type_flags): Append _1 to name with
3031         shlib parameter.  Use original name to call new function with
3032         implicit flag_pic.
3033         (decl_readonly_section): Likewise.
3034         (default_elf_select_section): Likewise.
3035         (default_unique_section): Likewise.
3036         (default_bind_local_p): Likewise.
3037         (categorize_decl_for_section): Add shlib parameter to use in place
3038         of implicit flag_pic.
3039         * output.h: Declare new functions with _1 and shlib argument.
3041 2002-09-03  Janis Johnson  <janis187@us.ibm.com>
3043         * doc/install.texi: Fix typos, formatting problems, and obvious
3044         overfull/underfull boxes.
3046         * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
3047         * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
3048         include its file, compat.texi.
3049         * doc/compat.texi: New file with new chapter, Binary Compatibility.
3051 2002-09-03  Neil Booth  <neil@daikokuya.co.uk>
3053         Debian BTS Bug #157416
3054         * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
3055         * cpplib.c (destringize_and_run): Kludge around getting
3056         tokens from in-progress macros.
3057         (_cpp_do__Pragma): Simplify.
3059 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
3061         * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
3062         (CPP_CPU_SPEC): Remove.
3063         (TARGET_CPU_CPP_BUILTINS): New.
3064         * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
3065         (CPP_SPEC): Remove.
3066         (TARGET_OS_CPP_BUILTINS): New.
3067         * config/ia64/linux.h (CPP_PREDEFINES): Remove.
3068         (TARGET_OS_CPP_BUILTINS): New.
3069         * config/ia64/aix.h (CPP_SPEC): Move some stuff to
3070         TARGET_OS_CPP_BUILTINS.
3071         (CPP_PREDEFINES): Remove.
3072         (CPLUSPLUS_CPP_SPEC): Remove.
3073         (TARGET_OS_CPP_BUILTINS): New.
3075 2002-09-03  Richard Henderson  <rth@redhat.com>
3077         * Makefile.in (USER_H): Add ginclude/float.h.
3078         (FLOAT_H): Remove.
3079         (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
3080         (mostlyclean): Don't remove float.h intermediate files.
3081         (distclean): Don't remove float.h.
3082         * config.gcc: Remove all float_format references.
3083         * configure.in (float_format, float_h_file): Remove.
3085         * c-common.c: Include tree-inline.h.
3086         (builtin_define_with_int_value): New.
3087         (builtin_define_type_precision): Use it.
3088         (builtin_define_float_constants): New.
3089         (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
3090         __FLT_EVAL_METHOD__.
3091         * defaults.h (TARGET_FLT_EVAL_METHOD): New.
3092         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
3093         * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
3094         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
3095         (TARGET_FLT_EVAL_METHOD): New.
3097         * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
3098         config/float-i386.h, config/float-i64.h, config/float-m68k.h,
3099         config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
3100         * ginclude/float.h: New.
3102 2002-09-03  Stan Shebs  <shebs@apple.com>
3104         * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
3105         (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
3106         (PREFERRED_DEBUGGING_TYPE): Ditto.
3107         (ASM_OUTPUT_IDENT): Remove empty definition.
3109 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
3111         * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
3112         cxx_target.
3113         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
3114         handling routine for builtin pragma.
3115         * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
3116         Registered pragma handling routine.
3117         * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
3118         (ia64_hpux_add_pragma_builtin) New subroutine used by above.
3119         If builtin pragma seen for math routine and C89 conformance is
3120         requested use different math function in order to set errno.
3121         * t-ia64 (ia64-c.o): Add new rule for new file.
3123 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
3125         * config/s390/s390.md ("movti"): Add Q->Q alternative.
3126         ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
3127         "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
3129         ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
3130         "*movsf_ss"): Remove.
3132 2002-09-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3134         * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
3135         Delete macros.
3137 2002-09-03   Arati Dikey  <aratid@kpit.com>
3139         * h8300.c (asm_file_start): Corrected optimization comment.
3141 2002-09-03  Stan Shebs  <shebs@apple.com>
3143         * c-lang.c (recognize_objc_keyword): Remove, no longer used.
3144         * c-tree.h (recognize_objc_keyword): Remove decl.
3145         * c-typeck.c (comp_target_types): Update a comment.
3147 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
3149         * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
3150         and register validity checks.
3151         (general_s_operand): Adapt to s390_decompose_address interface change.
3152         (q_constraint): Likewise.
3153         (s390_expand_plus_operand): Likewise.
3154         (legitimiate_address_p): Likewise.
3155         (legitimate_la_operand_p): Likewise.
3156         (legitimize_la_operand): Likewise.
3157         (print_operand_address): Likewise.
3158         (print_operand): Likewise.
3160 Tue Sep  3 11:32:14 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3162         PR objc/5956:
3163         * objc/objc-act.c (build_typed_selector_reference): Fix typo which
3164         was causing the new selector never to match the existing ones
3165         (Patch by Alexander Malmberg <alexander@malmberg.org>).
3167 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
3169         * config/i386/i386.md ("femms"): Add "memory" attr "none".
3171 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
3173         * expr.c (expand_expr): Remove extraneous comment and code.
3175 2002-08-31  Richard Henderson  <rth@redhat.com>
3177         * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
3179 2002-08-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3181         * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
3183 2002-08-30  Richard Henderson  <rth@redhat.com>
3185         PR opt/7515
3186         * c-objc-common.c: Include target.h.
3187         (c_cannot_inline_tree_fn): Don't auto-inline functions that
3188         don't bind locally.  Factor setting DECL_UNINLINABLE.
3189         * Makefile.in (c-objc-common.o): Update.
3191 2002-08-30  Janis Johnson  <janis187@us.ibm.com>
3193         * doc/install.texi (Configuration, Building): Fix a typo and
3194         some formatting directives.
3196 2002-08-30  Paul Koning <pkoning@equallogic.com>
3198         * doc/c-tree.texi (RDIV_EXPR): Fix typo.
3199         * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
3200         implemented" note.
3201         * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
3202         for alphabetic order.
3203         * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
3204         VAX_FLOAT_FORMAT.  Remove reference to HOST_FLOAT_FORMAT.
3205         (VAX_HALFWORD_ORDER): Document.
3206         (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
3207         IEEE float format.
3208         (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
3209         (ASM_OUTPUT_LABEL_REF): Fix font.
3210         (CASE_VECTOR_SHORTEN_MODE): Ditto.
3212 2002-08-30  Denis Chertykov  <denisc@overta.ru>
3214         * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
3215         stuff.
3216         (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
3217         CONST_DOUBLE constants.
3219 2002-08-30  Jason Thorpe  <thorpej@wasabisystems.com>
3221         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
3222         related defines to...
3223         (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
3224         * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
3225         as a no-op.
3227 2002-08-30  Krister Walfridsson  <cato@df.lth.se>
3229         * config/arm/arm.c (arm_asm_output_labelref): New function.
3230         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
3231         * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
3233 2002-08-29  Rodney Brown  <rbrown64@csc.com.au>
3235         * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
3236         memory exhausted" workarounds.
3238 2002-08-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3240         * diagnostic.c (fancy_abort): Don't repeat "internal error".
3241         * toplev.c (crash_signal): Likewise.
3243 Fri Aug 30 00:33:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3245         * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
3246         * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
3247         Extended, updated documentation.
3248         (-Wundeclared-selector): Documented.
3250 2002-08-29  Jason Thorpe  <thorpej@wasabisystems.com>
3252         * config/chorus.h: Consistently define *_DEBUGGING_INFO with
3253         the value 1.  Do not undef before defining.
3254         * config/darwin.h: Likewise.
3255         * config/dbx.h: Likewise.
3256         * config/dbxcoff.h: Likewise.
3257         * config/dbxelf.h: Likewise.
3258         * config/elfos.h: Likewise.
3259         * config/interix.h: Likewise.
3260         * config/lynx-ng.h: Likewise.
3261         * config/lynx.h: Likewise.
3262         * config/netware.h: Likewise.
3263         * config/psos.h: Likewise.
3264         * config/svr3.h: Likewise.
3265         * config/alpha/alpha.h: Likewise.
3266         * config/alpha/elf.h: Likewise.
3267         * config/alpha/vms.h: Likewise.
3268         * config/arc/arc.h: Likewise.
3269         * config/arm/aout.h: Likewise.
3270         * config/arm/coff.h: Likewise.
3271         * config/c4x/c4x.h: Likewise.
3272         * config/h8300/h8300.h: Likewise.
3273         * config/i386/cygwin.h: Likewise.
3274         * config/i386/djgpp.h: Likewise.
3275         * config/i386/gas.h: Likewise.
3276         * config/i386/gstabs.h: Likewise.
3277         * config/i386/i386-coff.h: Likewise.
3278         * config/i386/i386-interix.h: Likewise.
3279         * config/i386/sco5.h: Likewise.
3280         * config/i386/svr3dbx.h: Likewise.
3281         * config/i386/sysv3.h: Likewise.
3282         * config/i386/win32.h: Likewise.
3283         * config/i386/x86-64.h: Likewise.
3284         * config/i960/i960.h: Likewise.
3285         * config/ia64/ia64.h: Likewise.
3286         * config/ip2k/ip2k.h: Likewise.
3287         * config/m32r/m32r.h: Likewise.
3288         * config/m68k/3b1.h: Likewise.
3289         * config/m68k/3b1g.h: Likewise.
3290         * config/m68k/ccur-GAS.h: Likewise.
3291         * config/m68k/coff.h: Likewise.
3292         * config/m68k/hp2bsd.h: Likewise.
3293         * config/m68k/hp310g.h: Likewise.
3294         * config/m68k/hp320g.h: Likewise.
3295         * config/m68k/hp3bsd.h: Likewise.
3296         * config/m68k/hp3bsd44.h: Likewise.
3297         * config/m68k/linux-aout.h: Likewise.
3298         * config/m68k/m68k-aout.h: Likewise.
3299         * config/m68k/mot3300.h: Likewise.
3300         * config/m68k/netbsd.h: Likewise.
3301         * config/m68k/openbsd.h: Likewise.
3302         * config/m68k/pbb.h: Likewise.
3303         * config/m68k/plexus.h: Likewise.
3304         * config/m68k/sun2.h: Likewise.
3305         * config/m68k/sun3.h: Likewise.
3306         * config/m68k/tower-as.h: Likewise.
3307         * config/m68k/vxm68k.h: Likewise.
3308         * config/m88k/aout-dbx.h: Likewise.
3309         * config/m88k/m88k-aout.h: Likewise.
3310         * config/mcore/mcore-elf.h: Likewise.
3311         * config/mcore/mcore-pe.h: Likewise.
3312         * config/mips/elf.h: Likewise.
3313         * config/mips/elf64.h: Likewise.
3314         * config/mips/iris5gas.h: Likewise.
3315         * config/mips/iris6.h: Likewise.
3316         * config/mips/mips.h: Likewise.
3317         * config/mips/sni-gas.h: Likewise.
3318         * config/mmix/mmix.h: Likewise.
3319         * config/ns32k/netbsd.h: Likewise.
3320         * config/pa/pa64-hpux.h: Likewise.
3321         * config/romp/romp.h: Likewise.
3322         * config/rs6000/sysv4.h: Likewise.
3323         * config/rs6000/xcoff.h: Likewise.
3324         * config/sh/coff.h: Likewise.
3325         * config/sh/elf.h: Likewise.
3326         * config/sparc/linux64.h: Likewise.
3327         * config/sparc/liteelf.h: Likewise.
3328         * config/sparc/netbsd.h: Likewise.
3329         * config/sparc/openbsd.h: Likewise.
3330         * config/sparc/pbd.h: Likewise.
3331         * config/sparc/sp64-elf.h: Likewise.
3332         * config/sparc/sp86x-elf.h: Likewise.
3333         * config/sparc/sparc.h: Likewise.
3334         * config/vax/vax.h: Likewise.
3335         * config/vax/vaxv.h: Likewise.
3337 2002-08-29  "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
3339         * h8300.c (shift_alg_hi): Various tweaks to improve performance
3340         of HImode shifts.
3341         (get_shift_alg): Corresponding changes.
3343 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3345         * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
3347 2002-08-29  Richard Henderson  <rth@redhat.com>
3349         * expr.h (enum block_op_methods): New.
3350         (emit_block_move): Update prototype.
3351         * expr.c (block_move_libcall_safe_for_call_parm): New.
3352         (emit_block_move_via_loop): New.
3353         (emit_block_move): Use them.  New argument METHOD.
3354         (emit_push_insn): Always respect the given alignment.
3355         (expand_assignment): Update call to emit_block_move.
3356         (store_expr, store_field, expand_expr): Likewise.
3357         * builtins.c (expand_builtin_apply): Likewise.
3358         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
3359         * function.c (expand_function_end): Likewise.
3360         * config/sh/sh.c (sh_initialize_trampoline): Likewise.
3361         * config/sparc/sparc.c (sparc_va_arg): Likewise.
3362         * calls.c (expand_call, emit_library_call_value_1): Likewise.
3363         (save_fixed_argument_area): Use emit_block_move with
3364         BLOCK_OP_CALL_PARM instead of move_by_pieces.
3365         (restore_fixed_argument_area): Likewise.
3366         (store_one_arg): Fix alignment parameter to emit_push_insn.
3368 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3370         * install.texi (hppa64-hp-hpux11*): Document installation procedure.
3372 2002-08-29  Catherine Moore  <clm@redhat.com>
3374         * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
3375         NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
3376         (PREDICATE_CODES): Include new predicates.
3377         (RTX_COSTS): Handle UMOD and UDIV.  Tune MULT for v850e.
3378         (TARGET_SWITCHES):  Add strict-align.
3379         (TARGET_STRICT_ALIGN): New.
3380         (MASK_DEFAULT, STRICT_ALIGNMENT):  Redefine.
3381         * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
3382         Define.
3383         (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
3384         v850_muldi3.
3385         * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
3386         L_callt_save_r2_r31, L_return_r2_r31,
3387         L_save_all_interrupt): Change addi to add.
3388         (L_save_interrupt, L_return_interrupt): Rework.
3389         (__return_r31):  Correct .size directive.
3390         (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
3391         (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
3392         New routines.
3393         * config/v850/v850.c (expand_prologue): Call
3394         gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
3395         gen_callt_return_interrupt and gen_callt_save_all_interrupt.
3396         (reg_or_int9_operand): New predicate.
3397         (reg_or_const_operand): New routine.
3398         * config/v850/v850.md (return_interrupt): Changed from
3399         restore_interrupt.
3400         (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
3401         (callt_save_interrupt): Change save sequence.
3402         (callt_return_interrupt): New.
3403         (save_interrupt): Don't use runtime function for LONG_CALLS
3404         and TARGET_PROLOG_FUNCTION.
3405         (save_all_interrupt): Likewise.
3406         (mulsi3): Use new predicate.
3407         (moviscc): Disallow some combination of constants.
3408         Fix define_split for sasf insns, so that it will not generate bad
3409         code if operand0 and operand5 are the same.
3410         * config/v850/v850-protos.h: Prototype new predicates.
3412 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3414         * c-common.c (builtin_define_type_precision): New function.
3415         (cb_register_builtins): Use it.  Define __WCHAR_UNSIGNED__ is
3416         wchar_t is unsigned in C++.
3417         * doc/cpp.texi (Common Predefined Macros): Document
3418         __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
3419         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
3420         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
3422 2002-08-28  Sylvain Pion <pion@cs.nyu.edu>
3424         * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
3425         section.  Mention that it is enabled by -Wall.
3426         (-Wall): Mention that there can be language-specific warnings as well.
3427         (-Wctor-dtor-privacy): Mention that it is enabled by default.
3428         (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
3430 Wed Aug 28 15:35:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
3432         * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
3433         if it is ever live.
3435         * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
3436         attribute for SHCOMPACT.
3438         * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
3439         appropriately.
3440         (FUNCTION_BOUNDARY): Specify only the minimum alignment required
3441         by the ABI.
3443         * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
3445 2002-08-28  Jason Thorpe  <thorpej@wasabisystems.com>
3447         * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
3448         "MASK_GAS|MASK_ABICALLS".
3449         * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
3450         (TARGET_DEFAULT): Remove.
3451         (MACHINE_TYPE): Undefine before defining.
3452         (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
3454 2002-08-27  Mark Mitchell  <mark@codesourcery.com>
3456         * c-common.c (warn_abi): New variable.
3457         * c-common.h (warn_abi): Likewise.
3458         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
3459         (c_common_decode_option): Handle it.
3460         * doc/invoke.texi: Document -Wabi.
3462 Tue Aug 27 23:03:52 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3464         * c-common.c (warn_undeclared_selector): New variable.
3465         * c-common.h (warn_undeclared_selector): Idem.
3466         * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
3467         to on when -Wundeclared-selector is found.
3468         (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
3469         * objc/objc-act.c (build_selector_expr): If
3470         warn_undeclared_selector is set, check that the selector has
3471         already been defined, and emit a warning if not.
3473 2002-08-27  Nick Clifton  <nickc@redhat.com>
3474             Catherine Moore  <clm@redhat.com>
3475             Jim Wilson  <wilson@cygnus.com>
3477         * config.gcc: Add v850e-*-* target.
3478         Add --with-cpu= support for v850.
3479         * config/v850/lib1funcs.asm: Add v850e callt functions.
3480         * config/v850/v850.h: Add support for v850e target.
3481         * config/v850/v850.c: Add functions to support v850e target.
3482         * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
3483         * config/v850/v850.md: Add patterns for v850e instructions.
3484         * doc/invoke.texi: Document new v850e command line switches.
3486 Tue Aug 27 18:30:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
3487                           Aldy Hernandez <aldyh at redhat dot com>
3489         * doc/tm.texi: Applied numerous fixes to the automaton based
3490         scheduler descrition.
3492 Tue Aug 27 19:51:05 CEST 2002  Jan Hubicka  <jh@suse.cz>
3494         * i386.c (classify_argument): Handle variable sized objects.
3496 Tue Aug 27 19:18:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
3498         * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
3500 Tue Aug 27 18:01:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
3502         * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
3504 Tue Aug 27 18:00:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
3506         * i386.c (classify_argument): Properly compute word size of the analyzed object.
3508 Tue Aug 27 14:39:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
3510         * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
3511         mac_gp ftrc_s and cwb.  Add / Adjust definitions in individual insn
3512         accordingly.
3513         (attribute insn_class): Provide default definitions based on type.
3514         Remove all insn-specific settings.
3515         (various function units): Remove old SH4 scheduling.
3516         (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
3517         New attributes.  Set them where appropriate.
3518         (cpu unit FS): Don't define / use.
3519         (F3, load_store): New cpu units.
3520         (F01): New reservation.
3521         (all insn_reservations): Make dependent on sh4 pipeline model.
3522         Fix latencies.
3523         (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
3524         (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
3525         (mt insn_reservation): Use type mt_group.
3526         (insn_reservation load_store): Split into sh4_load, sh4_load_si,
3527         sh4_fload and sh4_store.
3528         (insn_reservation branch_zero and branch): Replace with sh4_branch.
3529         (insn_reservation branch_far): Replace with sh4_return.
3530         (insn_reservation return_from_exp): Rename to:
3531         (sh4_return_from_exp).  Change to be just d_lock*5.
3532         (insn_reservation lds_to_pr): Rename to:
3533         (sh4_lds_to_pr).  Change to be just d_lock*2.
3534         (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
3535         d_lock*2.
3536         (insn_reservation prload_mem): Rename to:
3537         (sh4_prstore_mem).  Change to d_lock*2,nothing,memory.
3538         (insn_reservation fpscr_store): Rename to:
3539         (fpscr_load).  Change to d_lock,nothing,F1*3.
3540         (insn_reservation fpscr_store_mem): Rename to:
3541         (fpscr_load_mem).  Change to d_lock,nothing,(F1+memory),F1*2.
3542         (insn_reservation multi): Change to
3543         d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
3544         (insn_reservation fp_arith): Change to issue,F01,F2.
3545         (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
3546         (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
3547         (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
3548         (insn_reservation fp_double_cmp): Change to
3549         d_lock,(d_lock+F01),F1+F2,F2.
3550         (insn_reservation dp_div): Change to
3551         issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
3552         * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
3553         (sh_adjust_cost, SHcompact): Differentiate between different
3554         kinds of dependencies.  Drop factor of ten for superscalar.
3555         Use new instruction types.  Add new exception rules.
3557         * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
3559         * sh.md (mperm_w): Add DONE.
3561 2002-08-27  David Edelsohn  <edelsohn@gnu.org>
3563         * longlong.h: Import current PowerPC defintion from GMP-4.1.
3565         * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
3567         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
3569 Tue Aug 27 13:53:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
3571         * sh.h (MAX_FIXED_MODE_SIZE): Define.
3573 2002-08-27  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
3575         * doc/cpp.texi (Common Predefined Macros): Don't mess with table
3576         delimiter.
3578 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3580         * c-common.c (cpp_define_data_format): New function.
3581         (cb_register_builtins): Call it.
3583         * doc/cpp.texi (Common Predefined Macros): Document
3584         __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
3585         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
3586         __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
3587         __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
3588         __TARGET_USES_VAX_H_FLOAT__.
3590 2002-08-26  Ziemowit Laski <zlaski@apple.com>
3592         * objc/objc-act.c (get_super_receiver): If inside a class method
3593         of a category, cast the receiver to 'id' before accessing the 'isa'
3594         field so that <objc/objc-class.h> is not needed.  For NeXT runtime.
3596 2002-08-26  Ulrich Weigand  <uweigand@de.ibm.com>
3598         * config/s390/s390-protos.h (s390_function_prologue,
3599         s390_function_epilogue): Remove.
3600         config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
3601         TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
3603         config/s390/s390.c (s390_machine_dependent_recorg): New function.
3604         config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
3605         config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
3606         config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
3607         to being called from MACHINE_DEPENDENT_REORG.  Update regs_ever_live.
3609         config/s390/s390.c (s390_frame_info): Inline save_fprs_p.  Always
3610         assume BASE_REGISTER and RETURN_REGNUM need to be saved.
3611         (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
3612         function is not a leaf function.  Use save_gprs and restore_gprs.
3613         (s390_emit_epilogue): Likewise.
3614         (save_gprs, restore_gprs): New functions.
3615         (struct s390_frame): Remove return_reg_saved_p member.
3616         (save_fprs_p): Remove.
3617         (s390_optimize_prolog): New function.
3618         (s390_legitimate_reload_constant): Remove now unnecessary check.
3620         (s390_function_count): Remove.
3621         (s390_output_symbolic_const): Replace s390_function_count by
3622         current_function_funcdef_no.
3623         (s390_output_constant_pool): Likewise.
3625         (legitimize_pic_address): Use regs_ever_live to track PIC register
3626         instead of current_function_uses_pic_offset_table.
3627         (s390_emit_prologue): Likewise.
3628         config/s390/s390.md ("call", "call_value"): Likewise.
3630 2002-08-26  Neil Booth  <neil@daikokuya.co.uk>
3632         * c-opts.c (find_opt): Don't complain about wrong languages
3633         here.  Return exact matches even for wrong language.
3634         (c_common_decode_option): Complain about wrong languages
3635         here.
3637 2002-08-24  Stuart Hastings  <stuart@apple.com>
3639         * function.h (struct function): Add flag
3640         all_throwers_are_sibcalls.
3641         * except.c (set_nothrow_function_flags): Replaces
3642         nothrow_function_p. Set new flag.
3643         * except.h (set_nothrow_function_flags): Replaces
3644         nothrow_function_p.
3645         * dwarf2out.c (struct dw_fde_struct): Add flag
3646         all_throwers_are_sibcalls.
3647         (output_call_frame_info): Test it.
3648         (dwarf2out_begin_prologue) Propagate it from cfun to
3649         dw_fde_struct.
3650         * toplev.c (rest_of_compilation): Update calls to
3651         nothrow_function_p.
3653 2002-08-23  Zack Weinberg  <zack@codesourcery.com>
3655         * ggc-page.c (compute_inverse): Short circuit calculation for
3656         object sizes larger than half a page.
3658 2002-08-23  David Edelsohn  <edelsohn@gnu.org>
3660         * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
3661         DEFAULT_ABI == ABI_AIX like PIC.  Test PIC & reloc for readonly
3662         default.
3663         (rs6000_elf_unique_section): Likewise.
3665 2002-08-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3667         * ns32k.c (ns32k_globalize_label): Delete.
3668         * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
3670 2002-08-23  Alan Modra  <amodra@bigpond.net.au>
3672         * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
3673         for loading delta with num_insns_constant_wide.  Calculate
3674         delta_low, delta_high without using a conditional.
3676 2002-08-22  Jason Merrill  <jason@redhat.com>
3678         * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
3679         * c-common.def: Adjust.
3680         * c-dump.c (c_dump_tree): Adjust.
3681         * c-semantics.c (genrtl_return_stmt): Adjust.
3682         * c-pretty-print.c (pp_c_statement): Adjust.
3683         * tree-inline.c (copy_body_r): Adjust.
3685 2002-08-22  Zack Weinberg  <zack@codesourcery.com>
3687         * ggc-page.c: Avoid division in ggc_set_mark.
3688         (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
3689         compute_inverse): New.
3690         (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
3691         (init_ggc): Initialize inverse_table.
3693 2002-08-22  Tom Tromey  <tromey@redhat.com>
3695         * doc/install.texi (Configuration): Document --datadir.
3697 2002-08-22  Alexandre Oliva  <aoliva@redhat.com>
3699         * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
3701 2002-08-22  Hans-Peter Nilsson  <hp@bitrange.com>
3703         * gengtype-lex.l (ID): Allow underscore as first character.
3705 2002-08-21  David Edelsohn  <edelsohn@gnu.org>
3707         * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
3708         function.
3709         (rs6000_xcoff_asm_named_section): Rename.
3710         * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
3712 2002-08-21  Tom Tromey  <tromey@redhat.com>
3714         For PR java/6005 and PR java/7611:
3715         * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
3716         (fold): Likewise.
3717         * langhooks.c (lhd_can_use_bit_fields_p): New function.
3718         * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
3719         (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
3720         (LANG_HOOKS_INITIALIZER): Use it.
3721         * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
3722         field.
3724 2002-08-21  Stan Shebs  <shebs@apple.com>
3726         * tree.c (finish_vector_type): Fix a typo in a comment.
3727         * Makefile.in: Fix "the the" stutters in comments.
3728         * genautomata.c: Ditto.
3729         * ifcvt.c: Ditto.
3730         * regrename.c: Ditto.
3731         * config/alpha/alpha.c: Ditto.
3732         * config/alpha/vms-crt0-64.c: Ditto.
3733         * config/alpha/vms-crt0.c: Ditto.
3734         * config/alpha/vms-psxcrt0-64.c: Ditto.
3735         * config/alpha/vms-psxcrt0.c: Ditto.
3736         * config/d30v/d30v.h: Ditto.
3737         * config/fr30/fr30.h: Ditto.
3738         * config/rs6000/rs6000.c: Ditto.
3739         * config/stormy16/stormy16.h: Ditto.
3740         * doc/md.texi: Ditto.
3742 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3744         * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
3746 2002-08-21  Joseph S. Myers  <jsm@polyomino.org.uk>
3748         * c-decl.c (grokdeclarator): Make invalid combinations with long,
3749         short, signed or unsigned into hard errors.  Fixes PR c/4319.
3750         Also make duplicate modifiers such as "short short" into hard
3751         errors.
3753 2002-08-21  Andrew Pinski <pinskia@physics.uc.edu>
3754             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3756         * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
3757         to the actual end.  Add '@end table' and '@table @code'.
3759 2002-08-20  Geoffrey Keating  <geoffk@redhat.com>
3761         * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
3763         * unroll.c (biv_total_increment): Don't try to compute the total
3764         increment for FP BIVs.
3766 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3768         * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
3769         * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
3770         ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3771         * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
3772         * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
3773         * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
3774         (GLOBAL_ASM_OP): Define.
3775         * arm.c (aof_globalize_label): New function.
3776         (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
3777         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3778         * c4x.c (c4x_globalize_label): New function.
3779         (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
3780         * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
3781         (GLOBAL_ASM_OP): Define.
3782         * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
3783         * darwin-protos.h (darwin_globalize_label): Declare.
3784         * darwin.c (darwin_globalize_label): New function.
3785         * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
3786         (ASM_GLOBALIZE_LABEL): Delete.
3787         (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
3788         * dsp16xx.c (asm_output_common): Use target hook.
3789         * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
3790         * frv.h (ASM_GLOBALIZE_LABEL): Delete.
3791         (GLOBAL_ASM_OP): Define.
3792         * i370.c (i370_globalize_label): New function.
3793         (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
3794         * i370.h (ASM_GLOBALIZE_LABEL): Delete.
3795         * i386.c (ix86_asm_file_end): Use target hook.
3796         * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
3797         (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
3798         * ia64.c (ia64_asm_output_external): Likewise.
3799         * ia64/sysv4.h: Update comment.
3800         * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3801         * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
3802         * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
3803         * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
3804         * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
3805         * mmix-protos.h (mmix_asm_globalize_label): Delete.
3806         * mmix.c (mmix_asm_globalize_label): Likewise.
3807         * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
3808         (GLOBAL_ASM_OP): Define.
3809         * ns32k.c (ns32k_globalize_label): New function.
3810         * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
3811         (ASM_GLOBALIZE_LABEL): Delete.
3812         * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
3813         (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
3814         * pa.c (pa_globalize_label): New function.
3815         * pa.h (ASM_GLOBALIZE_LABEL): Delete.
3816         (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
3817         * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
3818         (GLOBAL_ASM_OP): Define.
3819         (TARGET_ASM_GLOBALIZE_LABEL): Undef.
3820         * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3821         * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
3822         (GLOBAL_ASM_OP): Define.
3823         * v850.c (v850_output_aligned_bss): Use target hook.
3824         * vax.c (vms_globalize_label): New function.
3825         (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
3826         * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
3827         (GLOBAL_ASM_OP): Define.
3828         * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
3829         * doc/tm.texi: Update docs.
3830         * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
3831         target hook.
3832         * final.c (output_alternate_entry_point): Likewise.
3833         * hooks.c (hook_FILEptr_constcharptr_void): New function.
3834         * hooks.h (hook_FILEptr_constcharptr_void): Declare.
3835         * output.h (assemble_global): Delete.
3836         (default_globalize_label): Declare.
3837         * system.h (ASM_GLOBALIZE_LABEL): Poison.
3838         * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
3839         (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
3840         * target.h (gcc_target): Add globalize_label member.
3841         * varasm.c (asm_output_bss, asm_output_aligned_bss,
3842         globalize_decl): Use target hook.
3843         (assemble_global): Delete.
3844         (default_globalize_label): New function.
3846 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3848         * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
3850 2002-08-20  Devang Patel  <dpatel@apple.com>
3851         * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
3853 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3855         * arc.c (output_shift): Use stdio instead of asm_fprintf.
3856         * arm.c (thumb_output_function_prologue): Likewise.
3857         * avr.c (print_operand): Likewise.
3858         * c4x.c (c4x_print_operand): Likewise.
3859         * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
3860         ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
3861         * cris.c (cris_target_asm_function_prologue,
3862         cris_asm_output_mi_thunk): Likewise.
3863         * h8300.c (print_operand): Likewise.
3864         * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3865         * ip2k.c (print_operand): Likewise.  Fix format specifier.
3866         * m68hc11.c (asm_print_register, print_operand,
3867         print_operand_address): Use stdio instead of asm_fprintf.
3868         (print_operand_address): Fix format specifier.
3869         * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
3870         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
3871         asm_fprintf.
3872         * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3873         * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3874         * m68k.c (m68k_output_function_prologue,
3875         m68k_output_function_epilogue, print_operand): Likewise.
3876         * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
3877         Likewise.  Fix format specifier.
3878         * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3879         * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3880         * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3882 2002-08-15  Eric Christopher  <echristo@redhat.com>
3883             Jeff Knaggs  <jknaggs@redhat.com>
3885         * config.gcc (mipsisa64sr71k-elf): New target.
3886         * config/mips/sr71k.md: New file.
3887         * config/mips/mips.md: Use it.
3888         (rot*): Add sr71k specifics.
3889         * config/mips/t-sr71k: New file.
3890         * config/mips/mips.h (sr71k): New cpu.
3891         (TARGET_SR71K): Use it.
3892         (TUNE_SR71K): Ditto.
3893         (GENERATE_BRANCHLIKELY): Ditto.
3894         (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
3895         ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
3896         * config/mips/mips.c (sr71k): New cpu.
3897         (mips_use_dfa_pipeline_interface): Use.
3899 2002-08-15  Eric Christopher  <echristo@redhat.com>
3900             Richard Sandiford <rsandifo@redhat.com>
3901             Aldy Hernandez  <aldyh@redhat.com>
3902             Graham Stott    <grahams@redhat.com>
3903             Michael Meissner  <meissner@redhat.com>
3904             Gavin Romig-Koch  <gavin@redhat.com>
3905             Ken Raeburn  <raeburn@cygnus.com>
3906             Alexandre Oliva <aoliva@redhat.com>
3908         * config.gcc (mips64vr-elf): New target.
3909         * config/mips/5400.md: New file.
3910         * config/mips/5500.md: Ditto.
3911         * config/mips/mips.md: Use them.
3912         (frsqrt): New.
3913         * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
3914         cpus.
3915         (mips_issue_rate): Use them.
3916         (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
3917         (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
3918         * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
3919         cpus.
3920         (TARGET_MIPSx): Use them.
3921         (TUNE_MIPSx): Ditto.
3922         (GETNATE_MULT3_SI): Ditto.
3923         (ISA_HAS_BRANCHLIKELY): Ditto.
3924         (ISA_HAS_CONDMOVE): Ditto.
3925         (ISA_HAS_NMADD_NMSUB): Ditto.
3926         (ISA_HAS_MULHI): New. Ditto.
3927         (ISA_HAS_MULS): Ditto.
3928         (ISA_HAS_MSAC): Ditto.
3929         (ISA_HAS_MACC): Ditto.
3930         (ISA_HAS_ROTR_SI): Ditto.
3931         (ISA_HAS_ROTR_DI): Ditto.
3932         (RTX_COSTS): Use.
3934 2002-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3936         * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
3937         at head.
3938         (remove_dup_nonsys_dirs): New function.
3939         (remove_dup_dirs): Change argument head to head_ptr.  Remove warnings.
3940         (merge_include_chains): Remove non-system include directories from
3941         quote and bracket include chains when they duplicate equivalent system
3942         directories.
3943         * doc/cpp.texi (-I): Update.
3944         * doc/cppopts.texi (-I): Update.
3945         * doc/install.texi (--with-local-prefix): Further document usage of
3946         this option.
3947         * doc/invoke.texi (-I): Update.
3949 2002-08-20  Richard Henderson  <rth@redhat.com>
3951         * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
3952         (emit_block_move): Split out subroutines.
3953         (emit_block_move_via_movstr): New.
3954         (emit_block_move_via_libcall): New.  Emit bcopy via normal call also.
3955         (emit_block_move_libcall_fn): New.  Construct function prototype for
3956         bcopy as well.
3957         (clear_storage): Split out subroutines.
3958         (clear_storage_via_clrstr): New.
3959         (clear_storage_via_libcall): New. Emit bzero as a normal call also.
3960         (clear_storage_libcall_fn): New.  Construct function prototype for
3961         bzero as well.
3962         (emit_push_insn): Use emit_block_move.
3963         (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
3964         (store_constructor): Likewise.
3966 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
3968         * objc/objc-act.c (building_objc_message_expr): Rename to
3969         current_objc_message_selector.
3971 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
3973         * objc/objc-act.c (build_ivar_chain): Remove.
3974         (objc_copy_list): Likewise.
3975         (get_class_ivars): Inline call to removed build_ivar_chain
3976         function.  Save off a clean copy of ivars in the CLASS_OWN_IVARS
3977         slot; use that slot (rather than CLASS_IVARS) when accessing
3978         ivars for base classes.  Call copy_list and chainon instead of
3979         objc_copy_list.
3980         (build_private_template): Call get_class_ivars instead of
3981         build_ivar_chain.
3982         (start_class): Allocate room for the CLASS_OWN_IVARS slot.
3983         (continue_class): Call get_class_ivars instead of
3984         build_ivar_chain.
3985         (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
3986         of DECL_BIT_FIELD (which may have been cleared).
3987         * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
3989 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3991         * genautomata.c (output_translate_vect, output_state_ainsn_table,
3992         output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
3993         in output file.
3994         (output_internal_min_issue_delay_func): Initialize variable in
3995         output file.
3997 2002-08-19  Alexandre Oliva  <aoliva@redhat.com>
3999         * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
4000         (stage2_build, stage3_build, stage4_build): Likewise, to CC.
4002 2002-08-19  Geoffrey Keating  <geoffk@redhat.com>
4003             Steve Ellcey  <sje@cup.hp.com>
4005         * machmode.h (SCALAR_INT_MODE_P): New macro to test for
4006         scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
4007         * explow.c (trunc_int_for_mode): Abort when the mode is not
4008         a scaler integer mode.
4009         * combine.c (expand_compound_operation): Don't expand Vector
4010         or Complex modes into shifts.
4011         (expand_field_assignment): Don't do bitwise arithmatic and
4012         shifts on Vector or Complex modes.
4013         (simplify_comparison): Don't call trunc_int_for_mode
4014         for VOIDmode.
4015         * recog.c (general_operand): Likewise.
4016         (immediate_operand): Likewise.
4017         (nonmemory_operand): Likewise.
4019 2002-08-19  David Edelsohn  <edelsohn@gnu.org>
4021         * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
4022         multi-instruction SImode constant.  Add REG_EQUAL note.
4023         * config/rs6000/rs6000.md (movsi splitter): Use
4024         rs6000_emit_set_const.
4026 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4028         * tree-inline.c (initialize_inlined_parameters): Wrap variable in
4029         the macro test controlling its use.
4031 2002-08-18  H.J. Lu  (hjl@gnu.org)
4033         * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
4034         crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
4035         gnu_ld=yes.
4036         (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
4037         i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
4038         s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
4039         xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
4040         here.
4041         (cris-*-linux*): Remove setting thread_file here.
4043 2002-08-18  Neil Booth  <neil@daikokuya.co.uk>
4045         PR preprocessor/7602
4046         * cppinit.c (path_include): Treat the system environment
4047         variables as being cxx_aware.
4049 2002-08-17  Joseph S. Myers  <jsm@polyomino.org.uk>
4051         * c-decl.c (flexible_array_type_p): New function.
4052         (grokdeclarator, finish_struct): Use it.
4053         * doc/extend.texi: Document constraints on use of structures with
4054         flexible array members.
4056 2002-08-17  Richard Sandiford  <rsandifo@redhat.com>
4058         * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
4059         config/mips/t-r3900 (MULTILIB_MATCHES): Define.
4060         * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
4062 2002-08-16  Stan Shebs  <shebs@apple.com>
4064         * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
4065         for ObjC with -fnext-runtime.
4066         * doc/cpp.texi: Document it.
4068 2002-08-16  Janis Johnson  <janis187@us.ibm.com>
4070         * doc/install.texi (Final installation): Replace links to individual
4071         build status pages with a link to a common page that lists them all.
4073 2002-08-16  Sylvain Pion <pion@cs.nyu.edu>
4075         * doc/invoke.texi: Fix typo.
4077 2002-08-16  David Edelsohn  <edelsohn@gnu.org>
4079         * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
4081 2002-08-16  Andrew Haley  <aph@redhat.com>
4083         * tree-inline.c: Add includes for Java inliner.
4084         (remap_decl): Don't handle anonymous types for Java.
4085         (remap_block): Add handling for Java trees.
4086         (copy_scope_stmt): Conditionalize for non-Java use only.
4087         (copy_body_r): Handle Java trees.  Add handling for
4088         LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
4089         (initialize_inlined_parameters):  Handle Java trees.
4090         (declare_return_variable): Likewise.
4091         (expand_call_inline): Handle Java trees.
4092         (walk_tree): Likewise.
4093         (copy_tree_r): Don't handle SCOPE_STMTs for Java.
4094         (add_stmt_to_compound): New function.
4096 2002-08-15  Richard Henderson  <rth@redhat.com>
4098         * Makefile.in (LOOSE_WARN): Remove -fno-common.
4099         (NOCOMMON_FLAG): New substitution point.
4100         (GCC_WARN_CFLAGS): Include it.
4101         * configure.in (ac_checking): Set nocommon_flag.
4102         (nocommon_flag): New substitution point.
4104 2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
4106         * c-tree.h (skip_evaluation): Move declaration...
4107         * c-common.h: ... here.
4108         * c-typeck.c (build_external_ref): Don't assemble_external nor
4109         mark a tree as used if skip_evaluation is set.
4110         * c-parse.in (typeof): New non-terminal to set skip_evaluation
4111         around TYPEOF.
4112         (typespec_nonreserved_nonattr): Use it.
4114 2002-08-15  Douglas B Rupp  <rupp@gnat.com>
4116         * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
4117         (xcoff_debug_hooks): Update end_prologue.
4118         * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
4119         * debug.h (end_prologue): Add file arg.
4120         (end_epilogue): Add line and file args.
4121         (dwarf2out_end_epilogue): Add line and file args.
4122         (vmsdbgout_after_prologue): Remove.
4123         * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
4124         (dwarf2_debug_hooks): Update end_prologue.
4125         * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
4126         (dwarfout_end_prologue): Add file arg.
4127         * final.c (vmsdbgout_after_prologue): Remove
4128         (final_end_function): Update end_epilogue call.
4129         (final_scan_insn): Update end_prologue call.
4130         * sdbout.c (sdbout_end_epilogue): Add line and file args.
4131         (sdbout_end_prologue): Add file arg.
4132         (sdb_debug_hooks): Update end_prologue.
4133         (sdb_begin_prologue): Update sdbout_end_prologue call.
4134         * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
4135         vmsdbgout_end_function.
4136         (vmsdbgout_end_prologue): New function renamed from
4137         vmsdbgout_after_prologue. Call vmsdbgout_source_line.
4138         (vmsdbgout_end_function): New function.
4139         (vmsdbgout_end_epilogue): Add line and file args. Call
4140         vmsdbgout_source_line.
4141         (write_pclines): Write only valid line numbers.
4142         (write_srccorr): Don't write source correlation records if 0 lines.
4143         * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
4145 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
4147         * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
4148         (_Unwind_Internal_Ptr): 32 bit version for use in
4149         read_encoded_value_with_base.
4150         * gcc/unwind-pe.h (read_encoded_value_with_base): Use
4151         _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
4152         right size.
4154 2002-08-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4156         * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
4157         signed/unsigned warnings.
4159         * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
4160         record_reg_classes): Likewise.
4162         * reload.c (reload_inner_reg_of_subreg, push_reload,
4163         find_reloads_address_1): Likewise.
4165 2002-08-15  David Edelsohn  <edelsohn@gnu.org>
4167         * rs6000.c (output_mi_thunk): Return to function section on
4168         TARGET_ELF.
4170         * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
4172 2002-08-15  Ulrich Weigand  <uweigand@de.ibm.com>
4174         * config/s390/s390.c (legitimize_address): Optimize loading
4175         of large displacements.
4177 2002-08-14  Douglas B Rupp  <rupp@gnat.com>
4179         * config/alpha/alpha-protos.h: Update.
4181         * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
4182         (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
4183         (alpha_linkage_symbol_p): New static function.
4184         (print_operand_address): Print linkage operand.
4186         (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
4187         variables.
4188         (reloc_kind): New enum.
4189         (struct alpha_funcs): New struct.
4190         (struct alpha_links): Add reloc_kind field. Rename links_kind field.
4192         (alpha_need_linkage): Rewrite.
4193         (alpha_use_linkage): New global function.
4194         (alpha_write_linkage): Rewrite and make static.
4195         (alpha_write_one_linkage): Rewrite
4197         (alpha_start_function): Remove procedure descriptor output.
4198         (alpha_end_function): Write linkages at end of each function.
4200         * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
4201         (call_vms_1, call_value_vms_1): Rewrite.
4203         * config/alpha/vms.h (ASM_FILE_END): Remove.
4205 2002-08-14  Richard Henderson  <rth@redhat.com>
4207         * ggc-page.c (RTL_SIZE): New.
4208         (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
4209         * rtl.def (BARRIER, NOTE): Pad to 9 slots.
4211 2002-08-14  Richard Henderson  <rth@redhat.com>
4213         * calls.c: Include target.h.
4214         * Makefile.in (calls.o): Update.
4216         * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
4217         * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
4219 2002-08-14  Richard Henderson  <rth@redhat.com>
4221         * Makefile.in (LOOSE_WARN): Add -fno-common.
4222         * c-common.h (constant_string_class_name): Add missing extern.
4224 2002-08-15  Neil Booth  <neil@daikokuya.co.uk>
4226         PR preprocessor/7358
4227         * c-opts.c (check_deps_environment_vars): Ignore main file
4228         for SUNPRO_DEPENDENCIES.
4229         * cppfiles.c (stack_include_file): Ignore main file if
4230         appropriate.
4231         * cpplib.h (struct cpp_options): New member in deps.
4232         * doc/cppenv.texi: Update.
4234 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
4236         PR preprocessor/7526
4237         * cpplib.c (run_directive): Kludge so _Pragma dependency works.
4239 2002-08-14  Nathan Sidwell  <nathan@codesourcery.com>
4241         * doc/invoke.texi (-a): Remove documentation.
4242         (-fprofile-arcs): Remove reference to -a, -ax options.
4243         * doc/gcov.texi (Gcov Data Files): Data might be merged.
4245 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
4247         Fix PR/7566
4248         * c-semantics.c (genrtl_case_label): Don't (mis)use
4249         warning_with_decl.
4251 2002-08-14  Dale Johannesen  <dalej@apple.com>
4253         * explow.c (emit_stack_restore):  Emit memory clobbers
4254         preceding the stack pop, to prevent the scheduler from
4255         moving refs to variable arrays below this pop.
4256         * reload1.c (reload):  Preserve these clobbers for sched2.
4257         * doc/rtl.texi:  Document clobber (mem:BLK (scratch)).
4259 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
4261         * c-opts.c (c_common_post_options): Correct test.
4263 2002-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4265         * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
4266         order in call to fprintf.
4268 2002-08-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4270         * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
4272 2002-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
4274         * reload.c (find_reloads): Handle constraint letters marked by
4275         EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
4276         (alternative_allows_memconst): Likewise.
4277         * reload1.c (maybe_fix_stack_asms): Likewise.
4278         * recog.c (asm_operand_ok, preprocess_constraints,
4279         constrain_operands): Likewise.
4280         * regclass.c (record_operand_costs, record_reg_classes): Likewise.
4281         * local-alloc.c (block_alloc, requires_inout): Likewise.
4282         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
4284         * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
4285         (EXTRA_ADDRESS_CONSTRAINT): Likewise.
4286         * doc/tm.texi: Document these two new target macros.
4288         * config/s390/s390.c (s390_expand_plus_operand): Accept already
4289         valid operands.
4290         (q_constraint): New function.
4291         config/s390/s390-protos.h (q_constraint): Declare it.
4292         config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
4293         (EXTRA_MEMORY_CONSTRAINT): New macro.
4295         * config/s390/s390.md: Throughout the machine description,
4296         replace all instances of the constraint combinations 'Qo'
4297         or 'oQ' with simply 'Q'.
4299 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
4301         * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
4302         * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
4303         (LIBGCC2_CFLAGS): Compile with -mrelax.
4305 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
4307         * doc/invoke.texi: Document -minmax for 68HC12.
4309         * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
4310         ("uminqi3"): Likewise.
4311         ("uminhi3", "umaxhi3"): Likewise.
4313         * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
4314         (TARGET_MIN_MAX): Define.
4315         (TARGET_SWITCHES): New option -minmax/-mnominmax.
4317 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
4319         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
4320         (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
4322         * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
4323         (ret, declare, farsym): New gas macros.
4324         (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
4325         ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
4326         and declare the symbol far when compiled with -mlong-calls.
4327         (__far_trampoline): New for 68HC12 trampoline code to invoke a
4328         far handler using jsr/bsr.
4330         * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
4331         (jsr): New macro to transform a 'jsr' into a 'call'.
4333 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
4335         * doc/invoke.texi: Document -mlong-calls for 68HC12.
4337         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
4338         -mlong-calls is specified.
4339         (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
4340         assembler directives.
4341         (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
4342         (TARGET_SWITCHES): Add -mlong-calls options.
4343         (current_function_far): Declare.
4345         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
4346         into account the page register saved on the stack.
4347         (m68hc11_override_options): Take into account -mlong-calls option.
4348         (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
4350         * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
4351         if the function is going to be in 68HC12 banked memory (-mlong-calls).
4352         ("*return_16bit"): Likewise.
4353         ("*return_void"): Likewise.
4354         ("call", "call_value"): Use call for a far function call.
4356 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
4358         * toplev.c (parse_options_and_default_flags): Don't call
4359         post_options here.
4360         (general_init): Initialize GC, pools and tree hash here,
4361         instead of lang_independent_init.
4362         (lang_independent_init): Rename backend_init.
4363         (do_compile): Call post_options hook; exit early if there
4364         have been errors after switch processing.
4365         (toplev_main): Update.
4367 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
4369         * c-pretty-print.h: Guard against multiple inclusion.
4370         Robustify macros.
4371         (pp_c_attributes): Declare.
4372         * c-pretty-print.c (pp_c_attributes): New function.
4374 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4376         * m68k.c (m68k_output_function_prologue,
4377         m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
4378         and NEWS/MOTOROLA.
4379         * genattrtab.c: Remove dpx2 comment.
4380         * libgcc2.c (__enable_execute_stack): Delete versions for
4381         NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
4382         sony_news/SYSTYPE_BSD.
4383         * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
4384         __gmicro__, __i860__, __NeXT__ and __pyr__.
4385         * rtl.h: Remove convex comment.
4386         * varasm.c: Likewise.
4388 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4390         * c-opts.c (lang_flags): Const-ify.
4391         * ra-build.c (undef_table): Likewise.
4392         * ra.c (eliminables): Likewise.
4394 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
4396         * tree.h: Guard against multiple inclusion.
4398 2002-08-14  Hans-Peter Nilsson  <hp@bitrange.com>
4400         * reload1.c (reload_cse_simplify): Before checking
4401         REG_FUNCTION_VALUE_P, check REG_P.
4403 2002-08-13  Geoffrey Keating  <geoffk@redhat.com>
4405         * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
4407 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
4409         * c-opts.c (c_common_init_options): Extra braces needed.
4411 Tue Aug 13 17:40:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
4413         * sh.c (sh_init_builtins): Add PARAMS to declaration.
4414         (sh_media_init_builtins, sh_expand_builtin): Likewise.
4415         (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
4416         (sh_expand_binop_v2sf): Likewise.
4417         * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
4418         (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
4419         (sh_initialize_trampoline): Likewise.
4421 2002-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
4423         * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
4424         new condition code modes.
4425         s390.c (s390_match_ccmode_set): Handle those new CC modes.
4426         (s390_select_ccmode): Likewise.
4427         (s390_branch_condition_mask): Likewise.
4429         * s390-protos.h (s390_tm_ccmode): Declare.
4430         s390.c (s390_tm_ccmode): New function.
4431         (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
4433         * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
4434         ("*cmpsi_tm2"): Rename to "*tmsi_ext".
4435         ("*cmpqi_tm2"): Rename to "*tmqi_ext".
4437         ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
4438         "*cmphi_tm_sub","*cmphi_cct_0",  "*cmpqi_tm", "*cmpqi_tm_sub",
4439         "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
4440         ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
4441         "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
4443         ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
4444         "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
4445         "*cmpqi_ccs_0"): Remove, replace by ...
4446         ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
4447         "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
4448         "*tstqi", "*tstqi_cconly"): ... these new patterns.
4450         ("*cmpsidi_ccs"): Remove, replace by ...
4451         ("*cmpsi_ccs_sign"): ... this new pattern.
4452         ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
4454         ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
4455         ("*cli"): ... this new pattern.
4457         ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
4458         "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
4459         New patterns.
4460         ("adddi3_64"): Rename to "*adddi3_64".
4461         ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
4462         ("adddi3"): Adapt expander.
4464         ("*addsi3_cc"): Allow "general_operand" for operand 2.
4465         ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
4466         "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
4468         ("addhi3", "addqi3"): Remove, replace by ...
4469         ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
4471         ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
4472         "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
4473         ("subdi3"): Replace by insn and splitter "*subdi3_31".
4474         ("subdi3"): New expander.
4476         ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
4478         ("subhi3", "subqi3"): Remove, replace by ...
4479         ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
4481         ("*muldi3_sign"): New pattern.
4482         ("muldi3"): Do not clobber CC.
4483         ("mulsi3"): Likewise.
4484         ("mulsi_6432"): Likewise.
4486 2002-08-13  Denis Chertykov  <denisc@overta.ru>
4488         * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
4489         which can change CC0.
4491 Tue Aug 13 14:49:20 2002  J"orn Rennecke <joern.rennecke@superh.com>
4493         * gcse.c (adjust_libcall_notes): New function.
4494         (do_local_cprop): Use it.  Add fourth parameter.  Changed caller.
4496 2002-08-13  Nathan Sidwell  <nathan@codesourcery.com>
4498         * libgcc2.c (L_bb): Remove unneeded #includes.
4499         (__global_counters, __gthreads_active): Remove unused globals.
4500         (__bb_exit_func): Merge counts into files rather than appending.
4501         * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
4502         (ALL_CFLAGS): ... to here.
4504 2002-08-13  Denis Chertykov  <denisc@overta.ru>
4506         * config/ip2k/ip2k.c (commands_in_file): Variable removed.
4507         (function_epilogue): Don't calculate function size.
4508         (ip2k_set_compare): Don't use lookup_const_double.
4509         (asm_file_start): Initialization of commands_in_file removed.
4510         (asm_file_end): Output of commands_in_file removed.
4512         * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
4513         __INT_MAX__.
4515 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
4517         * c-opts.c (c_common_init_options): Check option array is
4518         sorted if checking enabled.
4520 2002-08-13  Gabriel Dos Reis  <gdr@nerim.net>
4522         * c-pretty-print.c: #include "c-tree.h".
4523         (pp_c_simple_type_specifier): Tweak.
4524         (pp_c_storage_class_specifier): New.
4525         (pp_c_function_specifier): Likewise.
4526         (pp_c_declaration_specifiers): Likewise.
4527         (pp_c_init_declarator): Likewise.
4528         (pp_c_declaration): Likewise.
4529         (pp_c_direct_declarator): Stub.
4530         (pp_c_declarator): Likewise.
4531         (pp_c_parameter_declaration): Likewise.
4533 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
4535         * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
4536         handle_deferred_opts, sanitize_cpp_opts, defer_opt,
4537         struct deferred_opt): New.
4538         (COMMAND_LINE_OPTIONS): Add -M*.
4539         (missing_arg): Update.
4540         (c_common_decode_option): Handle -M*.
4541         (c_common_post_options): Handle -M*.  Use sanitize_cpp_opts;
4542         don't call cpp_post_options.
4543         (c_common_finish, check_deps_environment_vars): Update.
4544         * cppfiles.c (stack_include_file, handle_missing_header): Update.
4545         * cpphash.h (CPP_PRINT_DEPS): Remove.
4546         * cppinit.c: Don't include version.h.
4547         (cpp_create_reader): Don't call deps_init.  Initialize
4548         warn_long_long.
4549         (cpp_read_main_file): Init deps if necessary.
4550         (cpp_destroy): Conditionally free deps.
4551         (cpp_finish): Update.
4552         (no_tgt): Remove.
4553         (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
4554         (cpp_post_options): Rename post_options.
4555         * cpplib.h (struct cpp_options): Remove some dependency options;
4556         move others to a new structure.
4557         (cpp_post_options): Remove.
4558         (cpp_finish): Comment.
4559         * fix-header.c (read_scan_file): Don't call cpp_post_options.
4561 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
4563         * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
4564         ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
4565         MMIX_rR_REGNUM as clobbered.
4566         * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
4568 2002-08-12  Gabriel Dos Reis  <gdr@nerim.net>
4570         * diagnostic.h (output_formatted_scalar): Rename from
4571         output_formatted_integer.
4572         * diagnostic.def: Add DK_DEBUG.
4573         * diagnostic.c (output_decimal): Adjust.
4574         (output_long_decimal): Likewise.
4575         (output_unsigned_decimal): Likewise.
4576         (output_octal): Likewise.
4577         (output_long_octal): Likewise.
4578         (output_hexadecimal): Likewise.
4579         (output_long_hexadecimal): Likewise.
4580         * c-pretty-print.c (pp_c_type_specifier): New function.
4581         (pp_c_specifier_qualifier_list): Likewise.
4582         (pp_c_abstract_declarator): Likewise.
4583         (pp_c_char): Replace pp_format_integer with pp_format_scalar.
4585 2002-08-12  David Edelsohn  <edelsohn@gnu.org>
4587         * doc/trouble.texi (Disappointments): Add static constructor and
4588         destructor dependency information for AIX.
4590 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
4592         * cpphash.h (struct printer): New from cppmain.c.
4593         (cpp_reader): New member.
4594         * cppmain.c (struct printer): Move to cpphash.h.
4595         (options, print): Remove.
4596         (account_for_newlines, print_line, maybe_print_line,
4597         cpp_preprocess_file, setup_callbacks, scan_translation_unit,
4598         scan_translation_unit_trad, cb_line_change, cb_ident,
4599         cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
4600         cb_def_pragma): Make reentrant.
4602 2002-08-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4604         * real.c (ieee_64): Always define.
4605         (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
4606         (dec_h): Not used yet, hide it.
4607         (emdnorm): Mark parameter in ATTRIBUTE_UNUSED.  Guard label with
4608         macro controlling use.
4609         (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
4611 Mon Aug 12 12:48:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
4613         * i386.md (tablejump): Sign extend the operand.
4614         * i386.c (classify_argument): Fix missed case from previous patch.
4616 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
4618         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
4619         to c-copts.c.
4620         (warn_multichar): Die.
4621         (cb_register_builtins): Export.
4622         * c-common.h (warn_multichar, preprocess_file): Remove.
4623         (cb_register_builtins): New.
4624         * c-lang.c (c_init): Remove.
4625         (LANG_HOOKS_INIT): Use c_objc_common_init.
4626         * c-lex.c (init_c_lex): Don't canonicalize filename.
4627         * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
4628         (preprocess_file): Make static.  Update for cpplib.
4629         (c_common_decode_option): Remove warn_multichar.  Use in_fname.
4630         (c_common_post_options): Set some cpp options here.
4631         (c_common_init): Move from c-common.c.
4632         * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
4633         * cpplib.h (struct cpp_options): Remove in_fname.
4634         (cpp_preprocess_file): Update.
4635         * cppmain.c (cpp_preprocess_file): Update for new prototypes.
4637 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4639         * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
4641 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4643         * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
4644         backslash in comment preceeding macro definition.
4645         * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
4646         * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
4647         * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
4649 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
4651         * expr.c (store_expr): In condition for checking if value is
4652         generated in TARGET, move call to expr_size last.
4654 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
4656         * c-common.c (c_common_init): Call preprocess_file instead.
4657         (c_common_finish): Move to c-opts.c.
4658         * c-common.h (preprocess_file): new.
4659         * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
4660         check_deps_environment_vars, c_common_finish): New.
4661         (c_common_decode_option): Update for out_fname and dependencies.
4662         * cppinit.c (init_dependency_output, output_deps): Remove.
4663         (cpp_destroy): Update prototype.
4664         (cpp_add_dependency_target): New.
4665         (cpp_read_main_file): Don't overlay a buffer.
4666         (cpp_finish): Take a deps output stream and write deps to it.
4667         Return the error count.
4668         (cpp_post_options): Don't canonicalize out_fname, or do anything
4669         with dependencies.
4670         * cpplib.h (struct cpp_options): Remove out_fname and
4671         preprocess_only.
4672         (cpp_add_dependency_target): New.
4673         (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
4674         * cppmain.c (cpp_preprocess_file): Update prototype.  Don't
4675         set preprocess_only.  Don't handle the output stream directly.
4677 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4679         * dsp16xx.c (print_operand): Fix format specifier.
4680         * dsp16xx.md: Avoid automatic aggregate initialization.
4681         * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
4682         * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
4683         integer constant modifier.
4684         * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
4685         * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
4686         guards.
4687         * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
4688         * v850.c (v850_select_section): Mark parameter with
4689         ATTRIBUTE_UNUSED.
4690         * global.c (global_alloc): Const-ify.
4691         * ra-colorize.c (hardregset_to_string): Fix format specifier.
4693 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4695         * darwin-c.c (darwin_pragma_options): Const-ify.
4696         * darwin.c (machopic_non_lazy_ptr_name,
4697         machopic_validate_stub_or_non_lazy_ptr): Likewise.
4698         (machopic_indirect_data_reference): Wrap variables in macros
4699         controlling their use.
4700         (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
4701         (machopic_select_section): Use parentheses around && within ||.
4702         * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
4704 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4706         * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
4707         mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
4708         ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
4709         ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
4710         mdr_try_remove_redundant_insns, track_w_reload,
4711         mdr_try_wreg_elim): Make function static to match prototype.
4712         * mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
4713         parameter with ATTRIBUTE_UNUSED.
4715 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4717         * arc.c (arc_init): Don't use ISO C style function definitions.
4718         * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
4719         arm_get_strip_length, arm_strip_name_encoding): Likewise.
4720         * avr.h (progmem_section): Likewise.
4721         * h8300.c h8300_asm_insn_count): Likewise.
4722         * m32r.c (init_idents): Likewise.
4723         * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
4724         * sh.c (sh_cfun_interrupt_handler_p): Likewise.
4725         * xtensa.c (xtensa_build_va_list): Likewise.
4727 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
4729         * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
4730         * c-opts.c (parse_option): Rename find_opt.
4731         (set_std_c99): New function.
4732         (COMMAND_LINE_OPTIONS): Handle -remap and -o.  Remove OPT_std_bad.
4733         (missing_arg): Remove OPT_std_bad.  Handle -o.
4734         (c_common_decode_option): Handle input and output file names,
4735         -o and -remap.  Clean up -std= handling.
4736         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
4737         (cpp_handle_option): Similarly.  Don't handle filenames.
4739 Sun Aug 11 14:43:17 CEST 2002  Jan Hubicka  <jh@suse.cz>
4741         * i386.c (classify_argument): Fix computing of field's offsets.
4743 2002-08-11  Andreas Jaeger  <aj@suse.de>
4745         PR target/7531:
4746         * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
4748 2002-08-10  Ziemowit Laski  <zlaski@apple.com>
4750         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
4751         reference to clk_objective_c with flag_objc.
4752         * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
4753         Likewise.
4754         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
4756 2002-08-10  Neil Booth  <neil@daikokuya.co.uk>
4758         * c-opts.c (set_std_cxx98, set_std_c89): New.
4759         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
4760         (c_common_decode_option): Handle new switches from cppinit.c.
4761         Add -std=gnu++98.
4762         * cppinit.c (set_lang): Rename cpp_set_lang.  Export.
4763         (no_arg, no_num): Remove.
4764         (COMMAND_LINE_OPTIONS): Move more to c-opts.c.  Drop all lang-
4765         switches apart from -lang-objc and lang-asm.
4766         (cpp_handle_option): Similarly.
4767         * cpplib.h (cpp_set_lang): New.
4768         * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
4769         -std=gnu++98.
4770         * objc/lang-specs.h: Remove -ansi.
4772 Sat Aug 10 19:59:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
4773                                Graham Stott
4775         * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
4776         errors.
4778 2002-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4780         * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
4781         emit_jump_insn): Fix uninitialized variable.
4782         * gcov.c (init_line_info): Likewise.
4783         * genautomata.c (transform_3): Add braces around ambiguous
4784         else.
4785         * ifcvt.c (cond_exec_process_insns): Mark parameter with
4786         ATTRIBUTE_UNUSED.
4787         * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
4788         * regrename.c (copyprop_hardreg_forward): Fix uninitialized
4789         variable.
4791         * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
4792         warnings in output files.
4794 2002-08-09  Ziemowit Laski  <zlaski@apple.com>
4796         * c-common.c (flag_objc): New.
4797         * c-common.h (c_language_kind): Get rid of clk_objective_c
4798         enum value.
4799         (flag_objc): New extern declaration.
4800         * c-decl.c (implicitly_declare): Call objc_check_decl
4801         instead of maybe_objc_check_decl.
4802         (finish_decl): Likewise.
4803         (grokfield): Likewise.
4804         (finish_struct): Likewise.
4805         * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
4806         (maybe_objc_comptypes): Rename to objc_comptypes.
4807         (maybe_building_objc_message_expr): Rename to
4808         objc_message_selector.
4809         * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
4810         replace with flag_objc as needed.
4811         * c-opts.c (c_common_init_options): Likewise.
4812         (c_common_decode_option): Likewise.
4813         * c-parse.in (init_reswords): Likewise.
4814         * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
4815         (maybe_objc_comptypes): Rename to objc_comptypes.
4816         (maybe_building_objc_message_expr): Rename to
4817         objc_message_selector.
4818         * c-typeck.c (comptypes): Call objc_comptypes instead of
4819         maybe_objc_comptypes, and/or objc_message_selector instead of
4820         maybe_building_objc_message_expr.
4821         (comp_target_types): Likewise.
4822         (convert_for_assignment): Likewise.
4823         (warn_for_assignment): Likewise.
4824         * cppinit.c (init_builtins): Set __OBJC__ manifest constant
4825         independently of those for other languages.
4826         * objc/objc-act.c (maybe_objc_comptypes): Delete.
4827         (maybe_objc_check_decl): Delete.
4828         (maybe_building_objc_message_expr): Rename to
4829         objc_message_selector.
4830         * objc/objc-lang.c (objc_init_options): Use clk_c instead of
4831         clk_objective_c; set flag_objc flag.
4833 2002-08-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
4835         * ifcvt.c (find_if_case_2): Test correct basic block for size.
4837 2002-08-09  Dale Johannesen  <dalej@apple.com>
4839         * config/rs6000/rs6000.md: Add sibcall patterns.
4840         * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL):  Define.
4841         * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
4842         Rewritten to handle sibcalls.
4843         * config/rs6000/rs6000.c (function_ok_for_sibcall):  New.
4844         * config/rs6000/rs6000-protos.h (function_ok_for_sibcall):  New.
4846 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
4848         * profile.c (da_file_name): New static var.
4849         (init_branch_prob): Initialize it.
4850         (end_branch_prob): Remove da file.
4852         * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
4853         * configure.in (coverage_flags): Default to nothing.
4854         * configure: Rebuilt.
4856 2002-08-09  Neil Booth  <neil@daikokuya.co.uk>
4858         * Makefile.in (c-opts.o): Update
4859         * c-opts.c: Include intl.h.
4860         (print_help): Move from cppinit.c.  Remove unused options.
4861         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
4862         (missing_arg): Complain for switches without an argument.
4863         (c_common_decode_option): Reject missing joined arguments.
4864         Handle new switches from cppinit.c.
4865         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
4866         (cpp_handle_option): Similarly.
4867         (print_help): Moved to c-opts.c.
4868         * cpplib.h (struct cpp_options): Remove help_only.
4869         * gcc.c (cpp_unique_options): Remove -$.
4870         * doc/cppopts.texi: Undocument -h.
4872 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
4874         * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
4875         legitimate constant.
4876         (legitimate_pic_operand_p): Neither pic operand.
4877         (legitimate_address_p): But legitimate address.
4878         (get_thread_pointer): Generate MEM/u instead of CONST around
4879         UNSPEC_TP.
4880         (print_operand): Remove printing of UNSPEC_TP.
4881         (print_operand_address): And print it here.
4883 2002-08-08  Devang Patel  <dpatel@apple.com>
4885         * objc/objc-act.c (build_selector_translation_table): Issue warning,
4886         when  -Wselector is used,if method for which selector is being
4887         created does not exist.
4889 2002-08-08  Stephen Clarke <stephen.clarke@superh.com>
4891         * config/sh/sh.c (prepare_move_operands): Only call
4892         target_reg_operand if TARGET_SHMEDIA.
4894 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
4896         * config/rs6000/rs6000.h, config/rs6000/aix.h,
4897         config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
4898         two patches.
4899         * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
4901 2002-08-08  Lars Brinkhoff  <lars@nocrew.org>
4902             Richard Henderson  <rth@redhat.com>
4904         * emit-rtl.c (gen_rtx_REG): After reload, only return
4905         frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
4907 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
4909         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
4910         * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
4911         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
4912         macro.
4914 2002-08-08  Adam Nemet  <anemet@lnxw.com>
4916         * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
4917         register.
4918         (thumb_expand_prologue): Likewise.
4919         (thumb_output_function_prologue): Likewise.
4920         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
4921         the additional push of the PIC register.
4923 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
4925         * configure.in (enable_coverage): New enable switch.
4926         * configure: Rebuilt.
4927         * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
4928         (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
4929         (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
4930         (mostlyclean): Remove coverage files.
4931         * doc/install.texi: Document enable_coverage.
4933         * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
4934         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
4935         * f/Make-lang.in (f.mostlyclean): Remove coverage files.
4936         * java/Make-lang.in (java.mostlyclean): Remove coverage files.
4937         * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
4938         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
4939         files.
4941 2002-08-08  Neil Booth  <neil@daikokuya.co.uk>
4943         * c-opts.c (cpp_opts): New.
4944         (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
4945         (c_common_decode_options): Handle cpplib switches.
4946         (c_common_init_options): Set cpp_opts.
4947         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
4948         (cpp_handle_option): Similarly.
4950 2002-08-08  David Edelsohn  <edelsohn@gnu.org>
4952         * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
4953         (TARGET_ALTIVEC_ABI): Same.
4954         (TARGET_ALTIVEC_VRSAVE): Same.
4956         * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
4957         icode not CODE_FOR_nothing.  Change switch to if.
4959 2002-08-08  Alan Modra  <amodra@bigpond.net.au>
4961         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
4963 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
4965         * stor-layout.c (place_union_field): For bitfields if
4966         PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
4967         TYPE_USER_ALIGN.
4969 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4971         * pa.c (struct deferred_plabel): Constify name field.
4973 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
4975         * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
4977 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4979         * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
4980         local_prefix are the same.
4981         * configure: Rebuilt.
4983 2002-08-07  Jakub Jelinek  <jakub@redhat.com>
4984             Richard Henderson  <rth@redhat.com>
4986         * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
4987         to type_align when PCC_BITFIELD_TYPE_MATTERS.  Only apply
4988         ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
4989         (place_field): Likewise.
4990         * config/i386/i386.c (x86_field_alignment): Don't check
4991         DECL_USER_ALIGN here.
4992         * config/rs6000/rs6000.c (rs6000_field_alignment): New.
4993         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
4994         prototype.
4995         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
4996         * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
4997         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
4998         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
4999         * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
5000         * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
5002 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
5004         * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
5005         * c-common.c: Don't include tree-inline.h.
5006         (c_common_init_options, c_common_post_options): Move to c-opts.c.
5007         * c-common.h (c_common_decode_option): New.
5008         * c-decl.c (c_decode_option): Remove.
5009         * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
5010         * c-opts.c: New file.
5011         * c-tree.h (c_decode_option): Remove.
5012         * doc/passes.texi: Update.
5013         * objc/objc-act.c (objc_decode_option): Remove.
5014         * objc/objc-act.h (objc_decode_option): Remove.
5015         * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
5016         c_common_decode_option.
5018 2002-08-07  Chris Demetriou  <cgd@broadcom.com>
5020         * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
5021         dependency on TARGET_DOUBLE_FLOAT.
5023 2002-08-07  Stephen Clarke <stephen.clarke@superh.com>
5025         * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
5026         overwrite callee-save registers.  Fix comment.
5028 2002-08-06  Chris Demetriou  <cgd@broadcom.com>
5030         * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
5031         in target_flags based on ISA, if it was not set on the command
5032         line.  Warn if MASK_BRANCHLIKLEY is set but the ISA does not
5033         support Branch Likely instructions.
5034         * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
5035         (TARGET_BRANCHLIKELY): Likewise.
5036         (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
5037         (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
5038         ISA_HAS_BRANCHLIKELY.
5039         (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
5040         * doc/invoke.texi: Document new MIPS -mbranch-likely and
5041         -mno-branch-likely options.
5043 2002-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5045         * ip2k.c (ip2k_set_compare): Add missing iteration variable.
5047         * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
5048         $(GCONFIG_H).
5050 2002-08-06  Aldy Hernandez  <aldyh@redhat.com>
5052         * c-decl.c (duplicate_decls): Error out for incompatible TLS
5053         declarations.
5055         * testsuite/gcc.dg/tls/diag-3.c: New.
5057 2002-08-06  Dale Johannesen  <dalej@apple.com>
5059         * c-common.c (fname_decl): Use line number 0 for
5060         __func__, to avoid confusing debuggers.
5062 2002-08-06  Nathan Sidwell  <nathan@codesourcery.com>
5064         * gcov.c: Tidy.
5065         (struct line_info, struct coverage): New structures.
5066         (gcov_file_name, gcov_file): Remove globals.
5067         (output_data): Take source file parameter. Fix memory leak. Break
5068         up into ...
5069         (init_line_info, output_line_info, make_gcov_file_name,
5070         accumulate_branch_counts): ... here.
5071         (calculate_branch_probs, function_summary): Adjust.
5072         (main): Adjust.
5073         (function_*): Remove global variables.
5075 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
5077         * dwarf2out.c: Remove unused macros.
5079 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
5081         * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
5083 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
5085         * cppinit.c (struct lang_flags): Rename trigraphs std.
5086         (set_lang): Update.
5087         * cpplib.h (struct cpp_options): New member std.
5088         * cppmacro.c (_cpp_builtin_macro_text): Use std.
5089         (collect_args): Flag whether to swallow a possible future
5090         comma pasted with varargs.
5091         (replace_args): Use this flag.
5092         * doc/cpp.texi: Update varargs extension documentation.
5094 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
5096         * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
5098 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
5100         * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
5101         and MODE_CLASS_INT modes.
5103 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
5105         * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
5106         --{enable,disable}-threads is given to configure.
5107         (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
5108         x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
5109         powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
5110         s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
5111         Remove thread_file setting here.
5113 2002-08-06  David Edelsohn  <edelsohn@gnu.org>
5115         * doc/install.texi (Binaries): Update Bull Freeware URL.
5117 2002-08-06  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5119         * doc/gcc.texi (Top): Rename Index to Keyword Index.
5121 2002-08-05  Nathan Sidwell  <nathan@codesourcery.com>
5123         * gcov.c (output_data): Round to % to nearest, tweak formatting.
5125 2002-08-05  Jakub Jelinek  <jakub@redhat.com>
5127         * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
5128         of the operands into MINUS_EXPR if code is PLUS_EXPR.
5130 2002-08-05  Douglas B Rupp  <rupp@gnat.com>
5132         * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
5133         * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
5134         drectve_section): Define.
5135         * config/i386/t-interix: Replace interix.o rule with winnt.o.
5136         * config/i386/interix.c: Remove.
5138 2002-08-05  Geoffrey Keating  <geoffk@redhat.com>
5140         * attribs.c: Don't include obstack.h.
5141         * builtins.c: Likewise.
5142         * cfganal.c: Likewise.
5143         * cfgbuild.c: Likewise.
5144         * cfgcleanup.c: Likewise.
5145         * emit-rtl.c: Likewise.
5146         * loop.c: Likewise.
5147         * stmt.c: Likewise.
5149         * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
5151 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
5153         * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
5155 2002-08-04  Chris Demetriou  <cgd@broadcom.com>
5157         * doc/invoke.texi: Remove duplicated paragraph describing
5158         TARGET_SWITCHES.
5160 2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
5162         * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
5163         * collect2.h (permanent_obstack): Delete declaration.
5164         * collect2.c (permanent_obstack): Delete definition.
5165         (main): Don't initialize permanent_obstack.  Use xstrdup instead.
5166         * expr.c: Don't include obstack.h.
5167         (permanent_obstack): Delete declaration.
5168         * function.c: Don't include obstack.h.
5169         (permanent_obstack): Delete declaration.
5170         * integrate.c: Don't include obstack.h.
5171         (function_maybepermanent_obstack): Delete declaration.
5172         * print-tree.c (debug_tree): Use x*alloc not permalloc.
5173         * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
5174         * tlink.c (pfgets): Use xstrdup not permanent_obstack.
5175         * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
5176         * tree.h: Rename init_obstacks to init_ttree.  Remove declarations
5177         of permalloc, expralloc, perm_calloc.
5178         * tree.c (permanent_obstack): Delete definition.
5179         (init_ttree): Rename from init_obstacks.
5180         (permalloc): Delete.
5181         (perm_calloc): Delete.
5182         (dump_tree_statistics): Don't print information about
5183         permanent_obstack.
5184         * varasm.c (assemble_start_function): Use xstrdup instead of
5185         permalloc/strcpy.
5186         (assemble_variable): Likewise.
5187         * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
5188         permalloc.
5189         (unicosmk_add_extern): Likewise.
5190         * config/c4x/c4x.c (c4x_external_ref): Likewise.
5191         (c4x_global_label): Likewise.
5192         * config/frv/frv.c (frv_encode_section_info): Likewise.
5193         * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
5194         (i386_pe_record_exported_symbol): Likewise.
5195         * config/mips/mips.c (mips_output_external): Likewise.
5196         (mips_output_external_libcall): Likewise.
5197         * config/pa/pa.c: (permanent_obstack): Delete declaration.
5198         (output_call): Use ggc_strdup instead of allocating on
5199         permanent_obstack.
5200         * config/romp/romp.c: Include ggc.h.
5201         (get_symref): Don't declare permanent_obstack, use ggc_strdup
5202         intead of permanent_obstack.
5203         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
5204         instead of permalloc.
5205         * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
5206         instead of permalloc
5207         * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
5208         instead of permalloc.
5209         * config/vax/vax.c (vms_check_external): Use xmalloc instead of
5210         permalloc.
5212 2002-08-04  Bernd Schmidt  <bernds@redhat.com>
5214         Contribute a port developed primarily by Michael Meissner,
5215         Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
5216         * config.gcc: Add frv-elf target.
5217         * config/frv/cmovd.c: New file.
5218         * config/frv/cmovh.c: New file.
5219         * config/frv/cmovw.c: New file.
5220         * config/frv/frv-abi.h: New file.
5221         * config/frv/frv-asm.h: New file.
5222         * config/frv/frv-modes.def: New file.
5223         * config/frv/frv-protos.h: New file.
5224         * config/frv/frv.c: New file.
5225         * config/frv/frv.h: New file.
5226         * config/frv/frv.md: New file.
5227         * config/frv/frvbegin.c: New file.
5228         * config/frv/frvend.c: New file.
5229         * config/frv/lib1funcs.asm: New file.
5230         * config/frv/media.h: New file.
5231         * config/frv/modi.c: New file.
5232         * config/frv/t-frv: New file.
5233         * config/frv/uitod.c: New file.
5234         * config/frv/uitof.c: New file.
5235         * config/frv/ulltod.c: New file.
5236         * config/frv/ulltof.c: New file.
5237         * config/frv/umodi.c: New file.
5238         * config/frv/xm-frv.h: New file.
5240         * config/frv/media.h: Removed again.
5242 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
5244         * gcov.c (bb_file_time): New static variable.
5245         (object_directory): May also be object file.
5246         (preserve_paths): New static variable.
5247         (print_usage): Adjust.
5248         (options): Adjust.
5249         (process_args): Adjust.
5250         (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
5251         file. Find modification date on bb file.
5252         (read_profile): Don't rewind a NULL file.
5253         (format_hwint): New static function.
5254         (function_summary): Use format_hwint.
5255         (output_data): SOURCE_FILE_NAME is never relative to
5256         OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
5257         mangling. Adjust output format to make it more machine readable.
5258         * doc/gcov.texi: Document & clarify semantics.
5260 2002-08-04  Joseph S. Myers  <jsm@polyomino.org.uk>
5262         * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
5264 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
5266         * gcc.c (cc1_options): Pass output file as auxbase when
5267         appropriate.
5268         * profile.c (init_branch_prob): FILENAME has already had ending
5269         stripped.
5270         * final.c (end_final): Likewise.
5271         * toplev.c (aux_base_name): New global.
5272         (compile_file): Pass aux_base_name to init init_branch_prob and
5273         end_final.
5274         (independent_decode_option, case 'a'): New auxinfo options.
5275         (case 'd'): Protect against mising basename.
5276         (do_compile): Initialize aux_base_name.
5277         * toplev.h (aux_base_name): New global.
5278         * doc/invoke.texi: Adjust documentation.
5280 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
5282         * config/i386/i386.c (x86_field_alignment): Remove duplicate test
5283         of TARGET_ALIGN_DOUBLE.
5285 2002-08-04  Gabriel Dos Reis  <gdr@nerim.net>
5287         * diagnostic.c (inform): New function.
5288         * diagnostic.h (inform): Declare.
5290 2002-08-03  David Edelsohn  <edelsohn@gnu.org>
5292         * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
5293         (movhi_internal): Same.
5294         (movqi_internal): Same.
5295         (movdi_internal64): Same.
5297         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
5299         * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
5300         (ASM_OUTPUT_SKIP): Use it.  SIZE unsigned.
5301         (COMMON_ASM_OP): Define.
5302         (ASM_OUTPUT_ALIGNED_COMMON): Use it.  SIZE unsigned.
5303         Use ALIGN parameter.
5304         (LOCAL_COMMON_ASM_OP): Define.
5305         (ASM_OUTPUT_LOCAL): Use it.  SIZE unsigned.
5307 2002-08-03  Roger Sayle  <roger@eyesopen.com>
5309         * builtins.def: Define new builtin functions exp, expf, expl,
5310         log, logf and logl (and their __builtin_* variants).
5311         * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
5312         Define exp_optab and log_optab.
5313         * optabs.c (init_optans): Initialize exp_optab and log_optab.
5314         * genopinit.c (optabs): Implement exp_optab and log_optab
5315         using exp?f2 and log?f2 patterns.
5316         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
5317         and BUILT_IN_LOG* using exp_optab and log_optab respectively.
5318         (expand_builtin): Ignore the new builtins (and all cos and
5319         sin variants) when not optimizing.  Expand new builtins via
5320         expand_builtin_mathfn when flag_unsafe_math_optimizations.
5322         * doc/extend.texi: Document new exp and log builtins.
5323         * doc/md.texi: Document new exp?f2 and log?f2 patterns
5324         (and previously undocumented cos?f2 and sin?f2 patterns).
5326 2002-08-03  Jason Merrill  <jason@redhat.com>
5328         * explow.c (int_expr_size): New fn.
5329         * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
5330         * expr.h: Declare it.
5332 2002-08-02  Krister Walfridsson  <cato@df.lth.se>
5334         * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
5335         gengtype-* dependencies.
5337 2002-08-02  Eric Christopher  <echristo@redhat.com>
5339         * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
5340         * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
5341         #ifndef to #undef.
5342         (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
5344 2002-08-02  David Edelsohn  <edelsohn@gnu.org>
5346         PR optimize/7067
5347         * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
5348         small if optimizing for size.
5350 2002-08-02  Daniel Jacobowitz  <drow@mvista.com>
5352         * configure.in (FORBUILD): Use $build_alias.
5353         * configure: Regenerated.
5355 2002-08-02  Richard Sandiford  <rsandifo@redhat.com>
5357         * config.gcc: Don't include mips/abi64.h in $tm_file.
5358         * hard-reg-set.h (call_really_used_regs): Declare.
5359         * config/mips/abi64.h: Remove file.
5360         * config/mips/linux.h,
5361         * config/mips/iris6.h: Don't include it.
5362         * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
5363         * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
5364         (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
5365         FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
5366         FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
5367         Bring across definitions from abi64.h.
5368         (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
5369         (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
5370         (struct mips_args): Use it.
5371         * config/mips/mips.c (mips_conditional_register_usage): Define.
5373 2002-08-02  Jason Merrill  <jason@redhat.com>
5375         * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
5376         * langhooks.c (lhd_expr_size): Define default.
5377         * langhooks.h (struct lang_hooks): Add expr_size.
5378         * explow.c (expr_size): Call it.
5379         * expr.c (store_expr): Don't copy an expression of size zero.
5380         (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
5381         to store.
5382         * Makefile.in (builtins.o): Depend on langhooks.h.
5384 2002-08-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5386         * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
5387         * ra-debug.c: Include "tm_p.h".
5388         * ra-rewrite.c (is_partly_live_1): Change return type to bool.
5390 2002-08-02  Toon Moene  <toon@moene.indiv.nluug.nl>
5392         * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
5393         when not honoring signalling NaNs.
5394         (simplify_ternary_operation): a == b has a definite value
5395         when not honoring NaNs.
5397 2002-08-02  Jason Merrill  <jason@redhat.com>
5399         * gdbinit.in (pct): New macro.
5401 2002-08-01  Stan Shebs  <shebs@apple.com>
5402             Andreas Tobler  <toa@pop.agri.ch>
5404         * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
5405         plays nice with Darwin headers.
5406         (_BSD_RUNE_T_DEFINED_): Likewise.
5408 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
5410         * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
5411         * cppinit.c (cpp_post_options): Likewise.
5413         * cppexp.c (cpp_classify_number): Suppress -Wtraditional
5414         warning about 'LL' suffix (but not 'ULL' etc) when
5415         -Wno-long-long is in effect.
5417         * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
5418         Check for failing time()/localtime(), issue a warning, and
5419         make __TIME__ and __DATE__ expand to fallback strings.
5421         * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
5422         and __TIME__ when the date and time cannot be determined.
5424 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
5426         * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
5428 2002-08-01  Daniel Jacobowitz  <drow@mvista.com>
5430         * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
5432 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
5434         * config.gcc (mipsisa64sb1-*-elf*): New configuration.
5435         (mipsisa64sb1el-*-elf*): Likewise.
5436         * config/mips/mips.c (mips_cpu_info_table): Add sb1.
5437         * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
5438         (TARGET_SB1, TUNE_SB1): New macros.
5439         * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
5440         -mtune flags.
5442 2002-08-01  David Edelsohn  <edelsohn@gnu.org>
5444         * varasm.c (asm_emit_uninitialized): Return false if global BSS
5445         and ASM_EMIT_BSS not supported by target.
5446         (assemble_variable): Do not duplicate uninitialized logic.
5447         Fall through if asm_emit_uninitialized failed.
5449 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
5451         * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
5453 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
5455         * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
5456         (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
5458         * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
5459         HOST_BITS_PER_WIDE_INT == 64.
5461 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5463         * df.c (df_insn_table_realloc): Change parameter to unsigned.
5464         * optabs.c (expand_binop): Make variable unsigned.
5465         * simplify-rtx.c (simplify_subreg): Likewise.
5466         * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
5468 2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5470         * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
5472 2002-08-01  Richard Henderson  <rth@redhat.com>
5474         * toplev.c (parse_options_and_default_flags): Don't set
5475         flag_reorder_blocks for -Os.
5477         * config/avr/avr.c (avr_optimization_options): Remove.
5478         * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
5479         * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
5480         * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
5482 2002-08-01  H.J. Lu <hjl@gnu.org>
5483             Richard Henderson  <rth@redhat.com>
5485         * output.h (DECL_READONLY_SECTION): Remove.
5486         (decl_readonly_section): Declare.
5487         * varasm.c (decl_readonly_section): New.
5488         (default_section_type_flags, default_select_section): Use it.
5489         * config/arm/pe.c (arm_pe_unique_section): Likewise.
5490         * config/i386/interix.c (i386_pe_unique_section): Likewise.
5491         * config/i386/winnt.c (i386_pe_unique_section): Likewise.
5492         * config/mcore/mcore.c (mcore_unique_section): Likewise.
5493         * config/mips/mips.c (mips_unique_section): Likewise.
5495 2002-08-01  Richard Henderson  <rth@redhat.com>
5497         * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
5498         refers to a subroutine parameter.
5500 2002-08-01  Jakub Jelinek  <jakub@redhat.com>
5502         * varasm.c (assemble_visibility): Strip name encoding.
5504 2002-08-01  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
5506         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
5507         (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
5508         when there is no frame pointer.
5509         (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
5510         registers properly.
5511         * config/ns32k/__unorddf2.c: New file.
5512         * config/ns32k/__unordsf2.c: New file.
5513         * config/ns32k/t-ns32k: New file.
5514         * config.gcc (ns32k-*-netbsd*): Use it.
5516 2002-08-01  Aldy Hernandez  <aldyh@redhat.com>
5518         * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
5520 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
5522         * c-common.c (__GXX_ABI_VERSION): Correct spelling.
5524 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
5526         * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
5528 2002-08-01  Richard Sandiford  <rsandifo@redhat.com>
5530         * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
5532 2002-08-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5534         * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
5535         n_sets): Removed.
5536         (expr_hash_table, set_hash_table): Type changed to ...
5537         (struct hash_table): New type.
5538         (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
5539         insert_expr_in_table, insert_set_in_table, compute_hash_table,
5540         dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
5541         compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
5542         (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
5543         (alloc_hash_table): New.
5544         (free_set_hash_table, free_expr_hash_table): Merged to ...
5545         (free_hash_table): New.
5546         (compute_set_hash_table, compute_expr_hash_table): Merged to ...
5547         (compute_hash_table_work): New.
5548         (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
5549         find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
5550         pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
5551         one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
5552         hoist_code, one_code_hoisting_pass,
5553         trim_ld_motion_mems): Altered due to changed type of hash tables.
5555 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
5557         * final.c (output_alternate_entry_point):
5558         If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
5560 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5562         * objc/objc-act.c (encode_complete_bitfield): Add prototype and
5563         avoid ISO C style function definition.
5565         * expr.c (expand_assignment): Delete unused variable.
5567 2002-08-01  Toon Moene  <toon@moene.indiv.nluug.nl>
5569         * c-common.c (cb_register_builtins): Set
5570         __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
5571         is given, and to 0 otherwise.
5572         * combine.c (simplify_if_then_else): HONOR_NANS
5573         implies FLOAT_MODE_P.
5575 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
5577         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
5578         (cpp_handle_option): Don't handle it.
5579         (print_help): Update.
5580         * doc/cppopts.texi: Update.
5582 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
5584         * c-common.c (cb_register_builtins): If C++, define
5585         __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
5586         * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
5588         * lang-specs.h: Simplify in accordance with new code in
5589         c-common.c.
5591 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
5593         * c-common.c: Define all C/ObjC/C++ warning and flag variables.
5594         * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
5595         * c-decl.c: Move all warning and flag variables to c-common.c.
5596         * c-format.c: Move all warning variables to c-common.c.
5597         * c-tree.h: Move all warning and flag declarations to c-common.h.
5598         * objc/objc-act.c: Move all warning variables to c-common.c.
5599         (flag_warn_protocol): Rename warn_protocol.
5601 2002-07-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5603         * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
5605 2002-07-31  Graham Stott  <graham.stott@btinternet.com>
5607         * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
5608         .section prefix.
5610 2002-07-31  Stan Shebs  <shebs@apple.com>
5612         * config.gcc (i[34567]86-*-darwin*): New configuration.
5613         * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
5614         defining.
5615         (TARGET_ENCODE_SECTION_INFO): Ditto.
5616         (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
5617         * config/darwin.c (machopic_indirect_data_reference): Remove
5618         setting of RTX_UNCHANGING_P.
5619         (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
5620         not to be applied to sums.
5621         * config/i386/t-darwin: New file.
5622         * config/i386/darwin.h: New file.
5623         * config/i386/i386.h (TARGET_MACHO): Add default definition.
5624         * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
5625         * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
5626         label and not the GOT add.
5627         (constant_address_p): For Mach-O, seeing a CONST is enough.
5628         (legitimate_pic_address_disp_p): Add a Mach-O case.
5629         (legitimate_address_p): Also test machopic_operand_p if Mach-O.
5630         (legitimize_pic_address): Use generic Mach-O code to legitimize.
5631         (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
5632         if outputting a difference.
5633         (ix86_output_addr_diff_elt): Add Mach-O case.
5634         (ix86_expand_move): Similarly.
5635         (ix86_expand_call): Similarly.
5636         (current_machopic_label_num): New global.
5637         (machopic_output_stub): New function.
5638         (ix86_value_regno): New function.
5639         (ix86_function_value): Use it instead of VALUE_REGNO.
5640         (ix86_libcall_value): Ditto.
5641         * config/i386/unix.h (VALUE_REGNO): Remove.
5643 2002-07-31  Graham Stott  <grahas@btinternet.com>
5645         * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
5646         hash for LABEL_REF's.
5648 2002-07-31  Graham Stott  <grahams@btinternet.com>
5650         * config/rs6000/rs6000.c (spe_init_builtins,
5651         altivec_init_builtins, rs6000_common_init_builtins):
5652         Replace ANSI with K&R function def.
5654 2002-07-31  David Edelsohn  <edelsohn@gnu.org>
5656         * rs6000.c (validate_condition_mode): Test flag_finite_math_only
5657         for CCFPmode.
5659 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
5661         * config/mips/crtn.asm: Don't use __mips16 to determine the
5662         return-address offset.  Define RA to a suitable temporary
5663         register for the return address.
5665 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
5667         * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
5668         constraints to 'd'.
5670 2002-07-30  Chris Demetriou  <cgd@broadcom.com>
5672         * config/mips/elf.h (STARTFILE_SPEC): Define differently if
5673         default ABI is MEABI.  (Undoes incorrect change in Eric Christopher's
5674         patch on 2002-07-29.)
5675         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
5677 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5679         * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
5680         fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
5681         ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
5682         openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
5683         s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
5684         (ASM_GLOBALIZE_LABEL): Delete.
5685         (GLOBAL_ASM_OP): Define.
5687         * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
5689         * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
5690         * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
5692 2002-07-30  Geoffrey Keating  <geoffk@redhat.com>
5694         * doc/extend.texi (Hints implementation): Document that GCC
5695         mostly ignores `register'.
5697 2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>
5699         * flags.h: Declare flag_finite_math_only.
5700         Use it in definition of HONOR_NANS and
5701         HONOR_INFINITIES.
5702         * c-common.c (cb_register_builtins): Emit
5703         __FINITE_MATH_ONLY__ when flag_finite_math_only
5704         is set.
5705         * combine.c (simplify_if_then_else): If
5706         flag_finite_math_only is set, a == b has a
5707         definite value.
5708         * toplev.c: Initialize flag_finite_math_only.
5709         (set_flags_fast_math): Set it on -ffast-math.
5710         (flag_fast_math_set_p): Test it.
5711         * doc/invoke.texi: Document -ffinite-math-only.
5713 2002-07-30  Richard Henderson  <rth@redhat.com>
5715         * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
5716         (noce_process_if_block): Likewise.
5718 2002-07-30  Bernd Schmidt  <bernds@redhat.com>
5720         * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
5721         Bail out early if false_expr is NULL and we'd crash due to this.
5722         * genemit.c (gen_expand): Recognize return insns even if the return
5723         appears in a parallel.
5724         * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
5725         * config/fp-bit.c: Likewise.
5726         * doc/tm.texi: Document it.
5728 2002-07-30  David Edelsohn  <edelsohn@gnu.org>
5729             Zack Weinberg  <zack@codesourcery.com>
5731         * rs6000.c (rs6000_expand_unop_builtin): Check icode not
5732         CODE_FOR_nothing.  Change switch to if.
5733         (rs6000_expand_binop_builtin): Same.
5734         (rs6000_expand_builtin): Expand builtin if target support enabled.
5735         (rs6000_init_builtins): Init builtin if target support enabled.
5736         (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
5738 2002-07-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5740         * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
5742 2002-07-30  Richard Sandiford  <rsandifo@redhat.com>
5744         * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
5746 Tue Jul 30 18:31:31 2002  J"orn Rennecke <joern.rennecke@superh.com>
5748         * sh.md (cond_delay_slot): New attribute.
5749         (cbranch delay): Use it for anulled-true case.
5750         (stuff_delay_slot): New pattern.
5751         * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
5752         delay slot insn.
5753         (gen_far_branch): Emit stuff_delay_slot pattern.
5755 Tue Jul 30 11:21:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
5757         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
5759 2002-07-30  Kazu Hirata  <kazu@cs.umass.edu>
5761         * fold-const.c: Fix comment typos.
5762         * gcse.c: Likewise.
5763         * reload1.c: Likewise.
5765 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
5767         * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
5768         for TARGET_SPE.
5770 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
5772         * c-pretty-print.h (pp_c_statement): Declare.
5773         * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
5774         (pp_c_statement): Define.
5776 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5778         * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
5779         darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
5780         ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
5781         mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
5782         rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
5783         v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
5785         * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
5786         * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
5788 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
5790         * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
5791         (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
5792         COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
5793         (pp_c_expression): Update.
5795 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5797         * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
5798         concat in lieu of xmalloc/strcpy/memcpy/sprintf.
5799         * alpha/vms-ld.c (main): Likewise.
5800         * dsp16xx.c (double_reg_to_memory): Likewise.
5801         * mcore.c (mcore_expand_prolog): Likewise.
5802         * cppfiles.c (read_name_map): Likewise.
5803         * gensupport.c (process_rtx, identify_predicable_attribute,
5804         alter_test_for_insn): Likewise.
5805         * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
5807 2002-07-29  Roger Sayle  <roger@eyesopen.com>
5809         * builtins.c (expand_builtin):  Change the default behavior to
5810         only issue an error if the builtin function doesn't have a
5811         fallback library call.  Remove several cases handled by the
5812         new default.
5814 2002-07-29  John David Anglin  <dave@hiauly1.hia.nrc>
5816         * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
5817         floating point format of the target is IEEE.
5818         * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
5819         format of the target is DEC.
5821 2002-07-29  Richard Henderson  <rth@redhat.com>
5823         * unroll.c (verify_addresses): Remove.
5824         (find_splittable_givs): Never split DEST_ADDR givs.
5826 2002-07-29  Geoffrey Keating  <geoffk@redhat.com>
5828         * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
5829         is exhaustive.
5830         (Files): Improve documentation on generated source files.
5832         * doc/extend.texi (Translation implementation): Document what
5833         diagnostics look like.
5834         (Identifiers implementation): Document that there's normally no
5835         limit on identifier names.
5836         (Integers implementation): Document two's complement.
5837         (Hints implementation): Document that GCC honors 'inline', mostly.
5838         (Preprocessing directives implementation): Document that GCC
5839         requires the current time.
5841 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
5843         * c-pretty-print.h (struct c_pretty_print_info): Add new member.
5844         (pp_initializer): New macro.
5845         (pp_c_initializer): Declare.
5846         * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
5847         (pp_c_initializer): Define.
5848         (pp_c_initializer_list): New function.
5849         (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
5850         VECTOR_CST, CONSTRUCTOR.
5851         (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
5852         IMAGPART_EXPR.
5853         (pp_c_cast_expression): Handle FLOAT_EXPR.
5854         (pp_c_assignment_expression): Handle INIT_EXPR.
5855         (pp_c_expression): Update.
5857 2002-07-30  Neil Booth  <neil@daikokuya.co.uk>
5859         * objc/objc-act.c (objc_init): Return immediately if filename
5860         is NULL.
5862 2002-07-29  Eric Christopher  <echristo@redhat.com>
5864         * config/mips/elf.h: Remove ecoff.h and gofast includes.
5865         (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
5866         (SDB_DEBUGGING_INFO): Undefine.
5867         (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
5868         (PUT_SDB_SIZE): Remove.
5869         (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
5870         (STARTFILE_SPEC): Add isa3264 define.
5871         * config/mips/elf64.h: Ditto.  Move TARGET_MEM_FUNCTIONS from here...
5872         * config/mips/ecoff.h: Remove. and here...
5873         * config/mips/iris3.h: and here...
5874         * config/mips/sni-svr4.h: and here...
5875         * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
5876         Add assembler -mmdebug options for non-dwarf debugging.
5877         * config/mips/r3900.h: Remove debug info defines.
5878         * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
5879         * config/mips/isa3264.h: Ditto.
5880         * config/mips/t-isa3264: Fix up for file removal and gofast configure
5881         change.
5882         * config/mips/t-elf: Ditto.
5883         * config/mips/t-ecoff: Ditto.
5884         * config/mips/t-r3900: Ditto.
5885         * config/mips/t-iris5-6: Ditto.
5886         * config/mips/t-isa3264: Ditto.
5887         * config/mips/t-linux: Remove.
5888         * config/mips/t-netbsd: Remove.
5889         * config/mips/t-mips: New file.
5890         * config/mips/t-gofast: Ditto.
5891         * config/mips/netbsd.h: Remove unnecessary undefines.
5892         * config/mips/linux.h: Remove #include of mips.h.
5893         * config.gcc: Add mips.h include for elf targets. Remove tm_file
5894         for ecoff. Add gofast configure option for mips.
5896 2002-07-29  Chris Demetriou  <cgd@broadcom.com>
5898         * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
5899         linker scripts use STARTUP directives consistently.
5900         * configure: Regenerate.
5901         * config.in: Regenerate.
5902         * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
5903         on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
5904         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
5905         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
5906         HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
5907         will be the same.
5909 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
5911         * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
5913 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
5915         * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
5917 2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>
5919         * config/rs6000/rs6000.md: Move altivec patterns from here...
5921         * config/rs6000/altivec.md: ...to here.
5923 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
5925         * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
5927 2002-07-29  Richard Henderson  <rth@redhat.com>
5929         * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
5930         set_mem_attributes and add BITPOS argument.  Subtract it from
5931         OFFSET when same is adjusted.
5932         (set_mem_attributes): New wrapper function.
5933         * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
5934         remove offset adjustment hack.
5935         * expr.h (set_mem_attributes_minus_bitpos): Declare.
5937 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
5939         * Makefile.in (C_OBJS): Include c-pretty-print.o
5940         (c-pretty-print.o): Add depency rule.
5941         * pretty-print.h: Add more macros.
5942         * c-pretty-print.c: New file.
5943         * c-pretty-print.h: Likewise.
5945 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
5947         * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
5948         constants to __ev64_s32__.
5949         (__internal_ev_mwhgsmian): Same.
5950         (__internal_ev_mwhgsmfan): Same.
5951         (__internal_ev_mwhgssfan): Same.
5952         (__internal_ev_mwhgumiaa): Same.
5953         (__internal_ev_mwhgsmiaa): Same.
5954         (__internal_ev_mwhgsmfaa): Same.
5955         (__internal_ev_mwhgssfaa): Same.
5957 2002-07-29  David Edelsohn  <edelsohn@gnu.org>
5959         * varasm.c (assemble_variable): Narrow test for uninitialized
5960         without BSS target support.
5962 2002-07-29  Nathan Sidwell  <nathan@codesourcery.com>
5964         * profile.c: Add file comment describing the overall algorithm and
5965         structures.
5966         (struct edge_info): Add comments.
5967         (struct bb_info): Add comments.
5968         * basic-block.h (EDGE_*): Add comments.
5969         * doc/gcov.texi (Gcov Data Files): Document bit flags.
5971 2002-07-29  Bob Wilson  <bob.wilson@acm.org>
5973         * config/xtensa/elf.h, config/xtensa/linux.h
5974         (TARGET_OS_CPP_BUILTINS): Define.
5975         (CPP_PREDEFINES): Remove.
5976         * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
5977         (CPP_SPEC): Remove.
5979 2002-07-29  Zack Weinberg  <zack@codesourcery.com>
5981         * gensupport.c: Include hashtab.h.
5982         (insn_elision, condition_table, hash_c_test, cmp_c_test,
5983         maybe_eval_c_test): New routines and data structures to
5984         support insn elision.
5985         (init_md_reader): Read and initialize the condition_table.
5986         (read_md_rtx): Discard insn patterns whose C test is provably
5987         always false.
5988         * gensupport.h: Declare new functions and data structures.
5990         * genconditions.c, dummy-conditions.c: New files.
5991         * Makefile.in: Build genconditions; run it to construct
5992         insn-conditions.c; build that and link it into most gen*
5993         programs.
5994         (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
5995         (GEN): Delete, unused.
5996         (STAGESTUFF): Update.
5998         * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
5999         CODE_FOR_nothing for all elided patterns.
6000         (main): Tweaked to support this.
6001         * genflags.c (gen_proto): Emit a static inline generator
6002         function here for all elided patterns, which simply returns
6003         NULL_RTX.
6004         (gen_insn): Do not define HAVE_xxx for elided patterns.
6005         (main): Tweaked to support this.  No need to forward-declare
6006         struct rtx_def.
6007         * genrecog.c: Do not bother emitting the C test if it's known
6008         to be true at compile time.
6010 2002-07-29  Mike Stump  <mrs@apple.com>
6012         * config.gcc (target_gtfiles): Initialize, as otherwise cross
6013         compilers hosted on powerpc-apple-darwin6.0 won't even build.
6015 2002-07-29  Richard Earnshaw  <rearnsha@arm.com>
6017         * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
6018         remove clobber of LR.
6019         (sibcall_insn, sibcall_value_insn): Update accordingly.
6020         (sibcall_epilogue): Remove debugging comment from assembler stream.
6022 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
6024         * pretty-print.h: Define more macros.
6025         * diagnostic.h (output_formatted_integer): Moved from...
6026         * diagnostic.c: ... here.
6028 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6030         * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
6032 2002-07-28  Zack Weinberg  <zack@codesourcery.com>
6034         * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
6035         arguments.  Always use ".-symbol" as expression argument.
6036         * doc/tm.texi: Update to match.  Document requirement for
6037         ".size symbol, .-symbol" to be acceptable to assembler.
6039         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
6040         config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
6041         config/i386/freebsd-aout.h, config/i386/sco5.h,
6042         config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
6043         config/xtensa/linux.h:  Update uses of ASM_OUTPUT_MEASURED_SIZE.
6045 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6047         * Makefile.in (gengtype-lex.c): Fix error in last change.
6049         * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
6050         backslash.
6052         * Makefile.in (vmsdbgout.o): Depend on function.h.
6054         * vmsdbgout.c: Include function.h.
6056 2002-07-28  Alan Modra  <amodra@bigpond.net.au>
6058         * prefix.c (update_path): Don't strip single `.' path components
6059         unless stripping a later `..' component.  Exit loop as soon as
6060         a valid path is found.
6062 2002-07-27  Roger Sayle  <roger@eyesopen.com>
6064         * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
6065         argument.  Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
6066         BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
6067         floating point unordered comparisons (e.g. __builtin_isgreater)
6068         as const, and leave the remaining GCC_BUILTINs unchanged.
6070         * c-decl.c (builtin_function): No need to explicitly mark
6071         BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
6073 2002-07-27  Roger Sayle  <roger@eyesopen.com>
6075         * Makefile.in: rtlanal.o now depends upon real.h.
6077         * flags.h [flag_signaling_nans]: New flag.
6078         [HONOR_SNANS]: New macro.
6080         * toplev.c [flag_signaling_nans]: Initialize to false.
6081         (f_options): Add processing for "-fsignaling-nans".
6082         (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
6083         (process_options): flag_signaling_nans implies flag_trapping_math.
6085         * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
6086         when -fsignaling-nans.  First step to implementing WG14's N965.
6088         * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
6089         1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
6090         [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
6092         * simplify-rtx.c (simplify_relational_operation): Conditionalize
6093         transforming abs(x) < 0.0 into false on !HONOR_SNANS.
6095         * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
6096         required by HONOR_SNANS.  (may_trap_p): Floating point DIV, MOD,
6097         UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
6098         -fsignaling_nans.  EQ and NE only trap for flag_signaling_nans
6099         not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
6101         * doc/invoke.texi: Document new -fsignaling-nans compiler option.
6103 2002-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6105         * Makefile.in (gengtype-lex.c): Work around a bug in flex.
6106         * gengtype-lex.l (YY_USE_PROTOS): Undef.
6107         (YY_DECL): Define.
6109 2002-07-27  Roger Sayle  <roger@eyesopen.com>
6111         * doc/invoke.texi: Document that both -fno-builtin-foo and
6112         -fno-builtin are supported by the g++ front-end.
6114 2002-07-27  Stan Shebs  <shebs@apple.com>
6116         * configure.in: Rename config_gtfiles to target_gtfiles.
6117         * configure: Regenerate.
6118         * doc/gty.texi: Update reference.
6119         * config.gcc (powerpc-*-darwin*): Set target_gtfiles
6120         instead of appending to it.
6122 2002-07-25  Aldy Hernandez  <aldyh@redhat.com>
6124         * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
6125         vectors are split into two registers.
6126         (function_arg): Same.
6128 Thu Jul 26 23:00:13 2002  J"orn Rennecke <joern.rennecke@superh.com>
6130         * pa.md (extv): Check predicates before emitting extv_32.
6132 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
6134         * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
6135         (rs6000_traceback): New var.
6136         (rs6000_override_options): Set rs6000_traceback.
6137         (rs6000_output_function_epilogue): Implement traceback options.
6138         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
6139         (rs6000_traceback_name): Declare.
6141         * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
6142         label reference when NO_PROFILE_COUNTERS.
6144 2002-07-26  Jason Merrill  <jason@redhat.com>
6146         * function.c (assign_parms): Handle frontend-directed pass by
6147         invisible reference.
6149 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
6151         * doc/cppopts.texi: Update.
6153 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
6155         * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
6156         warnings on assertions.
6158 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
6160         * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
6161         RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
6162         RID_COMPL): Remove.
6163         * c-parse.in (rid_to_yy): Similarly.
6165 2002-07-26  Jason Merrill  <jason@redhat.com>
6167         * c-dump.c: Resurrect.
6168         * tree-dump.c: Move C-specific stuff to c-dump.c.
6169         * c-common.h: Declare c_dump_tree.
6170         * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
6171         * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
6172         (c-dump.o): New rule.
6174 2002-07-26  Alan Modra  <amodra@bigpond.net.au>
6176         * config/rs6000/rs6000.md: Enable patterns using rlwinm for
6177         PowerPC64.  Replace "T" and "S" constraints with "n" when the
6178         predicate will do.  Formatting fixes.
6179         (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
6180         as for extzvsi_internal1.
6182 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
6184         * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
6185         DERIV_END_LABEL_FMT): Remove.
6186         (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
6188 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
6190         * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
6191         Remove.
6193 2002-07-25  Stan Shebs  <shebs@apple.com>
6195         * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
6196         local var dwarfp.
6197         (output_compiler_stub): Remove unused locals.
6198         (output_call): Always initialize line number.
6200 Thu Jul 25 20:34:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
6202         * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
6203         * sh.md (truncdiqi2, movqi_media): Likewise.
6205 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
6207         * gcse.c (obstack_chunk_alloc): Remove.
6208         (gcse_alloc): Fix to count allocated bytes.
6209         * collect2.c (SYMBOL__MAIN): Remove.
6211 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
6213         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
6214         HAVE_TARGET_EXECUTABLE_SUFFIX.
6216 Thu Jul 25 18:57:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
6218         * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
6219         SIZE, EXPR and OFFSET.
6221 2002-07-25  Richard Henderson  <rth@redhat.com>
6223         * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
6224         in ARRAY_REF of DECL_P case.
6226 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
6228         * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
6229         description.  Document -mips32, -mips64, and the associated -march
6230         values.  Describe the "mipsN" arguments to -march.  Say that the
6231         -mipsN options are equivalent to -march.  Reword the description
6232         of default type sizes.
6233         * toplev.h (target_flags_explicit): Declare.
6234         * toplev.c (target_flags_explicit): New var.
6235         (set_target_switch): Update target_flags_explicit.
6236         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
6237         * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
6238         * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
6239         * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
6240         * config/mips/mips.h (mips_cpu_info): New struct.
6241         (mips_cpu_string, mips_explicit_type_size_string): Remove.
6242         (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
6243         (MIPS_CPP_SET_PROCESSOR): New macro.
6244         (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
6245         Define _MIPS_ARCH and _MIPS_TUNE.
6246         (MIPS_ISA_DEFAULT): Don't provide a default value.  Instead...
6247         (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
6248         MIPS_ISA_DEFAULT were already defined.
6249         (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
6250         (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
6251         (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
6252         (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
6253         (ABI_GAS_ASM_SPEC): Remove.
6254         (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
6255         (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
6256         Invoke %(asm_abi_default_spec) if no ABI was specified.
6257         (CC1_SPEC): Remove ISA -> register-size rules.
6258         (EXTRA_SPECS): Remove abi_gas_asm_spec.  Add asm_abi_default_spec.
6259         * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
6260         (mips_cpu_string, mips_explicit_type_size_string): Remove.
6261         (mips_cpu_info_table): New array.
6262         (mips_set_architecture, mips_set_tune): New fns.
6263         (override_options): Rework to make -mipsN equivalent to -march.
6264         Detect more erroneous cases, including those removed from CC1_SPEC.
6265         Don't change the ABI based on architecture, or vice versa.
6266         Unify logic with GAS.
6267         (mips_asm_file_start): Get architecture name from mips_arch_info.
6268         (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
6269         (mips_parse_cpu): Take the name of the option as argument.  Handle
6270         'from-abi'.  Raise an error if the option is wrong.
6271         (mips_cpu_info_from_isa): New fn.
6273 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
6275         * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
6276         (tablejump_mips162): Likewise.
6278 Thu Jul 25 10:23:41 2002  J"orn Rennecke <joern.rennecke@superh.com>
6280         * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
6281         int_mode_for_mode.
6283 2002-07-25  Gabriel Dos Reis  <gdr@nerim.net>
6285         * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
6286         complaining.
6287         * c-common.h (c_sizeof): Adjust definition.
6288         (c_alignof): Likewise.
6289         * c-tree.h (c_sizeof_nowarn): Now macro.
6290         * c-typeck.c (c_sizeof_nowarn): Remove definition.
6292 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
6294         * c-decl.c (c_decode_option): No need to handle switches
6295         cpplib handles.
6297 2002-07-24  Zack Weinberg  <zack@codesourcery.com>
6299         * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
6300         ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
6301         * doc/tm.texi: Document them.  Also document SIZE_ASM_OP,
6302         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
6304         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
6305         config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
6306         config/cris/aout.h, config/i386/freebsd-aout.h,
6307         config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
6308         config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
6309         config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
6310         config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
6311         config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
6312         config/xtensa/elf.h, config/xtensa/linux.h:
6313         Use the new macros.
6314         Where possible, remove redundant definitions of SIZE_ASM_OP,
6315         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
6317 2002-07-24  Aldy Hernandez  <aldyh@redhat.com>
6319         * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
6320         TARGET_ISEL, and TARGET_FPRS.
6322         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
6323         -mabi=spe, -mabi=no-spe, and -misel=.
6325         * config/rs6000/rs6000-protos.h: Add output_isel.
6326         Move vrsave_operation prototype here.
6328         * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
6329         (smaxsi3): Same.
6330         (uminsi3): Same.
6331         (umaxsi3): Same.
6332         (abssi2_nopower): Disallow when TARGET_ISEL.
6333         (*ne0): Same.
6334         (negsf2): Change to expand and rename old pattern to *negsf2.
6335         (abssf2): Change to expand and rename old pattern to *abssf2.
6337         New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
6338         fixunssfsi2.
6340         Change patterns that check for TARGET_HARD_FLOAT or
6341         TARGET_SOFT_FLOAT to also check TARGET_FPRS.
6343         * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
6344         rs6000_isel, rs6000_fprs, rs6000_isel_string.
6345         (rs6000_override_options): Add 8540 case to
6346         processor_target_table.
6347         Set rs6000_isel for the 8540.
6348         Call rs6000_parse_isel_option.
6349         (enable_mask_for_builtins): New.
6350         (rs6000_parse_isel_option): New.
6351         (rs6000_parse_abi_options): Add spe and no-spe.
6352         (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
6353         (rs6000_legitimize_address): Check for TARGET_FPRS when checking
6354         for TARGET_HARD_FLOAT.
6355         Add case for SPE_VECTOR_MODE.
6356         (rs6000_legitimize_reload_address): Handle SPE vector modes.
6357         (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
6358         vector modes.
6359         Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
6360         (rs6000_emit_move): Check for TARGET_FPRS.
6361         Add cases for SPE vector modes.
6362         (function_arg_boundary): Return 64 for SPE vector modes.
6363         (function_arg_advance): Check for TARGET_FPRS and
6364         Handle SPE vectors.
6365         (function_arg): Same.
6366         (setup_incoming_varargs): Check for TARGET_FPRS.
6367         (rs6000_va_arg): Same.
6368         (struct builtin_description): Un-constify mask field.  Move up in
6369         file.
6370         (bdesc_2arg): Un-constify and add SPE builtins.
6371         (bdesc_1arg): Same.
6372         (bdesc_spe_predicates): New.
6373         (bdesc_spe_evsel): New.
6374         (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
6375         (rs6000_expand_binop_builtin): Same.
6376         (bdesc_2arg_spe): New.
6377         (spe_expand_builtin): New.
6378         (spe_expand_predicate_builtin): New.
6379         (spe_expand_evsel_builtin): New.
6380         (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
6381         (rs6000_init_builtins): Initialize SPE builtins.  Call
6382         rs6000_common_init_builtins.
6383         (altivec_init_builtins): Move all non-altivec builtin code to...
6384         (rs6000_common_init_builtins): ...here.  New function.
6385         (branch_positive_comparison_operator): Allow NE code for SPE.
6386         (ccr_bit): Return correct ccr bit for SPE fp.
6387         (print_operand): Emit crnor in 'D' case for SPE.
6388         New case 't'.
6389         Add SPE code for 'y' case.
6390         (rs6000_generate_compare): Generate rtl for SPE fp.
6391         (output_cbranch): Handle SPE hard floats.
6392         (rs6000_emit_cmove): Handle isel.
6393         (rs6000_emit_int_cmove): New.
6394         (output_isel): New.
6395         (rs6000_stack_info): Adjust stack frame so GPRs are saved in
6396         64-bits for SPE.
6397         (debug_stack_info): Add SPE info.
6398         (gen_frame_mem_offset): New.
6399         (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
6400         Change mode of frame pointer, when saving it, to Pmode.
6401         (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
6402         Misc cleanups and use gen_frame_mem_offset when appropriate.
6404         * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
6405         (TARGET_SPE_ABI): New.
6406         (TARGET_SPE): New.
6407         (TARGET_ISEL): New.
6408         (TARGET_FPRS): New.
6409         (FIXED_SCRATCH): New.
6410         (RTX_COSTS): Add PROCESSOR_PPC8540.
6411         (ASM_CPU_SPEC): Add case for 8540.
6412         (TARGET_OPTIONS): Add isel= case.
6413         (rs6000_spe_abi): New.
6414         (rs6000_isel): New.
6415         (rs6000_fprs): New.
6416         (rs6000_isel_string): New.
6417         (UNITS_PER_SPE_WORD): New.
6418         (LOCAL_ALIGNMENT): Adjust for SPE.
6419         (HARD_REGNO_MODE_OK): Same.
6420         (DATA_ALIGNMENT): Same.
6421         (MEMBER_TYPE_FORCES_BLK): New.
6422         (FIRST_PSEUDO_REGISTER): Set to 113.
6423         (FIXED_REGISTERS): Add SPE registers.
6424         (reg_class): Same.
6425         (REG_CLASS_NAMES): Same.
6426         (REG_CLASS_CONTENTS): Same.
6427         (REGNO_REG_CLASS): Same.
6428         (REGISTER_NAMES): Same.
6429         (DEBUG_REGISTER_NAMES): Same.
6430         (ADDITIONAL_REGISTER_NAMES): Same.
6431         (CALL_USED_REGISTERS): Same.
6432         (CALL_REALLY_USED_REGISTERS): Same.
6433         (SPE_ACC_REGNO): New.
6434         (SPEFSCR_REGNO): New.
6435         (SPE_SIMD_REGNO_P): New.
6436         (HARD_REGNO_NREGS): Adjust for SPE.
6437         (VECTOR_MODE_SUPPORTED_P): Same.
6438         (REGNO_REG_CLASS): Same.
6439         (FUNCTION_VALUE): Same.
6440         (LIBCALL_VALUE): Same.
6441         (LEGITIMATE_OFFSET_ADDRESS_P): Same.
6442         (SPE_VECTOR_MODE): New.
6443         (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
6444         the GPRs.  Set FIXED_SCRATCH fixed in SPE case.
6445         (rs6000_stack): Add spe_gp_size, spe_padding_size,
6446         spe_gp_save_offset.
6447         (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
6448         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
6449         (SPE_CONST_OFFSET_OK): New.
6450         (rs6000_builtins): Add SPE builtins.
6452         * testsuite/gcc.dg/ppc-spe.c: New.
6454         * config/rs6000/eabispe.h: New.
6456         * config/rs6000/spe.h: New.
6458         * config/rs600/spe.md: New.
6460         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
6461         __SIMD__ for TARGET_SPE.
6463         * config.gcc: Add powerpc-*-eabispe* case.
6464         Add spe.h to user headers for powerpc.
6466 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
6468         * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
6469         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
6470         * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
6472 2002-07-24  Richard Henderson  <rth@redhat.com>
6474         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
6475         form when not optimizing.
6477 2002-07-24  David Mosberger  <davidm@hpl.hp.com>
6479         * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
6480         thread_pointer_rtx as unchanging.
6482 2002-07-24  Michael Matz  <matz@suse.de>
6484         * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
6485         (free_reg): Use it.
6487 2002-07-24  Richard Earnshaw  <rearnsha@arm.com>
6489         * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
6490         pattern.
6491         (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
6492         (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
6494 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
6496         * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
6497         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
6498         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
6500 Wed Jul 24 17:59:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
6502         * toplev.c (rest_of_compilation): Dump loops before clobbering
6503         the structure.
6505 Wed Jul 24 17:23:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
6507         * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
6509 2002-07-24  Frank van der Linden  <fvdl@wasabisystems.com>
6511         PR optimization/7291
6512         * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
6513         problem on x86_64.
6515 2002-07-24  Gabriel Dos Reis  <gdr@nerim.net>
6517         * pretty-print.h: Add macros from cp/error.c
6519 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
6521         * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
6522         (mask64_2_operand): Declare.
6523         (build_mask64_2_operands): Declare.
6524         (and64_2_operand): Declare.
6525         (extract_MB): Declare.
6526         (extract_ME): Declare.
6527         * config/rs6000/rs6000.c (mask64_operand): Allow all ones.  Remove
6528         CONST_DOUBLE code.
6529         (mask_operand_wrap): New insn predicate.
6530         (mask64_2_operand): Likewise.
6531         (and64_2_operand): Likewise.
6532         (build_mask64_2_operands): New function.
6533         (extract_MB): New function.
6534         (extract_ME): New function.
6535         (print_operand <case m,M>): Use extract_MB and extract_ME.
6536         (print_operand <case S>): Allow all ones.  Remove CONST_DOUBLE support.
6537         * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
6538         (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
6539         mask64_2_operand.  Remove CONST_DOUBLE from mask64_operand.
6540         * config/rs6000/rs6000.md (andsi3_internal3): New
6541         (andsi3_internal3+1): Enable split for powerpc64.
6542         (andsi3_internal3+2): New split.
6543         (andsi3_internal4): Renamed old andsi3_internal3.
6544         (andsi3_internal5): New.
6545         (andsi3_internal5+1): Enable split for powerpc64.
6546         (andsi3_internal5+2): New split.
6547         (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
6548         (anddi3): Handle 't' constraint.
6549         (anddi3+1): New split.
6550         (anddi3_internal2): Handle 't' constraint.
6551         (anddi3_internal2+1): New split.
6552         (anddi3_internal3): Handle 't' constraint.
6553         (anddi3_internal3+1): New split.
6555 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
6557         * config/rs6000/rs6000.md: Remove scratch reg on insns using
6558         addze and similar (plus (comparison r1 r2) r3) insns.  Add
6559         missing scratch reg in one case.  Formatting fixes.
6561 2002-07-24  Neil Booth  <neil@daikokuya.co.uk>
6563         * cppexp.c (parse_defined): Mark macro used.
6564         * cpphash.h (struct cpp_macro): New member "used".
6565         (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
6566         (struct cpp_reader): New member.
6567         * cppinit.c (cpp_finish_options): Set first_unused_line.
6568         (cpp_finish): Warn of unused macros if requested.
6569         (OPT_TABLE): New switches.
6570         (cpp_handle_option): Handle them.
6571         * cpplib.c (do_undef): Warn if macro unused.
6572         (do_ifdef, do_ifndef): Mark macro used.
6573         * cpplib.h (struct cpp_options): New member.
6574         * cppmacro.c (_cpp_warn_if_unused_macro): New.
6575         (enter_macro_context): Mark macro used.
6576         (_cpp_create_definition): Mark macro unused; warn if unused
6577         when redefined.
6578         * cpptrad.c (scan_out_logcial_line, push_replacement_text):
6579         Mark macros used.
6580         * doc/cppopts.texi: Update.
6582 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6584         * dwarf2out.c (SECTION_ASM_OP,
6585         ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
6586         * system.h (SECTION_ASM_OP): Poison.
6587         * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
6588         * config/alpha/alpha-interix.h, config/mips/linux.h
6589         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
6590         * config/mmix/mmix-protos.h, config/mmix/mmix.c
6591         (mmix_asm_output_define_label_difference_symbol): Remove.
6592         * config/mmix/mmix.h
6593         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
6594         * doc/tm.texi: Remove documentation.
6596 Tue Jul 23 21:49:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
6598         * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
6599         (constrain_operands): Likewise.
6600         * regclass.c (record_reg_classes): Likewise.
6601         * reload.c (find_reloads): Likewise.
6602         * doc/md.texi: Likewise.
6604         * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
6605         * simplify-rtx.c (simplify_subreg): When converting to a non-int
6606         mode, try to convert to an integer mode of matching size first.
6608         * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
6609         from individual subregs, check that each subreg has been generated
6610         sucessfully.
6612 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6614         * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
6615         * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
6616         FOR_EACH_BB_IN_SBITMAP): Remove.
6617         * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
6618         * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
6619         LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
6620         * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
6621         PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
6622         * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
6624 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
6626         * pretty-print.h: New file.
6628 2002-07-23      Paul Koning     <pkoning@equallogic.com>
6630         * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
6631         (LARGEST_EXPONENT_IS_NORMAL): Ditto.
6632         (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
6633         (TARGET_G_FLOAT): Default to 0 if not defined.
6634         (ieeetoe): New, common routine to convert target format floats
6635         to internal form.
6636         (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
6637         vs. others.
6638         (e113toe): Change to use ieeetoe.
6640 2002-07-23  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6642         * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
6643         IBM.
6644         (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
6645         (e64toe): Remove special cases for DEC and IBM. Remove support for
6646         ARM_EXTENDED_IEEE_FORMAT.
6647         (e24toe): Remove special cases for DEC.
6648         (significand_size): Simplify. Indent.
6649         (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
6650         (etoieee, toieee): New.
6651         (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
6652         etoieee and toieee for IEEE arithmetic.
6654 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
6656         * doc/extend.texi: Say ISO C90, not ISO C89.
6657         * doc/invoke.texi: Likewise.
6658         * doc/standards.texi: Likewise.
6660 2002-07-23  Steve Ellcey  <sje@cup.hp.com>
6662         * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
6663         Fix permutation of conversion and plus/mult.
6664         * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
6665         ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
6666         (expand_builtin_strncpy) Ditto.
6667         (expand_builtin_memset) Ditto.
6669 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
6671         Fix PR/7363:
6672         * c-common.c (c_sizeof_or_alignof_type): New function.
6673         (c_alignof): Remove definition.
6674         * c-common.h (c_sizeof, c_alignof): Define as macros.
6675         (c_sizeof_or_alignof_type): Declare.
6676         (my_friendly_assert): Moved from cp/cp-tree.h
6677         * c-typeck.c (c_sizeof): Remove definition.
6679 2002-07-23  Jan Hubicka  <jh@suse.cz>
6681         * gcse.c (try_replace_reg): Use num_changes_pending.
6682         * recog.c (num_changes_pending): New function.
6683         (validate_replace_src): Use validate_repalce_src_group.
6684         (validate_replace_src_group): New.
6685         * recog.h (validate_repalce_src_group): New.
6686         (num_changes_pending): Likewise.
6688 Tue Jul 23 12:16:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
6690         * calls.c (emit_library_call_value_1): If
6691         FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
6692         libcall, const call nor pure call.
6694 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6696         * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
6698 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6700         * vmsdbgout.c (SECTION_ASM_OP): Remove.
6702 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6704         * config/i386/i386.c (AT_BP): Remove.
6706 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
6708         * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
6709         Default definition.
6710         * gcse.c: Don't define obstack_chunk_free.
6711         * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
6712         flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
6713         integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
6714         reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
6715         Don't define obstack macros.
6717 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
6719         PR target/6744
6720         * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
6721         ASM_OPERANDS instructions.
6723 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
6725         PR target/7361
6726         * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
6727         constant addresses only on 68HC12.
6729 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
6731         * cppfiles.c (stack_include_file): Correct test of whether
6732         a dependency should be output.
6734 2002-07-22  David Edelsohn  <edelsohn@gnu.org>
6736         * collect2.c (is_ctor_dtor): Add other possible JOINER values.
6738 2002-07-22  Richard Earnshaw  <rearnsha@arm.com>
6740         * arm.md (movqi): If optimizing and we can create pseudos, use
6741         a ZERO_EXTEND to load from memory, then copy the result into the
6742         target.
6743         (movhi): Likewise, but only for ARMv4.
6745 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
6747         * ssa-ccp.c (PHI_PARMS): Remove.
6749 2002-07-22  Richard Sandiford  <rsandifo@redhat.com>
6751         * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
6752         on big-endian targets.
6754 2002-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6756         * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
6757         HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
6758         HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
6759         New formatting macros.
6761         * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
6763 Mon Jul 22 15:27:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
6765         * rtlanal.c (subreg_regno_offset): Return correct offset for
6766         big endian paradoxical subregs.
6768         * optabs.c (expand_vector_unop): Don't expand using sub_optab
6769         if we got the wrong mode.
6771         * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
6772         * genrecog.c (write_switch, write_cond): Use it.
6773         * genemit.c (gen_exp): Likewise.
6775 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
6777         * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
6779 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
6781         * c-decl.c (build_compound_literal): Defer compound literal decls
6782         until until file end to emit them only if they are actually used.
6784 2002-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6786         * ra-build.c (check_conflict_numbers): Hide unused function.
6787         (livethrough_conflicts_bb): Avoid automatic aggregate
6788         initialization.
6789         (parts_to_webs_1): Avoid `U' integer constant modifier.
6790         (conflicts_between_webs): Wrap a variable in the macro controlling
6791         its usage.
6792         * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
6793         (dump_igraph, dump_graph_cost): Avoid string concatenation
6794         (dump_static_insn_cost): Avoid automatic aggregate
6795         initialization.
6796         * ra-rewrite.c (insert_stores): Avoid automatic aggregate
6797         initialization.
6798         (dump_cost): Avoid string concatenation
6800 2002-07-21  Richard Henderson  <rth@redhat.com>
6802         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
6803         GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
6805 2002-07-21  Richard Henderson  <rth@redhat.com>
6807         * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
6808         that are not unrolled completely.
6810 2002-07-21  Richard Henderson  <rth@redhat.com>
6812         * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
6813         * loop.c (strength_reduce): Update.
6814         * toplev.c (rest_of_compilation): Do unrolling in the first
6815         loop pass, not the second.
6817 2002-07-21  Richard Henderson  <rth@redhat.com>
6819         * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
6820         when flag_argument_noalias == 2.
6821         * alias.c (nonoverlapping_memrefs_p): Handle that.
6822         * print-rtl.c (print_mem_expr): Likewise.
6824 2002-07-21  Hartmut Schirmer  <hartmut.schirmer@arcor.de>
6826         * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
6827         instead of __negdi2 directly.
6829 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
6831         * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
6832         * function.c (SYMBOL__MAIN): Remove definition.
6833         * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
6834         * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
6835         * profile.c (GCOV_INDEX_TO_BB): Remove.
6836         * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
6837         * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
6839 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
6841         * c-lex.c (GET_ENVIRONMENT): Remove.
6842         * collect2.c (GET_ENV_PATH_LIST): Remove.
6843         (prefix_from_env): Use GET_ENVIRONMENT.
6844         * cppinit.c (GET_ENV_PATH_LIST): Remove.
6845         (init_standard_includes): Use GET_ENVIRONMENT.
6846         * defaults.h (GET_ENVIRONMENT): Define here if not already.
6847         * gcc.c (GET_ENV_PATH_LIST): Remove.
6848         (make_relative_prefix, process_command): Update.
6849         * protoize.c (GET_ENV_PATH_LIST): Remove.
6850         (do_processing): Update.
6852 2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>
6854         * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
6855         (grokdeclarator): Likewise.
6856         * c-format.c (C_STD_NAME): Likewise.
6857         * c-lex.c (interpret_integer): Likewise.
6858         * c-typeck.c (build_array_ref): Likewise.
6859         * cpplex.c (_cpp_lex_direct): Likewise.
6860         * toplev.c (documented_lang_options): Likewise.
6862 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
6864         * c-format.c (T99_I, T99_UI): Remove.
6866 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
6868         * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
6870 Sun Jul 21 21:36:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
6872         * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
6873         do_local_cprop.
6875 2002-07-21  Andreas Jaeger  <aj@suse.de>
6877         * reload1.c (fixup_abnormal_edges): Remove unused variable.
6879 2002-07-21  Bernd Schmidt  <bernds@redhat.com>
6881         Improvements for the ifcvt pass from Michael Meissner, with patches
6882         by Richard Sandiford <rsandifo@redhat.com>
6883         * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
6884         * ifcvt.c (cond_exec_changed_p): New static variable.
6885         (last_active_insn): New function, renamed from last_active_insn_p
6886         and changed to return the last active insn in a basic block. All
6887         callers updated.
6888         (block_fallthru): New function.
6889         (cond_exec_process_insns): New argument CE_INFO.  Pass it to
6890         IFCVT_MODIFY_INSN.  All callers updated.
6891         Return false if START or END are NULL.
6892         Handle case where we're processing an insn that is already
6893         conditional.
6895         (noce_process_if_block): CE_INFO argument rather than
6896         multiple args containing the involved basic blocks.  All callers
6897         changed.
6898         (process_if_block, merge_if_block, find_if_block,
6899         cond_exec_process_if_block): Likewise.
6901         (cond_exec_process_if_block): New arg DO_MULTIPLE_P.  All callers
6902         changed.
6903         Use new function last_active_insn to simplify some code.
6904         New code to handle multiple tests.
6905         Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
6906         cond_exec_changed_p to TRUE.
6908         (process_if_block): New code to handle multiple tests.
6909         (merge_if_block): Likewise.
6910         (find_if_header): New arg PASS.  Changed to return the currently
6911         processed basic block or NULL instead of true/false. All callers
6912         changed.
6913         Call IFCVT_INIT_EXTRA_FIELDS.
6914         (block_jumps_and_fallthru_p): New function.
6915         (find_if_block): Discover opportunities to convert multiple tests.
6916         Add additional debugging output.
6917         Update the ce_info structure before returning.
6919         (if_convert): Run multiple passes of if-conversion.
6920         * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
6921         IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
6922         IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
6923         these macros.
6925 Sun Jul 21 00:54:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
6927         * gcse.c: Include cselib.h
6928         (constptop_register): Break out from ...
6929         (cprop_insn): ... here; kill basic_block argument.
6930         (do_local_cprop, local_cprop_pass): New functions.
6931         (one_cprop_pass): Call local_cprop_pass.
6933 2002-07-20  Roger Sayle  <roger@eyesopen.com>
6935         * simplify-rtx.c (simplify_relational_operation): Optimize
6936         abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
6938 2002-07-20  Michae Matz  <matz@suse.de>
6940         * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
6942 2002-07-20  Neil Booth  <neil@daikokuya.co.uk>
6944         * cppexp.c (struct op): Add token pointer.
6945         (check_promotion, CHECK_PROMOTION): New.
6946         (optab): Update.
6947         (_cpp_parse_expr): Update, use token pointer of struct op.
6948         (reduce): Warn about change of sign owing to promotion.
6949         * cppinit.c (cpp_handle_option): New warning if -Wall.
6950         * cpplib.h (struct cpp_options): New member.
6952 2002-07-19  David Edelsohn  <edelsohn@gnu.org>
6954         * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
6955         fpu list.  Separate Power4 compare and delayed_compare.  Correct
6956         Power4 fpcompare.
6957         (fix_truncdfsi2_internal): Restore FPR preference.
6958         * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
6959         mcpu?power4, mcpu?604e.  Remove mpower, mpower2, mpowerpc.
6961 2002-07-19  Momchil Velikov <velco@fadata.bg>
6963         * reload1.c (reload_as_needed): Duplicate oldpat.
6965 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
6967         PR optimization/7130
6968         * loop.h (struct loop_info): Add "preconditioned".
6969         * unroll.c (unroll_loop): Set it.
6970         * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
6972 2002-07-19  Zack Weinberg  <zack@codesourcery.com>
6974         * rtl.def (CODE_LABEL): Remove slot 8.
6975         * rtl.h (struct rtx_def): Document new uses of jump and call fields.
6976         (LABEL_ALTERNATE_NAME): Delete.
6977         (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
6978         * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
6980         * final.c (output_alternate_entry_point): New.
6981         (final_scan_insn): Use it instead of
6982         ASM_OUTPUT_ALTERNATE_LABEL_NAME.  Do not consider possibility
6983         of a case label being an alternate entry point.
6985         * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
6986         * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
6987         Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
6988         (field deleted).
6989         * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
6991         * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
6992         LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
6993         * doc/tm.texi: Delete documentation of
6994         ASM_OUTPUT_ALTERNATE_LABEL_NAME.
6996 2002-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6998         * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
6999         (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
7000         (LINK_SPEC): Define.
7001         (STARTFILE_SPEC): Define.
7002         (ENDFILE_SPEC): Define.
7004         * config/mips/iris6-o32.h (LINK_SPEC): Move ...
7005         * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
7007         * config/mips/iris6-o32-gas.h: New file.
7008         * config.gcc (mips-sgi-irix6*o32): Use it.
7010         * config/mips/t-iris5-gas: New file.
7011         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
7013 2002-07-19  Neil Booth  <neil@daikokuya.co.uk>
7015         * cppexp.c (ALWAYS_EVAL): Remove.
7016         (optab, reduce): Always evaluate.
7017         (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
7018         only if not skipping evaluation.
7020 2002-07-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
7022         * config/avr/avr.c (debug_hard_reg_set): Remove.
7024 2002-07-19  Chris Demetriou  <cgd@broadcom.com>
7026         * gcc.c (cpp_options): Include "%1" (cc1_spec).
7028 2002-07-19  Richard Henderson  <rth@redhat.com>
7030         * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
7032 2002-07-19  Alan Modra  <amodra@bigpond.net.au>
7034         * prefix.c (update_path): Don't zap single `.' path components
7035         unless followed by another `.' and fix typo last patch.
7037 2002-07-18  Neil Booth  <neil@daikokuya.co.uk>
7039         * cppexp.c (cpp_num_mul): Remove unused parameter.
7040         (UNARY, BINARY, OTHER, binary_handler): Remove.
7041         (ALWAYS_EVAL): New.
7042         (optab): Update.
7043         (reduce): Refactor to a large switch, don't use a function
7044         pointer.
7046 2002-07-18  Bo Thorsen  <bo@berlioz.suse.de>
7048         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
7050 Thu Jul 18 19:39:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
7052         * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
7053         (sh_expand_binop_v2sf): Likewise.
7054         * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
7055         (int_gpr_dest, trunc_hi_operand): New functions.
7056         * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
7057         trunc_hi_operand.
7058         (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
7059         * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
7060         (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
7061         (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
7062         (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
7063         (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
7064         (extendhisi2_media+1, extendqisi2_media+1): Likewise.
7065         (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
7066         (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
7067         (movsf_ie+1): Likewise.
7068         (loaddi_trunc): Use int_gpr_dest predicate.
7069         (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
7070         (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
7071         (casesi_worker_0+[12], casesi_worker): Likewise.
7072         (shcompact_preserve_incoming_args): Likewise.
7073         (mov_nop): Use any_register_operand predicate.
7074         (mperm_w0): Use trunc_hi_operand predicate.
7076 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7078         * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
7079         * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
7080         numbering.
7082 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7084         * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
7086 2002-07-18  Richard Henderson  <rth@redhat.com>
7088         PR optimization/7147
7089         * ifcvt.c (noce_get_condition): Make certain that the condition
7090         is valid at JUMP.
7092 Thu Jul 18 13:44:51 2002  J"orn Rennecke <joern.rennecke@superh.com>
7094         * sh.c (barrier_align, push): Shut up compiler warnings.
7095         (initial_elimination_offset,sh_media_init_builtins): Likewise.
7096         (reg_no_subreg_operand): Delete.
7098 2002-07-17  Bo Thorsen  <bo@suse.de>
7100         * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
7101         (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
7102         (STARTFILE_SPEC): Remove hardcoded library paths.
7103         (ENDFILE_SPEC): Likewise.
7105 Thu Jul 18 09:38:59 CEST 2002  Jan Hubicka  <jh@suse.cz>
7107         * gcse.c (hoist_expr_reaches_here_p):  Stop once expr_bb is reached.
7109         * gcse.c (try_replace_reg): Do not return false positives.
7111 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
7113         * prefix.c: (update_path): Strip ".." components when prior dir
7114         doesn't exist.  Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
7116         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
7117         (ASM_OUTPUT_REG_POP): Likewise.
7119 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
7121         * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
7122         adjustments to first_reg for profiling case.
7123         (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
7124         Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
7125         Save static chain reg to sp + 12 on ABI_AIX_NODESC.
7126         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
7127         (ASM_OUTPUT_REG_POP): Define.
7128         * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
7129         (ASM_OUTPUT_REG_POP): Undef.
7131 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
7133         * cpplib.c (do_sccs): Handle #sccs on all systems.
7134         * system.h (SCCS_DIRECTIVE): Poison.
7135         * config/darwin.h, config/freebsd.h, config/netbsd.h,
7136         config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
7137         config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
7138         config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
7139         config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
7140         config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
7141         config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
7142         config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
7143         Remove all references to SCCS_DIRECTIVE.
7144         * doc/cpp.texi, doc/tm.texi: Update.
7146 Wed Jul 17 19:23:32 2002  J"orn Rennecke <joern.rennecke@superh.com>
7148         * regrename.c (maybe_mode_change): New function.
7149         (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
7151 2002-07-17  Rodney Brown  <rbrown64@csc.com.au>
7153         * config/i386/i386.c (ix86_expand_int_movcc): In the general case
7154         suppress addition when either ct or cf are zero.
7156 2002-06-17  Eric Botcazou <ebotcazou@multimania.com>
7157             Glen Nakamura <glen@imodulo.com>
7159         PR optimization/6713
7160         * loop.c (loop_givs_rescan): Explicitly delete the insn that
7161         sets a non-replaceable giv after issuing the new one.
7163 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
7165         * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
7166         eval_token): Clarify and correct use of "bool" variables.
7167         * cpplib.h (struct cpp_options): Similarly.
7168         * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
7169         * cpptrad.c (recursive_macro): Similarly.
7171 Wed Jul 17 17:08:06 2002  J"orn Rennecke <joern.rennecke@superh.com>
7173         * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
7174         SHmedia code.
7176         * sh.md (cmpgtudi_media): Remove spurious @.
7178         * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
7179         * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
7181         * config/sh/lib1funcs.asm (init_trampoline): New entry point.
7182         * sh-protos.h (sh_initialize_trampoline): Declare.
7183         * sh.c (sh_initialize_trampoline): New function.
7184         * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
7185         (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
7186         (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
7187         (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
7188         * sh.md (initialize_trampoline, double_shori): New patterns.
7189         (initialize_trampoline_compact): Likewise.
7190         (shmedia32_initialize_trampoline_big): Remove.
7191         (shmedia32_initialize_trampoline_little): Likewise.
7193         * sh-protos.h (binary_float_operator): Remove declaration.
7194         (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
7195         * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
7196         (unary_float_operator, sh_expand_unop_v2sf): New functions.
7197         (sh_expand_binop_v2sf): Likewise.
7198         (zero_vec_operand): Delete.
7199         (SH_BLTIN_UDI): New builtin shared signature define.  Renumbered
7200         all non-shared ones.
7201         (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
7202         Enable nsb and byterev.
7203         * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
7204         (HARD_REGNO_MODE_OK): Allow TImode in fp regs.  Allow V2SFmode
7205         in general regs.
7206         (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
7207         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.  Remove clause for
7208         immediate operands.
7209         (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
7210         Add DF_HI_REGS.
7211         (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
7212         lowpart fp regs - only for big endian for now.
7213         (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
7214         when FPU is in use.
7215         (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
7216         (LOAD_EXTEND_OP): NIL for SImode.
7217         (REGISTER_MOVE_COST): Add DF_HI_REGS.  Const for moves between
7218         general and fp registers is 4.
7219         PREDICATE_CODES: Amend binary_float_operator entry.
7220         Remove zero_vec_operand.  Add unary_float_operator.
7221         * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
7222         subreg SET_DEST.
7223         (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
7224         (truncdiqi2): Do sign extension.
7225         (movsi_media, movdi_media): Allow to use r63 to an fp register.
7226         (movdf_media, movsf_media): Likewise.
7227         (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
7228         Collapse to one define_insn_and_split.  Allow immediate sources.
7229         (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
7230         (movv4sf_i): Allow immediate sources.  Use simplify_gen_subreg.
7231         (movv4sf): Allow immediate sources.
7232         (movsf_media_nofpu+1): Don't split moves to FP registers.
7233         (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
7234         (movv8qi_i+3): Check against CONST0_RTX.
7235         (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
7236         for input and output operands.  Fix argument 3 to gen_mextr_rl.
7237         (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
7238         (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
7239         (mshf0_w, fipr, ftrv): Likewise.
7240         (mshfhi_l_di): Now insn_and_split.  Can handle FP regs.
7242 2002-07-17  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
7244         * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
7245         NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively.  All uses changed.
7246         * arm.c: Similarly.
7248 2002-07-17  Richard Sandiford  <rsandifo@redhat.com>
7250         * config/mips/mips-protos.h (mips_sign_extend): Declare.
7251         * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
7252         (TARGET_SWITCHES): Remove debugh.
7253         (ISA_HAS_TRUNC_W): New macro.
7254         (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
7255         (PREDICATE_CODES): Remove se_nonimmediate_operand.
7256         * config/mips/mips.c (movdi_operand): Allow sign-extensions of
7257         any SImode move_operand.
7258         (se_nonimmediate_operand): Remove.
7259         (mips_sign_extend): New.
7260         (mips_move_2words): Use it for sign-extended source operands.
7261         (override_options): Allow integers to be put into single FPRs.
7262         (mips_secondary_reload_class): Handle integers in float registers.
7263         * config/mips/mips.md (extendsidi2): Turn into a define_expand.
7264         (fix_truncsfsi2, fix_truncdfsi2): Likewise.
7265         (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
7266         (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
7267         (fix_truncdfdi2): Provide only a single alternative, in which the
7268         integer is in a float register.  Depend on TARGET_FLOAT64 rather
7269         than TARGET_64BIT.
7270         (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
7271         (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
7272         (movdi_internal2): Don't allow the source operand to be sign-extended.
7273         Add alternatives for float registers.
7274         (*movdi_internal2_extend): New.  Version of movdi_internal2 that
7275         allows sign-extension.
7276         (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
7277         (movsi_internal2): Rename to movsi_internal.  Add alternatives for
7278         float registers.  Remove TARGET_DEBUG_H_MODE test.
7279         (movhi_internal1): Rename to movhi_internal.  Don't check
7280         TARGET_DEBUG_H_MODE.  Fix transposed *d and *f source constraints.
7281         (movqi_internal1): Rename to movqi_internal and remove
7282         TARGET_DEBUG_H_MODE dependency.
7283         (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
7285 2002-07-16  Jim Wilson  <wilson@redhat.com>
7287         * toplev.c (lang_dependent_init): Create function context for
7288         init_expr_once.
7290 2002-07-16  Hans-Peter Nilsson  <hp@axis.com>
7292         * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
7293         --gc-sections if -r.
7294         * config/cris/cris.h: Ditto.
7296 2002-07-16  Rodney Brown  <rbrown64@csc.com.au>
7298         * config/i386/i386.c (ix86_expand_int_movcc): In the case where
7299         the comparison directly gives a mask suppress addition when cf is
7300         zero by complementing the mask.
7302 2002-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
7304         * Makefile.in: Delete references to enquire.
7305         * enquire.c: Move to contrib.
7307 2002-07-16  Stan Shebs  <shebs@apple.com>
7309         * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
7310         config/rs6000/darwin.h.
7311         (ASM_OUTPUT_SKIP): Ditto.
7312         (TEXT_SECTION_ASM_OP): Ditto.
7313         (DATA_SECTION_ASM_OP): Ditto.
7314         (ASM_APP_ON): Define.
7315         (ASM_APP_OFF): Define.
7316         * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
7317         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
7319         * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
7320         (machopic_function_base_name): Declare result to be const.
7321         (machopic_non_lazy_ptr_name): Ditto.
7322         (machopic_stub_name): Ditto.
7323         * config/darwin-protos.h: Ditto for the prototypes.
7325 Wed Jul 17 00:22:39 CEST 2002  Jan Hubicka  <jh@suse.cz>
7327         * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
7329 Wed Jul 17 00:20:48 CEST 2002  Jan Hubicka  <jh@suse.cz>
7331         * i386.md (prefetch): Fix for 64bit mode.
7332         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
7334 Wed Jul 17 00:19:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
7336         * i386.h (MACHINE_DEPENDENT_REORG): New macro.
7337         * i386.c (x86_machine_dependent_reorg): New function.
7338         * i386-protos.h (x86_machine_dependent_reorg): Declare.
7340 2002-07-16  Zack Weinberg  <zack@codesourcery.com>
7342         * builtins.c (std_expand_builtin_va_start): Remove unused
7343         first argument.
7344         (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
7345         std_expand_builtin_va_start with just two arguments.
7346         * expr.h: Update prototypes.
7348         * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
7349         arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
7350         i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
7351         m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
7352         mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
7353         rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
7354         s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
7355         sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
7356         xtensa-protos.h, xtensa.h, xtensa.c:  Remove unused first
7357         argument from all implementations of EXPAND_BUILTIN_VA_START
7358         and all uses of std_expand_builtin_va_start.
7360 Tue Jul 16 19:32:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
7362         * regrename.c (copy_value): Don't record high part copies.
7364 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
7366         * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
7367         (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
7368         * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
7370 2002-07-16  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
7372         * doc/invoke.texi (NS32K Options): Document -mieee-compare option
7374         * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
7375         into addsi3 using register class "x" and "y".
7377         * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
7378         "earlyclobber" constraint modifier for some alternative.
7380         * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
7381         (*ble, *blt): Flag to indicate bCOND and sCOND should check for
7382         unordered.
7383         config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
7385         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
7386         (TARGET_SWITCHES): Add -mieee-compare option.
7387         (OVERRIDE_OPTIONS): 32332 is a subset of
7388         32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
7389         (TARGET_SWITCHES): Fix description of bit-field option.
7390         * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
7391         -mieee-compare option. Remove 32332 flag.
7393 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
7395         * explow.c (convert_memory_address): Remove special handling
7396         when POINTERS_EXTEND_UNSIGNED < 0.
7397         * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
7398         (movedi_symbolic): Fix typo.
7399         (load_fptr): Remove mode restriction so it works for SI and DI.
7400         (load_fptr_internal1): Ditto.
7401         (load_gprel): Ditto.
7402         (load_symptr_internal1): Ditto.
7403         (call_pic): Ditto.
7404         * config/ia64.c (call_operand): Modify mode check.
7405         (ia64_expand_load_address): Handle DI and SI addresses and symbols.
7406         (ia64_expand_move): Ditto.
7407         (ia64_assemble_integer): Handle SImode function pointers.
7408         (ia64_expand_fetch_and_op): Handle SImode mem addresses.
7409         (ia64_expand_op_and_fetch): Ditto.
7410         (ia64_expand_compare_and_swap): Ditto.
7411         (ia64_expand_lock_test_and_set): Ditto.
7412         (ia64_expand_lock_release): Ditto.
7414 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7416         * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
7418 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7419             Richard Earnshaw  <rearnsha@arm.com>
7421         * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
7422         CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF.  Simplify logic.
7424 2002-07-16  Richard Earnshaw  <rearnsha@arm.com>
7426         * arm.md (stack_tie): New insn.  Use an idiom that the alias code
7427         understands to be a memory clobber.
7428         * arm.c (arm_expand_prologue): Use it.
7430 2002-07-16  Daniel Berlin  <dberlin@dberlin.org>
7432         * ra-rewrite.c: #include reload.h, insn-config.h
7433         * ra-build.c: #include reload.h
7434         * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
7435         depend on reload.h, insn-config.h.
7437 Tue Jul 16 11:57:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
7439         * expr.c (emit_move_insn_1): Handle arbitrary moves that are
7440         the same size as a word.
7442         * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
7443         BYTES_BIG_ENDIAN into account.
7445 Tue Jul 16 12:22:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
7447         * i386.md (prefetch): Fix for 64bit mode.
7448         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
7450         * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
7452 2002-07-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
7454         * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
7456 2002-07-15  Zack Weinberg  <zack@codesourcery.com>
7458         * ginclude/varargs.h: Replace with stub which issues #error.
7459         * ginclude/stdarg.h: __builtin_stdarg_start is renamed
7460         __builtin_va_start.
7462         * builtins.def (BUILT_IN_VARARGS_START): Delete.
7463         (BUILT_IN_VA_START): New.
7464         * builtins.c (expand_builtin_va_start): Eliminate first
7465         argument and code to implement pre-ISO varargs.
7466         (std_expand_builtin_va_start): Ignore first argument; it is
7467         always 1.
7468         (expand_builtin): Handle BUILT_IN_VA_START and
7469         BUILT_IN_STDARG_START identically.  Delete
7470         BUILT_IN_VARARGS_START case.
7472         * function.c (assign_parms): Delete hide_last_arg and all
7473         its uses.
7474         (mark_varargs): Delete function.
7475         * function.h (struct function): Delete 'varargs' bit.
7476         (current_function_varargs): Delete macro.
7477         * tree.h: Don't declare mark_varargs.
7479         * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
7480         (c_expand_body): Don't call mark_varargs.
7481         * c-objc-common.c: Handle BUILT_IN_VA_START and
7482         BUILT_IN_STDARG_START identically.  Delete
7483         BUILT_IN_VARARGS_START case.
7484         * c-tree.h: Don't declare c_mark_varargs.
7485         * c-parse.in: Remove grammar rules for '&...' (which has been
7486         commented out since before 2.7.2) and for '...' in K+R
7487         argument declarations.
7489         * builtins.c, function.c, integrate.c, sibcall.c,
7490         config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
7491         config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
7492         config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
7493         config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
7494         config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
7495         config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
7496         config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
7497         config/stormy16/stormy16.c: Delete all references to
7498         current_function_varargs, and code predicated on that flag.
7500         * config/alpha/alpha.c (alpha_va_start),
7501         config/arc/arc.c (arc_va_start),
7502         config/i386/i386.c (ix86_va_start),
7503         config/mips/mips.c (mips_va_start),
7504         config/mn10300/mn10300.c (mn10300_va_start),
7505         config/rs6000/rs6000.c (rs6000_va_start),
7506         config/s390/s390.c (s390_va_start),
7507         config/sh/sh.c (sh_va_start),
7508         Ignore first argument; it is always 1.
7510         * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
7511         * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
7512         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
7513         Delete m68hc11_va_start.
7514         * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
7515         No need to define EXPAND_BUILTIN_VA_START.
7517         * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
7518         doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
7520 2002-07-15  Eric Botcazou  <ebotcazou@multimania.com>
7522         PR optimization/7153
7523         * regmove.c (optimize_reg_copy_3): Don't optimize if the register
7524         dies in more than one insn.
7526 2002-07-15  Jason Thorpe  <thorpej@wasabisystems.com>
7528         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
7530 2002-07-15  Michael Matz  <matz@suse.de>,
7531             Daniel Berlin  <dberlin@dberlin.org>,
7532             Denis Chertykov  <denisc@overta.ru>
7534         Add a new register allocator.
7536         * ra.c: New file.
7537         * ra.h: New file.
7538         * ra-build.c: New file.
7539         * ra-colorize.c: New file.
7540         * ra-debug.c: New file.
7541         * ra-rewrite.c: New file.
7543         * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
7544         (ra-rewrite.o): New .o files for libbackend.a.
7545         (GTFILES): Add basic-block.h.
7547         * toplev.c (flag_new_regalloc): New.
7548         (f_options): New option "new-ra".
7549         (rest_of_compilation): Call initialize_uninitialized_subregs()
7550         only for the old allocator.  If flag_new_regalloc is set, call
7551         new allocator, instead of local_alloc(), global_alloc() and
7552         friends.
7554         * doc/invoke.texi: Document -fnew-ra.
7555         * basic-block.h (FOR_ALL_BB): New.
7556         * config/rs6000/rs6000.c (print_operand): Write small constants
7557         as @l+80.
7559         * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
7560         (df_reg_table_realloc): Make size at least as large as max_reg_num().
7561         (df_insn_table_realloc): Size argument now is absolute, not relative.
7562         Changed all callers.
7564         * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
7565         * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
7567         2002-06-20  Michael Matz  <matz@suse.de>
7569         * df.h (struct ref.id): Make unsigned.
7570         * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
7572         2002-06-13  Michael Matz  <matz@suse.de>
7574         * df.h (DF_REF_MODE_CHANGE): New flag.
7575         * df.c (df_def_record_1, df_uses_record): Set this flag for refs
7576         involving subregs with invalid mode changes, when
7577         CLASS_CANNOT_CHANGE_MODE is defined.
7579         2002-05-07  Michael Matz  <matz@suse.de>
7581         * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
7583         2002-05-03  Michael Matz  <matz@suse.de>
7585         * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
7587         Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>
7589         * regclass.c (regclass): Work with all regs which have sets or
7590         refs.
7591         (reg_scan_mark_refs): Count regs inside (clobber ...).
7593         2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>
7595         * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
7596         (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
7597         add new refs.
7598         (df_bb_refs_update): Don't clear insns_modified here, ...
7599         (df_analyse): ... but here.
7601         * sbitmap.c (dump_sbitmap_file): New.
7602         (debug_sbitmap): Use it.
7604         * sbitmap.h (dump_sbitmap_file): Add prototype.
7606         2001-08-07  Daniel Berlin  <dan@cgsoftware.com>
7608         * df.c (df_insn_modify): Grow the UID table if necessary, rather
7609         than assume all emits go through df_insns_modify.
7611         2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
7613         * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
7614         increase REG_N_REFS (like flow does), so that regclass doesn't
7615         think a reg is useless, and thus, not calculate a class, when it
7616         really should have.
7618         2001-01-28  Daniel Berlin  <dberlin@redhat.com>
7620         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
7621         dataflow analysis.
7623 2002-07-15  Jakub Jelinek  <jakub@redhat.com>
7625         PR middle-end/7245
7626         * config/i386/i386.c (const_int_1_31_operand): New.
7627         * config/i386/i386.h (PREDICATE_CODES): Add it.
7628         * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
7629         ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
7630         lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
7632 2002-07-14  Alan Modra  <amodra@bigpond.net.au>
7634         PR target/7282
7635         * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
7636         (floatunssidf2): Likewise.
7637         (floatsidf_ppc64): New insn_and_split.
7638         (floatunssidf_ppc64): Likewise.
7640 2002-07-14  Andreas Jaeger  <aj@suse.de>
7642         * config.gcc (sh64): Remove unused
7643         target_requires_64bit_host_wide_int.
7645 2002-07-12  Roger Sayle  <roger@eyesopen.com>
7647         * expr.c [CLEAR_RATIO]: New macro defining the maximum number
7648         of move instructions to use when clearing memory, c.f. MOVE_RATIO.
7649         [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
7650         whether clear_by_pieces should be used to clear storage.
7651         (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
7653         * doc/tm.texi: Document these two new target macros.
7655 2002-07-12  Stephane Carrez  <stcarrez@nerim.fr>
7657         * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
7658         the scratch register.
7659         ("*movhi2_push"): Accept Z_REG because a split pattern can make use
7660         of it, forbid reload to use it.
7662 2002-07-12  Marek Michalkiewicz  <marekm@amelek.gda.pl>
7664         * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
7665         usage on 64-bit hosts, return value was truncated to 32 bits.
7667 Fri Jul 12 00:49:36 2002  J"orn Rennecke <joern.rennecke@superh.com>
7669         * simplify-rtx.c (simplify_subreg): Handle floating point
7670         CONST_DOUBLEs.  When an integer subreg of a smaller mode than
7671         the element mode is requested, compute a subreg with an
7672         integer mode of the same size as the element mode first.
7674 Thu Jul 11 22:02:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
7676         * combine.c (try_combine): When converting a paradoxical subreg
7677         to an extension, take LOAD_EXTEND_OP into account.
7679 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7681         * config.gcc (mips-sgi-irix6*o32): New configuration.
7683         * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
7684         configurations.
7685         * configure: Regenerate.
7687         * config/mips/iris6-o32-as.h: New file.
7688         * config/mips/iris6-o32.h: New file.
7690         * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
7691         (NM_FLAGS): Define.
7692         (HAVE_AS_SHF_MERGE): Undefine.
7694         * config/mips/t-iris5-as: New file.
7695         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
7697         * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
7698         SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
7699         SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
7700         dp-bit.c, fp-bit.c): Move ...
7701         * config/mips/t-iris5-6: ... here.
7702         New file, shared by IRIX 5 and IRIX 6.
7703         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
7704         mips-sgi-irix5*): Use it.
7706         * config/mips/iris6.h: Remove duplicate comment.
7708         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
7709         !TARGET_IRIX6]: Define.
7710         (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
7712         * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
7714 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7716         * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
7717         and delete code to force constant to register.
7718         * pa-protos.h (adddi3_operand): Add prototype.
7719         * pa.c (adddi3_operand): New function.
7721 2002-07-11  Roger Sayle  <roger@eyesopen.com>
7723         * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
7724         non-ANSI builtin functions.
7726 Thu Jul 11 11:31:12 2002  J"orn Rennecke <joern.rennecke@superh.com>
7728         * rtl.h (gen_rtx_CONST_VECTOR): Declare.
7729         * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
7730         * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
7731         (gen_const_vector_0): Use it.
7733 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7735         * pa.md (adddi3): For 32-bit targets, force constants to a register
7736         if they don't fit in an 11-bit immediate.  Change insn predicate to
7737         arith11_operand.  Remove comment.
7738         * pa.c (cint_ok_for_move): Fix comment.
7739         (emit_move_sequence):  Don't directly split DImode constants on 32-bit
7740         targets.
7742 2002-07-11  Tim Josling  <tej@melbpc.org.au>
7744         Remove front end hard coding from gengtype.c.
7746         * Makefile.in
7747         (STAGESTUFF): add gtyp-gen.h
7748         (GTFILES): Remove front end specific files.
7749         (GTFILES_FILES_LANGS): New, from configure..
7750         (GTFILES_FILES_FILES): Likewise.
7751         (GTFILES_LANG_DIR_NAMES): Likewise.
7752         (GTFILES_SRCDIR): Likewise.
7753         (gtyp-gen.h): Build from configure information.
7754         (s-gtype): Remove command line parameters from gengtype.
7755         (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
7756         (mostlyclean): Delete files generated by and for gengtype.
7758         * c-config-lang.in: New file.
7760         * configure.in (all_gtfiles_files_langs): New. Accumulate files
7761         for each language.
7762         (all_gtfiles_files_files): New. Accumulate language for each file
7763         accumulated.
7764         (gtfiles): Pick up value for C.
7765         (srcdir): AC-SUBST this variable.
7766         (all_gtfiles_files_langs): AC-SUBST this variable.
7767         (all_gtfiles_files_files): AC-SUBST this variable.
7769         * configure: Regenerate.
7771         * gengtype-lex.l (parse_file): Make parameter const.
7773         * gengtype.c (toplevel): include gtyp-gen.h.
7774         (BASE_FILE_<language> unnamed enum): Delete.
7775         (lang_names): Delete (replaced by gtyp-gen.h)
7776         (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
7777         all references.
7778         (NUM_GT_FILES): New.
7779         (NUM_LANG_FILES): New.
7780         (srcdir_len): New.
7781         (NUM_BASE_FILES): Change calculation.
7782         (open_base_files): Change prototype to avoid warning.
7783         (startswith): Delete.
7784         (get_file_basename): Iterate through generated language list not
7785         hard coded list.
7786         (get_base_file_bitmap): Use generated list of files and languages.
7787         (close_output_files): Add prototype to rmove warning.
7788         (main): Iterate through list of generated files from gtyp-gen.h
7789         rather than command line paramaters.  Ignore duplicated file
7790         names.
7792         * gengtype.h (parse_file): Amend prototype for const parameter.
7794         * doc/sourcebuild.texi: Document gtfiles variable.
7796         * doc/gty.texi: Document changes to gtfiles variable for front
7797         ends.
7799         * objc/config-lang.in (gtfiles): Add files needed for objc front
7800         end.
7802 2002-07-10  Roger Sayle  <roger@eyesopen.com>
7804         PR c/2454
7805         * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
7806         to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.
7808 2002-07-10  Roger Sayle  <roger@eyesopen.com>
7809             Zack Weinberg <zack@codesourcery.com>
7811         * builtins.def: Make the argument types of abort and exit
7812         independent of the front-end.
7814 2002-07-11  Alan Modra  <amodra@bigpond.net.au>
7816         * config/rs6000/linux64.h (ASM_SPEC): Define.
7818 2002-07-10  Aldy Hernandez  <aldyh@redhat.com>
7820         * config/rs6000/rs6000.c (emit_frame_save): New.
7821         (rs6000_frame_related): Replace reg2 before reg.
7822         (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
7823         and eh_return registers.
7825 2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>
7827         Revert all patches for optimization of Complex .op. Real.
7828         * complex_part_zero_p: Remove
7829         * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
7830         with x.
7831         * expand_cmplxdiv_wide: Ditto.
7832         * expand_binop: Ditto.
7834 2002-07-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
7836         * config/avr/avr.md: Fix two 0x80000000 constants to make them
7837         negative also on 64-bit hosts.
7839         Default to -fno-reorder-blocks when optimizing for size.
7840         * config/avr/avr-protos.h (avr_optimization_options): Declare.
7841         * config/avr/avr.c (avr_optimization_options): New function.
7842         * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
7844         Optimize returning from simple functions.
7845         * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
7846         * config/avr/avr.c (avr_simple_epilogue): New function.
7847         * config/avr/avr.md (return): New insn.
7849 2002-07-10  Douglas B Rupp  <rupp@gnat.com>
7851         * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
7852         HAS_INIT_SECTION to protection.
7854 2002-07-10  Mark Mitchell  <mark@codesourcery.com>
7856         * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
7857         deprecated.
7859 Wed Jul 10 19:50:03 2002  J"orn Rennecke <joern.rennecke@superh.com>
7861         * combine.c (gen_lowpart_for_combine): Handle vector modes.
7862         Supply non-VOID mode to simplify_gen_subreg.
7864 Wed Jul 10 18:48:55 CEST 2002  Jan Hubicka  <jh@suse.cz>
7866         * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
7868 2002-07-10  Jeffrey A Law  <law@redhat.com>
7870         * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
7871         as appropriate.
7873         * mn10200.c (expand_epilogue): Fix test to determine which scratch
7874         register to use.
7876 Wed Jul 10 16:06:00 2002  J"orn Rennecke <joern.rennecke@superh.com>
7878         * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
7879         Get mode from dest.
7880         If simplify_gen_subreg fails, try next equivalent.
7882 2002-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
7884         * diagnostic.h: #include location.h
7885         (location_t): Move definition to..
7886         * location.h: ... here.  New file.
7887         * tree.h: #include location.h
7888         (DECL_SOURCE_LOCATION): New macro.
7889         (DECL_SOURCE_FILE): Use.
7890         (DECL_SOURCE_LINE): Likewise.
7891         (struct tree_decl): REplace filename and linenum with locus.
7892         * Makefile.in (TREE_H): add location.h
7893         (diagnostic.o): Depends on gt-location.h
7894         (gt-location.h): Depends on s-gtype
7896 2002-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
7898         * config/rs6000/aix.h: Convert CPP_PREDEFINES to
7899         TARGET_OS_CPP_BUILTINS.
7900         * config/rs6000/aix31.h: Likewise.
7901         * config/rs6000/aix41.h: Likewise.
7902         * config/rs6000/aix43.h: Likewise.
7903         * config/rs6000/aix51.h: Likewise.
7904         * config/rs6000/beos.h: Likewise.
7905         * config/rs6000/darwin.h: Likewise.
7906         * config/rs6000/eabi.h: Likewise.
7907         * config/rs6000/eabisim.h: Likewise.
7908         * config/rs6000/linux.h: Likewise.
7909         * config/rs6000/linux64.h: Likewise.
7910         * config/rs6000/lynx.h: Likewise.
7911         * config/rs6000/mach.h: Likewise.
7912         * config/rs6000/rtems.h: Likewise.
7913         * config/rs6000/sysv4.h: Likewise.
7914         * config/rs6000/vxppc.h: Likewise.
7916 2002-07-09 Devang Patel <dpatel@apple.com>
7917         * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
7918         Do not allow ObjC objects as a parameter type for Objective-C methods.
7919         My previous patch restricted  'struct' also.
7921 2002-07-09  Neil Booth  <neil@daikokuya.co.uk>
7923         * cpperror.c (cpp_error): Default to directive_line within
7924         directives here.
7925         * cppexp.c (cpp_interpret_integer): Only use traditional
7926         number semantics in directives.
7927         * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
7928         (do_include_common): Similarly.
7929         * cpptrad.c (scan_out_logical_line): Implement accurate
7930         quoting of <> in #include.
7931         * doc/cpp.texi: Update.
7933 Tue Jul  9 22:37:44 2002  Stephen Clarke <stephen.clarke@superh.com>
7934                           J"orn Rennecke <joern.rennecke@superh.com>
7936         * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
7937         * sh.md (attribute issues): Replace with:
7938         (attribute pipe_model).  All users changed.
7939         (attribute type): Change pt / ptabs to pt_media / ptabs_media.
7940         All users changed.
7941         (function units sh5issue, sh5fds): New.
7942         (attribute is_mac_media): New.
7943         (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
7944         (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
7945         (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
7946         (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
7947         (call_media, call_value_media, sibcall_media): Likewise.
7948         (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
7949         (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
7950         (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
7951         (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
7952         (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
7953         (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
7954         (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
7955         (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
7956         (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
7957         (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
7958         (truncdfsf2_media): Likewise.
7959         (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
7960         (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
7962 Tue Jul  9 21:39:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
7964         * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
7965         * sh.c (general_extend_operand, inqhi_operand): New functions.
7966         * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
7967         alternatives using 'N' modifier.  Add type.
7968         (adddi3z_media): Likewise.  Enable generator function generation.
7969         (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
7970         exact predicates / constraints.  Add type.
7971         (subsi3): Allow 0 for SHMEDIA.
7972         (udivsi3_i4_media): Use match_operand for input values
7973         rather than hard registers.
7974         (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
7975         unnecessarily through hard registers.  Keep copies of pseudo
7976         registers outside of the libcall sequence.
7977         (mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
7978         (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
7979         (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
7980         (extendhidi2, extendqidi2): Likewise.
7981         (andsi3_compact): Name.
7982         (andcdi3): Enable generator function generation.
7983         (zero_extendhisi2, zero_extendqisi2): Rename to
7984         (zero_extendhisi2_compact, zero_extendqisi2_compact).
7985         (extendhisi2, extendqisi2): Rename to
7986         (extendhisi2_compact, extendqisi2_compact).
7987         (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
7988         (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
7989         (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
7990         (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
7991         (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
7992         (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
7993         (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
7994         (shmedia32_initialize_trampoline_big): Likewise.
7995         (shmedia32_initialize_trampoline_little): Likewise.
7996         (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
7997         (negdi2): Remove spurious T clobber.
7998         (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
7999         (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
8000         (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
8001         (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
8002         (ic_invalidate_line_media): Write back data cache before invalidating
8003         instruction cache.  Add type.
8004         (movsf_media): Sign-extend when the destination is a general
8005         purpose register.  Add type.
8006         (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
8007         (casesi_worker_0+1): Only increment ref count for proper label.
8008         (casesi_worker_0+2): Likewise.
8010 2002-07-09  Mark Mitchell  <mark@codesourcery.com>
8012         * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
8014 2002-07-09  Steve Ellcey  <sje@cup.hp.com>
8016         * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
8017         from Pmode to ptr_mode.
8018         (get_exception_pointer): Ditto.
8019         (connect_post_landing_pads): Ditto.
8020         (dw2_build_landing_pads): Ditto.
8022 2002-07-08  Steve Ellcey  <sje@cup.hp.com>
8023         * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
8024         * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
8025         (handle_pragma_redefine_extname): Change to use new function.
8027 2002-07-08  Roger Sayle  <roger@eyesopen.com>
8029         * combine.c (combine_simplify_rtx): Add an explicit cast
8030         to avoid signed/unsigned comparison warning.
8031         (simplify_if_then_else): Likewise.
8032         (extended_count): Likewise.
8033         (simplify_shift_const): Likewise.
8034         (simplify_comparison): Likewise.
8036 2002-07-08  Richard Sandiford  <rsandifo@redhat.com>
8038         * config/mips/mips.md: Add imadd type.  Update scheduler description
8039         to use imadd as well as imul.
8040         (*mul_acc_si, *madsi): Change imul alternatives to imadd.
8041         (*mul_acc_di, *mul_acc_64bit_di): Likewise.
8042         (*mul_sub_si): Likewise for first alternative.  Change second
8043         alternative from imul to multi.
8045 2002-07-07  Neil Booth  <neil@daikokuya.co.uk>
8047         * c-common.c (c_common_post_options): Update prototype;
8048         don't init backends if preprocessing only.
8049         * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
8050         * langhooks.h (struct lang_hooks): Update post_options to
8051         return a boolean.
8052         * toplev.c (parse_options_and_default_flags, do_compile,
8053         lang_independent_init): Update prototypes.  Allow the
8054         front end to specify that there is no need to initialize
8055         the back end.
8056         (general_init): Move call to hex_init here...
8057         (toplev_main): ...from here.  Pass flag for back end init
8058         suppression.
8060 Sun Jul  7 20:38:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
8062         * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
8063         (PREDICATE_CODES): Add entries for equality_comparison_operator,
8064         greater_comparison_operator and less_comparison_operator.
8065         * sh.c (print_operand): Add '\'' code.  Make 'o' handle
8066         more operators.
8067         (equality_comparison_operator): New function.
8068         (greater_comparison_operator, less_comparison_operator): Likewise.
8069         * sh.md (beq_media_i): Disable generator function generation.
8070         Use match_operator to handle a whole class of comparisons.  Add
8071         modifier in output template to provide branch prediction.  Add type.
8072         (bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
8073         (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
8074         (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
8075         (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
8077 2002-07-07  Hans-Peter Nilsson  <hp@bitrange.com>
8079         Emit MMIX function prologue and epilogue as rtl.
8080         * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
8081         not unprototyped get_hard_reg_initial_val.
8082         ("call_value", "nonlocal_goto_receiver"): Ditto.
8083         ("return"): Make define_expand.  Move real insn to...
8084         ("*expanded_return"): New pattern.
8085         ("prologue", "epilogue"): New define_expands.
8086         * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
8087         (struct machine_function): New member in_prologue.
8088         (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
8089         (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
8090         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
8091         (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
8092         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
8093         (LOCAL_REGNO): Define.  Adjust comment.
8094         * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
8095         Consider regs_ever_live[MMIX_rJ_REGNUM], not just
8096         leaf_function_p.
8097         (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
8098         the prologue.
8099         (mmix_target_asm_function_prologue): Make static.  Just mark that
8100         the prologue is being emitted.  Move guts to...
8101         (mmix_expand_prologue): New function.  Adjust for emitting
8102         prologue as rtl.  For sizes, use HOST_WIDE_INT only.
8103         (mmix_target_asm_function_epilogue): Make static.  Simply emit a
8104         \n.  Move guts to...
8105         (mmix_expand_epilogue): New function.  Adjust for emitting
8106         epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
8107         (mmix_target_asm_function_end_prologue): Mark that the prologue
8108         has ended.
8109         (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
8110         (mmix_conditional_register_usage): Improve comments.
8111         (mmix_local_regno): New function.
8112         (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
8113         * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
8114         (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
8115         (mmix_get_hard_reg_initial_val): Ditto.
8117 2002-07-06  Andreas Jaeger  <aj@suse.de>
8119         * toplev.c (set_fast_math_flags): Don't use ISO C style function
8120         definitions.
8121         * gengtype.c (open_base_files): Likewise.
8122         (close_output_files): Likewise.
8123         * tracer.c (find_best_predecessor): Likewise.
8124         (find_best_successor): Likewise.
8125         (ignore_bb_p): Likewise.
8127 2002-07-05  Roger Sayle  <roger@eyesopen.com>
8129         PR c++/7099
8130         * builtin-attrs.def: Define new attribute lists for use in
8131         builtins.def.
8132         * builtins.def [DEF_BUILTIN]: Modify to take an additional
8133         ATTRS argument, an enumerated value defined in builtin-attrs.def
8134         that represents the attribute list for the builtins.  Modify
8135         all builtin functions to pass an appropriate attribute list.
8136         Specify "abort", "exit", "_exit" and "_Exit" builtins here with
8137         their required noreturn attributes.
8138         * tree.h (enum_builtin_function): Ignore the additional parameter
8139         to DEF_BUILTIN.
8140         * builtins.c (built_in_names): Likewise.
8141         * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
8142         argument with a tree representing the functions attribute list.
8143         Pass this "attrs" argument to builtin_function.  No longer handle
8144         the noreturn_p processing manually.
8145         (built_in_attributes): Move the definitions from builtin-attrs.def
8146         before c_common_nodes_and_builtins.
8147         (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
8148         DEF_BUILTIN, passing it to both builtin_function and the changed
8149         builtin_function_2.
8151         * doc/extend.texi: Document __builtin_abort, __builtin_exit,
8152         __builtin__exit and __builtin__Exit.
8154 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
8156         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
8157         QI mode registers in soft registers.
8158         ("zero_extendqihi2"): Do not take into account soft registers
8159         for register allocation (use '*' constraint).
8161 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
8163         * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
8164         it is dead.
8165         ("*ashrsi3"): Likewise.
8166         ("*lshrsi3"): Likewise.
8168 2002-07-05  Vladimir Makarov  <vmakarov@redhat.com>
8170         * genautomata.c (output_max_insn_queue_index_def): Take latencies
8171         into account.
8173 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
8175         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
8176         address computation and memory moves.
8178 2002-07-03  Mark Mitchell  <mark@codesourcery.com>
8180         PR c++/6706
8181         * dwarfout.c (output_reg_number): Fix warning message.
8182         (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
8183         before using it.
8185 2002-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8187         * gcc/gcc.c (asm_debug): Move initialization ...
8188         (init_spec): ... here.
8190 2002-07-05  Nathan Sidwell  <nathan@codesourcery.com>
8192         * c-parse.in (extdef): Append ';'.
8193         (old_style_parm_decls): Append ';'.
8195 2002-07-04  Daniel Jacobowitz  <drow@mvista.com>
8197         * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
8198         gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
8199         to gcc_cv_as_gstabs_flag.
8200         * configure: Rebuilt.
8202 2002-07-04  Geoffrey Keating  <geoffk@redhat.com>
8204         * ggc.h (ggc_add_root): Document as obsolete.
8206 Thu Jul  4 07:58:01 2002  J"orn Rennecke <joern.rennecke@superh.com>
8208         * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
8209         (mshflo_w): Likewise.
8211 Thu Jul  4 07:36:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
8213         * simplify-rtx.c (simplify_subreg): Reduce problem of finding
8214         vector mode subregs of constants to finding integer mode
8215         subregs of constants.
8216         * cse.c (cse_insn): Use simplify_gen_subreg.
8217         * convert.c (convert_to_integer): Don't strip a NOP_EXPR
8218         From a vector mode expression of different size than the
8219         target mode.
8221 2002-07-03  Eric Christopher  <echristo@redhat.com>
8223         * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
8224         * config/mips/mips.h: Remove deprecated -m<processor> options
8225         and cc1_cpu_spec associated.
8226         (CONSTANT_ADDRESS_P): Fix last patch.
8227         (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
8228         * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
8229         sunge_sf): Remove.
8231 2002-07-03  Stan Shebs  <shebs@apple.com>
8233         * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
8234         (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
8235         (CPP_SPEC): Remove insertion of APPLE_CC definition.
8237 2002-07-03  Roger Sayle  <roger@eyesopen.com>
8239         * combine.c (struct_undo): Change types of recorded substitutions
8240         to be either "int" or "rtx", instead of "unsigned int" and "rtx".
8241         (do_SUBST_INT): Change types of the substitution from unsigned int
8242         to int, to avoid compilation warning from SUBST_INT's only caller.
8244         (make_extraction): Add cast to avoid compilation warning.
8245         (force_to_mode): Remove cast to avoid compilation warning.
8247 2002-07-03  Eric Botcazou  <ebotcazou@multimania.com>
8248             Jeff Law  <law@redhat.com>
8250         * i386.md (length_immediate attribute): Fix typo.
8251         (length_address attribute): Likewise.
8252         (modrm attribute): Set it to 0 for immediate call instructions.
8253         (jcc_1 pattern): Set modrm attribute to 0.
8254         (jcc_2 pattern ): Likewise.
8255         (jump pattern): Likewise.
8256         (doloop_end_internal pattern): Explicitly set length.
8257         (leave pattern): Fix typo.
8258         (leave_rex64 pattern): Likewise.
8260 2002-07-03  David Edelsohn  <edelsohn@gnu.org>
8262         * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
8263         in FPR as preference.
8264         (fctiwz): Same.
8265         (floatdidf2, fix_truncdfdi2): Same.
8266         (floatdisf2, floatditf2, fix_trunctfdi2): Same.
8267         (floatditf2): Same.
8268         (floatsitf2, fix_trunctfsi2): SImode in GPR.
8269         (ctrdi): Remove FPR alternative and splitter.
8271 2002-07-03  Will Cohen  <wcohen@redhat.com>
8273         * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
8275 Wed Jul  3 10:24:16 2002  J"orn Rennecke <joern.rennecke@superh.com>
8277         * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
8278         than UNITS_PER_WORD, unless this is little endian and the first unit
8279         in this word.  Let extract_bit_field decide how to load an element.
8280         Force arguments to matching mode.
8281         (expand_vector_unop): Likewise.
8283         * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
8284         consist of word_mode elements.
8285         * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
8286         BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
8287         (build_unary_op): Allow vector types for BIT_NOT_EPR.
8288         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
8289         CONST_VECTOR.
8290         * optabs.c (expand_vector_binop): Try to perform operation in
8291         smaller vector modes with same inner size.  Add handling of AND, IOR
8292         and XOR.  Reject expansion to inner-mode sized scalars when using
8293         OPTAB_DIRECT.  Use simplify_gen_subreg on constants.
8294         (expand_vector_unop): Try to perform operation in smaller vector
8295         modes with same inner size.  Add handling of one's complement.
8296         When there is no vector negate operation, try a vector subtract
8297         operation.  Use simplify_gen_subreg on constants.
8298         * simplify-rtx.c (simplify_subreg): Add capability to convert vector
8299         constants into smaller vectors with same inner mode, and to
8300         integer CONST_DOUBLEs.
8302 2002-07-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8304         * c-parse.in (parsing_iso_function_signature): New variable.
8305         (extdef_1): New, copied from...
8306         (extdef): ... here.  Reset parsing_iso_function_signature.
8307         (old_style_parm_decls):  Reset parsing_iso_function_signature.
8308         (old_style_parm_decls_1): New, copied from old_style_parm_decls.
8309         Warn about ISO C style function definitions.
8310         (nested_function, notype_nested_function): Reset
8311         parsing_iso_function_signature.
8312         (parmlist_2): Set parsing_iso_function_signature.
8314         * doc/invoke.texi (-Wtraditional): Document new behavior.
8316 2002-07-02  Chris Demetriou  <cgd@broadcom.com>
8318         * config.gcc (mips*el-*-*): Use tm_defines to set
8319         TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
8320         * config/mips/little.h: Remove.
8322 2002-07-02 Devang Patel <dpatel@apple.com>
8324         * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
8325         object as parameter. Prevent something like 'NSObject' to be
8326         used as the type for a method argument.
8328 2002-07-03  Neil Booth  <neil@daikokuya.co.uk>
8330         * cpptrad.c: Update comment.
8332 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
8334         * doc/cpp.texi: Update for traditional preprocessing changes.
8335         * goc/cppopts.texi: Similarly.
8337 2002-07-02  Ziemowit Laski  <zlaski@apple.com>
8339         * c-parse.in (designator): Enable designated initializers if ObjC.
8340         (objcmessageexpr): Remove references to objc_receiver_context.
8341         * objc/objc-act.h (objc_receiver_context): Remove decl.
8342         * objc/objc-act.c (objc_receiver_context): Remove.
8343         (lookup_objc_ivar): Test objc_method_context instead of
8344         objc_receiver_context.
8346 Tue Jul  2 18:45:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
8348         * sh.c (print_operand, case 'N'): Allow zero vector.
8349         (arith_reg_or_0_operand): Likewise.
8350         (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
8351         * sh.h (CONST_COSTS): 0 has 0 cost.  Check OUTER_CODE for
8352         IOR, XOR, PLUS and SET and take their respective constant
8353         ranges into account.
8354         (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
8355         * sh.md (subdi3, subdi3_media): Allow zero operand.
8356         (movv8qi_i+3): Only vector that is not split is the zero vector.
8357         Fix operand 3 to simplify_subreg.
8358         (movv2si_i): Split alternative 1.
8359         (mshfhi_l_di_rev+1): New splitter.
8361 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
8363         PR preprocessor/7029
8364         * cppinit.c (cpp_handle_option):  Suppress warnings with an
8365         implicit "-w" for "-M" and "-MM".
8366         * doc/cppopts.texi: Update.
8368 2002-07-01  Roger Sayle  <roger@eyesopen.com>
8370         * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
8371         identifier "bzero" to "memset".  Pass extra NULL_TREE argument to
8372         builtin_function.
8374 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
8376         * README.Portability: Fix typos.
8378 2002-07-01  Hans-Peter Nilsson  <hp@axis.com>
8380         PR target/7177
8381         * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
8382         of indirections for register inside sign-extended mem part.
8384 2002-07-01  Roger Sayle  <roger@eyesopen.com>
8386         * tree.h:  Modify builtin_function interface to take an extra
8387         argument ATTRS, which is a tree representing an attribute list.
8389         * c-decl.c (builtin_function): Accept additional parameter.
8390         * objc/objc-act.c (builtin_function): Likewise.
8391         * f/com.c (builtin_function): Likewise.
8392         * java/decl.c (builtin_function): Likewise.
8393         * ada/utils.c (builtin_function): Likewise.
8394         * cp/decl.c (builtin_function): Likewise.
8395         (builtin_function_1): Likewise.
8397         * c-common.c (c_common_nodes_and_builtins): Pass an additional
8398         NULL_TREE argument to builtin_function.  (builtin_function_2):
8399         Likewise.
8400         * cp/call.c (build_java_interface_fn_ref): Likewise.
8401         * objc/objc-act.c (synth_module_prologue): Likewise.
8402         * java/decl.c (java_init_decl_processing): Likewise.
8403         * f/com.c (ffe_com_init_0): Likewise.
8405         * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
8406         NULL_TREE argument to builtin_function.
8407         * config/arm/arm.c (def_builtin): Likewise.
8408         * config/c4x/c4x.c (c4x_init_builtins): Likewise.
8409         * config/i386/i386.c (def_builtin): Likewise.
8410         * config/ia64/ia64.c (def_builtin): Likewise.
8411         * config/rs6000/rs6000.c (def_builtin): Likewise.
8413 2002-07-01  Zack Weinberg  <zack@codesourcery.com>
8415         * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
8416         * config/mips/t-isa3264: Likewise.
8417         * config/mmix/t-mmix: Likewise.
8419 2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8421         * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
8423 2002-07-01  Roger Sayle  <roger@eyesopen.com>
8425         PR opt/4046
8426         * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
8427         A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
8428         B are truth values.
8430 2002-07-01  Nathanael Nerode  <neroden@gcc.gnu.org>
8432         * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
8434 2002-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
8436         * README.Portability (Function prototypes): Give an example of
8437         declaring and defining a function with no arguments.
8439         * README.Portability (Function prototypes): Document new
8440         variable-argument function macros.
8442 Mon Jul  1 19:55:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
8444         * sh.c (langhooks.h): Include.
8445         (sh_init_builtins, sh_media_init_builtins): New functions.
8446         (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
8447         (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
8448         (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
8449         (builtin_description): New struct tag.
8450         (signature_args, bdesc): New arrays.
8451         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
8452         (print_operand): Add 'N' modifier.
8453         * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
8454         (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
8455         (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
8456         (CONST_COSTS): Add special case for SHmedia AND.
8457         (PREDICATE_CODES): Add and_operand, arith_reg_dest,
8458         extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
8459         sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
8460         target_operand can also be const or unspec.
8461         * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
8462         (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
8463         (attribute type): Add new types.
8464         (anddi3): Add splitter.
8465         (movdi_const_16bit+1): Add code to handle vector constants and
8466         bitmasks efficiently.
8467         (shori_media): Have generator function made.
8468         (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
8469         (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
8470         (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
8471         (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
8472         (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
8473         (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
8474         (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
8475         (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
8476         (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
8477         (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
8478         (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
8479         (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
8480         (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
8481         (mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
8482         (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
8483         (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
8484         (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
8485         (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
8486         (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
8487         (ftrv): Likewise.
8489         (fpu_switch+1, fpu_switch+2): Remove constraint.
8491 2002-07-01  Aldy Hernandez  <aldyh@redhat.com>
8493         * tree.c (build_function_type_list): Update function comment.
8494         Rename first argument to return_type.
8496 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
8498         * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
8499         tradcif.y and related files.
8501 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
8503         * cpptrad.c (skip_whitespace): Pass pointer to prior char.
8505 2002-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8507         * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
8509 See ChangeLog.7 for earlier changes.