OSDN Git Service

* config/fr30/fr30.h: Update to new CPP macros.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
2
3         * config/fr30/fr30.h: Update to new CPP macros.
4
5 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
6
7         * config/dsp16xx/dsp16xx.h: Update to new CPP macros.
8
9 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
10
11         * c-common.c (c_common_init): Override cpplib's default
12         warn_long_long setting.
13         * c-lex.c (lex_number): Replace with interpret_integer,
14         interpret_float, narrowest_unsigned_type and
15         narrowest_signed_type, taking advantage of the new
16         cpplib functionality.
17         * cpperror.c (_cpp_begin_message): If a warning is turned
18         into an error, avoid printing "warning:".
19         * cppexp.c (cpp_num_sign_extend): New.
20         * cppinit.c: Update comment.
21         * cpplib.h (cpp_num_sign_extend): New.
22         * tree.h: Update comment.
23
24 2002-06-02  Gabriel Dos Reis  <gdr@codesourcery.com>
25
26         * diagnostic.h (struct diagnostic_context):  Add new member
27         internal_error. 
28         (internal_error_function): Remove declaration.
29         * diagnostic.c (internal_error_function): Remove definition..
30         (internal_error): Adjust use.
31
32 2002-06-02  Richard Henderson  <rth@redhat.com>
33
34         * rtl.h (CC0_P): New.
35         * gcse.c (cprop_jump): Use it with single_set.  Tweak dump text.
36         (cprop_insn): Allow any mode register; use CC0_P.  CSE out single_set.
37         (bypass_block): Save old dest block for dump text.
38         (bypass_conditional_jumps): Allow any mode register; use CC0_P.
39         Allow only true SET insns, not single_set.
40
41 2002-06-02  Gabriel Dos Reis  <gdr@codesourcery.com>
42
43         * diagnostic.c (diagnostic_finish): Rename to output_flush.
44         (clear_disgnostic_info): Rename to output_clear_data.  Use false
45         instead of 0 for boolean value.
46         Adjust function call throughout.
47
48 Sun Jun  2 19:15:27 CEST 2002  Jan Hubicka  <jh@suse.cz>
49
50         * cfgrtl.c (commit_one_edge_insertion): Fix warning.
51         * gcse.c (bypass_conditional_jumps): CSE out single_set call.
52
53 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
54
55         * d30v.h (CPP_PREDEFINES): Replace with
56         (TARGET_CPU_CPP_BUILTINS): New.
57
58 2002-06-02  Roger Sayle  <roger@eyesopen.com>
59
60         * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.
61
62 Sun Jun  2 12:11:52 CEST 2002  Jan Hubicka  <jh@suse.cz>
63
64         * gcse.c (bypass_conditional_jumps): Use single set to obtain set.
65
66 2002-06-02  Richard Henderson  <rth@redhat.com>
67
68         * rtlanal.c (volatile_refs_p): Not automatically true for CALL.
69
70 2002-06-02  Marek Michalkiewicz  <marekm@amelek.gda.pl>
71
72         Support for C++ constructors/destructors.
73         * config/avr/avr.c (avr_output_function_epilogue): Jump to exit()
74         instead of looping if main() returns.
75         (asm_file_start): Output global symbols that cause .data and .bss
76         initialization code to be linked in, unconditionally for now.
77         (avr_asm_out_ctor, avr_asm_out_dtor): New functions.
78         * config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New.
79         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
80         (LIBSTDCXX): New.
81         * config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections.
82         (__tablejump__): New.
83         (__do_copy_data, __do_clear_bss): New.
84         (__do_global_ctors, __do_global_dtors): New.
85         * config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss,
86         _ctors, _dtors.
87
88 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
89
90         * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
91         (CPP_SPEC, CPP_PREDEFINES): Kill.
92         * c4x/rtems.h (CPP_PREDEFINES): Kill.
93         (TARGET_OS_CPP_BUILTINS): New.
94
95 Sat Jun  1 23:29:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
96
97         * Makefile.in (tracer.o): New.
98         * params.def (TRACER_*): New options.
99         * rtl.h (tracer): Declare.
100         * timevar.def (TV_TRACER): New.
101         * toplev.c (dump_file_index): Add DFI_tracer.
102         (dump_file_info): Add tracer.
103         (flag_tracer): New.
104         (lang_indepdenent_options): Add tracer.
105         (rest_of_compilation): Call tracer.
106         * tracer.c: New file.
107         * invoke.texi (-ftracer): Document.
108         (--param tracer-*): Document.
109
110 2002-06-01  Daniel Berlin  <dberlin@dberlin.org>
111
112         * tree-inline.c (expand_call_inline): Make the statement
113         expression we generate have a COMPOUND_STMT.    
114
115 2002-06-01  Roger Sayle  <roger@eyesopen.com>
116
117         * gcse.c (cprop_cc0_jump): Function deleted.
118         (cprop_jump): Take an additional argument which is the possibly
119         NULL cc setting insn immediately before the conditional jump.
120         When a MODE_CC set is present, substitute it into the JUMP_INSN
121         before attempting the constant propagation.
122         (cprop_insn):  Recognize cc setters followed by conditional jumps
123         as a special case.   Use cprop_jump instead of cprop_cc0_jump.
124         (cprop_one_pass):  Call bypass_conditional_jumps if altering jumps.
125         (find_bypass_set): New function based upon find_avail_set used by
126         cprop, but finds constant expressions available at the end of
127         basic blocks.
128         (bypass_block): New function.  Given a basic block that begins
129         with a conditional jump and multiple incoming edges, perform
130         the jump bypass optimization.
131         (bypass_conditional_jumps): New function.  Call bypass_block with
132         each suitable basic block in the CFG using a simple single pass.
133
134 2002-06-01  Roger Sayle  <roger@eyesopen.com>
135
136         * tree.c (real_minus_onep): New function to test for -1.0.
137         * fold-const.c (fold) [MULT_EXPR]:  Optimize -1.0*x into -x.
138
139 2002-06-01  Roger Sayle  <roger@eyesopen.com>
140
141         * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
142         and "!p && !q" into "(p|q) == 0" under suitable conditions.
143
144 2002-06-01  Andreas Jaeger  <aj@suse.de>
145
146         * cppexp.c (cpp_classify_number): Cast precission to int for
147         correct printf format.
148
149 2002-06-01  Marek Michalkiewicz  <marekm@amelek.gda.pl>
150
151         * config/avr/avr.c (avr_mcu_types): Remove devices that were once
152         expected, but don't really exist: atmega83, atmega85, attiny10.
153         * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld
154         emulations for all devices.
155         (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10.
156         * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85.
157
158 2002-06-01  Kazu Hirata  <kazu@cs.umass.edu>
159
160         * config/h8300/h8300-protos.h: Add a prototype for
161         h8300_shift_needs_scratch_p.
162         * config/h8300/h8300.c (h8300_shift_needs_scratch_p): New.
163         * config/h8300/h8300.h (OK_FOR_R): New.
164         (OK_FOR_S): Likewise.
165         (OK_FOR_T): Likewise.
166         (EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T.
167         * config/h8300/h8300.md (anonymous shift patterns): Use
168         constraints R, S, and T.
169
170 Sat Jun  1 11:23:22 CEST 2002  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
171
172         * basic-block.h (struct basic_block_def): New field loop_father.
173         (BB_VISITED): New flag.
174         (struct loop): New field pred, removed field shared.
175         (struct loops): New field parray.
176         (LOOP_EXITS_DOMS): Removed.
177         (flow_loop_tree_node_add, flow_loop_tree_node_remove,
178         flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body,
179         dfs_enumerate_from, loop_preheader_edge, loop_latch_edge,
180         add_bb_to_loop, remove_bb_from_loops, find_common_loop,
181         verify_loop_structure): Declare.
182         * cfg.c (entry_exit_blocks): Initialize loop_father field.
183         * cfganal.c (dfs_enumerate_from): New function.
184         * cfgloop.c (HEAVY_EDGE_RATIO): New constant.
185         (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
186         flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p,
187         flow_loop_dump, flow_loops_dump, flow_loops_free,
188         flow_loop_tree_node_add, flow_loop_level_compute,
189         flow_loops_level_compute, flow_loop_scan, flow_loops_update,
190         flow_loop_outside_edge_p): Modified for new infrastructure.
191         (make_forwarder_block, canonicalize_loop_headers, glb_enum_p,
192         redirect_edge_with_latch_update, flow_loop_free): New static functions.
193         (flow_loop_tree_node_remove, flow_bb_inside_loop_p,
194         get_loop_body, add_bb_to_loop, remove_bb_from_loops,
195         find_common_loop, verify_loop_structure, loop_latch_edge,
196         loop_preheader_edge): New functions.
197         (flow_loops_cfg_dump): Do not show dominators, as this information
198         does not remain up to date long.
199         (flow_loops_find): Store results in new format.
200         * predict.c (propagate_freq, estimate_probability,
201         estimate_loops_at_level, estimate_bb_frequencies): Use new loop
202         infrastructure.
203
204 2002-06-01  Alan Lehotsky  <apl@alum.mit.edu>
205
206         * except.c (nothrow_function_p): Walk epilogue delay list
207         checking the insn, not the chain for potential throws.
208
209 2002-05-31  Zack Weinberg  <zack@codesourcery.com>
210
211         * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
212         (install): Refer to install-cpp directly.
213         (uninstall-cpp): Folded into uninstall rule.
214         * configure.in: Delete all code relating to --disable-cpp.
215         * configure: Regenerate.
216         * config/t-install-cpp: Delete.
217
218 2002-05-31  Richard Henderson  <rth@redhat.com>
219
220         * configure.in (HAVE_AS_TLS): Add alpha tests.
221         * configure: Rebuild.
222         * config/alpha/alpha.c (TARGET_AS_TLS): New.
223         (alpha_tls_size, alpha_tls_size_string): New.
224         (overide_options): Set it.  Always install machine_status hooks.
225         (input_operand): Accept got tls predicates.
226         (local_symbol_p): Merge into ...
227         (local_symbolic_operand): ... here.  Reject tls symbols.
228         (global_symbolic_operand): Likewise.
229         (tls_symbolic_operand_1, dtp16_symbolic_operand): New.
230         (dtp32_symbolic_operand, gotdtp_symbolic_operand): New.
231         (tp16_symbolic_operand, tp32_symbolic_operand): New.
232         (gottp_symbolic_operand, tls_symbolic_operand_type): New.
233         (alpha_encode_section_info): Handle TLS symbols.
234         (alpha_strip_name_encoding): Likewise.
235         (alpha_legitimate_address_p): Likewise.
236         (alpha_legitimize_address): Likewise.
237         (alpha_expand_mov): Early exit to avoid nop moves.
238         (struct machine_function): Move from unicosmk.h.  Add some_ld_name.
239         (alpha_init_machine_status, alpha_mark_machine_status,
240         alpha_free_machine_status): Always define.
241         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
242         (print_operand, print_operand_address): Add TLS relocs.
243         * config/alpha/alpha.h (HAVE_AS_TLS): Default 0.
244         (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New.
245         (TARGET_SWITCHES): Add -mtls-kernel.
246         (alpha_tls_size, alpha_tls_size_string): New.
247         (TARGET_OPTIONS): Add -mtls-size=.
248         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
249         REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG.
250         (ASM_OUTPUT_LABELREF): Skip %.
251         (PRINT_OPERAND_PUNCT_VALID_P): Add &.
252         (PREDICATE_CODES): Update.
253         * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL,
254         UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL,
255         UNSPEC_TP, UNSPECV_SET_TP): New.
256         (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp,
257         adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp,
258         set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp,
259         movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New.
260         (call_value_osf_2_er): Accept anything as op4.
261         * config/alpha/alpha-protos.h: Update.
262         * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c.
263
264 2002-05-31  Zack Weinberg  <zack@codesourcery.com>
265
266         * cppinit.c (append_include_chain): Always pay attention to
267         cxx_aware when setting new->sysp.  Remove ATTRIBUTE_UNUSED
268         marker on argument.
269
270 2002-05-31  Kazu Hirata  <kazu@cs.umass.edu>
271
272         * target.h: Fix formatting.
273         * timevar.h: Likewise.
274         * tlink.c: Likewise.
275         * toplev.c: Likewise.
276         * toplev.h: Likewise.
277         * tree.c: Likewise.
278         * tree-dump.h: Likewise.
279         * tree.h: Likewise.
280         * tree-inline.h: Likewise.
281         * unroll.c: Likewise.
282         * unwind-dw2.c: Likewise.
283         * unwind-dw2-fde.c: Likewise.
284         * unwind-dw2-fde-glibc.c: Likewise.
285         * unwind-dw2-fde.h: Likewise.
286         * unwind.h: Likewise.
287         * unwind-sjlj.c: Likewise.
288         * varasm.c: Likewise.
289         * varray.h: Likewise.
290         * vmsdbg.h: Likewise.
291         * vmsdbgout.c: Likewise.
292         * xcoffout.h: Likewise.
293
294 2002-05-31  Igor Shevlyakov <igor@microunity.com>
295
296         * expr.c (compare_from_rtx): Generate comparison between op0 and op1
297         rather than cc0 and 0 in a case when HAVE_cc0 is not defined.
298
299 2002-05-31  Matthew Woodcraft  <mattheww@chiark.greenend.org.uk>
300
301         * gcc.c (cpp_unique_options): Remove "-d" options.
302         (cpp_debug_options): New spec string.
303         (default_compilers): Use it.
304         * objc/lang-specs.h: Likewise.
305
306 2002-05-31  Nathanael Nerode  <neroden@twcny.rr.com>
307
308         * gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with
309         BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature.
310         * gcc/mklibgcc.in: Likewise.
311         * gcc/config/arc/t-arc: Likewise.
312         * gcc/configure.in: Likewise.
313         * gcc/configure: Regenerate.
314
315 2002-05-31  Stan Shebs  <shebs@apple.com>
316             Turly O'Connor  <turly@apple.com>
317
318         * c-decl.c (struct binding_level): Change int field n_incomplete
319         to tree list incomplete_list.
320         (clear_binding_level): Init field with NULL.
321         (pushdecl): Add incomplete type to list.
322         (mark_binding_level): Mark the incomplete list.
323         (finish_struct): Scan the incomplete list for types instead
324         of all decls in the current binding level.
325
326 2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
327
328         * pa.c (output_millicode_call): Add missing '%' characters.
329         (output_call): Likewise.
330
331 2002-05-31  David Edelsohn  <edelsohn@gnu.org>
332
333         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
334         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
335
336 2002-05-31  Alan Lehotsky <apl@alum.mit.edu>
337
338         * varasm.c (mark_constant_pool): Walk epilogue delay list
339         checking the insn, not the chain for potential constants.
340
341 Fri May 31 12:38:43 2002  J"orn Rennecke <joern.rennecke@superh.com>
342
343         * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
344
345 Fri May 31 13:50:19 CEST 2002  Jan Hubicka  <jh@suse.cz>
346
347         * i386.c (classify_argument): Properly handle base types.
348
349         * dwarf2out.c (expand_builin_init_dwarf_reg_sizes):
350         Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo
351         registers.
352
353 Fri May 31 13:37:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
354
355         * gcse.c (gcse_emit_move_after): New.
356         (pre_delete, hoist_store): Use it.
357
358         * reload1.c (emit_input_reload_insns): Use constrain_operands
359         instead of constraint_accepts_reg_p to verify optimization.
360         (constraint_accepts_reg_p): Kill
361
362         * reload1.c (reload_cse_delete_noop_set): Kill.
363         (reload_cse_simplify): use delte_insn_and_edges.
364
365 2002-05-31  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
366
367         * cfgloop.c (flow_loops_find): Initialize first and last fields
368         correctly.
369
370 2002-05-31  Neil Booth  <neil@daikokuya.demon.co.uk>
371
372         * c-common.c (builtin_define_std): Correct logic.
373
374 2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
375
376         * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
377         (output_call): Likewise.
378
379 2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
380
381         * pa.c: Move output.h include after tree.h include.
382         (pa_asm_output_mi_thunk): Constify identifier lab.
383
384 2002-05-31  Jason Thorpe  <thorpej@wasabisystems.com>
385
386         * config/ns32k/ns32k.h: Define named constants for the
387         bits in target_flags and use them.
388         * config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants.
389
390 2002-05-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
391
392         * config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0
393         architecture and pa/pa-7100.h for PA1.1 architecture, respectively.
394         * pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select
395         default scheduling model.
396         * pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000".
397         * pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling.
398         * pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling.
399         * doc/install.texi (hppa*-*-*): Document default scheduling.
400
401 2002-05-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
402
403         * pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
404
405 2002-05-31  Jason Thorpe  <thorpej@wasabisystems.com>
406
407         * config.gcc (ns32k-*-netbsd*): Set tm_file to
408         "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
409         * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
410         netbsd.h, or netbsd-aout.h.
411
412 2002-05-31  Jason Thorpe  <thorpej@wasabisystems.com>
413
414         * longlong.h (count_trailing_zeros): Add missing \, and clean up
415         whitespace in __ns32000__ case.
416
417 2002-05-31  Aldy Hernandez  <aldyh@redhat.com>
418
419         * expr.c (expand_expr): Output partially zeroed out vectors with
420         output_constant_def.
421
422 2002-05-30  Jason Thorpe  <thorpej@wasabisystems.com>
423
424         * config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
425         (sh-*-netbsdelf*)
426         (shl*-*-netbsdelf*): New targets.
427         * config/sh/netbsd-elf.h: New file.
428
429 2002-05-30  Richard Henderson  <rth@redhat.com>
430             Eric Botcazou  <ebotcazou@multimania.com>
431
432         PR optimization/6822
433         * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
434         to unsigned int for op1 comparisons.  Use gen_int_mode.
435
436 2002-05-30  Eric Botcazou  <ebotcazou@multimania.com>
437
438         * expmed.c (const_mult_add_overflow_p): New.
439         * expr.h: Declare it.
440         * loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it.
441         Don't eliminate the biv if the giv has a constant multiplier and
442         the rhs argument of the comparison does satisfy the predicate.
443         Use expand_mult_add to compute the replacement constant.
444
445 2002-05-30  Osku Salerma  <osku@iki.fi>
446
447         * c-common.c (c_common_attribute_table): Add "may_alias" entry.
448         (c_common_get_alias_set): Handle it.
449         * doc/extend.texi: Document it.
450
451 2002-05-30  Richard Henderson  <rth@redhat.com>
452
453         * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
454         * toplev.c (process_options): Don't check it.
455         * doc/tm.texi: Don't document it.
456         * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New.
457         (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
458         * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf
459         frame pointer optimization if current_function_profile.
460
461 2002-05-30  Kazu Hirata  <kazu@cs.umass.edu>
462
463         * langhooks.c: Fix formatting.
464         * langhooks.h: Likewise.
465         * lcm.c: Likewise.
466         * libgcc2.c: Likewise.
467         * lists.c: Likewise.
468         * local-alloc.c: Likewise.
469         * loop.c: Likewise.
470         * loop.h: Likewise.
471
472 2002-05-30  Marc Espie <espie@openbsd.org>
473
474         * config.gcc (sparc64-*-openbsd*): New.
475         * config/sparc/openbsd1-64.h: New.
476         * config/sparc/openbsd64.h: New.
477
478 2002-05-30  Jeff Law <law@redhat.com>
479
480         * flow.c (propagate_one_insn): Revise yesterday's patch.  Delete
481         a dead insn with a REG_RETVAL note when the entire libcall is not
482         dead and remove the associated REG_LIBCALL note at the same time.
483
484 Thu May 30 19:54:30 2002  J"orn Rennecke <joern.rennecke@superh.com>
485
486         * lcm.c (output.h): #include.
487         (compute_earliest): Remove hack to treat renumbered EXIT_BLOCK
488         as an ordinary block.
489         (optimize_mode_switching): Don't pretend that the exit block is
490         an ordinary block, or handle sucessors of entry block specially.
491         Instead, split edges from entry block and to exit block, and
492         put a computing definition on the thus gained post-entry-block,
493         and a need on the pre-exit-block.
494
495 Thu May 30 20:28:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
496
497         * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
498         * rtl.texi: Document 'B'
499
500 2002-05-30  Jason Thorpe  <thorpej@wasabisystems.com>
501
502         * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute
503         at run-time.
504         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
505
506 2002-05-30  Aldy Hernandez  <aldyh@redhat.com>
507
508         * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return
509         const0_rtx instead of NULL_RTX when in error.
510         (altivec_expand_abs_builtin): Same.
511         (rs6000_expand_binop_builtin): Same.
512         (altivec_expand_predicate_builtin): Same.
513         (altivec_expand_stv_builtin): Same.
514         (rs6000_expand_ternop_builtin): Same.
515         (altivec_expand_builtin): Same.
516
517 2002-05-29  David S. Miller  <davem@redhat.com>
518
519         * rtl.h (clear_emit_caches): Delete.
520         * integrate.c (output_inline_function): Don't call it.
521         * emit-rtl.c (restore_emit_status, init_emit): Likewise.
522         (clear_emit_caches): Delete definition.
523         (SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise.
524
525 2002-05-30  Hans-Peter Nilsson  <hp@bitrange.com>
526
527         * config/mmix/mmix.c: Include real.h.
528         (mmix_constant_address_p): Remove redundant test before switch.
529
530 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
531
532         * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
533         only if not already defined.
534
535 2002-05-29  Kazu Hirata  <kazu@cs.umass.edu>
536
537         * config/h8300/h8300-protos.h: Remove prototypes for
538         ok_for_bclr and small_power_of_two.
539         * config/h8300/h8300.c (small_power_of_two): Remove.
540         (ok_for_blcr): Likewise.
541         (fix_bit_operand): Make WHAT deal with an integer instead of a
542         constraint character.
543         * config/h8300/h8300.h (CONST_OK_FOR_O): Remove.
544         (CONST_OK_FOR_P): Likewise.
545         (CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or
546         CONST_OK_FOR_P any more.
547         * config/h8300/h8300.md (andqi3): Adjust to the new prototype
548         of fix_bit_operand.
549         (iorqi3): Likewise.
550         (xorqi3): Likewise.
551
552 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
553
554         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
555         (CPP_PREDEFINES): Make sure this is undefined.
556         (CPP_SPEC): Place -D__mips=1 at the beginning of the spec,
557         since it is no longer in CPP_PREDEFINES.  Don't -U__MIPSEL__
558         or -U__MIPSEB__ before defining one or the other.  Instead,
559         use %(subtarget_endian_default) if neither -EB nor -EL are
560         specified.
561         (SUBTARGET_EXTRA_SPECS): Define.
562         (SUBTARGET_CPP_SPEC): Remove __LONG64 handling.  Use
563         %(netbsd_cpp_spec).
564
565 2002-05-29  Hans-Peter Nilsson  <hp@axis.com>
566
567         * doc/md.texi (Patterns): Note pattern condition pitfall
568         for unnamed insn.
569
570 2002-05-29  Aldy Hernandez  <aldyh@redhat.com>
571
572         * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins
573         when TARGET_ALTIVEC.  Move handling of generic unary, binary, and
574         ternary operations from here...
575         (rs6000_expand_builtin): ...to here.
576         New argument expandedp.
577         Change all instances of altivec_expand_binop_builtin to
578         rs6000_expand_binop_builtin.
579         (altivec_expand_unop_builtin): Rename to
580         rs6000_expand_unop_builtin.
581         (altivec_expand_binop_builtin): Rename to
582         rs6000_expand_binop_builtin.
583         (altivec_expand_ternop_builtin): Rename to
584         rs6000_expand_ternop_builtin.
585
586 2002-05-29  Richard Henderson  <rth@redhat.com>
587
588         * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
589         (TARGET_BI_ARCH): Likewise.
590         * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
591         (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
592         (TARGET_64BIT_DEFAULT): Default to 0.
593         (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.
594
595 2002-05-29  Richard Henderson  <rth@redhat.com>
596
597         * config/i386/i386.c (USE_HIDDEN_LINKONCE): New.
598         (get_pc_thunk_name): New.
599         (output_set_got): Use it.
600         (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks
601         into linkonce sections.
602
603 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
604
605         * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
606         (CPP_PREDEFINES): Make sure this is undefined.
607         (CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove.
608         (CPP_SUBTARGET_SPEC): Don't provide different versions for
609         default-32 and default-64.  Just always use %(netbsd_cpp_spec).
610         (SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and
611         cpp_subtarget_spec64.  Add netbsd_cpp_spec.
612         * config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
613         (CPP_PREDEFINES): Make sure this is undefined.
614         (SUBTARGET_EXTRA_SPECS): Define.
615         (CPP_SPEC): Use %(netbsd_cpp_spec).
616
617 2002-05-29  Jeff Law <law@redhat.com>
618
619         * pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon.
620
621         * flow.c (propagate_one_insn): Do not remove a dead insn if it
622         contains a REG_RETVAL note.
623
624         * haifa-sched (sched_analyze): Remove another useless clearing
625         of SCHED_GROUP_P I missed yesterday.
626
627         * pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
628         * pa.c (pa_asm_output_mi_thunk): New function.
629         * pa-protos.h (pa_asm_output_mi_thunk): Declare.
630
631 2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
632             Marek Michalkiewicz  <marekm@amelek.gda.pl>
633
634         * config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New.
635         (avr_asm_only_p): Make non-static.
636         (enum avr_arch): Remove.
637         (avr_arch_types): New.
638         (avr_mcu_types): Update.
639         (avr_override_options): Use avr_arch_types table instead of switch.
640         * avr.h (CPP_PREDEFINES): Die.
641         (avr_base_arch_macro, avr_extra_arch_macro): New.
642         (TARGET_CPU_CPP_BUILTINS): New.
643         (CPP_SPEC, EXTRA_SPECS): Simplify.
644         (CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC,
645         CPP_AVR5_SPEC): Die.
646
647 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
648
649         * config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
650         NETBSD_OS_CPP_BUILTINS_AOUT.
651         (SUBTARGET_EXTRA_SPECS): Define.
652         (CPP_SPEC): Use %(netbsd_cpp_spec).
653
654 2002-05-29  Richard Henderson  <rth@redhat.com>
655
656         * config/i386/i386.c (ix86_output_function_epilogue): New.
657         (TARGET_ASM_FUNCTION_EPILOGUE): New.
658         (pic_label_name): Remove.
659         (pic_labels_used): New.
660         (ix86_asm_file_end): Emit one pc load stub for each register used.
661         (output_set_got): Generate deep pc load to any register.
662         (ix86_select_alt_pic_regnum): New.
663         (ix86_save_reg): Don't save pic register if we can find a valid
664         call-clobbered replacement.
665         (ix86_expand_prologue): If we found a valid replacement, renumber
666         pic_offset_table_rtx.
667         * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at
668         pic_offset_table_rtx after reload.
669         (REAL_PIC_OFFSET_TABLE_REGNUM): New.
670         * config/i386/i386.md (set_got): Make insn, not expander.
671         (set_got_nopic, set_got_deep, set_got_nodeep): Remove.
672
673 2002-05-29  Richard Henderson  <rth@redhat.com>
674
675         * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
676         alignment for alloca.
677
678 2002-05-29  Richard Henderson  <rth@redhat.com>
679
680         * config/i386/i386.c (output_pic_addr_const): Lowercase rip.
681         (print_operand_address): Only add rip for symbolic addresses
682         for which we do not have another relocation type.
683
684 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
685
686         * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
687         (EXTRA_SPECS): Add netbsd_cpp_spec.
688         (CPP_SPEC): Use %(netbsd_cpp_spec).
689         (CPP_PREDEFINES): Remove.
690         * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
691         (EXTRA_SPECS): Define.
692         (CPP_SPEC): Use %(netbsd_cpp_spec).
693         (CPP_PREDEFINES): Remove.
694
695 2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
696
697         PR preprocessor/6844
698         * cppmacro.c (cpp_macro_definition): Reserve space for terminating
699         NUL.
700
701 2002-05-29  Eric Christopher  <echristo@redhat.com>
702
703         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for
704         mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.
705
706 2002-05-29  Nick Clifton  <nickc@cambridge.redhat.com>
707
708         * config/fr30/fr30.md: Remove previous restriction on splits.
709         Enforce conformance through gen_lowpart and cont_int_operand.
710         * config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss"
711         as the assembler does not support ".bss".
712
713 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
714
715         * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
716         (CPP_PREDEFINES): Remove.
717         (SUBTARGET_EXTRA_SPECS): Define.
718         (CPP_SPEC): Use %(netbsd_cpp_spec).
719         * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
720         (CPP_PREDEFINES): Remove.
721         (SUBTARGET_EXTRA_SPECS): Define.
722         (CPP_SPEC): Use %(netbsd_cpp_spec).
723         * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define.
724         (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove.
725         (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget.
726         Add netbsd_cpp_spec.
727         (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec).
728
729 2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
730             Zack Weinberg <zack@codesourcery.com>
731
732         * cppexp.c (cpp_num): Move to cpplib.h.
733         (CPP_ERROR): Remove.
734         (interpret_float_suffix, interpret_int_suffix): New.
735         (struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove.
736         (cpp_classify_number, cpp_interpret_integer): New.
737         (interpret_number): Remove.
738         (eval_token): Update to use new routines.
739         * cpphash.h (cpp_num_part): Move to cpplib.h.
740         * cppinit.c (cpp_post_options): Set warn_long_long.
741         * cpplib.h (struct cpp_options): Add warn_long_long.
742         (cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID,
743         CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL,
744         CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX,
745         CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number,
746         cpp_interpret_integer): New.
747
748 2002-05-29  Joel Sherrill <joel@OARcorp.com>
749
750         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
751
752 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
753
754         * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
755         NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64.
756         (CPP_SUBTARGET_SPEC): Define.
757         (SUBTARGET_EXTRA_SPECS): Define.
758         (CPP_SPEC): Remove.
759
760 2002-05-29  Chris Lattner  <sabre@nondot.org>
761
762         * ssa.c (rename_insn_1): Rename uses of undefined registers to
763         prevent confusion if/when the register is defined.
764
765 2002-05-29  Hans-Peter Nilsson  <hp@axis.com>
766
767         PR target/6838
768         * config/cris/cris.md: Fix typos and thinkos in comments.
769         ("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4,
770         second alternative.
771         ("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto.
772         ("*mov_sideqi_mem"): Similar, but for operand 3.
773         ("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto.
774         (splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
775         Remove spurious mode specifier on operand 2.
776
777 2002-05-29  Kazu Hirata  <kazu@cs.umass.edu>
778
779         * config/h8300/h8300-protos.h: Remove the prototype for
780         o_operand.
781         Add prototypes for single_one_operand and single_zero_operand.
782         * config/h8300/h8300.c (o_operand): Remove.
783         (single_one_operand): New.
784         (single_zero_operand): Likewise.
785         (print_operand): For 'V' operand, and the operand with 0xff.
786         For 'V' and 'W' operands, do not and the bit position with 7.
787         * config/h8300/h8300.md (various anonymous patterns): Replace
788         use of exact_log2 with single_one_operand/single_zero_operand.
789
790 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
791
792         * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
793
794 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
795
796         * config/s390/s390.c (legitimate_pic_operand_p): Do not
797         accept symbolic LARL operands.
798         (s390_emit_epilogue): Do not set FRAME_RELATED_P on
799         epilogue insns.
800
801 2002-05-29  Hartmut Penner  <hpenner@de.ibm.com>
802
803         * config/s390/s390.md (cmpstr_64/31): Mark whole
804         input registers as used.
805
806 2002-05-28  Richard Henderson  <rth@redhat.com>
807
808         * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
809         not current_function_uses_pic_offset_table and
810         current_function_uses_const_pool; examine current_function_profile.
811         (ix86_expand_prologue): Likewise.  Add pic_offset_table_rtx as
812         input to blockage if needed.
813         (ix86_expand_call): Do not set current_function_uses_pic_offset_table.
814         (legitimize_pic_address): Likewise.  Set regs_ever_live for
815         pic_offset_table_rtx when invoked during reload.
816         * config/i386/i386.h (FINALIZE_PIC): Remove.
817         * config/i386/i386.md (tablejump): Reformat.  Do not set
818         current_function_uses_pic_offset_table.
819         (tls_global_dynamic, tls_local_dynamic_base): Likewise.
820         (blockage): Accept anything as operand 0.
821
822 2002-05-28  Jason Thorpe  <thorpej@wasabisystems.com>
823
824         * config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
825         common CPP built-ins for all NetBSD a.out targets.
826         * config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define
827         common CPP built-ins for all NetBSD ELF targets.
828         * config/netbsd.h: Add missing notice.
829         (NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins
830         for all NetBSD targets.
831         (NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins
832         for all NetBSD targets using an LP64 code model.
833         (NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all
834         NetBSD targets.
835
836 2002-05-28  Richard Henderson  <rth@redhat.com>
837
838         * flow.c (update_life_info_in_dirty_blocks): Only do a partial
839         update if UPDATE_LIFE_LOCAL.
840
841 2002-05-28  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
842
843         * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
844
845 Tue May 28 21:16:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
846                           Jason R. Thorpe <thorpej@wasabisystems.com>
847
848         config/sh reorganization to factor out endianness and coff:
849
850         * config/sh/little.h: New file.
851         * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already
852         defined, define to 0 to select big-endian.
853         (SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT.
854         (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
855         * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
856         * config/sh/t-be: New file.
857         * config/sh/t-le: New file.
858
859         * sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h.
860         (SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise.
861         (TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise.
862         (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise.
863         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.
864         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
865         (ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted.
866         (CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise.
867         (SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise.
868         (EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and
869         CPP_DEFAULT_CPU_SPEC.  Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL,
870         SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC.
871         (LINK_SPEC): Define to SH_LINK_SPEC.
872         (TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define.
873         (LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise.
874         (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
875         (CPP_SPEC): Reduce to %(subtarget_cpp_spec).
876         (TARGET_ENDIAN_DEFAULT): Define if not already defined.
877         * config/sh/coff.h: New file.
878         (TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section
879         (TARGET_OBJFMT_CPP_BUILTINS): Define.
880         * config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start.
881         (ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise.
882         (DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise.
883         (ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise.
884         (PTRDIFF_TYPE): Likewise.
885         ("dbxelf.h", "elfos.h", "svr4.h"): Don't #include.
886         (CPP_PREDEFINES): Don't define.
887         (TARGET_OBJFMT_CPP_BUILTINS): Define.
888         (LINK_SPEC): Define to SH_LINK_SPEC.
889         (LINK_EMUL_PREFIX): Redefine.
890         * config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases.
891         (SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition.
892         (CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise.
893         (CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise.
894         (TARGET_OS_CPP_BUILTINS): Define.
895         (TARGET_DEFAULT): Redefine.
896         (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
897         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove.
898         (LINK_SPEC): Don't redefine.
899         (LINK_DEFAULT_CPU_EMUL): Redefine.
900         (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
901         * sh.c (sh_asm_named_section): Don't declare / define.
902         * t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option.
903         * config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h.
904         (sh64-*-elf* tm_file): Likewise.
905         (sh-*-rtemself* tm_file): Likewise.
906         (sh-*-linux* tm_file): Likewise.  Add sh/little.h.
907         (sh-*-linux* tmake_file): Add sh/t-le.
908         (sh-*-rtems* tm_file): Add sh/coff.h
909         (sh-*-* tm_file): Likewise.
910
911 Tue May 28 21:16:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
912
913         * sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using
914         CONSTANT_POOL_ADDRESS_P.
915
916         * coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define.
917
918 2002-05-28  David Edelsohn  <edelsohn@gnu.org>
919             Jeff Law <law@redhat.com>
920
921         * optabs.c (expand_binop): Fix nwords sign warnings.
922         generate pseudo for add_optab.
923
924         * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
925         * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.
926
927 2002-05-28      Marc Espie <espie@openbsd.org>
928
929         * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN):  Remove,
930         inherited from gas.h.
931         (ASM_QUAD):  Undef.  OpenBSD does not support it.
932
933 2002-05-28  Danny Smith  <dannysmith@users.sourceforge.net>
934
935         * doc/install.texi (binaries): Change mingw binaries
936         link to www.mingw.org.
937
938 2002-05-28  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
939
940         * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
941
942 2002-05-28  Richard Henderson  <rth@redhat.com>
943
944         * config/i386/i386.c (ix86_compute_frame_layout): Do not add
945         bottom alignment for leaf functions.
946
947 2002-05-28  Zack Weinberg  <zack@codesourcery.com>
948
949         * config/pa/milli32.S, config/pa/lib1funcs.asm,
950         config/sparc/sol2-g1.asm: Delete unused files.
951
952 2002-05-28  Richard Henderson  <rth@redhat.com>
953
954         * cfg.c (dump_flow_info): Print bb->index, not i, for block number.
955
956         * flow.c (calculate_global_regs_live): Rename call_used to
957         invalidated_by_call.  Initialize from regs_invalidated_by_call
958         instead of call_used_regs.
959
960         * varasm.c (default_binds_local_p): Check TREE_PUBLIC before
961         DECL_EXTERNAL.
962
963 2002-05-28  Zack Weinberg  <zack@codesourcery.com>
964
965         * tree.h: Don't include real.h.
966         Forward-declare struct realvaluetype.
967         (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not
968         contain it.
969         (TREE_REAL_CST_PTR): New accessor.
970         (TREE_REAL_CST): Update.
971         * real.h: Include machmode.h.
972         (realvaluetype): Make it struct realvaluetype, not a typedef.
973         (build_real): Prototype here.
974
975         * tree.c: Include real.h.
976         (build_real): Allocate the REAL_VALUE_TYPE as a separate
977         object in GC memory, set TREE_REAL_CST_PTR to point to it.
978         (build_real_from_int_cst): Use build_real.
979         * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a
980         REAL_CST.
981
982         * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c,
983         fold-const.c, print-tree.c, real.c: Include real.h.
984         * Makefile.in: Update dependency lists.
985
986 2002-05-28  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
987
988         * basic-block.h (last_basic_block): Declare.
989         (expunge_block_nocompact): Declaration removed.
990         (compact_blocks): Declare.
991         * cfg.c (last_basic_block): New variable.
992         (expunge_block_nocompact): Removed.
993         (expunge_block): Do not compact basic blocks.
994         (compact_blocks): New.
995         * cfganal.c (flow_call_edges_add): Use the fact that bb indices no
996         longer change.
997         * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set
998         last_basic_block.
999         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change
1000         real positions of blocks.
1001         (delete_unreachable_blocks): Simplified -- quadratic behavior now
1002         cannot occur.
1003         (cleanup_cfg): Compact blocks.
1004         * cfgrtl.c (create_basic_block): Insert basic blocks to the end of
1005         basic_block_info varray.
1006         (flow_delete_block): Comment update.
1007         (back_edge_of_syntactic_loop_p): Modify position check code.
1008         (verify_flow_info): Update checking.
1009         * flow.c (calculate_global_regs_live): Use FOR_EACH_BB.
1010         * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
1011         (find_if_case_1, find_if_case_2, if_convert): Use the fact that bb
1012         indices no longer change.
1013         * lcm.c (optimize_mode_switching): Replace n_basic_blocks with
1014         last_basic_block.
1015         * predict.c (estimate_bb_frequencies): Remove unneccessary code.
1016         * profile.c (branch_prob): Compact blocks.
1017         * sched-rgn.c (find_rgns): Replace n_basic_blocks with
1018         last_basic_block.
1019
1020 2002-05-28  Kazu Hirata  <kazu@cs.umass.edu>
1021
1022         * config/h8300/h8300.md (two anonymous patterns): New.
1023
1024 2002-05-28  David S. Miller  <davem@redhat.com>
1025
1026         * config/sparc/sparc.md (cpu): Tidy.
1027         (type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and
1028         'trap'.
1029         (in_call_delay): Delete reference to 'return' type.
1030         (eligible_for_return_delay, in_return_delay, define_delay
1031         referencing those): Delete.
1032         (rest of file): Use new type attributes as appropriate.
1033         * config/sparc/sparc-protos.h (eligible_for_return_delay): Delete.
1034         * config/sparc/sparc.c (eligible_for_return_delay): Likewise.
1035         * config/sparc/ultra1_2.md (us1_single): New reservation.
1036         (us1_ialuX): Likewise.
1037         * config/sparc/ultra3.md (us3_single): Likewise.
1038         (us3_ialuX): Likewise.
1039         (us3_imul, us3_idiv): Tweak.
1040
1041 2002-05-28  Richard Henderson  <rth@redhat.com>
1042
1043         * config/alpha/alpha.c (alpha_in_small_data_p): Return false for
1044         STRING_CST.
1045
1046 2002-05-28  Richard Henderson  <rth@redhat.com>
1047
1048         * config.gcc: Obsolete mn10200.
1049
1050 2002-05-28  Neil Booth  <neil@daikokuya.demon.co.uk>
1051
1052         * cppexp.c (interpret_number): Optimize for single-digit
1053         and less-than-half-precision cases.
1054         (num_trim, num_positive, num_div_op): Cast constants.
1055
1056 2002-05-27  Bo Thorsen  <bo@suse.de>
1057
1058         * config/i386/libgcc-x86_64-glibc.ver: Copy this file from the
1059         3.1 branch. The file was made by Jakub Jelinek.
1060         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386
1061         support so multilib doesn't break. And don't define this at all
1062         when -Dinhibit_libc is used.
1063         (MULTILIB_DEFAULTS): Always set default to 64 bit compilation.
1064         * config/i386/t-linux64: Implement full multilib support. Patch
1065         originally done by Andreas Jaeger and Jakub Jelinek.
1066
1067 2002-05-27  Roger Sayle  <roger@eyesopen.com>
1068
1069         * c-common.c: Add support for __attribute__((nothrow)) to specify
1070         that a function cannot throw an exception (using TREE_NOTHROW).
1071         (handle_nothrow_attribute): New function to process this attribute.
1072
1073         * doc/extend.texi: Document the new nothrow function attribute.
1074
1075 2002-05-27  H.J. Lu  (hjl@gnu.org)
1076
1077         * cppexp.c (num_trim): Use 1UL instead of 1 for long int.
1078         (num_positive): Likewise.
1079         (num_div_op): Likewise.
1080
1081 2002-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1082
1083         * c-common.c (c_common_init): Always use intmax_t.
1084
1085 2002-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1086
1087         * c-common.c (c_common_init): Use intmax_t for now.
1088
1089 2002-05-24  Andrew Haley  <aph@redhat.com>
1090
1091         * fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c
1092         if T is a boolean type.
1093
1094 2002-05-27  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1095
1096         * basic-block.h (last_basic_block): Defined as synonym for
1097         n_basic_blocks.
1098         * cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute,
1099         flow_depth_first_order_compute, flow_preorder_transversal_compute,
1100         flow_dfs_compute_reverse_init): Replaced relevant occurences of
1101         n_basic_blocks with last_basic_block.
1102         * cfgbuild.c (make_edges): Likewise.
1103         * cfgloop.c (flow_loop_scan, flow_loops_find): Likewise.
1104         * cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise.
1105         * combine.c (combine_instructions): Likewise.
1106         * df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap,
1107         iterative_dataflow_bitmap): Likewise.
1108         * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
1109         calc_idoms, idoms_to_doms): Likewise.
1110         * flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars):
1111         Likewise.
1112         * gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties,
1113         compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass,
1114         one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p,
1115         one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1,
1116         delete_null_pointer_checks, compute_code_hoist_vbeinout,
1117         hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
1118         compute_store_table, build_store_vectors): Likewise.
1119         * haifa-sched.c (sched_init): Likewise.
1120         * ifcvt.c (if_convert): Likewise.
1121         * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
1122         pre_edge_lcm, compute_available, compute_nearerout,
1123         compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching):
1124         Likewise.
1125         * predict.c (estimate_probability, process_note_prediction,
1126         note_prediction_to_br_prob): Likewise.
1127         * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise.
1128         * recog.c (split_all_insns, peephole2_optimize): Likewise.
1129         * regrename.c (copyprop_hardreg_forward): Likewise.
1130         * resource.c (init_resource_info): Likewise.
1131         * sched-rgn.c (build_control_flow, find_rgns, compute_trg_info,
1132         init_regions, schedule_insns): Likewise.
1133         * ssa-ccp.c (ssa_const_prop): Likewise.
1134         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
1135         * ssa.c (compute_dominance_frontiers,
1136         compute_iterated_dominance_frontiers, convert_to_ssa): Likewise.
1137
1138         * df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code)
1139         * gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector
1140         sizes consistently.
1141
1142 Mon May 27 14:28:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
1143
1144         * basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge):
1145         new.
1146         * rtlanal.c (hoist_test_store, can_hoist_insn_p, hoist_update_store,
1147         hoist_insn_after, hoist_insn_to_edge): New.
1148
1149 Mon May 27 12:14:02 CEST 2002  Jan Hubicka  <jh@suse.cz>
1150
1151         * basic-block.h (PEOP_SCAN_DEAD_STORES): New.
1152         (PROP_FINAL): Include.
1153         * flow.c (life_analysis, update_life_info,
1154         init_propagate_block_info, mark_set_1, mark_used_rgs):
1155         Support SCAN_DEAD_STORE.
1156
1157 2002-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1158
1159         * c-common.c (c_common_init): Set CPP arithmetic precision.
1160         * cppexp.c (cpp_num_part): Move typedef ...
1161         * cpphash.h: ...here; make unsigned HOST_WIDE_INT.
1162         * cppinit.c (cpp_create_reader): Default to host long arithmetic.
1163         (sanity_checks): Update.
1164
1165 2002-05-26  Geoffrey Keating  <geoffk@redhat.com>
1166
1167         * Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
1168         (mkheaders): New rule.
1169         (install-mkheaders): New rule.
1170         * configure.in (all_outputs): Add mkheaders.
1171         * configure: Regenerate.
1172         * mkheaders.in: New file.
1173
1174 2002-05-26  Jakub Jelinek  <jakub@redhat.com>
1175
1176         * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
1177
1178 2002-05-26  Andreas Jaeger  <aj@suse.de>
1179
1180         * cfg.c (dump_flow_info): Remove extra argument to fprintf.
1181
1182 2002-05-26  Neil Booth  <neil@daikokuya.demon.co.uk>
1183
1184         * cppexp.c (possible_sum_sign, integer_overflow, left_shift,
1185         right_shift): Remove.
1186         (cpp_num, cpp_num_part, PART_PRECISION, HALF_MASK, LOW_PART,
1187         HIGH_PART): New.
1188         (struct op): Use cpp_num.
1189         (num_zerop, num_eq, num_positive, num_greater_freq, num_trim,
1190         num_part_mul, num_unary_op, num_binary_op, num_negate,
1191         num_bitwise_op, num_inequality_op, num_equality_op, num_mul,
1192         num_div_op, num_lshift, num_rshift, append_digit): New.
1193         (interpret_number, parse_defined, eval_token, reduce): Update
1194         for two-integer arithmetic.
1195         (binary_handler): New typedef.
1196         (optab): Update.
1197         (COMPARE, EQUALITY, BITWISE, MINMAX, UNARY, SHIFT): Delete.
1198         (_cpp_parse_expr, reduce): Update to handle two-integers.
1199         * cpplib.c (_cpp_test_assertion): Back up on CPP_EOF.
1200
1201 2002-05-26  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1202
1203         * config/avr/avr-protos.h (avr_out_sbxx_branch): Declare.
1204         * config/avr/avr.c (jump_over_one_insn_p): Take length of the
1205         branch insn into account, do not assume 1.
1206         (avr_out_sbxx_branch): New function.  Optimize cases of skipping
1207         over single word insn.  Handle upper half of I/O space too.
1208         * config/avr/avr.md (*sbrx_branch): Use it.
1209         (*sbrx_and_branchhi, *sbrx_and_branchsi): Likewise.
1210         (*sbix_branch, *sbix_branch_bit7): Likewise.
1211         (*sbix_branch_tmp, *sbix_branch_tmp_bit7): New.
1212         Use RTL peepholes to optimize register operand sign tests.
1213
1214 2002-05-26  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1215
1216         * config/avr/avr.c (avr_asm_only_p): New variable.
1217         (avr_override_options): Set it here if AVR1.
1218         (asm_file_start): Test it here, report an error if set.
1219
1220 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
1221
1222         * alias.c: Fix formatting.
1223         * attribs.c: Likewise.
1224         * bb-reorder.c: Likewise.
1225         * bitmap.c: Likewise.
1226         * bitmap.h: Likewise.
1227         * builtins.c: Likewise.
1228
1229 Sun May 26 14:00:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
1230
1231         * reload.c (find_valid_class): Accept new argument DEST,
1232         choose class accordingly.
1233         (push_reload): Update callers.
1234
1235 2002-05-26  Andreas Jaeger  <aj@suse.de>
1236
1237         * combine.c (combine_instructions): Do not indent #if for
1238         traditional C.
1239
1240 2002-05-25  Richard Henderson  <rth@redhat.com>
1241
1242         * c-pragma.c (apply_pragma_weak): Convert value identifier to
1243         string for decl_attributes.
1244         (handle_pragma_weak): Call assemble_alias if we're modifying
1245         an existing decl.
1246
1247 2002-05-25  Richard Henderson  <rth@redhat.com>
1248
1249         PR target/6788
1250         * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
1251         using rtl instead of fprintf.
1252         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
1253         * config/sparc/sparc-protos.h: Update.
1254
1255 2002-05-25  Neil Booth  <neil@daikokuya.demon.co.uk>
1256
1257         * Makefile.in (C_COMMON_H): Fix.
1258         Update other targets.
1259         * c-common.c: Don't include c-lex.h.
1260         (builtin_define_with_value): Make static and prototype.
1261         (builtin_define_std): Move from c-lex.h.
1262         * c-common.h (init_c_lex): Move from c-lex.h.
1263         * c-decl.c: Don't include c-lex.h.
1264         (make_pointer_declarator): Move from c-parse.in.
1265         * c-lex.c: Don't include c-lex.h.
1266         * c-lex.h: Remove.
1267         * c-parse.in: Don't include c-lex.h; include c-pragma.h.
1268         (make_pointer_declarator): Move to c-decl.c.
1269         * c-pragma.c: Don't include c-lex.h.
1270         * c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h.
1271         * c-tree.h (make_pointer_declarator): New.
1272 doc:
1273         * passes.texi, tm.texi: Update.
1274 objc:
1275         * Make-lang.in: Update and correct.
1276         * objc-act.c: Don't include c-lex.h or cpplib.h.
1277 treelang:
1278         * treetree.c: Don't include c-lex.h.
1279 config:
1280         * darwin-c.c: Don't include c-lex.h.
1281         * c4x/c4x-c.c: Don't include c-lex.h.
1282         * c4x/t-c4x: Update.
1283         * i370/i370-c.c: Don't include c-lex.h.
1284         * i370/t-i370: Update.
1285         * i960/i960-c.c: Don't include c-lex.h.
1286         * i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h.
1287         * i960/t-960bare: Update.
1288         * i960/t-vxworks: Update.
1289         * rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h.
1290         * rs6000/t-darwin: Update.
1291         * rs6000/t-rs6000-c-rule: Update.
1292         * v850/v850-c.c: Don't include c-lex.h.
1293         * v850/v850.c: Don't include c-lex.h or cpplib.h.
1294
1295
1296 2002-05-25  Kazu Hirata  <kazu@cs.umass.edu>
1297
1298         * tree.def: Fix typos.
1299         * doc/install.texi: Likewise.
1300
1301 2002-05-25  Richard Henderson  <rth@redhat.com>
1302
1303         * configure.in (HAVE_AS_TLS): Add ia64 test.
1304         * configure: Rebuild.
1305         * config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New.
1306         (override_options): Set it.
1307         (TARGET_HAVE_TLS): New.
1308         (sdata_symbolic_operand): Look for 's'.
1309         (tls_symbolic_operand): New.
1310         (ia64_expand_load_address): Abort for tls symbols.
1311         (gen_tls_get_addr): New.
1312         (gen_thread_pointer): New.
1313         (ia64_expand_move): Split out from movdi.  Handle tls symbols.
1314         (rtx_needs_barrier): Add new unspecs.
1315         (ia64_encode_section_info): Handle tls symbols.
1316         (ia64_strip_name_encoding): Strip two encoding chars.
1317         * config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New.
1318         (TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New.
1319         (TARGET_OPTIONS): Add tls-size.
1320         (ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR.
1321         * config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL,
1322         UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New.
1323         (movqi, movhi, movsi, movdi, movti): Use ia64_expand_move.
1324         (movsf, movdf): Likewise.
1325         (movdi_symbolic): Use match_scratch.  Don't split if we won't
1326         have a scratch availiable.
1327         (load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22,
1328         add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel,
1329         load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New.
1330         * config/ia64/ia64-protos.h: Update.
1331         * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use
1332         sdata_symbolic_operand.
1333         (ASM_OUTPUT_LABELREF): Strip two characters.
1334
1335 2002-05-25  Kazu Hirata  <kazu@cs.umass.edu>
1336
1337         * combine.c (simplify_set): Remove an unnecessary subreg.
1338
1339 2002-05-25  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1340
1341         * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
1342
1343         * config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New.
1344
1345 2002-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
1346
1347         * toplev.c (output_clean_symbol_name): Fix another thinko.  Gosh.
1348
1349 2002-05-25  Roger Sayle  <roger@eyesopen.com>
1350
1351         * simplify-rtx.c (simplify_gen_relational): Simplify the RTX
1352         (cond (compare x y) 0) into the equivalent (cond x y).
1353
1354 2002-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
1355
1356         * toplev.c (output_clean_symbol_name): Use xstrdup.  Fix thinko.
1357
1358 2002-05-24  Zack Weinberg  <zack@codesourcery.com>
1359
1360         * config.gcc: Remove all stanzas for previously obsoleted
1361         systems.  Where necessary, add explicit error stanzas to
1362         prevent removed systems from being misidentified as something
1363         else.  Begin a fresh obsoletions list, with the systems that
1364         were reprieved last round.
1365         * doc/install.texi: Remove all mention of dead targets.
1366         * fixinc/mkfixinc.sh: Likewise.
1367
1368         * config/arm/arm.h: Bit 31 of target_flags is no longer
1369         reserved.
1370
1371         * config/1750a/1750a-protos.h, config/1750a/1750a.c,
1372         config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
1373         config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
1374         config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
1375         config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
1376         config/alpha/osf12.h, config/alpha/osf2or3.h,
1377         config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
1378         config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
1379         config/clipper/clipper-protos.h, config/clipper/clipper.c,
1380         config/clipper/clipper.h, config/clipper/clipper.md,
1381         config/clipper/clix.h, config/convex/convex-protos.h,
1382         config/convex/convex.c, config/convex/convex.h,
1383         config/convex/convex.md, config/convex/fixinc.convex,
1384         config/convex/proto.h, config/elxsi/elxsi-protos.h,
1385         config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
1386         config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
1387         config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
1388         config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
1389         config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
1390         config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
1391         config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
1392         config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
1393         config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
1394         config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
1395         config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
1396         config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
1397         config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
1398         config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
1399         config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
1400         config/m68k/altos3068.h, config/m68k/apollo68.h,
1401         config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
1402         config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
1403         config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
1404         config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
1405         config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
1406         config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
1407         config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
1408         config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
1409         config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
1410         config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
1411         config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
1412         config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
1413         config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
1414         config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
1415         config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
1416         config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
1417         config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
1418         config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
1419         config/mips/dec-osf1.h, config/mips/elflorion.h,
1420         config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
1421         config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
1422         config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
1423         config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
1424         config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
1425         config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
1426         config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
1427         config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
1428         config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
1429         config/ns32k/pc532-min.h, config/ns32k/pc532.h,
1430         config/ns32k/sequent.h, config/ns32k/tek6000.h,
1431         config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
1432         config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
1433         config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
1434         config/sparc/rtems.h, config/we32k/we32k-protos.h,
1435         config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
1436         Delete file.
1437
1438 2002-05-24  Richard Henderson  <rth@redhat.com>
1439
1440         * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1.
1441         * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC.
1442         * config/i386/i386.c (tls_model_chars): Add leading space.
1443         (tls_symbolic_operand): Don't bias by 1.
1444         (legitimize_address): Don't unbias by 1.
1445
1446 2002-05-24  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
1447
1448         * lcm.c (optimize_mode_switching): Change bb used as indices
1449         to bb->index.
1450
1451 2002-05-24  Richard Henderson  <rth@redhat.com>
1452
1453         * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead
1454         of update_life_info_in_dirty_blocks.
1455
1456 2002-05-24  Jakub Jelinek  <jakub@redhat.com>
1457
1458         PR other/6782
1459         * final.c (get_mem_expr_from_op): Return 0 if op is NULL.
1460
1461 2002-05-24  Neil Booth  <neil@daikokuya.demon.co.uk>
1462
1463         PR preprocessor/6780
1464         * cppmacro.c (enter_macro_context): Clear state.angled_headers.
1465
1466 2002-05-24  Jim Blandy  <jimb@redhat.com>
1467
1468         * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
1469         entry with a type code of zero, marking the end of the compilation
1470         unit's macro info.
1471
1472 2002-05-24  Richard Henderson  <rth@redhat.com>
1473
1474         * varasm.c (asm_output_bss): Always output one byte.
1475         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
1476
1477 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1478
1479         * tree.c (decl_type_context): Return NULL_TREE if decl's context is a
1480         namespace.
1481
1482 2002-05-24  Andreas Jaeger  <aj@suse.de>
1483
1484         * ggc-page.c (alloc_page): Cast variables of type size_t to
1485         unsigned long, adjust printf format string.
1486         (ggc_alloc): Likewise.
1487         (ggc_print_statistics): Likewise.
1488         (ggc_print_statistics): Correct printf format string for SCALE to
1489         use unsigned long.
1490
1491 2002-05-24  Danny Smith  <dannysmith@users.sourceforge.net>
1492
1493         * config/i386/mingw32.h (CPP_SPEC): Remove -remap.
1494
1495 2002-05-23  Gabriel Dos Reis  <gdr@codesourcery.com>
1496             Zack Weinberg     <zack@codesourcery.com>
1497
1498         * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output
1499         quoted strings.
1500         * dwarf2out.c (lookup_filename): Properly quote filename in .file
1501         directive in assembly file.
1502         * config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
1503         * config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
1504         * config/pj/pj.h (ASM_FILE_START): Likewise.
1505         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1506         * config/avr/avr.c (asm_file_end): Likewise.
1507         * toplev.c (output_quoted_string): Handle possibly signed plain
1508         char.
1509         * toplev.h (output_clean_symbol_name): Declare
1510         * toplev.c (output_clean_symbol_name): Define.
1511         * config/alpha/alpha.c (unicosmk_output_module_name): Use it.
1512         * config/1750a/1750a.h (ASM_FILE_START): Likewise.
1513
1514 2002-05-24  Alan Modra  <amodra@bigpond.net.au>
1515
1516         * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
1517
1518 2002-05-23  Vladimir Makarov  <vmakarov@redhat.com>
1519
1520         * genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4
1521         of size of unsigned.
1522
1523 2002-05-23  Richard Henderson  <rth@redhat.com>
1524
1525         * configure.in (HAVE_AS_TLS): New test.
1526         * config.in, configure: Rebuild.
1527         * config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS.
1528         (ix86_tls_dialect_string, ix86_tls_dialect): New.
1529         (override_options): Set it.
1530         (tls_model_chars, tls_symbolic_operand): New.
1531         (tls_symbolic_operand_1, global_dynamic_symbolic_operand): New.
1532         (local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New.
1533         (local_exec_symbolic_operand): New.
1534         (get_pic_label_name): Merge into output_set_got.
1535         (ix86_asm_file_end): Emit pic_label_name if defined.
1536         (legitimate_constant_p, constant_address_p): New.
1537         (legitimate_pic_operand_p): New.
1538         (legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF.
1539         (legitimate_address_p): Likewise.
1540         (ix86_encode_section_info): Rename from i386_; handle tls decls.
1541         (ix86_strip_name_encoding): New.
1542         (get_thread_pointer): New.
1543         (legitimize_address): Handle tls symbols.
1544         (output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF.
1545         Remove UNSPEC_PLT.
1546         (struct machine_function): Add some_ld_name.
1547         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it.
1548         (print_operand) [&]: Use it.  Handle UNSPEC_TP.
1549         (output_addr_const_extra): New.
1550         (maybe_get_pool_constant): New.
1551         (ix86_split_to_parts): Use it.
1552         (ix86_expand_move): Handle tls symbols.
1553         (ix86_tls_get_addr): New.
1554         * config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New.
1555         (TARGET_OPTIONS): Add tls-dialect.
1556         (CONSTANT_ADDRESS_P): Use new out-of-line function.
1557         (LEGITIMATE_CONSTANT_P): Likewise.
1558         (LEGITIMATE_PIC_OPERAND_P): Likewise.
1559         (TARGET_STRIP_NAME_ENCODING): New.
1560         (ASM_OUTPUT_LABELREF): New.
1561         (PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
1562         (OUTPUT_ADDR_CONST_EXTRA): New.
1563         (PREDICATE_CODES): Update.
1564         (ix86_tls_dialect, ix86_tls_dialect_string): New.
1565         * config/i386/i386.md: Regroup and renumber unspec constants.
1566         (tls_global_dynamic_gnu, tls_global_dynamic_sun): New.
1567         (tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New.
1568         (tls_global_dynamic, tls_local_dynamic_base): New.
1569         (tls_local_dynamic_once): New.
1570         * config/i386/i386-protos.h: Update.
1571
1572 2002-05-23  Richard Henderson  <rth@redhat.com>
1573
1574         * genemit.c (gen_insn): Print file:lineno comment before function.
1575         (main): likewise.
1576         * gensupport.c (struct queue_elem): Add filename member.
1577         (queue_pattern): Initialize it; update all callers.
1578         (process_include): Don't free filename.
1579         (read_md_rtx): Set read_rtx_filename.
1580
1581 2002-05-23  Hans Boehm  <Hans_Boehm@hp.com>
1582
1583         * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K pages.
1584
1585 2002-05-23  Richard Henderson  <rth@redhat.com>
1586
1587         * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case.
1588
1589 2002-05-23  Richard Henderson  <rth@redhat.com>
1590
1591         * doc/extend.texi (C++98 Thread-Local Edits): Update with
1592         commentary from Mark.
1593
1594 2002-05-23  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1595
1596         * bb-reorder.c (make_reorder_chain, make_reorder_chain_1):
1597         Use FOR_EACH_BB macros to iterate over basic block chain.
1598         * cfg.c (clear_edges, clear_bb_flags, dump_flow_info,
1599         alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges):
1600         Likewise.
1601         * cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add,
1602         find_unreachable_blocks, create_edge_list, verify_edge_list,
1603         remove_fake_edges, add_noreturn_fake_exit_edges,
1604         flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute):
1605         Likewise.
1606         * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
1607         find_sub_basic_blocks): Likewise.
1608         * cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks):
1609         Likewise.
1610         * cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps):
1611         Likewise.
1612         * cfgloop.c (flow_loops_cfg_dump, flow_loops_find):
1613         Likewise.
1614         * cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges,
1615         commit_edge_insertions, commit_edge_insertions_watch_calls,
1616         print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise.
1617         * combine.c (combine_instructions, reg_dead_at_p): Likewise.
1618         * conflict.c (conflict_graph_compute): Likewise.
1619         * df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
1620         df_modified_p, df_refs_unlink, df_dump): Likewise.
1621         * dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise.
1622         * final.c (compute_alignments): Likewise.
1623         * flow.c (update_life_info, update_life_info_in_dirty_blocks,
1624         delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data,
1625         count_or_remove_death_notes): Likewise.
1626         * gcse.c (oprs_unchanged_p, record_last_reg_set_info,
1627         compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill,
1628         classic_gcse, compute_transp, cprop, compute_pre_data,
1629         compute_transpout, invalidate_nonnull_info,
1630         delete_null_pointer_checks_1, delete_null_pointer_checks,
1631         compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems,
1632         compute_store_table, build_store_vectors, store_motion): Likewise.
1633         * global.c (global_conflicts, mark_elimination): Likewise.
1634         * graph.c (print_rtl_graph_with_bb): Likewise.
1635         * haifa-sched.c (sched_init): Likewise.
1636         * ifcvt.c (if_convert): Likewise.
1637         * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
1638         compute_available, compute_nearerout, compute_rev_insert_delete,
1639         optimize_mode_switching): Likewise.
1640         * local-alloc.c (local_alloc, update_equiv_regs): Likewise.
1641         * predict.c (estimate_probability, note_prediction_to_br_prob,
1642         propagate_freq, counts_to_freqs, expensive_function_p,
1643         estimate_bb_frequencies): Likewise.
1644         * profile.c (instrument_edges, get_exec_counts,
1645         compute_branch_probabilities, compute_checksum, branch_prob,
1646         find_spanning_tree): Likewise.
1647         * recog.c (split_all_insns, peephole2_optimize): Likewise.
1648         * reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs):
1649         Likewise.
1650         * regclass.c (scan_one_insn, regclass): Likewise.
1651         * regmove.c (mark_flags_life_zones, regmove_optimize,
1652         record_stack_memrefs): Likewise.
1653         * regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise.
1654         * reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise.
1655         * resource.c (find_basic_block): Likewise.
1656         * sched-ebb.c (schedule_ebbs): Likewise.
1657         * sched-rgn.c (is_cfg_nonregular, build_control_flow,
1658         find_single_block_region, find_rgns, schedule_insns)
1659         * sibcall.c (optimize_sibling_and_tail_recursive_call)
1660         * ssa-ccp.c (optimize_unexecutable_edges,
1661         ssa_ccp_df_delete_unreachable_insns): Likewise.
1662         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
1663         * ssa.c (find_evaluations, compute_dominance_frontiers_1,
1664         rename_block, convert_to_ssa, compute_conservative_reg_partition,
1665         compute_coalesced_reg_partition, rename_equivalent_regs,
1666         convert_from_ssa): Likewise.
1667         * config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue,
1668         process_for_unwind_directive): Likewise.
1669
1670         * df.c (FOR_ALL_BBS): Removed.
1671         * gcse.c (struct null_pointer_info): Type of current_block field
1672         changed.
1673         (struct reg_avail_info): Type of last_bb field changed.
1674         * config/ia64/ia64.c (block_num): Removed.
1675         (need_copy_state): Type changed.
1676         (last_block): New.
1677
1678 2002-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
1679
1680         * cppinit.c (mark_named_operators): Split out from init_builtins.
1681         (cpp_finish_options): Call it from here instead.
1682
1683 2002-05-23  Jason Thorpe  <thorpej@wasabisystems.com>
1684
1685         * builtin-attrs.def: Update copyright years.
1686         (ATTR_NONNULL): New attribute identifier.
1687         (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New
1688         attribute tree lists.
1689         (DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the
1690         format operand.
1691         (ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use...
1692         (DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg
1693         attribute lists.  Chain the appropriate nonnull attribute.
1694         * c-format.c (check_format_arg): Remove null format string
1695         warning.
1696         * testsuite/gcc.dg/format/null-1.c: New test.
1697
1698 2002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1699
1700         * Makefile.in (ADAC): Define.
1701         (SYSLIBS): Define.
1702         (.SUFFIXES): Move before language makefile fragments.
1703         (STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC.
1704
1705 2002-05-23  Mark Mitchell  <mark@codesourcery.com>
1706
1707         * varasm.c (make_decl_rtl): Don't allow weak variables to be
1708         placed in common.
1709
1710 Thu May 23 19:43:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
1711
1712         * cfg.c (dump_flow_info): Print results of
1713         maybe_hot/probably_never_executed predicates.
1714         * toplev.c (open_dump_file): Print function frequency.
1715
1716 2002-05-23  David S. Miller  <davem@redhat.com>
1717
1718         * cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use
1719         regsets.
1720
1721 2002-05-23  Jason Thorpe  <thorpej@wasabisystems.com>
1722
1723         * c-common.c (warn_nonnull): Declare.
1724         (c_common_attribute_table): Add "nonnull" attribute.
1725         (handle_nonnull_attribute, check_function_nonnull, nonnull_check_p,
1726         check_nonnull_arg, get_nonnull_operand, check_function_arguments,
1727         check_function_arguments_recurse): New functions.
1728         * c-common.h (warn_nonnull): Declare extern.
1729         (check_function_arguments, check_function_arguments_recurse): New
1730         prototypes.
1731         * c-decl.c (c_decode_option): Add -Wnonnull option.
1732         * c-format.c (set_Wformat): Set warn_nonnull if enabling
1733         format checking.
1734         (format_check_context): New structure.
1735         (check_format_info_recurse): Remove recursion and rename to...
1736         (check_format_arg): ...this.  Update comment.
1737         (check_format_info): Use check_function_arguments_recurse.
1738         * c-typeck.c (build_function_call): Call check_function_arguments
1739         instead of check_function_format.
1740         * doc/extend.texi: Document "nonnull" attribute.
1741         * doc/invoke.texi: Docuemnt -Wnonnull option.
1742         * testsuite/gcc.dg/nonnull-1.c: New test.
1743         * testsuite/gcc.dg/nonnull-2.c: New test.
1744
1745 2002-05-23  David S. Miller  <davem@redhat.com>
1746
1747         * basic-block.h (CLEANUP_NO_INSN_DEL): Define it.
1748         * cfgcleanup.c (cleanup_cfg): If it is set do not
1749         attempt to delete trivially dead insns.
1750         * except.c (finish_eh_generation): Pass it to cleanup_cfg.
1751         * toplev.c (rest_of_compilation): Document non-trivial aspect
1752         the RTL before optimize_save_area_alloca is run.
1753
1754 2002-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
1755
1756         * c-lex.c (indent_level): Remove.
1757         (cb_file_change, c_lex): Remove indent level handling.
1758         * c-lex.h (indent_level): Remove.
1759         * input.h (struct file_stack): Remove indent_level.
1760         * toplev.c (push_srcloc): Remove indent_level handling.
1761
1762 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1763
1764         PR target/6753
1765         * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
1766         of x in constraints for clarity.
1767         (sse_mov?fcc split): abort if op2 == op3.
1768         (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
1769         sse_movsfcc_const0_4): Add earlyclobber.
1770         (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
1771         sse_movdfcc_const0_4): Likewise.  Use DFmode, not SFmode.
1772         Use Y instead of x in constraints.
1773
1774 2002-05-23  Richard Henderson  <rth@redhat.com>
1775
1776         * doc/extend.texi (C99 Thread-Local Edits): New subsection.
1777         (C++98 Thread-Local Edits): New subsection.
1778
1779         * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace.
1780         (ix86_arch): Set type to enum processor_type.
1781
1782         * config/i386/i386.md (movsi_1, movdi_1_rex64): Use
1783         LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.
1784
1785 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1786
1787         * configure.in: Fix as version test for binutils 2.12.1 releases
1788         (without dates).
1789         * configure: Rebuilt.
1790
1791 2002-05-23  Richard Henderson  <rth@redhat.com>
1792
1793         * config/i386/i386.c (get_pic_label_name): New.
1794         (load_pic_register): Remove.
1795         (output_set_got): New.
1796         (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD.
1797         * config/i386/i386.md (UNSPEC_SET_GOT): New.
1798         (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove.
1799         (prologue_set_got, prologue_get_pc): Remove.
1800         (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New.
1801         (builtin_setjmp_receiver): Use gen_set_got.
1802         * config/i386/i386-protos.h: Update.
1803
1804 Thu May 23 09:22:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
1805
1806         * gcse.c (hash_expr): Do not use alias set for hashing.
1807
1808 2002-05-22  Kevin Buettner  <kevinb@redhat.com>
1809
1810         * dbxout.c (dbxout_class_name_qualifiers): New function.
1811         (dbxout_symbol): Output class/struct qualifiers for a .stabs entry.
1812
1813 2002-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
1814
1815         * cpperror.c (_cpp_begin_message): No special casing
1816         of CPP_FATAL_LIMIT.
1817         * cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/.
1818         (output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR.
1819         * cpplib.c (do_include_common): Use DL_ERROR.
1820         * cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove.
1821         (DL_ICE): Renumber.
1822         * fix-header.c (read_scan_file): Update.
1823
1824 2002-05-22  Richard Henderson  <rth@redhat.com>
1825
1826         * config/i386/i386.c (ix86_expand_call): New function, extracted
1827         from md call patterns.  Add pic_offset_table_rtx to
1828         CALL_INSN_FUNCTION_USAGE when needed.
1829         * config/i386/i386.md (call_pop, call): Use ix86_expand_call.
1830         (call_value_pop, call_value, untyped_call): Likewise.
1831         (call_exp, call_value_exp): Remove.
1832         * config/i386/i386-protos.h: Update.
1833
1834 2002-05-22  Richard Henderson  <rth@redhat.com>
1835
1836         * varasm.c (default_section_type_flags): Check for VAR_DECL
1837         before using DECL_THREAD_LOCAL.
1838
1839 2002-05-22  David Edelsohn  <edelsohn@gnu.org>
1840
1841         * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
1842         (STARTFILE_SPEC): Delete PE crt0.o.
1843         * config/rs6000/aix51.h: Same.
1844         * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF.
1845         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
1846         function descriptor symbol.  Use RS6000_OUTPUT_BASENAME.
1847         (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
1848         * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.
1849
1850 2002-05-22  Richard Henderson  <rth@redhat.com>
1851
1852         * varasm.c (default_section_type_flags): Handle tls data and
1853         default sections.
1854         (default_unique_section): Handle tls sections.
1855
1856 2002-05-23  Alan Modra  <amodra@bigpond.net.au>
1857
1858         * configure.in (CROSS): Define NATIVE_CROSS.
1859         * configure: Regenerate.
1860         * gcc.c (STARTFILE_PREFIX_SPEC): Define.
1861         (startfile_prefix_spec): New var.
1862         (static_specs): Add startfile_prefix_spec.
1863         (do_spec_2): Split out from..
1864         (do_spec): ..here.
1865         (main): Process startfile_prefix_spec.
1866         * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
1867         dynamic linker.
1868         (STARTFILE_PREFIX_SPEC): Define.
1869         (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
1870         absolute paths.
1871
1872 2002-05-22  Kazu Hirata  <kazu@cs.umass.edu>
1873
1874         * cpperror.c: Fix formatting.
1875         * cppexp.c: Likewise.
1876         * cppfiles.c: Likewise.
1877         * cpphash.c: Likewise.
1878         * cpphash.h: Likewise.
1879         * cppinit.c: Likewise.
1880         * cpplex.c: Likewise.
1881         * cpplib.c: Likewise.
1882         * cppmacro.c: Likewise.
1883         * cppmain.c: Likewise.
1884         * cppspec.c: Likewise.
1885
1886 2002-05-22  Jakub Jelinek  <jakub@redhat.com>
1887
1888         * combine.c (force_to_mode): Use gen_int_mode.
1889         Don't clear CONST_INT bits outside of mode.
1890
1891 2002-05-22  Richard Henderson  <rth@redhat.com>
1892
1893         * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
1894         * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
1895
1896 2002-05-22  Jakub Jelinek  <jakub@redhat.com>
1897
1898         PR c/6643
1899         * emit-rtl.c (widen_memory_access): Only call compare_tree_int
1900         if DECL_SIZE_UNIT is INTEGER_CST.
1901
1902 2002-05-22  Richard Henderson  <rth@redhat.com>
1903
1904         * flow.c (life_analysis): Delete broken reg_label check.
1905
1906 2002-05-22  Richard Henderson  <rth@redhat.com>
1907
1908         * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
1909         * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
1910
1911 Wed May 22 18:39:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
1912
1913         * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
1914         (embed-bb.c): New rule.
1915         * t-sh64 (LIB2FUNCS_EXTRA): Don't change.
1916         * config/sh/embed_bb.c: Delete.
1917
1918 Wed May 22 18:25:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
1919
1920         * c-common.c (cb_register_builtins): Don't indent '#' of #define.
1921
1922 2002-05-22  Kazu Hirata  <kazu@cs.umass.edu>
1923
1924         * config/h8300/h8300.md (*andorqi3): New.
1925
1926 2002-05-22  Neil Booth  <neil@daikokuya.demon.co.uk>
1927
1928         PR preprocessor/6517
1929         * Makefile.in: Update.
1930         * c-common.c (c_common_post_options): Add preprocessor
1931         errors to the error count.
1932         * c-lang.c (c_post_options): Kill.
1933         (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
1934         * hooks.h: Add header guards.
1935         * langhooks-def.h: Include hooks.h.
1936         (LANG_HOOKS_POST_OPTIONS): Update.
1937         * langhooks.h (struct lang_hooks): Update post_options.
1938         * toplev.c (parse_options_and_default_flags): Update.
1939 objc:
1940         * objc-lang.c (objc_post_options): Kill.
1941         (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
1942
1943 2002-05-21  Bruce Korb  <bkorb@gnu.org>
1944
1945         * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check
1946         * fixinc/inclhack.def(thread_keyword): use c_fix = format.
1947         * fixinc/fixincl.x: regen.
1948
1949 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
1950
1951         * cfgbuild.c: Fix formatting.
1952         * cfg.c: Likewise.
1953         * cfgcleanup.c: Likewise.
1954         * cfglayout.c: Likewise.
1955         * cfgloop.c: Likewise.
1956         * cfgrtl.c: Likewise.
1957
1958 2002-05-21  Richard Henderson  <rth@redhat.com>
1959
1960         * c-common.h (enum rid): Add RID_THREAD.
1961         * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
1962         (grokdeclarator): Grok __thread.
1963         * c-parse.in (reswords): Add __thread.
1964         (rid_to_yy): Add RID_THREAD.
1965
1966         * tree.h (DECL_THREAD_LOCAL): New.
1967         (struct tree_decl): Add thread_local_flag.
1968         * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
1969         * tree.c (staticp): TLS variables are not static.
1970
1971         * target-def.h (TARGET_HAVE_TLS): New.
1972         * target.h (have_tls): New.
1973         * output.h (SECTION_TLS): New.
1974         * varasm.c (assemble_variable): TLS variables can't be common for now.
1975         (default_section_type_flags): Handle .tdata and .tbss.
1976         (default_elf_asm_named_section): Handle SECTION_TLS.
1977         (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.
1978
1979         * flags.h (flag_tls_default): Declare.
1980         * toplev.c (flag_tls_default): Define.
1981         (display_help): Display help for it.
1982         (decode_f_option): Set it.
1983
1984         * doc/extend.texi (Thread-Local): New node describing language-level
1985         thread-local storage.
1986         * doc/invoke.texi (-ftls-model): Document.
1987
1988         * fixinc/inclhack.def (thread_keyword): New.
1989         * fixinc/fixincl.x: Rebuild.
1990
1991 2002-05-21  Jeffrey A Law  <law@redhat.com>
1992
1993         * optabs.c (expand_binop): For double-word integer multiplies,
1994         do not compute intermediate results into something that is
1995         not a register (such as a SUBREG or MEM).
1996
1997         * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
1998         (ix86_sched_reorder): Make sure to initialize scheduling
1999         data even when there's only one insn in the ready queue.
2000
2001 2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>
2002
2003         * genautomata.c (reserv_sets_hash_value): Fix a typo.
2004
2005 2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>
2006
2007         * genautomata.c (reserv_sets_hash_value): Define hash_value as
2008         set_el_t.  Transform the hash value into unsigned.
2009         (output_cycle_reservs): Fix bug with output of repeated `nothing'.
2010         (transform_3): Add code to process `(A,B)+(D,E)'.
2011
2012 2002-05-21  NIIBE Yutaka  <gniibe@m17n.org>
2013
2014         * reload1.c (do_output_reload): Run delete_output_reload
2015         only if optimizing.
2016
2017 2002-05-21  Roger Sayle  <roger@eyesopen.com>
2018
2019         PR middle-end/6600
2020         * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
2021         larger than INTEGER_CST.  (store_by_pieces_1): Use it here...
2022         (can_store_by_pieces): ... and here to limit the largest mode used.
2023         Add a comment to document this function.
2024
2025 2002-05-21  Richard Henderson  <rth@redhat.com>
2026
2027         * flow.c (life_analysis): Fix test for deleted label.
2028
2029 2002-05-21  Neil Booth  <neil@daikokuya.demon.co.uk>
2030
2031         * doc/tm.texi: Fix typo.
2032
2033 2002-05-21  Zack Weinberg  <zack@codesourcery.com>
2034
2035         * c-common.c (c_common_init): Set options->unsigned_char from
2036         flag_signed_char.
2037         (cb_register_builtins): Define __STRICT_ANSI__ and
2038         __CHAR_UNSIGNED__ here...
2039         * cppinit.c (init_builtins): Not here.
2040         (cpp_create_reader): unsigned_char option defaults to 0, not
2041         !DEFAULT_SIGNED_CHAR.
2042         (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
2043         and -funsigned-char.
2044
2045         * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
2046         * cpphash.c (_cpp_init_hashtable): Don't set it.
2047         * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
2048         directly.  Clarify comment.
2049
2050 2002-05-21  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2051
2052         * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to
2053         neighbouring basic blocks.  Use ENTRY_BLOCK_PTR->next_bb instead of
2054         BASIC_BLOCK (0).  Use EXIT_BLOCK_PTR->prev_bb instead of
2055         BASIC_BLOCK (n_basic_blocks - 1).
2056         * cfganal.c (can_fallthru, flow_call_edges_add,
2057         flow_preorder_transversal_compute): Too.
2058         * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
2059         find_sub_basic_blocks): Too.
2060         * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too.
2061         * cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
2062         fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too.
2063         * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too.
2064         * combine.c (this_basic_block): Type changed to basic_block.
2065         (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
2066         nonzero_bits, num_sign_bit_copies, get_last_value_validate,
2067         get_last_value, distribute_notes, distribute_links): Too.
2068         * final.c (compute_alignments): Too.
2069         * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too.
2070         * function.c (thread_prologue_and_epilogue_insns): Too.
2071         * gcse.c (compute_code_hoist_vbeinout): Too.
2072         * global.c (build_insn_chain): Too.
2073         * ifcvt.c (find_if_block, find_cond_trap): Too.
2074         * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too.
2075         * regmove.c (regmove_optimize): Too.
2076         * resource.c (find_basic_block): Too.
2077         * sched-ebb.c (schedule_ebbs): Too.
2078         * ssa-dce.c (find_control_dependence, find_pdom): Too.
2079
2080 2002-05-21  Andreas Jaeger  <aj@suse.de>
2081
2082         * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
2083
2084 2002-05-21  Richard Henderson  <rth@redhat.com>
2085
2086         * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
2087         unspec names, not numbers.
2088
2089 2002-05-21  Joseph S. Myers  <jsm28@cam.ac.uk>
2090
2091         * doc/sourcebuild.texi: Mention snapshot-README and
2092         snapshot-index.html as needing updating for new front ends.
2093
2094 2002-05-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2095
2096         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
2097         disabling checking, and avoid multiple evaluation of RTX.
2098
2099 2002-05-21  Richard Earnshaw  <rearnsha@arm.com>
2100
2101         * bitmap.c (bitmap_find_bit): Return early if we have the correct
2102         element cached.
2103
2104 Tue May 21 10:51:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
2105
2106         * profile.c (gen_edge_profiler):  Set alias set before the memory is
2107         used.
2108
2109 2002-05-20  David S. Miller  <davem@redhat.com>
2110
2111         * cselib.c (max_value_regs): New.
2112         (cselib_lookup, cselib_invalidate_regno): Initialize it when
2113         adding new entries to the REG_VALUES table and we are dealing with
2114         a hard register.
2115         (clear_table): Initialize it.
2116         (cselib_invalidate_regno): Use it to determine which hard
2117         registers to scan when mode is not VOIDmode.
2118
2119 2002-05-20  Duraid Madina   <duraid@fl.net.au>
2120
2121         * tradcpp.c (fixup_newlines): Use old-style function header.
2122
2123 2002-05-20  Krister Walfridsson  <cato@df.lth.se>
2124
2125         * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
2126
2127 2002-05-20  H.J. Lu  (hjl@gnu.org)
2128
2129         Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
2130
2131         * config/mips/mips.h (DFMODE_NAN): Defined.
2132         (SFMODE_NAN): Likewise.
2133
2134 2002-05-20  Dale Johannesen  <dalej@apple.com>
2135
2136         * combine.c (cant_combine_insn_p):  Back out my
2137         previous patch.
2138
2139 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
2140
2141         * params.c: Fix formatting.
2142         * params.h: Likewise.
2143         * predict.c: Likewise.
2144         * prefix.c: Likewise.
2145         * print-rtl.c: Likewise.
2146         * print-tree.c: Likewise.
2147         * profile.c: Likewise.
2148
2149 2002-05-20  H.J. Lu  (hjl@gnu.org)
2150
2151         * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
2152
2153 2002-05-20  Nick Clifton  <nickc@cambridge.redhat.com>
2154
2155         * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
2156         switches straight on to the assembler, do not abbreviate them.
2157         * config/arm/elf.h (ASM_SPEC): As above.
2158         * config/arm/semi.h (ASM_SPEC): As above.
2159         * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
2160         * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
2161         -mcpu=xscale on to the assembler by default.
2162         * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
2163
2164 2002-05-20  Richard Henderson  <rth@redhat.com>
2165
2166         * cse.c (canon_hash): Reorder do_not_record test.  Always
2167         allow pic_offset_table_rtx.
2168
2169 2002-05-19  Toon Moene  <toon@moene.indiv.nluug.nl>
2170
2171         * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
2172         (expand_binop): Ditto (3 times).
2173
2174 2002-05-19  Mark Mitchell  <mitchell@doubledemon.codesourcery.com>
2175
2176         * Makefile.in (distclean): Remove QMTest stuff.
2177         (QMTEST_PATH): New variable.
2178         (QMTESTFLAGS): Likewise.
2179         (QMTESTRUNFLAGS): Likewise.
2180         (QMTEST): Likewise.
2181         (QMTEST_GPP_TESTS): Likewise.
2182         (QMTEST_DIR): Likewise.
2183         (QMTEST_DIR/context): New target.
2184         (qmtest-g++): Likeise.
2185         (qmtest-gui): Likewise.
2186         (QMTEST_DIR/gpp-expected.qmr): Likewise.
2187
2188 2002-05-19  Aldy Hernandez  <aldyh@redhat.com>
2189
2190         * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
2191         an altivec register if TARGET_ALTIVEC.
2192
2193         * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
2194         to ALTIVEC_VECTOR_MODE.
2195         (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
2196         (rs6000_va_arg): Vectors may go in registers if they are not
2197         altivec vectors.
2198
2199 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
2200
2201         * protoize.c: Fix formatting.
2202
2203 2002-05-19  Richard Henderson  <rth@redhat.com>
2204
2205         * gensupport.c (init_include_reader): Merge into ...
2206         (process_include): ... here.  Simplify composite path creation.
2207         Plug memory leaks.  Fix file/line number tracking.  Do not
2208         process_define_cond_exec.  Return void.
2209         (process_rtx): Don't check process_include return value.
2210
2211 2002-05-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2212
2213         * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
2214         fields.
2215         (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
2216         traversing basic block chain.
2217         (create_basic_block_structure, create_basic_block): Declaration changed.
2218         (link_block, unlink_block): Declare.
2219         * cfg.c (entry_exit_blocks): Initialize new fields.
2220         (link_block, unlink_block): New.
2221         (expunge_block_nocompact): Unlink basic block.
2222         (dump_flow_info): Print prev_bb/next_bb fields.
2223         * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
2224         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
2225         * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
2226         * cfgrtl.c (create_basic_block_structure, create_basic_block,
2227         split_block, force_nonfallthru_and_redirect, split_edge): Modified.
2228         (verify_flow_info): Check that list agrees with numbering.
2229
2230 2002-05-19  Neil Booth  <neil@daikokuya.demon.co.uk>
2231
2232         * c-common.c (preprocessing_asm): New macro.
2233         * c-lex.h (builtin_define, builtin_assert): Use pfile.
2234 doc:
2235         * tm.texi: Update.
2236 config/alpha:
2237         * alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
2238         (CPP_SPEC): Simplify.
2239         (TARGET_CPU_CPP_BUILTINS): Update.
2240         * freebsd.h (TARGET_OS_CPP_BUILTINS): New.
2241         (CPP_SPEC): Simplify.
2242         * linux.h (CPLUSPLUS_CPP_SPEC): Remove.
2243         (TARGET_OS_CPP_BUILTINS): Update.
2244         * osf.h (CPP_XFLOAT_SPEC): Kill.
2245         (TARGET_OS_CPP_BUILTINS): Update.
2246         (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
2247         * osf5.h (CPP_XFLOAT_SPEC): Kill.
2248         * vms.h (CPP_SUBTARGET_SPEC): Kill.
2249         (TARGET_OS_CPP_BUILTINS): Update.
2250
2251 2002-05-19  Richard Henderson  <rth@redhat.com>
2252
2253         * varasm.c (default_binds_local_p): Fix typo.
2254
2255 2002-05-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2256
2257         * config/avr/avr.c (machine_dependent_reorg): Sign extend the
2258         CONST_INT operand to the correct mode after adding 1 to it.
2259
2260 2002-05-19  Mark Mitchell  <mark@codesourcery.com>
2261
2262         * config.gcc (powerpc-wrs-windiss*): New target.
2263
2264 2002-05-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2265
2266         * config/rs6000/rs6000.md (ashrdi3_no_power): New.
2267         (ashrdi3): Use it.
2268
2269 2002-05-18  Mark Mitchell  <mark@codesourcery.com>
2270
2271         * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
2272         alphasort.
2273         * config.in: Regenerated.
2274         * configure: Regenerated.
2275
2276 2002-05-19  Richard Henderson  <rth@redhat.com>
2277
2278         * target-def.h (TARGET_BINDS_LOCAL_P): New.
2279         * target.h (struct gcc_target): Move boolean fields to the end.
2280         Add binds_local_p.
2281         * varasm.c (default_binds_local_p): New.
2282         * output.h: Declare it.
2283
2284         * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
2285         * config/cris/cris.c (cris_encode_section_info): Likewise.
2286         * config/i386/i386.c (i386_encode_section_info): Likewise.
2287         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
2288         * config/sh/sh.c (sh_encode_section_info): Likewise.
2289
2290         * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
2291         (TARGET_BINDS_LOCAL_P): New.
2292
2293 2002-05-19  Richard Henderson  <rth@redhat.com>
2294
2295         * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
2296         FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
2297         MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
2298
2299         * toplev.c (display_help): Kill -a -ax help.
2300
2301         * config/1750a/1750a.h, config/alpha/alpha.h,
2302         config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
2303         config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
2304         config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
2305         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
2306
2307         * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
2308         * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
2309
2310         * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
2311         (ix86_output_function_block_profiler): Kill.
2312         * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
2313         (m68hc11_function_block_profiler): Kill.
2314         * config/m68hc11/m68hc11-protos.h: Update.
2315         * config/m88k/m88k.c (output_block_profiler): Kill.
2316         (output_function_block_profiler): Kill.
2317         * config/m88k/m88k-protos.h: Update.
2318
2319 2002-05-19  Richard Henderson  <rth@redhat.com>
2320
2321         * system.h (STRIP_NAME_ENCODING): Poison it.
2322         * output.h (STRIP_NAME_ENCODING): Remove.
2323         (default_strip_name_encoding): Declare.
2324         * target-def.h (TARGET_STRIP_NAME_ENCODING): New.
2325         * target.h (strip_name_encoding): New.
2326         * varasm.c (default_strip_name_encoding): New.
2327
2328         * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
2329         config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
2330         config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
2331         config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
2332         config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
2333         config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
2334         config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
2335         config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
2336         config/v850/v850.h: Use the hook, not the macro.
2337
2338         * config/darwin-protos.h, config/darwin.c, config/darwin.h,
2339         config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
2340         config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
2341         config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
2342         config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
2343         config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
2344         config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
2345         config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
2346         config/v850/v850.c, config/v850/v850.h:
2347         Move STRIP_NAME_ENCODING to out-of-line function and add
2348         TARGET_STRIP_NAME_ENCODING.
2349
2350         * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
2351         config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
2352         with TARGET_STRIP_NAME_ENCODING referencing existing function;
2353         make function static.
2354
2355         * xcoffout.c: Include target.h
2356         * Makefile.in (xcoffout.o): Update.
2357
2358         * config/avr/avr.c (avr_encode_section_info): Correct prototype.
2359         * config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
2360         * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
2361         reloc argument unused.
2362         * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
2363
2364         * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
2365         STRIP_NAME_ENCODING docs.
2366
2367 2002-05-19  Andreas Jaeger  <aj@suse.de>
2368
2369         * gengenrtl.c: Add prototype for excluded_rtx.
2370
2371         * real.h: Add prototype for exact_real_truncate.
2372
2373 2002-05-18  Richard Henderson  <rth@redhat.com>
2374
2375         * system.h (ENCODE_SECTION_INFO): Poison it.
2376         * target-def.h (TARGET_ENCODE_SECTION_INFO): New.
2377         * target.h (encode_section_info): New.
2378         * varasm.c (make_decl_rtl, output_constant_def): Use it.
2379         * hooks.c (hook_tree_int_void): New.
2380         * hooks.h: Declare it.
2381
2382         * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
2383         config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
2384         config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
2385         config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
2386         config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
2387         config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
2388         config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
2389         config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
2390         config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
2391         config/mcore/mcore-protos.h, config/mcore/mcore.c,
2392         config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
2393         config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
2394         config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
2395         config/stormy16/stormy16.c, config/stormy16/stormy16.h:
2396         Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
2397         referencing existing function.  Make function static.
2398
2399         * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
2400         config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
2401         config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
2402         config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
2403         config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
2404         config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
2405         config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
2406         config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
2407         config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
2408         config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
2409         config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
2410         config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
2411         config/xtensa/xtensa.c, config/xtensa/xtensa.h:
2412         Move ENCODE_SECTION_INFO to out-of-line function and add
2413         TARGET_ENCODE_SECTION_INFO.
2414
2415         * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
2416         (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
2417
2418         * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
2419         from SUBTARGET_*
2420         (switch_to_section): Replace in_rdata case with in_readonly_data.
2421
2422         * config/h8300/h8300.c (h8300_encode_label): Make static.
2423         * config/h8300/h8300-protos.h: Update.
2424
2425         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
2426         from rs6000_encode_section_info; make static.
2427         (rs6000_xcoff_encode_section_info): New.
2428
2429         * config/v850/v850.c (v850_encode_data_area): Make static.
2430         * config/v850/v850-protos.h: Update.
2431
2432         * config/vax/vax.c: Include flags.h.
2433         (vms_select_section): Fix typo.
2434
2435         * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
2436         ENCODE_SECTION_INFO docs.
2437
2438 2002-05-18  Richard Henderson  <rth@redhat.com>
2439
2440         * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
2441         REGISTER_TARGET_PRAGMAS.
2442         * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
2443
2444         * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
2445
2446 2002-05-18  Richard Henderson  <rth@redhat.com>
2447
2448         * system.h (SELECT_RTX_SECTION): Poison.
2449         * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
2450         * target.h (select_rtx_section): New.
2451         * varasm.c (output_constant_pool): Use it.
2452         (default_select_rtx_section, default_elf_select_rtx_section): New.
2453         * output.h: Declare them.
2454
2455         * config/darwin.h (SELECT_RTX_SECTION): Move ...
2456         * config/darwin.c (machopic_select_rtx_section): ... here.
2457         * config/darwin-protos.h: Update.
2458
2459         * config/nextstep.h (SELECT_RTX_SECTION): Move ...
2460         * config/nextstep.c (machopic_select_rtx_section): ... here.
2461         (nextstep_select_section): Rename variable to avoid macro clash.
2462         * config/nextstep-protos.h: Update.
2463
2464         * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
2465         config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
2466         config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
2467         config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
2468         config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
2469         config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
2470         config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
2471         config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
2472         config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
2473         (SELECT_RTX_SECTION): Remove.
2474
2475         * config/darwin.h, config/elfos.h, config/nextstep.h,
2476         config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
2477         config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
2478         config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
2479         config/sparc/lynx.h, config/xtensa/xtensa.c
2480         (TARGET_ASM_SELECT_RTX_SECTION): New.
2481
2482         * config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
2483         * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
2484         * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
2485         * config/ia64/ia64.c (ia64_select_rtx_section): ... here.
2486         (ia64_aix_select_rtx_section): New.
2487         * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
2488         redefining.
2489         * config/mips/mips.c (mips_select_rtx_section): Make static.
2490         Support ELF SHF_MERGE features.
2491         * config/mips/mips-protos.h: Update.
2492         * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
2493         * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
2494         (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
2495         make static, fall back to default_elf_select_rtx_section.
2496         * config/rs6000/rs6000-protos.h: Update.
2497         * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
2498         * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
2499         * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
2500         * config/romp/romp.c (romp_select_rtx_section): New.
2501         * config/s390/s390.c (s390_select_rtx_section): New.
2502         * config/xtensa/xtensa.c: Include output.h.  Shuffle local function
2503         declarations before target macro definition.
2504         (xtensa_emit_call): Use static buffer.
2505         (xtensa_select_rtx_section): New.
2506         * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
2507         (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
2508         (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
2509
2510         * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
2511         SELECT_RTX_SECTION docs.
2512
2513 Sun May 19 00:24:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
2514
2515         * i386.md (movsi/movdi): Fix template.
2516         (sse2 patterns): Set attributes consistently.
2517
2518         * i386.md (pushqi2, ashrqi_*): Fix constraint.
2519
2520 2002-05-18  Toon Moene  <toon@moene.indiv.nluug.nl>
2521
2522         * optabs.c (complex_part_zero_p): New.
2523         * (expand_cmplxdiv_straight): Use it.
2524         * (expand_cmplxdiv_wide): Ditto.
2525         * (expand_binop): Ditto.
2526
2527 2002-05-18  Richard Henderson  <rth@redhat.com>
2528
2529         * final.c (HAVE_READONLY_DATA_SECTION): New.
2530         (shorten_branches): Use it instead of ifdefs.
2531         * varasm.c (enum in_section): Add in_readonly_data.
2532         (text_section, data_section): Tidy.
2533         (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
2534
2535         * config/darwin.h, config/nextstep.h, config/h8300/elf.h,
2536         config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
2537         (READONLY_DATA_SECTION): Don't undef.
2538
2539         * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
2540         config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
2541         config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
2542
2543         * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
2544         config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
2545         config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
2546         config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
2547
2548         * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
2549         config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
2550         config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
2551         config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
2552         config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
2553         config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
2554         config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
2555         config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
2556         CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
2557
2558         * config/elfos.h, config/netware.h, config/1750a/1750a.h,
2559         config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
2560         config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
2561         config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
2562         config/pa/pa64-hpux.h, config/sparc/litecoff.h
2563         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
2564
2565         * config/elfos.h, config/netware.h, config/svr3.h,
2566         config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
2567         config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
2568         config/h8300/h8300.h, config/i386/i386-interix.h,
2569         config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
2570         config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
2571
2572         * config/elfos.h, config/netware.h, config/svr3.h,
2573         config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
2574         config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
2575         config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
2576         config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
2577
2578         * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
2579         config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
2580         config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
2581         config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
2582         config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
2583         config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
2584         config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
2585         config/rs6000/sysv4.h, config/v850/v850.h
2586         (EXTRA_SECTIONS): Remove in_const/in_rdata.
2587         (EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
2588
2589         * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
2590         config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
2591         config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
2592         config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
2593         * config/alpha/alpha.c (alpha_start_function): Likewise.
2594         (alpha_write_linkage): Likewise.
2595         * config/m32r/m32r.c (m32r_select_section): Likewise.
2596         * config/m88k/m88k.c (m88k_select_section): Likewise.
2597         * config/mips/mips.c (mips_select_rtx_section): Likewise.
2598         * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
2599         (rs6000_elf_select_section): Likewise.
2600         * config/v850/v850.c (v850_select_section): Likewise.
2601
2602         * config/1750a/1750a.h, config/i860/sysv3.h
2603         (READONLY_DATA_SECTION_ASM_OP): New.
2604         READONLY_DATA_SECTION_ASM_OP.
2605         * config/i386/interix.c, config/i386/winnt.c
2606         (i386_pe_unique_section): Always use .rdata prefix.
2607         * config/pa/som.h (readonly_data): Always switch to read-only section.
2608         (READONLY_DATA_SECTION): Predicate on flag_pic.
2609         * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
2610         * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
2611         (READONLY_DATA_SECTION): Update.
2612
2613 2002-05-18  Jason Thorpe  <thorpej@wasabisystems.com>
2614
2615         * c-common.c (c_common_post_options): Warn if -Wformat-zero-length
2616         is used without -Wformat.
2617         * c-common.h (warn_format_zero_length): Declare extern.
2618         * c-decl.c (warn_options): Add "format-zero-length".
2619         * c-format.c (warn_format_zero_length): Declare.
2620         (set_Wformat): Set warn_format_zero_length for -Wformat.
2621         (check_format_info): Only warn about zero-length formats if
2622         warn_format_zero_length is true.  Include the format type
2623         name in the warning message.
2624         * doc/invoke.texi: Document -Wformat-zero-length.
2625         * testsuite/gcc.dg/format/zero-length-1.c: New test.
2626
2627 2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
2628
2629         * timevar.c: Fix formatting.
2630         * tlink.c: Likewise.
2631         * toplev.c: Likewise.
2632         * tree-dump.c: Likewise.
2633         * tree-inline.c: Likewise.
2634
2635 2002-05-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2636
2637         * cppinit.c (cpp_post_options): If preprocessed, turn off
2638         traditional.  If traditional, turn off column numbers.
2639         * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
2640         * cpptrad.c (handle_newline): Update line_base.
2641         (skip_comment): Handle -Wcomment.
2642
2643 2002-05-17  Zack Weinberg  <zack@codesourcery.com>
2644
2645         * cppinit.c (struct builtin): Remove unused fields.
2646         (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
2647         (operator_array): New - was second half of builtin_array.
2648         (init_builtins): Simplify loop over builtin_array/operator_array.
2649
2650 2002-05-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2651
2652         * defaults.h (UNIQUE_SECTION): Remove.
2653         * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
2654
2655 2002-05-17  Richard Henderson  <rth@redhat.com>
2656
2657         * expr.c (init_expr_once): Don't use start/end_sequence.
2658         Use rtx_alloc instead of emit_insn.
2659         * toplev.c (lang_dependent_init): Run init_expr_once here ...
2660         (lang_independent_init): ... not here.
2661
2662 2002-05-17  Jason Thorpe  <thorpej@wasabisystems.com>
2663
2664         * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
2665
2666 2002-05-17  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2667
2668         * config/avr/avr.c (avr_regs_to_save): New function.  Also check
2669         for fixed registers, possibly used for global register variables.
2670         (initial_elimination_offset, avr_output_function_prologue,
2671         avr_output_function_epilogue):  Move common code to avr_regs_to_save.
2672
2673 2002-05-17  Neil Booth  <neil@daikokuya.demon.co.uk>
2674
2675         * Makefile.in: Update for cpptrad.c.
2676         * cpphash.h (struct cpp_buffer): New members for buffer
2677         overlays.
2678         (struct cpp_reader): New members for traditional output.
2679         (_cpp_read_logical_line, _cpp_overlay_buffer): New.
2680         * cppinit.c (cpp_create_reader): Set trad_line.
2681         (cpp_destroy): Free trad_out_base if used.
2682         (cpp_read_main_file): Overlay an empty buffer if traditional.
2683         (cpp_finish_options): Don't do builtins.
2684         (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
2685         (cpp_handle_option): Handle it.
2686         * cpplex.c (continue_after_nul): New.
2687         (_cpp_lex_direct): Use handle_nul.
2688         * cpplib.h (struct cpp_options): New traditional option.
2689         * cpptrad.c: New file.
2690
2691 2002-05-17  Neil Booth  <neil@daikokuya.demon.co.uk>
2692
2693         * c-common.c (c_common_init_options): Use C89 for Objective-C,
2694         and set the options flag.
2695         * cppinit.c (lang_flags): Remove objc.
2696         (lang_defaults): Remove OBJC and OBJCXX.
2697         (set_lang): Update.
2698         (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
2699         (cpp_handle_option): Remove -+ and -lang-objc++.
2700         For ObjC, just set a flag.
2701         (print_help): Update.
2702         * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
2703
2704 2002-05-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2705
2706         * doc/install.texi (Specific, mips-sgi-irix6): Document need to
2707         bootstrap with -mips3.
2708
2709 2002-05-17  Kazu Hirata  <kazu@cs.umass.edu>
2710
2711         * final.c: Fix formatting.
2712         * fix-header.c: Likewise.
2713         * flow.c: Likewise.
2714         * fold-const.c: Likewise.
2715         * function.c: Likewise.
2716
2717 2002-05-17  David S. Miller  <davem@redhat.com>
2718
2719         PR c/6689, PR optimization/6615
2720         * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
2721         and make it a pointer to rtx.  Update comments.
2722         (update_equiv_regs): When scanning for equivalences, record
2723         address of SET_SRC (set) in reg_equiv[].src_p.  Dereference
2724         it while making the equiv replacements.
2725
2726 2002-05-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2727
2728         * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
2729
2730 2002-05-17  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2731
2732         * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
2733         when encoding visibility into SYMBOL_REF_FLAG.
2734
2735 2002-05-17  Richard Sandiford  <rsandifo@redhat.com>
2736
2737         * expr.c (force_operand): Fix reversed move.
2738
2739 2002-05-17  Kurt Wall <kwall@kurtwerks.com>
2740
2741         * doc/install.texi (Testing): Mention two common DejaGnu warnings
2742         that can be ignored.
2743
2744 2002-05-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2745
2746         * doc/install.texi (Final install): Recommend to install into a
2747         "clean" target directory.
2748
2749 2002-05-17  Richard Henderson  <rth@redhat.com>
2750
2751         * config/ia64/ia64.md: Use braced strings instead of quoted strings
2752         for code blocks.  Tidy whitespace.
2753
2754 2002-05-17  Richard Henderson  <rth@redhat.com>
2755
2756         * hooks.c (hook_tree_bool_false): New.
2757         * hooks.h: Declare it.
2758         * target-def.h (TARGET_ASM_SELECT_SECTION): New.
2759         (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
2760         * target.h (select_section, unique_section): New.
2761         (in_small_data_p): New.
2762         * varasm.c (resolve_unique_section): Use hooks instead of macros.
2763         (variable_section, output_constant_def_contents): Likewise.
2764         (default_select_section, default_unique_section): New.
2765         (categorize_decl_for_section, default_elf_select_section): New.
2766         * output.h: Declare them.
2767
2768         * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
2769         (TARGET_ASM_SELECT_SECTION): New.
2770         (SELECT_SECTION): Move ...
2771         * config/darwin.c (machopic_select_section): ... here.
2772         * config/darwin-protos.h: Update.
2773
2774         * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
2775         (SELECT_SECTION): Move ...
2776         * config/nextstep.c (nextstep_select_section): ... here.
2777         * config/nextstep-protos.h: Update.
2778
2779         * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
2780         (TARGET_ASM_SELECT_SECTION): New.
2781         * config/svr3.h (SELECT_SECTION): Remove.
2782
2783         * config/alpha/alpha.c (unicosmk_unique_section): Make static.
2784         (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
2785         (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
2786         (alpha_encode_section_info): Use it.
2787         * config/alpha/alpha-protos.h: Update.
2788         * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
2789         (SELECT_SECTION, UNIQUE_SECTION): Remove.
2790         (TARGET_ASM_SELECT_SECTION): New.
2791         * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
2792
2793         * config/arm/pe.h (UNIQUE_SECTION): Remove.
2794         (TARGET_ASM_UNIQUE_SECTION): New.
2795
2796         * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
2797         (avr_unique_section): Rename from unique_section; make static.
2798         * config/avr/avr-protos.h: Update.
2799         * config/avr/avr.h (UNIQUE_SECTION): Remove.
2800
2801         * config/c4x/c4x.h (SELECT_SECTION): Remove.
2802
2803         * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
2804         (TARGET_ASM_UNIQUE_SECTION): New.
2805         * config/i386/i386-interix.h: Likewise.
2806         * config/i386/win32.h: Likewise.
2807         * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
2808         * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
2809         * config/i386/sco5.h (SELECT_SECTION): Remove.
2810         (TARGET_ASM_SELECT_SECTION): New.
2811         * config/i386/svr3gas.h (SELECT_SECTION): Remove.
2812
2813         * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
2814         instead of SELECT_SECTION.
2815         * config/m68k/dpx2.h: Likewise.
2816         * config/rs6000/lynx.h: Likewise.
2817
2818         * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
2819         (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
2820         * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
2821         (ia64_in_small_data_p): New.
2822         (ia64_encode_section_info): Use it.  Reorganize overlarge conditional.
2823         (ia64_aix_select_section, ia64_aix_unique_section): New.
2824         * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
2825         (SELECT_SECTION, UNIQUE_SECTION): Remove.
2826
2827         * config/m32r/m32r.h (SELECT_SECTION): Remove.
2828         (TARGET_ASM_SELECT_SECTION): New.
2829         * config/m32r/m32r.c (m32r_select_section): Take align argument.
2830         * config/m32r/m32r-protos.h: Update.
2831
2832         * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
2833         (SELECT_SECTION): Move ...
2834         * config/m88k/m88k.c (m88k_select_section): ... here.
2835
2836         * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
2837         * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
2838         * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
2839         (mcore_unique_section): Make static.
2840         * config/mcore/mcore-protos.h: Update.
2841
2842         * config/mips/elf.h (UNIQUE_SECTION): Remove.
2843         (TARGET_ASM_UNIQUE_SECTION): New.
2844         * config/mips/elf64.h: Likewise.
2845         * config/mips/iris6gld.h: Likewise.
2846         * config/mips/linux.h: Likewise.
2847         * config/mips/mips-protos.h: Update.
2848         * config/mips/mips.c (mips_select_section): Add align argument.
2849         * config/mips/mips.h (SELECT_SECTION): Remove.
2850         (TARGET_ASM_SELECT_SECTION): New.
2851
2852         * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
2853         * config/mmix/mmix.c (mmix_select_section): Remove.
2854         (mmix_unique_section): Remove.
2855         * config/mmix/mmix-protos.h: Update.
2856
2857         * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
2858         (SELECT_SECTION): Move ...
2859         * config/pa/pa.c (pa_select_section): ... here.
2860         * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
2861
2862         * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
2863         from rs6000_select_section and make static.
2864         (rs6000_elf_unique_section): Similarly.
2865         (rs6000_xcoff_select_section): From xcoff.h.
2866         (rs6000_xcoff_unique_section): Likewise.
2867         * config/rs6000/rs6000-protos.h: Update.
2868         * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
2869         (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
2870         * config/rs6000/xcoff.h: Likewise.
2871
2872         * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
2873         (SELECT_SECTION): Move ...
2874         * config/sparc/sparc.c (sparc_aout_select_section): ... here.
2875
2876         * config/v850/v850.h (SELECT_SECTION): Move ...
2877         * config/v850/v850.c (v850_select_section): ... here.
2878         (TARGET_ASM_SELECT_SECTION): New.
2879
2880         * config/vax/vms.h (SELECT_SECTION): Move ...
2881         * config/vax/vax.c (vms_select_section): ... here.
2882         (TARGET_ASM_SELECT_SECTION): New.
2883
2884         * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
2885         for the target hooks.
2886
2887 2002-05-17  Nick Clifton  <nickc@cambridge.redhat.com>
2888
2889         * config/arm/arm.c (emit_multi_reg_push): Do not set
2890         RTX_FRAME_RELATED_P on the SEQUENCE.
2891
2892 2002-05-16  Richard Henderson  <rth@redhat.com>
2893
2894         * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
2895         splitting.  Use split_all_insns; update_life_info_in_dirty_blocks.
2896
2897 2002-05-16  Richard Henderson  <rth@redhat.com>
2898
2899         * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
2900
2901         * config/ia64/ia64.c (saveable_obstack): Do not declare.
2902
2903 2002-05-16  Richard Henderson  <rth@redhat.com>
2904
2905         * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
2906         cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
2907         conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
2908         gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
2909         local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
2910         recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
2911         reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
2912         sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
2913         Revert "Basic block renumbering removal", and two followup patches.
2914
2915 2002-05-16  Jason Thorpe  <thorpej@wasabisystems.com>
2916
2917         * lcm.c (optimize_mode_switching): Revert previous change.
2918
2919 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2920
2921         * sched-rgn.c (schedule_insns): Initialize large_region_blocks
2922         with only extant block numbers.
2923
2924 2002-05-16  Jason Thorpe  <thorpej@wasabisystems.com>
2925
2926         * lcm.c (optimize_mode_switching): Fix typo.
2927
2928 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2929
2930         * flow.c (calculate_global_regs_live): Queue blocks in program order.
2931
2932 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2933
2934         * doc/install.texi (Configuration): Document PWDCMD.
2935
2936 2002-05-16  Dale Johannesen  <dalej@apple.com>
2937
2938         * combine.c (cant_combine_insn_p):  Reenable combinations
2939         involving hard regs unless CLASS_LIKELY_SPILLED_P.
2940
2941 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
2942
2943         * c-common.c (cb_register_builtins): Handle more built-ins
2944         here rather than in gcc.c specs.
2945         * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
2946         (cpp_options): Pass -O flags even when only preprocessing.
2947         * toplev.c (set_fast_math_flags): New prototype.
2948         (fast_math_flags_set_p): New.
2949         (set_no_fast_math_flags): Remove.
2950         (decode_f_option): Update.
2951         * toplev.h (set_fast_math_flags): Update.
2952         (fast_math_flags_set_p): New.
2953         (set_no_fast_math_flags): Remove.
2954 config:
2955         * c4x/c4x.c (c4x_override_options): Update.
2956
2957 2002-05-16  Zack Weinberg  <zack@codesourcery.com>
2958
2959         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
2960         Default-define here.
2961         (builtin_define_with_value): Can now wrap the expansion in
2962         quotation marks if such is wanted.
2963         (cb_register_builtins): Update calls to builtin_define_with_value.
2964         Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
2965         here.
2966         (c_common_init): Set options->stdc_0_in_system_headers.
2967         * c-lex.h: Update prototype of builtin_define_with_value.
2968         * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
2969         and REGISTER_PREFIX.
2970
2971         * cppinit.c (VERS, ULP, C, X): Kill.
2972         (builtin_array): Remove entries for __VERSION__,
2973         __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
2974         __HAVE_BUILTIN_SETJMP__.  Make __STDC__ always a builtin, not
2975         a constant.
2976         (init_builtins): Kill off a bunch of now-dead code.
2977         (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
2978         -fno-leading-underscore.
2979         (cpp_handle_option): Remove code to set user_label_prefix.
2980         (cpp_post_options): Likewise.
2981
2982         * cpplib.h (struct cpp_options): Remove user_label_prefix.
2983         (stdc_0_in_system_headers): New.
2984         * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
2985         stdc_0_in_system_headers) too to decide the value of __STDC__.
2986
2987         * tradcpp.c (user_label_prefix): Kill.
2988         (main): Remove code handling -f(no-)leading-underscore.
2989         (initialize_builtins): Don't define __REGISTER_PREFIX__
2990         or __USER_LABEL_PREFIX__.
2991         (install_value): Wrap compound statement in dummy loop so the
2992         macro works properly in an if statement.
2993
2994
2995 2002-05-16  Janis Johnson  <janis187@us.ibm.com>
2996
2997         * loop.h (struct loop_info): Add member has_prefetch.
2998         * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
2999         (prescan_loop): Initialize has_prefetch.
3000         (struct prefetch_info): Change prefetch_in_loop and
3001         prefetch_before_loop from bit fields to ints.
3002         (emit_prefetch_instructions): Several small fixes.
3003         (check_dbra_loop): Don't reverse loop that uses prefetch.
3004
3005 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3006
3007         * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
3008         * configure.in: Likewise.
3009         * fixinc/check.tpl: Likewise.
3010         * fixinc/fixinc.dgux: Likewise.
3011         * fixinc/fixinc.svr4: Likewise.
3012         * fixinc/fixinc.winnt: Likewise.
3013         * fixinc/fixincl.sh: Likewise.
3014         * fixproto: Likewise.
3015         * configure: Regenerate.
3016
3017 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3018
3019         Basic block renumbering removal:
3020         * basic_block.h (struct basic_block_def): Renamed index to sindex,
3021         added prev_bb and next_bb fields.
3022         (n_basic_blocks): Renamed to num_basic_blocks.
3023         (last_basic_block): New, index of last basic block.
3024         (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
3025         traversing basic block chain.
3026         (BLOCK_NUM): index -> sindex.
3027         (create_basic_block_structure, create_basic_block): Declaration changed.
3028         (debug_num2bb): Declare.
3029         (expunge_block_nocompact): Declaration removed.
3030         (link_block, unlink_block, compact_blocks): Declare.
3031         * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
3032         * cfg.c (entry_exit_blocks): Initialize new fields.
3033         (clear_edges, alloc_block, expunge_block, cached_make_edge,
3034         redirect_edge_pred, dump_flow_info, dump_edge_info,
3035         alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
3036         free_aux_for_edges): Modified.
3037         (link_block, unlink_block, compact_blocks, debug_num2bb): New.
3038         (expunge_block_nocompact): Removed.
3039         * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
3040         find_unreachable_blocks, create_edge_list, print_edge_list,
3041         verify_edge_list, flow_edge_list_print, remove_fake_successors,
3042         remove_fake_edges, flow_reverse_top_sort_order_compute,
3043         flow_depth_first_order_compute, flow_preorder_transversal_compute,
3044         flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
3045         flow_dfs_compute_reverse_execute): Modified.
3046         * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
3047         find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
3048         Modified.
3049         * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
3050         merge_blocks_move_predecessor_nojumps,
3051         merge_blocks_move_successor_nojumps, merge_blocks,
3052         outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
3053         try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
3054         * cfglayout.c (skip_insns_after_block, label_for_bb,
3055         record_effective_endpoints, scope_to_insns_finalize,
3056         fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
3057         fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
3058         cfg_layout_duplicate_bb): Modified.
3059         * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
3060         flow_loop_entry_edges_find, flow_loop_exit_edges_find,
3061         flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
3062         flow_loops_find, flow_loop_outside_edge_p): Modified.
3063         * cfgrtl.c (create_basic_block_structure, create_basic_block,
3064         flow_delete_block, compute_bb_for_insn, split_block,
3065         try_redirect_by_replacing_jump, redirect_edge_and_branch,
3066         force_nonfallthru_and_redirect, tidy_fallthru_edge,
3067         back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
3068         commit_edge_insertions, commit_edge_insertions_watch_calls,
3069         dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
3070         purge_all_dead_edges): Modified.
3071         * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
3072         try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
3073         get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
3074         Modified.
3075         * conflict.c (conflict_graph_compute): Modified.
3076         * df.c (FOR_ALL_BBS): Removed.
3077         (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
3078         df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
3079         df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
3080         * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
3081         * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
3082         calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
3083         * final.c (compute_alignments, final_scan_insn): Modified.
3084         * flow.c (verify_local_live_at_start, update_life_info,
3085         update_life_info_in_dirty_blocks, free_basic_block_vars,
3086         delete_noop_moves, calculate_global_regs_live,
3087         initialize_uninitialized_subregs, allocate_bb_life_data,
3088         regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
3089         mark_used_reg, count_or_remove_death_notes): Modified.
3090         * function.c (thread_prologue_and_epilogue_insns): Modified.
3091         * gcse.c (struct null_pointer_info): Change typo of current_block
3092         to basic_block.
3093         (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
3094         oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
3095         compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
3096         alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
3097         expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
3098         classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
3099         one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
3100         pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
3101         pre_delete, one_pre_gcse_pass, compute_transpout,
3102         invalidate_nonnull_info, delete_null_pointer_checks_1,
3103         free_code_hoist_mem, compute_code_hoist_vbeinout,
3104         hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
3105         compute_ld_motion_mems, store_ops_ok, find_moveable_store,
3106         compute_store_table, build_store_vectors, insert_insn_start_bb,
3107         insert_store, replace_store_insn, free_store_memory, store_motion):
3108         Modified.
3109         * global.c (global_alloc, global_conflicts, mark_elimination,
3110         build_insn_chain): Modified.
3111         * graph.c (print_rtl_graph_with_bb): Modified.
3112         * haifa-sched.c (sched_init): Modified.
3113         * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
3114         (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
3115         if_convert): Modified.
3116         * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
3117         compute_insert_delete, pre_edge_lcm, compute_available,
3118         compute_farthest, compute_nearerout, compute_rev_insert_delete,
3119         pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
3120         Modified.
3121         * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
3122         * loop.c (loop_dump_aux): Modified.
3123         * predict.c (combine_predictions_for_insn, estimate_probability,
3124         last_basic_block_p, process_note_prediction, process_note_predictions,
3125         note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
3126         expensive_function_p, estimate_bb_frequencies,
3127         compute_function_frequency): Modified.
3128         * print-rtl.c (print_rtx): Modified.
3129         * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
3130         get_exec_counts, compute_branch_probabilities, compute_checksum,
3131         branch_prob, find_spanning_tree): Modified.
3132         * recog.c (split_all_insns, peephole2_optimize): Modified.
3133         * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
3134         convert_regs_1, convert_regs_2, convert_regs): Modified.
3135         * regclass.c (scan_one_insn, regclass): Modified.
3136         * regmove.c (mark_flags_life_zones, regmove_optimize,
3137         combine_stack_adjustments): Modified.
3138         * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
3139         * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
3140         * reorg.c (dbr_schedule): Modified.
3141         * resource.c (find_basic_block, init_resource_info): Modified.
3142         * sbitmap.c (sbitmap_intersection_of_succs,
3143         sbitmap_intersection_of_preds, sbitmap_union_of_succs,
3144         sbitmap_union_of_preds): Modified.
3145         * sched-deps.c (init_dependency_caches): Modified.
3146         * sched-ebb.c (schedule_ebbs): Modified.
3147         * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
3148         find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
3149         * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
3150         * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
3151         ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
3152         ssa_const_prop): Modified.
3153         * ssa-dce.c (set_control_dependent_block_to_edge_map_,
3154         find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
3155         * ssa.c (remove_phi_alternative, find_evaluations,
3156         compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
3157         insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
3158         make_regs_equivalent_over_bad_edges,
3159         make_equivalent_phi_alternatives_equival,
3160         compute_conservative_reg_partition,
3161         coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
3162         rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
3163         Modified.
3164
3165 2002-05-16  Mark Mitchell  <mark@codesourcery.com>
3166
3167         * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
3168
3169 2002-05-16  Nick Clifton  <nickc@cambridge.redhat.com>
3170
3171         * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
3172         SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
3173         (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
3174         calling CONSTANT_POOL_ADDRESS_P.
3175         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
3176         to decide whether to define __arm__ or __thumb.
3177         (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
3178         SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
3179
3180 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
3181
3182         * config/arc/arc.h (CPP_PREDEFINES): Remove.
3183         (CPP_SPEC): Update.
3184         (TARGET_CPU_CPP_BUILTINS): New.
3185
3186 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
3187
3188         * cpphash.h (cpp_macro): Move here, and make expansion a union.
3189         * cppmacro.c (cpp_macro): Remove.
3190         (enter_macro_context, replace_args, warn_of_redefinition,
3191         _cpp_create_definition, cpp_macro_definition): Update.
3192
3193 2002-05-16  Jason Merrill  <jason@redhat.com>
3194
3195         * config/mips/mips.c (mips_output_external): Don't do sdata
3196         optimization for a variable with DECL_COMDAT set.
3197
3198 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
3199
3200         * config/rs6000/altivec.h: Cleanups for tighter typechecking.
3201         Cleanups for accepting modifiers on pointers.
3202         Fix predicate typos.
3203         Allow long pointers as well as int pointers.
3204
3205 2002-05-15  Richard Henderson  <rth@redhat.com>
3206
3207         * varasm.c (merge_weak): Remove special case for extern and common.
3208
3209 2002-05-15  Matt Hiller  <hiller@redhat.com>
3210
3211         * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
3212         XFAILing.
3213         * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
3214         * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
3215         * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
3216         * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
3217         * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
3218         * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
3219
3220 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
3221
3222         * reload1.c (forget_old_reloads_1): Do not use subreg offset.
3223
3224 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
3225
3226         * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
3227         ("altivec_mfvscr"): Read from VSCR.
3228
3229         Add vscr sets for the following insns: altivec_vctuxs,
3230         altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
3231         altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
3232         altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
3233         altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
3234         altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
3235         altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
3236         altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
3237         altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
3238         altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
3239         altivec_vsum2sws, altivec_vsumsws.
3240
3241         * config/rs6000/rs6000.h: Add VSCR fixed register.
3242         (CALL_REALLY_USED_REGISTERS): Add vscr.
3243         (CALL_USED_REGISTERS): Same.
3244         (FIXED_REGISTERS): Same.
3245         (REG_ALLOC_ORDER): Same.
3246         (reg_class): Add VSCR_REGS.
3247         (REG_CLASS_NAMES): Same.
3248         (REG_CLASS_CONTENTS): Same.
3249         (VSCR_REGNO): New.
3250         (REGISTER_NAMES): Add vscr.
3251         (DEBUG_REGISTER_NAMES): Same.
3252         (ADDITIONAL_REGISTER_NAMES): Same.
3253         (FIRST_PSEUDO_REGISTER): Increment.
3254         (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
3255
3256 2002-05-15  Jakub Jelinek  <jakub@redhat.com>
3257
3258         * fold-const.c (fold): Fix a typo.
3259
3260 2002-05-15  Eric Botcazou  <ebotcazou@multimania.com>
3261
3262         * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
3263         comparison against the highest or lowest integer value before
3264         the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
3265         transformation and that of an unsigned comparison against 0
3266         right after.
3267
3268 2002-05-15  Richard Henderson  <rth@redhat.com>
3269
3270         * varasm.c (merge_weak): Error for any weakening after definition.
3271         Adjust weakening after use warning to catch more cases.
3272         (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
3273         * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
3274
3275 Wed May 15 10:38:27 CEST 2002  Jan Hubicka  <jh@suse.cz>
3276
3277         * invoke.texi (-malign-double): Re-add lost warning.
3278
3279         * i386-protos.h (x86_output_mi_thunk): Declare.
3280         * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
3281         * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
3282
3283         * dwarf2out.c (output_call_frame_info): Do not skip unwind info
3284         when flag_asynchronous_unwind_tables is set.
3285
3286         * flags.h (flag_reorder_functions): Declare.
3287         * function.c (prepare_function_start): Initialize frequnecy.
3288         * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
3289         * Makefile.in (predict.o): Add dependency on target.h and params.h
3290         * defaults.h (HOT_TEXT_SECTION_NAME,
3291         UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
3292         * predict.c (choose_function_section): New function.
3293         (estimate_bb_frequencies): Use it.
3294         * toplev.c (flag_reorder_functions): New global variable.
3295         (lang_independent_options): New.
3296         (parse_options_and_default_flags): Set.
3297         * varasm.c (assemble_start_function): Bypass functdion alignment
3298         for never executed functions.
3299         * invoke.texi (-freorder-blocks, -freorder-functions): Document.
3300         (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
3301         * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
3302         Document.
3303
3304         Thu Jan  3 21:52:09 CET 2002  Jan Hubicka  <jh@suse.cz>
3305
3306         * predict.c: Inlude profile.h
3307         (MIN_COUNT): Rename to MIN_COUNT_FRACTION
3308         (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
3309         Use the information about maximal counter in the program.
3310
3311         Thu Dec 20 22:14:00 CET 2001  Jan Hubicka  <jh@suse.cz>
3312
3313         * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
3314         probably_never_executed_bb_p): New functions.
3315         * cfgcleanup.c (outgoing_edges_match): Use them.
3316         * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
3317         (maybe_hot_bb_p, probably_cold_bb_p,
3318         probably_never_executed_bb_p): New functions.
3319
3320         * function.h (function): Add new field function_frequency.
3321         * predict.c (compute_function_frequency): New function.
3322         (estimate_probability): Call it.
3323
3324 2002-03-09  Jakub Jelinek  <jakub@redhat.com>
3325
3326         PR optimization/5172, optimization/5200
3327         * gcse.c (gcse_main): Disable store_motion.
3328
3329 2002-05-14  Zack Weinberg  <zack@codesourcery.com>
3330
3331         * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
3332         (c_common_nodes_and_builtins): Use it.
3333         (builtin_define_with_value): New function.
3334         (cb_register_builtins): Define __SIZE_TYPE__,
3335         __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
3336         using builtin_define_with_value.  Use consistent notation when
3337         defining __GXX_WEAK__.
3338         (WCHAR_TYPE_SIZE): Don't redefine.
3339         (combine_strings): Don't use WCHAR_TYPE_SIZE.
3340
3341         * cppdefault.h: Don't provide defaults for SIZE_TYPE,
3342         PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
3343         * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
3344         * tradcpp.c (initialize_builtins): Likewise.
3345         * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
3346
3347         * c-lex.h (builtin_define_with_value): Prototype.
3348         * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
3349         NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
3350         * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
3351
3352         * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
3353         config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
3354         config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
3355         config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
3356         config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
3357         config/sparc/linux64.h, config/sparc/netbsd-elf.h,
3358         config/sparc/sol2-bi.h, config/sparc/sparc.h:
3359         Do not define NO_BUILTIN_SIZE_TYPE etc.  Remove all references
3360         to __SIZE_TYPE__ etc from all spec strings. When this makes
3361         extra specs empty, delete them.
3362
3363 2002-05-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3364
3365         * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
3366         for PA8000 or generating dwarf2 call frame information.
3367         (output_call): Remove DO_FRAME_NOTES check from return pointer
3368         optimization.
3369         (following_call): Return 0 when scheduling for PA8000 or generating
3370         dwarf2 call frame information.  Revise comment.
3371
3372 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
3373
3374 config/alpha:
3375         * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
3376         and __IEEE_FP_INEXACT as appropriate.
3377         (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
3378         (CPP_SPEC): Remove ieee defines.
3379         * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
3380
3381 2002-05-14  Richard Henderson  <rth@redhat.com>
3382
3383         * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
3384         (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
3385
3386 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
3387
3388         * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
3389         (CPP_SPEC): Update.
3390         (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
3391         CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
3392         CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
3393         CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
3394         (EXTRA_SPECS): Update.
3395         * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
3396         arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
3397         arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
3398         define TARGET_OS_CPP_BUILTINS if necessary.
3399
3400 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
3401
3402         * gcc.c (cpp_options): Must pass -m* and -f* options
3403         to the front end even when only preprocessing.
3404         (cc1_options): Remove redundant -lang-c.
3405         * tradcpp.c (main): Ignore -m options.
3406 objc:
3407         * lang-specs.h: Similarly.
3408
3409 2002-05-14  Vladimir Makarov  <vmakarov@redhat.com>
3410
3411         * genautomata.c (transform_3): Add code for transformation
3412         `(A,B,...)+C -> A+C,B,...'.
3413
3414 Tue May 14 12:48:22 CEST 2002  Jan Hubicka  <jh@suse.cz>
3415
3416         * final.c (end_final): Do not output profile_arcs constructor, when
3417         no functions are instrumented.
3418
3419 Tue May 14 12:38:30 CEST 2002  Jan Hubicka  <jh@suse.cz>
3420
3421         * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
3422
3423 2002-05-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3424
3425         * doc/install.texi: Remove special markup originally required for
3426         HTML generation with texi2html.
3427
3428 2002-05-14  Andreas Schwab  <schwab@suse.de>
3429
3430         * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
3431         SELECT_SECTION.
3432         (UNIQUE_SECTION): Define to get small data correctly.
3433
3434         * varasm.c (resolve_unique_section): Add third parameter
3435         flag_function_or_data_sections and use it instead of
3436         flag_function_sections.
3437         (assemble_start_function): Pass flag_function_sections.
3438         (asm_emit_uninitialised): Pass flag_data_sections.
3439         (assemble_variable): Likewise.
3440
3441 2002-05-14  Richard Henderson  <rth@redhat.com>
3442
3443         * config/i386/i386.md: Use define_constants for unspec numbers.
3444         * config/i386/i386.c: Likewise.
3445
3446 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
3447
3448         * doc/contrib.texi: Update my entry.
3449
3450 2002-05-13  Mark Mitchell  <mark@codesourcery.com>
3451
3452         * fixinc/inclhack.def (winidss_valist): Limit applicability.
3453         * fixinc/fixincl.x: Regenerated.
3454         * fixinc/tests/base/math.h: Update.
3455         * fixinc/tests/base/testing.h: Likewise.
3456
3457 2002-05-13  Zack Weinberg  <zack@codesourcery.com>
3458
3459         * genattr.c (gen_attr): Don't emit a comma after the last
3460         enumerator.
3461
3462 2002-05-13  Richard Henderson  <rth@redhat.com>
3463
3464         * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
3465         by non-local gotos.
3466         * recog.c (peephole2_optimize): Likewise.
3467
3468 2002-05-13  Andris Pavenis  <pavenis@lanet.lv>
3469
3470         * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
3471         input to O_BINARY.
3472
3473 2002-05-13  Jeffrey A Law  (law@redhat.com)
3474
3475         * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
3476         Update prototype and callers.
3477         (propagate_one_insn): Stack pointer adjustments kill MEMs on
3478         the mem_set_list which reference the stack pointer, as do
3479         calls to constant functions as they may clobber outgoing
3480         argument space.
3481
3482         * i386.c (ia32_multipass_dfa_lookahead): Prototype.
3483
3484         * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
3485         (ia32_multipass_dfa_lookahead): New function.
3486
3487 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
3488
3489         * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
3490         (translate_options): Remove 'V'.
3491         (process_command): Similarly.
3492 doc:
3493         * invoke.texi: Remove documentation of 'V'.
3494
3495 2002-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
3496
3497         * config/s390/linux.h: Revert 2002-04-22 changes.
3498
3499 2002-05-13  Scott Marks <SMarks@mobile-mind.com>
3500
3501         * config/fr30/fr30.md: Only allow splits of immediate loads
3502         if the destination is a register.
3503
3504 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
3505
3506         * Makefile.in (c-common.o, cppinit.o): Update.
3507         * c-common.c: Include except.h.
3508         (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
3509         Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
3510         * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
3511         * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
3512         CPP_PREDEFINES): Handle here.
3513 config:
3514         * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
3515         alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
3516         alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
3517         TARGET_OS_CPP_BUILTINS.
3518         * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
3519         (CPP_SPEC, EXTRA_SPECS): Update.
3520         (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
3521         CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
3522         CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
3523         CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
3524         CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
3525 doc:
3526         * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
3527         (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
3528
3529 2002-05-12  Zack Weinberg  <zack@codesourcery.com>
3530
3531         * emit-rtl.c (global_rtl): Update comment.
3532         (const_double_htab, const_double_htab_hash,
3533         const_double_htab_hash, lookup_const_double): New.
3534         (const_int_htab_hash, const_int_htab_eq): Remove const
3535         qualifiers, which cause tons of warnings with RTL checking on.
3536         (gen_rtx_CONST_DOUBLE): Deleted.
3537         (const_double_from_real_value): New function - bears some
3538         resemblance to the former immed_real_const_1.
3539         (immed_double_const): Moved here from varasm.c and
3540         simplified.
3541         (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
3542         (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
3543         (gen_rtx): Use immed_double_const.
3544         (init_emit_once): Initialize the const_double_htab.  Use
3545         REAL_VALUE_FROM_INT where possible.  Can now use
3546         CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
3547         * varasm.c (struct varasm_status): Remove x_const_double_chain.
3548         (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
3549         (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
3550         (init_varasm_status, mark_varasm_status): Don't touch
3551         x_const_double_chain.
3552
3553         * output.h: Delete prototype for clear_const_double_mem.
3554         * real.h: Make REAL_VALUE_TYPE a macro again.  Remove leading
3555         '0' slot from all CONST_DOUBLE_FORMAT definitions.  Prototype
3556         const_double_from_real_value, not immed_real_const_1, and use
3557         it to define CONST_DOUBLE_FROM_REAL_VALUE.  Define new macro
3558         CONST_DOUBLE_ATOF.
3559         * rtl.h (CONST_DOUBLE_CHAIN): Kill.
3560         (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
3561         (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
3562         (gen_rtx_REG): Second arg is unsigned.
3563
3564         * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
3565         (excluded_rtx): New, return true for CONST_DOUBLE.
3566         (genmacro): Write nothing for excluded codes.
3567         * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
3568         * expr.c (expand_expr): Likewise.
3569         * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
3570         CONST_DOUBLE_CHAIN.
3571         * toplev.c (rest_of_compilation): Don't call
3572         clear_const_double_mem.
3573
3574         * config/rs6000/rs6000.c (rs6000_float_const): Delete.
3575         (rs6000_hash_constant): Remove CONST_DOUBLE special case.
3576         (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
3577         * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
3578         * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
3579         * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
3580         config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
3581         * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
3582
3583 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3584
3585         * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
3586
3587 2002-05-12  Tom Tromey  <tromey@redhat.com>
3588
3589         * tree.h (copy_node): Don't mention TREE_PERMANENT.
3590
3591 2002-05-12  Zack Weinberg  <zack@codesourcery.com>
3592
3593         * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
3594         (scan_comma_elt): New function.  Accepts whitespace in comma lists.
3595         * gensupport.h: Prototype new routines.
3596         * genattr.c (gen_attr): Use scan_comma_elt.  Avoid unnecessary
3597         use of printf.
3598         * genattrtab.c (n_comma_elts): Moved to gensupport.c.
3599         (next_comma_elt): Use scan_comma_elt.
3600
3601         * config/i386/i386.md: Use new attribute notation to break up
3602         long lines in define_attr forms.
3603
3604 2002-05-12  Richard Henderson  <rth@redhat.com>
3605
3606         * expr.c (compress_float_constant): New.
3607         (emit_move_insn): Use it.
3608         (float_extend_from_mem): New.
3609         (init_expr_once): Initialize it.
3610         * real.c (exact_real_truncate): New.
3611
3612         * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
3613         dropped into memory; penalize for size.
3614         (RTX_COSTS): FLOAT_EXTEND is free.
3615         * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
3616         extenddfxf2, extenddftf2): Accept constants and drop them to memory.
3617
3618 2002-05-12  Richard Henderson  <rth@redhat.com>
3619
3620         * profile.h (profile_info): Add missing extern to declaration.
3621         * profile.c (profile_info): Define it.
3622
3623 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3624
3625         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
3626         used for DImode and TImode.
3627
3628 2002-05-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3629
3630         * cpplex.c (_cpp_lex_direct): When in a directive at EOF
3631         fake a newline.
3632
3633 2002-05-11  Zack Weinberg  <zack@codesourcery.com>
3634
3635         * config/rs6000/rs6000.c (rs6000_default_long_calls,
3636         rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
3637         (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
3638         (rs6000_override_options): Handle -m(no-)longcall.
3639         (init_cumulative_args, output_mi_thunk): Check for both
3640         longcall and shortcall attributes on the function.
3641         (rs6000_attribute_table): Add "shortcall".
3642         (rs6000_handle_longcall_attribute): Update comment.
3643         (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
3644         altivec_expand_ternop_builtin): Add default clauses to switches
3645         to silence warnings.
3646
3647         * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
3648         rs6000_default_long_calls.  Define REGISTER_TARGET_PRAGMAS.
3649         (TARGET_OPTIONS): Add longcall and no-longcall.
3650
3651         * config/rs6000/rs6000.md (call_nonlocal_sysv,
3652         call_value_nonlocal_sysv): Split by alternatives.  One pair
3653         accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
3654         the call cookie.  The other pair accepts only LR/CTR and has
3655         no restriction.
3656
3657         * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
3658         Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
3659         tmake_file.
3660         * config/rs6000/rs6000-c.c: New file.
3661         * config/rs6000/t-rs6000-c-rule: New file.
3662         * config/rs6000/rs6000-protos.c: Add multiple-include guard.
3663         Prototype rs6000_pragma_longcall.
3664
3665         * doc/extend.texi: Document shortcall attribute.
3666         * doc/invoke.texi: Document -mlongcall, -mno-longcall.
3667
3668 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3669
3670         * reorg.c (dbr_schedule): Remove unnecessary test.
3671
3672 Sat May 11 14:34:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
3673
3674         * i386.md (testsi to testqi spliters): New.
3675
3676         2002-01-14  Josef Zlomek  <zlomek@matfyz.cz>
3677
3678         cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
3679
3680         Wed Jan  9 2002  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
3681
3682         * basic-block.h: New flag EDGE_CAN_FALLTHRU
3683         * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
3684         that can be made fallthru.
3685
3686         Mon Nov 12 16:25:53 CET 2001  Jan Hubicka  <jh@suse.cz>
3687
3688         * cfglayout.c (cleanup_unconditional_jumps): New static function.
3689         (cfg_layout_initialize): Use it.
3690
3691 2002-05-11  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3692
3693         * config/avr/avr.c (avr_mcu_types): Update supported devices.
3694         * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
3695         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
3696
3697 2002-05-11  Kazu Hirata  <kazu@cs.umass.edu>
3698
3699         * dbxout.c: Fix formatting.
3700         * dependence.c: Likewise.
3701         * df.c: Likewise.
3702         * diagnostic.c: Likewise.
3703         * doloop.c: Likewise.
3704         * dominance.c: Likewise.
3705         * doschk.c: Likewise.
3706         * dwarf2asm.c: Likewise.
3707         * dwarf2out.c: Likewise.
3708         * dwarfout.c: Likewise.
3709
3710 2002-05-10  Richard Henderson  <rth@redhat.com>
3711
3712         * final.c (end_final): Tidy whitespace.  Don't honor flag_pack_struct.
3713         Convert integers constants as needed.  Replace "nwords" field with
3714         "sizeof_bb".
3715         (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
3716         * function.h: Fix typo in comment.
3717         * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
3718
3719 2002-05-10  Roger Sayle  <roger@eyesopen.com>
3720
3721         * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
3722         into the equivalent (signed char)c > 0.
3723
3724 2002-05-10  Janis Johnson  <janis187@us.ibm.com>
3725
3726         * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
3727         (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
3728         (struct prefetch_info): Fix spelling of member bytes_accessed.
3729         (emit_prefetch_instructions): Make dump messages more regular;
3730         restructure code to add more dump messages; use new macros for
3731         heuristics. (There are no code generation changes in any of this).
3732
3733 2002-05-10  David S. Miller  <davem@redhat.com>
3734
3735         * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
3736         (struct rtx_def): Update unchanging flag comment.
3737         * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
3738         * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
3739         to be handled to INSN too.
3740         (dbr_schedule): Likewise.
3741         * resource.c (next_insn_no_annul): Likewise.
3742
3743         * cse.c (rtx_cost): Remove multiplication by power of 2 special
3744         casing.
3745
3746 2002-05-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3747
3748         * doc/install.texi (Specific, *-*-solaris2*): Update passus on
3749         setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
3750         (possibly) work around broken /bin/sh.
3751
3752 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3753
3754         * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
3755         . as N64/N32 libgcc_s.so subdirs.
3756
3757 2002-05-10  David S. Miller  <davem@redhat.com>
3758
3759         * config/sparc/sparc.md: Use define_constants for unspec numbers.
3760
3761         * rtl.h (struct rtx_def): Document unchanging and in_struct flags
3762         more accurately.
3763         (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
3764         comment.
3765         (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
3766         * doc/rtl.texi: Document these macros more accurately.
3767         * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
3768         JUMP_INSNs and CALL_INSNs.
3769         * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
3770         or INSN_FROM_TARGET_P if the code is appropriate.
3771
3772 2002-05-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3773
3774         * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
3775         before using SYMBOL_REF_FLAG (addr).
3776
3777         * config/avr/avr-protos.h (avr_io_address_p): Declare.
3778         * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
3779         Make non-static.  Update all callers.
3780         * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
3781         New insns to clear/set/test a single bit in I/O address space.
3782
3783 2002-05-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3784
3785         * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
3786
3787 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3788
3789         * Makefile.in: Update.
3790         * c-common.c (flag_iso, flag_undef, cb_register_builtins,
3791         builtin_define_std): New.
3792         (c_common_init): Register CPP builtins callback.
3793         * c-common.h (flag_iso, flag_undef): New.
3794         * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
3795         * c-lex.c: Don't include target.h.
3796         (cb_register_builtins): Move to c-common.c.
3797         (init_c_lex): Don't register hook here.
3798         * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
3799         (cpp_define, cpp_assert): Remove.
3800         * gcc.c (cc1_options): Pass -undef to front end.
3801         * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
3802         (TARGET_INITIALIZER): Update.
3803         * target.h (struct cpp_reader): Don't predeclare.
3804         (struct gcc_target): Remove cpp builtin hook.
3805         * tree.c (default_register_cpp_builtins): Remove.
3806 doc:
3807         * tm.texi: Update.
3808
3809 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3810
3811         * cppexp.c (_cpp_expand_op_stack): Set op_limit.
3812
3813 2002-05-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3814
3815         * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
3816         (SHLIB_LINK, SHLIB_INSTALL): Adjust.
3817
3818 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
3819
3820         * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
3821         * config/sparc/libgcc-sparc-glibc.ver: New file.
3822         * config/cris/t-linux (SHLIB_MAPFILES): Remove.
3823         * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
3824
3825 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
3826
3827         PR target/6429
3828         * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
3829         * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
3830         shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
3831         base multilibs.
3832         * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
3833         * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
3834         * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
3835         * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
3836
3837 2002-05-09  Richard Henderson  <rth@redhat.com>
3838
3839         * config/ia64/ia64.md: Use define_constants for unspec numbers.
3840         * config/ia64/ia64.c: Likewise.
3841
3842 2002-05-09  Richard Sandiford  <rsandifo@redhat.com>
3843
3844         * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
3845         (save_restore_insns): Likewise.
3846         (mips_expand_prologue, mips_expand_epilogue): Update callers.
3847         (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
3848
3849 Thu May  9 11:50:09 2002  Jeffrey A Law  (law@redhat.com)
3850
3851         * athlon.md, k6.md, pentium.md, ppro.md): New files.
3852         * i386.md: Move scheduling information into new files.
3853
3854         * i386.md (type attribute): Add "rotate" for rotate insns.
3855         (rotate insns): Set type to "rotate".
3856         (various attributes and function units): Treat rotate like shift.
3857         (pent_pair attribute): Only rotates by one bit position are
3858         pairable.
3859         (sbb insns): Explicitly set pent_pair attribute on a couple
3860         that were missing it.
3861
3862 Thu May  9 18:29:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
3863
3864         * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
3865         make sure that buffer starts on odd word address.
3866         (sh_va_arg): Skip odd fp registers when reading a double precision
3867         value.
3868
3869 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3870
3871         * tree.h (preserve_data, object_permanent_p, type_precision):
3872         Remove.
3873
3874 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3875
3876         * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
3877         * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
3878 doc:
3879         * cpp.texi: Update for removal of obsolete features.
3880
3881 Thu May  9 07:46:18 2002  Jan Hubicka <jh@suse.cz>
3882                           Jeffrey A Law  (law@redhat.com)
3883
3884         * i386.c (ia32_use_dfa_pipeline_interface): New function.  Use
3885         the DFA interface for Pentium processors.
3886         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
3887         (attr_pent_pair, ix86_pent_find_pair): Remove.
3888         (ix86_sched_reorder_pentium): Remove.
3889         (ix86_sched_reorder): Remove reordering for Pentium.
3890         * i386.md (Pentium scheduling): Rewrite using DFA description.
3891
3892 Thu May  9 14:55:39 CEST 2002  Jan Hubicka  <jh@suse.cz>
3893
3894         * cfganal.c (can_fallthru): Fix fast path.
3895         * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
3896         with edges to the next block.
3897
3898 Thu May  9 14:52:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
3899                                Pavel Nejedly  <bim@atrey.karlin.mff.cuni.cz>
3900
3901         * final.c (end_final): Use C trees to output data structures for profiling.
3902
3903         * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
3904         (profile.o): New dependency profile.h
3905         (final.o): New dependency profile.h
3906         * profile.h: New file. New global structure profile_info.
3907         * final.h (count_edges_instrumented_now): Declare.
3908         (current_function_cfg_checksum): Declare.
3909         (function_list): New structure.
3910         (functions_head, functions_tail): New static variables.
3911         (end_final): Emits more data, removed some -ax stuff.
3912         (final): Stores function names and chcksums.
3913         * gcov-io.h (__write_gcov_string): New function.
3914         (__read_gcov_string): New function.
3915         * gcov.c (read_profile): New function.
3916         (create_program_flow_graph): Uses read_profile instead of reading
3917         da_file.
3918         (read_files): Removed da_file checking, it's done by read_profile now.
3919         * libgcc2.c (bb_function_info): New structure.
3920         (bb): New field in structure, removed some -ax stuff.
3921         (__bb_exit_func): Changed structure of da_file.
3922         * profile.c (count_edges_instrumented_now): New global variable.
3923         (current_function_cfg_checksum): New global variable.
3924         (max_counter_in_program): New global variable.
3925         (get_exec_counts): New function.
3926         (compute_checksum): New function.
3927         (instrument_edges): Sets count_edges_instrumented_now.
3928         (compute_branch_probabilities): Uses get_exec_counts instead of
3929         reading da_file.
3930         (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
3931         (init_branch_prob): Removed da_file checking, done in get_exec_counts
3932         now.
3933         (end_branch_prob): Removed da_file checking, done in get_exec_counts
3934         now.
3935         * gcov.texi: Updated information about gcov file format.
3936
3937 2002-05-09  Kazu Hirata  <kazu@cs.umass.edu>
3938
3939         * sbitmap.c: Fix formatting.
3940         * scan.c: Likewise.
3941         * scan-decls.c: Likewise.
3942         * sched-deps.c: Likewise.
3943         * sched-ebb.c: Likewise.
3944         * sched-rgn.c: Likewise.
3945         * sched-vis.c: Likewise.
3946         * sdbout.c: Likewise.
3947         * sibcall.c: Likewise.
3948         * simplify-rtx.c: Likewise.
3949         * ssa.c: Likewise.
3950         * ssa-ccp.c: Likewise.
3951         * ssa-dce.c: Likewise.
3952         * stmt.c: Likewise.
3953         * stor-layout.c: Likewise.
3954         * stringpool.c: Likewise.
3955
3956 2002-05-09  David S. Miller  <davem@redhat.com>
3957
3958         * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
3959
3960 2002-05-07  David S. Miller  <davem@redhat.com>
3961
3962         * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
3963         * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
3964         * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
3965         library implementation clobbers the output before the inputs
3966         are fully consumed, use stack temporary for the output.
3967
3968 2002-05-09  Jason Thorpe  <thorpej@wasabisystems.com>
3969
3970         * config/netbsd.h (CPP_SPEC): Remove.
3971         * config/i386/netbsd-elf.h (CPP_SPEC): Define.
3972         * config/i386/netbsd.h (CPP_SPEC): Define.
3973         * config/ns32k/netbsd.h (CPP_SPEC): Define.
3974         * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
3975         * config/sparc/netbsd.h (CPP_SPEC): Define.
3976         * config/vax/netbsd.h (CPP_SPEC): Define.
3977
3978 2002-05-08  Kazu Hirata  <kazu@cs.umass.edu>
3979
3980         * read-rtl.c: Fix formatting.
3981         * real.c: Likewise.
3982         * recog.c: Likewise.
3983         * regclass.c: Likewise.
3984         * regmove.c: Likewise.
3985         * reg-stack.c: Likewise.
3986         * reload1.c: Likewise.
3987         * reload.c: Likewise.
3988         * resource.c: Likewise.
3989         * rtlanal.c: Likewise.
3990         * rtl.c: Likewise.
3991         * rtl-error.c: Likewise.
3992
3993 2002-05-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3994
3995         * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
3996         * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
3997
3998 2002-05-08  Bernd Schmidt  <bernds@redhat.com>
3999
4000         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
4001         use __SSE2__ macro instead.
4002         * config/i386/xmmintrin.h: Likewise.
4003
4004 2002-05-08  Janis Johnson  <janis187@us.ibm.com>
4005
4006         * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
4007         and use it in all invocations of these macros.  Clean up comments.
4008         * rtl.c (rtl_check_failed_flag): Add an argument for the name
4009         of the flag access macro whose check failed.
4010         * doc/rtl.texi (Flags): Document additional flag uses.
4011
4012 2002-05-08  Robert Spier <rspier@pobox.com>
4013             Neil Booth  <neil@daikokuya.demon.co.uk>
4014
4015         PR preprocessor/6521
4016         * cppfiles.c (handle_missing_header): Don't do anything
4017         different for <> includes.
4018 doc:
4019         * cppopts.texi: Update documentation for -MG.
4020
4021 2002-05-08  Neil Booth  <neil@daikokuya.demon.co.uk>
4022
4023         * cpplex.c (cpp_interpret_charconst): Truncate as well as
4024         sign-extend.
4025 doc:
4026         * cpp.texi: Clarify multichar charconst valuation.
4027
4028 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
4029
4030         * doc/invoke.texi: Document -mwindiss option.
4031
4032 2002-05-08  Jason Merrill  <jason@redhat.com>
4033
4034         * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
4035
4036         * dwarf2out.c (gen_type_die): Abort on broken recursion.
4037
4038         PR c++/6381
4039         * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
4040         REAL_CST.
4041
4042 2002-05-08  Nick Clifton  <nickc@cambridge.redhat.com>
4043
4044         * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
4045         little-endian multilibs to override arm/thumb multilibs.
4046         Do not build hardware floating point multilibs, nor apcs-26
4047         multilibs for the Thumb.
4048
4049 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
4050
4051         PR c/6569.
4052         * varasm.c (mark_weak): New function.
4053         (merge_weak): Use it.  Do not call declare_weak.
4054         (declare_weak): Use merge_weak.
4055
4056 Wed May  8 13:12:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
4057
4058         * cse.c (dead_libcall_p): Update counts.
4059         (delete_trivially_dead_insns): Update call of dead_libcall_p.
4060
4061 Wed May  8 11:08:50 CEST 2002  Jan Hubicka  <jh@suse.cz>
4062
4063         * cfglayout.c (function_tail_eff_head): Rename to ...
4064         (function_footer): ... this one.
4065         (unlink_insn_chain): New functions.
4066         (label_for_bb): Only call block_label and emit debug message.
4067         (record_effective_endpoints): Actually unlink the headers and footers.
4068         (fixup_reorder_cahin): Re-insert the unlinked sequences.
4069         (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
4070         * cfglayout.h (struct reorder_block_def): New fields footer/header;
4071         remove eff_head/eff_end.
4072         * rtl.h (set_first_insn): Declare.
4073         * emit-rtl.c (set_first_insn): New function.
4074
4075         * cfglayout.c (fixup_reorder_chain): Dump duplicated
4076         (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
4077         cfg_layout_duplicate_bb): New global function.
4078         (duplicate_insn_chain): New static function.
4079         * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
4080         cfg_layout_duplicate_bb): Declare.
4081         (struct reorder_block_def): Add "original" field.
4082         * emit-rtl.c (emit_copy_of_insn_after): New function.
4083         * rtl.h (emit_copy_of_insn_after): Declare.
4084
4085         * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
4086         (fixup_reorder_chain): properly handle edges to exit block.
4087
4088 Wed May  8 11:10:31 CEST 2002  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4089                                Jan Hubicka  <jh@suse.cz>
4090
4091         * basic-block.h (note_prediction_to_br_prob): declare.
4092         * c-semantics.c: Inlucde predit.h
4093         (expand_stmt): predict GOTO_STMT as not taken.
4094         * cfgcleanup.c: (delete_unreachable_blocks): Make global.
4095         (cleanup_cfg): Do not free tail_recursion_list.
4096         * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
4097         (flow_delete_block): Kill predictions past end of basic block.
4098         * output.h (delete_unreachable_blocks): Declare.
4099         * predict.c (predicted_by_p, process_note_predictions,
4100         process_note_prediction, last_block_p): New function.
4101         (estimate_probability): Bypass loop on PRED_CONTINUE;
4102         do not handle noreturn heuristics; kill PRED_RETURN; add
4103         PRED_EARLY_RETURN.
4104         * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
4105         PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
4106         * predict.h (IS_TAKEN): New constant.
4107         * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
4108         * rtl.c (NOTE_INSN_PREDICTION): New.
4109         * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
4110         New macro.
4111         (insn_note): add NOTE_INSN_PREDICTION.
4112         * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
4113         CFG; free tail_recursion_label_list.
4114         * stmt.c: Include predict.h;
4115         (return_prediction): New.
4116         (expand_value_return): Use it.
4117         * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
4118
4119 2002-05-08  Richard Sandiford  <rsandifo@redhat.com>
4120
4121         * config/mips/mips.md: Name the unspecs with define_constant.
4122         (*HILO_delay): Rename to 'hilo_delay' (no star).
4123         (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
4124         (reload_outdi, reload_outsi): Likewise.
4125
4126 2002-05-07  Kazu Hirata  <kazu@cs.umass.edu>
4127
4128         * toplev.c: Fix formatting.
4129
4130 2002-05-07  Janis Johnson  <janis187@us.ibm.com>
4131
4132         * config.in (ENABLE_RTL_FLAG_CHECKING): New.
4133         * configure.in (ac_rtlflag_checking): New.
4134         * doc/install.texi (--enable-checking): Document RTL flag checking.
4135
4136 2002-05-07  Neil Booth  <neil@daikokuya.demon.co.uk>
4137
4138         * c-common.c (c_common_init): Set options->unsigned_wchar.
4139         * cppinit.c (cpp_create_reader): Default unsigned_wchar,
4140         group target dependencies.
4141         (init_builtins, cpp_handle_option): Update.
4142         * cpplex.c (cpp_interpret_charconst): Update.
4143         * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
4144         signed_char to unsigned_char, group target dependencies.
4145         * defaults.h (WCHAR_UNSIGNED): Remove.
4146         * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
4147 config:
4148         * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
4149         i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
4150         i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
4151         i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
4152         sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
4153 doc:
4154         * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
4155
4156 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
4157
4158         * fixinc/inclhack.def (windiss_math1): New fix.
4159         (windiss_math2): Likewise.
4160         (windiss_valist): Likewise.
4161         * fixinc/fixincl.x: Regenerated.
4162
4163 2002-05-07  Andreas Jaeger  <aj@suse.de>
4164
4165         * genautomata.c (output_internal_min_issue_delay_func): Add
4166         ATTRIBUTE_UNUSED to avoid warning with empty dfa.
4167         (output_internal_trans_func): Likewise.
4168
4169 Tue May  7 10:06:22 2002  Jeffrey A Law  (law@redhat.com)
4170
4171         * pa.c (hppa_profile_hook): Use force_reg to get the address
4172         of the profile hook into an appropriate pseudo register.
4173
4174 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
4175
4176         * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
4177         (LINK_START_SPEC): Handle it.
4178         (LINK_OS_SPEC): Likewise.
4179         (CPP_SPEC): Likewise.
4180         (STARTFILE_SPEC): Likewise.
4181         (LIB_SPEC): Likewise.
4182         (ENDFILE_SPEC): Likewise.  Do not assume crtsavres.o is used on
4183         all platforms.
4184         (CRTSAVRES_DEFAULT_SPEC): New macro.
4185         (LIB_WINDISS_SPEC): New macro.
4186         (CPP_OS_WINDISS_SPEC): Likewise.
4187         (STARTFILE_WINDISS_SPEC): Likewise.
4188         (ENDFILE_WINDISS_SPEC): Likewise.
4189         (LINK_START_WINDISS_SPEC): Likewise.
4190         (LINK_OS_WINDISS_SPEC): Likewise.
4191         * config/rs6000/windiss.h: New file.
4192
4193 2002-05-07  Aldy Hernandez  <aldyh@redhat.com>
4194
4195         * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
4196
4197 2002-05-06  David S. Miller  <davem@redhat.com>
4198
4199         * config/sparc/sparc.md (shift insns): Do not mask off
4200         second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
4201         take care of it.
4202
4203 2002-05-06  Richard Henderson  <rth@redhat.com>
4204
4205         PR c++/6212
4206         * expr.c (highest_pow2_factor_for_type): New.
4207         (expand_assignment): Use it.
4208
4209 2002-05-06  Aldy Hernandez  <aldyh@redhat.com>
4210
4211         * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
4212         unspec_volatile.
4213         ("altivec_mfvscr"): Same.
4214
4215 2002-05-06  Janis Johnson  <janis187@us.ibm.com>
4216
4217         * rtl.h (struct rtx_def): Update comments.
4218         (RTL_FLAG_CHECK[12345678]): New.  (rtl_check_failed_flag): Declare.
4219         (RTL_FLAG): New.  (CLEAR_RTX_FLAGS): New.  (flag access macros): Use
4220         RTL_FLAG_CHECK macros with list of expected RTL codes.
4221         * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
4222         (rtl_check_failed_flag): New.
4223         * reload1.c (reload): Use REG macro before changing rtx to MEM.
4224         (reload_cse_noop_set_p): Check rtx code before using access macro.
4225         * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
4226         before using access macro.
4227
4228 2002-05-06  Janis Johnson  <janis187@us.ibm.com>
4229
4230         * doc/rtl.texi (Flags): Update to reflect current usage.
4231
4232 2002-05-06  Roger Sayle  <roger@eyesopen.com>
4233
4234         PR opt/3995
4235         * fold-const.c (sign_bit_p): New function.
4236         (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
4237         (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
4238         Reapply fold when converting (A & C) == C into (A & C) != 0.
4239         (fold_binary_op_with_conditional_arg): Fix typo in comment.
4240
4241 2002-05-07  Neil Booth  <neil@daikokuya.demon.co.uk>
4242
4243         * c-common.c (warn_multichar): New.
4244         (c_common_init): Set CPP's warn_multichar.
4245         * c-common.h (warn_multichar): New.
4246         * c-decl.c (warn_multichar): Remove.
4247         * c-lex.c (lex_charconst): Update.
4248         * c-tree.h (warn_multichar): Remove.
4249         * cppexp.c (eval_token): Sign-extend charconst value.
4250         * cppinit.c (cpp_create_reader): Set warn_multichar.
4251         * cpplex.c (cpp_interpret_charconst): Don't sign-extend
4252         each character.  Update prototype.  Sign-extend the result.
4253         * cpplib.h: Fix conditions.
4254         (struct cpp_options): Add new warning flag.
4255         (cpp_interpret_charconst): Update prototype.
4256 doc:
4257         * cpp.texi: Update documentation.
4258
4259 2002-05-06  Vladimir Makarov  <vmakarov@redhat.com>
4260
4261         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
4262         Fix typo in usage of allof instead of unit.
4263
4264 2002-05-06  Richard Henderson  <rth@redhat.com>
4265
4266         * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
4267         and any jump or call for IN.
4268
4269 2002-05-06  Bernd Schmidt  <bernds@redhat.com>
4270
4271         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
4272         -msse2.
4273         * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
4274
4275 2002-05-06  Roger Sayle  <roger@eyesopen.com>
4276
4277         * fold-const.c (lshift-double): Cast the high word to an unsigned
4278         HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
4279         (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
4280         avoid compiler warning.  (fold): Remove redundant code from
4281         BIT_AND_EXPR as integer operands are canonicalized to be arg1.
4282
4283 2002-05-06  Jeff Law  <law@redhat.com>
4284
4285         * pa-protos.h (hppa_fpstore_bypass_p): Declare.
4286         * pa.c (pa_adjust_cost): Remove all true dependency cost
4287         adjustments.  Also remove support for non-DFA scheduling.
4288         * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
4289         to adjust true dependency costs.  Update various comments.
4290         (7100lc, 7200, 7300 scheduling): Simplify by combining the
4291         FP ALU & MPY units into a single unit.
4292
4293 2002-05-06  Catherine Moore  <clm@redhat.com>
4294
4295         * config/v850/v850.c (compute_register_save_size): Make sure
4296         to count all of the registers that will be saved.
4297
4298 Mon May  6 18:03:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
4299
4300         * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
4301
4302 2002-05-06  David S. Miller  <davem@redhat.com>
4303
4304         * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
4305         allow result to overlap input operands in memory.
4306
4307 2002-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4308
4309 doc:
4310         * cpp.texi: Update multichar charconst docs.
4311
4312 2002-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4313
4314         * cpplex.c (cpp_interpret_charconst): Sign-extend each
4315         character.  Don't ignore excess characters.  Treat
4316         multicharacter character constants as signed.
4317         (cpp_parse_escape): Clarify diagnostic.
4318
4319 2002-05-05  Jakub Jelinek  <jakub@redhat.com>
4320
4321         * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
4322         use add instead of shift.
4323         (ashldi3_sp64): Likewise.
4324         (ashlsi3_const1, ashldi3_const1): Remove.
4325         * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
4326         * config/sparc/sparc.c (const1_operand): New.
4327
4328 2002-05-05  Jason Thorpe  <thorpej@wasabisystems.com>
4329
4330         * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
4331
4332 2002-05-05  Jakub Jelinek  <jakub@redhat.com>
4333
4334         PR target/6561
4335         * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
4336
4337 2002-05-05  Richard Henderson  <rth@redhat.com>
4338
4339         * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
4340         memory latency adjustments.
4341         (alpha_variable_issue): Remove.
4342         (alpha_use_dfa_pipeline_interface): New.
4343         (alpha_multipass_dfa_lookahead): New.
4344         * config/alpha/alpha.md: Remove define_function_unit scheduling;
4345         include new dfa scheduling.
4346         (attr type): Add none.
4347         (blockage): Use it.
4348         * config/alpha/ev4.md: New.
4349         * config/alpha/ev5.md: New.
4350         * config/alpha/ev6.md: New.
4351
4352 2002-05-05  David S. Miller  <davem@redhat.com>
4353
4354         * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
4355
4356 2002-05-05  Kazu Hirata  <kazu@cs.umass.edu>
4357
4358         * cse.c: Fix formatting.
4359         * emit-rtl.c: Likewise.
4360
4361 2002-05-05  Vladimir Makarov  <vmakarov@redhat.com>
4362
4363         * genautomata.c (initiate_states): Add additional guard to
4364         initialize `units_array'.
4365
4366 2002-05-05  Vladimir Makarov  <vmakarov@redhat.com>
4367
4368         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
4369         process_unit_to_form_the_same_automaton_unit_lists,
4370         form_the_same_automaton_unit_lists
4371         check_unit_distributions_to_automata): New prototypes and
4372         functions.
4373         (check_automata): Rename it into `check_automata_insn_issues'.
4374         (unit_decl): New fields `the_same_automaton_unit' and
4375         `the_same_automaton_message_reported_p'.
4376         (unit_decl_t): New typedef.
4377         (the_same_automaton_lists): New gloval variable.
4378         (unit_regexp, unit_set_el, units_array, units_cmp,
4379         output_get_cpu_unit_code_func): Use the typedef.
4380         (evaluate_max_reserv_cycles): Increment
4381         `description->max_insn_reserv_cycles'.
4382         (initiate_states): Don't increment `max_cycles_num'.
4383         (transform_insn_regexps): Move code around transformation of
4384         regexps from `generate'.
4385         (generate): Remove call of `transform_insn_regexps'.
4386         (expand_automata): Call `transform_insn_regexps' and
4387         `check_unit_distributions_to_automata'.  Check errors before
4388         `generate'.
4389
4390         * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
4391         automaton `ultrasparc3_1'.
4392
4393 2002-05-05  Neil Booth  <neil@daikokuya.demon.co.uk>
4394
4395         * c-common.c (c_common_init): Set up CPP arithmetic.
4396         * cppinit.c (cpp_create_reader): Default CPP arithmetic to
4397         something reasonable for the host.
4398         (sanity_checks): Add checks.
4399         (cpp_read_main_file): Call sanity_checks() from here...
4400         (cpp_post_options): ... not here.
4401         * cpplex.c (cpp_interpret_charconst): Get max_chars right.
4402         * cpplib.h (struct cpp_options): New member int_precision.
4403
4404 2002-05-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4405
4406         * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
4407
4408 2002-05-04  David S. Miller  <davem@redhat.com>
4409
4410         * config/sparc/linux.h, config/sparc/linux64.h
4411         (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
4412
4413         * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
4414         more RTX codes.
4415         * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
4416
4417         * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
4418         of SETs.
4419
4420 2002-05-05  Tim Josling  <tej@melbpc.org.au>
4421
4422         * treelang; New directory for new sample language treelang.
4423
4424 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4425
4426         * Makefile.in (c-lex.o): Update.
4427         * c-lex.c: Include target.h.
4428         (cb_register_builtins): New.
4429         (init_c_lex): Set builtins callback.
4430         * c-lex.h (cpp_define, cpp_assert): New prototypes.
4431         * cppinit.c (init_builtins): Use callback, including for
4432         GXX_WEAK.
4433         * cpplib.h (struct cpp_callbacks): New member.
4434         * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
4435         (TARGET_INITIALIZER): Update.
4436         * target.h (struct gcc_target): New hook.
4437         * tree.c (default_register_cpp_builtins): New.
4438         * tree.h (default_register_cpp_builtins): New.
4439 doc:
4440         * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
4441
4442 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4443
4444         * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
4445         (cpp_post_options): Move sanity checks to...
4446         (sanity_checks): New.
4447         * cpplex.c (maybe_read_ucs): Fix prototype.
4448         (parse_string, cpp_parse_escape): Cast for %c format specifier.
4449         * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
4450         if necessary.
4451
4452 2002-05-04  Bernd Schmidt  <bernds@redhat.com>
4453
4454         * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
4455         builtins.  Use V2DI patterns instead of TI for logical operations.
4456         (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
4457         Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
4458         (ix86_expand_builtins): Change the pattern used for movntdq.
4459         * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
4460         sse2_nandv2di3): New patterns.
4461         (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
4462         on operands.
4463         (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
4464         (cvtdq2pd): Correct mode on operand 1.
4465         (sse2_umulsidi3): Describe without unspec.
4466         (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
4467         machine modes.
4468         (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
4469         (ashlv2di3): Likewise, from sse2_ashlv2di3.
4470         (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
4471         ashlv4si3, ashlv2di3): Use SImode for shift count.
4472         (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
4473         lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
4474         New patterns.
4475         * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
4476         New typedefs.
4477         (__m128i, __m128d): New macros.
4478         (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
4479         _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
4480         _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
4481         _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
4482         _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
4483         _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
4484         _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
4485         _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
4486         _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
4487         _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
4488         _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
4489         _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
4490         _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
4491         _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
4492         _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
4493         _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
4494         _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
4495         _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
4496         _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
4497         _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
4498         _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
4499         _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
4500         _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
4501         _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
4502         _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
4503         _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
4504         _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
4505         _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
4506         _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
4507         _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
4508         _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
4509         _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
4510         _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
4511         _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
4512         _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
4513         _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
4514         _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
4515         functions.
4516         (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
4517         _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
4518
4519 2002-05-04  Kazu Hirata  <kazu@cs.umass.edu>
4520
4521         * dwarf2out.c: Fix formatting.
4522         * varasm.c: Likewise.
4523
4524 2002-05-04  David Edelsohn  <edelsohn@gnu.org>
4525
4526         PR c/6543
4527         * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
4528         clobber and use result as temporary value.
4529
4530 Sat May  4 13:20:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
4531
4532         * expr.c (force_operand): Use expand_simple_* to handle more
4533         cases.
4534
4535 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4536
4537         * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
4538         and sign-extension.
4539         (lex_charconst): Update for change in prototype of
4540         cpp_interpret_charconst.  Extend from cppchar_t to HOST_WIDE_INT
4541         appropriately.
4542         * cpphash.h (BITS_PER_CPPCHAR_T): New.
4543         * cppinit.c (cpp_create_reader): Initialize them for no
4544         change in semantics.
4545         (cpp_post_options): Add sanity checks.
4546         * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
4547         and truncation issues.  Calculate in type cppchar_t.
4548         (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
4549         (cpp_interpret_charconst): Calculate in type cppchar_t.  Handle
4550         run-time dependent precision correctly.  Return whether the
4551         result is signed or not.
4552         * cpplib.c (dequote_string): Use cppchar_t; update.
4553         * cpplib.h (cppchar_signed_t): New.
4554         struct cpp_options): New precision members.
4555         (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
4556         * cppexp.c (eval_token): Update.
4557
4558 2002-05-03  David S. Miller  <davem@redhat.com>
4559
4560         * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
4561         * config/sparc/sparc.c (sparc_rtx_costs): New function
4562         implementing RTX_COSTS and CONST_COSTS.
4563         * config/sparc/sparc.h (CONST_COSTS): Delete.
4564         (RTX_COSTS_CASES): Define.
4565         (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
4566         the work.
4567
4568         * config/sparc/sparc.md (DFA schedulers): Split out...
4569         * config/sparc/cypress.md, config/sparc/hypersparc.md,
4570         config/sparc/sparclet.md, config/sparc/supersparc.md,
4571         config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
4572
4573         * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
4574         checks on it, always defined for Sparc.
4575
4576         * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
4577         Tweak, and add more detailed comments.
4578
4579 2002-05-03  Zack Weinberg  <zack@codesourcery.com>
4580
4581         * Re-apply patch accidentally reverted with
4582         DFA scheduler merge: remove all rules and variables to slurp
4583         source files out of libiberty and rebuild them with HOST_CC.
4584         ($(HOST_PREFIX_1)varray.o): New rule.
4585         (genattrtab rule): Word wrap.
4586
4587 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
4588
4589         * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
4590         (CPP_SUBTARGET_SPEC): Define.
4591         (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
4592         cpp_subtarget specs.
4593         (CPP_SPEC): Redefine to include %(cpp_subtarget).
4594
4595 2002-05-03  David S. Miller  <davem@redhat.com>
4596
4597         * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
4598         * target.h (struct gcc_target): Delete cycle_display member.
4599
4600         * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
4601         (rtx_needs_barrier): Delete reference to cycle_display unspec.
4602         (ia64_sched_reorder2): Mention need for cycle display handling
4603         once such notes exist.
4604
4605 2002-05-03  Richard Henderson  <rth@redhat.com>
4606
4607         * real.c (etoasc): Strip most trailing zeros for clarity.
4608         * sched-vis.c: Include real.h.
4609         (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
4610         * Makefile.in (sched-vis.o): Add real.h.
4611
4612 2002-05-03  David S. Miller  <davem@redhat.com>
4613
4614         * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
4615         no longer needed.
4616
4617 2002-05-03  Aldy Hernandez  <aldyh@redhat.com>
4618
4619         * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
4620         when we get an out of range literal.
4621         (altivec_expand_ternop_builtin): Same.
4622         (altivec_expand_unop_builtin): Same.
4623         (altivec_expand_builtin): Same, for dss.
4624         (altivec_expand_builtin): Use trees instead of rtl when
4625         determining literal argument validity.
4626
4627 2002-05-03  David S. Miller  <davem@redhat.com>
4628
4629         Delete cycle display scheduling hook.
4630         * config/ia64/ia64.c (ia64_cycle_display,
4631         TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
4632         (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
4633         and use emit_insn_before instead of ia64_emit_insn_before.
4634         * config/ia64/ia64.md (unspec usage): Delete cycle display.
4635         (cycle_display): Delete insn pattern.
4636         * config/sparc/sparc.md (unspec usage): Delete cycle display.
4637         (cycle_display): Delete insn pattern.
4638         * config/sparc/sparc.c (sparc_cycle_display,
4639         TARGET_SCHED_CYCLE_DISPLAY): Delete.
4640         * doc/md.texi (cycle_display): Don't mention.
4641         * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
4642
4643 2002-05-03  Richard Henderson  <rth@redhat.com>
4644
4645         * recog.c (store_data_bypass_p, if_test_bypass_p): New.
4646         * recog.h: Declare them.
4647
4648         * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
4649         * config/sparc/sparc.md: Use store_data_bypass_p instead.
4650         * config/sparc/sparc-protos.h: Update.
4651
4652 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
4653
4654         * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
4655         -D__arch64__.  Add -D_LP64.
4656         (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
4657         from sparc.h.
4658         (CPP_ARCH64_SPEC): Likewise.
4659         (NO_BUILTIN_PTRDIFF_TYPE): Undef.
4660         (NO_BUILTIN_SIZE_TYPE): Undef.
4661
4662 2002-05-03  Vladimir Makarov  <vmakarov@redhat.com>
4663
4664         * genautomata.c (min_issue_delay_pass_states): Change return type
4665         in the prototype.
4666         (min_issue_delay_pass_states): Change the algorithm.
4667         (min_issue_delay): Set up min_insn_issue_delay for the state.
4668         (output_min_issue_delay_table): Interchange the nested loops and
4669         and initiate min_insn_issue_delay for states.
4670
4671 Fri May  3 22:59:15 CEST 2002  Jan Hubicka  <jh@suse.cz>
4672
4673         * cfgcleanup.c (try_optimize_cfg):  Call merge_block only when
4674         jump is simplejump.
4675
4676 Fri May  3 22:53:37 CEST 2002  Jan Hubicka  <jh@suse.cz>
4677
4678         * i386.c  (expand_movstr, expand_clrstr): Fix inline-all-stringops
4679         sequence.
4680
4681 2002-05-03  Richard Henderson  <rth@redhat.com>
4682
4683         PR opt/6534
4684         * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
4685         noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
4686         noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
4687         code before JUMP, not EARLIEST.
4688
4689 2002-05-03  Joseph S. Myers  <jsm28@cam.ac.uk>
4690
4691         * c-format.c (check_format_info_main): Don't check for presence of
4692         parameter for * width until after operand number has been read,
4693         and only check for it if format parameters are available.
4694         Fixes PR c/6547.
4695
4696 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
4697
4698         * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
4699         (LINK_SPEC): Undef before defining.
4700
4701 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
4702
4703         PR preprocessor/6489
4704         * tradcpp.c (fixup_newlines): New.
4705         (main, finclude): Use it.
4706
4707 2002-05-03  Richard Sandiford  <rsandifo@redhat.com>
4708
4709         * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
4710         * config/mips/mips.c (mips_unique_section): Strip encoding from
4711         decl name.
4712
4713 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
4714
4715         * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
4716         mode.
4717
4718 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4719
4720         * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
4721         (Specific): Removed buildstats references.
4722         (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
4723         (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
4724         Accomodate Solaris versions beyond 8.
4725         (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
4726         (Specific, *-*-solaris2.8): Removed, obsolete.
4727
4728 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
4729
4730         PR target/6542
4731         * config/sparc/sparc.h (leaf_reg_remap): Remove const.
4732         (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
4733         fill leaf_reg_remap with identity.
4734         * config/sparc/sparc.c (leaf_reg_remap): Remove const.
4735
4736 2002-05-03  Kazu Hirata  <kazu@cs.umass.edu>
4737
4738         * config/h8300/crti.asm: Remove trailing spaces.
4739         * config/h8300/h8300.c: Likewise.
4740         * config/h8300/lib1funcs.asm: Likewise.
4741
4742 2002-05-02  Jason Merrill  <jason@redhat.com>
4743
4744         * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
4745         * c-decl.c (c_init_decl_processing): Use it.
4746         * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
4747         * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
4748         * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
4749
4750 2002-05-03  Kazu Hirata  <kazu@cs.umass.edu>
4751
4752         * regrename.c: Fix formatting.
4753         * tree.c: Likewise.
4754
4755 Fri May  3 13:34:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
4756
4757         * i386.md (attribute memory): Handle compares properly.
4758
4759 Fri May  3 10:51:38 CEST 2002  Jan Hubicka  <jh@suse.cz>
4760
4761         * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
4762         to none.
4763
4764 2002-05-02  Kazu Hirata  <kazu@cs.umass.edu>
4765
4766         * function.c: Fix formatting.
4767
4768 2002-05-02  Jan Hubicka  <jh@suse.cz>
4769
4770         * haifa-sched.c (schedule_insn): Print table of instructions and
4771         reservations.
4772         (sched_block): Do not print ready list at verbosity level 1.
4773         * sched-vis.c (print_insn): Make global.
4774         * sched-ebb.c (ebb_print_insn): Rename from...
4775         (print_insn): ... this one.
4776         * sched-int.h (print_insn): Declare
4777
4778 2002-05-02  Richard Henderson  <rth@redhat.com>
4779
4780         * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
4781         emitted by cycle_display.
4782
4783 2002-05-02  Loren J. Rittle  <ljrittle@acm.org>
4784
4785         * doc/install.texi (*-*-freebsd*): Update to latest status.
4786
4787 2002-05-02  Jakub Jelinek  <jakub@redhat.com>
4788
4789         PR target/6540
4790         * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
4791         * config/float-sparc.h: Assume 128-bit long double if
4792         __LONG_DOUBLE_128__ is defined.
4793
4794 2002-05-02  Vladimir Makarov  <vmakarov@redhat.com>
4795
4796         * genattrtab.c (write_function_unit_info): Add a dummy element
4797         when num_units == 0.
4798
4799 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4800
4801         * predict.c: (propagate_freq, estimate_bb_frequencies): Use
4802         TYPE_MODE (double_type_node) instead of DFmode.
4803
4804 Thu May  2 19:50:04 CEST 2002  Jan Hubicka  <jh@suse.cz>
4805
4806         * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
4807         jumps post reload.
4808         * toplev.c (rest_of_compilation): Revert Richard's patch.
4809
4810 2001-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4811
4812         * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
4813
4814 2002-05-02  Catherine Moore  <clm@redhat.com>
4815
4816         * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
4817
4818 2002-05-02  Kazu Hirata  <kazu@hxi.com>
4819
4820         * combine.c: Fix comment typos.
4821         * expr.c: Likewise.
4822         * genautomata.c: Likewise.
4823         * stmt.c: Likewise.
4824         * tree.h: Likewise.
4825
4826 2002-05-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4827
4828         * doc/install.texi: State GNAT version requirements.
4829
4830 2002-05-02  Nick Clifton  <nickc@cambridge.redhat.com>
4831
4832         * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
4833         of the frame pointer or arg pointer register which strict register
4834         checking is not enabled.
4835
4836 2002-05-02  Aldy Hernandez  <aldyh@redhat.com>
4837
4838         * gcc.dg/altivec-8.c: New.
4839
4840         * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
4841         PRE_INC and PRE_DEC for altivec modes.
4842
4843 2002-05-01  Bruce Korb  <bkorb@gnu.org>
4844
4845         * fixinc/check.tpl(set-writable): make sure the function exists first
4846         * fixinc/inclhack.def(alpha_assert): fix test_text
4847         * fixinc/tests/base/assert.h: add in missing result
4848
4849 2002-05-01  Jeff Law  <law@redhat.com>
4850
4851         * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
4852         'T' constraint.
4853
4854 2002-05-01  Joel Brobecker  <brobecker@gnat.com>
4855
4856         * dbxout.c (dbxout_type): Emit size information for range types,
4857         as well, but only when using GDB extensions.
4858
4859 2002-05-01  Richard Henderson  <rth@redhat.com>
4860
4861         * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
4862         target-independent gnu binutils date test.
4863
4864 2002-05-01  Richard Henderson  <rth@redhat.com>
4865
4866         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
4867         info before expunging the block.
4868
4869 2002-05-01  Jakub Jelinek  <jakub@redhat.com>
4870
4871         * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
4872         (cpp_post_options): ...but here.  Disable -dD, -dN and -dI when
4873         -M -or -MM is in effect.
4874
4875 2002-05-01  Zack Weinberg  <zack@codesourcery.com>
4876
4877         * config.gcc: Correct test of --enable-obsolete.  Obsolete all
4878         A29k configurations.
4879         * doc/install.texi: Update to match.
4880
4881 2002-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4882
4883         PR bootstrap/6514
4884         * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
4885         for duplicates. Always loop over whole list.
4886
4887 Wed May  1 10:32:37 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4888
4889         * reload.c (find_reloads, case 'p'): Set BADOP to 0.
4890
4891 2002-05-01      Joel Sherrill <joel@OARcorp.com>
4892
4893         * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
4894         support routines.
4895
4896 2002-05-01      Joel Sherrill <joel@OARcorp.com>
4897
4898         * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
4899
4900 2002-05-01  David Edelsohn  <edelsohn@gnu.org>
4901
4902         * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
4903         (nabs_nopower): Same.
4904         (floatdisf2): New pattern.
4905         (absdi2): Convert to define_insn_and_split.
4906         (nabsdi2): Same.
4907         (trunctfsf2): Same.
4908         (floatditf2): Same.
4909         (floatsitf2): Same.
4910         (fix_trunctfdi2): Same.
4911         (fix_trunctfsi2): Same.
4912
4913 2002-05-01  Joseph S. Myers  <jsm28@cam.ac.uk>
4914
4915         * doc/install.texi: Update Texinfo version requirement
4916         documentation.
4917
4918 2002-05-01  Jakub Jelinek  <jakub@redhat.com>
4919
4920         PR target/6512, PR target/5628
4921         * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
4922         when memory is not aligned.
4923         (movdf_insn_v9only_vis): Likewise.
4924         * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
4925         temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
4926         (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
4927
4928 2002-05-01  Aldy Hernandez  <aldyh@redhat.com>
4929
4930         * gcc.dg/altivec-7.c: New.
4931
4932         * config/rs6000/altivec.h: Cleanup.
4933
4934 2002-04-30  Aldy Hernandez  <aldyh@redhat.com>
4935
4936         * doc/invoke.texi (Option Summary): Add -mvrsave=.
4937         (RS/6000 and PowerPC Options): Document -mvrsave=.
4938
4939         * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
4940         (rs6000_altivec_vrsave_string): Same.
4941         (rs6000_override_options): Call rs6000_parse_vrsave_option.
4942         (rs6000_parse_vrsave_option): New.
4943         (rs6000_stack_info): Only generate vrsave instructions when
4944         TARGET_ALTIVEC_VRSAVE.
4945
4946         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
4947         (rs6000_altivec_vrsave_string): Define extern.
4948         (rs6000_altivec_vrsave): Same.
4949         (TARGET_ALTIVEC_VRSAVE): New.
4950
4951 2002-04-30  Richard Henderson  <rth@redhat.com>
4952
4953         PR opt/6516
4954         * toplev.c (rest_of_compilation): Don't run cross-jump before
4955         bb-reorder.
4956
4957 2002-04-30  Tom Rix  <trix@redhat.com>
4958
4959         * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
4960         check which_alternative.
4961
4962 2002-04-30  Kazu Hirata  <kazu@hxi.com>
4963
4964         * cpplex.c: Fix comment formatting.
4965         * function.c: Likewise.
4966         * integrate.c: Likewise.
4967         * regrename.c: Likewise.
4968         * sibcall.c: Likewise.
4969         * simplify-rtx.c: Likewise.
4970         * tree-inline.c: Likewise.
4971
4972 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4973
4974         * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
4975         hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
4976         hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
4977         hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
4978         * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
4979         * pa/x-ada: New file.  Define ADA_CFLAGS.
4980
4981 2002-04-30  Hans-Peter Nilsson  <hp@bitrange.com>
4982
4983         * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
4984         from MMIX_LAST_REGISTER_FILE_REGNUM.
4985         (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
4986         (struct machine_function): New member highest_saved_stack_register
4987         previously static variable in mmix.c.
4988         (MACHINE_DEPENDENT_REORG): Define.
4989         * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
4990         (MMIX_OUTPUT_REGNO): New.
4991         (mmix_target_asm_function_prologue): Move calculation of last used
4992         saved-stack-register into...
4993         (mmix_machine_dependent_reorg): New function.  Update to also handle
4994         !TARGET_ABI_GNU.
4995         (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
4996         register names, simplify somewhat by new variable regno.
4997         <case 'p'>: Remove fixed FIXME.  Always emit highest used saved
4998         register.
4999         (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
5000         emitting register names.
5001         (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
5002         (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
5003         Remove fixed FIXME.
5004         * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
5005         Declare.
5006
5007         * config/mmix/mmix.md ("divmoddi4"): Update head comment.
5008
5009 2002-04-30  Richard Henderson  <rth@redhat.com>
5010
5011         * config/sparc/sparc.c (emit_soft_tfmode_libcall,
5012         emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
5013         emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
5014         emit_tfmode_cvt): New.
5015         * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
5016         trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
5017         fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
5018         addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
5019         * config/sparc/sparc-protos.h: Update.
5020
5021 2002-04-30  Janis Johnson  <janis187@us.ibm.com>
5022
5023         * install.texi (Final install): Add to the list of info to include
5024         in a report of a successful bootstrap, and add link to 3.1 list.
5025
5026 Tue Apr 30 19:15:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
5027
5028         * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
5029         (mode): Add vector modes
5030         (i387): Kill attribute.
5031         (unit): New attribute.
5032         (length_immediate): Grok new types.
5033         (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
5034         (modrm): Use "unit".
5035         (memory): Handle MMX/SSE properly.
5036         (scheduling descriptions): Kill uses of fop1.
5037         (sse, mmx, fp patterns): Set type and mode properly.
5038
5039 Tue Apr 30 09:31:59 2002  Jeffrey A Law  (law@redhat.com)
5040
5041         * pa.c (override_options): Default to PA8000 scheduling.
5042         * doc/invoke.texi (HP-PA options): Mention newly added 7300
5043         scheduling parameter.
5044
5045         * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
5046         handling of double precision multiplies.
5047
5048         * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
5049         fpdiv and fpsqrt instructions.
5050         (7200 & 7300 scheduling): Fix typo in handling of
5051         store-load and store-store penalties.
5052
5053 2002-04-30  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5054
5055         * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
5056         mips.  Add two missing commas.
5057
5058 2002-04-30  Paolo Carlini  <pcarlini@unitus.it>
5059
5060         * doc/contrib.texi (Contributors): Update Paolo Carlini's
5061         and Benjamin Kosnik's entries.
5062
5063 2002-04-29  David S. Miller  <davem@redhat.com>
5064
5065         * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
5066         SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
5067         * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
5068         * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
5069
5070 2002-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5071
5072         * combine.c (find_split_point): Use gen_int_mode.
5073
5074 2002-04-29  Vladimir Makarov  <vmakarov@redhat.com>
5075
5076         Merging code from dfa-branch:
5077
5078         2002-04-24  Vladimir Makarov  <vmakarov@redhat.com>
5079
5080         * genautomata.c (output_reserv_sets): Fix typo.
5081
5082         2002-04-23  Vladimir Makarov  <vmakarov@redhat.com>
5083
5084         * genautomata.c (output_reserv_sets): Remove
5085         next_cycle_output_flag.
5086
5087         Thu Apr 18 08:57:06 2002  Jeffrey A Law  (law@redhat.com)
5088
5089         * sched-rgn.c (init_ready_list): Make the DFA code handle
5090         USE/CLOBBER insns in the same way as the traditional
5091         scheduler.
5092         (new_ready): Similarly..
5093
5094         2002-04-17  Vladimir Makarov  <vmakarov@redhat.com>
5095
5096         * haifa-sched.c (schedule_block): Change the DFA state only after
5097         issuing insn.
5098
5099         Wed Apr 17 15:38:36 2002  Jeffrey A Law  (law@redhat.com)
5100
5101         * pa.c (hppa_use_dfa_pipeline_interface): New function.
5102         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
5103         (override_options): Add PA7300 scheduling support.
5104         (pa_adjust_cost): Update various comments.  Properly
5105         handle anti and output dependencies when using the
5106         DFA scheduler.
5107         (pa_issue_rate): Add PA7300 scheduling support.
5108         (pa_can_combine_p): Call extract_insn before calling
5109         constrain_operands (taken from mainline tree).
5110         * pa.h (enum processor_type): Add PROCESSOR_PA7300.
5111         * pa.md (cpu attr): Add 7300.  Rewrite pipeline
5112         descriptions using DFA descriptions.  Add PA7300
5113         scheduling support.
5114
5115         2002-03-30  David S. Miller  <davem@redhat.com>
5116
5117         Add UltraSPARC-III DFA scheduling support.
5118         * config/sparc/sparc.md (define_attr type): Add fpcrmove.
5119         Update FP conditional move on register insn patterns to use it, as
5120         appropriate.
5121         (define_attr cpu): Add ultrasparc3.
5122         (define_attr us3load_type): New, update integer load patterns to
5123         set it, as appropriate.
5124         (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
5125         (rest): Add UltraSPARC3 scheduling description.
5126         * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
5127         (PROCESSOR_ULTRASPARC3): New.
5128         ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
5129         ({ASM,CPP}_CPU_SPEC): Likewise.
5130         (REGISTER_MOVE_COST): Likewise.
5131         (RTX_COSTS): Likewise.
5132         * config/sparc/sparc.c (sparc_override_options,
5133         sparc_initialize_trampoline, sparc64_initialize_trampoline,
5134         sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
5135         sparc_issue_rate): Likewise.
5136         * config/sparc/sol2.h: Likewise.
5137         * config/sparc/sol2-sld-64.h: Likewise.
5138         * config/sparc/linux64.h: Likewise.
5139
5140         2002-03-22  Vladimir Makarov  <vmakarov@redhat.com>
5141
5142         * doc/md.texi: Add comments about usage the latency time for the
5143         different dependencies and about case when two or more conditions
5144         in different define_insn_reservations returns TRUE for an insn.
5145
5146         * doc/md.texi: Add reference for automaton based pipeline
5147         description.
5148
5149         2002-03-04  Vladimir Makarov  <vmakarov@redhat.com>
5150
5151         * doc/passes.texi: Add missed information about genattrtab.
5152
5153         2002-03-01  Vladimir Makarov  <vmakarov@redhat.com>
5154
5155         * genautomata.c (output_automata_list_transition_code): Check
5156         automata_list on NULL.
5157
5158         2002-02-28  Vladimir Makarov  <vmakarov@redhat.com>
5159
5160         * genautomata.c (output_insn_code_cases,
5161         output_automata_list_min_issue_delay_code,
5162         output_automata_list_transition_code,
5163         output_automata_list_state_alts_code): Comment the functions.
5164
5165         2002-02-22  Vladimir Makarov  <vmakarov@redhat.com>
5166
5167         * genautomata.c (automata_list_el_t): New typedef.
5168         (get_free_automata_list_el,free_automata_list_el,
5169         free_automata_list, automata_list_hash, automata_list_eq_p,
5170         initiate_automata_lists, automata_list_start, automata_list_add,
5171         automata_list_finish, finish_automata_lists,
5172         output_insn_code_cases, output_automata_list_min_issue_delay_code,
5173         output_automata_list_transition_code,
5174         output_automata_list_state_alts_code, add_automaton_state,
5175         form_important_insn_automata_lists): New functions and prototypes.
5176         (insn_reserv_decl): Add members important_automata_list and
5177         processed_p.
5178         (ainsn): Add members important_p.
5179         (automata_list_el): New structure.
5180         (first_free_automata_list_el, current_automata_list,
5181         automata_list_table): New global variables.
5182         (create_ainsns): Initiate member important_p.
5183         (output_internal_min_issue_delay_func): Generate the switch and
5184         call output_insn_code_cases.
5185         (output_internal_trans_func, output_internal_state_alts_func):
5186         Ditto.
5187         (generate): Call initiate_automata_lists.
5188         (automaton_states): New global variable.
5189         (expand_automata): Call form_important_insn_automata_lists.
5190         (write_automata): Call finish_automata_lists.
5191
5192         2002-02-21  Vladimir Makarov  <vmakarov@redhat.com>
5193
5194         * genautomata.c (add_excls, add_presence_absence): Check that
5195         cpu units in the sets belong the same automaton.
5196
5197         * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
5198         about that cpu units in the sets belong the same automaton.
5199
5200         * doc/md.texi: Ditto.
5201
5202         2001-12-20  Naveen Sharma  <naveens@noida.hcltech.com>
5203                     Nitin Gupta  <niting@noida.hcltech.com>
5204
5205         * config/sh/sh.c (sh_use_dfa_interface): New function.
5206
5207         (sh_issue_rate): New Function.
5208         TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
5209         TARGET_SCHED_ISSUE_RATE: define.
5210
5211         * config/sh/sh.md: Add DFA based pipeline description for SH4.
5212
5213         (define_attr insn_class): New attribute used for DFA
5214          scheduling.
5215         (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
5216         (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
5217          cmpeqdi_t): Likewise.
5218
5219         (add,addc1,addsi3,subc,subc1,*subsi3_internal,
5220          negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
5221          ex_group.
5222         (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
5223
5224         2001-10-03  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
5225
5226         * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
5227         break.
5228
5229         2001-10-03  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
5230
5231         * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
5232         (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
5233         necessary.
5234         (output_dfa_start_func): Initiate new variable insn_codes_length,
5235         (write_automata): Output definition of the new variable.
5236
5237         2001-10-02  David S. Miller  <davem@redhat.com>
5238
5239         * haifa-sched.c (advance_one_cycle): New function.
5240         (schedule_block): Use it.
5241         (queue_to_ready): Use it, and also make sure to advance the DFA
5242         state on all stall cycles, not just those where insn_queue links
5243         are found.
5244
5245         2001-10-02  Richard Sandiford  <rsandifo@redhat.com>
5246
5247         * haifa-sched.c (max_issue): Remove last_p argument.  Only return
5248         non-zero if the highest-priority instruction could be scheduled.
5249         (choose_ready): Remove last argument from max_issue call.
5250
5251         2001-09-28  David S. Miller  <davem@redhat.com>
5252
5253         * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
5254         ultrasparc and 3 for other multi-issue sparcs.
5255
5256         2001-09-27  David S. Miller  <davem@redhat.com>
5257
5258         * config/sparc/sparc.md (cycle_display): New pattern.
5259         * config/sparc/sparc.c (sparc_cycle_display): New.
5260         (TARGET_SCHED_CYCLE_DISPLAY): Set it.
5261
5262         2001-09-25  David S. Miller  <davem@redhat.com>
5263
5264         Convert all of Sparc scheduling to DFA
5265         * config/sparc/sparc.md: Kill all define_function_unit
5266         directives and replace with DFA equivalent.
5267         * config/sparc/sparc.c (ultrasparc_adjust_cost,
5268         mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
5269         ultra_fpmode_conflict_exists, ultra_find_type,
5270         ultra_build_types_avail, ultra_flush_pipeline,
5271         ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
5272         ultrasparc_variable_issue, ultrasparc_sched_init,
5273         sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
5274         ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
5275         ultra_cur_hist, ultra_cycles_elapsed): Kill.
5276         (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
5277         ultrasparc_store_bypass_p): New.
5278         * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
5279         Declare.
5280
5281         2001-09-24  David S. Miller  <davem@redhat.com>
5282
5283         * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
5284         ready->vec[foo] not ready[foo].
5285
5286         2001-09-07  Vladimir Makarov  <vmakarov@redhat.com>
5287
5288         * doc/md.texi: Correct examples for define_insn_reservations
5289         `mult' and `div'.
5290
5291         2001-09-07  Vladimir Makarov  <vmakarov@redhat.com>
5292
5293         * genautomata.c (create_automata): Print message about creation of
5294         each automaton.
5295         (generate): Remove printing meease about creation of
5296         automata.
5297
5298         2001-09-05  David S. Miller  <davem@redhat.com>
5299
5300         * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
5301         * config/sparc/linux64.h: Likewise.
5302
5303         2001-08-31  Vladimir Makarov  <vmakarov@redhat.com>
5304
5305         * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
5306         schedule_block, sched_init, sched_finish): Add missed calls of
5307         use_dfa_pipeline_interface.
5308
5309         * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
5310         Ditto.
5311
5312         * sched-vis.c (get_visual_tbl_length): Ditto.
5313
5314         2001-08-27  Richard Henderson  <rth@redhat.com>
5315
5316         * genattr.c (main): Emit state_t even when not doing scheduling.
5317
5318         2001-08-27  Richard Henderson  <rth@redhat.com>
5319
5320         * genautomata.c (expand_automata): Always create a description.
5321
5322         2001-08-27  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
5323
5324         * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
5325         PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
5326         AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
5327         RTL constructions.
5328
5329         * genattr.c (main): New variable num_insn_reservations.  Increase
5330         it if there is DEFINE_INSN_RESERVATION.  Output automaton based
5331         pipeline hazard recognizer interface.
5332
5333         * genattrtab.h: New file.
5334
5335         * genattrtab.c: Include genattrtab.h.
5336         (attr_printf, check_attr_test, make_internal_attr,
5337         make_numeric_value): Move protypes into genattrtab.h.  Define them
5338         as external.
5339         (num_dfa_decls): New global variable.
5340         (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
5341         DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
5342         DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
5343         DEFINE_INSN_RESERVATION.  Call expand_automata and write_automata.
5344
5345         * genautomata.c: New file.
5346
5347         * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
5348
5349         * sched-int.h: (curr_state): Add the external definition for
5350         automaton pipeline interface.
5351         (haifa_insn_data): Add comments for members blockage and units.
5352
5353         * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
5354         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
5355         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
5356         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
5357         TARGET_SCHED_DFA_POST_CYCLE_INSN,
5358         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
5359         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
5360         macros.
5361         (TARGET_SCHED): Use the new macros.
5362
5363         * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
5364         dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
5365         first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
5366         dfa_bubble): New members in gcc_target.sched.
5367
5368         * haifa-sched.c (insert_schedule_bubbles_p): New variable.
5369         (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
5370         (insn_queue): Redefine it as pointer to array.
5371         (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
5372         INSN_QUEUE_SIZE.
5373         (max_insn_queue_index_macro_value): New variable.
5374         (curr_state, dfa_state_size, ready_try): New varaibles for
5375         automaton interface.
5376         (ready_element, ready_remove, max_issue): New function prototypes
5377         for automaton interface.
5378         (choose_ready): New function prototype.
5379         (insn_unit, blockage_range): Add comments.
5380         (unit_last_insn, unit_tick, unit_n_insns): Define them for case
5381         FUNCTION_UNITS_SIZE == 0.
5382         (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
5383         actual_hazard, potential_hazard): Add comments.
5384         (insn_cost): Use cost -1 as undefined value.  Remove
5385         LINK_COST_ZERO and LINK_COST_FREE.  Add new code for automaton
5386         pipeline interface.
5387         (ready_element, ready_remove): New functions for automaton
5388         interface.
5389         (schedule_insn): Add new code for automaton pipeline interface.
5390         (queue_to_ready): Add new code for automaton pipeline interface.
5391         Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
5392         (debug_ready_list): Print newline when the queue is empty.
5393         (max_issue): New function for automaton pipeline interface.
5394         (choose_ready): New function.
5395         (schedule_block): Add new code for automaton pipeline interface.
5396         Print ready list before scheduling each insn.
5397         (sched_init): Add new code for automaton pipeline interface.
5398         Initiate insn cost by -1.
5399         (sched_finish): Free the current automaton state and finalize
5400         automaton pipeline interface.
5401
5402         * sched-rgn.c: Include target.h.
5403         (init_ready_list, new_ready, debug_dependencies): Add new code for
5404         automaton pipeline interface.
5405
5406         * sched-vis.c: Include target.h.
5407         (get_visual_tbl_length): Add code for automaton interface.
5408         (target_units, print_block_visualization):  Add comments.
5409
5410         * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
5411         USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
5412         (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
5413         (getruntime.o, genautomata.o): New entries.
5414         (genattrtab.o): Add new dependency file genattrtab.h.
5415         (genattrtab): Add new dependencies.  Link it with `libm.a'.
5416         (getruntime.o, hashtab.o): New entries for canadian cross.
5417
5418         * doc/md.texi: Description of automaton based model.
5419
5420         * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
5421         Add comments.
5422         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
5423         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
5424         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
5425         TARGET_SCHED_DFA_POST_CYCLE_INSN,
5426         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
5427         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
5428         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
5429         hook descriptions.
5430         (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
5431         MAX_DFA_ISSUE_RATE): New macro descriptions.
5432
5433         * doc/contrib.texi: Add dfa based scheduler contribution.
5434
5435         * doc/gcc.texi: Add more information about genattrtab.
5436
5437 Mon Apr 29 17:19:10 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5438
5439         * reload1.c (eliminate_regs, case SUBREG): Fix typo in
5440         adjust_address_nv call.
5441
5442 2002-04-29  Janis Johnson  <janis187@us.ibm.com>
5443
5444         * doc/install.texi (Testing): Provide additional information, and
5445         a stronger encouragement, for running the testsuites.
5446
5447 2002-04-29  DJ Delorie  <dj@redhat.com>
5448
5449         * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
5450         given in upper case.
5451
5452 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5453
5454         * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
5455         Solaris 2 <widec.h> if missing.
5456         * fixinc/fixincl.x: Regenerate.
5457         * fixinc/tests/base/widec.h: New file.
5458
5459 2002-04-29  Nick Clifton  <nickc@cambridge.redhat.com>
5460
5461         * toplev.c (f_options): Add "profile" switch so that
5462         -fno-profile can be used to disable -p.
5463
5464 2002-04-29  Bernd Schmidt  <bernds@redhat.com>
5465
5466         * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
5467         UV2DImode.
5468         * tree.c (build_common_tree_nodes_2): Likewise.
5469         * tree.h (enum tree_index): Likewise.
5470         (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
5471
5472         * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
5473         entries.
5474         (init_mmx_sse_builtins): Initialize SSE2 builtins.
5475         (ix86_expand_builtin): Add support for SSE2 builtins.
5476         * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
5477         (VALID_SSE_REG_MODE): Use it.
5478         (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
5479         (enum ix86_builtins): Add SSE2 builtins.
5480         * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
5481         movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
5482         addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
5483         divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
5484         sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
5485         vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
5486         vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
5487         sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
5488         cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
5489         cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
5490         cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
5491         ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
5492         subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
5493         mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
5494         sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
5495         sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
5496         sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
5497         gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
5498         ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
5499         ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
5500         sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
5501         sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
5502         sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
5503         sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
5504         sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
5505         sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
5506         lfence_insn): New patterns.
5507         (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
5508         sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
5509
5510 Mon Apr 29 17:03:24 CEST 2002  Jan Hubicka  <jh@suse.cz>
5511
5512         * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
5513
5514 2002-04-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5515
5516         * doc/contrib.texi (Contributors): Add Paolo Carlini and
5517         Janis Johnson.
5518         Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
5519         Refer to Objective-C instead of ObjC, SPARC instead of sparc,
5520         and CPU instead of cpu.
5521
5522 Mon Apr 29 13:36:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
5523
5524         * toplev.c (flag_if_conversion, flag_if_conversion2): New static
5525         variables.
5526         (lang_independent_options): Add -fif-conversion, -fif-conversion2
5527         (rest_of_compilation): Do if conversion only when asked for.
5528         (parse_options_and_default_flags): Set new variables to 1 for -O1
5529         * invoke.texi (-fif-conversion, -fif-conversion2): Document.
5530
5531 Mon Apr 29 13:02:50 CEST 2002  Jan Hubicka  <jh@suse.cz>
5532
5533         * i386.c (dbx64_register_map): Fix typo.
5534
5535 Mon Apr 29 12:18:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
5536
5537         * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
5538         real_one_half, real_bb_freq_max): New static variables.
5539         (debug_profile_bbauxs): Kill.
5540         (process_note_predictions): Kill unused variable.
5541         (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
5542         volatile double.
5543         (propagate_freq): Use REAL_ARITHMETICS.
5544         (estimate_bb_frequencies): Likevise; init new static variables.
5545         * Makefile.in (predict.o): Add dependency on real.h
5546
5547 2002-04-28  David S. Miller  <davem@redhat.com>
5548
5549         PR target/6500
5550         * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
5551         64-bit TARGET_V9.  Do not use prefetch page, use prefetch for
5552         several {reads,writes} instead.
5553         * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
5554         Define.
5555
5556 2002-04-27  David S. Miller  <davem@redhat.com>
5557
5558         PR target/6494
5559         * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
5560         of the stack bias.
5561
5562         * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
5563         including signal.h and sys/ucontext.h, not needed.
5564
5565 2002-04-29  Hans-Peter Nilsson  <hp@bitrange.com>
5566
5567         * varasm.c (output_constant_def): Correct test for not calling
5568         ENCODE_SECTION_INFO for INTEGER_CST.
5569
5570 2002-04-29  Neil Booth  <neil@daikokuya.demon.co.uk>
5571
5572         * cppexp.c (lex): Move some code to _cpp_parse_expr, but
5573         keep most cases as function eval_token.
5574         (eval_token): New function.
5575         (_cpp_parse_expr): Read token here for improved diagnostics.
5576         Don't use op_as_text.  Detect bad ':' here.
5577         (reduce): Don't detect bad ':' here.
5578         (op_as_text): Remove.
5579         * cpphash.h (_cpp_test_assertion): Change prototype.
5580         * cpplib.c (_cpp_test_assertion): Change prototype.
5581
5582 2002-04-28  Richard Henderson  <rth@redhat.com>
5583
5584         PR c/5154
5585         * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
5586         (ggc_mark_rtx_children): New.
5587
5588 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
5589
5590         PR target/6496
5591         * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
5592         after call peepholes for UltraSPARC.
5593         (call + jump 64-bit peepholes): Remove.
5594
5595 2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5596
5597         PR c/6497
5598         * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
5599         result as temporary value.
5600
5601 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
5602
5603         PR c++/6396
5604         * toplev.c (rest_of_compilation): Only run regrename and copy
5605         propagation if optimizing.
5606
5607 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
5608
5609         PR optimization/6475
5610         * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
5611         register of REGNO_DECL (i).
5612         * Makefile.in (reload1.o): Add $(TREE_H).
5613
5614 2002-04-28  Neil Booth  <neil@daikokuya.demon.co.uk>
5615
5616         * cppexp.c (lex): Update to use state.skip_eval.
5617         (struct op): Remove prio and flags members.
5618         (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
5619         SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
5620         (LEFT_ASSOC): New macro.
5621         (optab): New table of operator priorities and flags.
5622         (SHIFT): Update.
5623         (_cpp_parse_expr): Clean up logic.  Return bool.  Use a
5624         malloc-ed parser stack.
5625         (reduce): New; reduce the operator stack.
5626         (_cpp_expand_op_stack): Expand the operator stack as necessary.
5627         * cpphash.h (struct op): Predeclare.
5628         (struct cpp_reader): New members op_stack, op_limit.
5629         (struct lexer_state): New member skip_eval.
5630         (_cpp_parse_expr): Update.
5631         (_cpp_expand_op_stack): New.
5632         * cpplib.c (do_if): Update.
5633         * cppinit.c (cpp_create_reader): Create op stack.
5634         (cpp_destroy): And destroy it.
5635         * cpplib.h (CPP_LAST_CPP_OP): Correct.
5636         (TTYPE_TABLE): Correct.
5637
5638 2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5639
5640         PR c/6343
5641         * c-decl.c (duplicate_decls): Call merge_weak.
5642         * c-pragma.c (apply_pragma_weak): Warn about misuse.
5643         * output.h (merge_weak): Prototype merge_weak.
5644         * varasm.c (merge_weak): New function.
5645         (declare_weak): Make sure we don't give an error on VAR_DECLs.
5646         Mark RTL with SYMBOL_REF_WEAK.
5647
5648 2002-04-27  Kurt Garloff <garloff@suse.de>
5649
5650         * tree-inline.c (inlinable_function_p): Improve heuristics
5651         by using a smoother function to cut down allowable inlinable size.
5652         * param.def: Add parameters max-inline-insns-single,
5653         max-inline-slope, min-inline-insns that determine the exact
5654         shape of the above function.
5655         * param.h: Likewise.
5656
5657 2002-04-26  Richard Henderson  <rth@redhat.com>
5658
5659         * c-parse.in (malloced_yyss, malloced_yyvs): New.
5660         (yyoverflow): Re-add.  Set them.
5661         (free_parser_stacks): New.
5662         * c-common.h: Declare it.
5663         * c-lex.c (c_common_parse_file): Call it.
5664
5665 2002-04-26  Richard Henderson  <rth@redhat.com>
5666
5667         * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
5668         for fallthru search.
5669
5670 2002-04-26  Eric Christopher  <echristo@redhat.com>
5671
5672         PR optimization/3700
5673         * config/mips/mips.c (mips_issue_rate): Define.  New function.
5674         (TARGET_SCHED_ISSUE_RATE): Use.
5675
5676 2002-04-25  David S. Miller  <davem@redhat.com>
5677
5678         PR target/6422
5679         * reorg.c (optimize_skip): Do not allow exception causing
5680         instructions to be considered for delay slots.
5681         (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
5682         (relax_delay_slots): Do not try to consider exception causing
5683         instructions as redundant.
5684
5685 2002-04-26  Richard Henderson  <rth@redhat.com>
5686
5687         PR c/5225
5688         * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
5689
5690 2002-04-26  Mark Mitchell  <mark@codesourcery.com>
5691
5692         PR bootstrap/6445
5693         * config/i386/i386.md (untyped_call): Return the value in a float
5694         register if TARGET_FLOAT_RETURNS_IN_80387, not just if
5695         TARGET_80387.
5696
5697 2002-04-26  Alexandre Oliva  <aoliva@redhat.com>
5698
5699         * tree.c (tree_int_cst_lt): Compare constants whose types differ
5700         in unsigned-ness correctly.
5701
5702 2002-04-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5703
5704         * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
5705         portable runtime model.
5706
5707 2002-04-26  Richard Henderson  <rth@redhat.com>
5708
5709         * c-parse.in (yyoverflow): Revert.
5710
5711 2002-04-26  David Edelsohn  <edelsohn@gnu.org>
5712             Richard Henderson  <rth@redhat.com>
5713
5714         * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
5715         result as temporary value.
5716
5717 2002-04-26  Richard Henderson  <rth@redhat.com>
5718
5719         PR c/3581
5720         * c-common.c (fix_string_type): Split out of ...
5721         (combine_strings): ... here.  Take a varray, not a tree list.
5722         (c_expand_builtin_printf): Use fix_string_type.
5723         * c-common.h: Update decls.
5724         * c-parse.in (string): Remove.  Update all uses to use STRING
5725         instead, and not call combine_strings.
5726         (yylexstring): New.
5727         (_yylex): Use it.
5728         * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
5729         (build_asm_stmt): Likewise.
5730         * objc/objc-act.c (my_build_string): Use fix_string_type.
5731         (build_objc_string_object): Build varray for combine_strings.
5732
5733 2002-04-26  Bo Thorsen  <bo@suse.co.uk>
5734
5735         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
5736         x86-64.
5737
5738 2002-04-26  Neil Booth  <neil@daikokuya.demon.co.uk>
5739
5740         * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
5741         (HAVE_NO_R_OPERAND): Remove.
5742         (HAVE_VALUE): Remove.
5743         (op_to_prio): Update.
5744         (UNARY): Don't alter flags.
5745         (_cpp_parse_expr): want_value used to indicate whether
5746         a number or unary operator is expected next.  Distinguish
5747         unary and binary +/-.
5748         (op_as_text): Update for unary operators.
5749
5750 2002-04-25  Richard Henderson  <rth@redhat.com>
5751
5752         PR c/2161
5753         * c-parse.in (yyoverflow): New.
5754
5755 2002-04-25  Richard Henderson  <rth@redhat.com>
5756
5757         PR c/2098
5758         * c-common.c (shorten_compare): Simplfy conditions leading to
5759         the generation of a warning.
5760
5761 2002-04-25  Richard Henderson  <rth@redhat.com>
5762
5763         PR c/2035
5764         * expmed.c (extract_bit_field): Fall through to generic code rather
5765         than aborting on subreg special case.
5766
5767 2002-04-25  David S. Miller  <davem@redhat.com>
5768
5769         * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
5770         for DECL being NULL.
5771
5772 2002-04-25  Steve Christiansen  <smc@us.ibm.com>
5773
5774         * doc/md.texi (Machine Constraints): Add IA-64 constraints.
5775
5776 2002-04-25  Eric Botcazou  <ebotcazou@multimania.com>
5777
5778         * c-decl.c (grokdeclarator): Remove outdated ??? note
5779         on invalid declaration of flexible array members.
5780
5781 2002-04-25  Richard Henderson  <rth@redhat.com>
5782
5783         * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
5784
5785 2002-04-25  Ulrich Weigand  <uweigand@de.ibm.com>
5786
5787         * config/s390/s390.c (s390_emit_epilogue): Always restore registers
5788         needed by the compiler, even if they are used as global regs.
5789
5790 2002-04-25  Matt Hiller  <hiller@redhat.com>
5791
5792         * mips.c (mips_class_max_nregs, mips_register_move_cost): New
5793         functions.
5794         * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
5795         of the corresponding functions.
5796         * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
5797         New prototypes.
5798
5799 2002-04-25  Matt Hiller  <hiller@redhat.com>
5800
5801         * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
5802
5803         (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
5804         (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
5805         registers, adjust comment accordingly.
5806         (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
5807         reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
5808         DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
5809         for coprocessor registers.
5810         (ADDITIONAL_REGISTER_NAMES): Include
5811         ALL_COP_ADDITIONAL_REGISTER_NAMES.
5812
5813         (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
5814         COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
5815         COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
5816         COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
5817         COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
5818
5819         (mips_char_to_class): Adjust comment to include coprocessor
5820         constraint letters.
5821
5822         * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
5823         New functions.
5824         (mips_reg_names, mips_regno_to_class): Include coprocessor
5825         information.
5826         (mips_sw_reg_names): Ditto, make non-static.
5827         (mips_move_1word): Handle moves to and from coprocessor registers.
5828         (mips_move_2words): Handle moves to and from coprocessor
5829         registers.
5830         (mips_class_max_nregs, mips_register_move_cost): Handle
5831         coprocessor register classes.
5832         (override_options): Initialize mips_char_to_class and
5833         mips_hard_regno_mode_ok properly for coprocessor registers.
5834
5835         * config/mips/mips.md (movdi_internal, movdi_internal2,
5836         movsi_internal1, movsi_internal2): Add constraint-sets for
5837         coprocessor registers.
5838         * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
5839         * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
5840         isn't mips.
5841         * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
5842         * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
5843         isn't mips.
5844         * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
5845         * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
5846         isn't mips.
5847         * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
5848         * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
5849         isn't mips.
5850
5851         * doc/tm.texi: Document feature.
5852
5853 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
5854
5855         * integrate.c (function_attribute_inlinable_p): Simplify.
5856         Check the table pointer is not NULL.
5857
5858 2002-04-25  Steven Bosscher  <S.Bosscher@student.tudelft.nl>
5859
5860         * doc/c-tree.texi: Fix typo in introduction.
5861
5862 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
5863
5864         * c-common.h (c_common_parse_file): Update.
5865         * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
5866         * c-lex.c (YYDEBUG): Get from c-lex.h.
5867         (c_common_parse_file): Update.
5868         * c-lex.h (YYDEBUG, yydebug): New.
5869         * c-parse.in (YYDEBUG): Get from c-lex.h.
5870         (c_set_yydebug): Remove.
5871         * c-tree.h (c_set_yydebug): Remove.
5872         * langhooks-def.h (lhd_do_nothing_i): New.
5873         (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
5874         (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
5875         * langhooks.c  (lhd_do_nothing_i): New.
5876         (lhd_set_yydebug): Remove.
5877         * langhooks.h (struct lang_hooks): Update.
5878         * toplev.c (set_yydebug): New.
5879         (compile_file): Update call to parse_file hook.
5880         (decode_d_option): Update.
5881 objc:
5882         * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
5883
5884 Wed Apr 24 23:45:37 2002  J"orn Rennecke <joern.rennecke@superh.com>
5885
5886         * loop.c (load_mems): Don't change the interface of called functions.
5887
5888         * calls.c (expand_call): Take current_function_pretend_args_size
5889         into account when setting argblock for sibcalls.
5890
5891 2002-04-24  Matt Hiller  <hiller@redhat.com>
5892
5893         * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
5894         * c-lex.c: Ditto.
5895
5896         * cpplex.c (skip_line_comment): Process comment one multibyte
5897         character at a time rather than one char at a time, if
5898         appropriate.
5899         (parse_string): Process string one multibyte character at a time
5900         rather than one char at a time, if appropriate.
5901         * c-lex.c (lex_string): Lex and copy multibyte strings
5902         appropriately.
5903         * cpplib.h (cppchar_t): Change to unsigned.
5904
5905 2002-04-24  Richard Henderson  <rth@redhat.com>
5906
5907         PR c/3467
5908         * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
5909         for c99.
5910
5911 Wed Apr 24 21:51:54 2002  J"orn Rennecke <joern.rennecke@superh.com>
5912
5913         * sh.c (sh_va_arg): If argument was passed by reference,
5914         dereference the pointer.
5915
5916         * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
5917
5918         * sh.md (divsi3_i4_media): Use match_operand for input values
5919         rather than hard registers.
5920         (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
5921         unnecessarily through hard registers.  Keep copies of pseudo
5922         registers outside of the libcall sequence.
5923
5924         * sh.md (casesi_shift_media): Add modes.
5925
5926         * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
5927         values in memory.
5928
5929 2002-04-24  Neil Booth  <neil@daikokuya.demon.co.uk>
5930
5931         * attribs.c (c_common_attribute_table): Move table and handlers
5932         to c-common.c.
5933         (format_attribute_table, lang_attribute_table,
5934         lang_attribute_common): Remove.
5935         (init_attributes): Replace NULL pointers with pointers to the
5936         empty table.
5937         (handle_packed_attribute, handle_nocommon_attribute,
5938         handle_common_attribute, handle_noreturn_attribute,
5939         handle_noinline_attribute, handle_always_inline_attribute,
5940         handle_used_attribute, handle_unused_attribute,
5941         handle_const_attribute, handle_transparent_union_attribute,
5942         handle_constructor_attribute, handle_destructor_attribute,
5943         handle_mode_attribute, handle_section_attribute,
5944         handle_aligned_attribute, handle_weak_attribute,
5945         handle_alias_attribute, handle_visibility_attribute,
5946         handle_no_instrument_function_attribute, handle_malloc_attribute,
5947         handle_no_limit_stack_attribute, handle_pure_attribute,
5948         handle_deprecated_attribute, handle_vector_size_attribute,
5949         vector_size_helper): Move to c-common.c.
5950         * c-common.c (c_common_attribute_table,
5951         handle_packed_attribute, handle_nocommon_attribute,
5952         handle_common_attribute, handle_noreturn_attribute,
5953         handle_noinline_attribute, handle_always_inline_attribute,
5954         handle_used_attribute, handle_unused_attribute,
5955         handle_const_attribute, handle_transparent_union_attribute,
5956         handle_constructor_attribute, handle_destructor_attribute,
5957         handle_mode_attribute, handle_section_attribute,
5958         handle_aligned_attribute, handle_weak_attribute,
5959         handle_alias_attribute, handle_visibility_attribute,
5960         handle_no_instrument_function_attribute, handle_malloc_attribute,
5961         handle_no_limit_stack_attribute, handle_pure_attribute,
5962         handle_deprecated_attribute, handle_vector_size_attribute,
5963         vector_size_helper): Move from attribs.c.
5964         * c-common.h (c_common_attribute_table,
5965         c_common_format_attribute_table): New.
5966         * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
5967         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
5968         * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
5969         LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
5970         (LANG_HOOKS_INITIALIZER): Update.
5971         * langhooks.h (struct lang_hooks): 3 new attribute hooks.
5972         * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
5973         * target.h: Update comment.
5974         * tree.c (default_target_attribute_table): Remove.
5975         * tree.h (default_target_attribute_table, format_attribute_table,
5976         lang_attribute_table, lang_attribute_common): Remove.
5977 objc:
5978         * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
5979         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
5980
5981 2002-04-24  Jason Merrill  <jason@redhat.com>
5982
5983         * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
5984         * dwarf2out.c (dwarf_attr_name): Support it.
5985         (gen_array_type_die): Emit it.
5986         (lookup_type_die): No special handling for VECTOR_TYPE.
5987         (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
5988
5989 2002-04-24  Richard Henderson  <rth@redhat.com>
5990
5991         * config/mips/mips.md (movdi_usd): Renumber.
5992
5993 2002-04-24  David S. Miller  <davem@redhat.com>
5994
5995         PR target/6420
5996         * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
5997         32-bit Sparc and current_function_returns_struct is true.
5998
5999 Wed Apr 24 13:48:25 CEST 2002  Jan Hubicka  <jh@suse.cz>
6000
6001         * loop.c (canonicalize_condition): Use gen_int_mode.
6002
6003 2002-04-24  Aldy Hernandez  <aldyh@redhat.com>
6004
6005         * config/rs6000/altivec.h: Cleanup file.  Add non individual
6006         variants.
6007         (vec_vaddubm): New.
6008         (vec_vadduhm): New.
6009         (vec_vadduwm): New.
6010         (vec_vaddfp): New.
6011         (vec_vaddcuw): New.
6012         (vec_vaddubs): New.
6013         (vec_vaddsbs): New.
6014         (vec_vadduhs): New.
6015         (vec_vadduws): New.
6016         (vec_vaddsws): New.
6017         (vec_vand): New.
6018         (vec_vandc): New.
6019         (vec_vavgub): New.
6020         (vec_vavgsb): New.
6021         (vec_vavguh): New.
6022         (vec_vavgsh): New.
6023         (vec_vavguw): New.
6024         (vec_vavgsw): New.
6025         (vec_vrfip): New.
6026         (vec_vcmpbfp): New.
6027         (vec_vcmpequb): New.
6028         (vec_vcmpequh): New.
6029         (vec_vcmpequw): New.
6030         (vec_vcmpeqfp): New.
6031         (vec_vcmpgefp): New.
6032         (vec_vcmpgtub): New.
6033         (vec_vcmpgtsb): New.
6034         (vec_vcmpgtuh): New.
6035         (vec_vcmpgtsh): New.
6036         (vec_vcmpgtuw): New.
6037         (vec_vcmpgtsw): New.
6038         (vec_vcmpgtfp): New.
6039         (vec_vcmpgefp): New.
6040         (vec_vcfux): New.
6041         (vec_vcfsx): New.
6042         (vec_vctsxs): New.
6043         (vec_vctuxs): New.
6044         (vec_vexptefp): New.
6045         (vec_vrfim): New.
6046         (vec_lvx): New.
6047         (vec_lvebx): New.
6048         (vec_lvehx): New.
6049         (vec_lde): Add vector float variant.
6050         (vec_lvewx): New.
6051         (vec_lvxl): New.
6052         (vec_vlogefp): New.
6053         (vec_vmaddfp): New.
6054         (vec_vmhaddshs): New.
6055         (vec_vmaxub): New.
6056         (vec_vmaxsb): New.
6057         (vec_vmaxuh): New.
6058         (vec_vmaxsh): New.
6059         (vec_vmaxuw): New.
6060         (vec_vmaxsw): New.
6061         (vec_vmaxsw): New.
6062         (vec_vmaxfp): New.
6063         (vec_vmrghb): New.
6064         (vec_vmrghh): New.
6065         (vec_vmrghw): New.
6066         (vec_vmrglb): New.
6067         (vec_vmrglh): New.
6068         (vec_vmrglw): New.
6069         (vec_vminub): New.
6070         (vec_vminsb): New.
6071         (vec_vminuh): New.
6072         (vec_vminsh): New.
6073         (vec_vminuw): New.
6074         (vec_vminsw): New.
6075         (vec_vminfp): New.
6076         (vec_vmladduhm): New.
6077         (vec_vmhraddshs): New.
6078         (vec_msumubm): New.
6079         (vec_vmsummbm): New.
6080         (vec_vmsumuhm): New.
6081         (vec_vmsumshm): New.
6082         (vec_vmsumuhs): New.
6083         (vec_vmsumshs): New.
6084         (vec_vmuleub): New.
6085         (vec_vmulesb): New.
6086         (vec_vmuleuh): New.
6087         (vec_vmulesh): New.
6088         (vec_vmuloub): New.
6089         (vec_mulosb): New.
6090         (vec_vmulouh): New.
6091         (vec_vmulosh): New.
6092         (vec_vnmsubfp): New.
6093         (vec_vnor): New.
6094         (vec_vor): New.
6095         (vec_vpkuhum): New.
6096         (vec_vpkuwum): New.
6097         (vec_vpkpx): New.
6098         (vec_vpkuhus): New.
6099         (vec_vpkshss): New.
6100         (vec_vpkuwus): New.
6101         (vec_vpkswss): New.
6102         (vec_vpkshus): New.
6103         (vec_vpkswus): New.
6104         (vec_vperm): New.
6105         (vec_vrefp): New.
6106         (vec_vrlb): New.
6107         (vec_vrlh): New.
6108         (vec_vrlw): New.
6109         (vec_vrfin): New.
6110         (vec_vrsqrtefp): New.
6111         (vec_vsel): New.
6112         (vec_vslb): New.
6113         (vec_vslh): New.
6114         (vec_vslw): New.
6115         (vec_vsldoi): New.
6116         (vec_vsl): New.
6117         (vec_vslo): New.
6118         (vec_vspltb): New.
6119         (vec_vsplth): New.
6120         (vec_vspltw): New.
6121         (vec_vspltisb): New.
6122         (vec_vspltish): New.
6123         (vec_vspltisw): New.
6124         (vec_vsrb): New.
6125         (vec_vsrh): New.
6126         (vec_vsrw): New.
6127         (vec_vsrab): New.
6128         (vec_vsrah): New.
6129         (vec_vsraw): New.
6130         (vec_vsr): New.
6131         (vec_vsro): New.
6132         (vec_stvx): New.
6133         (vec_stvebx): New.
6134         (vec_stvehx): New.
6135         (vec_stvewx): New.
6136         (vec_stvxl): New.
6137         (vec_vsububm): New.
6138         (vec_vsubuhm): New.
6139         (vec_vsubuwm): New.
6140         (vec_vsubfp): New.
6141         (vec_vsubcuw): New.
6142         (vec_vsububs): New.
6143         (vec_vsubsbs): New.
6144         (vec_vsubuhs): New.
6145         (vec_vsubshs): New.
6146         (vec_vsubuws): New.
6147         (vec_vsubsws): New.
6148         (vec_vsum4ubs): New.
6149         (vec_vsum4sbs): New.
6150         (vec_vsum4shs): New.
6151         (vec_vsum2sws): New.
6152         (vec_vsumsws): New.
6153         (vec_vrfiz): New.
6154         (vec_vupkhsb): New.
6155         (vec_vupkhpx): New.
6156         (vec_vupkhsh): New.
6157         (vec_vupklsb): New.
6158         (vec_vupklpx): New.
6159         (vec_vupklsh): New.
6160         (vec_vxor): New.
6161
6162 2002-04-23  Eric Botcazou  <ebotcazou@multimania.com>
6163
6164         PR c/5430
6165         * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
6166         added literals from substracted literals.
6167         (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
6168         (fold) [associate]: Preserve MINUS_EXPR if needed.
6169
6170 2002-04-23  Zack Weinberg  <zack@codesourcery.com>
6171
6172         * doc/install.texi: Clarify which versions of alpha*-dec-osf*
6173         are obsoleted.
6174
6175 2002-04-23  Tom Tromey  <tromey@redhat.com>
6176
6177         * gcc.c: Added --resource.  For PR java/6314.
6178
6179 2002-04-23  David O'Brien  <obrien@FreeBSD.org>
6180
6181         * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
6182         * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
6183         these libraries.
6184
6185 2002-04-23  David O'Brien  <obrien@FreeBSD.org>
6186
6187         * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
6188
6189 Tue Apr 23 14:24:25 CEST 2002  Jan Hubicka  <jh@suse.cz>
6190
6191         * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
6192         workaround.
6193         (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
6194         (ix86_expand_clrstr): Fix typo.
6195         * loop.c (gen_load_of_final_value): New.
6196         (loop_givs_rescan, strength_reduce, check_dbra_loop):
6197         Use it.
6198
6199 2002-04-23  Roger Sayle  <roger@eyesopen.com>
6200
6201         * builtins.c (builtin_memset_gen_str): New function.
6202         (expand_builtin_memset): Optimize the case of constant length, but
6203         unknown value.
6204
6205 2002-04-23  Aldy Hernandez  <aldyh@redhat.com>
6206
6207         * config/rs6000/altivec.h (vec_step): Remove extraneous
6208         parentheses.
6209         (vec_ctu): Cast return.
6210
6211 2002-04-23  Alan Modra  <amodra@bigpond.net.au>
6212
6213         PR target/6413
6214         * function.h: (struct function): Add profile_label_no field.
6215         (current_function_profile_label_no): Define.
6216         * function.c: (profile_label_no): New static var.
6217         (expand_function_start): Increment it, and copy to
6218         current_function_profile_label_no.
6219         * output.h (profile_label_no): Delete.
6220         * final.c (profile_label_no): Delete.
6221         (profile_function): Use current_function_profile_label_no.
6222         (final_end_function): Don't increment profile_label_no here.
6223         * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
6224         profile_label_no with current_function_profile_label_no.
6225         * config/pa/pa.c (current_function_number): Delete.
6226         (pa_output_function_prologue): Don't output profile label here.
6227         (hppa_profile_hook): Use label_no param rather than
6228         current_function_number.
6229         (FUNC_BEGIN_PROLOG_LABEL): Move to ..
6230         * config/pa/pa.h: .. here.
6231         (FUNCTION_PROFILER): Output profile label here.
6232
6233 2002-04-22  Eric Christopher  <echristo@redhat.com>
6234
6235         * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
6236         patch of 2002-04-09 due to binutils issues.
6237         (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
6238
6239 2002-04-22  Aldy Hernandez  <aldyh@redhat.com>
6240
6241         * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
6242         constraint to 'o' for m=r and r=m alternatives.
6243         ("*movv8hi_internal1"): Same.
6244         ("*movv16qi_internal1"): Same.
6245         ("*movv4sf_internal1"): Same.
6246
6247 2002-04-22  Janis Johnson  <janis187@us.ibm.com>
6248
6249         * rtl.h (RTX_FLAG): New macro.
6250         * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
6251         * final.c (alter_subreg): Use macro to access rtx flag.
6252         * integrate.c (copy_rtx_and_substitute): Use new access macro.
6253         * print-rtl.c (print_rtx): Use new access macro.
6254
6255         * cse.c (insert): Check rtx code before accessing flag.
6256
6257         * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
6258         ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
6259         (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
6260         convert_const_symbol_ref, make_canonical, make_alternative_compare,
6261         evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
6262         simplify_test_exp, optimize_attrs, simplify_by_exploding,
6263         find_and_mark_used_attributes, unmark_used_attributes,
6264         add_values_to_cover, simplify_with_current_value,
6265         simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
6266         copy_rtx_unchanging, main): Use new access macros.
6267
6268 2002-04-22  Tom Rix  <trix@redhat.com>
6269
6270         * expmed.c (init_expmed): Generate shifted constant once.
6271
6272 2002-04-22  Zack Weinberg  <zack@codesourcery.com>
6273
6274         * c-lex.c (lex_charconst): Call convert to get constant in
6275         proper type; don't just smash the type field.
6276         Fixes PR c/6300.
6277
6278         * config.gcc: Add list of obsolete configurations.  Disallow
6279         building these without --enable-obsolete.
6280         * doc/install.texi: Document --enable-obsolete and obsoletion
6281         policy.  Mention obsoletion of individual targets in
6282         appropriate places.
6283
6284 2002-04-22  Richard Henderson  <rth@redhat.com>
6285
6286         * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
6287
6288 2002-04-22  Mark Mitchell  <mark@codesourcery.com>
6289
6290         PR f/6138.
6291         * function.c (fixup_memory_subreg): Add promoted_mode parameter.
6292         (walk_fixup_memory_subreg): Likewise.
6293         (fixup_var_refs_insn): Adjust accordingly.
6294         (fixup_var_refs_1): Likewise.
6295
6296 2002-04-22  Ulrich Weigand  <uweigand@de.ibm.com>
6297
6298         * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
6299         LIBPATH_ARCH64_SPEC): Define.
6300         (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
6301         (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
6302         (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
6303         (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
6304
6305 2002-04-22      Joel Sherrill <joel@OARcorp.com>
6306
6307         * gthr-rtems.h: Correct prototypes to remove warnings.
6308
6309 2002-04-22  Richard Henderson  <rth@redhat.com>
6310
6311         PR c/6344
6312         * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
6313
6314         * gcse.c (free_insn_expr_list_list): New.
6315         (clear_modify_mem_tables): Use it.  Fix bit set usage.
6316         (canon_list_insert): Use EXPR_LISTs for expressions.
6317         (record_last_mem_set_info): Factor BLOCK_NUM (insn).
6318
6319 2002-04-22  Neil Booth  <neil@daikokuya.demon.co.uk>
6320
6321         * cppfiles.c (_cpp_pop_file_buffer): Return void.  Move
6322         file change and include code to _cpp_pop_buffer.
6323         * cpphash.h (struct pending_option): Predeclare.
6324         (struct cpp_reader): New member next_include_file.
6325         (_cpp_pop_file_buffer): Update.
6326         (_cpp_push_next_buffer): Update, rename.
6327         * cppinit.c (cpp_destroy): Free include chain and pending here.
6328         (cpp_finish_options): Simplify.
6329         (_cpp_push_next_buffer): Rename and clean up.
6330         * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
6331         Clarify.
6332         * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
6333
6334 2002-04-22  Aldy Hernandez  <aldyh@redhat.com>
6335
6336         * config/rs6000/altivec.h (vec_xor): Add variant for both args
6337         being vector signed int.
6338         (vec_andc): Same.
6339         (vec_xor): Add variant for both args being vector signed char.
6340         Remove redundant variant.
6341         (vec_andc): Same.
6342
6343 2002-04-21  David S. Miller  <davem@redhat.com>
6344
6345         * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
6346         compare mode in output RTL.
6347
6348 2002-04-22  David Edelsohn  <edelsohn@gnu.org>
6349
6350         * config/rs6000/rs6000.c (rs6000_override_options): Correct
6351         style and formatting of previous patch.
6352
6353 2002-04-22  Alan Modra  <amodra@bigpond.net.au>
6354
6355         * config/rs6000/rs6000.c (rs6000_override_options): Always clear
6356         flag_pic for ABI_AIX.
6357
6358 2002-04-21  Neil Booth  <neil@daikokuya.demon.co.uk>
6359
6360         * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
6361         * cppfiles.c (read_include_file): Similarly.
6362         * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
6363         uxstrdup ustrchr, ufputs): Similarly.
6364         * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
6365         * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
6366         cpp_ideq, parse_identifier, parse_number): Similarly.
6367         * cpplib.c (struct directive, dequote_string, D, run_directive,
6368         cpp_push_buffer): Similarly.
6369         * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
6370         _cpp_create_definition, check_trad_stringification,
6371         cpp_macro_definition): Similarly.
6372
6373 2002-04-21  Neil Booth  <neil@daikokuya.demon.co.uk>
6374
6375         * cppmacro.c (funlike_invocation_p): Don't step back
6376         over CPP_EOF.
6377
6378 2002-04-21  David Edelsohn  <edelsohn@gnu.org>
6379
6380         * config/rs6000/rs6000.c (output_profile_hook): Do not increment
6381         labelno.
6382
6383 2002-04-20  Joseph S. Myers  <jsm28@cam.ac.uk>
6384
6385         * doc/invoke.texi: Remove Chill references.
6386         * doc/gcc.texi: Update last modified date.
6387
6388 2002-04-20  Kazu Hirata  <kazu@hxi.com>
6389
6390         * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
6391         push and pop.  Replace add.l with add.w.
6392
6393 2002-04-20  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
6394
6395         * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
6396         multiply instructions for H8/300H case.
6397
6398 2002-04-20  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
6399
6400         * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
6401         Bum three instructions from each routine.
6402
6403 2002-04-20  Neil Booth  <neil@daikokuya.demon.co.uk>
6404
6405         * Makefile.in: Update.
6406         * decl.c (push_c_function_context, pop_c_function_context,
6407         mark_c_function_context): Rename for consistency.
6408         * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
6409         * c-tree.h (push_c_function_context, pop_c_function_context,
6410         mark_c_function_context): Rename for consistency.
6411         * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
6412         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
6413         * function.c (init_lang_status, save_lang_status,
6414         restore_lang_status, mark_lang_status, free_lang_status):
6415         Move to langhooks.h.
6416         (push_function_context_to, pop_function_context_from,
6417         free_after_parsing, prepare_function_start, ggc_mark_struct_function):
6418         Update.
6419         * function.h (init_lang_status, save_lang_status,
6420         restore_lang_status, mark_lang_status, free_lang_status):
6421         Move to langhooks.h.
6422         * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
6423         LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
6424         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
6425         LANG_HOOKS_FUNCTION_INITIALIZER): New.
6426         (LANG_HOOKS_INITIALIZER): Update.
6427         (lhd_do_nothing_f): New.
6428         * langhooks.h (struct lang_hooks_for_functions): New.
6429         (struct lang_hooks): New hooks.
6430         * langhooks.c (lhd_do_nothing_f): New.
6431 objc:
6432         * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
6433         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
6434
6435 2002-04-19  David S. Miller  <davem@redhat.com>
6436
6437         * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
6438         * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
6439
6440 2002-04-19  Jakub Jelinek  <jakub@redhat.com>
6441
6442         PR optimization/3756
6443         * config/i386/i386.c (ix86_expand_int_movcc): Optimize
6444         x = ((int) y < 0) ? cst1 : cst2.
6445
6446 2002-04-19  Jakub Jelinek  <jakub@redhat.com>
6447
6448         PR c/6358
6449         * function.c: Reapply patch for c/6358.
6450         (expand_function_end): Copy decl_rtl's mode, not
6451         current_function_return_rtx mode.
6452
6453 2002-04-19  Joel Sherrill  <joel@OARcorp.com>
6454
6455         * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
6456         targets.
6457
6458 2002-04-19  Tom Tromey  <tromey@redhat.com>
6459
6460         * doc/install.texi (Specific): Update status of Solaris 2.8.
6461         For PR libgcj/6158.
6462
6463 2002-04-19  Andreas Schwab  <schwab@suse.de>
6464
6465         * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
6466         (PUT_REAL): Restore old definition.
6467
6468 2002-04-19  Dan Nicolaescu  <dann@godzilla.ics.uci.edu>
6469             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6470
6471         * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
6472         binutils 2.11.2 and higher generate smaller binaries than Sun's
6473         native tools.
6474
6475 2002-04-19  Mark Mitchell  <mark@codesourcery.com>
6476
6477         PR c++/6352
6478         * toplev.c (rest_of_compilation): Do not defer functions for which
6479         TREE_SYMBOL_REFERENCED has already been set.
6480
6481 Fri Apr 19 15:53:03 CEST 2002  Jan Hubicka  <jh@suse.cz>
6482
6483         * i386.md (movsi_1, movhi_1): Force reload to use more flexible
6484         alternative.
6485
6486 2002-04-19  Neil Booth  <neil@daikokuya.demon.co.uk>
6487
6488         * builtins.c: Include langhooks.h.
6489         (lang_type_promotes_to): Remove.
6490         (expand_builtin_va_arg): Use new hook.
6491         * c-common.c (c_common_nodes_and_builtins): Don't set hook.
6492         (simple_type_promotes_to): Move to c-typeck.c.
6493         * c-common.h (simple_type_promotes_to): Remove.
6494         * c-decl.c (duplicate_decls, grokdeclarator): Update.
6495         * c-format.c: Include langhooks.h.
6496         (check_format_types): Update.
6497         * c-tree.h (c_type_promotes_to): New.
6498         * c-typeck.c (c_type_promotes_to): Move from c-common.c.
6499         (type_lists_compatible_p): Update.
6500         * langhooks-def.h (lhd_type_promotes_to): New.
6501         (LANG_HOOKS_TYPE_PROMOTES_TO): New.
6502         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
6503         * langhooks.c (lhd_type_promotes_to): New.
6504         * langhooks.h (struct lang_hooks_for_types): New hook.
6505         * tree.h (lang_type_promotes_to): Remove.
6506 objc:
6507         * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
6508
6509 2002-04-18  Richard Henderson  <rth@redhat.com>
6510
6511         * function.c: Revert patch for c/6358.
6512
6513 2002-04-18  Richard Henderson  <rth@redhat.com>
6514
6515         * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
6516         blocks.  Handle multiple references to the TRAP block.  Handle
6517         non-adjacent THEN and OTHER blocks.
6518
6519 2002-04-18  Richard Henderson  <rth@redhat.com>
6520
6521         * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
6522         crash with no type for by-mode libcalls.
6523
6524         * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
6525
6526 2002-04-18  Bob Wilson  <bob.wilson@acm.org>
6527
6528         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6529         __xtensa_nonlocal_goto): Use a syscall instructions to flush
6530         the register windows.
6531
6532 2002-04-18  Zack Weinberg  <zack@codesourcery.com>
6533
6534         * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
6535         appropriate.  Document need for extended precision even when
6536         MAX_LONG_DOUBLE_TYPE_SIZE is smaller.  Define REAL_WIDTH here,
6537         based on REAL_VALUE_TYPE_SIZE.  Use REAL_WIDTH to size
6538         REAL_VALUE_TYPE.  Define CONST_DOUBLE_FORMAT here.  Use #error
6539         instead of relying on later syntax error when REAL_WIDTH > 5.
6540         * real.c: Define NE based only on whether or not we have a
6541         full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
6542         Require sizeof(REAL_VALUE_TYPE) == 2*NE.  Unconditionally
6543         define GET_REAL and PUT_REAL as simple memcpy operations; no
6544         need to byteswap or round.
6545         Use #error instead of #ifdef-ing out the entire file, for
6546         prompt error detection.
6547
6548         * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
6549
6550 2002-04-18  David S. Miller  <davem@redhat.com>
6551
6552         * config/sparc/sparc.h (BRANCH_COST): Define.
6553
6554         * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
6555         does it.
6556
6557 2002-04-18  Hans-Peter Nilsson  <hp@bitrange.com>
6558
6559         * flow.c (update_life_info): Ignore return value of cleanup_cfg.
6560         Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
6561         propagate_block calls after relaxation loop using new variable
6562         stabilized_prop_flags.
6563
6564 2002-04-18  Richard Henderson  <rth@redhat.com>
6565
6566         * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
6567         (ia64_va_arg): Expect variable sized types by reference.
6568         * config/ia64/ia64-protos.h: Update.
6569         * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
6570         ia64_function_arg_pass_by_reference.
6571
6572 2002-04-18  Richard Henderson  <rth@redhat.com>
6573
6574         * ifcvt.c: Include except.h.
6575         (block_has_only_trap): Break out from find_cond_trap.
6576         (find_cond_trap): Use it.  Always delete the trap block.
6577         (merge_if_block): Allow then block null.  Be less simplistic about
6578         what insns can end a block.
6579         * Makefile.in (ifcvt.o): Depend on except.h.
6580
6581         * config/ia64/ia64.md (trap, conditional_trap): New.
6582
6583 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
6584
6585         PR c/6358
6586         * function.c (assign_parms): Assign hard current_function_return_rtx
6587         register here...
6588         (expand_function_end): ...not here.
6589
6590 2002-04-18  Neil Booth  <neil@daikokuya.demon.co.uk>
6591
6592         * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
6593         * c-tree.h (c_incomplete_type_error): New.
6594         * c-typeck.c (require_complete_type, build_component_ref): Update.
6595         (incomplete_type_error): Rename.
6596         * langhooks-def.h (lhd_incomplete_type_error): New.
6597         (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
6598         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
6599         * langhooks.c (lhd_incomplete_type_error): New.
6600         * langhooks.h (struct lang_hooks_for_types): New hook.
6601         * tree.c (size_in_bytes): Use new hook.
6602         * tree.h (incomplete_type_error): Remove.
6603 objc:
6604         * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
6605
6606 2002-04-18  Zack Weinberg  <zack@codesourcery.com>
6607
6608         * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
6609         TARGET_FLOAT_FORMAT blocks.
6610
6611 2002-04-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6612
6613         * doc/install.texi (Downloading the source): Do not mention Chill
6614         any longer, but mention Ada.
6615         (Configuration): Do not mention Chill any longer.
6616
6617 2002-04-18  Hans-Peter Nilsson  <hp@axis.com>
6618
6619         * config/cris/cris.h (TARGET_VERSION): Remove local version number.
6620
6621 Thu Apr 18 17:14:08 CEST 2002  Jan Hubicka  <jh@suse.cz>
6622
6623         * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
6624         in last patch.
6625
6626 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
6627
6628         * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
6629         instead of unsigned_type.
6630
6631 Thu Apr 18 15:49:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
6632
6633         * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
6634         * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
6635         later.
6636
6637 2002-04-18  Bernd Schmidt  <bernds@redhat.com>
6638
6639         * attribs.c (vector_type_node_list): New static variable.
6640         (handle_vector_size_attribute): Use it to avoid generating a
6641         new type node each time we are called.
6642
6643         * combine.c (subst): Avoid trying to make a vector mode subreg of
6644         an integer constant.
6645         (gen_lowpart_for_combine): Likewise.
6646
6647 2002-04-18  Roger Sayle  <roger@eyesopen.com>
6648             Jakub Jelinek  <jakub@redhat.com>
6649
6650         * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
6651         for integer constant c (if x has unsigned type or sign bit is not
6652         set in c).  This folds the zero/sign extension into the bit-wise and
6653         operation.
6654
6655 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
6656
6657         PR middle-end/6205
6658         * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
6659         otherwise xorps.
6660
6661 2002-04-17  NIIBE Yutaka  <gniibe@m17n.org>
6662
6663         * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
6664
6665 2002-04-17  Nick Clifton  <nickc@cambridge.redhat.com>
6666
6667         * gcc.c (read_specs): Detect and fail if an attempt is made to
6668         rename a spec string to an already existing string.
6669
6670 2002-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
6671
6672         * config/s390/s390.c (legitimize_pic_address): Do not generate
6673         illegal address constant without CONST.
6674
6675 2002-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6676
6677         * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
6678         * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
6679
6680 2002-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
6681
6682         PR optimization/6305
6683         * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
6684         to make sure previous reloads are taken into account.  Generate
6685         better code if one operand is an in-range immediate constant.
6686
6687 2002-04-16  Andrew Haley  <aph@cambridge.redhat.com>
6688
6689         * doc/install.texi (Building): libgcj requires GNU make.
6690
6691 2002-04-17  Jakub Jelinek  <jakub@redhat.com>
6692
6693         PR bootstrap/6315
6694         * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
6695         even if hard quad and register is not floating.
6696         (movtf reg<-mem split): Disallow splitting if hard quad and
6697         register is floating.
6698         (movtf mem<-reg split): Likewise.
6699         * config/sparc/sparc.c (fp_register_operand): New predicate.
6700         * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
6701
6702 2002-04-17  Zack Weinberg  <zack@codesourcery.com>
6703
6704         * Makefile.in (PROTO_OBJS): Add cppdefault.o.
6705         (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
6706         (unprotoize.o): Ditto.  Build from protoize.c.  Define
6707         UNPROTOIZE on command line.
6708         * protoize.c: Include cppdefault.h.  Delete include_defaults.
6709         (in_system_include_dir): Use cpp_include_defaults (defined in
6710         cppdefault.o).
6711         * unprotoize.c: Delete file.
6712
6713 2002-04-17  Aldy Hernandez  <aldyh@redhat.com>
6714
6715         * config/rs6000/altivec.h (vec_ld): Add array variants.
6716         (vec_lde): Same.
6717         (vec_ldl): Same.
6718
6719 2002-04-17  Alan Matsuoka  <alanm@redhat.com>
6720             Aldy Hernandez <aldyh@redhat.com>
6721
6722         * config/rs6000/altivec.h: Define __ALTIVEC__.
6723         (bool): New.
6724         (__pixel): New.
6725         (pixel): New.
6726         (vec_cfux): New.
6727         (vec_vmaddfp): New.
6728         (vec_vsldoi): New.
6729         Add parentheses to all macro arguments.
6730
6731 2002-04-16  Richard Henderson  <rth@redhat.com>
6732
6733         PR c++/6320
6734         * except.c (remove_eh_handler): Insert inner regions at beginning
6735         of sibling chain.  Refactor expressions.
6736
6737 2002-04-16  Richard Henderson  <rth@redhat.com>
6738
6739         * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
6740         * config/sparc/sol2-gas-bi.h: New file.
6741         * config.gcc (sparc*-solaris): Add it as needed.
6742         * configure.in (AS_SPARC64_FLAG): Remove check.
6743         * config.in, configure: Regenerate.
6744
6745         * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
6746
6747 2002-04-16  Richard Henderson  <rth@redhat.com>
6748
6749         * config/mips/mips.c (override_options): Don't override N32 for
6750         a 64-bit ISA.
6751
6752         PR 6202
6753         * config/mips/mips.md (can_delay): Split out of existing define_delays.
6754         (HILO_delay): Set can_delay false.
6755
6756 2002-04-16  Dale Johannesen <dalej@apple.com>
6757
6758         * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
6759         instruction addresses.
6760         (rs6000_output_function_epilogue): Likewise.
6761
6762 2002-04-16  Paolo Carlini  <pcarlini@unitus.it>
6763
6764         * c-parse.in (poplevel, compstmt_start,
6765         compstmt_primary_start): Add ending ';', in accordance
6766         with POSIX.
6767
6768 2002-04-16  Richard Henderson  <rth@redhat.com>
6769
6770         * config.gcc (sparcv9-solaris): Configure for 64-bit default.
6771         Adjust tm_file order to get TARGET_DEFAULT set properly.
6772         (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
6773         * doc/install.texi (sparc-solaris): Update.
6774
6775 2002-04-16  Dale Johannesen <dalej@apple.com>
6776
6777         * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
6778         comparison operands do not match each other or if modes of
6779         conditions do not match result.
6780
6781 2002-04-16  Hartmut Penner <hpenner@de.ibm.com>
6782
6783         PR target/6305
6784         * config/s390/s390.md (mulsidi3): Set both subregs of the
6785         multiword register.
6786
6787 2002-04-16  Aldy Hernandez  <aldyh@redhat.com>
6788
6789         * config/rs6000/altivec.h (vec_addc): Type check.
6790
6791 2002-04-16  Jakub Jelinek  <jakub@redhat.com>
6792
6793         PR middle-end/6279
6794         * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
6795
6796         * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
6797
6798 2002-04-15  Richard Henderson  <rth@redhat.com>
6799
6800         * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
6801         call_really_used_regs too.
6802
6803 2002-04-15  Richard Henderson  <rth@redhat.com>
6804
6805         * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
6806
6807 2002-04-15  David S. Miller  <davem@redhat.com>
6808
6809         * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
6810         as being CLOBBERed.
6811
6812 2002-04-16  Jakub Jelinek  <jakub@redhat.com>
6813
6814         PR c/6290
6815         * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
6816         CONST_VECTOR is { 0, ... 0 }.
6817
6818 2002-04-15  Loren J. Rittle  <ljrittle@acm.org>
6819
6820         * doc/install.texi (Installing GCC: Configuration): Clarify
6821         the only supported ways to configure gcc.
6822
6823 2002-04-15  Roland McGrath  <roland@frob.com>
6824
6825         * config.gcc (alpha*-*-gnu*): New target configuration.
6826         * config/alpha/gnu.h: New file for it.
6827         * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
6828
6829 2002-04-16  Mark Mitchell  <mark@codesourcery.com>
6830
6831         * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
6832         * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
6833         * tree.h (expand_start_stmt_expr): Update prototype.
6834         * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
6835         * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
6836         on the STMT_EXPR created for the inline function.
6837
6838 2002-04-15  Richard Henderson  <rth@redhat.com>
6839
6840         * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
6841         config/i386/linux-aout.h, config/i386/linux-oldld.h,
6842         config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
6843         config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
6844         config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
6845         config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
6846         config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
6847         Define __gnu_linux__, not gnu_linux.
6848         * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
6849
6850 2002-04-15  Mark Mitchell  <mark@codesourcery.com>
6851
6852         Remove Chill front end.
6853         * gcc.c (default_compilers): Remove Chill entries.
6854         * ch: Remove directory.
6855         * doc/frontends.texi: Remove information about Chill.
6856         * doc/sourcebuild.texi: Likewise.
6857         * doc/standards.texi: Likewise.
6858
6859 2002-04-15  Douglas B Rupp  <rupp@gnat.com>
6860
6861         * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
6862         (LONGLONG_STANDALONE): Define.
6863
6864 2002-04-15  David S. Miller  <davem@redhat.com>
6865
6866         * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
6867         Call emit_library_call with LCT_NORMAL.
6868         (sparc_initialize_trampoline): Use LCT_foo instead of
6869         magic constant in emit_library_call invocations.
6870         (sparc64_initialize_trampoline): Likewise.
6871         (sparc_profile_hook): Likewise.
6872         * config/sparc/sparc.md: Likewise.
6873
6874         * config/sparc/sparc.c (sparc_extra_constraint_check):
6875         Fix type of argument 'c'.
6876         * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
6877         Likewise.
6878
6879 2002-04-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6880
6881         * diagnostic.h (output_buffer_state): Redefine.
6882         (output_format_decoder): New macro.
6883         (output_prefixing_rule): Likewise.
6884         (output_line_cutoff): Likewise.
6885         (diagnostic_format_decoder): Adjust.
6886         (diagnostic_prefixing_rule): Likewise.
6887         (diagnostic_line_cutoff): Likewise.
6888         (diagnostic_state): Likewise.
6889         (diagnostic_kind_count): Likewise.
6890         (diagnostic_buffer): Now a macro.
6891
6892         * diagnostic.c (diagnostic_buffer): Remove definition.
6893         (output_is_line_wrapping): Adjust.
6894         (set_real_maximum_length): Likewise.
6895         (output_set_maximum_length): Likewise.
6896         (init_output_buffer): Likewise.
6897         (lhd_print_error_function): Likewise.
6898         (output_do_verbatim): Likewise.
6899
6900 2002-04-14  Neil Booth  <neil@daikokuya.demon.co.uk>
6901
6902         * cpperror.c (print_location): Don't print include chain
6903         if line == 0.
6904         (cpp_begin_message): Update to use DL_ macros.
6905         (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
6906         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
6907         cpp_notice, cpp_notice_from_errno): Remove.
6908         (cpp_error, cpp_error_with_line): Update to take a diagnostic
6909         level.
6910         (cpp_errno): New.
6911         * cppexp.c (CPP_ICE): Remove.
6912         (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
6913         lex, integer_overflow, _cpp_parse_expr): Update.
6914         * cppfiles.c (read_include_file, find_include_file,
6915         handle_missing_header, _cpp_read_file, remap_filename): Update.
6916         * cpphash.h (enum error_type): Remove.
6917         (_cpp_begin_message): Update.
6918         * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
6919         cpp_handle_option, cpp_post_options): Update.
6920         * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
6921         skip_whitespace, parse_identifier, parse_slow, parse_string,
6922         _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
6923         cpp_interpret_charconst): Update.
6924         * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
6925         lex_macro_node, do_undef, glue_header_name, parse_include,
6926         do_include_common, read_flag, do_line, do_linemarker, do_ident,
6927         cpp_register_pragma, do_pragma_once, do_pragma_system_header,
6928         do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
6929         do_elif, do_endif, parse_answer, parse_assertion, do_assert,
6930         _cpp_pop_buffer, do_diagnostic): Update.
6931         * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
6932         DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
6933         (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
6934         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
6935         cpp_notice, cpp_notice_from_errno): Remove.
6936         (cpp_error, cpp_error_with_line): Update to take a diagnostic
6937         level.
6938         (cpp_errno): New.
6939         * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
6940         collect_args, enter_macro_context, save_parameter, parse_params,
6941         _cpp_create_definition, check_trad_stringification,
6942         cpp_macro_definition): Update.
6943         * cppmain.c (cpp_preprocess_file): Update.
6944         * fix-header.c (read_scan_file): Update.
6945
6946 2002-04-14  Andreas Schwab  <schwab@suse.de>
6947
6948         * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
6949
6950 2002-04-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
6951
6952         * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
6953
6954 2002-04-13  Mark Mitchell  <mark@codesourcery.com>
6955
6956         * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
6957         not gnu_hurd.
6958
6959 2002-04-13  Hans-Peter Nilsson  <hp@axis.com>
6960
6961         * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
6962
6963 2002-04-13      Joel Sherrill <joel@OARcorp.com>
6964
6965         * config/sparc/t-elf: Enable v8 multilibs.  Impacts
6966         sparc-elf and sparc-rtems targets.
6967
6968 2002-04-13  Mark Mitchell  <mark@codesourcery.com>
6969
6970         * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
6971         defined, and __gnu_hurd__ wherever __GNU__ is defined.
6972         * arm/linux-elf.h: Likewise.
6973         * cris/aout.h: Likewise.
6974         * cris/linux.h: Likewise.
6975         * i370/linux.h: Likewise.
6976         * i386/gnu.h: Likewise.
6977         * i386/linux-aout.h: Likewise.
6978         * i386/linux-oldld.h: Likewise.
6979         * i386/linux.h: Likewise.
6980         * i386/linux64.h: Likewise.
6981         * ia64/linux.h: Likewise.
6982         * m68k/linux-aout.h: Likewise.
6983         * m68k/linux.h: Likewise.
6984         * mips/linux.h: Likewise.
6985         * pa/pa-linux.h: Likewise.
6986         * pj/linux.h: Likewise.
6987         * rs6000/sysv4.h: Likewise.
6988         * s390/linux.h: Likewise.
6989         * sh/linux.h: Likewise.
6990         * sparc/linux-aout.h: Likewise.
6991         * sparc/linux.h: Likewise.
6992         * sparc/linux64.h: Likewise.
6993         * xtensa/linux.h: Likewise.
6994
6995 2002-04-13  Richard Sandiford  <rsandifo@redhat.com>
6996
6997         * stmt.c (check_unique_operand_names): Expect operand names to
6998         be strings rather than identifiers.  Use simple_cst_equal to
6999         compare them.
7000         (resolve_operand_name_1): Make same identifier to string change here.
7001         * c-parse.in (asm_operand): Convert a named operand into a string.
7002         * cp/parse.y (asm_operand): Likewise.
7003
7004 2002-04-13  Andreas Schwab  <schwab@suse.de>
7005
7006         * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
7007
7008 2002-04-12  Mark Mitchell  <mark@codesourcery.com>
7009
7010         Revert these changes:
7011
7012         2002-04-06  Mark Mitchell  <mark@codesourcery.com>
7013
7014         PR c++/5571
7015         * stor-layout.c (layout_decl): Reset the RTL for the decl.
7016
7017 2002-04-12  Richard Henderson  <rth@redhat.com>
7018
7019         * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
7020         (sparc*-*-solaris): Clean up header files.
7021         * configure.in (AS_SPARC64_FLAG): Error out if can't find it
7022         and plan on generating 64-bit code.
7023         * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
7024         * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
7025         * config/sparc/sol2-sld-64.h: Rename ...
7026         * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
7027         for AS_SPARC64_FLAG not defined.
7028         * config/sparc/sol2-gld-bi.h: New.
7029         * config/sparc/sol2-sld.h: Remove.
7030         * config/sparc/sol26-sld.h: New.
7031         * config/sparc/sol2.h: Tidy comments.
7032         * doc/install.texi: Document sparc-solaris configury changes.
7033
7034 2002-04-12  Richard Henderson  <rth@redhat.com>
7035
7036         * recog.c (offsettable_address_p): Match the logic in adjust_address.
7037
7038         * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
7039         in 64-bit mode only.  Use only for 32-bit or MEDLOW.
7040
7041 2002-04-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7042
7043         * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
7044
7045 Fri Apr 12 15:42:59 2002  Jeffrey A Law  (law@redhat.com)
7046
7047         * pa.c (pa_can_combine_p): Call extract_insn before calling
7048         constrain_operands.
7049
7050 2002-04-12  Douglas B Rupp  <rupp@gnat.com>
7051
7052         * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
7053         (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
7054         (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
7055         (CPP_PREDEFINES): Handle __declspec.
7056         * config/i386/t-interix (USER_H): Remove.
7057
7058 2002-04-12  DJ Delorie  <dj@redhat.com>
7059
7060         * integrate.c (compare_blocks): Make comparisons safe for when
7061         sizeof(int) < sizeof(char *).
7062         (find_block): Likewise.
7063
7064 2002-04-12  Jan Hubicka  <jh@suse.cz>
7065             David Edelsohn  <edelsohn@gnu.org>
7066
7067         * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
7068         registers.
7069         (symbol_ref_operand): New.
7070         * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
7071         * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
7072
7073 2002-04-12  Andreas Schwab  <schwab@suse.de>
7074
7075         * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
7076         * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
7077         overrides the definition in config/svr4.h.
7078
7079 2002-04-12      Eric Norum <eric.norum@usask.ca>
7080
7081         * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
7082         config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
7083         config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
7084         config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
7085         config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
7086         config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
7087         config/v850/rtems.h (*-rtems*): Cleanup pass to move common
7088         definitions to config/rtems.h and make the targets more similar.
7089
7090 Fri Apr 12 08:06:54 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7091
7092         * expr.c (expand_assigment): Remove duplicate conversions #ifdef
7093         POINTERS_EXTEND_UNSIGNED.
7094         (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
7095         (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
7096
7097         * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
7098         not specified.
7099
7100 Fri Apr 12 12:11:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
7101
7102         * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
7103         depends on TARGET_SHMEDIA, not TARGET_SH5.
7104
7105 2002-04-12  Hans-Peter Nilsson  <hp@bitrange.com>
7106
7107         * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
7108         For paradoxical (subreg VAR), replace VAR, don't try the subreg.
7109
7110 Fri Apr 12 10:51:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
7111
7112         * sh.c (broken_move): Constant 0. / 1. load is OK if there is
7113         no r0 clobber.
7114
7115 2002-04-12  Andreas Schwab  <schwab@suse.de>
7116
7117         * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
7118
7119 2002-04-12  Richard Henderson  <rth@redhat.com>
7120
7121         PR bootstrap/4191
7122         * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
7123
7124         * flow.c (mark_used_reg): Manage reg_cond_dead properly for
7125         modes spanning multiple hard regs.
7126
7127         * recog.c (peephole2_optimize): Rebuild jump labels as needed.
7128
7129 2002-04-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7130
7131         * pa.c (pa_output_function_prologue): Don't accumulate the total
7132         number of code bytes when using TARGET_64BIT, or gas, SOM and not
7133         the portable runtime.
7134         (output_deferred_plabels): Handle 64bit plabels.
7135         (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
7136         generating pic code using the GAS assembler for object formats that
7137         are not SOM (ie., ELF32 and ELF64).
7138         (output_millicode_call): Check attribute type if attribute length is 28.
7139         Likewise use $PIC_pcrel$0.  Only call get_attr_length and
7140         dbr_sequence_length once.
7141         (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
7142         dbr_sequence_length once.
7143         * pa.h (TARGET_SOM): Define if not defined.
7144         * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
7145         with GAS and not SOM.
7146         (jump, call_internal_reg, call_value_internal_reg): Likewise.
7147         * som.h (OBJ_SOM): Rename to TARGET_SOM.  Undefine before defining.
7148
7149 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
7150
7151         * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
7152         (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
7153         (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
7154         DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
7155         elfos.h and dbxelf.h values are fine now.
7156         * config/i386/freebsd.h, config/alpha/freebsd.h
7157         (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
7158
7159 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
7160
7161         * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
7162         or set Acpu or Amachine.  Reformat.
7163         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
7164         define.
7165         (LINK_SPEC): Do not need to undef.
7166         * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
7167         * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
7168         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
7169         define.
7170         * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
7171         (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
7172         (LINK_SPEC): Do not need to undef.
7173         (DONT_USE_BUILTIN_SETJMP): Do not define.
7174         * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
7175         (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine.  Remove -Dia64.
7176         (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
7177         Remove trailing spaces.
7178         * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
7179         __ELF__, or set Acpu or Amachine.  Reformat.
7180         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
7181         define.
7182
7183 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
7184
7185         * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
7186         all other *-*-freebsd* targets.
7187
7188 2002-04-11  Richard Henderson  <rth@redhat.com>
7189
7190         * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
7191
7192 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
7193
7194         * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
7195         Include {cpu}/{cpu}.h thru tm_file.
7196         (alpha*-*-linux*ecoff): Remove target.
7197         * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
7198         (LINK_SPEC): Remove, is not OS independent.
7199         * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
7200         (LINK_SPEC): Do not need to #undef any longer.
7201         * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
7202         any longer.
7203         * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
7204         __ELF__.
7205         (LINK_SPEC): Moved here from alpha/elf.h.
7206         * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
7207         SUB_CPP_PREDEFINES.
7208         * config/alpha/linux-ecoff.h: Remove.
7209         * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
7210         (CPP_SPEC): Define _POSIX_SOURCE as needed.
7211         (CPP_SUBTARGET_SPEC): Do not define.
7212         (LINK_SPEC): Do not need to #undef any longer.
7213         * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
7214         * config/alpha/vms.h: Likewise.
7215
7216 2002-04-11  Richard Sandiford  <rsandifo@redhat.com>
7217
7218         * doc/extend.texi: Remove old claim that typedefs cannot have
7219         an alignment attribute.
7220
7221 2002-04-11  Jakub Jelinek  <jakub@redhat.com>
7222
7223         PR optimization/6177
7224         * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
7225         bitpos is 0 and bitsize CONCAT size.
7226
7227 2002-04-11  Jakub Jelinek  <jakub@redhat.com>
7228
7229         PR c/6223
7230         * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
7231
7232 2002-04-10  David O'Brien  <obrien@FreeBSD.org>
7233
7234         * config/alpha/freebsd.h: Minor reformatting.
7235         (CPP_SPEC): Define ELF and add cpp_subtarget.
7236         (ASM_SPEC): No longer needed.
7237
7238 2002-04-11  Richard Henderson  <rth@redhat.com>
7239
7240         * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
7241         (movdi_insn_sp32_v9): Likewise.  Only allow stx with aligned memory.
7242         (dimode mem/zero splitter): New.
7243
7244 2002-04-11  Hans-Peter Nilsson  <hp@axis.com>
7245
7246         * config/cris/cris.c (cris_override_options): Tweak error message
7247         for PIC not implemented.
7248
7249         * config/cris/cris.h: Tweak comments related to parameter-passing.
7250
7251         * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
7252
7253 2002-04-10  Richard Henderson  <rth@redhat.com>
7254
7255         * except.c (add_ehl_entry): Allow duplicates after landing pad
7256         creation.
7257
7258 2002-04-10  David Edelsohn  <edelsohn@gnu.org>
7259
7260         * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
7261
7262 2002-04-10  Toon Moene  <toon@moene.indiv.nluug.nl>
7263
7264         * c-decl.c (c_init_decl_processing): Move generation of
7265         decls for g77_integer_type_node and friends from here ...
7266         * c-common.c (c_common_nodes_and_builtins): ... to here.
7267
7268 2002-04-10  Ulrich Weigand  <uweigand@de.ibm.com>
7269
7270         * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
7271         is only used as frame pointer when frame_pointer_needed is true.
7272
7273 2002-04-10  Richard Earnshaw  <rearnsha@arm.com>
7274
7275         PR target/817
7276         * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
7277         for the fact that the pool entry uses two words.
7278         (movdf_hard_insn): Similarly.  Also, ADR instruction can span
7279         1k bytes.
7280         (movdf_soft_insn): Similarly.
7281         (movxf_hard_insn): Adjust neg_pool_range attribute to allow
7282         for the fact that the pool entry uses three words.
7283
7284 2002-04-10  Richard Sandiford  <rsandifo@redhat.com>
7285
7286         * config/mips/mips.c (mips_va_arg): When using the struct version
7287         of the EABI va_list, allow arguments in the register save area to
7288         take up less room than a stack argument.
7289
7290 2002-04-10  Richard Henderson  <rth@redhat.com>
7291
7292         * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
7293         if EXPAND_INITIALIZER.
7294
7295 2002-04-09  Richard Henderson  <rth@redhat.com>
7296
7297         * config/alpha/alpha.md (movdi_er_maybe_g): New.
7298         * config/alpha/alpha.c (alpha_expand_mov): Use it.
7299
7300 2002-04-10  Alan Modra  <amodra@bigpond.net.au>
7301
7302         PR optimization/6233
7303         * rtlanal.c (pure_call_p): New function.
7304         * rtl.h (pure_call_p): Declare.
7305         * loop.c (prescan_loop): Use it to set has_nonconst_call.
7306         * gcse.c (store_killed_in_insn): Use pure_call_p here too.
7307
7308 2002-04-09  Eric Christopher  <echristo@redhat.com>
7309
7310         * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
7311         information to .comm directive.
7312
7313 2002-04-09  Richard Henderson  <rth@redhat.com>
7314
7315         PR c/5078
7316         * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
7317
7318 2002-04-09  Richard Henderson  <rth@redhat.com>
7319
7320         * basic-block.h (flow_delete_block_noexpunge): Declare.
7321         (expunge_block_nocompact): Declare.
7322         * cfg.c (expunge_block_nocompact): Split out from ...
7323         (expunge_block): ... here.
7324         * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
7325         (flow_delete_block_noexpunge): Split out from ...
7326         (flow_delete_block): ... here.
7327         * cfgcleanup.c (delete_unreachable_blocks): Compact while
7328         removing dead blocks.
7329         * except.c (exception_handler_labels): Remove.
7330         (exception_handler_label_map): New.
7331         (struct eh_region): Add aka member.
7332         (mark_ehl_map_entry, mark_ehl_map, free_region): New.
7333         (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
7334         (for_each_eh_label, for_each_eh_label_1): New.
7335         (init_eh): Register exception_handler_label_map.
7336         (free_eh_status): Use free_region.
7337         (find_exception_handler_labels): Use the map, not the list.
7338         (remove_exception_handler_label): Likewise.
7339         (maybe_remove_eh_handler): Likewise.
7340         (remove_eh_handler): Use the region aka bitmap.
7341         * except.h (exception_handler_labels): Remove.
7342         (for_each_eh_label): Declare.
7343         * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
7344         * loop.c (invalidate_loops_containing_label): New.
7345         (find_and_verify_loops): Use it.  Use for_each_eh_label.
7346         * sched-rgn.c (is_cfg_nonregular): Use
7347         current_function_has_exception_handlers.
7348
7349 2002-04-09  Richard Henderson  <rth@redhat.com>
7350
7351         * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
7352         sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
7353         Do not return changed status.
7354         (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
7355         sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
7356         New functions that do return changed status.
7357         * sbitmap.h: Update decls.
7358         * gcse.c, lcm.c: Use _cg functions as needed.
7359
7360 Tue Apr  9 19:15:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
7361
7362         * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
7363         (sh64-*-elf*, sh-*-rtemself*): Likewise.
7364         * config/sh/embed_bb.c: New file.
7365         * config/sh/embed-elf.h: New file.
7366         * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
7367         if -m[12345]* option is given.  Don't use subtarget_cpp_ptr_spec.
7368         (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
7369         __PTRDIFF_TYPE__ .
7370         (SUBTARGET_CPP_PTR_SPEC): Don't define.
7371         (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
7372         Add subtarget_asm_endian_spec.
7373         (ASM_SPEC): Use subtarget_asm_endian_spec.
7374         (SUBTARGET_ASM_ENDIAN_SPEC): Define.
7375         (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
7376         (WCHAR_UNSIGNED): Define.
7377         (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
7378         (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
7379         (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
7380         Fix value.
7381         * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
7382         (sh_adjust_cost): Likewise.
7383         sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
7384         __PTRDIFF_TYPE__ .
7385         (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
7386         (WCHAR_TYPE_SIZE): Likewise.
7387         (ASM_SPEC): Use subtarget_asm_endian_spec.
7388         (SH_ELF_WCHAR_TYPE): #undef/ #define.
7389         (MAX_WCHAR_TYPE_SIZE): Don't #undef.
7390         * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
7391         (MAX_WCHAR_TYPE_SIZE): Don't #define .
7392         (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
7393         (USER_LABEL_PREFIX): Don't #undef /#define .
7394         (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
7395         * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
7396         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
7397         (ASM_SPEC): Likewise.
7398         (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
7399         (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
7400         * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
7401         (LIB2FUNCS_EXTRA): Define.
7402         * t-sh64 (LIB2FUNCS_EXTRA): Define.
7403         * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
7404         (LIB1ASMFUNCS_CACHE): Define.
7405         (LIB2FUNCS_EXTRA): Redefine empty.
7406
7407 2002-04-08  Richard Henderson  <rth@redhat.com>
7408
7409         * reorg.c (get_branch_condition): Use reversed_comparison_code.
7410
7411 2002-04-09  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7412
7413         * config/m68hc11/larith.asm (__map_data_section): Fix condition
7414         and optimize for size.
7415         (__do_global_ctors): Fix pointer comparison.
7416         (__do_global_dtors): Likewise.
7417
7418 2002-04-09  David S. Miller  <davem@redhat.com>
7419
7420         * config/sparc/sparc.c (sparc_extra_constraint_check): New
7421         function, implementing EXTRA_CONSTRAINTS.  For memory constraints,
7422         allow reloading pseudos.
7423         * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
7424         * config/sparc/sparc-protos.h: Declare it.
7425
7426         * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
7427         unsigned comparison warning.
7428         (output_restore_regs): Mark leaf_function as unused.
7429
7430 Tue Apr  9 09:35:45 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7431
7432         * expr.c (is_aligning_offset): New function.
7433         (expand_expr, case COMPONENT_EXPR): Call it.
7434
7435 2002-04-08  David S. Miller  <davem@redhat.com>
7436
7437         PR target/6082
7438         * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
7439
7440         Make init_priority work on Sparc when using GNU ld.
7441         * config/sparc/linux.h, config/sparc/linux64.h,
7442         config/sparc/netbsd-elf.h, config/sparc/freebsd.h
7443         (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
7444         * config/sparc/sol2-gld.h: New file to do the same.
7445         * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
7446         sparc/sol2-gld.h to tm_file.
7447
7448         PR optimization/4328
7449         * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
7450         * doc/md.texi: Document it.
7451         * config/sparc/sparc.md (movdi_insn_sp64_novis,
7452         movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
7453         movdf_insn_v9only_vis, movdf_insn_sp64_novis,
7454         movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
7455         * config/sparc/sparc.c (mem_min_alignment): Fix comment.
7456
7457 2002-04-08  Andreas Jaeger  <aj@suse.de>
7458
7459         * stmt.c (expand_asm_operands): Revert last patch from Richard
7460         Henderson.
7461
7462 2002-04-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7463
7464         * doc/contrib.texi (Contributors): Add John David Anglin and Loren
7465         J. Rittle (the latter also to Testers).  Update David O'Brien's entry.
7466
7467 2002-04-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7468
7469         * doc/contrib.texi (Contributors): Add David O'Brien.
7470
7471 2002-04-08  Alan Modra  <amodra@bigpond.net.au>
7472
7473         * configure.in (auto-build.h): Use target_alias and build_alias
7474         when running configure.
7475         (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
7476         (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
7477         * configure: Regenerate.
7478
7479 2002-04-07  David S. Miller  <davem@redhat.com>
7480
7481         * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
7482
7483 2002-04-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7484
7485         PR 5933
7486         * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
7487         generating 32-bit pic code.
7488
7489 2002-04-06  Jason Thorpe  <thorpej@wasabisystems.com>
7490
7491         * cppinit.c (cpp_create_reader): Initialize
7492         discard_comments_in_macro_exp.
7493         (COMMAND_LINE_OPTIONS): Add "-CC" option.
7494         (cpp_handle_option): Handle "-CC" option.
7495         * cpplex.c (save_comment): If saving a C++ comment in
7496         a directive, convert it to a C comment.
7497         (_cpp_lex_direct): Pass second comment start character to
7498         save_comment to indicate comment type.
7499         * cpplib.c (_cpp_handle_directive): If processing
7500         a "#define" directive and discard_comments_in_macro_exp
7501         is false,  re-enable saving of comments.
7502         (lex_macro_node): If discard_comments_in_macro_exp is false,
7503         discard any comments before the macro identifier.
7504         * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
7505         member.
7506         * cppmacro.c (cpp_get_token): If expanding a macro while
7507         processing a directive, discard any comments we might encounter.
7508         (parse_params): If discard_comments_in_macro_exp is false,
7509         ignore comments in the macro parameter list.
7510         * gcc.c (cpp_unique_options): Add "-CC" option.
7511         (option_map): Map "--comments-in-macros" to "-CC".
7512         * doc/cppopts.texi: Document "-CC" option.
7513         * f/lang-specs.h: Add "-CC" option.
7514         * testsuite/gcc.dg/cpp/maccom1.c: New test.
7515         * testsuite/gcc.dg/cpp/maccom2.c: New test.
7516         * testsuite/gcc.dg/cpp/maccom3.c: New test.
7517         * testsuite/gcc.dg/cpp/maccom4.c: New test.
7518         * testsuite/gcc.dg/cpp/maccom5.c: New test.
7519         * testsuite/gcc.dg/cpp/maccom6.c: New test.
7520
7521 2002-04-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7522
7523         PR middle-end/6180
7524         * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
7525
7526 2002-04-06  Mark Mitchell  <mark@codesourcery.com>
7527
7528         PR c++/5571
7529         * stor-layout.c (layout_decl): Reset the RTL for the decl.
7530
7531         PR opt/5120
7532         * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
7533         RTX_UNCHANGING_P for the functions arguments when a tail call
7534         is made.
7535
7536 2002-04-06  Jason Merrill  <jason@redhat.com>
7537
7538         * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
7539         (parse_options_and_default_flags): Set them appropriately.
7540         * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
7541
7542 2002-04-06  Hans-Peter Nilsson  <hp@bitrange.com>
7543
7544         * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
7545         here.
7546
7547         * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
7548         semicolon.
7549
7550         * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
7551         types come in by-reference.  Fix typo in comment.
7552
7553 2002-04-05  David S. Miller  <davem@redhat.com>
7554
7555         * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
7556         * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
7557         sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
7558         {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
7559
7560 2002-04-05  David S. Miller  <davem@redhat.com>
7561
7562         * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
7563         are not going to emit return instructions, emit at least a nop
7564         for the sake of sane backtraces.
7565
7566 2002-04-05  Richard Henderson  <rth@redhat.com>
7567
7568         * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
7569
7570 2002-04-05  Jakub Jeilnek  <jakub@redhat.com>
7571
7572         * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
7573
7574 2002-04-05  Alexandre Oliva  <aoliva@redhat.com>
7575
7576         * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
7577         ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
7578         ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
7579
7580 2002-04-05  Andreas Schwab  <schwab@suse.de>
7581
7582         * c-convert.c: Include c-common.h.
7583         * Makefile.in (c-convert.o): Updated.
7584
7585 2002-04-05  Jakub Jelinek  <jakub@redhat.com>
7586
7587         * mklibgcc.in: Use separate libgcc.map for each multilib.
7588         * Makefile.in (distclean): Don't remove libgcc.map here.
7589
7590 2002-04-05  Jakub Jelinek  <jakub@redhat.com>
7591
7592         * Makefile.in (s-mlib): Handle --disable-multilib by separate
7593         genmultilib invocation.
7594
7595 2002-04-04  Richard Sandiford  <rsandifo@redhat.com>
7596
7597         * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
7598         to avoid clash with Irix header file sys/ucontext.h.  Rename gp_regs
7599         to num_gprs for symmetry.
7600         * config/mips/mips.c: Adjust accordingly.
7601
7602 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
7603
7604         * c-common.c (truthvalue_conversion): Rename, update.
7605         * c-common.h (c_common_truthvalue_conversion): New.
7606         * c-convert.c (convert): Update.
7607         * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
7608         * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
7609         * c-typeck.c (build_binary_op, build_unary_op,
7610         build_conditional_expr): Update.
7611         * fold-const.c (constant_boolean_node, fold): Use langhook.
7612         * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
7613         * langhooks.h (struct lang_hooks): New hook.
7614         * stmt.c (expand_decl_cleanup): Use langhook.
7615         * tree.h (truthvalue_conversion): Remove.
7616 objc:
7617         * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
7618
7619 2002-04-05  Alan Modra  <amodra@bigpond.net.au>
7620
7621         * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
7622         Add rules to make null object file.
7623
7624 2002-04-04  Jim Blandy  <jimb@redhat.com>
7625
7626         * cppmacro.c (cpp_macro_definition): Do not emit spaces after
7627         macro formal parameter names.
7628
7629 2002-04-04  David S. Miller  <davem@redhat.com>
7630
7631         * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
7632
7633 2002-04-04  Richard Henderson  <rth@redhat.com>
7634
7635         PR middle-end/5099
7636         * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
7637         Support copies into and out of memory.  Don't accept allows_reg
7638         and allows_mem as gospel.
7639
7640 2002-04-04  Richard Henderson  <rth@redhat.com>
7641
7642         PR opt/6165
7643         * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
7644         (write_dependence_p): Likewise.
7645
7646 2002-04-04  Richard Henderson  <rth@redhat.com>
7647
7648         * predict.c (estimate_bb_frequencies): Do frequency calculation
7649         with a volatile temporary.
7650
7651 2002-04-04  Ulrich Weigand  <uweigand@de.ibm.com>
7652
7653         * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
7654
7655 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
7656
7657         PR c++/6119
7658         * final.c (final_start_function): Don't bump profile_label_no here...
7659         (final_end_function): ...but here.
7660
7661 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
7662
7663         * config/sparc/sparc.md (pic): New attribute.
7664         (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
7665         into stack slots.
7666         (split after do_builtin_setjmp_setup): New.
7667
7668 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
7669
7670         PR fortran/6106
7671         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
7672         change.
7673
7674 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
7675
7676         * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
7677         UNITS_PER_WORD for zero sized aggregates.
7678
7679 2002-04-03  David S. Miller  <davem@redhat.com>
7680
7681         * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
7682         one-character spec for this, just use %(link_gcc_c_sequence).
7683
7684 2002-04-03  David S. Miller  <davem@redhat.com>
7685
7686         * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
7687         handling.
7688
7689 2002-04-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7690
7691         * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
7692         (DWARF_FRAME_RETURN_COLUMN): Move.
7693         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
7694         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
7695         * pa.c (except.h, predict.h): Include.
7696         (FRP): Delete.
7697         (store_reg_modify, set_reg_plus_d): Revise prototypes.
7698         (output_ascii): Add cast.
7699         (store_reg_modify): Revise to add frame notes.
7700         (set_reg_plus_d): Likewise.
7701         (compute_frame_size): Include space for eh data registers in frame if
7702         the current function calls eh_return.
7703         (hppa_expand_prologue):  Ensure register %r2 is saved if the current
7704         function calls eh_return.  Save eh data registers if the current
7705         function calls eh_return.  Fix code to add frame notes.  Emit
7706         blockage to prevent insns with frame notes being scheduled in the
7707         delay slot of calls.
7708         (hppa_expand_epilogue): Restore eh data registers and do final stack
7709         adjustment if the current function calls eh_return.  Don't add frame
7710         notes.
7711         (output_call): Revise for change in length of call insn.  Don't do
7712         return pointer adjustment for an unconditional jump in the delay slot
7713         of a call when using frame notes.
7714         * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
7715         (EH_RETURN_HANDLER_RTX): Use saved value on stack.
7716         (ARG_POINTER_CFA_OFFSET): Define.
7717         * pa.md (return_external_pic): New pattern.
7718         (prologue): Correct formatting.  Use return_external_pic if current
7719         function calls eh_return.
7720         (call_internal_symref, call_value_internal_symref,
7721         sibcall_internal_symref, sibcall_value_internal_symref): Change default
7722         lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
7723         respectively.
7724         (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
7725
7726         * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
7727         list of targets to check using "nop" insn.
7728         * configure: Rebuilt.
7729
7730 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
7731
7732         * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
7733
7734 2002-04-03  David S. Miller  <davem@redhat.com>
7735
7736         * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
7737         library sequence passed to the linker.
7738         (LINK_COMMAND_SPEC): Use it.
7739         * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
7740         a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
7741         * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
7742
7743 2002-04-03  Jason Merrill  <jason@redhat.com>
7744
7745         * except.c (struct eh_status): Remove protect_list.
7746         (begin_protect_partials, end_protect_partials): Remove.
7747         (add_partial_entry): Remove.
7748         * except.h: Remove prototypes.
7749
7750         * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
7751         expand_decl_cleanup_eh.
7752
7753         PR c++/5636
7754         * tree.h (CLEANUP_EH_ONLY): New macro.
7755         * stmt.c (expand_decl_cleanup_eh): New fn.
7756         (expand_cleanups): Check CLEANUP_EH_ONLY.
7757         * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
7758         Use expand_decl_cleanup_eh.
7759         (expand_stmt): Adjust.
7760         * c-common.h: Adjust prototype.
7761
7762 2002-04-04  Hans-Peter Nilsson  <hp@axis.com>
7763
7764         * config/cris/cris.c (cris_target_asm_function_prologue): Cast
7765         uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
7766         (cris_target_asm_function_epilogue): Ditto.
7767         (cris_initial_frame_pointer_offset): Ditto.
7768         (cris_simple_epilogue): Ditto.
7769         (cris_expand_builtin_va_arg): Variable-size types come in
7770         by-reference.
7771
7772 2002-04-03  David S. Miller  <davem@redhat.com>
7773
7774         * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
7775         little-endian.
7776         (set_fast_math): Correct 'fsr' type.
7777
7778 2002-04-03  Richard Henderson  <rth@redhat.com>
7779
7780         PR opt/3569
7781         * langhooks.h (lang_hooks.decls.warn_unused_global): New.
7782         * toplev.c (check_global_declarations): Use it.
7783         * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
7784         (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
7785         (LANG_HOOKS_DECLS): Add it.
7786         * langhooks.c (lhd_warn_unused_global_decl): New.
7787         * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
7788         * c-objc-common.c (c_warn_unused_global_decl): New.
7789         * c-tree.h (c_warn_unused_global_decl): Declare.
7790         * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
7791
7792 2002-04-03  Neil Booth  <neil@daikokuya.demon.co.uk>
7793
7794         * langhooks-def.h (lhd_set_decl_assembler_name,
7795         LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
7796         (LANG_HOOKS_INITIALIZER): Update.
7797         * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
7798         * langhooks.h (struct lang_hooks): New hook.
7799         * tree.c (set_decl_assembler_name): Move to langhooks.c.
7800         (lang_set_decl_assembler_name): Remove.
7801         (init_obstacks): Don't set hook.
7802         (decl_assembler_name): New function.
7803         * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
7804         (decl_assembler_name): New.
7805         (lang_set_decl_assembler_name): Remove.
7806
7807 2002-04-03  Jakub Jelinek  <jakub@redhat.com>
7808
7809         * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
7810         works properly with .hidden symbols.
7811         * configure: Rebuilt.
7812         * config.in: Rebuilt.
7813         * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
7814         DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
7815         properly with .hidden symbols.
7816
7817 2002-04-03  Jakub Jelinek  <jakub@redhat.com>
7818
7819         PR middle-end/6102
7820         * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
7821         USE argument.
7822
7823 2002-04-03  Richard Henderson  <rth@redhat.com>
7824
7825         PR opt/4120
7826         * sched-rgn.c (sets_likely_spilled): New.
7827         (sets_likely_spilled_1): New.
7828         (add_branch_dependences): Use it.
7829
7830 2002-04-02  Richard Henderson  <rth@redhat.com>
7831
7832         PR opt/4311
7833         * loop.h (LOOP_FIRST_PASS): New.
7834         * loop.c (strength_reduce): Mind it when deciding to unroll.
7835         * toplev.c (rest_of_compilation): Set it.
7836
7837 2002-04-02  David S. Miller  <davem@redhat.com>
7838
7839         * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
7840         mems_ok_for_ldd_peep when the order of the loads being examined
7841         is reversed.
7842         * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
7843         existing comment to increase comprehension of this situation.
7844
7845 2002-04-02  Zack Weinberg  <zack@codesourcery.com>
7846
7847         * config/sh/sh.md: Don't use union real_extract.
7848
7849 2002-04-02  Richard Henderson  <rth@redhat.com>
7850
7851         * libgcc2.c (__bb_exit_func): Revert 03-31 change.
7852
7853 2002-04-02  David O'Brien  <obrien@FreeBSD.org>
7854
7855         * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
7856         i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
7857         i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
7858         i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
7859         i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
7860         i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
7861         i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
7862         i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
7863         i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
7864         i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
7865         i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
7866         i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
7867         i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
7868         i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
7869         Include as many configury headers via tm_file as possible.  This
7870         includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
7871         * config/openbsd-oldgas.h: New file.
7872         * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
7873         config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
7874         config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
7875         config/i386/i386-coff.h, config/i386/i386-interix.h,
7876         config/i386/iscdbx.h, config/i386/linux-aout.h,
7877         config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
7878         config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
7879         config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
7880         config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
7881         config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
7882         config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
7883         config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
7884         config/i386/vxi386.h: Do not directly include configury headers.
7885         * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
7886         Directly include configury headers that are no longer automatically
7887         included by the above headers.
7888         * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
7889         * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
7890         config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
7891         config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
7892         config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
7893         config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
7894         config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
7895         (TARGET_VERSION): Define.
7896         * config/i386/beos-elf.h, config/i386/freebsd.h,
7897         config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
7898         config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
7899         config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
7900         config/i386/sco5.h, config/i386/sysv4.h
7901         (TARGET_VERSION): Do not need to protect.
7902         * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
7903         * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
7904         config/i386/freebsd-aout.h, config/i386/i386-aout.h,
7905         config/i386/i386-interix.h, config/i386/linux-aout.h,
7906         config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
7907         config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
7908         (YES_UNDERSCORES): Do not define - not needed.
7909         * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
7910         ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
7911         USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
7912         * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
7913         (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
7914         USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
7915         * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
7916         * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
7917
7918 2002-04-02  Eric Botcazou  <ebotcazou@multimania.com>
7919             Richard Henderson  <rth@redhat.com>
7920
7921         PR c/5484
7922         * function.c (assign_temp): Accept either type or decl argument.
7923         Detect variables whose size is too large to fit into an integer.
7924         * stmt.c (expand_decl): Pass the decl, not the type.
7925
7926 2002-04-02  David O'Brien  <obrien@FreeBSD.org>
7927
7928         * protoize.c: Match include directory usage with cppdefault.c.
7929
7930 2002-04-03  Jeffrey A Law  (law@redhat.com)
7931             Hans-Peter Nilsson  <hp@bitrange.com>
7932
7933         * combine.c (simplify_comparison): Avoid narrowing a comparison
7934         with a paradoxical subreg when doing so would drop signficant bits.
7935
7936 2002-04-02  Steve Ellcey  <sje@cup.hp.com>
7937
7938         * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
7939         if POINTERS_EXTEND_UNSIGNED is defined.
7940
7941 2002-04-02  Richard Henderson  <rth@redhat.com>
7942
7943         PR opt/3967
7944         * local-alloc.c (contains_replace_regs): LO_SUM may contain
7945         replace regs.
7946
7947 2002-04-02  Richard Henderson  <rth@redhat.com>
7948
7949         * doc/standards.texi: Document required freestanding libc entry points.
7950
7951 2002-04-02  Alan Modra  <amodra@bigpond.net.au>
7952
7953         * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
7954         associated splitter.  Remove MQ constraint.
7955         (ctrdi_internal4): Correct CCmode clobber.
7956
7957 2002-04-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7958
7959         * milli64.S ($$dyncall): New function.
7960         * t-linux (LIB1ASMFUNCS): Revise module list.
7961         (LIB1ASMSRC): Use pa/milli64.S.
7962
7963 2002-04-02  Richard Henderson  <rth@redhat.com>
7964
7965         * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
7966         rename solaris_sys_varargs_h.
7967
7968 Tue Apr  2 06:47:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7969
7970         * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
7971         the same mode as its component.
7972
7973 2002-04-02  Richard Henderson  <rth@redhat.com>
7974
7975         PR opt/190
7976         * final.c (this_is_asm_operands): Export.
7977         * output.h (this_is_asm_operands): Declare.
7978         * config/i386/i386.c (print_operand): Error odd asm operands.
7979
7980 2002-04-02  Richard Henderson  <rth@redhat.com>
7981
7982         PR opt/420
7983         * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
7984
7985 2002-04-01  Richard Henderson  <rth@redhat.com>
7986
7987         PR target/1538
7988         * fixinc/inclhack.def (solaris_sys_varargs_h): New.
7989         * fixinc/fixincl.x: Rebuild.
7990
7991 2002-04-01  Richard Henderson  <rth@redhat.com>
7992
7993         * config/ia64/unwind-ia64.c: Include ia64intrin.h.
7994         (atomic_alloc, atomic_free): New.
7995         (SIZE, MASK_FOR, PTR_IN): New.
7996         (emergency_reg_state, emergency_reg_state_free): New.
7997         (emergency_labeled_state, emergency_labeled_state_free): New.
7998         (reg_state_alloced, labeled_state_alloced): New.
7999         (alloc_reg_state, free_reg_state): New.
8000         (alloc_label_state, free_label_state, free_label_states): New.
8001         (push, pop, dup_state_stack, free_state_stack): Use them.
8002         (desc_label_state): Likewise.
8003         (uw_frame_state_for): Free label states and state stack.
8004         (uw_update_reg_address): Eliminate warnings.
8005
8006 2002-04-01  Vladimir Makarov  <vmakarov@redhat.com>
8007
8008         * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
8009         ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
8010
8011 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
8012
8013         * c-decl.c (grokdeclarator): Update.
8014         * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
8015         * c-tree.h (c_mark_addressable): New.
8016         * c-typeck.c (default_function_array_conversion, build_unary_op,
8017         build_array_ref, convert_for_assignment): Update.
8018         (mark_addressable): Rename.
8019         * calls.c (try_to_integrate, expand_call): Use langhook.
8020         * expr.c (expand_expr): Use langhook.
8021         * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
8022         * langhooks.h (struct lang_hooks): New hook.
8023         * stmt.c (expand_asm_operands): Use langhook.
8024         * tree.h (mark_addressable): Remove.
8025 objc:
8026         * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
8027
8028 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
8029
8030         * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
8031         in previous change.
8032
8033 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
8034
8035         * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
8036         for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
8037
8038 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
8039
8040         * c-common.c (unsigned_conversion_warning, convert_and_check,
8041         unsigned_type, signed_type, shorten_compare,
8042         c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
8043         (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
8044         * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
8045         New.
8046         * c-decl.c (grokdeclarator): Update.
8047         * c-format.c (check_format_types): Update.
8048         * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
8049         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
8050         * c-typeck.c (build_binary_op, convert_for_assignment): Update.
8051         * convert.c (convert_to_integer): Use new hooks.
8052         * expmed.c (make_tree): Use new hooks.
8053         * expr.c (store_expr): Use new hooks.
8054         * fold-const.c (operand_equal_for_comparison_p, build_range_check,
8055         all_ones_mask_p, unextend, fold): Use new hooks.
8056         * langhooks.h (struct lang_hooks_for_types): New hooks.
8057         * tree.h (signed_or_unsigned_type, signed_type,
8058         unsigned_type): Remove.
8059 objc:
8060         * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
8061         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
8062
8063 2002-03-31  Richard Henderson  <rth@redhat.com>
8064
8065         * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
8066         (desc_frgr_mem): Fix reference to f16-f31.
8067
8068 2002-03-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8069
8070         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
8071         RTVEC_ELT): Const-ify.
8072         * varray.h (VARRAY_CHECK): Const-ify.
8073         * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
8074         ggc_mark_rtvec, ggc_mark): Const-ify.
8075
8076 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
8077
8078         * diagnostic.c: Include langhooks-def.h.
8079         * Makefile.in (diagnostic.o): Update.
8080
8081 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
8082
8083         * c-common.c (c_unsafe_for_reeval): Rename.
8084         * c-common.h (c_unsafe_for_reeval): Rename.
8085         * c-decl.c (finish_incomplete_decl): Rename.
8086         (c_init_decl_processing): Don't set langhook.
8087         * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
8088         LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
8089         * c-objc-common.c (c_objc_common_init): Don't set langhook.
8090         * c-tree.h (finish_incomplete_decl): Rename.
8091         * langhooks-def.h (lhd_unsafe_for_reeval): New.
8092         (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
8093         (LANG_HOOKS_INITIALIZER): Update.
8094         * langhooks.c (lhd_unsafe_For_reeval): New.
8095         * langhooks.h (struct langhooks): New hooks.
8096         * toplev.c (incomplete_decl_finalize_hook): Remove.
8097         (wrapup_global_declarations): Update.
8098         * tree.c (lang_unsafe_for_reeval): Remove.
8099         (unsafe_for_reeval): Update.
8100         * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
8101         Remove.
8102 objc:
8103         * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
8104         LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
8105
8106 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
8107
8108         * diagnostic.c (print_error_function): Remove.
8109         (default_print_error_function): Rename.
8110         (report_error_function): Update.
8111         * diagnostic.h (print_error_function): Remove.
8112         (default_print_error_function): Remove.
8113         * langhooks-def.h (struct diagnostic_context): Predeclare.
8114         (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
8115         (LANG_HOOKS_INITIALIZER): Update.
8116         * langhooks.h (struct diagnostic context): Predeclare.
8117         (struct lang_hooks): New hook.
8118
8119 2002-03-31  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8120
8121         * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
8122         (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
8123         !flag_pic.
8124         (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
8125         * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
8126         of PIC_OFFSET_TABLE_REGNUM thruout.
8127         * config/rs6000/rs6000.md: Likewise.
8128         * config/rs6000/darwin.h: Likewise.
8129
8130 Sun Mar 31 14:43:24 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8131
8132         * emit-rtl.c (adjust_address_1, offset_address): Cast value to
8133         unsigned HOST_WIDE_INT, not unsigned int.
8134
8135 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
8136
8137         PR middle-end/6096, middle-end/6098, middle-end/6099
8138         * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
8139         CODE_LABELs.
8140         (fill_slots_from_thread): Likewise.
8141
8142 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
8143
8144         * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
8145         floating fields in float regs.
8146         (function_arg_record_value_2): Likewise.
8147
8148 2002-03-31  Hans-Peter Nilsson  <hp@bitrange.com>
8149
8150         * config/mmix/mmix.md (define_constants): Remove misleading
8151         FIXME.  Add MMIX_fp_rO_OFFSET.
8152         ("nonlocal_goto_receiver"): Don't have stack-frame address of
8153         saved rO as part of the pattern.  Remove FIXME.
8154         ("*nonlocal_goto_receiver_expanded"): Similar.  Generate address
8155         here, at output-time.
8156
8157 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
8158
8159         PR middle-end/6100
8160         * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
8161         REG_BR_PRED.
8162         (output_v9branch): Likewise.
8163
8164 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
8165
8166         * gcc.c: Revert previous patch for now.
8167         * config/i386/djgpp.h: Likewise.
8168
8169 2002-03-31  Hans-Peter Nilsson  <hp@bitrange.com>
8170
8171         * config/mmix/crti.asm (_init): Register _fini with atexit.
8172         * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
8173
8174 2002-03-31  Richard Henderson  <rth@redhat.com>
8175
8176         PR target/3997
8177         * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
8178         (ASM_OUTPUT_DEF_FROM_DECLS): New.
8179
8180 2002-03-31  Richard Henderson  <rth@redhat.com>
8181
8182         * libgcc2.c (__bb_exit_func): Make static.
8183
8184         * config/alpha/alpha.md (trap): New.
8185
8186 2002-03-31  Richard Henderson  <rth@redhat.com>
8187
8188         * builtins.c (expand_builtin_va_arg): Give warnings not errors for
8189         promoted argument types; build trap.
8190         (expand_builtin_trap): New.
8191         (expand_builtin): Use it.
8192         * stmt.c (expand_nl_goto_receivers): Likewise.
8193         * expr.h (expand_builtin_trap): Declare.
8194         * libfuncs.h (LTI_abort, abort_libfunc): New.
8195         * optabs.c (init_optabs): Init abort_libfunc.
8196
8197 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
8198
8199         * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
8200         (LINK_COMMAND_SPEC): ... from here.
8201         (init_gcc_specs): Duplicate it here too, omitting
8202         shared_name in the second copy.
8203         (init_spec): Test for duplicate
8204         * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
8205
8206 2002-03-30  David S. Miller  <davem@redhat.com>
8207
8208         * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8209         * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
8210
8211 2002-03-30  Roger Sayle <roger@eyesopen.com>
8212             Richard Henderson  <rth@redhat.com>
8213
8214         * regmove.c (combine_stack_adjustments_for_block): Avoid
8215         emitting a stack adjustment of zero bytes.  Let delete_insn
8216         update bb->head.
8217
8218 2002-03-30  Richard Henderson  <rth@redhat.com>
8219
8220         * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
8221         (sparc_emitting_epilogue): New.
8222         (leaf_label, output_return, sparc_return_peephole_ok): Remove.
8223         * config/sparc/sparc-protos.h: Update.
8224         * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
8225         (TARGET_SWITCHES): Update.
8226         * config/sparc/sparc.md (return): Remove.
8227         (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
8228         * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
8229         config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
8230         config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
8231         config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
8232         config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
8233         config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
8234         Remove MASK_EPILOGUE.
8235         * doc/invoke.texi: Update.
8236
8237 2002-03-30  Daniel Berlin  <dan@dberlin.org>
8238
8239         * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
8240         CPP will start the file for us.
8241
8242 2002-03-30  Richard Henderson  <rth@redhat.com>
8243
8244         PR target/5446
8245         * config/ia64/ia64.c (group_barrier_needed_p): Special case
8246         prologue_allocate_stack.
8247         (ia64_single_set): Use insn codes for recognition of special
8248         cases, not rtl matching.
8249         * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
8250
8251 Sat Mar 30 23:48:41 CET 2002  Jan Hubicka  <jh@suse.cz>
8252
8253         * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
8254
8255 2002-03-30  Richard Henderson  <rth@redhat.com>
8256
8257         PR target/6032
8258         * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
8259         or -fomit-frame-pointer with profiling.
8260         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
8261         (FUNCTION_PROFILER): Do nothing.
8262         (PROFILE_HOOK): New.
8263         * config/sparc/sparc.c (sparc_override_options): Don't check
8264         code models for profiling.
8265         (sparc_function_profiler): Remove.
8266         (sparc_profile_hook): New.
8267         * config/sparc/sparc-protos.h: Update.
8268
8269 2002-03-30  Jakub Jelinek  <jakub@redhat.com>
8270
8271         PR optimization/6086
8272         * combine.c (combine_simplify_rtx): If simplify_rtx failed because
8273         of SUBREG of volatile MEM or because the MEM was mode dependent,
8274         return CLOBBER instead of unmodified SUBREG.
8275
8276 Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
8277
8278         * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
8279         when not optimizing.
8280
8281         * toplev.c (rest_of_compilation): Cann mark_constant_function
8282         only when optimizing.
8283
8284         * flow.c (calculate_global_regs_live): Ensure that all AUX fields
8285         are NULL.
8286
8287         * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
8288         (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
8289         (try_optimize_cfg): clear all AUX fields.
8290
8291         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
8292         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
8293         (ix86_address_cost): Be prepared for SUBREGed registers.
8294         (legitimate_address_p): Accept SUBREGed registers.
8295
8296 2002-03-29  Richard Henderson  <rth@redhat.com>
8297
8298         PR target/5672
8299         * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
8300
8301 2002-03-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8302
8303         * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
8304         for aggregate and TFmode types.
8305
8306 2002-03-29  Hans-Peter Nilsson  <hp@bitrange.com>
8307
8308         * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
8309
8310 2002-03-29  Richard Henderson  <rth@redhat.com>
8311
8312         PR target/5886
8313         * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
8314         * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
8315
8316 2002-03-29  Richard Henderson  <rth@redhat.com>
8317
8318         PR target/6041
8319         * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
8320         (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
8321         * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
8322         * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
8323         conditional.
8324         * docs/invoke.texi: Update -mno-fancy-math-387 docs.
8325
8326 2002-03-29  Dale Johannesen <dalej@apple.com>
8327
8328         * loop.c (combine_movables): Do allow combination of pseudos.
8329
8330 2002-03-29  Loren J. Rittle  <ljrittle@acm.org>
8331
8332         * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
8333         * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
8334         No functional change except ...
8335         * config/t-slibgcc-nolc-override (SHLIB_LC): Override it.  New file.
8336         * doc/install.texi (*-*-freebsd*): Document port configuration.
8337
8338 2002-03-29  Neil Booth  <neil@daikokuya.demon.co.uk>
8339
8340         * Makefile.in (convert.o, calls.o, expmed.o): Update.
8341         * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
8342         Use new hooks.
8343         * builtin-types.def (BT_PTRMODE): Update.
8344         * c-common.c (type_for_size): Rename c_common_type_for_size.
8345         (type_for_mode): Similarly.
8346         (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
8347         Use new hook.
8348         * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
8349         * c-decl.c (finish_enum, build_enumerator): Use new hooks.
8350         * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
8351         Redefine.
8352         * c-typeck.c (common_type, comptypes, default_conversion):
8353         Use new hooks.
8354         * calls.c: Include langhooks.h.
8355         (emit_library_call_value_1): Use new hooks.  Avoid redundant
8356         calls.
8357         * convert.c: Include langhooks.h
8358         (convert_to_pointer, convert_to_integer): Use new hooks.
8359         * except.c (init_eh): Similarly.
8360         * expmed.c: Include langhooks.h.
8361         (expand_mult_add): Use new hooks.
8362         * expr.c (store_expr, store_constructor, expand_expr, do_jump,
8363         try_casesi): Similarly.
8364         * fold-const.c (optimize_bit_field_compare, make_range,
8365         decode_field_reference, fold_truthop, fold): Similarly.
8366         * function.c (assign_stack_local_1, assign_stack_temp_for_type,
8367         put_var_into_stack): Similarly.
8368         * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
8369         LANG_HOOKS_TYPE_FOR_SIZE): New.
8370         (LANG_HOOKS_TYPES_INITIALIZER): Update.
8371         * langhooks.h (lang_hooks_for_types): New hooks.
8372         * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
8373         * tree.c (get_unwidened, get_narrower): Similarly.
8374         * tree.h (type_for_mode, type_for_size): Remove.
8375         * varasm.c (force_const_mem): Use new hooks.
8376         * utils2.c (nonbinary_modular_operation): Update.
8377 objc:
8378         * objc-act.c (handle_impent): Update.
8379         * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
8380         Redefine.
8381
8382 2002-03-29  Steve Ellcey  <sje@cup.hp.com>
8383
8384         * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
8385         * config/ia64/ia64.c (basereg_operand): New.
8386         * config/ia64/ia64-protos.h (basereg_operand): Declare.
8387         * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
8388
8389 2002-03-29  Hans-Peter Nilsson  <hp@bitrange.com>
8390
8391         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
8392         unwind information when frame_pointer_needed.
8393         (mmix_assemble_integer): Tweak wording in comment.
8394
8395 2002-03-29  Neil Booth  <neil@daikokuya.demon.co.uk>
8396
8397         * Makefile.in (except.o): Update.
8398         * except.c: Include langhooks.h.
8399         (init_eh): Use langhook.
8400         * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
8401         LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
8402         (LANG_HOOKS_INITIALIZER): Update.
8403         * langhooks.h (lang_hooks_for_types): New.
8404         (struct lang_hooks): Add it.
8405         * tree.c (make_lang_type_fn, make_lang_type): Remove.
8406         * tree.h (make_lang_type_fn, make_lang_type): Remove.
8407 config:
8408         * alpha/alpha.c: Include langhooks.h.
8409         (alpha_build_va_list): Use langhook.
8410         * d30v/d30v.c: Include langhooks.h.
8411         (d30v_build_va_list): Use langhook.
8412         * i386/i386.c: Include langhooks.h.
8413         (ix86_build_va_list): Use langhook.
8414         * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
8415         * s390/s390.c: Include langhooks.h.
8416         (s390_build_va_list): Use langhook.
8417         * stormy16/stormy16.c: Include langhooks.h.
8418         (stormy16_build_va_list): Use langhook.
8419
8420 2002-03-29  Jakub Jelinek  <jakub@redhat.com>
8421
8422         PR c++/5964
8423         * config/sparc/sparc.md (empty_delay_slot, branch_type): New
8424         attributes.
8425         (length): Compute variable length for branches/calls/jumps here.
8426         (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
8427         normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
8428         define branch_type attribute.
8429         (divsi3_sp32): Maximum length is 6 not 7.
8430         (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
8431         call_address_untyped_struct_value_sp32,
8432         call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
8433         * config/sparc/sparc.c (empty_delay_slot): New function.
8434         * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
8435         * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
8436
8437 2002-03-29  Jakub Jelinek  <jakub@redhat.com>
8438
8439         * combine.c (set_nonzero_bits_and_sign_copies): Don't call
8440         nonzero_bits if not needed.
8441         (nonzero_bits) [XOR]: Likewise.
8442         (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
8443         reg_last_set_mode and mode are both MODE_INT, but not equal.
8444         (record_value_for_reg): Compute reg_last_set_nonzero_bits
8445         in nonzero_bits_mode for MODE_INT modes.
8446
8447 2002-03-28  Richard Henderson  <rth@redhat.com>
8448
8449         PR target/5715
8450         * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
8451         to GAS.  Correct drift between alternatives.
8452
8453 2002-03-28  Richard Henderson  <rth@redhat.com>
8454
8455         PR target/6087
8456         * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
8457
8458 2002-03-28  Alexandre Oliva  <aoliva@redhat.com>
8459
8460         * config/i386/freebsd.h (LINK_SPEC): Don't pass default
8461         emulation to the linker.
8462
8463 2002-03-28  Loren J. Rittle  <ljrittle@acm.org>
8464
8465         * config/alpha/freebsd.h (LINK_SPEC): Likewise.
8466         * config/sparc/freebsd.h (LINK_SPEC): Likewise.
8467
8468 Thu Mar 28 16:35:31 2002  Jeffrey A Law  (law@redhat.com)
8469
8470         * combine.c (simplify_and_const_int): Make sure to apply mask
8471         when force_to_mode returns a constant integer.  PR3311.
8472
8473 2002-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8474
8475         * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
8476
8477 2002-03-28  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8478
8479         * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
8480         and Objective-C Dialect Options.
8481
8482 2002-03-28  Richard Henderson  <rth@redhat.com>
8483
8484         * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
8485         comparison should be done vs !=0 not >0 return code.  Tidy cases.
8486
8487 2002-03-28  Richard Henderson  <rth@redhat.com>
8488
8489         * c-decl.c (finish_function): New arg can_defer_p.  Pass it
8490         on to c_expand_body.
8491         * c-tree.h (finish_function): Update decl.
8492         * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
8493
8494 Thu Mar 28 19:13:36 CET 2002  Jan Hubicka  <jh@suse.cz>
8495
8496         * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
8497
8498 Thu Mar 28 13:21:53 CET 2002  Jan Hubicka  <jh@suse.cz>
8499
8500         * rtlanal.c: Include flags.h
8501         (may_trap_p): Do not mark FP operations if trapping
8502         if !flag_trapping_math
8503         * Makefile.in (rtlanal.o): Add dependency on flag.h
8504         * ifcvt.c (noce_operand_ok): Avoid the lameness.
8505
8506 2002-03-27  Zack Weinberg  <zack@codesourcery.com>
8507
8508         * mips.md: Use dconst1, not 1.0, as first argument of
8509         REAL_VALUE_LDEXP.  Don't use union real_extract.
8510
8511 2002-03-28  Alan Modra  <amodra@bigpond.net.au>
8512
8513         * configure.in (gcc_cv_as): Use $target_alias in directory searchs
8514         rather than $target.  Heed program_prefix and
8515         program_transform_name.  Search for gas in cross-compiler case too.
8516         "test -x" rather than "test -f".
8517         (gcc_cv_ld): Likewise.
8518         (gcc_cv_nm): Heed program_prefix and program_transform_name.
8519         (gcc_cv_objdump): Likewise.
8520         * configure: Regenerate.
8521
8522 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8523
8524         * Makefile.in (attribs.o): Update.
8525         * attribs.c: Include langhooks.h.
8526         (decl_attributes): Use langhook.
8527         * c-decl.c (insert_default_attributes): Rename.
8528         * c-tree.h (c_insert_default_attributes): New.
8529         * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
8530         (LANG_HOOKS_INITIALIZER): Update.
8531         * langhooks.h (struct lang_hooks): New hook.
8532         * tree.h (insert_default_attributes): Remove.
8533 objc:
8534         * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
8535
8536 2002-03-27  Andreas Schwab  <schwab@suse.de>
8537
8538         * config/i386/i386.c (classify_argument): Also check for
8539         QUAL_UNION_TYPE.
8540
8541 2002-03-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8542
8543         * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
8544         any more.
8545
8546 Wed Mar 27 23:19:30 CET 2002  Jan Hubicka  <jh@suse.cz>
8547
8548         * i960.md (ret): Set PC.
8549         (nonlocal_goto): Fix expander.
8550         * builtins.c (epxand_builin_longjmp): Check that we've emitted
8551         some jump or call.
8552
8553 Wed Mar 27 23:11:35 CET 2002  Jan Hubicka  <jh@suse.cz>
8554
8555         * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
8556         of libcall regions.
8557
8558 Wed Mar 27 22:54:14 CET 2002  Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
8559
8560         * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
8561         assigning to BLOCK_FOR_INSN directly.
8562
8563 Wed Mar 27 22:33:05 CET 2002  Jan Hubicka  <jh@suse.cz>
8564
8565         * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
8566
8567 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8568
8569         * c-common.c (c_expand_expr): Fix prototype.
8570         * c-common.h (c_expand_expr): Always declare, update.
8571         * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
8572         * c-objc-common.c (c_objc_common_init): No global hook.
8573         * expr.c (expand_expr): Use langhook.
8574         * expr.h (enum expand_modifier): Conditionally declare.
8575         * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
8576         (LANG_HOOKS_INITIALIZER): Update.
8577         * langhooks.c (lhd_expand_expr): New.
8578         * langhooks.h (struct lang_hooks): New hook.
8579         * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
8580         (lang_independent_init): Don't default hook.
8581 objc:
8582         * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
8583
8584 2002-03-27  Richard Henderson  <rth@redhat.com>
8585
8586         PR target/6054
8587         * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
8588         TARGET_CONST_GP.  Simplify conditions.
8589
8590 2002-03-27  Richard Henderson  <rth@redhat.com>
8591
8592         * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
8593         config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
8594         config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
8595
8596 2002-03-27  Danny Smith  <dannysmith@users.sourceforge.net>
8597
8598         * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
8599         TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
8600         (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
8601         Remove unnecessary masks.
8602         (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
8603         (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
8604         -mwindows, -mdll switches and their negations.
8605
8606 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8607
8608         * gcc-common.c (lang_mark_false_label_stack): Remove.
8609         * ggc.h (lang_mark_false_label_stack): Similarly.
8610
8611 2002-03-26  Vladimir Makarov  <vmakarov@redhat.com>
8612
8613         * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
8614
8615         * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
8616         or __rtems_ is defined.
8617
8618 2002-03-26  Richard Henderson  <rth@redhat.com>
8619
8620         * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
8621         if a non-trivial load was emitted.
8622         (alpha_emit_set_const_1): Remove obsolete extension.  Fix thinko
8623         in high+extra+low case.
8624
8625 2002-03-26  Richard Henderson  <rth@redhat.com>
8626
8627         * config.gcc (sparc*-solaris): Use float_format=sparc.
8628
8629 2002-03-26  Richard Henderson  <rth@redhat.com>
8630
8631         * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
8632         * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
8633         * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
8634         * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
8635         (WINT_TYPE_SIZE): Fix at 32.
8636
8637 2002-03-26  Richard Henderson  <rth@redhat.com>
8638
8639         * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
8640         until after eh landing pad generation.
8641         * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
8642         * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
8643
8644 2002-03-26  Richard Henderson  <rth@redhat.com>
8645
8646         * expr.h (ADD_PARM_SIZE): One more convert for INC.
8647
8648 2002-03-26  Phil Edwards  <pme@gcc.gnu.org>
8649
8650         * gcc.c (cpp_options):  Preserve relative ordering of -pedantic
8651         and warning switches.
8652         (cc1_options):  Likewise.
8653
8654 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
8655
8656         * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
8657         Restore more of the signal context.  Set no_reg_stack_frame.
8658         * config/ia64/unwind-ia64.c (unw_state_record):
8659         Add no_reg_stack_frame, comments.
8660         (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
8661         (uw_update_context): Adjust bsp when unwinding from leaf,
8662         but not signal frame.
8663
8664 2002-03-26  David Edelsohn  <edelsohn@gnu.org>
8665
8666         * config/rs6000/aix51.h (WCHAR_TYPE): Define.
8667
8668 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
8669
8670         * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
8671
8672 2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
8673
8674         PR target/5621
8675         * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
8676         "Add a pool_range attribute", which was lost during the ARM/Thumb
8677         merge.
8678
8679 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
8680
8681         * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
8682         a register into the MAC16 accumulator.
8683
8684 2002-03-26  Andrew Cagney  <ac131313@redhat.com>
8685
8686         * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
8687         (Warning Options): Document -Wswitch-enum.
8688         * toplev.c (W_options): Add -Wswitch-enum.  Update comment on
8689         -Wswitch.
8690         (warn_switch_enum): Define variables.
8691         * flags.h (warn_switch_enum): Declare variables.
8692         * stmt.c (expand_end_case_type): When warn_switch_enum /
8693         -Wswitch-enum, perform switch checks.
8694         Fix PR c/5044.
8695
8696 2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
8697
8698         * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
8699         (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
8700         (reload_muladdsi_compare0_scratch): Delete.
8701
8702 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
8703
8704         * doc/install.texi (*-*-freebsd*): Update.
8705
8706 2002-03-26  Richard Henderson  <rth@redhat.com>
8707
8708         * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
8709         (SUB_PARM_SIZE): Cast DEC to ssizetype.
8710
8711         * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
8712         types from the normal argument frame.
8713
8714         * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
8715         variable sized objects by reference.
8716         (sparc_va_arg): Receive them by reference too.
8717
8718 2002-03-26  Hartmut Penner  <hpenner@de.ibm.com>
8719
8720         * config/s390/s390.c (s390_emit_epilogue): Change epilogue
8721         code to not restoring global registers.
8722
8723 2002-03-26  Neil Booth  <neil@daikokuya.demon.co.uk>
8724
8725         * Makefile.in (ggc-common.o): Update.
8726         * c-decl.c (lang_mark_tree): Rename c_mark_tree.
8727         * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
8728         * c-tree.h (c_mark_tree): New.
8729         * ggc-common.c: Include langhooks.h.
8730         (gcc_mark_trees): Use new langhook.
8731         * ggc-callbacks.c: Delete file.
8732         * ggc.h (lang_mark_tree): Remove.
8733         * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
8734         (LANG_HOOKS_INITIALIZER): Update.
8735         * langhooks.h (struct lang_hooks): New hook.
8736 objc:
8737         * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
8738
8739 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
8740
8741         * doc/cpp.texi: Exclude entire Top node from printed manual.
8742         Move option index after directive index.  Insert page breaks
8743         before GFDL and concept index.  Index environment variables
8744         with command line options.
8745         * doc/cppenv.texi: Use @vtable for environment variable list.
8746         Add paragraph explaining semantics of empty elements in path
8747         variables.  Exclude a cross-reference to Fishkill from the
8748         manpage.  Remove an unnecessary cross-reference of the entry
8749         right above the referer.  Don't use @anchor in text that goes
8750         into manpage.
8751         * doc/cppopts.texi: Cross-reference the environment variables
8752         section, not the specific environment variable, for consistency.
8753
8754 2002-03-25  Richard Henderson  <rth@redhat.com>
8755
8756         * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
8757         anywhere in the block.  Don't refer to insns that have been
8758         removed from the chain.  Iterate backward through the new insns.
8759         Don't refer to edges that have been removed.
8760
8761 2002-03-26  Alan Modra  <amodra@bigpond.net.au>
8762
8763         * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
8764         test for overflow of constant.
8765
8766 2002-03-25  Richard Earnshaw  <rearnsha@arm.com>
8767
8768         PR target/2623
8769         * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
8770         (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
8771         these patterns on arm_archv4.
8772
8773 2002-03-25  Danny Smith  <dannysmith@sourceforge.users.net>
8774
8775         * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
8776         int".
8777
8778 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
8779
8780         * toplev.c: Don't include setjmp.h.  Kill float_handler_set,
8781         float_handled, float_handler, float_signal, set_float_handler,
8782         and do_float_handler.  Set handler for SIGFPE to crash_signal.
8783         * toplev.h: Don't prototype do_float_handler.
8784
8785         * c-lex.c: Fold parse_float into lex_number.  Make warning
8786         about portability of hex float constants more informative, and
8787         don't issue it on top of a syntax error.
8788         * fold-const.c: Fold const_binop_1 and fold_convert_1 into
8789         their callers.
8790         * real.h: Define REAL_VALUE_ABS here...
8791         * simplify-rtx.c: ... not here.  Fold check_fold_consts,
8792         simplify_unary_real, simplify_binary_real, and
8793         simplify_binary_is2orm1 into their callers.
8794         * tree.c: Fold build_real_from_int_cst_1 into caller.
8795
8796         * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
8797
8798         * tsystem.h: Include float.h here...
8799         * libgcc2.c: ... not here.
8800
8801 2002-03-25  Nick Clifton  <nickc@cambridge.redhat.com>
8802
8803         Fixes for: PR bootstrap/3591, target/5676
8804         * config/mcore/mcore.h (CC1_SPEC): Define only if not already
8805         defined.  Do not disable exceptions or rtti.
8806         * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
8807         mcore.h.  Disable exceptions and rtti, since they are not
8808         supported by EPOC.
8809
8810 2002-03-25  Neil Booth  <neil@daikokuya.demon.co.uk>
8811
8812         * c-decl.c (maybe_build_cleanup): Remove.
8813         * expr.c (expand_expr): Use langhook.
8814         * langhooks-def.h (lhd_return_null_tree,
8815         LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
8816         (LANGHOOKS_INITIALIZER): Update.
8817         * langhooks.c (lhd_return_null_tree): New.
8818         * langhooks.h (struct lang_hooks): New hook.
8819         * tree-inline.c (initialize_inlined_parameters): Use langhook.
8820         * tree.h (maybe_build_cleanup): Remove.
8821
8822 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
8823
8824         * regrename.c (build_def_use): Move recog_memoized
8825         before extract_insn.
8826
8827 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
8828
8829         PR target/6043
8830         * expr.c (emit_group_store): Handle storing into CONCAT.
8831
8832 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
8833
8834         * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
8835         corresponding MATCH_DUP.
8836
8837 2002-03-24  Richard Henderson  <rth@redhat.com>
8838
8839         * unroll.c (unroll_loop): Zero label_map.
8840
8841         * gcse.c: Include except.h.
8842         * Makefile.in (gcse.o): Update.
8843
8844 2002-03-24  Richard Henderson  <rth@redhat.com>
8845
8846         * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
8847         Do resolve_unique_section before shared data clause.
8848
8849 2002-03-24  Richard Henderson  <rth@redhat.com>
8850
8851         * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
8852
8853 2002-03-24  Richard Henderson  <rth@redhat.com>
8854
8855         * recog.c (peephole2_optimize): Split blocks when EH insns are
8856         generated in the middle of a block.  Do global life update if
8857         zapped EH edges.
8858
8859 2002-03-24  Richard Henderson  <rth@redhat.com>
8860
8861         * mips.c (mips_function_value): Only promote_mode for non-libcalls.
8862
8863 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
8864
8865         preprocessor/3951
8866         * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
8867         * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
8868         (init_dependency_output): Don't make no_output decision here.
8869
8870 2002-03-24  Andrew Cagney  <ac131313@redhat.com>
8871
8872         * stmt.c (check_for_full_enumeration_handling): Remove tests of
8873         warn_switch.  Update description.
8874         (expand_end_case_type): Call check_for_full_enumeration_handling
8875         when warn_switch.
8876
8877 2002-03-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
8878
8879         * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
8880         (m68hc11_split_move): Call it to see if the source and destination
8881         operands use the same direction auto inc/dec mode, otherwise make the
8882         source an offsetable memory operand and generate an add.
8883
8884 2002-03-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
8885
8886         * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
8887         register for operand 2.
8888         ("*subsi3_zero_extendqi"): Likewise.
8889         ("*iorhi3_gen"): Do the operation on the upper bits and then lower
8890         bits so that it is compatible with a pop.
8891         ("*andhi3_gen"): Likewise.
8892         ("xorhi3"): Likewise.
8893
8894 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
8895
8896         * cppinit.c (cpp_handle_option): Set warn_endif_labels if
8897         -pedantic here...
8898         (cpp_post_options): ... not here.
8899
8900 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
8901             Aldy Hernandez  <aldyh@redhat.com>
8902
8903         Removal of separate preprocessor cpp0.
8904
8905         * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
8906         cpp0, install-common): Update.
8907         * c-common.c (flag_preprocess_only): New.
8908         (c_common_init): Preprocess for -E.
8909         * c-common.h (flag_preprocess_only): New.
8910         * c-decl.c (c_decode_option): Handle -E and -std=c++98.
8911         * c-objc-common.c (c_init_decl_processing): Exit quickly
8912         for NULL return from c_common_init.
8913         * cpplib.h (cpp_preprocess_file): New.
8914         * cppmain.c (main, general_init, pfile, progname): Remove.
8915         (do_preprocessing): Rename cpp_preprocess_file, don't call
8916         cpp_finish.  Don't close stdout here.
8917         (setup_callbacks): Update prototype.
8918         * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
8919         Update.
8920         * tradcpp.c (main): Ignore -quiet.
8921 objc:
8922         * lang-specs.h (default_compilers): Preprocess with cc1obj.
8923
8924 2002-03-24  Richard Henderson  <rth@redhat.com>
8925
8926         PR optimization/5742
8927         * machmode.def: Add inner mode field to complex modes.
8928         * config/mips/mips.c (mips_function_value): Always define.  Add
8929         new argument to handle libcalls.
8930         * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
8931         (FUNCTION_VALUE): Likewise.
8932         * config/mips/abi64.h (FUNCTION_VALUE): Remove.
8933         * config/mips/mips-protos.h: Update.
8934
8935 2002-03-23  Richard Henderson  <rth@redhat.com>
8936
8937         * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
8938         * config/sparc/sparc-protos.h: Update.
8939         * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
8940
8941 2002-03-23  Richard Henderson  <rth@redhat.com>
8942
8943         * config/sparc/gmon-sol2.c (internal_mcount): Assume either
8944         _start or _init begins the text segment.
8945
8946 2002-03-23  David Edelsohn  <edelsohn@gnu.org>
8947
8948         * config/rs6000/rs6000.h (RETURN_IN_MEMORY):  Cast to HOST_WIDE_INT
8949         not HOST_WIDEST_INT.
8950         (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
8951
8952 2002-03-23  Richard Earnshaw  <rearnsha@arm.com>
8953
8954         PR java/5489
8955         * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
8956         operand argument to output_return_instruction.
8957         * arm.c (arm_print_operand, case 'd'): If the operand is
8958         const_true_rtx then just return.
8959         (arm_print_operand, case 'D'): If the operand is const_true_rtx
8960         then abort.
8961
8962 2002-03-23  Andrew Cagney  <ac131313@redhat.com>
8963
8964         * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
8965         (Warning Options): Document -Wswitch-default.
8966         * toplev.c (W_options): Add -Wswitch-default.  Update comment on
8967         -Wswitch.
8968         (warn_switch_default): Define variable.
8969         (warn_switch): Update comment.
8970         * flags.h (warn_switch_default): Declare variable.
8971         (warn_switch): Update comment.
8972         * stmt.c (expand_end_case): Check for and, when
8973         warn_switch_no_default, warn of a missing default case.
8974
8975 2002-03-23  Alan Modra  <amodra@bigpond.net.au>
8976
8977         * real.h (N): Special case 128 bit doubles.
8978
8979         * combine.c (simplify_comparison): When widening modes, ignore
8980         sign extension on CONST_INTs.
8981
8982 2002-03-22  Bob Wilson  <bob.wilson@acm.org>
8983
8984         * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
8985         passed to adjust_address.  Fix comment formatting.
8986
8987
8988 2002-03-22  Zack Weinberg  <zack@codesourcery.com>
8989
8990         * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
8991         Always make REAL_VALUE_TYPE a struct containing an array of
8992         HOST_WIDE_INT, not a double.  Tidy up the code deciding how
8993         big it is.  Don't declare or use union real_extract.
8994
8995         * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
8996         decode_rtx_const, output_constant_pool), config/a29k/a29k.c
8997         (print_operand), config/arm/arm.c (output_move_double),
8998         config/arm/arm.md (consttable_4, consttable_8),
8999         config/romp/romp.c (output_fpops), config/s390/s390.h
9000         (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
9001         (xtensa_output_literal): Don't use union real_extract.
9002
9003         * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
9004         (sfmode_constant_to_ulong), config/ns32k/merlin.h
9005         (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
9006         config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
9007         (PRINT_OPERAND): Don't use local version of union
9008         real_extract.
9009
9010         * config/convex/convex.c (check_float_value), config/vax/vax.c
9011         (vax_float_literal), config/m88k/m88k.md (divdf3),
9012         config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
9013         config/pdp11/pdp11.c (output_move_quad): Don't do host
9014         arithmetic on target floating point quantities.
9015
9016         * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
9017         (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
9018
9019         * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
9020         Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
9021
9022         * real.c (earith): Test INFINITY rather than REAL_INFINITY;
9023         NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
9024         INFINITY.
9025         * print-rtl.c (print_rtx): Disable code which needs
9026         floating-point emulator.
9027         * libgcc2.c: Include float.h and use DBL_MANT_DIG,
9028         FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
9029         depending on HOST_FLOAT_FORMAT to be defined properly.
9030
9031         * config/1750a/1750a.c (get_double, float_label): Delete.
9032         (print_operand): Delete huge commented-out chunk.  Use
9033         REAL_VALUE_TO_DECIMAL.
9034         * config/1750a/1750a-protos.h: Delete prototypes of deleted
9035         functions.
9036         * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
9037         IEEE_FLOAT_FORMAT.
9038         * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
9039         Use REAL_VALUE_TO_DECIMAL as ELF version does.
9040         * config/m88k/m88k.c (real_power_of_2_operand,
9041         legitimize_operand): Take the REAL_VALUE_TYPE and/or union
9042         real_extract out of the union; run the input through
9043         REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
9044         from that into the union.
9045         * config/pdp11/pdp11.c (output_move_double): Rearrange
9046         parentheses to make automatic indenter happy.
9047
9048         * doc/tm.texi (Cross-compilation): Rename node to "Floating
9049         Point" and rewrite to describe current situation.  Also adjust
9050         documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
9051         match code.
9052         * doc/rtl.texi: Adjust cross reference.
9053
9054 2002-03-22  Bob Wilson  <bob.wilson@acm.org>
9055
9056         * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
9057         (xtensa_valid_move, xtensa_preferred_reload_class): Define.
9058         * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
9059         (xtensa_valid_move, xtensa_preferred_reload_class): Define to
9060         prevent use of sp as a reload register.
9061         (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
9062         non_acc_reg_operand.
9063         * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
9064         (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
9065         * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
9066         movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
9067
9068 2002-03-22  Neil Booth  <neil@daikokuya.demon.co.uk>
9069
9070         * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
9071         * cpplex.c (unterminated): Delete.
9072         (parse_string): No string literal may extend over multiple
9073         lines.  Suppress the error when preprocessing assembly.
9074         * cppmain.c (scan_translation_unit): Strings are single-line.
9075
9076         * doc/cpp.texi: Update to match.
9077
9078 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
9079
9080         PR optimization/5854
9081         * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
9082         Shut up warnings.
9083         (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
9084         (EXTRA_CONSTRAINT): Use S for non-push memory operand.
9085         * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
9086         const0 if scratch register was not allocated.
9087         (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
9088         m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
9089         with GEN_INT (...).
9090         (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
9091         * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
9092         with GEN_INT (...) everywhere.  Remove constraints in define_split
9093         patterns.
9094         (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
9095         require scratch register for setting 0 into regs/non-pushable memory.
9096
9097 2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
9098
9099         * config/mips/mips.h (MASK_RETURN_ADDR): Define.
9100         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
9101
9102 2002-03-22  Phil Edwards  <pme@gcc.gnu.org>
9103
9104         * cpplib.h (struct cpp_options):  New member, warn_endif_labels.
9105         * cppinit.c (cpp_create_reader):  On by default.
9106         (cpp_handle_option):  Handle -W[no-]endif-labels.
9107         (cpp_post_options):  Also enable if -pedantic.
9108         * cpplib.c (do_else):  Use it.
9109         (do_endif):  Likewise.
9110         * doc/cppopts.texi:  Document new option.
9111         * doc/invoke.texi:  Document new option.
9112
9113 2002-03-22  Lars Brinkhoff  <lars@nocrew.org>
9114
9115         * config/i386/i386.c, config/i386/i386.md: Change all occurences
9116         of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
9117
9118 2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
9119
9120         * flow.c (calculate_global_regs_live): Clear aux fields of
9121         ENTRY and EXIT.
9122
9123 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
9124
9125         * config/v850/v850.c (v850_reorg): Only call alter_subreg on
9126         REG or MEM subregs, pass rtx * instead of rtx to it.
9127         * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
9128         rtx * instead of rtx to alter_subreg.
9129         * config/m32r/m32r.c (gen_split_move_double): Likewise.
9130         * config/pj/pj.c (pj_output_rval): Likewise.
9131
9132 2002-03-22  Richard Henderson  <rth@redhat.com>
9133
9134         PR target/3177
9135         * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
9136         (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
9137         * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
9138         (ia64_expand_prologue): Look at int_regs, not words, for number
9139         of incomming int regs.
9140
9141 2002-03-22  Andrew MacLeod  <amacleod@redhat.com>
9142
9143         * expr.c (expand_expr): A RESULT_DECL is part of a call.
9144
9145 Fri Mar 22 16:30:42 CET 2002  Jan Hubicka  <jh@suse.cz>
9146
9147         * toplev.c (flag_loop_optimize, flag_crossjumping):
9148         New static variables.
9149         (rest_of_compilation): Conditionalize crossjumping and
9150         loop optimizer.
9151         (parse_options_and_default_flags): Default loop_optimize and
9152         crossjumping.
9153         (lang_independent_options): Add -fcrossjumping and -floop-optimize
9154         * invoke.texi (crossjumping, loop-optimize): Document.
9155
9156 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
9157
9158         * real.c (eiisneg): Move outside #ifdef NANS.
9159
9160 Fri Mar 22 12:08:36 CET 2002  Jan Hubicka  <jh@suse.cz>
9161
9162         * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
9163         frequencies match; avoid match on different loop depths.
9164         (try_crossjump_to_bb): Kill tests that no longer brings time
9165         savings.
9166         * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
9167         updating code.
9168         (split_edge): Likewise.
9169
9170         * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
9171         variable.
9172
9173         * Makefile.in (cfgrtl): Add insn-config.h depenendency.
9174         * cfgrtl.c: Include insn-config.h
9175         (split_block) Dirtify block in presence of conditional execution
9176
9177 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
9178
9179         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
9180         * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
9181         (function_arg): Constify CUMULATIVE_ARGS.
9182         (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
9183         * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
9184         (UNITS_PER_DOUBLE): New macro.
9185         (SETUP_INCOMING_VARARGS): Define.  Use mips_setup_incoming_varargs.
9186         (CUMULATIVE_ARGS): Reformat.  Remove num_adjusts workaround and
9187         last_arg_fp field.  Replace arg_words and fp_arg_words with gp_regs,
9188         fp_regs and stack_words.
9189         (EABI_FLOAT_VARARGS_P): New macro.
9190         * config/mips/mips.c (struct mips_arg_info): New.
9191         (mips_arg_info): New function.
9192         (function_arg_advance): Use it.  Add adjustment instructions here
9193         rather than in function_arg.
9194         (function_arg): Constify CUMULATIVE_ARGS.  Use mips_arg_info.  Check
9195         for VOIDmode at the beginning of the function.
9196         (function_partial_nregs): Constify CUMULATIVE_ARGS.  Use mips_arg_info.
9197         (function_arg_pass_by_reference): Likewise.
9198         (mips_setup_incoming_varags): New, largely based on old abi64.h code.
9199         (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
9200         (mips_va_start): Likewise.  Use the new stack_words field of
9201         CUMULATIVE_ARGS to set up overflow area.  Reformat.
9202         (mips_va_arg): Test EABI_FLOAT_VARARGS_P.  Unify EABI handling of
9203         doubles and other types, aligning the overflow pointer for non-doubles
9204         too.  Remove some code duplication.  Replace hard-coded constants.
9205
9206 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
9207
9208         * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
9209         (CLASS_UNITS): Undefine.
9210         (CLASS_MAX_NREGS): Use FP_INC.
9211         * config/mips/mips.c (compute_frame_size): Likewise.
9212         (override_options): Use FP_INC and UNITS_PER_FPVALUE.
9213
9214 2002-03-22  Neil Booth  <neil@daikokuya.demon.co.uk>
9215
9216         * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
9217         prototype, and handle lexing numbers and identifiers.
9218         (parse_identifier): Update to new form of parse_slow.
9219         (parse_number): Fast path only, use parse_slow otherwise.
9220         (_cpp_lex_direct): Update calls to parse_number.
9221
9222 2002-03-21  DJ Delorie  <dj@redhat.com>
9223
9224         * bb-reorder.c (make_reorder_chain_1): Protect against
9225         when redundant edges are omitted.
9226         * predict.c (dump_prediction): Likewise.
9227
9228 2002-03-21  Richard Henderson  <rth@redhat.com>
9229
9230         PR target/5996
9231         * fixinc/inclhack.def (solaris_stdio_tag): New.
9232         * fixinc/fixincl.x: Regenerate.
9233
9234 2002-03-21  Eric Botcazou <ebotcazou@multimania.com>
9235
9236         PR c/5597
9237         * c-typeck.c (process_init_element): Flag non-static
9238         initialization of a flexible array member as illegal.
9239
9240 2002-03-22  Alan Modra  <amodra@bigpond.net.au>
9241
9242         * config/rs6000/t-linux64: New.
9243         * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
9244         t-ppccomm.  Use t-rs6000 and t-linux64.
9245         (powerpc64-*-gnu* <tmake_file>): Likewise.
9246         * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
9247         * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
9248         * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
9249
9250 2002-03-21  Aldy Hernandez  <aldyh@redhat.com>
9251
9252         * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
9253         flag_really_no_inline instead of optimize == 0.
9254
9255         * c-objc-common.c (c_cannot_inline_tree_fn): Same.
9256
9257         * cp/tree.c (cp_cannot_inline_tree_fn): Same.
9258
9259         * flags.h (flag_really_no_inline): New.
9260
9261         * c-common.c (c_common_post_options): Initialize
9262         flag_really_no_inline.
9263
9264         * toplev.c (flag_really_no_inline): New.
9265
9266 2002-03-21  Jakub Jelinek  <jakub@redhat.com>
9267
9268         * config/avr/avr.md (length): Fix length computation for
9269         conditional branches.
9270
9271 2002-03-21  Neil Booth  <neil@daikokuya.demon.co.uk>
9272
9273         * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
9274         sdbout.o, profile.o): Update.
9275         * c-common.c (c_common_nodes_and_builtins): Use pushdecl
9276         langhook.
9277         * c-common.h (gettags): Move here from tree.h.
9278         * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
9279         insert_block, getdecls, kept_level_p, global_bindings_p): New.
9280         * dbxout.c (dbxout_init): Use getdecls langhook.
9281         * expr.c (expand_expr): Use insert_block langhook.
9282         * fold-const.c: Include langhooks.h.
9283         (fold_range_test, fold_binary_op_with_conditional_arg,
9284         fold): Use global_bindings_p langhook.
9285         * integrate.c (expand_inline_function): Use insert_block langhook.
9286         * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
9287         LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
9288         LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
9289         LANG_HOOKS_GETDECLS): New.
9290         (LANG_HOOKS_INITIALIZER): Update.
9291         * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
9292         langhook.
9293         * langhooks.h (struct lang_hooks_for_decls): New.
9294         (struct lang_hooks): Update.
9295         * profile.c: Include langhooks.h.
9296         (output_func_start_profiler): Use new langhooks.
9297         * sdbout.c: Include langhooks.h.
9298         (sdbout_init, sdbout_finish): Use getdecls langhook.
9299         * stmt.c: Include langhooks.h.
9300         (expand_fixup, fixup_gotos): Use new langhooks.
9301         * stor-layout.c: Include langhooks.h.
9302         (variable_size): Use global_bindings_p langhook.
9303         * toplev.c (compile_file): Use getdecls langhook.
9304         * tree-inline.c (remap_block): Use insert_block langhook.
9305         * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
9306         insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
9307
9308 2002-03-21  Richard Henderson  <rth@redhat.com>
9309
9310         * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
9311         constants in .data when -fpic.
9312
9313 2002-03-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9314
9315         * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
9316         where appropriate.
9317
9318 2002-03-21  Tom Tromey  <tromey@redhat.com>
9319
9320         * config/i386/sol2.h (ASM_QUAD): Undef.  Fixes PR bootstrap/5948.
9321
9322 Thu Mar 21 09:50:48 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9323
9324         * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
9325
9326         * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
9327
9328 2002-03-21  Eric Botcazou <ebotcazou@multimania.com>
9329             Richard Henderson  <rth@redhat.com>
9330
9331         PR c/5354
9332         * c-common.c (c_expand_expr): Preserve result of a statement
9333         expression if needed.
9334
9335 2002-03-21  Jakub Jelinek  <jakub@redhat.com>
9336
9337         PR bootstrap/4195
9338         * genrecog.c (maybe_both_true_mode): Remove.
9339         (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
9340         * machmode.def (Pmode): Likewise.
9341
9342 Thu Mar 21 01:55:06 EST 2002  John Wehle  (john@feith.com)
9343
9344         * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
9345         (nonlocal_mentioned_p_1): New function.
9346         (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
9347         (nonlocal_set_p, nonlocal_set_p_1): Likewise.
9348         (mark_constant_function): Recognize pure functions.
9349         * rtl.h (global_reg_mentioned_p): New prototype.
9350         * rtlanal.c (global_reg_mentioned_p,
9351         global_reg_mentioned_p_1): New function.
9352
9353 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9354
9355         * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
9356         UNIX assert.h.
9357         * fixinc/fixincl.x: Regenerate.
9358
9359 2002-03-20  Jason Merrill  <jason@redhat.com>
9360
9361         * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
9362
9363 2002-03-20  Michael Meissner  <meissner@redhat.com>
9364
9365         * doc/invoke.texi (Optimize Options): Document that -O2 sets
9366         -fstrict-aliasing.
9367
9368 2002-03-20  Bob Wilson  <bob.wilson@acm.org>
9369
9370         * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
9371         ".literal_position" directive before the constant pool.
9372
9373 2002-03-20  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9374
9375         * doc/contrib.texi (Contributors): Update Geoffrey Keating.
9376         Add Craig Rodrigues.
9377         Add Brad Lucier to testers.
9378
9379 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
9380
9381         PR target/4792
9382         * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
9383         to if_then_else.
9384         (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
9385         * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
9386         instead of insn_extract.
9387
9388 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
9389
9390         PR bootstrap/4192
9391         * config/fr30/fr30.md (jump): Remove clobber of fixed register.
9392
9393         * genemit.c (output_added_clobbers_hard_reg_p): Only output return
9394         stmt if some case has been output.
9395
9396 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
9397
9398         PR c/5972
9399         * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
9400         movsfcc_1, movdfcc_1): Add %O2.
9401         * config/i386/i386.c (print_operand): Handle %ON.
9402         Print . before float condition codes in Sun as cmov syntax.
9403         * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
9404         * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
9405         no longer true.
9406
9407 2002-03-20  Philip Blundell  <pb@nexus.co.uk>
9408
9409         * config/arm/arm.c (arm_output_epilogue): Don't generate separate
9410         return instruction if PC was popped.
9411
9412 2002-03-20  Bob Wilson  <bob.wilson@acm.org>
9413
9414         * config/xtensa/xtensa.md: Remove unused type attributes.
9415         (adddi_carry, subddi_carry): Change type attribute to "multi".
9416
9417 2002-03-19  Dale Johannesen  <dalej@apple.com>
9418
9419         PR optimization/5999, middle-end/5731
9420         * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
9421         multiplications by reciprocals.
9422
9423 2002-03-20  Neil Booth  <neil@daikokuya.demon.co.uk>
9424
9425         * Makefile.in: Update.
9426         * c-common.c: Include langhooks.h.
9427         (inline_forbidden_p): Use new hook.
9428         * diagnostic.c: Include langhooks.h.
9429         (format_with_decl, announce_function,
9430         default_print_error_function): Use new hook.
9431         * dwarf2out.c (dwarf2_name): Use new hook.
9432         * function.c: Include langhooks.h.
9433         (init_function_start): Use new hook.
9434         * langhooks-def.h (lhd_decl_printable_name): New.
9435         (LANGHOOKS_DECL_PRINTABLE_NAME): New.
9436         (LANGHOOKS_INITIALIZER): Update.
9437         * langhooks.c (lhd_decl_printable_name): New.
9438         * langhooks.h (struct lang_hooks): New hook.
9439         * toplev.c (decl_name, decl_printable_name): Remove.
9440         (open_dump_file): Use new hook.
9441         (process_options): Remove old hook.
9442         * tree.h (decl_printable_name): Remove.
9443 objc:
9444         * objc-act.c (objc_init): Remove old hook.
9445         (objc_printable_name): Export.
9446         * objc-act.h (objc_printable_name): New.
9447         * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
9448
9449 2002-03-19  Jim Blandy  <jimb@redhat.com>
9450
9451         * c-lex.c (cb_file_change): Pass the #inclusion's line number to
9452         the start_source_file debug hook, not the current line number.
9453
9454 2002-03-19  Richard Henderson  <rth@redhat.com>
9455
9456         * flow.c (EH_USES): Provide default.
9457         (calculate_global_regs_live): Use it for EH edges and noreturn calls.
9458         * doc/tm.texi (EH_USES): New.
9459
9460         * config/ia64/ia64.c (ia64_eh_uses): New.
9461         * config/ia64/ia64-protos.h: Update.
9462         * config/ia64/ia64.h (EH_USES): New.
9463
9464 2002-03-19  Richard Henderson  <rth@redhat.com>
9465
9466         * varasm.c (output_constant_def): Fix stupid typo.
9467
9468 2002-03-19  Richard Henderson  <rth@redhat.com>
9469
9470         PR 5879
9471         * except.c (current_function_has_exception_handlers): New.
9472         * except.h: Declare it.
9473         * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
9474         Combine tests that disable all sibcalls for the function.
9475
9476 2002-03-19  Olivier Hainque  <hainque@act-europe.fr>
9477
9478         * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
9479         for INTEGER_CST.
9480
9481 2002-03-19  Richard Henderson  <rth@redhat.com>
9482
9483         PR 5977, 5991
9484         * config/ia64/ia64.c: Revert 2002-03-01 patch.
9485         * config/ia64/ia64.h (INIT_EXPANDERS): New.
9486
9487 2002-03-19  Jim Blandy  <jimb@redhat.com>
9488
9489         * cppmacro.c (cpp_macro_definition): Emit a space after the macro
9490         name, even if the replacement list contains no tokens, as required
9491         by Dwarf.
9492
9493 2002-03-19  Jason Merrill  <jason@redhat.com>
9494
9495         * varasm.c (globalize_decl): Get the name from the RTL, not
9496         DECL_ASSEMBLER_NAME.
9497
9498         * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
9499
9500 2002-03-19  Bob Wilson  <bob.wilson@acm.org>
9501
9502         * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
9503         subdi_carry): Define.
9504
9505 2002-03-19  David Edelsohn  <edelsohn@gnu.org>
9506
9507         * config/rs6000/rs6000.c (rs6000_override_options): Only warn
9508         about -fpic/-fPIC if extra_warnings set.
9509
9510 2002-03-19  David Edelsohn  <edelsohn@gnu.org>
9511
9512         * expr.c (expand_expr): Sign-extend CONST_INT generated from
9513         TREE_STRING_POINTER.
9514         * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
9515
9516 Tue Mar 19 14:12:32 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9517
9518         * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
9519         in favor of SP if FRAME_POINTER_REQUIRED is false.
9520
9521 2002-03-19  Lars Brinkhoff  <lars@nocrew.org>
9522
9523         * emit-rtl.c (gen_int_mode): New function.
9524         * rtl.h: Prototype for it.
9525         * combine.c (make_extraction, simplify_comparison), expmed.c
9526         (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
9527         (convert_modes, store_field), optabs.c (expand_fix),
9528         simplify-rtx.c (neg_const_int, simplify_unary_real),
9529
9530         * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
9531         Use it instead of GEN_INT (trunc_int_for_mode (...)).
9532
9533 2002-03-19  Jakub Jelinek  <jakub@redhat.com>
9534
9535         PR c/5656
9536         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
9537         convert_parm_for_inlining.
9538         * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
9539         Define.
9540         * langhooks-def.h: Likewise.
9541         * objc/objc-lang.c: Likewise.
9542         * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
9543         function.
9544         * tree-inline.c (initialize_inlined_parameters):
9545         Call convert_parm_for_inlining lang hook if needed.
9546         * c-typeck.c (c_convert_parm_for_inlining): New function.
9547         * c-tree.h (c_convert_parm_for_inlining): Add prototype.
9548
9549 2002-03-18  Mark Mitchell  <mark@codesourcery.com>
9550
9551         * calls.c (precompute_arguments): Do not assume that temporaries
9552         can be destroyed after expanding the argument.
9553         (expand_call): Likewise.
9554
9555 2002-03-15  Eric Christopher  <echristo@redhat.com>
9556
9557         * config/mips/mips.md (movdf_internal2): Add two new move constraints.
9558         Fix register preference on last change.
9559         * config/mips/mips.c (mips_return_in_memory): New function.
9560         * config/mips/mips.h (RETURN_IN_MEMORY): Use.
9561         * config/mips/mips-protos.h: Declare.
9562         * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
9563         * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
9564
9565 2002-03-18  Alexandre Oliva  <aoliva@redhat.com>
9566
9567         * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
9568         a register too.
9569         (anddi3, iorsi3): Likewise.
9570
9571         * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
9572         use %gprel for symbols that are going to be placed in linkonce
9573         sections.
9574
9575         * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
9576         RETURN_ADDRESS_POINTER_REGNUM to $ra.
9577         (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
9578         not needed.  Disregard leaf_function_p().
9579         (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
9580         mips16 frame pointer.
9581         * config/mips/mips.md (store ra): Only to small SP offsets.
9582         2001-08-22  Graham Stott  <grahams@redhat.com>
9583         * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
9584         return a REG rtx for the return address register.
9585
9586 2002-03-18  Bob Wilson  <bob.wilson@acm.org>
9587
9588         * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
9589         constant-pool addresses as "mode-dependent".
9590         (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
9591
9592 2002-03-18  Jakub Jelinek  <jakub@redhat.com>
9593
9594         PR target/5740
9595         * expr.c (emit_group_load): Use extract_bit_field if
9596         needed for CONCAT arguments.
9597
9598 2002-03-18  Richard Earnshaw  <rearnsha@arm.com>
9599
9600         PR target/4863
9601         * arm.md (tablejump): Make this a define_expand.  For PIC add the
9602         offset to the base of the table.
9603         (thumb_tablejump): Matcher for Thumb tablejump insn.
9604         * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
9605         as the difference of two labels.
9606         * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
9607         * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
9608         tables in the code.
9609         * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
9610         * arm.c (get_jump_table_size): If the table is not in the text
9611         section, return zero.
9612
9613 2002-03-18  Bernd Schmidt  <bernds@redhat.com>
9614
9615         * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
9616         of gen_rtx_SUBREG.
9617         (arm_reload_out_hi): Use gen_lowpart instead of
9618         gen_rtx_SUBREG to access QImode components.
9619         * config/arm/arm.md: Disable zero_extend split for QImode
9620         subregs in BIG_ENDIAN mode.
9621         (storehi_bigend): Match use of least significant byte.
9622         (storeinthi): Remove extraneous SUBREG.
9623         Add missing construction of operands[2].
9624         (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
9625         (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
9626         Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
9627
9628 2002-03-18  Aldy Hernandez  <aldyh@redhat.com>
9629
9630         * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
9631         any_operand.
9632
9633 2002-03-17  Richard Henderson  <rth@redhat.com>
9634
9635         * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
9636         explicitly.
9637
9638 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
9639
9640         * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
9641         (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
9642
9643 2002-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9644
9645         * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
9646
9647         * predict.c (estimate_bb_frequencies): Delete unused variables.
9648
9649 2002-03-17  Richard Henderson  <rth@redhat.com>
9650
9651         * config/ia64/ia64.c (ia64_attribute_table): Move before
9652         targetm definition.  Make static.
9653
9654 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
9655
9656         * c-common.h (yyparse, c_common_parse_file): New.
9657         * c-lang.c: Include c-common.h.
9658         (LANG_HOOKS_PARSE_FILE): Redefine.
9659         * c-lex.c: Include c-common.h.
9660         (yyparse): Rename c_common_parse_file.  Call yyparse.
9661         * c-parse.in (yyparse): Remove macro.
9662         * c-tree.h (yyparse_1): Remove.
9663         * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
9664         (LANG_HOOKS_INITIALIZER): Update.
9665         * langhooks.h (struct lang_hoooks): New hook parse_file.
9666         * toplev.c (compile_file): Use parse_file hook.
9667         * tree.h (yyparse): Remove.
9668         * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
9669
9670 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
9671
9672         * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
9673         float_truncate, not fix.
9674         ("*truncdfsf2_real"): Ditto.
9675         ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
9676
9677         * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
9678
9679 2002-03-16  Alexandre Oliva  <aoliva@redhat.com>
9680
9681         * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
9682         (s8), but rather HARD_FRAME_POINTER_REGNUM.  Add parentheses
9683         where appropriate.  Make the second reference to
9684         leaf_function_p a function call, as intended.  Reindented.
9685
9686         * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
9687         * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
9688
9689         * config/mips/mips.md (addsi3, adddi3): Use scratch register to
9690         add register to non-constant into sp.
9691
9692         * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
9693         * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
9694         (mips16_gp_pseudo_rtx): Lose.
9695         (INIT_EXPANDERS): Deleted.
9696         * config/mips/mips.c (mips_init_machine_status): New.
9697         (mips_free_machine_status): New.
9698         (mips_mark_machine_status): New.
9699         (override_options): Set them.
9700         (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
9701         (struct machine_function): ... new.  Replaced all references.
9702         (mips_add_gc_roots): Don't mark them.
9703         (embedded_pic_fnaddr_reg): New, extracted from...
9704         (embedded_pic_offset): ... here.
9705         * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
9706         (movsi): Likewise.
9707
9708 2002-03-16  Neil Booth  <neil@daikokuya.demon.co.uk>
9709
9710         * cppinit.c: Revert -MD removal.
9711
9712 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9713
9714         * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
9715         soft registers by default for 68HC12.
9716         (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
9717         when compiling with -fomit-frame-pointer.
9718         (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
9719         (expand_epilogue): Likewise.
9720         (m68hc11_gen_rotate): Use exg when rotating by 8.
9721
9722 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9723
9724         * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
9725         * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
9726         (splits): Remove unused add splits.
9727         ("*addhi3_68hc12"): Tune constraints.
9728         ("addhi_sp"): Try to use X instead of Y in all cases and if the
9729         constant fits in 8-bits and D is dead use abx/aby instructions.
9730         ("*addhi3"): Remove extern declaration of ix_reg.
9731         ("*subsi3"): Optimize and provide new split.
9732         ("subhi3"): Cleanup.
9733         ("*subhi3_sp"): Avoid saving X if we know it is dead.
9734         (arith splits): For 68hc12 save the address register on the stack
9735         and do the arithmetic operation with a pop.
9736
9737 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9738
9739         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
9740         allocating QImode in address registers.
9741         ("*movqi_m68hc11"): Likewise.
9742
9743 Sat Mar 16 12:57:28 CET 2002  Jan HUbicka  <jh@suse.cz>
9744
9745         * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
9746
9747 2002-03-16  Neil Booth  <neil@daikokuya.demon.co.uk>
9748
9749         * cppinit.c (print_help): Display -MD and -MMD.
9750         Don't display usage string.  Update assertion syntax and
9751         typo.
9752         (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
9753         (cpp_handle_option): Update.
9754
9755 2002-03-15  Chris Demetriou  <cgd@broadcom.com>
9756
9757         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
9758         MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
9759         and define it so that regardless of target CPU size,
9760         __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
9761         of "int" rather than "long."
9762
9763 2002-03-15  Richard Henderson  <rth@redhat.com>
9764
9765         * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
9766         size as a tree.
9767
9768 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9769
9770         * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
9771         ("tstqi" split): Avoid using memory for tstqi on address register.
9772         (splits): Remove constraints.
9773         ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
9774         ("cmpdf", "cmpsf"): Remove since not used.
9775         ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
9776         (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
9777
9778 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9779
9780         * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
9781         ("neghi2"): Tighten constraints.
9782         ("one_cmplsi2"): Optimize and simplify split.
9783         * config/m68hc11/larith.asm (__negsi2): Likewise for library.
9784
9785 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9786
9787         * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
9788         and split of AND operation to clear the upper bits.
9789         ("*logicalsi3_zextqi"): Likewise.
9790         ("*logicallhi3_zexthi_ashift8"): Likewise.
9791         ("*logicalsi3_silshr16"): Likewise.
9792         ("logicalsi3_silshl16"): Likewise.
9793         ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
9794
9795 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9796
9797         * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
9798         (m68hc11_indirect_p): New function.
9799         (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
9800         (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
9801         TARGET_M6812.
9802         (asm_print_register): Likewise.
9803         * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
9804         (m68hc11_indirect_p): Declare.
9805         * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
9806         (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
9807         (TARGET_SWITCHES): New option -mrelax.
9808         * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
9809         destination.
9810         ("iorsi3", "xorsi3"): Likewise.
9811         ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
9812         ("*andhi3_mem"): New to handle destination in memory with bclr
9813         and a scratch register.
9814         ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
9815         ("*andhi3_const"): New when operand2 is constant.
9816         ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
9817         ("*andhi3_gen"): Cleanup of the old "andhi3".
9818         ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
9819         ("xorqi3"): Update constraints.
9820
9821 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9822
9823         * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
9824         for reg_equiv_memory_loc when the operand is a register that does
9825         not get a hard register (stack location).
9826         (tst_operand): After reload, accept all memory operand.
9827         (symbolic_memory_operand): Fix detection of symbolic references.
9828         * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
9829         accept symbols and any constant.
9830
9831 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9832
9833         * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
9834         note on the insn that sets the soft frame register.
9835         (must_parenthesize): ix and iy are also reserved names.
9836         (print_operand_address): One more place where parenthesis are required
9837         to avoid confusion with register names.
9838         (m68hc11_gen_movhi): Allow push of stack pointer.
9839         (m68hc11_check_z_replacement): Fix handling of parallel with a
9840         clobber.
9841         (m68hc11_z_replacement): Must update the REG_INC notes to tell what
9842         the replacement register is.
9843         * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
9844         and D8_REGS classes.
9845         (MODES_TIEABLE_P): All modes are tieable except QImode.
9846
9847 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9848
9849         * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
9850         (___subdi3): Likewise.
9851         (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
9852         (__map_data_section): Optimize 68hc11 case.
9853
9854 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9855
9856         * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
9857         than a shift to avoid adding a register with itself.
9858         (m68hc11_memory_move_cost): Take into account NO_REGS.
9859         (m68hc11_register_move_cost): Update and use memory move cost
9860         for soft registers.
9861         (m68hc11_address_cost): Make cost of valid offset not 0 so that
9862         it gives more opportunities to cse to optimize.
9863         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
9864         * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
9865
9866 2002-03-15  Mark Mitchell  <mark@codesourcery.com>
9867
9868         * c-common.c (statement_code_p): Handle CLEANUP_STMT.
9869         * c-common.def (CLEANUP_STMT): New tree node.
9870         * c-common.h (CLEANUP_DECL): New macro.
9871         (CLEANUP_EXPR): Likewise.
9872         * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
9873         * expr.c (expand_expr): Tidy.
9874         * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
9875         * tree-inline.c (initialize_inlined_parameters): Clean up
9876         new local variables.
9877
9878 2002-03-15  Jakub Jelinek  <jakub@redhat.com>
9879
9880         PR bootstrap/4128
9881         * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
9882         before movrXX only, use reg_overlap_mentioned_p.
9883         Only special case NE if just one insn can be generated.
9884
9885 2002-03-15  Jason Merrill  <jason@redhat.com>
9886
9887         * varasm.c (assemble_variable): Call resolve_unique_section before
9888         checking DECL_SECTION_NAME.  Use zeros for a decl with DECL_INITIAL
9889         of error_mark_node.
9890
9891 2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
9892
9893         PR target/5170
9894         * arm.md (split pattern for thumb shiftable immediates): Add comment
9895         explaining non-obvious test.
9896
9897 2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
9898
9899         PR target/5712
9900         * arm.md (movaddr, movaddr_insn): Delete.
9901
9902 2002-03-15  Jason Merrill  <jason@redhat.com>
9903
9904         * toplev.c (wrapup_global_declarations): Clarify variable handling.
9905         -fkeep-static-consts doesn't apply to comdats.
9906
9907 2002-03-14  Richard Henderson  <rth@redhat.com>
9908
9909         * c-decl.c: Include c-pragma.h.
9910         (start_decl, start_function): Invoke maybe_apply_pragma_weak.
9911         (finish_function): Tidy.
9912         * c-pragma.c: Include c-common.h.
9913         (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
9914         (handle_pragma_weak): Use them.
9915         (init_pragma): Register pending_weaks.
9916         * c-pragma.h (maybe_apply_pragma_weak): Declare.
9917         * print-tree.c (print_node): Print DECL_WEAK.
9918         * varasm.c (mark_weak_decls): Remove.
9919         (remove_from_pending_weak_list): Remove.
9920         (add_weak): Remove.
9921         (asm_emit_uninitialised): Call globalize_decl for weak commons.
9922         (weak_decls): Make a tree_list.
9923         (declare_weak): Cons weak_decls directly.
9924         (globalize_decl): Remove weak_decls elements directly.
9925         (weak_finish): Simplify weak_decls walk.  Don't weaken unused
9926         symbols.  Don't pretend to handle aliases.
9927         (init_varasm_once): Update weak_decls registry.
9928         * Makefile.in: Update dependencies.
9929
9930 2002-03-14  Richard Henderson  <rth@redhat.com>
9931
9932         PR target/5312
9933         * config/ia64/ia64.c: Include tm_p.h last.
9934         (gen_nop_type): Remove duplicate definition.
9935         (cycle_end_fill_slots): Set sched_data for second L slot.
9936         (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
9937         (nop_cycles_until): Fix typos.
9938
9939 2002-03-15  Jakub Jelinek  <jakub@redhat.com>
9940
9941         PR optimization/5891
9942         * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
9943
9944 2002-03-14  David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
9945
9946         * config/ia64/unwind-ia64.c: Handle copy_state and label_state
9947           descriptors correctly.
9948
9949 2002-03-14  Michael Meissner  <meissner@redhat.com>
9950
9951         * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
9952         100, allowing MAX_UNROLLED_INSNS to be overridden.
9953
9954         * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
9955         --param.
9956
9957         * unroll.c (params.h): Include.
9958         (MAX_UNROLLED_INSNS): Delete, now in params.h.
9959
9960         * doc/invoke.texi (--param max-unroll-insns): Document.
9961
9962         * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
9963
9964 2002-03-14  Richard Earnshaw  <rearnsha@arm.com>
9965
9966         * arm.md: Fix warnings about constraints in peepholes and splits.
9967
9968 2002-03-14  Zack Weinberg  <zack@codesourcery.com>
9969
9970         * cpphash.h (struct lexer_state): Remove line_extension member.
9971         * cpplib.c (dequote_string, do_linemarker): New functions.
9972         (linemarker_dir): New data object.
9973         (DIRECTIVE_TABLE): No longer need to interpret #line in
9974         preprocessed source.  Delete obsolete comment about return
9975         values of handlers.
9976         (end_directive, directive_diagnostics, _cpp_handle_directive):
9977         Don't muck with line_extension.
9978         (directive_diagnostics): No need to issue warnings for
9979         linemarkers here.
9980         (_cpp_handle_directive): Issue warnings for linemarkers here,
9981         when appropriate.  Dispatch linemarkers to do_linemarker, not
9982         do_line.
9983         (do_line): Code to handle linemarkers split out to do_linemarker.
9984         Convert escape sequences in filename argument, both places.
9985
9986         * cppmacro.c (quote_string): Rename cpp_quote_string and
9987         export.  All callers changed.
9988         * cpplib.h (cpp_quote_string): Prototype.
9989         * cppmain.c (print_line): Call cpp_quote_string on to_file
9990         before printing it.
9991
9992         * doc/cpp.texi: Document that escapes are now interpreted in
9993         #line and in linemarkers, and that non-printing characters are
9994         converted to octal escapes when linemarkers are generated.
9995
9996 Thu Mar 14 19:04:29 CET 2002  Jan Hubicka  <jh@suse.cz>
9997
9998         * emit-rtl.c (try_split): Use delete_insns.
9999         * recog.c (split_all_insns): Fix terminating condition.
10000
10001 2002-03-14  Richard Earnshaw  <rearnsha@arm.com>
10002             Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
10003
10004         PR target/5828
10005         * arm.c (arm_output_epilogue): Fix floating-point register save
10006         adjustment when using a frame pointer.
10007
10008 2002-03-14  Richard Sandiford  <rsandifo@redhat.com>
10009
10010         * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
10011         * config/mips/mips.c (compute_frame_size): Retrofit them here.
10012         (save_restore_insns, mips_expand_epilogue): And here.
10013         (build_mips16_call_stub): And here.
10014         (mips_function_value): Use the new macros to decide whether a single
10015         or complex float can be returned in floating-point registers.  Return
10016         a parallel rtx in the complex case.
10017
10018 Thu Mar 14 11:03:12 CET 2002  Jan Hubicka  <jh@suse.cz>
10019
10020         * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
10021         call after liveness analysis.
10022
10023         * recog.c (split_insn): Use delete_insn_and_edges.
10024
10025         * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
10026         instructions to have branch prediction notes.
10027         * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
10028
10029 2002-03-14  Geoffrey Keating  <geoffk@redhat.com>
10030
10031         * configure.in: Don't pass -Wno-long-long to a ADA compiler
10032         that doesn't support it.
10033         * configure: Regenerate.
10034
10035 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
10036
10037         PR target/5626
10038         * config/sparc/sparc.md (normal_branch, inverted_branch,
10039         normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
10040         inverted_fp_branch): Adjust calls to output_cbranch.
10041         Set length attribute.
10042         (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
10043         output_v9branch.  Set length attribute.
10044         * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
10045         predicates.
10046         (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
10047         (output_cbranch): Likewise.  Handle far branches.
10048         (output_v9branch): Handle far branches.
10049         * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
10050         Adjust prototypes.
10051         * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
10052         noov_compare64_op predicates.
10053
10054 2002-03-13  Jason Merrill  <jason@redhat.com>
10055
10056         * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
10057         into the function and constify it.
10058         * gthr-dce.h, gthr-solaris.h: Likewise.
10059
10060 2002-03-13  David Edelsohn  <edelsohn@gnu.org>
10061
10062         * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
10063         * config/rs6000/rs6000.c (rs6000_va_arg): Use
10064         std_expand_builtin_va_arg if not ABI_V4.
10065
10066 2002-03-13  Jason Merrill  <jason@redhat.com>
10067
10068         * varasm.c (globalize_decl): New fn.
10069         (assemble_start_function): Use it.
10070         (asm_emit_uninitialized): Use it.
10071         (assemble_alias): Use it.
10072         (assemble_variable): Use it.
10073
10074 2002-03-13  Hans-Peter Nilsson  <hp@axis.com>
10075
10076         * config/cris/cris.c (cris_target_asm_function_prologue): Revert
10077         2002-03-12 internal visibility change.
10078         (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
10079         visibility into SYMBOL_REF_FLAG.
10080
10081 2002-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
10082
10083         * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
10084         VOIDmode operand.  Add compile-time optimization for constant results.
10085
10086 2002-03-12  Jason Merrill  <jason@redhat.com>
10087
10088         * c-typeck.c (convert_for_assignment): Don't allow conversions
10089         between pointers and references.  Only allow lvalues to convert to
10090         reference.
10091
10092 2002-03-13  Hartmut Penner  <hpenner@de.ibm.com>
10093
10094         * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
10095         before prologue, to avoid scheduling problems.
10096
10097 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
10098
10099         * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
10100         (ELIMINABLE_REGS): Add sfp->sp.
10101         (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
10102
10103 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
10104
10105         PR optimization/5892
10106         * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
10107
10108 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
10109
10110         * loop.c (basic_induction_var): Don't call convert_modes if mode
10111         classes are different.
10112
10113 2002-03-12  Richard Henderson  <rth@redhat.com>
10114
10115         PR optimization/5901
10116         * function.c (reposition_prologue_and_epilogue_notes): Position
10117         the markers after/before the last/first insn not deleted.
10118
10119 2002-03-12  Richard Henderson  <rth@redhat.com>
10120
10121         PR optimization/5878
10122         * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
10123         config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
10124         (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
10125
10126         * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
10127         config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
10128         PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
10129
10130         * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
10131         * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
10132         (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
10133         also.  Don't set it if not flag_pic.
10134         * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
10135         to be INVALID_REGNUM when not used.
10136
10137 2002-03-13  Aldy Hernandez  <aldyh@redhat.com>
10138
10139         * expmed.c (store_bit_field): Reset alias set for memory.
10140         (extract_bit_field): Same.
10141
10142 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10143
10144         * c-common.c (c_tree_code_type, c_tree_code_length,
10145         c_tree_code_name, add_c_tree_codes): Delete.
10146         * c-common.h (add_c_tree_codes): Delete.
10147         * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
10148         Define.
10149         * c-objc-common.c (c_objc_common_init): Don't call
10150         add_c_tree_codes, instead set lang_unsafe_for_reeval.
10151         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
10152         objc_tree_code_name, add_objc_tree_codes): Delete.
10153         (objc_init): Don't call add_objc_tree_codes.
10154         * objc/objc-lang.c (tree_code_type, tree_code_length,
10155         tree_code_name): Define.
10156         * toplev.c (lang_independent_init): Don't set
10157         tree_code_length[IDENTIFIER_NODE].
10158         * tree.c (tree_code_type, tree_code_length, tree_code_name):
10159         Delete definitions, moved to language front-ends.
10160         * tree.def (IDENTIFIER_NODE): Hardwire the length.
10161         * tree.h (tree_code_type, tree_code_length, tree_code_name):
10162         Const-ify.
10163         (tree_code_length): Change type to unsigned char.
10164
10165 2002-03-12  Richard Henderson  <rth@redhat.com>
10166
10167         * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
10168         internal visibility change.
10169
10170 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
10171
10172         * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
10173         validize_mem() instead of change_address to avoid clobbering
10174         memory attributes.
10175
10176 2002-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
10177
10178         * c-lex.h (position_after_whitespace): Remove.
10179
10180 2002-03-12  Jakub Jelinek  <jakub@redhat.com>
10181
10182         * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
10183         (lex_string): Use unsigned char pointers.
10184
10185 2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
10186
10187         * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
10188         is not a valid memory_operand.
10189
10190 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
10191
10192         * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
10193         * config/xtensa/lib1funcs.asm: Fix copyright to include
10194         special case for libgcc files.
10195         (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
10196         (__divsi3): Likewise.
10197         (__umodsi3): Likewise.
10198         (__modsi3): Likewise.
10199         * config/xtensa/lib2funcs.S: Fix copyright to include
10200         special case for libgcc files.
10201
10202 2002-03-12  Tom Rix  <trix@redhat.com>
10203
10204         * collect2.c (resolve_lib_name): Move outside of
10205         OBJECT_FORMAT_COFF ifdef.
10206         (ignore_library): Same.
10207
10208 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
10209
10210         * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
10211
10212 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
10213
10214         * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
10215         to function_section before writing out the constant pool.
10216
10217 2002-03-12  David Edelsohn  <edelsohn@gnu.org>
10218
10219         * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
10220         zero_constant.
10221         * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
10222
10223 2002-03-12  Alan Modra  <amodra@bigpond.net.au>
10224
10225         * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
10226         (adddi3): Likewise.
10227         (movdf): Likewise.
10228         (movdi): Likewise.
10229         (cmpsi splitter): Likewise.
10230         (modsi3): Fail if <= 0.
10231         * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
10232         redundant test when HOST_BITS_PER_WIDE_INT != 32.
10233         (reg_or_sub_cint64_operand): Likewise.
10234         (num_insns_constant_wide): Optimize sign extension.
10235         (rs6000_legitimize_address): Likewise.
10236
10237 2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
10238
10239         * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
10240         * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
10241
10242 2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
10243
10244         * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
10245         address calculation.
10246
10247 2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
10248
10249         * config/s390/s390.md (reload_insi, reload_indi): Change mode of
10250         scratch register to DImode / TImode.
10251         config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
10252         register used does not overlap the target.
10253
10254 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10255
10256         * Makefile.in (debug.o): Depend on debug.h.
10257         * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
10258         * debug.c (do_nothing_debug_hooks): Likewise.
10259         * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
10260         sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
10261         dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
10262         * dwarf2out.c (dwarf2_debug_hooks): Likewise.
10263         * dwarfout.c (dwarf_debug_hooks): Likewise.
10264         * integrate.c (output_inline_function): Likewise.
10265         * objc/objc-act.c (synth_module_prologue): Likewise.
10266         * sdbout.c (sdb_debug_hooks): Likewise.
10267         * toplev.c (debug_hooks): Likewise.
10268         * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
10269
10270 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10271
10272         * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
10273         dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
10274         m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
10275         ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
10276         v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
10277         * defaults.h (POINTER_SIZE): Define.
10278         * doc/tm.texi (POINTER_SIZE): Document default.
10279
10280 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10281
10282         * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
10283
10284 2002-03-11  Richard Henderson  <rth@redhat.com>
10285
10286         * toplev.c (rest_of_compilation): Call purge_all_dead_edges
10287         if rebuild_label_notes_after_reload.
10288
10289 2002-03-12  Hans-Peter Nilsson  <hp@axis.com>
10290
10291         * config/cris/cris.c (cris_target_asm_function_prologue):  Do not
10292         emit pic register load if "internal" visibility.
10293         (cris_print_operand): Avoid traditional-warning for 0xffffffff.
10294         (cris_expand_builtin_va_arg): Do all computations on trees.
10295
10296 2002-03-11  Richard Henderson  <rth@redhat.com>
10297
10298         * rtlanal.c: Include recog.h.
10299         (keep_with_call_p): Fix thinko.
10300         * Makefile.in (rtlanal.o): Update dependencies.
10301
10302 2002-03-11  Chris Meyer  <cmeyer@gatan.com>
10303
10304         * genflags.c (gen_insn): Use IS_VSPACE.
10305         * genoutput.c (output_insn_data): Likewise.
10306         (process_template): Likewise.
10307
10308 2002-03-11  Richard Henderson  <rth@redhat.com>
10309
10310         * toplev.c (rest_of_compilation): Don't compile if we've had errors.
10311
10312 2002-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10313
10314         * Makefile.in: Update.
10315         * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
10316         Update documentation.
10317         * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
10318         * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
10319
10320 2002-03-11  Zack Weinberg  <zack@codesourcery.com>
10321
10322         * Makefile.in: Give texi2pod its input file as a command line
10323         argument, not on stdin.
10324
10325 2002-03-11  Dan Nicolaescu  <dann@ics.uci.edu>
10326             Daniel Berlin  <dan@dberlin.org>
10327
10328         C++ alias analysis improvement.
10329         * alias.c (record_component_aliases): Record aliases for base
10330         classes too.
10331
10332 2002-03-11  Ulrich Weigand  <uweigand@de.ibm.com>
10333
10334         * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
10335
10336 2002-03-11  Douglas B Rupp  <rupp@gnat.com>
10337
10338         * toplev.c (vms_fopen): Remove, not needed.
10339
10340         * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
10341
10342         * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
10343
10344         * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
10345         for FP, already done later.
10346
10347         * toplev.c (debug_args): Add entry for VMS_DEBUG.
10348         * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
10349
10350 2002-03-11  Richard Sandiford  <rsandifo@redhat.com>
10351
10352         * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
10353         (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
10354         LARGEST_EXPONENT_IS_NORMAL for the given mode.
10355         (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
10356         * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
10357         (ediv, emul, eldexp, esqrt): Likewise.
10358         (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
10359         (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
10360         (saturate): New function.
10361         (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
10362         (make_nan): Use a saturation value instead of a NaN if
10363         LARGEST_EXPONENT_IS_NORMAL.  Warn when this happens.
10364         * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
10365         inputs if LARGEST_EXPONENT_IS_NORMAL.  Represent subnormals as
10366         zero if NO_DENORMALS.  Only round to nearest if !ROUND_TOWARDS_ZERO.
10367         (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
10368         (_fpmul_parts, _fpdiv_parts): Only round to nearest if
10369         !ROUND_TOWARDS_ZERO.
10370         * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
10371         (ROUND_TOWARDS_ZERO): Document.
10372
10373 2002-03-11  Andreas Jaeger  <aj@suse.de>
10374
10375         * cfg.c (dump_flow_info): Remove unused variable.
10376
10377 2002-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
10378
10379         * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
10380         computations on trees.
10381
10382 2002-03-10  Richard Henderson  <rth@redhat.com>
10383
10384         PR 5693:
10385         * reload.c (copy_replacements_1): New.
10386         (copy_replacements): Use it to recurse through the rtx.
10387
10388 2002-03-10  Richard Henderson  <rth@redhat.com>
10389
10390         * loop.c (strength_reduce): Compute number of iterations as
10391         unsigned HOST_WIDE_INT.
10392
10393 2002-03-10  Richard Henderson  <rth@redhat.com>
10394
10395         * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
10396         to move away from the end of the block.
10397
10398 2002-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10399
10400         PR preprocessor/5899
10401         * cppinit.c (init_dependency_output): Don't ignore -dM etc.
10402
10403 2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10404
10405         * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
10406
10407         * attribs.c (decl_attributes): Fix signed/unsigned warning.
10408
10409 2002-03-10  Hans-Peter Nilsson  <hp@bitrange.com>
10410
10411         * config/mmix/mmix.c: Improve comments.
10412         (mmix_target_asm_function_prologue): Drop variable
10413         empty_stack_frame.  Don't allocate unused slot above fp.
10414         (mmix_target_asm_function_epilogue): Mirror prologue changes.
10415         * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
10416         brace in first column.
10417         (enum reg_class): Ditto.
10418         (FIRST_PARM_OFFSET): Now 0.
10419         (USER_LABEL_PREFIX): Remove #if 0:d definition.
10420
10421 2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10422
10423         * combine.c (make_extraction): Fix error in last change.
10424
10425 2002-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10426
10427         * c4x.c (c4x_fp_reglist): Const-ify.
10428         * cris.c (cris_print_operand): Likewise.
10429         * i386.c (ix86_va_arg): Likewise.
10430         * ia64/unwind-ia64.c (unw_decode_table): Likewise.
10431         * m32r.c (m32r_hard_regno_mode_ok): Likewise.
10432         * m32r.h (m32r_hard_regno_mode_ok): Likewise.
10433         * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
10434         * mcore.h (regno_reg_class): Likewise.
10435         * mips.c (gen_int_relational): Likewise.
10436         * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
10437         * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
10438         * pdp11.c (move_costs): Likewise.
10439         * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
10440         * s390.c (s390_branch_condition_mnemonic, regclass_map):
10441         Likewise.
10442         * s390.h (regclass_map): Likewise.
10443         * sh.c (shift_amounts): Likewise.
10444         * sh.md (rotlsi3): Likewise.
10445
10446 2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
10447
10448         * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
10449         (ne0+5): Use new clobber to generate proper shift pattern.
10450         Patch by Michael Matz <matz@kde.org>.
10451
10452 2002-03-09  Andreas Schwab  <schwab@suse.de>
10453
10454         * gcc.c (validate_all_switches): Also handle `%W{...}'.
10455
10456 2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
10457
10458         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
10459
10460 2002-03-09  Jakub Jelinek  <jakub@redhat.com>
10461
10462         PR middle-end/5877
10463         * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
10464         even for non-representable constants.
10465
10466 Sat Mar  9 07:20:01 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10467
10468         * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
10469         * function.c (fixup_var_refs): Add MAY_SHARE parameter.
10470         (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
10471         (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
10472         (pop_function_context): Compute MAY_SHARE parameter for
10473         fixup_var_refs.
10474         (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
10475         (gen_mem_addressof): Call fixup_var_refs with new parm.
10476
10477         * combine.c (make_extraction): Don't make extension of CONST_INT.
10478
10479 2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
10480
10481         * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
10482         in o32 and o64 ABIs.
10483         * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
10484         but getting fixed-size structs passed in registers regardless of
10485         padding in o32 and o64 ABIs.
10486
10487         * config/mips/mips.c (mips_va_arg): Apply big-endianness address
10488         offset before loading address of argument passed by transparent
10489         reference.
10490
10491 2002-03-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10492
10493         * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
10494
10495 2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
10496
10497         * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
10498         marker such that registers after it are saved.
10499
10500 2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10501
10502         * sparc.c (arith_4096_operand): Fix error in last change.
10503
10504 2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
10505
10506         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
10507         defaults for MEABI.
10508
10509 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
10510
10511         * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
10512         vectors.
10513
10514 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
10515
10516         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
10517
10518 Fri Mar  8 21:27:49 CET 2002  Jan Hubicka  <jh@suse.cz>
10519
10520         * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
10521         removed; fix return value.
10522         * combine.c (combine_instructions): Dirtify blocks where we failed to
10523         update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
10524         * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
10525
10526 2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10527
10528         * gcse.c (insert_insn_end_bb): Fix typo in last change.
10529
10530 Fri Mar  8 21:08:52 CET 2002  Jan Hubicka  <jh@suse.cz>
10531
10532         * recog.c (peephole2_optimize): Re-distribute EH edges.
10533
10534 2002-03-08  Neil Booth  <neil@daikokuya.demon.co.uk>
10535
10536         * expr.c (expand_expr): Use unsave lang hook.
10537         * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
10538         (LANG_HOOKS_INITIALIZER): Update.
10539         * langhooks.h (struct lang_hooks): New hook unsave.
10540         * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
10541         (unsave_expr_1): Remove unused lang_unsave_expr_now.
10542         (unsave_expr_now_r): Rename lhd_unsave.  Update. Return input.
10543         (unsave_expr_now): Remove.
10544         * tree.h (unsave_expr_now, lang_unsave,
10545         lang_unsave_expr_now): Remove.
10546         (lhd_unsave): New.
10547
10548 2002-03-08  Andreas Jaeger  <aj@suse.de>
10549
10550         * flow.c (propagate_block_delete_insn): Remove unused variable.
10551
10552 2002-03-08  Kazu Hirata  <kazu@hxi.com>
10553
10554         * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
10555         insn length for memory load/store.
10556
10557 2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10558
10559         * doc/install.texi (--with-libiconv-prefix): Document.
10560
10561 2002-03-08  Michael Y. Brukman  <myb2@cornell.edu>
10562
10563         * doc/sourcebuild.texi: Fix typo.
10564
10565 2002-03-08  Jakub Jelinek  <jakub@redhat.com>
10566
10567         PR c/3711
10568         * builtins.c (std_expand_builtin_va_arg): Do all computations on
10569         trees.
10570
10571 Fri Mar  8 06:48:45 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10572
10573         * rtl.c (copy_most_rtx): Move from here ...
10574         * emit-rtl.c (copy_most_rtx): ... to here.
10575
10576 2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
10577
10578         * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
10579         SUBTARGET_CPP_SIZE_SPEC.
10580         * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
10581
10582         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
10583
10584 2002-03-07  Matt Hiller  <hiller@redhat.com>
10585
10586         * gensupport.c (first_dir_md_include): Renamed from include;
10587         change all references.
10588         (last_dir_md_include): Renamed from last_include; change all
10589         references.
10590         (init_md_reader): Unconditionally initialize base_dir whether or
10591         not filename is a relative path.
10592
10593 2002-03-07  Alexandre Oliva  <aoliva@redhat.com>
10594
10595         * config/fp-bit.c (_unord_f2): Compile it in even if
10596         US_SOFTWARE_GOFAST is enabled.
10597
10598         * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
10599         NULL_RTX.  Set all HFmode operations as NULL_RTX.
10600         * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
10601         NULL_RTX, try reversing the comparison and the operands.
10602
10603 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
10604
10605         * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
10606         genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
10607         and MATCH_OP_DUP.
10608
10609 Thu Mar  7 16:54:10 CET 2002  Jan Hubicka  <jh@suse.cz>
10610
10611         * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
10612
10613 Thu Mar  7 16:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
10614
10615         * basic-block.h (fixup_abnormal_edges): Declare.
10616         * reload1.c (fixup_abnormal_edges): New function.
10617         * reg-stack.c (convert_regs): Use it.
10618
10619         * gcse.c (insert_insn_end_bb): Handle trapping insns.
10620
10621         * gcse.c (hash_scan_set): Refuse instructions with EH edges.
10622
10623 2002-03-07  Richard Sandiford  <rsandifo@redhat.com>
10624
10625         * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
10626         (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
10627         * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
10628         (HONOR_SIGN_DEPENDENT_ROUNDING): New.
10629         * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
10630         * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
10631         unless x and y could be infinite.
10632         (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
10633         Check that the common type of both arguments is a real, even for
10634         targets without unordered comparisons.  Allow an integer argument
10635         to be compared against a real.
10636         (expand_tree_builtin): Use expand_unordered_cmp.
10637         * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
10638         * cse.c (fold_rtx): Likewise.  Fix indentation.
10639         * fold-const.c (fold_real_zero_addition_p): New.
10640         (fold): Use it, and the new HONOR_... macros.
10641         * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
10642         * jump.c (reversed_comparison_code_parts): After searching for
10643         the true comparison mode, use HONOR_NANS to decide whether it
10644         can be safely reversed.
10645         (reverse_condition_maybe_unordered): Remove IEEE check.
10646         * simplify-rtx.c (simplify_binary_operation): Use the new macros
10647         to decide which simplifications are valid.  Allow the following
10648         simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
10649         and (a - -b) to (a + b).
10650         (simplify_relational_operation): Use HONOR_NANS.
10651         * doc/tm.texi: Document the MODE_HAS_... macros.
10652
10653 2002-03-07  Richard Earnshaw  <rearnsha@arm.com>
10654
10655         * combine.c (simplify_comparison): If simplifying a logical shift
10656         right and compare with constant, force the comparison to unsigned.
10657
10658 2002-03-07  Aldy Hernandez  <aldyh@redhat.com>
10659
10660         * doc/invoke.texi: Add documentation for -mabi=no-altivec.
10661
10662         * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
10663         -mabi=no-altivec
10664         (alt_reg_names): Remove % for vrsave.
10665
10666 2002-03-06  Richard Henderson  <rth@redhat.com>
10667
10668         PR optimization/5844
10669         * genemit.c (gen_exp): New argument used.  Invoke copy_rtx
10670         if used indicates we've already emitted one copy of an operand.
10671         (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
10672         (gen_split): Supply a non-null used.
10673
10674 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
10675
10676         * reload1.c (reload): Unshare all rtl after reload is done.
10677
10678         * simplify-rtx.c (simplify_plus_minus): Do not abort,
10679         but simply fail if the expression is too complex to simplify.
10680         (simplify_gen_binary): Handle simplify_plus_minus failures.
10681
10682 Wed Mar  6 20:32:09 CET 2002  Jan Hubicka  <jh@suse.cz>
10683
10684         * toplev.c (rest_of_compilation): Do jump threading before SSA path;
10685         consistently call delete_trivially_dead_insns after CSE and GCSE;
10686         fix DFI_life dumping; do jump threading after liveness; do crossjumping
10687         after liveness2; update comment in last crossjumping.
10688         * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
10689
10690 Wed Mar  6 12:27:10 2002  Jeffrey A Law  (law@redhat.com)
10691
10692         * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
10693         after completing fast dead code elimination.
10694
10695         * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
10696         COMPARE operator.
10697
10698 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
10699
10700         * version.c:  Fix misplaced leading blanks on first line.
10701
10702 Wed Mar  6 19:08:03 CET 2002  Jan Hubicka  <jh@suse.cz>
10703
10704         * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
10705
10706 Wed Mar  6 18:14:43 CET 2002  Jan Hubicka  <jh@suse.cz>
10707
10708         * cfgcleanup.c (mentions_nonequal_regs): New function.
10709         (thread_jump): Use it.
10710         * toplev.c (rest_of_compilation): Run jump threading after
10711         liveness.
10712
10713 2002-03-06  Jakub Jelinek  <jakub@redhat.com>
10714
10715         * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
10716         patch.
10717
10718 Wed Mar  6 11:28:19 CET 2002  Jan Hubicka  <jh@suse.cz>
10719
10720         * predict.c (estimate_bb_frequencies): Do not reload the
10721         frequencies from notes.
10722
10723 Wed Mar  6 10:59:39 CET 2002  Jan Hubicka  <jh@suse.cz>
10724
10725         * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
10726         * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
10727
10728         * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
10729         delete_noop_moves): Return indeger.
10730         * flow.c (ndead): New variable.
10731         (propagate_block_delete_insn): Use delete_insn_and_edges; remove
10732         BB argument; update callers.
10733         (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
10734         (life_analysis): Do not call purge_all_dead_edges.
10735         (update_life_info): Return number of deleted insns; print statistics.
10736         (update_life_info_in_dirty_blocks): likewise.
10737         (delete_noop_moves): Use delete_insn_and_edges; print statistics;
10738         return number of insns deleted.
10739
10740         * cse.c: Include timevar.h
10741         (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
10742         iterate until stabilizes; print statistics; return number of killed
10743         insns.
10744         * Makefile.in: (cse.o): Add timevar.h dependency
10745         * rtl.h (delete_trivially_dead_insns): New.
10746         * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
10747         * toplev.c (rest_of_compilation): Update callers.
10748
10749         * cfgcleanup.c (try_optimize_cfg): Kill blocks.
10750         (try_optimize_cfg): Do not update liveness.
10751         (cleanup-cfg): Loop until try_optimize_cfg and dead code
10752         removal stabilizes; use delete_trivially_dead_insns.
10753
10754         * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
10755
10756 2002-03-05  Zack Weinberg  <zack@codesourcery.com>
10757
10758         * cppmain.c (setup_callbacks): Disable #pragma and #ident
10759         callbacks when processing assembly language.
10760
10761 2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10762
10763         * pa.h (ASM_FILE_END): Define.
10764         * som.h (ASM_FILE_END): Delete.
10765
10766         * pa.c (function_arg): Don't pass floats in general registers in
10767         indirect calls if TARGET_ELF32.
10768
10769 2002-03-05  Richard Henderson  <rth@redhat.com>
10770
10771         * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
10772
10773 2002-03-05  Danny Smith  <dannysmith@users.sourceforge.net>
10774
10775         * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
10776
10777 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
10778
10779         * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
10780         -r command line.  Don't hide any symbols if not building
10781         shared libgcc.
10782
10783 Tue Mar  5 18:31:27 CET 2002  Jan Hubicka  <jh@suse.cz>
10784
10785         * cfg.c (dump_flow_info): Warn about profile mismatches.
10786         * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
10787         (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
10788
10789 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
10790
10791         * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
10792         wide volatile memory by parts.
10793
10794 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
10795
10796         * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
10797         is NULL.
10798
10799 2002-03-05  Richard Henderson  <rth@redhat.com>
10800
10801         * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
10802
10803 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
10804
10805         * toplev.c (documented_lang_options): Document more
10806         language-specific options.
10807         * doc/invoke.texi (Warning Options): Correct documentation for
10808         -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
10809         * c-decl.c (c_decode_option): Use a table to handle warning options.
10810
10811 2002-03-05  Hans-Peter Nilsson  <hp@bitrange.com>
10812
10813         * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
10814         parameter to mmix_encode_section_info.
10815         (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
10816         relocatably.  Always produce ELF, not mmo if linking relocatably.
10817         * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
10818         first is non-zero, don't add symbol prefix.
10819         * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
10820         prototype accordingly.
10821
10822 2002-03-04  Krister Walfridsson  <cato@df.lth.se>
10823
10824         * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
10825
10826 2002-03-05  Joseph S. Myers  <jsm28@cam.ac.uk>
10827
10828         * configure.in: Increase required makeinfo version to 4.1.
10829         * configure: Regenerate.
10830
10831 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
10832
10833         * .cvsignore: Remove *.info* and genrtl*; these files are generated
10834         elsewhere now.
10835
10836 2002-03-04  Joseph S. Myers  <jsm28@cam.ac.uk>
10837
10838         * doc/include/texinfo.tex: Update to version 2002-03-01.06.
10839         * doc/invoke.texi: Fix @math uses.
10840
10841 Mon Mar  4 15:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
10842
10843         * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
10844         removal
10845
10846 2002-03-03  Aldy Hernandez  <aldyh@redhat.com>
10847
10848         * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
10849         (powerpc-*-eabisimaltivec*): Same.
10850
10851         * config/rs6000/t-ppcendian: New.
10852
10853 2002-03-04  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10854
10855         * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
10856         nonimmediate_src_operand and nonimmediate_lsrc_operand to
10857         disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
10858
10859 2002-03-03  Richard Henderson  <rth@redhat.com>
10860
10861         * toplev.c (rest_of_decl_compilation): Revert last two changes.
10862
10863 2002-03-03  Zack Weinberg  <zack@codesourcery.com>
10864
10865         * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
10866         print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
10867         tree.c, config/m68k/m68k.c:
10868         Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
10869         REAL_ARITHMETIC blocks unconditional.  Delete some further
10870         #ifdef blocks predicated on REAL_ARITHMETIC.
10871         * flags.h, toplev.c: Delete remaining references to
10872         flag_pretend_float.
10873
10874         * doc/invoke.texi: Remove documentation of -fpretend-float.
10875         * doc/tm.texi: Describe the various REAL_* macros as provided by
10876         real.h, not by the target configuration files.
10877
10878         * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
10879         config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
10880         config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
10881         config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
10882         config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
10883         config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
10884         config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
10885         config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
10886         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
10887         config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
10888         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
10889         config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
10890         config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
10891         config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
10892         config/xtensa/xtensa.h:
10893         Do not define, undefine, or mention in comments any of
10894         REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
10895         REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
10896         REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
10897         REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
10898         REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
10899         REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
10900         REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
10901         REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
10902         REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
10903
10904 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10905
10906         * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
10907         convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
10908         i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
10909         m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
10910         pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
10911         stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
10912         Delete.
10913         * defaults.h (BITS_PER_WORD): Define.
10914         * doc/tm.texi (BITS_PER_WORD): Document default value.
10915
10916         * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
10917         m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
10918         stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
10919
10920 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10921
10922         * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
10923         lieu of explicit sizeof/sizeof.
10924         * i386.c (override_options, ix86_init_mmx_sse_builtins,
10925         ix86_expand_builtin): Likewise.
10926         * mips.c (mips_add_gc_roots): Likewise.
10927         * mmix.c (mmix_output_condition): Likewise.
10928         * rs6000.c (rs6000_override_options, altivec_expand_builtin,
10929         altivec_init_builtins): Likewise.
10930         * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
10931         * cppexp.c (Nsuff, parse_number): Likewise.
10932         * cppinit.c (builtin_array_end): Likewise.
10933         * gcc.c (n_default_compilers, process_command): Likewise.
10934         * genpreds.c (output_predicate_decls): Likewise.
10935         * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
10936         * lcm.c (N_ENTITIES): Likewise.
10937         * stor-layout.c (set_sizetype): Likewise.
10938
10939 2002-03-03  Richard Henderson  <rth@redhat.com>
10940
10941         * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
10942         for types or labels.
10943
10944 2002-03-03  Richard Henderson  <rth@redhat.com>
10945
10946         * c-decl.c (start_decl): Initialized variables are not common.
10947
10948 2002-03-02  Per Bothner  <per@bothner.com>
10949
10950         * gcc.c (option_map):  Suport new --bootclasspath option.
10951         --CLASSPATH is now just an alias for --classpath.
10952
10953 2002-03-02  Richard Henderson  <rth@redhat.com>
10954
10955         * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
10956         load if "internal" visibility.
10957         * doc/extend.texi: Document visibility meanings.
10958
10959 2002-03-02  Richard Henderson  <rth@redhat.com>
10960
10961         * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
10962         to functions as well.
10963
10964 2002-03-02  Richard Henderson  <rth@redhat.com>
10965
10966         * attribs.c (handle_alias_attribute): Don't call assemble_alias.
10967         (handle_visibility_attribute): Don't call assemble_visibility.
10968         * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
10969         without asmspec.  Invoke assemble_alias when needed.
10970         * varasm.c (maybe_assemble_visibility): New.
10971         (assemble_start_function, assemble_variable, assemble_alias): Use it.
10972
10973 2002-03-02  Richard Henderson  <rth@redhat.com>
10974
10975         * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
10976         invoke ENCODE_SECTION_INFO with first call flag.
10977
10978         * config/darwin-protos.h, config/darwin.c, config/darwin.h,
10979         config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
10980         config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
10981         config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
10982         config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
10983         config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
10984         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
10985         config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
10986         config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
10987         config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
10988         config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
10989         config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
10990         config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
10991         config/m68hc11/m68hc11.h, config/m88k/m88k.h,
10992         config/mcore/mcore-protos.h, config/mcore/mcore.c,
10993         config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
10994         config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
10995         config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
10996         config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
10997         config/sh/sh.h, config/sparc/sparc.h,
10998         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
10999         config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
11000         config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
11001         FIRST argument.  As needed, examine it and do nothing.
11002
11003         * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
11004         config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
11005         config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
11006
11007         * config/arm/t-pe (pe.o): Add dependencies.
11008
11009 2002-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11010
11011         * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
11012         cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
11013         i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
11014         mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
11015         pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
11016         vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
11017         * defaults.h (BITS_PER_UNIT): Define.
11018         * doc/tm.texi (BITS_PER_UNIT): Document default value.
11019
11020 2002-03-02  Kazu Hirata  <kazu@hxi.com>
11021
11022         * config/h8300/h8300-protos.h: Add a prototype for
11023         compute_a_shift_length.
11024         * config/h8300/h8300.c (h8300_asm_insn_count): New.
11025         (compute_a_shift_length): Likewise.
11026         (h8300_adjust_insn_length): Do not adjust insn length of shift
11027         insns.
11028         * config/h8300/h8300.md (anonymous shift patterns): Use
11029         compute_a_shift_length.
11030
11031 Sat Mar  2 06:30:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11032
11033         * config/sparc/sparc.c (sparc_initialize_trampoline): Use
11034         trunc_int_for_mode.
11035
11036         * emit-rtl.c (offset_address): Call update_temp_slot_address.
11037
11038 2002-03-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11039
11040         * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
11041         * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
11042         * flags.h (flag_zero_initialized_in_bss): Declare.
11043         * toplev.c (flag_zero_initialized_in_bss): New flag.
11044         (lang_independent_options): Add flag_zero_initialized_in_bss.
11045         * tree.c (initializer_zerop): New function.
11046         * tree.h (initializer_zerop): Declare.
11047         * varasm.c (assemble_variable): If we can emit bss, put zero
11048         initializers in the bss section.
11049
11050 2002-03-02  Alan Modra  <amodra@bigpond.net.au>
11051
11052         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
11053         like more than one symbol per .weak directive.
11054
11055 2002-03-01  Richard Henderson  <rth@redhat.com>
11056
11057         * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
11058         adjust argument_pointer by pretend_args_size.
11059         (ia64_va_start): Adjust va_start address by -pretend_args_size.
11060
11061 2002-03-01  Kazu Hirata  <kazu@hxi.com>
11062
11063         * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
11064
11065 Fri Mar  1 20:59:14 CET 2002  Jan Hubicka  <jh@suse.cz>
11066
11067         * toplev.c (rest_of_compilation): Delete dead jumptables before
11068         loop.
11069         * flow.c (delete_dead_jumptables): Make global.
11070         * rtl.h (delete_dead_jumptables): Declare.
11071
11072 2002-03-01  David Edelsohn  <edelsohn@gnu.org>
11073
11074         * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
11075         * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
11076         * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
11077
11078 2002-03-01  Kazu Hirata  <kazu@hxi.com>
11079
11080         * config/h8300/h8300-protos.h: Fix formatting.
11081         * config/h8300/h8300.c: Likewise.
11082         * config/h8300/h8300.h: Likewise.
11083
11084 2002-03-01  Kazu Hirata  <kazu@hxi.com>
11085
11086         * config/h8300/h8300.c (print_operand): Support 16-bit
11087         constant addresses.
11088         * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
11089
11090 2002-02-28  Richard Henderson  <rth@redhat.com>
11091
11092         * expmed.c (store_bit_field): Prevent generation of CONCATs;
11093         pun complex values as integers; use gen_lowpart instead of
11094         gen_rtx_SUBREG.
11095         (extract_bit_field): Likewise.
11096
11097 2002-03-01  Alan Modra  <amodra@bigpond.net.au>
11098             David Edelsohn  <edelsohn@gnu.org>
11099
11100         * doc/tm.texi (ASM_WEAKEN_DECL): Document.
11101         (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
11102         (SUPPORTS_WEAK): Likewise.
11103         * output.h (add_weak): Add tree param.
11104         * varasm.c (add_weak): Likewise.  Save decl.
11105         (struct weak_syms): Add decl field.
11106         (mark_weak_decls): New function.
11107         (init_varasm_once): ggc_add_root mark_weak_decls.
11108         (assemble_start_function): Use ASM_WEAKEN_DECL.
11109         (assemble_variable): Likewise.
11110         (assemble_alias): Likewise.
11111         (declare_weak): Pass decl to add_weak.
11112         (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
11113         (remove_from_pending_weak_list): Declare and define for
11114         ASM_WEAKEN_DECL.
11115         * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
11116         * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
11117         * defaults.h (SUPPORTS_WEAK): Likewise.
11118         * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
11119         .weak for code sym.  Do emit .size for descriptor sym.
11120         (ASM_DECLARE_FUNCTION_SIZE): Define.
11121         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
11122         (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here.  Don't output
11123         .lglobl unless TARGET_XCOFF.  Formatting fixes.
11124         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
11125         .weak for code sym.
11126         (HANDLE_PRAGMA_WEAK): Remove.
11127         (ASM_WEAKEN_LABEL): Remove.
11128         * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
11129
11130 2002-03-01  Jason Merrill  <jason@redhat.com>
11131
11132         * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
11133         (TARGET_EXPR_CLEANUP): New macro.
11134
11135 2002-02-28  Steve Ellcey  <sje@cup.hp.com>
11136
11137         * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
11138         to take ptr_extend into account as third type of extension.
11139         (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
11140         fields used by SUBREG_PROMOTED_UNSIGNED_P.
11141         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
11142         (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
11143         * calls.c (precompute_arguments): Use new macro.
11144         (expand_call): Ditto.
11145         * combine.c (nonzero_bits): Ditto.
11146         (record_promoted_value): Ditto.
11147         * expr.c (store_expr): Ditto.
11148         (expand_expr): Ditto.
11149         * function.c (assign_parms): Ditto.
11150
11151 2002-02-28  Alexandre Oliva  <aoliva@redhat.com>
11152
11153         * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
11154         override -shared and -shared-libgcc.
11155
11156 2002-02-28  David O'Brien  <obrien@FreeBSD.org>
11157
11158         * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
11159         of "ultrasparc".
11160         * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS.  It appears
11161         to be broken.
11162
11163 2002-02-28  Richard Henderson  <rth@redhat.com>
11164
11165         * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
11166         4 cycle latency from MM producers.
11167         (ia64_internal_sched_reorder): Likewise with pipeline flush.
11168
11169 2002-02-28  Jakub Jelinek  <jakub@redhat.com>
11170
11171         * mklibgcc.in: Don't use GNU make extension.
11172
11173 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
11174
11175         * c-parse.in (STATIC): New terminal.
11176         (scspec): New non-terminal.  Update productions accordingly.
11177         (program): Remove bogus ifc / end ifc.
11178         (array_declarator): Simplify production using STATIC.
11179
11180 2002-02-28  Jim Meyering  <meyering@lucent.com>
11181
11182         * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
11183         \a still means TARGET_BELL.
11184
11185 2002-02-28  Richard Henderson  <rth@redhat.com>
11186
11187         * haifa-sched.c (sched_emit_insn): New.
11188         (schedule_block): Use last_scheduled_insn to track last insn.
11189         * sched-int.h (sched_emit_insn): Prototype.
11190         * config/ia64/ia64.c (last_issued): Remove.
11191         (ia64_variable_issue): Don't set it.
11192         (nop_cycles_until): Use sched_emit_insn.
11193
11194 2002-02-28  Andrew MacLeod  <amacleod@redhat.com>
11195
11196         * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
11197         extended constants.
11198
11199 2002-02-28  Kazu Hirata  <kazu@hxi.com>
11200
11201         * config/h8300/h8300.c: Fix formatting.
11202         * config/h8300/h8300.h: Likewise.
11203
11204 2002-02-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>
11205
11206         * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
11207         which may overwrite the high byte of the frame pointer.
11208
11209 2002-02-28  Bo Thorsen  <bo@suse.de>
11210
11211         * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
11212         (STARTFILE_SPEC): Add 64 bit files.
11213         (ENDFILE_SPEC): Likewise.
11214
11215 2002-02-28  Jason Merrill  <jason@redhat.com>
11216
11217         * c-decl.c (finish_function): Only warn about missing return
11218         statement with -Wreturn-type.
11219
11220 Don Feb 28 11:24:30 CET 2002  Jan Hubicka  <jh@suse.cz>
11221
11222         * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
11223
11224         * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
11225         PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
11226
11227 Don Feb 28 11:07:36 CET 2002  Jan Hubicka  <jh@suse.cz>
11228
11229         * basic-block.h (BB_REACHABLE): Renumber.
11230         (BB_DIRTY, BB_NEW): New flags.
11231         (clear_bb_flags): Declare.
11232         (update_life_info_in_dirty_blocks): Declare.
11233         * cfg.c (clear_bb_flags): New function.
11234         * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
11235         * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
11236         reorder_insns, emit_insn_after): Mark block as dirty.
11237         * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
11238         (update_life_info_in_dirty_blocks): New function.
11239         * recog.c (apply_change_group): Dirtify block.
11240
11241         * cse.c (cse_insn): Reorder emitting of jump insn to keep
11242         cfg consistent.
11243         * gcse.c (delete_null_pointer_checks): Likewise.
11244
11245         * toplev.c (dump_file_index): Move cse2 after bp,
11246         add DFI_null
11247         (dump_file_info): Similary.
11248         (rest_of_compilation): Avoid most of CFG rebuilds;
11249         do first if converision after null pointer checks, do cse2
11250         after branch prediction; avoid full liveness rebuild after
11251         initializing subregs.
11252         * invoke.texi (-d options): Document -du, renumber.
11253
11254         * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
11255         (notice_new_block): Do not set BB_UPDATE_LIFE.
11256         (try_forward_edges, merge_blocks_move_predecessor_nojumps,
11257          merge_blocks_move_successor_nojumps, merge_blocks,
11258          try_crossjump_to_edge): Likewise.
11259         (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
11260         * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
11261         * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
11262         (merge_of_block): Do not use life_data_ok.
11263         (find_if_case_1): Do not use SET_UPDATE_LIFE.
11264         (if_convert): Use BB_DIRTY mechanizm to update life.
11265         * lcm.c (optimize_mode_switching): Update
11266         update_life_info_in_dirty_blocks
11267
11268 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
11269
11270         * Makefile.in (integrate.o): Update.
11271         * c-decl.c (copy_lang_decl): Rename.
11272         * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
11273         * integrate.c: Include langhooks.h.
11274         (copy_decl_for_inlining): Update to use langhook.
11275         * langhooks-def.h (lhd_do_nothing_t,
11276         LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
11277         (LANG_HOOKS_INITIALIZER): Update.
11278         * langhooks.c (lhd_do_nothing_t): New.
11279         * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
11280         * tree.h (copy_lang_decl): Remove.
11281 objc:
11282         * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
11283
11284 2002-02-27  Andrew MacLeod  <amacleod@redhat.com>
11285
11286         * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
11287         POST_DEC, and POST_MODIFY.
11288
11289 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
11290
11291         * c-typeck.c (digest_init): Remove unused parameter; all
11292         callers changed.
11293
11294 2002-02-27  Geoffrey Keating  <geoffk@redhat.com>
11295
11296         * expmed.c (expand_shift): Correctly test for low part of a
11297         subreg.
11298
11299 2002-02-27  Ulrich Weigand  <uweigand@de.ibm.com>
11300
11301         * config/s390/s390.c (s390_chunkify_pool): Do not confuse
11302         insn UIDs with insn addresses.
11303
11304 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
11305
11306         * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
11307         c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
11308         cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
11309         builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
11310         gcc.c, toplev.c: Delete code implementing -traditional mode.
11311
11312         * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
11313         doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
11314         Document removal of -traditional mode for compilation, and
11315         remove documentation only relevant to that mode.
11316
11317         * config/nextstep.h, config/ptx4.h, config/svr4.h,
11318         config/convex/convex.h, config/d30v/d30v.h,
11319         config/i386/dgux.h, config/i386/osf1elf.h,
11320         config/i386/osfelf.h, config/i386/osfrose.h,
11321         config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
11322         config/m68k/hp310.h, config/m88k/dgux.h,
11323         config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
11324         config/m88k/m88k.h, config/m88k/openbsd.h,
11325         config/mips/abi64.h, config/mips/osfrose.h,
11326         config/mips/svr4-5.h, config/mips/svr4-t.h,
11327         config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
11328         config/stormy16/stormy16.h: Remove all references to
11329         -traditional from target specs.  Delete all mention of the
11330         no-longer-necessary TRADITIONAL_RETURN_FLOAT macro.  Also
11331         delete a couple of commented-out definitions of
11332         DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
11333         to -traditional.
11334
11335         * system.h: Poison TRADITIONAL_RETURN_FLOAT.
11336         * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
11337
11338 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
11339
11340         * mklibgcc.in: Don't use \n in a line subject to
11341         interpretation by echo.
11342
11343 2002-02-27  Graham Stott  <grahams@redhat.com>
11344
11345         * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
11346         Constify NAME.
11347
11348         * loop.c (prescan_loop): Handle PARALLEL.
11349
11350         * unroll.c (loop_iterations): Return 0 if the add_val for
11351         a BIV is REG.
11352
11353         * final.c (output_operand_lossage): Constify PFX_STR.
11354
11355         * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
11356
11357 Wed Feb 27 10:45:19 CET 2002  Jan Hubicka  <jh@suse.cz>
11358
11359         * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
11360         * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
11361
11362 Wed Feb 27 10:39:20 CET 2002  Jan Hubicka  <jh@suse.cz>
11363
11364         * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
11365
11366 2002-02-27  Neil Booth  <neil@daikokuya.demon.co.uk>
11367
11368         * cpplex.c (_cpp_lex_token): Handle directives in macro
11369         arguments.
11370         * cpplib.c (_cpp_handle_directive): Save and restore state
11371         if parsing macro args when entering a directive.
11372         * cppmacro.c (collect_args): No need to handle directives
11373         in macro arguments.
11374         (enter_macro_context, replace_args): Use the original macro
11375         definition in case it was redefined whilst collecting arguments.
11376 doc:
11377         * cpp.texi: Update.
11378
11379 2002-02-26  David Edelsohn  <edelsohn@gnu.org>
11380
11381         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
11382         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
11383         * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
11384         method on AIX.
11385         * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
11386         (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
11387         (load_toc_v4_PIC_2): Same.
11388
11389 2002-02-26  Alan Modra  <amodra@bigpond.net.au>
11390
11391         * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
11392
11393 2002-02-26  Richard Henderson  <rth@redhat.com>
11394
11395         * config/alpha/alpha.md (ashldi_se): Re-enable.
11396
11397 2002-02-26  Richard Henderson  <rth@redhat.com>
11398
11399         * config/alpha/alpha.c (alpha_encode_section_info): Examine
11400         MODULE_LOCAL_P; improve commentary.
11401
11402 2002-02-26  Zack Weinberg  <zack@codesourcery.com>
11403
11404         * doc/cpp.texi: Clarify documentation of relationship between
11405         #line and #include.
11406
11407 2002-02-26  Kazu Hirata  <kazu@hxi.com>
11408
11409         * config/h8300/h8300-protos.h: Update the prototype for
11410         compute_logical_op_length.  Add the prototype for
11411         compute_logical_op_cc.
11412         * config/h8300/h8300.c (compute_logical_op_length): Figure out
11413         code from operands.
11414         (compute_logical_op_cc): New.
11415         * config/h8300/h8300.md: Combine all the logical op patterns
11416         in HImode and SImode.  Use compute_logical_op_cc.
11417
11418 2002-02-26  Kelley Cook  <kelleycook@comcast.net>
11419
11420         * config/i386/i386.c (print_operand): Don't append ATT-style
11421         length suffixs to x87 opcodes when in Intel mode.
11422
11423 2002-02-26  Ryan T. Sammartino <ryants@shaw.ca>
11424
11425         * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
11426         (init_emit_once): Update calls.
11427         * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
11428         (init_syntax_once): Prototype.
11429
11430 2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11431
11432         * pa-linux.h (LIB_SPEC): Update definition.
11433         * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
11434
11435 2002-02-26  Richard Henderson  <rth@redhat.com>
11436
11437         * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
11438         if we emitted a stop bit.
11439
11440 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
11441
11442         * configure.in (libgcc_visibility): Substitute.
11443         * configure: Rebuilt.
11444         * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
11445         defined symbols .hidden.
11446
11447 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
11448
11449         * attribs.c (c_common_attribute_table): Add visibility.
11450         (handle_visibility_attribute): New function.
11451         * varasm.c (assemble_visibility): New function.
11452         * output.h (assemble_visibility): Add prototype.
11453         * tree.h (MODULE_LOCAL_P): Define.
11454         * crtstuff.c (__dso_handle): Use visibility attribute.
11455         * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
11456         for MODULE_LOCAL_P symbols too.
11457         * config/ia64/ia64.c (ia64_encode_section_info): Handle
11458         MODULE_LOCAL_P symbols the same way as local symbols.
11459         Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
11460         into .sdata/.sbss by the user.
11461         * doc/extend.texi (Function Attributes): Document visibility
11462         attribute.
11463
11464 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
11465
11466         PR debug/5770
11467         * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
11468         STRING_CST initializer spanning the whole variable without
11469         embedded zeros.
11470         If expand_expr returned MEM, don't use it.
11471
11472 2002-02-26  Alexandre Oliva  <aoliva@redhat.com>
11473
11474         * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
11475         generate a die for the lexical block.
11476
11477 2002-02-26  Kazu Hirata  <kazu@hxi.com>
11478
11479         * config/h8300/h8300-protos.h: Add a prototype for
11480         compute_logical_op_length.
11481         * config/h8300/h8300.c (compute_logical_op_length): New.
11482         * config/h8300/h8300.md (anonymous logical patterns): Use
11483         compute_logical_op_length for length.
11484
11485 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
11486
11487         * dwarf2out.c (modified_type_die): Do not call type_main_variant
11488         for vectors.
11489         (gen_type_die): Same.
11490
11491         * attribs.c (handle_vector_size_attribute): Set debug information.
11492
11493 2002-02-26  Daniel Egger  <degger@fhm.edu>
11494
11495         * config/rs6000/rs6000.md: Swap define_insn attributes to
11496         fix incorrect generation of merge high instructions instead
11497         of merge low.
11498
11499 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
11500
11501         * c-typeck.c (really_start_incremental_init): Use
11502         bitsize_zero_node for vectors.
11503
11504 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
11505
11506         * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
11507         ("*set_vrsave_internal"): Same.
11508
11509 2002-02-25  Richard Henderson  <rth@redhat.com>
11510
11511         * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
11512         in EXPAND_SUM case.  Use host_integerp/tree_low_cst.
11513
11514 2002-02-25  Jakub Jelinek  <jakub@redhat.com>
11515
11516         PR target/5755
11517         * config/i386/i386.c (ix86_return_pops_args): Only pop
11518         fake structure return argument if it was passed on the stack.
11519
11520 2002-02-25  Jason Merrill  <jason@redhat.com>
11521
11522         * attribs.c (decl_attributes): Also re-layout PARM_DECL and
11523         RESULT_DECL.
11524
11525 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
11526
11527         * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
11528         link with shared_name only.
11529         * doc/invoke.texi (Link Options): Document new behavior.
11530
11531 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
11532
11533         * c-typeck.c (push_init_level): Handle vectors.
11534
11535 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
11536
11537         * config/sparc/sparc.c (const64_high_operand): Zero-extend
11538         operands of SPARC_SETHI_P.
11539         (input_operand): Likewise.
11540         (sparc_emit_set_const32): Likewise.
11541         * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
11542         (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
11543         (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'.  Add `N' as SETHI.
11544         * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
11545         (movdi_insn_sp64_vis): Likewise.
11546         (movdi split, movdf split): Use SETHI32.
11547         * doc/md.texi: Document SPARC constraints L, M and N.
11548
11549 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
11550
11551         * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
11552         ("*set_vrsave_internal"): use mfspr for Darwin.
11553
11554         * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
11555         gen_get_vrsave_internal.
11556
11557 Sun Feb 24 16:38:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11558
11559         * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
11560
11561 2002-02-24  Neil Booth  <neil@daikokuya.demon.co.uk>
11562
11563         * cpplex.c (cpp_interpret_charconst): Get signedness or
11564         otherwise of wide character constants correct.
11565         * cppexp.c (lex): Get signedness of wide charconsts correct.
11566
11567 Sun Feb 24 07:41:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11568
11569         * optabs.c (widen_operand): Only call convert_modes for
11570         promoted SUBREG if signedness matches.
11571         * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
11572
11573 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
11574
11575         * cpplib.c (glue_header_name): Use local buffer to build up
11576         header name.
11577
11578 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
11579
11580         * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
11581
11582 2002-02-23  Kazu Hirata  <kazu@hxi.com>
11583
11584         * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
11585         H8/300[HS] separately.
11586         * config/h8300/h8300.md: Remove the early clobber constraint
11587         from bit field patterns.
11588
11589 2002-02-23  Kazu Hirata  <kazu@hxi.com>
11590
11591         * config/h8300/h8300.md (mulqihi3): Tighten predicates to
11592         register_operand.
11593         (mulhisi3): Likewise.
11594         (umulqisi3): Likewise.
11595         (umulhisi3): Likewise.
11596
11597 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
11598
11599         * cppinit.c (output_deps): Correct test for stdout output.
11600         (init_dependency_output): Cure warning.
11601
11602 Sat Feb 23 08:42:47 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11603
11604         * expr.c (store_expr): When converting expression to promoted
11605         equivalent type, allow using SUBREG_REG of TARGET as the target
11606         of the expansion of EXP.
11607         * loop.c (basic_induction_var, case SUBREG): Always look inside.
11608         * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
11609         (alpha_emit_set_const): Handle SImode when can't make new pseudos.
11610         (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
11611         * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
11612
11613 2002-02-23  Joseph S. Myers  <jsm28@cam.ac.uk>
11614
11615         * doc/contribute.texi, doc/extend.texi, doc/install.texi,
11616         doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
11617         doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
11618
11619 2002-02-23  Jakub Jelinek  <jakub@redhat.com>
11620
11621         PR optimization/5747
11622         * loop.c (scan_loop): Update reg info if move_movables created new
11623         pseudos.
11624
11625 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
11626
11627         * gcc.c (init_gcc_spec): Revert last change.
11628
11629 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
11630
11631         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
11632         gpc_reg_operand constraint.
11633
11634 2002-02-23  Alan Modra  <amodra@bigpond.net.au>
11635
11636         * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
11637         Simplify comparison of `low'.
11638         (add_operand): Fix formatting.
11639         (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
11640         (mask_operand): Disallow mask to wrap in 64-bit mode.
11641         (rs6000_stack_info): Remove redundant test setting push_p.
11642         (output_toc): Fix formatting.
11643         * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
11644         cc_reg_not_cr0_operand constraint.
11645         (booldi3, boolcdi3 splitters): Same.
11646
11647 2002-02-23  Aldy Hernandez  <aldyh@redhat.com>
11648
11649         * config/rs6000/altivec.h: Add extra level of parentheses on casts.
11650
11651 2002-02-22  David Edelsohn  <edelsohn@gnu.org>
11652
11653         * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
11654         gcc invoked with -shared-libgcc.
11655
11656 2002-02-22  Jakub Jelinek  <jakub@redhat.com>
11657
11658         PR c++/5748
11659         * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
11660         decl if any of elements was TREE_USED.
11661
11662 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11663
11664         * config/sparc/sol2.h: Don't include sys/mman.h.
11665         * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
11666         (arith_4096_operand): Don't throw high bits away.
11667         (const64_operand): Take sign extension of CONST_INTs into account.
11668         (const64_high_operand, sparc_emit_set_const32): Likewise.
11669         (GEN_HIGHINT64): Likewise.
11670         (sparc_emit_set_const64_quick1): Likewise.
11671         (const64_is_2insns): Likewise.
11672         (print_operand): Use trunc_int_for_mode for sign extension.
11673         * config/sparc/sparc.h (SMALL_INT32): Likewise.
11674         * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
11675         chars.  Assume CONST_INT is already properly sign-extended.
11676         (movdi split): Sign-extend each SImode part.
11677         (andsi3 split): Don't mask high bits off, so that result
11678         remains properly sign-extend.
11679         (iorsi3 split): Likewise.
11680         (xorsi3 split): Likewise.
11681
11682 2002-02-22  Richard Sandiford  <rsandifo@redhat.com>
11683
11684         * fold-const.c (fold): Fix typo in comments.
11685
11686 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
11687
11688         * Makefile.in (langhooks.o): Update dependencies.
11689
11690 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
11691
11692         * langhooks.c: Include flags.h.
11693
11694 2002-02-21  Aldy Hernandez  <aldyh@redhat.com>
11695
11696         * testsuite/gcc.dg/attr-alwaysinline.c: New.
11697
11698         * c-common.c (c_common_post_options): Set inline trees by
11699         default.
11700
11701         * doc/extend.texi (Function Attributes): Document always_inline
11702         attribute.
11703         Update documentation about inlining when not optimizing.
11704
11705         * cp/decl.c (duplicate_decls): Merge always_inline attribute.
11706
11707         * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
11708         unless DECL_ALWAYS_INLINE.
11709
11710         * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
11711         unless DECL_ALWAYS_INLINE.
11712         (c_disregard_inline_limits): Disregard if always_inline set.
11713
11714         * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
11715         Disregard if always_inline set.
11716         (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
11717         unless DECL_ALWAYS_INLINE.
11718
11719         * attribs.c (handle_always_inline_attribute): New.
11720         (c_common_attribute_table): Add always_inline.
11721
11722         * config/rs6000/altivec.h: Add prototypes for builtins
11723         requiring the always_inline attribute.
11724
11725 2002-02-21  Eric Christopher  <echristo@redhat.com>
11726
11727         * expmed.c (store_bit_field): Try to simplify the subreg
11728         before generating a new one when when the mode size of
11729         value is less than maxmode.
11730
11731 2002-02-21  Richard Henderson  <rth@redhat.com>
11732
11733         * emit-rtl.c (offset_address): Use simplify_gen_binary rather
11734         than gen_rtx_PLUS to form the sum.
11735         * explow.c (force_reg): Rearrange to not allocate new pseudo
11736         when force_operand returns a register.
11737         * expr.c (expand_assignment): Allow offset_rtx expansion to
11738         return a sum.  Do not force addresses into registers.
11739         (expand_expr): Likewise.
11740         * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
11741         to canonicalize arithmetic that didn't simpify.
11742         (simplify_plus_minus): New argument force; update
11743         all callers.  Don't split CONST unless we can do something with it,
11744         and wouldn't lose the constness of the operands.
11745
11746         * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
11747         that we generated earlier.
11748
11749 2002-02-21  Tom Tromey  <tromey@redhat.com>
11750
11751         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11752         (output_line_info): Use constant `1', with a long explanatory
11753         comment.
11754         * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
11755
11756 Thu Feb 21 22:43:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
11757
11758         * jump.c (redirect_jump): If old label has no UID, don't try to
11759         delete it.
11760
11761 Thu Feb 21 21:17:21 2002  J"orn Rennecke <joern.rennecke@superh.com>
11762
11763         * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
11764         If input is constant, do shifts at compile time.
11765
11766 2002-02-21  Joseph S. Myers  <jsm28@cam.ac.uk>
11767
11768         * doc/extend.texi: Fix some more overfull hboxes.
11769
11770 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
11771
11772         PR optimization/4994
11773         * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
11774         register moves.
11775
11776 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
11777
11778         PR c++/4574
11779         * expr.h (expand_and): Add mode argument.
11780         * expmed.c (expand_and): Add mode argument.
11781         (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
11782         * expr.c (store_field, expand_expr, do_store_flag): Likewise.
11783         * except.c (expand_builtin_extract_return_addr): Likewise.
11784         * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
11785         * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
11786         * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
11787         Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
11788         * config/c4x/c4x.md: Use GEN_INT (x) instead of
11789         gen_rtx (CONST_INT, VOIDmode, x).
11790
11791 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
11792
11793         PR c/4697:
11794         * stmt.c (warn_if_unused_value): Move side effects test once more.
11795
11796 2002-02-20  Torbjorn Granlund  <tege@swox.com>
11797
11798         * config/avr/avr.md: Add more patterns for mized-mode add and subtract
11799         (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
11800
11801 Thu Feb 21 16:20:46 2002  Alexandre Oliva  <aoliva@redhat.com>
11802
11803         * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
11804         SUBREG or ZERO_EXTEND.
11805
11806 Thu Feb 21 15:35:46 2002  J"orn Rennecke <joern.rennecke@superh.com>
11807
11808         * sh.h (current_function_anonymous_args): Remove.
11809         (SETUP_INCOMING_VARARGS): Don't set it - just check that one
11810         of current_function_varargs and current_function_stdarg is set.
11811         * sh.c (sh_expand_prologue): Check current_function_varargs /
11812         current_function_stdarg / TARGET_SH5 instead of
11813         current_function_anonymous_args.
11814
11815         * sh64.h (TARGET_VERSION): Define.
11816
11817 2002-02-20  David Edelsohn  <edelsohn@gnu.org>
11818
11819         * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
11820         VRSAVE_REGNO on TARGET_ALTIVEC.
11821
11822 2002-02-20  Alan Modra  <amodra@bigpond.net.au>
11823
11824         * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
11825         bits of SImode const_int.
11826         (includes_rshift_p): Likewise.
11827         (print_operand): Call mask_operand and mask64_operand with correct
11828         mode.
11829         (rs6000_output_function_epilogue): Pad traceback table to word.
11830         * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
11831         (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
11832         mask64_operand with correct mode.
11833         (FUNCTION_ARG_REGNO_P): Correct parentheses.
11834
11835 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
11836
11837         PR debug/4461
11838         * varasm.c (get_pool_constant_mark): New.
11839         * rtl.h (get_pool_constant_mark): Add prototype.
11840         * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
11841         be represented if it has not been output.
11842
11843 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
11844
11845         * combine.c (do_SUBST): Sanity check substitutions of
11846         CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
11847         (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
11848         CONST_INT into its operand.
11849         (known_cond): Likewise, for ZERO_EXTEND.
11850         * simplify-rtx.c (simplify_unary_operation): Fix condition to
11851         allow for simplification of wide modes.  Reject CONST_INTs in
11852         ZERO_EXTEND when their actual mode is not given.
11853
11854 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
11855
11856         * c-decl.c (pushdecl): If no global declaration is found for an
11857         extern declaration in block scope, try a limbo one.
11858
11859 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
11860
11861         PR c++/4401
11862         * c-common.c (pointer_int_sum): Moved from...
11863         * c-typeck.c (pointer_int_sum): ...here.
11864         * c-common.h (pointer_int_sum): Add prototype.
11865
11866 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
11867
11868         PR c++/5713
11869         * c-decl.c (duplicate_decls): Return 0 if issued error about
11870         redeclaration.
11871
11872 2002-02-20  Roger Sayle  <roger@eyesopen.com>
11873             Jakub Jelinek  <jakub@redhat.com>
11874
11875         PR c/4389
11876         * tree.c (host_integerp): Ensure that the constant integer is
11877         representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
11878         when pos is zero or non-zero respectively.  Clarify comment.
11879         * c-format.c (check_format_info_recurse): Fix host_integerp
11880         usage; the pos argument should be zero when assigning to a
11881         signed HOST_WIDE_INT.
11882
11883 2002-02-20  Richard Henderson  <rth@redhat.com>
11884
11885         * config/i386/i386.c (ix86_expand_vector_move): Use the mode
11886         of the operand, rather than assuming TImode.
11887         (ix86_expand_binop_builtin): Cope with commutative patterns
11888         using nonimmediate_operand for both operands.
11889         (ix86_expand_timode_binop_builtin): Likewise.
11890         (ix86_expand_store_builtin): Validate operand 1.
11891         (ix86_expand_unop1_builtin): Likewise.
11892
11893 2002-02-20  Philip Blundell  <philb@gnu.org>
11894
11895         PR 5705
11896         * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
11897
11898 2002-02-20  Richard Henderson  <rth@redhat.com>
11899
11900         PR c/5615
11901         * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
11902
11903 2002-02-20  Tom Tromey  <tromey@redhat.com>
11904
11905         * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11906         * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11907         * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11908         * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11909         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
11910         unconditionally.
11911
11912 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
11913
11914         * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
11915           for (const_int 0) in X not just INTVAL.
11916
11917 2002-02-20  Joseph S. Myers  <jsm28@cam.ac.uk>
11918
11919         * doc/extend.texi: Avoid or reduce overfull hboxes.
11920
11921 2002-02-20  Diego Novillo  <dnovillo@redhat.com>
11922
11923         * expmed.c (store_bit_field): Do not store bit fields using SUBREG
11924         operations if the field does not start at a mode boundary.
11925
11926 2001-02-20      Joel Sherrill <joel@OARcorp.com>
11927
11928         * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
11929         config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
11930         Also done for -Acpu and -Amachine.
11931
11932 2002-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
11933
11934         * cppinit.c (init_dependency_output): Take deps output file
11935         from -o if none given with -MF.  Suppress normal output.
11936         * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
11937         * doc/cpp.texi, doc/invoke.texi: Update.
11938
11939 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
11940
11941         * toplev.c (output_quoted_string): Write unprintable
11942         characters with octal escapes.
11943
11944 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
11945
11946         * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
11947         really_call_used[VRSAVE_REGNO] if not Altivec.
11948
11949 2002-02-19  Alan Modra  <amodra@bigpond.net.au>
11950
11951         * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
11952         MODE_MASK.
11953         (constant_pool_expr_1): Fix formatting.
11954         (rs6000_legitimize_reload_address): Likewise.
11955
11956 Tue Feb 19 20:13:57 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11957
11958         * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
11959         now that we have one.
11960
11961 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
11962
11963         * tree.h (struct tree_common): Remove aux.  Add unused_0 at
11964         end of first block of bitfields (which was only seven bits);
11965         rename dummy to unused_1; remove comment which is no longer true.
11966
11967 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
11968
11969         * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
11970
11971 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
11972
11973         PR 5399
11974         * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
11975         if generating PIC.
11976
11977         PR 5054
11978         * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
11979         arm_is_longcall_p rather than inspecting call-type cookie
11980         directly.
11981         (call_value_insn) [TARGET_THUMB]: Likewise.
11982
11983 2002-02-19  Graham Stott  <grahams@redhat.com>
11984
11985         * config/i386/i386.c (ix86_expand_builtin): Fix typo.
11986
11987 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
11988
11989         * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
11990         ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
11991         (FP_SAVE_INLINE): Delete.
11992
11993         * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
11994         * config/rs6000/eabi.asm: Remove ABI save restore routines.
11995         * config/rs6000/t-ppccomm: Build crtsavres.o.
11996         * config/rs6000/crtsavres.asm: New file.
11997
11998 2002-02-19  Philip Blundell  <philb@gnu.org>
11999
12000         * config/arm/arm.c (use_return_insn): Don't reject interrupt
12001         functions.
12002         (arm_compute_save_reg_mask): Save LR for interrupt functions too.
12003         (output_return_instruction): Allow interrupt functions to return with
12004         ldmfd sp!, {... pc}^.  Use LDR to restore any single register.
12005         (arm_expand_prologue): Subtract 4 before stacking LR in an
12006         interrupt function.
12007
12008 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
12009
12010         * config/arm/arm.c (arm_encode_call_attribute): Operate on any
12011         decl, not just FUNCTION_DECL.
12012         (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
12013         (arm_assemble_integer): Likewise.
12014         * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
12015         marked local.
12016
12017 2002-02-19  matthew green  <mrg@eterna.com.au>
12018
12019         * config.gcc (sparc-*-netbsdelf*): Enable target.
12020         (sparc64-*-netbsd*): New target.
12021         * config/sparc/netbsd-elf.h: New file.
12022         * config/sparc/t-netbsd64: New file.
12023
12024 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
12025
12026         * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
12027
12028 2002-02-19  Ryan T. Sammartino <ryants@shaw.ca>
12029
12030         * doc/invoke.texi: explicitly list the style guidelines that
12031         -Weffc++ checks for.
12032
12033 Tue Feb 19 12:37:23 CET 2002  Jan Hubicka  <jh@suse.cz>
12034
12035         * regmove.c (regmove_optimize): Avoid increasing of register pressure.
12036
12037 2002-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
12038
12039         PR other/5718
12040         * gcc.c (cpp_unique_options): Treat -o as indicating object file
12041         only if not -E.  If -E, pass -o through to the preprocessor.
12042
12043 2002-02-19  Kazu Hirata  <kazu@hxi.com>
12044
12045         * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
12046         register number with an appropriate macro.
12047
12048 2002-02-19  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12049
12050         * doc/rtl.texi (Constants): Close @code tag.
12051
12052 2002-02-19  Aldy Hernandez  <aldyh@redhat.com>
12053
12054         * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
12055         ("mmx_uavgv4hi3"): Same.
12056         ("pmulhrwv4hi3"): Same.
12057
12058         * tree-inline.c (walk_tree): Handle vectors.
12059
12060         * c-common.c (constant_expression_warning): Handle vectors.
12061         (overflow_warning): Same.
12062
12063         * sched-deps.c (sched_analyze_2): Handle vectors.
12064
12065         * rtlanal.c (rtx_unstable_p): Handle vectors.
12066         (rtx_varies_p): Same.
12067         (count_occurrences): Same.
12068         (regs_set_between_p): Same.
12069         (modified_between_p): Same.
12070         (modified_in_p): Same.
12071         (volatile_insn_p): Same.
12072         (volatile_refs_p): Same.
12073         (side_effects_p): Same.
12074         (may_trap_p): Same.
12075         (inequality_comparisons_p): Same.
12076         (replace_regs): Same.
12077         (computed_jump_p_1): Same.
12078
12079         * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
12080         argument.
12081         (inner_mode_array): New.
12082         (copy_rtx): Handle vectors.
12083         (copy_most_rtx): Same.
12084         (rtx_equal_p): Same.
12085         (get_mode_alignment): Adjust for vectors.
12086
12087         * resource.c (mark_referenced_resources): Handle vectors.
12088         (mark_set_resources): Same.
12089
12090         * reload1.c (eliminate_regs): Handle vectors.
12091         (elimination_effects): Same.
12092         (scan_paradoxical_subregs): Same.
12093
12094         * reload.c (subst_reg_equivs): Handle vectors.
12095
12096         * regrename.c (scan_rtx): Handle vectors.
12097
12098         * regclass.c (reg_scan_mark_refs): Handle vectors.
12099
12100         * recog.c (find_single_use_1): Handle vectors.
12101
12102         * local-alloc.c (equiv_init_varies_p): Handle vectors.
12103         (contains_replace_regs): Same.
12104         (memref_referenced_p): Same.
12105
12106         * integrate.c (copy_rtx_and_substitute): Handle vectors.
12107         (subst_constants): Same.
12108
12109         * genattrtab.c (attr_copy_rtx): Handle vectors.
12110         (encode_units_mask): Same.
12111         (clear_struct_flag): Same.
12112         (count_sub_rtxs): Same.
12113
12114         * gcse.c (want_to_gcse_p): Handle vectors.
12115         (oprs_unchanged_p): Same.
12116         (hash_expr_1): Same.
12117         (oprs_not_set_p): Same.
12118         (expr_killed_p): Same.
12119         (compute_transp): Same.
12120         (store_ops_ok): Same.
12121
12122         * function.c (purge_addressof_1): Do not allow paradoxical subregs
12123         of vectors.
12124         (fixup_var_refs_1): Same.
12125         (instantiate_virtual_regs_1): Same.
12126
12127         * fold-const.c (operand_equal_p): Handle vectors.
12128         (fold): Same.
12129         (rtl_expr_nonnegative_p): Same.
12130
12131         * flow.c (mark_used_regs): Handle vectors.
12132
12133         * df.c (df_uses_record): Handle vectors.
12134
12135         * cselib.c (cselib_subst_to_values): Handle vectors.
12136         (cselib_mem_conflict_p): Same.
12137         (hash_rtx): Same.
12138
12139         * cse.c (canon_reg): Handle vectors.
12140         (fold_rt): Same.
12141         (cse_process_notes): Same.
12142         (count_reg_usage): Same.
12143         (canon_hash): Same.
12144
12145         * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
12146
12147         * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
12148
12149         * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
12150         (gen_rtx): Handle CONST_VECTOR.
12151         (gen_const_vector_0): New.
12152         (copy_rtx_if_shared): CONST_VECTORs can be shared.
12153         (reset_used_flags): Same.
12154         (copy_insn_1): Same.
12155         (initializer_constant_valid_p): Handle VECTOR_CST.
12156
12157         * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
12158
12159         * doc/rtl.texi (Constants): Document const_vector.
12160         (CONST0_RTX): Update for vectors.
12161         (RTL sharing): Same.
12162
12163         * print-tree.c (print_node): Add case for VECTOR_CST.
12164
12165         * tree.h (TREE_VECTOR_CST_ELTS): New.
12166         (struct tree_vector): New.
12167         (union tree_node): Add vector node.
12168         (build_vector): Add prototype.
12169
12170         * tree.def (VECTOR_CST): New.
12171
12172         * tree.c (build_vector): New.
12173
12174         * expmed.c (make_tree): Handle CONST_VECTOR.
12175
12176         * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
12177         (CONST_VECTOR_ELT): New.
12178         (CONST_VECTOR_NUNITS): New.
12179
12180         * machmode.h (GET_MODE_INNER): New.
12181         (DEF_MACHMODE): Accept 8th arg.
12182
12183         * machmode.def: Add 8th argument for vector inner mode.
12184         Add inner vector modes for vectors.
12185
12186         * rtl.def (VEC_CONST): Remove.
12187         (CONST_VECTOR): New.
12188
12189         * expr.c (clear_storage): Allow vectors.
12190         (is_zeros_p): Handle VECTOR_CST.
12191
12192         * varasm.c (output_constant_pool): Handle vectors.
12193         (rtx_const): Add veclo and vechi fields.
12194         (kind): Add RTX_VECTOR.
12195         (decode_rtx_const): Add case for vector.
12196
12197         * config/rs6000/rs6000-protos.h: Add zero_constant.
12198
12199         * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
12200         constants.  Force easy vector constants into memory.
12201         (easy_vector_constant): New.
12202         (emit_easy_vector_constant): New.
12203         (rs6000_legitimize_reload_address): Do not generate bad reloads on
12204         darwin.
12205
12206         * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
12207         instruction does.
12208         ("altivec_lvxl"): Same.
12209         (altivec_lvebx): Same.
12210         (altivec_lvehx): Same.
12211         (altivec_lvewx): Same.
12212         ("*movv4si_const0"): New.
12213         ("*movv4sf_const0"): New.
12214         ("*movv8hi_const0"): New.
12215         ("*movv16qi_const0"): New.
12216
12217 2002-02-18  Kazu Hirata  <kazu@hxi.com>
12218
12219         * config/h8300/h8300.c (notice_update_cc): Use
12220         cc_status.value2.
12221
12222 2002-02-18  Kazu Hirata  <kazu@hxi.com>
12223
12224         * config/h8300/h8300.md (divmod patterns): Change the
12225         constraints for operands[1] to register_operand.
12226
12227 2002-02-18  Kazu Hirata  <kazu@hxi.com>
12228
12229         * config/h8300/h8300-protos.h: Remove the prototype for
12230         p_operand.
12231         * config/h8300/h8300.c (p_operand): Remove.
12232         * config/h8300/h8300.md: Replace p_operand with
12233         const_int_operand.
12234
12235 2002-02-18 Philip Blundell <pb@nexus.co.uk>
12236
12237         * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
12238         comment.
12239         (output_return_instruction): Allow use of LDR to unstack
12240         return addresss even for interrupt handlers or when
12241         interworking.  If compiling for ARMv5, use interworking-safe
12242         return instructions by default.  Remove duplicated code and
12243         lengthy "strcat" sequences.
12244
12245 2002-02-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12246
12247         * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
12248         (LINK_EH_SPEC): Define.
12249         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
12250
12251 2002-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
12252
12253         * config/s390/s390.c (s390_emit_prologue): Do not set the
12254         frame_related flag for call-clobbered registers.
12255
12256 Mon Feb 18 15:07:35 CET 2002  Jan Hubicka  <jh@suse.cz>
12257
12258         * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
12259         (construct_container): Fix handling of SSE operands.
12260         (ix86_expand_builtin): Fix handling of 64bit pointers.
12261         (mmx_maskmovq_rex): New pattern.
12262
12263 Mon Feb 18 11:55:55 CET 2002  Jan Hubicka  <jh@suse.cz>
12264
12265         * regrename.c (kill_set_value): Handle subregs properly.
12266
12267 2002-02-18  David Billinghurst <David.Billinghurst@riotinto.com>
12268
12269         * objc/objc-act.c (handle_impent): Remove leading '*'
12270         from objc_class_name.
12271
12272 2002-02-17  Richard Henderson  <rth@redhat.com>
12273
12274         * config/alpha/alpha.c (some_small_symbolic_operand,
12275         some_small_symbolic_operand_1, split_small_symbolic_operand,
12276         split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
12277         Handle small SYMBOL_REFs anywhere, not just inside memories.
12278         * config/alpha/alpha-protos.h: Update.
12279         * config/alpha/alpha.h (PREDICATE_CODES): Update.
12280         * config/alpha/alpha.md (small symbolic operand splitter): Update.
12281
12282 2002-02-17  Roland McGrath  <roland@frob.com>
12283
12284         * config.gcc (powerpc-*-gnu-gnualtivec*,
12285         powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
12286         * config/rs6000/gnu.h: New file.
12287         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
12288         Grok "gnu" in rs6000_abi_name.
12289         (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
12290         CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
12291         Grok -mcall-gnu analogous to -mcall-linux et al.
12292         (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
12293         LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
12294         (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
12295
12296 2002-02-17  Jakub Jelinek  <jakub@redhat.com>
12297
12298         PR c/3444:
12299         * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
12300         shortening.
12301
12302 2002-02-17  Philipp Thomas  <pthomas@suse.de>
12303
12304         * config/cris/cris.h: Undefine STARTFILE_SPEC and
12305         ENDFILE_SPEC before (re)defining them.
12306
12307 2002-02-17  Kazu Hirata  <kazu@hxi.com>
12308
12309         * config/h8300/h8300.c: Fix formatting.
12310         * config/h8300/h8300.h: Likewise.
12311
12312 2002-02-17  Philipp Thomas  <pthomas@suse.de>
12313
12314         * doc/tm.texi: Explain why empty strings should not be
12315         marked for translation.
12316
12317 2002-02-17  Philipp Thomas  <pthomas@suse.de>
12318
12319         * final.c (output_operand_lossage): Changed to accept
12320         printf style arguments. Change calls where necessary.
12321         * output.h (output_operand_lossage): Change declaration
12322         accordingly. Update copyright.
12323         * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
12324         config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
12325         Update copyright date where necessary.
12326
12327         * config/i386/i386.c (print_operand): Likewise. Remove use of
12328         sprintf.
12329
12330         * config/cris/cris.c (cris_operand_lossage): Likewise.
12331         Rename parameter so that exgettext recognizes it as
12332         translatable message.
12333         (LOSE_AND_RETURN): Rename parameter to msgid.
12334
12335 2002-02-17  Kazu Hirata  <kazu@hxi.com>
12336
12337         * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
12338         hard coded register number with an appropriate macro.
12339         (HARD_REGNO_MODE_OK): Likewise.
12340         (ARG_POINTER_REGNUM): Likewise.
12341         (STATIC_CHAIN_REGNUM): Likewise.
12342         (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
12343         * config/h8300/h8300.md (define_constants): Define more
12344         register numbers.
12345
12346 2002-02-17  Philipp Thomas  <pthomas@suse.de>
12347
12348         * config/i386/i386.h: Don't mark empty strings for translation.
12349
12350 2002-02-16  H.J. Lu <hjl@gnu.org>
12351
12352         * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
12353
12354 2002-02-16  Zack Weinberg  <zack@codesourcery.com>
12355
12356         * cppinit.c (merge_include_chains): Check for brack being
12357         NULL before attempting to merge it with qtail.
12358
12359 2002-02-16  Andrew Cagney  <ac131313@redhat.com>
12360
12361         * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
12362         DBX_DEBUG.
12363
12364 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12365
12366         * pa/t-pa, pa/t-pro, som.h: Revert last patch.
12367
12368 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12369
12370         * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
12371         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
12372         * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
12373
12374 Sat Feb 16 13:48:50 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12375
12376         * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
12377         now only if !TARGET_FIX.
12378         (*movsi_nt_vms_fix): New pattern.
12379
12380 2002-02-16  Douglas B Rupp  <rupp@gnat.com>
12381
12382         * config/alpha/alpha.c: Implement null frame procedure types on VMS.
12383         (alpha_procedure_type): Replaces alpha_is_stack_procedure.
12384         (alpha_sa_mask, alpha_sa_size): Reflect above change.
12385         (alpha_pv_save_size, alpha_expand_prologue): Likewise.
12386         (alpha_start_function, alpha_expand_epilogue): Likewise.
12387         (unicosmk_gen_dsib): Likewise.
12388
12389 Sat Feb 16 13:39:09 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12390
12391         * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
12392
12393 2002-02-16  Ulrich Weigand  <uweigand@de.ibm.com>
12394
12395         * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
12396         check_and_change_labels, s390_final_chunkify): Delete.
12397         (s390_split_branches, s390_chunkify_pool): New functions.
12398         (s390_function_prologue): Call them.
12399
12400         * config/s390/s390.h (S390_REL_MAX): Delete.
12401         (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
12402
12403         * config/s390/s390.md (cjump, icjump, jump): Fix length
12404         attribute calculation.
12405
12406
12407 2002-02-15  David Edelsohn  <edelsohn@gnu.org>
12408
12409         * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
12410         * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
12411
12412 2002-02-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12413
12414         * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
12415         * config/pa/pa-linux.h (LIB_SPEC): Likewise.
12416         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
12417
12418 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
12419
12420         * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
12421
12422 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
12423
12424         * reload.c (find_dummy_reload): Check that an output register
12425         is valid for its mode.
12426
12427 2002-02-14  Alexandre Oliva  <aoliva@redhat.com>
12428
12429         * combine.c (known_cond): After replacing the REG of a SUBREG, try
12430         to simplify it.
12431
12432         * function.c (assign_parms): Demote promoted argument passed by
12433         transparent reference.
12434
12435 2001-02-14      Joel Sherrill <joel@OARcorp.com>
12436
12437         * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
12438         -Acpu() and -Amachine() to eliminate warnings.
12439
12440 2002-02-14  Ulrich Weigand  <uweigand@de.ibm.com>
12441
12442         * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
12443
12444 2002-02-14  Kazu Hirata  <kazu@hxi.com>
12445
12446         * config/h8300/h8300-protos.h: Update the prototype for
12447         const_costs.
12448         * config/h8300/h8300.c (const_costs): Treat SET as a little
12449         more expensive operation.
12450         * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
12451         reference to const_costs.
12452
12453 2002-02-14  Hans-Peter Nilsson  <hp@axis.com>
12454
12455         * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
12456
12457 2002-02-14  Jakub Jelinek  <jakub@redhat.com>
12458
12459         PR c/5503:
12460         * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
12461         use arguments from newtype.
12462
12463 2002-02-13  Eric Christopher  <echristo@redhat.com>
12464
12465         * config/mips/mips.c (override_options): Add check for march/mipsX
12466         on the same command line. Fix error message in cpu processing.
12467         Remove architecture and ISA checks.
12468
12469 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
12470
12471         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
12472
12473         * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
12474
12475 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
12476
12477         * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
12478         alternatives.
12479         ("*movv8hi_internal1"): Same.
12480         ("*movv16qi_internal1"): Same.
12481         ("*movv4sf_internal1"): Same.
12482
12483         * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
12484         not push_reload for altivec modes.
12485
12486 2002-02-13  Joel Sherrill  <joel@OARcorp.com>
12487
12488         * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
12489         all RTEMS targets including removal of #includes from config/*/rtems*.h
12490         file and adding them to tm_file setting. Added xm_defines=POSIX to
12491         many targets.
12492         * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
12493         * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
12494         * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
12495         * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
12496         * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
12497         config/m68k/rtemself.h: Ditto.
12498         * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
12499         config/mips/rtems64.h: Ditto.
12500         * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
12501         * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
12502         Ditto.
12503         * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
12504         config/sparc/rtemself.h: Ditto.
12505         * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
12506         * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
12507         arm-rtems stanza closer to other arm-elf targets and made arm-rtems
12508         more like arm-elf.
12509         * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
12510         config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
12511         target made more similar to i386-elf.
12512         * config/i386/t-rtems-i386: Added soft float support and multilibs.
12513         * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
12514         be similar to config/m68k/t-m68kelf.
12515         * gthr-rtems.h: Encapsulate with extern "C" for C++.
12516
12517 Wed Feb 13 23:41:15 CET 2002  Jan Hubicka  <jh@suse.cz>
12518
12519         * regmove.c (kill_value): Handle subregs.
12520
12521 Wed Feb 13 23:34:30 CET 2002  Jan Hubicka  <jh@suse.cz>
12522
12523         * i386.md (mul patterns): Allow memory operand to be first;
12524         add expanders where needed; fix constraints.
12525         (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
12526         Allow memory operand to be the first.
12527
12528         * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
12529         operands.
12530
12531 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
12532
12533         PR c/5681:
12534         * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
12535         GET_MODE (x).
12536
12537 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
12538
12539         PR optimization/5547:
12540         * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
12541         all valid IA-32 address modes involving non-scaled %ebx and
12542         GOT/GOTOFF as displacement.
12543
12544 2002-02-13  Ulrich Weigand  <uweigand@de.ibm.com>
12545
12546         * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
12547         after emitting ltorg insns.
12548
12549         * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
12550         *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
12551         *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
12552         *abssf2): Fix "op_type" attribute.
12553
12554 2002-02-13  Douglas B Rupp  <rupp@gnat.com>
12555
12556         * mkconfig.sh: Avoid using a subshell redirect.
12557         ($output.T): Change to $(output)T.
12558         (ENABLE_NLS): Remove unneeded undef.
12559
12560         * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
12561         * config/alpha/x-vms (libsubdir): Define.
12562
12563         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
12564         register frame procedures. Optimize retrieving context.
12565
12566         * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
12567         (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
12568         * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
12569
12570 Wed Feb 13 09:45:08 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12571
12572         * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
12573         Make same change as for find_base_value.
12574
12575 2002-02-13  Kazu Hirata  <kazu@hxi.com>
12576
12577         * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
12578         of QImode and SImode.
12579
12580 2002-02-13  Kazu Hirata  <kazu@hxi.com>
12581
12582         * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
12583         length computation of movsi.
12584         * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
12585
12586 2002-02-13  Kazu Hirata  <kazu@hxi.com>
12587
12588         * config/h8300/h8300.md (subqi3): Tighten the predicate for
12589         operands[2] to register_operand.
12590
12591 Wed Feb 13 10:35:56 CET 2002  Jan Hubicka  <jh@suse.cz>
12592
12593         * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
12594
12595 2002-02-12  Aldy Hernandez  <aldyh@redhat.com>
12596
12597         * config/rs6000/rs6000.md: Use predicate altivec_register_operand
12598         for altivec_lvx* and altivec_stvx*.
12599         ("*movv4si_internal"): Add constraint for loading from GPRs.
12600         ("*movv8hi_internal1"): Same.
12601         ("*movv16qi_internal1"): Same.
12602         ("*movv4sf_internal1"): Same.
12603
12604         * config/rs6000/rs6000.c (altivec_register_operand): New.
12605
12606         * config/rs6000/rs6000.h (PREDICATE_CODES): Add
12607         altivec_register_operand.
12608
12609 2002-02-13  Hans-Peter Nilsson  <hp@bitrange.com>
12610
12611         * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
12612         handle SYMBOL_REF.
12613
12614 2002-02-13  Stan Shebs  <shebs@apple.com>
12615
12616         * c-typeck.c (digest_init): Handle vectors.
12617         (really_start_incremental_init): Same.
12618         (pop_init_level): Same.
12619         (process_init_element): Same.
12620
12621         * varasm.c (output_constant): Same.
12622
12623         * expr.c (clear_storage): Same.
12624         (store_constructor): Same.
12625
12626 2002-02-12  Eric Christopher  <echristo@redhat.com>
12627
12628         * explow.c (hard_function_value): Add comment explaining
12629         signed/unsigned comparison.
12630
12631 2002-02-12  Jakub Jelinek  <jakub@redhat.com>
12632
12633         * jump.c (never_reached_warning): Add finish argument.
12634         If finish is NULL, stop on CODE_LABEL, otherwise stop before first
12635         real insn after end.
12636         * rtl.h (never_reached_warning): Adjust prototype.
12637         * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
12638         * cfgrtl.c (flow_delete_block): Pass b->end as finish to
12639         never_reached_warning.
12640
12641 2002-02-12  Graham Stott  <grahams@redhat.com>
12642
12643         * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
12644
12645 2002-02-12  Kazu Hirata  <kazu@hxi.com>
12646
12647         * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
12648         logical shifts on H8/300.
12649         (shift_alg_si): Improve several shifts on H8/300.
12650         (get_shift_alg): Likewise.
12651
12652 2002-02-12  Graham Stott  <grahams@redhat.com>
12653
12654         * config/pa/pa.c (compute_movstrsi_length): Fix typos.
12655
12656 Tue Feb 12 10:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12657
12658         * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
12659         Handle #ifdef POINTERS_EXTEND_UNSIGNED.
12660
12661 2002-02-11  Hans-Peter Nilsson  <hp@bitrange.com>
12662
12663         * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
12664         non-CONST_INT through default_assemble_integer.
12665         <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
12666         <case 8>: Abort for CONST_DOUBLE.
12667
12668 2002-02-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12669
12670         * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
12671         is specified.
12672         * config/pa/pa-linux.h (LIB_SPEC): Delete.
12673         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
12674
12675 2002-02-11  Andrew Haley  <aph@cambridge.redhat.com>
12676
12677         * config/stormy16/stormy16.md (zero_extendqihi2): New.
12678
12679 2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
12680
12681         * regrename.c (regrename_optimize): Don't accept a
12682         part-clobbered register if the replaced register is not part
12683         clobbered.
12684
12685         * calls.c (store_one_arg): In the non-BLKmode non-partial case,
12686         take padding into account when computing the argument value.
12687
12688         * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
12689
12690         * combine.c (try_combine): Apply substitutions in
12691         CALL_INSN_FUNCTION_USAGE too.
12692
12693 2002-02-11  Aldy Hernandez  <aldyh@redhat.com>
12694
12695         * config/rs6000/rs6000.c (altivec_init_builtins): Handle
12696         __builtin_altivec_abs*.
12697         (bdesc_abs): New.
12698
12699         * config/rs6000/rs6000.h (rs6000_builtins): Add
12700         ALTIVEC_BUILTIN_ABS*.
12701
12702         * config/rs6000/altivec.h: Use const char for builtins expecting
12703         literals.
12704         (vec_abs): New versions for C and C++.
12705         (vec_abss): Same.
12706
12707 2002-02-10  Kazu Hirata  <kazu@hxi.com>
12708
12709         * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
12710         using Pmode.
12711
12712 2002-02-10  Kazu Hirata  <kazu@hxi.com>
12713
12714         * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
12715         constant definition from h8300.md.
12716         (FRAME_POINTER_REGNUM): Likewise.
12717         * config/h8300/h8300.md (define_constants): Add FP_REG.
12718
12719 2002-02-10  Kazu Hirata  <kazu@hxi.com>
12720
12721         * config/h8300/h8300.c (print_operand): Remove redundant code.
12722
12723 2002-02-10  Kazu Hirata  <kazu@hxi.com>
12724
12725         * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
12726         * config/h8300/h8300.c (byte_reg): Make it static.
12727
12728 2002-02-10  Richard Henderson  <rth@redhat.com>
12729
12730         PR c/5623
12731         * c-typeck.c (incomplete_type_error): Handle flexible array members.
12732
12733 2002-02-10  Richard Henderson  <rth@redhat.com>
12734
12735         PR c++/5624
12736         * tree.c (append_random_chars): Don't abort if main_input_filename
12737         does not exist.
12738
12739 2002-02-10  Hans-Peter Nilsson  <hp@bitrange.com>
12740
12741         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
12742
12743 2002-02-10  Kazu Hirata  <kazu@hxi.com>
12744
12745         * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
12746         (pushhi1): Likewise.
12747
12748 2002-02-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12749
12750         * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
12751         * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
12752
12753 2002-02-09  David O'Brien  <obrien@FreeBSD.org>
12754
12755         * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
12756         remove MASK_VIS.
12757         (ASM_CPU_DEFAULT_SPEC): Remove.  Default setting is fine.
12758
12759 2002-02-09  Kazu Hirata  <kazu@hxi.com>
12760
12761         * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
12762         a half of an SImode register on H8/300.
12763
12764 Sat Feb  9 18:28:02 CET 2002  Jan Hubicka  <jh@suse.cz>
12765
12766         * i386.md (movdi_2): Add missing '!'.
12767
12768 2002-02-09  Kazu Hirata  <kazu@hxi.com>
12769
12770         * config/h8300/h8300.h: Fix formatting.  Remove commented-out
12771         definitions.
12772
12773 2002-02-09  Kazu Hirata  <kazu@hxi.com>
12774
12775         * config/h8300/h8300.md (length): Correct the distance valid
12776         for the short branch.
12777
12778 2002-02-09  Kazu Hirata  <kazu@hxi.com>
12779
12780         * config/h8300/h8300.md (iorhi3): Tighten the predicates.
12781
12782 2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
12783
12784         * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
12785         registers in SImode.
12786         (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
12787         part-clobbered.
12788
12789         * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
12790         patch.
12791
12792         Contribute sh64-elf.
12793         2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
12794         * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
12795         (sh_cannot_modify_jumps_p): New function.
12796         2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
12797         * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
12798         (sh_ms_bitfield_layout_p): New function.
12799         2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
12800                     Zack Weinberg  <zack@codesourcery.com>
12801         * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
12802         expand_simple_binop instead of expand_binop.
12803         2002-02-03  Alexandre Oliva  <aoliva@redhat.com>
12804         * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
12805         use of .quad and .uaquad.
12806         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
12807         TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
12808         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
12809         * config/sh/sh.md (movdi_const, movdi_const_32bit,
12810         movdi_const_16bit): Make sure all CONSTs have modes.
12811         (sym2PIC): Ditto, but by adjusting all callers.
12812         * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
12813         if the prologue calls the SHmedia argument decoder or register
12814         saver.
12815         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
12816         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
12817         (TARGET_ASM_ALIGNED_DI_OP): Likewise.
12818         (sh_expand_epilogue): Don't emit USE of return target register.
12819         (prepare_move_operands): Legitimize DImode PIC addresses.
12820         (sh_media_register_for_return): Skip tr0, used to initialize the
12821         PIC register.
12822         (sh_expand_prologue): Remove explicit USE of return register.
12823         (nonpic_symbol_mentioned_p): PC is non-PIC.  Don't recurse in
12824         CONST_DOUBLEs.  UNSPEC_GOTPLT is PIC.
12825         * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
12826         (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
12827         (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
12828         EXTRA_CONSTRAINT_T.
12829         (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
12830         (MOVI_SHORI_BASE_OPERAND_P): New.
12831         (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
12832         (EXTRA_CONSTRAINT_T): Define in terms of them.
12833         (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
12834         * config/sh/sh.md (movsi_media, movsi_media_nofpu,
12835         movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
12836         alternatives supporting TARGET_REGS.
12837         (UNSPEC_GOTPLT): New constant.
12838         (movdi split): Move incrementing of LABEL_NUSES...
12839         (movdi_const, movdi_const_32bit): Here.  Use
12840         MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
12841         (movdi_const_16bit): New.
12842         (call, call_value) [flag_pic]: Use GOTPLT.
12843         (call_pop, call_value_pop): New expands.
12844         (call_pop_compact, call_pop_rettramp): New insns.
12845         (call_value_pop_compact, call_value_pop_rettramp): New insns.
12846         (sibcall) [flag_pic]: Use GOT.
12847         (builtint_setjmp_receiver): Remove bogus, unused expand.
12848         (GOTaddr2picreg): Implement for SHcompact and SHmedia.
12849         (*pt, *ptb, ptrel): New insns.
12850         (sym2GOT): Handle DImode GOT.
12851         (sym2GOTPLT, symGOTPLT2reg): New expands.
12852         (sym2PIC): New expand.
12853         (shcompact_return_tramp): Use GOTPLT to return trampoline.
12854         (shcompact_return_tramp_i): Use return register explicitly.
12855         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
12856         disable flag_reorder_blocks.
12857         2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
12858         * config/sh/sh.md (sibcall_compact): Reorder return, uses and
12859         clobbers, for clarity.
12860         (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
12861         restoring of r0 in macl as MAYBE_DEAD.
12862         2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
12863         * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
12864         * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
12865         alter_subreg all over.
12866         (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
12867         reload, instead of emitting instructions that would require
12868         reloading.
12869         (casesi_load_media): Add missing modes.
12870         2001-11-09  Alexandre Oliva  <aoliva@redhat.com>
12871         * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
12872         as used if the argument decoder is called.
12873         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
12874         * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
12875         Pmode, then extend it to DImode if necessary.
12876         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
12877         * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
12878         constants in FPU-enabled SHmedia, let them be loaded from memory.
12879         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
12880         * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
12881         Adjust whitespace in assembly output templates.
12882         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
12883         * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
12884         mode of if_then_else.
12885         2001-08-04  Alexandre Oliva  <aoliva@redhat.com>
12886         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
12887         sh.h.
12888         2001-07-26  Andrew Haley  <aph@cambridge.redhat.com>
12889                     Joern Rennecke <amylaar@redhat.com>
12890         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
12891         (SUBTARGET_CPP_PTR_SPEC): New.
12892         (SUBTARGET_CPP_SPEC): Remove.
12893         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
12894         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
12895         Fix typo in previous checkin.
12896         2001-07-11  Chandrakala Chavva  <cchavva@redhat.com>
12897         * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
12898         2001-07-10  Chandrakala Chavva  <cchavva@cygnus.com>
12899                     Alexandre Oliva  <aoliva@redhat.com>
12900         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
12901         what single FP register can hold for SHmedia target.
12902         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
12903                     Alexandre Oliva  <aoliva@redhat.com>
12904         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
12905         Do not split into SUBREG.
12906         2001-06-14  Alexandre Oliva  <aoliva@redhat.com>
12907         * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
12908         and added new functions as specified in SH5 ABI r9.
12909         2001-06-04  Alexandre Oliva  <aoliva@redhat.com>
12910         * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
12911         8-byte boundary.
12912         2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
12913         * config/sh/sh.c (dump_table): Add const0_rtx in calls of
12914         gen_consttable_4 and gen_consttable_8.  Emit multiple labels
12915         and consttable_window_ends.
12916         2001-06-03  Graham Stott  <grahams@redhat,com>
12917         * config/sh/sh.md (movdi split): Remove unused variable last_insn.
12918         2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
12919         * config/sh/sh.c (print_operand): Handle floating-point pair,
12920         vector and matrix registers.
12921         * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
12922         vector modes into account.
12923         * config/sh/sh.md (movv2sf): Split move between registers into
12924         movdf.
12925         (movv4sf, movv16sf): Introduce insns that get split only after
12926         reload.
12927         * config/sh/shmedia.h: Fix Copyright dates.
12928         * config/sh/ushmedia.h: Likewise.  Move loop counter
12929         declarations into conditionals that uses them.
12930         (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
12931         loop boundary.
12932         * config/sh/sshmedia.h: Fix Copyright dates.
12933         (sh_media_PUTCFG): Fix constraints.
12934         2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
12935         * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
12936         ptrmemfunc_vbit_in_delta for SH5.
12937         2001-05-08  Alexandre Oliva  <aoliva@redhat.com>
12938         * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
12939         * invoke.texi: Likewise.
12940         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
12941         * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
12942         GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
12943         GCC_pop_shmedia_regs_nofpu): New global symbols.
12944         * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
12945         * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
12946         * config/sh/sh.c (calc_live_regs): Account for PR's saving in
12947         compact function with nonlocal labels.
12948         (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
12949         (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
12950         (initial_elimination_offset): Account for their stack space.
12951         * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
12952         * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
12953         movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
12954         movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
12955         least one of the operands to be a register.
12956         (movv2sf): Likewise.  Renamed to movv2sf_i.
12957         (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
12958         prepare_move_operands() before emitting SHmedia insns.
12959         2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
12960         * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
12961         Don't save nor initialize r12.  Don't mis-align the stack.
12962         Pad the code with a nop.
12963         * config/sh/crti.asm: Don't restore r12.  Don't mis-align the
12964         stack.
12965         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
12966         * gcc/longlong.h (__umulsidi3, count_leading_zeros)
12967         [__SHMEDIA__]: Implement.
12968         2001-03-11  Alexandre Oliva  <aoliva@redhat.com>
12969         * config/sh/sh.md: Set latency of `pt' closer to reality.
12970         (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
12971         movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
12972         Set move, load and store type attributes.
12973         * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
12974         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
12975         profiling.
12976         * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
12977         * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
12978         * config/sh/sh.c (sh_media_register_for_return): New function.
12979         (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
12980         branch-target register.
12981         (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
12982         * config/sh/sh.md (return_media_i): Use any call-clobbered
12983         branch-target register.
12984         (return_media): If r18 wasn't copied in the prologue, copy it
12985         here.
12986         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
12987         Clear class FP0_REGS.
12988         * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
12989         from elf.h.
12990         2001-03-08  DJ Delorie  <dj@redhat.com>
12991         * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
12992         2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
12993         * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
12994         2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
12995         * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
12996         2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
12997         * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
12998         return value correctly for call_cookie.
12999         2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
13000         * config/sh/crt1.asm (start): Modified so as to call
13001         ___setup_argv_and_call_main.
13002         2001-01-26  Alexandre Oliva  <aoliva@redhat.com>
13003         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
13004         SHmedia mode.
13005         2001-01-20  Alexandre Oliva  <aoliva@redhat.com>
13006         * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
13007         (STRIP_NAME_ENCODING): Use it.
13008         (ASM_OUTPUT_LABELREF): Likewise.  Don't call assemble_name().
13009         2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
13010         * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
13011         prepare_scc_operands().
13012         * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
13013         (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
13014         2001-01-17  Alexandre Oliva  <aoliva@redhat.com>
13015         * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
13016         2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
13017         * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
13018         * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
13019         used in shcompact_incoming_args.
13020         * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
13021         change.
13022         * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
13023         mode.
13024         * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
13025         Adjust accordingly.
13026         * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
13027         Simplify.  Adjust.  Add sanity check.
13028         * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
13029         FPU_SINGLE_BIT.
13030         * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
13031         TARGET_SHCOMPACT.
13032         (udivsi3, divsi3): Use them.
13033         (force_mode_for_call): New insn.
13034         (call, call_value, sibcall_value): Emit it before SHcompact
13035         calls.
13036         2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
13037         * config/sh/sh.md (call, call_value, sibcall): Make sure the
13038         call cookie is non-NULL before taking its value.
13039         2001-01-10  Alexandre Oliva  <aoliva@redhat.com>
13040         * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
13041         2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
13042         * config/sh/sh.md (shcompact_incoming_args): Set argument memory
13043         block.
13044         * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
13045         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
13046         temporary for stack adjusts.  Use MACL and MACH to pass
13047         arguments to shcompact_incoming_args.
13048         * config/sh/sh.md (shcompact_incoming_args): Adjust.  Don't
13049         clobber r1.
13050         * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
13051         (nested_trampoline): Load static chain address into r1.
13052         * config/sh/sh.md (movdi_media splits): Fix sign-extension.
13053         2001-01-07  Alexandre Oliva  <aoliva@redhat.com
13054         * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
13055         fp_arith_reg_operand().
13056         2001-01-06  Alexandre Oliva  <aoliva@redhat.com>
13057         * config/sh/sh.md (casesi): Sign-extend the first two operands,
13058         and use signed compares for them.
13059         * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
13060         4-byte ones.  Instead, inter-leave them, maintaining the 8-byte
13061         ones properly aligned.
13062         (find_barrier): Account for extra alignment needed for 8-byte wide
13063         constants.
13064         (machine_dependent_reorg): Require a label for the second 4-byte
13065         constant after an 8-byte one.
13066         * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
13067         change.
13068         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
13069         * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
13070         last_float when switching float modes.
13071         * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
13072         auto-increment for general-purpose registers.
13073         * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
13074         result.
13075         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
13076         for stack adjust.
13077         * config/sh/sh.c (sh_builtin_saveregs): Support using all
13078         registers for varargs.
13079         2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
13080         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
13081         * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
13082         CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
13083         (CALL_COOKIE_INT_REG_SHIFT): Adjust.
13084         (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK.  Adjust
13085         call_cookie accordingly.
13086         (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
13087         (SHCOMPACT_BYREF): Likewise.
13088         (SHCOMPACT_FORCE_ON_STACK): New macro.
13089         * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
13090         (sh_builtin_saveregs): Likewise.
13091         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
13092         shcompact_incoming_args): Use new shift values.  Support
13093         sequences of consecutive and non-consecutive pushes/pops.
13094         * config/sh/sh.md (return): Don't explicitly use PR_REG.
13095         2001-01-05  Hans-Peter Nilsson  <hpn@cygnus.com>
13096         * config/sh/sh.h (TEXT_SECTION): Define.
13097         * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
13098         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
13099         * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
13100         * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
13101         return values on FPU-enabled SHmedia.
13102         (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
13103         FPU-enabled SHmedia.
13104         (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
13105         value is returned in a non-FP reg and is not returned by
13106         reference.
13107         * config/sh/sh.md (shcompact_return_tramp_i): Change type to
13108         jump_ind.
13109         2000-01-04  Alexandre Oliva  <aoliva@redhat.com>
13110         * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
13111         (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
13112         quad-aligned to be passed by callee-copy reference.
13113         2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
13114         * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
13115         * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
13116         2001-01-02  Alexandre Oliva  <aoliva@redhat.com>
13117         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
13118         copying low-numbered FP regs to r7 and r8.
13119         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
13120         FP regs to general-purpose regs only if the copy was passed on the
13121         stack.
13122         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
13123         copying FP reg to r9.
13124         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
13125         copy FP regs to general-purpose regs only in outgoing calls.
13126         * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
13127         change from     2000-10-30.  Adjust for 64-bit (or 32-bit)
13128         HOST_WIDE_INT.
13129         * config/sh/sh.h (struct sh_args): Document all fields.
13130         (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
13131         passed partially on the stack should not consider making
13132         sibcalls.
13133         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
13134         stack_regs only for incoming calls.  When passing FP args,
13135         make sure there are FP regs available before modifying
13136         call_cookie.
13137         (SHCOMPACT_BYREF): Pass double args in general-purpose
13138         registers by reference.
13139         2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
13140         * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
13141         attempt to generate sibcalls if the caller got any arguments
13142         by reference.
13143         * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
13144         * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
13145         to 8-byte boundaries.
13146         * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
13147         * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
13148         * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
13149         stored in the stack.
13150         * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
13151         for the offsets to have the ISA bit set.
13152         (shcompact_call_trampoline): Document.  Swap r0 and r1, to match
13153         invocation.  Use beq instead of bgt to mark end of sequence of
13154         loads.
13155         (shcompact_incoming_args): Fix store of r2.  Use beq instead of
13156         bgt to mark end of sequence of stores.
13157         * config/sh/sh.c (arith_operand): Don't check whether
13158         CONST_OK_FOR_J for now.
13159         * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
13160         instead of long for conversion.
13161         2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
13162         * config/sh/sh.c (print_operand_address): Convert INTVAL to int
13163         before passing it to fprintf.
13164         2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
13165         * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
13166         Call set_fpscr before reading/writing SR.
13167         * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
13168         Call set_fpscr.
13169         * config/sh/lib1funcs.asm: Add `.align 2' directives before
13170         SHmedia code.
13171         (FMOVD_WORKS): Define on SH5 with FPU.
13172         (set_fpscr): Define on SH5.  Remove separate _fpscr_values
13173         setting.
13174         * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
13175         _fpscr_values.
13176         2000-12-28  Hans-Peter Nilsson  <hpn@cygnus.com>
13177         * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
13178         address.
13179         (ia_main_table): Ditto.
13180         2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
13181         * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
13182         * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
13183         the definitions from sh.h.
13184         * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
13185         TARGET_SH5.
13186         (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
13187         * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
13188         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
13189         2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
13190         * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
13191         Increment LABEL_NUSES.
13192
13193         * config/sh/sh.h (SIZE_TYPE): Define as conditional on
13194         TARGET_SH5.
13195         (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
13196         defined.
13197         * config/sh/elf.h (SIZE_TYPE): Likewise.
13198         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
13199         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
13200         shcompact_incoming_args): Load switch table addresses using
13201         datalabel.
13202         * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
13203         (NO_BUILTIN_SIZE_TYPE): Define.
13204         (SIZE_TYPE): Don't define.
13205         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
13206         * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
13207         definition of __SH5__=32 for -m5-compact-nofpu.
13208         * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
13209         ADDR_DIFF_VEC.
13210         2000-12-24  Alexandre Oliva  <aoliva@redhat.com>
13211         * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
13212         2000-12-23  Alexandre Oliva  <aoliva@redhat.com>
13213         * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
13214         (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
13215         (INSN_LENGTH_ALIGNMENT): Likewise.
13216         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
13217         * config/sh/sh.md (call, call_value, sibcall): Simplify
13218         copying of non-branch-target register.
13219         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
13220         * glimits.h (__LONG_MAX__): Revert      2000-12-13's patch.
13221         * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
13222         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
13223         * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
13224         floating-point values as structs.
13225         (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
13226         (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
13227         general-purpose register.
13228         (SH5_PROTOTYPED_FLOAT_ARG): New macro.
13229         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
13230         * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
13231         * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
13232         * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
13233         (ENCODE_SECTION_INFO): Enclose variables and constants in
13234         DATALABEL unspecs.
13235         (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
13236         (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
13237         (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
13238         * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
13239         only for LABEL_REFs.  For SYMBOL_REFs, prepend
13240         SH_DATALABEL_ENCODING to the symbol name.
13241         * config/sh/sh.md (indirect_jump): Use SUBREG instead of
13242         convert_mode().
13243         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
13244         * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
13245         UNSPEC_DATALABEL.
13246         * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
13247         * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
13248         (DATALABEL_REF_P): Don't require CONST.
13249         (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
13250         REL label.
13251         2000-12-19  Alexandre Oliva  <aoliva@redhat.com>
13252         * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
13253         right.
13254         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
13255         * config/sh/sh.md (movsi_media, call, call_value, sibcall):
13256         Use shallow_copy_rtx and PUT_MODE to change the mode of
13257         SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
13258         * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
13259         on SHmedia using GENERAL_REGs.
13260         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
13261         bltu_media_i): Fix reversion of conditions.
13262         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
13263         * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
13264         * config/sh/sh.c (output_far_jump): Save r13 in macl.
13265         2000-12-17  Alexandre Oliva  <aoliva@redhat.com>
13266         * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
13267         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
13268         * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
13269         (GCC_nested_trampoline): Likewise.
13270         * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
13271         * config/sh/sh.c (gen_datalabel_ref): Define.
13272         * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
13273         (INITIALIZE_TRAMPOLINE): Likewise.
13274         (TRAMPOLINE_ADJUST_ADDRESS): Define.
13275         (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
13276         (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
13277         (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
13278         * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
13279         (ic_invalidate): Adjust for SH5.
13280         (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
13281         * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
13282         _nested_trampoline.
13283         2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
13284         * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
13285         (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
13286         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
13287         * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
13288         * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
13289         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
13290         * config/sh/sh.c (target_reg_operand): Match only target-branch
13291         registers and pseudos that aren't virtual registers.
13292         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
13293         Copy operands that don't match target_reg_operand to pseudos.
13294         (call_media, call_value_media, sibcall_media): Use
13295         target_reg_operand instead of target_operand.
13296         2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
13297         * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
13298         * config/sh/sh.c (target_reg_operand): Match hardware registers
13299         other than branch-target registers.
13300         * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
13301         * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
13302         (fpscr_values) [SH5 == 32]: Define.
13303         * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
13304         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
13305         Handle function addresses coming in SUBREGs.
13306         2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
13307         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
13308         shcompact_return_trampoline): Use datalabel where appropriate.
13309         2000-12-09  Alexandre Oliva  <aoliva@redhat.com>
13310         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
13311         general-purpose register to copy one branch-target register to
13312         another.
13313         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
13314         * config/sh/sh.c (target_operand): Accept LABEL_REFs and
13315         SYMBOL_REFs with VOIDmode.
13316         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
13317         bltu_media_i): New insns.
13318         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
13319         * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
13320         (INIT_CUMULATIVE_ARGS): Likewise.
13321         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
13322         * machmode.def (V16SFmode): New mode.
13323         * c-common.c (type_for_mode): Support V2SF and V16SF.
13324         * tree.c (build_common_tree_nodes_2): Likewise.
13325         * tree.h (tree_index): Likewise.
13326         * calls.c (emit_call_1): Take args_so_far.  Adjust all
13327         callers.  Introduce CALL_POPS_ARGS.
13328         * tm.texi (CALL_POPS_ARGS): Document.
13329         * config/sh/crt1.asm: Implement in SHmedia mode.
13330         * config/sh/crti.asm, config/sh/crtn.asm: Likewise
13331         * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
13332         (DBX_REGISTER_NUMBER): Renumber registers for SH5.
13333         * config/sh/lib1funcs.asm: Disable functions unused in SH5.
13334         Implement divsi and udivsi in SHmedia mode.  Introduce
13335         SHcompact trampolines.
13336         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
13337         only in SHmedia64.
13338         (regno_reg_class): Rewrite.
13339         (fp_reg_names): Remove.
13340         (sh_register_names, sh_additional_register_names): New.
13341         (print_operand): Added `u'.  Support SUBREGs in addresses.
13342         Add parentheses around shifted CONSTs.
13343         (output_file_start): Output .mode and .abi directives.
13344         (shiftcosts, addsubcosts, multcosts): Adjust.
13345         (output_stack_adjust): Compute alignment.  Sanity-check SIZE.
13346         (push_regs): Take array of HOST_WIDE_INTs.  Adjust callers.
13347         (calc_live_regs): Output to array of HOST_WIDE_INTs.  Count
13348         bytes, not registers.  Take into account the need for the
13349         SHcompact incoming args trampoline.  Adjust all callers.
13350         (sh_expand_prologue): Take stack_regs into account.  Call
13351         incoming args trampoline.  Keep stack aligned as per SH5 ABI.
13352         (sh_expand_epilogue): Take stack_regs into accoutn.  Keep
13353         stack aligned as per SH5 ABI.
13354         (sh_builtin_saveregs): Support SH5 ABI.
13355         (sh_build_va_list, sh_va_start): Likewise.
13356         (initial_elimination_offset): Take alignment into account.
13357         Compute location of PR according to the SH5 stack frame.
13358         (arith_reg_operand): Reject branch-target registers.
13359         (shmedia_6bit_operand): New.
13360         (logical_operand): Use CONST_OK_FOR_P on SHmedia.
13361         (target_reg_operand): Match DImode only.  Accept SUBREGs.
13362         (target_operand): New.
13363         * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
13364         (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI.  Initialize
13365         SIBCALL_REGS for SHmedia.
13366         (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
13367         (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
13368         (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
13369         (TARGET_SWITCHES): New SH5 flags.
13370         (OVERRIDE_OPTIONS): Set SH5-specific options.  Use
13371         VALID_REGISTER_P to disable unsupported registers.
13372         (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
13373         (POINTER_SIZE, PARM_BOUNDARY): Adjust.
13374         (FUNCTION_ARG_PADDING): Define.
13375         (FASTEST_ALIGNMENT): Adjust.
13376         (SH_REGISTER_NAMES_INITIALIZER): New.
13377         (sh_register_names): Declare.
13378         (DEBUG_REGISTER_NAMES): Define.
13379         (REGISTER_NAMES): Define based on sh_register_names.
13380         (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
13381         (sh_additional_register_names): Declare.
13382         (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
13383         (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
13384         (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
13385         (REGISTER_NATURAL_MODE): Define.
13386         (FIRST_PSEUDO_REGISTER): Adjust.
13387         (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
13388         (HARD_REGNO_CALL_PART_CLOBBERED): Define.
13389         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
13390         (VECTOR_MODE_SUPPORTED_P): Define.
13391         (REG_CLASS_CONTENTS): Adjust.
13392         (SMALL_REGISTER_CLASSES): Adjust.
13393         (REG_ALLOC_ORDER): Adjust.
13394         (INDEX_REG_CLASS): Adjust.
13395         (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
13396         (CONST_OK_FOR_LETTER_P): Adjust.
13397         (PREFERRED_RELOAD_CLASS): Adjust.
13398         (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
13399         (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
13400         (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
13401         (FIRST_FP_PARM_REG): Adjust.
13402         (CALL_POPS_ARGS): Define.
13403         (FUNCTION_ARG_REGNO_P): Adjust.
13404         (struct sh_args): New fields.
13405         (GET_SH_ARG_CLASS): Adjust.
13406         (INIT_CUMULATIVE_ARGS): Adjust.
13407         (INIT_CUMULATIVE_INCOMING_ARGS): Define.
13408         (FUNCTION_ARG_ADVANCE): Adjust.
13409         (FUNCTION_ARG): Adjust.
13410         (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
13411         (FUNCTION_ARG_CALLEE_COPIES): Define.
13412         (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
13413         (STRICT_ARGUMENT_NAMING): Define.
13414         (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
13415         (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
13416         (SH5_WOULD_BE_PARTIAL_NREGS): Define.
13417         (SETUP_INCOMING_VARARGS): Adjust.
13418         (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
13419         (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
13420         (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
13421         (SUBREG_OK_FOR_INDEX_P): Adjust.
13422         (EXTRA_CONSTRAINT_S): Update.
13423         (EXTRA_CONSTRAINT_T): New.
13424         (EXTRA_CONSTRAINT): Adjust.
13425         (GO_IF_LEGITIMATE_INDEX): Adjust.
13426         (GO_IF_LEGITIMATE_ADDRESS): Adjust.
13427         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
13428         (MOVE_MAX): Adjust.
13429         (MAX_MOVE_MAX): Define.
13430         (Pmode): Adjust.
13431         (CONST_COSTS): Adjust.
13432         (REGISTER_MOVE_COST): Adjust.
13433         (BRANCH_COST): Adjust.
13434         (TEXT_SECTION_ASM_OP): Adjust.
13435         (DBX_REGISTER_NUMBER): Adjust.
13436         (ASM_OUTPUT_DOUBLE_INT): New.
13437         (UNALIGNED_DOUBLE_INT_ASM_OP): New.
13438         (PREDICATE_CODES): Adjust.
13439         (PROMOTE_MODE): Adjust.
13440         (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
13441         * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
13442         (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
13443         (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
13444         (DR0_REG, DR2_REG, DR4_REG): Renumber.
13445         (TR0_REG, TR1_REG, TR2_REG): New.
13446         (XD0_REG): Renumber.
13447         (UNSPEC_COMPACT_ARGS): New.
13448         (type): Added pt and ptabs.
13449         (length): Default to 4 on SHmedia.  Default pt length to 12
13450         and     20 on SHmedia32 and SHmedia64, respectively.
13451         (pt): New function unit.
13452         (movdi, movsi): Add types pt and ptabs.  Don't increment LABEL_NUSES.
13453         Add whitespace between operands of SHmedia instructions.
13454         (movdicc): Fix.
13455         (adddi3_media, addsi3_media): Adjust constraints.
13456         (subsi3) [SHmedia]: Force operand 1 into a register.
13457         (udivsi3_i1_media, udivsi3_i4_media): New.
13458         (udivsi3): Support SHmedia.
13459         (divsi3_i1_media, divsi3_i4_media): New.
13460         (divsi3): Support SHmedia.
13461         (anddi3, iordi3, xordi3): Adjust constraints.
13462         (zero_extendhidi2, zero_extendqidi2): New.
13463         (extendsidi2, extendhidi2, extendqidi2): New.
13464         (push, pop, push_e, push_fpul, push_4): Disable on SH5.
13465         (pop_e, pop_fpul, pop_4): Likewise.
13466         (movsi_media): Support FP and BT registers.
13467         (movsi_media_nofpu): New.  Adjust splits to DImode.
13468         (lduw, ldub): Renamed to zero_extend* above.
13469         (movqi_media): Fix typo.
13470         (movdi_media): Support FP and BT registers.
13471         (movdi_media_nofpu): New.  Adjust splits for SHmedia32.
13472         (movdi_const_32bit): New.
13473         (shori_media): Require immediate operand.  Use `u' for output.
13474         (movdf_media, movsf_media): Simplified.
13475         (movdf_media_nofpu, movsf_media_nofpu): New.
13476         (movdf, movsf): Adjust
13477         (movv2sf, movv2sf, movv16sf): New.
13478         (beq_media, beq_media_i): Adjust constraints.  Don't use
13479         scratch BT register.
13480         (bne_media, bne_media_i): Likewise.
13481         (bgt_media, bgt_media_i): Likewise.
13482         (bge_media, bge_media_i): Likewise.
13483         (bgtu_media, bgtu_media_i): Likewise.
13484         (bgeu_media, bgeu_media_i): Likewise.
13485         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
13486         bunordered): Emit jump insn.  Force operands to registers when
13487         needed.
13488         (jump_media, jump): Simplify.
13489         (call_compact, call_compact_rettramp): New.
13490         (call_value_compact, call_value_compact_rettramp): New.
13491         (call_media, call_value_media): Simplify.
13492         (sibcall_compact, sibcall_media): New.
13493         (call, call_value): Adjust for SHmedia and SHcompact.
13494         (sibcall, sibcall_value, untyped_call): Likewise.
13495         (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
13496         (indirect_jump): Adjust for SHmedia.
13497         (casesi_jump_media): New.
13498         (nop): Re-enable for SHmedia.
13499         (call_site): Restrict to SH1.
13500         (casesi): Adjust for SHmedia.
13501         (casesi_shift_media, casesi_load_media): New.
13502         (return): Explicitly use PR register.  Call return trampoline
13503         on SHcompact.
13504         (return_i): Explicitly use PR register.
13505         (shcompact_return_tramp, shcompact_return_tramp_i): New.
13506         (return_media): Adjust.
13507         (shcompact_incoming_args): New.
13508         (epilogue): Adjust.
13509         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
13510         (movstrsi): Disable on SH5.
13511         (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
13512         (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
13513         (subsf3, subsf3_media): Likewise.
13514         (mulsf3, mulsf3_media, mac_media): Likewise.
13515         (divsf3, divsf3_media): Likewise.
13516         (floatdisf2, floatsisf2_media): Likewise.  Adjust constraints.
13517         (floatsisf2, fux_truncsfsi2): Likewise.
13518         (fix_truncsfdi2, fix_truncsfsi2_media): Likewise.  Adjust
13519         constraints.
13520         (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
13521         (cmpunsf_media, cmpsf): Likewise.
13522         (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
13523         (abssf2, abssf2_media): Likewise.
13524         (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
13525         (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
13526         (floatdidf2, floatsidf2_media): Likewise.  Adjust constraints.
13527         (floatsidf2, fix_truncdfsi2): Likewise.
13528         (fix_truncdfdi2, fix_truncdfsi2_media): Likewise.  Adjust
13529         constraints.
13530         (cmpeqdf_media, cmpgtdf_media): Likewise.
13531         (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
13532         (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
13533         (absdf2, absdf2_media): Likewise.
13534         (extendsfdf2, extendsfdf2_media): Likewise.
13535         (truncsfdf2, truncsfdf2_media): Likewise.
13536         * config/sh/sh64.h: New file.
13537         * config/sh/t-sh64: New file.
13538         * config/sh/shmedia.h: New file.
13539         * config/sh/ushmedia.h: New file.
13540         * config/sh/sshmedia.h: New file.
13541         * configure.in: Added sh64-*-elf.
13542         * configure: Rebuilt.
13543         2000-10-10  Alexandre Oliva  <aoliva@redhat.com>
13544         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
13545         (reg_class_from_letter): Use `b' for TARGET_REGS.
13546         (print_operand): Support `%M', `%m', `AND' and
13547         `ASHIFTRT'.  Do not precede constants with `#' on SHmedia.
13548         (andcosts): Adjust for SHmedia.
13549         (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
13550         Likewise.
13551         (target_reg_operand): New function.
13552         * config/sh/sh-protos.h (target_reg_operand): Declare.
13553         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
13554         FP registers on SH5.
13555         (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
13556         on SH4.
13557         (TARGET_REGISTER_P): New macro.
13558         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
13559         (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
13560         (EXTRA_CONSTRAINT_S): New macro.
13561         (EXTRA_CONSTRAINT): Adjust.
13562         (FLOAT_TYPE_SIZE): Define to 32.
13563         (Pmode): DImode on SHmedia.
13564         (CONST_COSTS): Adjust for SHmedia literals.
13565         (PREDICATE_CODES): Added target_reg_operand.
13566         (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
13567         * config/sh/sh.md: Remove all attrs from SHmedia insns.
13568         (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
13569         (cmpdi): Accept SHmedia.
13570         (movdicc_false, movdicc_true): New insns.
13571         (movdicc): New expand.
13572         (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
13573         no_new_pseudos.
13574         (addsi3_media): Match `S' constraint.
13575         (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
13576         (negdi2): Expand for SHmedia.
13577         (one_cmpldi2): New expand.
13578         (zero_extendsidi2): Change from expand to insn.
13579         (extendsidi2): Add constraints.
13580         (movdi_media, movsi_media): Change `%x' to `%M'.  Use `%m' for
13581         LD/ST address.  Fix SI immediate loading split.
13582         (movhi_media, movqi_media, lduw, ldub): New insns.
13583         (movhi, movqi): Accept SHmedia.
13584         (shori_media, movdi_media): Relax input constraints.  Split
13585         symbolic constants.
13586         (movdf_media, movsf_media): New insn.  New split to movdi.
13587         (movdf, movsf): Match on SHmedia.
13588         (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
13589         bgeu_media): New insns and splits.  New insns with `_i' suffix.
13590         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
13591         (bunordered): New expand.
13592         (jump_compact): Renamed from `jump'.
13593         (jump_media): New insn.
13594         (jump): New expand.
13595         (call_media, call_value_media): New insns.
13596         (call, call_value): Adjust.
13597         (indirect_jump_compact): Renamed from `indirect_jump'.
13598         (indirect_jump_media): New insn.
13599         (indirect_jump): New expand.
13600         (untyped_call, return): Accept SHmedia.
13601         (return_media): New insn.
13602         (prologue, epilogue, blockage): Accept SHmedia.
13603         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
13604         (sunordered): New expand.
13605         (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
13606         cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
13607         (addsf3_media, subsf3_media, mulsf3_media, mac_media,
13608         divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
13609         fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
13610         cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
13611         abssf2_media): New insns.
13612         (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
13613         cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
13614         (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
13615         floatdidf2, floatsidf2_media, fix_truncdfdi2,
13616         fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
13617         cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
13618         absdf2_media): New insns.
13619         (extendsfdf2, truncdfsf2): Adjust for SHmedia.
13620         (extendsfdf2_media, truncdfsf2_media): New insns.
13621         2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
13622         * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
13623         * config/sh/sh.h (CONST_OK_FOR_J): Document.
13624         (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
13625         * config/sh/sh.md (adddi3): New expand.
13626         (adddi3_media, adddi3z_media): New insns.
13627         (adddi3_compact): Renamed from adddi3.
13628         (addsi3_media): Use add.l r63 to add constant zero.
13629         (subdi3): New expand.
13630         (subdi3_media): New insn.
13631         (subdi3_compact): Renamed from subdi3.
13632         (mulsidi3): New expand.
13633         (mulsidi3_media): New insn.
13634         (mulsidi3_compact): Renamed from mulsidi3.
13635         (umulsidi3): New expand.
13636         (umulsidi3_media): New insn.
13637         (umulsidi3_compact): Renamed from umulsidi3.
13638         (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
13639         (ashlsi3, ashrsi3, lshrsi3): Use them.
13640         (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
13641         (ashldi3, ashrdi3, lshrdi3): Use them.
13642         (zero_extendsidi2): New expand.
13643         (extendsidi2): New insn.
13644         (movsi_media): New insn.  Split to movdi to load constants.
13645         (movsi): Enable for shmedia.
13646         (movdi_media): New insn.  Use shori_media to load wide constants.
13647         (short_media): New insn.
13648         (movdi): Enable for shmedia.
13649         2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
13650         * config/sh/sh.h (CPP_SPEC): Added `m5'.
13651         (SUBTARGET_CPP_SPEC): Added `!m5'.
13652         (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
13653         (TARGET_SWITCHES): Added `5' and `5-compact'.  Added SH1_BIT
13654         to all other SH variants.
13655         (TARGET_DEFAULT): Set to SH1_BIT.
13656         (OVERRIDE_OPTIONS): Recognize sh5 CPU.
13657         (BITS_PER_WORD): Raise to 64 on shmedia.
13658         (MAX_BITS_PER_WORD): Change to 64.
13659         (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
13660         (INT_TYPE_SIZE): Keep as 32.
13661         (UNITS_PER_WORD): Raise to 8 on shmedia.
13662         (MIN_UNITS_PER_WORD): Keep as 4.
13663         (POINTER_SIZE): Raise to 64 on shmedia.
13664         (CONST_OK_FOR_J): New macro.
13665         (CONST_OK_FOR_LETTER_P): Use it.
13666         (processor_type): Add PROCESSOR_SH5.
13667         * config/sh/sh.md: Conditionalize all expands, insns and
13668         splits to TARGET_SH1.
13669         (cpu): Added sh5.
13670         (addsi3_compact): Renamed from...
13671         (addsi3): Now an expand.
13672         (addsi3_media, subsi3_media): New insns.
13673         (subsi3): Don't negate constants with SHmedia.
13674
13675         * hooks.c: New file.
13676         * hooks.h: New file.
13677         * Makefile.in (HOOKS_H): New.
13678         (TARGET_DEF_H): Added $(HOOKS_H).
13679         (OBJS): Added hooks.o.
13680         (cfgcleanup.o, bb-reorder.o): Added target.h.
13681         (hooks.o): Added dependencies.
13682         * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
13683         (TARGET_INITIALIZER): this.
13684         * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
13685         * target.h (struct gcc_target): Added cannot_modify_jumps_p.
13686         * bb-reorder.c: Include target.h.
13687         (reorder_basic_blocks): Skip if cannot modify jumps.
13688         * cfgcleanup.c: Include target.h.
13689         (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
13690
13691 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
13692
13693         * config/mips/mips.md (casesi_internal, casesi_internal_di):
13694         Protect jump delay slot instructions with .set noreorder and
13695         .set nomacro.
13696
13697 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
13698
13699         * config/mips/mips.md (casesi_internal_di): Calculate
13700         the index into the target offset table correctly.
13701
13702 2002-02-08  Richard Henderson  <rth@redhat.com>
13703
13704         * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
13705         * final.c (output_addr_const): Accept and discard SUBREG.
13706         * varasm.c (decode_addr_const): Don't abort on unknown expressions --
13707         mark them unknown instead.
13708         (simplify_subtraction): Handle RTX_UNKNOWN.
13709         (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
13710
13711 2002-02-08  David Edelsohn  <edelsohn@gnu.org>
13712
13713         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
13714
13715 2002-02-08  Richard Henderson  <rth@redhat.com>
13716
13717         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
13718
13719 2002-02-08  Andreas Jaeger  <aj@suse.de>
13720
13721         * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
13722         * config/i386/t-linux64: New file.
13723
13724 2002-02-08  Jakub Jelinek  <jakub@redhat.com>
13725
13726         * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
13727         * c-parse.in (compstmt): Clear last_expr_type.
13728
13729 2002-02-07  Richard Henderson  <rth@redhat.com>
13730
13731         * loop.c (strength_reduce): Sink final_value when not
13732         eliminating a biv.
13733
13734 2002-02-07  David O'Brien  <obrien@FreeBSD.org>
13735
13736         * config/sparc/freebsd.h: Fix mismatched spec {.
13737
13738 2002-02-07  Richard Henderson  <rth@redhat.com>
13739
13740         * cfgrtl.c: Include recog.h and insn-config.h.
13741         (keep_with_call_p): Fix general_operand invocation.
13742         * Makefile.in (cfgrtl.o): Update dependencies.
13743
13744 2002-02-07  Kazu Hirata  <kazu@hxi.com>
13745
13746         * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
13747         comment.  Accept HImode only if TARGET_H8300.
13748
13749 2002-02-07  Eric Christopher  <echristo@redhat.com>
13750
13751         * config/mips/crtn.asm: Cleanup #ifdefs.
13752
13753 2002-02-07  Eric Christopher  <echristo@redhat.com>
13754
13755         * config/mips/crti.asm: Add changes for mips16. mips16 uses
13756         register 7 as RA instead of $31.
13757         * config/mips/crtn.asm: Ditto.
13758         * config/mips/mips.c (mips_move_2words): Add case for
13759         TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
13760         (compute_frame_size): Fix typo.
13761         (save_restore_insns): Ditto.  Make documentation about using
13762         register $7 as return register more precise.
13763         (mips_expand_epilogue): Fix comment. Add code to work around not
13764         being able to add to the stack pointer directly.
13765         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
13766         to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
13767         epilogue.
13768
13769 2002-02-07  Tom Rix  <trix@redhat.com>
13770
13771         * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
13772         immediates in ldu and stdu DS opcode field.
13773         * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
13774         * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
13775         * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
13776
13777 2002-02-07  Jeff Sturm  <jsturm@one-point.com>
13778
13779         * config/sparc/sparc.c (compute_frame_size): Don't correct frame
13780         offset for stack bias.
13781
13782 2002-02-07  H.J. Lu <hjl@gnu.org>
13783
13784         * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
13785
13786 2002-02-07  Ulrich Weigand  <uweigand@de.ibm.com>
13787
13788         * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
13789
13790 Thu Feb  7 12:14:17 CET 2002  Jan Hubicka  <jh@suse.cz>
13791
13792         * i386-protos.h (x86_order_regs_for_local_alloc): Declare
13793         * i386.c (x86_order_regs_for_local_alloc): New global function.
13794         * i386.h (REG_ALLOC_ORDER): CLeanup.
13795         (ORDER_REGS_FOR_LOCAL_ALLOC): New.
13796
13797 2002-02-07  Richard Henderson  <rth@redhat.com>
13798
13799         PR optimization/2463
13800         * alias.c (find_base_value): Recall base values for fixed hard regs.
13801         * loop.c (loop_regs_update): Don't use single_set on non-insns.
13802
13803 2002-02-07  Alexandre Oliva  <aoliva@redhat.com>
13804
13805         * config/mips/mips.md (define_delay) [mips16]: Adjust required
13806         length.
13807
13808 2002-02-06  Richard Henderson  <rth@redhat.com>
13809
13810         PR c/5609
13811         * stmt.c (resolve_operand_name_1): Take more care with mixed
13812         named and unnamed operands.
13813
13814 2002-02-06  Janis Johnson  <janis187@us.ibm.com>
13815             Jan Hubicka  <jh@suse.cz>
13816
13817         * loop.c (remove_constant_addition): Avoid clobbering a shared
13818         CONST expression.
13819
13820 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
13821
13822         * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
13823         * config/s390/t-linux64: New file.
13824         * config/s390/libgcc-glibc.ver: New file.
13825
13826 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
13827
13828         * config/s390/linux64.h: Delete file.
13829         * config/s390/s390x.h: New file.
13830         * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
13831         as target header file.
13832         * config/s390/linux.h (TARGET_VERSION): Define depending on
13833         DEFAULT_TARGET_64BIT.
13834         (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
13835         (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
13836         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
13837         (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
13838         (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
13839         (EXTRA_SPEC): New define.
13840         * config/s390/s390.h (TARGET_VERSION): Define depending on
13841         DEFAULT_TARGET_64BIT.
13842         (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
13843
13844 2002-02-06  Jason Merrill  <jason@redhat.com>
13845
13846         * c-decl.c (finish_function): Warn about a non-void function with
13847         no return statement and no abnormal exit.
13848         (current_function_returns_abnormally): New variable.
13849         (start_function): Clear it.
13850         (struct c_language_function): Add returns_abnormally.
13851         (push_c_function_context): Save it.
13852         (pop_c_function_context): Restore it.
13853         (builtin_function): Set TREE_THIS_VOLATILE on return fns.
13854         (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
13855         an explicit return type.
13856         * c-tree.h: Declare current_function_returns_abnormally.
13857         (C_FUNCTION_IMPLICIT_INT): New macro.
13858         * c-typeck.c (build_function_call): Set it.
13859         (c_expand_return): Set current_function_returns_value even if the
13860         value is erroneous.
13861
13862 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
13863
13864         PR c/5420:
13865         * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
13866         unsafe for reevaluation.
13867
13868 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
13869
13870         PR c/5482:
13871         * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
13872         EXPR_STMT, but COMPOUND_STMT, recurse into it.
13873
13874 2002-02-06  Richard Henderson  <rth@redhat.com>
13875
13876         * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
13877         be a general_operand.  Dest for function value must be a pseudo.
13878
13879 2002-02-06  Nick Clifton  <nickc@cambridge.redhat.com>
13880
13881         * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
13882         as SYMBOL_REFs from the constant pool.
13883
13884 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
13885
13886         * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
13887         passed by invisible reference.
13888
13889 2002-02-05  Richard Henderson  <rth@redhat.com>
13890
13891         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
13892
13893 2002-02-06  Hans-Peter Nilsson  <hp@bitrange.com>
13894
13895         Implement using "base addresses" in insn operands as default.
13896         * config/mmix/mmix.c (mmix_conditional_register_usage): if
13897         -mabi=gnu, modify fixed_regs to fit the GNU ABI.
13898         (mmix_extra_constraint): Use 'R' to indicate that GETA should be
13899         used to read the rtx value.
13900         (mmix_target_asm_function_epilogue): Fix spacing.
13901         (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
13902         (mmix_legitimate_address): Ditto.
13903         (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
13904         should be loaded with a GETA insn.  Don't allocate needless extra
13905         char for nul termination and fix misleading comment.
13906         (mmix_print_operand_address): Handle constants if
13907         TARGET_BASE_ADDRESSES.
13908         (mmix_output_register_setting): Use base addressing if
13909         TARGET_BASE_ADDRESSES and the number of insns is 3.
13910         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
13911         * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
13912         to use R as constraint, add LDA to match s.
13913         * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
13914         (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
13915         (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
13916         (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
13917         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
13918         order with other fixed registers.
13919         (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
13920         other parameter/call-clobbered registers.
13921         * doc/invoke.texi (Option Summary) <MMIX Options>: Add
13922         -mbase-addresses, -mno-base-addresses.
13923         (MMIX Options): Ditto.
13924
13925 2002-02-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13926
13927         * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
13928
13929 2002-02-06  Aldy Hernandez  <aldyh@redhat.com>
13930
13931         * config/rs6000/altivec.h: Change elem to _S_elem.
13932
13933 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
13934
13935         * config/netbsd.h (WCHAR_TYPE): Define.
13936         (WCHAR_TYPE_SIZE): Ditto.
13937         (WINT_TYPE): Ditto.
13938         * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
13939         (WCHAR_UNSIGNED): Ditto.
13940         (WCHAR_TYPE_SIZE): Ditto.
13941         (WINT_TYPE): Ditto.
13942         * config/arm/netbsd.h: Likewise.
13943         * config/i386/netbsd-elf.h: Likewise.
13944         * config/i386/netbsd.h: Likewise.
13945         * config/m68k/netbsd-elf.h: Likewise.
13946         * config/m68k/netbsd.h: Likewise.
13947         * config/ns32k/netbsd.h: Likewise.
13948         * config/sparc/netbsd.h: Likewise.
13949         * config/vax/netbsd.: Likewise.
13950
13951 2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
13952
13953         * target.h (struct gcc_target): Added ms_bitfield_layout_p.
13954         * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
13955         (TARGET_INITIALIZER): this.
13956         * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
13957         (BITFIELD_NBYTES_LIMITED): Markup fix.
13958         * tree.h (default_ms_bitfield_layout_p): Declare.
13959         (record_layout_info): Added prev_field.
13960         * tree.c (default_ms_bitfield_layout_p): New fn.
13961         * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
13962         PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
13963         * stor-layout.c: Include target.h.
13964         (start_record_layout): Initialize prev_field.
13965         (place_field): Handle MS bit-field layout, and disregard
13966         EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
13967         PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
13968         * Makefile.in (stor-layout.o): Adjust dependencies.
13969
13970 2002-02-05  Jason Merrill  <jason@redhat.com>
13971
13972         * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
13973
13974 2002-02-05  Andreas Jaeger  <aj@suse.de>
13975
13976         * crtstuff.c: Fix comments.
13977
13978 2002-02-05  Richard Henderson  <rth@redhat.com>
13979
13980         PR fortran/3393
13981         * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
13982         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
13983
13984         PR fortran/3392
13985         * config/mips/mips.c (function_arg): Handle TImode.
13986         (function_arg_advance): Likewise.
13987
13988 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
13989
13990         * config/rs6000/altivec.h (vec_step_help): Rename to
13991         __vec_step_help.
13992
13993 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
13994
13995         * config/rs6000/altivec.h: Fix typos.
13996
13997 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
13998
13999         * config/arm/netbsd.h: Correct a comment.
14000
14001 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
14002
14003         * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
14004         building void typed builtins.
14005
14006         * config/rs6000/altivec.h (vec_ld*): Fix typos.
14007         (vec_step): Implement for C++.
14008
14009 Mon Feb  4 19:23:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14010
14011         * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
14012
14013 2002-02-04  Richard Henderson  <rth@redhat.com>
14014
14015         * combine.c (nonzero_bits): Re-introduce special case for
14016         sp/fp/ap wrt REGNO_POINTER_ALIGN.
14017
14018 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
14019
14020         * doc/extend.texi: Warn about unsupported usage of altivec
14021         builtins.
14022
14023         * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
14024         (altivec_predicate_*): New.
14025
14026         * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
14027         Add C++ version of vec_*() functions.
14028
14029         * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
14030         (bdesc_2arg): Remove altivec predicates.
14031         (altivec_expand_builtin): Handle predicates.
14032         (altivec_init_builtins): Handle predicates.
14033         (altivec_expand_predicate_builtin): New.
14034
14035 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14036
14037         * pa.c (DO_FRAME_NOTES): Move forward.
14038         (store_reg): Revise handling of frame notes.
14039         (load_reg): Likewise.
14040         (set_reg_plus_d): Likewise.
14041         (hppa_expand_prologue): Likewise.
14042         (hppa_expand_epilogue): Likewise.
14043
14044 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14045
14046         * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
14047
14048 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
14049
14050         PR c/4475, c++/3780:
14051         * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
14052         * c-common.h (SWITCH_TYPE): Define.
14053         * c-typeck.c (c_start_case): Set SWITCH_TYPE.
14054         * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
14055         Rename spareness variable to sparseness.
14056         (expand_end_case_type): Renamed from expand_end_case, use orig_type
14057         if non-NULL instead of TREE_TYPE (orig_index).
14058         * tree.h (expand_end_case_type): Renamed from expand_end_case.
14059         (expand_end_case): Define using expand_end_case_type.
14060         * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
14061         to expand_end_case_type.
14062         * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
14063
14064 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14065
14066         * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
14067         (BIGGEST_ALIGNMENT): Change to 128.
14068
14069 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14070
14071         * pa32-linux.h (LINK_COMMAND_SPEC): Define.
14072
14073 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14074
14075         * pa.md (call_internal_reg_64bit): Remove unused variable.
14076
14077 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
14078
14079         * config/arm/arm.h (machine_function): Add uses_anonymous_args
14080         field.
14081         (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
14082         * config/arm/arm.c (current_function_anonymous_args): Delete,
14083         replace uses with cfun->machine->uses_anonymous_args.
14084         (arm_reorg): Do not reset uses_anonymous_args.
14085
14086         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
14087         any geenral register.
14088
14089 2001-02-04  Bernd Schmidt  <bernds@redhat.com>s
14090
14091         * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
14092         the entry block.
14093
14094 2002-02-04  Richard Henderson  <rth@redhat.com>
14095
14096         * combine.c (force_to_mode): Remove STACK_BIAS code.
14097         (nonzero_bits): Likewise.  Replace sp/fp special case with
14098         REGNO_POINTER_ALIGN.
14099
14100         * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
14101         (HARD_FRAME_POINTER_REGNUM): New.
14102         (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
14103         (FIXED_REGS, CALL_USED_REGS): Update.
14104         (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
14105         (CONDITIONAL_REGISTER_USAGE): Update for HFP.
14106         (HARD_REGNO_NREGS): Update for SFP.
14107         (STACK_POINTER_OFFSET): Include bias here ...
14108         (FIRST_PARM_OFFSET): ... not here.
14109         (STACK_BIAS): Remove.
14110         (INIT_EXPANDERS): New.
14111         (STARTING_FRAME_OFFSET): Do not include bias.
14112         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
14113         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
14114         (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
14115         * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
14116         * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
14117         * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
14118         (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
14119         (MUST_SAVE_REGISTER): Likewise.
14120         (sparc_flat_function_prologue): Likewise.
14121         (sparc_flat_function_epilogue): Likewise.
14122         (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
14123         (sparc_init_modes): SFP is GENERAL_REGS.
14124         (sparc_builtin_saveregs): SFP does not have bias applied.
14125
14126 2002-02-04  Richard Henderson  <rth@redhat.com>
14127
14128         * config/alpha/alpha.c (current_function_is_thunk): Don't check
14129         current_function_is_thunk.
14130         (alpha_sa_mask): Distinguish between current_function_is_thunk
14131         called from ASM_OUTPUT_MI_THUNK and not.
14132         (alpha_does_function_need_gp): Thunks always need gp.
14133         (alpha_start_function, alpha_output_function_end_prologue): Likewise.
14134         (alpha_output_mi_thunk_osf): New.
14135         * config/alpha/alpha-protos.h: Update.
14136         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
14137
14138 2002-02-04  Richard Sandiford  <rsandifo@redhat.com>
14139
14140         * c-typeck.c (build_c_cast): Warn when qualifiers are added to
14141         function types, not when they're taken away.
14142
14143 Mon Feb  4 09:05:58 2002  Jeffrey A Law  (law@redhat.com)
14144
14145         * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
14146         CODE_LABEL and jump table when replacing a table jump with a
14147         simple jump.
14148
14149 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14150
14151         * config/s390/s390-protos.h (legitimize_la_operand,
14152         s390_secondary_input_reload_class, s390_plus_operand,
14153         s390_expand_plus_operand): Add prototypes.
14154
14155         config/s390/s390.c (s390_secondary_input_reload_class,
14156         s390_plus_operand, s390_expand_plus_operand): New functions.
14157
14158         (struct s390_address): New member 'pointer'.
14159         (s390_decompose_address): Compute it.
14160         (legitimate_la_operand_p): Use it.
14161         (legitimize_la_operand): New function.
14162         (movti, movdi, movdf splitters): Call it.
14163
14164         config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
14165         (PREDICATE_CODES): Add s390_plus_operand.
14166
14167         config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
14168         (la_ccclobber): Allow GENERAL_REGS as output operand.
14169
14170         (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
14171         *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
14172         (*la_64, *la_31, reload_indi, reload_insi): ... these.
14173
14174 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14175
14176         * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
14177         register names for regular asm () construct.
14178
14179 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
14180
14181         * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
14182         registers.
14183
14184 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
14185
14186         * combine.c (recog_for_combine): Create a dummy insn with PATTERN
14187         pat for recog.
14188
14189 2002-02-04  Hartmut Penner  <hpenner@de.ibm.com>
14190
14191         * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
14192         constant pool to be identical by string address and index.
14193
14194 2002-02-04  Anthony Green  <green@redhat.com>
14195
14196         * output.h (SECTION_OVERRIDE): Define.
14197         * varasm.c (named_section): Obey SECTION_OVERRIDE.
14198
14199 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
14200
14201         * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
14202         by existing arm*-*-netbsd* (a.out) target.
14203         (ns32k-*-netbsdelf*): Likewise.
14204         (sparc-*-netbsdelf*): Likewise.
14205         (vax-*-netbsdelf*): Likewise.
14206
14207 2002-02-03  Danny Smith <dannysmith@users.sourceforge.net>
14208
14209         * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
14210         headers and libobjc headers.
14211
14212 2002-02-03  Mumit Khan  <khan@nanotech.wisc.edu>
14213
14214         * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
14215         (_mingw.h): Remove duplicate include.
14216
14217 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
14218
14219         * config.gcc: Set cpu_type to m68k for 68010, as well.
14220         (m68010-*-netbsdelf*): New...
14221         (m68k*-*-netbsdelf*): ...targets.
14222         * config/m68k/netbsd-elf.h: New file.
14223
14224 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14225
14226         * config/h8300/h8300.c (hand_list): Move inside function_arg.
14227
14228 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14229
14230         * config/h8300/h8300.c (h8_push_ops): Move inside
14231         h8300_init_once.
14232         (h8_pop_ops): Likewise.
14233         (h8_move_ops): Likewise.
14234
14235 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14236
14237         * config/h8300/h8300.c (os_task): Make it static.
14238         (monitor): Likewise.
14239         (pragma_saveall): Likewise.
14240
14241 2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
14242
14243         * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
14244         constant is a valid sign-extension for Pmode.
14245
14246 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14247
14248         * config/h8300/h8300.c: Fix formatting.
14249
14250 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14251
14252         * config/h8300/h8300.md: Fix formatting.
14253
14254 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14255
14256         * config/h8300/h8300.md (one_cmpl patterns): Tighten the
14257         predicates of operands[1].  Split the patterns for each
14258         processor variant.
14259
14260 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14261
14262         * config/h8300/h8300.md (xor patterns): Tighten the predicates
14263         of operands[1] to register_operand.
14264
14265 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
14266
14267         * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
14268         * cpphash.c (_cpp_init_hashtable): Similarly.
14269         * cppinit.c (cpp_create_reader): Default the signed_char flag.
14270         (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
14271         (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
14272         (cpp_handle_option): Handle the new options.
14273         * cpplex.c (cpp_interpret_charconst): Use new flag.
14274         * cpplib.h (struct cpp_options): New member signed_char.
14275         * gcc.c (cpp_unique_options): Remove %c spec and documentation.
14276         (cpp_options): Handle -fsigned-char and -funsigned-char.
14277         (static_specs): Remove signed_char_spec.
14278         (do_spec1): Don't handle %c.
14279         * system.h: Poison SIGNED_CHAR_SPEC.
14280         * tradcif.y (yylex): Use flag_signed_char.
14281         * tradcpp.h (flag_signed_char): New.
14282         * tradcpp.c (flag_signed_char): New.
14283         (main): Handle new command-line options.
14284         (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
14285 config:
14286         * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
14287         * avr/avr.h: Remove old comments.
14288         * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
14289         (CC1_SPEC): Pass -fsigned-char if -mic*.
14290         (SIGNED_CHAR_SPEC): Remove.
14291 doc:
14292         * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
14293
14294 2002-02-01  Eric Christopher  <echristo@redhat.com>
14295
14296         From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
14297         * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
14298         * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
14299         (ASM_OUTPUT_REG_POP): Ditto.
14300
14301 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
14302
14303         * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
14304         patch.
14305
14306 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
14307
14308         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
14309
14310 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
14311
14312         PR c/5304:
14313         * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
14314         unconditionally.
14315
14316 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
14317
14318         * cfganal.c: Include tm_p.h.
14319         (keep_with_call_p): Fix the test that determines if a register holds
14320         the return value of a call.
14321
14322 2002-02-01  DJ Delorie  <dj@redhat.com>
14323
14324         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
14325         we are given conflicting registers, switch to the other one we
14326         had allocated for us.
14327         * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
14328         as TImode so we know when the "other" register is available.
14329
14330 2002-02-01  David O'Brien  <obrien@FreeBSD.org>
14331
14332         * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
14333         sparc/sparc_bi.h.
14334
14335 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
14336
14337         * cfganal.c (keep_with_call_p): New function.
14338         (flow_call_edges_add): Prevent splitting a block between a call and
14339         a single-set instruction that should be kept in the same block.
14340
14341 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
14342
14343         * doc/install.texi (avr): Update outdated URL.
14344
14345 2002-01-30  Andrew Haley  <aph@cambridge.redhat.com>
14346
14347         * config/stormy16/stormy16.md (pushqi): New.
14348         (popqi): New.
14349         (pushhi): New.
14350         (pophi): New.
14351         (movhi): Remove stack operands.
14352         (movqi): Likewise.
14353         * config/stormy16/stormy16.h (PREDICATE_CODES): Add
14354         nonimmediate_nonstack_operand.
14355         * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
14356         New.
14357         * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
14358         New.
14359
14360 2002-01-31  Jason Merrill  <jason@redhat.com>
14361
14362         * Makefile.in (c-parse.c): Handle .output file.
14363         * objc/Make-lang.in (objc-parse.c): Likewise.
14364
14365 2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
14366
14367         * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
14368         the -me[lb] option is given.  Don't output the default flag
14369         twice.
14370
14371 2002-01-31  Zack Weinberg  <zack@codesourcery.com>
14372
14373         * c-lex.c (yyparse): Call debug_hooks->start_source_file for
14374         the primary source file; this has not been done yet.
14375         * c-decl.c (c_expand_body): Reset input_filename from
14376         DECL_SOURCE_FILE (fndecl) before calling init_function_start.
14377
14378 2002-01-31  Kazu Hirata  <kazu@hxi.com>
14379
14380         * rtlanal.c (subreg_regno_offset): Do not use
14381         SUBREG_REGNO_OFFSET.
14382         * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
14383         * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
14384
14385 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
14386
14387         * gccbug.in: Follow GNU Coding Standards for --version.  Use GCC
14388         version rather than GNATS version in --version output.
14389
14390 2002-01-31  Richard Sandiford  <rsandifo@redhat.com>
14391
14392         * ifcvt.c (noce_process_if_block): Make a copy of the destination
14393         when copying back from a temporary.
14394
14395 2002-01-30  Richard Henderson  <rth@redhat.com>
14396
14397         * ifcvt.c (dead_or_predicable): Handling merging when other_bb
14398         and new_dest are the same.
14399
14400 2002-01-30  Richard Henderson  <rth@redhat.com>
14401
14402         PR opt/5076
14403         * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
14404         * rtl.c (note_insn_name): Update.
14405         * emit-rtl.c (remove_unnecessary_notes): Kill it.
14406         * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
14407         to perform loop rotation.
14408         (expand_exit_loop_top_cond): New.
14409         * tree.h (expand_exit_loop_top_cond): Declare it.
14410         * c-semantics.c (genrtl_while_stmt): Use it.
14411         (genrtl_for_stmt): Likewise.
14412
14413 2002-01-30  Alexandre Oliva  <aoliva@redhat.com>
14414
14415         * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
14416         arguments to 64-bit boundaries on 64-bit ABIs.
14417
14418 2002-01-30  Steve Ellcey  <sje@cup.hp.com>
14419
14420         * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
14421
14422 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
14423
14424         * c-decl.c (grokdeclarator): Handle type being a typedef for an
14425         invalid type.
14426
14427 2002-01-30  David O'Brien  <obrien@FreeBSD.org>
14428
14429         * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
14430         * config/sparc/sparc_bi.h: Remove file.
14431         * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
14432
14433 2002-01-30  Richard Henderson  <rth@redhat.com>
14434
14435         * sched-deps.c (sched_analyze): Make a call read the frame pointer.
14436
14437 2002-01-30  Zack Weinberg  <zack@codesourcery.com>
14438
14439         * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
14440
14441 2002-01-30  Jason Merrill  <jason@redhat.com>
14442
14443         * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
14444         (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
14445         (reg_save): Use DW_CFA_offset_extended_sf instead.
14446
14447         * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
14448
14449 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
14450
14451         * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
14452         in cselib_lookup.
14453
14454 2002-01-29  Aldy Hernandez  <aldyh@redhat.com>
14455
14456         * rs6000.md ("*call_value_local32"): Remove constraints.
14457         ("*call_value_local64"): Same.
14458         ("*call_value_indirect_nonlocal_aix32"): Same.
14459         ("*call_value_nonlocal_aix32"): Same.
14460         ("*call_value_indirect_nonlocal_aix64"): Same.
14461         ("*call_value_nonlocal_aix64"): Same.
14462         ("*call_value_nonlocal_sysv"): Same.
14463
14464 2002-01-29  Richard Henderson  <rth@redhat.com>
14465
14466         * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
14467
14468 2002-01-29  Richard Henderson  <rth@redhat.com>
14469
14470         * expr.c (force_operand): Ignore flag_pic for detecting pic
14471         address loads.
14472         * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
14473         for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
14474         * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
14475         instead of open-coded loop.
14476         * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
14477         be fixed when in use.
14478
14479 2002-01-29  Richard Henderson  <rth@redhat.com>
14480
14481         * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
14482         * sched-rgn.c (propagate_deps): Update them.
14483         * sched-deps.c (sched_analyze_insn): Update them.  Flush the
14484         clobbers list when either gets too long.
14485
14486 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
14487
14488         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
14489         and INDEX_REGS the same as GENERAL_REGS.
14490         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
14491
14492 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
14493
14494         * tree.c (build_nonstandard_integer_type): Correct prototype.
14495
14496 2002-01-29  Ulrich Weigand  <uweigand@de.ibm.com>
14497
14498         * config/s390/s390.md (movstrsico, movstrdix_64,
14499         movstrsix_31): Remove, replace by ...
14500         (movstrdi_short, movstrsi_short, movstrdi_long,
14501         movstrsi_long): ... these.  New.
14502         (movstrdi, movstrsi): Adapt.
14503
14504         (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
14505         ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
14506         Remove unnecessary CC clobber.
14507         (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
14508         *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
14509
14510         (divmoddi4): Don't partially initialize TImode register.
14511
14512 2002-01-29  Geoffrey Keating  <geoffk@redhat.com>
14513
14514         * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
14515
14516 2002-01-29  Richard Henderson  <rth@redhat.com>
14517
14518         * flow.c (print_rtl_and_abort): Remove.
14519         (print_rtl_and_abort_fcn): Remove.
14520         (verify_local_live_at_start): Use dump_bb instead.
14521         (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
14522         (verify_wide_reg_1): Return 2 on mode test failure.
14523
14524 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
14525
14526         PR c/3325, c/3326, c/2511, c/3347
14527         * c-decl.c (enum_decl_context): Remove BITFIELD.
14528         (grokdeclarator): Take bitfield width as an input.
14529         Ensure bitfields are given the correct type.  Perform
14530         bitfield width validation with build_bitfield_integer_type
14531         rather than waiting for finish_struct.
14532         (grok_typename, grok_typename_in_parm_context, start_decl,
14533         push_parmdecl, grokfield, start_function): Update calls to
14534         grokdeclarator.
14535         (build_bitfield_integer_type): New function.
14536         (finish_struct): Move bitfield validation to grokdeclarator
14537         and build_bitfield_integer_type.
14538         * tree.c (build_nonstandard_integer_type): New function.
14539         * tree.h (build_nonstandard_integer_type): New prototype.
14540 objc:
14541         * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
14542
14543 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
14544
14545         PR other/1502:
14546         * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
14547         don't ignore unrecognized -W* options.
14548         (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
14549         * cpplib.h (cpp_handle_option): Adjust prototype.
14550         * c-decl.c (c_decode_options): Pass 0 as last argument to
14551         cpp_handle_option.
14552
14553         PR c/2896:
14554         * gcc.c (cpp_unique_options): Split from cpp_options.
14555         (cpp_options): Source cpp_unique_options.
14556         (default_compilers): Use cpp_unique_options instead of cpp_options
14557         when used together with cc1_options.
14558         (static_specs): Add cpp_unique_options.
14559         * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
14560         when used together with cc1_options.
14561
14562 2002-01-29  Kazu Hirata  <kazu@hxi.com>
14563
14564         * config/h8300/h8300-protos.h: Update the prototype of
14565         output_a_shift.
14566         * config/h8300/h8300.c (output_a_shift): Remove an unused
14567         argument 'insn'.  Remove redundant code.
14568         * config/h8300/h8300.md: Adust to the new prototype of
14569         output_a_shift.
14570
14571 2002-01-29  Kazu Hirata  <kazu@hxi.com>
14572
14573         * config/h8300/h8300-protos.h: Update the prototypes of
14574         emit_a_rotate and expand_a_rotate.
14575         * config/h8300/h8300.c (emit_a_rotate): Change the type of the
14576         first argument to 'enum rtx_code'.
14577         (expand_a_rotate): Likewise.
14578
14579 2002-01-28  Kazu Hirata  <kazu@hxi.com>
14580
14581         * config/h8300/h8300-protos.h: Update the prototype of
14582         output_simode_bld.
14583         * config/h8300/h8300.c (output_simode_bld): Remove an argumen
14584         'log2'.
14585         * config/h8300/h8300.md: Adjust to the new prototype.
14586
14587 2002-01-28  Kazu Hirata  <kazu@hxi.com>
14588
14589         * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
14590         redundant code.
14591
14592 2002-01-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14593
14594         * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
14595         is a fixed register before returning pic_offset_table_rtx.
14596         * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
14597         when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
14598
14599 2002-01-28  Jason Merrill  <jason@redhat.com>
14600
14601         * dwarf2.h: Sync with src version.
14602
14603 2002-01-28  Paul Koning  <pkoning@equallogic.com>
14604
14605         * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
14606         BT_FN_VOID_PTR_VAR.
14607         * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
14608         * doc/extend.texi (__builtin_prefetch): Update documentation:
14609         first argument is now const void ptr.
14610
14611 2002-01-28  Kazu Hirata  <kazu@hxi.com>
14612
14613         * config/h8300/h8300-protos.h: Remove an unused prototype.
14614
14615 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
14616
14617         * toplev.c (lang_independent_init): Round up identifier size.
14618
14619 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
14620
14621         * config.gcc: Revert previous change.
14622
14623 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
14624
14625         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
14626
14627 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
14628
14629         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
14630         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
14631         other non-elf netbsd config frags.
14632         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
14633         collect2 will does that.
14634         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
14635         shared-lib frobbing will work.
14636
14637 2002-01-28  Kazu Hirata  <kazu@hxi.com>
14638
14639         * config/h8300/h8300.h: Fix formatting.
14640         * config/h8300/h8300.md: Likewise.
14641
14642 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
14643
14644         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
14645         the old, removed AAA_standards fix.
14646         * fixinc/fixincl.x: Rebuilt.
14647
14648 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
14649
14650         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
14651         atexit call in crtbegin, hooked in after call to frame_dummy;
14652         register EH before registering __fini__start.
14653
14654 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
14655
14656         * config/rs6000/altivec.h: Remove spurious semicolons.
14657
14658 2002-01-27  Kazu Hirata  <kazu@hxi.com>
14659
14660         * config/h8300/h8300.md: Replace dead bit extraction patterns
14661         with ones that work.
14662
14663 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14664
14665         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
14666         if not STRICT_ALIGNMENT.
14667         * rtl.h (MEM_ALIGN): Likewise.
14668
14669 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
14670
14671         * doc/invoke.texi (-fdump-translation-unit): Revert this
14672         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
14673
14674 2002-01-27  Kazu Hirata  <kazu@hxi.com>
14675
14676         * config/h8300/h8300.md (define_constants): New.
14677         (anonymous patterns) Use defined constants appropriately.
14678
14679 2002-01-27  Kazu Hirata  <kazu@hxi.com>
14680
14681         * config/h8300/h8300.c (function_arg): Remove redundant code.
14682
14683 2002-01-26  Richard Henderson  <rth@redhat.com>
14684
14685         * sched-deps.c (reg_pending_uses_head): New.
14686         (reg_pending_barrier): Rename from reg_pending_sets_all.
14687         (find_insn_list): Don't mark inline.
14688         (find_insn_mem_list): Remove.
14689         (add_dependence_list, add_dependence_list_and_free): New.
14690         (flush_pending_lists): Replace only_write param with separate
14691         for_read and for_write parameters.  Update all callers.  Use
14692         add_dependence_list_and_free.
14693         (sched_analyze_1): Do not add reg dependencies here; just set
14694         the pending bits.  Use add_dependence_list.
14695         (sched_analyze_2): Likewise.
14696         (sched_analyze_insn): Replace schedule_barrier_found with
14697         reg_pending_barrier.  Add all dependencies for pending reg
14698         uses, sets, and clobbers.
14699         (sched_analyze): Don't add reg dependencies for calls, just
14700         set pending bits.  Use regs_invalidated_by_call.  Treat
14701         sched_before_next_call as a normal list, not a fake insn.
14702         (init_deps): No funny init for sched_before_next_call.
14703         (free_deps): Free pending mems lists.  Don't zero reg_last.
14704         (init_deps_global): Init reg_pending_uses.
14705         (finish_deps_global): Free it.
14706         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
14707         (find_insn_mem_list): Remove.
14708         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
14709         (propagate_deps): Use them.  Zero temp mem lists.
14710
14711 2002-01-26  Richard Henderson  <rth@redhat.com>
14712
14713         * Makefile.in (CRTSTUFF_CFLAGS): New.
14714         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
14715         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
14716         crtstuff.c instead of alpha assembly version.
14717         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
14718         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
14719         not FORCE_{INIT,FINI}_SECTION_ALIGN.
14720         (__do_global_dtors_aux): Mark used.
14721         (frame_dummy, __do_global_ctors_aux): Mark used.
14722         (fini_dummy, init_dummy): Remove.
14723
14724         * config/alpha/crtbegin.asm: Remove file.
14725         * config/alpha/crtend.asm: Remove file.
14726         * config/alpha/t-crtbe: Remove file.
14727         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
14728         (LINK_EH_SPEC): New.
14729
14730         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
14731         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
14732         calling constructors.
14733         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
14734
14735         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
14736         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
14737         CRT_END_INIT_DUMMY hack.
14738         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
14739         FORCE_{INIT,FINI}_SECTION_ALIGN.
14740
14741         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
14742         FORCE_{INIT,FINI}_SECTION_ALIGN.
14743
14744         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
14745         invocation sequence.
14746         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
14747
14748         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
14749         (FORCE_CODE_SECTION_ALIGN): New.
14750
14751 2002-01-26  Richard Henderson  <rth@redhat.com>
14752
14753         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
14754
14755 2002-01-26  Richard Henderson  <rth@redhat.com>
14756
14757         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
14758         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
14759
14760 2002-01-26  Kazu Hirata  <kazu@hxi.com>
14761
14762         * config/h8300/h8300.md: Remove bit extraction patterns that
14763         cannot be triggered.
14764         Restrict each bit extraction pattern to a variant on which the
14765         pattern is tested.
14766
14767 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
14768
14769         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
14770
14771 2002-01-26  Kazu Hirata  <kazu@hxi.com>
14772
14773         * config/h8300/h8300.md: Remove bit test patterns that cannot
14774         be triggered.
14775         Restrict each bit test pattern to a variant on which the
14776         pattern is tested.
14777
14778 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14779
14780         * builtins.c (expand_builtin_strncat): Remove redundant check for
14781         INTEGER_CST.
14782
14783 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
14784
14785         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
14786         default setting.
14787         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
14788         existing setting.
14789
14790 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
14791
14792         * dbxout.c (dbxout_init): Use assemble_name rather than just
14793         stripping off the first character.
14794         (dbxout_source_file): Likewise.
14795
14796 2002-01-25  DJ Delorie  <dj@redhat.com>
14797
14798         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
14799         using rtx_equal_p, not by comparing pointers.
14800
14801 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
14802
14803         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
14804         for PIC_OFFSET_TABLE_REGNUM.
14805         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
14806
14807 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
14808
14809         * config.gcc (x86_64-*-freebsd*): New target.
14810         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
14811         value.
14812         (i[34567]86-*-freebsd*): Don't include svr4.h.
14813         * config/i386/freebsd64.h: New file.
14814
14815 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
14816
14817         * config/alpha/x-vms (version): Make static.
14818
14819         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
14820         in previous checkin.
14821
14822         * Makefile.in (install-headers-cp): New target.
14823         * config.gcc (alpha-dec-*vms*): Install headers with
14824         install-headers-cp
14825
14826 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
14827
14828         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
14829         avoid it's copies.
14830
14831 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14832
14833         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
14834         of compare_tree_int.
14835         (expand_builtin_strncat): Likewise.
14836         * c-decl.c (finish_struct): Use tree_low_cst.
14837         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
14838         * tree.c (compare_tree_int): Likewise.
14839
14840 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
14841
14842         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
14843         adjustments even if they are implemented by more than two insns.
14844
14845 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
14846
14847         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
14848         * df.h (struct ref): Kill B.
14849         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
14850
14851         * basic-block.h (PROP_EQUAL_NOTES): New flag.
14852         * flow.c (propagate_one_insn): Use it.
14853         (mark_used_regs): Handle NIL.
14854
14855 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
14856
14857         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
14858         to help folding.
14859
14860 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
14861
14862         * rs6000.md (prefetch): Make address V4SI mode so that the address
14863         is restricted to legitimate form for instruction.
14864
14865 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
14866
14867         * doc/install.texi (xtensa-*-elf): New target.
14868         (xtensa-*-linux*): New target.
14869         * doc/contrib.texi: Add myself.
14870
14871 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
14872
14873         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
14874         purpose register to hold an SImode (or smaller) value.
14875
14876 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
14877
14878         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
14879         registry only.
14880         * crtstuff.c: Likewise.
14881
14882 2002-01-25  Kazu Hirata  <kazu@hxi.com>
14883
14884         * config/h8300/h8300.md (negation patterns): Tighten
14885         predicates to register_operand.
14886
14887 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
14888
14889         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
14890         mode, not Pmode.
14891
14892         * builtins.c (expand_builtin_prefetch): Same.
14893
14894 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
14895
14896         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
14897         modes.
14898
14899 2002-01-24  Kazu Hirata  <kazu@hxi.com>
14900
14901         * config/h8300/h8300.c (print_operand): Remove support for
14902         operand character 'A'.
14903         * config/h8300/h8300.md (three anonymous patterns): Replace
14904         operand character 'A' with either 'T' or 'S'.
14905
14906 2002-01-24  Kazu Hirata  <kazu@hxi.com>
14907
14908         * config/h8300/h8300.c (print_operand): Remove support for
14909         operand character 'U'.
14910
14911 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
14912
14913         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
14914
14915 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
14916
14917         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
14918         values to be assigned to the stack pointer.
14919
14920 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
14921
14922         * emit_rtl.c (gen_lowpart_common): Conversion from const_int
14923         to const_double needs to be done right for big-endian systems.
14924
14925 2002-01-24  Jason Merrill  <jason@redhat.com>
14926
14927         PR c++/2432
14928         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
14929         to can_throw_internal.
14930
14931 2002-01-23  Richard Henderson  <rth@redhat.com>
14932
14933         * fold-const.c (fold): Change UINT_MAX test to check vs precision
14934         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
14935
14936 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
14937
14938         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
14939         (symGOT2reg): Use them, then set as GOT value as unchanging.
14940         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
14941         as a temporary, if possible.
14942         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
14943         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
14944
14945 2002-01-23  Kazu Hirata  <kazu@hxi.com>
14946
14947         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
14948         accept to accept 0x80 as operands[2].
14949
14950 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
14951
14952         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
14953
14954 2002-01-23  Richard Henderson  <rth@redhat.com>
14955
14956         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
14957
14958 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
14959
14960         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
14961         (parmlist_or_identifiers_1): Verify that only a parmlist follows
14962         an attribute.
14963
14964 2002-01-23  Richard Henderson  <rth@redhat.com>
14965
14966         * expr.c (move_by_pieces_1): Extend size before negation.
14967
14968         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
14969         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
14970         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
14971         * config/m68k/t-m68kelf: Likewise.
14972
14973 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
14974
14975         * config/xtensa/elf.h: New file.
14976         * config/xtensa/lib1funcs.asm: New file.
14977         * config/xtensa/lib2funcs.S: New file.
14978         * config/xtensa/linux.h: New file.
14979         * config/xtensa/t-xtensa: New file.
14980         * config/xtensa/xtensa-config.h: New file.
14981         * config/xtensa/xtensa-protos.h: New file.
14982         * config/xtensa/xtensa.c: New file.
14983         * config/xtensa/xtensa.h: New file.
14984         * config/xtensa/xtensa.md: New file.
14985         * config.gcc (xtensa-*-elf*): New target.
14986         (xtensa-*-linux*): New target.
14987         * cse.c (canon_hash): Compare rtx pointers instead of register
14988         numbers.  This is required for the Xtensa port.
14989         * integrate.c (copy_insn_list): Handle case where the static
14990         chain is in memory and the memory address has to be copied to
14991         a register.
14992         * doc/invoke.texi (Option Summary): Add Xtensa options.
14993         (Xtensa Options): New node.
14994         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
14995
14996 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
14997
14998         * diagnostic.c (internal_error): Do ICE suppression only
14999         when ENABLE_CHECKING is not defined.
15000
15001         * c-typeck.c (require_complete_type): Return error_mark_node
15002         if type is error_mark_node.
15003
15004 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
15005
15006         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
15007         -Os and issue a warning.
15008
15009 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
15010
15011         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
15012         current (lack of) need for host configuration by hand.
15013
15014         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
15015         references.  Documentation of some target macros moved from
15016         hostconfig.texi to tm.texi.
15017
15018 2002-01-23  Will Cohen  <wcohen@redhat.com>
15019
15020         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
15021         defined.
15022
15023 2002-01-23  Kazu Hirata  <kazu@hxi.com>
15024
15025         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
15026         operand[3].
15027
15028 2002-01-23  Jason Merrill  <jason@redhat.com>
15029
15030         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
15031
15032         * function.c (assign_parms): Don't put args of inline functions
15033         into registers when not optimizing.
15034
15035 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
15036
15037         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
15038         (prologue_use): New pattern.
15039         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
15040         preference to gen_rtx_USE.
15041         (thumb_expand_prologue): Use gen_prologue_use in preference to
15042         gen_rtx_USE.
15043         (thumb_expand_epilogue): Use gen_prologue_use in preference to
15044         gen_rtx_USE.
15045
15046 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
15047
15048         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
15049
15050 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
15051
15052         PR c/3504
15053         * doc/extend.texi: Correct documentation of __alignof__.
15054
15055 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
15056
15057         * params.h: Rename arguments of DEFPARAM so that it will be
15058         recognized as a translation keyword.
15059
15060 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
15061
15062         * extend.texi: Document altivec functions.
15063         Fix N-bit adjectives in X86 builtin documentation.
15064
15065 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
15066
15067         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
15068         auto_inc_dec values.
15069
15070 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
15071
15072         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
15073         after backslash.
15074         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
15075
15076 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
15077
15078         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
15079
15080 2002-01-22  Richard Henderson  <rth@redhat.com>
15081
15082         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
15083         copy_insn not copy_rtx.
15084
15085 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
15086
15087         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
15088         "nonzero" as that might add "1" bits.  Ensure "constop" is
15089         properly sign extened.
15090         (force_to_mode): Tweak for sign extended constop.
15091
15092 2002-01-22  Richard Henderson  <rth@redhat.com>
15093
15094         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
15095         for_each_rtx instead of assuming we're already looking at the MEM.
15096         (split_small_symbolic_mem_operand): Likewise.
15097         * config/alpha/alpha.h (PREDICATE_CODES): Update.
15098         * config/alpha/alpha.md (small symbolic memory splitters): Update.
15099
15100 2002-01-22  Richard Henderson  <rth@redhat.com>
15101
15102         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
15103         sequence number for the literal.
15104         (divmoddi_internal_er): Likewise.
15105
15106 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15107
15108         PR java/4972
15109         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
15110         in LIBICONV variable.
15111         * configure: Regenerated.
15112
15113 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
15114
15115         * dependence.c (build_def_use): Remove array_idx.
15116
15117         * dwarfout.c (last_filename): Remove.
15118         (output_compile_unit_die): Remove last_filename.
15119
15120 2002-01-22  Roger Sayle  <roger@eyesopen.com>
15121             Richard Henderson  <rth@redhat.com>
15122
15123         PR opt/3640
15124         * fold-const.c (fold): Optimize unsigned comparisons against
15125         UINT_MAX (and similar unsigned constants).
15126
15127 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
15128
15129         * Makefile.in (loop.o): Depend on OPTABS_H.
15130         * loop.c (emit_prefetch_instructions): Check the prefetch operand
15131         against the predicate.
15132
15133         PR target/5379
15134         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
15135         for the address operand.
15136
15137 2002-01-22  Richard Henderson  <rth@redhat.com>
15138
15139         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
15140
15141 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15142
15143         PR other/5450
15144         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
15145         preprocessor flags.
15146
15147 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
15148
15149         * config.gcc (x86_64-*-netbsd*): New target.
15150         * config/i386/netbsd64.h: New file.
15151
15152 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
15153
15154         * regrename.c (kill_value): Fix typo.
15155
15156 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
15157
15158         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
15159
15160         * config/rs6000/rs6000.h: Same.
15161
15162         * function.c (instantiate_virtual_regs): Remove
15163         STARTING_FRAME_PHASE.
15164         (assign_stack_local_1): Same.
15165         Calculate frame phase.
15166
15167 2002-01-22  Nick Clifton  <nickc@redhat.com>
15168
15169         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
15170         variable declaration to outer scope in order to simplify
15171         future extensions.
15172         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
15173         arm_hard_regno_mode_ok.
15174         * config/arm/arm-protos.h: Add a prototype for
15175         arm_hard_regno_mode_ok.
15176         * config/arm/arm.c (soft_df_operand): Remove now redundant
15177         check for DImode values using IP_REGNUM.
15178         (nonimmediate_soft_df_operand): Remove now redundant check for
15179         DImode values using IP_REGNUM.
15180         (arm_hard_regno_mode_ok): New function. New check: make sure
15181         that DImode values are not stored in IP_REGNUM.
15182
15183         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
15184         note with a USE.
15185         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
15186
15187 2002-01-22  Jason Merrill  <jason@redhat.com>
15188
15189         * c-semantics.c (genrtl_compound_stmt): Only check nesting
15190         consistency if this COMPOUND_STMT is scoped.
15191
15192 2002-01-22  Kazu Hirata  <kazu@hxi.com>
15193
15194         * predict.c: Fix formatting.
15195         * print-tree.c: Likewise.
15196         * protoize.c: Likewise.
15197         * real.h: Likewise.
15198         * rtl.h: Likewise.
15199         * sbitmap.h: Likewise.
15200         * scan.c: Likewise.
15201         * sched-deps.c: Likewise.
15202         * sched-vis.c: Likewise.
15203         * sdbout.c: Likewise.
15204         * sibcall.c: Likewise.
15205         * ssa.c: Likewise.
15206         * ssa-ccp.c: Likewise.
15207         * ssa-dce.c: Likewise.
15208         * stmt.c: Likewise.
15209         * stor-layout.c: Likewise.
15210         * system.h: Likewise.
15211
15212 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15213
15214         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
15215         if fits in bounds of base type.
15216
15217         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
15218         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
15219         (add_bound_info, default): If can't find a context, make a
15220         SAVE_EXPR.
15221         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
15222
15223 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
15224
15225         * c-typeck.c (parser_build_binary_op): If result from
15226         build_binary_op is ERROR_MARK just return error_mark_node without
15227         further processing.
15228
15229 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
15230
15231         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
15232         Split a.out-specific bits into...
15233         * config/netbsd-aout.h: ...this.
15234         * config/netbsd-elf.h: New file.
15235         * config/alpha/netbsd-elf.h: Remove.
15236         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
15237         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
15238         (STARTFILE_SPEC): Remove redundant definition.
15239         (ENDFILE_SPEC): Likewise.
15240         (LINK_SPEC): Likewise.
15241         (CPP_SPEC): Likewise.
15242         (ASM_SPEC): Likewise.
15243         (LIB_SPEC): Likewise.
15244         (SWITCH_TAKES_ARG): Likewise.
15245         (TARGET_MEM_FUNCTIONS): Likewise.
15246         (CPP_PREDEFINES): Redefine.
15247         (ASM_FINAL_SPEC): Remove redefinition.
15248         (ASM_COMMENT_START): Redefine.
15249         (FUNCTION_PROFILER): Define.
15250         (TARGET_VERSION): Redefine.
15251         Comment and formatting cleanup.
15252         * config/i386/netbsd.h: Include <netbsd-aout.h>.
15253         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
15254         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
15255         big- or little-endian.
15256         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
15257         * config.gcc (*-*-netbsd*): Add definitions common to all
15258         NetBSD configs.
15259         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
15260         gnu_ld definitions.  Add netbsd-elf.h to and remove
15261         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
15262         tmake_file, and don't lose previous tmake_file contents.
15263         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
15264         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
15265         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
15266         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
15267         (mipsel-*-netbsd*): Rename this to...
15268         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
15269         mips/little.h to tm_file for mips*el-*.
15270         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
15271         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
15272         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
15273
15274 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15275
15276         * pa-protos.h (reg_before_reload_operand): New function prototype.
15277         * pa.c (reg_before_reload_operand): New function implementation.
15278         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
15279         contraints to "*m".
15280
15281 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15282
15283         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
15284
15285 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15286
15287         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
15288         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
15289         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
15290         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
15291         (ENDFILE_SPEC): Undefine.
15292         (STARTFILE_SPEC): Redefine for PA.
15293
15294 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15295
15296         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
15297
15298 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
15299
15300         * config.gcc: Add entries to supported PowerPC --with-cpu
15301         types.
15302
15303 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
15304
15305         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
15306         true for 64-bit mode only SSE registers in 32-bit mode.
15307
15308 2002-01-21  Kazu Hirata  <kazu@hxi.com>
15309
15310         * unwind-dw2.c: Fix formatting.
15311         * unwind-dw2-fde.c: Likewise.
15312         * unwind-dw2-fde.h: Likewise.
15313         * unwind-pe.h: Likewise.
15314         * varasm.c: Likewise.
15315         * varray.h: Likewise.
15316
15317 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
15318
15319         Remove workaround for register stack overwrite bug in mmix.
15320         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
15321         support for TARGET_REG_STACK_FILL_BUG.
15322         * config/mmix/mmix.h: Remove member has_call_without_parameters.
15323         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
15324         Delete.
15325         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
15326         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
15327         -mno-reg-stack-fill-bug-workaround.
15328         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
15329         machine member has_call_without_parameters.
15330         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
15331         -mreg-stack-fill-bug-workaround and
15332         -mno-reg-stack-fill-bug-workaround.
15333         (MMIX Options): Ditto.
15334
15335 2002-01-21  Kazu Hirata  <kazu@hxi.com>
15336
15337         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
15338         as appropriate.
15339         Remove redundant code.
15340
15341 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
15342
15343         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
15344         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
15345         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
15346         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
15347         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
15348         out target macro definitions and non-target-specific comments
15349         mostly taken from old versions of the manual.
15350
15351 2002-01-20  Kazu Hirata  <kazu@hxi.com>
15352
15353         * config/h8300/h8300.h: Fix comment formatting.
15354         * config/ia64/aix.h: Likewise.
15355         * config/ia64/ia64-protos.h: Likewise.
15356         * config/ia64/ia64.c: Likewise.
15357         * config/ia64/ia64.h: Likewise.
15358         * config/ia64/ia64intrin.h: Likewise.
15359         * config/ia64/linux.h: Likewise.
15360         * config/ia64/unwind-aix.c: Likewise.
15361         * config/ia64/unwind-ia64.c: Likewise.
15362
15363 2002-01-20  Kazu Hirata  <kazu@hxi.com>
15364
15365         * config/h8300/h8300.c: Revise comments about shift code.
15366
15367 2002-01-20  Kazu Hirata  <kazu@hxi.com>
15368
15369         * config/h8300/h8300.c (function_arg): Update a comment.
15370
15371 2002-01-20  Kazu Hirata  <kazu@hxi.com>
15372
15373         * config/h8300/h8300.md: Update the comments at the beginning
15374         of the file.
15375
15376 2002-01-20  Kazu Hirata  <kazu@hxi.com>
15377
15378         * config/i370/i370.c: Fix comment formatting.
15379         * config/i370/i370.h: Likewise.
15380         * config/i370/i370.md: Likewise.
15381         * config/i370/linux.h: Likewise.
15382
15383 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15384
15385         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
15386
15387         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
15388         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
15389         in incomplete case.
15390
15391 2002-01-20  Graham Stott  <grahams@redhat.com>
15392
15393         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
15394
15395 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15396
15397         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
15398
15399 2002-01-19  Tom Rix  <trix@redhat.com>
15400
15401         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
15402
15403 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
15404
15405         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
15406
15407         * function.c (assign_stack_local_1): Adjust x_frame_offset with
15408         STARTING_FRAME_PHASE.
15409         (STARTING_FRAME_PHASE): New.
15410         (instantiate_virtual_regs): Check saneness of
15411         STARTING_FRAME_PHASE.
15412
15413         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
15414
15415 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
15416
15417         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
15418
15419 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15420
15421         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
15422         be used for bootstrapping GCC 3.0.
15423
15424 2002-01-18  Kazu Hirata  <kazu@hxi.com>
15425
15426         * config/h8300/h8300.md: Fix an insn length.
15427
15428 2002-01-18  Kazu Hirata  <kazu@hxi.com>
15429
15430         * bitmap.h: Fix comment formatting.
15431         * combine.c: Likewise.
15432         * cppfiles.c: Likewise.
15433         * c-pragma.h: Likewise.
15434         * c-typeck.c: Likewise.
15435         * df.c: Likewise.
15436         * dwarf2out.c: Likewise.
15437         * function.c: Likewise.
15438         * gcc.c: Likewise.
15439         * genattrtab.c: Likewise.
15440         * gthr-win32.h: Likewise.
15441         * haifa-sched.c: Likewise.
15442         * predict.c: Likewise.
15443         * rtlanal.c: Likewise.
15444         * rtl.h: Likewise.
15445         * unwind-dw2-fde.h: Likewise.
15446         * unwind-pe.h: Likewise.
15447         * vmsdbgout.c: Likewise.
15448
15449 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15450
15451         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
15452         if type_required and passed decl.
15453
15454 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
15455
15456         * config.gcc (cpu_type): Include altivec.h in powerpc
15457         extra_headers.
15458         Same for darwin.
15459
15460         * config/rs6000/altivec.h: New.
15461
15462 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
15463
15464         * doc/install.texi (*-ibm-aix*): Update assembler and exception
15465         handling information.
15466         * doc/trouble.texi (Interoperation): Add libstdc++ information
15467         for AIX.
15468         (Misunderstandings): Add template instantiation and static template
15469         member information for AIX.
15470
15471 2002-01-17  Jason Merrill  <jason@redhat.com>
15472
15473         * dbxout.c (dbxout_type): Support const and volatile.
15474
15475         * except.c (add_partial_entry): Remove backwards compatibility code.
15476         (end_protect_partials): Likewise.
15477
15478 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
15479
15480         * config/ia64/ia64.md (prologue_use): New.
15481         * config/ia64/ia64.c (ia64_expand_prologue): Use
15482         gen_prologue_use instead of gen_rtx_USE.
15483         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
15484         as CODE_FOR_pred_rel_mutex.
15485         (ia64_sched_reorder2): Likewise.
15486
15487 2002-01-16  Eric Christopher  <echristo@redhat.com>
15488
15489         * config/mips/r3900.h: Reformat.
15490         (SUBTARGET_CPP_SIZE_SPEC): Remove.
15491         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
15492         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
15493         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
15494         * config/mips/t-elf: Remove mips3 multilib.
15495
15496 2002-01-16  H.J. Lu <hjl@gnu.org>
15497
15498         * config/mips/linux.h: Include "mips/abi64.h".
15499
15500 2002-01-16  H.J. Lu <hjl@gnu.org>
15501
15502         * config/mips/t-linux: New.
15503
15504         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
15505
15506         * config/mips/linux.h: Don't include "gofast.h".
15507         (INIT_SUBTARGET_OPTABS): Removed.
15508
15509 2002-01-16  Kazu Hirata  <kazu@hxi.com>
15510
15511         * config/h8300/h8300-protos.h: Replace emit_a_shift with
15512         output_a_shift.
15513         * config/h8300/h8300.c: Likewise.
15514         * config/h8300/h8300.md: Likewise.
15515
15516 2002-01-16  Kazu Hirata  <kazu@hxi.com>
15517
15518         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
15519         spaces after an opcode name.
15520         (pushqi1_h8300hs): Likewise.
15521         (pushhi1_h8300hs): Likewise.
15522
15523 2002-01-16  Kazu Hirata  <kazu@hxi.com>
15524
15525         * doc/extend.texi: Replace "option" with "attribute"
15526         appropriately.
15527
15528 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
15529
15530         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
15531         (and:DI () (const_int -8)).
15532         (split_small_symbolic_mem_operand): Split
15533         (mem (and:DI () (const_int -8)).
15534
15535 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
15536
15537         PR target/5309:
15538         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
15539         same way as TYPE_IMUL.
15540         (ultrasparc_sched_reorder): Likewise.
15541         * config/sparc/sparc.md (type): Add comment to update
15542         ultrasparc_sched_reorder when making changes.
15543
15544 2002-01-16  Kazu Hirata  <kazu@hxi.com>
15545
15546         * doc/invoke.texi: Change the dump file name of block
15547         reordering pass from 28.bbro to 29.bbro.
15548         Mention -dk option.
15549
15550 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
15551
15552         * i386.md (minsf splitter): Fix pasto.
15553
15554 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
15555
15556         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
15557         to frame pointer initialisation instruction.
15558         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
15559         initialisation instruction.
15560         (soft_df_operand): Do not accept the IP register.
15561         (nonimmediate_soft_df_operand): Do not accept the IP register.
15562
15563 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
15564
15565         PR target/5357:
15566         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
15567         MASK_V8 being both set.
15568
15569 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
15570
15571         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
15572         insn for GOT register; add REG_MAYBE_DEAD notes instead.
15573         config/s390/s390.md (call, call_value): Add GOT register to
15574         CALL_INSN_FUNCTION_USAGE where needed.
15575         (call_exp, call_value_exp): New.
15576
15577 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
15578
15579         * config/arm/arm.c: General formatting tidy up.
15580
15581 2002-01-16  Graham Stott  <grahams@redhat.com>
15582
15583         * calls.c (try_to_integrate): Use "(size_t)" intermediate
15584         cast and when casting an integer literal to "rtx" pointer.
15585         (expand_call): Likewise.
15586         * flow.c (try_pre_increment): Likewise.
15587         (find_use_as_address): Likewise.
15588         * integrate.c (expand_iline_function): Likewise.
15589         * regmove.c (try_auto_increment): Likewise.
15590
15591 2002-01-16  Graham Stott  <grahams@redhat.com>
15592
15593         * sched-rgn.c (passed): Use sbitmap_free.
15594         (header): Likewise.
15595         (inner): Likewise.
15596         (in_queue): Likewise.
15597         (in_stack): Likewise.
15598
15599 2002-01-15  Eric Christopher  <echristo@redhat.com>
15600
15601         * flow.c (propagate_one_insn): Change to use fatal_insn.
15602
15603 2002-01-15  Kazu Hirata  <kazu@hxi.com>
15604
15605         * expmed.c (extract_fixed_bit_field): Remove unused code.
15606         * system.h: Poison SLOW_ZERO_EXTEND.
15607         * doc/tm.texi: Remove.
15608         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
15609         * config/arm/arm.h: Likewise.
15610         * config/avr/avr.h: Likewise.
15611         * config/clipper/clipper.h: Likewise.
15612         * config/convex/convex.h: Likewise.
15613         * config/d30v/d30v.h: Likewise.
15614         * config/dsp16xx/dsp16xx.h: Likewise.
15615         * config/elxsi/elxsi.h: Likewise.
15616         * config/fr30/fr30.h: Likewise.
15617         * config/h8300/h8300.h: Likewise.
15618         * config/i370/i370.h: Likewise.
15619         * config/i386/i386.h: Likewise.
15620         * config/m68k/m68k.h: Likewise.
15621         * config/mips/mips.h: Likewise.
15622         * config/ns32k/ns32k.h: Likewise.
15623         * config/pdp11/pdp11.h: Likewise.
15624         * config/pj/pj.h: Likewise.
15625         * config/s390/s390.h: Likewise.
15626         * config/sh/sh.h: Likewise.
15627         * config/stormy16/stormy16.h: Likewise.
15628         * config/v850/v850.h: Likewise.
15629         * config/vax/vax.h: Likewise.
15630         * config/we32k/we32k.h: Likewise.
15631
15632 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
15633
15634         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
15635         (altivec_lvsl): Change constraint to b.
15636         (altivec_lvsr): Same.
15637         (altivec_lvebx): Same.
15638         (altivec_lvehx): Same.
15639         (altivec_lvewx): Same.
15640         (altivec_lvxl): Same.
15641         (altivec_lvx): Same.
15642         (altivec_stvx): Add parallel.
15643         (altivec_stvxl): Same.
15644         (altivec_stvehx): Same.
15645         (altivec_stvebx): Same.
15646         (altivec_stvebx): Same.
15647
15648 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
15649
15650         * config.gcc: Change altivec.h to altivec-defs.h.
15651
15652         * config/rs6000/altivec.h: Delete.
15653
15654         * config/rs6000/altivec-defs.h: Add.
15655
15656 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15657
15658         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
15659         and UMOD modes.
15660
15661         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
15662         less than or equal to eight bytes.
15663
15664         * vax.md (andsi3): Remove constraints and change SET destination
15665         operand type to nonimmediate_operand.
15666         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
15667         when it is a CONST_INT.
15668
15669 2002-01-15  Jason Merrill  <jason@redhat.com>
15670
15671         * c-common.def (FILE_STMT): New code.
15672         * c-common.c (statement_code_p): It's a statement.
15673         * c-common.h (stmt_tree_s): Add x_last_filename.
15674         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
15675         (last_expr_filename): New macro.
15676         * c-semantics.c (begin_stmt_tree): Initialize it.
15677         (add_stmt): If the filename changed, also insert a
15678         FILE_STMT.
15679         (expand_stmt): Handle seeing one.
15680
15681 2002-01-15  Eric Christopher  <echristo@redhat.com>
15682
15683         * flow.c (propagate_one_insn): Add error message and print out
15684         insn for debugging.
15685
15686 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
15687
15688         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
15689         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
15690         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
15691         TRAMPOLINE_ALIGNMENT.
15692         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
15693         to be in bits.
15694         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
15695         PCC_BITFIELD_TYPE_MATTERS.
15696         * config/interix.h (STDC_VALUE): Remove.  Use
15697         STDC_0_IN_SYSTEM_HEADERS.
15698         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
15699         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
15700         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
15701
15702 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15703
15704         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
15705         not work on this platform currently.
15706
15707 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
15708
15709         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
15710         readonly_warning in _().
15711
15712 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
15713
15714         * gcc.c (delete_if_ordinary): Backout previous change.
15715
15716 2002-01-15  Kazu Hirata  <kazu@hxi.com>
15717
15718         * config/h8300/h8300.c (print_operand): Remove support for
15719         unused operand characters.
15720
15721         * read-rtl.c: Fix formatting.
15722         * real.c: Likewise.
15723         * recog.c: Likewise.
15724         * regclass.c: Likewise.
15725         * regmove.c: Likewise.
15726         * reg-stack.c: Likewise.
15727         * reload1.c: Likewise.
15728         * rtlanal.c: Likewise.
15729
15730 2002-01-15  Kazu Hirata  <kazu@hxi.com>
15731
15732         * config/i386/i386.c: Fix formatting.
15733
15734 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
15735
15736         * c-typeck.c (process_init_element): Don't save_expr
15737         COMPOUND_LITERAL_EXPR if just its initializer will be used.
15738
15739 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
15740
15741         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
15742         emit optional traceback table if optimize_size or TARGET_ELF.
15743         * config/rs6000/rs6000.md (prefetch): New.
15744
15745 2002-01-15  Andreas Jaeger  <aj@suse.de>
15746
15747         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
15748
15749 2002-01-15  Kazu Hirata  <kazu@hxi.com>
15750
15751         * mips-tfile.c: Fix formatting.
15752
15753 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
15754
15755         * unroll.c (final_reg_note_copy): Fix previous commit.
15756
15757 2002-01-14  Kazu Hirata  <kazu@hxi.com>
15758
15759         * config/h8300/h8300-protos.h: Remove the prototype for
15760         eq_operator.
15761         * config/h8300/h8300.c (eq_operator): Remove.
15762
15763 2002-01-14  Richard Henderson  <rth@redhat.com>
15764
15765         * config/i386/i386.md (prefetch): Tidy.
15766         (prefetch_3dnow): Fix locality operand.
15767
15768 2002-01-14  Richard Henderson  <rth@redhat.com>
15769
15770         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
15771         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
15772
15773 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
15774
15775         * reload1.c (reload_combine): Pass reg_sum replacement through
15776         copy_rtx in loop performing multiple changes.
15777
15778 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
15779
15780         * except.c (remove_unreachable_regions): New.
15781         (free_eh_status): Clear exception_handler_labels.
15782         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
15783         (find_exception_handler_labels): Don't add the same label more than
15784         once.
15785         (remove_exception_handler_label): Don't die if
15786         find_exception_handler_labels hasn't been called for the current
15787         function yet.
15788
15789 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
15790
15791         * toplev.c (rest_of_compilation): Rebuild jump labels after
15792         gcse.
15793
15794 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
15795
15796         * doc/extend.texi: Move documentation of X86 built-in functions
15797         here.
15798         * doc/invoke.texi: From here.
15799         * doc/sourcebuild.texi: Document location of documentation for
15800         machine built-in functions.
15801
15802 2002-01-13  Christopher Faylor  <cgf@redhat.com>
15803
15804         * cppfiles.c (TEST_THRESHOLD): New macro.
15805         (SHOULD_MMAP): Ditto.
15806         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
15807         be used.
15808
15809 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
15810
15811         * unroll.c (final_reg_note_copy): Properly handle
15812         REG_LABEL
15813         (unroll_loops): Fix LOOP_CONDITION heuristics.
15814
15815 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
15816
15817         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
15818         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
15819
15820 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
15821
15822         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
15823         threaded loop.
15824
15825 2002-01-14  Tom Rix  <trix@redhat.com>
15826
15827         * config/rs6000/rs6000.md: Fix typo with sradi.
15828
15829 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
15830
15831         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
15832         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
15833         (clrstrdi, clrstrsi): Adapt callers.
15834
15835         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
15836
15837         (movti splitter): Never use register 0 as base register.
15838
15839 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
15840
15841         * combine.c (simplify_shift_const): Always generate new rtx
15842         for shift expression instead of reusing given expression.
15843
15844 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15845
15846         * config/alpha/alpha.c (alpha_expand_mov): Don't call
15847         alpha_legitimize_address unless mode is Pmode.
15848
15849 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
15850
15851         * doc/md.texi (Modifiers): Document the '*' constraint for the
15852         user.
15853
15854         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
15855         * doc/extend.texi (Function Attributes): 'interrupt' is valid
15856         for xstormy16 too.
15857
15858 2002-01-13  Richard Henderson  <rth@redhat.com>
15859
15860         * reload.c (find_reloads): Use a hard reg destination as reload reg
15861         for an input reload of the source.
15862
15863 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15864
15865         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
15866         more generic.
15867
15868 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
15869
15870         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
15871         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
15872
15873         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
15874
15875 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15876
15877         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
15878
15879 2002-01-12  Tom Rix  <trix@redhat.com>
15880
15881         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
15882         TARGET_POWERPC64.
15883
15884 2002-01-12  Richard Henderson  <rth@redhat.com>
15885
15886         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
15887
15888         * doc/invoke.texi: Update Alpha options.
15889
15890         * doc/invoke.texi: Update i386 built-in function lists.
15891
15892 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
15893
15894         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
15895         referencing outside.
15896
15897 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15898
15899         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
15900         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
15901         offsets, and change line folding.
15902         * optabs.c (expand_binop): Remove warnings.
15903         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
15904
15905 2002-01-12  Graham Stott <grahams@redhat.com>
15906
15907         * attribs.c (handle_deprecated_attribute): constify WHAT.
15908         * diagnostic.c (warn_deprecated_use): Add braces, fixes
15909         dangling else warning and constify WHAT.
15910         * except.h (struct function, struct inline_remap): Move
15911         struct tag forward defs before all prototypes.
15912         (duplicate_eh_regions): Whitespace.
15913
15914 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
15915
15916         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
15917         MODE_BASE_REG_CLASS.
15918         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
15919
15920 2002-01-12  Richard Henderson  <rth@redhat.com>
15921
15922         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
15923         (ix86_expand_vector_move): New.
15924         (bdesc_2arg): Remove andps, andnps, orps, xorps.
15925         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
15926         Remove old prefetch builtins.  Special case the logicals removed above.
15927         (ix86_expand_builtin): Likewise.
15928         (safe_vector_operand): Use V4SFmode, not TImode.
15929         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
15930         (ix86_expand_timode_binop_builtin): New.
15931         * config/i386/i386-protos.h: Update.
15932         * config/i386/i386.h (enum ix86_builtins): Update.
15933         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
15934         Use ix86_expand_vector_move in vector move expanders.
15935         (movti_internal, movti_rex64): Add xorps alternative.
15936         (sse_clrv4sf): Rename and adjust from sse_clrti.
15937         (prefetch): Don't work so hard.
15938         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
15939         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
15940         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
15941
15942 2002-01-11  Richard Henderson  <rth@redhat.com>
15943
15944         * config/i386/mmintrin.h: New file.
15945         * config/i386/xmmintrin.h: New file.
15946         * config.gcc (i?86-*-*): Add extra_headers.
15947         * simplify-rtx.c (simplify_unary_operation): Handle saturating
15948         truncation codes.
15949         (simplify_binary_operation): Handle saturating arithmetic codes.
15950         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
15951         not the lowpart subreg.
15952         (ix86_expand_builtin): Return a TImode dummy register instead of 0
15953         on error.
15954         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
15955
15956 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15957
15958         * conflict.c (conflict_graph_compute): Free regsets when finished.
15959         * ssa.c (compute_coalesced_reg_partition): Likewise.
15960
15961 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15962
15963         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
15964         every where we allocate a register.
15965
15966 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15967
15968         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
15969         * lcm.c (compute_earliest, compute_farthest): Likewise.
15970
15971 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
15972
15973         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
15974
15975 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
15976
15977         * doc/rtl.texi (Insns): Fix 2 typos.
15978
15979 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
15980
15981         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
15982         options.  Use @table @gcctabopt for MMIX options.  Add index
15983         entries for MMIX options.  Start new paragraph with first
15984         heading of the machine-dependent options.
15985
15986 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15987
15988         PR other/5299
15989         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
15990         * combine.c (force_to_mode): Same.
15991         * reload1.c (clear_reload_reg_in_use): Same.
15992
15993 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
15994
15995         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
15996         and 'subtargets'.
15997
15998 2002-01-11  Andreas Jaeger  <aj@suse.de>,
15999             Brad Lucier <lucier@math.purdue.edu>
16000
16001         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
16002         mcpu.
16003
16004 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
16005
16006         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
16007         Protect with IN_LIBGCC.
16008         (LINK_EH_SPEC): Add required trailing space.
16009
16010 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
16011
16012         * c-tree.h: Move function declarations so that they are listed
16013         under the filename which contains them.
16014         (check_identifier, finish_decl_top_level,
16015         lookup_name_current_level_global, shadow_record_fields): Remove.
16016
16017 2002-01-11  Andreas Jaeger  <aj@suse.de>
16018
16019         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
16020         march.
16021
16022 2002-01-10  Richard Henderson  <rth@redhat.com>
16023
16024         * config/alpha/alpha.c (print_operand): Add 'J'.
16025         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
16026         new operand with the sequence number for the lituse.  When splitting
16027         the insns, use gen_movdi_er_high_g and generate a sequence number.
16028         (gen_movdi_er_high_g): Print the sequence number if non-zero.
16029
16030 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
16031
16032         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
16033         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
16034         stvxl.
16035         (altivec_expand_builtin): Same.
16036         (altivec_expand_stv_builtin): New.
16037
16038         * config/rs6000/rs6000.h (rs6000_builtins): Same.
16039
16040         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
16041         ("altivec_lvehx"): New.
16042         ("altivec_lvewx"): New.
16043         ("altivec_lvxl"): New.
16044         ("altivec_lvx"): New.
16045         ("altivec_stvx"): New.
16046         ("altivec_stvebx"): New.
16047         ("altivec_stvehx"): New.
16048         ("altivec_stvewx"): New.
16049         ("altivec_stvxl"): New.
16050
16051 2002-01-10  Richard Henderson  <rth@redhat.com>
16052
16053         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
16054         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
16055         care not to delete instructions twice.
16056
16057 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
16058
16059         * toplev.c: Don't declare environ (it's not used anywhere).
16060         * configure.in: Don't check for declaration of environ.
16061         * config/i386/xm-mingw32.h: Don't #define environ.
16062         * config.in, configure: Regenerate.
16063
16064 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
16065
16066         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
16067         * configure: Regenerate.
16068
16069         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
16070         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
16071         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
16072         alpha/xm-vms.h.
16073         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
16074         LIMITS_H_TEST here, not in m68k/x-next.
16075         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
16076         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
16077
16078         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
16079         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
16080         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
16081
16082         * config/i386/x-djgpp: Renamed i386/t-djgpp.
16083         * config/m88k/x-dolph: Renamed m88k/t-dolph.
16084         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
16085         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
16086         replacement of quadlib.asm with quadlib.c.
16087
16088         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
16089         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
16090         config/rs6000/xm-beos.h: Delete file.
16091
16092         * config.gcc: Update to match above changes.
16093
16094 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16095
16096         * config/h8300/h8300.h: Fix comment typos.
16097         * config/h8300/h8300.md: Likewise.
16098         * config/h8300/lib1funcs.asm: Likewise.
16099
16100 2002-01-10  Dale Johannesen  <dalej@apple.com>
16101
16102         PR optimization/5269
16103         * unroll.c (precondition_loop_p): Make *increment be the correct
16104         sign when n_iterations known, to avoid confusing caller.
16105
16106 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16107
16108         * doc/extend.texi (deprecated): Fix a typo.
16109
16110 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
16111
16112         * basic-block.h (update_br_prob_note): Declare.
16113         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
16114         (try_forward_edges): Care negative frequencies and update note.
16115         (outgoing_edges_match): Tweek conditional merging heuristics.
16116         (try_crossjump_to_edge): use update_br_prob_note.
16117         * cfglayout.c (fixup_reorder_chain): Likewise.
16118         * cfrtl.c (update_br_prob_note): New.
16119         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
16120
16121         * i386.c (ix86_decompose_address): Return -1 if address contains
16122         shift.
16123         (legitimate_address_p): Require ix86_decompose_address to return 1.
16124
16125         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
16126         (cprop_insn): Likewise.
16127
16128 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16129
16130         * toplev.c: Fix formatting.
16131         * tree.c: Likewise.
16132         * tree-dump.c: Likewise.
16133         * unroll.c: Likewise.
16134         * unwind-dw2.c: Likewise.
16135         * unwind-dw2-fde.c: Likewise.
16136         * unwind-dw2-fde-glibc.c: Likewise.
16137         * unwind-sjlj.c: Likewise.
16138
16139 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
16140
16141         * doc/invoke.texi: Document PDP-11 options.
16142
16143 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16144
16145         * config/h8300/h8300.h: Fix formatting.
16146
16147 2002-01-10  Ira Ruben   <ira@apple.com>
16148
16149         Add __attribute__ ((deprecated)).
16150         * extend.texi: Document __attribute__ ((deprecated)).
16151         * invoke.texi: Document -Wno-deprecated-declarations.
16152         * testsuite/g++.dg/other/deprecated.C: New C++ test.
16153         * testsuite/gcc.dg/deprecated.c: New C test.
16154         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
16155         (c_common_attribute_table): Add "deprecated" entry.
16156         (handle_deprecated_attribute): New function.
16157         * c-decl.c (deprecated_states): New enum.
16158         deprecated_state: State of "deprecated" handling.
16159         (start_decl): Set deprecated_state based on attributes.
16160         (grokdeclarator): Test for deprecated uses, propagate attribute.
16161         * c-typeck.c (build_component_ref): Test for deprecated fields.
16162         (build_external_ref): Test for deprecated primaries.
16163         * diagnostic.c (warn_deprecated_use) New function to issue
16164         warnings about __attribute__ ((depricated)) references.
16165         * flags.h (warn_deprecated_decl): Extern declared for
16166         -W[no-]deprecated-declarations option.
16167         * print-tree.c (print_node): Show deprecated flag status.
16168         * toplev.c (warn_deprecated_decl): Defined.
16169         (W_options): Added "deprecated-declaration".
16170         * toplev.h (warn_deprecated_use): Extern declared.
16171         * tree.h (struct tree_common): Define deprecated_flag.
16172         (TREE_DEPRECATED): New macro to access flag.
16173         * cp/call.c (build_call): Test for deprecated calls.
16174         * cp/class.c (add_implicitly_declared_members): Set global
16175         flag to tell grokdeclarator to not issue deprecated warnings.
16176         * cp/cp-tree.h: Add extern for adding_implicit_members.
16177         * cp/decl.c (deprecated_states): New enum.
16178         (start_decl): Set deprecated_state based on attributes.
16179         (grokdeclarator): Test for deprecated uses, propagate attribute.
16180         * cp/lex.c (do_identifier): Test for deprecated primaries.
16181         * cp/typeck.c (build_component_ref): Test for deprecated fields.
16182
16183 2002-01-10  Ira Ruben   <ira@apple.com>
16184
16185         Fix to assign attributes to inline member functions.
16186         * cp/decl.c (start_method): Handle attrlist.
16187
16188 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16189
16190         * combine.c (expand_field_assignment): Use subreg_lsb().
16191
16192 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
16193
16194         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
16195         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
16196         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
16197         Recurse for any operand of AND as long as constant is non-zero.
16198
16199 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16200
16201         * config/h8300/h8300.md: Remove constraints from expanders.
16202
16203 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16204
16205         * varasm.c: Fix formatting.
16206         * varray.c: Likewise.
16207         * vmsdbgout.c: Likewise.
16208         * xcoffout.c: Likewise.
16209
16210 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
16211
16212         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
16213         update edge probabilities to match.
16214
16215 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
16216
16217         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
16218         dependencies.
16219         * doc/languages.texi, doc/sourcebuild.texi: New files.
16220         * doc/configfiles.texi: Make a subsubsection.  Update.
16221         * doc/configterms.texi: Add @node.  Remove warning that this isn't
16222         instructions for building GCC.
16223         * doc/makefile.texi: Make a subsection.
16224         * doc/gccint.texi: Update.
16225
16226 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
16227
16228         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
16229
16230 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
16231
16232         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
16233
16234 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
16235
16236         * optabs.c (expand_fix): Look for wider integer modes first.
16237
16238         * i386.md (mov?f): Avoid the fake const double trick for medium
16239         memory model.
16240         (min?f*/max?f*): Prohibit memory operands for i387 variant.
16241         (fop_df_4): Disable for SSE compilation.
16242
16243 2002-01-10  Graham Stott  <grahams@redhat.com>
16244
16245         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
16246         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
16247
16248 2002-01-10  Richard Henderson  <rth@redhat.com>
16249
16250         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
16251
16252 2002-01-10  Richard Henderson  <rth@redhat.com>
16253
16254         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
16255         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
16256
16257 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16258
16259         * combine.c (can_combine_p): Fix a comment typo.
16260
16261 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
16262
16263         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
16264         empty list correctly.  Change loop index $t to $f for
16265         consistency with rest of Makefile.
16266
16267 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
16268
16269         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
16270         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
16271
16272         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
16273         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
16274         (altivec_init_builtins): Same.
16275         (altivec_expand_unop_builtin): Return NULL_RTX on error.
16276         (altivec_expand_binop_builtin): Same.
16277         (altivec_expand_ternop_builtin): Same.
16278         (bdesc_dst): New.
16279
16280         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
16281         ("altivec_vctuxs"): Fix typo.
16282         ("altivec_vnmsubfp"): Same.
16283         ("altivec_dssall"): New.
16284         ("altivec_mfvscr"): New.
16285         ("altivec_dss"): New.
16286         ("altivec_lvsl"): New.
16287         ("altivec_lvsr"): New.
16288         ("altivec_dstt"): New.
16289         ("altivec_dstst"): New.
16290         ("altivec_dststt"): New.
16291         ("altivec_dst"): New.
16292
16293         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
16294         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
16295
16296 2002-01-09  Richard Henderson  <rth@redhat.com>
16297
16298         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
16299
16300 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
16301
16302         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
16303         function.
16304         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
16305         prototype.
16306         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
16307
16308 2002-01-09  Kazu Hirata  <kazu@hxi.com>
16309
16310         * read-rtl.c: Fix formatting.
16311         * real.c: Likewise.
16312         * regclass.c: Likewise.
16313         * regrename.c: Likewise.
16314         * reg-stack.c: Likewise.
16315         * reload1.c: Likewise.
16316         * reload.c: Likewise.
16317         * rtl.c: Likewise.
16318
16319 2002-01-09  Kazu Hirata  <kazu@hxi.com>
16320
16321         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
16322         to extract items in the expr_list chain.
16323
16324 2002-01-09  Richard Henderson  <rth@redhat.com>
16325
16326         * config/vax/vax.c (vax_rtx_cost): Never abort.
16327
16328         * config/vax/vax.h (REAL_ARITHMETIC): Define.
16329
16330 2002-01-09  Jan Hubicka  <jh@suse.cz>
16331
16332         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
16333
16334 2002-01-09  Richard Henderson  <rth@redhat.com>
16335
16336         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
16337         Unify code from various alternatives.
16338
16339 2002-01-09  Richard Henderson  <rth@redhat.com>
16340
16341         * regrename.c (copy_value): Ignore the copy if the source register
16342         is present in the value chain with a narrower mode.
16343
16344 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
16345
16346         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
16347         for the c4x target. Also improve layout.
16348
16349 2002-01-09  Richard Henderson  <rth@redhat.com>
16350
16351         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
16352         * config/m32r/m32r.md (and ior xor splitters): Swap operands
16353         to match insn patterns.
16354
16355 2002-01-09  Richard Henderson  <rth@redhat.com>
16356
16357         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
16358         (copyprop_hardreg_forward_1): Likewise.
16359
16360 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16361
16362         * pa.md (decrement_and_branch_until_zero): Change predicate for
16363         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
16364
16365 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16366
16367         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
16368         gets undefined. For Darwin.
16369
16370 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16371
16372         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
16373
16374 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16375
16376         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
16377
16378 2002-01-08  Richard Henderson  <rth@redhat.com>
16379
16380         * regrename.c (copy_value): Ignore overlapping copies.
16381
16382 2002-01-08  Richard Henderson  <rth@redhat.com>
16383
16384         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
16385         as needed to avoid shared structure.
16386
16387 2002-01-08  Kazu Hirata  <kazu@hxi.com>
16388
16389         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
16390         H8/300H and H8/S.
16391
16392 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16393
16394         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
16395         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
16396         documentation of obsolete macros.
16397         * system.h: Poison these macros.
16398         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
16399         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
16400         config/c4x/c4x.h, config/clipper/clipper.h,
16401         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
16402         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
16403         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
16404         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
16405         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
16406         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
16407         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
16408         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
16409         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
16410         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
16411         config/sparc/sparc.h, config/stormy16/stormy16.h,
16412         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
16413         definitions and commented out definitions of obsolete macros.
16414         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
16415         of MAX_INT_TYPE_SIZE.
16416
16417 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
16418
16419         * config/s390/s390.c (s390_preferred_reload_class): Never
16420         return ADDR_REGS if it isn't a subset of the given class.
16421         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
16422         FP_REGS, but all superclasses as well.
16423
16424         * config/s390/s390.c (s390_function_profiler): Fix thinko.
16425
16426         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
16427         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
16428         must not be a const_int.
16429
16430 2002-01-08  Richard Henderson  <rth@redhat.com>
16431
16432         * Makefile.in (toplev.o): Depend on options.h.
16433         (gcc.o): Depend on specs.h.
16434
16435 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
16436
16437         * expr.c (store_expr): Convert VOIDmode constants back to target's
16438         mode.
16439
16440 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16441
16442         * doc/invoke.texi: Markup gcc as @command.  Refer to
16443         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
16444         of http://gcc.gnu.org/thanks.html.
16445
16446 2002-01-08  Dale Johannesen  <dalej@apple.com>
16447
16448         * config/rs6000/rs6000.md: Add missing int register
16449         target case to movdf_low.
16450
16451 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
16452
16453         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
16454         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
16455         (cppinit.o): Depend on except.h.
16456         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
16457         s-specs): New rules.
16458
16459         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
16460         Don't create specs.h/options.h/gencheck.h here.  Remove
16461         unnecessary variable settings from last argument of AC_OUTPUT.
16462         * config.in, configure: Regenerate.
16463         * intl.c: Hardcode package name as "gcc".
16464
16465         * cppinit.c: Include except.h.
16466         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
16467         appropriate.
16468         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
16469         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
16470         (!)USING_SJLJ_EXCEPTIONS.
16471         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
16472
16473 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16474
16475         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
16476         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
16477         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
16478         documentation of obsolete macros.
16479         * system.h: Poison these macros.
16480         * config/d30v/d30v.h, config/ns32k/encore.h,
16481         config/stormy16/stormy16.h: Remove definitions and commented out
16482         definitions of obsolete macros.
16483
16484 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
16485
16486         * objc/objc-act.c (handle_class_ref): Mark the declaration of
16487         %sobjc_class_ref_%s as used - to prevent unwanted compiler
16488         warnings.
16489
16490 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
16491
16492         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
16493         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
16494         to insn adjusting stack/frame pointer.
16495         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
16496         accept operands that cause the insn to be non-splittable.
16497
16498 2002-01-08  Graham Stott  <grahams@redhat.com>
16499
16500         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
16501         (C_TYPE_FIELDS_VOLATILE): Likewise.
16502         (C_TYPE_BEING_DEFINED): Likewise.
16503         (C_IS_RESERVED_WORD): Likewise.
16504         (C_TYPE_VARIABLE_SIZE): Likewise.
16505         (C_DECL_VARIABLE_SIZE): Likewise.
16506         (C_MISSING_PROTOTYPE_WARNED): Likewise.
16507         (C_SET_EXP_ORIGINAL_CODE): Likewise.
16508         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
16509         parenthesis.
16510         (C_DECL_ANTICIPATED): Likewise.
16511         (c_build_type_variant): Add parenthesis.
16512
16513 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16514
16515         * gcc.c (option_map): Remove --version.
16516         (process_command): Handle -fversion following the GNU Coding
16517         Standards.  Partially addresses PR other/704.
16518
16519 2002-01-08  Graham Stott  <grahams@redhat.com>
16520
16521         * combine.c (combine_instructions): Fix typo.
16522
16523 2002-01-08  Graham Stott  <grahams@redhat.com>
16524
16525         * debug.h: Use "tree" and "rtx" throughout.
16526
16527         * debug.c: Likewise.
16528
16529 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
16530
16531         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
16532         constant pool, use the pool's version of the symbol instead.
16533
16534 2002-01-07  Richard Henderson  <rth@redhat.com>
16535
16536         * regrename.c (find_oldest_value_reg): Ignore the value chain if
16537         the original register was copied in a mode with a fewer number of
16538         hard registers than the desired mode.
16539         (copyprop_hardreg_forward_1): Likewise.
16540         (debug_value_data): Fix loop test.
16541         * toplev.c (parse_options_and_default_flags): Reenable
16542         -fcprop-registers at -O1.
16543
16544 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
16545
16546         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
16547         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
16548
16549         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
16550         predicates.
16551
16552         * config/rs6000/rs6000.md: Add altivec predicate patterns.
16553
16554 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16555
16556         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
16557         (pa_output_function_prologue): Output local label at the beginning of
16558         the prologue when profiling.
16559         (hppa_profile_hook): Use the local label rather than the function label.
16560         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
16561
16562 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
16563
16564         * config/rs6000/rs6000.c (print_operand): Remove extra space.
16565         (altivec_expand_unop_builtin): Fix thinko.
16566         (altivec_expand_binop_builtin): Same.
16567         (altivec_expand_ternop_builtin): Same.
16568         (altivec_expand_builtin): Same.
16569
16570 2002-01-07  Richard Henderson  <rth@redhat.com>
16571
16572         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
16573
16574 2002-01-07  Jason Merrill  <jason@redhat.com>
16575
16576         * unwind-dw2.c (execute_cfa_program): Use < again.
16577
16578 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
16579
16580         * predict.c (combine_predictions_for_insn): Avoid division by zero.
16581
16582 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
16583
16584         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
16585         Don't allow -1 - x -> ~x simplifications in the first pass.
16586
16587 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
16588
16589         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
16590         arguments.
16591         (altivec_expand_binop_builtin): Same.
16592         (altivec_expand_unop_builtin): Same.
16593         (print_operand): Fix typo.
16594         (bdesc_1arg): Add vupk* variants.
16595
16596         * rs6000.h (rs6000_builtins): Add vupk* enums.
16597
16598         * rs6000.md: Add altivec_vupk* variants.
16599
16600 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
16601
16602         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
16603         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
16604         and last update dates.
16605
16606 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
16607
16608         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
16609
16610 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
16611
16612         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
16613         * config/avr/avr.h (CPP_SPEC): Likewise.
16614         (LINK_SPEC): Likewise.
16615         (CRT_BINUTILS_SPECS): Likewise.
16616         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
16617         * doc/invoke.texi (AVR Options): Document them.
16618
16619 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
16620
16621         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
16622         LABEL_NUSES.
16623
16624 2002-01-07  Graham Stott  <grahams@redhat.com>
16625
16626         * config/i386/i386.h: Update copyright date.
16627         (HALF_PIC_PTR): Add parenthesis.
16628         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
16629         (CONSTANT_ALIGNMENT): Add parenthesis.
16630         (DATA_ALIGNMENT): Likewise.
16631         (LOCAL_ALIGNMENT): Likewise.
16632         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
16633         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
16634         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
16635         (HARD_REGNO_NREGS): Add paranethesis.
16636         (VALID_SSE_REG_MODE): Whitespace.
16637         (VALID_MMX_REG_MODE): Whitespace.
16638         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
16639         (ix86_hard_regno_mode_ok): Add parenthesis.
16640         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
16641         (RETURN_IN_MEMORY): Whitespace.
16642         (N_REG_CLASSES): Add parenthesis.
16643         (INTEGER_CLASS_P): Add parenthesis and wrap.
16644         (FLOAT_CLASS_P): Likewise.
16645         (SSE_CLASS_P): Likewise.
16646         (MMX_CLASS_P): Likewise.
16647         (MAYBE_INTEGER_CLASS_P): Likewise.
16648         (MAYBE_FLOAT_CLASS_P): Likewise.
16649         (MAYBE_SSE_CLASS_P): Likewise.
16650         (MAYBE_MMX_CLASS_P): Likewise.
16651         (Q_CLASS_P): Likewise.
16652         (GENERAL_REGNO_P): Uppercase macro parameter.
16653         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
16654         (FP_REGNO_P): Likewise.
16655         (ANY_FP_REGNO_P): Uppercase macro parameter.
16656         (SSE_REGNO_P): Likewise.
16657         (SSE_REGNO): Likewise.
16658         (SSE_REG_P): Likewise.
16659         (SSE_FLOAT_MODE_P): Likewise.
16660         (MMX_REGNO_P): Likewise.
16661         (MMX_REG_P):Likewise.
16662         (STACK_REG_P): Likewise.
16663         (NON_STACK_REG_P): Likewise.
16664         (STACK_TOP_P): Likewise.
16665         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
16666         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
16667         (SECONDARY_MEMORY_NEEDED): Likewise.
16668         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
16669         (MD_ASM_CLOBBERS): Whitespace and wrap.
16670         (MUST_PASS_IN_STACK): Whitespace and wrap.
16671         (RETURN_POPS_ARGS): Add parenthesis.
16672         (INIT_CUMULATIVE_ARGS): Likewise.
16673         (FUNCTION_ARG): Likewise.
16674         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
16675         (SETUP_INCOMING_VARARGS): Likewise.
16676         (BUILD_VA_LIST_TYPE):  Add parenthesis.
16677         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
16678         parenthsis.
16679         (EXPAND_BUILTIN_VA_ARG): Likewise.
16680         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
16681         (INITIALIZE_TRAMPOLINE): Add parenthesis.
16682         (INITIAL_ELIMINATION_OFFSET): Likewise.
16683         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
16684         (REGNO_OK_FOR_BASE_P): Likewise.
16685         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
16686         (REGNO_OK_FOR_DIREG_P): Likewise.
16687         (REG_OK_FOR_INDEX_P): Whitespace.
16688         (REG_OK_FOR_BASE_P): Whitespace.
16689         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
16690         parenthesis.
16691         (FIND_BASE_TERM): Fix typo.
16692         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
16693         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
16694         (SYMBOLIC_CONST; Whitespace.
16695         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
16696         (ENCODE_SECTION_INFO): Whitespace.
16697         (FINALIZE_PIC): Remove do { ... } while (0).
16698         (PROMOTE_MODE): Wrap in do { ... } while (0).
16699         (CONST_COSTS): Whitespace.
16700         (RTX_COSTS): Add paramethesis, whitespace and wrap.
16701         (REGISTER_MOVE_COST): Add parenthesis.
16702         (MEMORY_MOVE_COST): Likewise.
16703         (EXTRA_CC_MODES): Whitespace.
16704         (SELECT_CC_MODE): Add parenthesis and whitespace.
16705         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
16706         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
16707         (ASM_OUTPUT_LABEL): Add paramethesis.
16708         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
16709         (ASM_OUTPUT_REG_POP): Likewise.
16710         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
16711         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
16712
16713         * config/i386/i386.c: Update copyright.
16714         (CHECK_STACK_LIMIT): Add parenthesis.
16715         (AT_BP): Uppercase macro parameter.
16716         (x86_64_int_parameter_registers): Constify.
16717         (x86_64_int_return_registers): Likewise.
16718         (ix86_compare_op0): Use rtx.
16719         (construct_container): Constify INTREG parameter.
16720         (function_arg): Use rtx.
16721
16722         * diagnostic.h: Update copyright date.
16723         (output_buffer_state): Add parenthesis.
16724         (output_buffer_format_args): Likewise.
16725
16726         * combine.c (combine_instructions): Replace XEXP (links, 0)
16727         with link.
16728
16729 2002-01-06  H.J. Lu <hjl@gnu.org>
16730
16731         * cfgcleanup.c (thread_jump): Fix 2 typos.
16732
16733 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
16734
16735         * config.gcc: Add support for --enable-altivec.
16736
16737 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16738
16739         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
16740
16741 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
16742
16743         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
16744         __objc_class_name_*.
16745
16746 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16747
16748         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
16749
16750 2002-01-06  Richard Henderson  <rth@redhat.com>
16751
16752         * reorg.c (emit_delay_sequence): Remove death notes, not merely
16753         nop them out.  Increment label reference count for REG_LABEL.
16754         (fill_slots_from_thread): Frob label reference count around
16755         delete_related_insns.
16756
16757 2002-01-05  Richard Henderson  <rth@redhat.com>
16758
16759         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
16760         jump threading.
16761
16762 2002-01-05  Richard Henderson  <rth@redhat.com>
16763
16764         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
16765         * integrate.c (output_inline_function): Likewise.
16766         * toplev.c (rest_of_compilation): Do it here instead.  Move call
16767         to remove_unnecessary_notes after emitting abstract instance.
16768         Force an emitted nested function to have its parent emited as well.
16769         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
16770         for null.
16771         (rtl_for_decl_location): Do not look at reload data structures
16772         before reload has run.
16773
16774 2002-01-05  Kazu Hirata  <kazu@hxi.com>
16775
16776         * cse.c: Fix formatting.
16777         * dwarf2asm.c: Likewise.
16778         * dwarf2out.c: Likewise.
16779         * explow.c: Likewise.
16780         * expmed.c: Likewise.
16781         * function.c: Likewise.
16782         * gcov.c: Likewise.
16783         * gencheck.c: Likewise.
16784         * genrecog.c: Likewise.
16785         * ggc-common.c: Likewise.
16786         * ggc-page.c: Likewise.
16787         * global.c: Likewise.
16788
16789 2002-01-05  Kazu Hirata  <kazu@hxi.com>
16790
16791         * combine.c: Fix formatting.
16792
16793 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
16794
16795         PR middle-end/1557
16796         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
16797
16798 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
16799
16800         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
16801         as 1 for __powerpc64__ as well.
16802
16803         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
16804
16805         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
16806         return it.
16807
16808 2002-01-05  Daniel Berlin  <dan@dberlin.org>
16809
16810         * lcm.c: Revert change, due to performance regression it causes on
16811         SPEC because it's slightly more conservative (sigh, I hate
16812         edge-based LCM).
16813
16814 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
16815
16816         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
16817
16818 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
16819
16820         * doc/cppinternals.texi: Update.
16821
16822 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
16823
16824         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
16825         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
16826         negatives.
16827         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
16828         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
16829         kludge for pre-october-14th mmix versions to handle new-found bug
16830         with PUSHJ/PUSHGO and the register stack.
16831         * config/mmix/mmix.h (struct machine_function): Rename member
16832         has_call_value_without_parameters to has_call_without_parameters.
16833         All referers changed.
16834         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
16835         TARGET_MASK_BRANCH_PREDICT): New macros.
16836         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
16837         -mno-reg-stack-fill-bug-workaround.
16838         * config/mmix/mmix.md ("call"): Set struct machine member
16839         has_call_without_parameters.
16840
16841 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
16842
16843         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
16844
16845 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
16846
16847         * cfgcleanup.c: Include tm_p.h
16848         (mark_effect): Fix handling of hard register; fix handling of SET
16849
16850 2002-01-04  Kazu Hirata  <kazu@hxi.com>
16851
16852         * config/h8300/h8300.md (anonymous patterns): Check that
16853         operands are registers before using REGNO on them.
16854
16855 2002-01-03  Roland McGrath  <roland@frob.com>
16856
16857         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
16858
16859 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
16860
16861         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
16862         * c-common.h (genrtl_expr_stmt_value): Likewise.
16863         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
16864         (expand_expr_stmt_value): Add maybe_last argument.
16865         Don't warn about statement with no effect if it is the last statement
16866         in expression statement.
16867         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
16868         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
16869         expand_expr_stmt_value.
16870         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
16871         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
16872         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
16873         as maybe_last to expand_expr_stmt_value.
16874
16875 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
16876
16877         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
16878         be passed in, do not build it.
16879         (c_begin_if_stmt): New function.
16880         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
16881         * c-common.h (c_expand_start_cond): Update prototype.
16882         (c_begin_if_stmt): Prototype new function.
16883         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
16884         * c-parse.in (if_prefix): Use c_begin_if_stmt,
16885         c_begin_while_stmt and c_finish_while_stmt_cond.
16886
16887 2002-01-04  William Cohen  <wcohen@redhat.com>
16888
16889         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
16890         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
16891         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
16892         * config/pa/som.h (ASM_FILE_START): Likewise.
16893
16894 2002-01-04  Daniel Berlin  <dan@cgsoftware.com>
16895
16896         * lcm.c: Include df.h.
16897         Add available_transfer_function prototype.
16898         (compute_available): Rework to use iterative dataflow framework.
16899         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
16900         with bb_info in df.h
16901         (available_transfer_function): New function.
16902
16903         * Makefile.in (lcm.o): add df.h to dependencies.
16904
16905 2002-01-04  Richard Henderson  <rth@redhat.com>
16906
16907         * config/alpha/alpha.c (some_operand): Accept HIGH.
16908         (input_operand): Likewise; accept simple references to globals.
16909         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
16910         (alpha_const_double_ok_for_letter_p): Likewise.
16911         (alpha_extra_constraint): Likewise.
16912         (alpha_preferred_reload_class): Likewise.  Do not force
16913         symbolic constants to memory.
16914         (alpha_legitimate_address_p): Accept simple references
16915         to small_symbolic_operand.
16916         (alpha_legitimize_address): New arg scratch.  Be prepared to be
16917         called when no_new_pseudos.  Emit simple symbolic references.
16918         Split integers into low, high, and rest.
16919         (alpha_expand_mov): Use alpha_legitimize_address.
16920         (some_small_symbolic_mem_operand): New.
16921         (split_small_symbolic_mem_operand): New.
16922         * config/alpha/alpha-protos.h: Update.
16923         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
16924         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
16925         (EXTRA_CONSTRAINT): Likewise.
16926         (PREFERRED_RELOAD_CLASS): Likewise.
16927         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
16928         (PREDICATE_CODES): Update.
16929         * config/alpha/alpha.md: New post-reload splitters to convert
16930         simplfied symbolic operands to the form that references $29.
16931         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
16932         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
16933
16934 2002-01-03  Richard Henderson  <rth@redhat.com>
16935
16936         * local-alloc.c (function_invariant_p): Update commentary.
16937
16938 2002-01-04  H.J. Lu <hjl@gnu.org>
16939
16940         * toplev.c (rest_of_compilation): Fix a typo when calling
16941         cleanup_cfg.
16942
16943 2002-01-03  Kazu Hirata  <kazu@hxi.com>
16944
16945         * c-common.c: Fix formatting.
16946         * diagnostic.c: Likewise.
16947         * doloop.c: Likewise.
16948         * dwarf2out.c: Likewise.
16949
16950 2002-01-03  Kazu Hirata  <kazu@hxi.com>
16951
16952         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
16953         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
16954
16955 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
16956
16957         * cpperror.c: Update comments and copyright.
16958         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
16959         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
16960
16961 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16962
16963         * collect2.c (main): Use strcmp when testing for "-shared".
16964
16965 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
16966
16967         * cppmacro.c: Don't include intl.h.  Update comments.
16968         (new_number_token): Allocate enough buffer for 64-bit unsigned
16969         integers; update prototype.
16970         * cppmain.c: Update comments.
16971
16972 2002-01-03  William Cohen  <wcohen@redhat.com>
16973
16974         * function.h (struct function): Add profile.
16975         (current_function_profile): New.
16976         doc/extend.texi: Update documentation.
16977         * final.c (final_start_function): Use current_function_profile
16978         instead of profile_flag.
16979         (profile_after_prologue): Likewise.
16980         * function.c (expand_function_start): Likewise.
16981         (expand_function_start): Likewise.
16982         * config/alpha/alpha.c (direct_call_operand):
16983         (alpha_does_function_need_gp): Likewise.
16984         (alpha_expand_prologue): Likewise.
16985         * config/arm/arm.c (arm_expand_prologue): Likewise.
16986         thumb_expand_prologue: Likewise.
16987         * config/d30v/d30v.c (d30v_stack_info): Likewise.
16988         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
16989         (fr30_expand_prologue): Likewise.
16990         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
16991         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
16992         * config/i386/i386.h (FINALIZE_PIC): Likewise.
16993         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
16994         * config/i960/i960.c (i960_output_function_prologue): Likewise.
16995         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
16996         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
16997         (m32r_expand_prologue): Likewise.
16998         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
16999         (m88k_expand_prologue): Likewise.
17000         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
17001         * config/mips/mips.c (compute_frame_size): Likewise.
17002         (mips_expand_prologue): Likewise.
17003         (mips_can_use_return_insn): Likewise.
17004         * config/pa/elf.h (ASM_FILE_START): Likewise.
17005         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
17006         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
17007         * config/pa/som.h (ASM_FILE_START): Likewise.
17008         * config/romp/romp.c (romp_using_r14): Likewise.
17009         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
17010         (rs6000_stack_info): Likewise.
17011         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
17012         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
17013         * config/v850/v850.c (compute_register_save_size): Likewise.
17014
17015 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
17016
17017         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
17018         gen_lowpart_common fails, use gen_lowpart_SUBREG.
17019
17020 2002-01-03  Turly O'Connor  <turly@apple.com>
17021
17022         * darwin.c (machopic_output_possible_stub_label): Don't generate
17023         stub routines for pseudo-stubs which we've just defined.
17024
17025 2002-01-03  Kazu Hirata  <kazu@hxi.com>
17026
17027         * builtins.c: Fix formatting.
17028         * c-typeck.c: Likewise.
17029         * combine.c: Likewise.
17030         * expr.c: Likewise.
17031         * loop.c: Likewise.
17032
17033 2002-01-03  Andreas Schwab  <schwab@suse.de>
17034
17035         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
17036         and return true if _cpp_push_next_buffer pushed a new include
17037         file.
17038         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
17039         _cpp_pop_file_buffer did not push a new file.
17040         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
17041
17042 2002-01-02  Eric Christopher  <echristo@redhat.com>
17043
17044         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
17045         FIND_REG_INC_NOTE call. Update copyright.
17046         * loop.c (canonicalize_condition): Ditto.
17047         * reorg.c (delete_scheduled_jump): Ditto.
17048
17049 2002-01-03  Kazu Hirata  <kazu@hxi.com>
17050
17051         * gcse.c: Fix formatting.
17052
17053 2002-01-03  Graham Stott  <grahams@redhat.com>
17054
17055         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
17056         forward defs for struct tags rtx_def, union_tree, rtvec_def
17057         also output corresponding typedefs for rtx, tree, and rtvec.
17058
17059         * system.h: Move forward defs for struct tags rtx_def, union_tree,
17060         rtvec_def along with corresponding typedefs for rtx, tree, and
17061         rtvec to config.h, hconfig.h, tconfig.h.
17062
17063 2002-01-03  Graham Stott  <grahams@redhat.com>
17064
17065         * tree.h: Update copyright date.
17066         (IS_EXPR_CODE_CLASS): Add parenthesis.
17067         (TREE_SET_CODE): Add whitespace.
17068         (TREE_CHECK): Add parenthesis.
17069         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
17070         (CST_OR_CONSTRUCTOR_CHECK):
17071         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
17072         (TREE_SYMBOL_REFERENCED): Whitespace.
17073         (INT_CST_LT): Likewise.
17074         (INT_CST_LT_UNSIGNED): Likewise.
17075         (tree_real_cst): Unwrap comment.
17076         (tree_string): Likewise.
17077         (tree_complex): Likewise.
17078         (IDENTIFIER_POINTER): correct cast.
17079         (SAVE_EXPR_CONTEXT): Whitespace.
17080         (EXPR_WFL_FILENAME_NODE): Likewise.
17081         (EXPR_WFL_FILENAME): Remove parenthesis.
17082         (DECL_ORIGIN): Add parenthesis.
17083         (DECL_FROM_INLINE): Use NULL_TREE.
17084         (build_int_2): Whitespace.
17085         (build_type_variant): Add parenthesis.
17086
17087         * gcc/jcf-parse.c: Update copyright date.
17088         (yyparse): Constify resource_filename.
17089
17090 2002-01-03  Graham Stott  <grahams@redhat.com>
17091
17092         * rtl.h: Update copyright date.
17093         (RTL_CHECK1): Wrap long line.
17094         (RTL_CHECK2): Likewise.
17095         (RTL_CHECKC1): Wrap long line and whitespace.
17096         (RTL_CHECKC2): Likewise.
17097         (XWINT): Whitespace.
17098         (XINT): Likewise.
17099         (XSTR): Likewise.
17100         (XEXP): Likewise.
17101         (XVEC): Likewise.
17102         (XMODE): Likewise.
17103         (XBITMAP): Likewise.
17104         (XTREE): Likewise.
17105         (XBBDEF): Likewise.
17106         (XTMPL): Likewise.
17107         (X0WINT): Likewise.
17108         (X0INT):Likewise.
17109         (X0UINT): Likewise.
17110         (X0STR): Likewise.
17111         (X0EXP): Likewise.
17112         (X0VEC): Likewise.
17113         (X0MODE): Likewise.
17114         (X0BITMAP): Likewise.
17115         (X0TREE): Likewise.
17116         (X0BBDEF): Likewise.
17117         (X0ADVFLAGS): Likewise.
17118         (X0CSELIB): Likewise.
17119         (X0MEMATTR): Likewise.
17120         (XCWINT): Likewise.
17121         (XCINT): Likewise.
17122         (XCUINT): Likewise.
17123         (XCSTR): Likewise.
17124         (XCEXP): Likewise.
17125         (XCVEC): Likewise.
17126         (XCMODE): Likewise.
17127         (XCBITMAP): Likewise.
17128         (XCTREE): Likewise.
17129         (XCBBDEF): Likewise.
17130         (XCADVFLAGS): Likewise.
17131         (XCCSELIB): Likewise.
17132         (XC2EXP): Likewise.
17133         (INSN_UID): Likewise.
17134         (PREV_INSN): Likewise.
17135         (PATTERN): Likewise.
17136         (INSN_CODE): Likewise.
17137         (PUT_REG_NOTE_KIND): Likewise.
17138         (CODE_LABEL_NUMBER): Likewise.
17139         (NOTE_SOURCE_FILE): Likewise.
17140         (NOTE_BLOCK): Likewise.
17141         (NOTE_EH_HANDLER): Likewise.
17142         (NOTE_RANGE_INFO): Likewise.
17143         (NOTE_LIVE_INFO): Likewise.
17144         (NOTE_BASIC_BLOCK): Likewise.
17145         (NOTE_EXPECTED_VALUE): Likewise.
17146         (NOTE_LINE_NUMBER): Likewise.
17147         (LABEL_NAME): Likewise.
17148         (LABEL_NUSES): Likewise.
17149         (LABEL_ALTERNATE_NAME): Likewise.
17150         (ADDRESSOF_DECL): Likewise.
17151         (JUMP_LABEL): Likewise.
17152         (LABEL_NEXTREF): Likewise.
17153         (REGNO): Likewise.
17154         (ORIGINAL_REGNO: Likewise.
17155         (HARD_REGISTER_NUM_P): Add parenthesis.
17156         (SUBREG_REG): Whitespace.
17157         (SUBREG_BYTE): Likewise.
17158         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
17159         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
17160         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
17161         (ASM_OPERANDS_INPUT_VEC): Likewise.
17162         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
17163         (ASM_OPERANDS_INPUT): Likewise.
17164         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
17165         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
17166         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
17167         (ASM_OPERANDS_INPUT_MODE): Likewise.
17168         (ASM_OPERANDS_SOURCE_FILE): Likewise.
17169         (ASM_OPERANDS_SOURCE_LINE): Likewise.
17170         (MEM_SET_IN_STRUCT_P): Minor reformat.
17171         (TRAP_CONDITION): Whitespace.
17172         (TRAP_CODE): Likewise.
17173         (COND_EXEC_TEST): Likewise.
17174         (COND_EXEC_CODE): Likewise.
17175         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
17176         (PHI_NODE_P): Add parenthesis.
17177         (plus_constant): Whitespace and add parenthesis.
17178
17179 2002-01-03  Kazu Hirata  <kazu@hxi.com>
17180
17181         * config/avr/avr.c: Fix comment typos.
17182         * config/c4x/c4x.md: Likewise.
17183         * config/dsp16xx/dsp16xx.h: Likewise.
17184         * config/dsp16xx/dsp16xx.md: Likewise.
17185         * config/i386/i386.md: Likewise.
17186         * config/ia64/ia64.c: Likewise.
17187         * config/m32r/m32r.h: Likewise.
17188         * config/m68hc11/m68hc11.md: Likewise.
17189         * config/mmix/mmix.c: Likewise.
17190         * config/mn10200/mn10200.c: Likewise.
17191         * config/romp/romp.c: Likewise.
17192         * config/sh/sh.c: Likewise.
17193         * config/stormy16/stormy16.c: Likewise.
17194         * config/stormy16/stormy16.h: Likewise.
17195         * config/stormy16/stormy16.md: Likewise.
17196
17197 2002-01-03  Graham Stott  <grahams@redhat.com>
17198
17199         * loop.h: Update copyright date.
17200         (LOOP_MOVABLES): Fix typo.
17201         (LOOP_REGS): Likewise.
17202         (LOOP_IVS): Likewise.
17203
17204 2002-01-03  Graham Stott  <grahams@redhat.com>
17205
17206         * cppinit.c: Update copyright date.
17207         Don't include output.h
17208         * Makefile.in: Update copyright date.
17209         Update dependency.
17210
17211 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
17212
17213         PR c/5226
17214         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
17215         (-pthread) Add to RS/6000 options.
17216
17217 2002-01-02  Kazu Hirata  <kazu@hxi.com>
17218
17219         * except.c: Fix comment typos.
17220         * loop.c: Likewise.
17221         * varasm.c: Likewise.
17222         * doc/tm.texi: Fix a typo.
17223
17224 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
17225
17226         * c-typeck.c (output_init_element): Allow initializing static storage
17227         duration objects with compound literals.
17228
17229 2002-01-02  Richard Henderson  <rth@redhat.com>
17230
17231         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
17232         after abusing it.
17233
17234 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17235
17236         * gcc.c (default_compilers): Const-ify.
17237         * mips-tdump.c (stab_names): Likewise.
17238         * mips-tfile.c (map_coff_types, map_coff_storage,
17239         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
17240         pseudo_ops_t, pseudo_ops): Likewise.
17241         * protoize.c (default_include): Likewise
17242
17243         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
17244         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
17245         Add array size in declaration.
17246         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
17247         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
17248         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
17249         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
17250         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
17251         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
17252         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
17253         emtens, make_nan): Const-ify.
17254         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
17255         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
17256
17257 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
17258
17259         * config.gcc (ia64-*-*): Set extra_headers.
17260         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
17261         * config/alpha/t-osf: Remove.
17262         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
17263
17264 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
17265
17266         * config/rs6000/t-aix43: Revert previous change.
17267
17268 2002-01-02  Jason Merrill  <jason@redhat.com>
17269
17270         * c-decl.c (c_expand_body): Call outlining_inline_function when
17271         emitting an inline function out of line.
17272
17273 2002-01-02  Richard Henderson  <rth@redhat.com>
17274
17275         * dwarf2out.c (limbo_die_node): Add created_for member.
17276         (new_die): New argument created_for.  Update all callers.
17277         (mark_limbo_die_list): New.
17278         (dwarf2out_init): Register limbo_die_list as a root.
17279         (dwarf2out_finish): Force insert limbo dies into their function
17280         context.
17281
17282 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
17283
17284         PR c++/5089
17285         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
17286
17287 2002-01-02  Kazu Hirata  <kazu@hxi.com>
17288
17289         * config/h8300/fixunssfsi.c: Update copyright.
17290         Fix comment typos.
17291         Fix formatting.
17292         * config/h8300/h8300.c: Update copyright.
17293         Eliminate warnings.
17294
17295 2002-01-02  Kazu Hirata  <kazu@hxi.com>
17296
17297         * config/romp/romp.c: Fix comment formatting.
17298         * config/romp/romp.h: Likewise.
17299         * config/romp/romp.md: Likewise.
17300         * config/s390/s390.c: Likewise.
17301         * config/stormy16/stormy16.c: Likewise.
17302         * config/stormy16/stormy16.h: Likewise.
17303
17304 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
17305
17306         * c-common.h (genrtl_expr_stmt_value): Declare.
17307         * c-semantics.c (genrtl_goto_stmt): Redirect to...
17308         (genrtl_goto_stmt_value): ... this new function.  Pass new
17309         argument down to expand_expr_stmt_value, taking
17310         TREE_ADDRESSABLE into account.
17311         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
17312         STMT_EXPR as addressable, i.e., one whose result we want.
17313         * expr.c (expand_expr): Don't save expression statement value
17314         of labeled_blocks or loop_exprs.
17315         * stmt.c (expand_expr_stmt): Redirect to...
17316         (expand_expr_stmt_value): ... this new function.  Use new
17317         argument to tell whether to save expression value.
17318         (expand_end_stmt_expr): Reset last_expr_type and
17319         last_expr_value if we don't have either.
17320         * tree-inline.c (declare_return_variable): Mark its use
17321         statement as addressable.
17322         * tree.h: Document new use of TREE_ADDRESSABLE.
17323         (expand_expr_stmt_value): Declare.
17324
17325 2002-01-01  Tom Rix  <trix@redhat.com>
17326
17327         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
17328         rs6000_emit_allocate_stack.
17329
17330 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
17331
17332         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
17333         ${srcdir}/ginclude/ to every entry in extra_headers.
17334         * configure: Regenerate.
17335         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
17336         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
17337         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
17338         * ginclude/proto.h: Rename to config/convex/proto.h.
17339
17340 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17341
17342         * attribs.c (handle_vector_size_attribute): Use host_integerp
17343         and tree_int_cst; remove warnings.
17344         * caller-save.c (insert_restore): Add cast to get rid of warning.
17345         (insert_save): Likewise.
17346         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
17347         * regmove.c (find_matches): Add temporary var to kill a warning.
17348
17349 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
17350
17351         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
17352         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
17353         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
17354         (vms-dwarf2eh.o): Add Makefile rule.
17355         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
17356         * config/alpha/vms-dwarf2eh.asm: New file.
17357
17358         * gcc.c (delete_if_ordinary): Delete all versions.
17359
17360 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
17361
17362         * config/mmix/mmix.md: Update FIXME to not mention
17363         define_constants.
17364         (MMIX_rJ_REGNUM): New define_constants constant.
17365         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
17366         "*movdicc_real"): Adjust contraints formatting.
17367         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
17368         for branch prediction.
17369         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
17370         output template.
17371         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
17372         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
17373         number.  Delete related FIXMEs.
17374         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
17375         from number to MMIX_rJ_REGNUM.
17376         (TARGET_MASK_BRANCH_PREDICT): New.
17377         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
17378         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
17379         value.  Add -mbranch-predict and -mno-branch-predict.
17380         (TARGET_VERSION): Drop date.
17381         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
17382         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
17383         for finding out global symbols.
17384         (mmix_asm_output_labelref): Revert condition for global symbol.
17385         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
17386         (mmix_print_operand_punct_valid_p): A '+' is valid.
17387
17388 See ChangeLog.6 for earlier changes.