* dwarf2out.c (size_of_die): Compute size of external reference to
[official-gcc.git] / gcc / ChangeLog
blob6cb5a3841b67b05806e089390b13f23d54493f60
1 2003-03-06  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3         * dwarf2out.c (size_of_die): Compute size of external reference to
4         die correctly.
6 2003-03-06  Hans-Peter Nilsson  <hp@bitrange.com>
8         * config/mmix/mmix.md ("*movcc_expanded"): New pattern.
9         ("movcc", "movcc_uns", "movcc_fp", "movcc_fpeq", "movcc_fun"): New
10         expanders.
12 2003-03-05  Roger Sayle  <roger@eyesopen.com>
14         * expr.h (lang_expand_expr): Delete obsolete prototype.
16 2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
18         * emit-rtl.c (gen_highpart_mode): Fix a comment typo.
20 2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
22         * config/h8300/h8300.md (a peephole2): Generalize to
23         accept a memory operand.
25 Wed Mar  5 19:34:18 2003  Olivier Hainque <hainque@act-europe.fr>
27         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '+'.
28         * config/alpha/alpha.c (print_operand, case '+'): New.
29         * config/alpha/alpha.md (call_osf_1_noreturn): Document and use.
30         (call_value_osf_1_noreturn): Likewise.
32 Wed Mar  5 18:55:02 2003  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
34         * stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN.
35         (expand_end_bindings): Likewise.
37 2003-03-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
39         * pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
40         (epilogue): Don't generate return_external_pic when emitting PA 2.0
41         code.
43 2003-03-05  Aldy Hernandez  <aldyh@redhat.com>
45         * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
47         * config/rs6000/rs6000.c (rs6000_dwarf_register_span): New.
49         * hooks.c (hook_rtx_rtx_null): New.
51         * hooks.h (hook_rtx_rtx_null): Protoize.
53         * target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro.
54         (TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN.
56         * target.h (struct gcc_target): Add dwarf_register_span.
58         * dwarf2out.c (multiple_reg_loc_descriptor): New.
59         (one_reg_loc_descriptor): New.
60         (reg_loc_descriptor): Add support for values that span more than
61         one register.
63 Wed Mar  5 23:16:57 CET 2003  Jan Hubicka  <jh@suse.cz>
65         * Makefile.in (calls.o, toplev.o alias.o): Depend on cgraph.h
66         * alias.c:  Include cgraph.h
67         (mark_constant_function): Use cgraph_rtl_info.
68         * calls.c:  Include cgraph.h
69         (flags_from_decl_or_type): Use cgraph_rtl_info to find pure and const
70         calls.
71         (expand_call): Use cgraph_rtl_info to set preferred stack boundary.
72         * cgraph.c (cgraph_rtl_info): New function.
73         * cgraph.h (cgraph_rtl_info): Declare
74         (cgraph_rtl_info): Likewise.
75         * function.h (struct function): Add recursive_call_emit.
76         * toplev.c: Include cgraph.h.
77         (rest_of_compilation): Set preferred_incoming_stack_boundary.
79 2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
81         * config/h8300/h8300.c (output_simode_bld): Clear the
82         destination first if possible.
83         * config/h8300/h8300.md (extzv_1_r_h8300hs): Add an
84         alternative.
85         (extzv_1_r_inv_h8300hs): Likewise.
87 2003-03-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
89         * basic-block.h (EDGE_IRREDUCIBLE_LOOP, EDGE_ALL_FLAGS): New.
90         * cfg.c (dump_edge_info): Add EDGE_IRREDUCIBLE_LOOP flag dump.
91         * cfgloop.c (flow_loop_free): Made global.
92         (establish_preds): New static function.
93         (flow_loop_tree_node_add): Handle subloops of added loop correctly.
94         (get_loop_exit_edges): New.
95         (verify_loop_structure): Verify EDGE_IRREDUCIBLE_LOOP flags.
96         * cfgloop.h (flow_loop_free, get_loop_exit_edges, unloop): Declare.
97         * cfgloopanal.c (mark_irreducible_loops): Mark edges in irreducible
98         loops.
99         * cfgloopmanip.c (loop_delete_branch_edge): Allow to test for
100         removability of an edge.
101         (fix_irreducible_loops): New static function.
102         (find_path, remove_path): Add ability to remove enclosing loops.
103         (unloop): New.
104         (copy_bbs, duplicate_loop_to_header_edge): Use EDGE_IRREDUCIBLE_LOOP
105         flags.
106         * cfgrtl.c (verify_flow_info): Handle EDGE_IRREDUCIBLE_LOOP flag.
107         * loop-unroll.c (peel_loops_completely): Do not duplicate loop if
108         not neccessary.
109         (decide_peel_completely, peel_loops_completely): Allow complete peeling
110         of non-duplicable once rolling loops.
111         * loop-unswitch.c (unswitch_loop): Update EDGE_IRREDUCIBLE_LOOP flags.
113 Wed Mar  5 21:40:57 2003  J"orn Rennecke <joern.rennecke@superh.com>
115         * sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value
116         for align_jumps is 4.
118         (SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL,
119         use GENERAL_REGS.
121 2003-03-05  Stephane Carrez  <stcarrez@nerim.fr>
123         * config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return
124         according to va_arg type.
125         (EXPAND_BUILTIN_VA_ARG): Remove.
126         * config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove.
127         * config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove.
129 2003-03-05  David Edelsohn  <edelsohn@gnu.org>
131         * config/rs6000/rs6000.c (rs6000_variable_issue): Remove unnecessary
132         else clauses.
134 2003-03-05  Michael Matz  <matz@suse.de>
136         * i386/i386.c (ix86_save_reg): Also test
137         current_function_uses_const_pool.
139 2003-03-05  Michael Matz  <matz@suse.de>
141         * unwind.h: Add the GPL exception.
142         * Makefile.in (USER_H): Add unwind.h.
144 2003-03-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
146         PR c/9799
147         * c-typeck.c (push_init_level): Add sanity check.
149 Wed Mar  5 02:04:04 CET 2003  Jan Hubicka  <jh@suse.cz>
151         * toplev.c (rest_of_compilation):  Deffer RTL compilation only when
152         RTL inlining is done.
154         * cgraphunit.c (cgraph_mark_local_functions): New local function.
155         (cgraph_optimize): Mark local functions.
156         * i386-protos.h (init_cumulative_args): Update prototype.
157         * i386.c (init_cumulative_args): Use register passing convention for
158         local functions.
160         * cgraph.c (cgraph_global_info_ready): New global variable
161         (cgraph_local_info, cgraph_global_info): New functions.
162         * cgraph.h (struct cgraph_local_info, cgraph_global_info): New
163         structures.
164         (cgraph_local_info, cgraph_global_info, cgraph_global_info_ready):
165         Declare.
166         * cgraphunit.c (cgraph_finalize_function): Set inline_many.
167         (cgraph_mark_functions_to_output): Use inline_many.
168         (cgraph_expand_function): Free DECL_SAVED_TREE uncondtionally.
169         (cgraph_expand_functions): Expand inline functions last.
170         (cgraph_optimize): Do not emit uneeded functions.
172 2003-03-04  Steve Ellcey  <sje@cup.hp.com>
174         * expr.c (convert_modes): Check for legal hard register.
176 2003-03-04  Tom Tromey  <tromey@redhat.com>
178         * doc/sourcebuild.texi (Front End Directory): Document tags.
179         * configure: Rebuilt.
180         * configure.in (target_list): Added tags.
181         * Makefile.in (TAGS): Depend on lang.clean.  Include subdirectory
182         TAGS files by reference.
183         * objc/Make-lang.in (objc.tags): New target.
185 2003-03-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
187         * gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync,
188         gcov_skip, gcov_skip_string, gcov_write_unsigned, gcov_write_counter,
189         gcov_write_string, gcov_read_unsigned, gcov_read_counter,
190         gcov_read_string, gcov_write_length): Modified to enable reading/
191         writing of whole .da file just once.
192         (da_file_open, da_file_close, da_file_eof, da_file_error,
193         da_file_position, da_file_seek, da_file_write, da_file_read): New
194         functions.
195         (actual_da_file, actual_da_file_position, actual_da_file_length,
196         actual_da_file_buffer, actual_da_file_buffer_size): New static
197         functions.
198         * libgcov.c (gcov_exit): Modified to read/write the whole .da file at
199         just once.
202 2003-03-04  Andreas Schwab  <schwab@suse.de>
204         * config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA
205         offset without frame pointer.
207 2003-03-04  Steve Ellcey  <sje@cup.hp.com>
209         * expr.c (expand_expr): Call promote_mode to set unsignedp.
211 2003-03-04  Daniel Jacobowitz  <drow@mvista.com>
213         * configure.in: Don't always define TARGET_SYSTEM_ROOT.
214         * configure: Regenerated.
215         * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined.
217 2003-03-04  Andreas Jaeger  <aj@suse.de>
219         * configure.in: Check for <memcheck.h>.
220         * configure: Regenerated.
222         * config.in: Define HAVE_MEMCHECK_H.
224         * ggc-common.c: Use <memcheck.h> if available instead of
225         <valgrind.h>.
226         * ggc-page.c: Likewise.
227         * cppfiles.c: Likewise.
229 2003-03-04  Kazu Hirata  <kazu@cs.umass.edu>
231         * config/h8300/h8300.md (*extzv_8_8): Fix cc and lengths.
233 2003-03-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
235         PR c/9262
236         * c-typeck.c (do_case): Attach the first case label to the SWITCH_BODY.
237         (c_finish_case): Rechain the next statements to the SWITCH_STMT.
239 Tue Mar  4 11:30:04 CET 2003  Jan Hubicka  <jh@suse.cz>
241         * doc/invoke.texi:  Document that unit-at-a-time is enabled for -O3
242         * toplev.c (parse_options_and_default_flags): Enable flag_unit_at_a_time
243         for -O3.
245 2003-03-04  Nathanael Nerode  <neroden@gcc.gnu.org>
247         * configure.in: Delete three unused variables.  Move a variable
248         definition closer to its use.  Simplify use_collect2 logic.  Start to
249         organize.  Simplify tests for in-tree gas and ld.
250         * configure: Regenerate.
252 2003-03-04  Neil Booth  <neil@daikokuya.co.uk>
254         * Makefile.in: Update.
255         * c-common.c (flag_no_line_commands, flag_no_output,
256         flag_dump_macros, flag_dump_includes): New.
257         * c-common.h (flag_no_line_commands, flag_no_output,
258         flag_dump_macros, flag_dump_includes, preprocess_file): New.
259         (init_c_lex): Update prototype.
260         * c-lex.c (init_c_lex): Update prototype; move some code to
261         c_common_init.
262         * c-opts.c (preprocess_file): Subsume into c_common_init.
263         (c_common_decode_option): Update flags.
264         (c_common_init): Move code from preprocess_file and init_c_lex.
265         (sanitize_cpp_opts): Update.
266         * c-ppoutput.c: New, cppmain.c almost verbatim.
267         * cpphash.h (struct printer): Remove.
268         (struct cpp_reader): Remove print.
269         * cpplib.h (dump_none, dump_only, dump_names, dump_definitions,
270         cpp_preprocess_file): Remove.
271         (struct cpp_options): Remove no_output, no_line_commands, dump_macros
272         and dump_includes.
273         * cppmain.c: Remove.
274         * doc/passes.texi: Update.
276 2003-03-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
278         * function.c (STACK_ALIGNMENT_NEEDED): New macro.  Default to 1.
279         (assign_stack_local_1): Perform overall stack alignment only when
280         STACK_ALIGNMENT_NEEDED is non-zero.
281         * doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
283         * pa.c (compute_frame_size): Rename fsize to size.  Account for
284         alignment to a word boundary before general register save block.  Only
285         account for double-word alignment before floating point register save
286         block if one or more are saved.  Don't allocate space for %r3 when
287         frame pointer is needed.
288         (hppa_expand_prologue): Include alignment to word boundary in local
289         frame size.
290         * pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports.
291         (STACK_ALIGNMENT_NEEDED): Define.
293 2003-03-04  Kevin Buettner  <kevinb@redhat.com>
295         * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for
296         global register variables.
298 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
300         * reload.c (reload_adjust_reg_for_mode): New function.
301         (subst_reloads): Call it.
302         (operands_match_p): Adjust registers using HARD_REGNO_NREGS.
303         * reload.h (reload_adjust_reg_for_mode): Declare.
304         * reload1.c (emit_input_reload_insns, emit_output_reload_insns):
305         Call it.
307 2003-03-03  James E Wilson  <wilson@tuliptree.org>
309         * optabs.c (add_equal_note): Delete SUBREG_REG use.
310         Fixes PR c/7872.
312 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
314         * config/h8300/h8300.md (*ixorsi3_ashift_16): New.
315         (*ixorsi3_lshiftrt_16): New.
316         (*iorsi3_ashift_16): Remove.
318 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
320         * config/h8300/h8300.md (*extzv_8_8): Use '?' to simplify the
321         pattern.
323 2003-03-03  Geoffrey Keating  <geoffk@apple.com>
325         * doc/install.texi (Specific): Update entry for powerpc-darwin.
327 2003-03-03  Richard Henderson  <rth@redhat.com>
329         * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0.
331 2003-03-03  David Edelsohn  <edelsohn@gnu.org>
333         * config/rs6000/rs6000.c (rs6000_multipass_dfa_lookahead): Delete.
334         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Delete.
335         (rs6000_variable_issue): Do not return negative value.
336         (rs6000_issue_rate): Uniformly set issue rate to 1 for first
337         scheduling pass.
339 2003-03-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
341         * dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
342         prune_unused_types calls.
344 2003-03-03  Jason Merrill  <jason@redhat.com>
346         * tree-inline.c (find_builtin_longjmp_call): Save and restore
347         lineno and input_filename.
348         (find_alloca_call): Likewise.
349         (inlinable_function_p): Run the langhook earlier.
351         * calls.c (compute_argument_addresses): Give the new MEMs a
352         minimum alignment of PARM_BOUNDARY.
354 Mon Mar  3 20:45:25 2003  J"orn Rennecke <joern.rennecke@superh.com>
356         * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
357         subtarget_asm_isa_spec.
358         (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
359         (ASM_SPEC): Define as SH_ASM_SPEC.
360         (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
361         Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
362         * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
363         (SUBTARGET_ASM_ISA_SPEC): Undef / define.
365         * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops
366         and align_jumps if not set.
367         Force align_jumps to be at least 2.
368         When relaxing, force align_functions to be at least the maximum of
369         align_loops, align_jumps and 4.
370         * sh.c (find_barrier, barrier_align): Honour align_jumps_log.
371         (sh_loop_align): Honour align_loops_log.
373         * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN
374         to check for indirect_jump_scratch.
375         (indirect_jump_scratch): Add second set.
376         * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN
377         when looking for indirect_jump_scratch.
378         Extract scratch register taking new structure of indirect_jump_scratch
379         into account.
380         (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch.
382 Mon Mar  3 19:07:21 CET 2003  Jan Hubicka  <jh@suse.cz>
384         * calls.c (rtx_for_function_call): Take the address as an argument
385         (expand_call): Do not modify the expression.
387         * toplev.c (rest_of_compilation):  Avoid cfg_cleanup calls when not
388         optimizing.
390 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
392         * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to
393         TARGET_H8300H and TARGET_H8300S.
395 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
397         * config/h8300/h8300.md (a peephole2): New.
399 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
401         * config/h8300/h8300.md (*extzv_8_8): Use shorter code when
402         operands[0] and operands[1] are different.
404 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
406         * reload1.c (reload_cse_move2add): Remove variable success.
408 2003-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
410         * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid
411         warnings.
413 2003-03-02  Richard Henderson  <rth@redhat.com>
415         * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.
416         * config.in, configure: Rebuild.
417         * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum.
418         * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the
419         paired ldtoffx and ldxmov annotations.
420         (load_symptr_internal1): Remove.
421         (load_symptr_high, load_symptr_low): New.
423 2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
425         * c-incpath.c (add_path): Fix sysp assignment.
427 2003-03-02  Kurt Garloff  <garloff@suse.de>
429         * params.def: Introduce parameter max-inline-insns-rtl for
430         a separate limit for the RTL inliner.
431         * params.h: Likewise.
432         * integrate.c (function_cannot_inline_p): Use it.
433         * toplev.c (decode_f_option): Set multiple parameters
434         controlling inlining with -finline-limit.
435         * params.def: Fix orthographic and typographic errors.
436         * doc/invoke.texi: Document parameters controlling inlining
437         and the way -finline-limit sets multiple of them.
439         * tree.h (struct tree_decl): Introduce inlined_function_flag,
440         recording whether the function became eligible for inlining
441         by a compiler flag rather than the declaration.
442         Provide DID_INLINE_FUNC macro to access it.
443         * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC.
444         * cp/decl.c (grokfndecl): Likewise.
445         * toplev.c (rest_of_compilation): Likewise.
446         * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC.
447         * print-tree.c (print_node): Report it.
448         * params.def: Introduce new max-inline-insns-auto limit.
449         * params.h: Likewise.
450         * tree-inline.c (inlinable_function_p): Apply it to functions
451         with DID_INLINE_FUNC set.
452         * toplev.c (decode_f_option): Initialize it from -finline-limit
453         value.
454         * doc/invoke.texi: Document new parameter.
456 2003-03-02  Geoffrey Keating  <geoffk@apple.com>
458         * fix-header.c (read_scan_file): Don't reference simplify_path.
460 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
462         * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable
463         min/max instructions by default as may result in reload errors.
465 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
467         * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to
468         avoid reload problems; define split for it.
470 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
472         * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function.
473         * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare.
474         * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register.
475         * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for
476         rotatert and rotate.
477         ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns.
478         ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert.
479         ("*rotrhi3_addr"): New split for shift insns on address register.
480         ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split.
481         * config/m68hc11/larith.asm (___rotlhi3): New asm function.
482         (___rotrhi3): Likewise.
483         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them.
485 2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
487         * toplev.c (aux_base_name): Moved from toplev.h.
488         (filename): Constify.
489         (lang_dependent_init): Don't duplicate name.
490         (process_options): Set aux_base_name here, not...
491         (do_compile): ...here.  Change protoype.
492         (toplev_main): Move some code from do_compile.
493         * toplev.h: Remove aux_base_name.
495 2003-03-02  Kazu Hirata  <kazu@cs.umass.edu>
497         * config/h8300/h8300-protos.h: Add a prototype for
498         iorxor_operator.
499         * config/h8300/h8300.c (print_operand): Handle 'c'.
500         (iorxor_operator): New.
501         * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator.
502         * config/h8300/h8300.md (*iorhi3_zext): Remove.
503         (*iorsi3_zexthi): Likewise.
504         (*iorsi3_zextsi): Likewise.
505         (*xorhi3_zextqi): Likewise.
506         (*xorsi3_zexthi): Likewise.
507         (*xorsi3_zextsi): Likewise.
508         (*ixorhi3_zext): New.
509         (*ixorsi3_zext_qi): Likewise.
510         (*ixorsi3_zext_hi): Likewise.
512 2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
514         * c-incpath.c (remove_component_p, simplify_path): Move back to
515         cppfiles.c.
516         (remove_duplicates): Use cpp_simplify_path.
517         * c-incpath.h (simplify_path): Remove.
518         * c-lex.c: Don't include c-incpath.h.
519         (init_c_lex): Remove simplify_path.
520         * cppfiles.c (remove_component_p, cpp_simplify_path): Restore.
521         (find_or_create_entry, validate_pch): Revert.
523 2003-03-02  Ashif Harji  <asharji@uwaterloo.ca>
525         * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke
526           an external cpp during compilation.
527         (option_map): Likewise.
528         * objc/lang-specs.h (default_compilers): Similarly.
529         * doc/invoke.texi: Document -no-integrated-cpp flag.
531 2003-03-02  Kazu Hirata  <kazu@cs.umass.edu>
533         * config/h8300/h8300.md (zero_extendqisi2): Change to an
534         expander.
535         (*zero_extendqisi2_h8300): New.
536         (*zero_extendqisi2_h8300hs): New.
537         (two splitters): New.
539 2003-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
541         * fp-bit.h (float_to_usi): Fix condition wrapping prototype.
543 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
545         * config/h8300/h8300.md (a peephole2): Remove dead code.
547 2003-03-01  Roger Sayle  <roger@eyesopen.com>
549         PR c++/9367
550         * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro.
551         (BT_FN_INT_CONST_STRING_VALIST_ARG,
552         BT_FN_INT_STRING_CONST_STRING_VALIST_ARG,
553         BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG,
554         BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG,
555         BT_FN_INT_STRING_CONST_STRING_VAR,
556         BT_FN_INT_CONST_STRING_CONST_STRING_VAR,
557         BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types.
558         * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2,
559         ATTR_NONNULL_3): Also include the nothrow attribute.
560         (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf,
561         vsnprintf, vscanf, vsscanf): Don't define attributes here.
562         * builtins.def (putchar, puts): Make full C89 built-ins.
563         (snprintf, sprintf, scanf, sscanf, vprintf, vscanf,
564         vsscanf, vsnprintf, vsprintf): New built-ins.
565         * c-common.c (c_common_nodes_and_builtins): Handle new macro
566         DEF_FUNCTION_TYPE_VAR_3.
568         * doc/extend.texi: Document these new built-in functions.
570 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
572         * config/h8300/h8300.md (a peephole2): New.
574 2003-03-01  Richard Earnshaw  <rearnsha@arm.com>
576         * predict.c (estimate_bb_frequencies): Correctly set
577         real_values_initialized after initialization.
579 2003-03-01  Neil Booth  <neil@daikokuya.co.uk>
581         * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS,
582         cppinit.o, cppdefault.o, fix-header): Update.
583         * c-incpath.c: New file.
584         * c-incpath.h: New file.
585         * c-lex.c: Include c-incpath.h.
586         (init_c_lex): Register path simplifier.
587         * c-opts.c: Include cppdefault.h and c-incpath.h.
588         (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc,
589         std_cxx_inc, quote_chain_split, add_prefixed_path): New.
590         (COMMAND_LINE_OPTIONS): Add more options from cpplib.
591         (missing_arg, c_common_decode_option): Handle them.
592         (c_common_post_options): Register include chains.
593         (print_help): Update.
594         * cppdefault.h (struct default include): Update.
595         Move some macros to ...
596         * cppdefault.c: ... here.
597         (cpp_include_defaults): Add extra field add_sysroot.
598         * cppfiles.c (include_file, search_from, find_or_create_entry,
599         cpp_included, find_include_file, remap_filename): Update for
600         renaming of search_path to cpp_path, and of the chain headers.
601         (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c.
602         * cpphash.h (struct search_path): Move to cpplib.h.
603         (struct cpp_buffer, struct cpp_reader): Update.
604         (_cpp_simplify_pathname): Remove.
605         * cppinit.c: Don't include prefix.h and cppdefault.h.
606         (INO_T_EQ, INO_T_COPY, path_include, append_include_chain,
607         remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs,
608         init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir,
609         no_pth, cpp_handle_options): Remove.
610         (struct pending_option): Remove chain members.
611         (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS,
612         cpp_handle_option): Update.
613         * cpplib.h (struct cpp_path, cpp_set_include_chains): New.
614         (struct cpp_options): Remove quote_include, bracket_include,
615         include_prefix, include_prefix_len, verbose, ignore_srcdir,
616         no_standard_includes, no_standard_cplusplus_includes.
617         (struct cpp_callbacks): Add simplify_path.
618         (cpp_handle_options): Remove.
619         * fix-header.c: Include c-incpath.h.
620         (read_scan_file): Update to use c-incpath functionality.
621         * doc/passes.texi: Update.
623 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
625         * config/h8300/h8300.c (bit_operand): Accept MEM only if it
626         satisfies EXTRA_CONSTRAINT 'U'.
628 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
630         * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch
631         register.
632         (*tst_extzv_memqi_1_n): Change to a splitter.
633         (a peephole2): Update.
635 2003-03-01  Richard Earnshaw  <rearnsha@arm.com>
637         * predict.c (estimate_bb_frequencies): Initialize the sreal
638         constants once per compilation.
640 2003-02-28  Richard Henderson  <rth@redhat.com>
642         * toplev.c (flag_eliminate_unused_debug_types): Enable by default.
644 2003-02-28  scott snyder  <snyder@fnal.gov>
646         * flags.h: Add flag_eliminate_unused_debug_types.
647         * toplev.c: Add flag_eliminate_unused_debug_types.
648         (f_options): Add -feliminate-unused-debug-types.
649         * dwarf2out.c (struct file_table): Add emitted member.
650         (splice_child_die): Fix the parent pointer for the child being
651         spliced.
652         (lookup_filename): Maintain file_table.emitted array.  Don't
653         output .file directive here.
654         (maybe_emit_file): (new)
655         (init_file_table): Set up file_table.emitted.
656         (dwarf2out_source_line): Use maybe_emit_file.
657         (dwarf2out_start_source_file): Use maybe_emit_file.
658         (dwarf2out_init): Use maybe_emit_file.
659         (prune_unused_types_walk_attribs): (new)
660         (prune_unused_types_mark): (new)
661         (prune_unused_types_walk): (new)
662         (prune_unused_types_prune): (new)
663         (prune_unused_types): (new)
664         (dwarf2out_finish): Call prune_unused_types if
665         flag_eliminate_unused_debug_types is set.
666         * doc/invoke.texi (Option Summary): Add
667         -feliminate-unused-debug-types.
668         (Debugging Options): Likewise.
670 2003-02-28  Geoffrey Keating  <geoffk@apple.com>
672         * doc/invoke.texi: Change .pch to .gch.
673         * cppfiles.c (open_file_pch): Likewise.
674         * gcc.c (default_compilers): Likewise.
676 2003-02-28  Aldy Hernandez  <aldyh@redhat.com>
678         * floatlib.c: Remove.
680 2003-02-28  Jason Merrill  <jason@redhat.com>
682         * stor-layout.c (variable_size): Leave a "minus 1" outside the
683         SAVE_EXPR.
685 2003-02-28  David Edelsohn  <edelsohn@gnu.org>
687         * config/rs6000/power4.md: Add compare bypass.
689 2003-02-28  Jason Thorpe  <thorpej@wasabisystems.com>
691         * config/netbsd.h: Update copyright years.
692         (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
693         -pthread is specified on the command line.
695 2003-02-28  Dale Johannesen <dalej@apple.com>
697         * loop.c (struct movable): Add insert_temp, shrink savemode.
698         (scan_loop): Accept invariants that require copying; mark as
699         insert_temp.
700         (combine_movables): Don't combine insert_temp movables.
701         (move_movables): Insert copies for insert_temp movables.
702         Don't record the info based on regno for insert_temp's.
704 2003-02-28  Joel Sherrill <joel@OARcorp.com>
706         PR 9638/other
707         * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
708         this constant defaults to 1.
710 2003-02-28  Bob Wilson  <bob.wilson@acm.org>
712         * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
714 2003-02-28  Richard Earnshaw  <rearnsha@arm.com>
716         * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any
717         ARMv5e processor, not just for XScale.  Instructions are predicable.
718         (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e.
720 2003-02-28  Nick Clifton  <nickc@redhat.com>
722         * config/arm/arm.c (note_invalid_constants): Change parameter type
723         from bool to int.
725 2003-02-28  Kazu Hirata  <kazu@cs.umass.edu>
727         * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the
728         test of bit 7.
729         (*tst_extzv_memqi_1_n): Likewise.
730         (a peephole2): New.
732 2002-02-28  Richard Sandiford  <rsandifo@redhat.com>
734         * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
735         #ifndef __mips16.
737 Fri Feb 28 11:09:14 CET 2003  Jan Hubicka  <jh@suse.cz>
739         * combine.c (gen_lowpart_for_combine): Update handling of
740         subregs_of_mode
741         * flow.c (life_analysis, mark_used_regs): Likewise.
742         * regclass.c (subregs_of_mode): Turn into single bitmap.
743         (cannot_change-mode_set_regs, invalid_mode_change_p): Update
744         dealing with subregs_of_mode
745         * regs.h (subregs_of_mode): Update prototype.
747 2003-02-28  Josef Zlomek  <zlomekj@suse.cz>
749         * emit-rtl.c (set_reg_attrs_for_parm): New function.
750         * rtl.h (set_reg_attrs_for_parm): New exported function.
751         * function.c (assign_parms): Use set_reg_attrs_for_parm instead of
752         set_reg_attrs_from_mem.
754 2003-02-27  Roger Sayle  <roger@eyesopen.com>
755             Zack Weinberg <zack@codesourcery.com>
757         * gcc.c (do_spec_1):  Treat %U like %u for unique associations.
759 2003-02-27  Kazu Hirata  <kazu@cs.umass.edu>
761         * reload1.c (sext_for_mode): Remove.
762         (reload_cse_move2add): Use trunc_int_for_mode instead of
763         sext_for_mode.
764         (move2add_note_store): Likewise.
765         Reset register information if we see a set in non-integer
766         mode.
768 2003-02-27  David Edelsohn  <edelsohn@gnu.org>
770         * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
771         option.
772         (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
773         * config/rs6000/aix51.h: Same.
774         * config/rs6000/aix52.h: Same.
775         * config/rs6000/power4.md: Additional VMX bypasses.
777 2003-02-27   Geert Bosch <bosch@gnat.com>
779         * toplev.c (print_version): Add indentation for GGC heuristics and
780         output after printing version information.
782 2003-02-27  James E Wilson  <wilson@tuliptree.org>
784         * combine.c (simplify_comparison): Require integral mode when
785         permuting SUBREG with AND.
787 2003-02-27  Steve Ellcey  <sje@cup.hp.com>
789         * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.
791 2003-02-27  Nick Clifton  <nickc@redhat.com>
793         * config/arm/arm.md (extendsfdf2): Add pattern accidentally
794         deleted when cirrus instructions were added.
796 2003-02-27  Jason Thorpe  <thorpej@wasabisystems.com>
798         * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable
799         POSIX thread support by default.
801 2003-02-27  Roger Sayle  <roger@eyesopen.com>
803         * config/i386/cygwin.h: Don't include any other files directly.
804         * config/i386/mingw32.h: Don't include cygwin.h directly.
805         * config.gcc (cygwin, mingw32, uwin): Instead make these files
806         explicit in the tm_files variable.
808 2003-02-27  Alan Modra  <amodra@bigpond.net.au>
810         * config/rs6000/rs6000.md: Add TI constant splitter.
812 2003-02-26  Alexandre Oliva  <aoliva@redhat.com>
814         * builtins.c (purge_builtin_constant_p): Handle subreg of
815         constant_p_rtx too.
817         * function.c (assign_stack_local_1): Truncate constant added to
818         frame_pointer_rtx or virtual_stack_vars_rtx for Pmode.
820 2003-02-26  David Edelsohn  <edelsohn@gnu.org>
822         * config.gcc: Add power4 to PowerPC with_cpu list.
824 Wed Feb 26 19:46:25 CET 2003  Jan Hubicka  <jh@suse.cz>
826         * objc-act.c: (mark_referenced_methods): Fix compilation problem.
828 2003-02-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
830         * gcov-dump.c (print_prefix): Fix signedness warning.
831         * gcov-io.h (struct counter_section, struct counter_section_data): New.
832         (struct function_info): n_arc_counts field removed, n_counter_sections,
833         counter_sections fields added.
834         (struct gcov_info): arc_counts, n_arc_counts fields removed,
835         n_counter_sections, counter_sections fields added.
836         * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple
837         profile sections.
838         * profile.h (MAX_COUNTER_SECTIONS): New.
839         (struct section_info): New.
840         (struct profile_info): count_instrumented_edges,
841         count_edges_instrumented_now fields removed, n_sections, section_info
842         fields added.
843         (find_counters_section): Declare.
844         * profile.c (struct function_list): count_edges field removed,
845         n_counter_sections, counter_sections fields added.
846         (set_purpose, label_for_tag, build_counter_section_fields,
847         build_counter_section_value, build_counter_section_data_fields,
848         build_counter_section_data_value, build_function_info_fields,
849         build_function_info_value, build_gcov_info_fields,
850         build_gcov_info_value): New static functions.
851         (find_counters_section): New function.
852         (instrument_edges, get_exec_counts, compute_branch_probabilities,
853         branch_prob, create_profiler): Modified to support multiple profile
854         sections.
856 2003-02-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
858         * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY
859         is 8 * STACK_BOUNDARY.
860         * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port.
862 2003-02-26  Michael Matz  <matz@suse.de>
864         * ra-colorize.c (merge_moves): Fix list handling.
866 2003-02-26  Nick Clifton  <nickc@redhat.com>
868         * config/arm/arm.c (is_load_address): Rename to...
869         (arm_memory_load_p) ... this and make it check for SUBREGs and
870         constant loads that will be converted into loads from the
871         minipool.
872         (is_cirrus_insn): Rename to ...
873         (arm_cirrus_insn_p): ... this, for consistency.  Replace test
874         of CIRRUS_NO with CIRRUS_NOT.
875         (cirrus_reorg): Use renamed functions.
876         (note_invalid_constants): Change from a void function to bool.
877         Add an extra parameter, saying whether the fixups should be
878         pushed.  Return true if fixups are needed.
879         (arm_reorg): Use renamed functions.  Use INSN_P.  Replace test
880         of CIRRUS_NO with CIRRUS_NOT.
881         * config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that
882         other floating point co-processors can also affect this.
883         * config/arm/arm.md ("type" attribute): Add mav_farith and
884         mav_dmult.  Replace references to "cirrus_type" attribute with
885         "type".
886         * config/arm/cirrus.md ("cirrus_fpu" attribute): Delete.
887         ("cirrus_type" attribute): Delete - use "type" instead.
888         ("cirrus" attribute): Replace 'no' with 'not' and 'yes' with
889         'normal'.
891 Tue Feb 25 22:46:27 CET 2003  Jan Hubicka  <jh@suse.cz>
893         * objc-act.c: Include cgraph.h
894         (mark_referenced_methods): New function.
895         (objc_init): Call it.
896         * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set.
898         * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time
899         mode.
901         * optabs.c (expand_fix): Do not widen the input operand.
903         * expr.c (emit_group_store):  Fix crash when converting single
904         register into complex register.
906         * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h
907         * alias.c: Include timevar.h
908         (init_alias_analysis):  Set timevar
909         * jump.c: Include timevar.h
910         (rebuild_jump_labels):  Set timevar
911         * regcalss.c: Include timevar.h
912         (reg_scan):  Set timevar
913         * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New
915 2003-02-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
917         * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
919         * Makefile.in (loop-unroll.o): New.
920         * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New.
921         (unroll_and_peel_loops): Declare.
922         * alias.c (init_alias_analysis): Flag_unroll_loops renamed to
923         flag_old_unroll_loops.
924         * loop.c (loop_invariant_p): Ditto.
925         * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to
926         flag_old_unroll_all_loops.
927         * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops.
928         (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops.
929         * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed.
930         (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES,
931         PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES,
932         PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES,
933         PARAM_MAX_ONCE_PEELED_INSNS): New.
934         * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New.
935         (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller
936         instead of old one.
937         (flag_peel_loops): New.
938         (lang_independent_options): The new flags added.
939         (rest_of_compilation): Call new unroller.
940         (process_options): Setup flags for coexistence of old and new unroller.
941         * doc/invoke.texi: Document new options.
942         * doc/passes.texi: Document new unroller pass.
944 2003-02-26  David Billinghurst <David.Billinghurst@riotinto.com>
946         * fixinc/fixincl.x: Regenerate
948 2003-02-26  Josef Zlomek  <zlomekj@suse.cz>
950         * function.c (assign_parms): Set reg_attrs for parameters passed in
951         registers.
953 2003-02-26  Alan Modra  <amodra@bigpond.net.au>
955         PR target/9681
956         * tlink.c (scan_linker_output): Drop leading '.' from symbol names.
958 2003-02-25  David Edelsohn  <edelsohn@gnu.org>
960         * config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine
961         pseudo-op.
963 2003-02-25  Roger Sayle  <roger@eyesopen.com>
965         * combine.c (combine_simplify_rtx, simplfy_comparison):  Use CC0_P.
966         * cse.c (invalidate_skipped_set):  Likewise.
967         * integrate.c (subst_constants):  Likewise.
968         * jump.c (reversed_comparison_code_parts):  Likewise.
969         * loop.c (canonicalize_condition):  Likewise.
970         * simplify-rtx.c (simplify_relational_operation):  Likewise.
972 2003-02-25  Roger Sayle  <roger@eyesopen.com>
974         * builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete.
975         (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit):  Use
976         the appropriate macro to define built-in function.
977         (fmod,fmodf,fmodl): New built-in functions.
979         * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins.
981 2003-02-25  Richard Henderson  <rth@redhat.com>
983         * config/i386/i386.c (function_arg): Pass variable sized
984         structures correctly on the stack.
986 2003-02-25  Kazu Hirata  <kazu@cs.umass.edu>
988         * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS
989         does not reduce the cost of SET.
991 2003-02-25  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
993         PR target/9732
994         * config/rs6000/rs6000.c (first_reg_to_save): Handle
995         PIC_OFFSET_TABLE_REGNUM for -fPIC too.
996         (rs6000_emit_prologue): Likewise.
997         (rs6000_emit_epilogue): Likewise.
998         * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
999         PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.
1001 2003-02-25  Richard Henderson  <rth@redhat.com>
1003         * real.c (real_to_integer2): Force overflow result only for
1004         unsigned overflow.
1006 2003-02-25  Kazu Hirata  <kazu@cs.umass.edu>
1008         * gcse.c (cprop_jump): Revert the 2003-02-23 change.
1010 2003-02-25  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
1011             Richard Henderson  <rth@redhat.com>
1013         * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
1014         there is no similar load.
1016 2003-02-25  Vladimir Makarov  <vmakarov@redhat.com>
1017             Richard Henderson  <rth@redhat.com>
1019         * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from
1020         sched-rgn.c.
1021         (add_forward_dependence): New function prototype.
1023         * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to
1024         sched-init.h.
1025         (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move
1026         them to haifa-sched.c.
1028         * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp,
1029         haifa_classify_insn): Move them from sched-rgn.c.
1031         * sched-deps.c (add_dependence): Return flag of creating a new
1032         entry.
1033         (add_forward_dependence): New function.
1034         (compute_forward_dependences): Use the function.
1036         * sched-ebb.c (earliest_block_with_similiar_load): New function.
1037         (add_deps_for_risky_insns): New function.
1038         (schedule_ebb): Call the function.
1040 2003-02-20  Aldy Hernandez  <aldyh@redhat.com>
1042         * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to
1043         TARGET_VECTOR_OPAQUE_P.  Document accordingly.
1045         * testsuite/gcc.dg/20030218-1.c: Check that initialization of
1046         opaque types fail.
1048         * c-typeck.c (comptypes): Change call to vector_types_compatible
1049         to vector_opaque_p.
1050         (convert_for_assignment): Call vector_opaque_p instead of
1051         vector_types_compatible.
1052         (really_start_incremental_init): Disallow initialization of opaque
1053         types.
1055         * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE.
1056         Define TARGET_VECTOR_OPAQUE_P.
1057         (TARGET_INITIALIZER): Same.
1059         * target.h (struct gcc_target): Remove vector_types_compatible.
1060         Add vector_opaque_p.
1062         * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible):
1063         Remove.
1064         (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is
1065         a vector type.  Change return type to bool.
1066         (TARGET_VECTOR_TYPES_COMPATIBLE): Remove.
1067         (TARGET_VECTOR_OPAQUE_P): Define.
1069         * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p
1070         target hook.
1071         Include target.h.
1072         (cp_parser_init_declarator): Fix typo in function comments.
1074 Tue Feb 25 12:35:34 CET 2003  Jan Hubicka  <jh@suse.cz>
1076         * Makefile.in (lcm.o):  Add dependency on function.h
1077         * lcm.c (function.h): Include.
1078         * i386.c (machine_function, ix86_stack_locals,
1079         * ix86_save_varrargs_registers) : Move to
1080         ...
1081         * i386.h (machine_function, ix86_stack_locals,
1082         ix86_save_varrargs_registers): ... here; add optimize_mode_switching
1083         (ix86_optimize_mode_switching): New.
1084         * i386.md (fix patterns): Set ix86_optimize_mode_switching
1086 2003-02-25  Nick Clifton  <nickc@redhat.com>
1088         * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo.  Name
1089         of fourth arg is 'fndecl' not 'indirect'.  Update comment
1090         describing the function's parameters.
1092 Mon Feb 24 22:08:22 CET 2003  Jan Hubicka  <jh@suse.cz>
1094         * combine.c (simplify_shift_const):  Fix previous patch.
1096 2003-02-24  Jeff Law  <law@redhat.com>
1098         * i386.md (testdi_1_rex64): Discourage reload from using the %eax
1099         alternative.
1100         (testsi_1, testhi_1, testqi_1): Likewise.
1102 2003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1104         * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
1105         __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
1106         * doc/extend.texi (Tru64 Pragmas): Reflect this.
1108         * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
1109         extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
1110         * fixinc/fixincl.x: Regenerate.
1111         * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
1112         testcase.
1113         Fixes PR c/5059, c/6126, other/9671.
1115 2003-02-24  Roger Sayle  <roger@eyesopen.com>
1117         * gcc.c (do_spec_1) ['{']:  Handle pending argument upon return
1118         from handle_braces in "%{...}".
1120 2003-02-24  Kaz Kojima  <kkojima@gcc.gnu.org>
1122         * config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define.
1123         (prepare_move_operands): Handle TLS operands.
1124         (tls_symbolic_operand): New.
1125         (nonpic_symbol_mentioned_p): Handle TLS UNSPECs.
1126         (legitimize_pic_address): Do nothing for the TLS symbol.
1127         (sh_encode_section_info): Handle TLS case.
1128         (sh_strip_name_encoding): Drop TLS encoding.
1129         * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype.
1130         * config/sh/sh.h (SH_TLS_ENCODING): Define.
1131         (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise.
1132         (ASM_OUTPUT_LABELREF): Drop TLS encoding.
1133         (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs.
1134         * config/sh/sh.md: Define TLS UNSPEC constants.
1135         (type): Add tls_load.
1136         ("tls_global_dynamic", "tls_local_dynamic"): New insns.
1137         ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders.
1138         ("tls_initial_exec"): New insn.
1139         ("sym2TPOFF", "symTPOFF2reg"): New expanders.
1140         ("load_gbr"): New insn.
1142         * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
1143         * configure: Regenerate.
1145 2003-02-24  Alan Modra  <amodra@bigpond.net.au>
1147         PR 9297, PR 9722
1148         * calls.c (store_one_arg): Revert 1999-02-16 change.  Revert
1149         2000-12-17 change.  Pass EXPAND_STACK_PARM to expand_expr.
1150         * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM.
1151         (enum block_op_methods): Reorder for better store_expr optimization.
1152         * expr.c (store_expr): Test bit 1 of "want_value" for call param
1153         stores, test bit 0 for original want_value meaning.  Pass
1154         BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set.  Adjust
1155         recursive calls, and calls to expand_param.
1156         (expand_expr): Handle EXPAND_STACK_PARM modifier.  When cse
1157         expected, set target to 0 rather than to subtarget.  Formatting.
1159 2003-02-23  Kazu Hirata  <kazu@cs.umass.edu>
1161         * gcse.c (cprop_jump): Use the REG_EQUAL note if available.
1163 2003-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1165         * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
1166         new default behavior.
1167         * ggc-common.c: Include sys/resource.h.
1168         (ggc_rlimit_bound): New function.
1169         (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update
1170         defaults to account for rlimits.
1172 2003-02-22  Richard Henderson  <rth@redhat.com>
1174         * i386.c, i386.h (TUNEMASK): Rename from CPUMASK.
1176 2003-02-22  Kelley Cook <kelley@dwhoops.info>
1178         * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu.
1179         (ix86_tune_string): Rename from ix86_cpu_string.
1181 2003-02-22  Kelley Cook <kelleycook@comcast.net>
1183         * config/i386/i386.c: Replace "mcpu" with "mtune".
1184         * config/i386/i386.h (TARGET_OPTIONS): Likewise.
1185         (CC1_CPU_SPEC): Likewise. New warning for "-mcpu".
1186         * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu"
1187         with "mtune".  Note that "mcpu" is a deprecated synonym for "mtune".
1189 2003-02-23  Andreas Schwab  <schwab@suse.de>
1191         * config.gcc: Delete references to m68k/t-linux and
1192         m68k/t-linux-aout.
1193         * config/m68k/t-linux, config/m68k/t-linux-aout: Removed.
1195 Sat Feb 22 20:22:19 CET 2003  Jan Hubicka  <jh@suse.cz>
1197         * toplev.c (rest_of_compilation):  Apply fotgotten hunk
1198         of track scheduling patch.
1200 Sat Feb 22 19:29:28 CET 2003  Jan Hubicka  <jh@suse.cz>
1202         * config/linux.h (TARGET_HAS_F_SETLKW): Define.
1203         * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise
1205 Sat Feb 22 12:42:16 CET 2003  Jan Hubicka  <jh@suse.cz>
1207         * c-decl.c (c_expand_body_1): Fix.
1209 Sat Feb 22 03:13:36 CET 2003  Jan Hubicka  <jh@suse.cz>
1211         * expmed.c (expand_divmod): Undo sign extensions for unsigned operands
1213         * cfgcleanup.c (try_forward_edges):  Don't check loop structures
1214         when not optimizing.
1215         (cleanup_cfg): Do not iterate trought delete_trivially_dead_insns
1216         when not expensive.
1217         * toplev.c (rest_of_compilation):  Duplicate loop headers only when
1218         optimizing;  Delete trivially dead insns early; fix optimize check.
1220         * Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add
1221         dependency on cgraph.h
1222         * c-decl.c: Include cgraph.h
1223         (finish_function): Update call of tree_inlinable_function_p.
1224         * c-objc-common.c: Include cgraph.h
1225         * cgraph.h: New file.
1226         * cgraphunit.c: New file.
1227         * cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h
1228         (cgraph_nodes, cgraph_n_nodes): Globalize.
1229         (cgraph_finalize_function, cgraph_finalize_compilation_unit
1230         cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node):
1231         Move into cgraphunit.c
1232         * tree-inline.c: Include cgraph.h
1233         * tree-inline.c: Include cgraph.h
1235 2003-02-22  Josef Zlomek  <zlomekj@suse.cz>
1237         * config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
1238         for copying a register.
1240 2003-02-22  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1242         PR other/3782
1243         * toplev.c (process_options): If flag_detailed_statistics is set,
1244         then set time_report as well.
1246         PR c/8828
1247         * jump.c (never_reached_warning): Don't fall through BARRRIER
1248         insns.  Update comments to reflect what the function really does.
1250 2003-02-21  Roger Sayle  <roger@eyesopen.com>
1252         * fold-const.c (omit_one_operand): No longer static.
1253         * tree.h (omit_one_operand): Prototype here.
1254         (div_and_round_double): Keep fold-const.c prototypes together.
1255         * builtins.c (builtin_mathfn_code): Handle binary built-in
1256         funtions, such as "pow" and "atan2".
1257         (fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0.
1258         Simplify optimizations using "type" the builtin's return type.
1260 2003-02-22  Hans-Peter Nilsson  <hp@axis.com>
1262         * config/cris/cris.c (cris_rtx_costs): Blockify dangling else.
1263         Fix functionalization typo.
1265         * regmove.c (optimize_reg_copy_1): Do not replace a hard register
1266         in an asm.
1268 2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1270         * Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
1271         * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
1272         documentation.
1273         * ggc-common.c: Include params.h
1274         (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
1275         init_ggc_heuristics): New functions.
1276         * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
1277         init_ggc_heuristics): Prototype.
1278         * toplev.c (print_version):  Output GGC heuristics.
1279         (parse_options_and_default_flags): Call init_ggc_heuristics.
1281 Sat Feb 22 02:35:07 CET 2003  Jan Hubicka  <jh@suse.cz>
1283         * i386.c (def_builtin):  Special case 64bit builtins.
1284         (MASK_SSE164, MASK_SSE264): New constants.
1285         (builtin_description): Add 64bit builtins.
1286         (ix86_init_mmx_sse_builtins): Likewise.
1287         * i386.h (enum ix86_builtins): Likewise.
1288         * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
1289         sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
1290         (sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
1291         * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
1292         * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
1293         _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
1294         _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
1296 Sat Feb 22 00:48:22 CET 2003  Jan Hubicka  <jh@suse.cz>
1298         * i386.c (builtin_description): Add __builtin_ia32_paddq and
1299         __builtin_ia32_psubq. Fix __builtin_ia32_paddq128
1300          and __builtin_ia32_psubq128.
1301         * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
1302         * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
1303         (mmx_adddi3, mmx_subdi3): New.
1304         * mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
1305         * xmmintrin.h (_mm_movepi64_pi64): New.
1306         (_mm_add_epi64, _mm_sub_epi64): fix.
1307         (_mm_mul_pu16): Rename to...
1308         (_mm_mul_su32): ... this one.
1310         * builtins.c (expand_builtin_expect):  Do not predict
1311         flag_guess_branch_prob is not set.
1312         * c-semantics.c (expand_stmt): Likewise.
1313         * predict.c (predict_insn): Likewise.
1314         * stmt.c (expand_continue_loop): Likewise.
1315         * toplev.c (rest_of_compilation): Do not call
1316         note_prediction_to_br_prob and note_prediction_to_br_prob
1317         when not optimizing.
1319 Fri Feb 21 23:10:13 CET 2003  Jan Hubicka  <jh@suse.cz>
1321         * cfgrtl.c (commit_edge_insertions):  Call
1322         find_many_sub_basic_block only when some code has been emitted.
1323         (commit_edge_insertions_watch_calls): Bring into sync with
1324         commit_edge_insertions
1326 Fri Feb 21 20:41:29 2003  J"orn Rennecke <joern.rennecke@superh.com>
1328         * sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
1330         * sh.md (binary_sf_op): Use extra constant operand instead of
1331         negating constant operand 4.
1332         * sh.c (sh_expand_binop_v2sf): Supply it.
1334 2003-02-21  Zack Weinberg  <zack@codesourcery.com>
1336         * cpphash.h (struct lexer_state): Add directive_wants_padding.
1337         * cpplib.c (_cpp_handle_directive): Set directive_wants_padding
1338         for directives of type INCL.
1339         (glue_header_name, parse_include): Use get_token_no_padding.
1340         * cppmacro.c (replace_args): If directive_wants_padding,
1341         provide padding tokens.
1343 2003-02-21  Kazu Hirata  <kazu@cs.umass.edu>
1345         * config/h8300/h8300.md (a peephole2): New.
1347 Fri Feb 21 11:05:44 CET 2003  Jan Hubicka  <jh@suse.cz>
1349         * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
1350         (commit_edge_insertions): Call find_many_sub_basic_blocks
1352         * reg-stack.c (convert_regs): Cleax aux for blocks.
1354 Fri Feb 21 10:29:52 CET 2003  Jan Hubicka  <jh@suse.cz>
1356         * toplev.c (parse_options_and_default_flags): Undo accidental commit.
1358 2003-02-21  Glen Nakamura  <glen@imodulo.com>
1360         PR optimization/8613
1361         * builtins.c (expand_builtin): Emit postincrements before expanding
1362         builtin functions.
1364 2003-02-21  Ben Elliston  <bje@redhat.com>
1366         PR other/5634
1367         * doc/install.texi (Configuration): Explain using $HOME instead of
1368         the ~ metacharacter when referring to home directories.
1370 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
1372         * configure.in (TARGET_SYSTEM_ROOT): Set default to
1373         ${exec_prefix}/${target_alias}/sys-root.  Match explicit
1374         '${exec_prefix}' (in addition to the expansion thereof) as
1375         relocatable.
1376         * configure: Rebuilt.
1378 2003-02-20  Kazu Hirata  <kazu@cs.umass.edu>
1380         * config/h8300/h8300.md (addhi3_incdec): Change the name to
1381         *addhi3_incdec.
1382         (addsi3_incdec): Change the name to *addsi3_incdec.
1384 2003-02-20  Roger Sayle  <roger@eyesopen.com>
1386         * explow.c (force_reg): Avoid useless REG_EQUAL notes.
1388 2003-02-20  Toon Moene  <toon@moene.indiv.nluug.nl>
1390         PR fortran/9038
1391         * c-opts.c (sanitize_cpp_opts): Add Fortran front end
1392         options to be ignored.
1393         (c_common_decode_option): Ignore them when preprocessing.
1395 Thu Feb 20 21:41:19 CET 2003  Jan Hubicka  <jh@suse.cz>
1397         * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
1398         global variables.
1399         (lang_independent_options):  Add -fsched2-use-superblocks
1400         -fsced2-use-traces.
1401         (rest_of_compilation): Deal with it.
1402         * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks):  Declare.
1403         * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
1404         Declare.
1405         * rtl.h (reg_to_stack):  Update prototype.
1406         * reg-stack.c (reg_to_stack): Return when something has changed;
1407         update liveness when executing after superblock scheduling.
1409         * combine.c (simplify_shift_const):  Simplify few special cases
1410         into constants.
1412 2003-02-20  David Edelsohn  <edelsohn@gnu.org>
1414         * config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
1415         (add.,subf.,neg.): Change attribute to fast_compare.
1416         All DFA descriptions updated.
1418 2003-02-20  Nathan Sidwell  <nathan@codesourcery.com>
1420         Change base class access representation.
1421         * tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED,
1422         TREE_VIA_PRIVATE): Remove.
1423         (BINFO_BASEACCESSES): New binfo elt.
1424         (BINFO_BASEACCESS): New accessor.
1425         (BINFO_ELTS): Increase.
1426         (TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New.
1427         (access_public_node, access_protected_node,
1428         access_private_node): New global nodes.
1429         * tree.c (build_common_tree_nodes_2): Initialize access nodes.
1430         * dbxout.c (dbxout_type): Adjust.
1431         * dwarf2out.c (gen_inheritance_die): Add access parameter.
1432         (gen_member_die): Adjust.
1433         * dwarfout.c (output_inheritance_die): ARG is array of two trees.
1434         (output_type): Adjust.
1435         * tree-dump.c (dequeue_and_dump): Adjust binfo dumping.
1437         Change base class access representation. Share virtual base
1438         binfos.
1439         * cp/call.c (build_special_member_call): Remove binfo_for_vbase
1440         call.
1441         * cp/class.c (build_base_path): Likewise.
1442         (build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use.
1443         (build_secondary_vtable): Remove FOR_TYPE arg. Adjust.
1444         (make_new_vtable): Adjust.
1445         (force_canonical_binfo_r): Delete.
1446         (force_canonical_binfo): Delete.
1447         (mark_primary_virtual_base): Delete.
1448         (dfs_unshared_virtual_bases): Delete.
1449         (mark_primary_bases): Adjust.
1450         (maybe_warn_about_overly_private_class): Adjust.
1451         (dfs_base_derived_from): Delete.
1452         (base_derived_from): Follow the inheritance chain.
1453         (struct find_final_overrider_data): Add vpath member.
1454         (dfs_find_final_overrider): Adjust.
1455         (dfs_find_final_overrider_q, dfs_find_final_overrider_post): New.
1456         (find_final_overrider): Adjust.
1457         (update_vtable_entry_for_fn): Adjust.
1458         (modify_all_vtables): Adjust.
1459         (walk_subobject_offsets): Adjust.
1460         (layout_nonempty_base_or_field): Adjust.
1461         (layout_empty_base): Remove last parameter. Adjust.
1462         (build_base_field): Adjust.
1463         (build_base_fields): Adjust.
1464         (propagate_binfo_offsets): Remove last parameter. Adjust.
1465         (dfs_set_offset_for_unshared_vbases): Delete.
1466         (layout_virtual_bases): Adjust.
1467         (finish_struct_1): Adjust.
1468         (init_class_processing): Don't init access nodes.
1469         (dfs_get_primary_binfo): Delete.
1470         (get_primary_binfo): Adjust.
1471         (dump_class_hierarchy_r): Remove most derived arg, add IGO
1472         parameter. Adjust.
1473         (dump_class_hierarchy): Adjust.
1474         (finish_vtbls): Adjust.
1475         (get_original_base): Delete.
1476         (build_vtt_inits): Adjust.
1477         (dfs_build_secondary_vptr_vtt_inits): Adjust.
1478         (dfs_ctor_vtable_bases_queue_p): Adjust.
1479         (build_ctor_vtbl_group): Adjust.
1480         (dfs_accumulate_vtbl_inits): Adjust.
1481         (build_vtbl_initializer): Adjust.
1482         (build_vbase_offset_vtbl_entries): Adjust.
1483         (add_vcall_offset_vtbl_entries_1): Adjust.
1484         * cp/cp-tree.h (CPTI_ACCESS_*): Remove.
1485         (access_*_node): Remove.
1486         (CANONICAL_BINFO): Delete.
1487         (BINFO_UNSHARED_MARKED): Remove.
1488         (BINFO_MARKED): Set LANG_FLAG_0 directly.
1489         (SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete.
1490         (BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly.
1491         (SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED):
1492         Delete.
1493         (BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly.
1494         (SET_BINFO_NEW_VTABLE_MARKED): Adjust.
1495         (SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED):
1496         Delete.
1497         (BINFO_DEPENDENT_BASE_P): New.
1498         (dfs_walk, dfs_walk_real): Queue function takes derived binfo and
1499         index.
1500         (markedp, unmarkedp): Adjust.
1501         (dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p,
1502         dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp,
1503         find_vbase_instance, binfo_for_vbase): Delete.
1504         (copied_binfo, original_binfo): Declare.
1505         (finish_base_specifier): Add virtual_p arg.
1506         (unshare_base_binfos): Delete.
1507         (copy_base_binfos): Declare.
1508         (reverse_path): Delete.
1509         * cp/decl.c (xref_basetypes): Access and virtuality passed
1510         differently. Don't copy direct base binfos here. Call
1511         copy_base_binfos.
1512         * cp/init.c (dfs_initialize_vtbl_ptrs): Adjust.
1513         (initialize_vtbl_ptrs): Adjust.
1514         (expand_member_init): Adjust.
1515         * cp/parser.c (cp_parser_base_specifier): Adjust.
1516         * cp/pt.c (instantiate_class_template): Adjust.
1517         (get_template_base_recursive): Adjust.
1518         * cp/rtti.c (get_pseudo_ti_init): Adjust.
1519         (get_pseudo_ti_desc): Adjust.
1520         * cp/tree.c (unshare_base_binfos): Rename to ...
1521         (copy_base_binfos): ... here, reimplement.
1522         (make_binfo): Set BINFO_DEPENDENT_BASE_P.
1523         (reverse_path): Remove.
1524         * cp/typeck.c (get_delta_difference): Adjust error messages.
1525         * cp/semantics.c (finish_base_specifier): Add virtual arg, adjust.
1526         * cp/search.c (lookup_base_r): Adjust.
1527         (dynamic_cast_base_recurse): Adjust.
1528         (canonical_binfo): Remove.
1529         (dfs_canonical_queue): Remove.
1530         (dfs_assert_unmarked_p): Remove.
1531         (assert_canonical_unmarked): Remove.
1532         (shared_marked_p, shared_unmarked_p): Remove.
1533         (BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE.
1534         (dfs_access_in_type): Adjust.
1535         (access_in_type): Adjust.
1536         (dfs_accessible_queue_p): Adjust.
1537         (dfs_accessible_p): Adjust.
1538         (is_subobject_of_p_1, is_subobject_of_p): Remove.
1539         (struct lookup_field_info): Remove from_dep_base_p field.
1540         (lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P.
1541         (lookup_field_r): Remove dependent base code.
1542         (lookup_member): Likewise.
1543         (dfs_walk, dfs_walk_real): Add access arg to queue fn.
1544         (dfs_unmarked_real_bases_queue_p): Remove.
1545         (dfs_marked_real_bases_queue_p): Remove.
1546         (dfs_skip_vbases): Remove.
1547         (dfs_get_pure_virtuals): Adjust.
1548         (markedp, unmarkedp): Adjust.
1549         (marked_vtable_pathp, unmarked_vtable_pathp): Remove.
1550         (marked_pushdecls_p, unmarked_pushdecls_p): Adjust.
1551         (dfs_unmark): Adjust.
1552         (dfs_get_vbase_types):Remove.
1553         (dfs_build_inheritance_graph_order): Remove.
1554         (get_vbase_types): Remove
1555         (dfs_find_vbase_instance): Remove.
1556         (find_vbase_instance): Remove.
1557         (dfs_debug_unmarkedp): Adjust.
1558         (dependent_base_p): Remove.
1559         (dfs_push_type_decls): Adjust.
1560         (dfs_push_decls): Adjust.
1561         (dfs_no_overlap_yet): Adjust.
1562         (copied_binfo): New function.
1563         (original_binfo): New function.
1564         (binfo_for_vbase): Remove.
1566         Change base class access representation.
1567         * java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC.
1568         (add_interface_do): Likewise.
1570 2003-02-20  David Edelsohn  <edelsohn@gnu.org>
1572         * config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
1573         * config/rs6000/power4.md (power4-store,power4-vecstore): New
1574         insn reservations.
1575         (power4-fpstore): Compact.
1577 2003-02-20  Kazu Hirata  <kazu@cs.umass.edu>
1579         * config/h8300/h8300.md (*iorsi3_w): New.
1581 2003-02-20  Josef Zlomek  <zlomekj@suse.cz>
1583         * combine.c (distribute_notes): Kill REG_EXEC_COUNT.
1584         * rtl.c (reg_note_name): Likewise.
1585         * rtl.h (enum reg_note): Likewise.
1586         * doc/invoke.texi: Likewise.
1587         * doc/rtl.texi: Likewise.
1589 2003-02-20  Josef Zlomek  <zlomekj@suse.cz>
1591         * bb-reorder.c (find_traces_1_round): Fix comment typo.
1593 2003-02-19  Roger Sayle  <roger@eyesopen.com>
1595         * fold-const.c (fold_real_zero_addition_p): Don't fold a zero
1596         addition in the presence of signaling NaNs.
1598 2003-02-19  Krister Walfridsson  <cato@df.lth.se>
1600         * tm.texi (INIT_CUMULATIVE_ARGS): Fix typo.
1602 2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
1604         * config/h8300/h8300.c (output_logical_op): Optimize or.l when
1605         ORing with 0xffff??00 with the highest bit of the ?? part set.
1606         (compute_logical_op_length): Update.
1607         (compute_logical_op_cc): Likewise.
1609 2003-02-19  Josef Zlomek  <zlomekj@suse.cz>
1611         * bb-reorder.c (find_traces_1_round): Fixed condition for small
1612         destination block with multiple predecessors.
1613         (connect_traces): Check whether the block is a start of trace.
1615 Wed Feb 19 19:00:24 CET 2003  Jan Hubicka  <jh@suse.cz>
1617         * calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS
1618         * function.c (assign_params): Likewise.
1619         * arm-protos.h (arm_init_cumulative_args): Update prototype.
1620         * arm.c (arm_init_cumulative_args): Update function.
1621         * arm.h (INIT_CUMULATIVE_ARGS): Update.
1622         * avr-protos.h (init_cumulative_args): Update prototype.
1623         * avr.c (init_cumulative_args): Update function.
1624         * avr.h (INIT_CUMULATIVE_ARGS): Update.
1625         * d30v-protos.h (d30v_init_cumulative_args): Update prototype.
1626         * d30v.c (d30v_init_cumulative_args): Update function.
1627         * d30v.h (INIT_CUMULATIVE_ARGS): Update.
1628         * frv-protos.h (frv_init_cumulative_args): Update prototype.
1629         * frv.c (frv_init_cumulative_args): Update function.
1630         * frv.h (INIT_CUMULATIVE_ARGS): Update.
1631         * mips.c (mips_expand_prolgue): Update call of INIT_CUMULATIVE_ARGS.
1632         * pa.h (INIT_CUMULATIVE_ARGS): Update.
1633         * sparc-protos.h (init_cumulative_args): Update prototype.
1634         * sparc.c (init_cumulative_args): Update function.
1635         * sparc.h (INIT_CUMULATIVE_ARGS): Update.
1636         * tm.texi (INIT_CUMULATIVE_ARGS): Update documentation.
1638 2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
1640         * config/h8300/h8300.md (*iorsi3_two_qi_sext): New.
1641         (*ashiftsi_sextqi_7): Likewise.
1643 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1645         * config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for
1646         ISO C99 and C++.
1648         * fixinc/inclhack.def (irix___restrict): Don't change __restrict
1649         for C++ on IRIX 6.5.1[89].
1650         * fixinc/tests/base/internal/sgimacros.h: New file.
1652         * fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99.
1653         * fixinc/tests/base/internal/wchar_core.h: New file.
1655         * fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78]
1656         socklen_t definition.
1657         * fixinc/fixincl.x: Regenerate.
1658         * fixinc/tests/base/sys/socket.h: New file.
1659         Fixes PR libgcj/9652.
1661 Wed Feb 19 17:22:51 CET 2003  Jan Hubicka  <jh@suse.cz>
1663         * i386.md (movsfcc_1, movdfcc_1): Fix constrains.
1665 2003-02-19  David Edelsohn  <edelsohn@gnu.org>
1667         * config/rs6000/rs6000.c (rs6000_override_options): Initialize
1668         align_jumps_max_skip and align_loops_max_skip.
1670 2003-02-19  Thierry Moreau  <thierry.moreau@connotech.com>
1672         * config/rs6000/rs6000.c (rs6000_encode_section_info): Do not
1673         test size if named section.
1675 2003-02-19  Daniel Jacobowitz  <drow@mvista.com>
1677         * expr.c (expand_expr): Use gen_int_mode for the argument
1678         to gen_rtx_MULT.
1680 Wed Feb 19 14:22:42 CET 2003  Jan Hubicka  <jh@suse.cz>
1682         * i386.md (cosxf2):  Fix conditional.
1684 2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
1686         * config/h8300/h8300.md (extendqisi2): Change to an expander.
1687         (*extendqisi2_h8300): New.
1688         (*extendqisi2_h8300hs): Likewise.
1690 2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
1692         * config/h8300/h8300-protos.h: Update the prototype for
1693         split_adds_subs.  Remove the prototypes for
1694         const_int_le_2_operand and const_int_le_6_operand.
1695         * config/h8300/h8300.c (split_adds_sub): Don't output inc/dec.
1696         (const_int_le_2_operand): Remove.
1697         (const_int_le_6_operand): Likewise.
1698         * config/h8300/h8300.h (PREDICATE_CODES): Remove the entries
1699         for const_int_le_2_operand and const_int_le_6_operand.
1700         * config/h8300/h8300.md: Update all uses of split_adds_subs.
1701         (a peephole2): New.
1703 Tue Feb 18 23:50:59 CET 2003  Jan Hubicka  <jh@suse.cz>
1705         * cgraph.c (NPREDECESORC, SET_NPREDECESORS): Kill.
1706         (cgraph_expand_function): Rewrite.
1708 2003-02-18  Matt Austern <austern@apple.com>
1710         * toplev.c, langhooks.c, langhooks-def.h: Move
1711         write_global_declarations from toplev.c to langhooks.c.
1713 2003-02-18  Kazu Hirata  <kazu@cs.umass.edu>
1715         * config/h8300/h8300.c (general_operand_src): Always check
1716         MODE.
1717         (general_operand_dst): Likewise.
1719 2003-02-18  Roger Sayle  <roger@eyesopen.com>
1721         * convert.c (convert_to_real): Also optimize (float)log(x) into
1722         logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}.
1724 2003-02-18  Kaz Kojima  <kkojima@gcc.gnu.org>
1726         * config/sh/sh.c (unspec_caller_rtx_p): New.
1727         (sh_cannot_copy_insn_p): New.
1728         (TARGET_CANNOT_COPY_INSN_P): New.
1730 2003-02-18  Richard Henderson  <rth@redhat.com>
1732         * c-common.c (handle_used_attribute): Accept static data too.
1734 2003-02-18  Nick Clifton  <nickc@redhat.com>
1735             Aldy Hernandez  <aldyh@redhat.com>
1737         * testsuite/gcc.dg/20030218-1.c: New.
1739         * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.
1741         * target-def.h (TARGET_INITIALIZER): Add
1742         TARGET_VECTOR_TYPES_COMPATIBLE.
1743         (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.
1745         * target.h (struct gcc_target): Add field vector_types_compatible.
1747         * c-typeck.c (comptypes): Take into account
1748         TARGET_VECTOR_TYPES_COMPATIBLE.
1749         (convert_for_assignment): Same.
1751         * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
1752         (rs6000_spe_vector_types_compatible): New.
1753         (TARGET_VECTOR_TYPES_COMPATIBLE): Define.
1755 2003-02-19  Andreas Schwab  <schwab@suse.de>
1757         * Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).
1758         * toplev.c: Include langhooks-def.h.
1760 2003-02-18  Chris Demetriou  <cgd@broadcom.com>
1762         * config/mips/mips.h (enum processor_type): Sort entries
1763         alphabetically.
1764         * config/mips/mips.md (define_attr cpu): Sync with processor_type
1765         enum values, including adding entries that were missing.
1767 Tue Feb 18 20:15:54 2003  J"orn Rennecke <joern.rennecke@superh.com>
1769         * sh.c (calc_live_regs): Also check GET_CODE when checking if
1770         initial value for PR_REG is still the PR_REG register.
1772 2003-02-18  Jim Wilson  <wilson@redhat.com>
1774         * config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
1775         instruction in output template.
1776         (bsp_value): Change output template from string to C code, add %,
1777         before actual instruction.
1778         (flushrs): Mark as not predicable.
1780 2003-02-18  Krister Walfridsson  <cato@df.lth.se>
1782         * inclhack.def (netbsd_bogus_semicolon): New fix.
1783         * fixincl.x: Rebuilt.
1784         * tests/base/ctype.h: Update.
1786 2003-02-18  Roger Sayle  <roger@eyesopen.com>
1788         * fold-const.c (negate_expr_p): New function to determine whether
1789         an expression can be negated cheaply.
1790         (fold) [MINUS_EXPR]: Use it to determine whether to transform
1791         -A - B into -B - A for floating point types.
1793 2003-02-18  Roger Sayle  <roger@eyesopen.com>
1795         * sbitmap.c (sbitmap_resize): New function.
1796         * sbitmap.h (sbitmap_resize): Prototype here.
1797         * recog.c (split_all_insns): Use sbitmap_resize.
1799 2003-02-18  Kazu Hirata  <kazu@cs.umass.edu>
1801         * config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
1802         insn length.
1803         (extendqisi2): Likewise.
1804         (*extendhisi2_h8300): Likewise.
1806 2003-02-18  Matt Austern <austern@apple.com>
1808         * langhooks.h, langhooks-def.h: introduce new langhook,
1809         final_write_globals, with write_global_declarations as default.
1810         * toplev.c: Move invocation of wrapup_global_declarations from
1811         compile_file to new function, write_global_declarations.  Change
1812         compile_file to use final_write_globals hook.  Change
1813         wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
1814         conditional.
1816 2003-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1818         * pa.md: Correct and enhance comment.
1820 2003-02-18  Geoffrey Keating  <geoffk@apple.com>
1822         * gcc.c (validate_switches): Don't scan past closing '}'.
1824 2003-02-18  Ben Elliston  <bje@redhat.com>
1826         PR c++/1607
1827         * doc/extend.texi (Function Attributes): Document the effect of
1828         the C++ "this" parameter on the counting of arguments for the
1829         "format" and "format_arg" attributes.
1831 2003-02-17  Aldy Hernandez  <aldyh@redhat.com>
1833         * config/rs6000/spe.h (__ev_stdd): Cast 2nd arg.
1834         (__ev_stdw): Same.
1835         (__ev_stdh): Same.
1837 Mon Feb 17 16:16:54 CET 2003  Jan Hubicka  <jh@suse.cz>
1839         * recog.c (split_all_insns):  Fix memory overflow.
1841 2003-02-17  Kazu Hirata  <kazu@cs.umass.edu>
1843         * config/h8300/h8300.md (cmpqi): Remove mode from compare.
1844         (cmphi): Likewise.
1845         (*cmphi_h8300): Likewise.
1846         (*cmphi_h8300hs): Likewise.
1847         (cmpsi): Likewise.
1848         (7 peephole2): Likewise.
1850 Sun Feb 16 23:07:52 CET 2003  Jan Hubicka  <jh@suse.cz>
1852         * c-typeck.c (build_c_cast):  Fold constant variables into
1853         initial values.
1855 2003-02-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1857         * doc/install.texi (Specific): Fix link for m68k-att-sysv.
1858         (Binaries): Ditto for Sinix/Reliant Unix.
1860 2003-02-16 Richard Earnshaw  <rearnsha@arm.com>
1862         * arm.c (arm_reload_in_hi): Ensure that the scratch register does
1863         not overlap the final result register.
1865 2003-02-16 Arend Bayer <arend.bayer@web.de>
1866            Richard Henderson  <rth@redhat.com>
1868         PR c/8068
1869         * fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
1870         rearrange mult arguments for less recursion.
1871         (extract_muldiv): New.  Prevent runaway recursion.
1873 2003-02-16  Danny Smith  <dannysmith@users.sourceforge.net>
1875         * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
1876         MASK_ALIGN_DOUBLE.
1878 2003-02-15  Roger Sayle  <roger@eyesopen.com>
1880         * config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns
1881         to load mathematical constants on K6, Athlon, Pentium 4 and PPro.
1882         (ext_80387_constants_table): Global table of 80387 special constants
1883         guarded by ext_80387_constants_init flag when not initialized.
1884         (init_ext_80387_constants): New function to initialize this table.
1885         (standard_80387_constant_p): Extend to recognize extra 80387
1886         constants, in XFmode, on processors where this is a win.
1887         (standard_80387_constant_opcode): New function to return the
1888         opcode associated with standard_80387_constant_p.
1889         (standard_80387_constant_rtx): New function to return the XFmode
1890         CONST_DOUBLE associated with standard_80387_constant_p.
1891         (ix86_rtx_costs): Give the new constants the same cost as 1.0.
1893         * config/i386/i386-protos.h (standard_80387_constant_opcode):
1894         Prototype here.
1895         (standard_80387_constant_rtx): Likewise.
1897         * config/i386/i386.md (*movsf1, *movsf1_nointerunit, *movdf_nointeger,
1898         *movdf_integer, *movxf_nointeger, *movtf_nointeger, *movxf_integer,
1899         *movtf_integer): Simplify using new standard_80387_constant_opcode.
1901 2003-02-15  Geoffrey Keating  <geoffk@apple.com>
1903         * doc/invoke.texi (Optimize Options): Correct @option syntax.
1905 2003-02-15  Richard Henderson  <rth@redhat.com>
1907         * Makefile.in (cfglayout.o): Depend on TARGET_H.
1908         * cfglayout.c: Include target.h.
1909         (cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p.
1910         * target-def.h (TARGET_CANNOT_COPY_INSN_P): New.
1911         * target.h (struct gcc_target): Add cannot_copy_insn_p.
1913         * config/alpha/alpha.c (alpha_cannot_copy_insn_p): New.
1914         (TARGET_CANNOT_COPY_INSN_P): New.
1915         (override_options): Revert 2003-02-08 hack.
1917 2003-02-15  Richard Henderson  <rth@redhat.com>
1919         * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
1920         (bypass_conditional_jumps): Accept computed_jump_p insns as well.
1922 2003-02-15  David Edelsohn  <edelsohn@gnu.org>
1924         * config/rs6000/rs6000.h (processor_type): Add PPC440.
1925         * config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
1926         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
1927         TARGET_SCHED_VARIABLE_ISSUE): Define.
1928         (rs6000_use_dfa_pipeline_interface): New function.
1929         (rs6000_multipass_dfa_lookahead): New Function.
1930         (rs6000_variable_issue): New function.
1931         (rs6000_adjust_cost): Add CMP and DELAYED_CR types.
1932         (rs6000_issue_rate): Add PPC440.
1933         * config/rs6000/rs6000.md (unspec list): Correct typo.
1934         (attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u,
1935         store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u,
1936         cmp, delayed_cr, mfcr, mtcr.
1937         (automata_option): Set "ndfa".
1938         (extendMMNN2): Update attributes.
1939         (movcc_internal1): Discourage move to non-cr0.  Update
1940         attributes.
1941         (movMM_update): Update attributes.
1942         (cmpMM_internal): Update attributes.
1943         (sCC CR materialization): Update attributes.
1944         (branch patterns): Do not discourage non-cr0.
1945         (cr logical patterns): Prefer destructive register allocation.
1946         Update attributes.
1947         (movesi_from_cr): Update attribute.
1948         (mtcrf_operation): Update attribute.
1949         (mtcrfsi): Update attribute.
1950         * config/rs6000/40x.md: New file.
1951         * config/rs6000/603.md: New file.
1952         * config/rs6000/6xx.md: New file.
1953         * config/rs6000/7450.md: New file.
1954         * config/rs6000/7xx.md: New file.
1955         * config/rs6000/mpc.md: New file.
1956         * config/rs6000/power4.md: New file.
1957         * config/rs6000/rios1.md: New file.
1958         * config/rs6000/rios2.md: New file.
1959         * config/rs6000/rs64.md: New file.
1960         [Some DFA descriptions based on work by Michael Hayes]
1962 2003-02-15  Richard Henderson  <rth@redhat.com>
1964         * bb-reorder.c (find_traces_1_round): Don't connect easy to copy
1965         successors with multiple predecessors.
1966         (connect_traces): Try harder to copy traces of length 1.
1968         * function.h (struct function): Add computed_goto_common_label,
1969         computed_goto_common_reg.
1970         * function.c (free_after_compilation): Zap them.
1971         * stmt.c (expand_computed_goto): Use them to produce one
1972         indirect branch per function.
1974 2003-02-15  Richard Henderson  <rth@redhat.com>
1976         * cfgcleanup.c: Include params.h.
1977         (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES.  Fix test for
1978         too many outgoing edges from a block.
1979         * Makefile.in (cfgcleanup.o): Depend on PARAMS_H.
1980         * params.def (max-crossjump-edges): New.
1981         * doc/invoke.texi: Document it.
1983 2003-02-15  Richard Henderson  <rth@redhat.com>
1985         * recog.c (split_all_insns): Include new blocks in life update;
1986         do a global life update.
1988 2003-02-15  Danny Smith  <dannysmith@users.sourceforge.net>
1990         * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
1991         Update copyright.
1992         * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a for
1993         -mno-cygwin case.
1995 2003-02-14  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
1997         PR optimization/7702
1998         * reload1.c (reload_cse_simplify_set): Honor
1999         CANNOT_CHANGE_MODE_CLASS.
2001 2003-02-14  Alexandre Oliva  <aoliva@redhat.com>
2003         * config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New
2004         function.
2005         * config/mn10300/mn10300-protos.h: Declare it.
2006         * config/mn10300/mn10300.md (movdi, movdf): Use it to compute
2007         attribute cc of instructions that may use clr.
2009 2003-02-14  Kazu Hirata  <kazu@cs.umass.edu>
2011         * simplify-rtx.c (simplify_binary_operation): Simplify ~y when
2012         (x - (x & y)) is found.
2014 2003-02-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2016         * configure.in: Fix typo.
2017         * configure: Regenerate.
2019 2003-02-14  Kazu Hirata  <kazu@cs.umass.edu>
2021         * config/h8300/h8300.md (*iorsi2_and_1_lshiftrt_1): New.
2023 2003-02-13  Adam Nemet  <anemet@lnxw.com>
2025         PR opt/2391
2026         * combine.c: Fix spelling in comment.
2027         (cached_nonzero_bits): New function.
2028         (cached_num_sign_bit_copies): New function.
2029         (nonzero_bits_with_known): New macro.
2030         (num_sign_bit_copies_with_known): New macro.
2031         (nonzero_bits1): Rename from nonzero_bits.  Add three new
2032         arguments.  Change calls from nonzero_bits to
2033         nonzero_bits_with_known.
2034         (num_sign_bit_copies1): Rename from num_sign_bit_copies.  Add
2035         three new arguments.  Change calls from num_sign_bit_copies to
2036         num_sign_bit_copies_with_known.
2037         (nonzero_bits): New macro.
2038         (num_sign_bit_copies): New macro.
2039         (update_table_tick): Don't traverse identical subexpression more
2040         than once.
2041         (get_last_value_validate): Likewise.
2043 2003-02-13  Zack Weinberg  <zack@codesourcery.com>
2045         * emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
2046         * function.h (struct emit_status): Length of regno_pointer_align
2047         and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no,
2048         not regno_pointer_align_length (i.e. length actually used, not
2049         length as allocated)
2051         * config/i386/i386.c (struct stack_local_entry): New.
2052         (struct machine_function): Replace huge array with alist.
2053         (assign_386_stack_local): Change to match.
2055 2003-02-13  John David Anglin  <dave.anglin@nrc-crnc.gc.ca>
2057         * inclhack.def (hpux_long_double): Tighten select and add bypass
2058         regexp.
2059         * fixincl.x: Rebuilt.
2061 2003-02-13  Josef Zlomek  <zlomekj@suse.cz>
2063         * cfgcleanup.c (outgoing_edges_match): When there is single outgoing
2064         edge and block ends with a jump insn it must be simple jump.
2066 2003-02-13  Daniel Jacobowitz  <drow@mvista.com>
2068         * Makefile.in (PREPROCESSOR_DEFINES): Add
2069         @TARGET_SYSTEM_ROOT_DEFINE@.
2070         * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
2071         is specified or if building a cross compiler.
2072         (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
2073         if the sysroot is under $exec_prefix.
2074         * configure: Regenerated.
2075         * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
2076         defined.
2077         (struct default_include): Add add_sysroot field.
2078         (cpp_SYSROOT): Declare.
2079         * cppdefault.c (cpp_include_defaults): Fill in add_sysroot
2080         field.
2081         (cpp_SYSROOT): New variable.
2082         * cppinit.c (cpp_create_reader): Initialize
2083         CPP_OPTION (pfile, sysroot).
2084         (init_standard_includes): Handle add_sysroot.  Do not
2085         add unrelocated copies of relocated directories.
2086         (COMMAND_LINE_OPTIONS): Add -isysroot.
2087         (cpp_handle_option): Handle -isysroot.
2088         * cpplib.h (struct cpp_options): Add sysroot member.
2089         * gcc.c (The Specs Language): Update description of %I.
2090         (target_system_root_changed): New variable.
2091         (process_command): Conditionalize make_relative_prefix call
2092         on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE.  Set
2093         target_system_root_changed.
2094         (do_spec_1): Add -isysroot to %I.
2095         * doc/invoke.texi (Spec Files): Update description of %I.
2096         * doc/install.texi (--with-sysroot): Update comment about
2097         relocation.
2099 2003-02-13  Kazu Hirata  <kazu@cs.umass.edu>
2101         * config/h8300/h8300.md (a peephole2): New.
2103 2003-02-13  Robert Lipe <robertlipe@usa.net>
2104             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2106         * doc/install.texi (Specific): Update three SCO-related URLs.
2108 2003-02-13  Andreas Schwab  <schwab@suse.de>
2110         * cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
2111         Parenthesize properly.
2112         (NPREDECESORS): Parenthesize properly.
2114 2003-02-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2116         * timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
2118 2003-02-12  Roger Sayle  <roger@eyesopen.com>
2120         * config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
2121         (atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns.
2123         * reg-stack.c (subst_stack_regs_pat): Add support for binary
2124         UNSPEC instructions (e.g. "fpatan").
2126 2003-02-12  Mike Stump  <mrs@apple.com>
2128         * varray.c (element_size): Remove.
2129         (uses_ggc): Remove.
2130         (element): Add.
2131         (varray_init): Use new interface.
2132         (varray_grow): Use new interface.
2133         (varray_clear): Use new interface.
2135 2003-02-12  Aldy Hernandez  <aldyh@redhat.com>
2137         * config/rs6000/spe.h: Add casts to the arguments of the following
2138         macros: evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul,
2139         evfsdiv, evfscfui, evfscfsi evfscfuf evfscfsf, evfsctui, evfsctsi,
2140         evfsctuf, evfsctsf, evfsctuiz, evfsctsiz, __ev_get_upper*,
2141         __ev_get_lower*, __ev_get_u32, __ev_get_s32, __ev_get_fs,
2142         __ev_get_u16, __ev_get_s16.
2144 2003-02-12  Kazu Hirata  <kazu@cs.umass.edu>
2146         * config/h8300/h8300.md (a peephole2): New.
2148 Wed Feb 12 22:47:18 CET 2003  Jan Hubicka  <jh@suse.cz>
2150         * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time
2151         (OBJS): Add callgraph.o
2152         (callgraph.o): New.
2153         * c-decl.c (expand_body_1): Break out from ...
2154         (expand_body): This one;  change calling convention
2155         (finish_function): Move some of expand_body logic here.
2156         (c_expand_deferred_function): Update call of expand_body
2157         (c_expand_stmt): Use c_expand_body_1.
2158         * c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
2159         * c-objc-commin.c (c_objc_common_finish_file): Use callgraph code.
2160         * c-tree.h (c_expand_body): Declare.
2161         * callgraph.c: New file.
2162         * flags.h (flag_unit_at_a_time): Declare.
2163         * langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION,
2164         LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION,
2165         LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros.
2166         * langhooks.h (struct lang_hooks_for_callgraph): New.
2167         (struct lang_hooks): Add callgraph field.
2168         * toplev.c (flag_unit_at_a_time): New.
2169         (lang_independent_options): Add flag_unit_at_a_time.
2170         (process_options): Disable unit-at-a-time mode for frontends not
2171         supporting callgraph.
2172         * tree-inline.c (typedef struct inline_data): Add "decl"
2173         (expand_call_inline): Update callgraph.
2174         (optimize_inline_calls): Set id.decl.
2175         * tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit,
2176         cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call
2177         cgraph_calls_p): Declare.
2178         * invoke.texi (-funit-at-a-time): Document
2180 2003-02-12  Aldy Hernandez  <aldyh@redhat.com>
2182         * config/rs6000/spe.h: Fix misc formatting.
2183         (__ev_create_ufix32_fs): Cast ev argument.
2184         (__ev_create_sfix32_fs): Same.
2185         (__ev_get_sfix32_fs_internal): Cast arguments to builtins.
2186         (__ev_get_ufix32_fs_internal): Same.
2188 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
2190         * doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document.
2191         * config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro.
2193 2003-02-12  Zack Weinberg  <zack@codesourcery.com>
2195         * cpplib.c (do_include_common): Move warnings for
2196         #include_next and #import out to callers.  Use early-return
2197         instead of nested ifs.  Don't do check_eol here.
2198         (parse_include): Do check_eol here with the rest of the
2199         parsing stuff.
2200         (do_include_next, do_import): Now handle warnings.
2202 2003-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2204         * doc/install.texi (Specific): Update AVR- and Darwin-related URLs.
2206 Wed Feb 12 15:19:42 CET 2003  Jan Hubicka  <jh@suse.cz>
2208         * predict.c (estimate_probability):  Fix roundoff error.
2210 2003-02-12  Kazu Hirata  <kazu@cs.umass.edu>
2212         * config/h8300/h8300.md (a peephole2): Don't handle 65535.
2213         (two peephole2): New.
2215 2003-02-12  Kazu Hirata  <kazu@cs.umass.edu>
2217         * config/h8300/h8300.md (several peephole2): Replace
2218         find_regno_note with peep2_reg_dead_p.
2220 2003-02-11  Richard Henderson  <rth@redhat.com>
2222         * gcse.c (lookup_set): Remove unused argument PAT.  Update
2223         both callers.
2225 2003-02-11  Geoffrey Keating  <geoffk@apple.com>
2227         * diagnostic.c (real_abort): New.
2228         (diagnostic_report_diagnostic): Call real_abort on error.
2229         * diagnostic.h (diagnostic_abort_on_error): New.
2230         (struct diagnostic_context): Add abort_on_error field.
2231         * toplev.c (setup_core_dumping): New.
2232         (decode_d_option): Handle 'H' case.
2233         * doc/invoke.texi (Debugging Options): Document -dH.
2235 2003-02-11  Nathanael Nerode  <neroden@gcc.gnu.org>
2237         * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
2238         which refers to obsolete directories.
2240 2003-02-11  Richard Henderson  <rth@redhat.com>
2242         * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New.
2244 Mon Oct 21 17:07:47 CEST 2002  Jan Hubicka  <jh@suse.cz>
2246         * i386.c (contains_128bit_aligned_vector_p): New function.
2247         (ix86_function_arg_boundary): Properly align vector modes.
2249 2003-02-11  Bob Wilson  <bob.wilson@acm.org>
2251         * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
2252         * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
2253         as a SET pattern.
2255 2003-02-11  Roger Sayle  <roger@eyesopen.com>
2257         * builtins.c:  Fix failure caused by commiting wrong patch.
2259 2003-02-11  Dale Johannesen  <dalej@apple.com>
2260         * ra-build.c (compare_and_free_webs):  Relax checking.
2261         * config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME):  Define.
2262         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME):  Define.
2264 2003-02-11  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
2266         PR optimization/9651
2267         * rtlanal.c (may_trap_p): Handle FIX.
2269 2003-02-11  Dave Jones <davej@codemonkey.org.uk>
2271         * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
2272         * doc/invoke.texi: Extra alias.
2274 2003-02-11  Geoffrey Keating  <geoffk@apple.com>
2276         * config/rs6000/host-darwin.c: Fix comment.
2278 2003-02-11  David Edelsohn  <edelsohn@gnu.org>
2280         * config/rs6000/rs6000.md (divmodsi4): Use register_operand
2281         predicate for mod result.
2283 2003-02-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2285         * inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
2286         hpux10_ctype_declarations2, hpux_ctype_macros): New hacks.
2287         * fixincl.x: Rebuilt.
2288         * tests/base/stdlib.h: Update.
2289         * tests/base/ctype.h: New file.
2291 Tue Feb 11 20:44:45 CET 2003  Jan Hubicka  <jh@suse.cz>
2293         * emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.
2295 2003-02-11  Richard Henderson  <rth@redhat.com>
2297         * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi
2298         appropriated as globals.
2299         (ix86_expand_clrstr): Similarly.
2300         * config/i386/i386.md (cmpstrsi): Similarly.
2302 2003-02-11  Kazu Hirata  <kazu@cs.umass.edu>
2304         * config/h8300/h8300.md (a peephole2): Add a case of 255.
2306 2003-02-11  Roger Sayle  <roger@eyesopen.com>
2308         * optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2.
2309         (pow_optab, atan2_optab): Define corresponding macros.
2310         * optabs.c (init_optabs): Initialize pow_optab and atan2_optab.
2311         * genopinit.c (optabs): Implement pow_optab and atan2_optab
2312         using pow?f3 and atan2?f3 patterns.
2313         * builtins.c (expand_errno_check): New function to update errno
2314         if necessary, split out from expand_builtin_mathfn.
2315         (expand_builtin_mathfn): Use expand_errno_check.
2316         (expand_builtin_mathfn_2): New function to handle expanding binary
2317         math functions, reusing the code in expand_errno_check.
2318         (expand_builtin): Handle the pow and atan2 math built-ins,
2319         BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function
2320         expand_builtin_mathfn_2.
2322         * doc/md.texi: Document new pow?f3 and atan2?f3 patterns.
2324 Tue Feb 11 19:03:22 MET 2003  Jan Hubicka  <jh@suse.cz>
2326         * combine.c (combine_simplify_rtx): Fix folding of
2327         nested float_truncates.
2329 2003-02-11  Kazu Hirata  <kazu@cs.umass.edu>
2331         * config/h8300/h8300.md (a peephole2): Fix a typo.
2333 2003-02-11  Richard Earnshaw  <rearnsha@arm.com>
2335         * arm.mc (return_address_mask): Use CC_REGNUM for the condition code
2336         register number.
2338 2003-02-11  Kazu Hirata  <kazu@cs.umass.edu>
2340         * config/h8300/h8300-protos.h: Add a prototype for
2341         gtuleu_operator.
2342         * config/h8300/h8300.c (gtuleu_operator): New.
2343         * config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator.
2344         * config/h8300/h8300.md (a peephole2): New.
2346 Tue Feb 11 13:32:12 CET 2003  Jan Hubicka  <jh@suse.cz>
2348         * sched-ebb.c (schedule_ebbs): Do not verify_flow_info.
2350 Tue Feb 11 10:02:54 CET 2003  Jan Hubicka  <jh@suse.cz>
2352         * predict.c (choose_function_section): Choose sections correctly.
2354 2003-02-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2356         * reload1.c (first_label_num): New.
2357         (reload): Index offsets_known_at and offsets_at using difference of
2358         label number and first label number.  Don't use offset pointers.
2359         (set_label_offsets, set_initial_label_offsets): Likewise.
2361 2003-02-10  Roger Sayle  <roger@eyesopen.com>
2363         * mips-tfile.c (init_file): Add missing initializers in the
2364         "#ifdef __alpha" case.
2365         (file_offset, max_file_offset): Declare as unsigned long.
2366         (write_varray): Cast to "unsigned long" in comparisons against
2367         either file_offset or max_file_offset.
2368         (write_object): Likewise.
2369         (read_seek): Likewise.
2370         (copy_object): Likewise. Declare "ifd" as int to match its use
2371         in add_ext_symbol, and avoid signed/unsigned conditional warning.
2373 2003-02-10  Nick Clifton  <nickc@redhat.com>
2374             Aldy Hernandez  <aldyh@redhat.com>
2376         * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not
2377         override options which have been specified on the command line.
2379 2003-02-10  Kazu Hirata  <kazu@cs.umass.edu>
2381         * config/h8300/h8300.md (abssf2): New.
2382         (*abssf2_h8300): Likewise.
2383         (*abssf2_h8300hs): Likewise.
2385 2003-02-10  Phil Edwards  <pme@gcc.gnu.org>
2387         * tree.c (build_tree_list):  Fix parameter names in comment.
2389 2003-02-10  Janis Johnson  <janis187@us.ibm.com>
2391         * config/rs6000/ppc64-fp.c: New file.
2392         * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.
2394 2003-02-10  Josef Zlomek  <zlomekj@suse.cz>
2396         * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
2397         * bb-reorder.c (make_reorder_chain): Deleted.
2398         (make_reorder_chain_1): Deleted.
2399         (find_traces): New function.
2400         (rotate_loop): New function.
2401         (mark_bb_visited): New function.
2402         (find_traces_1_round): New function.
2403         (copy_bb): New function.
2404         (bb_to_key): New function.
2405         (better_edge_p): New function.
2406         (connect_traces): New function.
2407         (copy_bb_p): New function.
2408         (get_uncond_jump_length): New function.
2409         (reorder_basic_blocks): Use new functions (Software Trace Cache).
2410         * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop
2411         boundaries.
2413 2003-02-10  Aldy Hernandez  <aldyh@redhat.com>
2415         * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3.
2417 2003-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
2419         * tree.h (struct tree_decl): Remove unused live_range_rtl field.
2420         (DECL_LIVE_RANGE_RTL): Remove.
2422 2003-02-10  Nick Clifton  <nickc@redhat.com>
2424         * config/arm/aof.h, config/arm/aout.h, config/arm/arm-modes.def,
2425         config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
2426         config/arm/arm.md, config/arm/cirrus.md, config/arm/coff.h,
2427         config/arm/conix-elf.h, config/arm/ecos-elf.h, config/arm/elf.h,
2428         config/arm/freebsd.h, config/arm/linux-elf.h,
2429         config/arm/linux-gas.h, config/arm/netbsd-elf.h,
2430         config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h,
2431         config/arm/rtems-elf.h, config/arm/semi.h, config/arm/semiaof.h,
2432         config/arm/strongarm-coff.h, config/arm/strongarm-elf.h,
2433         config/arm/strongarm-pe.h, config/arm/uclinux-elf.h,
2434         config/arm/unknown-elf-oabi.h, config/arm/unknown-elf.h,
2435         config/arm/xscale-elf.h: Replace occurances of "GNU CC" with "GCC"
2436         and reformat as appropriate.
2438 2003-02-10  Kazu Hirata  <kazu@cs.umass.edu>
2440         * config/h8300/clzsi2.c: Remove.
2441         * config/h8300/ctzsi2.c: Likewise.
2442         * config/h8300/paritysi2.c: Likewise.
2443         * config/h8300/popcountsi2.c: Likewise.
2444         * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2,
2445         ctzsi2, paritysi2, and popcountsi2.
2447 2003-02-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
2448             Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
2450         PR c/7741
2451         * c-decl.c (duplicate_decls): Discard the initializer of the
2452         new decl when the types are conflicting.
2454 2003-02-10  Josef Zlomek  <zlomekj@suse.cz>
2456         * Makefile.in (sreal.o): Added.
2457         (predict.o): Depends on sreal.h instead of real.h.
2458         * sreal.c: New file.
2459         * sreal.h: New file.
2460         * predict.c: Use sreal.c instead of real.c.
2462 2003-02-10  Nick Clifton  <nickc@redhat.com>
2464         * Contributed support for the Cirrus EP9312 "Maverick"
2465         floating point co-processor.  Written by Aldy Hernandez
2466         <aldyh@redhat.com>.
2467         (config/arm/arm.c): Add Cirrus support.
2468         (config/arm/arm.h): Likewise.
2469         (config/arm/aout.h): Likewise.
2470         (config/arm/arm.md): Likewise.
2471         (config/arm/arm-protos.h): Likewise.
2472         (config.gcc): Likewise.
2473         (doc/invoke.texi): Describe new -mcpu value and new
2474         -mcirrus-fix-invalid-insns switch,
2475         (cirrus.md): New file.
2477 Mon Feb 10 11:40:18 CET 2003  Jan Hubicka  <jh@suse.cz>
2479         * combine.c (combine_simplify_rtx): Simplify using
2480         (float_truncate (float x)) is (float x)
2481         (float_extend (float_extend x)) is (float_extend x).
2483 2003-02-10  Alan Modra  <amodra@bigpond.net.au>
2485         * calls.c (try_to_integrate): Tidy stack_usage_map access.
2486         (emit_library_call_value_1): Likewise.  Formatting.
2487         (store_one_arg): Likewise.
2489 2003-02-09  Nick Clifton  <nickc@redhat.com>
2490             Aldy Hernandez  <aldyh@redhat.com>
2492         * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat,
2493         spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd,
2494         spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou,
2495         spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe,
2496         spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest
2497         docs.  Add range test for immediate value.
2499 2003-02-09  Aldy Hernandez  <aldyh@redhat.com>
2501         Rename spe_evxor to xorv2si3.
2502         (xorv4hi3): New.
2503         (xorv1di3): New.
2505 2003-02-10  Glen Nakamura  <glen@imodulo.com>
2507         * doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
2508         tag.
2510 Mon Feb 10 00:29:17 CET 2003  Jan Hubicka  <jh@suse.cz>
2512         * i386.c (vector_move_operand): New predicate.
2513         (ix86_expand_vector_move): Be happy about 0.
2514         * i386.h (PREDICATE_CODES): Add sse-move_operand.
2515         * i386.md (mov*_internal): Add 'C' alternative.
2517 Sun Feb  9 23:58:33 CET 2003  Jan Hubicka  <jh@suse.cz>
2519         * i386.md (floathi*): Deal with SSE.
2521 Sun Feb  9 23:54:59 CET 2003  Jan Hubicka  <jh@suse.cz>
2523         * simplify-rtx.c (simplify_unary_operation,
2524         simplify_binary_operation):  Deal with vector modes
2525         (simplify_ternary_operation):  Deal with no-op VEC_MERGE.
2527 2002-02-09  Richard Sandiford  <rsandifo@redhat.com>
2529         * toplev.c (rest_of_compilation): Recompute register usage after
2530         split_all_insns.
2532 2003-02-09  Richard Henderson  <rth@redhat.com>
2534         * libgcc-std.ver (__clztf2): New.
2535         (__ctztf2, __popcounttf2, __paritytf2): New.
2536         * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2,
2537         __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode;
2538         adjust code to match the different type sizes.
2539         * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2,
2540         __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros.
2542         * optabs.c (init_integral_libfuncs): Don't hard-code SImode and
2543         TImode; select word_mode and twice that.
2544         (init_floating_libfuncs): Don't hard-code SFmode and TFmode;
2545         select the modes from float, double, and long double.
2546         (init_optabs): Remove duplicate initializations.
2548 2003-02-09  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>
2550         * doc/install.texi: Squeeze and streamline section on
2551         testing and regression checking.
2553 Sun Feb  9 13:33:34 CET 2003  Jan Hubicka  <jh@suse.cz>
2555         * i386.md (ahi?v*3): Set third operand type to TImode.
2556         * i386.c (ix86_expand_binop_builtin): Extend operand when needed.
2558         * simplify-rtx.c (simplify_subreg): Fix conversion from vector into
2559         integer mode.
2561         * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
2562         Change code so they are arithmetic expressions now.
2563         * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
2564         simplify_ternary_operation): Deal with VEC_* expressions.
2566         * i386.md (vmaskcmp, pinsrw, movd patterns):  Fix RTL representation.
2568 Sat Feb  8 00:21:22 CET 2003  Jan Hubicka  <jh@suse.cz>
2570         * cfgrtl.c (verify_flow_info):  Use control_flow_insn_p.
2571         * reload1.c (fixup_abnormal_edges):  Split basic blocks when EH edges
2572         possibly got duplicated.
2574 2003-02-08  Richard Henderson  <rth@redhat.com>
2576         * config/alpha/alpha.c (override_options): Turn off explicit
2577         relocs until post-peep2 code duplication resolved.
2579 2003-02-08  Kazu Hirata  <kazu@cs.umass.edu>
2581         * optabs.c (expand_unop): Widen clz properly when clz is done
2582         via libcall.
2584 2003-02-08  Kazu Hirata  <kazu@cs.umass.edu>
2586         * config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
2587         * config/h8300/crti.asm: Likewise.
2588         * config/h8300/crtn.asm: Likewise.
2589         * config/h8300/ctzsi2.c: Likewise.
2590         * config/h8300/fixunssfsi.c: Likewise.
2591         * config/h8300/h8300-protos.h: Likewise.
2592         * config/h8300/h8300.c: Likewise.
2593         * config/h8300/h8300.h: Likewise.
2594         * config/h8300/h8300.md: Likewise.
2595         * config/h8300/paritysi2.c: Likewise.
2596         * config/h8300/popcountsi2.c: Likewise.
2597         * config/h8300/rtems.h: Likewise.
2599 2003-02-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2601         * doc/invoke.texi: Documentation for my previous commit.
2602         * doc/passes.texi: Ditto.
2604 2003-02-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2606         * cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
2607         duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
2608         Declare.
2609         (DLTHE_FLAG_UPDATE_FREQ): New.
2610         * cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to,
2611         loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs,
2612         rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements,
2613         fix_bb_placement, fix_bb_placements, place_new_loop,
2614         scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges):
2615         New static functions.
2616         (fix_loop_placement, can_duplicate_loop_p,
2617         duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
2618         New functions.
2620         * cfgloop.h (loop_optimizer_init, loop_optimizer_finalize,
2621         unswitch_loops): Declare.
2622         * loop-init.c: New file.
2623         * loop-unswitch.c: New file.
2624         * Makefile.in (loop-init.o, loop-unswitch.o): New.
2625         * params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New.
2626         * toplev.c (DFI_loop2): New dump.
2627         (flag_unswitch_loops): New.
2628         (lang_independent_options): Add it.
2629         (rest_of_compilation): Call new loop optimizer.
2630         (parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3.
2632 2003-02-08  Kazu Hirata  <kazu@cs.umass.edu>
2634         * config/h8300/clzsi2.c: New.
2635         * config/h8300/ctzsi2.c: Likewise.
2636         * config/h8300/paritysi2.c: Likewise.
2637         * config/h8300/popcountsi2.c: Likewise.
2638         * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files.
2640 2003-02-07  David Edelsohn  <edelsohn@gnu.org>
2642         * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
2643         * config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2.
2644         (ctzsi2): New pattern.
2645         (ffssi2): Use clz instead of unspec.
2646         (clzdi2): Rename from cntlzd2.
2647         (ctzdi2): New pattern.
2648         (ffsdi2): Use clz instead of unspec.
2650 2003-02-07  Loren James Rittle  <ljrittle@acm.org>
2652         * config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
2653         * config/ia64/freebsd.h (LINK_SPEC): Likewise.
2654         * config/sparc/freebsd.h (LINK_SPEC): Likewise.
2655         * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
2657 2003-02-07  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>
2659         * doc/trouble.texi: Document pitfalls of two-stage name lookup.
2661 2003-02-07  Richard Henderson  <rth@redhat.com>
2663         PR 9226
2664         * gcse.c (local_cprop_find_used_regs): New.
2665         (local_cprop_pass): Use it.
2667 2003-02-07  Fred Fish  <fnf@intrinsity.com>
2669         * mips-tfile.c (parse_def): Parenthesize assignments to fix
2670         precedence bugs.
2672 2003-02-07  Segher Boessenkool  <segher@koffie.nl>
2674         * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
2676 2003-02-07  Roger Sayle  <roger@eyesopen.com>
2678         * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
2679         (BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise.
2680         (BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise.
2681         * builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l
2682         builtin functions (and their __builtin_* variants).
2683         * builtins.c (mathfn_built_in): Handle missing log{,f,l} cases.
2684         (expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l}
2685         when not optimizing.
2687         * doc/extend.texi: Document new pow and atan2 builtins, and
2688         their float and long double variants.  Realphabetize builtins.
2690 Fri Feb  7 23:24:28 CET 2003  Jan Hubicka  <jh@suse.cz>
2692         * i386.md (sse2_nandv2di3): Fix.
2694 2003-03-07  Danny Smith  <dannysmith@users.sourceforge.net>
2696         * config/i386/i386.h (MS_AGGREGATE_RETURN): New define.
2697         * config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default
2698         definition.
2699         * config/i386/i386.h (ix86_return_in_memory): Return aggregate
2700         types of up to 8 bytes via registers if MS_AGGREGATE_RETURN.
2702 Fri Feb  7 22:22:40 CET 2003  Jan Hubicka  <jh@suse.cz>
2704         * i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
2706 2003-02-07  Daniel Berlin  <dberlin@dberlin.org>
2708         * cfg.c (dump_flow_info): Add back accidently deleted line.
2710 2003-02-07  Andrey Petrov <petrov@netbsd.org>
2712         * optabs.c (expand_float): Search wider integer modes first.
2714 2003-02-07  Bob Wilson  <bob.wilson@acm.org>
2716         * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
2717         based on preprocessor flag.
2719 2003-02-07  Roger Sayle  <roger@eyesopen.com>
2720             Richard Henderson  <rth@redhat.com>
2722         * gcse.c (implicit_sets): New.
2723         (compute_hash_table_work): Include them in hash table.
2724         (find_implicit_sets, fis_get_condition): New.
2725         (one_cprop_pass): Allocate and free implicit_sets; call
2726         find_implicit_sets before building hash table.
2728 2003-02-07  Jason Thorpe  <thorpej@wasabisystems.com>
2730         * config/t-netbsd (USER_H): Revert previous change.
2732 2003-02-07  Gabor Greif  <ggreif@lucent.com>
2734         * doc/c-tree.texi (Namespaces): Fix typo.
2736 Fri Feb  7 02:18:57 CET 2003  Jan Hubicka  <jh@suse.cz>
2738         * regrename.c (do_replace, find_oldest_value_reg,
2739         copyprop_hardreg_forward_1): Update register attributes.
2741 2003-02-06  Vladimir Makarov  <vmakarov@redhat.com>
2743         * genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD,
2744         VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay
2745         variables starting with underscore.
2746         (struct unit_usage): New structure.
2747         (unit_usages, cycle_alt_unit_usages): New global variables.
2748         (check_unit_distribution_in_reserv): Remove it.
2749         (store_alt_unit_usage): New function.
2750         (check_regexp_units_distribution): Rewrite it.
2752 2003-02-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2754         * config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
2755         target_cpu_default.
2756         * pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X)
2757         if not MASK_NO_SPACE_REGS.
2758         (output_call): Adjust return pointer, don't load new space register
2759         into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true.
2760         (pa_asm_output_mi_thunk): Don't load new space register into %sr0 if
2761         TARGET_NO_SPACE_REGS is true.
2762         * pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn
2763         conditions.
2764         (epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true.
2765         (interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is
2766         true.  Use bve when TARGET_64BIT is true.
2768 2003-02-06  Richard Henderson  <rth@redhat.com>
2770         * combine.c (nonzero_bits): Fix double break.
2772 2003-02-06  Eric Botcazou <ebotcazou@libertysurf.fr>
2773             Richard Henderson <rth@redhat.com>
2775         PR c/9530
2776         * config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls
2777         from functions that return a float to functions that don't.
2779 Thu Feb  6 00:18:38 CET 2003  Jan Hubicka  <jh@suse.cz>
2781         * i386.c (x86_inter_unit_moves): New variable.
2782         (ix86_secondary_memory_needed): Fix 64bit case, honor
2783         TARGET_INTER_UNIT_MOVES
2784         * i386.h (x86_inter_unit_moves): Declare.
2785         (TARGET_INTER_UNIT_MOVES): New macro.
2786         * i386.md (movsi_1): Cleanup constraints; disable
2787         when not doing inter-unit moves.
2788         (movsi_1_nointernunit): New.
2789         (movdi_1_rex64): Fix constraints; deal with SSE->GPR moves.
2790         (movdi_1_rex64_nointerunit): New.
2791         (mivsf_1): disable when not doing inter-unit moves.
2792         (movsf_1_nointerunit): New.
2794         * basic-block.h (inside_basic_block_p):  Declare.
2795         * cfgbuild.c (inside_basic_block_p): Make global.
2796         * haifa-sched.c (unlink_other_notes0: Deal with NOT_INSN_BASIC_BLOCK.
2797         * scheudle-ebb.c  (schedule_ebb): Return last basic block of trace;
2798         update CFG.
2799         (fix_basic_block_boundaries, add_missing_bbs): New.
2800         (rank): Use profile.
2801         (scheudle_ebbs): Rely on CFG; update coments.
2803 2003-02-05  Geoffrey Keating  <geoffk@apple.com>
2805         * Makefile.in (host_hook_obj): New.
2806         (OBJS): Add $(host_hook_obj).
2807         (host_default.o): New rule.
2808         * config.gcc (host_hook_obj): New, default to host-default.o.
2809         (powerpc-*-darwin*): Use host-darwin.o.
2810         (out_host_hook_obj): New.
2811         * configure: Regenerate.
2812         * configure.in: Print information about out_host_hook_obj, substitute
2813         into output files.
2814         * host-default.c: New file.
2815         * hosthooks.h: New file.
2816         * toplev.c (general_init): Call host_hooks.extra_signals.
2817         * config/rs6000/host-darwin.c: New file.
2818         * config/rs6000/x-darwin: New file.
2819         * doc/hostconfig.texi: Add documentation for new host hook.
2820         Rearrange existing documentation.
2822 2003-02-05  Roger Sayle  <roger@eyesopen.com>
2824         * dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
2825         with *targetm.delegitimize_address.
2826         (rtl_for_decl_location): Likewise.
2827         * dwarfout.c (output_mem_loc_descriptor): Likewise.  Include target.h.
2828         * Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H)
2830         * config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
2831         * config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove
2832         prototype.
2833         * config/i386/i386.c (ix86_delegitimize_address): Renamed from
2834         i386_simplify_dwarf_addr.  Made static.  Prototyped.
2835         (TARGET_DELEGITIMIZE_ADDRESS): Update definition from
2836         i386_simplify_dwarf_addr to ix86_delegitimize_address.
2837         (ix86_find_base_term): Likewise.
2838         (maybe_get_pool_constant): Likewise.
2840         * config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
2841         * config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove
2842         prototype.
2843         * config/s390/s390.c (s390_delegitimize_address): Renamed from
2844         s390_simplify_dwarf_addr.  Made static.  Prototyped.
2845         (TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address.
2847 2003-02-05  Richard Henderson  <rth@redhat.com>
2849         PR c/8602
2850         * integrate.c (output_inline_function): Reset input_filename
2851         and lineno from the decl before rest_of_compilation.
2853 2003-02-05  Richard Henderson  <rth@redhat.com>
2855         * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
2856         (CTZ_DEFINED_VALUE_AT_ZERO): New.
2857         * doc/rtl.texi, doc/tm.texi: Document them.
2859         * combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness
2860         of the value at zero properly.
2861         * fold-const.c (tree_expr_nonnegative_p): Likewise.
2862         * simplify-rtx.c (simplify_unary_operation): Likewise.
2864         * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
2865         (CTZ_DEFINED_VALUE_AT_ZERO): New.
2867         * config/arm/arm.c (TARGET_INIT_BUILTINS): Remove.
2868         (TARGET_EXPAND_BUILTIN): Remove.
2869         (def_builtin, arm_init_builtins, arm_expand_builtin): Remove.
2870         * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
2871         (enum arm_builtins): Remove.
2872         * config/arm/arm.md (UNSPEC_CLZ): Remove.
2873         (clzsi2): Rename from clz; use clz instead of unspec.
2874         (ctzsi2): New.
2875         * config/arm/arm-protos.h: Update.
2877 Wed Feb  5 23:12:57 CET 2003  Jan Hubicka  <jh@suse.cz>
2879         * i386-protos.h (x86_emit_floatuns):  Declare.
2880         * i386.c (x86_emit_floatuns): New global function.
2881         * i386.md (floatunssisf2, floatunsdisf2,
2882         floatunsdidf2):  New patterns.
2884 2003-01-25  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2886         * cfgloopmanip.c (force_single_succ_latches): Fix missindentation.
2888 2003-02-05  Hans Boehm <Hans.Boehm@hp.com>
2890         * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
2891           config/ia64/linux.h
2893 2002-02-05  Roger Sayle  <roger@eyesopen.com>
2895         * cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
2897 2003-02-05  Jakub Jelinek  <jakub@redhat.com>
2899         PR optimization/8555
2900         * config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case
2901         instead of aborting.
2903 2003-02-04  Richard Henderson  <rth@redhat.com>
2905         * config/i386/i386.md (UNSPEC_BSF): Remove.
2906         (ffssi2): Split into cmove and no_cmove insns and splitters;
2907         lose pentium float trick for now.
2908         (ffssi_1): Add * to name; use CTZ instead of UNSPEC.
2909         (ctzsi2, clzsi2, bsr): New.
2911 2003-02-04  Richard Henderson  <rth@redhat.com>
2913         * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
2914         UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
2915         * config/ia64/ia64.md (UNSPEC_POPCNT): Remove.
2916         (ffsdi2): Use popcount instead of unspec.
2917         (popcountdi2): Rename from *popcnt.
2918         (ctzdi2, clzdi2, getf_exp_tf): New.
2920 2003-02-04  Kazu Hirata  <kazu@cs.umass.edu>
2922         * genconfig.c (main): Generate CC0_P.
2923         * rtl.h (CC0_P): Remove.
2925 2003-02-04  Richard Henderson  <rth@redhat.com>
2927         * libgcc2.h, libgcc2.c (__ffsSI2): New.
2928         (__ffsDI2): Rename from __ffsdi2.
2929         * mklibgcc.in (lib2funcs): Add _ffssi2.
2931 2003-02-04  Richard Henderson  <rth@redhat.com>
2933         * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
2934         rounds with a "bit table" lookup.
2936 2003-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
2938         * reload.c (find_reloads): Do not use the mode specified in the insn
2939         pattern as reload mode for address operands.  Do not generate optional
2940         reloads for operands where a mandatory reload was already pushed.
2942 2003-02-04  Richard Henderson  <rth@redhat.com>
2944         * longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use
2945         builtins instead of inline assembly.
2947 2003-02-04  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
2949         PR c/9376
2950         * libgcc2.c (__subvdi3): Fix typo.
2952 Tue Feb  4 21:46:05 CET 2003  Jan Hubicka  <jh@suse.cz>
2954         * i386.md (movti_rex64):  Fix constraint.
2956 Tue Feb  4 18:40:42 CET 2003  Jan Hubicka  <jh@suse.cz>
2958         * i386.md (vector push splitters):  Fix typo in resolving conflict.
2960 2003-02-04  Rodney Brown  <rbrown64@csc.com.au>
2962         * config/i386/i386.c (x86_function_profiler): Fix typo in format.
2964 2003-02-04  Phil Edwards  <pme@gcc.gnu.org>
2966         * doc/install.texi (*-*-linux-gnu):  Mention glibc requirements
2967         for recent libstdc++.  Remove formatting cruft.
2969 2003-02-04  Jakub Jelinek  <jakub@redhat.com>
2971         * dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
2972         attribute even if input file name is absolute, but one of the
2973         includes is relative.
2975 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
2977         * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
2978         doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
2979         * doc/install.texi: Update copyright dates.  Update to GFDL 1.2.
2981 2003-02-03  Richard Henderson  <rth@redhat.com>
2983         * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
2984         __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change
2985         return type to "int".  Shuffle declarations and undef int trap.
2986         * libgcc2.h: Remove their declarations.
2987         * optabs.c (expand_unop): Force outmode to int for bitops.
2989 2003-02-03  Bob Wilson  <bob.wilson@acm.org>
2991         * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
2992         coprocessor registers before floating-point registers.
2993         * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
2994         to account for a previously removed register.
2995         (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
2996         Delete unused macros.
2998 Mon Feb  3 21:19:11 CET 2003  Jan Hubicka  <jh@suse.cz>
3000         * i386.c (ix86_expand_store_builtin):  Always force op1 to register.
3001         (mov*_internal): Fix predicates; require one of operands to not be
3002         memory.
3003         (SSE?MMX move expanders):  Fix predicates; force one of operands to
3004         register.
3005         (SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
3006         (movups/movupd/movdqu patterns): Force one of operands to not be
3007         memory.
3009 2002-02-03  Roger Sayle  <roger@eyesopen.com>
3011         * hooks.c (hook_rtx_rtx_identity): Generic hook function that
3012         takes a single rtx and returns it unmodified.
3013         * hooks.h (hook_rtx_rtx_identity): Prototype here.
3014         * target.h (struct gcc_target): Add "delegitimize_address"
3015         field to target structure.
3016         * target-def.h (TARGET_DELEGITIMIZE_ADDRESS):  Provide default
3017         for delegitimize_address target using hook_rtx_rtx_identity.
3018         (TARGET_INITIALIZER): Initialize delegitimize_address field
3019         using TARGET_DELEGITIMIZE_ADDRESS macro.
3020         * simplify-rtx.c (avoid_constant_pool_reference): Handle float
3021         extensions of constant pool references.  Use delegitimize_address
3022         to undo the obfuscation of "-fpic".
3023         * Makefile.in (simplify-rtx.o): Add dependency on target.h.
3025         * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
3026         i386_simplify_dwarf_addr.
3027         (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
3028         (maybe_get_pool_constant): Likewise.
3030 Mon Feb  3 16:01:17 CET 2003  Jan Hubicka  <jh@suse.cz>
3032         * i386.c (ix86_expand_int_movcc):  Fix setcc sign bit case.
3034 Mon Feb  3 01:30:11 CET 2003  Jan Hubicka  <jh@suse.cz>
3036         * regclass.c (cannot_change_mode_set_regs): Correct argument order.
3038 2003-02-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3040         * mips/_tilib.c: Don't include tsystem.h or defaults.h.  Don't
3041         define LIBGCC2_WORDS_BIG_ENDIAN.  Include coretypes.h and tm.h.
3043 2003-02-02  Andreas Schwab  <schwab@suse.de>
3045         * varasm.c (asm_output_aligned_bss): Declare as possibly unused.
3047 2003-02-02  Richard Earnshaw  <rearnsha@arm.com>
3049         * arm.md (sibcall_epilogue): Set the "conds" to "clob".
3050         (epilogue_insns): Likewise.
3052 2003-02-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3054         * doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
3056 2003-02-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3058         * pa-protos.h (attr_length_millicode_call): Remove second argument.
3059         (attr_length_indirect_call, attr_length_indirect_call,
3060         attr_length_save_restore_dltp): New prototypes.
3061         * pa.c (attr_length_millicode_call): Remove second argument.  Check
3062         INSN_ADDRESSES_SET_P in distance calculation.
3063         (output_millicode_call): Check INSN_ADDRESSES_SET_P before using
3064         INSN_ADDRESSES.
3065         (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
3066         (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
3067         Call attr_length_call directly.
3068         (attr_length_indirect_call, output_indirect_call,
3069         attr_length_save_restore_dltp): New functions.
3070         * pa.md (attr_length_millicode_call): Drop second argument from all
3071         patterns.
3072         (return_internal_pic): Delete.
3073         (return_external_pic): Remove use of PIC register and pic operand and
3074         flag checks.
3075         (epilogue): Use return_internal for both normal and pic code.
3076         (call, call_value): Emit new 32-bit pic patterns for symref and
3077         indirect calls.  Remove uses for arg pointer and pic register.
3078         (call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
3079         call_reg_pic_post_reload, call_val_symref_pic,
3080         call_val_symref_pic_post_reload, call_val_reg_pic,
3081         call_val_reg_pic_post_reload): New pre and post reload insn patterns.
3082         Implement define_split and define_peephole2 patterns for pre reload
3083         patterns.
3084         (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
3085         call_value_internal_reg_64bit): Shorten names.
3086         (all call patterns): Explicitly indicate registers used and clobbered.
3087         Use attr_length_indirect_call and attr_length_save_restore_dltp for
3088         attribute length calculation.  Move code generation for indirect calls
3089         to output_indirect_call.
3090         (sibcall, sibcall_value): Don't restore PIC register.
3091         (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
3092         register retore.
3094 2003-02-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3096         * doc/install.texi (Testing): Simplify and compress instructions
3097         concerning Dejagnu.
3099 2003-02-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3101         * collect2.c (pexecute_pid): Rename to pid.
3102         (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
3103         pid.
3105 2003-02-01  Geoffrey Keating  <geoffk@apple.com>
3107         * doc/extend.texi (Function Attributes): Remove documentation
3108         for PowerPC Windows NT function attributes..
3110 2003-02-01  Daniel Jacobowitz  <drow@mvista.com>
3112         * dwarf2out.c (gen_type_die): Check for typedefs before calling
3113         for TYPE_MAIN_VARIANT.
3115 2003-02-01  Richard Henderson  <rth@redhat.com>
3117         * libgcc2.c: Include auto-host.h.
3118         (ATTRIBUTE_HIDDEN): New.
3119         (__clz_tab): Don't declare here for clz and ctz.
3120         (__clzsi2, __clzdi2): Use count_leading_zeros.
3121         (__ctzsi2, __ctzdi2): Use count_trailing_zeros.
3122         (__popcount_tab): Mark ATTRIBUTE_HIDDEN.
3123         (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
3124         * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.
3126 2003-02-01  Richard Henderson  <rth@redhat.com>
3128         * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
3129         to the conditional.
3130         (ashlsi3_1_zext splitter): Likewise.
3132 2003-02-01  Richard Henderson  <rth@redhat.com>
3134         * optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
3135         * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
3136         __popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
3137         return type to Wtype.
3139         * libgcc-std.ver (GCC_3.4): Fix inheritance.
3141         * config/i386/i386.md (ffssi2): Use nonimmediate_operand for
3142         expander input constraint.
3144 2003-02-01  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
3146         * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
3147         OTI_parity.
3148         (clz_optab, ctz_optab, popcount_optab, parity_optab): New.
3149         * optabs.c (widen_clz, expand_parity): New.
3150         (expand_unop): Handle clz and parity.  Hardcode SImode as outmode
3151         for libcalls to clz, ctz, popcount, and parity.
3152         (init_optabs): Init clz_optab, ctz_optab, popcount_optab and
3153         parity_optab, and set up libfunc handlers.
3154         * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
3155         __popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
3156         __popcount_tab): New.
3157         * libgcc2.h: Declare them.
3158         * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
3159         * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
3160         and parity_optab.
3161         * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
3162         * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
3163         BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
3164         BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
3165         BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
3166         BUILT_IN_PARITYLL): New.
3167         * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
3168         and add optab argument.
3169         (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
3170         * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
3171         * expr.c (expand_expr): Handle them.
3172         * fold-const.c (tree_expr_nonnegative_p): Likewise.
3173         * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
3174         * reload1.c (eliminate_regs): Handle them.
3175         (elimination_effects): Likewise.
3176         * function.c (instantiate_virtual_regs_1): Likewise
3177         * genattrtab.c (check_attr_value): Likewise.
3178         * simplify-rtx.c (simplify_unary_operation): Likewise.
3179         * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
3180         * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
3181         (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
3182         * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
3183         * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
3184         __builtin_arm_clz.
3185         * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
3186         * mklibgcc.in (lib2funcs): ...here and merge.  Add new members.
3187         * doc/extend.texi (Other Builtins): Add new builtins.
3188         * doc/md.texi (Standard Names): Add new patterns.
3190 2003-02-01  Ulrich Weigand  <uweigand@de.ibm.com>
3192         * reload.c: Revert 2003-01-31 change.
3194 Sat Feb  1 14:14:40 CET 2003  Jan Hubicka  <jh@suse.cz>
3196         * combine.c (combine_simplify_rtx):  Use reversed_comparison_code_parts.
3198 2003-02-01  Richard Sandiford  <rsandifo@redhat.com>
3200         * flags.h (flag_volatile): Remove declaration.
3201         (flag_volatile_global, flag_volatile_static): Likewise.
3202         * c-typeck.c (build_indirect_ref): Don't check flag_volatile.
3203         * toplev.c (flag_volatile): Remove definition.
3204         (flag_volatile_global, flag_volatile_static): Likewise.
3205         (f_options): Remove corresponding entries here.
3206         * varasm.c (make_decl_rtl): Don't check flag_volatile_global
3207         or flag_volatile_static.
3208         * doc/invoke.texi: Remove documentation of -fvolatile,
3209         -fvolatile-global and -fvolatile-static.
3211 2003-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3213         * pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
3214         updating of total_code_bytes from prologue to epilogue.
3216 2003-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
3218         * reload.c (find_reloads): Do not use the mode specified in the insn
3219         pattern as reload mode for address operands.  Do not generate optional
3220         reloads for operands where a mandatory reload was already pushed.
3221         Generate optional reloads only in the final pass though find_reloads.
3222         (have_replacement_p): New function.
3224 2003-01-31  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3226         * doc/install.texi (Testing): Remove a reference to our obsolete
3227         /testresults web pages and strip redundant information concerning
3228         test results.
3229         (Binaries): Refer to Microsoft Windows instead of listing all
3230         possible variants.
3232 Sat Feb  1 00:28:30 CET 2003  Jan Hubicka  <jh@suse.cz>
3234         * loop.c (emit_prefetch_instructions):  Do conversion at right place in
3235         RTL chain.
3237         * combine.c (simplify_set): Reverse order of ragumetns to
3238         REG_CANNOT_CHANGE_MODE_P
3239         * df.c (df_def_record_1): Likewise.
3240         * recog.c (register_operand): Likewise.
3241         * simplify-rtx.c (simplify_subreg): Likewise.
3242         * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
3243         CANNOT_CHANGE_MODE_CLASS.
3244         * regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
3245         Likewise.
3246         * reload.c (push_reload): Likewise.
3247         * alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
3248         * ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
3249         * mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
3250         * mips-protos.h (mips_cannot_change_mode_class): Update prototype.
3251         * mips.c (mips_cannot_change_mode_class): Update.
3252         * pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
3253         * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
3254         * s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
3255         * sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
3256         * sh-protos.h (sh_cannot_change_mode_class): Update prototype.
3257         * sh.c (sh_cannot_change_mode_class): Update.
3258         * i386.h (CANNOT_CHANGE_MODE_CLASS): New.
3259         * tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
3261 2003-01-31  Geoffrey Keating  <geoffk@apple.com>
3263         * config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent
3264         change to LINK_COMMAND_SPEC in gcc.c.
3266 2003-01-31  Jan Hubicka  <jh@suse.cz>
3268         PR c/9506
3269         * i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
3271 2003-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3273         * pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
3274         duplicated code.
3276 2003-01-31  Nathan Sidwell  <nathan@codesourcery.com>
3278         * tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove.
3279         (BINFO_ELTS): New #define.
3280         * stor-layout.c (finalize_record_size): Don't set them.
3281         * cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX,
3282         BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS.
3283         (BINFO_LANG_ELTS): New #define.
3284         * cp/tree.c (make_binfo): Use BINFO_LANG_ELTS.
3285         * java/class.c (make_class): Use BINFO_ELTS.
3286         (set_super_info): Likewse.
3287         (add_interface_do): Likewise.
3288         * objc/objc-act.c (start_class): Use BINFO_ELTS.
3290 2003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
3292         * timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.
3293         (times): Don't ever declare if not HAVE_TIMES.
3294         (clock): Don't ever declare if not HAVE_CLOCK.
3296 2003-01-30  Richard Henderson  <rth@redhat.com>
3298         * flow.c (update_life_info): Zap life info after cleanup_cfg.
3299         (regno_uninitialized): Use correct live at function entry set.
3300         (regno_clobbered_at_setjmp): Likewise.
3302         * expr.c (store_expr): Promote all MEM intermediates to regs.
3304 2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
3306         * config/arm/arm.c: Fix comment typos.
3307         * config/arm/arm.h: Likewise.
3308         * config/arm/netbsd-elf.h: Likewise.
3309         * config/arm/netbsd.h: Likewise.
3311 2003-01-30  Geoffrey Keating  <geoffk@apple.com>
3313         * gengtype.c (struct walk_type_data): Add needs_cast_p.
3314         (walk_type): Set needs_cast_p in walk_type_data.
3315         (write_types_process_field): Supply casts when required to suppress
3316         warnings.
3317         (write_root): Cast gt_pch_n_S to suppress warning.
3318         * Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o.
3319         * config/rs6000/rs6000.c (print_operand): Mask off high bits only
3320         when they might exist.
3321         * config/rs6000/t-rs6000: Remove -Wno-error from varasm.o,
3322         insn-conditions.o, and rs6000.o.
3324 2003-01-30  Richard Henderson  <rth@redhat.com>
3326         * ggc-page.c (G.context_depth_allocations): New.
3327         (G.context_depth_collections): New.
3328         (alloc_page): Set G.context_depth_allocations.
3329         (ggc_collect): Set G.context_depth_collections.
3330         (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts.
3331         (ggc_pop_context): Early exit for no allocations or collections.
3333 2003-01-30  Richard Henderson  <rth@redhat.com>
3335         * tree-inline.c (walk_tree): Streamline duplicate hash table lookup.
3337 2003-01-30  Richard Earnshaw  <rearnsha@arm.com>
3339         * arm.c (arm_compute_initial_elimination_offset): If optimizing for
3340         size, the link register is always saved if any other register is
3341         saved.
3343 2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
3345         * config/h8300/h8300-protos.h: Update the prototype for
3346         compute_plussi_cc.
3347         (cpp_reader): Declare before it is used.
3348         * config/h8300/h8300.c (compute_plussi_cc): Change the return
3349         type to int.
3350         * config/h8300/h8300.md (monitor_prologue): Call abort() if we
3351         see an unknown H8 variant.
3353 2003-01-30  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
3355         PR target/9316
3356         * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
3357         * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
3358         * config/rs6000/t-rtems: New file. multilib variants to match OS.
3359         * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
3360         rs6000/t-ppcgas so we get the desired multilibs.
3362 2003-01-30  Nick Clifton  <nickc@redhat.com>
3364         * config/arm/arm.c (arm_output_epilogue): Update stack pointer
3365         when popping saved IP register off the stack.
3367 2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
3369         * config/rs6000/aix43.h: Fix comment typos.
3370         * config/rs6000/aix51.h: Likewise.
3371         * config/rs6000/aix52.h: Likewise.
3372         * config/rs6000/altivec.h: Likewise.
3373         * config/rs6000/rs6000.c: Likewise.
3374         * config/rs6000/rs6000.h: Likewise.
3375         * config/rs6000/rs6000.md: Likewise.
3376         * config/rs6000/spe.md: Likewise.
3378 2003-01-29  Mark Mitchell  <mark@codesourcery.com>
3380         * c-common.c (builtin_define_float_constants): Define
3381         __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__.
3383 2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
3385         * config/sh/lib1funcs.asm: Fix comment typos.
3386         * config/sh/linux.h: Likewise.
3387         * config/sh/sh.c: Likewise.
3388         * config/sh/sh.md: Likewise.
3390 2003-01-30  Loren James Rittle  <ljrittle@acm.org>
3392         * objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir).
3394 2003-01-30  Alexandre Oliva  <aoliva@redhat.com>
3396         * config/fp-bit.h (__make_dp): Declare if TMODES.
3398 2003-01-29  Kazu Hirata  <kazu@cs.umass.edu>
3400         * config/h8300/h8300.h (PREDICATE_CODES): Add entries for
3401         general_operand_src and general_operand_dst.
3403 2003-01-29  David Edelsohn  <edelsohn@gnu.org>
3405         * config/rs6000/rs6000.c (function_arg_pass_by_reference):
3406         Return true for variable sized types.
3407         (rs6000_va_arg): Handle variable sized types passed by reference
3408         on non-SVR4 ABI.
3410 2003-01-29  Richard Earnshaw  <rearnsha@arm.com>
3412         * arm.c (arm_legtimize_address): New function.
3413         * arm-protos.h (arm_legtimize_address): Add prototype.
3414         * arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address.
3415         (LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with
3416         do ... while (0)
3418 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
3420         PR bootstrap/9296
3421         * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT.  Apparently no code
3422         depended on it being defined until now.
3424 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
3426         PR target/9295
3427         * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
3428         RTEMS code knows which C++ initialization style the toolset
3429         configuration is using.
3431 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
3433         PR bootstrap/9293
3434         * config/m68k/t-crtstuff: Replace spaces with tabs, add
3435          $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
3437 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
3439         PR bootstrap/9292
3440         * config.gcc (hppa1.1-rtems):  Did not include t-rtems nor enable
3441         RTEMS threads.
3442         * config/pa/rtems.h (LIB_SPEC): Use -N when linking.
3444 2003-01-29  Nick Clifton  <nickc@redhat.com>
3446         * Makefile.in (c-parse.o): Locate source file in $(parsedir)
3447         not $(srcdir).
3449 2003-01-29  Andrew Haley  <aph@redhat.com>
3451         * tree-inline.c (walk_tree): Add CHAR_TYPE.
3453 Wed Jan 29 10:26:12 CET 2003  Jan Hubicka  <jh@suse.cz>
3455         * i386.md (subdi3_carry_rex64): Fix typo.
3457 2003-01-28  Stan Shebs  <shebs@apple.com>
3459         * coretypes.h (cpp_reader): Forward declare struct.
3460         * c-pragma.h (cpp_reader): Remove forward declaration.
3461         * hashtable.h (cpp_reader): Likewise.
3462         * scan.h (cpp_reader): Likewise.
3463         * tree.h (cpp_reader): Likewise.
3464         * config/darwin-protos.h (cpp_reader): Likewise.
3465         * config/arm/arm-protos.h (cpp_reader): Likewise.
3466         * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use
3467         struct cpp_reader in prototypes.
3469 2003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
3471         * doc/install.texi: Add documentation for installation into
3472         tooldirs and with DESTDIR.
3474 2003-01-28  Richard Henderson  <rth@redhat.com>
3476         * config.gcc (ia64*-*-aix*): Remove.
3477         * config/ia64/aix.h, config/ia64/t-aix: Remove file.
3478         * config/ia64/unwind-aix.c: Remove file.
3480 2003-01-28  Andreas Schwab  <schwab@suse.de>
3482         * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
3483         register.
3484         * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
3485         * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
3486         * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
3487         * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
3488         * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
3489         * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
3490         * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.
3492 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
3494         * combine.c (nonzero_bits): Fix check for negative divide operands.
3496 2003-01-28  Richard Henderson  <rth@redhat.com>
3498         * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
3499         * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
3501 2003-01-28  Richard Henderson  <rth@redhat.com>
3503         * cse.c (find_best_addr): Kill !ADDRESS_COST code.
3505         * config/cris/cris.c (cris_address_cost): Make static.
3506         (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New.
3507         * config/cris/cris.h (ADDRESS_COST): Remove.
3508         * config/cris/cris-protos.h: Update.
3510 2003-01-23  Mike Stump  <mrs@apple.com>
3512         * regclass.c (init_reg_autoinc): New function.
3513         (regclass): Move initialization of forbidden_inc_dec_class from
3514         here...
3515         (init_regs): to here.  Avoids reinitialization for each function,
3516         saving compilation time.
3518 2003-01-28  Jason Merrill  <jason@redhat.com>
3520         * cpplib.h (struct cpp_options): Add warn_deprecated field.
3521         * cppinit.c (cpp_create_reader): Turn it on by default.
3522         * c-opts.c (c_common_decode_option): Set it.
3523         * cpplib.c (do_pragma_once): Only complain about #pragma once
3524         if warn_deprecated is set.
3526 2003-01-28  Dale Johannesen  <dalej@apple.com>
3528         * emit-rtl.c (const_double_htab_hash):  Use mode in the hash.
3529         * loop.c (scan_loop):  Move movables on -Os rich-register targets.
3530         * config/rs6000/rs6000.md (sibcall*):  Use match_operand for LR.
3532 2003-01-28  Richard Henderson  <rth@redhat.com>
3534         * target.h (targetm.address_cost): New.
3535         * target-def.h (TARGET_ADDRESS_COST): New.
3536         (TARGET_RTX_COSTS): Uncomment.  Oops.
3537         * cse.c (address_cost): Use new target hook.
3538         (default_address_cost): New.
3539         * output.h (default_address_cost): Declare.
3540         * hooks.c (hook_int_rtx_0): New.
3541         * hooks.h (hook_int_rtx_0): Declare.
3542         * loop.c (combine_givs_p): Remove if 0 code.
3543         * system.h (ADDRESS_COST): Poison.
3545         * config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
3546         config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
3547         config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
3548         config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
3549         config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
3550         config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
3551         config/xtensa/xtensa.c, config/xtensa/xtensa.h
3552         (TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
3553         (ADDRESS_COST): Remove.
3555         * config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
3556         config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
3557         config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
3558         config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
3559         config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
3560         config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
3561         config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
3562         config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
3563         config/mips/mips.c, config/mips/mips.h,
3564         config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
3565         config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
3566         config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
3567         config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
3568         config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
3569         config/vax/vax.c, config/vax/vax.h
3570         (foo_address_cost): Make static.
3571         (TARGET_ADDRESS_COST): New.
3572         (ADDRESS_COST): Remove.
3574         * config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
3575         config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
3576         config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
3577         config/stormy16/stormy16.h
3578         (ADDRESS_COST): Move code ...
3579         (foo_address_cost): ... here.
3580         (TARGET_ADDRESS_COST): New.
3582         * config/m32r/m32r.c (m32r_address_cost): Remove.
3583         * config/m32r/m32r-protos.h: Update.
3585         * config/mmix/mmix.c (mmix_address_cost): Remove.
3586         * config/mmix/mmix-protos.h: Update.
3588         * config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
3589         mn10300_address_cost; move unsig allocation ...
3590         (mn10300_address_cost): ... here.
3591         (TARGET_ADDRESS_COST): New.
3592         * config/mn10300/mn10300-protos.h: Update.
3593         * config/mn10300/mn10300.h (ADDRESS_COST): Remove.
3595         * doc/tm.texi: Update.
3597 2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>
3599         * haifa-sched.c (schedule_insn): Return necessary cycle advance
3600         after issuing the insn.
3601         (rank_for_schedule): Make a insn with /S the highest priority
3602         insn.
3603         (move_insn): Ignore schedule groups.  Clear SCHED_GROUP_P.
3604         (choose_ready): Check SCHED_GROUP_P.
3605         (schedule_block): Advance cycle after issuing insn if it is
3606         necessary.  Don't reorder insns if there is an insn with /S.
3607         (set_priorities): Ignore schedule groups.
3609         * sched-deps.c (remove_dependence, group_leader): Remove the
3610         functions.
3611         (add_dependence): Ignore schedule groups.
3612         (set_sched_group_p): Don't make copy of dependencies from previous
3613         insn of the schedule group.  Add anti-dependency to the previous
3614         insn of the schedule group.
3615         (compute_forward_dependences): Ignore schedule groups.
3617         * sched-ebb.c (init_ready_list): Ignore schedule groups.
3619         * sched-rgn.c (init_ready_list): Ditto.
3620         (can_schedule_ready_p): Ditto.
3622 2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>
3624         * config/i386/i386.md (*movsi_1): Use movdqa to move one xmm
3625         register to another one.
3627 2003-01-28  Richard Henderson  <rth@redhat.com>
3629         * calls.c (default_must_pass_in_stack): Fix typo in !type case.
3631 2003-01-28  Roger Sayle  <roger@eyesopen.com>
3633         * cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
3635 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
3637         * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
3638         class contains a floating-point register, return the size of the
3639         mode in half words.
3641 Tue Jan 28 12:15:13 CET 2003  Jan Hubicka  <jh@suse.cz>
3643         * i386.c (ix86_carry_flag_operator):  New predicate.
3644         (fcmov_operator): Fix whitespace.
3645         (ix86_expand_carry_flag_compare):  Deal with floating point.
3646         (ix86_expand_int_movcc): Deal with fp; update insn expansion
3647         (ix86_expand_int_addcc): Likewise.
3648         (ix86_expand_strlensi_unroll_1): likewsie.
3649         * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
3650         * i386.md (add?i_carry_rex64): Use new predicate.
3651         (sub?i3_carry_rex64): Likewise.
3652         (x86_mov?icc_0_m1*): Likewise.
3654 2003-01-28  Andreas Schwab  <schwab@suse.de>
3656         * cfgloopmanip.c (create_preheader): Initialize src to avoid
3657         warning.
3659         * expmed.c (emit_store_flag): Fix cast to avoid sign
3660         comparison warning.
3662         * combine.c (force_to_mode): Add cast to fix warning when
3663         STORE_FLAG_VALUE is negative.
3665 2003-01-27  Richard Henderson  <rth@redhat.com>
3667         * Makefile.in (cse.o): Depend on TARGET_H.
3668         * cse.c (rtx_cost): Use targetm.rtx_costs.
3669         * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison.
3670         * doc/tm.texi: Update.
3672         * target.h (targetm.rtx_costs): New.
3673         * target-def.h (TARGET_RTX_COSTS): New.
3674         * hooks.c (hook_bool_rtx_int_int_intp_false): New.
3675         * hooks.h: Update.
3677         * config/alpha/alpha.c (alpha_rtx_cost_data): New.
3678         (alpha_rtx_costs, TARGET_RTX_COSTS): New.
3679         * config/alpha/alpha.h (PROCESSOR_MAX): New.
3680         (CONST_COSTS, RTX_COSTS): Remove.
3682         * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c,
3683         config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h,
3684         config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c,
3685         config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h,
3686         config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
3687         config/i370/i370.h, config/i386/i386.c, config/i386/i386.h,
3688         config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c,
3689         config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h,
3690         config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c,
3691         config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h,
3692         config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c,
3693         config/mn10200/mn10200.h, config/mn10300/mn10300.c,
3694         config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h,
3695         config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c,
3696         config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h,
3697         config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c,
3698         config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
3699         config/stormy16/stormy16.c, config/stormy16/stormy16.h,
3700         config/v850/v850.c, config/v850/v850.h,
3701         config/xtensa/xtensa.c, config/xtensa/xtensa.h
3702         (CONST_COSTS, RTX_COSTS): Move code ...
3703         (foo_rtx_costs, TARGET_RTX_COSTS): ... here.
3705         * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs.
3706         (arm_rtx_costs, TARGET_RTX_COSTS): New.
3707         * config/arm/arm-protos.h: Update.
3708         * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove.
3710         * config/avr/avr.h (CONST_COSTS): Move code ...
3711         * config/avr/avr.c (avr_rtx_costs): ... here.
3712         (default_rtx_costs): Make static.
3713         * config/avr/avr-protos.h: Update.
3715         * config/h8300/h8300.c (const_costs): Make static.
3716         (h8300_and_costs, h8300_shift_costs): Likewise.
3717         * config/h8300/h8300-protos.h: Update.
3719         * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove.
3720         (CONST_COSTS): Move code ...
3721         * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here.  Rename from
3722         default_rtx_costs; update for signature change.
3723         * config/ip2k/ip2k-protos.h: Update.
3725         * config/m68hc11/m68hc11.h (RTX_COSTS): Remove.
3726         (CONST_COSTS): Move code ...
3727         * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here.
3728         (TARGET_RTX_COSTS): New.
3729         (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static.
3730         * config/m68hc11/m68hc11-protos.h: Update.
3732         * config/m68k/m68k.c (const_int_cost): Make static.
3733         * config/m68k/m68k-protos.h: Update.
3735         * config/mcore/mcore.c (mcore_const_costs): Make static.
3736         (mcore_and_cost, mcore_ior_cost): Likewise.
3737         * config/mcore/mcore-protos.h: Update.
3739         * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New.
3740         (mmix_rtx_cost_recalculated): Remove.
3741         * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove.
3742         * config/mmix/mmix-protos.h: Update.
3744         * config/sh/sh.c (shiftcosts): Make static.
3745         (addsubcosts, andcosts, multcosts): Likewise.
3746         * config/sh/sh-protos.h: Update.
3748         * config/sparc/sparc.c (TARGET_RTX_COSTS): New.
3749         (sparc_rtx_costs): Make static; update for change in signature.
3750         * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove.
3751         * config/sparc/sparc-protos.h: Update.
3753         * config/v850/v850.c (const_costs): Make static.
3754         * config/v850/v850-protos.h: Update.
3756         * config/vax/vax.h (RTX_COSTS): Remove.
3757         (CONST_COSTS): Move code ...
3758         * config/vax/vax.c (vax_rtx_costs_1): ... here; rename
3759         from vax_rtx_cost.
3760         (vax_rtx_costs, TARGET_RTX_COSTS): New.
3762 2003-01-27  Richard Henderson  <rth@redhat.com>
3764         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.  Really.
3765         * config/vax/vax-protos.h: Update.  Really.
3767 2003-01-28  Alexandre Oliva  <aoliva@redhat.com>
3769         * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
3770         (UNITS_PER_FPVALUE): Defined as the width of a long double, or
3771         zero if no hardware floating point.
3772         (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
3773         (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
3774         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
3775         (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
3776         (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
3777         * config/mips/mips.c (mips_arg_info): Pass TFmode values in
3778         even FP registers on N32 and N64.
3779         (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
3780         (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
3781         (mips_va_arg): Use UNITS_PER_HWFPVALUE.  Impose additional
3782         even-register-like alignment to 128-bit arguments.
3783         (save_restore_insns): Use UNITS_PER_HWFPVALUE.
3784         (mips_function_value): Likewise.  Return TFmode in $f0 and $f2
3785         on N32 or N64.
3786         * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
3787         * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
3788         (TPBIT): Set to tp-bit.c.
3789         (tp-bit.c): Create out of fp-bit.c.
3791 2003-01-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3793         * c-parse.in: Remove '%expect 32' directive in objc mode.
3795 2003-01-27  Nathan Sidwell  <nathan@codesourcery.com>
3797         * Makefile.in (LIB2FUNCS_ST): Remove _gcov.
3798         (LIBGCOV): New variable.
3799         (libgcc.mk): Add LIBGCOV.
3800         (LIBGCC_DEPS): Add libgcov.c.
3801         (libgcov.a): New target.
3802         (clean): Remove libgcov.a.
3803         (install-libgcc): Do libgcov too.
3804         (stage1-start, stage2-start, stage3-start, stage4-start): Deal
3805         with libgcov.a.
3806         * libgcc2.c (L_gcov): Move into ...
3807         * libgcov.c: ... here. New file.
3808         * mklibgcc.in: Add libgcov rules.
3809         * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.
3811         * doc/invoke.texi (profile-arcs, test-coverage): Update and
3812         clarify.
3814         * profile.c (index_counts_file): Remove duplicate check for open file.
3816 2003-01-27  Jerry Quinn  <jlquinn@optonline.net>
3818         * gcc/doc/invoke.texi (Optimization Options): Group together
3819         optional and experimental flags.  Move trapv and bounds-check
3820         out of this section.  Group floating point flags together.
3821         (Code Gen Options): Move trapv and bounds-check to here.
3823 2003-01-27  Josef Zlomek  <zlomekj@suse.cz>
3825         * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
3827 2003-01-27  Richard Earnshaw  <rearnsha@arm.com>
3829         PR optimization/9090
3830         * function.c (purge_addressof_1): After pushing an addressed register
3831         onto the stack, simplify the result.
3833 2003-01-27  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
3835         * doc/extend.texi: Fix typo.
3837 2003-01-27  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
3839         * doc/cppopts.texi: Fix typo.
3840         * doc/objc.texi: Likewise.
3841         * doc/passes.texi: Likewise.
3843 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
3845         * real.c (ibm_extended_format): Add 53 to minimum exponent.
3846         (encode_ibm_extended): Adjust.
3848 2003-01-26  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
3850         * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
3851         timevar_id enumerations.
3853 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
3855         * combine.c: Fix formatting.
3857 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
3859         * doc/gccint.texi: Update the copyright.
3861 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
3863         * doc/cpp.texi: Fix typos.
3864         * doc/extend.texi: Likewise.
3865         * doc/gty.texi: Likewise.
3866         * doc/install.texi: Likewise.
3867         * doc/passes.texi: Likewise.
3868         * doc/rtl.texi: Likewise.
3869         * doc/tm.texi: Likewise.
3871 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
3873         * config/ia64/fde-glibc.c: Fix comment typos.
3874         * config/ia64/hpux.h: Likewise.
3875         * config/ia64/ia64.c: Likewise.
3876         * config/ia64/ia64.h: Likewise.
3877         * config/ia64/unwind-ia64.c: Likewise.
3879 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
3881         * config/i386/i386-modes.def: Fix comment typos.
3882         * config/i386/i386.c: Likewise.
3883         * config/i386/i386.md: Likewise.
3885 2003-01-26  Steven Bosscher  <s.bosscher@student.tudelft.nl>
3887         * config/avr/avr.h, config/cris/aout.h, config/elfos.h,
3888         config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine
3889         ASM_FINISH_DECLARE_OBJECT before defining it.
3890         * toplev.c (rest_of_decl_compilation):  Don't define
3891         ASM_FINISH_DECLARE_OBJECT.  Only use it if it is defined.
3892         (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function
3893         parameters for DWARF2 targets because they _are_ used.
3895 2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
3897         * fp-bit.h: Define macros for TFmode floating-point constants
3898         in IBM-extended TFmode types.
3899         (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
3900         widths.
3901         * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
3902         TFmode type.
3904         * config/fp-bit.h: Define macros for TFmode floating-point
3905         constants in IEEE quad TFmode type.  Declare functions according
3906         to L_ macros.
3907         (TMODES): Define if __LDBL_MANT_DIG__ is 113.
3908         (TFtype, TItype, UTItype): Define if TMODES is defined.
3909         (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
3910         (F_T_BITOFF, D_T_BITOFF): Define.
3911         (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
3912         guaranteed to be wide enough.
3913         * config/fp-bit.c: Check for L_ macros for tf functions.
3914         (__thenan_tf): New.
3915         (nan): Adjust.
3916         (pack_d, unpack_d): Support IEEE 854 quad type.
3917         (_fpmul_parts): Support TFmode.  Compute exponent adjustment
3918         from FRAC_NBITS, FRAC_BITS and NGARDS.
3919         (usi_to_float): Cast constants to be shifted to fractype
3920         instead of assuming long long is wide enough.
3921         (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
3923 2003-01-26  Andreas Jaeger  <aj@suse.de>
3925         * df.c: Remove prototype of unused function df_regno_rtl_debug.
3927 2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
3929         * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
3930         (DBBIT_FUNCS): Added _df_to_tf.
3931         (TPBIT_FUNCS): New.
3932         (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
3933         (LIBGCC_DEPS): Added TPBIT.
3934         * mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
3936         * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
3937         been able to move the result to target.
3939         * expr.c (emit_group_store): Initialize dst with CONST0_RTX
3940         for the appropriate mode.
3942         * calls.c (emit_library_call_value_1): Handle return values
3943         in a PARALLEL.
3945         * rtl.c (get_mode_alignment): Moved to...
3946         * stor-layout.c: ... here.
3948         * print-rtl.c (print_rtx): Don't print MEM details in
3949         GENERATOR_FILEs.
3951 2003-01-26  Michael Hayes  <mph@paradise.net.nz>
3953         * df.h: Update comments, tidy formatting.
3954         (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
3955         REVERSE, UNION, INTERSECTION.  All uses updated.
3956         (OLD_DF_INTERFACE): Remove.
3957         (struct insn_info): Remove commented out insn field.
3958         * df.c: Update comments, tidy formatting.
3959         (df_def_table_realloc): Remove.
3962 2003-01-26  Alan Modra  <amodra@bigpond.net.au>
3964         * calls.c (save_fixed_argument_area): Tidy.
3965         (restore_fixed_argument_area): Tidy.  Set alignment of stack_area.
3966         (expand_call): Comment typo fixes.  Don't init low_to_save.  Start
3967         call chain loop at 1 if !try_tail_call.  Formatting.
3968         (emit_library_call_value_1): Don't init low_to_save or high_to_save.
3969         Use save_fixed_argument_area and restore_fixed_argument_area.
3971 2003-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3973         * df.c (df_uses_record): Handle CC0.
3975 2003-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
3977         * reload.c (maybe_memory_address_p): New function.
3978         (find_reloads_address): Use it instead of memory_address_p.
3980 2003-01-25  Kaz Kojima  <kkojima@gcc.gnu.org>
3982         * final.c (shorten_branches): Align the address of code label
3983         when computing initial lengths and addresses.
3985 2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
3987         * config/m68hc11/m68hc11.md: Fix a comment typo.
3989 2003-01-25  Andreas Jaeger  <aj@suse.de>
3991         * config/i386/i386.c (x86_output_mi_thunk): Correct test for
3992         TARGET_MACHO.
3994 2003-01-25  Roger Sayle  <roger@eyesopen.com>
3996         * gcse.c (bypass_last_basic_block): New global variable.
3997         (bypass_block):  Use redirect_edge_and_branch_force to redirect
3998         fall-through edges.  Use bypass_last_basic_block to determine
3999         which blocks have valid PRE information.
4000         (bypass_conditional_jumps): Initialize bypass_last_basic_block.
4002 Sat Jan 25 22:31:59 CET 2003  Jan Hubicka  <jh@suse.cz>
4004         * gcse.c (local_cprop_pass): Update reg_sets table when needed.
4006 Sat Jan 25 21:04:33 CET 2003  Jan Hubicka  <jh@suse.cz>
4007                               Eric Botcazou <ebotcazou@libertysurf.fr>
4008         PR opt/8492
4009         * gcse.c (one_cprop_pass): Delete unreachable blocks.
4011 2003-01-25  Richard Henderson  <rth@redhat.com>
4013         * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
4014         from ia64_aix_select_rtx_section.
4015         (ia64_rwreloc_select_section): Simlarly; use default*_1 function
4016         instead of saving and restoring flag_pic.
4017         (ia64_rwreloc_unique_section): Similarly.
4018         * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
4019         TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
4020         * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
4021         TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
4023 2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
4025         * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
4026         comment.
4028 2002-01-25  Richard Henderson  <rth@redhat.com>
4030         * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
4032 2002-01-25  Kelley Cook <kelleycook@comcast.net>
4034         * ggc-simple.c (debug_ggc_tree): Add PTR cast.
4036 2003-01-25  Segher Boessenkool  <segher@koffie.nl>
4038         * bitmap.h (BITMAP_WORD): New typedef: fundamental storage
4039         type for bitmaps.  Use unsigned long.
4040         (nBITMAP_WORD_BITS): New macro.
4041         (BITMAP_WORD_BITS): New macro.
4042         (rest of file): Use it.
4043         * bitmap.c: Use it.
4045 2003-01-25  Richard Henderson  <rth@redhat.com>
4047         2002-02-19  Robert Lipe  <robertlipe@usa.net>
4048         * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
4050 2002-01-25  Roger Sayle  <roger@eyesopen.com>
4052         * builtins.c (purge_builtin_constant_p): Scan insn stream
4053         sequentially rather than by basic block.
4054         * function.c (purge_addressof): Simplify test with INSN_P.
4056 2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
4058         * combine.c (simplify_comparison, case AND): Remove a redundant test.
4060 2002-01-25  Roger Sayle  <roger@eyesopen.com>
4062         * function.h (struct function): New field calls_constant_p.
4063         (current_function_calls_constant_p): New macro for above.
4064         * function.c (prepare_function_start): Initialize calls_eh_return
4065         and calls_constant_p.
4066         * builtins.c (expand_builtin_constant_p): Set calls_constant_p.
4067         * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p
4068         when the current_function_calls_constant_p.
4069         * integrate.c (expand_inline_function): Set calls_constant_p if
4070         the function being inlined has calls_constant_p set.
4072 2002-01-25  Roger Sayle  <roger@eyesopen.com>
4074         * cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
4075         optimizing, even if flag_gcse is true.
4076         * toplev.c (rest_of_compilation): purge_builtin_constant_p
4077         only needs to be called when "optimize > 0 && flag_gcse".
4079 2003-01-25  Roger Sayle  <roger@eyesopen.com>
4081         * stmt.c (emit_case_bit_tests): New routine to implement suitable
4082         switch statements using the equivalent of "if ((1<<x) & cst) ... ".
4083         (case_bit_test_cmp): New comparison function for "qsort" to order
4084         case_bit_tests by decreasing number of destination nodes.
4085         (lshift_cheap_p): New function to determine if "1 << x" is cheap.
4086         (expand_end_case_type): Use emit_case_bit_tests to implement
4087         suitable switch statments.
4088         (CASE_USE_BIT_TESTS): New target macro to disable the above.
4089         * Makefile.in (stmt.o): Add dependency on optab.h.
4090         * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro.
4092 2003-01-23  Andreas Schwab  <schwab@suse.de>
4094         * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make
4095         __do_global_ctors_aux hidden global and don't put it in
4096         .init_array.
4097         * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here
4098         instead so that it comes first.
4100 Sat Jan 25 16:11:22 CET 2003  Jan Hubicka  <jh@suse.cz>
4102         * df.c (read_modify_subreg_p):  When osize == UNITS_PER_WORD,
4103         subreg is read/modify.
4105 Sat Jan 25 15:55:08 CET 2003  Jan Hubicka  <jh@suse.cz>
4107         * i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently
4108         do libcall for large blocks.
4109         * i386.md (comi patterns): Set type to ssecomi.
4110         (sse2_unpck?pd): Fix mode of vec_select.
4112         * cse.c: Include except.h
4113         (cse_set_around_loop):  Do not create new basic blocks.
4114         * Makefile.in (cse.o): Add dependnecy on except.h
4116 Sat Jan 25 12:05:17 CET 2003  Jan Hubicka  <jh@suse.cz>
4118         * builtins.c (fold_trunc_transparent_mathfn): New function.
4119         (fold_builtin): Use it.
4120         * convert.c (convert_to_real): Re-enable code to convert
4121         math functions; add support for floor familly functions.
4123 2003-01-25  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4125         * Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add
4126         dependencies on coretypes.h and $(TM_H).
4128 Sat Jan 25 11:10:03 CET 2003  Jan Hubicka  <jh@suse.cz>
4130         * builtins.c (fold_trunc_transparent_mathfn):  Undo accidental commit.
4132 2002-01-24  Stuart Hastings  <stuart@apple.com>
4134         * config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support.
4136 2003-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4138         * config/c4x/c4x.md (UNSPEC_BU): New constants.
4139         (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
4140         (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
4141         (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
4142         (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST):  Likewise.
4143         (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP):  Likewise.
4144         (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST):  Likewise.
4145         (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE):  Likewise.
4147 Fri Jan 24 23:44:12 CET 2003  Jan Hubicka  <jh@suse.cz>
4149         * emit-rtl.c (reg_attrs_htab): New static variable.
4150         (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
4151         functions.
4152         (reg_rtx): Do not maintain regno_decl.
4153         (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
4154         set_mem_attrs_from_reg): New global function.
4155         (init_emit): Do not initialize regno_decl.
4156         (init_emit_once): initialize reg_attrs_htab.
4157         * final.c (alter_subreg): Do not replace REG by SUBREG.
4158         (gen_mem_expr_from_op): Improve output.
4159         (output_asm_operands): Likewise.
4160         * function.c (assign_params): Do not set REGNO_DECL.
4161         * function.h (struct function): Kill regno_decl.
4162         (REGNO_DECL): Kill.
4163         * gengtype.c (adjust_field_rtx_def): Handle new field of reg.
4164         * print_rtl.c (print_rtx): Output REG information.
4165         * regclass.c (reg_scan_mark_refs): Update attrs.
4166         * reload1.c (alter_reg): Likewise.
4167         * simplify_rtx.c (simplify_subreg): Likewise.
4168         * stmt.c (expand_decl): Likewise.
4169         * rtl.def (REG): Add new field.
4170         * rtl.h (struct reg_attrs): New.
4171         (rtunion_def): At rtreg.
4172         (X0MEMATTR): Add checking.
4173         (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
4174         (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
4175         Declare.
4176         * tree.h (SET_DECL_RTL): Call set_decl_rtl.
4178 2003-01-24  Bob Wilson  <bob.wilson@acm.org>
4180         * config/xtensa/xtensa.c: Remove unused include of machmode.h.
4181         (xtensa_emit_call, print_operand): Fix printf format strings
4182         to avoid compile warnings.
4183         (xtensa_function_prologue, xtensa_function_epilogue): Change type
4184         of "size" argument to HOST_WIDE_INT to fix compile warnings.
4185         * config/xtensa/xtensa-protos.h
4186         (xtensa_function_prologue, xtensa_function_epilogue): Ditto.
4188 Fri Jan 24 23:03:32 CET 2003  Jan Hubicka  <jh@suse.cz>
4190         * builtins.c (DEF_BUILTIN): Accept 10 arguments.
4191         (implicit_built_in_decls): New global array.
4192         (mathfn_built_in): New global function.
4193         (fold_trunc_transparent_mathfn): New static function
4194         (expand_builtin_strstr, expand_bultin_strchr,
4195         expand_builtin_strpbrk, expand_builtin_strcpy,
4196         expand_builtin_strncpy, expand_bultin_strcmp,
4197         expand_bultin_strncat, expand_builtin_fputs): Use
4198         implicint_built_in_decls.
4199         (fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
4200         * builtins.def: Fix comments.
4201         (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
4202         DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
4203         DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
4204         DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
4205         (DEF_C99_C90RES_BULTIN): New.
4206         (*f, *l builtins): Update.
4207         * c-common.c (DEF_BUILTIN): Initialize implicit array.
4208         (c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
4209         * convert.c (strip_float_extensions): New global function.
4210         * tree.h (DEF_BUILTIN): Accept 10 arguments.
4211         (implicit_built_in_decls, mathfn_built_in, strip_float_extension):
4212         Declare.
4213         * java/builtins.c (define_builtin): Handle implicit.
4214         (DEF_BUILTIN): Update.
4215         * tm.texi (TARGET_C99_FUNCTIONS): Document.
4216         * defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
4217         * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
4218         when using glibc2.
4220 2003-01-24  Bob Wilson  <bob.wilson@acm.org>
4222         * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
4223         extra_parts, and fixincludes.  Add xtensa/t-elf tmake_file.
4224         (xtensa-*-linux*): Add xtensa/t-linux tmake_file.
4225         * config/xtensa/crti.asm: New file.
4226         * config/xtensa/crtn.asm: New file.
4227         * config/xtensa/t-elf: New file.
4228         * config/xtensa/t-linux: New file.
4229         * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
4230         Move various CFLAGS settings to new t-elf file.
4232 2003-01-24  Richard Henderson  <rth@redhat.com>
4234         PR optimization/4382
4235         * tree-inline.c (find_builtin_longjmp_call_1): New.
4236         (find_builtin_longjmp_call): New.
4237         (inlinable_function_p): Use it.
4239 2003-01-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4241         * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
4242         * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
4243         * config/i386/i386.c (function_arg_pass_by_reference): New.
4244         (ix86_va_arg): Support arguments passed by reference.
4246 2003-01-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4248         * cfgloopanal.c: New file.
4249         * cfgloopmanip.c: New file.
4250         * Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
4251         (toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
4252         cfglayout.o): Add dependency on cfgloop.h.
4253         (cfgloop.o): Add flags.h dependency.
4254         * basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
4255         (VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
4256         (struct loop, struct loops, flow_loops_find, flow_loops_update,
4257         flow_loops_free, flow_loops_dump, flow_loop_dump,
4258         flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
4259         LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
4260         LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
4261         flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
4262         loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
4263         find_common_loop, verify_loop_structure): Declarations moved to ...
4264         * cfgloop.h: New file.
4265         * bb-reorder.c (reorder_basic_blocks): Modified.
4266         * cfglayout.c: Include cfgloop.h.
4267         (cleanup_unconditional_jumps, cfg_layout_redirect_edge,
4268         cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
4269         (break_superblocks): New static function.
4270         (cfg_layout_finalize): Use it.
4271         (cfg_layout_split_block): New function.
4272         * cfglayout.h (struct reorder_block_def): Add copy and duplicated
4273         fields.
4274         (cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
4275         changed.
4276         (cfg_layout_split_block): Declare.
4277         * cfgloop.c: Include cfgloop.h and flags.h.
4278         (flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
4279         get_loop_body): Avoid signed versus unsigned comparison warnings.
4280         (make_forwarder_block, flow_loops_find, loop_preheader_edge,
4281         loop_latch_edge): Modified.
4282         (verify_loop_structure): Modified to use flags stored in loop structure;
4283         check irreducible loops.
4284         (cancel_loop, cancel_loop_tree): New functions.
4285         (estimate_probability): Use loop analysis code for predictions.
4286         (estimate_loops_at_level):  Avoid signed versus unsigned comparison
4287         warnings.
4288         * doloop.c: Include cfgloop.h.
4289         * loop.c: Include cfgloop.h.
4290         * predict.c: Include cfgloop.h.
4291         * toplev.c: Include cfgloop.h.
4292         * unroll.c: Include cfgloop.h.
4293         * tracer.c (tracer): Modified.
4295 2003-01-24  Kazu Hirata  <kazu@cs.umass.edu>
4297         * config/h8300/h8300.c (get_shift_alg): Fix a typo.
4299 2003-01-24  Ulrich Weigand  <uweigand@de.ibm.com>
4301         * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
4302         * configure: Regenerate.
4304         * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
4305         (tls_symbolic_reference_mentioned_p): Add prototype.
4306         (s390_tls_get_offset): Add prototype.
4307         (emit_pic_move): Remove prototype, replace by ...
4308         (emit_symbolic_move): .. this new prototype.
4310         * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
4311         (tls_model_chars): New global variable.
4312         (s390_encode_section_info): Encode TLS model.
4313         Use targetm.binds_local_p to check for local symbols.
4314         (s390_strip_name_encoding): New function.
4315         (TARGET_STRIP_NAME_ENCODING): Define.
4317         (get_thread_pointer): New function.
4318         (legitimize_tls_address): New function.
4319         (legitimize_address): Call it.
4320         (emit_pic_move): Remove, replace by ...
4321         (emit_symbolic_move): ... this new function.
4323         (larl_operand): Handle TLS operands.
4324         (legitimate_constant_p): Likewise.
4325         (s390_decompose_address): Likewise.
4326         (s390_cannot_force_const_mem): New function.
4327         (TARGET_CANNOT_FORCE_CONST_MEM): Define.
4329         (s390_output_symbolic_const): Handle TLS unspecs.
4330         (print_operand): New code 'J'.
4331         (machine_function): Add struct member 'some_ld_name'.
4332         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
4334         (enum s390_builtin): New type.
4335         (code_for_builtin_64, code_for_builtin_31): New global variables.
4336         (s390_init_builtins, s390_expand_builtin): New functions.
4337         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
4339         * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
4340         (ASM_OUTPUT_LABELREF): Define.
4341         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.
4343         * config/s390/s390.md: Define TLS UNSPEC constants.
4344         ("movdi", "movsi"): Handle TLS operands.
4345         ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
4346         ("*tls_load_64", "*tls_load_31"): New insns.
4347         ("call_value_tls", "call_value_tls_exp"): New expanders.
4348         ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
4349         "bas_tls_64", "bas_tls_31"): New insns.
4351 2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
4353         * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
4354         spe ABI is configured, if requested.
4356 2003-01-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
4358         * doc/passes.texi: Fix typo.
4360 2003-01-24  Andreas Schwab  <schwab@suse.de>
4362         * stor-layout.c (excess_unit_span): Only define if used.
4364 2003-01-24  Jerry Quinn  <jlquinn@optonline.net>
4366         * gcc/doc/invoke.texi (Optimization Options): List -O levels
4367         for each optimization flag.
4369 2003-01-24  Kazu Hirata  <kazu@cs.umass.edu>
4371         * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
4373 2003-01-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
4375         * doc/bugreport.texi: Use @command instead of @code for commands.
4376         * doc/collect2.texi: Likewise.
4377         * doc/headerdirs.texi: Likewise.
4378         * doc/invoke.texi: Likewise.
4379         * doc/standards.texi: Likewise.
4380         * doc/tm.texi: Likewise.
4381         * doc/trouble.texi: Likewise.
4383 2003-01-24  Nick Clifton  <nickc@redhat.com>
4385         * config/arm/arm.c (use_return_insn): Do not use a single return
4386         instruction for interrupt handelrs which have to create a stack
4387         frame.
4388         (arm_expand_prologue): Do not pre-bias the return address of
4389         interrupt handlers which create a stack frame.
4391 2003-01-24  Nick Clifton  <nickc@redhat.com>
4393         * Add sh2e support:
4395         2002-08-12  Alexandre Oliva  <aoliva@redhat.com>
4397                 * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
4398                 med_cbranches.  Fix logic in short_cbranches.
4400         2002-04-03  Alexandre Oliva  <aoliva@redhat.com>
4402                 * config/sh/sh.md (delay for cbranch): Don't annul delay
4403                 slots on SH2e.
4404                 * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
4405                 cbranch with unfilled delay slot on SH2e.
4406                 (output_branch): Fill with a nop the delay slot of a
4407                 branch that required a delay slot but didn't get one.
4409         2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
4411                 * doc/invoke.texi (SH options): Document -m2e.
4412                 * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
4413                 * config/sh/lib1funcs.asm: Likewise.
4414                 * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
4415                 * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
4416                 not __sh1__.
4417                 (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
4418                 SH2E up.
4419                 (SH3E_BIT): Renamed to...
4420                 (SH_E_BIT): ... this.  Replace all uses.
4421                 (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
4422                 Replace all uses of TARGET_SH3E with TARGET_SH2E.
4423                 (TARGET_SWITCHES): Added 2e.
4424                 (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
4425                 (processor_type): Added PROCESSOR_SH2E.
4426                 * config/sh/sh.md: Replace all uses of TARGET_SH3E with
4427                 TARGET_SH2E, except in sqrtsf2_i.
4428                 (attribute cpu): Added sh2e.
4429                 * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
4430                 (MULTILIB_MATCHES): Use m2e multilib for m3e.
4431                 * config.gcc: Add sh2e target support.
4433 2003-01-24  Phil Edwards  <pme@gcc.gnu.org>
4435         Rename -W to -Wextra.
4436         * c-decl.c:  Update comments.
4437         * c-typeck.c:  Likewise.
4438         * flags.h:  Likewise.
4439         * function.c:  Likewise.
4440         * stmt.c:  Likewise.
4441         * toplev.c:  Update comments.
4442         (W_options):  Add 'extra'.
4443         (display_help):  Remove '-W'.
4444         (decode_W_option):  Special warn_uninitialized treatment in the case
4445         of -Wextra.
4446         * doc/invoke.texi:  Update with new entries.
4448 2003-01-23  Richard Henderson  <rth@redhat.com>
4450         * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
4451         in no-else-block case.  Add commentary.
4453 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4455         * configure.in: Revert last change.
4457 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4459         * configure.in: Don't include ansidecl.h in tconfig.h.
4460         * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
4461         * unwind-dw2-fde.h (last_fde): Use __attribute__, not
4462         ATTRIBUTE_UNUSED.
4464         * configure: Regenerate.
4466 2003-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4468         PR java/6748
4469         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
4470         regs->nip. Fix rt_sigreturn frame layout. Add support for newer
4471         kernels.
4473 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4475         * cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
4477 2003-01-23  Ulrich Weigand  <uweigand@de.ibm.com>
4479         * genattrtab.c (write_attr_get): Mark 'insn' paramter
4480         as ATTRIBUTE_UNUSED.
4482 2003-01-23  Richard Earnshaw  <rearnsha@arm.com>
4484         * arm.c (thumb_base_register_rtx_p): New function.
4485         (thumb_index_register_rtx_p): New function.
4486         (thumb_legitimate_address_p): New function.
4487         (thumb_legitimate_offset_p): New function.
4488         * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
4489         (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate
4490         definitions.
4491         (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
4492         (THUMB_LEGITIMATE_OFFSET): Delte.
4493         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
4494         * arm-protos.h (thumb_legitimate_address_p): Add prototype.
4495         (thumb_legitimate_offset_p): Likewise.
4497 2003-01-23  Andreas Schwab  <schwab@suse.de>
4499         * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
4501 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4503         * fixinc/Makefile.in (FL_LIST): Revert last change.
4505 2003-01-23  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
4507         PR other/7341
4508         * invoke.texi (ftest-coverage): Fix broken cross-reference.
4509         Change @code to @command for gcov command.
4511         * gcc.texi: Adjust title of gcov section.
4512         Adjust copyright.
4513         * gcov.texi: Likewise.
4515 2003-01-22  Roger Sayle  <roger@eyesopen.com>
4517         PR optimization/8423
4518         * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
4519         its argument is constant, or 0 if !flag_gcse.
4520         * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
4521         if it's argument is constant.
4522         * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
4523         (hash_scan_set): Don't record CONSTANT_P_RTX expressions.
4524         (do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
4525         * builtins.c (purge_builtin_constant_p): New function to force
4526         instantiation of any remaining CONSTANT_P_RTX nodes.
4527         * rtl.h (purge_builtin_constant_p): Prototype here.
4528         * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
4529         pass after GCSE and before loop.
4530         (flag_gcse): No longer static.
4531         * flags.h (flag_gcse): Prototype here.
4533 2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
4535         * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
4536         introduced by last change.
4538 2003-01-22  Andreas Schwab  <schwab@suse.de>
4540         * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
4542 2003-01-22  Kazu Hirata  <kazu@cs.umass.edu>
4544         * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
4545         request a scratch reg on H8S when the shift count is 8.
4547 2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
4549         * config/s390/s390-protos.h (preferred_la_operand_p):
4550         Remove second parameter.
4551         * config/s390/s390.c (preferred_la_operand_p): Likewise.
4552         * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
4553         (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
4554         * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
4555         Add peepholes to transform ADD to LOAD ADDRESS.
4557 2003-01-22  Richard Earnshaw  <rearnsha@arm.com>
4559         * arm.c (arm_address_register_rtx_p): New function.
4560         (arm_legitimate_address_p): New function.
4561         (arm_legitimate_index_p): New function.
4562         (legitimize_pic_address): Use arm_legitimate_index_p.
4563         * arm-protos.h (arm_legtimate_address_p): Add prototype.
4564         * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
4565         (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
4567 2003-01-22  Hartmut Penner  <hpenner@de.ibm.com>
4569         * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
4570         * config/s390/2064.md (define_bypass): Correct 'Load' and
4571         'Load-address' bypass values.
4573 2003-01-22  Andreas Schwab  <schwab@suse.de>
4575         * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
4577 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
4579         * genautomata.c (output_internal_insn_latency_func,
4580         output_print_reservation_func): Short circuit when there is no
4581         automaton to generate code for.
4583 2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4585         * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
4586         (df.o): Delete duplicate dependency on coretypes.h $(TM_H).
4588 2003-01-21  Geoffrey Keating  <geoffk@apple.com>
4590         * config/rs6000/rs6000.md: Remove warning.
4591         (builtin_setjmp_receiver): Likewise.
4592         * config/darwin.c (update_stubs): Slightly improve terrible hack
4593         with identifiers.  Add comment pointing out problems with it.
4594         (update_non_lazy_ptrs): Likewise.
4596 2003-01-21  Richard Henderson  <rth@redhat.com>
4598         * dwarf2out.c (lookup_filename): Fix printf format warning.
4599         * system.h (fread_unlocked, fwrite_unlocked): Undef.
4601         * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
4602         (fixincl.o-warn, gnu-regex.o-warn): New.
4603         * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
4604         * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
4605         * fixinc/fixincl.c (process): Fix printf format warning.
4607 2003-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
4609         * dwarf2out (output_file_names): Don't crash if called
4610         with empty file_table.
4612 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
4614         * genautomata.c (output_internal_insn_latency_func): Add
4615         missing break statement to generated code.
4617 2003-01-21  Roger Sayle  <roger@eyesopen.com>
4619         * stmt.c (same_case_target_p): New function to determine whether
4620         two case labels branch to the same target.  Split out from...
4621         (group_case_nodes): ... here.  Use same_case_target_p instead.
4622         (strip_default_case_nodes): Remove explicit case nodes
4623         that branch to the default destination.
4624         (expand_end_case_type): Call strip_default_case_nodes after
4625         group_case_nodes, to simplify the case-list before we count it.
4626         Only generate table_label RTX when actually needed.  Try to share
4627         thiscase->exit_label and thiscase->data.case_stmt.default_label
4628         when a switch has no explicit default case.  Simplify test for
4629         constant index.
4631 2003-01-21  Kazu Hirata  <kazu@cs.umass.edu>
4633         * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
4634         \t.
4635         (*negsf2_h8300hs): Likewise.
4636         (*addsi3_lshiftrt_16_zexthi): Likewise.
4637         (*iorhi3_lshiftrt_8): Likewise.
4639 2003-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
4641         * dwarf2out.c (fde_table_in_use): Mark GTY.
4642         (dwarf2out_cfi_label_num): New variable, marked GTY.
4643         (dwarf2out_cfi_label): Use it instead of static label_num.
4644         * emit-rtl.c (label_num): Mark GTY.
4646 2003-01-21  Kazu Hirata  <kazu@cs.umass.edu>
4648         * config/h8300/h8300.c (output_plussi): Support H8/300.
4649         (compute_plussi_length): Likewise.
4650         (compute_plussi_cc): Likewise.
4651         * config/h8300/h8300.md (addsi_h8300): Use output_plussi to
4652         output assembly instructions.
4654 2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4656         * calls.c (fix_unsafe_tree): Prototype.
4658         * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
4659         (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
4660         insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
4661         c-parse.o-warn): Add -Wno-error.
4662         (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".
4664         * configure.in (--enable-werror): Add new flag.
4665         * doc/install.texi (--enable-werror): Document.
4666         * configure: Regenerate.
4668         * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.
4670 2003-01-21  Andreas Schwab  <schwab@suse.de>
4672         * genautomata.c (output_internal_insn_latency_func): Fix missing
4673         close paren in output.
4675 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
4677         * genautomata.c: Space savings in generated code:
4678         (output_dfa_insn_code_func): Split out the table-enlargement
4679         path to an out-of-line static function, dfa_insn_code_enlarge.
4680         (output_internal_insn_latency_func): Use a lookup table for the
4681         default latencies.
4682         (output_print_reservation_func): Use a lookup table for the
4683         strings.
4685 2003-01-21  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
4687         PR opt/7507
4688         * calls.c (fix_unsafe_tree): Split out from ...
4689         (expand_call): ... here.  Use it on the function address too.
4691 2003-01-20  Richard Henderson  <rth@redhat.com>
4693         * expr.h (default_must_pass_in_stack): Move decl outside ifdef.
4695 2003-01-20  Richard Henderson  <rth@redhat.com>
4697         PR opt/7154
4698         * stmt.c (expand_asm_operands): Validize memory operands.
4700 2003-01-20  Richard Henderson  <rth@redhat.com>
4702         PR opt/8848
4703         * ifcvt.c (noce_process_if_block): Correct arguments to
4704         modified_between_p for no-else-block case.
4706 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
4708         * config/h8300/h8300.c (const_costs): Remove a warning.
4709         (output_plussi): Likewise.
4710         (compute_plussi_length): Likewise.
4711         (compute_plussi_cc): Likewise.
4713 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
4715         * config/h8300/h8300.md (addsi_h8300): Remove the last
4716         alternative.
4718 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
4720         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
4722 2003-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4724         * system.h (__NO_STRING_INLINES): Define.
4726 2003-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4728         * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
4729         is not a scalar int mode.
4731 2003-01-20  Roger Sayle  <roger@eyesopen.com>
4733         * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
4734         insn's notes following a substitution inside a libcall.
4736 2003-01-20  Zack Weinberg  <zack@codesourcery.com>
4738         * configure.in: Check for system-provided 'uchar' type.
4739         * configure, config.in: Regenerate.
4740         * cpphash.h: Only typedef 'uchar' if the system doesn't.
4742 2003-01-20  Richard Henderson  <rth@redhat.com>
4744         * expr.h (MUST_PASS_IN_STACK): Move implementation...
4745         * calls.c (default_must_pass_in_stack): ... here.
4747 2003-01-20  Vladimir Makarov  <vmakarov@redhat.com>
4749         * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
4751         * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.
4753         * genattr.c (main): Output default definition of AUTOMATON_ALTS.
4754         Wrap up definition of `insn_alts'.
4756         * genattrtab.c (main): Wrap up `insn_alts'.
4758 2003-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4760         * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
4761         prototyping.
4762         * configure.in: Check for <ldfcn.h> and ldgetname() prototype.
4764         * config.in, configure: Regenerate.
4766 2003-01-20  Nick Clifton  <nickc@redhat.com>
4768         * config/arm/arm.md (sibcall_epilogue): Add an
4769         UNSPEC_PROLOGUE_USE to prevent the link register from being
4770         considered dead.
4772 Mon Jan 20 14:36:23 CET 2003  Jan Hubicka  <jh@suse.cz>
4774         * i386.md (SSE cmov splitter):  Handle memory operand in operand 5.
4776 2003-01-20  Andreas Schwab  <schwab@suse.de>
4778         * system.h: Don't declare strsignal if the decl test hasn't been
4779         run yet.
4781 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
4783         * config/h8300/h8300.c (notice_update_cc): Don't assume that
4784         recog_data.operands[0] is always associated with cc0.
4786 2003-01-19  David Edelsohn  <edelsohn@gnu.org>
4788         * collect2.c (ldgetname): Expand declaration to prototype.
4789         * read-rtl.c (atoll): Add prototype.
4790         * system.h (strsignal): Also declare if no declaration found.
4792 2003-01-19  Alexandre Oliva  <aoliva@redhat.com>
4794         * config.gcc (mips64*-*-linux*): Added.
4795         * config/mips/linux64.h, config/mips/t-linux64: New file.
4796         * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
4797         * config/mips/mips.c (override_options): Use it.
4798         * config/mips/mips.h (TARGET_SWITCHES): Added...
4799         (SUBTARGET_TARGET_SWITCHES): New, empty by default.
4800         * Makefile.in (SPECS): New.
4801         (STAGESTUFF, specs, mostlyclean, install-common): Use it.
4802         * gcc.c (process_command): Move self-spec processing past spec
4803         file loading.
4804         * doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
4805         * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
4806         CRTSTUFF_T_CFLAGS.
4807         (SPECS): Document.
4808         * doc/invoke.texi (-mabi-fake-default): Document.
4810 2003-01-19  Stephane Carrez  <stcarrez@nerim.fr>
4812         * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
4813         z_reg, z_reg_qi): Declare static and GTY().
4814         (da_reg): Remove.
4815         (create_regs_rtx): Don't create da_reg.
4816         ("gt-m68hc11.h"): Include for GTY roots.
4817         * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
4818         and GTY() here.
4819         (m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
4820         (m68hc11_soft_tmp_reg): Likewise.
4821         * config/m68hc11/m68hc11-protos.h: Remove above declarations.
4823 2003-01-18  Kazu Hirata  <kazu@cs.umass.edu>
4825         * basic-block.h: Fix comment formatting.
4826         * calls.c: Likewise.
4827         * combine.c: Likewise.
4828         * convert.c: Likewise.
4829         * gcov.c: Likewise.
4830         * haifa-sched.c: Likewise.
4831         * libgcc2.c: Likewise.
4832         * loop.c: Likewise.
4833         * profile.c: Likewise.
4834         * system.h: Likewise.
4836 2003-01-18  Roger Sayle  <roger@eyesopen.com>
4838         * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
4840 2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4842         * ra-build.c (undef_to_size_word): Avoid `switch' warning.
4844 2003-01-17  Dale Johannesen  <dalej@apple.com>
4846         * config/rs6000/rs6000.md (*floatsidf2_internal):  Add earlyclobbers.
4847           (*floatunssidf2_internal):  Ditto.
4849 2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
4851         * alias.c: Fix comment typos.
4852         * basic-block.h: Likewise.
4853         * c-common.c: Likewise.
4854         * c-common.h: Likewise.
4855         * c-decl.c: Likewise.
4856         * c-opts.c: Likewise.
4857         * c-pragma.c: Likewise.
4858         * c-pretty-print.h: Likewise.
4859         * cfg.c: Likewise.
4860         * cfganal.c: Likewise.
4861         * cfgbuild.c: Likewise.
4862         * cfgcleanup.c: Likewise.
4863         * cfglayout.c: Likewise.
4864         * cfgrtl.c: Likewise.
4865         * convert.c: Likewise.
4866         * cpphash.h: Likewise.
4867         * cpplex.c: Likewise.
4868         * cpplib.h: Likewise.
4869         * df.h: Likewise.
4870         * diagnostic.c: Likewise.
4871         * diagnostic.h: Likewise.
4872         * dwarf2.h: Likewise.
4874 2003-01-17  Stan Shebs  <shebs@apple.com>
4876         * config/darwin-protos.h: Forward-declare struct cpp_reader.
4878 2003-01-17  Douglas B Rupp  <rupp@gnat.com>
4880         * config/alpha/alpha.c (alpha_need_linkage): Fix obvious
4881         mistake in last checkin.
4883 2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
4885         * et-forest.c: Fix comment typos.
4886         * et-forest.h: Likewise.
4887         * except.c: Likewise.
4888         * expr.c: Likewise.
4889         * flags.h: Likewise.
4890         * flow.c: Likewise.
4891         * gcc.c: Likewise.
4892         * gcse.c: Likewise.
4893         * genattrtab.c: Likewise.
4894         * genautomata.c: Likewise.
4895         * gengtype.c: Likewise.
4896         * genrecog.c: Likewise.
4897         * global.c: Likewise.
4898         * gthr-rtems.h: Likewise.
4900 2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4902         * i386.c (x86_function_profiler): Fix format specifier.
4904 2003-01-17  Richard Henderson  <rth@redhat.com>
4906         * gengtype.c (walk_type): Allow paramN_is.
4908 2003-01-17  Nick Clifton  <nickc@redhat.com>
4910         * config/i960/t-960bare (i960-c.o): Add missing newline escape.
4912 2003-01-16  Richard Henderson  <rth@redhat.com>
4914         * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
4916 2003-01-16  Richard Henderson  <rth@redhat.com>
4918         * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
4919         (alpha_next_sequence_number): Likewise.
4920         (alpha_this_literal_sequence_number): Likewise.
4921         (alpha_this_gpdisp_sequence_number): Likewise.
4922         (struct alpha_funcs, alpha_funcs_num): Likewise.
4923         (struct alpha_links): Fix branch merge error.
4924         (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.
4926 2003-01-17  Alexandre Oliva  <aoliva@redhat.com>
4928         * config/mips/mips.h: Don't use #elif.  Reported by Kaveh
4929         R. Ghazi.
4931 2003-01-16  Kazu Hirata  <kazu@cs.umass.edu>
4933         * ifcvt.c: Fix comment typos.
4934         * lcm.c: Likewise.
4935         * libgcc2.c: Likewise.
4936         * local-alloc.c: Likewise.
4937         * loop.c: Likewise.
4938         * predict.c: Likewise.
4939         * ra-build.c: Likewise.
4940         * ra.c: Likewise.
4941         * ra-colorize.c: Likewise.
4942         * ra.h: Likewise.
4943         * ra-rewrite.c: Likewise.
4944         * regmove.c: Likewise.
4945         * reload.h: Likewise.
4946         * rtlanal.c: Likewise.
4947         * toplev.c: Likewise.
4948         * tree.h: Likewise.
4949         * unwind-dw2-fde-glibc.c: Likewise.
4950         * vmsdbgout.c: Likewise.
4952 2003-01-16  Richard Henderson  <rth@redhat.com>
4954         * dwarf2out.c (struct file_table): Remove.
4955         (FILE_TABLE_INCREMENT): Remove.
4956         (file_table): Make a varray; mark for GC.  Update all users.
4957         (file_table_last_lookup_index): Extract from struct file_table.
4958         (output_file_names): Fix unsigned compare warnings.
4959         (add_name_attribute): Remove inline marker.
4960         (add_comp_dir_attribute): Split out from gen_compile_unit_die.
4961         (lookup_filename): Don't manage size of file_table.
4962         (init_file_table): Allocate file_table with GC.
4963         (dwarf2out_init): Don't record main_input_filename here.
4964         (dwarf2out_finish): Do it here instead.
4966 2003-01-16  Bruce Korb  <bkorb@gnu.org>
4968         * gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too.
4970 2003-01-16  Kaz Kojima  <kkojima@gcc.gnu.org>
4972         * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
4973         instead of rotldi3_mextr.
4975 2003-01-16  Vladimir Makarov  <vmakarov@redhat.com>
4977         * haifa-sched.c (move_insn): Restore moving all schedule group.
4978         (set_priorities): Restore taking SCHED_GROUP_P into account.
4980         * sched-deps.c (add_dependence): Restore processing the last group
4981         insn.
4982         (remove_dependence, group_leader): Restore the functions.
4983         (set_sched_group_p): Restore adding dependencies from previous insn
4984         in the group.
4985         (compute_forward_dependences): Restore usage of group_leader.
4987         * sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
4988         account.
4990         * sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
4991         account.
4992         (can_schedule_ready_p): Ditto.
4993         (add_branch_dependences): Restore skipping over the group insns.
4995 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
4997         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
4998         68HC12 pre/post inc/dec side effects.
5000 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
5002         * config/m68hc11/m68hc11.h (MASK_M6812): Define.
5004 Thu Jan 16 21:50:25 2003  J"orn Rennecke <amylaar@onetel.net.uk>
5006         * sh.md (mshflo_w_x): Fix description of operation.
5008 2003-01-16  Zack Weinberg  <zack@codesourcery.com>
5010         * config/rs6000/rs6000.h: Mention Altivec registers in
5011         commentary.  Fix typo.
5013 2003-01-16  David Edelsohn  <edelsohn@gnu.org>
5015         * config/rs6000/rs6000.md (movti_string): Remove clobber.
5016         * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
5017         generate PARALLEL with clobber for TARGET_POWER.
5019 2003-01-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5021         * ra-colorize.c (colorize_one_web): Initialize variable.
5022         * regmove.c (fixup_match_1): Likewise.
5023         * reload1.c (reload_as_needed): Likewise.
5024         * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.
5026 2003-01-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5028         * cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
5030 2003-01-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5032         * dbxout.c (lastfile, cwd): Fix `unused' warning.
5033         * dwarf2out.c (fde_table_in_use, current_funcdef_fde,
5034         dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
5035         is_main_source, file_table, decl_die_table_in_use,
5036         abbrev_die_table_in_use, line_info_table_in_use,
5037         separate_line_info_table_in_use, pubname_table_in_use,
5038         arange_table_in_use, ranges_table_in_use,
5039         current_function_has_inlines): Likewise.
5040         * flow.c (life_analysis): Likewise.
5041         * genemit.c (gen_insn): Likewise.
5042         * protoize.c (cplus_suffix): Likewise.
5044         * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
5045         * arm.h (ROUND_UP_WORD): Likewise.
5047         * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
5048         warning.
5049         * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
5050         init_emit_once): Likewise.
5051         * flow.c (mark_regs_live_at_end, calculate_global_regs_live):
5052         Likewise.
5053         * function.c (assign_stack_temp_for_type): Likewise.
5054         * loop.c (loop_invariant_p): Likewise.
5055         * recog.c (push_operand): Likewise.
5056         * regclass.c (init_reg_sets_1): Likewise.
5057         * reload.c (update_auto_inc_notes): Likewise.
5058         * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
5059         * stmt.c (expand_asm_operands): Likewise.
5060         * stor-layout.c (start_record_layout): Likewise.
5062 2003-01-16  Herman A.J. ten Brugge <hermantenbrugge@home.nl>
5064         * config/c4x/c4x.md (epilogue): Correct last patch.
5066 2003-01-15  Richard Henderson  <rth@redhat.com>
5068         * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
5069         also check that GP is being used.
5070         (alpha_find_lo_sum_using_gp): New.
5071         (alpha_does_function_need_gp): Use get_attr_usegp.
5072         * config/alpha/alpha-protos.h: Update.
5073         * config/alpha/alpha.md (attr usegp): New.  Annotate patterns
5074         as needed.
5076 2003-01-15  Roger Sayle  <roger@eyesopen.com>
5078         * gcse.c (one_cprop_pass): Change function arguments to take both
5079         cprop_jumps and bypass_jumps flags instead of just alter_jumps.
5080         (gcse_main): Update calls to one_cprop_pass, disabling bypassing.
5081         (bypass_jumps): New function to perform separate jump bypassing pass.
5082         * rtl.h (bypass_jumps): Add function prototype.
5083         * timevar.def (TV_BYPASS): New timing variable.
5084         * toplev.c (enum dump_file_index): Add new entry DFI_bypass.
5085         (dump_file): New entry for the bypass RTL dump file.
5086         (rest_of_compilation): Insert new jump bypassing optimization
5087         pass after loop.
5088         * doc/passes.texi: Document new pass.
5090 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5092         * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
5093         ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
5094         * pa.h (TARGET_SOM_SDEF): Define.
5095         * pa-hpux11.h (TARGET_SOM_SDEF): Define.
5097 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
5099         * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
5100         allocate 4-bytes of locals on 68HC11.
5101         (expand_epilogue): Likewise.
5102         (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.
5104 2003-01-15  Stephane Carrez  <stcarrez@nerim.fr>
5106         * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
5107         and -mshort-double to the assembler to specify the ABI.
5108         (LINK_SPEC): Likewise.
5109         (CPP_SPEC): Pass HCS12 specific define.
5110         (MASK_M68S12): New define.
5111         (TARGET_M68S12): Likewise.
5112         (TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
5113         (TARGET_VERSION): Update.
5114         * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
5115         (LINK_SPEC): Update.
5116         (ASM_SPEC): Update.
5117         * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
5118         * doc/invoke.texi (M68hc1x Options): Document -m68hcs12.
5120 2003-01-15  Stephane Carrez  <stcarrez@nerim.fr>
5122         * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
5123         the return code.
5125 2003-01-15  Josef Zlomek  <zlomekj@suse.cz>
5127         * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
5128         flag before setting it.
5130 2003-01-15  Roger Sayle  <roger@eyesopen.com>
5132         * c-semantics.c (genrtl_while_stmt):  Improve initial RTL generation
5133         when loop condition is known true, i.e.  "while (1) { ... }".
5134         (genrtl_for_stmt): Similarly for "for" statements.
5136 2003-01-15  Roger Sayle  <roger@eyesopen.com>
5138         * real.c (real_sqrt): Return a bool result indicating whether
5139         a floating point exception or trap should be raised.
5140         * real.h (real_sqrt): Update function prototype.
5141         * builtins.c (fold_builtin): Only fold non-trapping square
5142         roots unless we're ignoring errno and trapping math.
5144 2003-01-15  John David Anglin  <dave.anglin@nrc.gc.ca>
5146         * expr.h (emit_conditional_add): Add PARAMS to declaration.
5147         * gengtype-lex.l (malloc, realloc): Move defines after include of
5148         system.h.  Remove duplicate include of system.h.
5150 2003-01-15  Roger Sayle  <roger@eyesopen.com>
5152         PR middle-end/9009
5153         * optabs.c (expand_unop):  When manipulating the FP sign bit
5154         using integer operations, account for targets with different
5155         integer and FP word orders.
5156         (expand_abs): Likewise.
5158 2003-01-15  David Edelsohn  <edelsohn@gnu.org>
5160         * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
5161         file extension in section name.
5163 2003-01-15  Richard Earnshaw  <rearnsha@arm.com>
5165         * flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
5166         constant offset.
5168 2003-01-15  Richard Earnshaw  <rearnsha@arm.com>
5170         * arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
5171         (HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
5172         (ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
5173         (ARM_PRINT_OPERAND_ADDRESS): Likewise.
5175 Wed Jan 15 12:23:21 CET 2003  Jan Hubicka  <jh@suse.cz>
5177         PR f/9258
5178         * global.c (struct allocno): Add no_stack_reg.
5179         (global_conflicts): Set no_stack_reg.
5180         (find_reg): Use it.
5182         * convert.c (convert_to_real): Fold - and abs only when profitable.
5183         * fold-const.c (fold): Fold truncates in - and abs.
5185 2003-01-15  Josef Zlomek  <zlomekj@suse.cz>
5187         Segher Boessenkool  <segher@koffie.nl>
5189         * predict.c (real_inv_br_prob_base): New variable.
5190         (propagate_freq): Use multiply by reciprocal instead of
5191         division.  Don't divide by 1.0 at all.
5192         (estimate_bb_frequencies): Similar.
5194 2003-01-15  Alexandre Oliva  <aoliva@redhat.com>
5196         * configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
5197         * configure: Rebuilt.
5199 2003-01-15  Hartmut Penner  <hpenner@de.ibm.com>
5201         * config/s390/s390.c (s390_safe_attr_type): New function.
5202         (s390_use_dfa_pipeline_interface): New function, return true for z900.
5203         (s390_issue_rate): New function.
5204         (s390_agen_dep_p): New function.
5205         (addr_generation_dependency_p): Use 's390_safe_attr_type'.
5206         (s390_adjust_cost): Return 'cost' if new DFA is used.
5207         (s390_adjust_priority): Delete function.
5208         * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
5209         * config/s390/s390.md (atype attribute): Attribute 'atype' default
5210         determined by 'op_type'.
5211         (type attribute): Added more type attributes.
5212         * config/s390/2064.md: New DFA description for z900 pipeline.
5214 2003-01-15  Alexandre Oliva  <aoliva@redhat.com>
5216         * config/i386/i386.c (ix86_expand_vector_move): Validize constant
5217         forced to memory.  Fixes PR bootstrap/9036.
5219         * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
5220         to set $gp before the call.
5222 2003-01-14  Richard Henderson  <rth@redhat.com>
5224         * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
5225         for force_const_mem.
5227 2003-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5229         * genattr.c (main): Rearrange output to avoid prototype warning.
5230         * genautomata.c (transform_3): Fix ambiguous-else warning.
5231         * local-alloc.c (requires_inout): Add parentheses around
5232         assignment used as truth-value.
5233         * timevar.c: Move system includes above local includes.  Include
5234         toplev.h
5235         * Makefile.in (timevar.o): Depend on toplev.h.
5237 2003-01-14  Denis Chertykov  <denisc@overta.ru>
5239         * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
5240         (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
5242         * config/ip2k/ip2k.c (ip2k_attribute_table): New table of
5243         attributes.
5244         (TARGET_ATTRIBUTE_TABLE): New macro.
5245         (valid_machine_type_attribute): Remove.
5246         (valid_machine_decl_attribute): Remove.
5247         (ip2k_handle_progmem_attribute): New function.
5248         (ip2k_handle_fndecl_attribute): New function.
5250 2003-01-10  Andrew Haley  <aph@redhat.com>
5252         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
5253         registers to be in correct order.  Add rip.
5255 2003-01-14  Kazu Hirata  <kazu@cs.umass.edu>
5257         * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
5258         (*iorsi3_and_lshiftrt_9_sb): Likewise.
5260 Tue Jan 14 00:45:33 CET 2003  Jan Hubicka  <jh@suse.cz>
5262         * convert.c (strip_float_extensions):  Look for narrowest type handling
5263         FP constants.
5265         * fold-const.c (fold):  Fold (double)float1 CMP (double)float2 into
5266         float1 CMP float2.
5267         * convert.c (strip_float_extensions): Make global.
5268         * tree.h (strip_float_extensions): Declare.
5270 2003-01-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
5272         * timevar.def: define TV_NAME_LOOKUP.
5273         * timevar.c (timevar_pop): Be verbose when aborting.
5275 2003-01-13  Andreas Schwab  <schwab@suse.de>
5277         * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
5278         $(parsedir), just move the temporary file at the end.
5279         ($(parsedir)/gengtype-yacc.c): Likewise.
5281 2003-01-13  Alexandre Oliva  <aoliva@redhat.com>
5283         * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
5284         ${ac_tool_prefix} to ADAC or CC.  Protect them from word
5285         splitting.
5286         * configure: Rebuilt.
5288 2003-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5290         * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
5291         internal_mcount): Don't use PARAMS.
5292         (monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
5293         ISO C style.
5294         (internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.
5296 2003-01-13  Andreas Schwab  <schwab@suse.de>
5298         * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
5299         directive.
5301 2003-01-13  Kazu Hirata  <kazu@cs.umass.edu>
5303         * config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
5304         (*iorsi3_and_lshiftrt_n_sb): Likewise.
5306 2003-01-12  Mark Mitchell  <mark@codesourcery.com>
5308         PR c++/9264
5309         * c-lex.c (c_lex): Set the token value to error_mark_node for
5310         invalid numeric constants.
5312 2003-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5314         * c-pch.c (asm_file_startpos): Change to `long'.
5315         (pch_init): Use ftell, not ftello.
5316         (c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
5317         Use `long' instead of `off_t'.
5318         (c_common_read_pch): Likewise.
5319         * ggc-common.c (gt_pch_save): Use long/ftell instead of
5320         off_t/ftello.
5322 2003-01-12  Alan Modra  <amodra@bigpond.net.au>
5324         * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
5326 2003-01-11  Richard Earnshaw  (rearnsha@arm.com)
5328         * arm-protos.h (struct cpp_reader): Add declaration.
5330 Sat Jan 11 11:02:58 CET 2003  Jan Hubicka  <jh@suse.cz>
5332         PR target/9068
5333         * i386.c (output_fp_compare): Fix typo.
5335 2003-01-10  David Edelsohn  <edelsohn@gnu.org>
5337         * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
5339 2003-01-10  Geoffrey Keating  <geoffk@apple.com>
5341         * Makefile.in (parsedir): New variable.
5342         (docobjdir): New variable.
5343         (c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
5344         gengtype-lex.c, gengtype-yacc.c): Use parsedir.
5345         (info, cpp.info, gcc.info, gccint.info, gccinstall.info,
5346         cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
5347         gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
5348         Use docobjdir.
5349         * objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
5350         objc.maintainer-clean): Use parsedir.
5352         * varasm.c (struct constant_descriptor_rtx): Remove unused
5353         `label' field.
5355         * toplev.c (documented_lang_options): Document -Winvalid-pch.
5357 2003-01-10  Richard Henderson  <rth@redhat.com>
5359         * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
5360         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.
5362 2003-01-10  Richard Henderson  <rth@redhat.com>
5364         * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
5365         not INTEGRAL_MODE_P when widening extensions.
5367 2003-01-10  Richard Henderson  <rth@redhat.com>
5369         * config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
5371 2003-01-10  Geoffrey Keating  <geoffk@apple.com>
5373         * ggc-page.c (ggc_collect): Avoid overflow computing
5374         min_expand.
5376         * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
5377         (RANLIB_TEST_FOR_TARGET): Delete.  Don't pass down to sub-makes.
5378         Remove calls.
5379         * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.
5381 Fri Jan 10 22:05:35 CET 2003  Jan Hubicka  <jh@suse.cz>
5383         * ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
5384         with weird operands.
5386 2003-01-10  Dale Johannesen <dalej@apple.com>
5388         * calls.c (load_register_parameters):  Add is_sibcall, sibcall_failure
5389         parameters.  Call check_sibcall_argument_overlap if indicated.
5390         (check_sibcall_argument_overlap):  Add mark_stored_args_map
5391         parameter.  Don't mark parameter area as clobbered if not set.
5392         (expand_call):  Adjust calls to above.
5394 2003-01-10 Kelley Cook <kelleycook@comcast.net>
5396         * configure.in (linker read-only and read-write section mixing):
5397         Squelch some assembler warnings.
5398         * configure: Likewise.
5400 2003-01-10  Hartmut Penner  <hpenner@de.ibm.com>
5402         * doc/invoke.texi: Document -mtune, delete -mcpu
5403         option for S/390 and zSeries.
5404         * config/s390/s390.c (s390_tune_string) New variable.
5405         (s390_cpu_string) Delete variable.
5406         (override_options): Use s390_tune_string instead of
5407         s390_cpu_string.
5408         * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.
5410 2003-01-10  Kazu Hirata  <kazu@cs.umass.edu>
5412         * config/h8300/h8300.md (*iorsi3_ashift_31): New.
5414 2003-01-10  Josef Zlomek  <zlomekj@suse.cz>
5416         * jump.c (next_nonnote_insn_in_loop): New function.
5417         (copy_loop_headers): Use next_nonnote_insn_in_loop instead of
5418         next_nonnote_insn.
5419         (duplicate_loop_exit_test). Likewise.
5421 2003-01-09  Geoffrey Keating  <geoffk@apple.com>
5423         Merge from pch-branch:
5425         2003-01-06  Geoffrey Keating  <geoffk@apple.com>
5427         * ggc-page.c (ggc_pch_read): Update the statistics after a PCH
5428         load.
5430         2002-12-24  Geoffrey Keating  <geoffk@apple.com>
5432         * cpplib.c (count_registered_pragmas): New function.
5433         (save_registered_pragmas): New function.
5434         (_cpp_save_pragma_names): New function.
5435         (restore_registered_pragmas): New function.
5436         (_cpp_restore_pragma_names): New function.
5437         * cpphash.h (_cpp_save_pragma_names): Prototype.
5438         (_cpp_restore_pragma_names): Likewise.
5439         * cpppch.c (struct save_macro_item): Split from save_macro_data.
5440         (struct save_macro_data): New field 'saved_pragmas'.
5441         (save_macros): Update for changes to struct save_macro_data.
5442         (cpp_prepare_state): Call _cpp_save_pragma_names, update
5443         for changes to struct save_macro_data.
5444         (cpp_read_state): Call _cpp_restore_pragma_names, update
5445         for changes to struct save_macro_data.
5447         * cpppch.c (cpp_read_state): Restore the hashtable references
5448         in the cpp_reader.
5450         * tree.h (built_in_decls): Mark for PCH.
5452         * dbxout.c (lastfile): Don't mark for PCH.
5454         * ggc.h: Document PCH calls into memory managers.
5456         2002-12-18  Geoffrey Keating  <geoffk@apple.com>
5458         * doc/invoke.texi (Precompiled Headers): Document the
5459         directory form of PCH.
5460         * cppfiles.c (validate_pch): New function.
5461         (open_file_pch): Search suitably-named directories for PCH files.
5463         2002-12-14  Geoffrey Keating  <geoffk@apple.com>
5465         * doc/gty.texi (GTY Options): Document chain_next, chain_prev,
5466         reorder options.
5467         (Type Information): Mention that the information is also
5468         used to implement PCH.
5469         * doc/passes.texi (Passes): Improve documentation of
5470         language-specific files.
5472         2002-12-11  Geoffrey Keating  <geoffk@apple.com>
5474         * gengtype.c (struct write_types_data): Add reorder_note_routine field.
5475         (struct walk_type_data): Add reorder_fn field.
5476         (walk_type): Process 'reorder' option.
5477         (write_types_process_field): Reorder parameters to gt_pch_note_object,
5478         call reorder_note_routine.
5479         (write_func_for_structure): Reorder parameters to gt_pch_note_object.
5480         (ggc_wtd): Update for change to struct write_types_data.
5481         (pch_wtd): Likewise.
5482         * ggc.h (gt_pch_note_object): Reorder parameters.
5483         (gt_handle_reorder): New definition.
5484         (gt_pch_note_reorder): New prototype.
5485         * ggc-common.c (struct ptr_data): Add reorder_fn.
5486         (gt_pch_note_object): Reorder parameters.
5487         (gt_pch_note_reorder): New.
5488         (gt_pch_save): Call reorder_fn.
5489         * stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object.
5491         * dbxout.c (cwd): Don't mark for PCH.
5493         2002-12-09  Geoffrey Keating  <geoffk@apple.com>
5495         * gengtype.c (finish_root_table): Fix some warnings.
5496         (write_root): Handle TYPE_STRING.
5497         * ggc.h (gt_ggc_m_S): Add prototype.
5498         * stringpool.c (gt_ggc_m_S): New function.
5500         2002-11-30  Geoffrey Keating  <geoffk@apple.com>
5502         * dwarf2out.c (dw2_string_counter): New.
5503         (AT_string_form): Use it.
5504         (same_dw_val_p): Update for removal of hashtable.h hash tables.
5506         2002-11-22  Geoffrey Keating  <geoffk@apple.com>
5508         * dbxout.c: Include gt-dbxout.h.
5509         (lastfile): Mark for PCH/GGC.
5510         (cwd): Likewise.
5511         (struct typeinfo): Likewise.
5512         (typevec): Likewise.
5513         (typevec_len): Likewise.
5514         (next_type_number): Likewise.
5515         (struct dbx_file): Likewise.
5516         (current_file): Likewise.
5517         (next_file_number): Likewise.
5518         (dbxout_init): Allocate typevec, struct dbx_file with GGC.
5519         (dbxout_start_source_file): Allocate struct dbx_file with GGC.
5520         (dbxout_end_source_file): Don't free struct dbx_file.
5521         (dbxout_type): Use GGC to allocate typevec.
5522         * Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H).
5523         (GTFILES): Add dbxout.c.
5524         (gt-dbxout.h): New rule.
5526         * Makefile.in (c-pch.o): Add debug.h as dependency.
5527         * c-pch.c: Include debug.h.
5528         (pch_init): Call start_source_file to keep nesting right.
5529         (c_common_read_pch): Add orig_name parameter.  Call
5530         start_source_file debug hook.  Call end_source_file debug hook.
5531         * c-common.h (c_common_read_pch): Update prototype.
5532         * cpplib.h (struct cpp_callbacks): Add fourth field to read_pch
5533         callback.
5534         * cppfiles.c (struct include_file): Add new field `header_name'.
5535         (find_or_create_entry): Default it to `name'.
5536         (open_file_pch): Set it to the original header file searched for.
5537         (stack_include_file): Don't stack an empty buffer, just handle
5538         PCH files immediately.  Pass header_name field to read_pch callback.
5540         2002-11-19  Geoffrey Keating  <geoffk@apple.com>
5542         * function.c (funcdef_no): Mark to be saved in a PCH.
5544         2002-11-15  Geoffrey Keating  <geoffk@apple.com>
5546         * ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'.
5548         * cpppch.c (cpp_read_state): Correct size reallocated for 'defn'.
5550         2002-11-14  Geoffrey Keating  <geoffk@apple.com>
5552         * optabs.h (code_to_optab): Add GTY marker.
5554         2002-11-13  Geoffrey Keating  <geoffk@apple.com>
5556         * Makefile.in (GTFILES): Add cpplib.h.
5557         * c-common.h (struct c_common_identifier): Don't skip 'node' field.
5558         * c-decl.c (build_compound_literal): Don't use var_labelno.
5559         * cpplib.h (struct cpp_hashnode): Use gengtype to mark.
5560         * dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno.
5561         * varasm.c (const_labelno): Use gengtype to mark.
5562         (var_labelno): Likewise.
5563         (in_section): Likewise.
5564         (in_named_name): Likewise.
5565         (struct in_named_entry): Likewise.
5566         (in_named_htab): Likewise.
5567         (set_named_section_flags): Use GGC to allocate struct in_named_entry.
5568         (init_varasm_once): Use GGC to allocate in_named_htab.
5569         * config/darwin.c (current_pic_label_num): Mark for PCH.
5571         2002-11-11  Geoffrey Keating  <geoffk@apple.com>
5573         * ggc-simple.c (init_ggc_pch): New stub procedure.
5574         (ggc_pch_count_object): Likewise.
5575         (ggc_pch_total_size): Likewise.
5576         (ggc_pch_this_base): Likewise.
5577         (ggc_pch_alloc_object): Likewise.
5578         (ggc_pch_prepare_write): Likewise.
5579         (ggc_pch_write_object): Likewise
5580         (ggc_pch_finish): Likewise.
5581         (ggc_pch_read): Likewise.
5583         2002-11-08  Geoffrey Keating  <geoffk@apple.com>
5585         * c-pch.c (c_common_write_pch): Write the macro definitions after
5586         the GCed data.
5587         (c_common_read_pch): Call cpp_prepare_state.  Restore the macro
5588         definitions after the GCed data.
5589         * cpplib.c (save_macros): New.
5590         (reset_ht): New.
5591         (cpp_write_pch_deps): Split out of cpp_write_pch.
5592         (cpp_write_pch_state): Split out of cpp_write_pch.
5593         (cpp_write_pch): Delete.
5594         (struct save_macro_data): Delete.
5595         (cpp_prepare_state): New.
5596         (cpp_read_state): Erase and restore initial macro definitions.
5597         * cpplib.h (struct save_macro_data): Forward-declare.
5598         (cpp_write_pch_deps): Prototype.
5599         (cpp_write_pch_state): Prototype.
5600         (cpp_write_pch): Delete prototype.
5601         (cpp_prepare_state): Prototype.
5602         (cpp_read_state): Add fourth argument.
5604         2002-11-04  Geoffrey Keating  <geoffk@apple.com>
5606         * gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields.
5607         (write_array): Remove warning.
5609         * gengtype.c (contains_scalar_p): New.
5610         (finish_root_table): Add the table to all languages, even if it's
5611         empty.
5612         (write_roots): Output gt_pch_scalar_rtab.
5613         * ggc-common.c (gt_pch_save): Write out scalars.
5614         (gt_pch_restore): Read scalars back.
5616         * ggc-page.c (OBJECTS_IN_PAGE): New macro.
5617         (struct page_entry): Delete pch_page field.
5618         (ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE.
5619         (clear_marks): Likewise.
5620         (sweep_pages): Likewise.
5621         (poison_pages): Likewise.
5622         (ggc_print_statistics): Likewise.
5623         (ggc_pch_read): Don't free objects read from a PCH.
5624         Properly set up in_use_p and page_tails.
5626         2002-10-25  Geoffrey Keating  <geoffk@apple.com>
5628         * gengtype.c (struct write_types_data): New.
5629         (struct walk_type_data): Make `cookie' const; add extra
5630         prev_val item; add `orig_s' field.
5631         (walk_type): Update prev_val[3].
5632         (write_types_process_field): New.
5633         (write_func_for_structure): Take write_types_data structure.
5634         (write_types): New.
5635         (ggc_wtd): New.
5636         (pch_wtd): New.
5637         (write_types_local_process_field): New.
5638         (gc_mark_process_field): Delete.
5639         (write_local_func_for_structure): New.
5640         (gc_mark_func_name): Delete.
5641         (write_gc_types): Delete.
5642         (write_local): New.
5643         (finish_root_table): Don't include 'ggc_' in PFX.
5644         (write_root): Rename from write_root.  Fill pchw field of structures.
5645         (write_array): New.
5646         (write_roots): Rename from write_gc_roots.  Split out to write_array.
5647         Update to changes to other routines.  Write gt_pch_cache_rtab table.
5648         (main): Write PCH walking routines.
5649         * ggc-common.c: Include toplev.h, sys/mman.h.
5650         (ggc_mark_roots): For cache hashtables, also mark the hash table
5651         and the array of entries.
5652         (saving_htab): New.
5653         (struct ptr_data): New.
5654         (POINTER_HASH): New.
5655         (gt_pch_note_object): New.
5656         (saving_htab_hash): New.
5657         (saving_htab_eq): New.
5658         (struct traversal_state): New.
5659         (call_count): New.
5660         (call_alloc): New.
5661         (compare_ptr_data): New.
5662         (relocate_ptrs): New.
5663         (write_pch_globals): New.
5664         (struct mmap_info): New.
5665         (gt_pch_save): New.
5666         (gt_pch_restore): New.
5667         * ggc-page.c (ROUND_UP_VALUE): New.
5668         (ROUND_UP): New.
5669         (struct page_entry): Add field `pch_page'.
5670         (init_ggc): Use ROUND_UP.
5671         (struct ggc_pch_data): Declare.
5672         (init_ggc_pch): New.
5673         (ggc_pch_count_object): New.
5674         (ggc_pch_total_size): New.
5675         (ggc_pch_this_base): New.
5676         (ggc_pch_alloc_object): New.
5677         (ggc_pch_prepare_write): New.
5678         (ggc_pch_write_object): New.
5679         (ggc_pch_finish): New.
5680         (ggc_pch_read): New.
5681         * ggc.h (gt_pointer_operator): New.
5682         (gt_note_pointers): New.
5683         (gt_pch_note_object): New prototype.
5684         (gt_pointer_walker): New.
5685         (struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field.
5686         (LAST_GGC_ROOT_TAB): Update.
5687         (gt_pch_cache_rtab): Declare.
5688         (gt_pch_scalar_rtab): Declare.
5689         (struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field.
5690         (LAST_GGC_CACHE_TAB): Update.
5691         (gt_pch_save_stringpool): Declare.
5692         (gt_pch_restore_stringpool): Declare.
5693         (gt_pch_p_S): Declare.
5694         (gt_pch_n_S): Declare.
5695         (struct ggc_pch_data): Forward-declare.
5696         (init_ggc_pch): Declare.
5697         (ggc_pch_count_object): Declare.
5698         (ggc_pch_total_size): Declare.
5699         (ggc_pch_this_base): Declare.
5700         (ggc_pch_alloc_object): Declare.
5701         (ggc_pch_prepare_write): Declare.
5702         (ggc_pch_write_object): Declare.
5703         (ggc_pch_finish): Declare.
5704         (ggc_pch_read): Declare.
5705         (gt_pch_save): Declare.
5706         (gt_pch_restore): Declare.
5707         * fold-const.c (size_int_type_wide): Allocate size_htab using GGC.
5708         * emit-rtl.c (init_emit_once): Allocate const_int_htab,
5709         const_double_htab, mem_attrs_htab using GGC.
5710         * c-pch.c: Include ggc.h.
5711         (pch_init): Allow reading PCH file back.
5712         (c_common_write_pch): Call gt_pch_save.
5713         (c_common_read_pch): Call gt_pch_restore.
5714         * c-parse.in (init_reswords): Delete now-untrue comment.
5715         Allocate ridpointers using GGC.
5716         * c-objc-common.c (c_objc_common_finish_file): Write PCH before
5717         calling expand_deferred_fns.
5718         * c-common.h (ridpointers): Mark for GTY machinery.
5719         * Makefile.in (stringpool.o): Update dependencies.
5720         (c-pch.o): Update dependencies.
5721         (ggc-common.o): Update dependencies.
5722         * stringpool.c: Include gt-stringpool.h.
5723         (gt_pch_p_S): New.
5724         (gt_pch_n_S): New.
5725         (struct string_pool_data): New.
5726         (spd): New.
5727         (gt_pch_save_stringpool): New.
5728         (gt_pch_restore_stringpool): New.
5729         * tree.c (init_ttree): Make type_hash_table allocated using GC.
5731         2002-10-04  Geoffrey Keating  <geoffk@apple.com>
5733         * gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf.
5734         (output_mangled_typename): Don't pass size_t to printf.
5736         * tree.h (union tree_type_symtab): Add tag to `address' field.
5737         (union tree_decl_u2): Add tag to 'i' field.
5738         * varasm.c (union rtx_const_un): Add tags to all fields.
5739         * gengtype.c (struct walk_type_data): New.
5740         (output_escaped_param): Take struct walk_type_data parameter.
5741         (write_gc_structure_fields): Delete.
5742         (walk_type): New.
5743         (write_gc_marker_routine_for_structure): Delete.
5744         (write_func_for_structure): New.
5745         (gc_mark_process_field): New.
5746         (gc_mark_func_name): New.
5747         (gc_counter): Delete.
5748         (write_gc_types): Use write_func_for_structure.
5749         (write_gc_roots): Use walk_type.
5751         2002-10-02  Geoffrey Keating  <geoffk@apple.com>
5753         * ggc-common.c (ggc_mark_roots): Delete 'x'.
5754         (ggc_splay_dont_free): Fix warning about unused 'x'.
5755         (ggc_print_common_statistics): Remove warnings.
5757         2002-10-01  Mike Stump  <mrs@apple.com>
5759         * ggc-common.c (ggc_splay_alloc): Actually return the allocated area.
5760         * gengtype.c (write_gc_structure_fields): Handle param[digit]_is.
5762         2002-09-01  Geoffrey Keating  <geoffk@redhat.com>
5763             Catherine Moore  <clm@redhat.com>
5765         * Makefile (c-pch.o): Update dependencies.
5766         (LIBCPP_OBJS): Add cpppch.o.
5767         (cpppch.o): New.
5768         * c-common.c (c_common_init): Don't call pch_init here.
5769         * c-common.h (c_common_read_pch): Update prototype.
5770         * c-lex.c (c_common_parse_file): Call pch_init here.
5771         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps.
5772         (c_common_decode_option): Handle them.
5773         * c-pch.c: Include c-pragma.h.
5774         (save_asm_offset): Delete.
5775         (pch_init): Move contents of save_asm_offset into here, call
5776         cpp_save_state.
5777         (c_common_write_pch): Call cpp_write_pch.
5778         (c_common_valid_pch): Warn only when -Winvalid-pch.  Call
5779         cpp_valid_state.
5780         (c_common_read_pch): Add NAME parameter.  Call cpp_read_state.
5781         * cppfiles.c (stack_include_file): Update for change to
5782         parameters of cb.read_pch.
5783         * cpphash.h (struct cpp_reader): Add `savedstate' field.
5784         * cpplib.h (struct cpp_options): Add `warn_invalid_pch' and
5785         `restore_pch_deps' fields.
5786         (struct cpp_callbacks): Add NAME parameter to `read_pch'.
5787         (cpp_save_state): Prototype.
5788         (cpp_write_pch): Prototype.
5789         (cpp_valid_state): Prototype.
5790         (cpp_read_state): Prototype.
5791         * cpppch.c: New file.
5792         * flags.h (version_flag): Remove prototype.
5793         * mkdeps.c (deps_save): New.
5794         (deps_restore): New.
5795         * mkdeps.h (deps_save): Prototype.
5796         (deps_restore): Prototype.
5797         * toplev.c (late_init_hook): Delete.
5798         (version_flag): Make static again.
5799         (compile_file): Don't call late_init_hook.
5800         * toplev.h (late_init_hook): Delete.
5801         * doc/cppopts.texi: Document -fpch-deps.
5802         * doc/invoke.texi (Warning Options): Document -Winvalid-pch.
5804         2002-08-27  Geoffrey Keating  <geoffk@redhat.com>
5806         * c-pch.c (c_common_write_pch): Rename from c_write_pch, change
5807         callers.
5808         (c_common_valid_pch): Rename from c_valid_pch, change callers.
5809         (c_common_read_pch): Rename from c_read_pch, change callers.
5811         * c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have
5812         a space between it and its argument.
5814         2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
5816         * c-pch.c: New file.
5817         * toplev.h (late_init_hook): Declare.
5818         * toplev.c (late_init_hook): Define.
5819         (version_flag): Make globally visible.
5820         (compile_file): Call late_init_hook.
5821         (init_asm_output): Make output file seekable.
5822         * gcc.c (default_compilers): Update c-header rule.
5823         * flags.h (version_flag): Declare.
5824         * cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch'
5825         fields.
5826         * cppfiles.c (struct include_file): Add 'pch' field.
5827         (INCLUDE_PCH_P): New.
5828         (open_file_pch): New.
5829         (stack_include_file): Handle PCH files specially.
5830         (find_include_file): Call open_file_pch instead of open_file.
5831         (_cpp_read_file): Explain why open_file is used instead of
5832         open_file_pch.
5833         * c-opts.c (c_common_decode_option): Correct OPT__output_pch case.
5834         * c-objc-common.c (c_objc_common_finish_file): Call c_write_pch.
5835         * c-lex.c (init_c_lex): Set valid_pch and read_pch fields
5836         in cpplib callbacks.
5837         * c-common.c (pch_file): Correct comment.
5838         (allow_pch): Define.
5839         (c_common_init): Call pch_init.
5840         * c-common.h (allow_pch): Declare.
5841         (pch_init): Declare.
5842         (c_valid_pch): Declare.
5843         (c_read_pch): Declare.
5844         (c_write_pch): Declare.
5845         * Makefile.in (c-pch.o): New.
5846         (C_AND_OBJC_OBJS): Add c-pch.o.
5847         * doc/invoke.texi (Precompiled Headers): Add index entries,
5848         complete truncated paragraph.
5850         2002-08-17  Geoffrey Keating  <geoffk@redhat.com>
5852         * c-common.c: (pch_file): Define.
5853         * c-common.h (pch_file): Declare.
5854         * c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=.
5855         (missing_arg): Require --output-pch= to have an argument.
5856         (c_common_decode_option): Handle --output-pch=.
5857         * gcc.c: Document new %V.
5858         (default_compilers): Handle compiling C header files.
5859         (do_spec_1): Implement %V.
5860         (main): Handle "gcc foo.h" without trying to run linker.
5861         * doc/invoke.texi (Invoking GCC): Add new menu item for PCH.
5862         (Overall Options): Document what the driver does with header files,
5863         document new -x option possibilities.
5864         (Invoking G++): More documentation for PCH.
5865         (Precompiled Headers): New.
5867         2002-08-09  Geoffrey Keating  <geoffk@redhat.com>
5869         * ggc.h: Don't include varray.h.  Rearrange functions to be more
5870         organized.
5871         (ggc_add_root): Delete.
5872         (ggc_mark_rtx): Delete.
5873         (ggc_mark_tree): Delete.
5874         (struct ggc_statistics): Remove contents.
5875         * ggc-common.c: Remove unneeded includes.
5876         (struct ggc_root): Delete.
5877         (roots): Delete.
5878         (ggc_add_root): Delete.
5879         (ggc_mark_roots): Don't mark `roots'.  Call ggc_mark_stringpool.
5880         (ggc_print_common_statistics): Remove most of the contents.
5881         * Makefile.in (GGC_H): No longer uses varray.h.
5882         (ggc-common.o): Update dependencies.
5883         (c-parse.o): Add varray.h to dependencies.
5884         (c-common.o): Add varray.h.
5885         * stringpool.c (mark_ident): Use mangled name for tree marker routine.
5886         (mark_ident_hash): Rename to ggc_mark_stringpool.
5887         (init_stringpool): Don't use ggc_add_root.
5888         * c-parse.in: Include varray.h.
5889         * c-common.c: Include varray.h.
5890         * objc/Make-lang.in (objc-act.o): Add varray.h.
5891         * objc/objc-act.c: Include varray.h.
5893         2002-07-25  Geoffrey Keating  <geoffk@redhat.com>
5895         * dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition.
5896         (dw_cfi_oprnd1_desc): Likewise.
5898         2002-07-17  Geoffrey Keating  <geoffk@redhat.com>
5900         * config/alpha/alpha.c (struct alpha_links): Use gengtype to mark;
5901         move out of ifdef.
5902         (alpha_links): Use gengtype to mark; move out of ifdef.
5903         (mark_alpha_links_node): Delete.
5904         (mark_alpha_links): Delete.
5905         (alpha_need_linkage): Use GGC to allocate splay tree, struct
5906         alpha_links, strings.  Don't use ggc_add_root.
5907         * ggc-common.c (ggc_splay_alloc): New.
5908         (ggc_splay_dont_free): New.
5909         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
5910         (ggc_mark_tree): Likewise.
5911         (splay_tree_new_ggc): New.
5912         (ggc_splay_alloc): Declare.
5913         (ggc_splay_dont_free): Declare.
5914         * dwarf2asm.c: Include gt-dwarf2asm.h.
5915         (mark_indirect_pool_entry): Delete.
5916         (mark_indirect_pool): Delete.
5917         (indirect_pool): Use gengtype to mark.
5918         (dw2_force_const_mem): Don't use ggc_add_root.
5919         * Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h.
5920         (GTFILES): Add SPLAY_TREE_H, dwarf2asm.c.
5921         (gt-dwarf2asm.h): Depend on s-gtype.
5923         2002-07-08  Geoffrey Keating  <geoffk@redhat.com>
5925         * tree.h (union tree_type_symtab): Mark `die' field.
5926         * Makefile.in (dwarf2out.o): Update dependencies.
5927         * dwarf2out.c: Use GGC to allocate all structures.  Convert to htab_t
5928         hash tables.
5929         (dw_cfi_oprnd1_desc): New function.
5930         (dw_cfi_oprnd2_desc): New function.
5931         (indirect_string_alloc): Delete.
5932         (debug_str_do_hash): New function.
5933         (debug_str_eq): New function.
5934         (mark_limbo_die_list): Delete.
5935         (dwarf2out_init): Don't call ggc_add_root.
5937 2003-01-09  Vladimir Makarov  <vmakarov@redhat.com>
5939         The following changes are merged from itanium-sched-branch:
5941         2003-01-08  David Edelsohn  <edelsohn@gnu.org>
5943         * doc/md.texi: Clarify assignment of units to automata description.
5945         2003-01-08  Vladimir Makarov  <vmakarov@redhat.com>
5947         * genautomata.c (unit_decl): Remove members
5948         `the_same_automaton_unit' and
5949         `the_same_automaton_message_reported_p'.
5950         (process_unit_to_form_the_same_automaton_unit_lists,
5951         form_the_same_automaton_unit_lists_from_regexp,
5952         form_the_same_automaton_unit_lists, the_same_automaton_lists):
5953         Remove them.
5954         (annotation_message_reported_p): New global variable.
5955         (check_unit_distribution_in_reserv,
5956         check_regexp_units_distribution): New functions.
5957         (check_unit_distributions_to_automata): Rewrite it.
5959         2003-01-04  Vladimir Makarov  <vmakarov@redhat.com>
5961         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
5962         Use continue instead of break if cycle is too big.
5964         2002-12-20  Vladimir Makarov  <vmakarov@redhat.com>
5966         * genautomata.c (check_unit_distributions_to_automata): Output at
5967         most one message for a unit.
5968         (process_unit_to_form_the_same_automaton_unit_lists): Check
5969         automaton of units instead of units themself.
5971         * doc/md.texi: Describe the constraint about assigning unit to
5972         automata.
5974         2002-12-20  Jan Hubicka  <jH@suse.cz>
5975                     Vladimir Makarov  <vmakarov@redhat.com>
5977         * genautomata.c (unit_decl): Add new members `min_occ_cycle_num'
5978         and `in_set_p'.
5979         (gen_cpu_unit): Initialize the new members.
5980         (process_regexp_cycles): Calculate minimal finish cycle too.  Set
5981         up `min_occ_cycle_num'.
5982         (evaluate_max_reserv_cycles): Change the function call.
5983         (CLEAR_BIT): New macro.
5984         (states_union, state_shift): Use the mask.
5985         (initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'.
5986         (form_reservs_matter): New function.
5987         (make_automaton): Call the function and use the mask.
5988         (estimate_one_automaton_bound): Take `min_occ_cycle_num' into
5989         account.
5991         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
5993         * config/ia64/itanium2.md (lfetch): Change the insn reservation.
5995         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
5997         * config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn
5998         for Itanium.
6000         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
6002         * config/ia64/ia64.c (ia64_override_options): Make itanium2 as
6003         default cpu.
6005         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
6006                 2002-10-31  Dale Johannesen <dalej@apple.com>
6008         * haifa-sched.c (find_set_reg_weight): New function.
6009         (find_insn_reg_weight): Use the new function.
6010         (schedule_block): Do sorting ready queue always
6011         after insn issue.
6013         2002-11-27  Vladimir Makarov  <vmakarov@redhat.com>
6015         * config/ia64/ia64.c (bundling): Use MFI template instead of MLX.
6017         2002-11-19  Vladimir Makarov  <vmakarov@redhat.com>
6019         * haifa-sched.c (choice_entry): New structure.
6020         (choice_stack, cycle_issued_insns): New variables.
6021         (max_issue): Rewrite it.
6022         (choose_ready): Set up ready_try for unknown insns too.
6023         (schedule_block): Allocate and free choice_stack.  Set up
6024         and modify cycle_issued_insns.
6026         * config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue
6027         with and without filling the bundle.
6028         (bundling): Combine calls of issue_nops_and_insn.
6030         2002-10-17  Vladimir Makarov  <vmakarov@redhat.com>
6032         * config/ia64/itanium1.md: New file.
6034         * config/ia64/itanium2.md: New file.
6036         * config/ia64/ia64.md: Move DFA descriptions into the new files.
6037         Remove the old pipeline description.
6039         * config/ia64/ia64.c (ia64_override_options): Add aliases of
6040         itanium processor names.
6042         2002-10-16  Vladimir Makarov  <vmakarov@redhat.com>
6044         * config/ia64/ia64.c (bundling): Print states for Itanium2 too.
6045         (ia64_reorg):  Set up queried unit codes for Itanium2 too.
6047         * config/ia64/ia64.md: Add descriptions for Itanium2.
6049         2002-10-08  Vladimir Makarov  <vmakarov@redhat.com>
6051         * config/ia64/ia64.h (processor_type): New enumeration.
6052         (ia64_tune, ia64_tune_string): New external declarations.
6053         (TARGET_OPTIONS): Add option `tune='.
6055         * config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global
6056         variables.
6057         (ia64_override_options): Set up `ia64_tune'.
6058         (ia64_sched_reorder2): Set up `clocks' only for Itanium.
6059         (ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium.
6060         (bundling): Add nops for MM-insns only for Itanium.
6061         (ia64_reorg): Allocate and free `clocks' and `add_cycles' only for
6062         Itanium.
6064         * config/ia64/ia64.md (cpu): New attribute.
6065         (DFA description): Enable it only for Itanium.
6067         2002-10-08  Vladimir Makarov  <vmakarov@redhat.com>
6068                     Richard Henderson  <rth@redhat.com>
6070         * config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to
6071         MASK_EARLY_STOP_BITS.
6072         (TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS.
6073         (TARGET_SWITCHES): Rename option `tune-stop-bits' to
6074         `early-stop-bits'.
6076         * config/ia64/ia64.c (ia64_dfa_new_cycle,
6077         final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS
6078         instead of TARGET_TUNE_STOP_BITS.
6080         * doc/invoke.texi: Rename option `-mtune-stop-bits' to
6081         `-mearly-stop-bits'.
6083         * config/ia64/ia64.c (automata_option "v"): Comment it.
6085         2002-10-07  Vladimir Makarov  <vmakarov@redhat.com>
6087         * config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS):
6088         New macros.
6089         (TARGET_SWITCHES): Add entries for the new option.
6091         * config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx
6092         dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC.
6093         (stops_p, stop_before_p, clocks_length, clocks, add_cycles): New
6094         global variables.
6095         (ia64_sched_reorder2): Set up `clocks'.
6096         (ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'.
6097         (ia64_dfa_new_cycle): Set up add_cycle.  Permit sorting ready
6098         queue when TARGET_TUNE_STOP_BITS.
6099         (bundling): Insert additional nops for MM-insns.
6100         (final_emit_insn_group_barriers): Add insertion of stop bits
6101         according `stops_p'.
6102         (ia64_reorg): Initiate the new varibales.
6104         * doc/invoke.texi: Add description of option `-mtune-stop-bits'.
6106         2002-10-02  Vladimir Makarov  <vmakarov@redhat.com>
6108         * haifa-sched.c (schedule_block): Modify INSN_TICK of depended
6109         insns at the end of block insn scheduling.
6111         2002-09-30  Vladimir Makarov  <vmakarov@redhat.com>
6113         * sched-deps.c (remove_dependence, group_leader): Remove it.
6114         (add_dependence): Add dependence to group leader to.
6115         (set_sched_group_p): Add dependence to the first insn of the
6116         schedule group too.
6117         (sched_analyze_insn): Make dependence to jump as anti-dependence.
6118         Change true dependence by anti-dependence when
6119         `reg_pending_barrier'.
6121         * sched-rgn.c (init_ready_list, can_schedule_ready_p,
6122         add_branch_dependences): Ignore schedule groups.
6124         * sched-ebb.c (init_ready_list): Ditto.
6126         * (move_insn, set_priorities): Ditto.
6128         * config/ia64/ia64.c (ia64_sched_init): Check that schedule group
6129         flag is clear after reload.
6130         (adjust_cost): Change cost only for output dependencies.
6132         * config/ia64/ia64.md: Add more insns into bypass for MM-insns.
6134         2002-09-26  Vladimir Makarov  <vmakarov@redhat.com>
6136         * Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry.
6138         * target.h (gcc_target): Add member
6139         `dependencies_evaluation_hook'.
6141         * target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New
6142         macro.
6143         (TARGET_SCHED): Add initiatialization of the new member.
6145         * sched-ebb.c: Include `target.h'.
6146         (schedule_ebb): Call `dependencies_evaluation_hook'.
6148         * sched-rgn.c (schedule_region): Call
6149         `dependencies_evaluation_hook'.
6151         * config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
6152         New macro.
6153         (ia64_dependencies_evaluation_hook): New function.
6155         * doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
6156         Describe the new hook.
6158         2002-09-25  Vladimir Makarov  <vmakarov@redhat.com>
6160         * target.h (gcc_target): Add members
6161         `first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'.
6163         * target-def.h (TARGET_SCHED_DFA_NEW_CYCLE,
6164         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New
6165         macros.
6166         (TARGET_SCHED): Add initiatialization of the new members.
6168         * haifa-sched.c (schedule_insn): Update last_clock_var for the 1st
6169         insn scheduling too.
6170         (choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to
6171         initialize `ready_try'.
6172         (schedule_block): Use `dfa_new_cycle'.  Sort `ready' only unless
6173         `dfa_new_cycle' says not to do it.
6175         * config/ia64/ia64.md: Add DFA Itanium 1 description for insn
6176         bundling.
6178         * config/ia64/ia64.h (CPU_UNITS_QUERY): New macro.
6180         * config/ia64/ia64.c: Include `hashtab.h'.
6181         (ia64_first_cycle_multipass_dfa_lookahead_guard,
6182         ia64_dfa_new_cycle, final_emit_insn_group_barriers,
6183         ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state,
6184         initiate_bundle_states, finish_bundle_states, bundle_state_hash,
6185         bundle_state_eq_p, insert_bundle_state,
6186         initiate_bundle_state_table, finish_bundle_state_table,
6187         try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos,
6188         get_template, get_next_important_insn, bundling): New functions.
6189         (ia64_internal_sched_reorder): Remove it.
6190         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
6191         TARGET_SCHED_DFA_NEW_CYCLE): New macros.
6192         (ia64_safe_itanium_requires_unit0): Remove it.
6193         (group_barrier_needed_p): Place group barrier right before a real
6194         insn.
6195         (bundle, ia64_packet, NR_PACKETS, type_names, packets, packets):
6196         Remove them.
6197         (bundle_name): New variable.
6198         (_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_,
6199         _0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_,
6200         _1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5,
6201         pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size,
6202         temp_dfa_state, prev_cycle_state): New global variables.
6203         (insn_matches_slot, maybe_rotate, finish_last_head,
6204         rotate_one_bundle, rotate_one_bundles, nop_cycles_until,
6205         cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
6206         find_best_packet, itanium_reorder, dump_current_packet,
6207         schedule_stop, gen_nop_type, ia64_emit_nops): Remove them.
6208         (sched_data, sched_ready, sched_types): Remove them.
6209         (ia64_sched_init): Initiate only `last_scheduled_insn' and call
6210         `init_insn_group_barriers'.
6211         (ia64_sched_reorder, ia64_sched_reorder2): Call
6212         ia64_dfa_sched_reorder.
6213         (ia64_variable_issue): Rewrite it.
6214         (bundle_state): New structure.
6215         (index_to_bundle_states, bundle_states_num,
6216         allocated_bundle_states_chain, free_bundle_state_chain): New
6217         global variables.
6218         (ia64_sched_finish): Add stop bits and call `bundling' after the
6219         2nd insn scheduling.
6220         (ia64_use_dfa_pipeline_interface): Return zero always.
6221         (ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd
6222         insn scheduling.
6223         (ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size',
6224         `temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'.
6225         (ia64_reorg): Add bundling insns.
6227         * doc/tm.texi
6228         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
6229         TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks.
6231         2002-09-23  Vladimir Makarov  <vmakarov@redhat.com>
6233         * config/ia64/ia64.md: Add Itanium1 DFA description.
6234         (itanium_class): Add `nop' and `pre_cycle'.  Add
6235         define_function_unit for `nop'.
6236         (nop): Change attribute `itanium_class'.
6237         (pre_cycle): New define_insn.
6239         * config/ia64/ia64-protos.h (bundling_p): New external variable.
6240         (ia64_st_address_bypass_p, ia64_ld_address_bypass_p,
6241         ia64_produce_address_p): New function prototypes.
6243         * config/ia64/ia64.c (bundling_p): New global variable.
6244         (ia64_use_dfa_pipeline_interface,
6245         ia64_first_cycle_multipass_dfa_lookahead,
6246         ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New
6247         functions.
6248         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
6249         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
6250         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
6251         TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros.
6252         (ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2,
6253         ia64_variable_issue, ia64_sched_finish): Do nothing before reload.
6254         (dfa_pre_cycle_insn): New variable.
6256         2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
6258         * rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New
6259         constructions.
6261         * genattrtab.h (gen_final_presence_set, gen_final_absence_set):
6262         New function prototypes.
6264         * genattrtab.c (main): Process the new constructions.
6266         * genautomata.c (gen_presence_absence_set,
6267         process_presence_absence_names, process_presence_absence_patterns,
6268         add_presence_absence, check_absence_pattern_sets): Add parameter
6269         `final_p'.
6270         (unit_decl): Add new members `final_presence_list' and
6271         `final_absence_list'.
6272         (unit_pattern_rel_decl): Add new member `final_p'.
6273         (gen_final_presence_set, gen_final_absence_set): New functions.
6274         (process_decls): Use member `final_p'.
6275         (temp_reserv): New global variable.
6276         (reserv_sets_are_intersected): Add processing `final_presence_set'
6277         and `final_absence_set'.
6278         (initiate_states): Allocate `temp_reserv'.
6279         (unit_final_presence_set_table, unit_final_absence_set_table): New
6280         gloabal variables.
6281         (initiate_presence_absence_pattern_sets): Initiate them.
6282         (NDFA_to_DFA): Fix typo.
6283         (output_description): Output `final_presence_set' and
6284         `final_absence_set'.
6286         * doc/md.texi (final_presence_set, final_absence_set): Describe
6287         them.
6289         2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
6291         * genautomata.c (transform_3): Process a missing case (nothing on
6292         unit place).
6294         2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
6296         * rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change
6297         comments about queried units and the minimization.
6299         * doc/md.texi: Ditto.
6301         * genautomata.c (create_composed_state): Return nonzero if the new
6302         state has been created.
6303         (first_cycle_unit_presence): New function.
6304         (state_is_differed): Add new parameter.  Use the new function.
6305         Take queried units into account.
6306         (partition_equiv_class): Pass additional parameter to
6307         `state_is_differed'.
6308         (merge_states): Process composed states too.
6309         (build_automaton, create_automata, output_min_issue_delay_table,
6310         output_tables, output_statistics): Output more information.
6311         (output_reserved_units_table): Use function
6312         `first_cycle_unit_presence'.
6313         (output_tables): Output table of queried units even if the
6314         minimization is switched on.
6315         (write_automata): Output code for querying units even if the
6316         minimization is switched on.
6318         2002-09-19  Vladimir Makarov  <vmakarov@redhat.com>
6320         * rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended
6321         syntax of the constructions.
6323         * doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of
6324         extended syntax of the constructions.
6326         * genautomata.c (unit_rel_decl): Rename it to
6327         `unit_pattern_rel_decl'.
6328         (pattern_set_el, pattern_reserv): New structures.
6329         (pattern_set_el_t, pattern_reserv_t): New types.
6330         (gen_presence_absence_set): New function.
6331         (process_presence_absence): Remove it.
6332         (process_presence_absence_names,
6333         process_presence_absence_patterns): New functions.
6334         (get_presence_absence_set): Remove it.
6335         (initiate_presence_absence_sets): Rename it on
6336         `initiate_presence_absence_pattern_sets'.  Use new function
6337         `form_reserv_sets_list'.
6338         (form_reserv_sets_list, check_presence_pattern_sets,
6339         check_absence_pattern_sets, output_pattern_set_el_list): New
6340         functions.
6341         (unit_decl): Change types of members `presence_list' and
6342         `absence_list'.
6343         (unit_rel_decl): Rename member `names_num' to `all_names_num'.
6344         (decl): Change types of members `excl', `presence', and `absence'.
6345         (get_str_vect): Rename `par_flag' to `paren_p'.  Add null element
6346         at the end of the vector.
6347         (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
6348         gen_automaton, gen_regexp_repeat, gen_regexp_allof,
6349         gen_regexp_oneof, gen_regexp_sequence): Use boolean values.
6350         (gen_presence_set, gen_absence_set): Use new function
6351         `gen_presence_absence_set'.
6352         (add_presence_absence): Process `pattern_list' instead of
6353         `source_list'.
6354         (process_decls): USe new functions
6355         `process_presence_absence_names' and
6356         `process_presence_absence_patterns'.
6357         (reserv_sets_are_intersected): Use new function
6358         `check_presence_pattern_sets'.
6359         (presence_set, absence_set): Remove them.
6360         (unit_presence_set_table, unit_absence_set_table): New global
6361         variables.
6362         (output_description): Use new function
6363         `output_pattern_set_el_list'.
6364         (generate): Use `initiate_presence_absence_pattern_sets'.
6366         2002-09-18  Vladimir Makarov  <vmakarov@redhat.com>
6368         * genattr.c (main): Add output of prototype of new interface
6369         function `dfa_clean_insn_cache'.
6371         * genautomata.c (output_dfa_clean_insn_cache_func): New function.
6372         (DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro.
6373         (output_dfa_start_func): Use function `dfa_clean_insn_cache' in
6374         the generated code.
6375         (write_automata): Call the new function.
6377 Thu Jan  9 22:47:38 CET 2003  Jan Hubicka  <jh@suse.cz>
6379         * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt
6380         correctly.
6382 2003-01-09  Paolo Carlini  <pcarlini@unitus.it>
6384         * doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
6386 Thu Jan  9 17:26:40 2003  J"orn Rennecke <joern.rennecke@superh.com>
6388         * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
6389         (EXTRA_ADDRESS_CONSTRAINT): Likewise.
6390         (CONSTRAINT_LEN): Provide default definition.
6391         (CONST_OK_FOR_CONSTRAINT_P): Likewise.
6392         (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
6393         (EXTRA_CONSTRAINT_STR): Likewise.
6394         (REG_CLASS_FROM_CONSTRAINT): Define.
6395         * genoutput.c (check_constraint_len, constraint_len): New functions.
6396         (validate_insn_alternatives): Check CONSTRAINT_LEN for each
6397         constraint / modifier.
6398         (gen_insn): Call check_constraint_len.
6399         * local-alloc.c (block_alloc): Update to use new macros / pass
6400         second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
6401         * ra-build.c (handle_asm_insn): Likewise.
6402         * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
6403         (constrain_operands, peep2_find_free_register): Likewise.
6404         * regclass.c (record_operand_costs, record_reg_classes): Likewise.
6405         * regmove.c (find_matches): Likewise.
6406         * reload.c (push_secondary_reload, find_reloads): Likewise.
6407         (alternative_allows_memconst): Likewise.
6408         * reload1.c (maybe_fix_stack_asms): Likewise.
6409         (reload_cse_simplify_operands): Likewise.
6410         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
6411         * doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
6412         (CONST_OK_FOR_CONSTRAINT_P): Likewise.
6413         (CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
6414         (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
6415         * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.
6417         * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
6419 2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
6421         * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
6422         length.
6423         (*extzv_1_r_h8300hs): Likewise.
6424         (*extzv_1_r_inv_h8300): Likewise.
6425         (*extzv_1_r_inv_h8300hs): Likewise.
6427 2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
6429         * config/h8300/h8300.h (PREDICATE_CODES): New.
6431 2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
6433         * config/h8300/h8300.md (*addsi3_upper): New.
6434         (*iorsi3_shift): Likewise.
6435         (two splitters): Likewise.
6436         (*addsi3_shift): Likewise.
6437         (two splitters): Likewise.
6439 2003-01-09  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
6441         * Makefile.in (optabs.o): Add dependency on basic-block.h.
6442         * basic-block.h (control_flow_insn_p): Fuction was exported.
6443         * cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
6444         * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
6445         notes only when the region is contained in a single basic block.
6447 2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
6449         PR inline-asm/8832
6450         * tree.h (expand_asm): New prototype.
6451         * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
6452         to do so.
6453         * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
6454         down to expand_asm.
6455         * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
6456         * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
6457         (volatile_refs_p) [ASM_INPUT]: Likewise.
6458         (side_effects_p) [ASM_INPUT]: Likewise.
6460 Thu Jan  9 12:00:36 CET 2003  Jan Hubicka  <jh@suse.cz>
6462         * i386.md (*mul*): FIx constraints; remove confused comment; fix
6463         athlon_decode attributes
6464         (imul/k8 optimization peep2s): New.
6466         * athlon.md (athlon_ssecmp*): Handle ssecomi as well.
6467         * i386.md (type attribute): Add ssecomi.
6468         (unit, memory, prefix attributes): Handle ssecomi.
6469         (cvt?2? patterns): Fix athlon_decode attribute
6470         (comi patterns): Set attribute to ssecomi.
6472         PR target/8343
6473         * m68k.md (umulsidi, mulsidi expanders): Use register operand.
6475 2003-01-09  Richard Sandiford  <rsandifo@redhat.com>
6477         * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
6478         that match register_operands.
6479         * config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
6480         register_operand the default case.
6482 2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
6484         PR c/8032
6485         * c-typeck.c (process_init_element) [RECORD_TYPE]: For
6486         an empty element, do not advance the pointer to unfilled
6487         fields if there are pending initializers.
6489 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
6491         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
6492         (install-gcc-tooldir, install-cpp, installdirs,
6493         install-common, install-driver, install-info, install-man,
6494         install-headers, install-include-dir, install-headers-tar,
6495         install-headers-cpio, install-headers-cp, install-mkheaders,
6496         install-collect2, uninstall): Prepend $(DESTDIR) to
6497         destination paths in all (un)installation commands.
6498         (install-driver): Rewrite $(LN) commands to support DESTDIR
6499         with "ln" as well as with "ln -s".
6500         (installdirs): Simply use mkinstalldirs.
6501         (install-libgcc, install-multilib): Also pass DESTDIR.
6502         * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
6503         installation destination variable ldir.
6504         * config/alpha/t-osf4, config/arm/t-netbsd,
6505         config/ia64/t-hpux, config/mips/t-iris5-6,
6506         config/pa/t-hpux-shlib, config/rs6000/t-aix43,
6507         config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
6508         config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
6509         in the definition of SHLIB_INSTALL.
6510         * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
6511         $(libsubdir) in the installation commands.
6513 2003-01-08  Kaz Kojima  <kkojima@gcc.gnu.org>
6515         * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
6516         non-optimizing compile.
6517         (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
6518         compile.
6520 2003-01-08  Douglas B Rupp  <rupp@gnat.com>
6522         * config/i386/i386.c (ix86_attribute_table): Add new attributes
6523         ms_struct and gcc_struct.
6524         (ix86_handle_struct_attribute): New function.
6525         (ix86_ms_bitfield_layout_p): Update to take new attributes
6526         into account.
6527         * doc/extend.texi: Document new attributes.
6528         * testsuite/gcc.dg/bf-ms-attrib.c: New test.
6530 2003-01-08  Danny Smith  <dannysmith@users.sourceforge.net>
6532         PR optimization/8750
6533         * config/i386/i386.c (ix86_expand_prologue): Don't allow
6534         scheduling pass to move insns across __alloca call.
6536 2003-01-08  Dale Johannesen  <dalej@apple.com>
6538         * config/rs6000/rs6000.md:  Replace *store_multiple_string
6539         with *stmsi[3-8].
6541 2003-01-08  Jeff Sturm  <jsturm@one-point.com>
6543         PR target/9210
6544         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
6545         Set SYMBOL_REF_FLAG on local data sym_ref.
6547 2003-01-08  Dale Johannesen  <dalej@apple.com>
6549         * function.c (assign_parms):  Don't set pretend_args_size if
6550           REG_PARM_STACK_SPACE.
6551           config/rs6000/rs6000.c (setup_incoming_varargs):  Don't set
6552           pretend_args_size.
6554 2003-01-08  Nathanael Nerode  <neroden@gcc.gnu.org>
6556         * gcc.hlp: Delete.
6558 Thu Jan  9 00:57:15 CET 2003  Jan Hubicka  <jh@suse.cz>
6560         * i386.c  (ix86_expand_int_addcc): Fix thinko.
6562 2003-01-08  David Edelsohn  <edelsohn@gnu.org>
6564         * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
6565         * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
6566         as hook_bool_tree_hwi_hwi_tree_true.
6567         (rs6000_emit_allocate_stack): Use TARGET_32BIT.
6568         (rs6000_emit_epilogue): Same.
6569         (rs6000_output_mi_thunk): Re-implement as RTL.
6570         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
6571         xcoffout_declare_function if any debugging enabled.
6573 2003-01-08  Chris Demetriou  <cgd@broadcom.com>
6575         * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
6576         targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
6577         * config/mips/mips.h (enum processor_type): Rename
6578         PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
6579         PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
6580         Add PROCESSOR_M4K.
6581         (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
6582         (ISA_MIPS32R2): New define.
6583         (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
6584         (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
6585         (ISA_HAS_PREFETCH): Add support for MIPS32R2.
6586         (MIPS_ISA_DEFAULT): Likewise.  Also, fix indentation.
6587         (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2.  Add new
6588         predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
6589         (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
6590         compiling MIPS16 code.
6591         (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
6592         comment.
6593         (ISA_HAS_SEB_SEH): New define.
6594         (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
6595         * config/mips/mips.c (mips_cpu_info_table): Adjust for enum
6596         processor_type value renaming.  Add support for MIPS32R2.
6597         Clean up comments, and move "sb1" entry with other MIPS64 CPU
6598         entries.
6599         (override_options): Reimplement -mipsN option handling so that
6600         it will work correctly for -mips32r2.  Avoid branch-likely
6601         instructions on MIPS32R2.
6602         * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
6603         (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
6604         (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
6605         (extendhisi2_hw, extendqisi2_hw): New.
6606         * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
6607         for MIPS32R2.  Add new predefine __mips_isa_rev for MIPS32,
6608         MIPS32R2, and MIPS64.
6609         (LINK_SPEC): Pass -mips32r2 to linker.
6610         * config/mips/t-isa3264: Built -mips32r2 multilibs.
6611         * doc/invoke.texi (MIPS Options): Add -mips32r2, add support
6612         for mips32r2 in the -march description.  Alphabetically sort
6613         CPU names in the -march description.  Add long-missed -mips32
6614         and -mips64 to MIPS option summary.
6616         * config.gcc: Update copyright years to include 2003.
6617         * config/mips/mips.c: Likewise.
6618         * config/mips/mips.h: Likewise.
6619         * config/mips/mips.md: Likewise.
6620         * config/mips/netbsd.h: Likewise.
6621         * doc/invoke.texi: Likewise.
6623 2003-01-08  Andreas Schwab  <schwab@suse.de>
6625         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
6626         variable.
6627         * configure: Regenerated.
6629 2003-01-08  Kazu Hirata  <kazu@cs.umass.edu>
6631         * config/h8300/h8300.c (output_logical_op): Replace byte/word
6632         extraction of det with b0, b1, w0, w2, etc.
6633         (compute_logical_op_length): Likewise.
6634         (compute_logical_op_cc): Likewise.
6636 2003-01-08  Kazu Hirata  <kazu@cs.umass.edu>
6638         * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
6639         HIGH on all variants.
6641 Wed Jan  8 14:06:34 CET 2003  Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
6643         * Makefile.in (PARTITION_H): New.
6644         (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
6645         * basic-block.h: Include hard-reg-set.h.
6647 2003-01-08  Richard Earnshaw  <rearnsha@arm.com>
6649         * arm.h (ENABLE_XF_PATTERNS): Delete.
6650         * arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
6651         (sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
6652         (extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
6653         (cmpxf_trap): Delete.
6654         (movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
6656 Wed Jan  8 12:10:57 CET 2003  Jan Hubicka  <jh@suse.cz>
6658         * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
6659         (addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
6660         (add??cc): New expanders.
6661         * i386.c (expand_int_addcc): New function.
6662         * i386-protos.h (expand_int_addcc): Declare.
6664         * alias.c (memory_modified_1): New static function.
6665         (memory_modified): New static varaible.
6666         (memory_modified_in_insn_p): New global function.
6667         * rtl.h (memory_modified_in_insn_p): Declare.
6668         * rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
6669         references.
6671         * expr.h (emit_conditional_add): Declare.
6673 2003-01-07  Janis Johnson  <janis187@us.ibm.com>
6675         PR other/8947
6676         * doc/invoke.texi (-malign-double): Explain that the option breaks
6677         binary compatibility.
6679 2003-01-08  Andreas Schwab  <schwab@suse.de>
6681         * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
6682         should come from the generic *-*-linux* entry.
6684 Tue Jan  7 22:29:56 CET 2003  Jan Hubicka  <jh@suse.cz>
6686         * cselib.c (cselib_current_insn_in_libcall): New static variable.
6687         (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
6688         we are inside libcall.
6689         * cselib.h (elt_loc_list): Add in_libcall.
6690         * gcse.c (do_local_cprop): Do not copy propagate using insns
6691         in libcalls.
6693 2003-01-07  David Edelsohn  <edelsohn@gnu.org>
6695         * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
6696         not normally affect to issue rate.
6698 Tue Jan  7 21:46:57 CET 2003  Jan Hubicka  <jh@suse.cz>
6700         * genopinit.c (optabs): Add addc_optab.
6701         * ifcvt.c (noce_try_store_flag): Rename to ...
6702         (noce_try_addcc): ... this one; handle generic conditional increment.
6703         (noce_process_if_block): Update noce_try_addcc call.
6704         * optabs.c (emit_conditional_add): New.
6705         (init_obtabs): Initialize addc_optab.
6706         * optabs.h (optab_index): Add OTI_addcc.
6707         (addcc_optab): New macro.
6708         * md.texi: Document addMcc
6710         PR target/8322
6711         * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
6712         * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
6713         * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
6715         * reload1.c (delete_output_reload): Avoid repeated attempts
6716         to delete insn.
6718 2003-01-07  Andreas Schwab  <schwab@suse.de>
6720         * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
6721         Move --enable-initfini-array check ...
6722         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here.  Define
6723         HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
6724         Don't AC_SUBST gcc_cv_initfinit_array.  Use AC_TRY_RUN.
6725         * configure: Rebuild.
6727 2003-01-07  Richard Henderson  <rth@redhat.com>
6729         * alias.c (find_base_value): Only use new_reg_base_value shortcut
6730         if the register is set once.
6732 2003-01-07  Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
6734         * config/i386/i386.c (ix86_init_mmx_sse_builtins):
6735         __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
6736         * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
6738 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
6739             Sunil Davasam  <sunil.k.davasam@intel.com>
6741         PR libstdc++/9076
6742         * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
6743         DW_CFA_same_value, read next and ignore.
6745 2003-01-07  Richard Henderson  <rth@redhat.com>
6747         * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
6749 2003-01-07  Daniel Berlin  <dberlin@dberlin.org>
6751         * cfg.c: Include alloc-pool.h
6752         (edge_pool): New pool.
6753         (bb_pool): New pool.
6754         (first_deleted_edge): Remove.
6755         (first_deleted_block): Remove.
6756         (init_flow): Alloc/free the pools.
6757         (free_edge): Use pools.
6758         (alloc_block): Ditto.
6759         (expunge_block): Ditto.
6760         (cached_make_edge): Ditto.
6762         * Makefile.in (cfg.o): Add alloc-pool.h dependency.
6764 2003-01-07  Daniel Berlin  <dberlin@dberlin.org>
6766         * et-forest.c: Include alloc-pool.h.
6767         (struct et_forest): Add node_pool and occur_pool.
6768         (et_forest_create): Create the new pools.
6769         (et_forest_delete): Delete them.
6770         (et_forest_add_node): Allocate and free using pools.
6771         (et_forest_add_edge): Ditto.
6772         (et_forest_remove_node): Ditto.
6773         (et_forest_remove_edge): Ditto.
6775         * Makefile.in (et-forest.o): Add alloc-pool.h dependency.
6777 2003-01-07  Kazu Hirata  <kazu@cs.umass.edu>
6779         * config/h8300/h8300.c (output_logical_op): Simplify and
6780         optimize the handling of SImode.
6781         * config/h8300/h8300.c (compute_logical_op_length): Update
6782         accordingly.
6783         * config/h8300/h8300.c (compute_logical_op_cc): Likewise.
6785 2003-01-07  Richard Sandiford  <rsandifo@redhat.com>
6787         * config/mips/mips.c (mips_va_arg): In the EABI code, apply the
6788         big-endian correction to indirect arguments too.
6790 2003-01-06  Aldy Hernandez  <aldyh@redhat.com>
6792         Segher Boessenkool  <segher@koffie.nl>
6794         * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
6795         (alt_reg_names): Ditto, fix formatting.
6796         * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
6798 2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
6800         * config/h8300/h8300.c (final_prescan_insn): Constify uid.
6801         (output_logical_op): Constify intval and det.
6802         (compute_logical_length): Likewise.
6803         (compute_logical_cc): Likewise.
6804         (output_a_shift): Constify mask.
6805         (h8300_encode_label): Constify len.
6807 2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
6809         * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
6810         (h8300_expand_epilogue): Likewise.
6812 2003-01-06  Aldy Hernandez  <aldyh@redhat.com>
6814         Segher Boessenkool  <segher@koffie.nl>
6816         * config/rs6000/altivec.md: Remove spaces from assembler
6817         instruction argument lists.
6819 2003-01-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6821         * config/c4x/c4x.c (c4x_naked_function_p): Rename from
6822         c4x_assembler_function_p.
6823         (c4x_null_epilogue_p): Complement return value, all uses updated.
6824         (c4x_insert_attributes): Add naked.
6825         * config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses.
6826         * doc/extend.texi: Update C4x function attributes.
6828 2003-01-06  Richard Henderson  <rth@redhat.com>
6830         * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
6831         properly when changing "local-ness".
6832         * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
6834 2003-01-06  Dale Johannesen  <dalej@apple.com>
6836         * config/darwin-protos.h:  Add prototypes for new section functions.
6838 2003-01-06  Chris Demetriou  <cgd@broadcom.com>
6840         * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI
6841         to EABI.
6843 2003-01-06  Zack Weinberg  <zack@codesourcery.com>
6845         * hwint.h: If the current compiler has no 64-bit type at all,
6846         make HOST_WIDEST_INT 32 bits.
6848 2003-01-06  Eric Christopher  <echristo@redhat.com>
6850         * config/mips/mips.md (movdf_internal2): Fix constraints.
6852 2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
6854         * config/h8300/h8300.md (*twoshifts_l16_r1): New.
6856 2003-01-06  Richard Sandiford  <rsandifo@redhat.com>
6858         * config/mips/mips.md (leadi): Use dla rather than la.
6860 2003-01-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
6862         * config/c4x/c4x.h: Updated specs for new gas format.  Fixed bug
6863         in C33_FLAG.  Added proper C33 support in ASM_FILE_START macro.
6865 2003-01-06 Herman A.J. ten Brugge  <hermantenbrugge@home.nl>
6867         * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
6868         redefinition.
6870 2003-01-05  Kazu Hirata  <kazu@cs.umass.edu>
6872         * config/h8300/h8300.md (*extzv_8_23): New.
6874 2003-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6876         * pa64-hpux.h (JCR_SECTION_NAME): Define.
6877         (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
6878         USE_EH_FRAME_REGISTRY when defining.
6880 2003-01-05  Kazu Hirata  <kazu@cs.umass.edu>
6882         * config/h8300/h8300.c (output_a_shift): Do not output a
6883         variable shift.
6884         * config/h8300/h8300.md (two splitters): New.
6886 2003-01-05  Richard Sandiford  <rsandifo@redhat.com>
6888         * config/mips/mips.md: Disable the movstrsi define_split.
6890 2003-01-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6892         * alloc-pool.c: Don't include "libiberty.h".
6893         * config/sparc/gmon-sol2.c: Include <fcntl.h>.
6894         * convert.c (convert_to_real): Hide unused variable.
6896 2003-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6898         * Makefile.in (gtyp-gen.h): Const-ify.
6899         * gcov-dump.c (tag_table): Likewise.
6901 2003-01-04  Bruce Korb  <bkorb@gnu.org>
6903         * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function
6904         of *both* the file name and the fix name.
6906 2003-01-04  John David Anglin  <dave.anglin@nrc.ca>
6908         * config.gcc (hppa*64*-*-hpux11*): Define extra_parts.  Don't use
6909         collect2.
6910         * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
6911         (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
6912         * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
6913         GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
6914         GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
6915         (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
6916         elfos.h.
6917         (EH_FRAME_IN_DATA_SECTION): Delete define.
6918         (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
6919         (STARTFILE_SPEC): Use crtbegin.o.
6920         (ENDFILE_SPEC): Use crtend.o.
6921         (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
6922         SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
6923         PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
6924         DTOR_LIST_BEGIN): Define.
6925         * pa.c (TARGET_ASM_CONSTRUCTOR): Define.
6926         (pa_asm_out_constructor, pa_asm_out_destructor): New functions.
6927         * som.h (SUPPORTS_INIT_PRIORITY): Delete define.
6929 2002-12-31  Larin Hennessy  <larin@science.oregonstate.edu>
6931         * fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur.
6932         * fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX,
6933         m88k-*-sysv3*, Sony NewsOS.   Remove references to i860.
6934         Cleanup handling of replacement text.
6935         * fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1*
6937 2003-01-04  Bruce Korb  <bkorb@gnu.org>
6939         * fixinc/tests/base/math.h: removed obsolete results
6940         * fixinc/tests/base/stdlib.h: ditto
6941         * fixinc/tests/base/sys/param.h: ditto
6942         * fixinc/tests/base/sys/stat.h: ditto
6943         * fixinc/tests/base/time.h: ditto
6944         * fixinc/tests/base/X11/Intrinsic.h: removed obsolete file
6945         * fixinc/tests/base/sys/byteorder.h: ditto
6946         * fixinc/inclhack.def: Remove superfluous backslashes
6948 2003-01-04  Kazu Hirata  <kazu@cs.umass.edu>
6950         * config/h8300/h8300-protos.h: Add prototypes for
6951         the new functions defined below.
6952         * config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
6953         define.
6954         (dosize): Emit RTL instead of assembly code.
6955         (push): Likewise.
6956         (pop): Likewise.
6957         (h8300_output_function_prologue): Remove.
6958         (h8300_expand_prologue): New.
6959         (h8300_expand_epilogue): New.
6960         (h8300_output_function_epilogue): Do only the reset of
6961         pragma_saveall.
6962         * config/h8300/h8300.md (push_h8300): New.
6963         (push_h8300hs): Likewise.
6964         (pop_h8300): Likewise.
6965         (pop_h8300hs): Likewise.
6966         (*stm_h8300s_2): Change the name to stm_h8300s_2.
6967         (*stm_h8300s_3): Change the name to stm_h8300s_3.
6968         (*stm_h8300s_4): Change the name to stm_h8300s_4.
6969         (*ldm_h8300s_2): New.
6970         (*ldm_h8300s_3): Likewise.
6971         (*ldm_h8300s_4): Likewise.
6972         (return): Likewise.
6973         (*return_1): Likewise.
6974         (prologue): Likewise.
6975         (epilogue): Likewise.
6976         (monitor_prologue): Likewise.
6978 2003-01-03  Dale Johannesen  <dalej@apple.com>
6980         * config/darwin.h:  (EXTRA_SECTIONS):  Add machopic_symbol_stub1,
6981           machopic_picsymbol_stub1.
6982           (EXTRA_SECTION_FUNCTIONS):  Ditto.
6983         * rs6000/rs6000.c:  Update copyright.
6984           (machopic_output_stub):  Use them.  Remove an insn from stub code.
6986 2003-01-02  Jason Merrill  <jason@redhat.com>
6988         * fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better.
6990         * integrate.c (copy_decl_for_inlining): Don't clear the rtl for
6991         static/external decls.
6993         * c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
6994         outermost scope.
6995         * c-decl.c (c_make_fname_decl): Push the decls there, too.
6997 2003-01-03  Kazu Hirata  <kazu@cs.umass.edu>
6999         * config/h8300/h8300-protos.h: Add a prototype for
7000         h8300_current_function_interrupt_function_p.
7001         * config/h8300/h8300.c (interrupt_handler): Remove.
7002         (os_task): Likewise.
7003         (monitor): Likewise.
7004         (pragma_interrupt): New.
7005         (WORD_REG_USED): Use
7006         h8300_current_function_interrupt_function_p.
7007         (dosize): Likewise.
7008         (h8300_output_function_prologue): Likewise.
7009         Do not set interrupt_handler, os_task, monitor.
7010         (h8300_output_function_prologue): Use
7011         h8300_current_function_interrupt_function_p.
7012         Do not set interrupt_handler, os_task, monitor.
7013         (h8300_current_function_interrupt_function_p): New.
7014         (h8300_pr_interrupt): Set pragma_interrupt.
7015         (h8300_insert_attributes): Reset pragma_interrupt.
7017 2003-01-03  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7019         * doc/install.texi (Configuration): Fix markup for reference to
7020         gcc/config.gcc.
7022 2003-01-02  Kazu Hirata  <kazu@cs.umass.edu>
7024         * config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
7025         (*iorhi3_two_qi): Likewise.
7026         (*iorsi3_zexthi): Likewise.
7027         (*xorhi3_zextqi): Likewise.
7028         (*xorsi3_zexthi): Likewise.
7029         (*xorsi3_zextqi): Likewise.
7031 2003-01-02  Kazu Hirata  <kazu@cs.umass.edu>
7033         * config/h8300/h8300.c (stack_pointer_operand): New.
7034         (const_int_gt_2_operand): Likewise.
7035         (const_int_ge_8_operand): Likewise.
7036         * config/h8300/h8300.md (a splitter): Likewise.
7037         (a peephole2): Likewise.
7038         * config/h8300/h8300-protos.h: Add prototypes for the new
7039         functions above.
7041 2003-01-02  Steven Bosscher <s.bosscher@student.tudelft.nl>
7043         * objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h,
7044         objc/objc-act.h: Fix copyright years.
7046 2003-01-02  Steven Bosscher  <s.bosscher@student.tudelft.nl>
7048         * doc/passes.texi: Fix documentation for -fssa-ccp
7050 2003-01-02  Neil Booth  <neil@daikokuya.co.uk>
7052         * gccbug.in: Update for new categories.
7054 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
7056         * config/h8300/h8300.md: Reorder some patterns.
7058 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
7060         * config/h8300/h8300.c (output_logical_op): Fix a warning.
7062 2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
7064         * config/darwin-protos.h, config/c4x/c4x-protos.h,
7065         config/cris/cris-protos.h, config/i370/i370-protos.h,
7066         config/i960/i960-protos.h, config/ia64/ia64-protos.h,
7067         config/v850/v850-protos.h: Use struct, and don't conditionally
7068         compile on GCC_C_PRAGMA_H.
7070 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
7072         * config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
7073         * config/h8300/h8300-protos.h: Likewise.
7074         * config/sh/sh-protos.h: Likewise.
7076 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
7078         * config/arm/arm-protos.h: Use struct cpp_reader instead of
7079         cpp_reader.
7080         * config/h8300/h8300-protos.h: Likewise.
7081         * config/sh/sh-protos.h: Likewise.
7083 2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
7085         * config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
7086         arm_pr_long_calls_off): Use struct.
7087         * config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
7088         : Similarly.
7089         Don't include cpplib.h.
7090         * config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
7091         sh_pr_nosave_low_regs): Similarly.
7093 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
7095         * config/h8300/h8300.c: Include cpplib.h.
7097 2003-01-01  Steven Bosscher  <s.bosscher@student.tudelft.nl>
7099         * objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
7100           objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
7101           objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
7102           "GCC" in the copyright header.
7104 2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
7106         * c-pragma.c (c_register_pragma): New.
7107         (init_pragma): Use it.
7108         * c-pragma.h (cpp_register_pragma): Don't declare.
7109         (c_register_pragma): New.
7110         * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
7111         * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
7112         * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
7113         * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
7114         * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
7115         * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
7116         * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
7117         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
7118         * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
7119         * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
7120         * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
7121         * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
7123 2002-12-31  Kazu Hirata  <kazu@cs.umass.edu>
7125         * config/h8300/h8300-protos.h: Update the prototypes.
7126         * config/h8300/h8300.c (const_le_2_operand): Change to
7127         const_int_le_2_operand.
7128         (const_int_le_6_operand): Change to const_int_le_6_operand.
7129         * config/h8300/h8300.md (two peepholes): Update the function
7130         names.
7132 2002-12-31  Tom Tromey  <tromey@redhat.com>
7134         * doc/install.texi (Testing): Fixed typo.
7136 2002-12-31  Kazu Hirata  <kazu@cs.umass.edu>
7138         * config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove.
7139         (TRAMPOLINE_SIZE): Support the normal mode.
7140         (INITIALIZE_TRAMPOLINE): Emit the entire trampoline.
7142 2002-12-31  Mark Mitchell  <mark@codesourcery.com>
7144         * c-common.h (pending_lang_change): Declare.
7146 2002-12-31  Jerry Quinn  <jlquinn@optonline.net>
7148         * gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
7149         descriptions.
7151 2002-12-31  Jerry Quinn  <jlquinn@optonline.net>
7153         * gcc/doc/invoke.texi (Optimization Options): List the options
7154         enabled by each -O flag.
7156 2002-12-31  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7158         * doc/install.texi (Configuration): Explicitly refer
7159         gcc/config.gcc for a list of cpu models.
7161 2002-12-31  Kazu Hirata  <kazu@cs.umass.edu>
7163         * config/h8300/h8300.h: Fix comment typos.
7165 2002-12-30  David Edelsohn  <edelsohn@gnu.org>
7167         * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
7169 2002-12-30  Tom Tromey  <tromey@redhat.com>
7171         * doc/install.texi (Testing): Mention Jacks.
7173 2002-12-30  Joseph S. Myers  <jsm@polyomino.org.uk>
7175         * doc/gcc.texi, doc/gccint.texi: Update last modification dates.
7177 2002-12-30  Kazu Hirata  <kazu@cs.umass.edu>
7179         * config/h8300/h8300.c (output_logical_op): Use extu.w in more
7180         cases.
7181         (compute_logical_op_length): Update to reflect the change in
7182         output_logical_op.
7183         (compute_logical_op_cc): Likewise.
7185 2002-12-30  Joseph S. Myers  <jsm@polyomino.org.uk>
7187         * doc/service.texi: Uncomment and update FAQ link.
7189 2002-12-30  Andreas Jaeger  <aj@suse.de>
7191         * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
7193 2002-12-30  Kazu Hirata  <kazu@cs.umass.edu>
7195         * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
7197 2002-12-30  Kazu Hirata  <kazu@cs.umass.edu>
7199         * config/h8300/h8300.c (output_logical_op): Use extu.w if we
7200         are clearing the most significant byte.
7201         (compute_logical_op_length): Update to reflect the change in
7202         output_logical_op.
7203         (compute_logical_op_cc): Likewise.
7205 2002-12-29  Kazu Hirata  <kazu@cs.umass.edu>
7207         * config/h8300/h8300.md: Give internal names to anonymous
7208         insns.
7210 2002-12-29  Kazu Hirata  <kazu@cs.umass.edu>
7212         * config/h8300/h8300.md: Reorder some insns.
7214 2002-12-29  Kazu Hirata  <kazu@cs.umass.edu>
7216         * config/h8300/h8300-protos.h: Add prototypes for
7217         const_int_qi_operand and const_int_hi_operand.
7218         * config/h8300/h8300.c (const_int_qi_operand): New.
7219         (const_int_hi_operand): Likewise.
7220         * config/h8300/h8300.md (three peepholes): New.
7222 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
7224         * doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi:
7225         Use @copying.
7227 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
7229         * configure.in: Increase makeinfo version requirement to 4.[2-9].
7230         * configure: Regenerate.
7231         * doc/install.texi: Update Texinfo version requirement.
7233 2002-12-28  Andreas Jaeger  <aj@suse.de>
7235         * config/i386/i386.c (x86_function_profiler): Mark labelno as
7236         possibly unused.
7238         * c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
7239         correct format.
7241 2002-12-27  Kazu Hirata  <kazu@cs.umass.edu>
7243         * config/h8300/h8300.md (*iorhi_shift_8): Change the name to
7244         *iorhi_ashift_8.
7245         (*iorhi_lshiftrt_8): New.
7247 2002-12-27  Joseph S. Myers  <jsm@polyomino.org.uk>
7249         * doc/include/texinfo.tex: Update to version 2002-12-26.16.
7251 2002-12-27  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7253         * doc/contrib.texi (Contributors): Add Abramo and Roberto Bagnara.
7255 2002-12-26  Kazu Hirata  <kazu@cs.umass.edu>
7257         * config/h8300/h8300-protos.h: Fix comment typos.
7258         Update copyright.
7259         * config/h8300/h8300.c: Fix comment typos.
7261 2002-12-26  Kazu Hirata  <kazu@cs.umass.edu>
7263         * config/h8300/h8300.h (IDENT_ASM_OP): End with a tab.
7265 2002-12-26  Kazu Hirata  <kazu@cs.umass.edu>
7267         * config/i386/athlon.md: Fix comment typos.
7268         * config/i386/crtdll.h: Likewise.
7269         * config/i386/djgpp.h: Likewise.
7270         * config/i386/i386-interix.h: Likewise.
7271         * config/i386/i386.c: Likewise.
7272         * config/i386/i386.h: Likewise.
7273         * config/i386/i386.md: Likewise.
7274         * config/i386/k6.md: Likewise.
7275         * config/i386/mingw32.h: Likewise.
7276         * config/i386/pentium.md: Likewise.
7277         * config/i386/sco5.h: Likewise.
7278         * config/i386/winnt.c: Likewise.
7279         * config/i386/xmmintrin.h: Likewise.
7281 2002-12-26  Jose Renau <renau@cs.uiuc.edu>
7283         * ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an
7284         INSN_P before checking to see if it is dead.
7285         (mark_all_insn_unnecessary): Similarly.
7286         (ssa_eliminate_dead_code): Similarly.
7287         * rtl.h (struct rtx_def): Update comments for in_struct usage
7288         in dead code elimination pass.
7289         (INSN_DEAD_CODE_P): Allow JUMP_INSN and CALL_INSN as well.
7291 2002-12-26  Andreas Schwab  <schwab@suse.de>
7293         * config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.
7295 2002-12-25  David Edelsohn  <edelsohn@gnu.org>
7297         * config/rs6000/rs6000.c (rs6000_override_options): Convert to
7298         tartet_flags_explicit.
7299         * config/rs6000/rs6000.h (MASK_MULTIPLE_SET, MASK_STRING_SET): Delete.
7300         Compact target_flags bits.
7301         (TARGET_MULTIPLE_SET, TARGET_STRING_SET): Delete.
7302         (TARGET_SWITCHES): Delete references to *_SET flags.
7304 Wed Dec 25 20:30:53 CET 2002  Jan Hubicka  <jh@suse.cz>
7306         * i386.md (memory attribute): Fix setcc attribute.
7308 2002-12-25  Kazu Hirata  <kazu@cs.umass.edu>
7310         * output.h: Fix comment typos.
7311         * predict.c: Likewise.
7312         * print-tree.c: Likewise.
7313         * profile.c: Likewise.
7314         * ra-build.c: Likewise.
7315         * ra-colorize.c: Likewise.
7316         * ra-debug.c: Likewise.
7317         * ra-rewrite.c: Likewise.
7318         * ra.c: Likewise.
7319         * ra.h: Likewise.
7320         * real.c: Likewise.
7321         * recog.c: Likewise.
7322         * reg-stack.c: Likewise.
7323         * regclass.c: Likewise.
7325 2002-12-25  Kazu Hirata  <kazu@cs.umass.edu>
7327         * config/h8300/h8300.c (print_operand_address): Do not negate
7328         a negative number when printing one.
7330 2002-12-25  Kazu Hirata  <kazu@cs.umass.edu>
7332         * config/h8300/h8300-protos.h: Add prototypes for
7333         output_plussi, compute_plussi_length, and compute_plussi_cc.
7334         * config/h8300/h8300.c (output_plussi): New.
7335         (compute_plussi_length): Likewise.
7336         (compute_plussi_cc): Likewise.
7337         * config/h8300/h8300.md (addsi_h8300h): Call
7338         output_plussi, compute_plussi_length, and compute_plussi_cc.
7340 2002-12-24  Kazu Hirata  <kazu@cs.umass.edu>
7342         * config/h8300/h8300.md (two peepholes): Use match_dup instead
7343         of match_operand in the new patterns.
7345 2002-12-24  Joseph S. Myers  <jsm@polyomino.org.uk>
7347         * doc/include/texinfo.tex: Update to version 2002-11-25.11.
7349 2002-12-24  Nathan Sidwell  <nathan@codesourcery.com>
7351         * configure.in (enable-coverage): Add SELF_COVERAGE.
7352         * profile.c (end_branch_prob): Use SELF_COVERAGE.
7354 2002-12-24  Jim Wilson  <wilson@redhat.com>
7356         * alias.c (record_set): Handle multi-reg hard registers.
7358 2002-12-24  Kazu Hirata  <kazu@cs.umass.edu>
7360         * regmove.c: Fix comment typos.
7361         * reload.c: Likewise.
7362         * reload1.c: Likewise.
7363         * resource.c: Likewise.
7364         * rtl.def: Likewise.
7365         * rtl.h: Likewise.
7366         * rtlanal.c: Likewise.
7367         * sched-deps.c: Likewise.
7368         * sched-rgn.c: Likewise.
7369         * sibcall.c: Likewise.
7370         * simplify-rtx.c: Likewise.
7371         * ssa-ccp.c: Likewise.
7372         * ssa.c: Likewise.
7373         * stmt.c: Likewise.
7374         * stor-layout.c: Likewise.
7375         * system.h: Likewise.
7376         * tlink.c: Likewise.
7377         * toplev.c: Likewise.
7378         * tracer.c: Likewise.
7379         * tree-inline.c: Likewise.
7380         * tree.c: Likewise.
7381         * tree.h: Likewise.
7382         * unroll.c: Likewise.
7383         * varasm.c: Likewise.
7385 2002-12-23  Larin Hennessy  <larin@science.oregonstate.edu>
7387         * doc/install.texi: Remove i386-*-isc, i860-*-bsd,
7388         m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
7389         * doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex,
7390         DG/UX entries.
7391         * doc/md.texi: Remove AMD 29K entries.
7392         * doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS
7393         1.38.1, NewsOS, RT PC, WE32K entries.
7395 2002-12-23  Aldy Hernandez  <aldyh@redhat.com>
7397         PR/8763
7398         * config/rs6000/altivec.md (mulv4sf3): Rewrite to add -0.0 vector.
7399         (altivec_vspltisw_v4sf): Name pattern.
7400         (altivec_vslw_v4sf): New pattern.
7402 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
7404         * doc/include/gcc-common.texi: Define DEVELOPMENT.
7406 2002-12-23  Mark Mitchell  <mark@codesourcery.com>
7408         * stor-layout.c (update_alignment_for_field): Correct handling of
7409         unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines.
7410         * doc/tm.texi (PCC_BITFIELD_TYPE_MATTERS): Note that an unnamed
7411         bitfield does not affect alignment.
7413 2002-12-23  David Edelsohn  <edelsohn@gnu.org>
7415         * expr.c (expand_assignment): Apply special treatment to
7416         ARRAY_TYPE.
7418 2002-12-23  Kazu Hirata  <kazu@cs.umass.edu>
7420         * config/h8300/h8300-protos.h: Update the prototype of
7421         expand_a_shift.
7422         * config/h8300/h8300.c (expand_a_shift): Change the return
7423         type to void.
7424         * config/h8300/h8300.md: Update all the uses of
7425         expand_a_shift.
7427 2002-12-22  Nathan Sidwell  <nathan@codesourcery.com>
7429         * tree.c (save_expr): Allow either side of a dyadic operand to be
7430         constant.
7432         * doc/portability.texi (portability): Update portability goals.
7434 2002-12-23  Kazu Hirata  <kazu@cs.umass.edu>
7436         * config/h8300/h8300.c (output_a_shift): Remove unused code.
7438 2002-12-22  Mark Mitchell  <mark@codesourcery.com>
7440         * stor-layout.c (update_alignment_for_field): Guard use of
7441         ADJUST_FIELD_ALIGN with #ifdef.
7443         * stor-layout.c (update_alignment_for_field): Use
7444         ADJUST_FIELD_ALIGN when computing the alignment for a zero-width
7445         bitfield when PCC_BITFIELD_TYPE_MATTERS.
7447 2002-12-22  Kazu Hirata  <kazu@cs.umass.edu>
7449         * genautomata.c: Fix comment typos.
7451 Sun Dec 22 18:23:44 CET 2002  Jan Hubicka  <jh@suse.cz>
7453         * params.def (tracer-min-branch-probability-feedback): Fix default.
7454         * final.c (compute_alignments): Use profile to avoid code bloat.
7456 2002-12-22  Kazu Hirata  <kazu@cs.umass.edu>
7458         * config/h8300/h8300.c (get_shift_alg): Make shift insn
7459         sequences end with a valid cc0 whenever possible.
7461 2002-12-22  Kazu Hirata  <kazu@cs.umass.edu>
7463         * config/h8300/h8300.md (negsf2): New.
7464         (*negsf2_h8300): Likewise.
7465         (*negsf2_h8300hs): Likewise.
7467 2002-12-21  Geoffrey Keating  <geoffk@apple.com>
7469         * integrate.c (output_inline_function): Don't hold private
7470         pointers to 'struct function' over GC calls.
7472 2002-12-21  Kaz kojima  <kkojima@gcc.gnu.org>
7474         * config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with
7475         NO_FPSCR_VALUES.
7476         * config/sh/t-linux (TARGET_LIBGCC2_CFLAGS): Add -DNO_FPSCR_VALUES.
7478 2002-12-21  Kazu Hirata  <kazu@cs.umass.edu>
7480         * config/h8300/h8300.md (zero_extendqisi2): Correct the
7481         length.
7483 2002-12-21  Kazu Hirata  <kazu@cs.umass.edu>
7485         * config/h8300/h8300.md (*zero_extendqihi2_h8300): Make the
7486         second alternative "#".
7487         (*zero_extendqihi2_h8300hs): Likewise.
7488         (a define_split): New.
7490 2002-12-21  Kazu Hirata  <kazu@cs.umass.edu>
7492         * config/h8300/h8300-protos.h: Update the prototype for
7493         split_adds_subs.
7494         Add prototypes for const_le_2_operand and const_le_6_operand.
7495         * config/h8300/h8300.c (split_adds_subs): Add an argument to
7496         specify whether inc/dec should be used when possible.
7497         (const_le_2_operand): New.
7498         (const_le_6_operand): Likewise.
7499         * config/h8300/h8300.md (two peepholes): New.
7501 2002-12-21  Kazu Hirata  <kazu@cs.umass.edu>
7503         * config/fr30/fr30.md: Fix a comment typo.
7504         * config/i386/i386.c: Likewise.
7505         * config/ip2k/ip2k.h: Likewise.
7507 2002-12-20  Jim Wilson  <wilson@redhat.com>
7509         * config/rs6000/spe.h (__ev_subifw): Reverse arguments.
7510         (__ev_subw, __ev_subiw): New.
7511         (ev_mwlssf, ev_mwlsmf, ev_mwlssfa, ev_mwlsmfa, ev_mwlssfaaw,
7512         ev_mwlsmfaaw, ev_mwlssfanw, ev_mwlsmfanw): Delete.
7514 2002-12-20  John David Anglin  <dave.anglin@nrc.gc.ca>
7516         * pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.
7517         * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete define.
7518         * pa.c (pa_function_ok_for_sibcall): Allow non indirect sibcalls on
7519         TARGET_ELF32.  Add comment on sibcall issues for TARGET_64BIT.
7521 2002-12-20  Kazu Hirata  <kazu@cs.umass.edu>
7523         * config/h8300/h8300-protos.h: Add prototypes for
7524         incdec_operand and eqne_operator.
7525         * config/h8300/h8300.c (incdec_operand): New.
7526         (eqne_operator): Likewise.
7527         * config/h8300/h8300.h (CONST_OK_FOR_M): Likewise.
7528         (CONST_OK_FOR_O): Likewise.
7529         (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_M and
7530         CONST_OK_FOR_O.
7531         * config/h8300/h8300.md (UNSPEC_INCDEC): New.
7532         (addhi3_incdec): New.
7533         (addsi3_incdec): Likewise.
7534         (two peepholes): Likewise.
7536 2002-12-20  Kazu Hirata  <kazu@cs.umass.edu>
7538         * config/h8300/h8300.c (dosize): Remove warnings.
7539         (print_operand): Likewise.
7541 2002-12-20  Richard Henderson  <rth@redhat.com>
7543         * config/alpha/alpha.c (decl_has_samegp): New.
7544         (samegp_function_operand): Use it.  Rename from
7545         current_file_function_operand.
7546         (direct_call_operand): Handle -msmall-text via symbol->jump.
7547         (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
7548         (tls_symbolic_operand_type): Likewise.
7549         (alpha_encode_section_info): Likewise.  Handle -msmall-text.
7550         (alpha_function_ok_for_sibcall): Use decl_has_samegp.
7551         (alpha_end_function): Set symbol->jump for functions defined in
7552         the text section.
7553         * config/alpha/alpha-protos.h: Update.
7554         * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
7555         (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
7556         (PREDICATE_CODES): Update.
7557         * config/alpha/alpha.md (call patterns): Update for
7558         samegp_function_operand rename; use !samegp reloc if
7559         TARGET_EXPLICIT_RELOCS.
7560         * doc/invoke.text: Document -msmall-text and -mlarge-text.
7562 2002-12-20  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
7564         * config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to match
7565         all registers capable of holding a double float.
7566         (*rcond): change name of "reverse branch" insns to
7567         something more meaningful.
7568         (*rbgt, *rblt, *rbge, *rble): Reverse branches to handle IEEE
7569         comparisons properly.
7570         (*ffs): Change operand 0 from write to read-modify-write.
7571         (*ffsssi2): Drop constraints from define_expand.
7573         * config/ns32k/ns32k.h (STORE_RATIO, STORE_BY_PIECES): Avoid using
7574         MOVE_RATIO as default for store operations.
7576         * config/ns32k/ns32k.h (enum reg_class, REG_CLASS_NAMES): Add
7577         LONG_REGS class.
7578         (CANNOT_CHANGE_MODE_CLASS): Can't subreg LONG_REGS.
7579         (GO_IF_LEGITIMATE_ADDRESS): Remove spurious abort().
7580         * config/ns32k/ns32k.c (regclass_map): Add LONG_REGS class.
7582         * config/ns32k/STATUS: New File
7583         * config/ns32k/NOTES: New file.
7585 2002-12-20  Hartmut Penner  <hpenner@de.ibm.com>
7587         * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
7588         option for S/390 and zSeries.
7589         * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch,
7590         s390_arch_string): New variables.
7591         (override_options): Checking for options and setting of
7592         appropriate target_flags, cpu and arch flags.
7593         * config/s390/s390.h: (processor_type): New enum.
7594         (TARGET_SWITCHES): New switches -mesa/zarch.
7595         * config/s390/s390.md: New attribute 'cpu'.
7597 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
7599         * c-pretty-print.h: Fix comment typos.
7600         * integrate.c: Likewise.
7601         * varasm.c: Likewise.
7602         * config/c4x/c4x.h: Likewise.
7603         * config/c4x/c4x.md: Likewise.
7604         * config/fr30/fr30.md: Likewise.
7605         * config/frv/frv.c: Likewise.
7606         * config/h8300/h8300.c: Likewise.
7607         * config/i386/i386.c: Likewise.
7608         * config/i386/i386.h: Likewise.
7609         * config/ia64/ia64.c: Likewise.
7610         * config/ia64/ia64.h: Likewise.
7611         * config/ip2k/ip2k.md: Likewise.
7612         * config/m68hc11/m68hc11-crt0.S: Likewise.
7613         * config/m68hc11/m68hc11.h: Likewise.
7614         * config/m68hc11/m68hc11.md: Likewise.
7615         * config/m68hc11/m68hc12.h: Likewise.
7616         * config/mcore/mcore.md: Likewise.
7617         * config/mips/mips.c: Likewise.
7618         * config/mips/mips.md: Likewise.
7619         * config/mmix/mmix-modes.def: Likewise.
7620         * config/pa/pa.c: Likewise.
7621         * config/rs6000/rs6000.c: Likewise.
7622         * config/rs6000/rs6000.h: Likewise.
7623         * config/rs6000/rs6000.md: Likewise.
7625 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
7627         * config/h8300/h8300.md (output_a_shift): Clean up the code to
7628         output shifts using rotation.
7630 2002-12-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7632         * flow.c (allocate_reg_life_data): Reset REG_FREQ.
7634 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
7636         * config/h8300/h8300.md (pushqi_h8300): Don't push the stack
7637         pointer.
7638         (pushqi_h8300hs): Likewise.
7639         (pushhi_h8300): Likewise.
7640         (pushhi_h8300hs): Likewise.
7642 Thu Dec 19 23:44:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
7644         * sched-rgn.c (init_regions): Update comment.
7646 2002-12-19  David Edelsohn  <edelsohn@gnu.org>
7648         * config/rs6000/rs6000.md (define_attr type): Remove altivec.
7649         * config/rs6000/altivec.md (movv4si_internal): Set correct instruction
7650         attributes.
7651         (movv8hi_internal,movv16qi_internal,movv4sf_internal): Same.
7652         (get_vrsave_internal,set_vrsave_internal): Same.
7653         (altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same.
7654         (absv16qi2,absv8hi2,absv4si2,absv4sf2): Same
7655         (altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same.
7657 2002-12-19  Casper S. Hornstrup  <chorns@users.sourceforge.net>
7658             Danny Smith  <dannysmith@users.sourceforge.net>
7659             Eric Kohl  <ekohl@rz-online.de>
7661         * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
7662         attributes incompatible with fastcall attribute.
7663         (ix86_handle_regparm_attribute): Likewise.
7665         * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched
7666         fastcall types.
7668         * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall
7669         attributes.
7670         (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref.
7671         * config/i386/i386-protos.h (i386_pe_output_labelref): Declare.
7672         * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in
7673         i386_pe_output_labelref rather than here.
7674         (gen_fastcall_suffix): New function. Decorates a label name with the
7675         fastcall prefix (@) and the stdcall suffix.
7676         (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol
7677         has a fastcall attribute.
7678         (i386_pe_output_labelref): New function. Outputs a label reference.
7679         * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a
7680         valid attribute.
7681         (ix86_return_pops_args): Fastcall functions pop the stack.
7682         (init_cumulative_args): Reserve registers ECX and EDX if function has
7683         fastcall attribute.
7684         (function_arg): Use registers ECX and EDX if function has fastcall
7685         attribute.
7686         * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag.
7687         (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'.
7688         (FASTCALL_PREFIX): Define as '@'.
7689         * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall
7690         attributes.
7691         * doc/extend.texi: Add documentation of fastcall attribute.
7693 2002-12-19  Nathanael Nerode  <neroden@gcc.gnu.org>
7695         * configure.in: FORBUILD when build!=host changed from
7696         ../$build-alias to ../build-$build_alias to match change made
7697         in top directory.
7698         * configure: Regenerated.
7700 2002-12-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
7702         PR optimization/8988
7703         * loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
7704         the biv when eliminating.
7706 2002-12-19  Devang Patel  <dpatel@apple.com>
7707         * gcc.c (struct default_compiler): Recognizes input file name with
7708         .CPP extension as C++ source files
7709         * cp/lang-spec.h: Same
7710         * doc/invoke.texi:  Add documentation for .CPP support.
7712 2002-12-19  Aldy Hernandez  <aldyh@redhat.com>
7714         PR 8553
7715         * config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered
7716         registers.
7717         ("absv16qi2"): Same.
7718         ("absv4si2"): Same.
7719         ("absv4sf2"): Same.
7720         ("altivec_abss_v16qi"): Same.
7721         ("altivec_abss_v8hi"): Same.
7722         ("altivec_abss_v4si"): Same.
7724 2002-12-19  Ulrich Weigand  <uweigand@de.ibm.com>
7726         * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
7727         "*tstqiCCT", "*tstqiCCT_cconly"): New insns.
7729 2002-12-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
7731         PR target/8340
7732         * stmt.c (expand_asm_operands): Produce an error when
7733         the PIC register is clobbered.
7735 2002-12-18  Daniel Berlin  <dberlin@dberlin.org>
7737         * Makefile.in (OBJS): Add alloc-pool.o
7738         (alloc-pool.o): New object.
7740         * alloc-pool.c: New file.
7741         * alloc-pool.h: New file.
7743 2002-12-18  Loren James Rittle  <ljrittle@acm.org>
7745         * gcc.c (validate_switches): Robustify against skipping past '\0'.
7747 2002-12-18  Geoffrey Keating  <geoffk@apple.com>
7749         * config.gcc: Set extra_objs in the generic Darwin rule,
7750         not in the machine-specific rules.
7752 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
7754         * ChangeLog: Follow spelling conventions.
7755         * ChangeLog.2: Likewise.
7756         * ChangeLog.4: Likewise.
7757         * ChangeLog.5: Likewise.
7758         * cppexp.c: Likewise.
7759         * df.c: Likewise.
7760         * gcov.c: Likewise.
7761         * gengtype.c: Likewise.
7762         * reload1.c: Likewise.
7763         * sched-rgn.c: Likewise.
7764         * stmt.c: Likewise.
7765         * stor-layout.c: Likewise.
7766         * timevar.c: Likewise.
7767         * toplev.c: Likewise.
7768         * tree.h: Likewise.
7769         * varasm.c: Likewise.
7770         * config/fr30/fr30.md: Likewise.
7771         * config/i386/i386.c: Likewise.
7772         * config/ia64/ia64.c: Likewise.
7773         * config/pa/pa.c: Likewise.
7775 2002-12-18  Roger Sayle  <roger@eyesopen.com>
7777         * basic-block.h (flow_bb_inside_loop_p): Correct prototype.
7779 2002-12-18  Aldy Hernandez  <aldyh@redhat.com>
7781         PR 8551
7782         * config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in
7783         macro.
7784         (vec_cmplt C++ functions): Reverse arguments.
7786 2002-12-18  Geoffrey Keating  <geoffk@apple.com>
7788         * config/rs6000/t-rs6000: Move contents to t-fprules,
7789         add rules for dependencies of rs6000.o and to build rs6000-c.o
7790         * config/rs6000/t-fprules: New file from t-rs6000.
7791         * config/rs6000/t-beos: Remove soft-fp rules.
7792         * config/rs6000/t-ppccomm: Likewise.
7793         * config/rs6000/t-newas: Likewise.
7794         * config/rs6000/t-rs6000-c-rule: Delete.
7795         * config.gcc: Use t-fprules for rs6000/ ports when appropriate.
7796         Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule.
7797         Create generic Darwin rules.
7799         * gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration.
7801 2002-12-18  Doug Evans  <dje@sebabeach.org>
7803         * m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P
7804         and LIT_NAME_P.
7805         (move_src_operand): Remove compile-time warning.
7806         * m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.
7808 2002-12-18  Jason Merrill  <jason@redhat.com>
7810         * unwind-dw2-fde.c (frame_downheap): Split out from...
7811         (frame_heapsort): Here.
7813 2002-12-17  Jason Merrill  <jason@redhat.com>
7815         * tree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
7816         (build1): Always set TREE_SIDE_EFFECTS on 's' class nodes.
7818         * gcc.c (do_spec_1) ['W']: End any pending argument from the braces.
7820         * calls.c (expand_call): Don't try to be clever about expanding
7821         the return slot address.
7823 2002-12-18  Kaz kojima  <kkojima@gcc.gnu.org>
7825         * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
7826         Define.
7828 2002-12-17  Jason Merrill  <jason@redhat.com>
7830         * genmultilib: Use 'cd ./foo'.
7832 2002-12-17  Kazu Hirata  <kazu@cs.umass.edu>
7834         * doc/c-tree.texi: Restore deliberate spelling mistakes.
7836 2002-12-17  Kazu Hirata  <kazu@cs.umass.edu>
7838         * doc/c-tree.texi: Fix typos and follow spelling conventions.
7839         * doc/cpp.texi: Likewise.
7840         * doc/extend.texi: Likewise.
7841         * doc/gty.texi: Likewise.
7842         * doc/install.texi: Likewise.
7843         * doc/invoke.texi: Likewise.
7844         * doc/md.texi: Likewise.
7845         * doc/passes.texi: Likewise.
7846         * doc/rtl.texi: Likewise.
7847         * doc/sourcebuild.texi: Likewise.
7848         * doc/tm.texi: Likewise.
7850 2002-12-17  Jerry Quinn  <jlquinn@optonline.net>
7852         * doc/invoke.texi: Minor spelling and grammar fixes.
7854 2002-12-17  Ulrich Weigand  <uweigand@de.ibm.com>
7856         * config/s390/s390.c (s390_output_constant_pool): Replace
7857         ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label).
7859 Tue Dec 17 09:47:57 CET 2002  Jan Hubicka  <jh@suse.cz>
7861         * convert.c (convert_to_real): Disable function transformation for
7862         now.
7864 2002-12-16  Geoffrey Keating  <geoffk@apple.com>
7866         * gcc.c (handle_braces): Allow '@' as a switch name.
7868 2002-12-16  Jason Merrill  <jason@redhat.com>
7870         * calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR
7871         with special struct-return ABIs.
7873         * c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
7874         doesn't match the begin SCOPE_STMT in partialness.
7876 2002-12-16  Geoffrey Keating  <geoffk@apple.com>
7878         * genmultilib: Create temporary files in unique subdirectory.
7880         * gcc.c (validate_switches): Allow '@' as a switch name.
7882 2002-12-16  Loren J. Rittle  <ljrittle@acm.org>
7884         * Makefile.in (gcov-iov.h): Improve portability.
7886 Mon Dec 16 23:39:19 CET 2002  Jan Hubicka  <jh@suse.cz>
7888         * mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
7889         gas
7890         * mips.md (tablejump insn): Likewise.
7892 2002-12-16  Mark Mitchell  <mark@codesourcery.com>
7894         * doc/include/gcc-common.texi: Change version number to 3.4.
7896 2002-12-16  Bruce Korb  <bkorb@gnu.org>
7898         * fixinc/fixlib.h: add: #include <signal.h>
7899         * fixinc/fixincl.c: remove: #include <signal.h>
7901 Mon Dec 16 17:20:04 2002  J"orn Rennecke <joern.rennecke@superh.com>
7903         * sh.h (EXTRA_CONSTRAINT_Z): New macro.
7904         (EXTRA_CONSTRAINT): Use it.
7905         * sh.md (anddi3): Use 'Z' constraint for alternative 2.
7907 2002-12-15  Zack Weinberg  <zack@codesourcery.com>
7909         * config.gcc (need_64bit_hwint): New variable.
7910         (alpha*-*-*, x86_64-*-*, ia64-*-*, mips*-*-*, powerpc*-*-*,
7911         mmix-knuth-mmixware, rs6000*-*-*, sparc64*-*-*, s390*-*-*,
7912         sh*-*-*, hppa*64*-*-linux, parisc*64*-*-linux, hppa*64*-*-hpux11*,
7913         sparcv9-*-solaris2*, sparc*-*-solaris2.[789], ultrasparc-*-freebsd*):
7914         Set it.
7915         (powerpc*-*-darwin*): Unset it.
7916         (alpha-*-interix, alpha64-dec-*vms*, i?86-*-interix3*,
7917         i?86-*-interix*, sparc64-*-openbsd*): Remove references to
7918         deleted/nonexistent xm-*.h headers.
7919         * configure.in: AC_DEFINE NEED_64BIT_HOST_WIDE_INT if the
7920         target set need_64bit_hwint in config.gcc.
7921         * configure, config.in: Regenerate.
7923         * hwint.h: Overhaul.  Don't bother trying int for
7924         HOST_WIDE_INT.  Do try __int64 if long is not enough.  Base
7925         decision to force 64-bit HOST_WIDE_INT on
7926         NEED_64BIT_HOST_WIDE_INT, not (MAX_)LONG_TYPE_SIZE which is
7927         not visible at this point.  Don't allow prior definition of
7928         any macro defined by this file.
7930         * config/alpha/xm-vms.h: Don't define HOST_WIDE_INT or
7931         HOST_BITS_PER_WIDE_INT.
7932         * config/c4x/c4x.h: Adjust redefinition of
7933         HOST_WIDE_INT_PRINT_HEX to match changes to hwint.h.
7934         * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms64.h,
7935         config/i386/xm-i386-interix.h: Delete file.
7937 2002-12-14  Rodney Brown  <rbrown64@csc.com.au>
7938             John David Anglin  <dave@hiauly1.hia.nrc.ca>
7940         * pa.c (output_millicode_call): Convert ASM_OUTPUT_INTERNAL_LABEL.
7941         * pa64-hpux.h (ASM_OUTPUT_INTERNAL_LABEL): Delete define.
7943 2002-12-14  Zack Weinberg  <zack@codesourcery.com>
7945         * mkconfig.sh: Correct comment.  Add copyright boilerplate.
7947 2002-12-14  Zack Weinberg  <zack@codesourcery.com>
7949         * config/t-darwin, config/arm/t-pe, config/arm/t-strongarm-pe,
7950         config/c4x/t-c4x, config/i370/t-i370, config/i386/t-cygwin,
7951         config/i386/t-interix, config/i960/t-960bare, config/ia64/t-ia64,
7952         config/rs6000/t-rs6000-c-rule, config/sparc/t-sol2,
7953         config/v850/t-v850:  Correct dependencies and normalize
7954         compilation commands for files that include coretypes.h and tm.h.
7956         * config/sparc/gmon-sol2.c: Include tconfig.h and tsystem.h,
7957         not config.h and system.h.
7959 Sat Dec 14 20:43:41 CET 2002  Jan Hubicka  <jh@suse.cz>
7961         * i386.c (flags_reg_operand):  New function.
7962         * i386.h (PREDICATE_CODES): Add flags_reg_operand.
7963         * i386.md (cmov splitter, movqicc): Use new predicate.
7965 Sat Dec 14 17:03:17 CET 2002  Jan Hubicka  <jh@suse.cz>
7967         * i386.md (movqicc splitter): Fix template.
7969 2002-12-13  Jason Merrill  <jason@redhat.com>
7971         * tree.h (CALL_EXPR_HAS_RETURN_SLOT_ADDR): New macro.
7972         * calls.c (expand_call): Handle it.
7973         * tree-inline.c (struct inline_data): Remove target_exprs field.
7974         (optimize_inline_calls): Don't initialize it.
7975         (expand_call_inline): Don't modify it.  Handle
7976         CALL_EXPR_HAS_RETURN_SLOT_ADDR.
7977         (declare_return_variable): Take return slot addr.
7978         * langhooks.h (copy_res_decl_for_inlining): Change target_exprs parm
7979         to return_slot_addr.
7980         * langhooks-def.h, langhooks.c: Adjust.
7981         * explow.c (maybe_set_unchanging): Don't set RTX_UNCHANGING_P for
7982         a decl with no DECL_INITIAL.
7984         * expr.c (expand_expr): Don't discard the target of a call which
7985         returns in memory.
7987 2002-12-13  Neil Booth  <neil@daikokuya.co.uk>
7989         * cppinit.c (path_include): Take an environment variable name.
7990         Tidy up.
7991         (init_standard_includes): Simplify environment handling, and
7992         move to ...
7993         (cpp_read_main_file): ...here as -nostdinc should not affect
7994         environment variable paths.
7996 2002-12-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7998         * pa.c (output_millicode_call): Correct typo.
7999         (output_call): Likewise.
8001 Fri Dec 13 21:07:18 2002  Alexandre Oliva  <aoliva@redhat.com>
8003         * config/mn10300/mn10300.c (print_operand) <case N>: Check
8004         operand's range.  Print value directly, without aid from
8005         output_address.
8006         <case U>: New.
8007         <case S>: Make sure argument to fprintf has the right type.
8008         * config/mn10300/mn10300.h (OK_FOR_T): New macro.
8009         (EXTRA_CONSTRAINT): Adjust.
8010         * config/mn10300/mn10300.md: Add new all-QImode pattern for
8011         bclr.  Use %U for immediate operands of bset and bclr.
8012         (iorqi3): New expand, with insns for AM33 and mn10300.
8014 Fri Dec 13 16:02:27 2002  J"orn Rennecke <joern.rennecke@superh.com>
8016         * sh.c (sh_register_operand): New function.
8017         (prepare_move_operands): Use it.
8018         * sh.h (PREDICATE_CODES): Add entry for sh_register_operand.
8019         * sh.md (movsi_media, movsi_media_nofpu): Allow stores of 0.
8020         (movqi_media, movhi_media, movdi_media, movdi_media_nofpu): Likewise.
8021         (movdf_media, movdf_media_nofpu, movv4sf_i, movsf_media): Likewise.
8022         (movsf_media_nofpu, movv2hi_i, movv4hi_i, movv8qi_i): Likewise.
8023         (movv2si_i): Likewise.
8025 2002-12-13  Jim Wilson  <wilson@redhat.com>
8027         * doc/extend.texi (Complex Numbers): Update info on debug info.
8029 2002-12-13  Kazu Hirata  <kazu@cs.umass.edu>
8031         * config/h8300/h8300.md (addhi3_h8300): Remove the last
8032         alternative.
8034 2002-12-12  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
8036         * hooks.h (hook_tree_tree_bool_false): Declare
8037         hook_bool_tree_tree_false instead.
8039 2002-12-12  Devang Patel  <dpatel@apple.com>
8041         * doc/invoke.texi: Document Darwin linker options, -bundle
8042         -bind_at_load, -all_load and -arch_errors_fatal
8044 2002-12-12  Jim Wilson  <wilson@redhat.com>
8046         * dbxout.c (dbxout_fptype_value): New.
8047         (dbxout_type, case COMPLEX_TYPE): Call it.  Use 'R' instead of 'r'.
8049 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
8051         * c-decl.c: Fix a comment typo.
8052         * cfg.c: Likewise.
8053         * cfgcleanup.c: Likewise.
8054         * cfglayout.c: Likewise.
8055         * cfgrtl.c: Likewise.
8056         * c-typeck.c: Likewise.
8057         * dominance.c: Likewise.
8058         * dwarf2asm.c: Likewise.
8059         * dwarfout.c: Likewise.
8060         * expmed.c: Likewise.
8061         * expr.c: Likewise.
8062         * final.c: Likewise.
8063         * flow.c: Likewise.
8064         * function.c: Likewise.
8065         * gcc.c: Likewise.
8066         * genautomata.c: Likewise.
8067         * integrate.c: Likewise.
8068         * loop.c: Likewise.
8069         * loop.h: Likewise.
8070         * output.h: Likewise.
8071         * profile.c: Likewise.
8072         * ra.h: Likewise.
8073         * reload1.c: Likewise.
8074         * reload.c: Likewise.
8075         * sched-rgn.c: Likewise.
8076         * stmt.c: Likewise.
8077         * tree.h: Likewise.
8078         * vmsdbgout.c: Likewise.
8080 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
8082         * config/h8300/h8300.md: Add a new peephole2.
8084 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
8086         * config/h8300/h8300.md (a peephole2): Accept a constant
8087         that's accepted by CONST_OK_FOR_J.
8089 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
8091         * config/h8300/h8300.h (CONST_OK_FOR_J): New.
8092         (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
8093         * config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
8094         (*addhi_h8300hs): Likewise.
8096 Thu Dec 12 16:24:59 2002  J"orn Rennecke <joern.rennecke@superh.com>
8098         * sh.c (reg_class_from_letter): No longer const.  Add 'e' entry.
8099         (sh_register_move_cost): Add clause for SImode fp-fp moves.
8100         Increase cost for moves involving multiple general purpose registers.
8101         * sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
8102         TARGET_FMOVD.
8103         (HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
8104         registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
8105         (enum reg_class reg_class_from_letter): No longer const.
8106         (SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
8107         REGCLASS_HAS_GENERAL_REG.
8108         Handle SImode moves from/to fp registers.
8109         ! TARGET_SHMEDIA && TARGET_FMOVD.
8110         (SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
8111         * sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.
8113 2002-12-12  Andreas Schwab  <schwab@suse.de>
8115         * config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
8116         change and some warnings.
8118 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
8120         * doc/md.texi (pushm): Fix a typo.
8122 2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
8124         * config/mips/mips.c (mips_output_conditional_branch): Support
8125         PIC-safe out-of-range branch and branch-likely.
8126         * config/mips/mips.md (attr length): PIC-safe out-of-range
8127         branches are longer.
8128         ("jump"): Support PIC-safe out-of-range-for-branch jumps.  Remove
8129         unused code to support indirect jumps.
8131 2002-12-11  Zack Weinberg  <zack@codesourcery.com>
8133         * Makefile.in (GTFILES): Add $(host_xm_file_list) and
8134         $(tm_file_list).
8136 2002-12-11  David Edelsohn  <edelsohn@gnu.org>
8138         * config/rs6000/t-rs6000-c-rule: Add coretypes.h $(TM_H) dependencies.
8140 Wed Dec 11 15:20:45 CET 2002  Jan Hubicka  <jh@suse.cz>
8142         * i386.md (cmove splitters): Avoid creation of unnecesary subregs.
8144 2002-12-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8146         * pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
8147         (MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
8148         BIGGEST_ALIGNMENT.
8149         (PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
8150         (FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
8152 2002-12-11  Kazu Hirata  <kazu@cs.umass.edu>
8154         * doc/invoke.texi: Correct dump file names.
8156 2002-12-09  Steve Ellcey  <sje@cup.hp.com>
8158         * config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
8159         name to globalize_label or assemble_name.
8161 Wed Dec 11 20:15:19 2002  J"orn Rennecke <joern.rennecke@superh.com>
8163         * sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
8164         if not TARGET_SHMEDIA.
8166 Wed Dec 11 19:05:05 2002  J"orn Rennecke <joern.rennecke@superh.com>
8168         * sh.h (REG_CLASS_HAS_FP_REG): New.
8169         (REGISTER_MOVE_COST) Use it.  Put body into a function and
8170         move it into:
8171         * sh.c (sh_register_move_cost).
8172         * sh-protos.h (sh_register_move_cost): Declare.
8174         * sh.c (sh_expand_builtin): Abort for unexpected nop values.
8175         (sh_adjust_cost): Always return a value.
8177 Wed Dec 11 18:39:52 2002  J"orn Rennecke <joern.rennecke@superh.com>
8179         * sh.h (REG_CLASS_HAS_GENERAL_REG): New.
8180         (REGISTER_MOVE_COST): Use it.
8182 2002-12-11  Richard Henderson  <rth@redhat.com>
8184         * tree.h (MODULE_LOCAL_P): Kill.
8185         * varasm.c (default_binds_local_p_1): Use decl_visibility instead.
8187 2002-12-11  Kazu Hirata  <kazu@cs.umass.edu>
8189         * config/h8300/h8300.md (two define_peephole2): New.
8191 2002-12-11  Kazu Hirata  <kazu@cs.umass.edu>
8193         * config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
8194         (CONST_OK_FOR_K): Likewise.
8195         (CONST_OK_FOR_M): Likewise.
8196         (CONST_OK_FOR_LETTER_P): Do not use the above macros.
8198 2002-12-11  Neil Booth  <neil@daikokuya.co.uk>
8200         * c-common.c (builtin_define_type_max): Handle unsigned
8201         types too.
8203 2002-12-10  David Edelsohn  <edelsohn@gnu.org>
8205         * haifa-sched.c (rank_for_schedule): Correct style.
8207 2002-12-10  Per Bothner  <pbothner@apple.com>
8209         * cpplib.h (struct cpp_hashnode):  Split a non-portably-signed field
8210         directive_index into an unsigned field and a new is_directive field.
8211         * cppinit.c (mark_named_operators):  Update to set new fields.
8212         * cpplex.c (_cpp_lex_direct):  Now directive_field is unsigned.
8213         * cpplib.c [_cpp_handle_directive]:   Test is_directive field.
8214         No longer need to subtract 1 from directive_index.
8215         (_cpp_init_directives):  No longer need to add 1 to directive_index.
8216         * cpptrad.c (scan_out_logical_line):  Use is_directive field.
8218 2002-12-10  Roger Sayle  <roger@eyesopen.com>
8220         * builtins.c (fold_builtin): Remove -funsafe-math-optimizations
8221         check for evaluating sqrt of a constant at compile time.
8222         * simplify-rtx.c (simplify_unary_operation): Likewise.
8224 2002-12-10  Janis Johnson  <janis187@us.ibm.com>
8226         PR other/8882
8227         * doc/tm.texi (PUSH_ARGS): Remove misplaced line.
8229 2002-12-10  Devang Patel  <dpatel@appple.com>
8231         * config/darwin.h(LINK_SPEC): Add darwin specific linker options.
8232         * doc/invoke.texi: Add new "Darwin Options" section.
8234 2002-12-10  Jim Wilson  <wilson@redhat.com>
8236         * rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
8237         memory.
8239 2002-12-10  Andrew Haley  <aph@redhat.com>
8241         * cse.c (cse_insn): Don't cse past a basic block boundary.
8243 2002-12-10  Jakub Jelinek  <jakub@redhat.com>
8245         * config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
8246         -shared.
8247         * config/alpha/linux-elf.h (LIB_SPEC): Likewise.
8248         * config/alpha/linux.h (LIB_SPEC): Likewise.
8249         * config/arm/linux-elf.h (LIB_SPEC): Likewise.
8250         * config/pa/pa-linux.h (LIB_SPEC): Likewise.
8251         * config/sparc/linux.h (LIB_SPEC): Likewise.
8252         * config/sparc/linux64.h (LIB_SPEC): Likewise.
8254 2002-12-09  Larin Hennessy  <larin@science.oregonstate.edu>
8256         * doc/invoke.texi: Document UltraSparc III option.
8258 2002-12-09  Richard Henderson  <rth@redhat.com>
8260         * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
8261         __tune_pentium2__ and __tune_pentium3__ as necessary.
8263 2002-12-09  Richard Henderson  <rth@redhat.com>
8265         * target.h (gcc_target): Add cannot_force_const_mem.
8266         * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
8267         (TARGET_INITIALIZER): Add it.
8268         * varasm.c (force_const_mem): Fail if cannot_force_const_mem.
8269         * expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
8270         * reload1.c (reload): Likewise.
8271         * hooks.c (hook_bool_rtx_false): New.
8272         * hooks.h: Declare it.
8274         * config/i386/i386.c (ix86_cannot_force_const_mem): New.
8275         (TARGET_CANNOT_FORCE_CONST_MEM): New.
8276         (ix86_expand_move): Remove de-const-pooling hack.
8278 Mon Dec  9 21:33:38 CET 2002  Jan Hubicka  <jh@suse.cz>
8280         * toplev.c (dump_file): Fix order to match reality.
8282 2002-12-08  Geoffrey Keating  <geoffk@apple.com>
8284         * config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
8285         (store_multiple): Likewise.
8287 2002-12-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8289         * pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
8290         function pointers in page 0.
8292 2002-12-09  Steve Ellcey  <sje@cup.hp.com>
8294         * config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
8295         definition
8296         (MEMBER_TYPE_FORCES_BLK): Move.
8297         * config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
8298         aggregate arguments.
8299         (ia64_function_value): Use PARALLEL to return aggregate values.
8301 2002-12-09  Steve Ellcey  <sje@cup.hp.com>
8303         * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
8304         * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
8305         * calls.c (store_unaligned_arguments_into_pseudos) Remove
8306         FUNCTION_ARG_REG_LITTLE_ENDIAN.
8307         * stmt.c (expand_return): Ditto.
8308         * expr.c (move_block_from_reg): Ditto.
8309         (copy_blkmode_from_reg): Ditto.
8310         * expmed.c (store_bit_field): Ditto.
8312 2002-12-09  Svein E. Seldal  <Svein.Seldal@solidas.com>
8314         * config.gcc: Added tic4x-* target as an alias to c4x-*
8316 Sun Dec  8 14:57:39 CET 2002  Jan Hubicka  <jh@suse.cz>
8318         * i386.c (ix86_expand_int_movcc): Use force_operand instead of
8319         constructing insn directly.
8321 2002-12-06  Per Bothner  <pbothner@apple.com>
8323         * cpplib.h (struct cpp_hashnode):  Change field directive_index from
8324         char to an int bit-field, for hosts where char is unsigned.
8326 2002-12-07  Roger Sayle  <roger@eyesopen.com>
8327             Richard Henderson <rth@redhat.com>
8329         * real.c (ieee_extended_motorola_format,
8330         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
8331         ieee_quad_format, vax_d_format, vax_g_format, i370_double_format):
8332         Provide appropriate values for new signbit field.
8334 2002-12-07  Roger Sayle  <roger@eyesopen.com>
8336         * real.h (real_format): Add signbit field.
8337         * real.c (ieee_single_format, ieee_double_format,
8338         ieee_extended_motorola_format, ieee_extended_intel_96_format,
8339         ieee_extended_intel_128_format, ibm_extended_format,
8340         ieee_quad_format, vax_f_format, vax_d_format,
8341         vax_g_format, i370_single_format, i370_double_format,
8342         c4x_single_format, c4x_extended_format, real_internal_format):
8343         Provide suitable signbit value, or -1 to avoid bit twiddling.
8345         * optabs.c (expand_unop): Try implementing negation of
8346         floating point modes by flipping the sign bit.
8347         (expand_abs): Try implementing abs of floating point modes
8348         by clearing the sign bit.
8350 Sat Dec  7 22:29:47 CET 2002  Jan Hubicka  <jh@suse.cz>
8352         * i386.c (ix86_expand_int_movcc):  Use force_operand instead
8353         of constructing insn directly.
8355 2002-12-07  Kazu Hirata  <kazu@cs.umass.edu>
8357         * config/h8300/h8300.md (*iorhi_shift_8): New.
8359 2002-12-06  Bernd Schmidt  <bernds@redhat.com>
8361         * doc/invoke.texi: Document FRV port options.
8362         * doc/md.texi: Document FRV register classes.
8364 2002-12-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8366         * doc/install.texi (Configuration): Improve description of cases
8367         where `make distclean` may fail; clarify --with-gnu-as; fix grammar.
8369 2002-12-06  Per Bothner  <pbothner@apple.com>
8371         * cpplib.h (NODE_MACRO_ARG):  New flag.
8372         (struct cpp_hashnode):  Give _cpp_hashnode_value tag to value union.
8373         Remove value.operator field.  Move arg_index field to value union.
8374         (directive_index):  Make signed, since also used for C++ operators.
8375         * cppmacro.c (_cpp_save_parameter):  Use NODE_MACRO_ARG flag to
8376         check for duplicate parameter.  Set NODE_MACRO_ARG flag.
8377         Save node->value, and set node->value.arg_index.
8378         (_cpp_create_definition):  For each paramater, restore node->value.
8379         (lex_expansion_token):  Use NODE_MACRO_ARG flag, and moved arg_index.
8380         * cpptrad.c (scan_out_logical_line): Likewise.
8381         (scan_out_logical_line): Check for directive > 0.
8382         * cpplib.c (cpp_handle_directive):  Likewise.
8383         * cpplex.c (_cpp_lex_direct):  Update as value.operator is replaced
8384         by negative of directive_index.
8385         * cppinit.c (mark_named_operators):  Likewise.
8387         * hashtable.h (struct ht_identifier):  Swap fields, for better packing.
8389 2002-12-06 Dhananjay Deshpande <dhananjayd@kpit.com>
8391         * gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has
8392         FPU.
8393         (push): Generate push_fpscr.
8394         (pop): Generate pop_fpscr.
8395         * gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr".
8396         (fpu_switch): Add alternative to push fpscr.  Enable for TARGET_SH3E.
8398 Fri Dec  6 19:36:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
8400         * sh.c (dump_table): DImode pool constants need only 32 bit alignment.
8401         DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE.
8403 Fri Dec  6 19:17:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
8405         * sh.md (movdi_i): Name.  Remove inappropriate comment.
8407 Fri Dec  6 15:44:46 2002  J"orn Rennecke <joern.rennecke@superh.com>
8408         Merged from basic improvements branch (excerpt):
8410         2002-11-19  Kaz Kojima  <kkojima@gcc.gnu.org>
8411         * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
8413 2002-12-06  Jakub Jelinek  <jakub@redhat.com>
8415         * expr.c (expand_expr) <case COND_EXPR>: Never modify exp in place.
8417 Thu Dec  5 16:58:25 CET 2002  Jan Hubicka  <jh@suse.cz>
8419         * i386.md (dimode peep2s): Re-add "&& 1".
8421 Thu Dec  5 14:10:15 CET 2002  Jan Hubicka  <jh@suse.cz>
8423         * i386.c (ix86_expand_prologue):  Add comment, do not use
8424         fast prologues for cold and normal functions.
8426 Thu Dec  5 00:52:37 CET 2002  Jan Hubicka  <jh@suse.cz>
8428         * i386.c (x86_rep_movl_optimal): New variable.
8429         (ix86_expand_movstr, ix86_expand_clrstr): Use TARGET_REP_MOVL_OPTIMAL
8430         * i386.h (TARGET_REP_MOVL_OPTIMAL): New macro.
8432         * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
8433         absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
8434         neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
8435         generate unnecesary subregs.
8437 2002-12-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8439         * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
8440         * pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.
8442 2002-12-05  Dale Johannesen  <dalej@apple.com>
8444         * tree.c (unsafe_for_reeval):  Consider callee child of CALL_EXPR.
8446 2002-12-05  Danny Smith  <dannysmith@users.sourceforge.net>
8448         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
8449         PROFILE_HOOK.
8450         * config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.
8452 2002-12-05  Aldy Hernandez  <aldyh@redhat.com>
8454         * config/rs6000/spe.h (__ev_mwlufi): Remove.
8455         (__ev_mwlufia): Remove.
8456         (__ev_mwlumfaaw): Remove.
8457         (__ev_mwlusfaaw): Remove.
8458         (__ev_mwlumfanw): Remove.
8459         (__ev_mwlusfanw): Remove.
8461 2002-12-05  Kazu Hirata  <kazu@cs.umass.edu>
8463         * config/h8300/h8300.md (*andorsi3_shift_8): New.
8465 2002-12-05  Kazu Hirata  <kazu@cs.umass.edu>
8467         * config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and
8468         lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
8469         (get_shift_alg): Return optimal assembly instructions for the
8470         shifts mentioned above.
8472 Wed Dec  4 11:53:07 CET 2002  Jan Hubicka  <jh@suse.cz>
8474         * i386.c (ix86_expand_int_movcc): Force operand into register for QImode
8475         condtiional moves.
8477 2002-12-04  Kazu Hirata  <kazu@cs.umass.edu>
8479         * config/h8300/h8300.c (h8300_init_once): Do not use loop to
8480         implement ashiftrt:HI by 13 bits on H8S.
8482 2002-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8484         * pa/fptr.c (__canonicalize_funcptr_for_compare): New file and function.
8485         * pa.md (canonicalize_funcptr_for_compare): Output library call to
8486         canonicalize_funcptr_for_compare_libfunc on TARGET_ELF32.
8487         * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL,
8488         CTOR_LIST_BEGIN): New defines.
8489         * pa/t-linux (LIB2FUNCS_EXTRA): New define.
8490         (fptr.c): Add make rules.
8492 2002-12-04  Geoffrey Keating  <geoffk@apple.com>
8494         * combine.c (combine_simplify_rtx): Add new canonicalizations.
8495         * doc/md.texi (Insn Canonicalizations): Document new
8496         canonicalizations for multiply/add combinations.
8497         * config/rs6000/rs6000.md: Add and modify floating add/multiply
8498         patterns to ensure they're used whenever they can be.
8500 2002-12-04  Kazu Hirata  <kazu@cs.umass.edu>
8502         * config/h8300/h8300.c: Update the comments related to shifts.
8504 2002-12-04  Chris Demetriou  <cgd@broadcom.com>
8506         * config/mips/mips.md (get_fnaddr): Correct length attribute.
8508 2002-12-04  Kazu Hirata  <kazu@cs.umass.edu>
8510         * config/h8300/h8300.md (*extzv_8_8): New.
8511         (*extzv_8_16): Likewise.
8513 2002-12-04  Jason Merrill  <jason@redhat.com>
8515         PR c++/8461, c++/8625
8516         * integrate.c (copy_decl_for_inlining): Handle explicit invisible
8517         references.
8518         * tree-inline.c (initialize_inlined_parameters): Likewise.
8520         * tree.c (variably_modified_type_p): Just return an error_mark_node.
8522 2002-12-04  Chris Demetriou  <cgd@broadcom.com>
8524         * config/mips/mips.md (get_fnaddr): Avoid placing an "la"
8525         macro instruction in a branch delay slot, to avoid assembler
8526         warnings.
8528 2002-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
8530         PR c/7622
8531         * c-semantics (genrtl_scope_stmt): Do not output inlined
8532         nested functions that contain no code.
8534 Wed Dec  4 15:20:54 CET 2002  Jan Hubicka  <jh@suse.cz>
8536         * cfgrtl.c (force_nonfallthru_and_redirect):  Allow abnormal edge
8537         to be forced into nonfallthru.
8539 2002-12-03  Jason Thorpe  <thorpej@wasabisystems.com>
8541         * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
8543 2002-12-03  Aldy Hernandez  <aldyh@redhat.com>
8545         * config/rs6000/spe.md (*movv1di_const0): New pattern.
8547 2002-12-03  Richard Henderson  <rth@redhat.com>
8549         * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
8551 2002-12-03  Hans-Peter Nilsson  <hp@bitrange.com>
8553         * bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
8554         Initialize tmp.using_obstack to 0.
8556 2002-12-03  Andreas Schwab  <schwab@suse.de>
8558         * config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
8559         (EH_RETURN_STACKADJ_RTX): Define.
8560         (EH_RETURN_HANDLER_RTX): Define.
8561         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
8562         * config/m68k/m68k.c (m68k_save_reg): New function.  Handle eh
8563         registers and don't save fixed registers.
8564         (m68k_output_function_prologue): Use it.
8565         (use_return_insn): Likewise.
8566         (m68k_output_function_epilogue): Likewise.
8568 2002-12-03  Kazu Hirata  <kazu@cs.umass.edu>
8570         * config/h8300/h8300.c (single_one_operand): Fix a warning.
8571         (single_zero_operand): Likewise.
8573 2002-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>
8575         * Makefile.in configure configure.in dummy-conditions.c fix-header.c
8576         gcov-iov.c gen-protos.c genattr.c genattrtab.c genautomata.c
8577         gencheck.c gencodes.c genconditions.c genconfig.c genconstants.c
8578         genemit.c genextract.c genflags.c gengenrtl.c gengtype-lex.l
8579         gengtype-yacc.y gengtype.c genopinit.c genoutput.c genpeep.c
8580         genpreds.c genrecog.c gensupport.c mkconfig.sh read-rtl.c
8581         scan-decls.c scan.c config/sh/sh.h doc/configfiles.texi
8582         doc/install-old.texi: Replace hconfig.h with bconfig.h.
8583         * Makefile.in: Replace HCONFIG_H with BCONFIG_H.
8585 2002-12-02  Andrew Pinski  <pinskia@physics.uc.edu>
8587         * config/rs6000/rs6000.md (ffssi): Convert to expander.
8588         (ffsdi): Likewise.
8589         (cntlzw2, cntlzd2): New patterns.
8591 2002-12-02  H.J. Lu <hjl@gnu.org>
8593         * config.gcc (mips*-*-netbsd*): Remove mips/t-netbsd.
8594         (mips*-*-linux*): Remove mips/t-linux.
8596 Mon Dec  2 19:26:30 CET 2002  Jan Hubicka  <jh@suse.cz>
8598         * i386.c (ix86_expand_int_movcc):  Avoid overflow.
8600 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
8602         * config/h8300/h8300.c (dosize): Replace argument op with
8603         sign.
8604         (h8300_output_function_prologue): Update the call to dosize.
8605         (h8300_output_function_epilogue): Likewise.
8607 2002-12-02  Bob Wilson  <bob.wilson@acm.org>
8609         * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
8611 2002-12-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
8613         * configure.in: Use "missing" script to generate warning if
8614         flex or bison programs not found, instead of invoking "false".
8615         * configure: Rebuilt.
8617 Mon Dec  2 20:28:48 CET 2002  Jan Hubicka  <jh@suse.cz>
8619         * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
8621 Mon Dec  2 19:42:52 CET 2002  Jan Hubicka  <jh@suse.cz>
8623         * i386.c (ix86_expand_int_movcc):  Avoid overflow.
8625 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
8627         * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
8628         (push): Likewise.
8629         (pop): Likewise.
8630         (h8300_output_function_prologue): Likewise.
8631         (h8300_output_function_epilogue): Likewise.
8633 Mon Dec  2 14:43:22 2002  J"orn Rennecke <joern.rennecke@superh.com>
8635         * expmed.c (store_bit_field): Use int_mode_for_mode to find
8636         corresponding mode of non-integer mode, unless it is VOIDmode.
8638 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
8640         * config/h8300/h8300.md (stm_h8300s_2): New.
8641         (stm_h8300s_3): Likewise.
8642         (stm_h8300s_4): Likewise.
8643         (five define_peephole2): Likewise.
8645 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
8647         * ra-build.c: Fix a comment typo.
8649 Sun Dec  1 16:50:47 CET 2002  Jan Hubicka  <jh@suse.cz>
8651         * i386.c (ix86_expand_int_movcc): fix
8652         reversed BRANCH_COST test; be curefull about infinite recursion.
8654 2002-12-01  Kazu Hirata  <kazu@cs.umass.edu>
8656         * config/h8300/h8300.c (h8300_output_function_prologue):
8657         Remove variable idx.
8658         (h8300_output_function_epilogue): Likewise.
8660 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
8662         * config/frv/xm-frv.h: Delete, unnecessary.
8664 2002-12-01  Kazu Hirata  <kazu@cs.umass.edu>
8666         * config/h8300/h8300.md: Add comments for define_peephole2.
8668 2002-12-01  Mark Mitchell  <mark@codesourcery.com>
8670         * builtin-types.def (BT_SIZE): Use size_type_node.
8671         * builtins.c (fold_builtin): Make the builtin strlen returns a
8672         size_t, not a sizetype.
8673         * c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
8674         c_size_type_node.
8675         (c_alignof_expr): Likewise.
8676         (c_common_nodes_and_builtins): Likewise.
8677         * c-common.h (CTI_C_SIZE_TYPE): Remove.
8678         (c_size_type_node): Likewise.
8679         * c-format.c (T_ST): Use size_type_node, not c_size_type_node.
8680         * tree.h (TI_SIZE_TYPE): New enumeral.
8681         (size_type_node): Likewise.
8683 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
8685         * configure.in: Don't put ${tm_file} into host_xm_file,
8686         build_xm_file, or xm_file.  Do put tm-preds.h into tm_p_file.
8687         Take location of tm-preds.h into account when calculating
8688         tm_p_file_list.
8689         * configure: Regenerate.
8690         * mkconfig.sh: No need for separate TM_DEFINES and XM_DEFINES
8691         arguments.  Do not provide rtx, rtvec, tree, or GTY here.
8692         Remove special case code for tm_p.h and *config.h; add new
8693         special case code for tm.h and tconfig.h. Clean up a bit.
8695         * Makefile.in (tm_file, tm_file_list): New variables set from
8696         @-substitutions.
8697         (GCONFIG_H): Deleted.
8698         (GTM_H, TM_H): New.
8699         (CONFIG_H): Is now just config.h $(host_xm_file_list).
8700         (TM_P_H): Move up with the other mkconfig.sh-generated
8701         headers; don't mention tm-preds.h explicitly.
8702         (tm.h, cs-tm.h): New rule.
8703         (cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): Adjust
8704         invocations of mkconfig.sh for changes to that program.
8705         (mostlyclean): Delete print-rtl1.c.
8706         (clean): Delete tm.h.
8707         Update dependencies for the files listed below.
8709         * mklibgcc.in:  Add 'coretypes.h $(TM_H)' to libgcc2_c_dep.
8711         * coretypes.h: New file.
8712         * system.h: #define malloc to xmalloc and realloc to xrealloc
8713         when FLEX_SCANNER or YYBISON is defined, independent of the
8714         value of GCC_VERSION.
8715         * alias.c, attribs.c, bb-reorder.c, bitmap.c, builtins.c,
8716         c-aux-info.c, c-common.c, c-convert.c, c-decl.c, c-dump.c,
8717         c-errors.c, c-format.c, c-lang.c, c-lex.c, c-objc-common.c,
8718         c-opts.c, c-parse.in, c-pragma.c, c-pretty-print.c,
8719         c-semantics.c, c-typeck.c, caller-save.c, calls.c, cfg.c,
8720         cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c,
8721         cfgrtl.c, collect2.c, combine.c, conflict.c, convert.c,
8722         cppdefault.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
8723         cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppmain.c,
8724         cppspec.c, cpptrad.c, crtstuff.c, cse.c, cselib.c, dbxout.c,
8725         debug.c, df.c, diagnostic.c, doloop.c, dominance.c,
8726         dummy-conditions.c, dwarf2asm.c, dwarf2out.c, dwarfout.c,
8727         emit-rtl.c, errors.c, et-forest.c, except.c, explow.c,
8728         expmed.c, expr.c, final.c, fix-header.c, flow.c, fold-const.c,
8729         function.c, gcc.c, gccspec.c, gcov-dump.c, gcov-iov.c, gcov.c,
8730         gcse.c, gen-protos.c, genattr.c, genattrtab.c, genautomata.c,
8731         gencheck.c, gencodes.c, genconditions.c, genconfig.c,
8732         genconstants.c, genemit.c, genextract.c, genflags.c,
8733         gengenrtl.c, gengtype-lex.l, gengtype-yacc.y, gengtype.c,
8734         genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
8735         gensupport.c, ggc-common.c, ggc-none.c, ggc-page.c,
8736         ggc-simple.c, global.c, graph.c, haifa-sched.c, hashtable.c,
8737         hooks.c, ifcvt.c, integrate.c, intl.c, jump.c, langhooks.c,
8738         lcm.c, libgcc2.c, line-map.c, lists.c, local-alloc.c, loop.c,
8739         main.c, mbchar.c, mips-tdump.c, mips-tfile.c, mkdeps.c,
8740         optabs.c, params.c, predict.c, prefix.c, print-rtl.c,
8741         print-tree.c, profile.c, protoize.c, ra-build.c,
8742         ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, read-rtl.c,
8743         real.c, recog.c, reg-stack.c, regclass.c, regmove.c,
8744         regrename.c, reload.c, reload1.c, reorg.c, resource.c,
8745         rtl-error.c, rtl.c, rtlanal.c, sbitmap.c, scan-decls.c,
8746         scan.c, sched-deps.c, sched-ebb.c, sched-rgn.c, sched-vis.c,
8747         sdbout.c, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c,
8748         ssa.c, stmt.c, stor-layout.c, stringpool.c, timevar.c,
8749         tlink.c, toplev.c, tracer.c, tree-dump.c, tree-inline.c,
8750         tree.c, unroll.c, varasm.c, varray.c, varray.h, vmsdbgout.c,
8751         xcoffout.c, config/darwin-c.c, config/darwin.c,
8752         config/fp-bit.c, config/alpha/alpha.c, config/alpha/vms-cc.c,
8753         config/alpha/vms-ld.c, config/arc/arc.c, config/arm/arm.c,
8754         config/arm/pe.c, config/avr/avr.c, config/c4x/c4x-c.c,
8755         config/c4x/c4x.c, config/cris/cris.c, config/d30v/d30v.c,
8756         config/dsp16xx/dsp16xx.c, config/fr30/fr30.c,
8757         config/frv/frv.c, config/h8300/h8300.c, config/i370/i370-c.c,
8758         config/i370/i370.c, config/i386/i386.c, config/i386/winnt.c,
8759         config/i960/i960-c.c, config/i960/i960.c,
8760         config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
8761         config/m32r/m32r.c, config/m68hc11/m68hc11.c,
8762         config/m68k/m68k.c, config/m88k/m88k.c, config/mcore/mcore.c,
8763         config/mips/irix6-libc-compat.c, config/mips/mips.c,
8764         config/mmix/mmix.c, config/mn10200/mn10200.c,
8765         config/mn10300/mn10300.c, config/ns32k/ns32k.c,
8766         config/pa/pa.c, config/pdp11/pdp11.c, config/romp/romp.c,
8767         config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
8768         config/s390/s390.c, config/sh/sh.c, config/sparc/gmon-sol2.c,
8769         config/sparc/sparc.c, config/stormy16/stormy16.c,
8770         config/v850/v850-c.c, config/v850/v850.c, config/vax/vax.c,
8771         config/xtensa/xtensa.c, objc/objc-act.c, objc/objc-lang.c:
8772         Include coretypes.h and tm.h.
8774         * genattrtab.c, genconditions.c, genemit.c, genextract.c,
8775         gengenrtl.c, gengtype.c, genopinit.c, genoutput.c, genpeep.c,
8776         genrecog.c: Include coretypes.h and tm.h from the file
8777         generated by this program.
8779         * unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c,
8780         unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c: Include
8781         coretypes.h and tm.h, and tsystem.h when not already included.
8782         No need to include stddef.h nor stdlib.h.
8784         * fixinc/fixlib.h: Include coretypes.h and tm.h.  Do not
8785         include auto-host.h or ansidecl.h/
8786         * fixinc/server.h: Do not include stdio.h, unistd.h, or fixlib.h.
8787         * fixinc/procopen.c: Include server.h after fixlib.h.  Do not
8788         include auto-host.h, ansidecl.h, or system.h.
8789         * fixinc/server.c: Likewise.  Also, do not include signal.h,
8790         and do not redefine volatile.
8792 Sat Nov 30 17:16:46 CET 2002  Jan Hubicka  <jh@suse.cz>
8794         * i386.md (movdf_integer):  Always enable in 64bit.
8795         (movdf_nointeger): Always disable in 64bit.
8797 2002-11-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8799         * cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
8800         pseudo register number plus 1.
8802 Fri Nov 29 20:10:56 2002  J"orn Rennecke <joern.rennecke@superh.com>
8804         * expmed.c (store_bit_field): Use int_mode_for_mode to find
8805         corresponding mode of non-integer mode, unless it is VOIDmode.
8807 2002-11-29  Hans-Peter Nilsson  <hp@bitrange.com>
8809         * cpplib.c (_cpp_test_assertion): Default *value to 0.
8811         * cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.
8813 2002-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
8815         * config/s390/t-crtstuff: New target makefile fragment.
8816         * config.gcc [s390-*-linux, s390x-*-linux]: Use it.
8818 2002-11-29  Kazu Hirata  <kazu@cs.umass.edu>
8820         * config/h8300/h8300.md (movsi_h8300hs): Change the order of
8821         alternatives to correct the length when the memory operand is
8822         either pre_dec or post_inc.
8824 2002-11-29  Kazu Hirata  <kazu@cs.umass.edu>
8826         * config/h8300/h8300.md (an anonymous pattern): Give an
8827         internal name *tst_extzv_bitqi_1_n.
8828         Accept bit_operand instead of bit_memory_operand.
8829         Do not accept bit tests with the MSB.
8830         (*tst_extzv_memqi_1_n): New.
8832 Thu Nov 28 23:56:24 CET 2002  Jan Hubicka  <jh@suse.cz>
8834         * i386.c (ix86_expand_int_movcc): Add copy_rtx to avoid invalid RTX
8835         sharing when operand is SUBREG.
8837 Thu Nov 28 08:57:26 CET 2002  Jan Hubicka  <jh@suse.cz>
8839         * athlon.md (athlon-decodev): New reservation unit.
8840         (athlon-direct0): New reservation.
8841         (athlon-vector): New use athlon-decodev.
8842         (athlon-double, athlon-direct): Better model.
8843         (athlon_imul_k8): Use athlon-direct0.
8844         (athlon_movlpd_load): New insn reservation.
8846 2002-11-28  Kazu Hirata  <kazu@cs.umass.edu>
8848         * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
8849         Fix a comment typo.
8850         (h8300_tiny_constant_address_p): Likewise.
8852 2002-11-28  Michael Matz  <matz@suse.de>
8854         * doc/passes.texi: Mention the other register allocator.
8856 2002-11-28  Kazu Hirata  <kazu@cs.umass.edu>
8858         * config/h8300/h8300.md (6 new peephole2 patterns): New.
8860 2002-11-28  Jakub Jelinek  <jakub@redhat.com>
8862         * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
8863         * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
8864         * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define.
8866 2002-11-28  Kazu Hirata  <kazu@cs.umass.edu>
8868         * config/h8300/h8300.c (h8300_and_costs): New.
8869         * config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs.
8870         * config/h8300/h8300-protos.h: Add a prototype for
8871         h8300_and_costs.
8873 Wed Nov 27 20:34:13 CET 2002  Jan Hubicka  <jh@suse.cz>
8875         * i386.c (x86_sse_partial_regs_for_cvtsd2ss): New.
8876         * i386.h (x86_sse_partial_regs_for_cvtsd2ss): Declare.
8877         (TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS): New macro.
8878         * i386.md (truncdfsf patterns and splitters): Use
8879         TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS
8881 2002-11-27  Zack Weinberg  <zack@codesourcery.com>
8883         * config/rs6000/rs6000.c (altivec_init_builtins): Make the
8884         pointer argument in the prototypes of the following builtins
8885         be (const TYPE *) rather than (TYPE *):
8886          + __builtin_altivec_ld_internal_4sf
8887          + __builtin_altivec_ld_internal_4si
8888          + __builtin_altivec_ld_internal_8hi
8889          + __builtin_altivec_ld_internal_16qi
8890          + __builtin_altivec_lvsl
8891          + __builtin_altivec_lvsr
8892          + __builtin_altivec_lvebx
8893          + __builtin_altivec_lvehx
8894          + __builtin_altivec_lvewx
8895          + __builtin_altivec_lvxl
8896          + __builtin_altivec_lvx
8897          + __builtin_altivec_dst
8898          + __builtin_altivec_dstt
8899          + __builtin_altivec_dstst
8900          + __builtin_altivec_dststt
8902 2002-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8904         * except.c (default_exception_section): Move variable into the
8905         scope where it is used.
8907 2002-11-27  Krister Walfridsson  <cato@df.lth.se>
8909         * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
8910         correct version.
8912 2002-11-27  Kazu Hirata  <kazu@cs.umass.edu>
8914         * config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
8916 2002-11-27  Kazu Hirata  <kazu@cs.umass.edu>
8918         * config/h8300/h8300.c (h8300_shift_costs): New.
8919         * config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
8920         * config/h8300/h8300-protos.h: Add a prototype for
8921         h8300_shift_costs.
8923 2002-11-27  Jim Wilson  <wilson@redhat.com>
8925         * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
8926         in output template.
8928 2002-11-27  Casper S. Hornstrup  <chorns@users.sourceforge.net>
8930         * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
8931         * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
8932         DLL_IMPORT_EXPORT_PREFIX, not '@'.
8933         (i386_pe_dllimport_name_p): Likewise.
8934         (i386_pe_mark_dllexport): Likewise.
8935         (i386_pe_mark_dllimport): Likewise.
8936         (i386_pe_encode_section_info): Likewise.
8937         (i386_pe_strip_name_encoding): Likewise.
8939 2002-11-27  Richard Henderson  <rth@redhat.com>
8941         * mkmap-symver.awk (BEGIN): Set sawsymbol false.
8942         (nm && NF == 3): Set sawsymbol true.
8943         (END): Exit if no symbols seen.
8944         (output): Fix map syntax error if no globals for the version.
8946 Wed Nov 27 14:45:46 CET 2002  Jan Hubicka  <jh@suse.cz>
8948         * builtins.def (DEF_C99_BUILTIN): Fix.
8950 2002-11-26  Kaz Kojima  <kkojima@gcc.gnu.org>
8952         * config/sh/lib1funcs.asm (FUNC, ENDFUNC0, ENDFUNC): New macros.
8953         (all): Add .size and .type information.
8955 Tue Nov 26 22:43:50 CET 2002  Jan Hubicka  <jh@suse.cz>
8957         * i386.c (ix86_expand_int_movcc):  Do not emit lea for short mode on
8958         partial_reg_stall target.
8960 Tue Nov 26 22:27:47 CET 2002  Jan Hubicka  <jh@suse.cz>
8962         * i386.md (movhicc): Allow general operand.
8963         (movqicc): New expander.
8964         (movqicc_noc): New pattern.
8965         * i386.c (ix86_expand_carry_flag_compare): New function.
8966         (ix86_expand_int_movcc): Optimize harder using sbb; support more
8967         HImode conversion; support QImode conditional moves
8969 Tue Nov 26 16:30:59 CET 2002  Jan Hubicka  <jh@suse.cz>
8971         * i386.c (FAST_PROLOGUE_INSN_COUNT): Set to 20.
8972         (ix86_expand_prologue): Multiply the count by amount of registers to be
8973         pushed.
8975 Tue Nov 26 15:55:27 CET 2002  Jan Hubicka  <jh@suse.cz>
8977         * i386.c (override_options): Error about wrong -mcpu on x86-64
8978         compilation.
8980 2002-11-26  NIIBE Yutaka  <gniibe@m17n.org>
8982         * config/sh/linux.h (FUNCTION_PROFILER): Implemented.
8984 Tue Nov 26 00:14:20 CET 2002  Jan Hubicka  <jh@suse.cz>
8986         * i386-protos.h (x86_extended_QIreg_mentioned_p,
8987         x86_extended_reg_mentioned_p): Declare.
8988         * i386.c (extended_reg_mentioned_1): New static function.
8989         (x86_extended_QIreg_mentioned_p,
8990         x86_extended_reg_mentioned_p): New global functions.
8991         * i386.h (REX_SSE_REGNO_P): New macro.
8992         * i386.md (prefix_rex): New attribute.
8993         (length attribute): Add rex.
8995 2002-11-26  Andrew Haley  <aph@redhat.com>
8997         * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
8998         from_Unwind_Find_Enclosing_Function.
8999         * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
9000         * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
9001         * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
9002         _Unwind_Find_Enclosing_Function, export @@GCC_3.3.
9003         * unwind.h (_Unwind_FindEnclosingFunction): Add.
9005 2002-11-26  Hartmut Penner  <hpenner@de.ibm.com>
9007         * config/s390/s390.c (390_output_constant_pool): Set alignment
9008         before label in 64 bit mode, behind otherwise.
9010 2002-11-26  Richard Henderson  <rth@redhat.com>
9012         * c-common.c (handle_visibility_attribute): Accept "default".
9013         * tree.h (enum symbol_visibility): New.
9014         (decl_visibility): Declare.
9015         * target.h (gcc_target.visibility): Take visibility arg as integer.
9016         * varasm.c (default_assemble_visibility): Likewise.
9017         (decl_visibility): New.
9018         (maybe_assemble_visibility): Use it.
9019         * output.h (default_assemble_visibility): Update prototype.
9020         * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
9021         visibility arg as integer.
9022         * doc/extend.texi: Document default visibility.
9024 2002-11-26  Kazu Hirata  <kazu@cs.umass.edu>
9026         * config/h8300/h8300.c: Adjust spacing.
9027         * config/h8300/h8300.h: Likewise.
9029 2002-11-26  Richard Henderson  <rth@redhat.com>
9031         * hooks.c (hook_bool_void_false, hook_void_tree_int,
9032         hook_void_FILEptr_constcharptr): Rename so that the return
9033         type is first.
9034         (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr,
9035         hook_bool_tree_false): New.
9036         * hooks.h: Update.
9037         * langhooks-def.h: Update for renames.
9038         * target-def.h: Likewise.
9039         * tree.c (default_comp_type_attributes,
9040         default_set_default_type_attributes, default_insert_attributes,
9041         default_function_attribute_inlinable_p,
9042         default_ms_bitfield_layout_p): Remove.
9043         * tree.h: Update.
9045 2002-11-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9047         * pa-protos.h (function_value): New prototype.
9048         * pa.c (function_value): Use a PARALLEL to return small aggregates on
9049         TARGET_64BIT.
9050         * pa.h (FUNCTION_VALUE): Use function_value.
9051         * pa.md (call_value_internal_symref, call_value_internal_reg_64bit,
9052         call_value_internal_reg, sibcall_value_internal_symref,
9053         sibcall_value_internal_symref_64bit): Remove =rf constraint on return
9054         value.
9056 2002-11-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9058         * expr.c (gen_group_rtx, emit_group_move): New functions.
9059         * expr.h (gen_group_rtx, emit_group_move): Prototype.
9060         * function.c (expand_function_start): Use gen_group_rtx to create a
9061         PARALLEL rtx to hold the return value when the real return rtx is a
9062         PARALLEL.
9063         (expand_function_end): Use emit_group_move to move the return value
9064         from a PARALLEL to the real return registers.
9065         * rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
9066         in PARALLELs.
9068 2002-11-26  Jason Thorpe  <thorpej@wasabisystems.com>
9070         * config/t-libc-ok: Fix typo.
9072 2002-11-26  Jakub Jelinek  <jakub@redhat.com>
9074         * configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back
9075         before AC_PROG_CC.
9076         * configure: Rebuilt.
9078 2002-11-26  Nathan Sidwell  <nathan@codesourcery.com>
9080         * c-decl.c: (start_struct): Commonize flag setting.
9082 2002-11-26  Jason Thorpe  <thorpej@wasabisystems.com>
9084         * config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
9085         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use
9086         RS6000_CPU_CPP_ENDIAN_BUILTINS.
9087         * config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine.
9089 2002-11-26  Hartmut Penner  <hpenner@de.ibm.com>
9091         * config/s390/s390.md (literal_pool_64, literal_pool_31 ): New
9092         insns.
9093         * config/s390/s390.c (struct machine_function): Introduction of
9094         struct machine_function.
9095         (s390_output_symbolic_const): Use of cfun.
9096         (s390_optimize_prolog): Likewise.
9097         (s390_fixup_clobbered_return_reg): Likewise.
9098         (s390_frame_info): Likewise.
9099         (s390_emit_prologue, s390_emit_epilogue): Likewise.
9100         (s390_init_machine_status): New function.
9101         (override_options): call s390_init_machine_status.
9102         * config/s390/s390-protos.h (s390_output_constant_pool): Changed
9103         prototype.
9105 2002-11-26  Jakub Jelinek  <jakub@redhat.com>
9107         * varasm.c (output_constant_pool): For pool constants in mergeable
9108         section ensure each constant is padded to multiple of entity size.
9110 2002-11-26  Jakub Jelinek  <jakub@redhat.com>
9112         * varasm.c (default_exception_section): Move to...
9113         * except.c (default_exception_section): ... here. Make
9114         .gcc_except_table read-only if it is not expected to have any
9115         dynamic relocations and linker handles it.
9116         * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
9117         if it is not expected to have any dynamic relocations and linker
9118         handles it.
9119         * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
9120         when linking read-only and read-write sections together.
9121         * configure, config.in: Rebuilt.
9122         * crtstuff.c (EH_FRAME_SECTION_CONST): Define.
9123         (__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
9125 Mon Nov 25 18:32:37 CET 2002  Jan Hubicka  <jh@suse.cz>
9127         * i386.md (pushsf_rex64): Fix typo.
9129 2002-11-25  Aldy Hernandez  <aldyh@redhat.com>
9131         * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
9132         new function.
9133         (__ev_create_ufix32_fs): Same.
9134         (__ev_get_sfix32_fs_internal): New.
9135         (__ev_get_sfix32_fs): Define to use function.
9136         (__ev_get_ufix32_fs_internal): New.
9137         (__ev_get_ufix32_fs): Define to use function.
9138         (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
9139         (__ev_get_lower_ufix32_fs): Same.
9140         (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
9141         (__ev_get_lower_sfix32_fs): Same.
9142         (__ev_set_sfix32_fs_internal): New.
9143         (__ev_set_ufix32_fs_internal): New.
9144         (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
9145         (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
9146         (__ev_set_upper_sfix32_fs): Call function.
9147         (__ev_set_lower_sfix32_fs): Same.
9148         (__ev_set_upper_ufix32_fs): Same.
9149         (__ev_set_lower_ufix32_fs): Same.
9151 2002-11-25  Douglas B Rupp  <rupp@gnat.com>
9153         * gcc.c (do_spec_1): Reset delete_this_arg to zero.
9155 2002-11-25  Jason Thorpe  <thorpej@wasabisystems.com>
9157         * config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
9158         * config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
9159         * config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
9160         * config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
9161         * config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
9162         * config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
9163         * config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
9164         * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
9165         * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
9166         * config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
9167         * config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
9168         * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
9169         * config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
9170         * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
9171         * config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
9172         * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
9173         * config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
9174         * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
9175         * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
9176         * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
9177         * config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
9178         * config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
9179         * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
9180         * config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
9181         defining.
9182         * config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
9183         * config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.
9185 2002-11-25  Dave Pitts  <dpitts@cozx.com>
9187         * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list
9189 2002-11-25  Kazu Hirata  <kazu@cs.umass.edu>
9191         * config/h8300/h8300.md (an anonymous pattern): New.
9193 2002-11-25  Richard Henderson  <rth@redhat.com>
9195         * alias.c (find_base_value): Use new_reg_base_value if it's live.
9196         (copying_arguments): Make boolean.
9198 2002-11-25  Jason Thorpe  <thorpej@wasabisystems.com>
9200         * gcc.c (static_spec_functions): Add if-exists-else spec
9201         function.
9202         (if_exists_else_spec_function): New function.
9203         * doc/invoke.texi: Document the if-exists-else spec function.
9205         * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
9206         "%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".
9208 2002-11-25  Jason Thorpe  <thorpej@wasabisystems.com>
9210         * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
9211         "netbsd.h netbsd-elf.h" in tm_file.  Set tmake_file to
9212         "${tmake_file} rs6000/t-netbsd".
9213         * config/rs6000/netbsd.h: Rewrite.
9214         * config/rs6000/t-netbsd: New file.
9216 2002-11-25  Kazu Hirata  <kazu@cs.umass.edu>
9218         * config/h8300/h8300.md (an anonymous pattern): Relax the
9219         condition for the pattern.
9221 2002-11-25  Aldy Hernandez  <aldyh@redhat.com>
9223         * config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf,
9224         evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw,
9225         evmwlssfanw, evmwlsmfanw.
9227         * config/rs6000/rs6000.c (bdesc_2arg): Same.
9229         * config/rs6000/spe.md: Same for patterns.
9231 2002-11-25  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
9233         PR c/8639
9234         * fold-const.c (extract_muldiv): Don't propagate division unless
9235         both arguments are multiples of C.
9237 2002-11-25  Andrew Haley  <aph@redhat.com>
9239         * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
9240         * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
9241         * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
9242         * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
9244 Sun Nov 24 10:38:04 CET 2002  Jan Hubicka  <jh@suse.cz>
9246         * i386.c (x86_use_ffreep): New global variable.
9247         * i386.h (x86_use_frfeep): Declare
9248         (TARGET_USE_FFREEP): New macro
9249         * i386.md  (movs?f*): Use freep when asked for.
9250         (push?f): Remove dead code.
9252 2002-11-24  Kazu Hirata  <kazu@cs.umass.edu>
9254         * config/h8300/h8300.c (h8300_init_once): Fix a typo in the
9255         target help message.
9257 2002-11-24  Jason Thorpe  <thorpej@wasabisystems.com>
9259         * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
9260         extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
9261         crtbeginT.o".
9262         (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
9263         (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
9264         to "" for a.out configurations.
9265         * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".
9267 2002-11-24  Jason Thorpe  <thorpej@wasabisystems.com>
9269         * config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
9270         NETBSD_CPP_SPEC directly.
9271         (SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec.  Add
9272         netbsd_endfile_spec.
9273         (ENDFILE_SPEC): Use %(netbsd_endfile_spec).
9275 2002-11-24  Jason Thorpe  <thorpej@wasabisystems.com>
9277         * config/netbsd-elf.h (STARTFILE_SPEC): Rename to
9278         NETBSD_STARTFILE_SPEC.
9279         (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
9280         (ENDFILE_SPEC): Likewise.
9281         * config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.
9283 2002-11-24  Andreas Schwab  <schwab@suse.de>
9285         * Makefile.in (install-driver): Remove versioned link before
9286         trying to create it.
9288         * config/m68k/m68k.c: Fix typo in last change defining
9289         TARGET_ASM_CAN_OUTPUT_MI_THUNK.
9291 2002-11-23  H.J. Lu <hjl@gnu.org>
9293         * aclocal.m4: Include ../config/accross.m4.
9294         (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
9295         (gcc_AC_C_COMPILE_ENDIAN): Removed.
9296         (gcc_AC_C_FLOAT_FORMAT): Check $ac_cv_c_bigendian
9297         instead of $ac_cv_c_compile_endian.
9299         * configure.in: Replace gcc_AC_COMPILE_CHECK_SIZEOF with
9300         AC_COMPILE_CHECK_SIZEOF.
9301         Replace gcc_AC_C_COMPILE_ENDIAN with AC_C_BIGENDIAN_CROSS.
9302         * configure: Rebuild.
9304 2002-11-23  Kazu Hirata  <kazu@cs.umass.edu>
9306         * config/h8300/h8300.c (print_operand): Update the use of
9307         h8300_tiny_constant_address_p.
9308         (h8300_adjust_insn_length): Likewise.
9309         (h8300_tiny_constant_address_p): Check if the given rtx is a
9310         variable declared with __attribute__ ((tiny_data)).
9312 2002-11-22  Dale Johannesen  <dalej@apple.com>
9314         * toplev.c (rest_of_compilation):  Fix comments.
9316 2002-11-22  Geoffrey Keating  <geoffk@apple.com>
9318         * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
9319         allow mmap from /dev/zero.  Don't make decisions for the host
9320         based on presence or absence of /dev/zero on the build machine.
9321         (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON.
9322         (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file.
9323         * configure: Regenerate.
9325 2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
9327         * gcc.c (make_relative_prefix, split_directories)
9328         (free_split_directories): Removed.
9330 2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
9332         * configure.in: Set insn=nop for DWARF-2 tests on ARM.
9333         * configure: Regenerated.
9335 2002-11-22  Kazu Hirata  <kazu@cs.umass.edu>
9337         * config/h8300/h8300.c (compute_a_shift_length): Fix the insn
9338         length computation when xor.l is output.
9340 2002-11-21  Douglas B Rupp  <rupp@gnat.com>
9342         * alpha.md (movstrdi, clrstrdi): New VMS patterns.
9343         (call_vms_1, call_value_vms_1): Cleanup syntax.
9345 Thu Nov 21 19:20:27 CET 2002  Jan Hubicka  <jh@suse.cz>
9347         * athlon.md (define_atuomaton): Add athlon_load.
9348         (athlon-double): New reservation.
9349         (athlon-ieu0): New CPU unit.
9350         (athlon-load?): Use athlon_load automaton.
9351         (*_k8 reservations): New.
9352         (other insn revervations): Activate for K8.
9354 Thu Nov 21 15:07:42 CET 2002  Jan Hubicka  <jh@suse.cz>
9356         * cfgrtl.c (verify_flow_info):  Accept EDGE_CAN_FALLTHRU flag.
9358 2002-11-21  Jim Wilson  <wilson@redhat.com>
9360         * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
9361         vectors to SI.
9363 2002-11-21  Bob Wilson  <bob.wilson@acm.org>
9365         * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
9366         * config/xtensa/xtensa.c (struct machine_function): Add
9367         incoming_a7_copied flag.
9368         (xtensa_copy_incoming_a7): Define.
9369         (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
9370         * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.
9372 Thu Nov 21 23:52:04 CET 2002  Jan Hubicka  <jH@suse.cz>
9374         * i386-protos.h (x86_64_sign_extended_value): Fix prototype.
9375         * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
9376         x86_64_nonmemory_operand, x86_64_movabs_operand,
9377         x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
9378         ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
9379         (local_symbolic_operand): Do not care the 64bit limits.
9380         (x86_64_sign_extended_value): Remove allow_rip support.
9381         (legitimate_pic_address_disp_p): Handle all cases allowed
9382         with RIP addressing.
9383         (legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
9384         (legitimize_pic_address): Reorganize.
9385         * i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.
9387 2002-11-21  Jason Thorpe  <thorpej@wasabisystems.com>
9389         * config.gcc (arm*-*-netbsdelf*): Enable configuration.
9390         * config/arm/netbsd-elf.h: New file.
9392 2002-11-21  Jason Thorpe  <thorpej@wasabisystems.com>
9394         * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
9395         subtarget_asm_float_spec.
9396         (SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
9397         defaults from...
9398         (ASM_SPEC): ...here.  Use subtarget_asm_float_spec.
9400 2002-11-21  Nick Clifton  <nickc@redhat.com>
9402         * config/fr30/fr30.md (movsf_constant_store): Move code to
9403         detect 0.0 into fr30.c.
9404         * config/fr30/fr30-protos.h (fr30_const_double_is_zero):
9405         Prototype.
9406         * config/fr30/fr30.c (fr30_const_double_is_zero): New
9407         function.  Return true if the rtx is 0.0.
9409 2002-11-21  Jason Thorpe  <thorpej@wasabisystems.com>
9411         * config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
9412         if -mlittle-endian is specified.
9414 2002-11-21  Richard Earnshaw  <rearnsha@arm.com>
9416         PR optimization/2903
9417         * arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
9418         (anddi_notsesidi_di): Likewise.
9420 2002-11-21  Kazu Hirata  <kazu@cs.umass.edu>
9422         * config/h8300/h8300.c (print_operand): Use
9423         h8300_eightbit_constant_address_p and
9424         h8300_tiny_constant_address_p.
9425         (h8300_adjust_insn_length): Likewise.
9426         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove.
9427         (TINY_CONSTANT_ADDRESS_P): Likewise.
9428         (OK_FOR_U): Use eightbit_constant_address_p.
9430 2002-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
9432         * config/s390/libgcc-libc.ver: Add multilib support.
9433         * config/s390/linux.h (MULTILIB_DEFAULT): Define.
9434         * config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
9435         MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC,
9436         EXTRA_MULTILIB_PARTS): Define.
9438 2002-11-21  Richard Earnshaw  <rearnsha@arm.com>
9440         * arm.c (arm_get_frame_size): A leaf function does not need its
9441         stack padding to an aligned boundary if it has no frame.
9442         (thumb_get_frame_size): Likewise.
9444 Wed Nov 20 22:25:53 CET 2002  Jan Hubicka  <jh@suse.cz>
9446         * x86-64.h (MCOUNT_NAME): Fix typo in my previous patch.
9447         (override_options): Likewise.
9449 Wed Nov 20 19:07:17 CET 2002  Jan Hubicka  <jh@suse.cz>
9451         * config.gcc: Add k8 target alias support
9452         * i386.c (_cost): Declare costs for various variants of divides and
9453         multiplies.
9454         (k8_cost): New.
9455         (m_K8, m_ATHLON_K8): New macros.
9456         (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen,
9457         x86_cmove, x86_3dnow_a, x86_deep_branch, x86_use_fiop,
9458         x86_promote_QImode, x86_sub_esp_?, x86_add_esp_?,
9459         x86_integer_DFmode_moves, x86_partial_reg_dependency,
9460         x86_memory_mismatch_stall, x86_accumulate_outgoing_args,
9461         x86_prologue_using_move, x86_epilogue_using_move,
9462         x86_arch_always_fancy_math_387, x86_sse_partial_regs,
9463         x86_sse_typeless_stores): Set for K8
9464         (override_options): Add k8 support; fix athlon alignment;
9465         complain about non-x86-64 capable CPU being used in x86-64 compilation.
9466         (ix86_issue_rate): Set for K8.
9467         (ix86_adjust_cost, ia32_use_dfa_pipeline_interface,
9468         x86_machine_dependent_reorg): Handle K8 like
9469         * i386.h
9470         (x86_costs):  Change mult_init and divide into array.
9471         (TARGET_K8, TARGET_ATHLON): New macros.
9472         (MODE_INDEX): New macro.
9473         (RTX_COST): Use new costs.
9474         (TARGET_CPU_CPP_BUILTINS):  Define __k8__ and __tune_k8__.
9475         (TARGET_CPU_DEFAULT_NAMES): Add k8
9476         (TARGET_CPU_DEFAULT_k8): New constant
9477         (enum processor_type): Add PROCESSOR_K8.
9478         * i386.md (cpu attribute): Add k8.
9480         * invoke.texi: Document -march=k8.
9482         * i386.md (type attribute): Add leave
9483         (mode attribute): Remove unknownfp.
9484         (length_immediate, modrm, memory attributes): Handle leave correctly.
9485         (fp comparison patterns): Determine FP mode.
9486         (leave, leave_rex64): Remove special cases.
9487         * ppro.md (ppro_uops, ppro_p2): Add leave
9488         * pentiun.md (pent_pop): Handle leave too.
9489         * k6.md (k6_load): Handle leave.
9490         * athlon.md (athlon_leave, athlon_pop): Fix.
9491         (athlon_decode): Handle leave.
9493 2002-11-20  Steve Ellcey  <sje@cup.hp.com>
9495         * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
9496         to component type using GET_MODE_INNER.
9497         * expr.c (emit_move_insn_1): Ditto.
9498         * optabs.c (expand_binop): Ditto.
9499         (expand_unop): Ditto.
9500         (expand_complex_abs): Ditto.
9502 2002-11-20  Douglas B Rupp  <rupp@gnat.com>
9504         * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
9506 2002-11-20  DJ Delorie  <dj@redhat.com>
9508         * config/stormy16/stormy16.c (s16builtins,
9509         xstormy16_init_builtins, xstormy16_expand_builtin): New.
9510         * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
9512 2002-11-20  Hans-Peter Nilsson  <hp@bitrange.com>
9514         * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
9515         (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
9516         (executing gencheck, genconfigs, genconditions, genflags,
9517         gencodes, genconstants, genemit, genrecog, genopinit, genextract,
9518         genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
9519         gengtype, genprotos): Prepend $(RUN_GEN).
9520         * configure.in: Move host compiler tests before --enable-checking
9521         tests.
9522         (--enable-checking=valgrind): New.
9523         * config.in, configure: Regenerate.
9524         * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
9525         Define as empty.
9526         (read_include_file): When doing the mmap+1 trick,
9527         valgrind-annotate the byte after the mmap:ed area as readable.
9528         (purge_cache): Remove above annotation.
9529         * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
9530         VALGRIND_PATH -q to each command.
9532         * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
9533         Define as empty.
9534         (ggc_realloc): Update valgrind annotations.
9535         * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
9536         Define as empty.
9537         (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
9538         valgrind-annotate memory.
9540 2002-11-20  Ulrich Weigand  <uweigand@de.ibm.com>
9542         * recog.c (constrain_operands): Prefer exact match over reloadable
9543         EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.
9545         * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
9546         operands in Pmode.
9548 2002-11-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
9550         PR c/8518
9551         * c-decl.c (duplicate_decls): Outline the second definition
9552         of an extern inline function in all cases.
9554 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
9556         * stor-layout.c (place_field): Update rli->offset as well as
9557         rli->bitpos.
9559 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
9561         * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
9563 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
9565         * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
9566         into a libcall block.
9567         (divsi3): Likewise divsi3_i4_media.
9569 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
9571         * global.c (find_reg): Check HARD_REGNO_NREGS before kicking
9572         out another register.
9574 2002-11-20  Jakub Jelinek  <jakub@redhat.com>
9576         * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
9577         (not just mask) are set in C.
9579 2002-11-19  Steven Bosscher <steven.bosscher@usafa.af.mil>
9581         * config/mips/vr.h (DRIVER_SELF_SPECS): Change %{<mgp32} to %<mgp32.
9583 2002-11-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
9585         * profile.c (index_counts_file): Fix obvious mistake.
9587 2002-11-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
9589         * Makefile.in (profile.o): Add hashtab.h dependency.
9590         * gcov-io.h (GCOV_SUMMARY_LENGTH): New.
9591         * profile.c: Include hashtab.h.
9592         (htab_counts_index_hash, htab_counts_index_eq, htab_counts_index_del,
9593         cleanup_counts_index, index_counts_file, struct section_reference,
9594         struct da_index_entry, counts_file_name, counts_file_index): New.
9595         (get_exec_counts, init_branch_prob): Modified.
9597 2002-11-19  Kaz Kojima  <kkojima@gcc.gnu.org>
9599         * config.gcc (sh*-*-linux*): Add t-slibgcc-elf-ver and t-linux
9600         to tmake_file. Remove setting gas and gnu_ld here.
9601         * config/sh/libgcc-glibc.ver: New file.
9602         * config/sh/t-linux (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
9603         (SHLIB_MAPFILES): New.
9604         * config/sh/linux.h (MD_EXEC_PREFIX): Undefine.
9605         (MD_STARTFILE_PREFIX): Likewise.
9606         (HANDLE_PRAGMA_PACK_PACK_PUSH_POP): Define.
9607         (DWARF2_UNWIND_INFO): Redefine.
9608         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9609         (LINK_EH_SPEC): Redefine.
9610         (MD_FALLBACK_FRAME_STATE_FOR): Define except for SH-media.
9611         (SH_FALLBACK_FRAME_FLOAT_STATE): Define.
9612         (SH_DWARF_FRAME_GP0, SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_XD0,
9613         SH_DWARF_FRAME_BT0, SH_DWARF_FRAME_PR, SH_DWARF_FRAME_PR_MEDIA,
9614         SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_MACL,
9615         SH_DWARF_FRAME_PC, SH_DWARF_FRAME_SR, SH_DWARF_FRAME_FPUL,
9616         SH_DWARF_FRAME_FPSCR): Likewise.
9617         * config/sh/sh-protos.h (sh_set_return_address): Declare.
9618         * config/sh/sh.c (calc_live_regs): Count EH_RETURN_DATA_REGNO
9619         registers if the current function calls EH return.
9620         (sh_expand_epilogue): Handle EH stack adjustments.
9621         (sh_set_return_address): New function.
9622         * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
9623         Don't abort even if the number is mapped to -1.
9624         (EH_RETURN_DATA_REGNO): Define.
9625         (EH_RETURN_STACKADJ_RTX): Define.
9626         * config/sh/sh.md (UNSPEC_EH_RETURN): New.
9627         (eh_return): New pattern.
9628         (eh_set_ra_di, eh_set_ra_si): Likewise.
9629         Add splitter to perform EH return after reload.
9631 Tue Nov 19 12:52:07 2002  J"orn Rennecke <joern.rennecke@superh.com>
9633         * stor-layout.c (excess_unit_span): New function.
9634         (place_field): Use it.
9636 2002-11-19  Andreas Schwab  <schwab@suse.de>
9638         * unwind.h (_Unwind_GetTextRelBase): Revert last change, this is
9639         not valid in C++.
9641 2002-11-19  Nathanael Nerode  <neroden@gcc.gnu.org>
9643         * configure.in, Makefile.in: Correct BUILD/HOST confusion.
9644         * configure: Regenerate.
9646 Tue Nov 19 00:11:44 CET 2002  Jan Hubicka  <jh@suse.cz>
9648         * convert.c (strip_float_extensions): New function.
9649         (convert_to_real): Optimize some cases.
9651 2002-11-19  Andreas Jaeger  <aj@suse.de>
9653         * loop.c (record_giv): Initialize not_replaceable.
9654         (check_final_value): Likewise.
9656 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
9658         * config/h8300/h8300.c (h8300_init_once): Replace 1 with
9659         MASK_H8300S.
9661 2002-11-19  Vijay L. Khuspe  <vijayk1@kpit.com>
9663         * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
9664         only if -mh or -ms present.
9665         (h8300_eightbit_constant_address_p): Support the normal mode.
9666         (h8300_tiny_constant_address_p): Likewise.
9667         * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
9668         (POINTER_SIZE): Add 16 bit pointer for the normal mode.
9669         (Pmode): Evaluate to HImode for the normal mode.
9670         (SIZE_TYPE): Evaluate to unsigned int for normal mode.
9671         (PTRDIFF_TYPE): Evaluate to int for the normal mode.
9672         (ASM_WORD_OP): Evaluate to word for the normal mode.
9673         * config/h8300/h8300.md (tablejump_normal_mode): New.
9674         (indirect_jump_normal_mode): New.
9675         * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
9676         directory.
9677         (MULTILIB_DIRNAMES): Create target dependent directory
9678         'normal'.
9679         (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
9680         * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
9682 Tue Nov 19 23:50:56 CET 2002  Jan Hubicka  <jh@suse.cz>
9684         * i386.md (length_immediate): Do not refer to insn address.
9685         (jcc*, jmp patterns):  Compute length explicitly.
9687 2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
9689         PR c/8588
9690         * optabs.c (expand_binop): Convert CONST_INTs in shift
9691         operations too.
9693 2002-11-19  Roger Sayle  <roger@eyesopen.com>
9695         * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
9697 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
9699         * config/h8300/h8300.md (an anonymous pattern): Relax the
9700         condition to accept the same operands and/or subregs.
9702 2002-11-19  Daniel Jacobowitz  <drow@mvista.com>
9704         * config/sh/sh.c (gen_shl_and): Revert previous patch.
9705         * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
9706         reload_completed.
9708 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
9710         * config/h8300/h8300.c (print_operand): Update the use of
9711         EIGHTBIT_CONSTANT_ADDRESS_P.
9712         (h8300_adjust_insn_length): Likewise.
9713         (h8300_eightbit_constant_address_p): Check if the given rtx is
9714         a variable with __attribute__((eightbit_data)).
9715         * config/h8300/h8300.h (OK_FOR_U): Update the use of
9716         EIGHTBIT_CONSTANT_ADDRESS_P.
9718 2002-11-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9720         * doc/contrib.texi (Contributors): Add self as second contact in
9721         addition to Jeff Law.
9723 2002-11-19  Andreas Jaeger  <aj@suse.de>
9725         * tree-inline.c: Move prototpyes of find_alloca_call_1 and
9726         find_alloca_call to right place.
9728 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
9730         * cppfiles.c: Fix formatting.
9732 2002-11-19  Jason Thorpe  <thorpej@wasabisystems.com>
9734         * gcc.c (The Specs Language): Document spec functions.
9735         (static_spec_functions, lookup_spec_function)
9736         (eval_spec_function, handle_spec_function)
9737         (if_exists_spec_function, alloc_args): New.
9738         (execute): Abort if processing_spec_function is true.
9739         (do_spec_1): Hand off spec to handle_spec_function if %:
9740         is encountered.  If processing_spec_function is true,
9741         end any pending argument when the end of the string is reached.
9742         (main): Use alloc_args to allocate the initial argument vector.
9743         * gcc.h (struct spec_function): New.
9744         (lang_specific_spec_functions): New extern.
9746         * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
9747         (ENDFILE_SPEC): Add if-exists(crtn%O%s).
9748         * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
9750         * doc/invoke.texi: Document spec functions.
9752         * cppspec.c (lang_specific_spec_functions): New.
9753         * gccspec.c: Likewise.
9755 2002-11-18  Steve Ellcey  <sje@cup.hp.com>
9757         * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
9758         (FIXUNS_TRUNCTFDI2_LIBCALL): New.
9759         (fixunstfsi_libfunc): Change.
9760         (fixunstfdi_libfunc): Change.
9761         (sdiv_optab): Don't zero out SImode handler.
9762         (udiv_optab): Don't zero out SImode handler.
9763         (smod_optab): Don't zero out SImode handler.
9764         (umod_optab): Don't zero out SImode handler.
9766 2002-11-18  Neil Booth  <neil@daikokuya.co.uk>
9768         PR preprocessor/8524
9769         * cpplib.c (run_directive): Remove previous kludge to _Pragma.
9770         Add a new one in its place, which hopefully works.
9771         (skip_rest_of_line): Change test for bottom-of-context-stack.
9773 Mon Nov 18 21:29:03 CET 2002  Jan Hubicka  <jh@suse.cz>
9775         * i386.md (addqi_1_slp): Fix output template.
9776         (subqi_1_slp): Fix type.
9778 Sun Nov 17 00:01:28 CET 2002  Jan Hubicka  <jh@suse.cz>
9780         * calls.c (alloca_call_p): New global function.
9781         * tree.h (alloca_call_p): New.
9782         * tree-inline.c (inlinable_function_p):  Do not inline when
9783         function calls alloca.
9784         (find_alloca_call, find_alloca_call_1): New functions.
9786 2002-11-18  Kazu Hirata  <kazu@cs.umass.edu>
9788         * config/h8300/h8300.md (*andorqi3): Use bor between bld and
9789         bst.  Update the insn length.
9790         (*andorhi3): Likewise.
9791         (*andorsi3): Likewise.
9793 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
9795         * config/sh/sh-protos.h (sh_mark_label): Declare.
9796         * config/sh/sh.c (sh_mark_label): New function, taken from
9797         movdi_const, but fixing the case when the address has an addend.
9798         * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
9800 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
9802         * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
9803         (add_constant): Set it.
9804         (dump_table): Don't reorder a constant if part_of_sequence_p.
9805         (machine_dependent_reorg): Assume that float constants will
9806         stay in their original order if used as a sequence.
9808 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
9810         * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
9811         in compact code.
9813 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
9815         * config/sh/sh.md (initialize_trampoline): Do not force the
9816         trampoline address into R0_REGS here.
9818 Sun Nov 17 14:01:09 CET 2002  Jan Hubicka  <jh@suse.cz>
9820         * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
9821         absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
9822         (neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
9823         generate unnecesary subregs.
9825 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
9827         * df.c: Fix formatting.
9829 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
9831         * config/h8300/h8300.md (two anonymous patterns): Fix insn
9832         lengths.
9834 2002-11-17  Daniel Jacobowitz  <drow@mvista.com>
9836         * sh.c (gen_shl_and): Don't create a zero_extend if the operand
9837         is not an arith_reg_operand.
9839 2002-11-17  Graham Stott  <graham.stott@btinternet.com>
9841         * real.c (real_to_decimal): Fix buffer overrun when buffer size
9842         is smaller than representation.
9844 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
9846         * builtins.c: Fix formatting.
9848 Sat Nov 16 16:49:58 CET 2002  Jan Hubicka  <jh@suse.cz>
9850         * i386.md (truncdfsf2_1_sse, truncdfsf2_1_sse_nooverlap, truncdfsf2_2,
9851         floats?dff2_i387):
9852         Work around regclass stupidity.
9853         (truncdfsf_2_1_sse splitter):  Accept !TARGET_PARTIAL_SSE_REGS
9855 Sat Nov 16 02:17:48 CET 2002  Jan Hubicka  <jh@suse.cz>
9857         * i386.md (fop_df_6): New pattern.
9858         (fop_xf_4, fop_xf_5): Handle both SF and DFmode extensions.
9859         (fop_xf_6): Rewrite
9860         (fop_xf_7): Delete.
9861         (fop_tf_4, fop_tf_5): Handle both SF and DFmode extensions.
9862         (fop_tf_6): Rewrite
9863         (fop_tf_7): Delete.
9865 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
9867         * config/h8300/h8300.md (two anonymous patterns): Fix typos.
9869 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
9871         * config/h8300/h8300.md: Fix formatting.
9873 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
9875         * config/h8300/h8300.md: Replace spaces with tabs.
9876         * config/h8300/t-h8300: Remove a trailing empty line.
9878 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
9880         * tlink.c: Fix formatting.
9882 2002-11-16  David Edelsohn  <edelsohn@gnu.org>
9884         PR 8362
9885         * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
9886         * config/rs6000/rs6000.md (movti_string): Remove output modifier
9887         when scratch register never needed.
9888         (ldmsi[3-8]): New patterns.
9890 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
9892         * hard-reg-set.h: Follow spelling conventions.
9893         * real.c: Likewise.
9894         * target.h: Likewise.
9896 2002-11-16  Jakub Jelinek  <jakub@redhat.com>
9898         * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
9900 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
9902         * optabs.c: Fix formatting.
9904 Sat Nov 16 02:06:02 CET 2002  Jan Hubicka  <jh@suse.cz>
9906         * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
9907         * i386.md (attribute type): Add type shift1 and rotate1.
9908         (*_slp): Rewrite to have just two operands to avoid reload problems.
9910 2002-11-15  Kazu Hirata  <kazu@cs.umass.edu>
9912         * config/h8300/h8300.md (4 anonymous patterns): New.
9914 2002-11-15  Geoffrey Keating  <geoffk@apple.com>
9916         * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
9917         * doc/invoke.texi: Correct description of what needs to be done to
9918         force collection at every ggc_collect call.
9920 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
9922         * config/s390/s390.c (optimization_options): Set
9923         flag_asynchronous_unwind_tables to 1 by default.
9925 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
9927         * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9929 Fri Nov 15 14:54:19 CET 2002  Jan Hubicka  <jh@suse.cz>
9931         * i386-protos.h (x86_function_profiler): New function
9932         * i386.h (MCOUNT_NAME): New.
9933         (PROFILE_COUNT_REGISTER): New.
9934         (FUNCTION_PROFILER): Move offline to ...
9935         * i386.c (x86_function_profiler) ... here; fix 64bit support
9936         * beos-elf.h (FUNCTION_PROFILER): Kill.
9937         (MCOUNT_NAME): New.
9938         * freebsd-aout.h (FUNCTION_PROFILER): Kill.
9939         (MCOUNT_NAME): New.
9940         (PROFILE_COUNT_REGISTER): New.
9941         * linux.h (FUNCTION_PROFILER): Kill.
9942         (MCOUNT_NAME): New.
9943         * x86-64.h (FUNCTION_PROFILER): Kill.
9944         (MCOUNT_NAME): New.
9945         * freebsd.h (FUNCTION_PROFILER): Kill.
9946         (MCOUNT_NAME): New.
9948 2002-11-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
9950         * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
9951         FUNCTION_ARG_PASS_BY_REFERENCE): Define.
9952         * config/arm/arm.c (arm_va_arg,
9953         arm_function_arg_pass_by_reference): New.
9954         * config/arm/arm-protos.h: Add prototypes.
9956 2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
9958         * gthr-single.h: Fix formatting.
9960 2002-11-14  Zack Weinberg  <zack@codesourcery.com>
9962         * tree.c (tree_vec_elt_check_failed): New function.
9963         * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
9964         (TREE_VEC_ELT): Use it.
9966         * tree-inline.c (optimize_inline_calls): Don't copy a
9967         zero-length vector.
9969 2002-11-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
9971         * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
9973 2002-11-14  Jakub Jelinek  <jakub@redhat.com>
9975         * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
9976         both operands contain local relocations.
9977         (categorize_decl_for_section): Don't use mergeable sections if
9978         initializer has any relocations.
9980 2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
9982         * gthr-vxworks.h: Fix formatting.
9984 2002-11-13  Janis Johnson  <janis187@us.ibm.com>
9986         * doc/install.texi (Testing): Document extra Java testing.
9987         * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
9989 2002-11-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9991         * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
9992         beginning of the spec.
9993         (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
9994         (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable.  Add comment
9995         regarding problems with global constructors when using GNU ld.
9997 2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
9999         * gthr-solaris.h: Fix formatting.
10001 2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
10003         * gthr-posix.h: Fix formatting.
10005 2002-11-12  Devang Patel <dpatel@apple.com>
10006         * gcc.c (display_help): Two new options -Xpreprocessor and -Xassembler.
10007         (process_command): Same.
10008         * doc/invoke.texi: Info about these two new options.
10010 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
10012         * config/h8300/h8300.md (*andorsi3): New.
10014 2002-11-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10016         * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
10018 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
10020         * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
10021         expressions appropriately.
10023 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
10025         * gthr-win32.h: Fix formatting.
10027 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
10029         * config/h8300/h8300.c (single_one_operand): Correctly compute
10030         mask when mode is SImode.
10031         (single_zero_operand): Likewise.
10032         * config/h8300/h8300.md (two new anonymous insns): New.
10034 2002-11-12  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
10036         * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
10037         to that entire project.
10039 2002-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10041         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
10042         directories.
10044 2002-11-11  Zack Weinberg  <zack@codesourcery.com>
10046         * params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
10047         * doc/invoke.texi: Document them.
10049         * ggc-page.c: Include params.h.  Remove definitions of
10050         GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED.  Replace
10051         GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
10052         (init_gcc): Don't set G.allocated_last_gc here.
10053         (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
10054         PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
10055         perform collection.
10056         * ggc-simple.c: Similarly.
10057         * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
10058         dependencies.
10060 2002-11-11  Kazu Hirata  <kazu@cs.umass.edu>
10062         * gthr-dce.h: Fix formatting.
10064 2002-11-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10066         PR c/8467
10067         * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
10068         mode of DECL_RTL case.
10070 2002-11-11  Janis Johnson  <janis187@us.ibm.com>
10072         * doc/contrib.texi: Merge in the list from the libstdc++ web pages.
10074 Mon Nov 11 12:06:08 CET 2002  Jan Hubicka  <jh@suse.cz>
10076         * i386.c (construct_container): Fix handling of SSE_CLASS.
10078 2002-11-10  Joel Sherrill <joel@gcc.gnu.org>
10080         * config/m68k/t-crtstuff (crti.o): Use this...
10081         ($(T)crti.o): ... instead.
10082         (crtn.o): Use this...
10083         ($(T)crtn.o): ... instead.
10085 2002-11-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
10087         PR c/8439
10088         * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
10089         if there is something new to be simplified.
10091 2002-11-10  H.J. Lu <hjl@gnu.org>
10093         * calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
10094         * expr.c (PUSH_ARGS_REVERSED): Likewise.
10096         * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
10098 2002-11-10  Zack Weinberg  <zack@codesourcery.com>
10100         * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
10101         * config/rs6000/linux.h, config/rs6000/linux64.h,
10102         config/rs6000/windiss.h: ... not here.
10104 2002-11-10  Jason Thorpe  <thorpej@wasabisystems.com>
10106         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
10107         __ABICALLS__ if TARGET_ABICALLS.
10109 Sun Nov 10 18:49:21 CET 2002  Jan Hubicka  <jh@suse.cz>
10111         * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
10113 2002-11-10  Joseph S. Myers  <jsm@polyomino.org.uk>
10115         * c-decl.c (grokdeclarator): Make error for duplicate type
10116         qualifiers into a pedwarn, disabled for C99.
10118 2002-11-10  Hans-Peter Nilsson  <hp@bitrange.com>
10120         * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
10121         as FUNCTION_ARG_PASS_BY_REFERENCE.
10123 2002-11-09  Zack Weinberg  <zack@codesourcery.com>
10125         * doc/install.texi: Add *-*-vxworks* specific installation
10126         instructions.
10128         * config/vxlib.c: Rewrite using generation numbers to identify
10129         valid TSD keys.
10131 Sat Nov  9 00:10:54 CET 2002  Jan Hubicka  <jh@suse.cz>
10133         * i386.c (x86_machine_dependent_reorg): Fix even more side cases.
10135 2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10137         * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
10139         * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
10140         (hppa*64*-*-hpux11*): Likewise.  Use elfos.h with gas.
10141         * pa.c (output_millicode_call): Use symbol difference rather than
10142         $PIC_pcrel$0 when using HP assembler.
10143         * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
10144         not elfos.h (i.e., gas) is being used.
10145         (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
10146         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
10147         ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
10148         ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
10149         ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
10150         using elfos.h.
10151         (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
10152         (DWARF2_ASM_LINE_DEBUG_INFO): Delete.
10153         (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
10154         using elfos.h.
10155         (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
10156         BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
10157         (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
10158         Don't define when not using elfos.h.
10159         (ASM_DECLARE_RESULT): Don't define.
10160         * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
10161         doesn't work on hppa64-hp-hpux11.
10162         (hppa*-hp-hpux11): Update.
10164 2002-11-09  Jason Thorpe  <thorpej@wasabisystems.com>
10166         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
10167         to the assembler if -mno-abicalls was specified.
10169 2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10171         * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
10172         ASM_OUTPUT_DEF): Delete.
10174 2002-11-09  Neil Booth  <neil@daikokuya.co.uk>
10176         * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
10178 2002-11-08  Roger Sayle  <roger@eyesopen.com>
10180         * real.c (real_sqrt): Update comment with bibliographic reference.
10182 Fri Nov  8 13:33:58 CET 2002  Jan Hubicka  <jh@suse.cz>
10184         * i386.md (sse_loadss, sse2_loadsd): Fix expander.
10186 Fri Nov  8 13:25:41 CET 2002  Jan Hubicka  <jh@suse.cz>
10188         * i386.c (x86_machine_dependent_reorg): Fix handling of empty functions.
10190 Fri Nov  8 13:01:42 CET 2002  Jan Hubicka  <jh@suse.cz>
10192         * builtins.c (expand_builtin_mathfn): Handle floor/ceil/trunc/round/nearbyint
10193         (expand_builtin): Likewise.
10194         * builtins.def: Add
10195         __builtin_floor, __builtin_floorf, __builtin_floorl
10196         __builtin_ceil, __builtin_ceilf, __builtin_ceill
10197         __builtin_round, __builtin_roundf, __builtin_roundl
10198         __builtin_trunc, __builtin_truncf, __builtin_truncl
10199         __builtin_nearbyint, __builtin_nearbyintf, __builtin_nearbyintl.
10200         * genopinit.c (optabs): Initialize the new optabs.
10201         * optab.c (init_optabs): Likewise.
10202         * optabs.h (optab_index): Add OTI_floor, OTI_ceil, OTI_trunc,
10203         OTI_round, OTI_nearbyint.
10204         (floor_optab, ceil_optab, trunc_optab, round_optab, nearbyint_optab): New.
10205         * doc/md.texi: Document new named patterns.
10206         * doc/extend.texi (builtin functions)  Document
10207         floor, floorf, floorl, ceil, ceilf,
10208         ceill, round, roundf, roundl, trunc,
10209         truncf, truncl, nearbyint, nearbyintf, nearbyintl.
10211 Fri Nov  8 11:36:11 CET 2002  Jan Hubicka  <jh@suse.cz>
10213         * i386.md (sse_movdfcc, sse_movsfcc): Fix typo in previous patch.
10215 2002-11-08  Dale Johannesen  <dalej@apple.com>
10217         * dbxout.c (dbxout_type):  Fix stabs info for vector types.
10219 2002-11-08  Neil Booth  <neil@daikokuya.co.uk>
10221         PR preprocessor/8497
10222         PR preprocessor/8501
10223         * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
10224         start a directive.  In assembler, #NUM is not a line directive.
10226 2002-11-08  Neil Booth  <neil@daikokuya.co.uk>
10228         * cppmain.c (cpp_preprocess_file): Loop to pop any -included
10229         buffers.
10231 2002-11-08  Kazu Hirata  <kazu@cs.umass.edu>
10233         * config/h8300/h8300.md (two anonymous test insns): New.
10235 Fri Nov  8 11:20:19 CET 2002  Jan Hubicka  <jh@suse.cz>
10237         * jump.c (mark_jump_label): Handle subregs of label_refs.
10239 Thu Nov  7 21:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
10241         * i386.md (sse_movdfcc, sse_movsfcc): Avoid overactive matching.
10242         * i386.c (ix86_expand_fp_movcc): Match the reversed cases.
10244 2002-11-07  David Mosberger  <davidm@hpl.hp.com>
10246         * config/ia64/crtend.asm: Include "auto-host.h".
10247         [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
10248         * config/ia64/crtbegin.asm: Similarly.
10249         * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
10250         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
10252         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
10253         * configure.in: Use it if --enable-initfini-array not specified.
10254         * doc/install.texi (Configuration): Document --enable-initfini-array.
10255         * configure, config.in: Rebuild.
10257 2002-11-07  Jason Thorpe  <thorpej@wasabisystems.com>
10259         * config/arm/arm-protos.h (arm_get_frame_size)
10260         (thumb_get_frame_size): New prototypes.
10261         * config/arm/arm.c (arm_get_frame_size)
10262         (thumb_get_frame_size): New functions.
10263         (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
10264         (arm_compute_initial_elimination_offset, arm_expand_prologue): Use
10265         arm_get_frame_size.
10266         (thumb_expand_prologue, thumb_expand_epilogue): Use
10267         thumb_get_frame_size.
10268         * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
10269         (machine_function): Add frame_size member.
10270         (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
10272 2002-11-07  Richard Earnshaw  <rearnsha@arm.com>
10274         * arm.c (bit_count): Make argument unsigned long.  Return unsigned.
10275         Adjust code to use portable unsigned bit manipulation.
10276         (insn_flags, tune_flags): Change type to unsigned.
10277         (struct processors): Make flags unsigned long.
10278         (arm_override_options): Change type of count and current_bit_count
10279         to unsigned.
10281 2002-11-07  Richard Earnshaw  <rearnsha@arm.com>
10283         * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
10285 Thu Nov  7 15:50:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
10287         * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
10289 Thu Nov  7 11:18:01 CET 2002  Jan Hubicka  <jh@suse.cz>
10291         * reg-stack.c (compensate_edge): Fix sanity check.
10293 2002-11-05  Geoffrey Keating  <geoffk@apple.com>
10295         * config.gcc: Don't create crtbegin, crtend on Darwin; do create
10296         crt2.o.  Rearrange t-darwin makefiles.
10297         * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
10298         * unwind-dw2-fde-darwin.c: New.
10299         * unwind-dw2-fde-glibc.c: Correct comment.
10300         * unwind-dw2-fde.c (__register_frame_info_bases)
10301         [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
10302         (classify_object_over_fdes): Use last_fde.
10303         (add_fdes): Likewise.
10304         (linear_search_fdes): Likewise.
10305         * unwind-dw2-fde.h (struct object)
10306         [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
10307         (last_fde): New.
10308         * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
10309         (ENDFILE_SPEC): No crtend.o.
10310         * config/t-darwin: New.
10311         * config/i386/t-darwin: Delete.
10312         * config/darwin-crt2.c: New.
10313         * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
10314         or config/t-darwin.
10316 2002-11-06  Douglas B Rupp  <rupp@gnat.com>
10318         * config/i386/i386-interix.h (TARGET_SUBTARGET_DEFAULT): Or
10319         MASK_MS_BITFIELD_LAYOUT
10320         (SUBTARGET_OVERRIDE_OPTIONS): Warn about and turn off
10321         MS bitfields for Objective-C.
10322         (PCC_BIT_FIELD_TYPE_TEST, GROUP_BITFIELDS_BY_ALIGN): Remove
10323         defines.
10325         * config/i386/i386.c (ix86_ms_bitfield_layout): New function.
10326         (TARGET_MS_BITFIELD_LAYOUT_P): Define to above function.
10327         (TARGET_USE_MS_BITFIELD_LAYOUT): Define.
10329         * config/i386/i386.h (MASK_MS_BITFIELD_LAYOUT: New mask.
10330         TARGET_USE_MS_BITFIELD_LAYOUT): New macro.
10331         (TARGET_SWITCHES): Add above mask.
10333         * testsuite/gcc.dg/bf-ms-layout.c: New test case.
10334         * testsuite/gcc.dg/bf-no-ms-layout.c: New test case.
10335         * testsuite/gcc.dg/i386-bitfield1.c (dg-options): Add appropriate
10336         flags for interix.
10338 Wed Nov  6 18:54:47 2002  Alexandre Oliva  <aoliva@redhat.com>
10340         * config/mips/mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output
10341         .gpword/.gpdword for ABI_N32 and ABI_64 too, if using the GNU
10342         assembler.
10343         * config/mips/mips.md (tablejump_internal3): Output .cpadd
10344         before jump on ABI_N32 too.
10345         (tablejump_internal4): Ditto on ABI_64.  Increase maximum
10346         length to match.
10348 Wed Nov  6 17:16:48 CET 2002  Jan Hubicka  <jh@.suse.cz>
10350         * i386.md (negsf splitter): Accept memory operand in second register.
10351         (abssf/absdf splitters): Simplify
10352         (sse_loadss, sse_loadsd): Turn into expander.
10354 2002-11-06  David Edelsohn  <edelsohn@gnu.org>
10356         PR target/8480
10357         * config/rs6000/rs6000.md (movdi_internal64): Discourage
10358         FPR to FPR moves.
10360 2002-11-06  Janis Johnson  <janis187@us.ibm.com>
10362         * doc/contrib.texi: Merge in the list from the Java web pages.
10364 2002-11-06  David O'Brien  <obrien@FreeBSD.org>
10366         * config/sparc/freebsd: Fix typo.
10368 2002-11-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10370         * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
10372 2002-11-06  Alexandre Oliva  <aoliva@redhat.com>
10374         * config/mips/mips.md (call_value_multiple_internal2): Use dla for
10375         non-SImode addresses.
10377 Tue Nov  5 14:34:36 CET 2002  Jan Hubicka  <jh@suse.cz>
10379         * i386.md (float_truncate SSE splitter): Ensure that operand is not
10380         stack register.
10381         (float SSE splitters): Reorder conditional.
10383 2002-11-05  Bob Wilson  <bob.wilson@acm.org>
10385         * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
10387 2002-11-05  John David Anglin  <dave2hiauly1.hia.nrc.ca>
10389         * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
10390         (STARTFILE_SPEC): Remove p and pg options.
10392 2002-11-05  Andrew Haley  <aph@redhat.com>
10394         * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
10395         to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
10397 2002-11-05  Richard Sandiford  <rsandifo@redhat.com>
10399         * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
10400         * config/mips/mips.c (mips_cannot_change_mode_class): ...here.
10402 2002-11-04  Zack Weinberg  <zack@codesourcery.com>
10404         * gthr-vxworks.h: Rewritten from scratch.
10405         * config/vxlib.c: New file.
10406         * config/t-vxworks: Add config/vxlib.c to LIB2FUNCS_EXTRA.
10407         * config/rs6000/t-vxworks: Add config/vxlib.c to
10408         LIB2FUNCS_EXTRA here too, because of clash with
10409         config/rs6000/t-ppccomm.
10411 2002-11-04  Dale Johannesen  <dalej@apple.com>
10413         * doloop.c (doloop_modify_runtime):  Fix loop count computation
10414         for unrolled loops.
10415         * loop.c (loop_invariant_p):  Support calling from unroller.
10417 2002-11-04  Ulrich Weigand  <uweigand@de.ibm.com>
10419         * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
10420         for comparison.
10422 2002-11-04  Aldy Hernandez  <aldyh@redhat.com>
10424         * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
10426         * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
10427         (CLASS_CANNOT_CHANGE_MODE): Remove.
10428         (CANNOT_CHANGE_MODE_CLASS): New.
10430         * config/alpha/alpha.h: Same.
10432         * config/ia64/ia64.h: Same.
10434         * config/mips/mips.h: Same.
10436         * config/s390/s390.h: Same.
10438         * config/sh/sh.h: Same.
10440         * config/pa/pa64-regs.h: Same.
10442         * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
10444         * config/sh/sh.c (sh_cannot_change_mode_class): New.
10446         * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
10447         prototype.
10449         * config/mips/mips.c (mips_cannot_change_mode_class): New.
10451         * doc/tm.texi (Register Classes): Remove
10452         CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
10453         Document CANNOT_CHANGE_MODE_CLASS.
10455         * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
10456         (push_reload): Same.
10458         * simplify-rtx.c (simplify_subreg): Same.
10460         * reload1.c (choose_reload_regs): Same.
10462         * recog.c (register_operand): Same.
10464         * regrename.c (mode_change_ok): Change to use new
10465         CANNOT_CHANGE_MODE_CLASS infrastructure.
10467         * regclass.c (cannot_change_mode_set_regs): New.
10468         Declare subregs_of_mode.
10469         (regclass): Use subregs_of_mode.
10470         Remove references to reg_changes_mode.
10471         (init_reg_sets_1): Remove class_can_change_mode and
10472         reg_changes_mode code.
10473         (invalid_mode_change_p): New.
10474         (dump_regclass): Use invalid_mode_change_p instead of
10475         class_can_change_mode.
10476         (regclass): Same.
10477         (record_operand_costs): Do not set reg_changes_mode.
10479         * local-alloc.c (struct qty): Remove changes_mode field.
10480         (alloc_qty): Remove changes_mode initialization.
10481         (update_qty_class): Remove set of changes_mode.
10482         (find_free_reg): Use subregs_of_mode.
10484         * global.c (find_reg): Use subregs_of_mode info.
10486         * rtl.h (cannot_change_mode_set_regs): New prototype.
10487         (invalid_mode_change_p): Same.
10488         (REG_CANNOT_CHANGE_MODE_P): New macro.
10490         * flow.c (mark_used_regs): Calculate subregs_of_mode.  Remove
10491         REG_CHANGES_MODE.
10492         (life_analysis): Clear subregs_of_mode.
10494         * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
10495         Remove use of CLASS_CANNOT_CHANGE_MODE.
10496         (simplify_set): Same.
10497         (gen_lowpart_for_combine): Calculate subregs_of_mode.  Remove
10498         REG_CHANGES_MODE.
10500         * regs.h: Add extern for subregs_of_mode;
10501         Include hard-reg-set and basic-block.
10502         (REG_CHANGES_MODE): Delete.
10504 2002-11-03  Roger Sayle  <roger@eyesopen.com>
10506         * real.c (real_sqrt): New function to calculate square roots.
10507         * real.h (real_sqrt): Add function prototype.
10508         * builtins.c (fold_builtin): Fold sqrt of constant argument.
10509         * simplify-rtx.c (simplify_unary_operation): Simplify sqrt
10510         of constant argument.
10512 2002-11-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10514         * jump.c (never_reached_warning): Don't set contains_insn until the
10515         first line note is seen.
10517 2002-11-03  David Edelsohn  <edelsohn@gnu.org>
10519         * config/rs6000/rs6000.md (movti_string): Use string instructions.
10521 2002-11-03  Roger Sayle  <roger@eyesopen.com>
10523         PR c/7128
10524         * c-typeck.c (c_expand_asm_operands): Defend against
10525         error_mark_nodes in the output argument to avoid ICE.
10527 2002-11-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
10529         PR middle-end/8408
10530         * genrecog.c (preds): Handle ADDRESSOF.
10531         (validate_pattern): Mark it as an lvalue.
10533 2002-11-02  David Edelsohn  <edelsohn@gnu.org>
10535         * config/rs6000/rs6000.c (rs6000_override_options): Use string
10536         instructions when optimizing for size.
10538 2002-11-02  Kazu Hirata  <kazu@cs.umass.edu>
10540         * config/h8300/h8300.h: Fix comment typos.
10541         * config/h8300/h8300.md: Likewise.
10542         * config/h8300/lib1funcs.asm: Likewise.
10544 2002-11-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
10546         Revert this change:
10548         *doc/install.texi (Installing GCC: Configuration): Clarify
10549         the only supported ways to configure gcc.
10551 2002-11-01  Kazu Hirata  <kazu@cs.umass.edu>
10553         * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
10554         instead of 'O' for the constraint for the second operand.
10556 2002-11-01  Mark Mitchell  <mark@codesourcery.com>
10558         PR c++/8391
10559         * toplev.c (rest_of_compilation): Do not refuse to output code for
10560         an inline function in a local class.
10562 2002-11-01  David O'Brien  <obrien@FreeBSD.org>
10564         * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
10565         (TRANSFER_FROM_TRAMPOLINE): Reformat.
10566         Add comment.
10568 2002-11-01  Kazu Hirata  <kazu@cs.umass.edu>
10570         * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
10572 2002-11-01  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
10574         * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
10576 2002-11-01  Steve Ellcey  <sje@cup.hp.com>
10578         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
10579         (MASK_INLINE_DIV_THR): Remove.
10580         (TARGET_INLINE_DIV_LAT): Remove.
10581         (TARGET_INLINE_DIV_THR): Remove.
10582         (TARGET_INLINE_DIV): Remove.
10583         (MASK_INLINE_FLOAT_DIV_LAT): New macro.
10584         (MASK_INLINE_FLOAT_DIV_THR): New macro.
10585         (MASK_INLINE_INT_DIV_LAT): New macro.
10586         (MASK_INLINE_INT_DIV_THR): New macro.
10587         (TARGET_INLINE_FLOAT_DIV_LAT): New macro.
10588         (TARGET_INLINE_FLOAT_DIV_THR): New macro.
10589         (TARGET_INLINE_INT_DIV_LAT): New macro.
10590         (TARGET_INLINE_INT_DIV_THR): New macro.
10591         (TARGET_INLINE_FLOAT_DIV): New macro.
10592         (TARGET_INLINE_INT_DIV): New macro.
10593         * config/ia64/ia64.md (divsi3): Change to use new macros.
10594         (modsi3): Ditto.
10595         (udivsi3): Ditto.
10596         (umodsi3): Ditto.
10597         (divsi3_internal): Ditto.
10598         (divdi3): Ditto.
10599         (moddi3): Ditto.
10600         (udivdi3): Ditto.
10601         (umoddi3): Ditto.
10602         (divdi3_internal_lat): Ditto.
10603         (divdi3_internal_thr): Ditto.
10604         (divsf3): Ditto.
10605         (divsf3_internal_lat): Ditto.
10606         (divsf3_internal_thr): Ditto.
10607         (divdf3): Ditto.
10608         (divdf3_internal_lat): Ditto.
10609         (divdf3_internal_thr): Ditto.
10610         (divtf3): Ditto.
10611         (divtf3_internal_lat): Ditto.
10612         (divtf3_internal_thr): Ditto.
10613         * config/ia64/ia64.c (ia64_override_options): Change
10614         to check new macros for conflicts in settings.
10615         * doc/invoke.texi (-minline-divide-min-latency): Remove.
10616         (-minline-divide-max-throughput): Remove.
10617         (-minline-float-divide-min-latency): New.
10618         (-minline-float-divide-max-throughput): New.
10619         (-minline-int-divide-min-latency): New.
10620         (-minline-int-divide-max-throughput): New.
10622 2002-11-01  Richard Earnshaw  (rearnsha@arm.com)
10624         PR target/7856
10625         * arm.c (use_return_insn): Don't use a return insn if there are
10626         saved integer regs, but LR is not one of them.
10628 Fri Nov  1 10:33:15 CET 2002  Jan Hubicka  <jh@suse.cz>
10630         * expr.c (emit_move_insn):  Use SCALAR_FLOAT_MODE_P
10631         * machmode.h (SCALAR_FLOAT_MODE_P): New macro.
10633 Thu Oct 31 18:20:50 CET 2002  Jan Hubicka  <jh@suse.cz>
10635         * i386.md (sse_loadss, sse_loadsd):  Canonicalize; add expander
10636         (movps, movpd splitters): Use canonical form.
10637         (movv2di): Fix merge problem.
10639 Thu Oct 31 16:22:31 CET 2002  Jan Hubicka  <jh@suse.cz>
10641         * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
10643 2002-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
10645         PR optimization/6162
10646         * doc/md.texi: Document restriction on commutative operand
10647         specification.
10649 2002-10-31  Eric Christopher  <echristo@redhat.com>
10651         * explow.c (convert_memory_address): Use shallow_copy_rtx.
10653 2002-10-31  Steve Ellcey  <sje@cup.hp.com>
10655         * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
10657 2002-10-31  Steve Ellcey  <sje@cup.hp.com>
10659         * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
10661 Thu Oct 31  Dale Johannesen  <dalej@apple.com>
10663         * config/rs6000/darwin.h:  Correct formatting in previous.
10665 Thu Oct 31  Dale Johannesen  <dalej@apple.com>
10667         * config/rs6000/darwin.h:  Enable -falign-xxx options.
10669 Thu Oct 31 18:08:00 CET 2002  Jan Hubicka  <jh@suse.cz>
10671         * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
10672         flag_asynchronous_unwind_tables, flag_pcc_struct_return.
10673         * i386.c (optimization_options): Set flag_omit_frame_pointer,
10674         flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
10675         Do not clear -momit-leaf-frame-pointer when profiling.
10676         (ix86_frame_pointer_required): Frame pointer is always required when
10677         profiling.
10679 Thu Oct 31 16:09:44 CET 2002  Jan Hubicka  <jh@suse.cz>
10681         * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
10683 Thu Oct 31 12:45:55 2002  J"orn Rennecke <joern.rennecke@superh.com>
10685         * sh.h (binary_logical_operator): Declare.
10686         * sh.c (binary_logical_operator): New function.
10687         * sh.md (xordi3+1): New combiner splitter pattern.
10689 2002-10-31  David O'Brien  <obrien@FreeBSD.org>
10691         * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
10692         __enable_execute_stack function.
10694 2002-10-30  Zack Weinberg  <zack@codesourcery.com>
10696         * gthr.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h,
10697         gthr-solaris.h, gthr-win32.h: Remove __gthread_key_dtor.
10698         * unwind-sjlj.c (fc_key_dtor): Delete.
10699         (fc_key_init): Adjust __gthread_key_create call to match.
10701 2002-10-30  Aldy Hernandez  <aldyh@redhat.com>
10703         * c-common.c: Add GTY to vector_type_node_list.
10705 2002-10-30  John David Anglin  <dave@hiauly.hia.nrc.ca>
10707         * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
10708         * pa-protos.h (attr_length_millicode_call, attr_length_call,
10709         pa_init_machine_status): Declare new global functions.
10710         * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
10711         implement new functions.
10712         (attr_length_millicode_call, attr_length_call): Implement.
10713         (total_code_bytes): Change type to long.
10714         (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
10715         Reset counter if flag_function_sections.
10716         (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
10717         (output_cbranch): Move call to gen_label_rtx.
10718         (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
10719         delay slot in all variants, shorten pc-relative calls.
10720         (output_call): Rewrite adding long TARGET_64BIT call, improved delay
10721         slot usage and exposure, various new call variants, and shortened
10722         sequences for some variants on TARGET_PA_20.
10723         Miscellaneous format changes.
10724         * pa.h (total_code_bytes): Change type to long.
10725         (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
10726         TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
10727         (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
10728         (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
10729         LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
10730         stores on TARGET_ELF32.
10731         *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
10732         (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
10733         canonicalize_funcptr_for_compare expanders): Calculate attribute length
10734         attr_length_millicode_call().
10735         (call_internal_symref, call_value_internal_symref): Clobber register 1.
10736         Calculate attribute length using attr_length_call().
10737         (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
10738         to delay slot.
10739         (sibcall, sibcall_value): Rewrite.
10740         (sibcall_internal_symref, sibcall_value_internal_symref): Clobber
10741         register 1.  Use attr_length_call().
10742         (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
10743         New patterns.
10744         (unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
10745         * som.h (MEMBER_TYPE_FORCES_BLK): Define.
10746         * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
10747         * doc/invoke.texi (mlong-calls): Document.
10749 2002-10-30  Roger Sayle  <roger@eyesopen.com>
10751         * fold-const.c (fold_binary_op_with_conditional_arg):  Improve
10752         handling of cases where one or both branches of the conditional
10753         have void type, i.e. throw an exception or don't return.
10754         (fold): Only apply (and undo) type conversion to the non-void
10755         branches of a COND_EXPR.
10757 2002-10-30  Mark Mitchell  <mark@codesourcery.com>
10759         PR c++/8333
10760         * varasm.c (asm_output_aligned_bss): Do not call
10761         ASM_GLOBALIZE_LABEL.
10763 2002-10-30  David Edelsohn  <edelsohn@gnu.org>
10764             Torbjorn Granlund  <tege@swox.com>
10766         * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
10767         for addressibility.
10768         (load_toc_v4_PIC_1b): Same.
10770 2002-10-30  Kazu Hirata  <kazu@cs.umass.edu>
10772         * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
10773         Truncate the addresses for H8/300 using HImode.
10775 Tue Oct 29 23:28:10 CET 2002  Jan Hubicka  <jh@suse.cz>
10777         * i386.md (negdf splitter): Fix construction of the constant.
10779 Tue Oct 29 20:47:06 CET 2002  Jan Hubicka  <jh@suse.cz>
10781         * i386.md (negsf, negdf): Reorganize to use vector modes
10782         for SSE variants.
10783         (abssf, absdf): Use force_reg.
10784         (movv4sf, movv2df): New splitters.
10785         * i386.h (PREDICATE_CODES): add zero_extended_scalar_load_operand
10786         * i386.c (zero_extended_scalar_load_operand
10788         * i386-protos.h (ix86_expand_call): Update prototype.
10789         * i386.c (ix86_function_ok_for_sibcall): Handle 64bit
10790         (ix86_expand_call): Use r11 for indirect sibcalls.
10791         * i386.md (call, call_value, untyped_call, call_value_pop):
10792         update x86_expand_call call.
10793         (sibcall, sibcall_value): new patterns
10794         (call_rex64, call_value_rex64): Do not accept sibcalls.
10795         (sibcall_rex64, sibcall_value_rex64,
10796         sibcall_rex64_v, sibcall_value_rex64_v): New.
10798 Tue Oct 29 15:37:39 CET 2002  Jan Hubicka  <jh@suse.cz>
10800         * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
10801         before final pass.
10803 2002-10-29  Hans-Peter Nilsson  <hp@bitrange.com>
10805         * toplev.c (rest_of_type_compilation): Return early in case of
10806         errors.
10807         (check_global_declarations): Don't call debug_hooks->global_decl
10808         in case of errors.
10810 2002-10-28  Andreas Bauer  <baueran@in.tum.de>
10812         * doc/c-tree.texi (Tree overview): Fix typos.
10814 2002-10-29  Phil Edwards  <pme@gcc.gnu.org>
10816         * Makefile.in (gnucompare*):  Only record bad comparisons
10817         if there really was a bad comparison.
10819 Tue Oct 29 19:32:16 CET 2002  Jan Hubicka  <jh@suse.cz>
10821         * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
10822         * i386.md (movsf*, movdf*): Use 'C' instead of 'H'
10823         * md.texi (machine dependent constraints): Document 'C'
10825         * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
10827         * i386.c (ix86_expand_vector_move): Fix.
10829         * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
10830         * i386.md (sse2_maskmovdqu_rex64): New pattern
10832         PR target/8322
10833         * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
10834         (ix86_init_mmx_sse_builtins): Fix type.
10836 2002-10-29  Jason Thorpe  <thorpej@wasabisystems.com>
10838         * gthr-posix.h: Include <unistd.h> for feature tests.
10839         (sched_get_priority_max, sched_get_priority_min)
10840         (pthread_getschedparam, pthread_setschedparam): Only use
10841         if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
10842         (__gthread_objc_thread_set_priority): Don't treat all nonzero
10843         returns from sched_get_priority_max and sched_get_priority_min
10844         as an error.
10846 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
10848         * config/h8300/h8300.h (TARGET_DEFAULT): Make it
10849         MASK_QUICKCALL.
10851 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
10853         * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
10854         (h8300_tiny_constant_address_p): Likewise.
10855         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
10856         h8300_eightbit_constant_address_p.
10857         (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
10858         * config/h8300/h8300-protos.h: Add the prototypes for the two
10859         new functions.
10861 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
10863         * reload1.c (update_eliminables): Unconditionally check if
10864         frame_pointer_needed has changed.
10866 Tue Oct 29 15:37:39 CET 2002  Jan Hubicka  <jh@suse.cz>
10868         * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
10869         before final pass.
10871 2002-10-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
10873         PR optimization/8334
10874         * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
10875         check for zero operands explicitly.
10877 2002-10-29  Richard Sandiford  <rsandifo@redhat.com>
10879         * config/mips/mips.md (extv, extzv, insv): Set size of referenced
10880         memory after adjusting to BLKmode.
10882 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
10884         * config/h8300/h8300.h (MASK_*): New.
10885         (TARGET_*): Use MASK_*.
10887 2002-10-28  Zack Weinberg  <zack@codesourcery.com>
10889         * config.gcc (*-*-vxworks, powerpc-wrs-vxworks*): New stanzas.
10890         * config/t-vxworks, config/vxworks.h, config/rs6000/t-vxworks,
10891         config/rs6000/vxworks.h: New files.
10892         * config/rs6000/sysv4.h: Rip out -mvxworks and all related code.
10894         * config.gcc (alpha*-*-vxworks*, arm-*-vxworks*,
10895         i?86-wrs-vxworks*, i960-wrs-vxworks* [all],
10896         m68k-wrs-vxworks*, mips-wrs-vxworks, powerpc-wrs-vxworks*,
10897         powerpcle-wrs-vxworks*, sparc*-wrs-vxworks* [all],
10898         sparc-*-vxsim*): Delete stanzas.
10899         * gthr-vxworks.h: Rip out all substantive code and just
10900         include gthr-single.h.
10902         * config/alpha/vxworks.h, config/arm/vxarm.h,
10903         config/i386/vxi386.h, config/i960/t-vxworks960,
10904         config/i960/vx960-coff.h, config/i960/vx960.h,
10905         config/m68k/t-vxworks68, config/m68k/vxm68k.h,
10906         config/mips/vxworks.h, config/rs6000/vxppc.h,
10907         config/sparc/t-vxsparc, config/sparc/t-vxsparc64,
10908         config/sparc/vxsim.h, config/sparc/vxsparc.h,
10909         config/sparc/vxsparc64.h: Delete files.
10911 2002-10-28  Jason Thorpe  <thorpej@wasabisystems.com>
10913         * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
10914         tm_defines if pthreads are enabled.
10915         * config/netbsd.h (LIB_SPEC): Only support the -pthread option
10916         if NETBSD_ENABLE_PTHREADS is defined.
10918 2002-10-28  Kazu Hirata  <kazu@cs.umass.edu>
10920         * ChangeLog.1: Fix typos.
10921         * cse.c: Fix a comment typo.
10922         * reload1.c: Likewise.
10924 2002-10-27  Hans-Peter Nilsson  <hp@bitrange.com>
10926         * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
10927         * fixinc/tests/base/_G_config.h: New file.
10929 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
10931         * combine.c: Fix comment formatting.
10932         * loop.c: Likewise.
10933         * real.c: Likewise.
10934         * regclass.c: Likewise.
10935         * regmove.c: Likewise.
10936         * regrename.c: Likewise.
10937         * reg-stack.c: Likewise.
10938         * reload1.c: Likewise.
10939         * reload.c: Likewise.
10940         * reload.h: Likewise.
10941         * unroll.c: Likewise.
10943 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
10945         * reload1.c (reload): Fix a comment typo.
10947 Sun Oct 27 10:15:24 CET 2002  Jan Hubicka  <jh@suse.cz>
10949         * linux64.h (DEFAULT_PCC_STRUCT_RETURN):  Define.
10951 2002-10-27  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
10953         * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
10954         * dwarf2out.c: Include hashtab.h.
10955         (is_main_source): New static variable.
10956         (attr_checksum, die_checksum): Modified to handle die references.
10957         (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
10958         unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
10959         record_comdat_symbol_number): New static functions.
10960         (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
10961         mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
10962         * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
10963         declarations added.
10965 2002-10-26  Kazu Hirata  <kazu@cs.umass.edu>
10967         * config/h8300/h8300.c (initial_offset): Change to
10968         h8300_initial_elimination_offset.
10969         * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
10970         h8300_initial_elimination_offset.
10971         * config/h8300/h8300-protos.h: Update the prototype.
10973 2002-10-26  Hans-Peter Nilsson  <hp@bitrange.com>
10975         * config/mmix/mmix.h (LIBCALL_VALUE): Use
10976         MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
10977         (FUNCTION_VALUE_REGNO_P): Similar, but move code to...
10978         * config/mmix/mmix.c (mmix_function_value_regno_p): New.
10979         * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
10980         and RTX_CODE.
10981         (mmix_function_value_regno_p): Declare.
10983         * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
10984         invalid for floating point mode result, with fix.
10986 Fri Oct 25 00:04:21 2002  Alexandre Oliva  <aoliva@redhat.com>
10988         * Makefile.in (GCC_FOR_TARGET): Add -L$(objdir)/../ld.
10989         (STAGE2_FLAGS_TO_PASS): Pass GCC_FOR_TARGET.
10990         (stage1_build): Likewise.
10992 2002-10-25  Mike Stump  <mrs@apple.com>
10994         Fixes gcc.dg/warn-1.c.
10995         * c-typeck.c (warn_for_assignment): Don't print argument number,
10996         if zero.
10998 Sat Oct 26 01:44:46 CEST 2002  Jan Hubicka  <jh@suse.cz>
11000         * toplev.c (dump_file_index): Add DFI_ce3.
11001         (dump_file_info): Likewise.
11002         (rest_of_compilation): Run first ifcvt pass before tracer.
11004 2002-10-25  Steve Ellcey  <sje@cup.hp.com>
11006         * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
11008 2002-10-25  Richard Henderson  <rth@redhat.com>
11010         * real.c (real_to_decimal): If the >1 tens reduction loop results
11011         in a negative exponent, fall into the <1 pten computation.
11013 2002-10-25  Zack Weinberg  <zack@codesourcery.com>
11015         PR middle-end/6994
11016         * c-objc-common.c (inline_forbidden_p): Can not inline
11017         functions containing structures or unions containing VLAs.
11018         * tree-inline.c (walk_tree): For all class 't' nodes, walk
11019         TYPE_SIZE and TYPE_SIZE_UNIT.
11020         (copy_tree_r): Copy types if they are variably modified.
11022 2002-10-25  Ulrich Weigand  <uweigand@de.ibm.com>
11024         * config/s390/s390.md: Remove old-style peepholes.
11026 2002-10-25  Ulrich Weigand  <uweigand@de.ibm.com>
11028         * config/s390/s390.c (s390_decompose_address): Do not range check the
11029         displacement if base or index is the argument pointer register.
11031 2002-10-24  Hans-Peter Nilsson  <hp@bitrange.com>
11033         PR other/3337
11034         PR bootstrap/6763
11035         PR bootstrap/8122
11036         * fixinc/inclhack.def (libc1_G_va_list): New fix.
11037         * fixinc/fixincl.x: Regenerate.
11038         * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
11039         ifndef IN_LIBGCC2.  Wrap it together with signal.h and
11040         sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
11041         * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
11042         * config.in, configure: Regenerate.
11044 2002-10-24  Igor Shevlyakov <igor@microunity.com>
11046         * varasm.c (struct rtx_const): Array size 16 for V16QImode.
11048 2002-10-24  Richard Henderson  <rth@redhat.com>
11050         * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
11052 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
11054         * config/h8300/h8300.c (initial_offset): Simplify by using
11055         round_frame_size.
11057 2002-10-24  Marek Michalkiewicz  <marekm@amelek.gda.pl>
11059         * doc/install.texi (avr): Update required binutils version.
11061 2002-10-24  Theodore A. Roth  <troth@openavr.org>
11063         * doc/install.texi: Point avr users at more up-to-date information.
11065 2002-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
11067         * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
11068         to pull operands out of the literal pool where possible.
11070 2002-10-24  Denis Chertykov  <denisc@overta.ru>
11072         * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
11074 2002-10-24  Steve Ellcey  <sje@cup.hp.com>
11076         * expr.c (convert_move): If unsignedp is less then zero there
11077         is no equivalent code.
11079 2002-10-24  Zack Weinberg  <zack@codesourcery.com>
11081         * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
11083 2002-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
11085         * config/s390/s390.h: Rework comments; re-sort target macro definitions
11086         according to the sequence they are defined in the manual.
11087         (POINTER_BOUNDARY): Remove.
11089 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
11091         * config/h8300/h8300.c (round_frame_size): Replace 8 with
11092         BITS_PER_UNIT.
11094 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
11096         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
11097         64-bit safe.
11098         (TINY_CONSTANT_ADDRESS_P): Likewise.
11100 2002-10-24  Richard Henderson  <rth@redhat.com>
11102         * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
11103         (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
11104         vcall offset.
11106 2002-10-24  Richard Henderson  <rth@redhat.com>
11108         PR opt/7944
11109         * reload.c (find_reloads_toplev): Mode of X is not important
11110         when simplifying subregs of constants.
11112 2002-10-24  Richard Sandiford  <rsandifo@redhat.com>
11114         * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
11115         MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
11116         * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
11117         (override_options): Base default setting of MASK_SOFT_FLOAT on -march
11118         if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
11120 2002-10-24  Richard Sandiford  <rsandifo@redhat.com>
11122         * optabs.c (expand_binop): Don't reuse the shift target in the
11123         middle of shift sequences.
11125 Wed Oct 23 22:48:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
11127         * i386.md (abs splitters): Do not produce nested subregs.
11129 Wed Oct 23 12:42:32 CEST 2002  Jan Hubicka  <jh@suse.cz>
11131         * i386.md (movti_rex64): Fix constraints.
11133 Wed Oct 23 12:01:21 CEST 2002  Jan Hubicka  <jh@suse.cz>
11135         * i386.md (abssf,absdf): Use vector operands for SSE
11136         (abssf2_ifs, absdf2_ifs, absdf2_ifs_rex64 and splitters): Update for
11137         vector operand.
11139 2002-10-23  Ziemowit Laski <zlaski@apple.com>
11141         * objc/objc-act.c (get_static_reference): Remove unneeded
11142         TYPE_BINFO initialization.
11143         (get_object-reference): Likewise.
11144         (build_constructor): Tighten precondition check.
11145         (finish_message_expr): Likewise.
11147 2002-10-23  Jakub Jelinek  <jakub@redhat.com>
11149         * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
11150         after CONST test.
11152 2002-10-23  Steve Ellcey  <sje@cup.hp.com>
11154         * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
11155         in HFAs.
11157 2002-10-23  Richard Henderson  <rth@redhat.com>
11159         * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
11160         (alpha_output_mi_thunk_osf): Handle vcall_offset.
11162 2002-10-23  Zack Weinberg  <zack@codesourcery.com>
11164         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
11165         var_mod_type_p.
11166         * langhooks-def.h: Default for tree_inlining.var_mod_type_p is
11167         hook_tree_bool_false.
11169         * tree.c (variably_modified_type_p): Moved here from
11170         cp/tree.c.  Use lang_hooks.tree_inlining.var_mod_type_p for
11171         language-specific cases.  Due to this, must weaken some 'if
11172         and only if' checks to merely 'if'.
11173         * tree.h: Prototype variably_modified_type_p.
11175         * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
11177 2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
11179         * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
11180         * config/s390/s390.c (optimization_options): Disable -fcaller-saves.
11182         * config/s390/s390-protos.h (fp_operand): Remove.
11183         * config/s390/s390.c (fp_operand): Remove.
11184         * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
11185         ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
11186         ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
11187         (movdi_31, movdf_31 splitters): Likewise.
11189         * config/s390/s390.h (IEEE_FLOAT): Remove.
11190         (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
11191         (INT_REGNO_P): Rename to ...
11192         (GENERAL_REGNO_P): ... this.
11193         (FLOAT_REGNO_P): Rename to ...
11194         (FP_REGNO_P): ... this.
11195         (ADDR_REGNO_P): New macro.
11196         (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
11197         (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
11198         (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
11199         (HARD_REGNO_NREGS): Adapt to macro renaming.
11200         (HARD_REGNO_MODE_OK): Likewise.
11202 2002-10-23  David Edelsohn  <edelsohn@gnu.org>
11203             Geoff Keating  <geoffk@apple.com>
11205         * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
11206         (rs6000_memory_move_cost): New function.
11207         * config/rs6000/rs6000-protos.h: Declare them.
11208         * config/rs6000/rs6000.h: Use them.
11210 2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
11212         * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
11213         inlining it into other libgcc2 routines.
11214         (__udivmoddi4): Likewise.
11216 2002-10-22  Nathanael Nerode  <neroden@gcc.gnu.org>
11218         * doc/sourcebuild.texi (Test Suites): Improve.
11220 2002-10-22  Stan Shebs  <shebs@apple.com>
11222         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
11223         case for Darwin.
11225 2002-10-22  Jim Wilson  <wilson@redhat.com>
11227         * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
11229 Wed Oct 23 01:52:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
11231         PR other/8289
11232         * xmmintrin.h: Add const to the argument of loads.
11234         * i386.md (pushv2di): New pattern.
11235         PR target/6890
11236         * xmmintrin.h (_MM_TRANSPOSE4_PS): New.
11238 2002-10-22  Richard Henderson  <rth@redhat.com>
11240         * target.h (gcc_target.asm_out): Merge output_mi_thunk and
11241         output_mi_vcall_thunk into a single hook.  Add can_output_mi_thunk.
11242         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
11243         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
11244         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
11245         (TARGET_ASM_OUT): Update.
11246         * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
11247         (hook_bool_tree_hwi_hwi_tree_true): New.
11248         (default_can_output_mi_thunk_no_vcall): New.
11249         * hooks.h: Declare them.
11250         * system.h (ASM_OUTPUT_MI_THUNK): Poison.
11252         * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
11253         (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
11254         * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
11255         config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
11256         config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
11257         config/stormy16/stormy16.c: Similarly.
11259         * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
11260         Handle 64-bit properly.  Streamline.
11261         (x86_output_mi_vcall_thunk): Remove.
11262         (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
11263         (x86_can_output_mi_thunk): New.
11264         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
11265         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
11266         (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
11268         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
11269         output_mi_thunk; make static; always use function_section.
11270         (TARGET_ASM_OUTPUT_MI_THUNK): New.
11271         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
11272         (rs6000_ra_ever_killed): Test no_new_pseudos not
11273         targetm.asm_out.output_mi_thunk in conjunction with thunks.
11274         * config/rs6000/rs6000-protos.h: Update.
11275         * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
11276         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
11277         xcoffout_declare_function when using rs6000_output_mi_thunk.
11279         * config/s390/s390.c (s390_output_mi_thunk): Rename from
11280         s390_output_mi_vcall_thunk.
11281         (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
11282         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
11284         * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
11285         (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
11286         * config/vax/vax-protos.h: Update.
11287         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
11289 Wed Oct 23 00:33:11 CEST 2002  Jan Hubicka  <jh@suse,cz>
11291         * i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
11292         * i386.h (EXTRA_CONSTRAINT): Recognize 'C'
11293         * i386.md (movti_internal): Use 'C'
11295         * xmmintrin.h (_mm_cmplt_epi*): New.
11297 2002-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
11299         * config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
11300         ("*movdf_64"): Likewise.
11301         ("*lshrdi3_64"): Likewise.
11302         ("blockage"): Add length attribute.
11303         ("lit"): Likewise.
11305 Tue Oct 22 23:51:34 CEST 2002  Jan Hubicka  <jh@suse.cz>
11307         * i386.md: FIx typo.
11308         (sse2_cvtsi2sd, sse2_pslrdq): Fix template.
11309         (sse2_umulv2siv2di3): Fix predicate.
11310         (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
11311         lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
11312         * xmmintrin.h (_mm_mul_epu16): Rename to...
11313         (_mm_mul_epu32): This one.
11314         (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
11316         (contains_128bit_aligned_vector_p): Undo accidental checkin.
11318 2002-10-22  Eric Christopher  <echristo@redhat.com>
11320         * config/sparc/sparc.h: Add #error.
11322 2002-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
11324         * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
11325         [s390x-*-linux*]: Likewise.
11326         * config/s390/t-linux: Remove.
11327         * config/s390/s390.h: Include fixdfdi.h when building libgcc2.
11329 Tue Oct 22 19:07:03 CEST 2002  Jan Hubicka  <jh@suse.cz>
11331         * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
11332         (ix86_expand_builtin): Fix MASKMOVDQU expasion.
11333         * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
11334         * i386.md (mmx_punpck?dq): Simplify.
11335         (sse2_pubpcklqdq): Fix.
11336         (sse2_pubpckhqdq): New.
11337         * xmmintrin.h (_mm_unpackhi_epi32): New.
11339         * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
11340         (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
11342 2002-10-22  Nathan Sidwell  <nathan@codesourcery.com>
11344         PR c++/7209
11345         * fold_const.c (fold_binary_op_with_conditional_arg): Always
11346         build compound_expr if we used save_expr.
11348 2002-10-22  Alan Modra  <amodra@bigpond.net.au>
11350         * output.h (SECTION_NOTYPE): Define.
11351         * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
11352         init array sections.
11353         (default_elf_asm_named_section): Mind SECTION_NOTYPE.
11354         * config/arm/arm.c (arm_elf_asm_named_section): Likewise.  Also
11355         merge TLS support.
11357 2002-10-21  Richard Henderson  <rth@redhat.com>
11359         * config/i386/i386.c (ix86_function_ok_for_sibcall): Look at
11360         the function type, not the return type.
11362 2002-10-21  Richard Henderson  <rth@redhat.com>
11364         * real.c (sticky_rshift_significand): Return inexact, don't
11365         or it in immediately.
11366         (sub_significands): Accept incomming carry.
11367         (div_significands, rtd_divmod): Update for sub_significands change.
11368         (round_for_format): Update for sticky_rshift_significand change.
11369         (do_add): Don't involve the inexact bit in addition, do give the
11370         inexact bit as the subtraction carry-in.
11371         (encode_internal, decode_internal, real_internal_format): New.
11372         * real.h (real_internal_format): Declare.
11374 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
11376         * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
11377         don't define sdiv_qrnnd.
11379 2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>
11381         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
11382         using IN_RANGE.
11383         (TINY_CONSTANT_ADDRESS_P): Likewise.
11385 Tue Oct 22 00:04:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
11387         * i386.c (builtin_description): Add punpcklqdq and movdq2q
11388         (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
11389         v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
11390         void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
11391         __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
11392         __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
11393         __builtin_ia32_setzero128.
11394         (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
11395         IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
11396         IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
11397         * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
11398         IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
11399         IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
11400         IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
11401         * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
11402         sse2_movq): New patterns.
11403         (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
11404         * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
11405         _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
11406         _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
11407         _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
11408         _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
11409         _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
11410         (_mm_insert_epi16): Fix.
11412 2002-10-21  Dale Johannesen  <dalej@apple.com>
11414         * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
11415             unsafe math reversals correctly for RTL generation.
11416           (output_cbranch):  Replace rs6000_reverse_condition call
11417             by its former definition.
11419 2002-10-21  Jakub Jelinek  <jakub@redhat.com>
11421         * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
11422         argument.  In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
11423         from constant pool or LABEL_REFs as sign extended if allow_rip.
11424         Change all +-1GB limits to +-16MB.
11425         (x86_64_general_operand, x86_64_szext_general_operand,
11426         x86_64_nonmemory_operand, x86_64_movabs_operand,
11427         x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
11428         legitimate_address_p, ix86_expand_int_movcc): Update callers.
11429         (local_symbolic_operand): Don't allow offsets bigger than +-16MB
11430         in CM_SMALL_PIC model.
11431         (legitimate_pic_address_disp_p): Don't check offsets before
11432         calling local_symbolic_operand.
11433         (legitimize_pic_address): Force offsets bigger than +-16MB into
11434         register.
11435         * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
11436         * config/i386/i386-protos.h (x86_64_sign_extended_value): Update
11437         prototype.
11439         * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
11440         Add x86-64 test.  Set tls_first_minor to 14 on IA-32 and x86-64.
11441         * configure: Rebuilt.
11442         * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
11443         SYMBOL_REFs unless enclosed in UNSPEC.  Handle UNSPEC_DTPOFF,
11444         UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
11445         (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
11446         -fpic.
11447         (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
11448         non-pic code if TARGET_64BIT.
11449         (legitimize_address): Generate 64-bit TLS sequences.
11450         (output_pic_addr_const): Support x86-64 TLS operators.
11451         (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
11452         (print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
11453         Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
11454         (output_addr_const_extra): Support x86-64 TLS operators.
11455         (maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
11456         (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
11457         unconditionally.
11458         * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
11459         (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
11460         (*tls_global_dynamic_sun): Renamed to...
11461         (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
11462         (tls_global_dynamic): Renamed to...
11463         (tls_global_dynamic_32): ... this.
11464         (tls_global_dynamic_64, *tls_global_dynamic_64): New.
11465         (*tls_local_dynamic_base_dynamic_gnu): Renamed to...
11466         (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
11467         (*tls_local_dynamic_base_dynamic_sun): Renamed to...
11468         (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
11469         (tls_local_dynamic_base_dynamic): Renamed to...
11470         (tls_local_dynamic_base_dynamic_32): ... this.
11471         (tls_local_dynamic_base_dynamic_64,
11472         *tls_local_dynamic_base_dynamic_64): New.
11473         (*tls_local_dynamic_once): Renamed to...
11474         (*tls_local_dynamic_32_once): ... this.
11476 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
11478         * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
11479         __divdi3, __umoddi3, or __moddi3.
11481 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
11483         * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
11484         instead of just opt_index as switch expression.
11486         * calls.c (store_one_arg): Change type of 'excess_align'
11487         to unsigned int.
11489         * profile.c (output_gcov_string): Change type of 'temp'
11490         to size_t.
11492 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
11494         * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
11495         (__fixunssfdi, __fixsfdi): Likewise.
11496         * config/s390/s390.c (s390_single_hi): Initialize 'value'.
11497         (s390_single_qi): Likewise.
11498         (s390_emit_epilogue): Initialize 'offset'.  Remove signed vs.
11499         unsigned comparison warning.
11500         (s390_return_addr_rtx): New function.
11501         * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
11502         * config/s390/s390.h (RETURN_ADDR_RTX): Use it.
11503         (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
11505 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
11507         * config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
11508         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
11509         (s390_output_mi_thunk): Remove.
11510         (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
11512 2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>
11514         * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
11516 2002-10-20  Zack Weinberg  <zack@codesourcery.com>
11518         * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix an
11519         inverted test in the conditional determining the possibility
11520         of sibcalls in PIC mode.
11522 2002-10-20  Richard Henderson  <rth@redhat.com>
11524         * target.h (struct gcc_target): Line wrap.
11526         * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
11527         (TARGET_ASM_OUTPUT_MI_THUNK): Define here...
11528         * config/alpha/alpha.h: ... not here.
11529         * config/alpha/alpha-protos.h: Update.
11531         * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
11532         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
11533         config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
11534         config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
11535         config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
11536         config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
11537         config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
11538         config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
11539         config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
11540         config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
11541         config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
11542         config/sparc/openbsd.h, config/sparc/sparc-protos.h,
11543         config/sparc/sparc.c, config/sparc/sparc.h,
11544         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
11545         config/stormy16/stormy16.h: Similarly.
11547         * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
11548         selection logic from call patterns.
11550 2002-10-20  Mark Mitchell  <mark@codesourcery.com>
11552         * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
11554 2002-10-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
11556         PR other/8202
11557         * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
11558         expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
11559         * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
11560         * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
11562 2002-10-20  Roger Sayle  <roger@eyesopen.com>
11564         PR c/761
11565         * toplev.c (flag_unsafe_profile_arcs): Remove.
11566         (flag_bounded_pointers): Remove.
11567         (flag_bounds_check): Correct comments.
11568         (lang_independent_options): Remove -funsafe-profile-arcs and
11569         -fbounded-pointers.  Correct -fbounds-check comments.
11571         * flags.h: Correct flag_schedule_interblock comments.
11572         (flag_bounded_pointers): Remove prototype.
11573         (flag_bounds_check): Correct comments.
11575         * c-opts.c (c_common_init_options): No need to mark
11576         flag_bounds_check as unspecified.
11577         (c_common_post_options): And no need to set it from
11578         flag_bounded_pointers if its still unspecified.
11580         * doc/invoke.texi: Fix some overfull hboxes in "make dvi".
11581         Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
11582         -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
11583         -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
11585 Sat Oct 19 22:02:28 2002  Alexandre Oliva  <aoliva@redhat.com>
11586         Angela Marie Thomas  <angela@releasedominatrix.com>
11587         Brendan Kehoe  <brendan@zen.org>
11588         Nick Clifton  <nickc@redhat.com>
11589         Andrew Haley  <aph@redhat.com>
11591         * configure.in (--with-sysroot): New.  Don't inhibit libc if
11592         given.  AC_SUBST TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE
11593         and CROSS_SYSTEM_HEADER_DIR.
11594         * configure: Rebuilt.
11595         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): Set in configure.
11596         (TARGET_SYSTEM_ROOT): New.
11597         (DRIVER_DEFINES): Define CROSS_INCLUDE_DIR from
11598         CROSS_SYSTEM_HEADER_DIR.
11599         (install-gcc-tooldir): New target.
11600         (stmp-fixinc): Do not create $(libsubdir), but rather bail out
11601         if SYSTEM_HEADER_DIR does not exist and it's not the default
11602         sys-include directory.
11603         (deduced.h, stmp-fixproto): Quote SYSTEM_HEADER_DIR properly.
11604         (install-mkheaders): Likewise.
11605         * gcc.c (target_system_root): New variable.
11606         (add_sysrooted_prefix): New function.
11607         (process_command): Recompute run-time target_system_root from
11608         gcc_exec_prefix, keeping it unchanged if the relocated sysroot
11609         does not exist.
11610         (do_spec_1): Process 'R' spec.
11611         (main): Add md_exec_prefix to exec_prefixes regardless of
11612         startfile_prefix_spec.  Use add_sysrooted_prefix for
11613         startfile_prefixes, and don't skip the default ones when cross
11614         compiling with sysroot enabled.  Removed unused case of
11615         non-absolute standard_startfile_prefix.
11616         * config/interix.h: Remove the only potential, yet disabled,
11617         occurrence of non-absolute (empty) standard_startfile_prefix.
11618         * config/sh/linux.h (LIB_SPEC): Add -rpath-link in non-static
11619         linking.
11620         * config/mips/linux.h (LIB_SPEC): Define as in sh/linux.h.
11621         * doc/install.texi (--with-sysroot): Document.
11622         (--with-headers, --with-libs): Deprecate.
11624 2002-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11625             Mark Mitchell  <mark@codesourcery.com>
11627         * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
11628         match target.h.
11629         * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
11630         * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
11631         * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
11632         * i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
11633         x86_output_mi_thunk): Likewise.
11634         * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
11635         * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
11636         * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
11637         * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
11638         * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
11639         * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
11640         * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
11641         Likewise.
11642         * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
11644         * target.h (gcc_target): Update output_mi_thunk and
11645         output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
11646         vcall_index.
11648         * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
11649         TARGET_ASM_OUTPUT_MI_THUNK in comments.
11650         * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
11651         (TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
11652         * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
11653         * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
11654         signature.
11655         * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
11656         * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
11657         TARGET_ASM_OUTPUT_MI_THUNK in comments.
11658         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
11659         (TARGET_ASM_OUTPUT_MI_THUNK): Do define.
11660         * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
11661         TARGET_ASM_OUTPUT_MI_THUNK in comments.
11662         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
11663         ASM_OUTPUT_MI_THUNK and replace with check of targetm.
11665         * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
11666         (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
11668 2002-10-19  Brad Lucier  <lucier@math.purdue.edu>
11670         * real.c (do_add): Fix 0+0 sign corner case.
11671         (do_divide): Fix Inf/0 corner case.
11673 Sun Oct 20 00:31:31 CEST 2002  Jan Hubicka  <jh@suse.cz>
11675         * i386.c (classify_argument): Pass MMX arguments in memory
11676         (ix86_expand_builtin): Expand proper address mode for cflush.
11677         * i386.md (movdqa): Fix typo.
11678         (sse2_cflush): Accept DImode addresses.
11680         * xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
11681         (_mm_max_sd): Fix pasto.
11682         (_mm_storeh_pd, _mm_storel_pd): Fix.
11684         * i386.c (bdesc_comi): Fix to match specification.
11685         (ix86_expand_sse_comi): Emit the comparison properly.
11686         * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
11687         Do not use comparison operator.
11688         (vnmaskcmp): Fix template.
11690         * xmmintrin.h (_mm_cvtps_pi16): Fix.
11692 2002-10-19  Sebastian Pop  <s.pop@laposte.net>
11694         * dependence.c : Removed.
11695         * Makefile.in : Remove dependence.o.
11697 Sat Oct 19 10:46:52 CEST 2002  Jan Hubicka  <jh@suse.cz>
11699         * mmintrin.h (__m64): typedef it to v2si.
11700         (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
11701         _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
11702         _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
11703         _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
11704         _mm_or_si64, _mm_xor_si64): Add neccesary casts.
11705         * xmmintrin.h (_mm_setzero_si64): Likewise.
11707         * i386.h (ALIGN_MODE_128): Update comment; add missing modes
11708         (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
11710         PR target/7693
11711         Patch by Shawn Wagner
11712         * mmintrin.h: Replace pi64 by si64.
11714 2002-10-18  David Edelsohn  <edelsohn@gnu.org>
11716         * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
11717         Use length of 4 not *.
11718         (movdf_hardfloat64): Same.  Support DFmode moves to/from CTR/LR.
11719         (movdf_softfloat64): Likewise.
11720         (movdi_internal32): Use length of 4 not *.
11721         (movti_power): Same.
11722         (ctrsi, ctrdi): Same.
11724 2002-10-18  Zack Weinberg  <zack@codesourcery.com>
11726         * c-decl.c (start_decl): Point users of the old initialized-
11727         typedef extension at __typeof__.
11729 2002-10-18  Richard Henderson  <rth@redhat.com>
11731         * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
11732         (real_to_decimal): Re-implement using the logic from the
11733         gcc 3.2 etoasc.  Comment heavily.
11734         (div_significands): Simplify loop startup and comparison logic.
11736 2002-10-18  Mark Mitchell  <mark@codesourcery.com>
11738         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
11739         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
11740         (TARGET_ASM_OUT): Add them.
11741         * target.h (asm_out): Add output_mi_thunk and
11742         output_mi_vcall_thunk.
11743         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11744         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11745         * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
11746         * config/arm/arm.c (arm_output_mi_thunk): Define.
11747         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11748         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11749         * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11750         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11751         * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11752         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11753         * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
11754         prototype.
11755         (x86_output_mi_vcall_thunk): Declare.
11756         * config/i386/i386.c (override_options): Clear
11757         output_mi_vcall_thunk in 64-bit mode.
11758         (ix86_fntype_regparm): New function.
11759         (ix86_return_pops_args): Use it.
11760         (ia32_this_parameter): New function.
11761         (x86_output_mi_vcall_thunk): New function.
11762         (x86_output_mi_thunk): Use it
11763         * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
11764         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
11765         * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
11766         * config/i960/i960.c (i960_output_mi_thunk): New function.
11767         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
11768         * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
11769         * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
11770         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11771         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11772         * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
11773         * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11774         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11775         * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11776         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11777         * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11778         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11779         * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11780         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11781         * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11782         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11783         * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
11784         * config/s390/s390.c (s390_output_mi_thunk): Define.
11785         * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11786         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11787         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11788         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11789         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11790         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11791         * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
11792         * config/vax/vax.c (vax_output_mi_thunk): Define.
11793         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11794         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11795         * doc/tm.texi: Adjust documentation.
11797 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
11799         * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
11800         __enable_execute_stack function.
11801         * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
11802         as NETBSD_ENABLE_EXECUTE_STACK.
11803         * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
11804         * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
11805         * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
11806         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
11807         * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
11809 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
11811         * config/i386/i386.c (x86_initialize_trampoline): Emit a call
11812         to __enable_execute_stack with the address of the trampoline
11813         if TRANSFER_FROM_TRAMPOLINE is defined.
11814         * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
11815         constant if building libgcc2.
11817 Thu Oct 17 17:40:05 CEST 2002  Jan Hubicka  <jh@suse.cz>
11819         * i386.c (pentium4_cost): Fix according to Intel recommendations.
11820         (ix86_memory_move_cost): Fix for 64bit compilation.
11822 2002-10-17  Roger Sayle  <roger@eyesopen.com>
11824         * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
11826 2002-10-17  Geoffrey Keating  <geoffk@apple.com>
11828         * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
11829         in CTR/LR/MQ.
11830         * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
11831         to/from CTR/LR/MQ.
11832         (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
11833         (movsf_softfloat): Likewise.
11835 2002-10-17  Janis Johnson  <janis187@us.ibm.com>
11837         * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
11839 2002-10-17  Jason Thorpe  <thorpej@wasabisystems.com>
11841         * config/alpha/alpha.c (alpha_initialize_trampoline): Use
11842         tramp, not addr, to pass the trampoline address to
11843         __enable_execute_stack.
11845 Thu Oct 17 18:40:47 CEST 2002  Jan Hubicka  <jh@suse.cz>
11847         * mmintrin.h: Guard by __MMX__
11848         * xmmintrin.h: Guard by __SSE__
11850         PR other/8062
11851         * xmmintrin.h (_MM_SHUFFLE2): New macro.
11852         (_mm_load*_?d): New functions.
11853         (_mm_set*_?d): New functions.
11854         (_mm_store*_?d): New functions.
11856 Wed Oct 16 15:01:29 CEST 2002  Jan Hubicka  <jh@suse.cz>
11858         Really commit patch announced at Oct 14
11859         PR c/7344
11860         * predict.c (can_predict_insn_p): New function.
11861         (estimate_probability): Avoid unnecesary work.
11862         (process_note_prediction): Likewise.
11863         * toplev.c (rest_of_compilation): Account early branch prediction pass
11864         as TV_BRANCH_PROB.
11866         PR other/8048
11867         Found by Ian Ollmann
11868         * xmmintrin.h (_mm_shuffle_pd): Fix typo.
11869         (_mm_load?_pd): Likewise.
11870         (_mm_store?_pd): Likewise.
11872         PR target/7386
11873         * i386.c (builtin_description):Drop cmpg[te]s[sd].
11874         * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
11875         swapped alternative.
11877         PR opt/7630
11878         * reload1.c (reload_inner_reg_of_subreg): New argument output;
11879         (push_reload): Update call.
11881 2002-10-17  Richard Sandiford  <rsandifo@redhat.com>
11883         * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
11884         if using mips/elf.h or mips/elf64.h.
11885         * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
11886         * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
11888 2002-10-16  Aldy Hernandez  <aldyh@redhat.com>
11890         * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
11891         SI.
11893 2002-10-16  Ulrich Weigand  <uweigand@de.ibm.com>
11895         * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
11896         (LPREFIX): Likewise.
11897         (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
11898         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
11899         ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
11900         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
11901         GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
11903         * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
11904         ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
11905         ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
11906         BSS_SECTION_ASM_OP): Move from linux.h.
11907         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
11908         Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
11910         * config/s390/s390.c (s390_function_profiler): Use
11911         ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
11913 2002-10-15  Eric Christopher  <echristo@redhat.com>
11915         * stor-layout.c (layout_type): Call GET_MODE_BITSIZE once.
11916         * java/parse.y (obtain_incomplete_type): Make pointer
11917         ptr_mode.
11919 2002-10-15  Richard Henderson  <rth@redhat.com>
11921         * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
11922         as arguments.  Bound DIGITS by the available buffer size.
11923         (real_to_hexadecimal): Likewise.
11924         * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
11925         (REAL_VALUE_TO_DECIMAL): Remove.
11926         * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
11927         sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
11928         config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
11929         config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
11930         config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
11931         config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
11932         config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
11933         use real_to_decimal directly, and with the proper arguments.
11934         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
11936 2002-10-15  Jim Wilson  <wilson@redhat.com>
11938         * reload1.c (merge_assigned_reloads): After converting overlapping
11939         reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
11941         * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
11943 Tue Oct 15 22:08:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
11945         * expr.c (do_tablejump): Fix typo in my previous commit.
11947 2002-10-15  Richard Sandiford  <rsandifo@redhat.com>
11949         * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
11951 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
11953         * config/s390/s390.c (s390_split_branches): Add return
11954         value.  Add parameters TEMP_REG and TEMP_USED.  Use unspec 104.
11956         (find_base_register_in_addr): New function.
11957         (find_base_register_ref): New function.
11958         (replace_base_register_ref): New function.
11960         (struct constant_pool): Add members pool_insn, insns, and anchor.
11961         Remove member last_insn.
11962         (s390_start_pool): Initialize them.
11963         (s390_end_pool): Emit pool placeholder insn.
11964         (s390_add_pool_insn): New function.
11965         (s390_find_pool): Use insns bitmap instead of addresses.
11966         (s390_dump_pool): Replace placeholder insn.  Emit anchor.
11967         Replace unspec 104 by local-pool-relative references.
11968         (s390_output_constant_pool): Output anchor label if required.
11969         (s390_output_symbolic_const): Handle unspec 104 and 105.
11970         (s390_add_pool): Remove, replace by ...
11971         (s390_add_constant, s390_find_constant): ... these new functions.
11972         (s390_add_anchor): New function.
11974         (s390_chunkify_pool): Delete, replace by ...
11975         (s390_chunkify_start, s390_chunkify_finish,
11976         s390_chunkify_cancel): ... these new functions.
11977         (s390_optimize_prolog): Add parameter TEMP_REGNO.
11978         Recompute register live data for special registers.
11979         (s390_fixup_clobbered_return_reg): New function.
11980         (s390_machine_dependent_reorg): Rewrite to use new
11981         s390_chunkify_... routines.
11983         config/s390/s390.md ("reload_base"): Rename to ...
11984         ("reload_base_31"): ... this.
11985         ("reload_base_64"): New insn.
11986         ("reload_base2"): Remove.
11987         ("reload_anchor"): New insn.
11988         ("pool"): New insn.
11990         s390.c (s390_pool_overflow): Remove.
11991         s390.h (s390_pool_overflow): Likewise.
11992         s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
11994 Tue Oct 15 16:51:04 2002  J"orn Rennecke <joern.rennecke@superh.com>
11996         * sh.md (movv8qi_i+2): Don't split if source is -1.
11998 2002-10-15  Janis Johnson  <janis187@us.ibm.com>
12000         * doc/install.texi: Formatting changes for conformance to HTML 4.01.
12002 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
12004         PR opt/7409
12005         * loop.c (loop_regs_scan): Mark registers used for function
12006         argument passing as MAY_NOT_OPTIMIZE.
12008 Mon Oct 14 19:22:19 CEST 2002  Jan Hubicka  <jh@suse.cz>
12010         * gcov-io.h (gcov_info): Fix type.
12011         * profile.c (create_profiler): Fix type mismatch.
12013 Mon Oct 14 20:33:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
12015         * i386.md (movv2di_internal): New pattern.
12016         (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
12017         (movv2di): New expander.
12018         * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
12020         * i386.c (ix86_expand_timode_binop_builtin): Delete.
12021         (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
12022         (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
12023         (ix86_expand_builtin): Likewise.
12024         * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
12025         sse_andti3,
12026         sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
12027         sse_andnti3,
12028         sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
12029         sse_orti3,
12030         sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
12031         sse_xorti3): Kill.
12032         (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
12033          sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
12034         (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
12035          *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
12036         (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
12037          *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
12039         * xmmintrin.h (__m128i): Define as __v2di.
12041         PR c++/6419
12042         (expand_expr): Use DECL_RTL_SET_P.
12044 2002-10-14  Roger Sayle  <roger@eyesopen.com>
12046         * combine.c (simplify_set):  Treat MODE_CC registers like cc0.
12048 2002-10-14  Roger Sayle  <roger@eyesopen.com>
12049             Zack Weinberg <zack@codesourcery.com>
12051         * config/i386/i386.c (k6_cost): Correct typo.
12053 2002-10-14  Mark Mitchell  <mark@codesourcery.com>
12055         PR optimization/6631
12056         * alias.c (objects_must_conflict_p): Check honor_readonly when
12057         examining TYPE_READONLY.
12058         * function.c (assign_stack_temp_for_type): Likewise.
12060 2002-10-14  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
12062         * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
12063         Swap zero extension arguments.
12064         (umaxhi3): Fix instruction class.
12065         PR target/7211
12066         (prefetch): Fix prefetch instructions.
12067         PR target/7238
12068         (pkwb): Fix output constraint.
12070 2002-10-14  Alexandre Oliva  <aoliva@redhat.com>
12072         * config/mips/mips.c (print_operand): Increase buffer size for
12073         real numbers.
12075 2002-10-14  Richard Henderson  <rth@redhat.com>
12077         PR opt/8165
12078         * gcse.c (adjust_libcall_notes): Revert last change.
12079         * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
12081 2002-10-14  Andrew Haley  <aph@redhat.com>
12083         * tree-inline.c (remap_block): All local class initialization
12084         flags go in the outermost scope.
12085         (expand_call_inline): Call java_inlining_map_static_initializers.
12086         (expand_call_inline): Call java_inlining_merge_static_initializers.
12087         * java/lang.c (merge_init_test_initialization): New.
12088         (java_inlining_merge_static_initializers): New.
12089         (inline_init_test_initialization): New.
12090         (java_inlining_map_static_initializers): New.
12092         * tree-inline.c (expand_call_inline): Convert retvar to expected
12093         type.
12095 2002-10-14  Graham Stott  <graham.stott@btinternet.com>
12097         * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
12099 2002-10-14  Aldy Hernandez  <aldyh@redhat.com>
12101         * stmt.c: Fix typo in comment.
12103 Mon Oct 14 11:35:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
12105         * c-common.c (c_common_type_for_mode): Add V2HImode case.
12106         * tree.c (build_common_tree_nodes_2): Initialize
12107         unsigned_V2HI_type_node and V2HI_type_node.
12108         * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
12109         (unsigned_V2HI_type_node, V2HI_type_node): Define.
12111 2002-10-14  Jakub Jelinek  <jakub@redhat.com>
12113         * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
12114         Handle TARGET_64BIT.
12116 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
12118         * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
12119         * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
12120         (MULTILIB_DIRNAMES): Remove long32.
12121         (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
12122         (MULTILIB_REDUNDANT_DIRS): Remove.
12124 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
12126         * doc/tm.texi (DRIVER_SELF_SPECS): Document.
12127         * gcc.c (driver_self_specs): New variable.
12128         (do_self_spec): New function.
12129         (main): Use it to process driver_self_specs.
12131 2002-10-13  Richard Henderson  <rth@redhat.com>
12133         * config/i386/i386.c (ix86_function_ok_for_sibcall): Reject
12134         indirect sibcalls when regparm >= 3.
12136         * config/i386/i386.c (sibcall_insn_operand): New.
12137         * config/i386/i386.h (PREDICATE_CODES): Update.
12138         * config/i386/i386-protos.h: Update.
12139         * config/i386/i386.md (sibcall_1, sibcall_value_1): Use it.
12141         * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
12143 2002-10-12  Roger Sayle  <roger@eyesopen.com>
12145         * simplify-rtx.c (simplify_binary_operation) [ASHIFTRT]: Optimize
12146         arithmetic right shifts of ~0 during RTL simplifications.
12148 2002-10-12  Neil Booth  <neil@daikokuya.co.uk>
12150         PR preprocessor/7862
12151         PR preprocessor/8190
12152         * gcc.c (cpp_unique_options): Don't delete .d files.
12153         Remove stray whitespace.
12155 2002-10-12  Naohiko Shimizu  <pshimizu@fa2.so-net.ne.jp>
12157         * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
12158         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
12159         * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
12160         (pdp11_output_function_epilogue, output_ascii): Likewise.
12161         (output_addr_const_pdp11): Likewise.
12162         * pdp11.md (movdi): Use offsetable memory for floating store.
12163         (lshrsi3, negsi2): Delete irrelevant comment.
12165 2002-10-11  Andreas Bauer  <baueran@in.tum.de>
12167         * config/i386/i386.c (ix86_function_ok_for_sibcall): Allow
12168         indirect calls to be sibcall optimized.
12169         * config/i386/i386.md (sibcall_1): New.
12170         (call_1): Add no-sibcalls condition.
12171         (sibcall_value_1): New.
12172         (call_value_1): Add no-sibcalls condition.
12174 2002-10-11  Eric Christopher  <echristo@redhat.com>
12176        * output.h (default_valid_pointer_mode): Declare.
12177        * varasm.c (default_valid_pointer_mode): Define.
12178        * target-def.h (TARGET_VALID_POINTER_MODE): Use.
12179        * target.h: Ditto.
12180        * tree.c (build_pointer_type_for_mode): New function.
12181        (build_pointer_type): Use.
12182        (build_reference_type_for_mode): New function.
12183        (build_reference_type): Use.
12184        * tree.h: Declare new functions.
12185        * c-common.c (handle_mode_attribute): Use new functions, check
12186        for type.
12187        * stor-layout.c (layout_type): Depend on machine mode for
12188        REFERENCE_TYPE and POINTER_TYPE.
12189        * dwarf2out.c (simple_type_size_in_bits): Move upward in file.
12190        (modified_type_die): Use instead of PTR_SIZE for POINTER_TYPE
12191        and REFERENCE_TYPE.
12192        * config/mips/mips.c (mips_valid_pointer_mode): New function.
12193        (TARGET_VALID_POINTER_MODE): Use and define.
12194        * config/mips/mips-protos.h (mips_valid_pointer_mode): Declare.
12196 2002-10-11  Geoffrey Keating  <geoffk@apple.com>
12198         * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
12199         not the address of the REG.
12200         (struct cse_reg_info): Make subreg_ticked unsigned.
12202 2002-10-11  Janis Johnson  <janis187@us.ibm.com>
12204         * doc/compat.texi: Add info about C++ libraries.
12206 2002-10-11  Richard Henderson  <rth@redhat.com>
12208         PR opt/8165
12209         * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
12211 2002-10-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12213         * cfganal.c (dfs_enumerate_from): Use PARAMS.
12214         * genautomata.c (output_insn_code_cases): Likewise.
12215         * real.c (real_format): Likewise.
12216         * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
12217         ensure value is promoted before doing subtraction.
12219 Fri Oct 11 22:22:38 CEST 2002  Jan Hubicka  <jh@suse.cz>
12221         * calls.c (expand_call): Simplify noreturn call.
12223         PR c/7344
12224         * cfgbuild.c (make_edges): Create edge cache when we do have
12225         large jumptable.
12226         * expr.c (do_tablejump): Note size of maximal jumptable.
12227         * function.c (prepare_function_start): Zero out size.
12228         * function.h (function): Add max_jumptable_ents.
12230         * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
12232 Fri Oct 11 12:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
12234         * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
12235         register for mperm_w operation.
12237 Fri Oct 11 10:56:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
12239         * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
12240         an integer, use simplify_gen_subreg.
12242 2002-10-10  Diego Novillo  <dnovillo@redhat.com>
12244         * calls.c (flags_from_decl_or_type): Make extern.
12245         (ECF_*): Move ...
12246         * rtl.h (ECF_*): ... here.
12247         (flags_from_decl_or_type): Declare.
12249 2002-10-10  Roger Sayle  <roger@eyesopen.com>
12250             Nathan Sidwell <nathan@codesourcery.com>
12252         * fold-const.c (fold) [RSHIFT_EXPR]: Optimize arithmetic right
12253         shifts of the form -1 >> x.
12255 Thu Oct 10 16:52:55 CEST 2002  Jan Hubicka  <jh@suse.cz>
12257         * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
12259 2002-10-10  Aldy Hernandez  <aldyh@redhat.com>
12261         * extend.texi (Vector Extensions): Remove comment about single
12262         element vectors.
12264 2002-10-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12266         * fold-const.c (size_htab_hash): Use htab_hash_pointer.
12267         * function.c (insns_for_mem_hash): Likewise.
12268         * varasm.c (STRHASH): Likewise.
12270 2002-10-10  Stuart Hastings  <stuart@apple.com>
12272         * cse.c (struct cse_reg_info): Add subreg_ticked.
12273         (SUBREG_TICKED): New.
12274         (get_cse_reg_info): Initialize SUBREG_TICKED.
12275         (mention_regs): Use it.
12276         (invalidate): Set SUBREG_TICKED.
12277         (invalidate_for_call): Likewise.
12278         (addr_affects_sp_p): Likewise.
12280 2002-10-10  Jakub Jelinek  <jakub@redhat.com>
12282         * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
12283         into proper operand.
12285 2002-10-10  Denis Chertykov  <denisc@overta.ru>
12287         * config/ip2k/ip2k.c (function_epilogue): Optimize stack
12288         deallocation.
12289         * config/ip2k/libgcc.S: Combine routines used by function
12290         epilogue.
12292 2002-10-10  Jim Wilson  <wilson@redhat.com>
12294         * cse.c (fold_rtx): Don't perform associative optimization for DIV and
12295         UDIV.
12297 2002-10-10  David Edelsohn  <edelsohn@gnu.org>
12299         * config/rs6000/aix52.h: New file.
12300         * config/rs6000/t-aix52: New File.
12301         * config.gcc (rs6000-ibm-aix5.1.*): New entry.
12302         (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
12304 Thu Oct 10 19:37:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
12306         PR target/5610
12307         * invoke.texi (-msse-math): Kill
12308         (-msse): Add note to mfpmath=sse.
12310 Thu Oct 10 17:08:30 CEST 2002  Jan Hubicka  <jh@suse.cz>
12312         PR target/7723
12313         * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
12315 2002-10-10  Neil Booth  <neil@daikokuya.co.uk>
12317         PR preprocessor/8179
12318         * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
12319         as cc1_options.
12320         (default_compilers): Pass debug options when preprocessing
12321         stdin.
12323 2002-10-06  Richard Henderson  <rth@redhat.com>
12325         * toplev.c (rest_of_compilation): Revert opt/2960 change.
12327 Wed Oct  9 21:18:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
12329         * i386.c (*_cost): Add branch costs.
12330         (override_options): set ix86_branch_cost.
12331         (ix86_expand_int_movcc): Use BRANCH_COST.
12332         * i386.h (costs): Add branch_cost.
12334 2002-10-09  Zack Weinberg  <zack@codesourcery.com>
12336         PR c/7353
12337         * c-decl.c (start_decl): Unconditionally issue error for
12338         'typedef foo = bar'.
12339         (finish_decl): Remove special case for TYPE_DECL with initializer.
12341         * doc/extend.texi: Delete "Naming Types" section.  Change all
12342         cross-references to that section to refer to "Typeof" instead.
12343         Add the useful safe-max()-macro example from "Naming Types" to
12344         "Typeof", rewritten using that extension.  Add some compatibility
12345         notes to "Typeof."
12347 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12349         * loop.c: Revert 2002-08-15 change.
12350         (LOOP_REGNO_NREGS): Ensure type is int.
12352 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
12354         * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
12355         which copies first FPR and clears second.
12356         (extendsftf2): Same.
12357         (floatditf2): Fix typo.
12358         (floatsitf2): Same.
12359         (fix_trunctfdi2): Same.
12360         (fix_trunctfsi2): Same.
12362 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12364         * conflict.c (arc_hash): Change return type to hashval_t.
12365         * cselib.c (get_value_hash): Likewise.
12366         * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
12367         state_hash, automata_list_hash): Likewise.
12368         * read-rtl.c (def_hash): Likewise.
12369         * tree.c (type_hash_hash): Likewise.
12371 2002-10-08  Aldy Hernandez  <aldyh@redhat.com>
12373         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
12374         prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
12376 Wed Oct  9 15:54:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
12378         * sh.md (ffssi2): Fix emitted code.
12380 2002-10-09  Ulrich Weigand  <uweigand@de.ibm.com>
12382         * cse.c (insn_live_p): Pass insn pattern, not full insn
12383         to may_trap_p.
12385 2002-10-09  Neil Booth  <neil@daikokuya.co.uk>
12387         * cppmacro.c (paste_tokens): Only allow / to paste with =.
12389 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
12391         * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
12392         64-bit hosts.
12393         (movtf_internal): Reference correct displacement for second value
12394         in memory.
12395         (movtf splitter): Correct generation of constants in 64-bit mode.
12397 2002-10-09  Alan Modra  <amodra@bigpond.net.au>
12399         * libgcc2.c (__floatdisf): Properly cure double rounding.
12401 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
12403         * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
12404         * doc/cpp.texi (Common Predefined Macros): Document.
12406 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
12408         PR doc/7484
12409         * doc/invoke.texi (Option Summary): List
12410         -Wmissing-declarations as a C only option.
12412 2002-10-08  Roger Sayle  <roger@eyesopen.com>
12414         * fold-const.c (fold) [LROTATE_EXPR, RROTATE_EXPR]: Optimize
12415         left and right rotates of ~0, i.e. integer_all_onesp (arg0).
12416         [LSHIFT_EXPR, RSHIFT_EXPR]: Optimize shifts and rotates of zero.
12418 Tue Oct  8 01:24:19 CEST 2002  Jan Hubicka  <jh@suse.cz>
12420         * i386.c (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
12421         x86_sse_typeless_stores, x86_sse_load0_by_pxor): New global
12422         variables.
12423         (safe_vector_operand): Update sse_clrv4sf call.
12424         (ix86_expand_buildin): Likewise
12425         * i386.h (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
12426         x86_sse_typeless_stores, x86_sse_load0_by_pxor): Declare.
12427         (TARGET_SSE_PARTIAL_REG_DEPENDENCY, TARGET_SSE_PARTIAL_REGS,
12428         TARGET_SSE_TYPELESS_STORES, TARGET_SSE_TYPELESS_LOAD0): New
12429         macros.
12430         * i386.md (movsf*, movdf*, movti, movv4sf, movv2df, movv16qi, movv8hi,
12431         movv4si):  Obey the new flags.
12432         (floatsi2sf, floatdi2sf, truncatedf2sf): Emit extra load of 0 to avoid
12433         reformating penalty.
12434         (anddf, cmov patterns): Avoid reformating by first converting.
12435         (sse_cvtsd2ss): Fix predicate.
12436         (sse2_clrti): Fix mode,
12437         (sse_clrv4sf): Avoid unspec.
12439 2002-10-08  Jakub Jelinek  <jakub@redhat.com>
12441         * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
12442         mno-app-regs|mcmodel=medany.
12443         (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
12444         (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
12445         (CRTSTUFF_T_CFLAGS): Define.
12447 2002-10-08  Roger Sayle  <roger@eyesopen.com>
12449         PR target/8087
12450         * simplify-rtx.c (avoid_constant_pool_reference):  Allow constant
12451         pool references that are constructed using LO_SUM.
12453 2002-10-08  Nathan Sidwell  <nathan@codesourcery.com>
12455         * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
12456         -Wall.
12457         * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
12458         message.
12459         * flags.h (warn_strict_aliasing): Declare.
12460         * toplev.c (warn_strict_aliasing): Define.
12461         (lang_independent_options): Add it.
12462         * doc/invoke.texi (-Wstrict-aliasing): Document it.
12464 2002-10-08  Zack Weinberg  <zack@codesourcery.com>
12466         * system.h (GCCBUGURL): Delete.
12467         * version.c (bug_report_url): New.  Add commentary about
12468         modifying both these strings in modified distributions.
12469         * version.h: Declare bug_report_url.
12471         * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
12472         bug_report_url.
12474 2002-10-08  Nick Clifton  <nickc@redhat.com>
12476         * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
12477         convert uint64_t into __ev64_opaque__.
12478         (__ev_set_acc_s64): Likewise, but using signed types.
12480 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12482         * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
12483         ("*doloop_di_long"): Likewise.
12485 Tue Oct  8 16:50:10 CEST 2002  Jan Hubicka  <jh@suse.cz>
12487         * print-rtl.c (print_rtx): Increase buffer size for real numbers.
12489 2002-10-08  Richard Sandiford  <rsandifo@redhat.com>
12491         * config/mips/mips.md (define_attr cpu): Add r4111.
12493 2002-10-08  Anthony Green  <green@redhat.com>
12495         * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
12497 2002-10-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12499         * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
12500         for REAL_VALUE_TO_DECIMAL output.
12502 2002-10-07  Richard Henderson  <rth@redhat.com>
12504         * cse.c (fixed_base_plus_p): Turn FIXED_BASE_PLUS_P into a
12505         function; cleanup PLUS case by using recursion.  Update all users.
12506         (NONZERO_BASE_PLUS_P): Remove.
12507         (find_comparison_args): Use rtx_addr_can_trap_p instead.
12508         (fold_rtx): Use nonzero_address_p.
12509         * rtl.h (nonzero_address_p): Declare.
12510         * rtlanal.c (rtx_varies_p): Handle ADDRESSOF.
12511         (rtx_addr_can_trap_p): Likewise.
12512         (nonzero_address_p): New.
12513         * simplify-rtx.c (NONZERO_BASE_PLUS_P): Remove.
12514         (simplify_relational_operation): Use nonzero_address_p.
12516 2002-10-07  David Edelsohn  <edelsohn@gnu.org>
12518         * config/rs6000/rs6000.c (rs6000_override_options): Set
12519         real_format_for_mode for IBM extended format, if enabled.
12520         (easy_fp_constant): Add TFmode.
12521         (rs6000_legitimize_address): Add TFmode.
12522         (rs6000_legitimate_address): Same.
12523         (function_arg_advance): TFmode uses two FPRs.
12524         (rs6000_emit_prologue): Fix warning.
12525         (rs6000_output_function_epilogue): Add TFmode.
12526         (output_toc): Add TFmode.
12527         * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
12528         (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
12529         * rs6000.md (movtf splitter): Load TFmode constant.
12531 2002-10-07  Dale Johannesen  <dalej@apple.com>
12533         * rtl.h:  Add NOTE_PRECONDITIONED.
12534         * unroll.c:  Set it.
12535         * loop.c:  Set loop_info->preconditioned from it.
12536         * doloop.c:  Permit doloop treatment when loop_info->preconditoned.
12538 2002-10-07  Richard Henderson  <rth@redhat.com>
12540         * config/i960/i960.c (i960_setup_incoming_varargs): Create a
12541         new rtx for comparing the argument pointer against zero.
12542         (i960_va_start): Similarly.
12544 2002-10-07  Richard Henderson  <rth@redhat.com>
12546         * config/i960/i960.md (*): Use TFmode, not XFmode.
12547         * config/i960/i960.c (*): Likewise.
12548         (i960_arg_size_and_align): Remove XFmode alignment hack.
12549         (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
12550         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
12551         (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
12552         (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
12554 2002-10-07  Richard Henderson  <rth@redhat.com>
12556         * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
12557         entry points; use void return value and argument list.
12559 2002-10-06  Andreas Bauer  <baueran@in.tum.de>
12561         * calls.c (expand_call): Fix function-is-volatile check.
12563 2002-10-05  Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
12565         * t-pdp11: Add MULTILIB support for msoft-float.
12566         * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
12568         * t-pdp11: Add LIB2FUNCS_EXTRA.
12569         * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
12570         add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
12571         'fldd' to 'ldd', rename 'fstd' to 'std'.
12572         (pdp11_output_function_epilogue): Likewise.
12573         (output_move_quad): Make the comment gas compatible.
12574         (output_ascii): Add preceding 0 to the octal constant.
12575         (print_operand_address): Add pre_modify, post_modify.
12576         (output_addr_const_pdp11): Add preceding 0 to the octal constant.
12577         * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
12578         with the indication of Paul Koning.
12579         (PRINT_OPERAND): Fix floating constant.
12580         * pdp11.md (movdi): Restrict matching pattern.
12581         (movqi): Generalize the matching pattern.
12582         (movdf): Restrict matching pattern.
12583         (zero_extendqihi2): Change constant representation.
12584         (floatsidf2): Fix wrong operands.
12585         (addqi3): Fix wrong instruction name.
12586         (subqi3): Fix wrong instruction name.
12587         (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
12588         (xorsi3): Fix wrong insn.
12589         (one_cmplqi2): Add two operand pattern.
12590         (lsrsi3): New.
12591         (negsi2): New.
12592         (call): Add register indirect case.
12593         (mod): Fix wrong subreg.
12595 2002-10-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
12596             Volker Reichelt <reichelt@igpm.rwth-aachen.de>
12598         PR c/7411
12599         * expr.c (expand_expr) [PLUS]: Simplify after the operands
12600         have been expanded in EXPAND_NORMAL mode.
12602 2002-10-06  Richard Henderson  <rth@redhat.com>
12604         * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
12606 2002-10-06  Richard Henderson  <rth@redhat.com>
12608         PR optimization/2960
12609         * toplev.c (rest_of_compilation): Don't copy_loop_headers if
12610         optimize_size.
12612 2002-10-06  Alexandre Oliva  <aoliva@redhat.com>
12614         * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
12615         previously definitions.
12617 2002-10-06  Frank Ch. Eigler  <fche@redhat.com>
12619         * cppinit.c (init_standard_includes, parse_option): Use strncmp.
12620         * c-opts.c (find_opt): Similarly.
12622 Sat Oct  5 22:48:06 CEST 2002  Jan Hubicka  <jh@suse.cz>
12624         * athlon.md: rewrite to DFA.
12625         * i386 (ix86_adjust_cost): Drop memory latency code.
12626         (ia32_use_dfa_pipeline_interface): Return true for Athlon.
12628 2002-10-05  Jakub Jelinek  <jakub@redhat.com>
12630         * gcc.c (set_multilib_dir): Don't access *end.
12631         Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
12632         (print_multilib_info): Don't show paths starting with ".:".
12633         * genmultilib: Add new option, "yes" if multilibs are enabled.
12634         Update comments.  If multilibs not enabled, print .:${osdirout}
12635         for each directory.  If multilibs are enabled, always print
12636         ${dirout}:${osdirout}, even if the two are the same.
12637         * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
12638         Pass all MULTILIB_* variables to genmultilib even if
12639         --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
12641 2002-10-04  Zack Weinberg  <zack@codesourcery.com>
12643         * gcc.c (process_command): Set .validated for -pipe.  Correct
12644         grammar in comment.
12646 2002-10-04  Bruce Korb  <bkorb@gnu.org>
12648         * fixinc/inclhack.def(hpux11_abs):  use format fix
12649         * fixinc/fixincl.x: regenerate
12650         * fixinc/tests/base/stdlib.h: accommodate new fix test
12652 Sat Oct  5 19:42:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
12654         * c-common.c (cb_register_builtins):  Use really_no_inline.
12656 2002-10-04  David Edelsohn  <edelsohn@gnu.org>
12658         * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
12659         copied instruction if the note is not loop invariant.
12661 2002-10-04  Loren J. Rittle  <ljrittle@acm.org>
12663         * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
12665 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
12667         * doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
12668         and -mhp-ld options to list of options.  Add -mgnu-ld
12669         and -mhp-ld option descriptions.
12671 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
12673         * fixinc/inclhack.def (hpux11_abs):  New.
12674         (stdio_va_list): change __va_list__ to __gnuc_va_list.
12675         * fixinc/fixincl.x: Rebuild.
12677 2002-10-04  Roger Sayle  <roger@eyesopen.com>
12679         * config/i386/i386.h (processor_costs): Add new fields fadd,
12680         fmul, fdiv, fabs, fchs and fsqrt to costs structure.
12681         (RTX_COSTS): Use these fields to determine the RTX costs
12682         of floating point addition/subtraction, multiplication,
12683         division, fabs, negation and square root respectively.
12684         * config/i386/i386.c (size_cost): Provide instruction sizes
12685         for these new fields.
12686         (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
12687         k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
12688         counts for these new fields for all x86 processor variants.
12690 2002-10-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12692         * mips.c (mips_const_double_ok): Delete unused variable.
12694         * gengtype.c (rtx_next): Change type to int.
12696 2002-10-04  Andreas Jaeger  <aj@suse.de>
12698         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
12700 2002-10-04  Richard Henderson  <rth@redhat.com>
12702         * real.h (SIGNIFICAND_BITS): Add one more word.
12703         (CONST_DOUBLE_FORMAT): Accomodate 6 words.
12704         * real.c (times_pten): New.
12705         (real_to_decimal, real_from_string): Use it.
12706         (sticky_rshift_significand): Use & to find modulus.
12707         (rshift_significand, lshift_significand): Likewise.
12708         (do_divide): Apply sticky bit after normalization.
12709         (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
12711 2002-10-03  Andreas Bauer  <baueran@in.tum.de>
12713         * doc/tm.texi (FUNCTION_OK_FOR_SIBCALL): Remove.
12714         (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
12716 2002-10-03  Andreas Jaeger  <aj@suse.de>
12718         * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
12719         to unsigned long, adjust printf format string.
12720         (output_mangled_typename): Likewise.
12722 2002-10-03  Jason Thorpe  <thorpej@wasabisystems.com>
12724         * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
12725         * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
12726         (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
12727         assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
12728         (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
12729         (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
12730         * config/vax/elf.h (FUNCTION_PROFILER): Remove.
12731         (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
12733 2002-10-03  Mark Mitchell  <mark@codesourcery.com>
12735         * doc/invoke.texi (-Wabi): Document mangling bug.
12737 2002-10-04  Alan Modra  <amodra@bigpond.net.au>
12739         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
12740         name for the tbtab label that depends on the function asm name.
12741         Don't output tbtab label unless optional_tbtab.
12742         (output_mi_thunk): Formatting.
12744 2002-10-03  Richard Henderson  <rth@redhat.com>
12746         * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
12747         * config/m68k/m68k.c (override_options): ... here.
12748         * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
12749         * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
12750         * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
12751         * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
12753 2002-10-03  Richard Henderson  <rth@redhat.com>
12755         * real.h (struct real_value): Use ENUM_BITFIELD.
12757 2002-10-03  Richard Henderson  <rth@redhat.com>
12759         * config/i960/i960.md (call, call_value): Use emit_call_insn.
12761 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
12763         * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
12765 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
12767         * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
12768         * config/pa/pa.h (MASK_GNU_LD): New.
12769         (TARGET_GNU_LD): New.
12770         * config/pa/pa64-hpux.h (LINK_SPEC): Set based
12771         on gnu-ld and MASK_GNU_LD.
12772         (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
12774 Thu Oct  3 23:35:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
12776         * i386.c (athlon_cost): Fix the move costs.
12778 Thu Oct  3 23:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
12780         * final.c (final): Use symbol name as function name for profiling.
12781         * profile.c (get_exec_counts): Likewise.
12782         (branch_prob): Likewise.
12784 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
12786         * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
12788 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
12790         * gcc.c (print_multi_os_directory): New variable.
12791         (option_map): Support --print-multi-os-directory.
12792         (struct prefix_list): Add os_multilib field.
12793         (multilib_os_dir): New variable.
12794         (static_specs): Add multilib_options.
12795         (find_a_file): Add multilib argument.  Search in GCC or OS multilib
12796         subdirs if nonzero.
12797         (read_specs, execute): Update callers.
12798         (find_file): Likewise.  Don't prefix name with multilib_dir, instead
12799         pass 1 as multilib option.
12800         (display_help): Include --print-multi-os-directory.
12801         (add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
12802         (process_command): Update callers.  Handle --print-multi-os-directory.
12803         (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
12804         set.
12805         (main): Update find_a_file and add_prefix callers.
12806         Handle print_multi_os_directory.
12807         (struct mdswitchstr): New.
12808         (mdswitches, n_mdswitches): New variables.
12809         (used_arg): Add MULTILIB_DEFAULT switches too if they are not
12810         present on the command line nor their mutually incompatible
12811         switches.
12812         (default_arg): Optimize.
12813         (set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
12814         array.
12815         (print_multilib_info): Only print GCC multilib dir name, not OS
12816         multilib dirname.
12817         * genmultilib: Add osdirnames parameter.  Output multilib_options
12818         variable.  If osdirnames is specified, output dirnames as
12819         dirname:osdirname.
12820         * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
12821         and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
12822         to compute libgcc_s soname and install path.
12823         * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
12824         SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
12825         (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
12826         argument.
12828         * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
12829         (SHLIB_SLIBDIR_SUFFIXES): Remove.
12830         * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
12831         ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
12832         (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
12833         and -m64.
12834         * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
12835         (SHLIB_SLIBDIR_SUFFIXES): Remove.
12836         * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
12837         (STARTFILE_ARCH_SPEC): Remove.
12838         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
12839         (SHLIB_SLIBDIR_SUFFIXES): Remove.
12840         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
12841         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
12842         (SHLIB_SLIBDIR_SUFFIXES): Remove.
12844 Thu Oct  3 21:42:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
12846         * predict.c (choose_function_section): Avoid choice for linkonce functions.
12848 Thu Oct  3 15:15:00 CEST 2002  Jan Hubicka  <jh@suse.cz>
12850         * i386.md (lea to mul peep2): Fix condition.
12852 2002-10-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12854         * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
12855         * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
12857 2002-10-02  David Mosberger-Tang  <David.Mosberger@acm.org>
12859         * unwind.h (_Unwind_GetTextRelBase): Mark _C argument with
12860         attribute "unused".
12862         * config/t-libunwind: Mention unwind-sjlj.c.
12863         * unwind-libunwind.c: Change #ifdef __USING_LIBUNWIND_EXCEPTIONS__
12864         to #ifndef __USING_SJLJ_EXCEPTIONS__.
12866         * configure.in: Move sjlj-exceptions and --enable-libunwind-exceptions
12867         before inclusion of config.gcc, but after configuring the compiler etc.
12868         Determine default value for --enable-libunwind-exceptions based on
12869         whether the host has a libunwind library (not guaranteed to be correct,
12870         but it's a reasonable first guess and can always be overridden with an
12871         explicit --enable/disable-libunwind-exceptions.
12872         * config.gcc: For target ia64*-*-linux*, mention t-libunwind as a
12873         tmake_file when $use_libunwind_exceptions is enabled.
12874         * Makefile.in: Update comment: LIB2ADDEH is updated not just by
12875         ia64 (e.g., config/t-linux also updates it).
12876         * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS]: Mention -lunwind
12877         along with the shared version of libgcc since the latter requires
12878         the former.
12879         * unwind-libunwind.c: New file.
12880         * config/t-libunwind: Ditto.
12882 2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>
12884         * config.gcc: Remove support for vax-*-vms*.
12885         * config/vax/vms.h: Remove.
12886         * config/vax/xm-vms.h: Remove.
12887         * config/vax/vax-protos.h: Remove VMS-specific code.
12888         * config/vax/vax.c: Remove VMS-specific code.
12890 2002-10-02  Richard Henderson  <rth@redhat.com>
12892         PR opt/7124
12893         * config/i386/i386.c (ix86_register_move_cost): Increase cost
12894         for secondary_memory_needed pairs.
12896 2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>
12898         * doc/vms.texi: Blow away false include file section.
12900 2002-10-02  Roger Sayle  <roger@eyesopen.com>
12902         PR optimization/6627
12903         * toplev.c (force_align_functions_log): New global variable.
12904         * flags.h (force_align_functions_log): Add extern prototype.
12905         * varasm.c (assemble_start_function): Use it to force minimum
12906         function alignment.
12907         * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
12908         minimum function alignment to one byte.
12909         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
12910         the least significant bit of vtable member function pointers.
12911         * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
12912         here from cp/cp-tree.h.
12914 Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
12916         * i386.c (print_operand_address): Use RIP addressing for offsetted
12917         label refs too.
12919 2002-09-30  David S. Miller  <davem@redhat.com>
12921         PR middle-end/7151
12922         * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
12923         (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
12925 2002-10-01  Andreas Bauer  <baueran@in.tum.de>
12927         * calls.c (expand_call): Remove the `no indirect check'
12928         for sibcall optimization; use function_ok_for_sibcall
12929         target hook; refine check for `function is volatile'.
12930         (FUNCTION_OK_FOR_SIBCALL): Remove the redefinition.
12931         * hooks.c (hook_tree_tree_bool_false): New.
12932         * hooks.h (hook_tree_tree_bool_false): Declare.
12933         * target-def.h (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
12934         (TARGET_INITIALIZER): Add it.
12935         * target.h (struct gcc_target): Add function_ok_for_sibcall.
12936         * config/alpha/alpha.c: (alpha_function_ok_for_sibcall): New.
12937         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12938         * config/alpha/alpha.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12939         * config/arm/arm-protos.h: (arm_function_ok_for_sibcall):
12940         Remove function declaration.
12941         * config/arm/arm.c: (arm_function_ok_for_sibcall): Make
12942         function static and accept another argument of type `tree'.
12943         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12944         * config/arm/arm.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12945         * config/frv/frv.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12946         * config/i386/i386.c: (ix86_function_ok_for_sibcall): New.
12947         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12948         * config/i386/i386.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12949         * config/pa/pa-linux.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12950         (TARGET_HAS_STUBS_AND_ELF_SECTIONS): New definition.
12951         * config/pa/pa.c: (pa_function_ok_for_sibcall): New.
12952         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12953         * config/pa/pa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12954         * config/rs6000/rs6000-protos.h: (function_ok_for_sibcall):
12955         Remove function declaration.
12956         * config/rs6000/rs6000.c: (rs6000_function_ok_for_sibcall):
12957         Rename function_ok_for_sibcall to rs6000_function_ok_for_sibcall;
12958         rename first argument to `decl'; accept another argument
12959         of type `tree'; make static.
12960         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12961         * config/rs6000/rs6000.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12962         * config/sh/sh.c: (sh_function_ok_for_sibcall): New.
12963         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12964         * config/sh/sh.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12965         * config/sparc/sparc.c: (sparc_function_ok_for_sibcall): New.
12966         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12967         * config/sparc/sparc.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12968         * config/xtensa/xtensa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12970 2002-10-01  Roger Sayle  <roger@eyesopen.com>
12972         * unroll.c (loop_iterations): Revert 2002-09-08 change.
12974 2002-10-01  Richard Henderson  <rth@redhat.com>
12976         * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
12977         (real_to_hexadecimal): Likewise.
12978         * print-rtl.c (print_rtx): If we are linked with real.c, don't
12979         dump the XWINT fields of a floating point CONST_DOUBLE.
12981 2002-10-01  Jason Thorpe  <thorpej@wasabisystems.com>
12983         * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
12985 2002-10-01  Richard Henderson  <rth@redhat.com>
12987         * calls.c (precompute_register_parameters): Force non-legitimate
12988         constants into pseudos.
12990 2002-10-01  Nick Clifton  <nickc@redhat.com>
12992         * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
12993         to assembler template.
12995 2002-10-01  Richard Henderson  <rth@redhat.com>
12997         * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
12998         for TLS debug info to !DECL_EXTERNAL.
13000 2002-10-01  Matt Thomas  <matt@3am-software.com>
13001             Jason Thorpe  <thorpej@wasabisystems.com>
13003         * config.gcc (vax-*-netbsdelf*): Enable configuration.
13004         * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
13005         if not already defined.
13006         * config/vax/elf.h: New file.
13007         * config/vax/netbsd-elf.h: New file.
13008         * config/vax/vax.c: Include "debug.h".
13009         (vax_output_function_prologue): Add dwarf2 support.  Use
13010         MAIN_NAME_P when checking for VMS_TARGET stack adjust.
13011         * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
13012         'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
13013         'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
13014         (VAX_ISTREAM_SYNC): Remove.
13015         (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
13016         (JUMP_TABLES_IN_TEXT_SECTION): Define.
13017         (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
13018         (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
13019         and assemble_name.
13020         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
13021         (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
13022         (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
13023         (INCOMING_RETURN_ADDR_RTX): Define.
13024         * config/vax/vax.md (VUNSPEC_BLOCKAGE)
13025         (VUNSPEC_SYNC_ISTREAM): Define.
13026         (blockage): Use VUNSPEC_BLOCKAGE.
13027         (sync_istream): New insn.
13029 2002-10-01  Richard Henderson  <rth@redhat.com>
13031         * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
13032         (*call_value_pop, call, call_value): Add dwarf2 EH support.
13033         (*call): New insn.
13035 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
13037         PR c/8083
13038         * c-typeck.c (build_c_cast): Warn about type punning which breaks
13039         type based aliasing.
13041 2002-10-01  Mark Mitchell  <mark@codesourcery.com>
13043         * stor-layout.c (update_alignment_for_field): New function.
13044         (place_union_field): Use it.
13045         (place_field): Likewise.
13047 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
13049         PR other/8077
13050         * gcc.c (cc1_options): Add space on -auxbase-strip.
13052 2002-10-01  Jim Wilson  <wilson@redhat.com>
13054         * config/v850/v850.h (EPILOGUE_USES): Define.
13056 2002-09-30  Andrew Haley  <aph@redhat.com>
13058         * flow.c (insn_dead_p): When using non-call-exceptions, don't
13059         eliminate insns that may trap.
13060         * cse.c (insn_live_p): Likewise.
13062 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
13064         * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
13065         (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
13066         * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
13067         * config/mips/mips.md: Apply same renaming here.
13069 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
13071         * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
13072         (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
13073         * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
13074         * config/mips/mips.md (define_attr cpu): Remove r4320.
13075         Remove vr4320 scheduler and uses of TARGET_MIPS4320.
13077 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
13079         * config/mips/mips.c (mips16_strings): New variable.
13080         (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
13081         symbol in mips16_strings.  Free the list.
13082         (mips_encode_section_info): Keep track of local strings.
13084 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
13086         * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
13087         (sordered_df, sordered_sf): Remove.
13088         * config/mips/mips.c (get_float_compare_codes): New fn.
13089         (gen_int_relational, gen_conditional_move): Use it.
13091 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
13093         * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
13094         * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
13095         * config/mips/mips.c (fcc_register_operand): New function.
13096         (mips_emit_fcc_reload): New function, extracted from reload_incc.
13097         (override_options): Allow TFmode values in float registers
13098         if ISA_HAS_8CC.
13099         * cnfig/mips/mips.md (reload_incc): Change destination prediate
13100         to fcc_register_operand.  Remove misleading source constraint.
13101         Use mips_emit_fcc_reload.
13102         (reload_outcc): Duplicate reload_incc.
13104 2002-09-30  Zack Weinberg  <zack@codesourcery.com>
13106         * gcc.c (validate_switches): Handle all new forms of spec
13107         syntax introduced recently.  Now returns a char *.
13108         (validate_all_switches): Repetitive logic broken out to...
13109         (validate_switches_from_spec): ...here.
13110         * mklibgcc.in: Don't @-flag commands to generate .oS files.
13112 2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
13114         * longlong.h: Partially synchronize with GMP-4.1 version:
13115         Use i370 definitions also for s390.
13116         Add generic definition of umul_ppmm in terms of smul_ppmm.
13117         [s390] (umul_ppmm): Remove.
13118         [s390] (smul_ppmm): Fix incorrect assembler constraints.
13119         [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
13121 2002-09-30  Bob Wilson  <bob.wilson@acm.org>
13123         * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
13124         Add new RL_REGS register class.
13125         (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
13126         Call xtensa_preferred_reload_class for both input and output reloads.
13127         * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
13128         (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
13129         instead of either AR_REGS or GR_REGS classes.
13130         (xtensa_secondary_reload_class): Use new RL_REGS class.
13131         * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
13133 2002-09-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13135         * pa.c (hppa_encode_label): Don't drop '*' from function labels.
13136         (pa_strip_name_encoding): Strip '@' and '*', in that order.
13137         * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
13138         there is a '*' prefix in NAME.
13140 Mon Sep 30 21:33:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
13142         * reload.c (push_reload): Handle subregs and secondary memory.
13143         * reload1.c (gen_reload): Likewise.
13145         * jump.c (reg_or_subregno): New function.
13146         * rtl.h (reg_or_subregno): Declare
13147         * unroll.c (find_splittable_givs): Handle subregs.
13149 2002-09-30  Mark Mitchell  <mark@codesourcery.com>
13151         * store-layout.c (finish_record_layout): Add free_p parameter.
13152         (layout_type): Pass it.
13153         * tree.h (finish_record_layout): Update prototype.
13155 Mon Sep 30 14:57:18 CEST 2002  Jan Hubicka  <jh@suse.cz>
13157         * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
13159         * gcse.c (cprop_jump): Check that the register has not
13160         been modified
13161         (cprop_jump): Likewise.
13163 2002-09-30  Richard Earnshaw  <rearnsha@arm.com>
13165         * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
13166         (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
13167         that we have a SImode access, and only then if reload hasn't completed;
13168         for all other cases, use LO_REGS.
13170 2002-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13172         * openbsd.h: Fix typo in last change.
13174 2002-09-29  Richard Henderson  <rth@redhat.com>
13176         * real.c (real_from_string): Apply sign last.  Tidy exponent handling.
13178 2002-09-29  Richard Henderson  <rth@redhat.com>
13180         PR c/8002
13181         * combine.c (force_to_mode): Handle FLOAT_MODE destinations
13182         for CONST_INT.
13184 2002-09-29  David Edelsohn  <edelsohn@gnu.org>
13186         * real.h (ibm_extended_format): Declare.
13187         * real.c (encode_ibm_extended, decode_ibm_extended): New
13188         functions.
13190 2002-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13192         * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
13194         * ia64.c (ia64_hpux_asm_file_end): Const-ify.
13196 2002-09-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13198         * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
13200 2002-09-29  Kazu Hirata  <kazu@cs.umass.edu>
13202         * builtins.def: Fix comment formatting.
13203         * c-common.def: Likewise.
13204         * cfgcleanup.c: Likewise.
13205         * combine.c: Likewise.
13206         * gengtype.c: Likewise.
13207         * params.def: Likewise.
13208         * predict.def: Likewise.
13209         * rtl.def: Likewise.
13210         * stab.def: Likewise.
13211         * stor-layout.c: Likewise.
13212         * tree.def: Likewise.
13213         * config/darwin.c: Likewise.
13214         * config/darwin.h: Likewise.
13215         * config/dbxcoff.h: Likewise.
13216         * config/elfos.h: Likewise.
13217         * config/fp-bit.c: Likewise.
13218         * config/freebsd-spec.h: Likewise.
13219         * config/interix.h: Likewise.
13220         * config/libgloss.h: Likewise.
13221         * config/linux-aout.h: Likewise.
13222         * config/linux.h: Likewise.
13223         * config/lynx-ng.h: Likewise.
13224         * config/lynx.h: Likewise.
13225         * config/netbsd-aout.h: Likewise.
13226         * config/netbsd.h: Likewise.
13227         * config/netware.h: Likewise.
13228         * config/psos.h: Likewise.
13229         * config/ptx4.h: Likewise.
13231 2002-09-28  Kazu Hirata  <kazu@cs.umass.edu>
13233         * ChangeLog.4: Fix typos.
13234         * ChangeLog.6: Likewise.
13235         * FSFChangeLog.10: Likewise.
13236         * genattrtab.c: Fix comment typos.
13237         * haifa-sched.c: Likewise.
13238         * real.c: Likewise.
13239         * tree.h: Likewise.
13240         * config/arm/arm.c: Likewise.
13241         * config/arm/crti.asm: Likewise.
13242         * config/arm/crtn.asm: Likewise.
13243         * config/frv/frv.c: Likewise.
13244         * config/frv/frv.md: Likewise.
13245         * config/h8300/h8300.md: Likewise.
13246         * config/i386/rtemself.h: Likewise.
13247         * config/ia64/unwind-ia64.c: Likewise.
13248         * config/ip2k/ip2k.h: Likewise.
13249         * config/m88k/m88k.c: Likewise.
13250         * config/m88k/m88k.md: Likewise.
13251         * config/mips/sr71k.md: Likewise.
13252         * config/mmix/mmix.c: Likewise.
13253         * config/rs6000/rs6000.c: Likewise.
13254         * config/sh/sh.md: Likewise.
13256 2002-09-26  Theodore A. Roth  <troth@verinet.com>
13258         * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
13259         * config/avr/avr.md: Ditto.
13261 2002-09-27  Alexander N. Kabaev <ak03@gte.com>
13263         PR preprocessor/8055
13264         * cppmacro.c (stringify_arg): Do not overflow the buffer
13265         with the terminating NUL when the argument to be stringified
13266         has no tokens.
13268 2002-09-27  Richard Henderson  <rth@redhat.com>
13270         * unroll.c (simplify_cmp_and_jump_insns): New.
13271         (unroll_loop): Use it.  Use simplify_gen_foo+force_operand
13272         instead of expand_simple_foo.
13274 2002-09-27  Richard Henderson  <rth@redhat.com>
13276         PR optimization/7520
13277         * cfganal.c (flow_active_insn_p): New.
13278         (forwarder_block_p): Use it.
13280 2002-09-27  Richard Henderson  <rth@redhat.com>
13282         * emit-rtl.c (active_insn_p): Revert last change.
13284 2002-09-27  Jakub Jelinek  <jakub@redhat.com>
13286         * doc/extend.texi (tls_model): Document.
13287         * varasm.c (decl_tls_model): New.
13288         * c-common.c (handle_tls_model_attribute): New.
13289         (c_common_attribute_table): Add tls_model.
13290         * config/alpha/alpha.c (alpha_encode_section_info): Use
13291         decl_tls_model.
13292         * flags.h (enum tls_model, flag_tls_default): Move...
13293         * tree.h (enum tls_model, flag_tls_default): ...here.
13294         (decl_tls_model): New prototype.
13295         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
13296         * config/i386/i386.c (ix86_encode_section_info): Likewise.
13297         * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
13298         Allow !flag_pic.
13300 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
13302         * LANGUAGES: Follow spelling conventions.
13303         * rtl.def: Likewise.
13304         * sbitmap.c: Likewise.
13305         * sched-int.h: Likewise.
13306         * sched-rgn.c: Likewise.
13307         * sibcall.c: Likewise.
13308         * simplify-rtx.c: Likewise.
13309         * ssa.c: Likewise.
13310         * stab.def: Likewise.
13311         * stmt.c: Likewise.
13312         * stor-layout.c: Likewise.
13313         * target.h: Likewise.
13314         * timevar.c: Likewise.
13315         * toplev.c: Likewise.
13316         * tree-dump.c: Likewise.
13317         * tree-inline.c: Likewise.
13318         * tree.c: Likewise.
13319         * tree.def: Likewise.
13320         * tree.h: Likewise.
13321         * unroll.c: Likewise.
13322         * varasm.c: Likewise.
13323         * vmsdbgout.c: Likewise.
13324         * treelang/treelang.texi: Likewise.
13325         * treelang/treetree.c: Likewise.
13327 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
13329         * config/h8300/h8300.c (compute_saved_regs): Use a macro
13330         instead of a hard register number.
13331         (get_shift_alg): Use an enumerated type instead of numbers.
13332         (h8300_shift_needs_scratch_p): Likewise.
13334 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
13336         * varasm.c (force_data_section): Remove.
13337         (assemble_constant_align): Likewise.
13338         * output.h: Remove corresponding prototypes.
13340 2002-09-26  Roger Sayle  <roger@eyesopen.com>
13342         * stmt.c (expand_exit_loop_if_false): Expand a simple conditional
13343         jump, if the loop to exit is the top of the current nesting stack.
13345 2002-09-26  Torbjorn Granlund  <tege@swox.com>
13347         * libgcc2.c (fixunsdfdi, fixunssfdi): Rewrite, avoiding `long long'
13348         arithmetic.
13350 2002-09-26  David S. Miller  <davem@redhat.com>
13352         PR optimization/7335
13353         * calls.c (emit_library_call_value_1): Passing args by reference
13354         converts a CONST function into a PURE one.
13356 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
13358         * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
13359         text_section.
13360         * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
13361         text section.
13362         * config/rs6000/rs6000.c (rs6000_override_options): Allow
13363         function-sections and data-sections functionality on AIX.
13365 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
13366             Dale Johannesen  <dalej@apple.com>
13368         * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
13369         in RTL for sub-word loads from memory.
13371 2002-09-26  Richard Henderson  <rth@redhat.com>
13373         PR c/7160
13374         * sched-deps.c (sched_analyze_insn): Make clobber insns depend
13375         on call insns.
13377 2002-09-26  Richard Henderson  <rth@redhat.com>
13379         * emit-rtl.c (const_double_htab_eq): Remove unused variable.
13381 2002-09-26  Chris Lattner  <sabre@nondot.org>
13383         * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
13384         handling undefined values.
13386 2002-09-26  Richard Henderson  <rth@redhat.com>
13388         PR opt/7520
13389         * emit-rtl.c (active_insn_p): Consider a clobber of the
13390         function return value to be active even after reload.
13392 2002-09-27  Alan Modra  <amodra@bigpond.net.au>
13394         * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
13395         by absolute loop increment, not loop increment.
13397 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
13399         * c-common.h: Follow spelling conventions.
13400         * cpplex.c: Likewise.
13401         * cpplib.h: Likewise.
13402         * gthr-dce.h: Likewise.
13403         * gthr-posix.h: Likewise.
13404         * optabs.c: Likewise.
13405         * output.h: Likewise.
13406         * profile.c: Likewise.
13407         * protoize.c: Likewise.
13408         * ra-rewrite.c: Likewise.
13409         * real.c: Likewise.
13410         * recog.c: Likewise.
13411         * reg-stack.c: Likewise.
13412         * regclass.c: Likewise.
13413         * regmove.c: Likewise.
13414         * reload.c: Likewise.
13415         * reload.h: Likewise.
13416         * reload1.c: Likewise.
13417         * reorg.c: Likewise.
13418         * resource.c: Likewise.
13419         * rtl.h: Likewise.
13420         * rtlanal.c: Likewise.
13422 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
13424         * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
13425         for symbol address.
13427 2002-09-24  Eric Christopher  <echristo@redhat.com>
13429         * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
13430         * config/mips/elf64.h: Ditto.
13432 2002-09-24  Eric Christopher  <echristo@redhat.com>
13434         * except.c (expand_builtin_extract_return_address): Handle case
13435         where Pmode != ptr_mode.
13437 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
13439         * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
13441 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
13443         * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
13445 2002-09-26  Igor Shevlyakov <igor@microunity.com>
13447         * combine.c (simplify_set): Don't call to force_to_mode if size
13448         of integer type is larger than HOST_BITS_PER_WIDE_INT.
13450 2002-09-26  Janis Johnson  <janis187@us.ibm.com>
13452         * Makefile.in (qmtest-g++): Fix file path.
13454 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
13456         * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
13457         A + (-const) on RTX level, even for unsigned types.
13459 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
13461         * reload.c (dup_replacements): New function.
13462         (find_reloads): Use it to duplicate replacements at the top level
13463         of match_dup operands.
13465 2002-09-26  Miles Bader  <miles@gnu.org>
13467         * v850.md ("length"): Change default value to 4.
13469 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
13471         * ChangeLog.1: Follow spelling conventions.
13472         * ChangeLog.4: Likewise.
13473         * ChangeLog.6: Likewise.
13474         * FSFChangeLog.11: Likewise.
13475         * doc/cpp.texi: Likewise.
13476         * doc/invoke.texi: Likewise.
13477         * doc/tm.texi: Likewise.
13479 2002-09-26  Nick Clifton  <nickc@redhat.com>
13481         * config.gcc: Add x prefix to v850e case for handling
13482         --with-cpu=v850e.
13484 2002-09-25  Zack Weinberg  <zack@codesourcery.com>
13486         * gcc.c (input_suffix_matches, switch_matches,
13487         mark_matching_switches, process_marked_switches,
13488         process_brace_body): New functions - split from handle_braces.
13489         (handle_braces): Rewrite; handle %{S:X;T:Y;:D} syntax; accept
13490         and ignore whitespace in more places.
13491         (specs documentation comment): Document %{S:X;T:Y;:D}.
13492         Clarify other %{...} docs.
13493         * doc/invoke.texi: Document %{S:X;T:Y;:D}.  Clarify other
13494         %{...} docs.
13496         * config/arm/aof.h (LINK_SPEC): Change %{ov*,*} to %{ov*}.
13497         * config/rs6000/sysv4.h: Use N-way choice spec syntax.
13499 2002-09-25  David S. Miller  <davem@redhat.com>
13501         PR target/7842
13502         * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
13503         extend.
13505 2002-09-25  Richard Henderson  <rth@redhat.com>
13507         * emit-rtl.c (const_double_htab_eq): Distinguish integer and
13508         fp CONST_DOUBLE; use real_identical.
13510 2002-09-25  Mark Mitchell  <mark@codesourcery.com>
13512         * doc/invoke.texi: Add more -Wabi examples.
13514 2002-09-25  Richard Sandiford  <rsandifo@redhat.com>
13516         * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
13518 2002-09-24  Nathan Sidwell  <nathan@codesourcery.com>
13520         * profile.c (end_branch_prob): Only look for __gcov_init on
13521         weak-enabled native compilers.
13523 2002-09-24  Denis Chertykov  <denisc@overta.ru>
13525         * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
13526         cases of optimizing "add sp,w" to "inc sp".
13528 2002-09-24  Adam Nemet  <anemet@lnxw.com>
13530         * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
13531         epilogue for naked functions.
13533 2002-09-24  Adam Nemet  <anemet@lnxw.com>
13534             Nick Clifton  <nickc@redhat.com>
13536         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
13537         (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
13538         is defined.
13540 2002-09-24  Ulrich Weigand  <uweigand@de.ibm.com>
13542         * config/s390/s390.c (preferred_la_operand_p): New function.
13543         * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
13544         * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
13545         ("*la_64_cc", "*la_31_cc", splitters): ... these.
13546         ("*la_31"): Deactivate for TARGET_64BIT.
13547         ("*la_31_and", "*la_31_and_cc"): New.
13549 2002-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13551         * real.h (real_value): Make `exp' explicitly signed.
13553 2002-09-24  Kazu Hirata  <kazu@cs.umass.edu>
13555         * config/elfos.h: Follow spelling conventions.
13556         * config/alpha/alpha.h: Likewise.
13557         * config/arc/arc.h: Likewise.
13558         * config/arm/arm.md: Likewise.
13559         * config/avr/avr.h: Likewise.
13560         * config/cris/cris.md: Likewise.
13561         * config/d30v/d30v.h: Likewise.
13562         * config/frv/frv.c: Likewise.
13563         * config/frv/frv.h: Likewise.
13564         * config/h8300/h8300.c: Likewise.
13565         * config/h8300/h8300.h: Likewise.
13566         * config/h8300/h8300.md: Likewise.
13567         * config/i386/cygwin.h: Likewise.
13568         * config/i386/i386.h: Likewise.
13569         * config/i386/sysv3.h: Likewise.
13570         * config/i960/i960.h: Likewise.
13571         * config/ia64/ia64.h: Likewise.
13572         * config/ia64/ia64.md: Likewise.
13573         * config/ip2k/ip2k.h: Likewise.
13574         * config/m32r/m32r.h: Likewise.
13575         * config/m68k/m68k.h: Likewise.
13576         * config/m88k/m88k.h: Likewise.
13577         * config/mcore/mcore.c: Likewise.
13578         * config/mcore/mcore.h: Likewise.
13579         * config/mcore/mcore.md: Likewise.
13580         * config/mips/mips.h: Likewise.
13581         * config/mmix/mmix.h: Likewise.
13582         * config/mmix/mmix.md: Likewise.
13583         * config/ns32k/netbsd.h: Likewise.
13584         * config/ns32k/ns32k.h: Likewise.
13585         * config/ns32k/ns32k.md: Likewise.
13586         * config/pa/pa.h: Likewise.
13587         * config/romp/romp.h: Likewise.
13588         * config/rs6000/rs6000.h: Likewise.
13589         * config/rs6000/rs6000.md: Likewise.
13590         * config/sparc/sparc.h: Likewise.
13591         * config/stormy16/stormy-abi: Likewise.
13592         * config/stormy16/stormy16.h: Likewise.
13593         * config/vax/vax.h: Likewise.
13595 2002-09-23  Kazu Hirata  <kazu@cs.umass.edu>
13597         * config/alpha/alpha.h: Remove commented-out macro
13598         definitions of HAVE_{POST|PRE}_{INC|DEC}REMENT.
13599         * config/avr/avr.h: Likewise.
13600         * config/d30v/d30v.h: Likewise.
13601         * config/dsp16xx/dsp16xx.h: Likewise.
13602         * config/i370/i370.h: Likewise.
13603         * config/i386/i386.h: Likewise.
13604         * config/i960/i960.h: Likewise.
13605         * config/m68k/m68k.h: Likewise.
13606         * config/m88k/m88k.h: Likewise.
13607         * config/mips/mips.h: Likewise.
13608         * config/ns32k/ns32k.h: Likewise.
13609         * config/pdp11/pdp11.h: Likewise.
13610         * config/romp/romp.h: Likewise.
13611         * config/rs6000/rs6000.h: Likewise.
13612         * config/s390/s390.h: Likewise.
13613         * config/sh/sh.h: Likewise.
13614         * config/sparc/sparc.h: Likewise.
13615         * config/stormy16/stormy16.h: Likewise.
13616         * config/vax/vax.h: Likewise.
13618 2002-09-23  Kazu Hirata  <kazu@cs.umass.edu>
13620         * function.c (push_temp_slots_for_block): Remove.
13621         (push_temp_slots_for_target): Likewise.
13622         (get_target_temp_slot_level): Likewise.
13623         (set_target_temp_slot_level): Likewise.
13624         (get_first_block_beg): Likewise.
13625         * function.h: Remove corresponding prototypes.
13627 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
13629         * version.c (version_string): Now const char[].
13630         * version.h: Update to match.
13632 2002-09-23  Richard Henderson  <rth@redhat.com>
13634         * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
13635         MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
13636         (TARGET_SWITCHES): Don't reference them.
13637         * config/i386/i386.c (override_options): Use target_flags_explicit
13638         to examine bits set by the user.
13640 2002-09-23  Dale Johannesen  <dalej@apple.com>
13642         * dbxout.c (dbxout_parms):  Set current_sym_code for params
13643         passed on stack by invisible reference.
13645 2002-09-23  Richard Earnshaw  <rearnsha@arm.com>
13647         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
13648         at least one byte of space.
13650 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
13652         * c-common.h (flag_abi_version): Fix typo in comment.
13653         * doc/invoke.texi (flag_abi_version): Document default value.
13655 2002-09-23  Hans-Peter Nilsson  <hp@axis.com>
13657         * doc/extend.texi (Extended Asm): Clarify that overlap between
13658         asm-declared register variables used in an asm and the asm clobber
13659         list is not allowed.
13660         * stmt.c (decl_conflicts_with_clobbers_p): New function.
13661         (expand_asm_operands): Keep track of clobbered registers.  Call
13662         decl_conflicts_with_clobbers_p for each input and output operand.
13663         If no conflicts found before, also do conflict sanity check when
13664         emitting clobbers.
13666 2002-09-23  Richard Henderson  <rth@redhat.com>
13668         * c-common.c (cpp_define_data_format): Remove.
13669         (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
13670         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
13671         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
13672         * doc/cpp.texi: Don't document them either.
13673         (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
13674         __LONG_LONG_MAX__): Document.
13675         (__TARGET_FLOAT_FORMAT__): Remove.
13677 2002-09-23  Richard Henderson  <rth@redhat.com>
13679         * real.c (do_multiply): Normalize U before addition.
13681 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
13683         * c-common.c (flag_abi_version): New variable.
13684         * c-common.h (flag_abi_version): Declare it.
13685         * c-opts.c (missing_arg): Add -fabi-version.
13686         (c_common_decode_option): Process -fabi-version.
13687         * doc/invoke.texi (-fabi-version): Document it.
13688         (-Wabi): Add information about bit-fields in unions.
13690 2002-09-22  Roger Sayle  <roger@eyesopen.com>
13692         * expr.c (STORE_BY_PIECES_P): New target macro.
13693         (can_store_by_pieces, store_by_pieces): Use STORE_BY_PIECES_P
13694         instead of MOVE_BY_PIECES_P.
13695         * doc/tm.texi: Document this new macro.
13697 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
13699         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
13700         unless -fno-pic or -fno-PIC is specified.
13702 2002-09-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13704         * c-common.c (preprocessing_trad_p): Define.
13705         * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
13706         (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
13707         * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
13708         * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
13709         * pa-linux.h (CPP_PREDEFINES): Delete.
13710         (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
13711         * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
13712         * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
13713         (TARGET_OS_CPP_BUILTINS): Define.
13714         * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
13715         (TARGET_SWITCHES): Reformat.  Use N_() macro.  Add SUBTARGET_SWITCHES.
13716         (SUBTARGET_SWITCHES): Provide default definition.
13717         (TARGET_OPTIONS): Reformat.  Use N_() macro.
13718         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
13719         CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
13720         EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
13721         (TARGET_CPU_CPP_BUILTINS): Define.
13722         (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
13723         * doc/invoke.texi (msio, mwsio): Document new hppa options.
13724         * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
13725         preprocessing_trad_p().
13727 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
13729         * doc/install.texi: Document behavior of --with-headers and
13730         --with-libs when arguments are omitted.
13732 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>
13734         * dbxout.c: Follow spelling conventions.
13735         * defaults.h: Likewise.
13736         * df.c: Likewise.
13737         * diagnostic.h: Likewise.
13738         * doloop.c: Likewise.
13739         * dwarf2out.c: Likewise.
13740         * dwarfout.c: Likewise.
13741         * emit-rtl.c: Likewise.
13742         * except.c: Likewise.
13743         * explow.c: Likewise.
13744         * expmed.c: Likewise.
13745         * expr.c: Likewise.
13746         * expr.h: Likewise.
13747         * flags.h: Likewise.
13748         * flow.c: Likewise.
13749         * fold-const.c: Likewise.
13750         * function.c: Likewise.
13751         * function.h: Likewise.
13752         * gcc.c: Likewise.
13753         * gcov-io.h: Likewise.
13754         * gcov.c: Likewise.
13755         * gcse.c: Likewise.
13756         * genattrtab.c: Likewise.
13757         * genconfig.c: Likewise.
13758         * genrecog.c: Likewise.
13759         * ggc-page.c: Likewise.
13760         * ggc.h: Likewise.
13761         * global.c: Likewise.
13762         * gthr-win32.h: Likewise.
13763         * integrate.c: Likewise.
13764         * jump.c: Likewise.
13765         * langhooks.c: Likewise.
13766         * langhooks.h: Likewise.
13767         * line-map.h: Likewise.
13768         * local-alloc.c: Likewise.
13769         * longlong.h: Likewise.
13770         * loop.c: Likewise.
13771         * loop.h: Likewise.
13773 Tue Aug 27 22:26:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
13775         * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
13777 Tue Aug 27 20:07:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
13779         * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
13780         for -Os/TARGET_64BIT too.
13782 2002-09-21  Kazu Hirata  <kazu@cs.umass.edu>
13784         * ChangeLog: Follow spelling conventions.
13785         * ChangeLog.0: Likewise.
13786         * ChangeLog.1: Likewise.
13787         * ChangeLog.2: Likewise.
13788         * ChangeLog.3: Likewise.
13789         * ChangeLog.4: Likewise.
13790         * ChangeLog.5: Likewise.
13791         * ChangeLog.6: Likewise.
13792         * FSFChangeLog.10: Likewise.
13793         * FSFChangeLog.11: Likewise.
13794         * alias.c: Likewise.
13795         * basic-block.h: Likewise.
13796         * c-aux-info.c: Likewise.
13797         * c-common.c: Likewise.
13798         * c-common.h: Likewise.
13799         * c-decl.c: Likewise.
13800         * c-format.c: Likewise.
13801         * c-semantics.c: Likewise.
13802         * c-typeck.c: Likewise.
13803         * calls.c: Likewise.
13804         * cfganal.c: Likewise.
13805         * cfgloop.c: Likewise.
13806         * collect2.c: Likewise.
13807         * combine.c: Likewise.
13808         * conflict.c: Likewise.
13809         * cppexp.c: Likewise.
13810         * cppfiles.c: Likewise.
13811         * cpphash.h: Likewise.
13812         * cppinit.c: Likewise.
13813         * cpplex.c: Likewise.
13814         * cpplib.c: Likewise.
13815         * cpplib.h: Likewise.
13816         * cppmacro.c: Likewise.
13817         * cse.c: Likewise.
13819 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
13821         * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
13822         LINK_SPEC.
13823         (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
13824         * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
13825         (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
13827 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
13829         PR opt/7930
13830         * cse.c (fold_rtx): Calculate old_cost before we fold each
13831         operand.
13833 2002-09-21  Richard Henderson  <rth@redhat.com>
13835         * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
13836         __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
13837         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
13838         __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
13839         __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
13840         * doc/cpp.texi: Don't document them.
13842 2002-09-21  Richard Henderson  <rth@redhat.com>
13844         * c-common.c (builtin_define_float_constants): Use real_format
13845         to get the floating-point parameters.
13847 2002-09-21  Richard Henderson  <rth@redhat.com>
13849         * real.c (struct real_format): Move to real.h.
13850         (real_format_for_mode): Rename from fmt_for_mode; update all users;
13851         initialize with ieee defaults.
13852         (real_to_target_fmt, real_from_target_fmt): New.
13853         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
13854         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
13855         ieee_quad_format, i370_single_format, i370_double_format,
13856         c4x_single_format, c4x_extended_format): Rename from s/_format//.
13857         (ieee_quad_format): Fix emin.
13858         (format_for_size, init_real_once): Remove.
13859         * real.h (struct real_format): Move from real.c.
13860         (real_format_for_mode): Declare.
13861         (real_to_target_fmt, real_from_target_fmt): Declare.
13862         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
13863         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
13864         ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
13865         i370_single_format, i370_double_format, c4x_single_format,
13866         c4x_extended_format): Declare.
13867         * toplev.c (do_compile): Don't call init_real_once.
13869         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
13870         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
13872         * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
13873         * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
13874         * config/alpha/alpha.c (override_options): Set real_format_for_mode
13875         for VAX, if enabled.
13877         * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
13878         for C4X.
13880         * config/i370/i370.h (OVERRIDE_OPTIONS): New.
13881         * config/i370/i370.c (override_options): New.
13882         * config/i370/i370-protos.h: Update.
13884         * config/i386/i386.c (override_options): Set real_format_for_mode
13885         for Intel 80-bit extended.
13886         * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
13888         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
13889         (OVERRIDE_OPTIONS): Move code...
13890         * config/i960/i960.c (i960_initialize): ... here.  Set
13891         real_format_for_mode for Intel 80-bit extended.
13893         * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
13894         for Intel 80-bit extended, if enabled.
13896         * config/m68k/m68k.c (override_options): Set real_format_for_mode
13897         for Motorola 96-bit extended.
13899         * config/vax/vax.h (OVERRIDE_OPTIONS): New.
13900         * config/vax/vax.c (override_options): New.
13901         * config/vax/vax-protos.h: Update.
13903 2002-09-21  Alan Modra  <amodra@bigpond.net.au>
13905         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
13906         #if TARGET_MACHO.
13908         * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
13909         insns.  Supply missing clobber of scratch reg.
13911 2002-09-20  Kazu Hirata  <kazu@cs.umass.edu>
13913         * config/m32r/m32r.c: Follow spelling conventions.
13914         * config/m32r/m32r.h: Likewise.
13915         * config/m32r/m32r.md: Likewise.
13916         * config/m68k/m68k.c: Likewise.
13917         * config/m88k/m88k.c: Likewise.
13918         * config/mcore/mcore.c: Likewise.
13919         * config/mips/mips.c: Likewise.
13920         * config/mips/mips.h: Likewise.
13921         * config/mmix/mmix.c: Likewise.
13922         * config/mn10200/mn10200.c: Likewise.
13923         * config/ns32k/ns32k.h: Likewise.
13924         * config/pa/pa.c: Likewise.
13925         * config/pa/pa64-linux.h: Likewise.
13926         * config/pdp11/pdp11.h: Likewise.
13927         * config/romp/romp.c: Likewise.
13928         * config/romp/romp.h: Likewise.
13929         * config/rs6000/eabi.asm: Likewise.
13930         * config/rs6000/linux64.h: Likewise.
13931         * config/rs6000/rs6000.c: Likewise.
13932         * config/rs6000/rs6000.h: Likewise.
13933         * config/rs6000/rs6000.md: Likewise.
13934         * config/rs6000/sysv4.h: Likewise.
13935         * config/rs6000/xcoff.h: Likewise.
13937 2002-09-20  Jim Wilson  <wilson@redhat.com>
13939         * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
13941 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
13943         * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
13944         * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
13945         UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
13946         (legitimate_address_p): Likewise.
13947         (legitimize_address): Use @gotntpoff and @indntpoff.
13948         (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
13949         (output_addr_const_extra): Likewise.
13951 2002-09-20  Jim Wilson  <wilson@redhat.com>
13953         * combine.c (try_combine): When split an instruction pair, where the
13954         first has a sign_extend src, verify that the src and dest modes match.
13956 2002-09-20  Richard Henderson  <rth@redhat.com>
13958         * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
13959         (override_options): Do not initialize them.
13960         (mips_const_double_ok): Allow no fp constants except zero,
13961         and not even that for mips16.
13962         (const_float_1_operand): Use dconst1.
13963         * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
13964         movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
13965         Don't allow arbitrary constants; fix predicates and C constraint.
13967 2002-09-20  Neil Booth  <neil@daikokuya.co.uk>
13969         * cppmacro.c: Don't warn about function-like macros without
13970         '(' during pre-expansion.
13972 2002-09-20  Jim Wilson  <wilson@redhat.com>
13974         * config/v850/v850.c (current_function_anonymous_args): Delete.
13975         (expand_prologue): Use current_function_args_info.anonymous_args.
13976         (expand_epilogue): Delete use of current_function_anonymous_args.
13977         * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
13978         (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
13979         (current_function_anonymous_args): Delete extern declaration.
13980         (SETUP_INCOMING_VARARGS): Set anonymous_args field.
13982 2002-09-20  Geoffrey Keating  <geoffk@apple.com>
13984         * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
13985         to load_macho_picbase.
13986         * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
13987         (load_macho_picbase): Take the symbol to use as a parameter.
13988         (macho_correct_pic): New insn.
13989         (builtin_setjmp_reciever): On Darwin, restore the PIC register.
13991         * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
13992         RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
13993         (CAN_ELIMINATE): Likewise.
13994         (INITIAL_ELIMINATION_OFFSET): Likewise.
13995         (TOC_REGISTER): Likewise.
13997 2002-09-20  Richard Henderson  <rth@redhat.com>
13999         * real.c (real_hash): New.
14000         * real.h: Declare it.
14001         * cse.c (canon_hash): Use it.
14002         * cselib.c (hash_rtx): Likewise.
14003         * emit-rtl.c (const_double_htab_hash): Likewise.
14004         * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
14005         * varasm.c (struct rtx_const): Reduce vector size; separate
14006         integer and fp vectors.
14007         (HASHBITS): Remove.
14008         (const_hash_1): Rename from const_hash.  Use real_hash.  Do not
14009         take modulus MAX_HASH_TABLE.
14010         (const_hash): New.  Do take modulus MAX_HASH_TABLE.
14011         (output_constant_def): Do not take modulus MAX_HASH_TABLE.
14012         (SYMHASH): Don't use HASHBITS.
14013         (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
14014         Fix CONST_VECTOR thinko wrt fp vectors.  Fix kind comparison.
14015         (simplify_subtraction): Fix kind comparison.
14016         (const_hash_rtx): Return unsigned int.  Don't use HASHBITS.
14017         Use a union to pun integer array.
14018         * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
14019         only hash two words of integral CONST_DOUBLE.
14021 2002-09-20  Steve Ellcey  <sje@cup.hp.com>
14023         * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
14024         (STARTFILE_PREFIX_SPEC): New.
14025         (LINK_SPEC): Modify.
14026         (LIB_SPEC): Modify.
14027         (LIBGCC_SPEC): New.
14029 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
14031         * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
14032         UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
14034 2002-09-20  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
14036         * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
14037         Add clobber of the condition code register.
14039 2002-09-20  Richard Henderson  <rth@redhat.com>
14041         * real.c (do_fix_trunc): Static.
14042         (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
14043         encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
14044         encode_i370_single, encode_i370_double, encode_c4x_single,
14045         encode_c4x_extended): Add default abort case.
14047 2002-09-20  Richard Henderson  <rth@redhat.com>
14049         * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
14050         MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
14051         (struct realvaluetype): Remove.
14052         (REAL_VALUE_TYPE): Use struct real_value.
14053         (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
14054         (test_real_width): New.
14055         * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
14056         (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
14057         (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
14058         real_isneg, real_isnegzero, real_identical, exact_real_inverse,
14059         real_to_integer, real_to_integer2, real_to_decimal,
14060         real_to_hexadecimal, real_from_string, real_from_integer,
14061         real_inf, real_nan, real_2expN, real_convert, real_to_target,
14062         real_from_target): Likewise.
14063         * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
14064         * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
14066 2002-09-20  Richard Henderson  <rth@redhat.com>
14068         * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
14069         IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
14070         * defaults.h: ... here.
14071         * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
14072         config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
14073         config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
14074         config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
14076 2002-09-20  Hans-Peter Nilsson  <hp@bitrange.com>
14078         * config/mmix/mmix.md ("negdf2"): Rewrite.
14079         ("*expanded_negdf2"): New.
14081 2002-09-19  Jim Wilson  <wilson@redhat.com>
14083         * combine.c (simplify_set): When optimizing a subreg src with a
14084         cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
14086 2002-09-19  Dale Johannesen <dalej@apple.com>
14087         * combine.c (make_extraction): Don't create
14088         invalid subreg.
14090 2002-09-19  Roger Sayle  <roger@eyesopen.com>
14092         * tree.c (integer_nonzerop): New predicate for nonzero integers.
14093         * tree.h (integer_nonzerop): Add function prototype.
14094         * stmt.c (expand_end_loop):  Don't rotate the loop when there
14095         are no instructions in the test, i.e. the loop is unconditional.
14096         (expand_exit_loop_if_false):  Optimize RTL generation of loop
14097         tests when the condition is always true or always false.
14098         * c-semantics.c (genrtl_do_stmt):  Optimize RTL generation of
14099         do-loops when the condition is always true.
14100         (genrtl_for_stmt):  Optimize RTL generation of for-loops when
14101         the for-expression is empty.
14103 2002-09-19  Zack Weinberg  <zack@codesourcery.com>
14105         * gcc.c (use_pipes): New flag.
14106         (process_command): Set it.  Adjust check for -pipe conflicting
14107         with -time or -save-temps.
14108         (do_spec_1): Use it.  Handle %|SUFFIX, %mSUFFIX, and
14109         %<SWITCH.  Drop %| (without a SUFFIX).
14110         (handle_braces): Drop %{<SWITCH}, %{^SWITCH}, %{|...}.
14111         (give_switch): Third argument eliminated.
14112         (invoke_as, @assembler_with_cpp spec): Use %|.s or %m.s
14113         depending on AS_NEEDS_DASH_FOR_PIPED_INPUT.
14114         (specs documentation comment): Update.
14116         * config/netbsd-aout.h, config/openbsd.h, config/ptx4.h,
14117         config/svr4.h, config/i386/freebsd-aout.h,
14118         config/m68k/netbsd-elf.h, config/m68k/netbsd.h,
14119         config/m68k/openbsd.h, config/mips/openbsd.h,
14120         config/sparc/sparc.h: Define AS_NEEDS_DASH_FOR_PIPED_INPUT
14121         instead of putting %| into ASM_SPEC and/or ASM_FINAL_SPEC.
14122         * config/avr/avr.h: Delete do-nothing ASM_FINAL_SPEC.
14123         * config/cris/cris.h: Update comment.
14125         * ada/lang-specs.h: Use %(invoke_as).  Straighten out
14126         error messages.  Don't use %{^SWITCH}.
14127         * ada/misc.c (gnat_decode_option): Handle -I with a
14128         separate argument.
14130         * f/lang-specs.h: Use %| and %m.
14131         * java/jvspec.c: Use %m and %(invoke_as).  Change all
14132         uses of %{<SWITCH} to %<SWITCH.
14134         * doc/invoke.texi: Update documentation of specs.
14135         * doc/tm.texi: Document AS_NEEDS_DASH_FOR_PIPED_INPUT.
14137 2002-09-19  Ulrich Weigand  <uweigand@de.ibm.com>
14139         * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
14140         and STRICT_LOW_PART within SET_DEST.
14141         * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
14142         splitters, replacing pre-reload splitters.
14143         ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
14144         "*zero_extendqihi2_31"): New insns.
14145         ("*zero_extendqihi2_64"): Do not clobber CC.
14147 2002-09-18  Devang Patel  <dpatel@apple.com>
14149         * cp/cp-tree.h: New prototype for walk_vtables().
14150         * cp/decl.c (walk_vtables_r): New function.
14151         (struct cp_binding_level): Add new members, namespaces,
14152         names_size and vtables.
14153         (add_decl_to_level): Add decl in namespaces or vtables
14154         chain, if conditions match.
14155         (walk_vtables): New function.
14156         (walk_namespaces_r): Travers separate namespace chain
14157         for namespace decls.
14158         (wrapup_globals_for_namespace): Use names_size instead
14159         of list_length().
14160         * cp/decl2.c (finish_file): Use walk_vtables() instead of
14161         walk_globals() to walk vtable decls.
14163 2002-09-19  Steve Ellcey  <sje@cup.hp.com>
14165         * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
14166         (DTORS_SECTION_ASM_OP): Ditto.
14167         (READONLY_DATA_SECTION_ASM_OP): Moved.
14168         (DATA_SECTION_ASM_OP): New.
14169         (SDATA_SECTION_ASM_OP): New.
14170         (BSS_SECTION_ASM_OP): New.
14171         (SBSS_SECTION_ASM_OP): New.
14172         (TEXT_SECTION_ASM_OP): New.
14174 2002-09-19  Kazu Hirata  <kazu@cs.umass.edu>
14176         * config/fp-bit.c: Follow spelling conventions.
14177         * config/d30v/d30v.c: Likewise.
14178         * config/d30v/d30v.h: Likewise.
14179         * config/fr30/fr30.c: Likewise.
14180         * config/fr30/fr30.h: Likewise.
14181         * config/fr30/fr30.md: Likewise.
14182         * config/frv/frv.c: Likewise.
14183         * config/frv/frv.h: Likewise.
14184         * config/h8300/h8300.c: Likewise.
14185         * config/h8300/lib1funcs.asm: Likewise.
14186         * config/i370/i370.c: Likewise.
14187         * config/i386/i386.h: Likewise.
14188         * config/i386/i386.md: Likewise.
14189         * config/i386/pentium.md: Likewise.
14190         * config/i386/winnt.c: Likewise.
14191         * config/i960/i960.c: Likewise.
14192         * config/ia64/ia64.h: Likewise.
14193         * config/ip2k/ip2k.c: Likewise.
14194         * config/ip2k/ip2k.h: Likewise.
14195         * config/ip2k/ip2k.md: Likewise.
14196         * config/ip2k/libgcc.S: Likewise.
14198 2002-09-19  Stephen Clarke <stephen.clarke@superh.com>
14200         * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
14201         (GOTOFF_P): Extend to allow gotoff plus constant.
14203 2002-09-18  Richard Henderson  <rth@redhat.com>
14205         * ifcvt.c (noce_process_if_block): Correctly detect X modified
14206         with INSN_B before COND_EARLIEST.  Don't check A and B for
14207         modification in condition range.  Reorder INSN_B for A==B properly.
14208         (if_convert): Iterate until no matches for a block.
14210 2002-09-18  Richard Henderson  <rth@redhat.com>
14212         * calls.c (store_one_arg): Rename default_align to parm_align;
14213         always adjust parm_align for downward padding.
14215 2002-09-18  Richard Henderson  <rth@redhat.com>
14217         * toplev.c (backend_init): Move init_real_once invocation ...
14218         (do_compile): ... here.
14220 2002-09-18  Richard Henderson  <rth@redhat.com>
14222         * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
14223         RTX_UNCHANGING_P markers for successful tail-recursive replacement.
14225 2002-09-18  Richard Henderson  <rth@redhat.com>
14227         * real.c (round_for_format): Collect sticky as unsigned long, not bool.
14229 2002-09-19  Alan Modra  <amodra@bigpond.net.au>
14231         * config/rs6000/rs6000.md: (floatdisf2): Rename to
14232         floatdisf2_internal1.
14233         (floatdisf2): New define_expand.
14234         (floatdisf2_internal2): Likewise.
14236 2002-09-18  Richard Henderson  <rth@redhat.com>
14238         * real.c (sticky_rshift_significand): Collect sticky as
14239         unsigned long, not bool.
14241 2002-09-18  Ulrich Weigand  <uweigand@de.ibm.com>
14243         * config/s390/s390.c (s390_address_cost): New function.
14244         config/s390/s390-protos.h (s390_address_cost): Add prototype.
14245         config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
14246         (RTX_COST): Use COSTS_N_INSNS.
14248 2002-09-18  Douglas Rupp  <rupp@gnat.com>
14249             Donn Terry  <donnte@microsoft.com>
14251         * stor-layout.c (place_field): Handle alignment of whole
14252         structures when MSVC compatible bitfields are involved.
14253         Change method of computing location of MS bitfields to
14254         be compatible with #pragma pack(n).
14256         * tree.h (record_layout_info): Add new field
14257         remaining_in_alignment.
14259         * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
14260         (pragma pack): Add paragraph on MSVC bitfield packing.
14262 2002-09-18  Richard Earnshaw  (reanrsha@arm.com)
14264         PR optimization/7967
14265         * arm.md (ne_zeroextractsi): Add clobber of the condition code
14266         register.
14268 2002-09-18  Kazu Hirata  <kazu@cs.umass.edu>
14270         * config/s390/s390.c: Follow spelling conventions.
14271         * config/sh/lib1funcs.asm: Likewise.
14272         * config/sh/sh.c: Likewise.
14273         * config/sh/sh.h: Likewise.
14274         * config/sparc/sparc.c: Likewise.
14275         * config/sparc/sparc.h: Likewise.
14276         * config/sparc/sparc.md: Likewise.
14277         * config/stormy16/stormy16.c: Likewise.
14278         * config/stormy16/stormy16.h: Likewise.
14279         * config/v850/v850.c: Likewise.
14280         * config/v850/v850.h: Likewise.
14281         * config/vax/vax.c: Likewise.
14282         * config/vax/vax.h: Likewise.
14284 2002-09-18  Nick Clifton  <nickc@redhat.com>
14286         * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
14287         * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
14288         * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
14290 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
14292         * function.c (max_parm_reg_num): Remove.
14293         * stmt.c (in_control_zone_p, stmt_loop_nest_empty,
14294         drop_through_at_end_p, move_cleanups_up,
14295         expand_end_case_dummy, case_index_expr_type): Likewise.
14296         * stor-layout.c (pos_from_byte): Likewise.
14297         * tree.c (chain_member_value, chain_member_purpose, listify,
14298         tree_int_cst_msb, index_type_equal): Likewise.
14299         * tree.h: Remove prototypes for unused functions.
14301 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
14303         * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
14304         statement that the only translation is to en_UK.
14306 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
14308         * config/alpha/alpha.c: Follow spelling conventions.
14309         * config/alpha/alpha.h: Likewise.
14310         * config/alpha/alpha.md: Likewise.
14311         * config/arc/arc.h: Likewise.
14312         * config/arm/arm.c: Likewise.
14313         * config/arm/arm.h: Likewise.
14314         * config/arm/arm.md: Likewise.
14315         * config/arm/pe.c: Likewise.
14316         * config/arm/unknown-elf.h: Likewise.
14317         * config/avr/avr.c: Likewise.
14318         * config/avr/avr.h: Likewise.
14319         * config/c4x/c4x.c: Likewise.
14320         * config/cris/cris.c: Likewise.
14321         * config/cris/cris.h: Likewise.
14323 2002-09-17  Samuel Figueroa  <figueroa@apple.com>
14325         * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
14326         * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
14327         * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
14329 2002-09-17  Dale Johannesen  <dalej@apple.com>
14331         * cfgcleanup.c (try_forward_edges):  Do not forward a
14332         branch to just after a loop exit before loop optimization;
14333         this interfered with doloop detection.
14335 2002-09-17  Nick Clifton  <nickc@redhat.com>
14337         * config/arm/arm.c (output_return_instruction): Do not
14338         writeback the stack pointer when it is being loaded.
14339         (arm_output_epilogue): Likewise.
14341 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
14343         * optabs.c (prepare_cmp_insn): Let emit_library_call_value
14344         generate a pseudo reg that receives the result of a libcall.
14345         (prepare_float_lib_cmp): Likewise.
14347 2002-09-17  Steve Ellcey  <sje@cup.hp.com>
14349         * config/ia64/elf.h: Remove CPP_PREDEFINES.
14351 Tue Sep 17 13:58:04 2002  Nicola Pero  <n.pero@mi.flashnet.it>
14353         Fix PR/7014 and related objc bugs:
14354         * c-typeck.c (comp_target_types): Added a reflexive argument.
14355         Pass it to ObjC when/if calling objc_comptypes().  Updated all
14356         callers to provide the appropriate reflexive argument.
14357         * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
14358         typechecking for all cases of comparisons and assignments,
14359         particularly the obscure and less common ones involving protocols.
14361 2002-09-17  Nick Clifton  <nickc@redhat.com>
14363         * machmode.def (V1DImode): New mode.  A single element vector.
14364         * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
14365         (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
14366         * tree.c (build_common_tree_nodes_2): Build
14367         unsigned_V1DI_type_node and V1D1_type_node.
14368         * c-common.c (c_common_type_for_mode): Return
14369         unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
14370         * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
14372 Tue Sep 17 13:40:13 2002  Nicola Pero  <n.pero@mi.flashnet.it>
14374         * doc/objc.texi (Constant string objects): Extended documentation
14375         to make clear that the constant string class ivar layout is
14376         completely fixed.
14378 2002-09-17  Roger Sayle  <roger@eyesopen.com>
14380         * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
14381         NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
14383 2002-09-16  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
14385         * config/mips/mips.c (save_restore_insns): Remove unused variable.
14386         * gcc.c (make_relative_prefix): Likewise.
14387         * loop.c (check_final_value): Likewise.
14388         * jump.c (init_label_info): Remove return value.
14389         * cse.c (prev_insn): Move variable between #ifdef HAVE_cc0 ... #endif.
14391 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14393         * dsp16xx.h (ASM_FORMAT_PRIVATE_NAME): Delete.
14394         (ASM_PN_FORMAT): Define.
14396 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14398         * alpha.h, alpha/vms.h, arc.h, arm/aof.h, arm/aout.h, avr.h,
14399         c4x.h, cris.h, d30v.h, fr30.h, frv.h, h8300.h, i370.h, i386.h,
14400         i960.h, ia64.h, ip2k.h, m32r.h, m68hc11.h, m68k/3b1.h,
14401         m68k/hp320.h, m68k.h, m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h,
14402         m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
14403         pa.h, pdp11.h, romp.h, rs6000.h, s390/linux.h, sh.h, sparc.h,
14404         stormy16.h, v850.h, vax.h, xtensa.h (ASM_FORMAT_PRIVATE_NAME):
14405         Delete.
14406         * alpha/vms.h, h8300.h, i370.h, ia64.h, m68k/3b1.h, m68k/hp320.h,
14407         m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h, mmix.h, mn10200.h,
14408         mn10300.h, pa.h, v850.h (ASM_PN_FORMAT): Define.
14410         * defaults.h (ASM_PN_FORMAT, ASM_FORMAT_PRIVATE_NAME): Define.
14411         * doc/tm.texi (ASM_FORMAT_PRIVATE_NAME): Update documentation.
14413 2002-09-16  Richard Henderson  <rth@redhat.com>
14415         * expr.c (emit_block_move): Set memory block size as appropriate
14416         for the copy.
14418 2002-09-16  Richard Henderson  <rth@redhat.com>
14420         PR fortran/3924
14421         * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
14423 2002-09-16  Richard Henderson  <rth@redhat.com>
14425         * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
14426         as well as OFFSET for BITPOS.
14428 2002-09-16  Jeff Garzik  <jgarzik@mandrakesoft.com>
14430         * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
14431         * config/i386/i386.c (processor_alias_table): Add winchip-c6,
14432         winchip2 and c3.
14433         * doc/invoke.texi: Mention new aliases.
14435 2002-09-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14437         * calls.c (store_one_arg): Set default alignment for BLKmode arguments
14438         to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
14439         downward.
14440         * function.c (pad_below):  Always compile.
14441         (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
14442         alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
14443         Pad below when the argument is not in a register and the padding
14444         direction is downward.
14446         * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
14447         (PAD_VARARGS_DOWN): Define.
14448         * pa.c (function_arg_padding): Revise padding directions to make them
14449         compatible with the 32 and 64-bit runtime architecture documentation.
14450         (hppa_va_arg):  Add code to handle variable and size zero arguments
14451         passed by reference on TARGET_64BIT.  Reformat.
14452         (function_arg): Use a PARALLEL for BLKmode and aggregates args on
14453         TARGET_64BIT.  Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
14454         wide when !TARGET_64BIT.  Move forward check for mode==VOIDmode.
14455         Add comments.
14456         * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
14457         (RETURN_IN_MEMORY): Return size zero types in memory.
14458         (FUNCTION_VALUE): Return TFmode in general registers.
14459         (MUST_PASS_IN_STACK): Define.
14460         (FUNCTION_ARG_BOUNDARY): Simplify.
14461         (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
14462         by reference.
14463         (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
14465 2002-09-16  Richard Henderson  <rth@redhat.com>
14467         * real.c (do_fix_trunc): New.
14468         (real_arithmetic): Call it.
14469         * simplify-rtx.c (simplify_unary_operation): Handle FIX
14470         with a floating-point result mode.
14472 2002-09-16  Richard Henderson  <rth@redhat.com>
14474         * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
14475         (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
14476         * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
14477         (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
14478         * builtins.c (fold_builtin_nan): New.
14479         (fold_builtin): Call it.
14480         * real.c (real_nan): Parse a non-empty string.
14481         (round_for_format): Fix NaN significand truncation.
14482         * real.h (real_nan): Return bool.
14483         * doc/extend.texi: Document new builtins.
14485 2002-09-16  Jason Merrill  <jason@redhat.com>
14486             Danny Smith  <dannysmith@users.sourceforge.net>
14488         * config/i386/winnt.c (ix86_handle_dll_attribute): Set
14489         DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
14490         (i386_pe_mark_dllimport): Not here.
14492 2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>
14494         * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
14496 2002-09-16  Geoffrey Keating  <geoffk@redhat.com>
14498         * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
14499         warnings about unused operands when HOST_BITS_PER_WIDE_INT is
14500         < 64.
14501         (rs6000_emit_cmove): Use real_isinf not target_isinf.
14503 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
14505         * calls.c (emit_library_call_value_1): Don't refer to
14506         hard_libcall_value.
14507         * optabs.c (prepare_float_lib_cmp): Likewise.
14509 2002-09-16  Geoffrey Keating  <geoffk@apple.com>
14511         * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
14512         mangling.
14514         The following changes are merged from pch-branch:
14516         * doc/gty.texi (GTY Options): Document %a.
14517         * gengtype.c (do_scalar_typedef): New function.
14518         (process_gc_options): Handle `length' option.
14519         (set_gc_used_type): A pointer to an array of structures doesn't
14520         qualify as a pointer to a structure.
14521         (output_escaped_param): Add `%a' escape.
14522         (write_gc_structure_fields): Allow 'desc' on array of unions.
14523         (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
14524         do_scalar_typedef.
14526         * gengtype.c (enum rtx_code): Make global.
14527         (rtx_format): Make global.
14528         (rtx_next): New.
14529         (gen_rtx_next): New.
14530         (write_rtx_next): New.
14531         (adjust_field_rtx_def): Skip fields marked by chain_next.
14532         (open_base_files): Delete redundant prototype.
14533         (write_enum_defn): New.
14534         (output_mangled_typename): Correct abort call.
14535         (write_gc_marker_routine_for_structure): Handle chain_next and
14536         chain_prev options.
14537         (finish_root_table): Don't output redundant \n.
14538         (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
14539         * c-tree.h (union lang_tree_node): Add chain_next option.
14541         * gengtype.h (NUM_PARAM): New definition.
14542         (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
14543         * gengtype.c (find_param_structure): New.
14544         (adjust_field_type): Handle param<n>_is option.
14545         (process_gc_options): Detect use_params option.  Update callers.
14546         (set_gc_used_type): Add 'param' parameter, update callers.  Handle
14547         'use_params' option.
14548         (open_base_files): Add splay-tree.h to list of files included.
14549         (output_mangled_typename): New.
14550         (write_gc_structure_fields): Update 'param' parameter to support
14551         multiple parameters.  Change name mangling.  Allow parameterized
14552         fields to have an apparent scalar type.  Handle param<n>_is options,
14553         use_param option.
14554         (write_gc_marker_routine_for_structure): Update for change to name
14555         mangling.  Better guess the output file for parameterized types.
14556         (write_gc_types): Update for change to name mangling.
14557         (write_gc_root): Update for change to name mangling.  Handle (ignore)
14558         param<n>_is options.
14559         * doc/gty.texi (GTY Options): Add description of param<n>_is
14560         options, use_params option.
14561         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
14562         * gengtype-lex.l: Produce token for param<n>_is.
14563         * gengtype-yacc.y: Parse param<n>_is.
14565         * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
14567         * rtl.c: Update comment describing rtx_format.
14568         * rtl.h (union rtunion): Separate definition and typedef.
14569         (struct rtx_def): Use gengtype to mark.
14570         * Makefile.in (gengtype.o): Also depend on rtl.def.
14571         * ggc.h (ggc_mark_rtx_children): Delete prototype.
14572         (ggc_mark_rtx): Change to alias of gengtype-generated routine.
14573         * ggc-common.c (ggc_mark_rtx_children): Delete.
14574         (ggc_mark_rtx_children_1): Delete.
14575         (gt_ggc_m_rtx_def): Delete.
14576         * gengtype.c (adjust_field_rtx_def): New.
14577         (adjust_field_type): Call adjust_field_rtx_def.
14578         (write_gc_structure_fields): Add 'default' case to switch if none
14579         is specified; remove unused code.
14581         * tree.h (struct tree_exp): Update for change to meaning
14582         of special.
14583         * gengtype.c (adjust_field_tree_exp): New function.
14584         (adjust_field_type): Handle `tree_exp' special here.
14585         (write_gc_structure_fields): Don't handle `tree_exp' special here.
14586         Handle new `dot' option.
14588         * gengtype.h: Make `info' a pointer-to-const.
14589         * gengtype-yacc.y (yacc_ids): Use xasprintf.
14591         * gengtype.c (write_gc_structure_fields): Remove implementation
14592         of `always' option, add `default' option.
14593         * doc/gty.texi (GTY Options): Remove documentation of `always',
14594         add `default'.
14596 2002-09-16  Hans-Peter Nilsson  <hp@bitrange.com>
14598         * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
14600 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14602         * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
14604         * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
14605         instead of the *-protos.h file directly.
14606         * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
14607         * darwin.c (machopic_output_stub): Move prototype ...
14608         * darwin-protos.h (machopic_output_stub): ... here.
14609         * rs6000-protos.h (machopic_output_stub): Don't declare.
14611 2002-09-16  Richard Henderson  <rth@redhat.com>
14613         * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
14615 2002-09-16  Richard Henderson  <rth@redhat.com>
14617         * real.c, real.h: Rewrite from scratch.
14619         * Makefile.in (simplify-rtx.o): Depend on TREE_H.
14620         (paranoia): New target.
14621         * builtins.c (fold_builtin_inf): Use new real.h interface.
14622         * c-common.c (builtin_define_with_hex_fp_value): Likewise.
14623         * c-lex.c (interpret_float): Likewise.
14624         * emit-rtl.c (gen_lowpart_common): Likewise.
14625         * optabs.c (expand_float): Use real_2expN.
14626         * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
14627         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
14628         (FLOAT_WORDS_BIG_ENDIAN): New.
14629         * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
14630         directly to REAL_VALUE_NEGATIVE.
14631         * loop.c (canonicalize_condition): Likewise.
14632         * simplify-rtx.c: Include tree.h.
14633         (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
14634         with floating-point result modes.
14635         * toplev.c (backend_init): Call init_real_once.
14637         * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
14638         * tree.c (build_real): Likewise.
14639         * config/alpha/alpha.c, config/vax/vax.c (float_strings,
14640         float_values, inited_float_values, check_float_value): Remove.
14641         * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
14642         config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
14643         * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
14644         (VAX_HALFWORD_ORDER): Remove.
14646 2002-09-16  Ulrich Weigand  <uweigand@de.ibm.com>
14648         * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
14649         (s390_load_address): ... this new function.
14650         (s390_decompose_address): Allow the argument pointer and all
14651         virtual registers as 'pointer' registers.
14652         (s390_expand_plus_operand): Use s390_load_address.
14653         config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
14654         ("force_la_31"): New insn pattern.
14655         config/s390/s390-protos.h (legitimize_la_operand): Remove.
14656         (s390_load_address): Add prototype.
14658         * config/s390/s390.c: Include "optabs.h".
14659         (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
14660         config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
14661         s390_expand_cmpstr): Add prototypes.
14662         config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
14663         ("movstrdi_short"): Rename to "movstr_short_64".  Change predicates
14664         for operands 0 and 1 to "memory_operand".  Add type attribute.
14665         ("movstrsi_short"): Rename to "movstr_short_31".  Change predicates
14666         for operands 0 and 1 to "memory_operand".  Add type attribute.
14667         ("movstrdi_long", "movstrsi_long"): Remove.
14668         ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
14669         ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
14670         ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
14671         ("clrstrsico"): Remove, replace by ...
14672         ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
14673         ("clrstrsi_64"): Rename to "clrstr_long_64".
14674         ("clrstrsi_31"): Rename to "clrstr_long_31".
14675         ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
14676         ("cmpstr_const"): Remove, replace by ...
14677         ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
14678         ("cmpstr_64"): Rename to "cmpstr_long_64".
14679         ("cmpstr_31"): Rename to "cmpstr_long_31".
14681 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
14683         * ABOUT-NLS: Follow spelling conventions.
14684         * ChangeLog: Likewise.
14685         * ChangeLog.1: Likewise.
14686         * ChangeLog.2: Likewise.
14687         * ChangeLog.3: Likewise.
14688         * ChangeLog.4: Likewise.
14689         * ChangeLog.5: Likewise.
14690         * ChangeLog.6: Likewise.
14691         * FSFChangeLog.10: Likewise.
14692         * FSFChangeLog.11: Likewise.
14693         * c-common.c: Likewise.
14694         * c-lex.c: Likewise.
14695         * c-objc-common.c: Likewise.
14696         * cppexp.c: Likewise.
14697         * cppinit.c: Likewise.
14698         * cpplex.c: Likewise.
14699         * doloop.c: Likewise.
14700         * flow.c: Likewise.
14701         * function.c: Likewise.
14702         * integrate.c: Likewise.
14703         * loop.c: Likewise.
14704         * reg-stack.c: Likewise.
14705         * reload.h: Likewise.
14706         * ssa.c: Likewise.
14708 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14710         * Makefile.in (vmsdbgout.o): Depend on $(TARGET_H)
14711         * vmsdbgout.c: Include "target.h".
14713 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
14715         * ChangeLog: Follow spelling conventions.
14716         * ChangeLog.0: Likewise.
14717         * ChangeLog.1: Likewise.
14718         * ChangeLog.2: Likewise.
14719         * ChangeLog.4: Likewise.
14720         * ChangeLog.6: Likewise.
14721         * config.gcc: Likewise.
14722         * dwarfout.c: Likewise.
14723         * reload1.c: Likewise.
14724         * simplify-rtx.c: Likewise.
14725         * unwind-sjlj.c: Likewise.
14726         * config/avr/avr.h: Likewise.
14727         * config/d30v/d30v.h: Likewise.
14728         * config/frv/frv.c: Likewise.
14729         * config/frv/frv.h: Likewise.
14730         * config/ip2k/ip2k.h: Likewise.
14731         * config/m88k/m88k-move.sh: Likewise.
14732         * config/stormy16/stormy16.c: Likewise.
14733         * config/stormy16/stormy16.h: Likewise.
14734         * doc/extend.texi: Likewise.
14735         * doc/interface.texi: Likewise.
14736         * doc/invoke.texi: Likewise.
14737         * doc/md.texi: Likewise.
14738         * doc/rtl.texi: Likewise.
14739         * doc/tm.texi: Likewise.
14740         * doc/trouble.texi: Likewise.
14741         * ginclude/float.h: Likewise.
14742         * treelang/treelang.texi: Likewise.
14744 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14746         * i386-protos.h (i386_pe_dllexport_name_p,
14747         i386_pe_dllimport_name_p, i386_pe_unique_section,
14748         i386_pe_declare_function_type, i386_pe_record_external_function,
14749         i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
14750         prototype.
14751         * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
14752         * i386/t-interix (winnt.o): Likewise.
14754         * v850-protos.h (v850_output_addr_const_extra): Prototype.
14756 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
14758         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
14759         MIPS ABI CPP macros.
14760         (TARGET_CPU_CPP_BUILTINS): Redefine.
14761         (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
14762         (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
14764 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14766         * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
14768 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
14770         * ChangeLog: Follow spelling conventions.
14771         * ChangeLog.0: Likewise.
14772         * ChangeLog.1: Likewise.
14773         * ChangeLog.2: Likewise.
14774         * ChangeLog.3: Likewise.
14775         * ChangeLog.4: Likewise.
14776         * ChangeLog.5: Likewise.
14777         * ChangeLog.6: Likewise.
14778         * FSFChangeLog.10: Likewise.
14779         * FSFChangeLog.11: Likewise.
14780         * c-common.c: Likewise.
14781         * c-common.h: Likewise.
14782         * c-format.c: Likewise.
14783         * c-opts.c: Likewise.
14784         * cpplib.c: Likewise.
14785         * langhooks.h: Likewise.
14786         * real.c: Likewise.
14787         * reg-stack.c: Likewise.
14788         * toplev.c: Likewise.
14789         * config/arm/arm.c: Likewise.
14790         * config/arm/arm.md: Likewise.
14791         * config/arm/linux-gas.h: Likewise.
14792         * config/arm/netbsd.h: Likewise.
14793         * config/c4x/c4x.c: Likewise.
14794         * config/c4x/c4x.h: Likewise.
14795         * config/c4x/c4x.md: Likewise.
14796         * config/c4x/libgcc.S: Likewise.
14797         * config/fr30/fr30.md: Likewise.
14798         * config/frv/frv.md: Likewise.
14799         * config/ia64/ia64.md: Likewise.
14800         * config/mips/mips.h: Likewise.
14801         * config/mn10300/mn10300.c: Likewise.
14802         * config/stormy16/stormy16.c: Likewise.
14803         * config/v850/v850.md: Likewise.
14804         * doc/extend.texi: Likewise.
14805         * doc/invoke.texi: Likewise.
14806         * doc/md.texi: Likewise.
14808 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
14810         * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
14811         library if -pthread is specified.
14813 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
14815         * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
14816         for --enable-threads=yes and --enable-threads=posix.
14818 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
14820         * config/sparc/cypress.md: Replace Sparc with SPARC.
14821         * config/sparc/freebsd.h: Likewise.
14822         * config/sparc/gmon-sol2.c: Likewise.
14823         * config/sparc/hypersparc.md: Likewise.
14824         * config/sparc/lb1spc.asm: Likewise.
14825         * config/sparc/lb1spl.asm: Likewise.
14826         * config/sparc/linux.h: Likewise.
14827         * config/sparc/linux64.h: Likewise.
14828         * config/sparc/lynx.h: Likewise.
14829         * config/sparc/sol2.h: Likewise.
14830         * config/sparc/sparc-modes.def: Likewise.
14831         * config/sparc/sparc.c: Likewise.
14832         * config/sparc/sparc.h: Likewise.
14833         * config/sparc/sparc.md: Likewise.
14834         * config/sparc/sparclet.md: Likewise.
14835         * config/sparc/supersparc.md: Likewise.
14836         * config/sparc/sysv4.h: Likewise.
14837         * config/sparc/vxsim.h: Likewise.
14838         * config/sparc/vxsparc64.h: Likewise.
14840 2002-09-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14842         * c-lex.c (cb_ident): Mark variable with ATTRIBUTE_UNUSED.
14843         * collect2.c (ignore_library, aix_std_libs): Move into the context
14844         where it is used.
14845         * m68hc11.c (m68hc11_autoinc_compatible_p): Delete prototype.
14846         (autoinc_mode, m68hc11_make_autoinc_notes): Add prototypes.
14847         * m88k.c (output_call): Wrap variables with macro controlling use.
14848         * rs6000.md: Likewise.  Const-ify variable.
14849         * sh.h (ASM_OUTPUT_LABELREF): Likewise.
14850         * final.c (only_leaf_regs_used): Likewise.
14851         * regrename.c (maybe_mode_change): Mark parameter with
14852         ATTRIBUTE_UNUSED.
14853         * reload.c (find_valid_class): Likewise.  Likewise for variable.
14854         (find_reloads_address_1): Likewise.
14855         * varasm.c (weak_finish): Wrap variable with macro controlling use.
14857 2002-09-14  Marek Michalkiewicz  <marekm@amelek.gda.pl>
14859         * config/avr/avr.c (output.h): Move after inclusion of tree.h.
14861 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
14863         * ChangeLog: Follow spelling conventions.
14864         * ChangeLog.0: Likewise.
14865         * ChangeLog.2: Likewise.
14866         * ChangeLog.3: Likewise.
14867         * ChangeLog.4: Likewise.
14868         * ChangeLog.5: Likewise.
14869         * ChangeLog.6: Likewise.
14870         * cppfiles.c: Likewise.
14871         * cppinit.c: Likewise.
14872         * cpplib.h: Likewise.
14873         * cse.c: Likewise.
14874         * debug.h: Likewise.
14875         * df.c: Likewise.
14876         * dominance.c: Likewise.
14877         * hashtable.c: Likewise.
14878         * hashtable.h: Likewise.
14879         * loop.c: Likewise.
14880         * config/arm/README-interworking: Likewise.
14881         * config/arm/arm.c: Likewise.
14882         * config/arm/arm.h: Likewise.
14883         * config/arm/arm.md: Likewise.
14884         * config/dsp16xx/dsp16xx.h: Likewise.
14885         * config/frv/frv.c: Likewise.
14886         * config/frv/frv.h: Likewise.
14887         * config/ip2k/ip2k.h: Likewise.
14888         * config/rs6000/rs6000.c: Likewise.
14889         * config/stormy16/stormy-abi: Likewise.
14890         * config/stormy16/stormy16.h: Likewise.
14891         * config/v850/v850.c: Likewise.
14893 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
14895         * loop.c: Fix a comment typo.
14897 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
14899         * config/fr30/fr30.h: Fix comment typos.
14900         * config/frv/frv.c: Likewise.
14901         * config/i386/xmmintrin.h: Likewise.
14902         * config/mips/mips.c: Likewise.
14903         * config/sh/sh.c: Likewise.
14905 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
14907         * haifa-sched.c: Follow spelling conventions.
14908         * regclass.c: Likewise.
14909         * regrename.c: Likewise.
14910         * config/fp-bit.c: Likewise.
14911         * config/frv/frv.h: Likewise.
14912         * config/m88k/m88k.c: Likewise.
14913         * config/mcore/mcore.c: Likewise.
14914         * config/rs6000/darwin.h: Likewise.
14915         * config/rs6000/gnu.h: Likewise.
14916         * config/rs6000/linux.h: Likewise.
14917         * config/rs6000/linux64.h: Likewise.
14918         * config/rs6000/rs6000.c: Likewise.
14919         * config/rs6000/rs6000.h: Likewise.
14920         * config/sh/sh.c: Likewise.
14921         * config/sparc/sparc.c: Likewise.
14922         * config/sparc/ultra1_2.md: Likewise.
14924 2002-09-14  Stephane Carrez  <stcarrez@nerim.fr>
14926         * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
14927         memory operand when source is 0 (K constraint).
14928         ("movsi_internal"): Likewise.
14929         ("movdf_internal"): Likewise.
14930         ("movsf_internal"): Likewise.
14932 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
14934         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
14935         targetm.binds_local_p to set SYMBOL_REF_FLAG.
14936         (rs6000_xcoff_encode_section_info): Likewise.
14937         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
14939 2002-09-10  Theodore A. Roth  <troth@verinet.com>
14941         * gcc/config/avr/avr.h: Set default options for C++ for avr.
14943 2002-09-13  Roger Sayle  <roger@eyesopen.com>
14945         * stmt.c (struct nexting): Remove unused alt_end_label field.
14946         (expand_start_loop): Delete initialization of alt_end_label.
14947         (expand_start_null_loop): Likewise.
14948         (expand_exit_loop_if_false): Delete updating of alt_end_label.
14950 2002-09-13  Richard Henderson  <rth@redhat.com>
14952         * Makefile.in (toplev.o): Depend on real.h.
14953         (print-rtl.o, varasm.o, ifcvt.o): Likewise.
14955 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
14957         * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
14958         * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
14959         * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
14961 2002-09-13  Nathan Sidwell  <nathan@codesourcery.com>
14963         * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
14965 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
14967         * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
14968         ia64*-*-linux*): Set extra_parts.
14969         * config/ia64/t-aix (EXTRA_PARTS): Remove.
14970         * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
14972 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
14974         * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
14975         * config/h8300/h8300.c: Likewise.
14976         * config/h8300/h8300.h: Likewise.
14977         * config/h8300/h8300.md: Likewise.
14978         * doc/invoke.texi: Likewise.
14980 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
14982         * config/h8300/h8300.c (h8300_init_once): Fix formatting.
14984 2002-09-13  Richard Henderson  <rth@redhat.com>
14986         * config/alpha/alpha.md (attr type): Add callpal.
14987         (imb, trap, load_tp, set_tp): Use it.
14988         * config/alpha/ev4.md (ev4_callpal): New.
14989         * config/alpha/ev5.md (ev5_callpal): New.
14990         * config/alpha/ev6.md (ev6_ibr): Handle callpal.
14991         * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
14992         (alphaev5_insn_pipe): Likewise.
14994 2002-09-13  Andreas Jaeger  <aj@suse.de>
14996         * Makefile.in (print-rtl.o): Depend on CONFIG_H.
14998 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
15000         * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
15001         LIB2ADDEH): New, set to NULL.
15002         (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
15004 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
15006         * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
15007         (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
15008         (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
15009         Add declarations.
15010         (_U_Qfneg): Remove.
15012 2002-09-13 Dhananjay Deshpande  <dhananjayd@kpit.com>
15014         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
15015         for H8/300, H8S aa:8 mode.
15016         (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
15017         * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
15018         for H8/300 aa:8 mode.
15020 2002-09-13  Hartmut Penner  <hpenner@de.ibm.com>
15022         * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
15023         insns.
15025 2002-09-12  Richard Henderson  <rth@redhat.com>
15027         * Makefile.in (HOST_PRINT): Use print-rtl1.o
15028         (print-rtl.o): Don't define GENERATOR_FILE.
15029         (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
15030         * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
15031         unless GENERATOR_FILE.
15033 2002-09-12  Stan Shebs  <shebs@apple.com>
15035         * config/darwin.h (USER_LABEL_PREFIX): Define here...
15036         * config/i386/darwin.h: ... instead of here.
15038         * target.h (struct gcc_target): New field
15039         terminate_dw2_eh_frame_info.
15040         * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
15041         (TARGET_INITIALIZER): Add it.
15042         * dwarf2out.c (output_call_frame_info): Use target hook.
15043         * dwarf2asm.c (dw2_asm_output_delta): Use macro
15044         ASM_OUTPUT_DWARF_DELTA if defined.
15045         * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
15046         (ASM_OUTPUT_DWARF_DELTA): Ditto.
15047         (ASM_OUTPUT_DWARF_OFFSET): Ditto.
15048         (ASM_OUTPUT_DWARF_PCREL): Ditto.
15049         * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
15050         (powerpc-*-darwin*): Ditto.
15051         * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
15052         to work correctly for Darwin.
15053         * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
15054         (STARTFILE_SPEC): Add crtbegin.o.
15055         (ENDFILE_SPEC): Define.
15056         (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
15057         (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
15058         (ASM_OUTPUT_DWARF_DELTA): Define.
15059         (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
15060         * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
15062 2002-09-13  Alan Modra  <amodra@bigpond.net.au>
15064         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
15065         nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
15066         * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
15068 2002-09-12  Zack Weinberg  <zack@codesourcery.com>
15070         * toplev.c: Move default definition of USER_LABEL_PREFIX...
15071         * defaults.h: ... here.
15073 2002-09-12  Richard Henderson  <rth@redhat.com>
15075         * vax.c: Include tree.h earlier.
15077 2002-09-12  Stan Shebs  <shebs@apple.com>
15079         * config/darwin.c (machopic_finish): Remove #if 0 chunks.
15080         (machopic_operand_p): Ditto.
15082 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
15084         * config/arm/arm.c (arm_compute_initial_elimination_offset):
15085         Fix a comment typo.
15087 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
15089         * toplev.c (do_abort): Fix a comment typo.
15091 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
15093         * cselib.c: Fix comment formatting.
15094         * gengtype.c: Likewise.
15096 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
15098         * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
15099         (udivmodhi4): Likewise.
15101 2002-09-12  Graham Stott  <graham.stott@btinternet.com>
15102             Roger Sayle  <roger@eyesopen.com>
15104         * i386.c (any_fp_register_operand, fp_register_operand,
15105         register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
15106         New predicate functions.
15107         * i386-protos.h:  Add their prototypes.
15108         * i386.h: Add them to PREDICATE_CODES.
15109         * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
15110         "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
15111         "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
15112         "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
15113         "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
15114         "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
15115         "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
15116         "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
15117         "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
15118         "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
15119         "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
15120         Use these new predicates to simplify and correct the use of
15121         FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
15123 2002-09-12  Jason Merrill  <jason@redhat.com>
15125         * diagnostic.c (output_add_identifier): New fn.
15126         * diagnostic.h: Declare it.
15128         * calls.c (store_one_arg): Use size_in_bytes to determine the
15129         amount of space to push.
15131 2002-09-12  Jakub Jelinek  <jakub@redhat.com>
15133         * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
15135 2002-09-12  Ulrich Weigand  <uweigand@de.ibm.com>
15137         * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
15138         * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
15139         (s390_select_ccmode): Likewise.
15140         (s390_branch_condition_mask): Likewise.
15141         (optimization_options): Do not set flag_branch_on_count.
15142         (s390_split_branches): Handle doloop branches.
15143         (s390_chunkify_pool): Likewise.
15144         * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
15145         ("doloop_end"): New expander.
15146         ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
15147         associated splitters): New.
15149 2002-09-11  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
15151         * genattrtab.c (simplify_cond): Remove unused variable(s).
15152         * global.c (record_conflicts): Likewise.
15153         * jump.c (rebuild_jump_labels): Likewise.
15154         * loop.c (scan_loop, check_final_value): Likewise.
15155         * ra-colorize.c (colorize_one_web, assign_colors): Likewise.
15156         * reload1.c (eliminate_regs_in_insn, do_input_reload): Likewise.
15157         * rtlanal.c (reg_set_p): Likewise.
15158         * stmt.c (expand_asm_operands, expand_decl): Likewise.
15159         * genautomata.c (empty_reserv): Remove.
15160         * loop.c (max_luid): Likewise.
15161         * sched-rgn.c (bitlst_table_size): Likewise.
15163 2002-09-11  Nathan Sidwell  <nathan@codesourcery.com>
15165         Reimplement gcov format.
15166         * gcov-io.h: Replace.
15167         * gcov.c: Reimplement.
15168         * gcov-iov.c: New file.
15169         * gcov-dump.c: New file.
15170         * libgcc2.c (L_bb): Replace with ...
15171         (L_gcov): ... this.
15172         (struct bb_function_info, struct bb): Remove.
15173         (inhibit_libc): Never inhibit.
15174         (gcov_list, gcov_crc): New static variables.
15175         (gcov_version_mismatch): New static function.
15176         (__bb_exit_func): Renamed to ...
15177         (__gcov_exit): ... here. Made static. Reimplement.
15178         (__gcov_init_func): Rename to ...
15179         (__gcov_init): ... here. Check version, update crc.
15180         (__bb_fork_func): Rename to ...
15181         (__gcov_flush): ... here.
15182         * libgcc2.h (struct bb, __bb_exit_func, __bb_init_func,
15183         __bb_fork_func, gcov_type, __bb_find_arc_counters): Remove.
15184         * calls.c (expand_call): Call __gcov_flush.
15185         * profile.c (bb_file, last_bb_file_name): Remove.
15186         (bbg_file_name): New global variable.
15187         (output_gcov_string): Remove.
15188         (get_exec_counts): Reimplement.
15189         (branch_prob): Reimplement gcov file writing.
15190         (init_branch_prob): Create bbg_file_name, don't create
15191         bb_file_name.
15192         (end_branch_prob): Adjust. Don't remove counter file when
15193         instrumenting ourselves.
15194         (create_profiler): Adjust.
15195         * doc/gcov.texi (Gcov Data Files): Remove detailed specification,
15196         point to gcov-io.h.
15197         * Makefile.in (LANGUAGES): Add gcov-dump.
15198         (coverageexts): Remove .bb.
15199         (STAGESTUFF): Add gcov-dump.
15200         (LIB2FUNCS_ST): Replace _bb with _gcov.
15201         (profile.o): Depend on gcov-iov.h.
15202         (final.o): Don't depend on profile.h, gcov.h.
15203         (gcov.o): Depend on gcov-iov.h.
15204         (gcov-iov.o): New target.
15205         (gcov-iov): New target.
15206         (gcov-iov.h): New target.
15207         (gcov-dump.o): New target.
15208         (GCOV_DUMP_OBJS): New variable.
15209         (gcov-dump): New target.
15210         (distclean): Remove coverageexts.
15211         (stage1): Remove coverageexts.
15213 2002-09-11  Hartmut Penner  <hpenner@de.ibm.com>
15215         * fold-const.c (make_range): Only narrow to signed range if
15216         the signed range is smaller than the unsigned range.
15218 2002-09-12  Alan Modra  <amodra@bigpond.net.au>
15220         * emit-rtl.c (set_mem_size): New function.
15221         * expr.h (set_mem_size): Declare.
15222         * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
15223         (expand_block_move): Instead, use adjust_address and
15224         replace_equiv_address to generate proper aliasing info.
15225         Move common code out of conditionals.  Localize vars.
15227 2002-09-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
15229         * optabs.c (expand_binop): Minor cleanup.
15230         (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
15232 2002-09-11  Dan Nicolaescu  <dann@ics.uci.edu>
15234         * print-tree.c (print_node): Print the restrict qualifier.
15236 2002-09-11  Janis Johnson  <janis187@us.ibm.com>
15238         * doc/install.texi: Fix typos.
15240 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
15242         * Makefile.in: Remove all references to s-under and underscore.c.
15243         * collect2.c, tlink.c: Change all uses of prepends_underscore
15244         to look directly at USER_LABEL_PREFIX.
15246 2002-09-11  David Edelsohn  <edelsohn@gnu.org>
15248         * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
15249         alignment to csect.
15250         (rs6000_xcoff_unique_section): Only set section name for public
15251         data.
15252         (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
15253         * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
15254         duplicate definition.
15256 2002-09-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15258         * pa.md (extzv): Check predicates before emitting extzv_32.
15259         (insv): Likewise.
15261 2002-09-10  Ulrich Weigand  <uweigand@de.ibm.com>
15263         * config/s390/s390.h (MOVE_MAX): Define to correct value.
15264         (MAX_MOVE_MAX): Define.
15265         (MOVE_BY_PIECES_P): Define.
15266         (CLEAR_BY_PIECES_P): Define.
15268 2002-09-10  Denis Chertykov  <denisc@overta.ru>
15270         * config/avr/avr.md (movstrhi): Use right operands for conversion.
15272 2002-09-10  Richard Earnshaw  <rearnsha@arm.com>
15274         PR c/7873
15275         * arm.md (insv): Use reg_or_int_operand for operand[3].
15277 2002-09-10  David Edelsohn  <edelsohn@gnu.org>
15279         * rs6000.c (rs6000_assemble_visibility): Protect declaration
15280         inside macro.  Correct function definition typo.
15281         (rs6000_xcoff_section_type_flags): New function.
15282         (TARGET_SECTION_TYPE_FLAGS): Remove definition.
15283         (rs6000_elf_section_type_flags): Call default_section_type_flags_1
15284         with appropriate PIC test.
15285         (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
15286         determine readonly.
15287         (rs6000_binds_local_p): Combine PIC flags.
15288         * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
15289         * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
15291 2002-09-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15293         * h8300.md: Fix signed/unsigned warnings.
15294         * mcore.md: Likewise.
15295         * mn10300.c (mask_ok_for_mem_btst): Likewise.
15297 2002-09-09  Per Bothner  <per@bothner.com>
15299         * print-tree.c (print_node):  In a STRING_CST, escape non-ascii
15300         characters, and only print TREE_STRING_LENGTH chars.
15302 2002-09-09  Steve Ellcey  <sje@cup.hp.com>
15304         * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
15305         (ASM_FILE_END) New.
15306         * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
15307         * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
15308         * config/ia64/ia64.c (ia64_asm_output_external): Create list
15309         of external functions if TARGET_HPUX_LD is true.
15310         (ia64_hpux_add_extern_decl): New, routine to put names on
15311         list of external functions.
15312         (ia64_hpux_asm_file_end): Put out declarations for external
15313         functions if and only if they are used.
15315 2002-09-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15317         * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
15318         on TARGET_64BIT before pic register restore.
15320 2002-09-09  David Edelsohn  <edelsohn@gnu.org>
15322         * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
15323         (TARGET_HAVE_TLS): New description.
15325 2002-09-09  Janis Johnson  <janis187@us.ibm.com>
15327         * doc/extend.texi (Statement Exprs): Fix broken link.
15329 2002-09-09  Denis Chertykov  <denisc@overta.ru>
15331         * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
15332         right conversion of operands[1].
15334 2002-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
15336         * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
15337         commutative.  Use "nonimmediate_operand" instead of "register_operand"
15338         as predicate for operand 0.  Move to after the "*tmXX_mem" insns.
15340         ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
15341         as commutative.
15343         ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
15344         mark as commutative.  Use "nonimmediate_operand" instead of
15345         "register_operand" as predicate for operand 1.
15347         ("movstrictsi"): Fix typo in insn name.
15349 2002-09-09  Jan Hubicka  <jh@suse.cz>
15351         * i386.c (index_register_operand): New.
15352         * i386.h (predicate_codes): Add new predicate.
15353         * i386.md (lea_general_*): Use index_register_operand
15354         (ashift to lea splitter): Do not produce invalid leas
15355         (ashift to mov+ashift split): New.
15357 2002-09-09  Nick Clifton  <nickc@redhat.com>
15359         * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
15360         Fix folding marks.
15362 2002-09-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
15363             J"orn Rennecke <joern.rennecke@superh.com>
15365         * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
15367 2002-09-09  Alan Modra  <amodra@bigpond.net.au>
15369         * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
15370         (function_ok_for_sibcall): Use binds_local_p.  Respect longcall
15371         attributes.
15373 2002-09-08  Nathan Sidwell  <nathan@codesourcery.com>
15375         * basic_block.h (gcov_type): Explain why it is signed.
15376         * final.c: Don't include profile.h.
15377         (struct function_list, functions_head, functions_tail,
15378         end_final): Moved to profile.c
15379         (final): Move arc chaining code to profile.c.
15380         * function.c (prepare_function_start): Remove duplicate line.
15381         * output.h (end_final): Remove prototype.
15382         * predict.c (estimate_loops_at_level): Use gcov_type.
15383         * profile.c (struct function_list, functions_head,
15384         functions_tail): Moved from final.c
15385         (need_func_profiler): Remove.
15386         (instrument_edges): Don't set need_func_profiler.
15387         (get_exec_counts): Avoid signed/unsigned warning.
15388         (compute_checksum): Use crc32.
15389         (branch_prob): Adjust. Chain onto functions_head.
15390         (init_branch_prob): Absorb init_edge_profiler.
15391         (init_edge_profiler): Remove.
15392         (create_profiler): Moved and renamed from final.c:end_final.
15393         Emit data and constructor.
15394         (output_func_start_profiler): Remove.
15395         * profile.h (struct profile_info): checksum is unsigned.
15396         * rtl.h (output_func_start_profiler): Remove prototype.
15397         (create_profiler): Declare.
15398         * toplev.c (compile_file): Call create_profiler, if instrumenting
15399         arcs. Don't call end_final.
15401 2002-09-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15403         * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
15405 2002-09-08  Richard Henderson  <rth@redhat.com>
15407         * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
15408         (DW_OP_GNU_push_tls_address): New.
15409         (DW_OP_lo_user): Fix.
15410         * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
15411         (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
15412         (size_of_loc_descr): Likewise.
15413         (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
15414         (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
15415         (loc_descriptor_from_tree): Handle TLS variables.
15416         (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
15417         (add_location_or_const_value_attribute): ... not here.  Defer
15418         to loc_descriptor_from_tree for TLS variables.
15420         * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
15421         * config/i386/i386.c (i386_output_dwarf_dtprel): New.
15422         * config/i386/i386-protos.h: Update.
15424 2002-09-08  Roger Sayle  <roger@eyesopen.com>
15426         PR optimization/6405
15427         * unroll.c (loop_iterations): last_loop_insn should be the previous
15428         non-note instruction before loop->end.
15429         * loop.c (strength_reduce): The conditional jump is the last
15430         non-note instruction before loop->end (as above).
15432 2002-09-08  Roger Sayle  <roger@eyesopen.com>
15434         * combine.c (try_combine): Handle the case that undobuf.other_insn
15435         has been turned into a return or unconditional jump, by inserting
15436         a BARRIER if necessary.
15437         (simplify_set):  Test if a condition code setter has a constant
15438         comparison at compile time, if so convert this insn to a no-op move
15439         and update/simplify the condition code user (undobuf.other_insn).
15441 2002-09-08  Krister Walfridsson  <cato@df.lth.se>
15443         * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
15444         (CLEAR_INSN_CACHE): Define.
15446 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
15448         * basic-block.h: Fix comment formatting.
15449         * c-common.c: Likewise.
15450         * c-common.h: Likewise.
15451         * c-lex.c: Likewise.
15452         * c-pretty-print.c: Likewise.
15453         * cfglayout.c: Likewise.
15454         * cfgloop.c: Likewise.
15455         * defaults.h: Likewise.
15456         * et-forest.c: Likewise.
15457         * explow.c: Likewise.
15458         * function.h: Likewise.
15459         * gcov.c: Likewise.
15460         * genattrtab.c: Likewise.
15461         * gengtype.c: Likewise.
15462         * ifcvt.c: Likewise.
15463         * libgcc2.c: Likewise.
15464         * loop.c: Likewise.
15465         * profile.c: Likewise.
15466         * ra-build.c: Likewise.
15467         * real.c: Likewise.
15468         * rtl.h: Likewise.
15469         * tracer.c: Likewise.
15470         * tree-inline.c: Likewise.
15471         * varasm.c: Likewise.
15473 2002-09-08  Jan Hubicka  <jh@suse.cz>
15475         * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
15476         handling.
15478         * loop.c (loop_givs_reduce):  Emit addition after.
15480 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
15482         * varasm.c (default_assemble_visibility): Rename from
15483         assemble_visibility.
15484         * output.h: Here too.
15485         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
15486         * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
15488 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
15490         * reload.c (find_reloads <p constraint>): Pass operand_mode to
15491         find_reloads_address.
15493 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
15495         * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
15496         (anonymous pattern): Likewise.
15498 2002-09-07  Igor Shevlyakov <igor@microunity.com>
15500         * machmode.def: Add modes for half-float vectors.
15502 2002-09-07  Scott Snyder  <snyder@fnal.gov>
15504         PR target/7374
15505         * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
15507 2002-09-07  Roger Sayle  <roger@eyesopen.com>
15509         * basic-block.h (struct loop): Remove unused cont_dominator field.
15511 2002-09-07  Igor Shevlyakov <igor@microunity.com>
15513         * varasm.c (decode_rtx_const): Don't check undefined field for
15514         CONST_VECTOR.
15516 2002-09-07  Glen Nakamura  <glen@imodulo.com>
15518         PR opt/7814
15519         * sched-deps.c (sched_analyze_insn): Make sure to add insn
15520         to reg_last->sets after flushing the dependency lists to guarantee
15521         that subsequent clobbers will be dependent on it.
15523 2002-09-07  Igor Shevlyakov <igor@microunity.com>
15525         * combine.c (simplify_shift_const): Calculate rotate count
15526         correctly for vector operands.
15528 2002-09-07  Ansgar Esztermann  <ansgar@thphy.uni-duesseldorf.de>
15530         * c-typeck.c (c_tree_expr_nonnegative_p): New function.
15531         (build_binary_op): Call c_tree_expr_nonnegative_p rather than
15532         tree_expr_nonnegative_p.
15533         (build_conditional_expr): Likewise.
15534         * c-tree.h (c_tree_expr_nonnegative_p): Declare.
15536 2002-09-07  Richard Henderson  <rth@redhat.com>
15538         * builtins.def (inf, inff, infl): Mark const.
15539         (huge_val, huge_valf, huge_vall): Likewise.
15540         (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
15542         * real.c (ereal_inf): Clear E before use.
15544 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
15546         * config/h8300/h8300.md (udivmodqi4): Split the pattern into
15547         an expander and an anonymous pattern.  Zero out the upper half
15548         of the dividend in the expander.
15549         (udivmodqi4): Likewise.
15551 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
15553         * config/h8300/h8300.c: Fix formatting.
15554         * config/h8300/h8300.h: Likewise.
15555         * config/h8300/h8300.md: Likewise.
15557 2002-09-07  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
15559         * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
15560         information.
15562 2002-09-07  Graham Stott  <graham.stott@btinternet.com>
15564        * rtlanal.c (dead_or_set_regno_p): Fix typo.
15566 2002-09-07  Alan Modra  <amodra@bigpond.net.au>
15568         * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
15570         * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
15571         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
15572         (TARGET_ASM_OUT): Add the above here.
15573         * target.h (struct gcc_target): Add "visibility" field.
15574         * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
15575         * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
15576         (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
15577         (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
15579 2002-09-06  Ziemowit Laski <zlaski@apple.com>
15581         * c-lang.c (objc_is_id): New stub.
15582         * c-tree.h (objc_is_id): New forward declaration.
15583         * c-typeck.c (build_c_cast): Do not strip protocol
15584         qualifiers from 'id' type.
15585         * objc/objc-act.c (objc_comptypes): Correct handling
15586         of protocol qualifiers.
15587         (objc_is_id): New.
15589 Fri Sep  6 13:10:08 2002  Jeffrey A Law  (law@redhat.com)
15591         * pentium.md (pentium-firstvboth): Fix typo.
15593 2002-09-06      Dhananjay Deshpande <dhananjayd@kpit.com>
15595         * h8300.c (enum shift_alg): Move to earlier in h8300.c.
15596         (enum shift_type, enum h8_cpu): Likewise.
15597         (INL, ROT, LOP, SPC macros): Likewise.
15598         (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise.  Lose
15599         const designator.
15600         (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
15601         space efficient algorithms when optimize for codesize.
15603 Fri Sep  6 16:35:32 2002  Nicola Pero  <n.pero@mi.flashnet.it>
15605         Fix PR/1727 and long-standing failing testcase
15606         objc/formal-protocol-6.m.
15607         * objc-act.c (build_protocol_expr): If compiling for the GNU
15608         runtime, create a list of Protocol statically allocated instances
15609         if it doesn't exist, then add the Protocol object to this same
15610         list.
15611         (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
15612         instead of TREE_CHAIN.
15614 Fri Sep  6 16:17:33 2002  Nicola Pero  <n.pero@mi.flashnet.it>
15616         * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
15617         10k.  Fixed category dumping - print out category names with the
15618         proper syntax.  Print '@end\n' and not '\n@end' at the end of the
15619         interface.
15620         (finish_objc): Fixed the -gen-decls option.  It was printing out
15621         only the last class.  Dump an interface declaration of all classes
15622         being compiled instead.
15624 2002-09-06  Jason Thorpe  <thorpej@wasabisystems.com>
15626         * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
15627         prototype.
15628         * config/arm/arm.c (arm_gen_return_addr_mask): New function.
15629         * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
15630         if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
15631         rather than GEN_INT.
15632         * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
15633         (return_addr_mask, *check_arch2): New.
15635 2002-09-06  Ulrich Weigand  <uweigand@de.ibm.com>
15637         * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
15638         "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
15639         "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
15640         "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
15641         "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
15642         "adddf3", "*adddf3", "*adddf3_ibm",
15643         "addsf3", "*addsf3", "*addsf3_ibm",
15644         "muldi3", "mulsi3", "mulsidi3",
15645         "muldf3", "*muldf3", "*muldf3_ibm",
15646         "mulsf3", "*mulsf3", "*mulsf3_ibm",
15647         "*anddi3_cc", "*anddi3_cconly", "anddi3",
15648         "*andsi3_cc", "*andsi3_cconly", "andsi3",
15649         "*iordi3_cc", "*iordi3_cconly", "iordi3",
15650         "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
15651         "*xordi3_cc", "*xordi3_cconly", "xordi3",
15652         "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
15653         instead of "register_operand" as predicate for "%0" operand.
15655 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
15657         * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
15658         unconditionally when gcc_cv_as_flags64 checks are gone.
15659         * configure: Rebuilt.
15661 2002-09-06  Alan Modra  <amodra@bigpond.net.au>
15663         * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
15664         2002-07-26 change.  Comment.
15666 2002-09-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15668         * frv.c (frv_unique_section, frv_select_section,
15669         frv_select_rtx_section): Delete.
15670         (frv_in_small_data_p): New.
15671         (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
15672         TARGET_ASM_SELECT_RTX_SECTION): Delete.
15673         (TARGET_IN_SMALL_DATA_P): Define.
15675 2002-09-05  Dale Johannesen  <dalej@apple.com>
15677         * reload1.c (reload):  Retain only those memory clobbers
15678         added for variable-array handling.
15680 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
15682         * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
15683         return-in-memory rules.
15684         * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
15686 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
15688         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
15689         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
15691 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
15693         * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
15694         not a compile-time constant for the non-IBM case.
15695         * config/arm/arm-protos.h (arm_float_words_big_endian): New
15696         prototype.
15697         * config/arm/arm.c (arm_float_words_big_endian): New function.
15698         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
15699         if TARGET_VFP  and not TARGET_HARD_FLOAT.
15700         (ARM_FLAG_VFP, TARGET_VFP): Define.
15701         (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
15703 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
15705         * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
15706         URLs.  Fix AIX wording.
15708 2002-09-05  Stan Shebs  <shebs@apple.com>
15710         * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
15711         -fPIC equivalent on Darwin.
15713 Thu Sep  5 16:27:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
15715         * sh.c (sh_expand_builtin): Return early if encountering an
15716         error_mark for a type.
15718 2002-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
15720         * config/s390/s390.c (s390_expand_plus_operand): Do not require
15721         double-word scratch register.
15722         config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
15724         ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
15725         "*cli"): Replace s_operand by memory_operand.
15726         ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
15728 2002-09-05  Kazu Hirata  <kazu@cs.umass.edu>
15730         * config/h8300/h8300.c (asm_file_start): Add a missing
15731         semicolon.
15733 2002-09-04  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
15735         * c-typeck.c (build_function_call): Remove unused variable(s).
15736         (build_c_cast): Likewise.
15737         * calls.c (rtx_for_function_call): Likewise.
15738         * cfglayout.c (duplicate_insn_chain): Likewise.
15739         * cfgloop.c (flow_loop_nodes_find): Likewise.
15740         * cfgrtl.c (split_edge): Likewise.
15741         * df.c (df_ref_create): Likewise.
15742         * except.c (expand_end_catch): Likewise.
15743         * expr.c (emit_push_insn, store_constructor, expand_expr): Likewise.
15744         * function.c (emit_return_into_block): Likewise.
15745         (reposition_prologue_and_epilogue_notes): Likewise.
15746         * gengtype.c (get_file_basename, write_gc_structure_fields): Likewise.
15747         * combine.c (subst_prev_insn, need_refresh): Remove.
15748         * dwarf2out.c (primary_filename): Remove.
15749         * final.c (new_block): Remove.
15750         * gcse.c (orig_bb_count): Remove.
15752 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15754         * dsp16xx-protos.h (dsp16xx_compare_gen): Change to bool.
15755         * dsp16xx.c (dsp16xx_compare_gen): Likewise.
15756         * dsp16xx.md: Treat dsp16xx_compare_gen as a bool.  Call functions
15757         directly instead of using a function pointer.
15759 2002-09-04  Krister Walfridsson  <cato@df.lth.se>
15761         * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
15762         * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
15763         (ix86_output_addr_diff_elt) Likewise.
15764         (x86_output_mi_thunk) Likewise.
15765         * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
15767 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15769         * frv.c (frv_encode_section_info): Fix error in last change.
15771 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
15773         * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
15774         (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
15775         (TARGET_BINDS_LOCAL_P): Define.
15776         (rs6000_override_options): Save original flag_pic value.
15777         (rs6000_elf_select_section): Call default_elf_select_section_1.
15778         (rs6000_elf_unique_section): Call default_unique_section_1.
15779         (rs6000_elf_in_small_data_p): New function.
15780         (rs6000_xcoff_asm_named_section): Determine storage mapping class.
15781         (rs6000_xcoff_select_section): Update based on defaults.
15782         (rs6000_xcoff_unique_section): Set to basic name if not common.
15783         (rs6000_binds_local_p): New function.
15784         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
15785         targetm.have_srodata_section if SDATA_EABI.
15786         (TARGET_IN_SMALL_DATA_P): Define.
15788 2002-09-04  Dale Johannesen  <dalej@apple.com>
15790         * varasm.c (struct rtx_const, decode_rtx_const):
15791         Make veclo and vechi fields not share storage.
15793 Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
15795         * loop.c (scan_loop): Don't mark separate insns out of a libcall
15796         for moving.
15797         (move_movables): Abort if we see the first insn of a libcall.
15799 2002-09-04  Richard Henderson  <rth@redhat.com>
15801         * builtin-types.def (BT_FN_FLOAT): New.
15802         (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
15803         * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
15804         BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
15805         * builtins.c (fold_builtin_inf): New.
15806         (fold_builtin): Call it.
15807         * real.c (ereal_inf): New.
15808         * real.h: Declare it.
15809         * doc/extend.texi: Document new builtins.
15811 2002-09-04  Richard Henderson  <rth@redhat.com>
15813         * cse.c (cse_insn): Avoid subreg games if the equivalence
15814         is already in the proper mode.
15816 2002-09-04  Eric Botcazou  <ebotcazou@multimania.com>
15818         PR c/7102
15819         * optabs.c (expand_binop): Convert CONST_INTs in all cases.
15821 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15823         * pa.md (setccfp0, setccfp1): New patterns.
15825 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15827         * frv-protos.h (frv_init_builtins, frv_expand_builtin,
15828         frv_select_section, frv_select_rtx_section,
15829         frv_encode_section_info, frv_unique_section): Delete.
15830         * frv.c: Update for target hooks.
15831         * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
15832         SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
15833         EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
15835 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15837         * ip2k-protos.h (function_prologue, function_epilogue,
15838         encode_section_info): Update to match target hook specification.
15839         * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
15840         (function_prologue, function_epilogue, encode_section_info):
15841         Update to match target hook specification.
15842         * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
15843         ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
15844         (NOTICE_UPDATE_CC): Cast to void.
15845         * ip2k.md: Add defaults in switch statements.
15847 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
15849         * doc/trouble.texi (Interoperation): Update information about C++ ABI
15850         issues.
15852 2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
15854         * config/sparc/t-netbsd64: Disable multilib for now.
15856 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
15858         * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
15859         * target.h (gcc_target): Add have_srodata_section member.
15860         * varasm.c (section_category): Add SECCAT_SRODATA.
15861         (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
15862         READONLY_SDATA_SECTION defined.
15863         (decl_readonly_section_1): True for SECCAT_SRODATA also.
15864         (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
15865         (default_unique_section_1): Likewise.
15867 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15869         * expr.c (emit_group_load): Revise to allow splitting TCmode source
15870         into DImode pieces.
15872         * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
15873         * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
15874         for floating-point register class.
15875         * pa.c (function_arg): Fix handling of modes wider than one word for
15876         TARGET_64BIT.
15878 Wed Sep  4 18:48:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
15880         * combine.c (make_compound_operation): Don't generate zero / sign
15881         extensions in floating point modes.
15883 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
15885         * doc/c-tree.texi: Fix overfull hboxes.
15886         * doc/cppopts.texi: Ditto.
15887         * doc/extend.texi: Ditto.
15888         * doc/gty.texi: Ditto.
15889         * doc/invoke.texi: Ditto.
15890         * doc/makefile.texi: Ditto.
15891         * doc/rtl.texi: Ditto.
15892         * doc/standards.texi: Ditto.
15893         * doc/tm.texi: Ditto.
15895 2002-09-04  Richard Henderson  <rth@redhat.com>
15897         * c-common.c (builtin_define_with_hex_fp_value): New.
15898         (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.
15900 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
15902         * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
15903         (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
15904         -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
15905         Warn that these options can break ABI compatibility.
15907 2002-09-04  Richard Henderson  <rth@redhat.com>
15909         * real.c (ereal_to_decimal): Add digits parameter.
15910         * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
15911         * c-pretty-print.c (pp_c_real_literal): Update call.
15912         * print-rtl.c (print_rtx): Likewise.
15913         * print-tree.c (print_node_brief, print_node): Likewise.
15914         * sched-vis.c (print_value): Likewise.
15915         * config/arc/arc.c (arc_print_operand): Likewise.
15916         * config/c4x/c4x.c (c4x_print_operand): Likewise.
15917         * config/i370/i370.h (PRINT_OPERAND): Likewise.
15918         * config/i386/i386.c (print_operand): Likewise.
15919         * config/i960/i960.c (i960_print_operand): Likewise.
15920         * config/ip2k/ip2k.c (asm_output_float): Likewise.
15921         * config/m32r/m32r.c (m32r_print_operand): Likewise.
15922         * config/m68hc11/m68hc11.c (print_operand): Likewise.
15923         * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
15924         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
15925         * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
15926         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
15927         * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
15928         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
15929         * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
15930         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
15931         * config/mips/mips.c (print_operand): Likewise.
15932         * config/ns32k/ns32k.c (print_operand): Likewise.
15933         * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
15934         * config/vax/vax.h (PRINT_OPERAND): Likewise.
15935         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
15937 2002-09-04  Bob Wilson  <bob.wilson@acm.org>
15939         * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
15940         xtensa_multibss_section_type_flags.
15941         * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
15943 2002-09-04  Richard Henderson  <rth@redhat.com>
15945         * doc/install-old.texi: Don't mention enquire.
15946         * doc/sourcebuild.texi: Update float.h description.
15948 Wed Sep  4 11:22:14 2002  J"orn Rennecke <joern.rennecke@superh.com>
15950         * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
15952 2002-09-03  Roger Sayle  <roger@eyesopen.com>
15954         * builtins.c (build_function_call_expr): Remove prototype, export
15955         as non-static and add a comment above function definition.
15956         (builtin_mathfn_code): New function to check for math builtins.
15957         (fold_builtin): Optimize sqrt(0.0) as 0.0, sqrt(1.0) as 1.0,
15958         exp(0.0) as 1.0, and log(1.0) as 0.0.  Optimize exp(log(x)) and
15959         log(exp(x)) as x.  Optimize sqrt(exp(x)) as exp(x/2.0) and
15960         log(sqrt(x)) as log(x)/2.0.
15962         * tree.h: Prototype build_function_call_expr and builtin_mathfn_code
15963         in new "builtins.c" section.  Place the build_range_type prototype
15964         with the other prototypes from "tree.c".
15966         * fold-const.c (fold) [ABS_EXPR]: Fold fabs(sqrt(x)) as sqrt(x)
15967         and fabs(exp(x)) as exp(x).  [MULT_EXPR]: Fold sqrt(x)*sqrt(y)
15968         as sqrt(x*y) and exp(x)*exp(y) as exp(x+y). [RDIV_EXPR]: Fold
15969         x/exp(y) as x*exp(-y).
15971 2002-09-03  David Edelsohn  <edelsohn@gnu.org>
15973         * varasm.c (default_section_type_flags): Append _1 to name with
15974         shlib parameter.  Use original name to call new function with
15975         implicit flag_pic.
15976         (decl_readonly_section): Likewise.
15977         (default_elf_select_section): Likewise.
15978         (default_unique_section): Likewise.
15979         (default_bind_local_p): Likewise.
15980         (categorize_decl_for_section): Add shlib parameter to use in place
15981         of implicit flag_pic.
15982         * output.h: Declare new functions with _1 and shlib argument.
15984 2002-09-03  Janis Johnson  <janis187@us.ibm.com>
15986         * doc/install.texi: Fix typos, formatting problems, and obvious
15987         overfull/underfull boxes.
15989         * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
15990         * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
15991         include its file, compat.texi.
15992         * doc/compat.texi: New file with new chapter, Binary Compatibility.
15994 2002-09-03  Neil Booth  <neil@daikokuya.co.uk>
15996         Debian BTS Bug #157416
15997         * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
15998         * cpplib.c (destringize_and_run): Kludge around getting
15999         tokens from in-progress macros.
16000         (_cpp_do__Pragma): Simplify.
16002 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
16004         * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
16005         (CPP_CPU_SPEC): Remove.
16006         (TARGET_CPU_CPP_BUILTINS): New.
16007         * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
16008         (CPP_SPEC): Remove.
16009         (TARGET_OS_CPP_BUILTINS): New.
16010         * config/ia64/linux.h (CPP_PREDEFINES): Remove.
16011         (TARGET_OS_CPP_BUILTINS): New.
16012         * config/ia64/aix.h (CPP_SPEC): Move some stuff to
16013         TARGET_OS_CPP_BUILTINS.
16014         (CPP_PREDEFINES): Remove.
16015         (CPLUSPLUS_CPP_SPEC): Remove.
16016         (TARGET_OS_CPP_BUILTINS): New.
16018 2002-09-03  Richard Henderson  <rth@redhat.com>
16020         * Makefile.in (USER_H): Add ginclude/float.h.
16021         (FLOAT_H): Remove.
16022         (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
16023         (mostlyclean): Don't remove float.h intermediate files.
16024         (distclean): Don't remove float.h.
16025         * config.gcc: Remove all float_format references.
16026         * configure.in (float_format, float_h_file): Remove.
16028         * c-common.c: Include tree-inline.h.
16029         (builtin_define_with_int_value): New.
16030         (builtin_define_type_precision): Use it.
16031         (builtin_define_float_constants): New.
16032         (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
16033         __FLT_EVAL_METHOD__.
16034         * defaults.h (TARGET_FLT_EVAL_METHOD): New.
16035         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
16036         * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
16037         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
16038         (TARGET_FLT_EVAL_METHOD): New.
16040         * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
16041         config/float-i386.h, config/float-i64.h, config/float-m68k.h,
16042         config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
16043         * ginclude/float.h: New.
16045 2002-09-03  Stan Shebs  <shebs@apple.com>
16047         * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
16048         (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
16049         (PREFERRED_DEBUGGING_TYPE): Ditto.
16050         (ASM_OUTPUT_IDENT): Remove empty definition.
16052 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
16054         * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
16055         cxx_target.
16056         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
16057         handling routine for builtin pragma.
16058         * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
16059         Registered pragma handling routine.
16060         * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
16061         (ia64_hpux_add_pragma_builtin) New subroutine used by above.
16062         If builtin pragma seen for math routine and C89 conformance is
16063         requested use different math function in order to set errno.
16064         * t-ia64 (ia64-c.o): Add new rule for new file.
16066 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
16068         * config/s390/s390.md ("movti"): Add Q->Q alternative.
16069         ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
16070         "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
16072         ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
16073         "*movsf_ss"): Remove.
16075 2002-09-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16077         * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
16078         Delete macros.
16080 2002-09-03   Arati Dikey  <aratid@kpit.com>
16082         * h8300.c (asm_file_start): Corrected optimization comment.
16084 2002-09-03  Stan Shebs  <shebs@apple.com>
16086         * c-lang.c (recognize_objc_keyword): Remove, no longer used.
16087         * c-tree.h (recognize_objc_keyword): Remove decl.
16088         * c-typeck.c (comp_target_types): Update a comment.
16090 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
16092         * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
16093         and register validity checks.
16094         (general_s_operand): Adapt to s390_decompose_address interface change.
16095         (q_constraint): Likewise.
16096         (s390_expand_plus_operand): Likewise.
16097         (legitimiate_address_p): Likewise.
16098         (legitimate_la_operand_p): Likewise.
16099         (legitimize_la_operand): Likewise.
16100         (print_operand_address): Likewise.
16101         (print_operand): Likewise.
16103 Tue Sep  3 11:32:14 2002  Nicola Pero  <n.pero@mi.flashnet.it>
16105         PR objc/5956:
16106         * objc/objc-act.c (build_typed_selector_reference): Fix typo which
16107         was causing the new selector never to match the existing ones
16108         (Patch by Alexander Malmberg <alexander@malmberg.org>).
16110 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
16112         * config/i386/i386.md ("femms"): Add "memory" attr "none".
16114 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
16116         * expr.c (expand_expr): Remove extraneous comment and code.
16118 2002-09-02  Nathan Sidwell  <nathan@codesourcery.com>
16120         * stor-layout (finish_builtin_struct): Renamed and moved from c++
16121         frontend. Take chain of fields. Allow NULL alignment type.
16122         * tree.h (finish_builtin_struct): Declare.
16124 2002-09-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16126         * config/alpha/alpha.c config/alpha/alpha.h config/alpha/alpha.md
16127         config/alpha/elf.h config/alpha/unicosmk.h config/alpha/vms.h
16128         config/arc/arc.c config/arc/arc.h config/arm/aout.h
16129         config/arm/arm.c config/arm/arm.h config/arm/arm.md
16130         config/avr/avr.h config/d30v/d30v.h config/dbxcoff.h
16131         config/dbxelf.h config/elfos.h config/fr30/fr30.h config/frv/frv.h
16132         config/i386/i386.c config/i386/i386.md config/i386/sco5.h
16133         config/ia64/ia64.h config/ip2k/ip2k.h config/m68hc11/m68hc11.md
16134         config/m68k/hp320.h config/m68k/m68k.c config/m68k/m68k.md
16135         config/m68k/mot3300.h config/m68k/sgs.h config/m68k/tower-as.h
16136         config/m88k/m88k.c config/m88k/m88k.h config/mcore/mcore-pe.h
16137         config/mcore/mcore.c config/mips/mips.c config/mips/mips.h
16138         config/ns32k/ns32k.md config/pa/pa-linux.h config/pa/pa.c
16139         config/pa/pa.h config/pa/pa.md config/romp/romp.h
16140         config/rs6000/linux64.h config/rs6000/lynx.h
16141         config/rs6000/rs6000.c config/rs6000/sysv4.h config/rs6000/xcoff.h
16142         config/s390/s390.c config/s390/s390.md config/sh/sh.c
16143         config/sparc/sparc.c config/sparc/sysv4.h
16144         config/stormy16/stormy16.h dbxout.c defaults.h dwarf2out.c
16145         dwarfout.c except.c final.c varasm.c vmsdbgout.c: Replace
16146         ASM_OUTPUT_INTERNAL_LABEL macro with a call to the target hook.
16148         * doc/tm.texi: Update docs.
16149         * default.h (ASM_OUTPUT_INTERNAL_LABEL): Don't define.
16150         * system.h (ASM_OUTPUT_INTERNAL_LABEL): Poison.
16152 2002-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16154         * Makefile.in (sdbout.o, insn-output.o): Depend on $(TARGET_H).
16155         * arc.c (arc_internal_label): New function.
16156         (TARGET_ASM_INTERNAL_LABEL): Set.
16157         * arc.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
16158         * arm.c (arm_internal_label): New function.
16159         (TARGET_ASM_INTERNAL_LABEL): Set.
16160         * arm.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
16161         * arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
16162         * i370.c (i370_internal_label): New function.
16163         (TARGET_ASM_INTERNAL_LABEL): Set.
16164         * i370.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
16165         * m68k/hp320.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
16166         * m68k.c (m68k_hp320_internal_label): New function.
16167         (TARGET_ASM_INTERNAL_LABEL): Set.
16168         * m88k.c (m88k_internal_label): New function.
16169         (TARGET_ASM_INTERNAL_LABEL): Set.
16170         * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
16171         * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Set to target hook.
16172         * genoutput.c (output_prologue): Include target.h in output file.
16173         * output.h (default_internal_label): Declare.
16174         * sdbout.c: Include target.h.
16175         * target-def.h (TARGET_ASM_INTERNAL_LABEL): Set and add to
16176         TARGET_ASM_OUT.
16177         * target.h (internal_label): Add to struct gcc_target.
16178         * varasm.c (default_internal_label): New function.
16180 2002-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16182         * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
16183         * avr.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16184         * c4x.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16185         * cris.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16186         * d30v.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16187         * darwin.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16188         * dsp16xx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16189         * elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16190         * h8300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16191         * i386/att.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16192         * i386/bsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16193         * i386/i386-coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16194         * i386/lynx-ng.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16195         * i386/lynx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16196         * i386/sco5.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16197         * i960/i960.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16198         * m68k/3b1.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16199         * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16200         * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16201         * m68k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16202         * m68k/mot3300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16203         * m68k/tower-as.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16204         * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16205         * mcore.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16206         * mips.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16207         * mmix-protos.h (mmix_asm_output_internal_label): Likewise.
16208         * mmix.c (mmix_asm_output_internal_label): Likewise.
16209         * mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16210         * ns32k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16211         * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16212         * pdp11.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16213         * romp.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16214         * rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16215         * sh/coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16216         * sh/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16217         * sparc/freebsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16218         * sparc/linux.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16219         * sparc/linux64.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16220         * sparc/netbsd-elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16221         * sparc/pbd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16222         * sparc/sol2.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16223         * sparc.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16224         * sparc/vxsim.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16225         * stormy16.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16226         * svr3.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16227         * vax.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16229         * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
16231 2002-08-31  Richard Henderson  <rth@redhat.com>
16233         * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
16235 2002-08-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16237         * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
16239 2002-08-30  Richard Henderson  <rth@redhat.com>
16241         PR opt/7515
16242         * c-objc-common.c: Include target.h.
16243         (c_cannot_inline_tree_fn): Don't auto-inline functions that
16244         don't bind locally.  Factor setting DECL_UNINLINABLE.
16245         * Makefile.in (c-objc-common.o): Update.
16247 2002-08-30  Janis Johnson  <janis187@us.ibm.com>
16249         * doc/install.texi (Configuration, Building): Fix a typo and
16250         some formatting directives.
16252 2002-08-30  Paul Koning <pkoning@equallogic.com>
16254         * doc/c-tree.texi (RDIV_EXPR): Fix typo.
16255         * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
16256         implemented" note.
16257         * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
16258         for alphabetic order.
16259         * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
16260         VAX_FLOAT_FORMAT.  Remove reference to HOST_FLOAT_FORMAT.
16261         (VAX_HALFWORD_ORDER): Document.
16262         (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
16263         IEEE float format.
16264         (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
16265         (ASM_OUTPUT_LABEL_REF): Fix font.
16266         (CASE_VECTOR_SHORTEN_MODE): Ditto.
16268 2002-08-30  Denis Chertykov  <denisc@overta.ru>
16270         * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
16271         stuff.
16272         (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
16273         CONST_DOUBLE constants.
16275 2002-08-30  Jason Thorpe  <thorpej@wasabisystems.com>
16277         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
16278         related defines to...
16279         (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
16280         * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
16281         as a no-op.
16283 2002-08-30  Krister Walfridsson  <cato@df.lth.se>
16285         * config/arm/arm.c (arm_asm_output_labelref): New function.
16286         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
16287         * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
16289 2002-08-29  Rodney Brown  <rbrown64@csc.com.au>
16291         * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
16292         memory exhausted" workarounds.
16294 2002-08-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
16296         * diagnostic.c (fancy_abort): Don't repeat "internal error".
16297         * toplev.c (crash_signal): Likewise.
16299 Fri Aug 30 00:33:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
16301         * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
16302         * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
16303         Extended, updated documentation.
16304         (-Wundeclared-selector): Documented.
16306 2002-08-29  Jason Thorpe  <thorpej@wasabisystems.com>
16308         * config/chorus.h: Consistently define *_DEBUGGING_INFO with
16309         the value 1.  Do not undef before defining.
16310         * config/darwin.h: Likewise.
16311         * config/dbx.h: Likewise.
16312         * config/dbxcoff.h: Likewise.
16313         * config/dbxelf.h: Likewise.
16314         * config/elfos.h: Likewise.
16315         * config/interix.h: Likewise.
16316         * config/lynx-ng.h: Likewise.
16317         * config/lynx.h: Likewise.
16318         * config/netware.h: Likewise.
16319         * config/psos.h: Likewise.
16320         * config/svr3.h: Likewise.
16321         * config/alpha/alpha.h: Likewise.
16322         * config/alpha/elf.h: Likewise.
16323         * config/alpha/vms.h: Likewise.
16324         * config/arc/arc.h: Likewise.
16325         * config/arm/aout.h: Likewise.
16326         * config/arm/coff.h: Likewise.
16327         * config/c4x/c4x.h: Likewise.
16328         * config/h8300/h8300.h: Likewise.
16329         * config/i386/cygwin.h: Likewise.
16330         * config/i386/djgpp.h: Likewise.
16331         * config/i386/gas.h: Likewise.
16332         * config/i386/gstabs.h: Likewise.
16333         * config/i386/i386-coff.h: Likewise.
16334         * config/i386/i386-interix.h: Likewise.
16335         * config/i386/sco5.h: Likewise.
16336         * config/i386/svr3dbx.h: Likewise.
16337         * config/i386/sysv3.h: Likewise.
16338         * config/i386/win32.h: Likewise.
16339         * config/i386/x86-64.h: Likewise.
16340         * config/i960/i960.h: Likewise.
16341         * config/ia64/ia64.h: Likewise.
16342         * config/ip2k/ip2k.h: Likewise.
16343         * config/m32r/m32r.h: Likewise.
16344         * config/m68k/3b1.h: Likewise.
16345         * config/m68k/3b1g.h: Likewise.
16346         * config/m68k/ccur-GAS.h: Likewise.
16347         * config/m68k/coff.h: Likewise.
16348         * config/m68k/hp2bsd.h: Likewise.
16349         * config/m68k/hp310g.h: Likewise.
16350         * config/m68k/hp320g.h: Likewise.
16351         * config/m68k/hp3bsd.h: Likewise.
16352         * config/m68k/hp3bsd44.h: Likewise.
16353         * config/m68k/linux-aout.h: Likewise.
16354         * config/m68k/m68k-aout.h: Likewise.
16355         * config/m68k/mot3300.h: Likewise.
16356         * config/m68k/netbsd.h: Likewise.
16357         * config/m68k/openbsd.h: Likewise.
16358         * config/m68k/pbb.h: Likewise.
16359         * config/m68k/plexus.h: Likewise.
16360         * config/m68k/sun2.h: Likewise.
16361         * config/m68k/sun3.h: Likewise.
16362         * config/m68k/tower-as.h: Likewise.
16363         * config/m68k/vxm68k.h: Likewise.
16364         * config/m88k/aout-dbx.h: Likewise.
16365         * config/m88k/m88k-aout.h: Likewise.
16366         * config/mcore/mcore-elf.h: Likewise.
16367         * config/mcore/mcore-pe.h: Likewise.
16368         * config/mips/elf.h: Likewise.
16369         * config/mips/elf64.h: Likewise.
16370         * config/mips/iris5gas.h: Likewise.
16371         * config/mips/iris6.h: Likewise.
16372         * config/mips/mips.h: Likewise.
16373         * config/mips/sni-gas.h: Likewise.
16374         * config/mmix/mmix.h: Likewise.
16375         * config/ns32k/netbsd.h: Likewise.
16376         * config/pa/pa64-hpux.h: Likewise.
16377         * config/romp/romp.h: Likewise.
16378         * config/rs6000/sysv4.h: Likewise.
16379         * config/rs6000/xcoff.h: Likewise.
16380         * config/sh/coff.h: Likewise.
16381         * config/sh/elf.h: Likewise.
16382         * config/sparc/linux64.h: Likewise.
16383         * config/sparc/liteelf.h: Likewise.
16384         * config/sparc/netbsd.h: Likewise.
16385         * config/sparc/openbsd.h: Likewise.
16386         * config/sparc/pbd.h: Likewise.
16387         * config/sparc/sp64-elf.h: Likewise.
16388         * config/sparc/sp86x-elf.h: Likewise.
16389         * config/sparc/sparc.h: Likewise.
16390         * config/vax/vax.h: Likewise.
16391         * config/vax/vaxv.h: Likewise.
16393 2002-08-29  "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
16395         * h8300.c (shift_alg_hi): Various tweaks to improve performance
16396         of HImode shifts.
16397         (get_shift_alg): Corresponding changes.
16399 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16401         * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
16403 2002-08-29  Richard Henderson  <rth@redhat.com>
16405         * expr.h (enum block_op_methods): New.
16406         (emit_block_move): Update prototype.
16407         * expr.c (block_move_libcall_safe_for_call_parm): New.
16408         (emit_block_move_via_loop): New.
16409         (emit_block_move): Use them.  New argument METHOD.
16410         (emit_push_insn): Always respect the given alignment.
16411         (expand_assignment): Update call to emit_block_move.
16412         (store_expr, store_field, expand_expr): Likewise.
16413         * builtins.c (expand_builtin_apply): Likewise.
16414         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
16415         * function.c (expand_function_end): Likewise.
16416         * config/sh/sh.c (sh_initialize_trampoline): Likewise.
16417         * config/sparc/sparc.c (sparc_va_arg): Likewise.
16418         * calls.c (expand_call, emit_library_call_value_1): Likewise.
16419         (save_fixed_argument_area): Use emit_block_move with
16420         BLOCK_OP_CALL_PARM instead of move_by_pieces.
16421         (restore_fixed_argument_area): Likewise.
16422         (store_one_arg): Fix alignment parameter to emit_push_insn.
16424 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16426         * install.texi (hppa64-hp-hpux11*): Document installation procedure.
16428 2002-08-29  Catherine Moore  <clm@redhat.com>
16430         * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
16431         NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
16432         (PREDICATE_CODES): Include new predicates.
16433         (RTX_COSTS): Handle UMOD and UDIV.  Tune MULT for v850e.
16434         (TARGET_SWITCHES):  Add strict-align.
16435         (TARGET_STRICT_ALIGN): New.
16436         (MASK_DEFAULT, STRICT_ALIGNMENT):  Redefine.
16437         * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
16438         Define.
16439         (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
16440         v850_muldi3.
16441         * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
16442         L_callt_save_r2_r31, L_return_r2_r31,
16443         L_save_all_interrupt): Change addi to add.
16444         (L_save_interrupt, L_return_interrupt): Rework.
16445         (__return_r31):  Correct .size directive.
16446         (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
16447         (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
16448         New routines.
16449         * config/v850/v850.c (expand_prologue): Call
16450         gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
16451         gen_callt_return_interrupt and gen_callt_save_all_interrupt.
16452         (reg_or_int9_operand): New predicate.
16453         (reg_or_const_operand): New routine.
16454         * config/v850/v850.md (return_interrupt): Changed from
16455         restore_interrupt.
16456         (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
16457         (callt_save_interrupt): Change save sequence.
16458         (callt_return_interrupt): New.
16459         (save_interrupt): Don't use runtime function for LONG_CALLS
16460         and TARGET_PROLOG_FUNCTION.
16461         (save_all_interrupt): Likewise.
16462         (mulsi3): Use new predicate.
16463         (moviscc): Disallow some combination of constants.
16464         Fix define_split for sasf insns, so that it will not generate bad
16465         code if operand0 and operand5 are the same.
16466         * config/v850/v850-protos.h: Prototype new predicates.
16468 2002-08-29  Zack Weinberg  <zack@codesourcery.com>
16470         * config/rs6000/rs6000.c (processor_target_table): Add 405f.
16471         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Likewise.
16473 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
16475         * c-common.c (builtin_define_type_precision): New function.
16476         (cb_register_builtins): Use it.  Define __WCHAR_UNSIGNED__ is
16477         wchar_t is unsigned in C++.
16478         * doc/cpp.texi (Common Predefined Macros): Document
16479         __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
16480         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
16481         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
16483 2002-08-28  Sylvain Pion <pion@cs.nyu.edu>
16485         * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
16486         section.  Mention that it is enabled by -Wall.
16487         (-Wall): Mention that there can be language-specific warnings as well.
16488         (-Wctor-dtor-privacy): Mention that it is enabled by default.
16489         (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
16491 Wed Aug 28 15:35:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
16493         * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
16494         if it is ever live.
16496         * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
16497         attribute for SHCOMPACT.
16499         * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
16500         appropriately.
16501         (FUNCTION_BOUNDARY): Specify only the minimum alignment required
16502         by the ABI.
16504         * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
16506 2002-08-28  Jason Thorpe  <thorpej@wasabisystems.com>
16508         * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
16509         "MASK_GAS|MASK_ABICALLS".
16510         * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
16511         (TARGET_DEFAULT): Remove.
16512         (MACHINE_TYPE): Undefine before defining.
16513         (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
16515 2002-08-27  Mark Mitchell  <mark@codesourcery.com>
16517         * c-common.c (warn_abi): New variable.
16518         * c-common.h (warn_abi): Likewise.
16519         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
16520         (c_common_decode_option): Handle it.
16521         * doc/invoke.texi: Document -Wabi.
16523 Tue Aug 27 23:03:52 2002  Nicola Pero  <n.pero@mi.flashnet.it>
16525         * c-common.c (warn_undeclared_selector): New variable.
16526         * c-common.h (warn_undeclared_selector): Idem.
16527         * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
16528         to on when -Wundeclared-selector is found.
16529         (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
16530         * objc/objc-act.c (build_selector_expr): If
16531         warn_undeclared_selector is set, check that the selector has
16532         already been defined, and emit a warning if not.
16534 2002-08-27  Nick Clifton  <nickc@redhat.com>
16535             Catherine Moore  <clm@redhat.com>
16536             Jim Wilson  <wilson@cygnus.com>
16538         * config.gcc: Add v850e-*-* target.
16539         Add --with-cpu= support for v850.
16540         * config/v850/lib1funcs.asm: Add v850e callt functions.
16541         * config/v850/v850.h: Add support for v850e target.
16542         * config/v850/v850.c: Add functions to support v850e target.
16543         * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
16544         * config/v850/v850.md: Add patterns for v850e instructions.
16545         * doc/invoke.texi: Document new v850e command line switches.
16547 Tue Aug 27 18:30:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
16548                           Aldy Hernandez <aldyh at redhat dot com>
16550         * doc/tm.texi: Applied numerous fixes to the automaton based
16551         scheduler descrition.
16553 Tue Aug 27 19:51:05 CEST 2002  Jan Hubicka  <jh@suse.cz>
16555         * i386.c (classify_argument): Handle variable sized objects.
16557 Tue Aug 27 19:18:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
16559         * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
16561 Tue Aug 27 18:01:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
16563         * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
16565 Tue Aug 27 18:00:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
16567         * i386.c (classify_argument): Properly compute word size of the analyzed object.
16569 Tue Aug 27 14:39:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
16571         * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
16572         mac_gp ftrc_s and cwb.  Add / Adjust definitions in individual insn
16573         accordingly.
16574         (attribute insn_class): Provide default definitions based on type.
16575         Remove all insn-specific settings.
16576         (various function units): Remove old SH4 scheduling.
16577         (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
16578         New attributes.  Set them where appropriate.
16579         (cpu unit FS): Don't define / use.
16580         (F3, load_store): New cpu units.
16581         (F01): New reservation.
16582         (all insn_reservations): Make dependent on sh4 pipeline model.
16583         Fix latencies.
16584         (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
16585         (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
16586         (mt insn_reservation): Use type mt_group.
16587         (insn_reservation load_store): Split into sh4_load, sh4_load_si,
16588         sh4_fload and sh4_store.
16589         (insn_reservation branch_zero and branch): Replace with sh4_branch.
16590         (insn_reservation branch_far): Replace with sh4_return.
16591         (insn_reservation return_from_exp): Rename to:
16592         (sh4_return_from_exp).  Change to be just d_lock*5.
16593         (insn_reservation lds_to_pr): Rename to:
16594         (sh4_lds_to_pr).  Change to be just d_lock*2.
16595         (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
16596         d_lock*2.
16597         (insn_reservation prload_mem): Rename to:
16598         (sh4_prstore_mem).  Change to d_lock*2,nothing,memory.
16599         (insn_reservation fpscr_store): Rename to:
16600         (fpscr_load).  Change to d_lock,nothing,F1*3.
16601         (insn_reservation fpscr_store_mem): Rename to:
16602         (fpscr_load_mem).  Change to d_lock,nothing,(F1+memory),F1*2.
16603         (insn_reservation multi): Change to
16604         d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
16605         (insn_reservation fp_arith): Change to issue,F01,F2.
16606         (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
16607         (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
16608         (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
16609         (insn_reservation fp_double_cmp): Change to
16610         d_lock,(d_lock+F01),F1+F2,F2.
16611         (insn_reservation dp_div): Change to
16612         issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
16613         * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
16614         (sh_adjust_cost, SHcompact): Differentiate between different
16615         kinds of dependencies.  Drop factor of ten for superscalar.
16616         Use new instruction types.  Add new exception rules.
16618         * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
16620         * sh.md (mperm_w): Add DONE.
16622 2002-08-27  David Edelsohn  <edelsohn@gnu.org>
16624         * longlong.h: Import current PowerPC defintion from GMP-4.1.
16626         * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
16628         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
16630 Tue Aug 27 13:53:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
16632         * sh.h (MAX_FIXED_MODE_SIZE): Define.
16634 2002-08-27  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
16636         * doc/cpp.texi (Common Predefined Macros): Don't mess with table
16637         delimiter.
16639 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
16641         * c-common.c (cpp_define_data_format): New function.
16642         (cb_register_builtins): Call it.
16644         * doc/cpp.texi (Common Predefined Macros): Document
16645         __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
16646         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
16647         __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
16648         __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
16649         __TARGET_USES_VAX_H_FLOAT__.
16651 2002-08-26  Ziemowit Laski <zlaski@apple.com>
16653         * objc/objc-act.c (get_super_receiver): If inside a class method
16654         of a category, cast the receiver to 'id' before accessing the 'isa'
16655         field so that <objc/objc-class.h> is not needed.  For NeXT runtime.
16657 2002-08-26  Ulrich Weigand  <uweigand@de.ibm.com>
16659         * config/s390/s390-protos.h (s390_function_prologue,
16660         s390_function_epilogue): Remove.
16661         config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
16662         TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
16664         config/s390/s390.c (s390_machine_dependent_recorg): New function.
16665         config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
16666         config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
16667         config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
16668         to being called from MACHINE_DEPENDENT_REORG.  Update regs_ever_live.
16670         config/s390/s390.c (s390_frame_info): Inline save_fprs_p.  Always
16671         assume BASE_REGISTER and RETURN_REGNUM need to be saved.
16672         (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
16673         function is not a leaf function.  Use save_gprs and restore_gprs.
16674         (s390_emit_epilogue): Likewise.
16675         (save_gprs, restore_gprs): New functions.
16676         (struct s390_frame): Remove return_reg_saved_p member.
16677         (save_fprs_p): Remove.
16678         (s390_optimize_prolog): New function.
16679         (s390_legitimate_reload_constant): Remove now unnecessary check.
16681         (s390_function_count): Remove.
16682         (s390_output_symbolic_const): Replace s390_function_count by
16683         current_function_funcdef_no.
16684         (s390_output_constant_pool): Likewise.
16686         (legitimize_pic_address): Use regs_ever_live to track PIC register
16687         instead of current_function_uses_pic_offset_table.
16688         (s390_emit_prologue): Likewise.
16689         config/s390/s390.md ("call", "call_value"): Likewise.
16691 2002-08-26  Neil Booth  <neil@daikokuya.co.uk>
16693         * c-opts.c (find_opt): Don't complain about wrong languages
16694         here.  Return exact matches even for wrong language.
16695         (c_common_decode_option): Complain about wrong languages
16696         here.
16698 2002-08-24  Stuart Hastings  <stuart@apple.com>
16700         * function.h (struct function): Add flag
16701         all_throwers_are_sibcalls.
16702         * except.c (set_nothrow_function_flags): Replaces
16703         nothrow_function_p. Set new flag.
16704         * except.h (set_nothrow_function_flags): Replaces
16705         nothrow_function_p.
16706         * dwarf2out.c (struct dw_fde_struct): Add flag
16707         all_throwers_are_sibcalls.
16708         (output_call_frame_info): Test it.
16709         (dwarf2out_begin_prologue) Propagate it from cfun to
16710         dw_fde_struct.
16711         * toplev.c (rest_of_compilation): Update calls to
16712         nothrow_function_p.
16714 2002-08-23  Zack Weinberg  <zack@codesourcery.com>
16716         * ggc-page.c (compute_inverse): Short circuit calculation for
16717         object sizes larger than half a page.
16719 2002-08-23  David Edelsohn  <edelsohn@gnu.org>
16721         * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
16722         DEFAULT_ABI == ABI_AIX like PIC.  Test PIC & reloc for readonly
16723         default.
16724         (rs6000_elf_unique_section): Likewise.
16726 2002-08-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16728         * ns32k.c (ns32k_globalize_label): Delete.
16729         * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
16731 2002-08-23  Alan Modra  <amodra@bigpond.net.au>
16733         * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
16734         for loading delta with num_insns_constant_wide.  Calculate
16735         delta_low, delta_high without using a conditional.
16737 2002-08-22  Jason Merrill  <jason@redhat.com>
16739         * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
16740         * c-common.def: Adjust.
16741         * c-dump.c (c_dump_tree): Adjust.
16742         * c-semantics.c (genrtl_return_stmt): Adjust.
16743         * c-pretty-print.c (pp_c_statement): Adjust.
16744         * tree-inline.c (copy_body_r): Adjust.
16746 2002-08-22  Zack Weinberg  <zack@codesourcery.com>
16748         * ggc-page.c: Avoid division in ggc_set_mark.
16749         (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
16750         compute_inverse): New.
16751         (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
16752         (init_ggc): Initialize inverse_table.
16754 2002-08-22  Tom Tromey  <tromey@redhat.com>
16756         * doc/install.texi (Configuration): Document --datadir.
16758 2002-08-22  Alexandre Oliva  <aoliva@redhat.com>
16760         * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
16762 2002-08-22  Hans-Peter Nilsson  <hp@bitrange.com>
16764         * gengtype-lex.l (ID): Allow underscore as first character.
16766 2002-08-21  David Edelsohn  <edelsohn@gnu.org>
16768         * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
16769         function.
16770         (rs6000_xcoff_asm_named_section): Rename.
16771         * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
16773 2002-08-21  Tom Tromey  <tromey@redhat.com>
16775         For PR java/6005 and PR java/7611:
16776         * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
16777         (fold): Likewise.
16778         * langhooks.c (lhd_can_use_bit_fields_p): New function.
16779         * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
16780         (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
16781         (LANG_HOOKS_INITIALIZER): Use it.
16782         * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
16783         field.
16785 2002-08-21  Stan Shebs  <shebs@apple.com>
16787         * tree.c (finish_vector_type): Fix a typo in a comment.
16788         * Makefile.in: Fix "the the" stutters in comments.
16789         * genautomata.c: Ditto.
16790         * ifcvt.c: Ditto.
16791         * regrename.c: Ditto.
16792         * config/alpha/alpha.c: Ditto.
16793         * config/alpha/vms-crt0-64.c: Ditto.
16794         * config/alpha/vms-crt0.c: Ditto.
16795         * config/alpha/vms-psxcrt0-64.c: Ditto.
16796         * config/alpha/vms-psxcrt0.c: Ditto.
16797         * config/d30v/d30v.h: Ditto.
16798         * config/fr30/fr30.h: Ditto.
16799         * config/rs6000/rs6000.c: Ditto.
16800         * config/stormy16/stormy16.h: Ditto.
16801         * doc/md.texi: Ditto.
16803 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16805         * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
16807 2002-08-21  Joseph S. Myers  <jsm@polyomino.org.uk>
16809         * c-decl.c (grokdeclarator): Make invalid combinations with long,
16810         short, signed or unsigned into hard errors.  Fixes PR c/4319.
16811         Also make duplicate modifiers such as "short short" into hard
16812         errors.
16814 2002-08-21  Andrew Pinski <pinskia@physics.uc.edu>
16815             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16817         * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
16818         to the actual end.  Add '@end table' and '@table @code'.
16820 2002-08-20  Geoffrey Keating  <geoffk@redhat.com>
16822         * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
16824         * unroll.c (biv_total_increment): Don't try to compute the total
16825         increment for FP BIVs.
16827 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16829         * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
16830         * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
16831         ASM_OUTPUT_ALIGNED_BSS): Use target hook.
16832         * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
16833         * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
16834         * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
16835         (GLOBAL_ASM_OP): Define.
16836         * arm.c (aof_globalize_label): New function.
16837         (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
16838         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
16839         * c4x.c (c4x_globalize_label): New function.
16840         (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
16841         * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
16842         (GLOBAL_ASM_OP): Define.
16843         * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
16844         * darwin-protos.h (darwin_globalize_label): Declare.
16845         * darwin.c (darwin_globalize_label): New function.
16846         * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
16847         (ASM_GLOBALIZE_LABEL): Delete.
16848         (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
16849         * dsp16xx.c (asm_output_common): Use target hook.
16850         * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
16851         * frv.h (ASM_GLOBALIZE_LABEL): Delete.
16852         (GLOBAL_ASM_OP): Define.
16853         * i370.c (i370_globalize_label): New function.
16854         (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
16855         * i370.h (ASM_GLOBALIZE_LABEL): Delete.
16856         * i386.c (ix86_asm_file_end): Use target hook.
16857         * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
16858         (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
16859         * ia64.c (ia64_asm_output_external): Likewise.
16860         * ia64/sysv4.h: Update comment.
16861         * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
16862         * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
16863         * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
16864         * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
16865         * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
16866         * mmix-protos.h (mmix_asm_globalize_label): Delete.
16867         * mmix.c (mmix_asm_globalize_label): Likewise.
16868         * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
16869         (GLOBAL_ASM_OP): Define.
16870         * ns32k.c (ns32k_globalize_label): New function.
16871         * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
16872         (ASM_GLOBALIZE_LABEL): Delete.
16873         * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
16874         (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
16875         * pa.c (pa_globalize_label): New function.
16876         * pa.h (ASM_GLOBALIZE_LABEL): Delete.
16877         (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
16878         * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
16879         (GLOBAL_ASM_OP): Define.
16880         (TARGET_ASM_GLOBALIZE_LABEL): Undef.
16881         * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
16882         * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
16883         (GLOBAL_ASM_OP): Define.
16884         * v850.c (v850_output_aligned_bss): Use target hook.
16885         * vax.c (vms_globalize_label): New function.
16886         (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
16887         * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
16888         (GLOBAL_ASM_OP): Define.
16889         * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
16890         * doc/tm.texi: Update docs.
16891         * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
16892         target hook.
16893         * final.c (output_alternate_entry_point): Likewise.
16894         * hooks.c (hook_FILEptr_constcharptr_void): New function.
16895         * hooks.h (hook_FILEptr_constcharptr_void): Declare.
16896         * output.h (assemble_global): Delete.
16897         (default_globalize_label): Declare.
16898         * system.h (ASM_GLOBALIZE_LABEL): Poison.
16899         * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
16900         (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
16901         * target.h (gcc_target): Add globalize_label member.
16902         * varasm.c (asm_output_bss, asm_output_aligned_bss,
16903         globalize_decl): Use target hook.
16904         (assemble_global): Delete.
16905         (default_globalize_label): New function.
16907 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16909         * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
16911 2002-08-20  Devang Patel  <dpatel@apple.com>
16912         * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
16914 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16916         * arc.c (output_shift): Use stdio instead of asm_fprintf.
16917         * arm.c (thumb_output_function_prologue): Likewise.
16918         * avr.c (print_operand): Likewise.
16919         * c4x.c (c4x_print_operand): Likewise.
16920         * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
16921         ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
16922         * cris.c (cris_target_asm_function_prologue,
16923         cris_asm_output_mi_thunk): Likewise.
16924         * h8300.c (print_operand): Likewise.
16925         * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16926         * ip2k.c (print_operand): Likewise.  Fix format specifier.
16927         * m68hc11.c (asm_print_register, print_operand,
16928         print_operand_address): Use stdio instead of asm_fprintf.
16929         (print_operand_address): Fix format specifier.
16930         * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
16931         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
16932         asm_fprintf.
16933         * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16934         * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16935         * m68k.c (m68k_output_function_prologue,
16936         m68k_output_function_epilogue, print_operand): Likewise.
16937         * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
16938         Likewise.  Fix format specifier.
16939         * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16940         * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16941         * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16943 2002-08-15  Eric Christopher  <echristo@redhat.com>
16944             Jeff Knaggs  <jknaggs@redhat.com>
16946         * config.gcc (mipsisa64sr71k-elf): New target.
16947         * config/mips/sr71k.md: New file.
16948         * config/mips/mips.md: Use it.
16949         (rot*): Add sr71k specifics.
16950         * config/mips/t-sr71k: New file.
16951         * config/mips/mips.h (sr71k): New cpu.
16952         (TARGET_SR71K): Use it.
16953         (TUNE_SR71K): Ditto.
16954         (GENERATE_BRANCHLIKELY): Ditto.
16955         (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
16956         ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
16957         * config/mips/mips.c (sr71k): New cpu.
16958         (mips_use_dfa_pipeline_interface): Use.
16960 2002-08-15  Eric Christopher  <echristo@redhat.com>
16961             Richard Sandiford <rsandifo@redhat.com>
16962             Aldy Hernandez  <aldyh@redhat.com>
16963             Graham Stott    <grahams@redhat.com>
16964             Michael Meissner  <meissner@redhat.com>
16965             Gavin Romig-Koch  <gavin@redhat.com>
16966             Ken Raeburn  <raeburn@cygnus.com>
16967             Alexandre Oliva <aoliva@redhat.com>
16969         * config.gcc (mips64vr-elf): New target.
16970         * config/mips/5400.md: New file.
16971         * config/mips/5500.md: Ditto.
16972         * config/mips/mips.md: Use them.
16973         (frsqrt): New.
16974         * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
16975         cpus.
16976         (mips_issue_rate): Use them.
16977         (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
16978         (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
16979         * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
16980         cpus.
16981         (TARGET_MIPSx): Use them.
16982         (TUNE_MIPSx): Ditto.
16983         (GETNATE_MULT3_SI): Ditto.
16984         (ISA_HAS_BRANCHLIKELY): Ditto.
16985         (ISA_HAS_CONDMOVE): Ditto.
16986         (ISA_HAS_NMADD_NMSUB): Ditto.
16987         (ISA_HAS_MULHI): New. Ditto.
16988         (ISA_HAS_MULS): Ditto.
16989         (ISA_HAS_MSAC): Ditto.
16990         (ISA_HAS_MACC): Ditto.
16991         (ISA_HAS_ROTR_SI): Ditto.
16992         (ISA_HAS_ROTR_DI): Ditto.
16993         (RTX_COSTS): Use.
16995 2002-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16997         * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
16998         at head.
16999         (remove_dup_nonsys_dirs): New function.
17000         (remove_dup_dirs): Change argument head to head_ptr.  Remove warnings.
17001         (merge_include_chains): Remove non-system include directories from
17002         quote and bracket include chains when they duplicate equivalent system
17003         directories.
17004         * doc/cpp.texi (-I): Update.
17005         * doc/cppopts.texi (-I): Update.
17006         * doc/install.texi (--with-local-prefix): Further document usage of
17007         this option.
17008         * doc/invoke.texi (-I): Update.
17010 2002-08-20  Richard Henderson  <rth@redhat.com>
17012         * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
17013         (emit_block_move): Split out subroutines.
17014         (emit_block_move_via_movstr): New.
17015         (emit_block_move_via_libcall): New.  Emit bcopy via normal call also.
17016         (emit_block_move_libcall_fn): New.  Construct function prototype for
17017         bcopy as well.
17018         (clear_storage): Split out subroutines.
17019         (clear_storage_via_clrstr): New.
17020         (clear_storage_via_libcall): New. Emit bzero as a normal call also.
17021         (clear_storage_libcall_fn): New.  Construct function prototype for
17022         bzero as well.
17023         (emit_push_insn): Use emit_block_move.
17024         (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
17025         (store_constructor): Likewise.
17027 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
17029         * objc/objc-act.c (building_objc_message_expr): Rename to
17030         current_objc_message_selector.
17032 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
17034         * objc/objc-act.c (build_ivar_chain): Remove.
17035         (objc_copy_list): Likewise.
17036         (get_class_ivars): Inline call to removed build_ivar_chain
17037         function.  Save off a clean copy of ivars in the CLASS_OWN_IVARS
17038         slot; use that slot (rather than CLASS_IVARS) when accessing
17039         ivars for base classes.  Call copy_list and chainon instead of
17040         objc_copy_list.
17041         (build_private_template): Call get_class_ivars instead of
17042         build_ivar_chain.
17043         (start_class): Allocate room for the CLASS_OWN_IVARS slot.
17044         (continue_class): Call get_class_ivars instead of
17045         build_ivar_chain.
17046         (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
17047         of DECL_BIT_FIELD (which may have been cleared).
17048         * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
17050 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17052         * genautomata.c (output_translate_vect, output_state_ainsn_table,
17053         output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
17054         in output file.
17055         (output_internal_min_issue_delay_func): Initialize variable in
17056         output file.
17058 2002-08-19  Alexandre Oliva  <aoliva@redhat.com>
17060         * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
17061         (stage2_build, stage3_build, stage4_build): Likewise, to CC.
17063 2002-08-19  Geoffrey Keating  <geoffk@redhat.com>
17064             Steve Ellcey  <sje@cup.hp.com>
17066         * machmode.h (SCALAR_INT_MODE_P): New macro to test for
17067         scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
17068         * explow.c (trunc_int_for_mode): Abort when the mode is not
17069         a scaler integer mode.
17070         * combine.c (expand_compound_operation): Don't expand Vector
17071         or Complex modes into shifts.
17072         (expand_field_assignment): Don't do bitwise arithmatic and
17073         shifts on Vector or Complex modes.
17074         (simplify_comparison): Don't call trunc_int_for_mode
17075         for VOIDmode.
17076         * recog.c (general_operand): Likewise.
17077         (immediate_operand): Likewise.
17078         (nonmemory_operand): Likewise.
17080 2002-08-19  David Edelsohn  <edelsohn@gnu.org>
17082         * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
17083         multi-instruction SImode constant.  Add REG_EQUAL note.
17084         * config/rs6000/rs6000.md (movsi splitter): Use
17085         rs6000_emit_set_const.
17087 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17089         * tree-inline.c (initialize_inlined_parameters): Wrap variable in
17090         the macro test controlling its use.
17092 2002-08-18  H.J. Lu  (hjl@gnu.org)
17094         * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
17095         crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
17096         gnu_ld=yes.
17097         (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
17098         i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
17099         s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
17100         xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
17101         here.
17102         (cris-*-linux*): Remove setting thread_file here.
17104 2002-08-18  Neil Booth  <neil@daikokuya.co.uk>
17106         PR preprocessor/7602
17107         * cppinit.c (path_include): Treat the system environment
17108         variables as being cxx_aware.
17110 2002-08-17  Joseph S. Myers  <jsm@polyomino.org.uk>
17112         * c-decl.c (flexible_array_type_p): New function.
17113         (grokdeclarator, finish_struct): Use it.
17114         * doc/extend.texi: Document constraints on use of structures with
17115         flexible array members.
17117 2002-08-17  Richard Sandiford  <rsandifo@redhat.com>
17119         * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
17120         config/mips/t-r3900 (MULTILIB_MATCHES): Define.
17121         * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
17123 2002-08-16  Stan Shebs  <shebs@apple.com>
17125         * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
17126         for ObjC with -fnext-runtime.
17127         * doc/cpp.texi: Document it.
17129 2002-08-16  Janis Johnson  <janis187@us.ibm.com>
17131         * doc/install.texi (Final installation): Replace links to individual
17132         build status pages with a link to a common page that lists them all.
17134 2002-08-16  Sylvain Pion <pion@cs.nyu.edu>
17136         * doc/invoke.texi: Fix typo.
17138 2002-08-16  David Edelsohn  <edelsohn@gnu.org>
17140         * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
17142 2002-08-16  Andrew Haley  <aph@redhat.com>
17144         * tree-inline.c: Add includes for Java inliner.
17145         (remap_decl): Don't handle anonymous types for Java.
17146         (remap_block): Add handling for Java trees.
17147         (copy_scope_stmt): Conditionalize for non-Java use only.
17148         (copy_body_r): Handle Java trees.  Add handling for
17149         LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
17150         (initialize_inlined_parameters):  Handle Java trees.
17151         (declare_return_variable): Likewise.
17152         (expand_call_inline): Handle Java trees.
17153         (walk_tree): Likewise.
17154         (copy_tree_r): Don't handle SCOPE_STMTs for Java.
17155         (add_stmt_to_compound): New function.
17157 2002-08-15  Richard Henderson  <rth@redhat.com>
17159         * Makefile.in (LOOSE_WARN): Remove -fno-common.
17160         (NOCOMMON_FLAG): New substitution point.
17161         (GCC_WARN_CFLAGS): Include it.
17162         * configure.in (ac_checking): Set nocommon_flag.
17163         (nocommon_flag): New substitution point.
17165 2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
17167         * c-tree.h (skip_evaluation): Move declaration...
17168         * c-common.h: ... here.
17169         * c-typeck.c (build_external_ref): Don't assemble_external nor
17170         mark a tree as used if skip_evaluation is set.
17171         * c-parse.in (typeof): New non-terminal to set skip_evaluation
17172         around TYPEOF.
17173         (typespec_nonreserved_nonattr): Use it.
17175 2002-08-15  Douglas B Rupp  <rupp@gnat.com>
17177         * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
17178         (xcoff_debug_hooks): Update end_prologue.
17179         * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
17180         * debug.h (end_prologue): Add file arg.
17181         (end_epilogue): Add line and file args.
17182         (dwarf2out_end_epilogue): Add line and file args.
17183         (vmsdbgout_after_prologue): Remove.
17184         * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
17185         (dwarf2_debug_hooks): Update end_prologue.
17186         * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
17187         (dwarfout_end_prologue): Add file arg.
17188         * final.c (vmsdbgout_after_prologue): Remove
17189         (final_end_function): Update end_epilogue call.
17190         (final_scan_insn): Update end_prologue call.
17191         * sdbout.c (sdbout_end_epilogue): Add line and file args.
17192         (sdbout_end_prologue): Add file arg.
17193         (sdb_debug_hooks): Update end_prologue.
17194         (sdb_begin_prologue): Update sdbout_end_prologue call.
17195         * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
17196         vmsdbgout_end_function.
17197         (vmsdbgout_end_prologue): New function renamed from
17198         vmsdbgout_after_prologue. Call vmsdbgout_source_line.
17199         (vmsdbgout_end_function): New function.
17200         (vmsdbgout_end_epilogue): Add line and file args. Call
17201         vmsdbgout_source_line.
17202         (write_pclines): Write only valid line numbers.
17203         (write_srccorr): Don't write source correlation records if 0 lines.
17204         * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
17206 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
17208         * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
17209         (_Unwind_Internal_Ptr): 32 bit version for use in
17210         read_encoded_value_with_base.
17211         * gcc/unwind-pe.h (read_encoded_value_with_base): Use
17212         _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
17213         right size.
17215 2002-08-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17217         * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
17218         signed/unsigned warnings.
17220         * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
17221         record_reg_classes): Likewise.
17223         * reload.c (reload_inner_reg_of_subreg, push_reload,
17224         find_reloads_address_1): Likewise.
17226 2002-08-15  David Edelsohn  <edelsohn@gnu.org>
17228         * rs6000.c (output_mi_thunk): Return to function section on
17229         TARGET_ELF.
17231         * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
17233 2002-08-15  Ulrich Weigand  <uweigand@de.ibm.com>
17235         * config/s390/s390.c (legitimize_address): Optimize loading
17236         of large displacements.
17238 2002-08-14  Douglas B Rupp  <rupp@gnat.com>
17240         * config/alpha/alpha-protos.h: Update.
17242         * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
17243         (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
17244         (alpha_linkage_symbol_p): New static function.
17245         (print_operand_address): Print linkage operand.
17247         (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
17248         variables.
17249         (reloc_kind): New enum.
17250         (struct alpha_funcs): New struct.
17251         (struct alpha_links): Add reloc_kind field. Rename links_kind field.
17253         (alpha_need_linkage): Rewrite.
17254         (alpha_use_linkage): New global function.
17255         (alpha_write_linkage): Rewrite and make static.
17256         (alpha_write_one_linkage): Rewrite
17258         (alpha_start_function): Remove procedure descriptor output.
17259         (alpha_end_function): Write linkages at end of each function.
17261         * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
17262         (call_vms_1, call_value_vms_1): Rewrite.
17264         * config/alpha/vms.h (ASM_FILE_END): Remove.
17266 2002-08-14  Richard Henderson  <rth@redhat.com>
17268         * ggc-page.c (RTL_SIZE): New.
17269         (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
17270         * rtl.def (BARRIER, NOTE): Pad to 9 slots.
17272 2002-08-14  Richard Henderson  <rth@redhat.com>
17274         * calls.c: Include target.h.
17275         * Makefile.in (calls.o): Update.
17277         * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
17278         * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
17280 2002-08-14  Richard Henderson  <rth@redhat.com>
17282         * Makefile.in (LOOSE_WARN): Add -fno-common.
17283         * c-common.h (constant_string_class_name): Add missing extern.
17285 2002-08-15  Neil Booth  <neil@daikokuya.co.uk>
17287         PR preprocessor/7358
17288         * c-opts.c (check_deps_environment_vars): Ignore main file
17289         for SUNPRO_DEPENDENCIES.
17290         * cppfiles.c (stack_include_file): Ignore main file if
17291         appropriate.
17292         * cpplib.h (struct cpp_options): New member in deps.
17293         * doc/cppenv.texi: Update.
17295 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
17297         PR preprocessor/7526
17298         * cpplib.c (run_directive): Kludge so _Pragma dependency works.
17300 2002-08-14  Nathan Sidwell  <nathan@codesourcery.com>
17302         * doc/invoke.texi (-a): Remove documentation.
17303         (-fprofile-arcs): Remove reference to -a, -ax options.
17304         * doc/gcov.texi (Gcov Data Files): Data might be merged.
17306 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
17308         Fix PR/7566
17309         * c-semantics.c (genrtl_case_label): Don't (mis)use
17310         warning_with_decl.
17312 2002-08-14  Dale Johannesen  <dalej@apple.com>
17314         * explow.c (emit_stack_restore):  Emit memory clobbers
17315         preceding the stack pop, to prevent the scheduler from
17316         moving refs to variable arrays below this pop.
17317         * reload1.c (reload):  Preserve these clobbers for sched2.
17318         * doc/rtl.texi:  Document clobber (mem:BLK (scratch)).
17320 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
17322         * c-opts.c (c_common_post_options): Correct test.
17324 2002-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17326         * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
17327         order in call to fprintf.
17329 2002-08-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17331         * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
17333 2002-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
17335         * reload.c (find_reloads): Handle constraint letters marked by
17336         EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
17337         (alternative_allows_memconst): Likewise.
17338         * reload1.c (maybe_fix_stack_asms): Likewise.
17339         * recog.c (asm_operand_ok, preprocess_constraints,
17340         constrain_operands): Likewise.
17341         * regclass.c (record_operand_costs, record_reg_classes): Likewise.
17342         * local-alloc.c (block_alloc, requires_inout): Likewise.
17343         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
17345         * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
17346         (EXTRA_ADDRESS_CONSTRAINT): Likewise.
17347         * doc/tm.texi: Document these two new target macros.
17349         * config/s390/s390.c (s390_expand_plus_operand): Accept already
17350         valid operands.
17351         (q_constraint): New function.
17352         config/s390/s390-protos.h (q_constraint): Declare it.
17353         config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
17354         (EXTRA_MEMORY_CONSTRAINT): New macro.
17356         * config/s390/s390.md: Throughout the machine description,
17357         replace all instances of the constraint combinations 'Qo'
17358         or 'oQ' with simply 'Q'.
17360 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
17362         * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
17363         * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
17364         (LIBGCC2_CFLAGS): Compile with -mrelax.
17366 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
17368         * doc/invoke.texi: Document -minmax for 68HC12.
17370         * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
17371         ("uminqi3"): Likewise.
17372         ("uminhi3", "umaxhi3"): Likewise.
17374         * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
17375         (TARGET_MIN_MAX): Define.
17376         (TARGET_SWITCHES): New option -minmax/-mnominmax.
17378 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
17380         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
17381         (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
17383         * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
17384         (ret, declare, farsym): New gas macros.
17385         (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
17386         ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
17387         and declare the symbol far when compiled with -mlong-calls.
17388         (__far_trampoline): New for 68HC12 trampoline code to invoke a
17389         far handler using jsr/bsr.
17391         * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
17392         (jsr): New macro to transform a 'jsr' into a 'call'.
17394 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
17396         * doc/invoke.texi: Document -mlong-calls for 68HC12.
17398         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
17399         -mlong-calls is specified.
17400         (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
17401         assembler directives.
17402         (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
17403         (TARGET_SWITCHES): Add -mlong-calls options.
17404         (current_function_far): Declare.
17406         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
17407         into account the page register saved on the stack.
17408         (m68hc11_override_options): Take into account -mlong-calls option.
17409         (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
17411         * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
17412         if the function is going to be in 68HC12 banked memory (-mlong-calls).
17413         ("*return_16bit"): Likewise.
17414         ("*return_void"): Likewise.
17415         ("call", "call_value"): Use call for a far function call.
17417 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
17419         * toplev.c (parse_options_and_default_flags): Don't call
17420         post_options here.
17421         (general_init): Initialize GC, pools and tree hash here,
17422         instead of lang_independent_init.
17423         (lang_independent_init): Rename backend_init.
17424         (do_compile): Call post_options hook; exit early if there
17425         have been errors after switch processing.
17426         (toplev_main): Update.
17428 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
17430         * c-pretty-print.h: Guard against multiple inclusion.
17431         Robustify macros.
17432         (pp_c_attributes): Declare.
17433         * c-pretty-print.c (pp_c_attributes): New function.
17435 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17437         * m68k.c (m68k_output_function_prologue,
17438         m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
17439         and NEWS/MOTOROLA.
17440         * genattrtab.c: Remove dpx2 comment.
17441         * libgcc2.c (__enable_execute_stack): Delete versions for
17442         NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
17443         sony_news/SYSTYPE_BSD.
17444         * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
17445         __gmicro__, __i860__, __NeXT__ and __pyr__.
17446         * rtl.h: Remove convex comment.
17447         * varasm.c: Likewise.
17449 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17451         * c-opts.c (lang_flags): Const-ify.
17452         * ra-build.c (undef_table): Likewise.
17453         * ra.c (eliminables): Likewise.
17455 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
17457         * tree.h: Guard against multiple inclusion.
17459 2002-08-14  Hans-Peter Nilsson  <hp@bitrange.com>
17461         * reload1.c (reload_cse_simplify): Before checking
17462         REG_FUNCTION_VALUE_P, check REG_P.
17464 2002-08-13  Geoffrey Keating  <geoffk@redhat.com>
17466         * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
17468 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
17470         * c-opts.c (c_common_init_options): Extra braces needed.
17472 Tue Aug 13 17:40:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
17474         * sh.c (sh_init_builtins): Add PARAMS to declaration.
17475         (sh_media_init_builtins, sh_expand_builtin): Likewise.
17476         (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
17477         (sh_expand_binop_v2sf): Likewise.
17478         * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
17479         (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
17480         (sh_initialize_trampoline): Likewise.
17482 2002-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
17484         * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
17485         new condition code modes.
17486         s390.c (s390_match_ccmode_set): Handle those new CC modes.
17487         (s390_select_ccmode): Likewise.
17488         (s390_branch_condition_mask): Likewise.
17490         * s390-protos.h (s390_tm_ccmode): Declare.
17491         s390.c (s390_tm_ccmode): New function.
17492         (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
17494         * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
17495         ("*cmpsi_tm2"): Rename to "*tmsi_ext".
17496         ("*cmpqi_tm2"): Rename to "*tmqi_ext".
17498         ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
17499         "*cmphi_tm_sub","*cmphi_cct_0",  "*cmpqi_tm", "*cmpqi_tm_sub",
17500         "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
17501         ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
17502         "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
17504         ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
17505         "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
17506         "*cmpqi_ccs_0"): Remove, replace by ...
17507         ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
17508         "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
17509         "*tstqi", "*tstqi_cconly"): ... these new patterns.
17511         ("*cmpsidi_ccs"): Remove, replace by ...
17512         ("*cmpsi_ccs_sign"): ... this new pattern.
17513         ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
17515         ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
17516         ("*cli"): ... this new pattern.
17518         ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
17519         "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
17520         New patterns.
17521         ("adddi3_64"): Rename to "*adddi3_64".
17522         ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
17523         ("adddi3"): Adapt expander.
17525         ("*addsi3_cc"): Allow "general_operand" for operand 2.
17526         ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
17527         "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
17529         ("addhi3", "addqi3"): Remove, replace by ...
17530         ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
17532         ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
17533         "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
17534         ("subdi3"): Replace by insn and splitter "*subdi3_31".
17535         ("subdi3"): New expander.
17537         ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
17539         ("subhi3", "subqi3"): Remove, replace by ...
17540         ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
17542         ("*muldi3_sign"): New pattern.
17543         ("muldi3"): Do not clobber CC.
17544         ("mulsi3"): Likewise.
17545         ("mulsi_6432"): Likewise.
17547 2002-08-13  Denis Chertykov  <denisc@overta.ru>
17549         * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
17550         which can change CC0.
17552 Tue Aug 13 14:49:20 2002  J"orn Rennecke <joern.rennecke@superh.com>
17554         * gcse.c (adjust_libcall_notes): New function.
17555         (do_local_cprop): Use it.  Add fourth parameter.  Changed caller.
17557 2002-08-13  Nathan Sidwell  <nathan@codesourcery.com>
17559         * libgcc2.c (L_bb): Remove unneeded #includes.
17560         (__global_counters, __gthreads_active): Remove unused globals.
17561         (__bb_exit_func): Merge counts into files rather than appending.
17562         * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
17563         (ALL_CFLAGS): ... to here.
17565 2002-08-13  Denis Chertykov  <denisc@overta.ru>
17567         * config/ip2k/ip2k.c (commands_in_file): Variable removed.
17568         (function_epilogue): Don't calculate function size.
17569         (ip2k_set_compare): Don't use lookup_const_double.
17570         (asm_file_start): Initialization of commands_in_file removed.
17571         (asm_file_end): Output of commands_in_file removed.
17573         * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
17574         __INT_MAX__.
17576 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
17578         * c-opts.c (c_common_init_options): Check option array is
17579         sorted if checking enabled.
17581 2002-08-13  Gabriel Dos Reis  <gdr@nerim.net>
17583         * c-pretty-print.c: #include "c-tree.h".
17584         (pp_c_simple_type_specifier): Tweak.
17585         (pp_c_storage_class_specifier): New.
17586         (pp_c_function_specifier): Likewise.
17587         (pp_c_declaration_specifiers): Likewise.
17588         (pp_c_init_declarator): Likewise.
17589         (pp_c_declaration): Likewise.
17590         (pp_c_direct_declarator): Stub.
17591         (pp_c_declarator): Likewise.
17592         (pp_c_parameter_declaration): Likewise.
17594 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
17596         * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
17597         handle_deferred_opts, sanitize_cpp_opts, defer_opt,
17598         struct deferred_opt): New.
17599         (COMMAND_LINE_OPTIONS): Add -M*.
17600         (missing_arg): Update.
17601         (c_common_decode_option): Handle -M*.
17602         (c_common_post_options): Handle -M*.  Use sanitize_cpp_opts;
17603         don't call cpp_post_options.
17604         (c_common_finish, check_deps_environment_vars): Update.
17605         * cppfiles.c (stack_include_file, handle_missing_header): Update.
17606         * cpphash.h (CPP_PRINT_DEPS): Remove.
17607         * cppinit.c: Don't include version.h.
17608         (cpp_create_reader): Don't call deps_init.  Initialize
17609         warn_long_long.
17610         (cpp_read_main_file): Init deps if necessary.
17611         (cpp_destroy): Conditionally free deps.
17612         (cpp_finish): Update.
17613         (no_tgt): Remove.
17614         (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
17615         (cpp_post_options): Rename post_options.
17616         * cpplib.h (struct cpp_options): Remove some dependency options;
17617         move others to a new structure.
17618         (cpp_post_options): Remove.
17619         (cpp_finish): Comment.
17620         * fix-header.c (read_scan_file): Don't call cpp_post_options.
17622 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
17624         * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
17625         ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
17626         MMIX_rR_REGNUM as clobbered.
17627         * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
17629 2002-08-12  Gabriel Dos Reis  <gdr@nerim.net>
17631         * diagnostic.h (output_formatted_scalar): Rename from
17632         output_formatted_integer.
17633         * diagnostic.def: Add DK_DEBUG.
17634         * diagnostic.c (output_decimal): Adjust.
17635         (output_long_decimal): Likewise.
17636         (output_unsigned_decimal): Likewise.
17637         (output_octal): Likewise.
17638         (output_long_octal): Likewise.
17639         (output_hexadecimal): Likewise.
17640         (output_long_hexadecimal): Likewise.
17641         * c-pretty-print.c (pp_c_type_specifier): New function.
17642         (pp_c_specifier_qualifier_list): Likewise.
17643         (pp_c_abstract_declarator): Likewise.
17644         (pp_c_char): Replace pp_format_integer with pp_format_scalar.
17646 2002-08-12  David Edelsohn  <edelsohn@gnu.org>
17648         * doc/trouble.texi (Disappointments): Add static constructor and
17649         destructor dependency information for AIX.
17651 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
17653         * cpphash.h (struct printer): New from cppmain.c.
17654         (cpp_reader): New member.
17655         * cppmain.c (struct printer): Move to cpphash.h.
17656         (options, print): Remove.
17657         (account_for_newlines, print_line, maybe_print_line,
17658         cpp_preprocess_file, setup_callbacks, scan_translation_unit,
17659         scan_translation_unit_trad, cb_line_change, cb_ident,
17660         cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
17661         cb_def_pragma): Make reentrant.
17663 2002-08-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17665         * real.c (ieee_64): Always define.
17666         (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
17667         (dec_h): Not used yet, hide it.
17668         (emdnorm): Mark parameter in ATTRIBUTE_UNUSED.  Guard label with
17669         macro controlling use.
17670         (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
17672 Mon Aug 12 12:48:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
17674         * i386.md (tablejump): Sign extend the operand.
17675         * i386.c (classify_argument): Fix missed case from previous patch.
17677 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
17679         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
17680         to c-copts.c.
17681         (warn_multichar): Die.
17682         (cb_register_builtins): Export.
17683         * c-common.h (warn_multichar, preprocess_file): Remove.
17684         (cb_register_builtins): New.
17685         * c-lang.c (c_init): Remove.
17686         (LANG_HOOKS_INIT): Use c_objc_common_init.
17687         * c-lex.c (init_c_lex): Don't canonicalize filename.
17688         * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
17689         (preprocess_file): Make static.  Update for cpplib.
17690         (c_common_decode_option): Remove warn_multichar.  Use in_fname.
17691         (c_common_post_options): Set some cpp options here.
17692         (c_common_init): Move from c-common.c.
17693         * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
17694         * cpplib.h (struct cpp_options): Remove in_fname.
17695         (cpp_preprocess_file): Update.
17696         * cppmain.c (cpp_preprocess_file): Update for new prototypes.
17698 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17700         * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
17702 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17704         * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
17705         backslash in comment preceeding macro definition.
17706         * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
17707         * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
17708         * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
17710 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
17712         * expr.c (store_expr): In condition for checking if value is
17713         generated in TARGET, move call to expr_size last.
17715 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
17717         * c-common.c (c_common_init): Call preprocess_file instead.
17718         (c_common_finish): Move to c-opts.c.
17719         * c-common.h (preprocess_file): new.
17720         * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
17721         check_deps_environment_vars, c_common_finish): New.
17722         (c_common_decode_option): Update for out_fname and dependencies.
17723         * cppinit.c (init_dependency_output, output_deps): Remove.
17724         (cpp_destroy): Update prototype.
17725         (cpp_add_dependency_target): New.
17726         (cpp_read_main_file): Don't overlay a buffer.
17727         (cpp_finish): Take a deps output stream and write deps to it.
17728         Return the error count.
17729         (cpp_post_options): Don't canonicalize out_fname, or do anything
17730         with dependencies.
17731         * cpplib.h (struct cpp_options): Remove out_fname and
17732         preprocess_only.
17733         (cpp_add_dependency_target): New.
17734         (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
17735         * cppmain.c (cpp_preprocess_file): Update prototype.  Don't
17736         set preprocess_only.  Don't handle the output stream directly.
17738 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17740         * dsp16xx.c (print_operand): Fix format specifier.
17741         * dsp16xx.md: Avoid automatic aggregate initialization.
17742         * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
17743         * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
17744         integer constant modifier.
17745         * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
17746         * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
17747         guards.
17748         * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
17749         * v850.c (v850_select_section): Mark parameter with
17750         ATTRIBUTE_UNUSED.
17751         * global.c (global_alloc): Const-ify.
17752         * ra-colorize.c (hardregset_to_string): Fix format specifier.
17754 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17756         * darwin-c.c (darwin_pragma_options): Const-ify.
17757         * darwin.c (machopic_non_lazy_ptr_name,
17758         machopic_validate_stub_or_non_lazy_ptr): Likewise.
17759         (machopic_indirect_data_reference): Wrap variables in macros
17760         controlling their use.
17761         (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
17762         (machopic_select_section): Use parentheses around && within ||.
17763         * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
17765 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17767         * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
17768         mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
17769         ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
17770         ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
17771         mdr_try_remove_redundant_insns, track_w_reload,
17772         mdr_try_wreg_elim): Make function static to match prototype.
17773         * mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
17774         parameter with ATTRIBUTE_UNUSED.
17776 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17778         * arc.c (arc_init): Don't use ISO C style function definitions.
17779         * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
17780         arm_get_strip_length, arm_strip_name_encoding): Likewise.
17781         * avr.h (progmem_section): Likewise.
17782         * h8300.c h8300_asm_insn_count): Likewise.
17783         * m32r.c (init_idents): Likewise.
17784         * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
17785         * sh.c (sh_cfun_interrupt_handler_p): Likewise.
17786         * xtensa.c (xtensa_build_va_list): Likewise.
17788 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
17790         * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
17791         * c-opts.c (parse_option): Rename find_opt.
17792         (set_std_c99): New function.
17793         (COMMAND_LINE_OPTIONS): Handle -remap and -o.  Remove OPT_std_bad.
17794         (missing_arg): Remove OPT_std_bad.  Handle -o.
17795         (c_common_decode_option): Handle input and output file names,
17796         -o and -remap.  Clean up -std= handling.
17797         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
17798         (cpp_handle_option): Similarly.  Don't handle filenames.
17800 Sun Aug 11 14:43:17 CEST 2002  Jan Hubicka  <jh@suse.cz>
17802         * i386.c (classify_argument): Fix computing of field's offsets.
17804 2002-08-11  Andreas Jaeger  <aj@suse.de>
17806         PR target/7531:
17807         * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
17809 2002-08-10  Ziemowit Laski  <zlaski@apple.com>
17811         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
17812         reference to clk_objective_c with flag_objc.
17813         * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
17814         Likewise.
17815         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
17817 2002-08-10  Neil Booth  <neil@daikokuya.co.uk>
17819         * c-opts.c (set_std_cxx98, set_std_c89): New.
17820         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
17821         (c_common_decode_option): Handle new switches from cppinit.c.
17822         Add -std=gnu++98.
17823         * cppinit.c (set_lang): Rename cpp_set_lang.  Export.
17824         (no_arg, no_num): Remove.
17825         (COMMAND_LINE_OPTIONS): Move more to c-opts.c.  Drop all lang-
17826         switches apart from -lang-objc and lang-asm.
17827         (cpp_handle_option): Similarly.
17828         * cpplib.h (cpp_set_lang): New.
17829         * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
17830         -std=gnu++98.
17831         * objc/lang-specs.h: Remove -ansi.
17833 Sat Aug 10 19:59:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
17834                                Graham Stott
17836         * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
17837         errors.
17839 2002-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17841         * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
17842         emit_jump_insn): Fix uninitialized variable.
17843         * gcov.c (init_line_info): Likewise.
17844         * genautomata.c (transform_3): Add braces around ambiguous
17845         else.
17846         * ifcvt.c (cond_exec_process_insns): Mark parameter with
17847         ATTRIBUTE_UNUSED.
17848         * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
17849         * regrename.c (copyprop_hardreg_forward): Fix uninitialized
17850         variable.
17852         * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
17853         warnings in output files.
17855 2002-08-09  Ziemowit Laski  <zlaski@apple.com>
17857         * c-common.c (flag_objc): New.
17858         * c-common.h (c_language_kind): Get rid of clk_objective_c
17859         enum value.
17860         (flag_objc): New extern declaration.
17861         * c-decl.c (implicitly_declare): Call objc_check_decl
17862         instead of maybe_objc_check_decl.
17863         (finish_decl): Likewise.
17864         (grokfield): Likewise.
17865         (finish_struct): Likewise.
17866         * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
17867         (maybe_objc_comptypes): Rename to objc_comptypes.
17868         (maybe_building_objc_message_expr): Rename to
17869         objc_message_selector.
17870         * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
17871         replace with flag_objc as needed.
17872         * c-opts.c (c_common_init_options): Likewise.
17873         (c_common_decode_option): Likewise.
17874         * c-parse.in (init_reswords): Likewise.
17875         * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
17876         (maybe_objc_comptypes): Rename to objc_comptypes.
17877         (maybe_building_objc_message_expr): Rename to
17878         objc_message_selector.
17879         * c-typeck.c (comptypes): Call objc_comptypes instead of
17880         maybe_objc_comptypes, and/or objc_message_selector instead of
17881         maybe_building_objc_message_expr.
17882         (comp_target_types): Likewise.
17883         (convert_for_assignment): Likewise.
17884         (warn_for_assignment): Likewise.
17885         * cppinit.c (init_builtins): Set __OBJC__ manifest constant
17886         independently of those for other languages.
17887         * objc/objc-act.c (maybe_objc_comptypes): Delete.
17888         (maybe_objc_check_decl): Delete.
17889         (maybe_building_objc_message_expr): Rename to
17890         objc_message_selector.
17891         * objc/objc-lang.c (objc_init_options): Use clk_c instead of
17892         clk_objective_c; set flag_objc flag.
17894 2002-08-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
17896         * ifcvt.c (find_if_case_2): Test correct basic block for size.
17898 2002-08-09  Dale Johannesen  <dalej@apple.com>
17900         * config/rs6000/rs6000.md: Add sibcall patterns.
17901         * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL):  Define.
17902         * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
17903         Rewritten to handle sibcalls.
17904         * config/rs6000/rs6000.c (function_ok_for_sibcall):  New.
17905         * config/rs6000/rs6000-protos.h (function_ok_for_sibcall):  New.
17907 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
17909         * profile.c (da_file_name): New static var.
17910         (init_branch_prob): Initialize it.
17911         (end_branch_prob): Remove da file.
17913         * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
17914         * configure.in (coverage_flags): Default to nothing.
17915         * configure: Rebuilt.
17917 2002-08-09  Neil Booth  <neil@daikokuya.co.uk>
17919         * Makefile.in (c-opts.o): Update
17920         * c-opts.c: Include intl.h.
17921         (print_help): Move from cppinit.c.  Remove unused options.
17922         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
17923         (missing_arg): Complain for switches without an argument.
17924         (c_common_decode_option): Reject missing joined arguments.
17925         Handle new switches from cppinit.c.
17926         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
17927         (cpp_handle_option): Similarly.
17928         (print_help): Moved to c-opts.c.
17929         * cpplib.h (struct cpp_options): Remove help_only.
17930         * gcc.c (cpp_unique_options): Remove -$.
17931         * doc/cppopts.texi: Undocument -h.
17933 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
17935         * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
17936         legitimate constant.
17937         (legitimate_pic_operand_p): Neither pic operand.
17938         (legitimate_address_p): But legitimate address.
17939         (get_thread_pointer): Generate MEM/u instead of CONST around
17940         UNSPEC_TP.
17941         (print_operand): Remove printing of UNSPEC_TP.
17942         (print_operand_address): And print it here.
17944 2002-08-08  Devang Patel  <dpatel@apple.com>
17946         * objc/objc-act.c (build_selector_translation_table): Issue warning,
17947         when  -Wselector is used,if method for which selector is being
17948         created does not exist.
17950 2002-08-08  Stephen Clarke <stephen.clarke@superh.com>
17952         * config/sh/sh.c (prepare_move_operands): Only call
17953         target_reg_operand if TARGET_SHMEDIA.
17955 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
17957         * config/rs6000/rs6000.h, config/rs6000/aix.h,
17958         config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
17959         two patches.
17960         * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
17962 2002-08-08  Lars Brinkhoff  <lars@nocrew.org>
17963             Richard Henderson  <rth@redhat.com>
17965         * emit-rtl.c (gen_rtx_REG): After reload, only return
17966         frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
17968 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
17970         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
17971         * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
17972         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
17973         macro.
17975 2002-08-08  Adam Nemet  <anemet@lnxw.com>
17977         * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
17978         register.
17979         (thumb_expand_prologue): Likewise.
17980         (thumb_output_function_prologue): Likewise.
17981         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
17982         the additional push of the PIC register.
17984 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
17986         * configure.in (enable_coverage): New enable switch.
17987         * configure: Rebuilt.
17988         * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
17989         (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
17990         (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
17991         (mostlyclean): Remove coverage files.
17992         * doc/install.texi: Document enable_coverage.
17994         * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
17995         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
17996         * f/Make-lang.in (f.mostlyclean): Remove coverage files.
17997         * java/Make-lang.in (java.mostlyclean): Remove coverage files.
17998         * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
17999         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
18000         files.
18002 2002-08-08  Neil Booth  <neil@daikokuya.co.uk>
18004         * c-opts.c (cpp_opts): New.
18005         (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
18006         (c_common_decode_options): Handle cpplib switches.
18007         (c_common_init_options): Set cpp_opts.
18008         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
18009         (cpp_handle_option): Similarly.
18011 2002-08-08  David Edelsohn  <edelsohn@gnu.org>
18013         * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
18014         (TARGET_ALTIVEC_ABI): Same.
18015         (TARGET_ALTIVEC_VRSAVE): Same.
18017         * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
18018         icode not CODE_FOR_nothing.  Change switch to if.
18020 2002-08-08  Alan Modra  <amodra@bigpond.net.au>
18022         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
18024 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
18026         * stor-layout.c (place_union_field): For bitfields if
18027         PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
18028         TYPE_USER_ALIGN.
18030 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
18032         * pa.c (struct deferred_plabel): Constify name field.
18034 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
18036         * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
18038 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
18040         * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
18041         local_prefix are the same.
18042         * configure: Rebuilt.
18044 2002-08-07  Jakub Jelinek  <jakub@redhat.com>
18045             Richard Henderson  <rth@redhat.com>
18047         * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
18048         to type_align when PCC_BITFIELD_TYPE_MATTERS.  Only apply
18049         ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
18050         (place_field): Likewise.
18051         * config/i386/i386.c (x86_field_alignment): Don't check
18052         DECL_USER_ALIGN here.
18053         * config/rs6000/rs6000.c (rs6000_field_alignment): New.
18054         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
18055         prototype.
18056         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
18057         * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
18058         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
18059         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
18060         * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
18061         * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
18063 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
18065         * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
18066         * c-common.c: Don't include tree-inline.h.
18067         (c_common_init_options, c_common_post_options): Move to c-opts.c.
18068         * c-common.h (c_common_decode_option): New.
18069         * c-decl.c (c_decode_option): Remove.
18070         * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
18071         * c-opts.c: New file.
18072         * c-tree.h (c_decode_option): Remove.
18073         * doc/passes.texi: Update.
18074         * objc/objc-act.c (objc_decode_option): Remove.
18075         * objc/objc-act.h (objc_decode_option): Remove.
18076         * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
18077         c_common_decode_option.
18079 2002-08-07  Chris Demetriou  <cgd@broadcom.com>
18081         * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
18082         dependency on TARGET_DOUBLE_FLOAT.
18084 2002-08-07  Stephen Clarke <stephen.clarke@superh.com>
18086         * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
18087         overwrite callee-save registers.  Fix comment.
18089 2002-08-06  Chris Demetriou  <cgd@broadcom.com>
18091         * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
18092         in target_flags based on ISA, if it was not set on the command
18093         line.  Warn if MASK_BRANCHLIKLEY is set but the ISA does not
18094         support Branch Likely instructions.
18095         * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
18096         (TARGET_BRANCHLIKELY): Likewise.
18097         (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
18098         (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
18099         ISA_HAS_BRANCHLIKELY.
18100         (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
18101         * doc/invoke.texi: Document new MIPS -mbranch-likely and
18102         -mno-branch-likely options.
18104 2002-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18106         * ip2k.c (ip2k_set_compare): Add missing iteration variable.
18108         * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
18109         $(GCONFIG_H).
18111 2002-08-06  Aldy Hernandez  <aldyh@redhat.com>
18113         * c-decl.c (duplicate_decls): Error out for incompatible TLS
18114         declarations.
18116         * testsuite/gcc.dg/tls/diag-3.c: New.
18118 2002-08-06  Dale Johannesen  <dalej@apple.com>
18120         * c-common.c (fname_decl): Use line number 0 for
18121         __func__, to avoid confusing debuggers.
18123 2002-08-06  Nathan Sidwell  <nathan@codesourcery.com>
18125         * gcov.c: Tidy.
18126         (struct line_info, struct coverage): New structures.
18127         (gcov_file_name, gcov_file): Remove globals.
18128         (output_data): Take source file parameter. Fix memory leak. Break
18129         up into ...
18130         (init_line_info, output_line_info, make_gcov_file_name,
18131         accumulate_branch_counts): ... here.
18132         (calculate_branch_probs, function_summary): Adjust.
18133         (main): Adjust.
18134         (function_*): Remove global variables.
18136 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
18138         * dwarf2out.c: Remove unused macros.
18140 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
18142         * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
18144 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
18146         * cppinit.c (struct lang_flags): Rename trigraphs std.
18147         (set_lang): Update.
18148         * cpplib.h (struct cpp_options): New member std.
18149         * cppmacro.c (_cpp_builtin_macro_text): Use std.
18150         (collect_args): Flag whether to swallow a possible future
18151         comma pasted with varargs.
18152         (replace_args): Use this flag.
18153         * doc/cpp.texi: Update varargs extension documentation.
18155 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
18157         * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
18159 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
18161         * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
18162         and MODE_CLASS_INT modes.
18164 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
18166         * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
18167         --{enable,disable}-threads is given to configure.
18168         (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
18169         x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
18170         powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
18171         s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
18172         Remove thread_file setting here.
18174 2002-08-06  David Edelsohn  <edelsohn@gnu.org>
18176         * doc/install.texi (Binaries): Update Bull Freeware URL.
18178 2002-08-06  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
18180         * doc/gcc.texi (Top): Rename Index to Keyword Index.
18182 2002-08-05  Nathan Sidwell  <nathan@codesourcery.com>
18184         * gcov.c (output_data): Round to % to nearest, tweak formatting.
18186 2002-08-05  Jakub Jelinek  <jakub@redhat.com>
18188         * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
18189         of the operands into MINUS_EXPR if code is PLUS_EXPR.
18191 2002-08-05  Douglas B Rupp  <rupp@gnat.com>
18193         * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
18194         * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
18195         drectve_section): Define.
18196         * config/i386/t-interix: Replace interix.o rule with winnt.o.
18197         * config/i386/interix.c: Remove.
18199 2002-08-05  Geoffrey Keating  <geoffk@redhat.com>
18201         * attribs.c: Don't include obstack.h.
18202         * builtins.c: Likewise.
18203         * cfganal.c: Likewise.
18204         * cfgbuild.c: Likewise.
18205         * cfgcleanup.c: Likewise.
18206         * emit-rtl.c: Likewise.
18207         * loop.c: Likewise.
18208         * stmt.c: Likewise.
18210         * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
18212 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
18214         * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
18216 2002-08-04  Chris Demetriou  <cgd@broadcom.com>
18218         * doc/invoke.texi: Remove duplicated paragraph describing
18219         TARGET_SWITCHES.
18221 2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
18223         * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
18224         * collect2.h (permanent_obstack): Delete declaration.
18225         * collect2.c (permanent_obstack): Delete definition.
18226         (main): Don't initialize permanent_obstack.  Use xstrdup instead.
18227         * expr.c: Don't include obstack.h.
18228         (permanent_obstack): Delete declaration.
18229         * function.c: Don't include obstack.h.
18230         (permanent_obstack): Delete declaration.
18231         * integrate.c: Don't include obstack.h.
18232         (function_maybepermanent_obstack): Delete declaration.
18233         * print-tree.c (debug_tree): Use x*alloc not permalloc.
18234         * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
18235         * tlink.c (pfgets): Use xstrdup not permanent_obstack.
18236         * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
18237         * tree.h: Rename init_obstacks to init_ttree.  Remove declarations
18238         of permalloc, expralloc, perm_calloc.
18239         * tree.c (permanent_obstack): Delete definition.
18240         (init_ttree): Rename from init_obstacks.
18241         (permalloc): Delete.
18242         (perm_calloc): Delete.
18243         (dump_tree_statistics): Don't print information about
18244         permanent_obstack.
18245         * varasm.c (assemble_start_function): Use xstrdup instead of
18246         permalloc/strcpy.
18247         (assemble_variable): Likewise.
18248         * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
18249         permalloc.
18250         (unicosmk_add_extern): Likewise.
18251         * config/c4x/c4x.c (c4x_external_ref): Likewise.
18252         (c4x_global_label): Likewise.
18253         * config/frv/frv.c (frv_encode_section_info): Likewise.
18254         * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
18255         (i386_pe_record_exported_symbol): Likewise.
18256         * config/mips/mips.c (mips_output_external): Likewise.
18257         (mips_output_external_libcall): Likewise.
18258         * config/pa/pa.c: (permanent_obstack): Delete declaration.
18259         (output_call): Use ggc_strdup instead of allocating on
18260         permanent_obstack.
18261         * config/romp/romp.c: Include ggc.h.
18262         (get_symref): Don't declare permanent_obstack, use ggc_strdup
18263         intead of permanent_obstack.
18264         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
18265         instead of permalloc.
18266         * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
18267         instead of permalloc
18268         * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
18269         instead of permalloc.
18270         * config/vax/vax.c (vms_check_external): Use xmalloc instead of
18271         permalloc.
18273 2002-08-04  Bernd Schmidt  <bernds@redhat.com>
18275         Contribute a port developed primarily by Michael Meissner,
18276         Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
18277         * config.gcc: Add frv-elf target.
18278         * config/frv/cmovd.c: New file.
18279         * config/frv/cmovh.c: New file.
18280         * config/frv/cmovw.c: New file.
18281         * config/frv/frv-abi.h: New file.
18282         * config/frv/frv-asm.h: New file.
18283         * config/frv/frv-modes.def: New file.
18284         * config/frv/frv-protos.h: New file.
18285         * config/frv/frv.c: New file.
18286         * config/frv/frv.h: New file.
18287         * config/frv/frv.md: New file.
18288         * config/frv/frvbegin.c: New file.
18289         * config/frv/frvend.c: New file.
18290         * config/frv/lib1funcs.asm: New file.
18291         * config/frv/media.h: New file.
18292         * config/frv/modi.c: New file.
18293         * config/frv/t-frv: New file.
18294         * config/frv/uitod.c: New file.
18295         * config/frv/uitof.c: New file.
18296         * config/frv/ulltod.c: New file.
18297         * config/frv/ulltof.c: New file.
18298         * config/frv/umodi.c: New file.
18299         * config/frv/xm-frv.h: New file.
18301         * config/frv/media.h: Removed again.
18303 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
18305         * gcov.c (bb_file_time): New static variable.
18306         (object_directory): May also be object file.
18307         (preserve_paths): New static variable.
18308         (print_usage): Adjust.
18309         (options): Adjust.
18310         (process_args): Adjust.
18311         (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
18312         file. Find modification date on bb file.
18313         (read_profile): Don't rewind a NULL file.
18314         (format_hwint): New static function.
18315         (function_summary): Use format_hwint.
18316         (output_data): SOURCE_FILE_NAME is never relative to
18317         OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
18318         mangling. Adjust output format to make it more machine readable.
18319         * doc/gcov.texi: Document & clarify semantics.
18321 2002-08-04  Joseph S. Myers  <jsm@polyomino.org.uk>
18323         * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
18325 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
18327         * gcc.c (cc1_options): Pass output file as auxbase when
18328         appropriate.
18329         * profile.c (init_branch_prob): FILENAME has already had ending
18330         stripped.
18331         * final.c (end_final): Likewise.
18332         * toplev.c (aux_base_name): New global.
18333         (compile_file): Pass aux_base_name to init init_branch_prob and
18334         end_final.
18335         (independent_decode_option, case 'a'): New auxinfo options.
18336         (case 'd'): Protect against mising basename.
18337         (do_compile): Initialize aux_base_name.
18338         * toplev.h (aux_base_name): New global.
18339         * doc/invoke.texi: Adjust documentation.
18341 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
18343         * config/i386/i386.c (x86_field_alignment): Remove duplicate test
18344         of TARGET_ALIGN_DOUBLE.
18346 2002-08-04  Gabriel Dos Reis  <gdr@nerim.net>
18348         * diagnostic.c (inform): New function.
18349         * diagnostic.h (inform): Declare.
18351 2002-08-03  David Edelsohn  <edelsohn@gnu.org>
18353         * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
18354         (movhi_internal): Same.
18355         (movqi_internal): Same.
18356         (movdi_internal64): Same.
18358         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
18360         * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
18361         (ASM_OUTPUT_SKIP): Use it.  SIZE unsigned.
18362         (COMMON_ASM_OP): Define.
18363         (ASM_OUTPUT_ALIGNED_COMMON): Use it.  SIZE unsigned.
18364         Use ALIGN parameter.
18365         (LOCAL_COMMON_ASM_OP): Define.
18366         (ASM_OUTPUT_LOCAL): Use it.  SIZE unsigned.
18368 2002-08-03  Roger Sayle  <roger@eyesopen.com>
18370         * builtins.def: Define new builtin functions exp, expf, expl,
18371         log, logf and logl (and their __builtin_* variants).
18372         * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
18373         Define exp_optab and log_optab.
18374         * optabs.c (init_optans): Initialize exp_optab and log_optab.
18375         * genopinit.c (optabs): Implement exp_optab and log_optab
18376         using exp?f2 and log?f2 patterns.
18377         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
18378         and BUILT_IN_LOG* using exp_optab and log_optab respectively.
18379         (expand_builtin): Ignore the new builtins (and all cos and
18380         sin variants) when not optimizing.  Expand new builtins via
18381         expand_builtin_mathfn when flag_unsafe_math_optimizations.
18383         * doc/extend.texi: Document new exp and log builtins.
18384         * doc/md.texi: Document new exp?f2 and log?f2 patterns
18385         (and previously undocumented cos?f2 and sin?f2 patterns).
18387 2002-08-03  Jason Merrill  <jason@redhat.com>
18389         * explow.c (int_expr_size): New fn.
18390         * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
18391         * expr.h: Declare it.
18393 2002-08-02  Krister Walfridsson  <cato@df.lth.se>
18395         * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
18396         gengtype-* dependencies.
18398 2002-08-02  Eric Christopher  <echristo@redhat.com>
18400         * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
18401         * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
18402         #ifndef to #undef.
18403         (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
18405 2002-08-02  David Edelsohn  <edelsohn@gnu.org>
18407         PR optimize/7067
18408         * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
18409         small if optimizing for size.
18411 2002-08-02  Daniel Jacobowitz  <drow@mvista.com>
18413         * configure.in (FORBUILD): Use $build_alias.
18414         * configure: Regenerated.
18416 2002-08-02  Richard Sandiford  <rsandifo@redhat.com>
18418         * config.gcc: Don't include mips/abi64.h in $tm_file.
18419         * hard-reg-set.h (call_really_used_regs): Declare.
18420         * config/mips/abi64.h: Remove file.
18421         * config/mips/linux.h,
18422         * config/mips/iris6.h: Don't include it.
18423         * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
18424         * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
18425         (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
18426         FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
18427         FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
18428         Bring across definitions from abi64.h.
18429         (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
18430         (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
18431         (struct mips_args): Use it.
18432         * config/mips/mips.c (mips_conditional_register_usage): Define.
18434 2002-08-02  Jason Merrill  <jason@redhat.com>
18436         * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
18437         * langhooks.c (lhd_expr_size): Define default.
18438         * langhooks.h (struct lang_hooks): Add expr_size.
18439         * explow.c (expr_size): Call it.
18440         * expr.c (store_expr): Don't copy an expression of size zero.
18441         (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
18442         to store.
18443         * Makefile.in (builtins.o): Depend on langhooks.h.
18445 2002-08-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18447         * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
18448         * ra-debug.c: Include "tm_p.h".
18449         * ra-rewrite.c (is_partly_live_1): Change return type to bool.
18451 2002-08-02  Toon Moene  <toon@moene.indiv.nluug.nl>
18453         * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
18454         when not honoring signalling NaNs.
18455         (simplify_ternary_operation): a == b has a definite value
18456         when not honoring NaNs.
18458 2002-08-02  Jason Merrill  <jason@redhat.com>
18460         * gdbinit.in (pct): New macro.
18462 2002-08-01  Stan Shebs  <shebs@apple.com>
18463             Andreas Tobler  <toa@pop.agri.ch>
18465         * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
18466         plays nice with Darwin headers.
18467         (_BSD_RUNE_T_DEFINED_): Likewise.
18469 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
18471         * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
18472         * cppinit.c (cpp_post_options): Likewise.
18474         * cppexp.c (cpp_classify_number): Suppress -Wtraditional
18475         warning about 'LL' suffix (but not 'ULL' etc) when
18476         -Wno-long-long is in effect.
18478         * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
18479         Check for failing time()/localtime(), issue a warning, and
18480         make __TIME__ and __DATE__ expand to fallback strings.
18482         * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
18483         and __TIME__ when the date and time cannot be determined.
18485 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
18487         * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
18489 2002-08-01  Daniel Jacobowitz  <drow@mvista.com>
18491         * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
18493 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
18495         * config.gcc (mipsisa64sb1-*-elf*): New configuration.
18496         (mipsisa64sb1el-*-elf*): Likewise.
18497         * config/mips/mips.c (mips_cpu_info_table): Add sb1.
18498         * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
18499         (TARGET_SB1, TUNE_SB1): New macros.
18500         * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
18501         -mtune flags.
18503 2002-08-01  David Edelsohn  <edelsohn@gnu.org>
18505         * varasm.c (asm_emit_uninitialized): Return false if global BSS
18506         and ASM_EMIT_BSS not supported by target.
18507         (assemble_variable): Do not duplicate uninitialized logic.
18508         Fall through if asm_emit_uninitialized failed.
18510 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
18512         * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
18514 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
18516         * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
18517         (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
18519         * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
18520         HOST_BITS_PER_WIDE_INT == 64.
18522 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18524         * df.c (df_insn_table_realloc): Change parameter to unsigned.
18525         * optabs.c (expand_binop): Make variable unsigned.
18526         * simplify-rtx.c (simplify_subreg): Likewise.
18527         * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
18529 2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18531         * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
18533 2002-08-01  Richard Henderson  <rth@redhat.com>
18535         * toplev.c (parse_options_and_default_flags): Don't set
18536         flag_reorder_blocks for -Os.
18538         * config/avr/avr.c (avr_optimization_options): Remove.
18539         * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
18540         * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
18541         * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
18543 2002-08-01  H.J. Lu <hjl@gnu.org>
18544             Richard Henderson  <rth@redhat.com>
18546         * output.h (DECL_READONLY_SECTION): Remove.
18547         (decl_readonly_section): Declare.
18548         * varasm.c (decl_readonly_section): New.
18549         (default_section_type_flags, default_select_section): Use it.
18550         * config/arm/pe.c (arm_pe_unique_section): Likewise.
18551         * config/i386/interix.c (i386_pe_unique_section): Likewise.
18552         * config/i386/winnt.c (i386_pe_unique_section): Likewise.
18553         * config/mcore/mcore.c (mcore_unique_section): Likewise.
18554         * config/mips/mips.c (mips_unique_section): Likewise.
18556 2002-08-01  Richard Henderson  <rth@redhat.com>
18558         * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
18559         refers to a subroutine parameter.
18561 2002-08-01  Jakub Jelinek  <jakub@redhat.com>
18563         * varasm.c (assemble_visibility): Strip name encoding.
18565 2002-08-01  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
18567         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
18568         (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
18569         when there is no frame pointer.
18570         (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
18571         registers properly.
18572         * config/ns32k/__unorddf2.c: New file.
18573         * config/ns32k/__unordsf2.c: New file.
18574         * config/ns32k/t-ns32k: New file.
18575         * config.gcc (ns32k-*-netbsd*): Use it.
18577 2002-08-01  Aldy Hernandez  <aldyh@redhat.com>
18579         * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
18581 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
18583         * c-common.c (__GXX_ABI_VERSION): Correct spelling.
18585 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
18587         * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
18589 2002-08-01  Richard Sandiford  <rsandifo@redhat.com>
18591         * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
18593 2002-08-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
18595         * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
18596         n_sets): Removed.
18597         (expr_hash_table, set_hash_table): Type changed to ...
18598         (struct hash_table): New type.
18599         (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
18600         insert_expr_in_table, insert_set_in_table, compute_hash_table,
18601         dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
18602         compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
18603         (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
18604         (alloc_hash_table): New.
18605         (free_set_hash_table, free_expr_hash_table): Merged to ...
18606         (free_hash_table): New.
18607         (compute_set_hash_table, compute_expr_hash_table): Merged to ...
18608         (compute_hash_table_work): New.
18609         (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
18610         find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
18611         pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
18612         one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
18613         hoist_code, one_code_hoisting_pass,
18614         trim_ld_motion_mems): Altered due to changed type of hash tables.
18616 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
18618         * final.c (output_alternate_entry_point):
18619         If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
18621 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18623         * objc/objc-act.c (encode_complete_bitfield): Add prototype and
18624         avoid ISO C style function definition.
18626         * expr.c (expand_assignment): Delete unused variable.
18628 2002-08-01  Toon Moene  <toon@moene.indiv.nluug.nl>
18630         * c-common.c (cb_register_builtins): Set
18631         __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
18632         is given, and to 0 otherwise.
18633         * combine.c (simplify_if_then_else): HONOR_NANS
18634         implies FLOAT_MODE_P.
18636 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
18638         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
18639         (cpp_handle_option): Don't handle it.
18640         (print_help): Update.
18641         * doc/cppopts.texi: Update.
18643 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
18645         * c-common.c (cb_register_builtins): If C++, define
18646         __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
18647         * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
18649         * lang-specs.h: Simplify in accordance with new code in
18650         c-common.c.
18652 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
18654         * c-common.c: Define all C/ObjC/C++ warning and flag variables.
18655         * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
18656         * c-decl.c: Move all warning and flag variables to c-common.c.
18657         * c-format.c: Move all warning variables to c-common.c.
18658         * c-tree.h: Move all warning and flag declarations to c-common.h.
18659         * objc/objc-act.c: Move all warning variables to c-common.c.
18660         (flag_warn_protocol): Rename warn_protocol.
18662 2002-07-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
18664         * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
18666 2002-07-31  Graham Stott  <graham.stott@btinternet.com>
18668         * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
18669         .section prefix.
18671 2002-07-31  Stan Shebs  <shebs@apple.com>
18673         * config.gcc (i[34567]86-*-darwin*): New configuration.
18674         * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
18675         defining.
18676         (TARGET_ENCODE_SECTION_INFO): Ditto.
18677         (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
18678         * config/darwin.c (machopic_indirect_data_reference): Remove
18679         setting of RTX_UNCHANGING_P.
18680         (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
18681         not to be applied to sums.
18682         * config/i386/t-darwin: New file.
18683         * config/i386/darwin.h: New file.
18684         * config/i386/i386.h (TARGET_MACHO): Add default definition.
18685         * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
18686         * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
18687         label and not the GOT add.
18688         (constant_address_p): For Mach-O, seeing a CONST is enough.
18689         (legitimate_pic_address_disp_p): Add a Mach-O case.
18690         (legitimate_address_p): Also test machopic_operand_p if Mach-O.
18691         (legitimize_pic_address): Use generic Mach-O code to legitimize.
18692         (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
18693         if outputting a difference.
18694         (ix86_output_addr_diff_elt): Add Mach-O case.
18695         (ix86_expand_move): Similarly.
18696         (ix86_expand_call): Similarly.
18697         (current_machopic_label_num): New global.
18698         (machopic_output_stub): New function.
18699         (ix86_value_regno): New function.
18700         (ix86_function_value): Use it instead of VALUE_REGNO.
18701         (ix86_libcall_value): Ditto.
18702         * config/i386/unix.h (VALUE_REGNO): Remove.
18704 2002-07-31  Graham Stott  <grahas@btinternet.com>
18706         * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
18707         hash for LABEL_REF's.
18709 2002-07-31  Graham Stott  <grahams@btinternet.com>
18711         * config/rs6000/rs6000.c (spe_init_builtins,
18712         altivec_init_builtins, rs6000_common_init_builtins):
18713         Replace ANSI with K&R function def.
18715 2002-07-31  David Edelsohn  <edelsohn@gnu.org>
18717         * rs6000.c (validate_condition_mode): Test flag_finite_math_only
18718         for CCFPmode.
18720 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
18722         * config/mips/crtn.asm: Don't use __mips16 to determine the
18723         return-address offset.  Define RA to a suitable temporary
18724         register for the return address.
18726 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
18728         * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
18729         constraints to 'd'.
18731 2002-07-30  Chris Demetriou  <cgd@broadcom.com>
18733         * config/mips/elf.h (STARTFILE_SPEC): Define differently if
18734         default ABI is MEABI.  (Undoes incorrect change in Eric Christopher's
18735         patch on 2002-07-29.)
18736         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
18738 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18740         * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
18741         fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
18742         ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
18743         openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
18744         s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
18745         (ASM_GLOBALIZE_LABEL): Delete.
18746         (GLOBAL_ASM_OP): Define.
18748         * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
18750         * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
18751         * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
18753 2002-07-30  Geoffrey Keating  <geoffk@redhat.com>
18755         * doc/extend.texi (Hints implementation): Document that GCC
18756         mostly ignores `register'.
18758 2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>
18760         * flags.h: Declare flag_finite_math_only.
18761         Use it in definition of HONOR_NANS and
18762         HONOR_INFINITIES.
18763         * c-common.c (cb_register_builtins): Emit
18764         __FINITE_MATH_ONLY__ when flag_finite_math_only
18765         is set.
18766         * combine.c (simplify_if_then_else): If
18767         flag_finite_math_only is set, a == b has a
18768         definite value.
18769         * toplev.c: Initialize flag_finite_math_only.
18770         (set_flags_fast_math): Set it on -ffast-math.
18771         (flag_fast_math_set_p): Test it.
18772         * doc/invoke.texi: Document -ffinite-math-only.
18774 2002-07-30  Richard Henderson  <rth@redhat.com>
18776         * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
18777         (noce_process_if_block): Likewise.
18779 2002-07-30  Bernd Schmidt  <bernds@redhat.com>
18781         * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
18782         Bail out early if false_expr is NULL and we'd crash due to this.
18783         * genemit.c (gen_expand): Recognize return insns even if the return
18784         appears in a parallel.
18785         * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
18786         * config/fp-bit.c: Likewise.
18787         * doc/tm.texi: Document it.
18789 2002-07-30  David Edelsohn  <edelsohn@gnu.org>
18790             Zack Weinberg  <zack@codesourcery.com>
18792         * rs6000.c (rs6000_expand_unop_builtin): Check icode not
18793         CODE_FOR_nothing.  Change switch to if.
18794         (rs6000_expand_binop_builtin): Same.
18795         (rs6000_expand_builtin): Expand builtin if target support enabled.
18796         (rs6000_init_builtins): Init builtin if target support enabled.
18797         (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
18799 2002-07-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18801         * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
18803 2002-07-30  Richard Sandiford  <rsandifo@redhat.com>
18805         * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
18807 Tue Jul 30 18:31:31 2002  J"orn Rennecke <joern.rennecke@superh.com>
18809         * sh.md (cond_delay_slot): New attribute.
18810         (cbranch delay): Use it for anulled-true case.
18811         (stuff_delay_slot): New pattern.
18812         * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
18813         delay slot insn.
18814         (gen_far_branch): Emit stuff_delay_slot pattern.
18816 Tue Jul 30 11:21:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
18818         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
18820 2002-07-30  Kazu Hirata  <kazu@cs.umass.edu>
18822         * fold-const.c: Fix comment typos.
18823         * gcse.c: Likewise.
18824         * reload1.c: Likewise.
18826 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
18828         * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
18829         for TARGET_SPE.
18831 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
18833         * c-pretty-print.h (pp_c_statement): Declare.
18834         * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
18835         (pp_c_statement): Define.
18837 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18839         * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
18840         darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
18841         ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
18842         mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
18843         rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
18844         v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
18846         * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
18847         * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
18849 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
18851         * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
18852         (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
18853         COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
18854         (pp_c_expression): Update.
18856 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18858         * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
18859         concat in lieu of xmalloc/strcpy/memcpy/sprintf.
18860         * alpha/vms-ld.c (main): Likewise.
18861         * dsp16xx.c (double_reg_to_memory): Likewise.
18862         * mcore.c (mcore_expand_prolog): Likewise.
18863         * cppfiles.c (read_name_map): Likewise.
18864         * gensupport.c (process_rtx, identify_predicable_attribute,
18865         alter_test_for_insn): Likewise.
18866         * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
18868 2002-07-29  Roger Sayle  <roger@eyesopen.com>
18870         * builtins.c (expand_builtin):  Change the default behavior to
18871         only issue an error if the builtin function doesn't have a
18872         fallback library call.  Remove several cases handled by the
18873         new default.
18875 2002-07-29  John David Anglin  <dave@hiauly1.hia.nrc>
18877         * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
18878         floating point format of the target is IEEE.
18879         * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
18880         format of the target is DEC.
18882 2002-07-29  Richard Henderson  <rth@redhat.com>
18884         * unroll.c (verify_addresses): Remove.
18885         (find_splittable_givs): Never split DEST_ADDR givs.
18887 2002-07-29  Geoffrey Keating  <geoffk@redhat.com>
18889         * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
18890         is exhaustive.
18891         (Files): Improve documentation on generated source files.
18893         * doc/extend.texi (Translation implementation): Document what
18894         diagnostics look like.
18895         (Identifiers implementation): Document that there's normally no
18896         limit on identifier names.
18897         (Integers implementation): Document two's complement.
18898         (Hints implementation): Document that GCC honors 'inline', mostly.
18899         (Preprocessing directives implementation): Document that GCC
18900         requires the current time.
18902 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
18904         * c-pretty-print.h (struct c_pretty_print_info): Add new member.
18905         (pp_initializer): New macro.
18906         (pp_c_initializer): Declare.
18907         * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
18908         (pp_c_initializer): Define.
18909         (pp_c_initializer_list): New function.
18910         (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
18911         VECTOR_CST, CONSTRUCTOR.
18912         (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
18913         IMAGPART_EXPR.
18914         (pp_c_cast_expression): Handle FLOAT_EXPR.
18915         (pp_c_assignment_expression): Handle INIT_EXPR.
18916         (pp_c_expression): Update.
18918 2002-07-30  Neil Booth  <neil@daikokuya.co.uk>
18920         * objc/objc-act.c (objc_init): Return immediately if filename
18921         is NULL.
18923 2002-07-29  Eric Christopher  <echristo@redhat.com>
18925         * config/mips/elf.h: Remove ecoff.h and gofast includes.
18926         (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
18927         (SDB_DEBUGGING_INFO): Undefine.
18928         (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
18929         (PUT_SDB_SIZE): Remove.
18930         (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
18931         (STARTFILE_SPEC): Add isa3264 define.
18932         * config/mips/elf64.h: Ditto.  Move TARGET_MEM_FUNCTIONS from here...
18933         * config/mips/ecoff.h: Remove. and here...
18934         * config/mips/iris3.h: and here...
18935         * config/mips/sni-svr4.h: and here...
18936         * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
18937         Add assembler -mmdebug options for non-dwarf debugging.
18938         * config/mips/r3900.h: Remove debug info defines.
18939         * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
18940         * config/mips/isa3264.h: Ditto.
18941         * config/mips/t-isa3264: Fix up for file removal and gofast configure
18942         change.
18943         * config/mips/t-elf: Ditto.
18944         * config/mips/t-ecoff: Ditto.
18945         * config/mips/t-r3900: Ditto.
18946         * config/mips/t-iris5-6: Ditto.
18947         * config/mips/t-isa3264: Ditto.
18948         * config/mips/t-linux: Remove.
18949         * config/mips/t-netbsd: Remove.
18950         * config/mips/t-mips: New file.
18951         * config/mips/t-gofast: Ditto.
18952         * config/mips/netbsd.h: Remove unnecessary undefines.
18953         * config/mips/linux.h: Remove #include of mips.h.
18954         * config.gcc: Add mips.h include for elf targets. Remove tm_file
18955         for ecoff. Add gofast configure option for mips.
18957 2002-07-29  Chris Demetriou  <cgd@broadcom.com>
18959         * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
18960         linker scripts use STARTUP directives consistently.
18961         * configure: Regenerate.
18962         * config.in: Regenerate.
18963         * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
18964         on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
18965         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
18966         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
18967         HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
18968         will be the same.
18970 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
18972         * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
18974 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
18976         * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
18978 2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>
18980         * config/rs6000/rs6000.md: Move altivec patterns from here...
18982         * config/rs6000/altivec.md: ...to here.
18984 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
18986         * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
18988 2002-07-29  Richard Henderson  <rth@redhat.com>
18990         * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
18991         set_mem_attributes and add BITPOS argument.  Subtract it from
18992         OFFSET when same is adjusted.
18993         (set_mem_attributes): New wrapper function.
18994         * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
18995         remove offset adjustment hack.
18996         * expr.h (set_mem_attributes_minus_bitpos): Declare.
18998 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
19000         * Makefile.in (C_OBJS): Include c-pretty-print.o
19001         (c-pretty-print.o): Add depency rule.
19002         * pretty-print.h: Add more macros.
19003         * c-pretty-print.c: New file.
19004         * c-pretty-print.h: Likewise.
19006 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
19008         * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
19009         constants to __ev64_s32__.
19010         (__internal_ev_mwhgsmian): Same.
19011         (__internal_ev_mwhgsmfan): Same.
19012         (__internal_ev_mwhgssfan): Same.
19013         (__internal_ev_mwhgumiaa): Same.
19014         (__internal_ev_mwhgsmiaa): Same.
19015         (__internal_ev_mwhgsmfaa): Same.
19016         (__internal_ev_mwhgssfaa): Same.
19018 2002-07-29  David Edelsohn  <edelsohn@gnu.org>
19020         * varasm.c (assemble_variable): Narrow test for uninitialized
19021         without BSS target support.
19023 2002-07-29  Nathan Sidwell  <nathan@codesourcery.com>
19025         * profile.c: Add file comment describing the overall algorithm and
19026         structures.
19027         (struct edge_info): Add comments.
19028         (struct bb_info): Add comments.
19029         * basic-block.h (EDGE_*): Add comments.
19030         * doc/gcov.texi (Gcov Data Files): Document bit flags.
19032 2002-07-29  Bob Wilson  <bob.wilson@acm.org>
19034         * config/xtensa/elf.h, config/xtensa/linux.h
19035         (TARGET_OS_CPP_BUILTINS): Define.
19036         (CPP_PREDEFINES): Remove.
19037         * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
19038         (CPP_SPEC): Remove.
19040 2002-07-29  Zack Weinberg  <zack@codesourcery.com>
19042         * gensupport.c: Include hashtab.h.
19043         (insn_elision, condition_table, hash_c_test, cmp_c_test,
19044         maybe_eval_c_test): New routines and data structures to
19045         support insn elision.
19046         (init_md_reader): Read and initialize the condition_table.
19047         (read_md_rtx): Discard insn patterns whose C test is provably
19048         always false.
19049         * gensupport.h: Declare new functions and data structures.
19051         * genconditions.c, dummy-conditions.c: New files.
19052         * Makefile.in: Build genconditions; run it to construct
19053         insn-conditions.c; build that and link it into most gen*
19054         programs.
19055         (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
19056         (GEN): Delete, unused.
19057         (STAGESTUFF): Update.
19059         * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
19060         CODE_FOR_nothing for all elided patterns.
19061         (main): Tweaked to support this.
19062         * genflags.c (gen_proto): Emit a static inline generator
19063         function here for all elided patterns, which simply returns
19064         NULL_RTX.
19065         (gen_insn): Do not define HAVE_xxx for elided patterns.
19066         (main): Tweaked to support this.  No need to forward-declare
19067         struct rtx_def.
19068         * genrecog.c: Do not bother emitting the C test if it's known
19069         to be true at compile time.
19071 2002-07-29  Mike Stump  <mrs@apple.com>
19073         * config.gcc (target_gtfiles): Initialize, as otherwise cross
19074         compilers hosted on powerpc-apple-darwin6.0 won't even build.
19076 2002-07-29  Richard Earnshaw  <rearnsha@arm.com>
19078         * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
19079         remove clobber of LR.
19080         (sibcall_insn, sibcall_value_insn): Update accordingly.
19081         (sibcall_epilogue): Remove debugging comment from assembler stream.
19083 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
19085         * pretty-print.h: Define more macros.
19086         * diagnostic.h (output_formatted_integer): Moved from...
19087         * diagnostic.c: ... here.
19089 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19091         * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
19093 2002-07-28  Zack Weinberg  <zack@codesourcery.com>
19095         * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
19096         arguments.  Always use ".-symbol" as expression argument.
19097         * doc/tm.texi: Update to match.  Document requirement for
19098         ".size symbol, .-symbol" to be acceptable to assembler.
19100         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
19101         config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
19102         config/i386/freebsd-aout.h, config/i386/sco5.h,
19103         config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
19104         config/xtensa/linux.h:  Update uses of ASM_OUTPUT_MEASURED_SIZE.
19106 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19108         * Makefile.in (gengtype-lex.c): Fix error in last change.
19110         * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
19111         backslash.
19113         * Makefile.in (vmsdbgout.o): Depend on function.h.
19115         * vmsdbgout.c: Include function.h.
19117 2002-07-28  Alan Modra  <amodra@bigpond.net.au>
19119         * prefix.c (update_path): Don't strip single `.' path components
19120         unless stripping a later `..' component.  Exit loop as soon as
19121         a valid path is found.
19123 2002-07-27  Roger Sayle  <roger@eyesopen.com>
19125         * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
19126         argument.  Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
19127         BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
19128         floating point unordered comparisons (e.g. __builtin_isgreater)
19129         as const, and leave the remaining GCC_BUILTINs unchanged.
19131         * c-decl.c (builtin_function): No need to explicitly mark
19132         BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
19134 2002-07-27  Roger Sayle  <roger@eyesopen.com>
19136         * Makefile.in: rtlanal.o now depends upon real.h.
19138         * flags.h [flag_signaling_nans]: New flag.
19139         [HONOR_SNANS]: New macro.
19141         * toplev.c [flag_signaling_nans]: Initialize to false.
19142         (f_options): Add processing for "-fsignaling-nans".
19143         (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
19144         (process_options): flag_signaling_nans implies flag_trapping_math.
19146         * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
19147         when -fsignaling-nans.  First step to implementing WG14's N965.
19149         * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
19150         1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
19151         [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
19153         * simplify-rtx.c (simplify_relational_operation): Conditionalize
19154         transforming abs(x) < 0.0 into false on !HONOR_SNANS.
19156         * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
19157         required by HONOR_SNANS.  (may_trap_p): Floating point DIV, MOD,
19158         UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
19159         -fsignaling_nans.  EQ and NE only trap for flag_signaling_nans
19160         not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
19162         * doc/invoke.texi: Document new -fsignaling-nans compiler option.
19164 2002-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19166         * Makefile.in (gengtype-lex.c): Work around a bug in flex.
19167         * gengtype-lex.l (YY_USE_PROTOS): Undef.
19168         (YY_DECL): Define.
19170 2002-07-27  Roger Sayle  <roger@eyesopen.com>
19172         * doc/invoke.texi: Document that both -fno-builtin-foo and
19173         -fno-builtin are supported by the g++ front-end.
19175 2002-07-27  Stan Shebs  <shebs@apple.com>
19177         * configure.in: Rename config_gtfiles to target_gtfiles.
19178         * configure: Regenerate.
19179         * doc/gty.texi: Update reference.
19180         * config.gcc (powerpc-*-darwin*): Set target_gtfiles
19181         instead of appending to it.
19183 2002-07-25  Aldy Hernandez  <aldyh@redhat.com>
19185         * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
19186         vectors are split into two registers.
19187         (function_arg): Same.
19189 Thu Jul 26 23:00:13 2002  J"orn Rennecke <joern.rennecke@superh.com>
19191         * pa.md (extv): Check predicates before emitting extv_32.
19193 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
19195         * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
19196         (rs6000_traceback): New var.
19197         (rs6000_override_options): Set rs6000_traceback.
19198         (rs6000_output_function_epilogue): Implement traceback options.
19199         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
19200         (rs6000_traceback_name): Declare.
19202         * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
19203         label reference when NO_PROFILE_COUNTERS.
19205 2002-07-26  Jason Merrill  <jason@redhat.com>
19207         * function.c (assign_parms): Handle frontend-directed pass by
19208         invisible reference.
19210 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
19212         * doc/cppopts.texi: Update.
19214 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
19216         * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
19217         warnings on assertions.
19219 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
19221         * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
19222         RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
19223         RID_COMPL): Remove.
19224         * c-parse.in (rid_to_yy): Similarly.
19226 2002-07-26  Jason Merrill  <jason@redhat.com>
19228         * c-dump.c: Resurrect.
19229         * tree-dump.c: Move C-specific stuff to c-dump.c.
19230         * c-common.h: Declare c_dump_tree.
19231         * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
19232         * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
19233         (c-dump.o): New rule.
19235 2002-07-26  Alan Modra  <amodra@bigpond.net.au>
19237         * config/rs6000/rs6000.md: Enable patterns using rlwinm for
19238         PowerPC64.  Replace "T" and "S" constraints with "n" when the
19239         predicate will do.  Formatting fixes.
19240         (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
19241         as for extzvsi_internal1.
19243 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
19245         * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
19246         DERIV_END_LABEL_FMT): Remove.
19247         (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
19249 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
19251         * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
19252         Remove.
19254 2002-07-25  Stan Shebs  <shebs@apple.com>
19256         * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
19257         local var dwarfp.
19258         (output_compiler_stub): Remove unused locals.
19259         (output_call): Always initialize line number.
19261 Thu Jul 25 20:34:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
19263         * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
19264         * sh.md (truncdiqi2, movqi_media): Likewise.
19266 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
19268         * gcse.c (obstack_chunk_alloc): Remove.
19269         (gcse_alloc): Fix to count allocated bytes.
19270         * collect2.c (SYMBOL__MAIN): Remove.
19272 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
19274         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
19275         HAVE_TARGET_EXECUTABLE_SUFFIX.
19277 Thu Jul 25 18:57:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
19279         * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
19280         SIZE, EXPR and OFFSET.
19282 2002-07-25  Richard Henderson  <rth@redhat.com>
19284         * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
19285         in ARRAY_REF of DECL_P case.
19287 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
19289         * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
19290         description.  Document -mips32, -mips64, and the associated -march
19291         values.  Describe the "mipsN" arguments to -march.  Say that the
19292         -mipsN options are equivalent to -march.  Reword the description
19293         of default type sizes.
19294         * toplev.h (target_flags_explicit): Declare.
19295         * toplev.c (target_flags_explicit): New var.
19296         (set_target_switch): Update target_flags_explicit.
19297         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
19298         * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
19299         * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
19300         * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
19301         * config/mips/mips.h (mips_cpu_info): New struct.
19302         (mips_cpu_string, mips_explicit_type_size_string): Remove.
19303         (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
19304         (MIPS_CPP_SET_PROCESSOR): New macro.
19305         (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
19306         Define _MIPS_ARCH and _MIPS_TUNE.
19307         (MIPS_ISA_DEFAULT): Don't provide a default value.  Instead...
19308         (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
19309         MIPS_ISA_DEFAULT were already defined.
19310         (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
19311         (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
19312         (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
19313         (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
19314         (ABI_GAS_ASM_SPEC): Remove.
19315         (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
19316         (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
19317         Invoke %(asm_abi_default_spec) if no ABI was specified.
19318         (CC1_SPEC): Remove ISA -> register-size rules.
19319         (EXTRA_SPECS): Remove abi_gas_asm_spec.  Add asm_abi_default_spec.
19320         * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
19321         (mips_cpu_string, mips_explicit_type_size_string): Remove.
19322         (mips_cpu_info_table): New array.
19323         (mips_set_architecture, mips_set_tune): New fns.
19324         (override_options): Rework to make -mipsN equivalent to -march.
19325         Detect more erroneous cases, including those removed from CC1_SPEC.
19326         Don't change the ABI based on architecture, or vice versa.
19327         Unify logic with GAS.
19328         (mips_asm_file_start): Get architecture name from mips_arch_info.
19329         (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
19330         (mips_parse_cpu): Take the name of the option as argument.  Handle
19331         'from-abi'.  Raise an error if the option is wrong.
19332         (mips_cpu_info_from_isa): New fn.
19334 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
19336         * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
19337         (tablejump_mips162): Likewise.
19339 Thu Jul 25 10:23:41 2002  J"orn Rennecke <joern.rennecke@superh.com>
19341         * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
19342         int_mode_for_mode.
19344 2002-07-25  Gabriel Dos Reis  <gdr@nerim.net>
19346         * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
19347         complaining.
19348         * c-common.h (c_sizeof): Adjust definition.
19349         (c_alignof): Likewise.
19350         * c-tree.h (c_sizeof_nowarn): Now macro.
19351         * c-typeck.c (c_sizeof_nowarn): Remove definition.
19353 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
19355         * c-decl.c (c_decode_option): No need to handle switches
19356         cpplib handles.
19358 2002-07-24  Zack Weinberg  <zack@codesourcery.com>
19360         * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
19361         ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
19362         * doc/tm.texi: Document them.  Also document SIZE_ASM_OP,
19363         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
19365         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
19366         config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
19367         config/cris/aout.h, config/i386/freebsd-aout.h,
19368         config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
19369         config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
19370         config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
19371         config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
19372         config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
19373         config/xtensa/elf.h, config/xtensa/linux.h:
19374         Use the new macros.
19375         Where possible, remove redundant definitions of SIZE_ASM_OP,
19376         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
19378 2002-07-24  Aldy Hernandez  <aldyh@redhat.com>
19380         * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
19381         TARGET_ISEL, and TARGET_FPRS.
19383         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
19384         -mabi=spe, -mabi=no-spe, and -misel=.
19386         * config/rs6000/rs6000-protos.h: Add output_isel.
19387         Move vrsave_operation prototype here.
19389         * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
19390         (smaxsi3): Same.
19391         (uminsi3): Same.
19392         (umaxsi3): Same.
19393         (abssi2_nopower): Disallow when TARGET_ISEL.
19394         (*ne0): Same.
19395         (negsf2): Change to expand and rename old pattern to *negsf2.
19396         (abssf2): Change to expand and rename old pattern to *abssf2.
19398         New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
19399         fixunssfsi2.
19401         Change patterns that check for TARGET_HARD_FLOAT or
19402         TARGET_SOFT_FLOAT to also check TARGET_FPRS.
19404         * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
19405         rs6000_isel, rs6000_fprs, rs6000_isel_string.
19406         (rs6000_override_options): Add 8540 case to
19407         processor_target_table.
19408         Set rs6000_isel for the 8540.
19409         Call rs6000_parse_isel_option.
19410         (enable_mask_for_builtins): New.
19411         (rs6000_parse_isel_option): New.
19412         (rs6000_parse_abi_options): Add spe and no-spe.
19413         (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
19414         (rs6000_legitimize_address): Check for TARGET_FPRS when checking
19415         for TARGET_HARD_FLOAT.
19416         Add case for SPE_VECTOR_MODE.
19417         (rs6000_legitimize_reload_address): Handle SPE vector modes.
19418         (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
19419         vector modes.
19420         Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
19421         (rs6000_emit_move): Check for TARGET_FPRS.
19422         Add cases for SPE vector modes.
19423         (function_arg_boundary): Return 64 for SPE vector modes.
19424         (function_arg_advance): Check for TARGET_FPRS and
19425         Handle SPE vectors.
19426         (function_arg): Same.
19427         (setup_incoming_varargs): Check for TARGET_FPRS.
19428         (rs6000_va_arg): Same.
19429         (struct builtin_description): Un-constify mask field.  Move up in
19430         file.
19431         (bdesc_2arg): Un-constify and add SPE builtins.
19432         (bdesc_1arg): Same.
19433         (bdesc_spe_predicates): New.
19434         (bdesc_spe_evsel): New.
19435         (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
19436         (rs6000_expand_binop_builtin): Same.
19437         (bdesc_2arg_spe): New.
19438         (spe_expand_builtin): New.
19439         (spe_expand_predicate_builtin): New.
19440         (spe_expand_evsel_builtin): New.
19441         (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
19442         (rs6000_init_builtins): Initialize SPE builtins.  Call
19443         rs6000_common_init_builtins.
19444         (altivec_init_builtins): Move all non-altivec builtin code to...
19445         (rs6000_common_init_builtins): ...here.  New function.
19446         (branch_positive_comparison_operator): Allow NE code for SPE.
19447         (ccr_bit): Return correct ccr bit for SPE fp.
19448         (print_operand): Emit crnor in 'D' case for SPE.
19449         New case 't'.
19450         Add SPE code for 'y' case.
19451         (rs6000_generate_compare): Generate rtl for SPE fp.
19452         (output_cbranch): Handle SPE hard floats.
19453         (rs6000_emit_cmove): Handle isel.
19454         (rs6000_emit_int_cmove): New.
19455         (output_isel): New.
19456         (rs6000_stack_info): Adjust stack frame so GPRs are saved in
19457         64-bits for SPE.
19458         (debug_stack_info): Add SPE info.
19459         (gen_frame_mem_offset): New.
19460         (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
19461         Change mode of frame pointer, when saving it, to Pmode.
19462         (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
19463         Misc cleanups and use gen_frame_mem_offset when appropriate.
19465         * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
19466         (TARGET_SPE_ABI): New.
19467         (TARGET_SPE): New.
19468         (TARGET_ISEL): New.
19469         (TARGET_FPRS): New.
19470         (FIXED_SCRATCH): New.
19471         (RTX_COSTS): Add PROCESSOR_PPC8540.
19472         (ASM_CPU_SPEC): Add case for 8540.
19473         (TARGET_OPTIONS): Add isel= case.
19474         (rs6000_spe_abi): New.
19475         (rs6000_isel): New.
19476         (rs6000_fprs): New.
19477         (rs6000_isel_string): New.
19478         (UNITS_PER_SPE_WORD): New.
19479         (LOCAL_ALIGNMENT): Adjust for SPE.
19480         (HARD_REGNO_MODE_OK): Same.
19481         (DATA_ALIGNMENT): Same.
19482         (MEMBER_TYPE_FORCES_BLK): New.
19483         (FIRST_PSEUDO_REGISTER): Set to 113.
19484         (FIXED_REGISTERS): Add SPE registers.
19485         (reg_class): Same.
19486         (REG_CLASS_NAMES): Same.
19487         (REG_CLASS_CONTENTS): Same.
19488         (REGNO_REG_CLASS): Same.
19489         (REGISTER_NAMES): Same.
19490         (DEBUG_REGISTER_NAMES): Same.
19491         (ADDITIONAL_REGISTER_NAMES): Same.
19492         (CALL_USED_REGISTERS): Same.
19493         (CALL_REALLY_USED_REGISTERS): Same.
19494         (SPE_ACC_REGNO): New.
19495         (SPEFSCR_REGNO): New.
19496         (SPE_SIMD_REGNO_P): New.
19497         (HARD_REGNO_NREGS): Adjust for SPE.
19498         (VECTOR_MODE_SUPPORTED_P): Same.
19499         (REGNO_REG_CLASS): Same.
19500         (FUNCTION_VALUE): Same.
19501         (LIBCALL_VALUE): Same.
19502         (LEGITIMATE_OFFSET_ADDRESS_P): Same.
19503         (SPE_VECTOR_MODE): New.
19504         (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
19505         the GPRs.  Set FIXED_SCRATCH fixed in SPE case.
19506         (rs6000_stack): Add spe_gp_size, spe_padding_size,
19507         spe_gp_save_offset.
19508         (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
19509         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
19510         (SPE_CONST_OFFSET_OK): New.
19511         (rs6000_builtins): Add SPE builtins.
19513         * testsuite/gcc.dg/ppc-spe.c: New.
19515         * config/rs6000/eabispe.h: New.
19517         * config/rs6000/spe.h: New.
19519         * config/rs600/spe.md: New.
19521         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
19522         __SIMD__ for TARGET_SPE.
19524         * config.gcc: Add powerpc-*-eabispe* case.
19525         Add spe.h to user headers for powerpc.
19527 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
19529         * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
19530         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
19531         * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
19533 2002-07-24  Richard Henderson  <rth@redhat.com>
19535         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
19536         form when not optimizing.
19538 2002-07-24  David Mosberger  <davidm@hpl.hp.com>
19540         * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
19541         thread_pointer_rtx as unchanging.
19543 2002-07-24  Michael Matz  <matz@suse.de>
19545         * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
19546         (free_reg): Use it.
19548 2002-07-24  Richard Earnshaw  <rearnsha@arm.com>
19550         * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
19551         pattern.
19552         (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
19553         (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
19555 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
19557         * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
19558         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
19559         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
19561 Wed Jul 24 17:59:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
19563         * toplev.c (rest_of_compilation): Dump loops before clobbering
19564         the structure.
19566 Wed Jul 24 17:23:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
19568         * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
19570 2002-07-24  Frank van der Linden  <fvdl@wasabisystems.com>
19572         PR optimization/7291
19573         * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
19574         problem on x86_64.
19576 2002-07-24  Gabriel Dos Reis  <gdr@nerim.net>
19578         * pretty-print.h: Add macros from cp/error.c
19580 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
19582         * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
19583         (mask64_2_operand): Declare.
19584         (build_mask64_2_operands): Declare.
19585         (and64_2_operand): Declare.
19586         (extract_MB): Declare.
19587         (extract_ME): Declare.
19588         * config/rs6000/rs6000.c (mask64_operand): Allow all ones.  Remove
19589         CONST_DOUBLE code.
19590         (mask_operand_wrap): New insn predicate.
19591         (mask64_2_operand): Likewise.
19592         (and64_2_operand): Likewise.
19593         (build_mask64_2_operands): New function.
19594         (extract_MB): New function.
19595         (extract_ME): New function.
19596         (print_operand <case m,M>): Use extract_MB and extract_ME.
19597         (print_operand <case S>): Allow all ones.  Remove CONST_DOUBLE support.
19598         * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
19599         (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
19600         mask64_2_operand.  Remove CONST_DOUBLE from mask64_operand.
19601         * config/rs6000/rs6000.md (andsi3_internal3): New
19602         (andsi3_internal3+1): Enable split for powerpc64.
19603         (andsi3_internal3+2): New split.
19604         (andsi3_internal4): Renamed old andsi3_internal3.
19605         (andsi3_internal5): New.
19606         (andsi3_internal5+1): Enable split for powerpc64.
19607         (andsi3_internal5+2): New split.
19608         (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
19609         (anddi3): Handle 't' constraint.
19610         (anddi3+1): New split.
19611         (anddi3_internal2): Handle 't' constraint.
19612         (anddi3_internal2+1): New split.
19613         (anddi3_internal3): Handle 't' constraint.
19614         (anddi3_internal3+1): New split.
19616 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
19618         * config/rs6000/rs6000.md: Remove scratch reg on insns using
19619         addze and similar (plus (comparison r1 r2) r3) insns.  Add
19620         missing scratch reg in one case.  Formatting fixes.
19622 2002-07-24  Neil Booth  <neil@daikokuya.co.uk>
19624         * cppexp.c (parse_defined): Mark macro used.
19625         * cpphash.h (struct cpp_macro): New member "used".
19626         (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
19627         (struct cpp_reader): New member.
19628         * cppinit.c (cpp_finish_options): Set first_unused_line.
19629         (cpp_finish): Warn of unused macros if requested.
19630         (OPT_TABLE): New switches.
19631         (cpp_handle_option): Handle them.
19632         * cpplib.c (do_undef): Warn if macro unused.
19633         (do_ifdef, do_ifndef): Mark macro used.
19634         * cpplib.h (struct cpp_options): New member.
19635         * cppmacro.c (_cpp_warn_if_unused_macro): New.
19636         (enter_macro_context): Mark macro used.
19637         (_cpp_create_definition): Mark macro unused; warn if unused
19638         when redefined.
19639         * cpptrad.c (scan_out_logcial_line, push_replacement_text):
19640         Mark macros used.
19641         * doc/cppopts.texi: Update.
19643 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
19645         * dwarf2out.c (SECTION_ASM_OP,
19646         ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
19647         * system.h (SECTION_ASM_OP): Poison.
19648         * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
19649         * config/alpha/alpha-interix.h, config/mips/linux.h
19650         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
19651         * config/mmix/mmix-protos.h, config/mmix/mmix.c
19652         (mmix_asm_output_define_label_difference_symbol): Remove.
19653         * config/mmix/mmix.h
19654         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
19655         * doc/tm.texi: Remove documentation.
19657 Tue Jul 23 21:49:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
19659         * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
19660         (constrain_operands): Likewise.
19661         * regclass.c (record_reg_classes): Likewise.
19662         * reload.c (find_reloads): Likewise.
19663         * doc/md.texi: Likewise.
19665         * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
19666         * simplify-rtx.c (simplify_subreg): When converting to a non-int
19667         mode, try to convert to an integer mode of matching size first.
19669         * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
19670         from individual subregs, check that each subreg has been generated
19671         sucessfully.
19673 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
19675         * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
19676         * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
19677         FOR_EACH_BB_IN_SBITMAP): Remove.
19678         * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
19679         * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
19680         LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
19681         * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
19682         PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
19683         * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
19685 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
19687         * pretty-print.h: New file.
19689 2002-07-23      Paul Koning     <pkoning@equallogic.com>
19691         * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
19692         (LARGEST_EXPONENT_IS_NORMAL): Ditto.
19693         (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
19694         (TARGET_G_FLOAT): Default to 0 if not defined.
19695         (ieeetoe): New, common routine to convert target format floats
19696         to internal form.
19697         (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
19698         vs. others.
19699         (e113toe): Change to use ieeetoe.
19701 2002-07-23  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
19703         * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
19704         IBM.
19705         (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
19706         (e64toe): Remove special cases for DEC and IBM. Remove support for
19707         ARM_EXTENDED_IEEE_FORMAT.
19708         (e24toe): Remove special cases for DEC.
19709         (significand_size): Simplify. Indent.
19710         (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
19711         (etoieee, toieee): New.
19712         (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
19713         etoieee and toieee for IEEE arithmetic.
19715 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
19717         * doc/extend.texi: Say ISO C90, not ISO C89.
19718         * doc/invoke.texi: Likewise.
19719         * doc/standards.texi: Likewise.
19721 2002-07-23  Steve Ellcey  <sje@cup.hp.com>
19723         * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
19724         Fix permutation of conversion and plus/mult.
19725         * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
19726         ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
19727         (expand_builtin_strncpy) Ditto.
19728         (expand_builtin_memset) Ditto.
19730 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
19732         Fix PR/7363:
19733         * c-common.c (c_sizeof_or_alignof_type): New function.
19734         (c_alignof): Remove definition.
19735         * c-common.h (c_sizeof, c_alignof): Define as macros.
19736         (c_sizeof_or_alignof_type): Declare.
19737         (my_friendly_assert): Moved from cp/cp-tree.h
19738         * c-typeck.c (c_sizeof): Remove definition.
19740 2002-07-23  Jan Hubicka  <jh@suse.cz>
19742         * gcse.c (try_replace_reg): Use num_changes_pending.
19743         * recog.c (num_changes_pending): New function.
19744         (validate_replace_src): Use validate_repalce_src_group.
19745         (validate_replace_src_group): New.
19746         * recog.h (validate_repalce_src_group): New.
19747         (num_changes_pending): Likewise.
19749 Tue Jul 23 12:16:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
19751         * calls.c (emit_library_call_value_1): If
19752         FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
19753         libcall, const call nor pure call.
19755 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
19757         * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
19759 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
19761         * vmsdbgout.c (SECTION_ASM_OP): Remove.
19763 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
19765         * config/i386/i386.c (AT_BP): Remove.
19767 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
19769         * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
19770         Default definition.
19771         * gcse.c: Don't define obstack_chunk_free.
19772         * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
19773         flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
19774         integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
19775         reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
19776         Don't define obstack macros.
19778 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
19780         PR target/6744
19781         * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
19782         ASM_OPERANDS instructions.
19784 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
19786         PR target/7361
19787         * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
19788         constant addresses only on 68HC12.
19790 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
19792         * cppfiles.c (stack_include_file): Correct test of whether
19793         a dependency should be output.
19795 2002-07-22  David Edelsohn  <edelsohn@gnu.org>
19797         * collect2.c (is_ctor_dtor): Add other possible JOINER values.
19799 2002-07-22  Richard Earnshaw  <rearnsha@arm.com>
19801         * arm.md (movqi): If optimizing and we can create pseudos, use
19802         a ZERO_EXTEND to load from memory, then copy the result into the
19803         target.
19804         (movhi): Likewise, but only for ARMv4.
19806 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
19808         * ssa-ccp.c (PHI_PARMS): Remove.
19810 2002-07-22  Richard Sandiford  <rsandifo@redhat.com>
19812         * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
19813         on big-endian targets.
19815 2002-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19817         * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
19818         HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
19819         HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
19820         New formatting macros.
19822         * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
19824 Mon Jul 22 15:27:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
19826         * rtlanal.c (subreg_regno_offset): Return correct offset for
19827         big endian paradoxical subregs.
19829         * optabs.c (expand_vector_unop): Don't expand using sub_optab
19830         if we got the wrong mode.
19832         * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
19833         * genrecog.c (write_switch, write_cond): Use it.
19834         * genemit.c (gen_exp): Likewise.
19836 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
19838         * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
19840 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
19842         * c-decl.c (build_compound_literal): Defer compound literal decls
19843         until until file end to emit them only if they are actually used.
19845 2002-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19847         * ra-build.c (check_conflict_numbers): Hide unused function.
19848         (livethrough_conflicts_bb): Avoid automatic aggregate
19849         initialization.
19850         (parts_to_webs_1): Avoid `U' integer constant modifier.
19851         (conflicts_between_webs): Wrap a variable in the macro controlling
19852         its usage.
19853         * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
19854         (dump_igraph, dump_graph_cost): Avoid string concatenation
19855         (dump_static_insn_cost): Avoid automatic aggregate
19856         initialization.
19857         * ra-rewrite.c (insert_stores): Avoid automatic aggregate
19858         initialization.
19859         (dump_cost): Avoid string concatenation
19861 2002-07-21  Richard Henderson  <rth@redhat.com>
19863         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
19864         GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
19866 2002-07-21  Richard Henderson  <rth@redhat.com>
19868         * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
19869         that are not unrolled completely.
19871 2002-07-21  Richard Henderson  <rth@redhat.com>
19873         * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
19874         * loop.c (strength_reduce): Update.
19875         * toplev.c (rest_of_compilation): Do unrolling in the first
19876         loop pass, not the second.
19878 2002-07-21  Richard Henderson  <rth@redhat.com>
19880         * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
19881         when flag_argument_noalias == 2.
19882         * alias.c (nonoverlapping_memrefs_p): Handle that.
19883         * print-rtl.c (print_mem_expr): Likewise.
19885 2002-07-21  Hartmut Schirmer  <hartmut.schirmer@arcor.de>
19887         * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
19888         instead of __negdi2 directly.
19890 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
19892         * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
19893         * function.c (SYMBOL__MAIN): Remove definition.
19894         * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
19895         * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
19896         * profile.c (GCOV_INDEX_TO_BB): Remove.
19897         * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
19898         * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
19900 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
19902         * c-lex.c (GET_ENVIRONMENT): Remove.
19903         * collect2.c (GET_ENV_PATH_LIST): Remove.
19904         (prefix_from_env): Use GET_ENVIRONMENT.
19905         * cppinit.c (GET_ENV_PATH_LIST): Remove.
19906         (init_standard_includes): Use GET_ENVIRONMENT.
19907         * defaults.h (GET_ENVIRONMENT): Define here if not already.
19908         * gcc.c (GET_ENV_PATH_LIST): Remove.
19909         (make_relative_prefix, process_command): Update.
19910         * protoize.c (GET_ENV_PATH_LIST): Remove.
19911         (do_processing): Update.
19913 2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>
19915         * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
19916         (grokdeclarator): Likewise.
19917         * c-format.c (C_STD_NAME): Likewise.
19918         * c-lex.c (interpret_integer): Likewise.
19919         * c-typeck.c (build_array_ref): Likewise.
19920         * cpplex.c (_cpp_lex_direct): Likewise.
19921         * toplev.c (documented_lang_options): Likewise.
19923 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
19925         * c-format.c (T99_I, T99_UI): Remove.
19927 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
19929         * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
19931 Sun Jul 21 21:36:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
19933         * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
19934         do_local_cprop.
19936 2002-07-21  Andreas Jaeger  <aj@suse.de>
19938         * reload1.c (fixup_abnormal_edges): Remove unused variable.
19940 2002-07-21  Bernd Schmidt  <bernds@redhat.com>
19942         Improvements for the ifcvt pass from Michael Meissner, with patches
19943         by Richard Sandiford <rsandifo@redhat.com>
19944         * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
19945         * ifcvt.c (cond_exec_changed_p): New static variable.
19946         (last_active_insn): New function, renamed from last_active_insn_p
19947         and changed to return the last active insn in a basic block. All
19948         callers updated.
19949         (block_fallthru): New function.
19950         (cond_exec_process_insns): New argument CE_INFO.  Pass it to
19951         IFCVT_MODIFY_INSN.  All callers updated.
19952         Return false if START or END are NULL.
19953         Handle case where we're processing an insn that is already
19954         conditional.
19956         (noce_process_if_block): CE_INFO argument rather than
19957         multiple args containing the involved basic blocks.  All callers
19958         changed.
19959         (process_if_block, merge_if_block, find_if_block,
19960         cond_exec_process_if_block): Likewise.
19962         (cond_exec_process_if_block): New arg DO_MULTIPLE_P.  All callers
19963         changed.
19964         Use new function last_active_insn to simplify some code.
19965         New code to handle multiple tests.
19966         Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
19967         cond_exec_changed_p to TRUE.
19969         (process_if_block): New code to handle multiple tests.
19970         (merge_if_block): Likewise.
19971         (find_if_header): New arg PASS.  Changed to return the currently
19972         processed basic block or NULL instead of true/false. All callers
19973         changed.
19974         Call IFCVT_INIT_EXTRA_FIELDS.
19975         (block_jumps_and_fallthru_p): New function.
19976         (find_if_block): Discover opportunities to convert multiple tests.
19977         Add additional debugging output.
19978         Update the ce_info structure before returning.
19980         (if_convert): Run multiple passes of if-conversion.
19981         * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
19982         IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
19983         IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
19984         these macros.
19986 Sun Jul 21 00:54:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
19988         * gcse.c: Include cselib.h
19989         (constptop_register): Break out from ...
19990         (cprop_insn): ... here; kill basic_block argument.
19991         (do_local_cprop, local_cprop_pass): New functions.
19992         (one_cprop_pass): Call local_cprop_pass.
19994 2002-07-20  Roger Sayle  <roger@eyesopen.com>
19996         * simplify-rtx.c (simplify_relational_operation): Optimize
19997         abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
19999 2002-07-20  Michae Matz  <matz@suse.de>
20001         * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
20003 2002-07-20  Neil Booth  <neil@daikokuya.co.uk>
20005         * cppexp.c (struct op): Add token pointer.
20006         (check_promotion, CHECK_PROMOTION): New.
20007         (optab): Update.
20008         (_cpp_parse_expr): Update, use token pointer of struct op.
20009         (reduce): Warn about change of sign owing to promotion.
20010         * cppinit.c (cpp_handle_option): New warning if -Wall.
20011         * cpplib.h (struct cpp_options): New member.
20013 2002-07-19  David Edelsohn  <edelsohn@gnu.org>
20015         * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
20016         fpu list.  Separate Power4 compare and delayed_compare.  Correct
20017         Power4 fpcompare.
20018         (fix_truncdfsi2_internal): Restore FPR preference.
20019         * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
20020         mcpu?power4, mcpu?604e.  Remove mpower, mpower2, mpowerpc.
20022 2002-07-19  Momchil Velikov <velco@fadata.bg>
20024         * reload1.c (reload_as_needed): Duplicate oldpat.
20026 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
20028         PR optimization/7130
20029         * loop.h (struct loop_info): Add "preconditioned".
20030         * unroll.c (unroll_loop): Set it.
20031         * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
20033 2002-07-19  Zack Weinberg  <zack@codesourcery.com>
20035         * rtl.def (CODE_LABEL): Remove slot 8.
20036         * rtl.h (struct rtx_def): Document new uses of jump and call fields.
20037         (LABEL_ALTERNATE_NAME): Delete.
20038         (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
20039         * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
20041         * final.c (output_alternate_entry_point): New.
20042         (final_scan_insn): Use it instead of
20043         ASM_OUTPUT_ALTERNATE_LABEL_NAME.  Do not consider possibility
20044         of a case label being an alternate entry point.
20046         * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
20047         * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
20048         Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
20049         (field deleted).
20050         * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
20052         * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
20053         LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
20054         * doc/tm.texi: Delete documentation of
20055         ASM_OUTPUT_ALTERNATE_LABEL_NAME.
20057 2002-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
20059         * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
20060         (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
20061         (LINK_SPEC): Define.
20062         (STARTFILE_SPEC): Define.
20063         (ENDFILE_SPEC): Define.
20065         * config/mips/iris6-o32.h (LINK_SPEC): Move ...
20066         * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
20068         * config/mips/iris6-o32-gas.h: New file.
20069         * config.gcc (mips-sgi-irix6*o32): Use it.
20071         * config/mips/t-iris5-gas: New file.
20072         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
20074 2002-07-19  Neil Booth  <neil@daikokuya.co.uk>
20076         * cppexp.c (ALWAYS_EVAL): Remove.
20077         (optab, reduce): Always evaluate.
20078         (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
20079         only if not skipping evaluation.
20081 2002-07-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
20083         * config/avr/avr.c (debug_hard_reg_set): Remove.
20085 2002-07-19  Chris Demetriou  <cgd@broadcom.com>
20087         * gcc.c (cpp_options): Include "%1" (cc1_spec).
20089 2002-07-19  Richard Henderson  <rth@redhat.com>
20091         * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
20093 2002-07-19  Alan Modra  <amodra@bigpond.net.au>
20095         * prefix.c (update_path): Don't zap single `.' path components
20096         unless followed by another `.' and fix typo last patch.
20098 2002-07-18  Neil Booth  <neil@daikokuya.co.uk>
20100         * cppexp.c (cpp_num_mul): Remove unused parameter.
20101         (UNARY, BINARY, OTHER, binary_handler): Remove.
20102         (ALWAYS_EVAL): New.
20103         (optab): Update.
20104         (reduce): Refactor to a large switch, don't use a function
20105         pointer.
20107 2002-07-18  Bo Thorsen  <bo@berlioz.suse.de>
20109         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
20111 Thu Jul 18 19:39:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
20113         * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
20114         (sh_expand_binop_v2sf): Likewise.
20115         * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
20116         (int_gpr_dest, trunc_hi_operand): New functions.
20117         * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
20118         trunc_hi_operand.
20119         (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
20120         * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
20121         (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
20122         (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
20123         (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
20124         (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
20125         (extendhisi2_media+1, extendqisi2_media+1): Likewise.
20126         (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
20127         (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
20128         (movsf_ie+1): Likewise.
20129         (loaddi_trunc): Use int_gpr_dest predicate.
20130         (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
20131         (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
20132         (casesi_worker_0+[12], casesi_worker): Likewise.
20133         (shcompact_preserve_incoming_args): Likewise.
20134         (mov_nop): Use any_register_operand predicate.
20135         (mperm_w0): Use trunc_hi_operand predicate.
20137 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20139         * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
20140         * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
20141         numbering.
20143 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20145         * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
20147 2002-07-18  Richard Henderson  <rth@redhat.com>
20149         PR optimization/7147
20150         * ifcvt.c (noce_get_condition): Make certain that the condition
20151         is valid at JUMP.
20153 Thu Jul 18 13:44:51 2002  J"orn Rennecke <joern.rennecke@superh.com>
20155         * sh.c (barrier_align, push): Shut up compiler warnings.
20156         (initial_elimination_offset,sh_media_init_builtins): Likewise.
20157         (reg_no_subreg_operand): Delete.
20159 2002-07-17  Bo Thorsen  <bo@suse.de>
20161         * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
20162         (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
20163         (STARTFILE_SPEC): Remove hardcoded library paths.
20164         (ENDFILE_SPEC): Likewise.
20166 Thu Jul 18 09:38:59 CEST 2002  Jan Hubicka  <jh@suse.cz>
20168         * gcse.c (hoist_expr_reaches_here_p):  Stop once expr_bb is reached.
20170         * gcse.c (try_replace_reg): Do not return false positives.
20172 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
20174         * prefix.c: (update_path): Strip ".." components when prior dir
20175         doesn't exist.  Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
20177         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
20178         (ASM_OUTPUT_REG_POP): Likewise.
20180 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
20182         * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
20183         adjustments to first_reg for profiling case.
20184         (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
20185         Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
20186         Save static chain reg to sp + 12 on ABI_AIX_NODESC.
20187         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
20188         (ASM_OUTPUT_REG_POP): Define.
20189         * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
20190         (ASM_OUTPUT_REG_POP): Undef.
20192 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
20194         * cpplib.c (do_sccs): Handle #sccs on all systems.
20195         * system.h (SCCS_DIRECTIVE): Poison.
20196         * config/darwin.h, config/freebsd.h, config/netbsd.h,
20197         config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
20198         config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
20199         config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
20200         config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
20201         config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
20202         config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
20203         config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
20204         Remove all references to SCCS_DIRECTIVE.
20205         * doc/cpp.texi, doc/tm.texi: Update.
20207 Wed Jul 17 19:23:32 2002  J"orn Rennecke <joern.rennecke@superh.com>
20209         * regrename.c (maybe_mode_change): New function.
20210         (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
20212 2002-07-17  Rodney Brown  <rbrown64@csc.com.au>
20214         * config/i386/i386.c (ix86_expand_int_movcc): In the general case
20215         suppress addition when either ct or cf are zero.
20217 2002-07-17  Eric Botcazou <ebotcazou@multimania.com>
20218             Glen Nakamura <glen@imodulo.com>
20220         PR optimization/6713
20221         * loop.c (loop_givs_rescan): Explicitly delete the insn that
20222         sets a non-replaceable giv after issuing the new one.
20224 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
20226         * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
20227         eval_token): Clarify and correct use of "bool" variables.
20228         * cpplib.h (struct cpp_options): Similarly.
20229         * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
20230         * cpptrad.c (recursive_macro): Similarly.
20232 Wed Jul 17 17:08:06 2002  J"orn Rennecke <joern.rennecke@superh.com>
20234         * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
20235         SHmedia code.
20237         * sh.md (cmpgtudi_media): Remove spurious @.
20239         * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
20240         * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
20242         * config/sh/lib1funcs.asm (init_trampoline): New entry point.
20243         * sh-protos.h (sh_initialize_trampoline): Declare.
20244         * sh.c (sh_initialize_trampoline): New function.
20245         * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
20246         (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
20247         (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
20248         (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
20249         * sh.md (initialize_trampoline, double_shori): New patterns.
20250         (initialize_trampoline_compact): Likewise.
20251         (shmedia32_initialize_trampoline_big): Remove.
20252         (shmedia32_initialize_trampoline_little): Likewise.
20254         * sh-protos.h (binary_float_operator): Remove declaration.
20255         (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
20256         * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
20257         (unary_float_operator, sh_expand_unop_v2sf): New functions.
20258         (sh_expand_binop_v2sf): Likewise.
20259         (zero_vec_operand): Delete.
20260         (SH_BLTIN_UDI): New builtin shared signature define.  Renumbered
20261         all non-shared ones.
20262         (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
20263         Enable nsb and byterev.
20264         * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
20265         (HARD_REGNO_MODE_OK): Allow TImode in fp regs.  Allow V2SFmode
20266         in general regs.
20267         (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
20268         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.  Remove clause for
20269         immediate operands.
20270         (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
20271         Add DF_HI_REGS.
20272         (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
20273         lowpart fp regs - only for big endian for now.
20274         (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
20275         when FPU is in use.
20276         (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
20277         (LOAD_EXTEND_OP): NIL for SImode.
20278         (REGISTER_MOVE_COST): Add DF_HI_REGS.  Const for moves between
20279         general and fp registers is 4.
20280         PREDICATE_CODES: Amend binary_float_operator entry.
20281         Remove zero_vec_operand.  Add unary_float_operator.
20282         * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
20283         subreg SET_DEST.
20284         (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
20285         (truncdiqi2): Do sign extension.
20286         (movsi_media, movdi_media): Allow to use r63 to an fp register.
20287         (movdf_media, movsf_media): Likewise.
20288         (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
20289         Collapse to one define_insn_and_split.  Allow immediate sources.
20290         (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
20291         (movv4sf_i): Allow immediate sources.  Use simplify_gen_subreg.
20292         (movv4sf): Allow immediate sources.
20293         (movsf_media_nofpu+1): Don't split moves to FP registers.
20294         (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
20295         (movv8qi_i+3): Check against CONST0_RTX.
20296         (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
20297         for input and output operands.  Fix argument 3 to gen_mextr_rl.
20298         (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
20299         (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
20300         (mshf0_w, fipr, ftrv): Likewise.
20301         (mshfhi_l_di): Now insn_and_split.  Can handle FP regs.
20303 2002-07-17  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
20305         * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
20306         NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively.  All uses changed.
20307         * arm.c: Similarly.
20309 2002-07-17  Richard Sandiford  <rsandifo@redhat.com>
20311         * config/mips/mips-protos.h (mips_sign_extend): Declare.
20312         * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
20313         (TARGET_SWITCHES): Remove debugh.
20314         (ISA_HAS_TRUNC_W): New macro.
20315         (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
20316         (PREDICATE_CODES): Remove se_nonimmediate_operand.
20317         * config/mips/mips.c (movdi_operand): Allow sign-extensions of
20318         any SImode move_operand.
20319         (se_nonimmediate_operand): Remove.
20320         (mips_sign_extend): New.
20321         (mips_move_2words): Use it for sign-extended source operands.
20322         (override_options): Allow integers to be put into single FPRs.
20323         (mips_secondary_reload_class): Handle integers in float registers.
20324         * config/mips/mips.md (extendsidi2): Turn into a define_expand.
20325         (fix_truncsfsi2, fix_truncdfsi2): Likewise.
20326         (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
20327         (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
20328         (fix_truncdfdi2): Provide only a single alternative, in which the
20329         integer is in a float register.  Depend on TARGET_FLOAT64 rather
20330         than TARGET_64BIT.
20331         (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
20332         (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
20333         (movdi_internal2): Don't allow the source operand to be sign-extended.
20334         Add alternatives for float registers.
20335         (*movdi_internal2_extend): New.  Version of movdi_internal2 that
20336         allows sign-extension.
20337         (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
20338         (movsi_internal2): Rename to movsi_internal.  Add alternatives for
20339         float registers.  Remove TARGET_DEBUG_H_MODE test.
20340         (movhi_internal1): Rename to movhi_internal.  Don't check
20341         TARGET_DEBUG_H_MODE.  Fix transposed *d and *f source constraints.
20342         (movqi_internal1): Rename to movqi_internal and remove
20343         TARGET_DEBUG_H_MODE dependency.
20344         (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
20346 2002-07-16  Jim Wilson  <wilson@redhat.com>
20348         * toplev.c (lang_dependent_init): Create function context for
20349         init_expr_once.
20351 2002-07-16  Hans-Peter Nilsson  <hp@axis.com>
20353         * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
20354         --gc-sections if -r.
20355         * config/cris/cris.h: Ditto.
20357 2002-07-16  Rodney Brown  <rbrown64@csc.com.au>
20359         * config/i386/i386.c (ix86_expand_int_movcc): In the case where
20360         the comparison directly gives a mask suppress addition when cf is
20361         zero by complementing the mask.
20363 2002-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
20365         * Makefile.in: Delete references to enquire.
20366         * enquire.c: Move to contrib.
20368 2002-07-16  Stan Shebs  <shebs@apple.com>
20370         * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
20371         config/rs6000/darwin.h.
20372         (ASM_OUTPUT_SKIP): Ditto.
20373         (TEXT_SECTION_ASM_OP): Ditto.
20374         (DATA_SECTION_ASM_OP): Ditto.
20375         (ASM_APP_ON): Define.
20376         (ASM_APP_OFF): Define.
20377         * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
20378         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
20380         * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
20381         (machopic_function_base_name): Declare result to be const.
20382         (machopic_non_lazy_ptr_name): Ditto.
20383         (machopic_stub_name): Ditto.
20384         * config/darwin-protos.h: Ditto for the prototypes.
20386 Wed Jul 17 00:22:39 CEST 2002  Jan Hubicka  <jh@suse.cz>
20388         * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
20390 Wed Jul 17 00:20:48 CEST 2002  Jan Hubicka  <jh@suse.cz>
20392         * i386.md (prefetch): Fix for 64bit mode.
20393         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
20395 Wed Jul 17 00:19:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
20397         * i386.h (MACHINE_DEPENDENT_REORG): New macro.
20398         * i386.c (x86_machine_dependent_reorg): New function.
20399         * i386-protos.h (x86_machine_dependent_reorg): Declare.
20401 2002-07-16  Zack Weinberg  <zack@codesourcery.com>
20403         * builtins.c (std_expand_builtin_va_start): Remove unused
20404         first argument.
20405         (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
20406         std_expand_builtin_va_start with just two arguments.
20407         * expr.h: Update prototypes.
20409         * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
20410         arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
20411         i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
20412         m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
20413         mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
20414         rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
20415         s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
20416         sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
20417         xtensa-protos.h, xtensa.h, xtensa.c:  Remove unused first
20418         argument from all implementations of EXPAND_BUILTIN_VA_START
20419         and all uses of std_expand_builtin_va_start.
20421 Tue Jul 16 19:32:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
20423         * regrename.c (copy_value): Don't record high part copies.
20425 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
20427         * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
20428         (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
20429         * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
20431 2002-07-16  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
20433         * doc/invoke.texi (NS32K Options): Document -mieee-compare option
20435         * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
20436         into addsi3 using register class "x" and "y".
20438         * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
20439         "earlyclobber" constraint modifier for some alternative.
20441         * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
20442         (*ble, *blt): Flag to indicate bCOND and sCOND should check for
20443         unordered.
20444         config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
20446         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
20447         (TARGET_SWITCHES): Add -mieee-compare option.
20448         (OVERRIDE_OPTIONS): 32332 is a subset of
20449         32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
20450         (TARGET_SWITCHES): Fix description of bitfield option.
20451         * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
20452         -mieee-compare option. Remove 32332 flag.
20454 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
20456         * explow.c (convert_memory_address): Remove special handling
20457         when POINTERS_EXTEND_UNSIGNED < 0.
20458         * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
20459         (movedi_symbolic): Fix typo.
20460         (load_fptr): Remove mode restriction so it works for SI and DI.
20461         (load_fptr_internal1): Ditto.
20462         (load_gprel): Ditto.
20463         (load_symptr_internal1): Ditto.
20464         (call_pic): Ditto.
20465         * config/ia64.c (call_operand): Modify mode check.
20466         (ia64_expand_load_address): Handle DI and SI addresses and symbols.
20467         (ia64_expand_move): Ditto.
20468         (ia64_assemble_integer): Handle SImode function pointers.
20469         (ia64_expand_fetch_and_op): Handle SImode mem addresses.
20470         (ia64_expand_op_and_fetch): Ditto.
20471         (ia64_expand_compare_and_swap): Ditto.
20472         (ia64_expand_lock_test_and_set): Ditto.
20473         (ia64_expand_lock_release): Ditto.
20475 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
20477         * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
20479 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
20480             Richard Earnshaw  <rearnsha@arm.com>
20482         * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
20483         CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF.  Simplify logic.
20485 2002-07-16  Richard Earnshaw  <rearnsha@arm.com>
20487         * arm.md (stack_tie): New insn.  Use an idiom that the alias code
20488         understands to be a memory clobber.
20489         * arm.c (arm_expand_prologue): Use it.
20491 2002-07-16  Daniel Berlin  <dberlin@dberlin.org>
20493         * ra-rewrite.c: #include reload.h, insn-config.h
20494         * ra-build.c: #include reload.h
20495         * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
20496         depend on reload.h, insn-config.h.
20498 Tue Jul 16 11:57:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
20500         * expr.c (emit_move_insn_1): Handle arbitrary moves that are
20501         the same size as a word.
20503         * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
20504         BYTES_BIG_ENDIAN into account.
20506 Tue Jul 16 12:22:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
20508         * i386.md (prefetch): Fix for 64bit mode.
20509         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
20511         * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
20513 2002-07-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
20515         * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
20517 2002-07-15  Zack Weinberg  <zack@codesourcery.com>
20519         * ginclude/varargs.h: Replace with stub which issues #error.
20520         * ginclude/stdarg.h: __builtin_stdarg_start is renamed
20521         __builtin_va_start.
20523         * builtins.def (BUILT_IN_VARARGS_START): Delete.
20524         (BUILT_IN_VA_START): New.
20525         * builtins.c (expand_builtin_va_start): Eliminate first
20526         argument and code to implement pre-ISO varargs.
20527         (std_expand_builtin_va_start): Ignore first argument; it is
20528         always 1.
20529         (expand_builtin): Handle BUILT_IN_VA_START and
20530         BUILT_IN_STDARG_START identically.  Delete
20531         BUILT_IN_VARARGS_START case.
20533         * function.c (assign_parms): Delete hide_last_arg and all
20534         its uses.
20535         (mark_varargs): Delete function.
20536         * function.h (struct function): Delete 'varargs' bit.
20537         (current_function_varargs): Delete macro.
20538         * tree.h: Don't declare mark_varargs.
20540         * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
20541         (c_expand_body): Don't call mark_varargs.
20542         * c-objc-common.c: Handle BUILT_IN_VA_START and
20543         BUILT_IN_STDARG_START identically.  Delete
20544         BUILT_IN_VARARGS_START case.
20545         * c-tree.h: Don't declare c_mark_varargs.
20546         * c-parse.in: Remove grammar rules for '&...' (which has been
20547         commented out since before 2.7.2) and for '...' in K+R
20548         argument declarations.
20550         * builtins.c, function.c, integrate.c, sibcall.c,
20551         config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
20552         config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
20553         config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
20554         config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
20555         config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
20556         config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
20557         config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
20558         config/stormy16/stormy16.c: Delete all references to
20559         current_function_varargs, and code predicated on that flag.
20561         * config/alpha/alpha.c (alpha_va_start),
20562         config/arc/arc.c (arc_va_start),
20563         config/i386/i386.c (ix86_va_start),
20564         config/mips/mips.c (mips_va_start),
20565         config/mn10300/mn10300.c (mn10300_va_start),
20566         config/rs6000/rs6000.c (rs6000_va_start),
20567         config/s390/s390.c (s390_va_start),
20568         config/sh/sh.c (sh_va_start),
20569         Ignore first argument; it is always 1.
20571         * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
20572         * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
20573         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
20574         Delete m68hc11_va_start.
20575         * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
20576         No need to define EXPAND_BUILTIN_VA_START.
20578         * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
20579         doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
20581 2002-07-15  Eric Botcazou  <ebotcazou@multimania.com>
20583         PR optimization/7153
20584         * regmove.c (optimize_reg_copy_3): Don't optimize if the register
20585         dies in more than one insn.
20587 2002-07-15  Jason Thorpe  <thorpej@wasabisystems.com>
20589         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
20591 2002-07-15  Michael Matz  <matz@suse.de>,
20592             Daniel Berlin  <dberlin@dberlin.org>,
20593             Denis Chertykov  <denisc@overta.ru>
20595         Add a new register allocator.
20597         * ra.c: New file.
20598         * ra.h: New file.
20599         * ra-build.c: New file.
20600         * ra-colorize.c: New file.
20601         * ra-debug.c: New file.
20602         * ra-rewrite.c: New file.
20604         * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
20605         (ra-rewrite.o): New .o files for libbackend.a.
20606         (GTFILES): Add basic-block.h.
20608         * toplev.c (flag_new_regalloc): New.
20609         (f_options): New option "new-ra".
20610         (rest_of_compilation): Call initialize_uninitialized_subregs()
20611         only for the old allocator.  If flag_new_regalloc is set, call
20612         new allocator, instead of local_alloc(), global_alloc() and
20613         friends.
20615         * doc/invoke.texi: Document -fnew-ra.
20616         * basic-block.h (FOR_ALL_BB): New.
20617         * config/rs6000/rs6000.c (print_operand): Write small constants
20618         as @l+80.
20620         * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
20621         (df_reg_table_realloc): Make size at least as large as max_reg_num().
20622         (df_insn_table_realloc): Size argument now is absolute, not relative.
20623         Changed all callers.
20625         * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
20626         * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
20628         2002-06-20  Michael Matz  <matz@suse.de>
20630         * df.h (struct ref.id): Make unsigned.
20631         * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
20633         2002-06-13  Michael Matz  <matz@suse.de>
20635         * df.h (DF_REF_MODE_CHANGE): New flag.
20636         * df.c (df_def_record_1, df_uses_record): Set this flag for refs
20637         involving subregs with invalid mode changes, when
20638         CLASS_CANNOT_CHANGE_MODE is defined.
20640         2002-05-07  Michael Matz  <matz@suse.de>
20642         * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
20644         2002-05-03  Michael Matz  <matz@suse.de>
20646         * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
20648         Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>
20650         * regclass.c (regclass): Work with all regs which have sets or
20651         refs.
20652         (reg_scan_mark_refs): Count regs inside (clobber ...).
20654         2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>
20656         * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
20657         (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
20658         add new refs.
20659         (df_bb_refs_update): Don't clear insns_modified here, ...
20660         (df_analyse): ... but here.
20662         * sbitmap.c (dump_sbitmap_file): New.
20663         (debug_sbitmap): Use it.
20665         * sbitmap.h (dump_sbitmap_file): Add prototype.
20667         2001-08-07  Daniel Berlin  <dan@cgsoftware.com>
20669         * df.c (df_insn_modify): Grow the UID table if necessary, rather
20670         than assume all emits go through df_insns_modify.
20672         2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
20674         * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
20675         increase REG_N_REFS (like flow does), so that regclass doesn't
20676         think a reg is useless, and thus, not calculate a class, when it
20677         really should have.
20679         2001-01-28  Daniel Berlin  <dberlin@redhat.com>
20681         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
20682         dataflow analysis.
20684 2002-07-15  Jakub Jelinek  <jakub@redhat.com>
20686         PR middle-end/7245
20687         * config/i386/i386.c (const_int_1_31_operand): New.
20688         * config/i386/i386.h (PREDICATE_CODES): Add it.
20689         * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
20690         ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
20691         lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
20693 2002-07-14  Alan Modra  <amodra@bigpond.net.au>
20695         PR target/7282
20696         * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
20697         (floatunssidf2): Likewise.
20698         (floatsidf_ppc64): New insn_and_split.
20699         (floatunssidf_ppc64): Likewise.
20701 2002-07-14  Andreas Jaeger  <aj@suse.de>
20703         * config.gcc (sh64): Remove unused
20704         target_requires_64bit_host_wide_int.
20706 2002-07-12  Roger Sayle  <roger@eyesopen.com>
20708         * expr.c [CLEAR_RATIO]: New macro defining the maximum number
20709         of move instructions to use when clearing memory, c.f. MOVE_RATIO.
20710         [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
20711         whether clear_by_pieces should be used to clear storage.
20712         (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
20714         * doc/tm.texi: Document these two new target macros.
20716 2002-07-12  Stephane Carrez  <stcarrez@nerim.fr>
20718         * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
20719         the scratch register.
20720         ("*movhi2_push"): Accept Z_REG because a split pattern can make use
20721         of it, forbid reload to use it.
20723 2002-07-12  Marek Michalkiewicz  <marekm@amelek.gda.pl>
20725         * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
20726         usage on 64-bit hosts, return value was truncated to 32 bits.
20728 Fri Jul 12 00:49:36 2002  J"orn Rennecke <joern.rennecke@superh.com>
20730         * simplify-rtx.c (simplify_subreg): Handle floating point
20731         CONST_DOUBLEs.  When an integer subreg of a smaller mode than
20732         the element mode is requested, compute a subreg with an
20733         integer mode of the same size as the element mode first.
20735 Thu Jul 11 22:02:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
20737         * combine.c (try_combine): When converting a paradoxical subreg
20738         to an extension, take LOAD_EXTEND_OP into account.
20740 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
20742         * config.gcc (mips-sgi-irix6*o32): New configuration.
20744         * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
20745         configurations.
20746         * configure: Regenerate.
20748         * config/mips/iris6-o32-as.h: New file.
20749         * config/mips/iris6-o32.h: New file.
20751         * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
20752         (NM_FLAGS): Define.
20753         (HAVE_AS_SHF_MERGE): Undefine.
20755         * config/mips/t-iris5-as: New file.
20756         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
20758         * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
20759         SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
20760         SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
20761         dp-bit.c, fp-bit.c): Move ...
20762         * config/mips/t-iris5-6: ... here.
20763         New file, shared by IRIX 5 and IRIX 6.
20764         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
20765         mips-sgi-irix5*): Use it.
20767         * config/mips/iris6.h: Remove duplicate comment.
20769         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
20770         !TARGET_IRIX6]: Define.
20771         (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
20773         * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
20775 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20777         * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
20778         and delete code to force constant to register.
20779         * pa-protos.h (adddi3_operand): Add prototype.
20780         * pa.c (adddi3_operand): New function.
20782 2002-07-11  Roger Sayle  <roger@eyesopen.com>
20784         * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
20785         non-ANSI builtin functions.
20787 Thu Jul 11 11:31:12 2002  J"orn Rennecke <joern.rennecke@superh.com>
20789         * rtl.h (gen_rtx_CONST_VECTOR): Declare.
20790         * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
20791         * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
20792         (gen_const_vector_0): Use it.
20794 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20796         * pa.md (adddi3): For 32-bit targets, force constants to a register
20797         if they don't fit in an 11-bit immediate.  Change insn predicate to
20798         arith11_operand.  Remove comment.
20799         * pa.c (cint_ok_for_move): Fix comment.
20800         (emit_move_sequence):  Don't directly split DImode constants on 32-bit
20801         targets.
20803 2002-07-11  Tim Josling  <tej@melbpc.org.au>
20805         Remove front end hard coding from gengtype.c.
20807         * Makefile.in
20808         (STAGESTUFF): add gtyp-gen.h
20809         (GTFILES): Remove front end specific files.
20810         (GTFILES_FILES_LANGS): New, from configure..
20811         (GTFILES_FILES_FILES): Likewise.
20812         (GTFILES_LANG_DIR_NAMES): Likewise.
20813         (GTFILES_SRCDIR): Likewise.
20814         (gtyp-gen.h): Build from configure information.
20815         (s-gtype): Remove command line parameters from gengtype.
20816         (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
20817         (mostlyclean): Delete files generated by and for gengtype.
20819         * c-config-lang.in: New file.
20821         * configure.in (all_gtfiles_files_langs): New. Accumulate files
20822         for each language.
20823         (all_gtfiles_files_files): New. Accumulate language for each file
20824         accumulated.
20825         (gtfiles): Pick up value for C.
20826         (srcdir): AC-SUBST this variable.
20827         (all_gtfiles_files_langs): AC-SUBST this variable.
20828         (all_gtfiles_files_files): AC-SUBST this variable.
20830         * configure: Regenerate.
20832         * gengtype-lex.l (parse_file): Make parameter const.
20834         * gengtype.c (toplevel): include gtyp-gen.h.
20835         (BASE_FILE_<language> unnamed enum): Delete.
20836         (lang_names): Delete (replaced by gtyp-gen.h)
20837         (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
20838         all references.
20839         (NUM_GT_FILES): New.
20840         (NUM_LANG_FILES): New.
20841         (srcdir_len): New.
20842         (NUM_BASE_FILES): Change calculation.
20843         (open_base_files): Change prototype to avoid warning.
20844         (startswith): Delete.
20845         (get_file_basename): Iterate through generated language list not
20846         hard coded list.
20847         (get_base_file_bitmap): Use generated list of files and languages.
20848         (close_output_files): Add prototype to rmove warning.
20849         (main): Iterate through list of generated files from gtyp-gen.h
20850         rather than command line paramaters.  Ignore duplicated file
20851         names.
20853         * gengtype.h (parse_file): Amend prototype for const parameter.
20855         * doc/sourcebuild.texi: Document gtfiles variable.
20857         * doc/gty.texi: Document changes to gtfiles variable for front
20858         ends.
20860         * objc/config-lang.in (gtfiles): Add files needed for objc front
20861         end.
20863 2002-07-10  Roger Sayle  <roger@eyesopen.com>
20865         PR c/2454
20866         * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
20867         to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.
20869 2002-07-10  Roger Sayle  <roger@eyesopen.com>
20870             Zack Weinberg <zack@codesourcery.com>
20872         * builtins.def: Make the argument types of abort and exit
20873         independent of the front-end.
20875 2002-07-11  Alan Modra  <amodra@bigpond.net.au>
20877         * config/rs6000/linux64.h (ASM_SPEC): Define.
20879 2002-07-10  Aldy Hernandez  <aldyh@redhat.com>
20881         * config/rs6000/rs6000.c (emit_frame_save): New.
20882         (rs6000_frame_related): Replace reg2 before reg.
20883         (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
20884         and eh_return registers.
20886 2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>
20888         Revert all patches for optimization of Complex .op. Real.
20889         * complex_part_zero_p: Remove
20890         * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
20891         with x.
20892         * expand_cmplxdiv_wide: Ditto.
20893         * expand_binop: Ditto.
20895 2002-07-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
20897         * config/avr/avr.md: Fix two 0x80000000 constants to make them
20898         negative also on 64-bit hosts.
20900         Default to -fno-reorder-blocks when optimizing for size.
20901         * config/avr/avr-protos.h (avr_optimization_options): Declare.
20902         * config/avr/avr.c (avr_optimization_options): New function.
20903         * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
20905         Optimize returning from simple functions.
20906         * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
20907         * config/avr/avr.c (avr_simple_epilogue): New function.
20908         * config/avr/avr.md (return): New insn.
20910 2002-07-10  Douglas B Rupp  <rupp@gnat.com>
20912         * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
20913         HAS_INIT_SECTION to protection.
20915 2002-07-10  Mark Mitchell  <mark@codesourcery.com>
20917         * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
20918         deprecated.
20920 Wed Jul 10 19:50:03 2002  J"orn Rennecke <joern.rennecke@superh.com>
20922         * combine.c (gen_lowpart_for_combine): Handle vector modes.
20923         Supply non-VOID mode to simplify_gen_subreg.
20925 Wed Jul 10 18:48:55 CEST 2002  Jan Hubicka  <jh@suse.cz>
20927         * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
20929 2002-07-10  Jeffrey A Law  <law@redhat.com>
20931         * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
20932         as appropriate.
20934         * mn10200.c (expand_epilogue): Fix test to determine which scratch
20935         register to use.
20937 Wed Jul 10 16:06:00 2002  J"orn Rennecke <joern.rennecke@superh.com>
20939         * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
20940         Get mode from dest.
20941         If simplify_gen_subreg fails, try next equivalent.
20943 2002-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
20945         * diagnostic.h: #include location.h
20946         (location_t): Move definition to..
20947         * location.h: ... here.  New file.
20948         * tree.h: #include location.h
20949         (DECL_SOURCE_LOCATION): New macro.
20950         (DECL_SOURCE_FILE): Use.
20951         (DECL_SOURCE_LINE): Likewise.
20952         (struct tree_decl): REplace filename and linenum with locus.
20953         * Makefile.in (TREE_H): add location.h
20954         (diagnostic.o): Depends on gt-location.h
20955         (gt-location.h): Depends on s-gtype
20957 2002-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
20959         * config/rs6000/aix.h: Convert CPP_PREDEFINES to
20960         TARGET_OS_CPP_BUILTINS.
20961         * config/rs6000/aix31.h: Likewise.
20962         * config/rs6000/aix41.h: Likewise.
20963         * config/rs6000/aix43.h: Likewise.
20964         * config/rs6000/aix51.h: Likewise.
20965         * config/rs6000/beos.h: Likewise.
20966         * config/rs6000/darwin.h: Likewise.
20967         * config/rs6000/eabi.h: Likewise.
20968         * config/rs6000/eabisim.h: Likewise.
20969         * config/rs6000/linux.h: Likewise.
20970         * config/rs6000/linux64.h: Likewise.
20971         * config/rs6000/lynx.h: Likewise.
20972         * config/rs6000/mach.h: Likewise.
20973         * config/rs6000/rtems.h: Likewise.
20974         * config/rs6000/sysv4.h: Likewise.
20975         * config/rs6000/vxppc.h: Likewise.
20977 2002-07-09 Devang Patel <dpatel@apple.com>
20978         * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
20979         Do not allow ObjC objects as a parameter type for Objective-C methods.
20980         My previous patch restricted  'struct' also.
20982 2002-07-09  Neil Booth  <neil@daikokuya.co.uk>
20984         * cpperror.c (cpp_error): Default to directive_line within
20985         directives here.
20986         * cppexp.c (cpp_interpret_integer): Only use traditional
20987         number semantics in directives.
20988         * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
20989         (do_include_common): Similarly.
20990         * cpptrad.c (scan_out_logical_line): Implement accurate
20991         quoting of <> in #include.
20992         * doc/cpp.texi: Update.
20994 Tue Jul  9 22:37:44 2002  Stephen Clarke <stephen.clarke@superh.com>
20995                           J"orn Rennecke <joern.rennecke@superh.com>
20997         * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
20998         * sh.md (attribute issues): Replace with:
20999         (attribute pipe_model).  All users changed.
21000         (attribute type): Change pt / ptabs to pt_media / ptabs_media.
21001         All users changed.
21002         (function units sh5issue, sh5fds): New.
21003         (attribute is_mac_media): New.
21004         (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
21005         (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
21006         (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
21007         (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
21008         (call_media, call_value_media, sibcall_media): Likewise.
21009         (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
21010         (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
21011         (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
21012         (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
21013         (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
21014         (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
21015         (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
21016         (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
21017         (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
21018         (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
21019         (truncdfsf2_media): Likewise.
21020         (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
21021         (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
21023 Tue Jul  9 21:39:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
21025         * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
21026         * sh.c (general_extend_operand, inqhi_operand): New functions.
21027         * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
21028         alternatives using 'N' modifier.  Add type.
21029         (adddi3z_media): Likewise.  Enable generator function generation.
21030         (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
21031         exact predicates / constraints.  Add type.
21032         (subsi3): Allow 0 for SHMEDIA.
21033         (udivsi3_i4_media): Use match_operand for input values
21034         rather than hard registers.
21035         (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
21036         unnecessarily through hard registers.  Keep copies of pseudo
21037         registers outside of the libcall sequence.
21038         (mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
21039         (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
21040         (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
21041         (extendhidi2, extendqidi2): Likewise.
21042         (andsi3_compact): Name.
21043         (andcdi3): Enable generator function generation.
21044         (zero_extendhisi2, zero_extendqisi2): Rename to
21045         (zero_extendhisi2_compact, zero_extendqisi2_compact).
21046         (extendhisi2, extendqisi2): Rename to
21047         (extendhisi2_compact, extendqisi2_compact).
21048         (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
21049         (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
21050         (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
21051         (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
21052         (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
21053         (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
21054         (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
21055         (shmedia32_initialize_trampoline_big): Likewise.
21056         (shmedia32_initialize_trampoline_little): Likewise.
21057         (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
21058         (negdi2): Remove spurious T clobber.
21059         (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
21060         (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
21061         (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
21062         (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
21063         (ic_invalidate_line_media): Write back data cache before invalidating
21064         instruction cache.  Add type.
21065         (movsf_media): Sign-extend when the destination is a general
21066         purpose register.  Add type.
21067         (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
21068         (casesi_worker_0+1): Only increment ref count for proper label.
21069         (casesi_worker_0+2): Likewise.
21071 2002-07-09  Mark Mitchell  <mark@codesourcery.com>
21073         * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
21075 2002-07-09  Steve Ellcey  <sje@cup.hp.com>
21077         * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
21078         from Pmode to ptr_mode.
21079         (get_exception_pointer): Ditto.
21080         (connect_post_landing_pads): Ditto.
21081         (dw2_build_landing_pads): Ditto.
21083 2002-07-08  Steve Ellcey  <sje@cup.hp.com>
21084         * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
21085         * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
21086         (handle_pragma_redefine_extname): Change to use new function.
21088 2002-07-08  Roger Sayle  <roger@eyesopen.com>
21090         * combine.c (combine_simplify_rtx): Add an explicit cast
21091         to avoid signed/unsigned comparison warning.
21092         (simplify_if_then_else): Likewise.
21093         (extended_count): Likewise.
21094         (simplify_shift_const): Likewise.
21095         (simplify_comparison): Likewise.
21097 2002-07-08  Richard Sandiford  <rsandifo@redhat.com>
21099         * config/mips/mips.md: Add imadd type.  Update scheduler description
21100         to use imadd as well as imul.
21101         (*mul_acc_si, *madsi): Change imul alternatives to imadd.
21102         (*mul_acc_di, *mul_acc_64bit_di): Likewise.
21103         (*mul_sub_si): Likewise for first alternative.  Change second
21104         alternative from imul to multi.
21106 2002-07-07  Neil Booth  <neil@daikokuya.co.uk>
21108         * c-common.c (c_common_post_options): Update prototype;
21109         don't init backends if preprocessing only.
21110         * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
21111         * langhooks.h (struct lang_hooks): Update post_options to
21112         return a boolean.
21113         * toplev.c (parse_options_and_default_flags, do_compile,
21114         lang_independent_init): Update prototypes.  Allow the
21115         front end to specify that there is no need to initialize
21116         the back end.
21117         (general_init): Move call to hex_init here...
21118         (toplev_main): ...from here.  Pass flag for back end init
21119         suppression.
21121 Sun Jul  7 20:38:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
21123         * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
21124         (PREDICATE_CODES): Add entries for equality_comparison_operator,
21125         greater_comparison_operator and less_comparison_operator.
21126         * sh.c (print_operand): Add '\'' code.  Make 'o' handle
21127         more operators.
21128         (equality_comparison_operator): New function.
21129         (greater_comparison_operator, less_comparison_operator): Likewise.
21130         * sh.md (beq_media_i): Disable generator function generation.
21131         Use match_operator to handle a whole class of comparisons.  Add
21132         modifier in output template to provide branch prediction.  Add type.
21133         (bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
21134         (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
21135         (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
21136         (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
21138 2002-07-07  Hans-Peter Nilsson  <hp@bitrange.com>
21140         Emit MMIX function prologue and epilogue as rtl.
21141         * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
21142         not unprototyped get_hard_reg_initial_val.
21143         ("call_value", "nonlocal_goto_receiver"): Ditto.
21144         ("return"): Make define_expand.  Move real insn to...
21145         ("*expanded_return"): New pattern.
21146         ("prologue", "epilogue"): New define_expands.
21147         * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
21148         (struct machine_function): New member in_prologue.
21149         (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
21150         (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
21151         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
21152         (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
21153         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
21154         (LOCAL_REGNO): Define.  Adjust comment.
21155         * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
21156         Consider regs_ever_live[MMIX_rJ_REGNUM], not just
21157         leaf_function_p.
21158         (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
21159         the prologue.
21160         (mmix_target_asm_function_prologue): Make static.  Just mark that
21161         the prologue is being emitted.  Move guts to...
21162         (mmix_expand_prologue): New function.  Adjust for emitting
21163         prologue as rtl.  For sizes, use HOST_WIDE_INT only.
21164         (mmix_target_asm_function_epilogue): Make static.  Simply emit a
21165         \n.  Move guts to...
21166         (mmix_expand_epilogue): New function.  Adjust for emitting
21167         epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
21168         (mmix_target_asm_function_end_prologue): Mark that the prologue
21169         has ended.
21170         (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
21171         (mmix_conditional_register_usage): Improve comments.
21172         (mmix_local_regno): New function.
21173         (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
21174         * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
21175         (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
21176         (mmix_get_hard_reg_initial_val): Ditto.
21178 2002-07-06  Andreas Jaeger  <aj@suse.de>
21180         * toplev.c (set_fast_math_flags): Don't use ISO C style function
21181         definitions.
21182         * gengtype.c (open_base_files): Likewise.
21183         (close_output_files): Likewise.
21184         * tracer.c (find_best_predecessor): Likewise.
21185         (find_best_successor): Likewise.
21186         (ignore_bb_p): Likewise.
21188 2002-07-05  Roger Sayle  <roger@eyesopen.com>
21190         PR c++/7099
21191         * builtin-attrs.def: Define new attribute lists for use in
21192         builtins.def.
21193         * builtins.def [DEF_BUILTIN]: Modify to take an additional
21194         ATTRS argument, an enumerated value defined in builtin-attrs.def
21195         that represents the attribute list for the builtins.  Modify
21196         all builtin functions to pass an appropriate attribute list.
21197         Specify "abort", "exit", "_exit" and "_Exit" builtins here with
21198         their required noreturn attributes.
21199         * tree.h (enum_builtin_function): Ignore the additional parameter
21200         to DEF_BUILTIN.
21201         * builtins.c (built_in_names): Likewise.
21202         * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
21203         argument with a tree representing the functions attribute list.
21204         Pass this "attrs" argument to builtin_function.  No longer handle
21205         the noreturn_p processing manually.
21206         (built_in_attributes): Move the definitions from builtin-attrs.def
21207         before c_common_nodes_and_builtins.
21208         (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
21209         DEF_BUILTIN, passing it to both builtin_function and the changed
21210         builtin_function_2.
21212         * doc/extend.texi: Document __builtin_abort, __builtin_exit,
21213         __builtin__exit and __builtin__Exit.
21215 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
21217         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
21218         QI mode registers in soft registers.
21219         ("zero_extendqihi2"): Do not take into account soft registers
21220         for register allocation (use '*' constraint).
21222 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
21224         * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
21225         it is dead.
21226         ("*ashrsi3"): Likewise.
21227         ("*lshrsi3"): Likewise.
21229 2002-07-05  Vladimir Makarov  <vmakarov@redhat.com>
21231         * genautomata.c (output_max_insn_queue_index_def): Take latencies
21232         into account.
21234 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
21236         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
21237         address computation and memory moves.
21239 2002-07-03  Mark Mitchell  <mark@codesourcery.com>
21241         PR c++/6706
21242         * dwarfout.c (output_reg_number): Fix warning message.
21243         (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
21244         before using it.
21246 2002-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
21248         * gcc/gcc.c (asm_debug): Move initialization ...
21249         (init_spec): ... here.
21251 2002-07-05  Nathan Sidwell  <nathan@codesourcery.com>
21253         * c-parse.in (extdef): Append ';'.
21254         (old_style_parm_decls): Append ';'.
21256 2002-07-04  Daniel Jacobowitz  <drow@mvista.com>
21258         * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
21259         gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
21260         to gcc_cv_as_gstabs_flag.
21261         * configure: Rebuilt.
21263 2002-07-04  Geoffrey Keating  <geoffk@redhat.com>
21265         * ggc.h (ggc_add_root): Document as obsolete.
21267 Thu Jul  4 07:58:01 2002  J"orn Rennecke <joern.rennecke@superh.com>
21269         * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
21270         (mshflo_w): Likewise.
21272 Thu Jul  4 07:36:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
21274         * simplify-rtx.c (simplify_subreg): Reduce problem of finding
21275         vector mode subregs of constants to finding integer mode
21276         subregs of constants.
21277         * cse.c (cse_insn): Use simplify_gen_subreg.
21278         * convert.c (convert_to_integer): Don't strip a NOP_EXPR
21279         From a vector mode expression of different size than the
21280         target mode.
21282 2002-07-03  Eric Christopher  <echristo@redhat.com>
21284         * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
21285         * config/mips/mips.h: Remove deprecated -m<processor> options
21286         and cc1_cpu_spec associated.
21287         (CONSTANT_ADDRESS_P): Fix last patch.
21288         (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
21289         * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
21290         sunge_sf): Remove.
21292 2002-07-03  Stan Shebs  <shebs@apple.com>
21294         * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
21295         (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
21296         (CPP_SPEC): Remove insertion of APPLE_CC definition.
21298 2002-07-03  Roger Sayle  <roger@eyesopen.com>
21300         * combine.c (struct_undo): Change types of recorded substitutions
21301         to be either "int" or "rtx", instead of "unsigned int" and "rtx".
21302         (do_SUBST_INT): Change types of the substitution from unsigned int
21303         to int, to avoid compilation warning from SUBST_INT's only caller.
21305         (make_extraction): Add cast to avoid compilation warning.
21306         (force_to_mode): Remove cast to avoid compilation warning.
21308 2002-07-03  Eric Botcazou  <ebotcazou@multimania.com>
21309             Jeff Law  <law@redhat.com>
21311         * i386.md (length_immediate attribute): Fix typo.
21312         (length_address attribute): Likewise.
21313         (modrm attribute): Set it to 0 for immediate call instructions.
21314         (jcc_1 pattern): Set modrm attribute to 0.
21315         (jcc_2 pattern ): Likewise.
21316         (jump pattern): Likewise.
21317         (doloop_end_internal pattern): Explicitly set length.
21318         (leave pattern): Fix typo.
21319         (leave_rex64 pattern): Likewise.
21321 2002-07-03  David Edelsohn  <edelsohn@gnu.org>
21323         * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
21324         in FPR as preference.
21325         (fctiwz): Same.
21326         (floatdidf2, fix_truncdfdi2): Same.
21327         (floatdisf2, floatditf2, fix_trunctfdi2): Same.
21328         (floatditf2): Same.
21329         (floatsitf2, fix_trunctfsi2): SImode in GPR.
21330         (ctrdi): Remove FPR alternative and splitter.
21332 2002-07-03  Will Cohen  <wcohen@redhat.com>
21334         * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
21336 Wed Jul  3 10:24:16 2002  J"orn Rennecke <joern.rennecke@superh.com>
21338         * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
21339         than UNITS_PER_WORD, unless this is little endian and the first unit
21340         in this word.  Let extract_bit_field decide how to load an element.
21341         Force arguments to matching mode.
21342         (expand_vector_unop): Likewise.
21344         * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
21345         consist of word_mode elements.
21346         * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
21347         BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
21348         (build_unary_op): Allow vector types for BIT_NOT_EPR.
21349         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
21350         CONST_VECTOR.
21351         * optabs.c (expand_vector_binop): Try to perform operation in
21352         smaller vector modes with same inner size.  Add handling of AND, IOR
21353         and XOR.  Reject expansion to inner-mode sized scalars when using
21354         OPTAB_DIRECT.  Use simplify_gen_subreg on constants.
21355         (expand_vector_unop): Try to perform operation in smaller vector
21356         modes with same inner size.  Add handling of one's complement.
21357         When there is no vector negate operation, try a vector subtract
21358         operation.  Use simplify_gen_subreg on constants.
21359         * simplify-rtx.c (simplify_subreg): Add capability to convert vector
21360         constants into smaller vectors with same inner mode, and to
21361         integer CONST_DOUBLEs.
21363 2002-07-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21365         * c-parse.in (parsing_iso_function_signature): New variable.
21366         (extdef_1): New, copied from...
21367         (extdef): ... here.  Reset parsing_iso_function_signature.
21368         (old_style_parm_decls):  Reset parsing_iso_function_signature.
21369         (old_style_parm_decls_1): New, copied from old_style_parm_decls.
21370         Warn about ISO C style function definitions.
21371         (nested_function, notype_nested_function): Reset
21372         parsing_iso_function_signature.
21373         (parmlist_2): Set parsing_iso_function_signature.
21375         * doc/invoke.texi (-Wtraditional): Document new behavior.
21377 2002-07-02  Chris Demetriou  <cgd@broadcom.com>
21379         * config.gcc (mips*el-*-*): Use tm_defines to set
21380         TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
21381         * config/mips/little.h: Remove.
21383 2002-07-02 Devang Patel <dpatel@apple.com>
21385         * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
21386         object as parameter. Prevent something like 'NSObject' to be
21387         used as the type for a method argument.
21389 2002-07-03  Neil Booth  <neil@daikokuya.co.uk>
21391         * cpptrad.c: Update comment.
21393 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
21395         * doc/cpp.texi: Update for traditional preprocessing changes.
21396         * goc/cppopts.texi: Similarly.
21398 2002-07-02  Ziemowit Laski  <zlaski@apple.com>
21400         * c-parse.in (designator): Enable designated initializers if ObjC.
21401         (objcmessageexpr): Remove references to objc_receiver_context.
21402         * objc/objc-act.h (objc_receiver_context): Remove decl.
21403         * objc/objc-act.c (objc_receiver_context): Remove.
21404         (lookup_objc_ivar): Test objc_method_context instead of
21405         objc_receiver_context.
21407 Tue Jul  2 18:45:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
21409         * sh.c (print_operand, case 'N'): Allow zero vector.
21410         (arith_reg_or_0_operand): Likewise.
21411         (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
21412         * sh.h (CONST_COSTS): 0 has 0 cost.  Check OUTER_CODE for
21413         IOR, XOR, PLUS and SET and take their respective constant
21414         ranges into account.
21415         (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
21416         * sh.md (subdi3, subdi3_media): Allow zero operand.
21417         (movv8qi_i+3): Only vector that is not split is the zero vector.
21418         Fix operand 3 to simplify_subreg.
21419         (movv2si_i): Split alternative 1.
21420         (mshfhi_l_di_rev+1): New splitter.
21422 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
21424         PR preprocessor/7029
21425         * cppinit.c (cpp_handle_option):  Suppress warnings with an
21426         implicit "-w" for "-M" and "-MM".
21427         * doc/cppopts.texi: Update.
21429 2002-07-01  Roger Sayle  <roger@eyesopen.com>
21431         * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
21432         identifier "bzero" to "memset".  Pass extra NULL_TREE argument to
21433         builtin_function.
21435 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
21437         * README.Portability: Fix typos.
21439 2002-07-01  Hans-Peter Nilsson  <hp@axis.com>
21441         PR target/7177
21442         * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
21443         of indirections for register inside sign-extended mem part.
21445 2002-07-01  Roger Sayle  <roger@eyesopen.com>
21447         * tree.h:  Modify builtin_function interface to take an extra
21448         argument ATTRS, which is a tree representing an attribute list.
21450         * c-decl.c (builtin_function): Accept additional parameter.
21451         * objc/objc-act.c (builtin_function): Likewise.
21452         * f/com.c (builtin_function): Likewise.
21453         * java/decl.c (builtin_function): Likewise.
21454         * ada/utils.c (builtin_function): Likewise.
21455         * cp/decl.c (builtin_function): Likewise.
21456         (builtin_function_1): Likewise.
21458         * c-common.c (c_common_nodes_and_builtins): Pass an additional
21459         NULL_TREE argument to builtin_function.  (builtin_function_2):
21460         Likewise.
21461         * cp/call.c (build_java_interface_fn_ref): Likewise.
21462         * objc/objc-act.c (synth_module_prologue): Likewise.
21463         * java/decl.c (java_init_decl_processing): Likewise.
21464         * f/com.c (ffe_com_init_0): Likewise.
21466         * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
21467         NULL_TREE argument to builtin_function.
21468         * config/arm/arm.c (def_builtin): Likewise.
21469         * config/c4x/c4x.c (c4x_init_builtins): Likewise.
21470         * config/i386/i386.c (def_builtin): Likewise.
21471         * config/ia64/ia64.c (def_builtin): Likewise.
21472         * config/rs6000/rs6000.c (def_builtin): Likewise.
21474 2002-07-01  Zack Weinberg  <zack@codesourcery.com>
21476         * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
21477         * config/mips/t-isa3264: Likewise.
21478         * config/mmix/t-mmix: Likewise.
21480 2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
21482         * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
21484 2002-07-01  Roger Sayle  <roger@eyesopen.com>
21486         PR opt/4046
21487         * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
21488         A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
21489         B are truth values.
21491 2002-07-01  Nathanael Nerode  <neroden@gcc.gnu.org>
21493         * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
21495 2002-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
21497         * README.Portability (Function prototypes): Give an example of
21498         declaring and defining a function with no arguments.
21500         * README.Portability (Function prototypes): Document new
21501         variable-argument function macros.
21503 Mon Jul  1 19:55:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
21505         * sh.c (langhooks.h): Include.
21506         (sh_init_builtins, sh_media_init_builtins): New functions.
21507         (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
21508         (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
21509         (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
21510         (builtin_description): New struct tag.
21511         (signature_args, bdesc): New arrays.
21512         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
21513         (print_operand): Add 'N' modifier.
21514         * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
21515         (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
21516         (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
21517         (CONST_COSTS): Add special case for SHmedia AND.
21518         (PREDICATE_CODES): Add and_operand, arith_reg_dest,
21519         extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
21520         sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
21521         target_operand can also be const or unspec.
21522         * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
21523         (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
21524         (attribute type): Add new types.
21525         (anddi3): Add splitter.
21526         (movdi_const_16bit+1): Add code to handle vector constants and
21527         bitmasks efficiently.
21528         (shori_media): Have generator function made.
21529         (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
21530         (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
21531         (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
21532         (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
21533         (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
21534         (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
21535         (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
21536         (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
21537         (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
21538         (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
21539         (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
21540         (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
21541         (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
21542         (mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
21543         (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
21544         (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
21545         (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
21546         (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
21547         (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
21548         (ftrv): Likewise.
21550         (fpu_switch+1, fpu_switch+2): Remove constraint.
21552 2002-07-01  Aldy Hernandez  <aldyh@redhat.com>
21554         * tree.c (build_function_type_list): Update function comment.
21555         Rename first argument to return_type.
21557 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
21559         * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
21560         tradcif.y and related files.
21562 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
21564         * cpptrad.c (skip_whitespace): Pass pointer to prior char.
21566 2002-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21568         * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
21570 See ChangeLog.7 for earlier changes.