OSDN Git Service

Support for C++ constructors/destructors.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-06-02  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2
3         Support for C++ constructors/destructors.
4         * config/avr/avr.c (avr_output_function_epilogue): Jump to exit()
5         instead of looping if main() returns.
6         (asm_file_start): Output global symbols that cause .data and .bss
7         initialization code to be linked in, unconditionally for now.
8         (avr_asm_out_ctor, avr_asm_out_dtor): New functions.
9         * config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New.
10         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
11         (LIBSTDCXX): New.
12         * config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections.
13         (__tablejump__): New.
14         (__do_copy_data, __do_clear_bss): New.
15         (__do_global_ctors, __do_global_dtors): New.
16         * config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss,
17         _ctors, _dtors.
18
19 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
20
21         * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
22         (CPP_SPEC, CPP_PREDEFINES): Kill.
23         * c4x/rtems.h (CPP_PREDEFINES): Kill.
24         (TARGET_OS_CPP_BUILTINS): New.
25
26 Sat Jun  1 23:29:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
27
28         * Makefile.in (tracer.o): New.
29         * params.def (TRACER_*): New options.
30         * rtl.h (tracer): Declare.
31         * timevar.def (TV_TRACER): New.
32         * toplev.c (dump_file_index): Add DFI_tracer.
33         (dump_file_info): Add tracer.
34         (flag_tracer): New.
35         (lang_indepdenent_options): Add tracer.
36         (rest_of_compilation): Call tracer.
37         * tracer.c: New file.
38         * invoke.texi (-ftracer): Document.
39         (--param tracer-*): Document.
40
41 2002-06-01  Daniel Berlin  <dberlin@dberlin.org>
42
43         * tree-inline.c (expand_call_inline): Make the statement
44         expression we generate have a COMPOUND_STMT.    
45
46 2002-06-01  Roger Sayle  <roger@eyesopen.com>
47
48         * gcse.c (cprop_cc0_jump): Function deleted.
49         (cprop_jump): Take an additional argument which is the possibly
50         NULL cc setting insn immediately before the conditional jump.
51         When a MODE_CC set is present, substitute it into the JUMP_INSN
52         before attempting the constant propagation.
53         (cprop_insn):  Recognize cc setters followed by conditional jumps
54         as a special case.   Use cprop_jump instead of cprop_cc0_jump.
55         (cprop_one_pass):  Call bypass_conditional_jumps if altering jumps.
56         (find_bypass_set): New function based upon find_avail_set used by
57         cprop, but finds constant expressions available at the end of
58         basic blocks.
59         (bypass_block): New function.  Given a basic block that begins
60         with a conditional jump and multiple incoming edges, perform
61         the jump bypass optimization.
62         (bypass_conditional_jumps): New function.  Call bypass_block with
63         each suitable basic block in the CFG using a simple single pass.
64
65 2002-06-01  Roger Sayle  <roger@eyesopen.com>
66
67         * tree.c (real_minus_onep): New function to test for -1.0.
68         * fold-const.c (fold) [MULT_EXPR]:  Optimize -1.0*x into -x.
69
70 2002-06-01  Roger Sayle  <roger@eyesopen.com>
71
72         * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
73         and "!p && !q" into "(p|q) == 0" under suitable conditions.
74
75 2002-06-01  Andreas Jaeger  <aj@suse.de>
76
77         * cppexp.c (cpp_classify_number): Cast precission to int for
78         correct printf format.
79
80 2002-06-01  Marek Michalkiewicz  <marekm@amelek.gda.pl>
81
82         * config/avr/avr.c (avr_mcu_types): Remove devices that were once
83         expected, but don't really exist: atmega83, atmega85, attiny10.
84         * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld
85         emulations for all devices.
86         (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10.
87         * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85.
88
89 2002-06-01  Kazu Hirata  <kazu@cs.umass.edu>
90
91         * config/h8300/h8300-protos.h: Add a prototype for
92         h8300_shift_needs_scratch_p.
93         * config/h8300/h8300.c (h8300_shift_needs_scratch_p): New.
94         * config/h8300/h8300.h (OK_FOR_R): New.
95         (OK_FOR_S): Likewise.
96         (OK_FOR_T): Likewise.
97         (EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T.
98         * config/h8300/h8300.md (anonymous shift patterns): Use
99         constraints R, S, and T.
100
101 Sat Jun  1 11:23:22 CEST 2002  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
102
103         * basic-block.h (struct basic_block_def): New field loop_father.
104         (BB_VISITED): New flag.
105         (struct loop): New field pred, removed field shared.
106         (struct loops): New field parray.
107         (LOOP_EXITS_DOMS): Removed.
108         (flow_loop_tree_node_add, flow_loop_tree_node_remove,
109         flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body,
110         dfs_enumerate_from, loop_preheader_edge, loop_latch_edge,
111         add_bb_to_loop, remove_bb_from_loops, find_common_loop,
112         verify_loop_structure): Declare.
113         * cfg.c (entry_exit_blocks): Initialize loop_father field.
114         * cfganal.c (dfs_enumerate_from): New function.
115         * cfgloop.c (HEAVY_EDGE_RATIO): New constant.
116         (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
117         flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p,
118         flow_loop_dump, flow_loops_dump, flow_loops_free,
119         flow_loop_tree_node_add, flow_loop_level_compute,
120         flow_loops_level_compute, flow_loop_scan, flow_loops_update,
121         flow_loop_outside_edge_p): Modified for new infrastructure.
122         (make_forwarder_block, canonicalize_loop_headers, glb_enum_p,
123         redirect_edge_with_latch_update, flow_loop_free): New static functions.
124         (flow_loop_tree_node_remove, flow_bb_inside_loop_p,
125         get_loop_body, add_bb_to_loop, remove_bb_from_loops,
126         find_common_loop, verify_loop_structure, loop_latch_edge,
127         loop_preheader_edge): New functions.
128         (flow_loops_cfg_dump): Do not show dominators, as this information
129         does not remain up to date long.
130         (flow_loops_find): Store results in new format.
131         * predict.c (propagate_freq, estimate_probability,
132         estimate_loops_at_level, estimate_bb_frequencies): Use new loop
133         infrastructure.
134
135 2002-06-01  Alan Lehotsky  <apl@alum.mit.edu>
136
137         * except.c (nothrow_function_p): Walk epilogue delay list
138         checking the insn, not the chain for potential throws.
139
140 2002-05-31  Zack Weinberg  <zack@codesourcery.com>
141
142         * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
143         (install): Refer to install-cpp directly.
144         (uninstall-cpp): Folded into uninstall rule.
145         * configure.in: Delete all code relating to --disable-cpp.
146         * configure: Regenerate.
147         * config/t-install-cpp: Delete.
148
149 2002-05-31  Richard Henderson  <rth@redhat.com>
150
151         * configure.in (HAVE_AS_TLS): Add alpha tests.
152         * configure: Rebuild.
153         * config/alpha/alpha.c (TARGET_AS_TLS): New.
154         (alpha_tls_size, alpha_tls_size_string): New.
155         (overide_options): Set it.  Always install machine_status hooks.
156         (input_operand): Accept got tls predicates.
157         (local_symbol_p): Merge into ...
158         (local_symbolic_operand): ... here.  Reject tls symbols.
159         (global_symbolic_operand): Likewise.
160         (tls_symbolic_operand_1, dtp16_symbolic_operand): New.
161         (dtp32_symbolic_operand, gotdtp_symbolic_operand): New.
162         (tp16_symbolic_operand, tp32_symbolic_operand): New.
163         (gottp_symbolic_operand, tls_symbolic_operand_type): New.
164         (alpha_encode_section_info): Handle TLS symbols.
165         (alpha_strip_name_encoding): Likewise.
166         (alpha_legitimate_address_p): Likewise.
167         (alpha_legitimize_address): Likewise.
168         (alpha_expand_mov): Early exit to avoid nop moves.
169         (struct machine_function): Move from unicosmk.h.  Add some_ld_name.
170         (alpha_init_machine_status, alpha_mark_machine_status,
171         alpha_free_machine_status): Always define.
172         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
173         (print_operand, print_operand_address): Add TLS relocs.
174         * config/alpha/alpha.h (HAVE_AS_TLS): Default 0.
175         (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New.
176         (TARGET_SWITCHES): Add -mtls-kernel.
177         (alpha_tls_size, alpha_tls_size_string): New.
178         (TARGET_OPTIONS): Add -mtls-size=.
179         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
180         REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG.
181         (ASM_OUTPUT_LABELREF): Skip %.
182         (PRINT_OPERAND_PUNCT_VALID_P): Add &.
183         (PREDICATE_CODES): Update.
184         * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL,
185         UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL,
186         UNSPEC_TP, UNSPECV_SET_TP): New.
187         (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp,
188         adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp,
189         set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp,
190         movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New.
191         (call_value_osf_2_er): Accept anything as op4.
192         * config/alpha/alpha-protos.h: Update.
193         * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c.
194
195 2002-05-31  Zack Weinberg  <zack@codesourcery.com>
196
197         * cppinit.c (append_include_chain): Always pay attention to
198         cxx_aware when setting new->sysp.  Remove ATTRIBUTE_UNUSED
199         marker on argument.
200
201 2002-05-31  Kazu Hirata  <kazu@cs.umass.edu>
202
203         * target.h: Fix formatting.
204         * timevar.h: Likewise.
205         * tlink.c: Likewise.
206         * toplev.c: Likewise.
207         * toplev.h: Likewise.
208         * tree.c: Likewise.
209         * tree-dump.h: Likewise.
210         * tree.h: Likewise.
211         * tree-inline.h: Likewise.
212         * unroll.c: Likewise.
213         * unwind-dw2.c: Likewise.
214         * unwind-dw2-fde.c: Likewise.
215         * unwind-dw2-fde-glibc.c: Likewise.
216         * unwind-dw2-fde.h: Likewise.
217         * unwind.h: Likewise.
218         * unwind-sjlj.c: Likewise.
219         * varasm.c: Likewise.
220         * varray.h: Likewise.
221         * vmsdbg.h: Likewise.
222         * vmsdbgout.c: Likewise.
223         * xcoffout.h: Likewise.
224
225 2002-05-31  Igor Shevlyakov <igor@microunity.com>
226
227         * expr.c (compare_from_rtx): Generate comparison between op0 and op1
228         rather than cc0 and 0 in a case when HAVE_cc0 is not defined.
229
230 2002-05-31  Matthew Woodcraft  <mattheww@chiark.greenend.org.uk>
231
232         * gcc.c (cpp_unique_options): Remove "-d" options.
233         (cpp_debug_options): New spec string.
234         (default_compilers): Use it.
235         * objc/lang-specs.h: Likewise.
236
237 2002-05-31  Nathanael Nerode  <neroden@twcny.rr.com>
238
239         * gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with
240         BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature.
241         * gcc/mklibgcc.in: Likewise.
242         * gcc/config/arc/t-arc: Likewise.
243         * gcc/configure.in: Likewise.
244         * gcc/configure: Regenerate.
245
246 2002-05-31  Stan Shebs  <shebs@apple.com>
247             Turly O'Connor  <turly@apple.com>
248
249         * c-decl.c (struct binding_level): Change int field n_incomplete
250         to tree list incomplete_list.
251         (clear_binding_level): Init field with NULL.
252         (pushdecl): Add incomplete type to list.
253         (mark_binding_level): Mark the incomplete list.
254         (finish_struct): Scan the incomplete list for types instead
255         of all decls in the current binding level.
256
257 2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
258
259         * pa.c (output_millicode_call): Add missing '%' characters.
260         (output_call): Likewise.
261
262 2002-05-31  David Edelsohn  <edelsohn@gnu.org>
263
264         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
265         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
266
267 2002-05-31  Alan Lehotsky <apl@alum.mit.edu>
268
269         * varasm.c (mark_constant_pool): Walk epilogue delay list
270         checking the insn, not the chain for potential constants.
271
272 Fri May 31 12:38:43 2002  J"orn Rennecke <joern.rennecke@superh.com>
273
274         * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
275
276 Fri May 31 13:50:19 CEST 2002  Jan Hubicka  <jh@suse.cz>
277
278         * i386.c (classify_argument): Properly handle base types.
279
280         * dwarf2out.c (expand_builin_init_dwarf_reg_sizes):
281         Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo
282         registers.
283
284 Fri May 31 13:37:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
285
286         * gcse.c (gcse_emit_move_after): New.
287         (pre_delete, hoist_store): Use it.
288
289         * reload1.c (emit_input_reload_insns): Use constrain_operands
290         instead of constraint_accepts_reg_p to verify optimization.
291         (constraint_accepts_reg_p): Kill
292
293         * reload1.c (reload_cse_delete_noop_set): Kill.
294         (reload_cse_simplify): use delte_insn_and_edges.
295
296 2002-05-31  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
297
298         * cfgloop.c (flow_loops_find): Initialize first and last fields
299         correctly.
300
301 2002-05-31  Neil Booth  <neil@daikokuya.demon.co.uk>
302
303         * c-common.c (builtin_define_std): Correct logic.
304
305 2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
306
307         * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
308         (output_call): Likewise.
309
310 2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
311
312         * pa.c: Move output.h include after tree.h include.
313         (pa_asm_output_mi_thunk): Constify identifier lab.
314
315 2002-05-31  Jason Thorpe  <thorpej@wasabisystems.com>
316
317         * config/ns32k/ns32k.h: Define named constants for the
318         bits in target_flags and use them.
319         * config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants.
320
321 2002-05-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
322
323         * config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0
324         architecture and pa/pa-7100.h for PA1.1 architecture, respectively.
325         * pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select
326         default scheduling model.
327         * pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000".
328         * pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling.
329         * pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling.
330         * doc/install.texi (hppa*-*-*): Document default scheduling.
331
332 2002-05-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
333
334         * pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
335
336 2002-05-31  Jason Thorpe  <thorpej@wasabisystems.com>
337
338         * config.gcc (ns32k-*-netbsd*): Set tm_file to
339         "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
340         * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
341         netbsd.h, or netbsd-aout.h.
342
343 2002-05-31  Jason Thorpe  <thorpej@wasabisystems.com>
344
345         * longlong.h (count_trailing_zeros): Add missing \, and clean up
346         whitespace in __ns32000__ case.
347
348 2002-05-31  Aldy Hernandez  <aldyh@redhat.com>
349
350         * expr.c (expand_expr): Output partially zeroed out vectors with
351         output_constant_def.
352
353 2002-05-30  Jason Thorpe  <thorpej@wasabisystems.com>
354
355         * config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
356         (sh-*-netbsdelf*)
357         (shl*-*-netbsdelf*): New targets.
358         * config/sh/netbsd-elf.h: New file.
359
360 2002-05-30  Richard Henderson  <rth@redhat.com>
361             Eric Botcazou  <ebotcazou@multimania.com>
362
363         PR optimization/6822
364         * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
365         to unsigned int for op1 comparisons.  Use gen_int_mode.
366
367 2002-05-30  Eric Botcazou  <ebotcazou@multimania.com>
368
369         * expmed.c (const_mult_add_overflow_p): New.
370         * expr.h: Declare it.
371         * loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it.
372         Don't eliminate the biv if the giv has a constant multiplier and
373         the rhs argument of the comparison does satisfy the predicate.
374         Use expand_mult_add to compute the replacement constant.
375
376 2002-05-30  Osku Salerma  <osku@iki.fi>
377
378         * c-common.c (c_common_attribute_table): Add "may_alias" entry.
379         (c_common_get_alias_set): Handle it.
380         * doc/extend.texi: Document it.
381
382 2002-05-30  Richard Henderson  <rth@redhat.com>
383
384         * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
385         * toplev.c (process_options): Don't check it.
386         * doc/tm.texi: Don't document it.
387         * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New.
388         (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
389         * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf
390         frame pointer optimization if current_function_profile.
391
392 2002-05-30  Kazu Hirata  <kazu@cs.umass.edu>
393
394         * langhooks.c: Fix formatting.
395         * langhooks.h: Likewise.
396         * lcm.c: Likewise.
397         * libgcc2.c: Likewise.
398         * lists.c: Likewise.
399         * local-alloc.c: Likewise.
400         * loop.c: Likewise.
401         * loop.h: Likewise.
402
403 2002-05-30  Marc Espie <espie@openbsd.org>
404
405         * config.gcc (sparc64-*-openbsd*): New.
406         * config/sparc/openbsd1-64.h: New.
407         * config/sparc/openbsd64.h: New.
408
409 2002-05-30  Jeff Law <law@redhat.com>
410
411         * flow.c (propagate_one_insn): Revise yesterday's patch.  Delete
412         a dead insn with a REG_RETVAL note when the entire libcall is not
413         dead and remove the associated REG_LIBCALL note at the same time.
414
415 Thu May 30 19:54:30 2002  J"orn Rennecke <joern.rennecke@superh.com>
416
417         * lcm.c (output.h): #include.
418         (compute_earliest): Remove hack to treat renumbered EXIT_BLOCK
419         as an ordinary block.
420         (optimize_mode_switching): Don't pretend that the exit block is
421         an ordinary block, or handle sucessors of entry block specially.
422         Instead, split edges from entry block and to exit block, and
423         put a computing definition on the thus gained post-entry-block,
424         and a need on the pre-exit-block.
425
426 Thu May 30 20:28:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
427
428         * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
429         * rtl.texi: Document 'B'
430
431 2002-05-30  Jason Thorpe  <thorpej@wasabisystems.com>
432
433         * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute
434         at run-time.
435         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
436
437 2002-05-30  Aldy Hernandez  <aldyh@redhat.com>
438
439         * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return
440         const0_rtx instead of NULL_RTX when in error.
441         (altivec_expand_abs_builtin): Same.
442         (rs6000_expand_binop_builtin): Same.
443         (altivec_expand_predicate_builtin): Same.
444         (altivec_expand_stv_builtin): Same.
445         (rs6000_expand_ternop_builtin): Same.
446         (altivec_expand_builtin): Same.
447
448 2002-05-29  David S. Miller  <davem@redhat.com>
449
450         * rtl.h (clear_emit_caches): Delete.
451         * integrate.c (output_inline_function): Don't call it.
452         * emit-rtl.c (restore_emit_status, init_emit): Likewise.
453         (clear_emit_caches): Delete definition.
454         (SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise.
455
456 2002-05-30  Hans-Peter Nilsson  <hp@bitrange.com>
457
458         * config/mmix/mmix.c: Include real.h.
459         (mmix_constant_address_p): Remove redundant test before switch.
460
461 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
462
463         * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
464         only if not already defined.
465
466 2002-05-29  Kazu Hirata  <kazu@cs.umass.edu>
467
468         * config/h8300/h8300-protos.h: Remove prototypes for
469         ok_for_bclr and small_power_of_two.
470         * config/h8300/h8300.c (small_power_of_two): Remove.
471         (ok_for_blcr): Likewise.
472         (fix_bit_operand): Make WHAT deal with an integer instead of a
473         constraint character.
474         * config/h8300/h8300.h (CONST_OK_FOR_O): Remove.
475         (CONST_OK_FOR_P): Likewise.
476         (CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or
477         CONST_OK_FOR_P any more.
478         * config/h8300/h8300.md (andqi3): Adjust to the new prototype
479         of fix_bit_operand.
480         (iorqi3): Likewise.
481         (xorqi3): Likewise.
482
483 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
484
485         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
486         (CPP_PREDEFINES): Make sure this is undefined.
487         (CPP_SPEC): Place -D__mips=1 at the beginning of the spec,
488         since it is no longer in CPP_PREDEFINES.  Don't -U__MIPSEL__
489         or -U__MIPSEB__ before defining one or the other.  Instead,
490         use %(subtarget_endian_default) if neither -EB nor -EL are
491         specified.
492         (SUBTARGET_EXTRA_SPECS): Define.
493         (SUBTARGET_CPP_SPEC): Remove __LONG64 handling.  Use
494         %(netbsd_cpp_spec).
495
496 2002-05-29  Hans-Peter Nilsson  <hp@axis.com>
497
498         * doc/md.texi (Patterns): Note pattern condition pitfall
499         for unnamed insn.
500
501 2002-05-29  Aldy Hernandez  <aldyh@redhat.com>
502
503         * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins
504         when TARGET_ALTIVEC.  Move handling of generic unary, binary, and
505         ternary operations from here...
506         (rs6000_expand_builtin): ...to here.
507         New argument expandedp.
508         Change all instances of altivec_expand_binop_builtin to
509         rs6000_expand_binop_builtin.
510         (altivec_expand_unop_builtin): Rename to
511         rs6000_expand_unop_builtin.
512         (altivec_expand_binop_builtin): Rename to
513         rs6000_expand_binop_builtin.
514         (altivec_expand_ternop_builtin): Rename to
515         rs6000_expand_ternop_builtin.
516
517 2002-05-29  Richard Henderson  <rth@redhat.com>
518
519         * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
520         (TARGET_BI_ARCH): Likewise.
521         * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
522         (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
523         (TARGET_64BIT_DEFAULT): Default to 0.
524         (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.
525
526 2002-05-29  Richard Henderson  <rth@redhat.com>
527
528         * config/i386/i386.c (USE_HIDDEN_LINKONCE): New.
529         (get_pc_thunk_name): New.
530         (output_set_got): Use it.
531         (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks
532         into linkonce sections.
533
534 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
535
536         * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
537         (CPP_PREDEFINES): Make sure this is undefined.
538         (CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove.
539         (CPP_SUBTARGET_SPEC): Don't provide different versions for
540         default-32 and default-64.  Just always use %(netbsd_cpp_spec).
541         (SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and
542         cpp_subtarget_spec64.  Add netbsd_cpp_spec.
543         * config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
544         (CPP_PREDEFINES): Make sure this is undefined.
545         (SUBTARGET_EXTRA_SPECS): Define.
546         (CPP_SPEC): Use %(netbsd_cpp_spec).
547
548 2002-05-29  Jeff Law <law@redhat.com>
549
550         * pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon.
551
552         * flow.c (propagate_one_insn): Do not remove a dead insn if it
553         contains a REG_RETVAL note.
554
555         * haifa-sched (sched_analyze): Remove another useless clearing
556         of SCHED_GROUP_P I missed yesterday.
557
558         * pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
559         * pa.c (pa_asm_output_mi_thunk): New function.
560         * pa-protos.h (pa_asm_output_mi_thunk): Declare.
561
562 2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
563             Marek Michalkiewicz  <marekm@amelek.gda.pl>
564
565         * config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New.
566         (avr_asm_only_p): Make non-static.
567         (enum avr_arch): Remove.
568         (avr_arch_types): New.
569         (avr_mcu_types): Update.
570         (avr_override_options): Use avr_arch_types table instead of switch.
571         * avr.h (CPP_PREDEFINES): Die.
572         (avr_base_arch_macro, avr_extra_arch_macro): New.
573         (TARGET_CPU_CPP_BUILTINS): New.
574         (CPP_SPEC, EXTRA_SPECS): Simplify.
575         (CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC,
576         CPP_AVR5_SPEC): Die.
577
578 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
579
580         * config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
581         NETBSD_OS_CPP_BUILTINS_AOUT.
582         (SUBTARGET_EXTRA_SPECS): Define.
583         (CPP_SPEC): Use %(netbsd_cpp_spec).
584
585 2002-05-29  Richard Henderson  <rth@redhat.com>
586
587         * config/i386/i386.c (ix86_output_function_epilogue): New.
588         (TARGET_ASM_FUNCTION_EPILOGUE): New.
589         (pic_label_name): Remove.
590         (pic_labels_used): New.
591         (ix86_asm_file_end): Emit one pc load stub for each register used.
592         (output_set_got): Generate deep pc load to any register.
593         (ix86_select_alt_pic_regnum): New.
594         (ix86_save_reg): Don't save pic register if we can find a valid
595         call-clobbered replacement.
596         (ix86_expand_prologue): If we found a valid replacement, renumber
597         pic_offset_table_rtx.
598         * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at
599         pic_offset_table_rtx after reload.
600         (REAL_PIC_OFFSET_TABLE_REGNUM): New.
601         * config/i386/i386.md (set_got): Make insn, not expander.
602         (set_got_nopic, set_got_deep, set_got_nodeep): Remove.
603
604 2002-05-29  Richard Henderson  <rth@redhat.com>
605
606         * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
607         alignment for alloca.
608
609 2002-05-29  Richard Henderson  <rth@redhat.com>
610
611         * config/i386/i386.c (output_pic_addr_const): Lowercase rip.
612         (print_operand_address): Only add rip for symbolic addresses
613         for which we do not have another relocation type.
614
615 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
616
617         * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
618         (EXTRA_SPECS): Add netbsd_cpp_spec.
619         (CPP_SPEC): Use %(netbsd_cpp_spec).
620         (CPP_PREDEFINES): Remove.
621         * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
622         (EXTRA_SPECS): Define.
623         (CPP_SPEC): Use %(netbsd_cpp_spec).
624         (CPP_PREDEFINES): Remove.
625
626 2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
627
628         PR preprocessor/6844
629         * cppmacro.c (cpp_macro_definition): Reserve space for terminating
630         NUL.
631
632 2002-05-29  Eric Christopher  <echristo@redhat.com>
633
634         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for
635         mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.
636
637 2002-05-29  Nick Clifton  <nickc@cambridge.redhat.com>
638
639         * config/fr30/fr30.md: Remove previous restriction on splits.
640         Enforce conformance through gen_lowpart and cont_int_operand.
641         * config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss"
642         as the assembler does not support ".bss".
643
644 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
645
646         * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
647         (CPP_PREDEFINES): Remove.
648         (SUBTARGET_EXTRA_SPECS): Define.
649         (CPP_SPEC): Use %(netbsd_cpp_spec).
650         * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
651         (CPP_PREDEFINES): Remove.
652         (SUBTARGET_EXTRA_SPECS): Define.
653         (CPP_SPEC): Use %(netbsd_cpp_spec).
654         * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define.
655         (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove.
656         (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget.
657         Add netbsd_cpp_spec.
658         (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec).
659
660 2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
661             Zack Weinberg <zack@codesourcery.com>
662
663         * cppexp.c (cpp_num): Move to cpplib.h.
664         (CPP_ERROR): Remove.
665         (interpret_float_suffix, interpret_int_suffix): New.
666         (struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove.
667         (cpp_classify_number, cpp_interpret_integer): New.
668         (interpret_number): Remove.
669         (eval_token): Update to use new routines.
670         * cpphash.h (cpp_num_part): Move to cpplib.h.
671         * cppinit.c (cpp_post_options): Set warn_long_long.
672         * cpplib.h (struct cpp_options): Add warn_long_long.
673         (cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID,
674         CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL,
675         CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX,
676         CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number,
677         cpp_interpret_integer): New.
678
679 2002-05-29  Joel Sherrill <joel@OARcorp.com>
680
681         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
682
683 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
684
685         * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
686         NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64.
687         (CPP_SUBTARGET_SPEC): Define.
688         (SUBTARGET_EXTRA_SPECS): Define.
689         (CPP_SPEC): Remove.
690
691 2002-05-29  Chris Lattner  <sabre@nondot.org>
692
693         * ssa.c (rename_insn_1): Rename uses of undefined registers to
694         prevent confusion if/when the register is defined.
695
696 2002-05-29  Hans-Peter Nilsson  <hp@axis.com>
697
698         PR target/6838
699         * config/cris/cris.md: Fix typos and thinkos in comments.
700         ("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4,
701         second alternative.
702         ("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto.
703         ("*mov_sideqi_mem"): Similar, but for operand 3.
704         ("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto.
705         (splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
706         Remove spurious mode specifier on operand 2.
707
708 2002-05-29  Kazu Hirata  <kazu@cs.umass.edu>
709
710         * config/h8300/h8300-protos.h: Remove the prototype for
711         o_operand.
712         Add prototypes for single_one_operand and single_zero_operand.
713         * config/h8300/h8300.c (o_operand): Remove.
714         (single_one_operand): New.
715         (single_zero_operand): Likewise.
716         (print_operand): For 'V' operand, and the operand with 0xff.
717         For 'V' and 'W' operands, do not and the bit position with 7.
718         * config/h8300/h8300.md (various anonymous patterns): Replace
719         use of exact_log2 with single_one_operand/single_zero_operand.
720
721 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
722
723         * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
724
725 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
726
727         * config/s390/s390.c (legitimate_pic_operand_p): Do not
728         accept symbolic LARL operands.
729         (s390_emit_epilogue): Do not set FRAME_RELATED_P on
730         epilogue insns.
731
732 2002-05-29  Hartmut Penner  <hpenner@de.ibm.com>
733
734         * config/s390/s390.md (cmpstr_64/31): Mark whole
735         input registers as used.
736
737 2002-05-28  Richard Henderson  <rth@redhat.com>
738
739         * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
740         not current_function_uses_pic_offset_table and
741         current_function_uses_const_pool; examine current_function_profile.
742         (ix86_expand_prologue): Likewise.  Add pic_offset_table_rtx as
743         input to blockage if needed.
744         (ix86_expand_call): Do not set current_function_uses_pic_offset_table.
745         (legitimize_pic_address): Likewise.  Set regs_ever_live for
746         pic_offset_table_rtx when invoked during reload.
747         * config/i386/i386.h (FINALIZE_PIC): Remove.
748         * config/i386/i386.md (tablejump): Reformat.  Do not set
749         current_function_uses_pic_offset_table.
750         (tls_global_dynamic, tls_local_dynamic_base): Likewise.
751         (blockage): Accept anything as operand 0.
752
753 2002-05-28  Jason Thorpe  <thorpej@wasabisystems.com>
754
755         * config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
756         common CPP built-ins for all NetBSD a.out targets.
757         * config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define
758         common CPP built-ins for all NetBSD ELF targets.
759         * config/netbsd.h: Add missing notice.
760         (NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins
761         for all NetBSD targets.
762         (NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins
763         for all NetBSD targets using an LP64 code model.
764         (NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all
765         NetBSD targets.
766
767 2002-05-28  Richard Henderson  <rth@redhat.com>
768
769         * flow.c (update_life_info_in_dirty_blocks): Only do a partial
770         update if UPDATE_LIFE_LOCAL.
771
772 2002-05-28  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
773
774         * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
775
776 Tue May 28 21:16:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
777                           Jason R. Thorpe <thorpej@wasabisystems.com>
778
779         config/sh reorganization to factor out endianness and coff:
780
781         * config/sh/little.h: New file.
782         * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already
783         defined, define to 0 to select big-endian.
784         (SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT.
785         (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
786         * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
787         * config/sh/t-be: New file.
788         * config/sh/t-le: New file.
789
790         * sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h.
791         (SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise.
792         (TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise.
793         (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise.
794         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.
795         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
796         (ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted.
797         (CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise.
798         (SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise.
799         (EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and
800         CPP_DEFAULT_CPU_SPEC.  Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL,
801         SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC.
802         (LINK_SPEC): Define to SH_LINK_SPEC.
803         (TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define.
804         (LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise.
805         (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
806         (CPP_SPEC): Reduce to %(subtarget_cpp_spec).
807         (TARGET_ENDIAN_DEFAULT): Define if not already defined.
808         * config/sh/coff.h: New file.
809         (TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section
810         (TARGET_OBJFMT_CPP_BUILTINS): Define.
811         * config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start.
812         (ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise.
813         (DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise.
814         (ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise.
815         (PTRDIFF_TYPE): Likewise.
816         ("dbxelf.h", "elfos.h", "svr4.h"): Don't #include.
817         (CPP_PREDEFINES): Don't define.
818         (TARGET_OBJFMT_CPP_BUILTINS): Define.
819         (LINK_SPEC): Define to SH_LINK_SPEC.
820         (LINK_EMUL_PREFIX): Redefine.
821         * config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases.
822         (SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition.
823         (CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise.
824         (CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise.
825         (TARGET_OS_CPP_BUILTINS): Define.
826         (TARGET_DEFAULT): Redefine.
827         (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
828         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove.
829         (LINK_SPEC): Don't redefine.
830         (LINK_DEFAULT_CPU_EMUL): Redefine.
831         (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
832         * sh.c (sh_asm_named_section): Don't declare / define.
833         * t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option.
834         * config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h.
835         (sh64-*-elf* tm_file): Likewise.
836         (sh-*-rtemself* tm_file): Likewise.
837         (sh-*-linux* tm_file): Likewise.  Add sh/little.h.
838         (sh-*-linux* tmake_file): Add sh/t-le.
839         (sh-*-rtems* tm_file): Add sh/coff.h
840         (sh-*-* tm_file): Likewise.
841
842 Tue May 28 21:16:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
843
844         * sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using
845         CONSTANT_POOL_ADDRESS_P.
846
847         * coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define.
848
849 2002-05-28  David Edelsohn  <edelsohn@gnu.org>
850             Jeff Law <law@redhat.com>
851
852         * optabs.c (expand_binop): Fix nwords sign warnings.
853         generate pseudo for add_optab.
854
855         * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
856         * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.
857
858 2002-05-28      Marc Espie <espie@openbsd.org>
859
860         * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN):  Remove,
861         inherited from gas.h.
862         (ASM_QUAD):  Undef.  OpenBSD does not support it.
863
864 2002-05-28  Danny Smith  <dannysmith@users.sourceforge.net>
865
866         * doc/install.texi (binaries): Change mingw binaries
867         link to www.mingw.org.
868
869 2002-05-28  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
870
871         * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
872
873 2002-05-28  Richard Henderson  <rth@redhat.com>
874
875         * config/i386/i386.c (ix86_compute_frame_layout): Do not add
876         bottom alignment for leaf functions.
877
878 2002-05-28  Zack Weinberg  <zack@codesourcery.com>
879
880         * config/pa/milli32.S, config/pa/lib1funcs.asm,
881         config/sparc/sol2-g1.asm: Delete unused files.
882
883 2002-05-28  Richard Henderson  <rth@redhat.com>
884
885         * cfg.c (dump_flow_info): Print bb->index, not i, for block number.
886
887         * flow.c (calculate_global_regs_live): Rename call_used to
888         invalidated_by_call.  Initialize from regs_invalidated_by_call
889         instead of call_used_regs.
890
891         * varasm.c (default_binds_local_p): Check TREE_PUBLIC before
892         DECL_EXTERNAL.
893
894 2002-05-28  Zack Weinberg  <zack@codesourcery.com>
895
896         * tree.h: Don't include real.h.
897         Forward-declare struct realvaluetype.
898         (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not
899         contain it.
900         (TREE_REAL_CST_PTR): New accessor.
901         (TREE_REAL_CST): Update.
902         * real.h: Include machmode.h.
903         (realvaluetype): Make it struct realvaluetype, not a typedef.
904         (build_real): Prototype here.
905
906         * tree.c: Include real.h.
907         (build_real): Allocate the REAL_VALUE_TYPE as a separate
908         object in GC memory, set TREE_REAL_CST_PTR to point to it.
909         (build_real_from_int_cst): Use build_real.
910         * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a
911         REAL_CST.
912
913         * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c,
914         fold-const.c, print-tree.c, real.c: Include real.h.
915         * Makefile.in: Update dependency lists.
916
917 2002-05-28  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
918
919         * basic-block.h (last_basic_block): Declare.
920         (expunge_block_nocompact): Declaration removed.
921         (compact_blocks): Declare.
922         * cfg.c (last_basic_block): New variable.
923         (expunge_block_nocompact): Removed.
924         (expunge_block): Do not compact basic blocks.
925         (compact_blocks): New.
926         * cfganal.c (flow_call_edges_add): Use the fact that bb indices no
927         longer change.
928         * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set
929         last_basic_block.
930         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change
931         real positions of blocks.
932         (delete_unreachable_blocks): Simplified -- quadratic behavior now
933         cannot occur.
934         (cleanup_cfg): Compact blocks.
935         * cfgrtl.c (create_basic_block): Insert basic blocks to the end of
936         basic_block_info varray.
937         (flow_delete_block): Comment update.
938         (back_edge_of_syntactic_loop_p): Modify position check code.
939         (verify_flow_info): Update checking.
940         * flow.c (calculate_global_regs_live): Use FOR_EACH_BB.
941         * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
942         (find_if_case_1, find_if_case_2, if_convert): Use the fact that bb
943         indices no longer change.
944         * lcm.c (optimize_mode_switching): Replace n_basic_blocks with
945         last_basic_block.
946         * predict.c (estimate_bb_frequencies): Remove unneccessary code.
947         * profile.c (branch_prob): Compact blocks.
948         * sched-rgn.c (find_rgns): Replace n_basic_blocks with
949         last_basic_block.
950
951 2002-05-28  Kazu Hirata  <kazu@cs.umass.edu>
952
953         * config/h8300/h8300.md (two anonymous patterns): New.
954
955 2002-05-28  David S. Miller  <davem@redhat.com>
956
957         * config/sparc/sparc.md (cpu): Tidy.
958         (type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and
959         'trap'.
960         (in_call_delay): Delete reference to 'return' type.
961         (eligible_for_return_delay, in_return_delay, define_delay
962         referencing those): Delete.
963         (rest of file): Use new type attributes as appropriate.
964         * config/sparc/sparc-protos.h (eligible_for_return_delay): Delete.
965         * config/sparc/sparc.c (eligible_for_return_delay): Likewise.
966         * config/sparc/ultra1_2.md (us1_single): New reservation.
967         (us1_ialuX): Likewise.
968         * config/sparc/ultra3.md (us3_single): Likewise.
969         (us3_ialuX): Likewise.
970         (us3_imul, us3_idiv): Tweak.
971
972 2002-05-28  Richard Henderson  <rth@redhat.com>
973
974         * config/alpha/alpha.c (alpha_in_small_data_p): Return false for
975         STRING_CST.
976
977 2002-05-28  Richard Henderson  <rth@redhat.com>
978
979         * config.gcc: Obsolete mn10200.
980
981 2002-05-28  Neil Booth  <neil@daikokuya.demon.co.uk>
982
983         * cppexp.c (interpret_number): Optimize for single-digit
984         and less-than-half-precision cases.
985         (num_trim, num_positive, num_div_op): Cast constants.
986
987 2002-05-27  Bo Thorsen  <bo@suse.de>
988
989         * config/i386/libgcc-x86_64-glibc.ver: Copy this file from the
990         3.1 branch. The file was made by Jakub Jelinek.
991         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386
992         support so multilib doesn't break. And don't define this at all
993         when -Dinhibit_libc is used.
994         (MULTILIB_DEFAULTS): Always set default to 64 bit compilation.
995         * config/i386/t-linux64: Implement full multilib support. Patch
996         originally done by Andreas Jaeger and Jakub Jelinek.
997
998 2002-05-27  Roger Sayle  <roger@eyesopen.com>
999
1000         * c-common.c: Add support for __attribute__((nothrow)) to specify
1001         that a function cannot throw an exception (using TREE_NOTHROW).
1002         (handle_nothrow_attribute): New function to process this attribute.
1003
1004         * doc/extend.texi: Document the new nothrow function attribute.
1005
1006 2002-05-27  H.J. Lu  (hjl@gnu.org)
1007
1008         * cppexp.c (num_trim): Use 1UL instead of 1 for long int.
1009         (num_positive): Likewise.
1010         (num_div_op): Likewise.
1011
1012 2002-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1013
1014         * c-common.c (c_common_init): Always use intmax_t.
1015
1016 2002-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1017
1018         * c-common.c (c_common_init): Use intmax_t for now.
1019
1020 2002-05-24  Andrew Haley  <aph@redhat.com>
1021
1022         * fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c
1023         if T is a boolean type.
1024
1025 2002-05-27  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1026
1027         * basic-block.h (last_basic_block): Defined as synonym for
1028         n_basic_blocks.
1029         * cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute,
1030         flow_depth_first_order_compute, flow_preorder_transversal_compute,
1031         flow_dfs_compute_reverse_init): Replaced relevant occurences of
1032         n_basic_blocks with last_basic_block.
1033         * cfgbuild.c (make_edges): Likewise.
1034         * cfgloop.c (flow_loop_scan, flow_loops_find): Likewise.
1035         * cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise.
1036         * combine.c (combine_instructions): Likewise.
1037         * df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap,
1038         iterative_dataflow_bitmap): Likewise.
1039         * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
1040         calc_idoms, idoms_to_doms): Likewise.
1041         * flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars):
1042         Likewise.
1043         * gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties,
1044         compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass,
1045         one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p,
1046         one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1,
1047         delete_null_pointer_checks, compute_code_hoist_vbeinout,
1048         hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
1049         compute_store_table, build_store_vectors): Likewise.
1050         * haifa-sched.c (sched_init): Likewise.
1051         * ifcvt.c (if_convert): Likewise.
1052         * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
1053         pre_edge_lcm, compute_available, compute_nearerout,
1054         compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching):
1055         Likewise.
1056         * predict.c (estimate_probability, process_note_prediction,
1057         note_prediction_to_br_prob): Likewise.
1058         * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise.
1059         * recog.c (split_all_insns, peephole2_optimize): Likewise.
1060         * regrename.c (copyprop_hardreg_forward): Likewise.
1061         * resource.c (init_resource_info): Likewise.
1062         * sched-rgn.c (build_control_flow, find_rgns, compute_trg_info,
1063         init_regions, schedule_insns): Likewise.
1064         * ssa-ccp.c (ssa_const_prop): Likewise.
1065         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
1066         * ssa.c (compute_dominance_frontiers,
1067         compute_iterated_dominance_frontiers, convert_to_ssa): Likewise.
1068
1069         * df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code)
1070         * gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector
1071         sizes consistently.
1072
1073 Mon May 27 14:28:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
1074
1075         * basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge):
1076         new.
1077         * rtlanal.c (hoist_test_store, can_hoist_insn_p, hoist_update_store,
1078         hoist_insn_after, hoist_insn_to_edge): New.
1079
1080 Mon May 27 12:14:02 CEST 2002  Jan Hubicka  <jh@suse.cz>
1081
1082         * basic-block.h (PEOP_SCAN_DEAD_STORES): New.
1083         (PROP_FINAL): Include.
1084         * flow.c (life_analysis, update_life_info,
1085         init_propagate_block_info, mark_set_1, mark_used_rgs):
1086         Support SCAN_DEAD_STORE.
1087
1088 2002-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1089
1090         * c-common.c (c_common_init): Set CPP arithmetic precision.
1091         * cppexp.c (cpp_num_part): Move typedef ...
1092         * cpphash.h: ...here; make unsigned HOST_WIDE_INT.
1093         * cppinit.c (cpp_create_reader): Default to host long arithmetic.
1094         (sanity_checks): Update.
1095
1096 2002-05-26  Geoffrey Keating  <geoffk@redhat.com>
1097
1098         * Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
1099         (mkheaders): New rule.
1100         (install-mkheaders): New rule.
1101         * configure.in (all_outputs): Add mkheaders.
1102         * configure: Regenerate.
1103         * mkheaders.in: New file.
1104
1105 2002-05-26  Jakub Jelinek  <jakub@redhat.com>
1106
1107         * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
1108
1109 2002-05-26  Andreas Jaeger  <aj@suse.de>
1110
1111         * cfg.c (dump_flow_info): Remove extra argument to fprintf.
1112
1113 2002-05-26  Neil Booth  <neil@daikokuya.demon.co.uk>
1114
1115         * cppexp.c (possible_sum_sign, integer_overflow, left_shift,
1116         right_shift): Remove.
1117         (cpp_num, cpp_num_part, PART_PRECISION, HALF_MASK, LOW_PART,
1118         HIGH_PART): New.
1119         (struct op): Use cpp_num.
1120         (num_zerop, num_eq, num_positive, num_greater_freq, num_trim,
1121         num_part_mul, num_unary_op, num_binary_op, num_negate,
1122         num_bitwise_op, num_inequality_op, num_equality_op, num_mul,
1123         num_div_op, num_lshift, num_rshift, append_digit): New.
1124         (interpret_number, parse_defined, eval_token, reduce): Update
1125         for two-integer arithmetic.
1126         (binary_handler): New typedef.
1127         (optab): Update.
1128         (COMPARE, EQUALITY, BITWISE, MINMAX, UNARY, SHIFT): Delete.
1129         (_cpp_parse_expr, reduce): Update to handle two-integers.
1130         * cpplib.c (_cpp_test_assertion): Back up on CPP_EOF.
1131
1132 2002-05-26  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1133
1134         * config/avr/avr-protos.h (avr_out_sbxx_branch): Declare.
1135         * config/avr/avr.c (jump_over_one_insn_p): Take length of the
1136         branch insn into account, do not assume 1.
1137         (avr_out_sbxx_branch): New function.  Optimize cases of skipping
1138         over single word insn.  Handle upper half of I/O space too.
1139         * config/avr/avr.md (*sbrx_branch): Use it.
1140         (*sbrx_and_branchhi, *sbrx_and_branchsi): Likewise.
1141         (*sbix_branch, *sbix_branch_bit7): Likewise.
1142         (*sbix_branch_tmp, *sbix_branch_tmp_bit7): New.
1143         Use RTL peepholes to optimize register operand sign tests.
1144
1145 2002-05-26  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1146
1147         * config/avr/avr.c (avr_asm_only_p): New variable.
1148         (avr_override_options): Set it here if AVR1.
1149         (asm_file_start): Test it here, report an error if set.
1150
1151 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
1152
1153         * alias.c: Fix formatting.
1154         * attribs.c: Likewise.
1155         * bb-reorder.c: Likewise.
1156         * bitmap.c: Likewise.
1157         * bitmap.h: Likewise.
1158         * builtins.c: Likewise.
1159
1160 Sun May 26 14:00:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
1161
1162         * reload.c (find_valid_class): Accept new argument DEST,
1163         choose class accordingly.
1164         (push_reload): Update callers.
1165
1166 2002-05-26  Andreas Jaeger  <aj@suse.de>
1167
1168         * combine.c (combine_instructions): Do not indent #if for
1169         traditional C.
1170
1171 2002-05-25  Richard Henderson  <rth@redhat.com>
1172
1173         * c-pragma.c (apply_pragma_weak): Convert value identifier to
1174         string for decl_attributes.
1175         (handle_pragma_weak): Call assemble_alias if we're modifying
1176         an existing decl.
1177
1178 2002-05-25  Richard Henderson  <rth@redhat.com>
1179
1180         PR target/6788
1181         * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
1182         using rtl instead of fprintf.
1183         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
1184         * config/sparc/sparc-protos.h: Update.
1185
1186 2002-05-25  Neil Booth  <neil@daikokuya.demon.co.uk>
1187
1188         * Makefile.in (C_COMMON_H): Fix.
1189         Update other targets.
1190         * c-common.c: Don't include c-lex.h.
1191         (builtin_define_with_value): Make static and prototype.
1192         (builtin_define_std): Move from c-lex.h.
1193         * c-common.h (init_c_lex): Move from c-lex.h.
1194         * c-decl.c: Don't include c-lex.h.
1195         (make_pointer_declarator): Move from c-parse.in.
1196         * c-lex.c: Don't include c-lex.h.
1197         * c-lex.h: Remove.
1198         * c-parse.in: Don't include c-lex.h; include c-pragma.h.
1199         (make_pointer_declarator): Move to c-decl.c.
1200         * c-pragma.c: Don't include c-lex.h.
1201         * c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h.
1202         * c-tree.h (make_pointer_declarator): New.
1203 doc:
1204         * passes.texi, tm.texi: Update.
1205 objc:
1206         * Make-lang.in: Update and correct.
1207         * objc-act.c: Don't include c-lex.h or cpplib.h.
1208 treelang:
1209         * treetree.c: Don't include c-lex.h.
1210 config:
1211         * darwin-c.c: Don't include c-lex.h.
1212         * c4x/c4x-c.c: Don't include c-lex.h.
1213         * c4x/t-c4x: Update.
1214         * i370/i370-c.c: Don't include c-lex.h.
1215         * i370/t-i370: Update.
1216         * i960/i960-c.c: Don't include c-lex.h.
1217         * i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h.
1218         * i960/t-960bare: Update.
1219         * i960/t-vxworks: Update.
1220         * rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h.
1221         * rs6000/t-darwin: Update.
1222         * rs6000/t-rs6000-c-rule: Update.
1223         * v850/v850-c.c: Don't include c-lex.h.
1224         * v850/v850.c: Don't include c-lex.h or cpplib.h.
1225
1226
1227 2002-05-25  Kazu Hirata  <kazu@cs.umass.edu>
1228
1229         * tree.def: Fix typos.
1230         * doc/install.texi: Likewise.
1231
1232 2002-05-25  Richard Henderson  <rth@redhat.com>
1233
1234         * configure.in (HAVE_AS_TLS): Add ia64 test.
1235         * configure: Rebuild.
1236         * config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New.
1237         (override_options): Set it.
1238         (TARGET_HAVE_TLS): New.
1239         (sdata_symbolic_operand): Look for 's'.
1240         (tls_symbolic_operand): New.
1241         (ia64_expand_load_address): Abort for tls symbols.
1242         (gen_tls_get_addr): New.
1243         (gen_thread_pointer): New.
1244         (ia64_expand_move): Split out from movdi.  Handle tls symbols.
1245         (rtx_needs_barrier): Add new unspecs.
1246         (ia64_encode_section_info): Handle tls symbols.
1247         (ia64_strip_name_encoding): Strip two encoding chars.
1248         * config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New.
1249         (TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New.
1250         (TARGET_OPTIONS): Add tls-size.
1251         (ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR.
1252         * config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL,
1253         UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New.
1254         (movqi, movhi, movsi, movdi, movti): Use ia64_expand_move.
1255         (movsf, movdf): Likewise.
1256         (movdi_symbolic): Use match_scratch.  Don't split if we won't
1257         have a scratch availiable.
1258         (load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22,
1259         add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel,
1260         load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New.
1261         * config/ia64/ia64-protos.h: Update.
1262         * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use
1263         sdata_symbolic_operand.
1264         (ASM_OUTPUT_LABELREF): Strip two characters.
1265
1266 2002-05-25  Kazu Hirata  <kazu@cs.umass.edu>
1267
1268         * combine.c (simplify_set): Remove an unnecessary subreg.
1269
1270 2002-05-25  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1271
1272         * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
1273
1274         * config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New.
1275
1276 2002-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
1277
1278         * toplev.c (output_clean_symbol_name): Fix another thinko.  Gosh.
1279
1280 2002-05-25  Roger Sayle  <roger@eyesopen.com>
1281
1282         * simplify-rtx.c (simplify_gen_relational): Simplify the RTX
1283         (cond (compare x y) 0) into the equivalent (cond x y).
1284
1285 2002-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
1286
1287         * toplev.c (output_clean_symbol_name): Use xstrdup.  Fix thinko.
1288
1289 2002-05-24  Zack Weinberg  <zack@codesourcery.com>
1290
1291         * config.gcc: Remove all stanzas for previously obsoleted
1292         systems.  Where necessary, add explicit error stanzas to
1293         prevent removed systems from being misidentified as something
1294         else.  Begin a fresh obsoletions list, with the systems that
1295         were reprieved last round.
1296         * doc/install.texi: Remove all mention of dead targets.
1297         * fixinc/mkfixinc.sh: Likewise.
1298
1299         * config/arm/arm.h: Bit 31 of target_flags is no longer
1300         reserved.
1301
1302         * config/1750a/1750a-protos.h, config/1750a/1750a.c,
1303         config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
1304         config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
1305         config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
1306         config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
1307         config/alpha/osf12.h, config/alpha/osf2or3.h,
1308         config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
1309         config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
1310         config/clipper/clipper-protos.h, config/clipper/clipper.c,
1311         config/clipper/clipper.h, config/clipper/clipper.md,
1312         config/clipper/clix.h, config/convex/convex-protos.h,
1313         config/convex/convex.c, config/convex/convex.h,
1314         config/convex/convex.md, config/convex/fixinc.convex,
1315         config/convex/proto.h, config/elxsi/elxsi-protos.h,
1316         config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
1317         config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
1318         config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
1319         config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
1320         config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
1321         config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
1322         config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
1323         config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
1324         config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
1325         config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
1326         config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
1327         config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
1328         config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
1329         config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
1330         config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
1331         config/m68k/altos3068.h, config/m68k/apollo68.h,
1332         config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
1333         config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
1334         config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
1335         config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
1336         config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
1337         config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
1338         config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
1339         config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
1340         config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
1341         config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
1342         config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
1343         config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
1344         config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
1345         config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
1346         config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
1347         config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
1348         config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
1349         config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
1350         config/mips/dec-osf1.h, config/mips/elflorion.h,
1351         config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
1352         config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
1353         config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
1354         config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
1355         config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
1356         config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
1357         config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
1358         config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
1359         config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
1360         config/ns32k/pc532-min.h, config/ns32k/pc532.h,
1361         config/ns32k/sequent.h, config/ns32k/tek6000.h,
1362         config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
1363         config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
1364         config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
1365         config/sparc/rtems.h, config/we32k/we32k-protos.h,
1366         config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
1367         Delete file.
1368
1369 2002-05-24  Richard Henderson  <rth@redhat.com>
1370
1371         * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1.
1372         * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC.
1373         * config/i386/i386.c (tls_model_chars): Add leading space.
1374         (tls_symbolic_operand): Don't bias by 1.
1375         (legitimize_address): Don't unbias by 1.
1376
1377 2002-05-24  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
1378
1379         * lcm.c (optimize_mode_switching): Change bb used as indices
1380         to bb->index.
1381
1382 2002-05-24  Richard Henderson  <rth@redhat.com>
1383
1384         * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead
1385         of update_life_info_in_dirty_blocks.
1386
1387 2002-05-24  Jakub Jelinek  <jakub@redhat.com>
1388
1389         PR other/6782
1390         * final.c (get_mem_expr_from_op): Return 0 if op is NULL.
1391
1392 2002-05-24  Neil Booth  <neil@daikokuya.demon.co.uk>
1393
1394         PR preprocessor/6780
1395         * cppmacro.c (enter_macro_context): Clear state.angled_headers.
1396
1397 2002-05-24  Jim Blandy  <jimb@redhat.com>
1398
1399         * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
1400         entry with a type code of zero, marking the end of the compilation
1401         unit's macro info.
1402
1403 2002-05-24  Richard Henderson  <rth@redhat.com>
1404
1405         * varasm.c (asm_output_bss): Always output one byte.
1406         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
1407
1408 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1409
1410         * tree.c (decl_type_context): Return NULL_TREE if decl's context is a
1411         namespace.
1412
1413 2002-05-24  Andreas Jaeger  <aj@suse.de>
1414
1415         * ggc-page.c (alloc_page): Cast variables of type size_t to
1416         unsigned long, adjust printf format string.
1417         (ggc_alloc): Likewise.
1418         (ggc_print_statistics): Likewise.
1419         (ggc_print_statistics): Correct printf format string for SCALE to
1420         use unsigned long.
1421
1422 2002-05-24  Danny Smith  <dannysmith@users.sourceforge.net>
1423
1424         * config/i386/mingw32.h (CPP_SPEC): Remove -remap.
1425
1426 2002-05-23  Gabriel Dos Reis  <gdr@codesourcery.com>
1427             Zack Weinberg     <zack@codesourcery.com>
1428
1429         * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output
1430         quoted strings.
1431         * dwarf2out.c (lookup_filename): Properly quote filename in .file
1432         directive in assembly file.
1433         * config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
1434         * config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
1435         * config/pj/pj.h (ASM_FILE_START): Likewise.
1436         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1437         * config/avr/avr.c (asm_file_end): Likewise.
1438         * toplev.c (output_quoted_string): Handle possibly signed plain
1439         char.
1440         * toplev.h (output_clean_symbol_name): Declare
1441         * toplev.c (output_clean_symbol_name): Define.
1442         * config/alpha/alpha.c (unicosmk_output_module_name): Use it.
1443         * config/1750a/1750a.h (ASM_FILE_START): Likewise.
1444
1445 2002-05-24  Alan Modra  <amodra@bigpond.net.au>
1446
1447         * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
1448
1449 2002-05-23  Vladimir Makarov  <vmakarov@redhat.com>
1450
1451         * genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4
1452         of size of unsigned.
1453
1454 2002-05-23  Richard Henderson  <rth@redhat.com>
1455
1456         * configure.in (HAVE_AS_TLS): New test.
1457         * config.in, configure: Rebuild.
1458         * config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS.
1459         (ix86_tls_dialect_string, ix86_tls_dialect): New.
1460         (override_options): Set it.
1461         (tls_model_chars, tls_symbolic_operand): New.
1462         (tls_symbolic_operand_1, global_dynamic_symbolic_operand): New.
1463         (local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New.
1464         (local_exec_symbolic_operand): New.
1465         (get_pic_label_name): Merge into output_set_got.
1466         (ix86_asm_file_end): Emit pic_label_name if defined.
1467         (legitimate_constant_p, constant_address_p): New.
1468         (legitimate_pic_operand_p): New.
1469         (legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF.
1470         (legitimate_address_p): Likewise.
1471         (ix86_encode_section_info): Rename from i386_; handle tls decls.
1472         (ix86_strip_name_encoding): New.
1473         (get_thread_pointer): New.
1474         (legitimize_address): Handle tls symbols.
1475         (output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF.
1476         Remove UNSPEC_PLT.
1477         (struct machine_function): Add some_ld_name.
1478         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it.
1479         (print_operand) [&]: Use it.  Handle UNSPEC_TP.
1480         (output_addr_const_extra): New.
1481         (maybe_get_pool_constant): New.
1482         (ix86_split_to_parts): Use it.
1483         (ix86_expand_move): Handle tls symbols.
1484         (ix86_tls_get_addr): New.
1485         * config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New.
1486         (TARGET_OPTIONS): Add tls-dialect.
1487         (CONSTANT_ADDRESS_P): Use new out-of-line function.
1488         (LEGITIMATE_CONSTANT_P): Likewise.
1489         (LEGITIMATE_PIC_OPERAND_P): Likewise.
1490         (TARGET_STRIP_NAME_ENCODING): New.
1491         (ASM_OUTPUT_LABELREF): New.
1492         (PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
1493         (OUTPUT_ADDR_CONST_EXTRA): New.
1494         (PREDICATE_CODES): Update.
1495         (ix86_tls_dialect, ix86_tls_dialect_string): New.
1496         * config/i386/i386.md: Regroup and renumber unspec constants.
1497         (tls_global_dynamic_gnu, tls_global_dynamic_sun): New.
1498         (tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New.
1499         (tls_global_dynamic, tls_local_dynamic_base): New.
1500         (tls_local_dynamic_once): New.
1501         * config/i386/i386-protos.h: Update.
1502
1503 2002-05-23  Richard Henderson  <rth@redhat.com>
1504
1505         * genemit.c (gen_insn): Print file:lineno comment before function.
1506         (main): likewise.
1507         * gensupport.c (struct queue_elem): Add filename member.
1508         (queue_pattern): Initialize it; update all callers.
1509         (process_include): Don't free filename.
1510         (read_md_rtx): Set read_rtx_filename.
1511
1512 2002-05-23  Hans Boehm  <Hans_Boehm@hp.com>
1513
1514         * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K pages.
1515
1516 2002-05-23  Richard Henderson  <rth@redhat.com>
1517
1518         * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case.
1519
1520 2002-05-23  Richard Henderson  <rth@redhat.com>
1521
1522         * doc/extend.texi (C++98 Thread-Local Edits): Update with
1523         commentary from Mark.
1524
1525 2002-05-23  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1526
1527         * bb-reorder.c (make_reorder_chain, make_reorder_chain_1):
1528         Use FOR_EACH_BB macros to iterate over basic block chain.
1529         * cfg.c (clear_edges, clear_bb_flags, dump_flow_info,
1530         alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges):
1531         Likewise.
1532         * cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add,
1533         find_unreachable_blocks, create_edge_list, verify_edge_list,
1534         remove_fake_edges, add_noreturn_fake_exit_edges,
1535         flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute):
1536         Likewise.
1537         * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
1538         find_sub_basic_blocks): Likewise.
1539         * cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks):
1540         Likewise.
1541         * cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps):
1542         Likewise.
1543         * cfgloop.c (flow_loops_cfg_dump, flow_loops_find):
1544         Likewise.
1545         * cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges,
1546         commit_edge_insertions, commit_edge_insertions_watch_calls,
1547         print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise.
1548         * combine.c (combine_instructions, reg_dead_at_p): Likewise.
1549         * conflict.c (conflict_graph_compute): Likewise.
1550         * df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
1551         df_modified_p, df_refs_unlink, df_dump): Likewise.
1552         * dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise.
1553         * final.c (compute_alignments): Likewise.
1554         * flow.c (update_life_info, update_life_info_in_dirty_blocks,
1555         delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data,
1556         count_or_remove_death_notes): Likewise.
1557         * gcse.c (oprs_unchanged_p, record_last_reg_set_info,
1558         compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill,
1559         classic_gcse, compute_transp, cprop, compute_pre_data,
1560         compute_transpout, invalidate_nonnull_info,
1561         delete_null_pointer_checks_1, delete_null_pointer_checks,
1562         compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems,
1563         compute_store_table, build_store_vectors, store_motion): Likewise.
1564         * global.c (global_conflicts, mark_elimination): Likewise.
1565         * graph.c (print_rtl_graph_with_bb): Likewise.
1566         * haifa-sched.c (sched_init): Likewise.
1567         * ifcvt.c (if_convert): Likewise.
1568         * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
1569         compute_available, compute_nearerout, compute_rev_insert_delete,
1570         optimize_mode_switching): Likewise.
1571         * local-alloc.c (local_alloc, update_equiv_regs): Likewise.
1572         * predict.c (estimate_probability, note_prediction_to_br_prob,
1573         propagate_freq, counts_to_freqs, expensive_function_p,
1574         estimate_bb_frequencies): Likewise.
1575         * profile.c (instrument_edges, get_exec_counts,
1576         compute_branch_probabilities, compute_checksum, branch_prob,
1577         find_spanning_tree): Likewise.
1578         * recog.c (split_all_insns, peephole2_optimize): Likewise.
1579         * reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs):
1580         Likewise.
1581         * regclass.c (scan_one_insn, regclass): Likewise.
1582         * regmove.c (mark_flags_life_zones, regmove_optimize,
1583         record_stack_memrefs): Likewise.
1584         * regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise.
1585         * reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise.
1586         * resource.c (find_basic_block): Likewise.
1587         * sched-ebb.c (schedule_ebbs): Likewise.
1588         * sched-rgn.c (is_cfg_nonregular, build_control_flow,
1589         find_single_block_region, find_rgns, schedule_insns)
1590         * sibcall.c (optimize_sibling_and_tail_recursive_call)
1591         * ssa-ccp.c (optimize_unexecutable_edges,
1592         ssa_ccp_df_delete_unreachable_insns): Likewise.
1593         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
1594         * ssa.c (find_evaluations, compute_dominance_frontiers_1,
1595         rename_block, convert_to_ssa, compute_conservative_reg_partition,
1596         compute_coalesced_reg_partition, rename_equivalent_regs,
1597         convert_from_ssa): Likewise.
1598         * config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue,
1599         process_for_unwind_directive): Likewise.
1600
1601         * df.c (FOR_ALL_BBS): Removed.
1602         * gcse.c (struct null_pointer_info): Type of current_block field
1603         changed.
1604         (struct reg_avail_info): Type of last_bb field changed.
1605         * config/ia64/ia64.c (block_num): Removed.
1606         (need_copy_state): Type changed.
1607         (last_block): New.
1608
1609 2002-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
1610
1611         * cppinit.c (mark_named_operators): Split out from init_builtins.
1612         (cpp_finish_options): Call it from here instead.
1613
1614 2002-05-23  Jason Thorpe  <thorpej@wasabisystems.com>
1615
1616         * builtin-attrs.def: Update copyright years.
1617         (ATTR_NONNULL): New attribute identifier.
1618         (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New
1619         attribute tree lists.
1620         (DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the
1621         format operand.
1622         (ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use...
1623         (DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg
1624         attribute lists.  Chain the appropriate nonnull attribute.
1625         * c-format.c (check_format_arg): Remove null format string
1626         warning.
1627         * testsuite/gcc.dg/format/null-1.c: New test.
1628
1629 2002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1630
1631         * Makefile.in (ADAC): Define.
1632         (SYSLIBS): Define.
1633         (.SUFFIXES): Move before language makefile fragments.
1634         (STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC.
1635
1636 2002-05-23  Mark Mitchell  <mark@codesourcery.com>
1637
1638         * varasm.c (make_decl_rtl): Don't allow weak variables to be
1639         placed in common.
1640
1641 Thu May 23 19:43:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
1642
1643         * cfg.c (dump_flow_info): Print results of
1644         maybe_hot/probably_never_executed predicates.
1645         * toplev.c (open_dump_file): Print function frequency.
1646
1647 2002-05-23  David S. Miller  <davem@redhat.com>
1648
1649         * cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use
1650         regsets.
1651
1652 2002-05-23  Jason Thorpe  <thorpej@wasabisystems.com>
1653
1654         * c-common.c (warn_nonnull): Declare.
1655         (c_common_attribute_table): Add "nonnull" attribute.
1656         (handle_nonnull_attribute, check_function_nonnull, nonnull_check_p,
1657         check_nonnull_arg, get_nonnull_operand, check_function_arguments,
1658         check_function_arguments_recurse): New functions.
1659         * c-common.h (warn_nonnull): Declare extern.
1660         (check_function_arguments, check_function_arguments_recurse): New
1661         prototypes.
1662         * c-decl.c (c_decode_option): Add -Wnonnull option.
1663         * c-format.c (set_Wformat): Set warn_nonnull if enabling
1664         format checking.
1665         (format_check_context): New structure.
1666         (check_format_info_recurse): Remove recursion and rename to...
1667         (check_format_arg): ...this.  Update comment.
1668         (check_format_info): Use check_function_arguments_recurse.
1669         * c-typeck.c (build_function_call): Call check_function_arguments
1670         instead of check_function_format.
1671         * doc/extend.texi: Document "nonnull" attribute.
1672         * doc/invoke.texi: Docuemnt -Wnonnull option.
1673         * testsuite/gcc.dg/nonnull-1.c: New test.
1674         * testsuite/gcc.dg/nonnull-2.c: New test.
1675
1676 2002-05-23  David S. Miller  <davem@redhat.com>
1677
1678         * basic-block.h (CLEANUP_NO_INSN_DEL): Define it.
1679         * cfgcleanup.c (cleanup_cfg): If it is set do not
1680         attempt to delete trivially dead insns.
1681         * except.c (finish_eh_generation): Pass it to cleanup_cfg.
1682         * toplev.c (rest_of_compilation): Document non-trivial aspect
1683         the RTL before optimize_save_area_alloca is run.
1684
1685 2002-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
1686
1687         * c-lex.c (indent_level): Remove.
1688         (cb_file_change, c_lex): Remove indent level handling.
1689         * c-lex.h (indent_level): Remove.
1690         * input.h (struct file_stack): Remove indent_level.
1691         * toplev.c (push_srcloc): Remove indent_level handling.
1692
1693 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1694
1695         PR target/6753
1696         * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
1697         of x in constraints for clarity.
1698         (sse_mov?fcc split): abort if op2 == op3.
1699         (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
1700         sse_movsfcc_const0_4): Add earlyclobber.
1701         (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
1702         sse_movdfcc_const0_4): Likewise.  Use DFmode, not SFmode.
1703         Use Y instead of x in constraints.
1704
1705 2002-05-23  Richard Henderson  <rth@redhat.com>
1706
1707         * doc/extend.texi (C99 Thread-Local Edits): New subsection.
1708         (C++98 Thread-Local Edits): New subsection.
1709
1710         * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace.
1711         (ix86_arch): Set type to enum processor_type.
1712
1713         * config/i386/i386.md (movsi_1, movdi_1_rex64): Use
1714         LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.
1715
1716 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1717
1718         * configure.in: Fix as version test for binutils 2.12.1 releases
1719         (without dates).
1720         * configure: Rebuilt.
1721
1722 2002-05-23  Richard Henderson  <rth@redhat.com>
1723
1724         * config/i386/i386.c (get_pic_label_name): New.
1725         (load_pic_register): Remove.
1726         (output_set_got): New.
1727         (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD.
1728         * config/i386/i386.md (UNSPEC_SET_GOT): New.
1729         (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove.
1730         (prologue_set_got, prologue_get_pc): Remove.
1731         (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New.
1732         (builtin_setjmp_receiver): Use gen_set_got.
1733         * config/i386/i386-protos.h: Update.
1734
1735 Thu May 23 09:22:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
1736
1737         * gcse.c (hash_expr): Do not use alias set for hashing.
1738
1739 2002-05-22  Kevin Buettner  <kevinb@redhat.com>
1740
1741         * dbxout.c (dbxout_class_name_qualifiers): New function.
1742         (dbxout_symbol): Output class/struct qualifiers for a .stabs entry.
1743
1744 2002-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
1745
1746         * cpperror.c (_cpp_begin_message): No special casing
1747         of CPP_FATAL_LIMIT.
1748         * cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/.
1749         (output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR.
1750         * cpplib.c (do_include_common): Use DL_ERROR.
1751         * cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove.
1752         (DL_ICE): Renumber.
1753         * fix-header.c (read_scan_file): Update.
1754
1755 2002-05-22  Richard Henderson  <rth@redhat.com>
1756
1757         * config/i386/i386.c (ix86_expand_call): New function, extracted
1758         from md call patterns.  Add pic_offset_table_rtx to
1759         CALL_INSN_FUNCTION_USAGE when needed.
1760         * config/i386/i386.md (call_pop, call): Use ix86_expand_call.
1761         (call_value_pop, call_value, untyped_call): Likewise.
1762         (call_exp, call_value_exp): Remove.
1763         * config/i386/i386-protos.h: Update.
1764
1765 2002-05-22  Richard Henderson  <rth@redhat.com>
1766
1767         * varasm.c (default_section_type_flags): Check for VAR_DECL
1768         before using DECL_THREAD_LOCAL.
1769
1770 2002-05-22  David Edelsohn  <edelsohn@gnu.org>
1771
1772         * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
1773         (STARTFILE_SPEC): Delete PE crt0.o.
1774         * config/rs6000/aix51.h: Same.
1775         * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF.
1776         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
1777         function descriptor symbol.  Use RS6000_OUTPUT_BASENAME.
1778         (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
1779         * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.
1780
1781 2002-05-22  Richard Henderson  <rth@redhat.com>
1782
1783         * varasm.c (default_section_type_flags): Handle tls data and
1784         default sections.
1785         (default_unique_section): Handle tls sections.
1786
1787 2002-05-23  Alan Modra  <amodra@bigpond.net.au>
1788
1789         * configure.in (CROSS): Define NATIVE_CROSS.
1790         * configure: Regenerate.
1791         * gcc.c (STARTFILE_PREFIX_SPEC): Define.
1792         (startfile_prefix_spec): New var.
1793         (static_specs): Add startfile_prefix_spec.
1794         (do_spec_2): Split out from..
1795         (do_spec): ..here.
1796         (main): Process startfile_prefix_spec.
1797         * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
1798         dynamic linker.
1799         (STARTFILE_PREFIX_SPEC): Define.
1800         (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
1801         absolute paths.
1802
1803 2002-05-22  Kazu Hirata  <kazu@cs.umass.edu>
1804
1805         * cpperror.c: Fix formatting.
1806         * cppexp.c: Likewise.
1807         * cppfiles.c: Likewise.
1808         * cpphash.c: Likewise.
1809         * cpphash.h: Likewise.
1810         * cppinit.c: Likewise.
1811         * cpplex.c: Likewise.
1812         * cpplib.c: Likewise.
1813         * cppmacro.c: Likewise.
1814         * cppmain.c: Likewise.
1815         * cppspec.c: Likewise.
1816
1817 2002-05-22  Jakub Jelinek  <jakub@redhat.com>
1818
1819         * combine.c (force_to_mode): Use gen_int_mode.
1820         Don't clear CONST_INT bits outside of mode.
1821
1822 2002-05-22  Richard Henderson  <rth@redhat.com>
1823
1824         * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
1825         * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
1826
1827 2002-05-22  Jakub Jelinek  <jakub@redhat.com>
1828
1829         PR c/6643
1830         * emit-rtl.c (widen_memory_access): Only call compare_tree_int
1831         if DECL_SIZE_UNIT is INTEGER_CST.
1832
1833 2002-05-22  Richard Henderson  <rth@redhat.com>
1834
1835         * flow.c (life_analysis): Delete broken reg_label check.
1836
1837 2002-05-22  Richard Henderson  <rth@redhat.com>
1838
1839         * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
1840         * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
1841
1842 Wed May 22 18:39:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
1843
1844         * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
1845         (embed-bb.c): New rule.
1846         * t-sh64 (LIB2FUNCS_EXTRA): Don't change.
1847         * config/sh/embed_bb.c: Delete.
1848
1849 Wed May 22 18:25:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
1850
1851         * c-common.c (cb_register_builtins): Don't indent '#' of #define.
1852
1853 2002-05-22  Kazu Hirata  <kazu@cs.umass.edu>
1854
1855         * config/h8300/h8300.md (*andorqi3): New.
1856
1857 2002-05-22  Neil Booth  <neil@daikokuya.demon.co.uk>
1858
1859         PR preprocessor/6517
1860         * Makefile.in: Update.
1861         * c-common.c (c_common_post_options): Add preprocessor
1862         errors to the error count.
1863         * c-lang.c (c_post_options): Kill.
1864         (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
1865         * hooks.h: Add header guards.
1866         * langhooks-def.h: Include hooks.h.
1867         (LANG_HOOKS_POST_OPTIONS): Update.
1868         * langhooks.h (struct lang_hooks): Update post_options.
1869         * toplev.c (parse_options_and_default_flags): Update.
1870 objc:
1871         * objc-lang.c (objc_post_options): Kill.
1872         (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
1873
1874 2002-05-21  Bruce Korb  <bkorb@gnu.org>
1875
1876         * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check
1877         * fixinc/inclhack.def(thread_keyword): use c_fix = format.
1878         * fixinc/fixincl.x: regen.
1879
1880 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
1881
1882         * cfgbuild.c: Fix formatting.
1883         * cfg.c: Likewise.
1884         * cfgcleanup.c: Likewise.
1885         * cfglayout.c: Likewise.
1886         * cfgloop.c: Likewise.
1887         * cfgrtl.c: Likewise.
1888
1889 2002-05-21  Richard Henderson  <rth@redhat.com>
1890
1891         * c-common.h (enum rid): Add RID_THREAD.
1892         * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
1893         (grokdeclarator): Grok __thread.
1894         * c-parse.in (reswords): Add __thread.
1895         (rid_to_yy): Add RID_THREAD.
1896
1897         * tree.h (DECL_THREAD_LOCAL): New.
1898         (struct tree_decl): Add thread_local_flag.
1899         * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
1900         * tree.c (staticp): TLS variables are not static.
1901
1902         * target-def.h (TARGET_HAVE_TLS): New.
1903         * target.h (have_tls): New.
1904         * output.h (SECTION_TLS): New.
1905         * varasm.c (assemble_variable): TLS variables can't be common for now.
1906         (default_section_type_flags): Handle .tdata and .tbss.
1907         (default_elf_asm_named_section): Handle SECTION_TLS.
1908         (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.
1909
1910         * flags.h (flag_tls_default): Declare.
1911         * toplev.c (flag_tls_default): Define.
1912         (display_help): Display help for it.
1913         (decode_f_option): Set it.
1914
1915         * doc/extend.texi (Thread-Local): New node describing language-level
1916         thread-local storage.
1917         * doc/invoke.texi (-ftls-model): Document.
1918
1919         * fixinc/inclhack.def (thread_keyword): New.
1920         * fixinc/fixincl.x: Rebuild.
1921
1922 2002-05-21  Jeffrey A Law  <law@redhat.com>
1923
1924         * optabs.c (expand_binop): For double-word integer multiplies,
1925         do not compute intermediate results into something that is
1926         not a register (such as a SUBREG or MEM).
1927
1928         * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
1929         (ix86_sched_reorder): Make sure to initialize scheduling
1930         data even when there's only one insn in the ready queue.
1931
1932 2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>
1933
1934         * genautomata.c (reserv_sets_hash_value): Fix a typo.
1935
1936 2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>
1937
1938         * genautomata.c (reserv_sets_hash_value): Define hash_value as
1939         set_el_t.  Transform the hash value into unsigned.
1940         (output_cycle_reservs): Fix bug with output of repeated `nothing'.
1941         (transform_3): Add code to process `(A,B)+(D,E)'.
1942
1943 2002-05-21  NIIBE Yutaka  <gniibe@m17n.org>
1944
1945         * reload1.c (do_output_reload): Run delete_output_reload
1946         only if optimizing.
1947
1948 2002-05-21  Roger Sayle  <roger@eyesopen.com>
1949
1950         PR middle-end/6600
1951         * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
1952         larger than INTEGER_CST.  (store_by_pieces_1): Use it here...
1953         (can_store_by_pieces): ... and here to limit the largest mode used.
1954         Add a comment to document this function.
1955
1956 2002-05-21  Richard Henderson  <rth@redhat.com>
1957
1958         * flow.c (life_analysis): Fix test for deleted label.
1959
1960 2002-05-21  Neil Booth  <neil@daikokuya.demon.co.uk>
1961
1962         * doc/tm.texi: Fix typo.
1963
1964 2002-05-21  Zack Weinberg  <zack@codesourcery.com>
1965
1966         * c-common.c (c_common_init): Set options->unsigned_char from
1967         flag_signed_char.
1968         (cb_register_builtins): Define __STRICT_ANSI__ and
1969         __CHAR_UNSIGNED__ here...
1970         * cppinit.c (init_builtins): Not here.
1971         (cpp_create_reader): unsigned_char option defaults to 0, not
1972         !DEFAULT_SIGNED_CHAR.
1973         (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
1974         and -funsigned-char.
1975
1976         * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
1977         * cpphash.c (_cpp_init_hashtable): Don't set it.
1978         * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
1979         directly.  Clarify comment.
1980
1981 2002-05-21  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1982
1983         * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to
1984         neighbouring basic blocks.  Use ENTRY_BLOCK_PTR->next_bb instead of
1985         BASIC_BLOCK (0).  Use EXIT_BLOCK_PTR->prev_bb instead of
1986         BASIC_BLOCK (n_basic_blocks - 1).
1987         * cfganal.c (can_fallthru, flow_call_edges_add,
1988         flow_preorder_transversal_compute): Too.
1989         * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
1990         find_sub_basic_blocks): Too.
1991         * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too.
1992         * cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
1993         fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too.
1994         * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too.
1995         * combine.c (this_basic_block): Type changed to basic_block.
1996         (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
1997         nonzero_bits, num_sign_bit_copies, get_last_value_validate,
1998         get_last_value, distribute_notes, distribute_links): Too.
1999         * final.c (compute_alignments): Too.
2000         * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too.
2001         * function.c (thread_prologue_and_epilogue_insns): Too.
2002         * gcse.c (compute_code_hoist_vbeinout): Too.
2003         * global.c (build_insn_chain): Too.
2004         * ifcvt.c (find_if_block, find_cond_trap): Too.
2005         * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too.
2006         * regmove.c (regmove_optimize): Too.
2007         * resource.c (find_basic_block): Too.
2008         * sched-ebb.c (schedule_ebbs): Too.
2009         * ssa-dce.c (find_control_dependence, find_pdom): Too.
2010
2011 2002-05-21  Andreas Jaeger  <aj@suse.de>
2012
2013         * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
2014
2015 2002-05-21  Richard Henderson  <rth@redhat.com>
2016
2017         * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
2018         unspec names, not numbers.
2019
2020 2002-05-21  Joseph S. Myers  <jsm28@cam.ac.uk>
2021
2022         * doc/sourcebuild.texi: Mention snapshot-README and
2023         snapshot-index.html as needing updating for new front ends.
2024
2025 2002-05-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2026
2027         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
2028         disabling checking, and avoid multiple evaluation of RTX.
2029
2030 2002-05-21  Richard Earnshaw  <rearnsha@arm.com>
2031
2032         * bitmap.c (bitmap_find_bit): Return early if we have the correct
2033         element cached.
2034
2035 Tue May 21 10:51:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
2036
2037         * profile.c (gen_edge_profiler):  Set alias set before the memory is
2038         used.
2039
2040 2002-05-20  David S. Miller  <davem@redhat.com>
2041
2042         * cselib.c (max_value_regs): New.
2043         (cselib_lookup, cselib_invalidate_regno): Initialize it when
2044         adding new entries to the REG_VALUES table and we are dealing with
2045         a hard register.
2046         (clear_table): Initialize it.
2047         (cselib_invalidate_regno): Use it to determine which hard
2048         registers to scan when mode is not VOIDmode.
2049
2050 2002-05-20  Duraid Madina   <duraid@fl.net.au>
2051
2052         * tradcpp.c (fixup_newlines): Use old-style function header.
2053
2054 2002-05-20  Krister Walfridsson  <cato@df.lth.se>
2055
2056         * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
2057
2058 2002-05-20  H.J. Lu  (hjl@gnu.org)
2059
2060         Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
2061
2062         * config/mips/mips.h (DFMODE_NAN): Defined.
2063         (SFMODE_NAN): Likewise.
2064
2065 2002-05-20  Dale Johannesen  <dalej@apple.com>
2066
2067         * combine.c (cant_combine_insn_p):  Back out my
2068         previous patch.
2069
2070 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
2071
2072         * params.c: Fix formatting.
2073         * params.h: Likewise.
2074         * predict.c: Likewise.
2075         * prefix.c: Likewise.
2076         * print-rtl.c: Likewise.
2077         * print-tree.c: Likewise.
2078         * profile.c: Likewise.
2079
2080 2002-05-20  H.J. Lu  (hjl@gnu.org)
2081
2082         * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
2083
2084 2002-05-20  Nick Clifton  <nickc@cambridge.redhat.com>
2085
2086         * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
2087         switches straight on to the assembler, do not abbreviate them.
2088         * config/arm/elf.h (ASM_SPEC): As above.
2089         * config/arm/semi.h (ASM_SPEC): As above.
2090         * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
2091         * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
2092         -mcpu=xscale on to the assembler by default.
2093         * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
2094
2095 2002-05-20  Richard Henderson  <rth@redhat.com>
2096
2097         * cse.c (canon_hash): Reorder do_not_record test.  Always
2098         allow pic_offset_table_rtx.
2099
2100 2002-05-19  Toon Moene  <toon@moene.indiv.nluug.nl>
2101
2102         * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
2103         (expand_binop): Ditto (3 times).
2104
2105 2002-05-19  Mark Mitchell  <mitchell@doubledemon.codesourcery.com>
2106
2107         * Makefile.in (distclean): Remove QMTest stuff.
2108         (QMTEST_PATH): New variable.
2109         (QMTESTFLAGS): Likewise.
2110         (QMTESTRUNFLAGS): Likewise.
2111         (QMTEST): Likewise.
2112         (QMTEST_GPP_TESTS): Likewise.
2113         (QMTEST_DIR): Likewise.
2114         (QMTEST_DIR/context): New target.
2115         (qmtest-g++): Likeise.
2116         (qmtest-gui): Likewise.
2117         (QMTEST_DIR/gpp-expected.qmr): Likewise.
2118
2119 2002-05-19  Aldy Hernandez  <aldyh@redhat.com>
2120
2121         * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
2122         an altivec register if TARGET_ALTIVEC.
2123
2124         * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
2125         to ALTIVEC_VECTOR_MODE.
2126         (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
2127         (rs6000_va_arg): Vectors may go in registers if they are not
2128         altivec vectors.
2129
2130 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
2131
2132         * protoize.c: Fix formatting.
2133
2134 2002-05-19  Richard Henderson  <rth@redhat.com>
2135
2136         * gensupport.c (init_include_reader): Merge into ...
2137         (process_include): ... here.  Simplify composite path creation.
2138         Plug memory leaks.  Fix file/line number tracking.  Do not
2139         process_define_cond_exec.  Return void.
2140         (process_rtx): Don't check process_include return value.
2141
2142 2002-05-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2143
2144         * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
2145         fields.
2146         (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
2147         traversing basic block chain.
2148         (create_basic_block_structure, create_basic_block): Declaration changed.
2149         (link_block, unlink_block): Declare.
2150         * cfg.c (entry_exit_blocks): Initialize new fields.
2151         (link_block, unlink_block): New.
2152         (expunge_block_nocompact): Unlink basic block.
2153         (dump_flow_info): Print prev_bb/next_bb fields.
2154         * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
2155         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
2156         * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
2157         * cfgrtl.c (create_basic_block_structure, create_basic_block,
2158         split_block, force_nonfallthru_and_redirect, split_edge): Modified.
2159         (verify_flow_info): Check that list agrees with numbering.
2160
2161 2002-05-19  Neil Booth  <neil@daikokuya.demon.co.uk>
2162
2163         * c-common.c (preprocessing_asm): New macro.
2164         * c-lex.h (builtin_define, builtin_assert): Use pfile.
2165 doc:
2166         * tm.texi: Update.
2167 config/alpha:
2168         * alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
2169         (CPP_SPEC): Simplify.
2170         (TARGET_CPU_CPP_BUILTINS): Update.
2171         * freebsd.h (TARGET_OS_CPP_BUILTINS): New.
2172         (CPP_SPEC): Simplify.
2173         * linux.h (CPLUSPLUS_CPP_SPEC): Remove.
2174         (TARGET_OS_CPP_BUILTINS): Update.
2175         * osf.h (CPP_XFLOAT_SPEC): Kill.
2176         (TARGET_OS_CPP_BUILTINS): Update.
2177         (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
2178         * osf5.h (CPP_XFLOAT_SPEC): Kill.
2179         * vms.h (CPP_SUBTARGET_SPEC): Kill.
2180         (TARGET_OS_CPP_BUILTINS): Update.
2181
2182 2002-05-19  Richard Henderson  <rth@redhat.com>
2183
2184         * varasm.c (default_binds_local_p): Fix typo.
2185
2186 2002-05-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2187
2188         * config/avr/avr.c (machine_dependent_reorg): Sign extend the
2189         CONST_INT operand to the correct mode after adding 1 to it.
2190
2191 2002-05-19  Mark Mitchell  <mark@codesourcery.com>
2192
2193         * config.gcc (powerpc-wrs-windiss*): New target.
2194
2195 2002-05-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2196
2197         * config/rs6000/rs6000.md (ashrdi3_no_power): New.
2198         (ashrdi3): Use it.
2199
2200 2002-05-18  Mark Mitchell  <mark@codesourcery.com>
2201
2202         * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
2203         alphasort.
2204         * config.in: Regenerated.
2205         * configure: Regenerated.
2206
2207 2002-05-19  Richard Henderson  <rth@redhat.com>
2208
2209         * target-def.h (TARGET_BINDS_LOCAL_P): New.
2210         * target.h (struct gcc_target): Move boolean fields to the end.
2211         Add binds_local_p.
2212         * varasm.c (default_binds_local_p): New.
2213         * output.h: Declare it.
2214
2215         * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
2216         * config/cris/cris.c (cris_encode_section_info): Likewise.
2217         * config/i386/i386.c (i386_encode_section_info): Likewise.
2218         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
2219         * config/sh/sh.c (sh_encode_section_info): Likewise.
2220
2221         * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
2222         (TARGET_BINDS_LOCAL_P): New.
2223
2224 2002-05-19  Richard Henderson  <rth@redhat.com>
2225
2226         * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
2227         FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
2228         MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
2229
2230         * toplev.c (display_help): Kill -a -ax help.
2231
2232         * config/1750a/1750a.h, config/alpha/alpha.h,
2233         config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
2234         config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
2235         config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
2236         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
2237
2238         * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
2239         * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
2240
2241         * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
2242         (ix86_output_function_block_profiler): Kill.
2243         * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
2244         (m68hc11_function_block_profiler): Kill.
2245         * config/m68hc11/m68hc11-protos.h: Update.
2246         * config/m88k/m88k.c (output_block_profiler): Kill.
2247         (output_function_block_profiler): Kill.
2248         * config/m88k/m88k-protos.h: Update.
2249
2250 2002-05-19  Richard Henderson  <rth@redhat.com>
2251
2252         * system.h (STRIP_NAME_ENCODING): Poison it.
2253         * output.h (STRIP_NAME_ENCODING): Remove.
2254         (default_strip_name_encoding): Declare.
2255         * target-def.h (TARGET_STRIP_NAME_ENCODING): New.
2256         * target.h (strip_name_encoding): New.
2257         * varasm.c (default_strip_name_encoding): New.
2258
2259         * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
2260         config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
2261         config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
2262         config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
2263         config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
2264         config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
2265         config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
2266         config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
2267         config/v850/v850.h: Use the hook, not the macro.
2268
2269         * config/darwin-protos.h, config/darwin.c, config/darwin.h,
2270         config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
2271         config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
2272         config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
2273         config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
2274         config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
2275         config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
2276         config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
2277         config/v850/v850.c, config/v850/v850.h:
2278         Move STRIP_NAME_ENCODING to out-of-line function and add
2279         TARGET_STRIP_NAME_ENCODING.
2280
2281         * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
2282         config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
2283         with TARGET_STRIP_NAME_ENCODING referencing existing function;
2284         make function static.
2285
2286         * xcoffout.c: Include target.h
2287         * Makefile.in (xcoffout.o): Update.
2288
2289         * config/avr/avr.c (avr_encode_section_info): Correct prototype.
2290         * config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
2291         * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
2292         reloc argument unused.
2293         * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
2294
2295         * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
2296         STRIP_NAME_ENCODING docs.
2297
2298 2002-05-19  Andreas Jaeger  <aj@suse.de>
2299
2300         * gengenrtl.c: Add prototype for excluded_rtx.
2301
2302         * real.h: Add prototype for exact_real_truncate.
2303
2304 2002-05-18  Richard Henderson  <rth@redhat.com>
2305
2306         * system.h (ENCODE_SECTION_INFO): Poison it.
2307         * target-def.h (TARGET_ENCODE_SECTION_INFO): New.
2308         * target.h (encode_section_info): New.
2309         * varasm.c (make_decl_rtl, output_constant_def): Use it.
2310         * hooks.c (hook_tree_int_void): New.
2311         * hooks.h: Declare it.
2312
2313         * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
2314         config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
2315         config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
2316         config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
2317         config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
2318         config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
2319         config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
2320         config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
2321         config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
2322         config/mcore/mcore-protos.h, config/mcore/mcore.c,
2323         config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
2324         config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
2325         config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
2326         config/stormy16/stormy16.c, config/stormy16/stormy16.h:
2327         Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
2328         referencing existing function.  Make function static.
2329
2330         * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
2331         config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
2332         config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
2333         config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
2334         config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
2335         config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
2336         config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
2337         config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
2338         config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
2339         config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
2340         config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
2341         config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
2342         config/xtensa/xtensa.c, config/xtensa/xtensa.h:
2343         Move ENCODE_SECTION_INFO to out-of-line function and add
2344         TARGET_ENCODE_SECTION_INFO.
2345
2346         * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
2347         (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
2348
2349         * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
2350         from SUBTARGET_*
2351         (switch_to_section): Replace in_rdata case with in_readonly_data.
2352
2353         * config/h8300/h8300.c (h8300_encode_label): Make static.
2354         * config/h8300/h8300-protos.h: Update.
2355
2356         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
2357         from rs6000_encode_section_info; make static.
2358         (rs6000_xcoff_encode_section_info): New.
2359
2360         * config/v850/v850.c (v850_encode_data_area): Make static.
2361         * config/v850/v850-protos.h: Update.
2362
2363         * config/vax/vax.c: Include flags.h.
2364         (vms_select_section): Fix typo.
2365
2366         * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
2367         ENCODE_SECTION_INFO docs.
2368
2369 2002-05-18  Richard Henderson  <rth@redhat.com>
2370
2371         * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
2372         REGISTER_TARGET_PRAGMAS.
2373         * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
2374
2375         * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
2376
2377 2002-05-18  Richard Henderson  <rth@redhat.com>
2378
2379         * system.h (SELECT_RTX_SECTION): Poison.
2380         * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
2381         * target.h (select_rtx_section): New.
2382         * varasm.c (output_constant_pool): Use it.
2383         (default_select_rtx_section, default_elf_select_rtx_section): New.
2384         * output.h: Declare them.
2385
2386         * config/darwin.h (SELECT_RTX_SECTION): Move ...
2387         * config/darwin.c (machopic_select_rtx_section): ... here.
2388         * config/darwin-protos.h: Update.
2389
2390         * config/nextstep.h (SELECT_RTX_SECTION): Move ...
2391         * config/nextstep.c (machopic_select_rtx_section): ... here.
2392         (nextstep_select_section): Rename variable to avoid macro clash.
2393         * config/nextstep-protos.h: Update.
2394
2395         * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
2396         config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
2397         config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
2398         config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
2399         config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
2400         config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
2401         config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
2402         config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
2403         config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
2404         (SELECT_RTX_SECTION): Remove.
2405
2406         * config/darwin.h, config/elfos.h, config/nextstep.h,
2407         config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
2408         config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
2409         config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
2410         config/sparc/lynx.h, config/xtensa/xtensa.c
2411         (TARGET_ASM_SELECT_RTX_SECTION): New.
2412
2413         * config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
2414         * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
2415         * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
2416         * config/ia64/ia64.c (ia64_select_rtx_section): ... here.
2417         (ia64_aix_select_rtx_section): New.
2418         * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
2419         redefining.
2420         * config/mips/mips.c (mips_select_rtx_section): Make static.
2421         Support ELF SHF_MERGE features.
2422         * config/mips/mips-protos.h: Update.
2423         * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
2424         * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
2425         (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
2426         make static, fall back to default_elf_select_rtx_section.
2427         * config/rs6000/rs6000-protos.h: Update.
2428         * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
2429         * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
2430         * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
2431         * config/romp/romp.c (romp_select_rtx_section): New.
2432         * config/s390/s390.c (s390_select_rtx_section): New.
2433         * config/xtensa/xtensa.c: Include output.h.  Shuffle local function
2434         declarations before target macro definition.
2435         (xtensa_emit_call): Use static buffer.
2436         (xtensa_select_rtx_section): New.
2437         * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
2438         (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
2439         (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
2440
2441         * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
2442         SELECT_RTX_SECTION docs.
2443
2444 Sun May 19 00:24:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
2445
2446         * i386.md (movsi/movdi): Fix template.
2447         (sse2 patterns): Set attributes consistently.
2448
2449         * i386.md (pushqi2, ashrqi_*): Fix constraint.
2450
2451 2002-05-18  Toon Moene  <toon@moene.indiv.nluug.nl>
2452
2453         * optabs.c (complex_part_zero_p): New.
2454         * (expand_cmplxdiv_straight): Use it.
2455         * (expand_cmplxdiv_wide): Ditto.
2456         * (expand_binop): Ditto.
2457
2458 2002-05-18  Richard Henderson  <rth@redhat.com>
2459
2460         * final.c (HAVE_READONLY_DATA_SECTION): New.
2461         (shorten_branches): Use it instead of ifdefs.
2462         * varasm.c (enum in_section): Add in_readonly_data.
2463         (text_section, data_section): Tidy.
2464         (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
2465
2466         * config/darwin.h, config/nextstep.h, config/h8300/elf.h,
2467         config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
2468         (READONLY_DATA_SECTION): Don't undef.
2469
2470         * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
2471         config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
2472         config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
2473
2474         * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
2475         config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
2476         config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
2477         config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
2478
2479         * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
2480         config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
2481         config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
2482         config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
2483         config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
2484         config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
2485         config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
2486         config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
2487         CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
2488
2489         * config/elfos.h, config/netware.h, config/1750a/1750a.h,
2490         config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
2491         config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
2492         config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
2493         config/pa/pa64-hpux.h, config/sparc/litecoff.h
2494         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
2495
2496         * config/elfos.h, config/netware.h, config/svr3.h,
2497         config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
2498         config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
2499         config/h8300/h8300.h, config/i386/i386-interix.h,
2500         config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
2501         config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
2502
2503         * config/elfos.h, config/netware.h, config/svr3.h,
2504         config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
2505         config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
2506         config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
2507         config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
2508
2509         * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
2510         config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
2511         config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
2512         config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
2513         config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
2514         config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
2515         config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
2516         config/rs6000/sysv4.h, config/v850/v850.h
2517         (EXTRA_SECTIONS): Remove in_const/in_rdata.
2518         (EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
2519
2520         * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
2521         config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
2522         config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
2523         config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
2524         * config/alpha/alpha.c (alpha_start_function): Likewise.
2525         (alpha_write_linkage): Likewise.
2526         * config/m32r/m32r.c (m32r_select_section): Likewise.
2527         * config/m88k/m88k.c (m88k_select_section): Likewise.
2528         * config/mips/mips.c (mips_select_rtx_section): Likewise.
2529         * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
2530         (rs6000_elf_select_section): Likewise.
2531         * config/v850/v850.c (v850_select_section): Likewise.
2532
2533         * config/1750a/1750a.h, config/i860/sysv3.h
2534         (READONLY_DATA_SECTION_ASM_OP): New.
2535         READONLY_DATA_SECTION_ASM_OP.
2536         * config/i386/interix.c, config/i386/winnt.c
2537         (i386_pe_unique_section): Always use .rdata prefix.
2538         * config/pa/som.h (readonly_data): Always switch to read-only section.
2539         (READONLY_DATA_SECTION): Predicate on flag_pic.
2540         * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
2541         * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
2542         (READONLY_DATA_SECTION): Update.
2543
2544 2002-05-18  Jason Thorpe  <thorpej@wasabisystems.com>
2545
2546         * c-common.c (c_common_post_options): Warn if -Wformat-zero-length
2547         is used without -Wformat.
2548         * c-common.h (warn_format_zero_length): Declare extern.
2549         * c-decl.c (warn_options): Add "format-zero-length".
2550         * c-format.c (warn_format_zero_length): Declare.
2551         (set_Wformat): Set warn_format_zero_length for -Wformat.
2552         (check_format_info): Only warn about zero-length formats if
2553         warn_format_zero_length is true.  Include the format type
2554         name in the warning message.
2555         * doc/invoke.texi: Document -Wformat-zero-length.
2556         * testsuite/gcc.dg/format/zero-length-1.c: New test.
2557
2558 2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
2559
2560         * timevar.c: Fix formatting.
2561         * tlink.c: Likewise.
2562         * toplev.c: Likewise.
2563         * tree-dump.c: Likewise.
2564         * tree-inline.c: Likewise.
2565
2566 2002-05-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2567
2568         * cppinit.c (cpp_post_options): If preprocessed, turn off
2569         traditional.  If traditional, turn off column numbers.
2570         * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
2571         * cpptrad.c (handle_newline): Update line_base.
2572         (skip_comment): Handle -Wcomment.
2573
2574 2002-05-17  Zack Weinberg  <zack@codesourcery.com>
2575
2576         * cppinit.c (struct builtin): Remove unused fields.
2577         (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
2578         (operator_array): New - was second half of builtin_array.
2579         (init_builtins): Simplify loop over builtin_array/operator_array.
2580
2581 2002-05-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2582
2583         * defaults.h (UNIQUE_SECTION): Remove.
2584         * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
2585
2586 2002-05-17  Richard Henderson  <rth@redhat.com>
2587
2588         * expr.c (init_expr_once): Don't use start/end_sequence.
2589         Use rtx_alloc instead of emit_insn.
2590         * toplev.c (lang_dependent_init): Run init_expr_once here ...
2591         (lang_independent_init): ... not here.
2592
2593 2002-05-17  Jason Thorpe  <thorpej@wasabisystems.com>
2594
2595         * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
2596
2597 2002-05-17  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2598
2599         * config/avr/avr.c (avr_regs_to_save): New function.  Also check
2600         for fixed registers, possibly used for global register variables.
2601         (initial_elimination_offset, avr_output_function_prologue,
2602         avr_output_function_epilogue):  Move common code to avr_regs_to_save.
2603
2604 2002-05-17  Neil Booth  <neil@daikokuya.demon.co.uk>
2605
2606         * Makefile.in: Update for cpptrad.c.
2607         * cpphash.h (struct cpp_buffer): New members for buffer
2608         overlays.
2609         (struct cpp_reader): New members for traditional output.
2610         (_cpp_read_logical_line, _cpp_overlay_buffer): New.
2611         * cppinit.c (cpp_create_reader): Set trad_line.
2612         (cpp_destroy): Free trad_out_base if used.
2613         (cpp_read_main_file): Overlay an empty buffer if traditional.
2614         (cpp_finish_options): Don't do builtins.
2615         (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
2616         (cpp_handle_option): Handle it.
2617         * cpplex.c (continue_after_nul): New.
2618         (_cpp_lex_direct): Use handle_nul.
2619         * cpplib.h (struct cpp_options): New traditional option.
2620         * cpptrad.c: New file.
2621
2622 2002-05-17  Neil Booth  <neil@daikokuya.demon.co.uk>
2623
2624         * c-common.c (c_common_init_options): Use C89 for Objective-C,
2625         and set the options flag.
2626         * cppinit.c (lang_flags): Remove objc.
2627         (lang_defaults): Remove OBJC and OBJCXX.
2628         (set_lang): Update.
2629         (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
2630         (cpp_handle_option): Remove -+ and -lang-objc++.
2631         For ObjC, just set a flag.
2632         (print_help): Update.
2633         * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
2634
2635 2002-05-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2636
2637         * doc/install.texi (Specific, mips-sgi-irix6): Document need to
2638         bootstrap with -mips3.
2639
2640 2002-05-17  Kazu Hirata  <kazu@cs.umass.edu>
2641
2642         * final.c: Fix formatting.
2643         * fix-header.c: Likewise.
2644         * flow.c: Likewise.
2645         * fold-const.c: Likewise.
2646         * function.c: Likewise.
2647
2648 2002-05-17  David S. Miller  <davem@redhat.com>
2649
2650         PR c/6689, PR optimization/6615
2651         * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
2652         and make it a pointer to rtx.  Update comments.
2653         (update_equiv_regs): When scanning for equivalences, record
2654         address of SET_SRC (set) in reg_equiv[].src_p.  Dereference
2655         it while making the equiv replacements.
2656
2657 2002-05-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2658
2659         * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
2660
2661 2002-05-17  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2662
2663         * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
2664         when encoding visibility into SYMBOL_REF_FLAG.
2665
2666 2002-05-17  Richard Sandiford  <rsandifo@redhat.com>
2667
2668         * expr.c (force_operand): Fix reversed move.
2669
2670 2002-05-17  Kurt Wall <kwall@kurtwerks.com>
2671
2672         * doc/install.texi (Testing): Mention two common DejaGnu warnings
2673         that can be ignored.
2674
2675 2002-05-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2676
2677         * doc/install.texi (Final install): Recommend to install into a
2678         "clean" target directory.
2679
2680 2002-05-17  Richard Henderson  <rth@redhat.com>
2681
2682         * config/ia64/ia64.md: Use braced strings instead of quoted strings
2683         for code blocks.  Tidy whitespace.
2684
2685 2002-05-17  Richard Henderson  <rth@redhat.com>
2686
2687         * hooks.c (hook_tree_bool_false): New.
2688         * hooks.h: Declare it.
2689         * target-def.h (TARGET_ASM_SELECT_SECTION): New.
2690         (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
2691         * target.h (select_section, unique_section): New.
2692         (in_small_data_p): New.
2693         * varasm.c (resolve_unique_section): Use hooks instead of macros.
2694         (variable_section, output_constant_def_contents): Likewise.
2695         (default_select_section, default_unique_section): New.
2696         (categorize_decl_for_section, default_elf_select_section): New.
2697         * output.h: Declare them.
2698
2699         * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
2700         (TARGET_ASM_SELECT_SECTION): New.
2701         (SELECT_SECTION): Move ...
2702         * config/darwin.c (machopic_select_section): ... here.
2703         * config/darwin-protos.h: Update.
2704
2705         * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
2706         (SELECT_SECTION): Move ...
2707         * config/nextstep.c (nextstep_select_section): ... here.
2708         * config/nextstep-protos.h: Update.
2709
2710         * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
2711         (TARGET_ASM_SELECT_SECTION): New.
2712         * config/svr3.h (SELECT_SECTION): Remove.
2713
2714         * config/alpha/alpha.c (unicosmk_unique_section): Make static.
2715         (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
2716         (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
2717         (alpha_encode_section_info): Use it.
2718         * config/alpha/alpha-protos.h: Update.
2719         * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
2720         (SELECT_SECTION, UNIQUE_SECTION): Remove.
2721         (TARGET_ASM_SELECT_SECTION): New.
2722         * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
2723
2724         * config/arm/pe.h (UNIQUE_SECTION): Remove.
2725         (TARGET_ASM_UNIQUE_SECTION): New.
2726
2727         * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
2728         (avr_unique_section): Rename from unique_section; make static.
2729         * config/avr/avr-protos.h: Update.
2730         * config/avr/avr.h (UNIQUE_SECTION): Remove.
2731
2732         * config/c4x/c4x.h (SELECT_SECTION): Remove.
2733
2734         * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
2735         (TARGET_ASM_UNIQUE_SECTION): New.
2736         * config/i386/i386-interix.h: Likewise.
2737         * config/i386/win32.h: Likewise.
2738         * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
2739         * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
2740         * config/i386/sco5.h (SELECT_SECTION): Remove.
2741         (TARGET_ASM_SELECT_SECTION): New.
2742         * config/i386/svr3gas.h (SELECT_SECTION): Remove.
2743
2744         * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
2745         instead of SELECT_SECTION.
2746         * config/m68k/dpx2.h: Likewise.
2747         * config/rs6000/lynx.h: Likewise.
2748
2749         * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
2750         (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
2751         * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
2752         (ia64_in_small_data_p): New.
2753         (ia64_encode_section_info): Use it.  Reorganize overlarge conditional.
2754         (ia64_aix_select_section, ia64_aix_unique_section): New.
2755         * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
2756         (SELECT_SECTION, UNIQUE_SECTION): Remove.
2757
2758         * config/m32r/m32r.h (SELECT_SECTION): Remove.
2759         (TARGET_ASM_SELECT_SECTION): New.
2760         * config/m32r/m32r.c (m32r_select_section): Take align argument.
2761         * config/m32r/m32r-protos.h: Update.
2762
2763         * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
2764         (SELECT_SECTION): Move ...
2765         * config/m88k/m88k.c (m88k_select_section): ... here.
2766
2767         * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
2768         * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
2769         * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
2770         (mcore_unique_section): Make static.
2771         * config/mcore/mcore-protos.h: Update.
2772
2773         * config/mips/elf.h (UNIQUE_SECTION): Remove.
2774         (TARGET_ASM_UNIQUE_SECTION): New.
2775         * config/mips/elf64.h: Likewise.
2776         * config/mips/iris6gld.h: Likewise.
2777         * config/mips/linux.h: Likewise.
2778         * config/mips/mips-protos.h: Update.
2779         * config/mips/mips.c (mips_select_section): Add align argument.
2780         * config/mips/mips.h (SELECT_SECTION): Remove.
2781         (TARGET_ASM_SELECT_SECTION): New.
2782
2783         * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
2784         * config/mmix/mmix.c (mmix_select_section): Remove.
2785         (mmix_unique_section): Remove.
2786         * config/mmix/mmix-protos.h: Update.
2787
2788         * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
2789         (SELECT_SECTION): Move ...
2790         * config/pa/pa.c (pa_select_section): ... here.
2791         * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
2792
2793         * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
2794         from rs6000_select_section and make static.
2795         (rs6000_elf_unique_section): Similarly.
2796         (rs6000_xcoff_select_section): From xcoff.h.
2797         (rs6000_xcoff_unique_section): Likewise.
2798         * config/rs6000/rs6000-protos.h: Update.
2799         * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
2800         (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
2801         * config/rs6000/xcoff.h: Likewise.
2802
2803         * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
2804         (SELECT_SECTION): Move ...
2805         * config/sparc/sparc.c (sparc_aout_select_section): ... here.
2806
2807         * config/v850/v850.h (SELECT_SECTION): Move ...
2808         * config/v850/v850.c (v850_select_section): ... here.
2809         (TARGET_ASM_SELECT_SECTION): New.
2810
2811         * config/vax/vms.h (SELECT_SECTION): Move ...
2812         * config/vax/vax.c (vms_select_section): ... here.
2813         (TARGET_ASM_SELECT_SECTION): New.
2814
2815         * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
2816         for the target hooks.
2817
2818 2002-05-17  Nick Clifton  <nickc@cambridge.redhat.com>
2819
2820         * config/arm/arm.c (emit_multi_reg_push): Do not set
2821         RTX_FRAME_RELATED_P on the SEQUENCE.
2822
2823 2002-05-16  Richard Henderson  <rth@redhat.com>
2824
2825         * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
2826         splitting.  Use split_all_insns; update_life_info_in_dirty_blocks.
2827
2828 2002-05-16  Richard Henderson  <rth@redhat.com>
2829
2830         * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
2831
2832         * config/ia64/ia64.c (saveable_obstack): Do not declare.
2833
2834 2002-05-16  Richard Henderson  <rth@redhat.com>
2835
2836         * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
2837         cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
2838         conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
2839         gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
2840         local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
2841         recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
2842         reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
2843         sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
2844         Revert "Basic block renumbering removal", and two followup patches.
2845
2846 2002-05-16  Jason Thorpe  <thorpej@wasabisystems.com>
2847
2848         * lcm.c (optimize_mode_switching): Revert previous change.
2849
2850 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2851
2852         * sched-rgn.c (schedule_insns): Initialize large_region_blocks
2853         with only extant block numbers.
2854
2855 2002-05-16  Jason Thorpe  <thorpej@wasabisystems.com>
2856
2857         * lcm.c (optimize_mode_switching): Fix typo.
2858
2859 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2860
2861         * flow.c (calculate_global_regs_live): Queue blocks in program order.
2862
2863 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2864
2865         * doc/install.texi (Configuration): Document PWDCMD.
2866
2867 2002-05-16  Dale Johannesen  <dalej@apple.com>
2868
2869         * combine.c (cant_combine_insn_p):  Reenable combinations
2870         involving hard regs unless CLASS_LIKELY_SPILLED_P.
2871
2872 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
2873
2874         * c-common.c (cb_register_builtins): Handle more built-ins
2875         here rather than in gcc.c specs.
2876         * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
2877         (cpp_options): Pass -O flags even when only preprocessing.
2878         * toplev.c (set_fast_math_flags): New prototype.
2879         (fast_math_flags_set_p): New.
2880         (set_no_fast_math_flags): Remove.
2881         (decode_f_option): Update.
2882         * toplev.h (set_fast_math_flags): Update.
2883         (fast_math_flags_set_p): New.
2884         (set_no_fast_math_flags): Remove.
2885 config:
2886         * c4x/c4x.c (c4x_override_options): Update.
2887
2888 2002-05-16  Zack Weinberg  <zack@codesourcery.com>
2889
2890         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
2891         Default-define here.
2892         (builtin_define_with_value): Can now wrap the expansion in
2893         quotation marks if such is wanted.
2894         (cb_register_builtins): Update calls to builtin_define_with_value.
2895         Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
2896         here.
2897         (c_common_init): Set options->stdc_0_in_system_headers.
2898         * c-lex.h: Update prototype of builtin_define_with_value.
2899         * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
2900         and REGISTER_PREFIX.
2901
2902         * cppinit.c (VERS, ULP, C, X): Kill.
2903         (builtin_array): Remove entries for __VERSION__,
2904         __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
2905         __HAVE_BUILTIN_SETJMP__.  Make __STDC__ always a builtin, not
2906         a constant.
2907         (init_builtins): Kill off a bunch of now-dead code.
2908         (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
2909         -fno-leading-underscore.
2910         (cpp_handle_option): Remove code to set user_label_prefix.
2911         (cpp_post_options): Likewise.
2912
2913         * cpplib.h (struct cpp_options): Remove user_label_prefix.
2914         (stdc_0_in_system_headers): New.
2915         * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
2916         stdc_0_in_system_headers) too to decide the value of __STDC__.
2917
2918         * tradcpp.c (user_label_prefix): Kill.
2919         (main): Remove code handling -f(no-)leading-underscore.
2920         (initialize_builtins): Don't define __REGISTER_PREFIX__
2921         or __USER_LABEL_PREFIX__.
2922         (install_value): Wrap compound statement in dummy loop so the
2923         macro works properly in an if statement.
2924
2925
2926 2002-05-16  Janis Johnson  <janis187@us.ibm.com>
2927
2928         * loop.h (struct loop_info): Add member has_prefetch.
2929         * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
2930         (prescan_loop): Initialize has_prefetch.
2931         (struct prefetch_info): Change prefetch_in_loop and
2932         prefetch_before_loop from bit fields to ints.
2933         (emit_prefetch_instructions): Several small fixes.
2934         (check_dbra_loop): Don't reverse loop that uses prefetch.
2935
2936 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2937
2938         * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
2939         * configure.in: Likewise.
2940         * fixinc/check.tpl: Likewise.
2941         * fixinc/fixinc.dgux: Likewise.
2942         * fixinc/fixinc.svr4: Likewise.
2943         * fixinc/fixinc.winnt: Likewise.
2944         * fixinc/fixincl.sh: Likewise.
2945         * fixproto: Likewise.
2946         * configure: Regenerate.
2947
2948 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2949
2950         Basic block renumbering removal:
2951         * basic_block.h (struct basic_block_def): Renamed index to sindex,
2952         added prev_bb and next_bb fields.
2953         (n_basic_blocks): Renamed to num_basic_blocks.
2954         (last_basic_block): New, index of last basic block.
2955         (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
2956         traversing basic block chain.
2957         (BLOCK_NUM): index -> sindex.
2958         (create_basic_block_structure, create_basic_block): Declaration changed.
2959         (debug_num2bb): Declare.
2960         (expunge_block_nocompact): Declaration removed.
2961         (link_block, unlink_block, compact_blocks): Declare.
2962         * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
2963         * cfg.c (entry_exit_blocks): Initialize new fields.
2964         (clear_edges, alloc_block, expunge_block, cached_make_edge,
2965         redirect_edge_pred, dump_flow_info, dump_edge_info,
2966         alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
2967         free_aux_for_edges): Modified.
2968         (link_block, unlink_block, compact_blocks, debug_num2bb): New.
2969         (expunge_block_nocompact): Removed.
2970         * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
2971         find_unreachable_blocks, create_edge_list, print_edge_list,
2972         verify_edge_list, flow_edge_list_print, remove_fake_successors,
2973         remove_fake_edges, flow_reverse_top_sort_order_compute,
2974         flow_depth_first_order_compute, flow_preorder_transversal_compute,
2975         flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
2976         flow_dfs_compute_reverse_execute): Modified.
2977         * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
2978         find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
2979         Modified.
2980         * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
2981         merge_blocks_move_predecessor_nojumps,
2982         merge_blocks_move_successor_nojumps, merge_blocks,
2983         outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
2984         try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
2985         * cfglayout.c (skip_insns_after_block, label_for_bb,
2986         record_effective_endpoints, scope_to_insns_finalize,
2987         fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
2988         fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
2989         cfg_layout_duplicate_bb): Modified.
2990         * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
2991         flow_loop_entry_edges_find, flow_loop_exit_edges_find,
2992         flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
2993         flow_loops_find, flow_loop_outside_edge_p): Modified.
2994         * cfgrtl.c (create_basic_block_structure, create_basic_block,
2995         flow_delete_block, compute_bb_for_insn, split_block,
2996         try_redirect_by_replacing_jump, redirect_edge_and_branch,
2997         force_nonfallthru_and_redirect, tidy_fallthru_edge,
2998         back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
2999         commit_edge_insertions, commit_edge_insertions_watch_calls,
3000         dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
3001         purge_all_dead_edges): Modified.
3002         * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
3003         try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
3004         get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
3005         Modified.
3006         * conflict.c (conflict_graph_compute): Modified.
3007         * df.c (FOR_ALL_BBS): Removed.
3008         (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
3009         df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
3010         df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
3011         * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
3012         * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
3013         calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
3014         * final.c (compute_alignments, final_scan_insn): Modified.
3015         * flow.c (verify_local_live_at_start, update_life_info,
3016         update_life_info_in_dirty_blocks, free_basic_block_vars,
3017         delete_noop_moves, calculate_global_regs_live,
3018         initialize_uninitialized_subregs, allocate_bb_life_data,
3019         regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
3020         mark_used_reg, count_or_remove_death_notes): Modified.
3021         * function.c (thread_prologue_and_epilogue_insns): Modified.
3022         * gcse.c (struct null_pointer_info): Change typo of current_block
3023         to basic_block.
3024         (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
3025         oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
3026         compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
3027         alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
3028         expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
3029         classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
3030         one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
3031         pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
3032         pre_delete, one_pre_gcse_pass, compute_transpout,
3033         invalidate_nonnull_info, delete_null_pointer_checks_1,
3034         free_code_hoist_mem, compute_code_hoist_vbeinout,
3035         hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
3036         compute_ld_motion_mems, store_ops_ok, find_moveable_store,
3037         compute_store_table, build_store_vectors, insert_insn_start_bb,
3038         insert_store, replace_store_insn, free_store_memory, store_motion):
3039         Modified.
3040         * global.c (global_alloc, global_conflicts, mark_elimination,
3041         build_insn_chain): Modified.
3042         * graph.c (print_rtl_graph_with_bb): Modified.
3043         * haifa-sched.c (sched_init): Modified.
3044         * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
3045         (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
3046         if_convert): Modified.
3047         * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
3048         compute_insert_delete, pre_edge_lcm, compute_available,
3049         compute_farthest, compute_nearerout, compute_rev_insert_delete,
3050         pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
3051         Modified.
3052         * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
3053         * loop.c (loop_dump_aux): Modified.
3054         * predict.c (combine_predictions_for_insn, estimate_probability,
3055         last_basic_block_p, process_note_prediction, process_note_predictions,
3056         note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
3057         expensive_function_p, estimate_bb_frequencies,
3058         compute_function_frequency): Modified.
3059         * print-rtl.c (print_rtx): Modified.
3060         * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
3061         get_exec_counts, compute_branch_probabilities, compute_checksum,
3062         branch_prob, find_spanning_tree): Modified.
3063         * recog.c (split_all_insns, peephole2_optimize): Modified.
3064         * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
3065         convert_regs_1, convert_regs_2, convert_regs): Modified.
3066         * regclass.c (scan_one_insn, regclass): Modified.
3067         * regmove.c (mark_flags_life_zones, regmove_optimize,
3068         combine_stack_adjustments): Modified.
3069         * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
3070         * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
3071         * reorg.c (dbr_schedule): Modified.
3072         * resource.c (find_basic_block, init_resource_info): Modified.
3073         * sbitmap.c (sbitmap_intersection_of_succs,
3074         sbitmap_intersection_of_preds, sbitmap_union_of_succs,
3075         sbitmap_union_of_preds): Modified.
3076         * sched-deps.c (init_dependency_caches): Modified.
3077         * sched-ebb.c (schedule_ebbs): Modified.
3078         * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
3079         find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
3080         * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
3081         * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
3082         ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
3083         ssa_const_prop): Modified.
3084         * ssa-dce.c (set_control_dependent_block_to_edge_map_,
3085         find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
3086         * ssa.c (remove_phi_alternative, find_evaluations,
3087         compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
3088         insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
3089         make_regs_equivalent_over_bad_edges,
3090         make_equivalent_phi_alternatives_equival,
3091         compute_conservative_reg_partition,
3092         coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
3093         rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
3094         Modified.
3095
3096 2002-05-16  Mark Mitchell  <mark@codesourcery.com>
3097
3098         * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
3099
3100 2002-05-16  Nick Clifton  <nickc@cambridge.redhat.com>
3101
3102         * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
3103         SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
3104         (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
3105         calling CONSTANT_POOL_ADDRESS_P.
3106         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
3107         to decide whether to define __arm__ or __thumb.
3108         (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
3109         SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
3110
3111 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
3112
3113         * config/arc/arc.h (CPP_PREDEFINES): Remove.
3114         (CPP_SPEC): Update.
3115         (TARGET_CPU_CPP_BUILTINS): New.
3116
3117 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
3118
3119         * cpphash.h (cpp_macro): Move here, and make expansion a union.
3120         * cppmacro.c (cpp_macro): Remove.
3121         (enter_macro_context, replace_args, warn_of_redefinition,
3122         _cpp_create_definition, cpp_macro_definition): Update.
3123
3124 2002-05-16  Jason Merrill  <jason@redhat.com>
3125
3126         * config/mips/mips.c (mips_output_external): Don't do sdata
3127         optimization for a variable with DECL_COMDAT set.
3128
3129 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
3130
3131         * config/rs6000/altivec.h: Cleanups for tighter typechecking.
3132         Cleanups for accepting modifiers on pointers.
3133         Fix predicate typos.
3134         Allow long pointers as well as int pointers.
3135
3136 2002-05-15  Richard Henderson  <rth@redhat.com>
3137
3138         * varasm.c (merge_weak): Remove special case for extern and common.
3139
3140 2002-05-15  Matt Hiller  <hiller@redhat.com>
3141
3142         * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
3143         XFAILing.
3144         * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
3145         * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
3146         * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
3147         * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
3148         * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
3149         * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
3150
3151 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
3152
3153         * reload1.c (forget_old_reloads_1): Do not use subreg offset.
3154
3155 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
3156
3157         * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
3158         ("altivec_mfvscr"): Read from VSCR.
3159
3160         Add vscr sets for the following insns: altivec_vctuxs,
3161         altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
3162         altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
3163         altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
3164         altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
3165         altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
3166         altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
3167         altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
3168         altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
3169         altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
3170         altivec_vsum2sws, altivec_vsumsws.
3171
3172         * config/rs6000/rs6000.h: Add VSCR fixed register.
3173         (CALL_REALLY_USED_REGISTERS): Add vscr.
3174         (CALL_USED_REGISTERS): Same.
3175         (FIXED_REGISTERS): Same.
3176         (REG_ALLOC_ORDER): Same.
3177         (reg_class): Add VSCR_REGS.
3178         (REG_CLASS_NAMES): Same.
3179         (REG_CLASS_CONTENTS): Same.
3180         (VSCR_REGNO): New.
3181         (REGISTER_NAMES): Add vscr.
3182         (DEBUG_REGISTER_NAMES): Same.
3183         (ADDITIONAL_REGISTER_NAMES): Same.
3184         (FIRST_PSEUDO_REGISTER): Increment.
3185         (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
3186
3187 2002-05-15  Jakub Jelinek  <jakub@redhat.com>
3188
3189         * fold-const.c (fold): Fix a typo.
3190
3191 2002-05-15  Eric Botcazou  <ebotcazou@multimania.com>
3192
3193         * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
3194         comparison against the highest or lowest integer value before
3195         the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
3196         transformation and that of an unsigned comparison against 0
3197         right after.
3198
3199 2002-05-15  Richard Henderson  <rth@redhat.com>
3200
3201         * varasm.c (merge_weak): Error for any weakening after definition.
3202         Adjust weakening after use warning to catch more cases.
3203         (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
3204         * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
3205
3206 Wed May 15 10:38:27 CEST 2002  Jan Hubicka  <jh@suse.cz>
3207
3208         * invoke.texi (-malign-double): Re-add lost warning.
3209
3210         * i386-protos.h (x86_output_mi_thunk): Declare.
3211         * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
3212         * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
3213
3214         * dwarf2out.c (output_call_frame_info): Do not skip unwind info
3215         when flag_asynchronous_unwind_tables is set.
3216
3217         * flags.h (flag_reorder_functions): Declare.
3218         * function.c (prepare_function_start): Initialize frequnecy.
3219         * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
3220         * Makefile.in (predict.o): Add dependency on target.h and params.h
3221         * defaults.h (HOT_TEXT_SECTION_NAME,
3222         UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
3223         * predict.c (choose_function_section): New function.
3224         (estimate_bb_frequencies): Use it.
3225         * toplev.c (flag_reorder_functions): New global variable.
3226         (lang_independent_options): New.
3227         (parse_options_and_default_flags): Set.
3228         * varasm.c (assemble_start_function): Bypass functdion alignment
3229         for never executed functions.
3230         * invoke.texi (-freorder-blocks, -freorder-functions): Document.
3231         (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
3232         * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
3233         Document.
3234
3235         Thu Jan  3 21:52:09 CET 2002  Jan Hubicka  <jh@suse.cz>
3236
3237         * predict.c: Inlude profile.h
3238         (MIN_COUNT): Rename to MIN_COUNT_FRACTION
3239         (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
3240         Use the information about maximal counter in the program.
3241
3242         Thu Dec 20 22:14:00 CET 2001  Jan Hubicka  <jh@suse.cz>
3243
3244         * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
3245         probably_never_executed_bb_p): New functions.
3246         * cfgcleanup.c (outgoing_edges_match): Use them.
3247         * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
3248         (maybe_hot_bb_p, probably_cold_bb_p,
3249         probably_never_executed_bb_p): New functions.
3250
3251         * function.h (function): Add new field function_frequency.
3252         * predict.c (compute_function_frequency): New function.
3253         (estimate_probability): Call it.
3254
3255 2002-03-09  Jakub Jelinek  <jakub@redhat.com>
3256
3257         PR optimization/5172, optimization/5200
3258         * gcse.c (gcse_main): Disable store_motion.
3259
3260 2002-05-14  Zack Weinberg  <zack@codesourcery.com>
3261
3262         * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
3263         (c_common_nodes_and_builtins): Use it.
3264         (builtin_define_with_value): New function.
3265         (cb_register_builtins): Define __SIZE_TYPE__,
3266         __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
3267         using builtin_define_with_value.  Use consistent notation when
3268         defining __GXX_WEAK__.
3269         (WCHAR_TYPE_SIZE): Don't redefine.
3270         (combine_strings): Don't use WCHAR_TYPE_SIZE.
3271
3272         * cppdefault.h: Don't provide defaults for SIZE_TYPE,
3273         PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
3274         * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
3275         * tradcpp.c (initialize_builtins): Likewise.
3276         * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
3277
3278         * c-lex.h (builtin_define_with_value): Prototype.
3279         * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
3280         NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
3281         * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
3282
3283         * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
3284         config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
3285         config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
3286         config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
3287         config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
3288         config/sparc/linux64.h, config/sparc/netbsd-elf.h,
3289         config/sparc/sol2-bi.h, config/sparc/sparc.h:
3290         Do not define NO_BUILTIN_SIZE_TYPE etc.  Remove all references
3291         to __SIZE_TYPE__ etc from all spec strings. When this makes
3292         extra specs empty, delete them.
3293
3294 2002-05-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3295
3296         * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
3297         for PA8000 or generating dwarf2 call frame information.
3298         (output_call): Remove DO_FRAME_NOTES check from return pointer
3299         optimization.
3300         (following_call): Return 0 when scheduling for PA8000 or generating
3301         dwarf2 call frame information.  Revise comment.
3302
3303 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
3304
3305 config/alpha:
3306         * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
3307         and __IEEE_FP_INEXACT as appropriate.
3308         (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
3309         (CPP_SPEC): Remove ieee defines.
3310         * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
3311
3312 >>>>>>> 1.14095
3313 2002-05-14  Richard Henderson  <rth@redhat.com>
3314
3315         * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
3316         (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
3317
3318 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
3319
3320         * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
3321         (CPP_SPEC): Update.
3322         (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
3323         CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
3324         CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
3325         CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
3326         (EXTRA_SPECS): Update.
3327         * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
3328         arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
3329         arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
3330         define TARGET_OS_CPP_BUILTINS if necessary.
3331
3332 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
3333
3334         * gcc.c (cpp_options): Must pass -m* and -f* options
3335         to the front end even when only preprocessing.
3336         (cc1_options): Remove redundant -lang-c.
3337         * tradcpp.c (main): Ignore -m options.
3338 objc:
3339         * lang-specs.h: Similarly.
3340
3341 2002-05-14  Vladimir Makarov  <vmakarov@redhat.com>
3342
3343         * genautomata.c (transform_3): Add code for transformation
3344         `(A,B,...)+C -> A+C,B,...'.
3345
3346 Tue May 14 12:48:22 CEST 2002  Jan Hubicka  <jh@suse.cz>
3347
3348         * final.c (end_final): Do not output profile_arcs constructor, when
3349         no functions are instrumented.
3350
3351 Tue May 14 12:38:30 CEST 2002  Jan Hubicka  <jh@suse.cz>
3352
3353         * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
3354
3355 2002-05-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3356
3357         * doc/install.texi: Remove special markup originally required for
3358         HTML generation with texi2html.
3359
3360 2002-05-14  Andreas Schwab  <schwab@suse.de>
3361
3362         * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
3363         SELECT_SECTION.
3364         (UNIQUE_SECTION): Define to get small data correctly.
3365
3366         * varasm.c (resolve_unique_section): Add third parameter
3367         flag_function_or_data_sections and use it instead of
3368         flag_function_sections.
3369         (assemble_start_function): Pass flag_function_sections.
3370         (asm_emit_uninitialised): Pass flag_data_sections.
3371         (assemble_variable): Likewise.
3372
3373 2002-05-14  Richard Henderson  <rth@redhat.com>
3374
3375         * config/i386/i386.md: Use define_constants for unspec numbers.
3376         * config/i386/i386.c: Likewise.
3377
3378 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
3379
3380         * doc/contrib.texi: Update my entry.
3381
3382 2002-05-13  Mark Mitchell  <mark@codesourcery.com>
3383
3384         * fixinc/inclhack.def (winidss_valist): Limit applicability.
3385         * fixinc/fixincl.x: Regenerated.
3386         * fixinc/tests/base/math.h: Update.
3387         * fixinc/tests/base/testing.h: Likewise.
3388
3389 2002-05-13  Zack Weinberg  <zack@codesourcery.com>
3390
3391         * genattr.c (gen_attr): Don't emit a comma after the last
3392         enumerator.
3393
3394 2002-05-13  Richard Henderson  <rth@redhat.com>
3395
3396         * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
3397         by non-local gotos.
3398         * recog.c (peephole2_optimize): Likewise.
3399
3400 2002-05-13  Andris Pavenis  <pavenis@lanet.lv>
3401
3402         * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
3403         input to O_BINARY.
3404
3405 2002-05-13  Jeffrey A Law  (law@redhat.com)
3406
3407         * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
3408         Update prototype and callers.
3409         (propagate_one_insn): Stack pointer adjustments kill MEMs on
3410         the mem_set_list which reference the stack pointer, as do
3411         calls to constant functions as they may clobber outgoing
3412         argument space.
3413
3414         * i386.c (ia32_multipass_dfa_lookahead): Prototype.
3415
3416         * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
3417         (ia32_multipass_dfa_lookahead): New function.
3418
3419 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
3420
3421         * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
3422         (translate_options): Remove 'V'.
3423         (process_command): Similarly.
3424 doc:
3425         * invoke.texi: Remove documentation of 'V'.
3426
3427 2002-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
3428
3429         * config/s390/linux.h: Revert 2002-04-22 changes.
3430
3431 2002-05-13  Scott Marks <SMarks@mobile-mind.com>
3432
3433         * config/fr30/fr30.md: Only allow splits of immediate loads
3434         if the destination is a register.
3435
3436 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
3437
3438         * Makefile.in (c-common.o, cppinit.o): Update.
3439         * c-common.c: Include except.h.
3440         (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
3441         Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
3442         * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
3443         * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
3444         CPP_PREDEFINES): Handle here.
3445 config:
3446         * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
3447         alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
3448         alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
3449         TARGET_OS_CPP_BUILTINS.
3450         * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
3451         (CPP_SPEC, EXTRA_SPECS): Update.
3452         (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
3453         CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
3454         CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
3455         CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
3456         CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
3457 doc:
3458         * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
3459         (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
3460
3461 2002-05-12  Zack Weinberg  <zack@codesourcery.com>
3462
3463         * emit-rtl.c (global_rtl): Update comment.
3464         (const_double_htab, const_double_htab_hash,
3465         const_double_htab_hash, lookup_const_double): New.
3466         (const_int_htab_hash, const_int_htab_eq): Remove const
3467         qualifiers, which cause tons of warnings with RTL checking on.
3468         (gen_rtx_CONST_DOUBLE): Deleted.
3469         (const_double_from_real_value): New function - bears some
3470         resemblance to the former immed_real_const_1.
3471         (immed_double_const): Moved here from varasm.c and
3472         simplified.
3473         (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
3474         (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
3475         (gen_rtx): Use immed_double_const.
3476         (init_emit_once): Initialize the const_double_htab.  Use
3477         REAL_VALUE_FROM_INT where possible.  Can now use
3478         CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
3479         * varasm.c (struct varasm_status): Remove x_const_double_chain.
3480         (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
3481         (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
3482         (init_varasm_status, mark_varasm_status): Don't touch
3483         x_const_double_chain.
3484
3485         * output.h: Delete prototype for clear_const_double_mem.
3486         * real.h: Make REAL_VALUE_TYPE a macro again.  Remove leading
3487         '0' slot from all CONST_DOUBLE_FORMAT definitions.  Prototype
3488         const_double_from_real_value, not immed_real_const_1, and use
3489         it to define CONST_DOUBLE_FROM_REAL_VALUE.  Define new macro
3490         CONST_DOUBLE_ATOF.
3491         * rtl.h (CONST_DOUBLE_CHAIN): Kill.
3492         (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
3493         (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
3494         (gen_rtx_REG): Second arg is unsigned.
3495
3496         * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
3497         (excluded_rtx): New, return true for CONST_DOUBLE.
3498         (genmacro): Write nothing for excluded codes.
3499         * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
3500         * expr.c (expand_expr): Likewise.
3501         * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
3502         CONST_DOUBLE_CHAIN.
3503         * toplev.c (rest_of_compilation): Don't call
3504         clear_const_double_mem.
3505
3506         * config/rs6000/rs6000.c (rs6000_float_const): Delete.
3507         (rs6000_hash_constant): Remove CONST_DOUBLE special case.
3508         (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
3509         * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
3510         * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
3511         * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
3512         config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
3513         * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
3514
3515 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3516
3517         * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
3518
3519 2002-05-12  Tom Tromey  <tromey@redhat.com>
3520
3521         * tree.h (copy_node): Don't mention TREE_PERMANENT.
3522
3523 2002-05-12  Zack Weinberg  <zack@codesourcery.com>
3524
3525         * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
3526         (scan_comma_elt): New function.  Accepts whitespace in comma lists.
3527         * gensupport.h: Prototype new routines.
3528         * genattr.c (gen_attr): Use scan_comma_elt.  Avoid unnecessary
3529         use of printf.
3530         * genattrtab.c (n_comma_elts): Moved to gensupport.c.
3531         (next_comma_elt): Use scan_comma_elt.
3532
3533         * config/i386/i386.md: Use new attribute notation to break up
3534         long lines in define_attr forms.
3535
3536 2002-05-12  Richard Henderson  <rth@redhat.com>
3537
3538         * expr.c (compress_float_constant): New.
3539         (emit_move_insn): Use it.
3540         (float_extend_from_mem): New.
3541         (init_expr_once): Initialize it.
3542         * real.c (exact_real_truncate): New.
3543
3544         * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
3545         dropped into memory; penalize for size.
3546         (RTX_COSTS): FLOAT_EXTEND is free.
3547         * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
3548         extenddfxf2, extenddftf2): Accept constants and drop them to memory.
3549
3550 2002-05-12  Richard Henderson  <rth@redhat.com>
3551
3552         * profile.h (profile_info): Add missing extern to declaration.
3553         * profile.c (profile_info): Define it.
3554
3555 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3556
3557         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
3558         used for DImode and TImode.
3559
3560 2002-05-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3561
3562         * cpplex.c (_cpp_lex_direct): When in a directive at EOF
3563         fake a newline.
3564
3565 2002-05-11  Zack Weinberg  <zack@codesourcery.com>
3566
3567         * config/rs6000/rs6000.c (rs6000_default_long_calls,
3568         rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
3569         (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
3570         (rs6000_override_options): Handle -m(no-)longcall.
3571         (init_cumulative_args, output_mi_thunk): Check for both
3572         longcall and shortcall attributes on the function.
3573         (rs6000_attribute_table): Add "shortcall".
3574         (rs6000_handle_longcall_attribute): Update comment.
3575         (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
3576         altivec_expand_ternop_builtin): Add default clauses to switches
3577         to silence warnings.
3578
3579         * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
3580         rs6000_default_long_calls.  Define REGISTER_TARGET_PRAGMAS.
3581         (TARGET_OPTIONS): Add longcall and no-longcall.
3582
3583         * config/rs6000/rs6000.md (call_nonlocal_sysv,
3584         call_value_nonlocal_sysv): Split by alternatives.  One pair
3585         accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
3586         the call cookie.  The other pair accepts only LR/CTR and has
3587         no restriction.
3588
3589         * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
3590         Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
3591         tmake_file.
3592         * config/rs6000/rs6000-c.c: New file.
3593         * config/rs6000/t-rs6000-c-rule: New file.
3594         * config/rs6000/rs6000-protos.c: Add multiple-include guard.
3595         Prototype rs6000_pragma_longcall.
3596
3597         * doc/extend.texi: Document shortcall attribute.
3598         * doc/invoke.texi: Document -mlongcall, -mno-longcall.
3599
3600 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3601
3602         * reorg.c (dbr_schedule): Remove unnecessary test.
3603
3604 Sat May 11 14:34:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
3605
3606         * i386.md (testsi to testqi spliters): New.
3607
3608         2002-01-14  Josef Zlomek  <zlomek@matfyz.cz>
3609
3610         cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
3611
3612         Wed Jan  9 2002  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
3613
3614         * basic-block.h: New flag EDGE_CAN_FALLTHRU
3615         * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
3616         that can be made fallthru.
3617
3618         Mon Nov 12 16:25:53 CET 2001  Jan Hubicka  <jh@suse.cz>
3619
3620         * cfglayout.c (cleanup_unconditional_jumps): New static function.
3621         (cfg_layout_initialize): Use it.
3622
3623 2002-05-11  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3624
3625         * config/avr/avr.c (avr_mcu_types): Update supported devices.
3626         * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
3627         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
3628
3629 2002-05-11  Kazu Hirata  <kazu@cs.umass.edu>
3630
3631         * dbxout.c: Fix formatting.
3632         * dependence.c: Likewise.
3633         * df.c: Likewise.
3634         * diagnostic.c: Likewise.
3635         * doloop.c: Likewise.
3636         * dominance.c: Likewise.
3637         * doschk.c: Likewise.
3638         * dwarf2asm.c: Likewise.
3639         * dwarf2out.c: Likewise.
3640         * dwarfout.c: Likewise.
3641
3642 2002-05-10  Richard Henderson  <rth@redhat.com>
3643
3644         * final.c (end_final): Tidy whitespace.  Don't honor flag_pack_struct.
3645         Convert integers constants as needed.  Replace "nwords" field with
3646         "sizeof_bb".
3647         (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
3648         * function.h: Fix typo in comment.
3649         * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
3650
3651 2002-05-10  Roger Sayle  <roger@eyesopen.com>
3652
3653         * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
3654         into the equivalent (signed char)c > 0.
3655
3656 2002-05-10  Janis Johnson  <janis187@us.ibm.com>
3657
3658         * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
3659         (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
3660         (struct prefetch_info): Fix spelling of member bytes_accessed.
3661         (emit_prefetch_instructions): Make dump messages more regular;
3662         restructure code to add more dump messages; use new macros for
3663         heuristics. (There are no code generation changes in any of this).
3664
3665 2002-05-10  David S. Miller  <davem@redhat.com>
3666
3667         * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
3668         (struct rtx_def): Update unchanging flag comment.
3669         * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
3670         * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
3671         to be handled to INSN too.
3672         (dbr_schedule): Likewise.
3673         * resource.c (next_insn_no_annul): Likewise.
3674
3675         * cse.c (rtx_cost): Remove multiplication by power of 2 special
3676         casing.
3677
3678 2002-05-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3679
3680         * doc/install.texi (Specific, *-*-solaris2*): Update passus on
3681         setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
3682         (possibly) work around broken /bin/sh.
3683
3684 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3685
3686         * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
3687         . as N64/N32 libgcc_s.so subdirs.
3688
3689 2002-05-10  David S. Miller  <davem@redhat.com>
3690
3691         * config/sparc/sparc.md: Use define_constants for unspec numbers.
3692
3693         * rtl.h (struct rtx_def): Document unchanging and in_struct flags
3694         more accurately.
3695         (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
3696         comment.
3697         (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
3698         * doc/rtl.texi: Document these macros more accurately.
3699         * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
3700         JUMP_INSNs and CALL_INSNs.
3701         * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
3702         or INSN_FROM_TARGET_P if the code is appropriate.
3703
3704 2002-05-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3705
3706         * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
3707         before using SYMBOL_REF_FLAG (addr).
3708
3709         * config/avr/avr-protos.h (avr_io_address_p): Declare.
3710         * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
3711         Make non-static.  Update all callers.
3712         * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
3713         New insns to clear/set/test a single bit in I/O address space.
3714
3715 2002-05-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3716
3717         * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
3718
3719 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3720
3721         * Makefile.in: Update.
3722         * c-common.c (flag_iso, flag_undef, cb_register_builtins,
3723         builtin_define_std): New.
3724         (c_common_init): Register CPP builtins callback.
3725         * c-common.h (flag_iso, flag_undef): New.
3726         * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
3727         * c-lex.c: Don't include target.h.
3728         (cb_register_builtins): Move to c-common.c.
3729         (init_c_lex): Don't register hook here.
3730         * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
3731         (cpp_define, cpp_assert): Remove.
3732         * gcc.c (cc1_options): Pass -undef to front end.
3733         * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
3734         (TARGET_INITIALIZER): Update.
3735         * target.h (struct cpp_reader): Don't predeclare.
3736         (struct gcc_target): Remove cpp builtin hook.
3737         * tree.c (default_register_cpp_builtins): Remove.
3738 doc:
3739         * tm.texi: Update.
3740
3741 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3742
3743         * cppexp.c (_cpp_expand_op_stack): Set op_limit.
3744
3745 2002-05-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3746
3747         * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
3748         (SHLIB_LINK, SHLIB_INSTALL): Adjust.
3749
3750 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
3751
3752         * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
3753         * config/sparc/libgcc-sparc-glibc.ver: New file.
3754         * config/cris/t-linux (SHLIB_MAPFILES): Remove.
3755         * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
3756
3757 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
3758
3759         PR target/6429
3760         * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
3761         * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
3762         shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
3763         base multilibs.
3764         * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
3765         * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
3766         * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
3767         * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
3768
3769 2002-05-09  Richard Henderson  <rth@redhat.com>
3770
3771         * config/ia64/ia64.md: Use define_constants for unspec numbers.
3772         * config/ia64/ia64.c: Likewise.
3773
3774 2002-05-09  Richard Sandiford  <rsandifo@redhat.com>
3775
3776         * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
3777         (save_restore_insns): Likewise.
3778         (mips_expand_prologue, mips_expand_epilogue): Update callers.
3779         (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
3780
3781 Thu May  9 11:50:09 2002  Jeffrey A Law  (law@redhat.com)
3782
3783         * athlon.md, k6.md, pentium.md, ppro.md): New files.
3784         * i386.md: Move scheduling information into new files.
3785
3786         * i386.md (type attribute): Add "rotate" for rotate insns.
3787         (rotate insns): Set type to "rotate".
3788         (various attributes and function units): Treat rotate like shift.
3789         (pent_pair attribute): Only rotates by one bit position are
3790         pairable.
3791         (sbb insns): Explicitly set pent_pair attribute on a couple
3792         that were missing it.
3793
3794 Thu May  9 18:29:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
3795
3796         * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
3797         make sure that buffer starts on odd word address.
3798         (sh_va_arg): Skip odd fp registers when reading a double precision
3799         value.
3800
3801 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3802
3803         * tree.h (preserve_data, object_permanent_p, type_precision):
3804         Remove.
3805
3806 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3807
3808         * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
3809         * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
3810 doc:
3811         * cpp.texi: Update for removal of obsolete features.
3812
3813 Thu May  9 07:46:18 2002  Jan Hubicka <jh@suse.cz>
3814                           Jeffrey A Law  (law@redhat.com)
3815
3816         * i386.c (ia32_use_dfa_pipeline_interface): New function.  Use
3817         the DFA interface for Pentium processors.
3818         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
3819         (attr_pent_pair, ix86_pent_find_pair): Remove.
3820         (ix86_sched_reorder_pentium): Remove.
3821         (ix86_sched_reorder): Remove reordering for Pentium.
3822         * i386.md (Pentium scheduling): Rewrite using DFA description.
3823
3824 Thu May  9 14:55:39 CEST 2002  Jan Hubicka  <jh@suse.cz>
3825
3826         * cfganal.c (can_fallthru): Fix fast path.
3827         * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
3828         with edges to the next block.
3829
3830 Thu May  9 14:52:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
3831                                Pavel Nejedly  <bim@atrey.karlin.mff.cuni.cz>
3832
3833         * final.c (end_final): Use C trees to output data structures for profiling.
3834
3835         * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
3836         (profile.o): New dependency profile.h
3837         (final.o): New dependency profile.h
3838         * profile.h: New file. New global structure profile_info.
3839         * final.h (count_edges_instrumented_now): Declare.
3840         (current_function_cfg_checksum): Declare.
3841         (function_list): New structure.
3842         (functions_head, functions_tail): New static variables.
3843         (end_final): Emits more data, removed some -ax stuff.
3844         (final): Stores function names and chcksums.
3845         * gcov-io.h (__write_gcov_string): New function.
3846         (__read_gcov_string): New function.
3847         * gcov.c (read_profile): New function.
3848         (create_program_flow_graph): Uses read_profile instead of reading
3849         da_file.
3850         (read_files): Removed da_file checking, it's done by read_profile now.
3851         * libgcc2.c (bb_function_info): New structure.
3852         (bb): New field in structure, removed some -ax stuff.
3853         (__bb_exit_func): Changed structure of da_file.
3854         * profile.c (count_edges_instrumented_now): New global variable.
3855         (current_function_cfg_checksum): New global variable.
3856         (max_counter_in_program): New global variable.
3857         (get_exec_counts): New function.
3858         (compute_checksum): New function.
3859         (instrument_edges): Sets count_edges_instrumented_now.
3860         (compute_branch_probabilities): Uses get_exec_counts instead of
3861         reading da_file.
3862         (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
3863         (init_branch_prob): Removed da_file checking, done in get_exec_counts
3864         now.
3865         (end_branch_prob): Removed da_file checking, done in get_exec_counts
3866         now.
3867         * gcov.texi: Updated information about gcov file format.
3868
3869 2002-05-09  Kazu Hirata  <kazu@cs.umass.edu>
3870
3871         * sbitmap.c: Fix formatting.
3872         * scan.c: Likewise.
3873         * scan-decls.c: Likewise.
3874         * sched-deps.c: Likewise.
3875         * sched-ebb.c: Likewise.
3876         * sched-rgn.c: Likewise.
3877         * sched-vis.c: Likewise.
3878         * sdbout.c: Likewise.
3879         * sibcall.c: Likewise.
3880         * simplify-rtx.c: Likewise.
3881         * ssa.c: Likewise.
3882         * ssa-ccp.c: Likewise.
3883         * ssa-dce.c: Likewise.
3884         * stmt.c: Likewise.
3885         * stor-layout.c: Likewise.
3886         * stringpool.c: Likewise.
3887
3888 2002-05-09  David S. Miller  <davem@redhat.com>
3889
3890         * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
3891
3892 2002-05-07  David S. Miller  <davem@redhat.com>
3893
3894         * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
3895         * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
3896         * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
3897         library implementation clobbers the output before the inputs
3898         are fully consumed, use stack temporary for the output.
3899
3900 2002-05-09  Jason Thorpe  <thorpej@wasabisystems.com>
3901
3902         * config/netbsd.h (CPP_SPEC): Remove.
3903         * config/i386/netbsd-elf.h (CPP_SPEC): Define.
3904         * config/i386/netbsd.h (CPP_SPEC): Define.
3905         * config/ns32k/netbsd.h (CPP_SPEC): Define.
3906         * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
3907         * config/sparc/netbsd.h (CPP_SPEC): Define.
3908         * config/vax/netbsd.h (CPP_SPEC): Define.
3909
3910 2002-05-08  Kazu Hirata  <kazu@cs.umass.edu>
3911
3912         * read-rtl.c: Fix formatting.
3913         * real.c: Likewise.
3914         * recog.c: Likewise.
3915         * regclass.c: Likewise.
3916         * regmove.c: Likewise.
3917         * reg-stack.c: Likewise.
3918         * reload1.c: Likewise.
3919         * reload.c: Likewise.
3920         * resource.c: Likewise.
3921         * rtlanal.c: Likewise.
3922         * rtl.c: Likewise.
3923         * rtl-error.c: Likewise.
3924
3925 2002-05-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3926
3927         * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
3928         * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
3929
3930 2002-05-08  Bernd Schmidt  <bernds@redhat.com>
3931
3932         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
3933         use __SSE2__ macro instead.
3934         * config/i386/xmmintrin.h: Likewise.
3935
3936 2002-05-08  Janis Johnson  <janis187@us.ibm.com>
3937
3938         * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
3939         and use it in all invocations of these macros.  Clean up comments.
3940         * rtl.c (rtl_check_failed_flag): Add an argument for the name
3941         of the flag access macro whose check failed.
3942         * doc/rtl.texi (Flags): Document additional flag uses.
3943
3944 2002-05-08  Robert Spier <rspier@pobox.com>
3945             Neil Booth  <neil@daikokuya.demon.co.uk>
3946
3947         PR preprocessor/6521
3948         * cppfiles.c (handle_missing_header): Don't do anything
3949         different for <> includes.
3950 doc:
3951         * cppopts.texi: Update documentation for -MG.
3952
3953 2002-05-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3954
3955         * cpplex.c (cpp_interpret_charconst): Truncate as well as
3956         sign-extend.
3957 doc:
3958         * cpp.texi: Clarify multichar charconst valuation.
3959
3960 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
3961
3962         * doc/invoke.texi: Document -mwindiss option.
3963
3964 2002-05-08  Jason Merrill  <jason@redhat.com>
3965
3966         * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
3967
3968         * dwarf2out.c (gen_type_die): Abort on broken recursion.
3969
3970         PR c++/6381
3971         * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
3972         REAL_CST.
3973
3974 2002-05-08  Nick Clifton  <nickc@cambridge.redhat.com>
3975
3976         * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
3977         little-endian multilibs to override arm/thumb multilibs.
3978         Do not build hardware floating point multilibs, nor apcs-26
3979         multilibs for the Thumb.
3980
3981 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
3982
3983         PR c/6569.
3984         * varasm.c (mark_weak): New function.
3985         (merge_weak): Use it.  Do not call declare_weak.
3986         (declare_weak): Use merge_weak.
3987
3988 Wed May  8 13:12:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
3989
3990         * cse.c (dead_libcall_p): Update counts.
3991         (delete_trivially_dead_insns): Update call of dead_libcall_p.
3992
3993 Wed May  8 11:08:50 CEST 2002  Jan Hubicka  <jh@suse.cz>
3994
3995         * cfglayout.c (function_tail_eff_head): Rename to ...
3996         (function_footer): ... this one.
3997         (unlink_insn_chain): New functions.
3998         (label_for_bb): Only call block_label and emit debug message.
3999         (record_effective_endpoints): Actually unlink the headers and footers.
4000         (fixup_reorder_cahin): Re-insert the unlinked sequences.
4001         (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
4002         * cfglayout.h (struct reorder_block_def): New fields footer/header;
4003         remove eff_head/eff_end.
4004         * rtl.h (set_first_insn): Declare.
4005         * emit-rtl.c (set_first_insn): New function.
4006
4007         * cfglayout.c (fixup_reorder_chain): Dump duplicated
4008         (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
4009         cfg_layout_duplicate_bb): New global function.
4010         (duplicate_insn_chain): New static function.
4011         * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
4012         cfg_layout_duplicate_bb): Declare.
4013         (struct reorder_block_def): Add "original" field.
4014         * emit-rtl.c (emit_copy_of_insn_after): New function.
4015         * rtl.h (emit_copy_of_insn_after): Declare.
4016
4017         * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
4018         (fixup_reorder_chain): properly handle edges to exit block.
4019
4020 Wed May  8 11:10:31 CEST 2002  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4021                                Jan Hubicka  <jh@suse.cz>
4022
4023         * basic-block.h (note_prediction_to_br_prob): declare.
4024         * c-semantics.c: Inlucde predit.h
4025         (expand_stmt): predict GOTO_STMT as not taken.
4026         * cfgcleanup.c: (delete_unreachable_blocks): Make global.
4027         (cleanup_cfg): Do not free tail_recursion_list.
4028         * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
4029         (flow_delete_block): Kill predictions past end of basic block.
4030         * output.h (delete_unreachable_blocks): Declare.
4031         * predict.c (predicted_by_p, process_note_predictions,
4032         process_note_prediction, last_block_p): New function.
4033         (estimate_probability): Bypass loop on PRED_CONTINUE;
4034         do not handle noreturn heuristics; kill PRED_RETURN; add
4035         PRED_EARLY_RETURN.
4036         * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
4037         PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
4038         * predict.h (IS_TAKEN): New constant.
4039         * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
4040         * rtl.c (NOTE_INSN_PREDICTION): New.
4041         * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
4042         New macro.
4043         (insn_note): add NOTE_INSN_PREDICTION.
4044         * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
4045         CFG; free tail_recursion_label_list.
4046         * stmt.c: Include predict.h;
4047         (return_prediction): New.
4048         (expand_value_return): Use it.
4049         * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
4050
4051 2002-05-08  Richard Sandiford  <rsandifo@redhat.com>
4052
4053         * config/mips/mips.md: Name the unspecs with define_constant.
4054         (*HILO_delay): Rename to 'hilo_delay' (no star).
4055         (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
4056         (reload_outdi, reload_outsi): Likewise.
4057
4058 2002-05-07  Kazu Hirata  <kazu@cs.umass.edu>
4059
4060         * toplev.c: Fix formatting.
4061
4062 2002-05-07  Janis Johnson  <janis187@us.ibm.com>
4063
4064         * config.in (ENABLE_RTL_FLAG_CHECKING): New.
4065         * configure.in (ac_rtlflag_checking): New.
4066         * doc/install.texi (--enable-checking): Document RTL flag checking.
4067
4068 2002-05-07  Neil Booth  <neil@daikokuya.demon.co.uk>
4069
4070         * c-common.c (c_common_init): Set options->unsigned_wchar.
4071         * cppinit.c (cpp_create_reader): Default unsigned_wchar,
4072         group target dependencies.
4073         (init_builtins, cpp_handle_option): Update.
4074         * cpplex.c (cpp_interpret_charconst): Update.
4075         * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
4076         signed_char to unsigned_char, group target dependencies.
4077         * defaults.h (WCHAR_UNSIGNED): Remove.
4078         * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
4079 config:
4080         * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
4081         i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
4082         i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
4083         i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
4084         sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
4085 doc:
4086         * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
4087
4088 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
4089
4090         * fixinc/inclhack.def (windiss_math1): New fix.
4091         (windiss_math2): Likewise.
4092         (windiss_valist): Likewise.
4093         * fixinc/fixincl.x: Regenerated.
4094
4095 2002-05-07  Andreas Jaeger  <aj@suse.de>
4096
4097         * genautomata.c (output_internal_min_issue_delay_func): Add
4098         ATTRIBUTE_UNUSED to avoid warning with empty dfa.
4099         (output_internal_trans_func): Likewise.
4100
4101 Tue May  7 10:06:22 2002  Jeffrey A Law  (law@redhat.com)
4102
4103         * pa.c (hppa_profile_hook): Use force_reg to get the address
4104         of the profile hook into an appropriate pseudo register.
4105
4106 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
4107
4108         * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
4109         (LINK_START_SPEC): Handle it.
4110         (LINK_OS_SPEC): Likewise.
4111         (CPP_SPEC): Likewise.
4112         (STARTFILE_SPEC): Likewise.
4113         (LIB_SPEC): Likewise.
4114         (ENDFILE_SPEC): Likewise.  Do not assume crtsavres.o is used on
4115         all platforms.
4116         (CRTSAVRES_DEFAULT_SPEC): New macro.
4117         (LIB_WINDISS_SPEC): New macro.
4118         (CPP_OS_WINDISS_SPEC): Likewise.
4119         (STARTFILE_WINDISS_SPEC): Likewise.
4120         (ENDFILE_WINDISS_SPEC): Likewise.
4121         (LINK_START_WINDISS_SPEC): Likewise.
4122         (LINK_OS_WINDISS_SPEC): Likewise.
4123         * config/rs6000/windiss.h: New file.
4124
4125 2002-05-07  Aldy Hernandez  <aldyh@redhat.com>
4126
4127         * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
4128
4129 2002-05-06  David S. Miller  <davem@redhat.com>
4130
4131         * config/sparc/sparc.md (shift insns): Do not mask off
4132         second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
4133         take care of it.
4134
4135 2002-05-06  Richard Henderson  <rth@redhat.com>
4136
4137         PR c++/6212
4138         * expr.c (highest_pow2_factor_for_type): New.
4139         (expand_assignment): Use it.
4140
4141 2002-05-06  Aldy Hernandez  <aldyh@redhat.com>
4142
4143         * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
4144         unspec_volatile.
4145         ("altivec_mfvscr"): Same.
4146
4147 2002-05-06  Janis Johnson  <janis187@us.ibm.com>
4148
4149         * rtl.h (struct rtx_def): Update comments.
4150         (RTL_FLAG_CHECK[12345678]): New.  (rtl_check_failed_flag): Declare.
4151         (RTL_FLAG): New.  (CLEAR_RTX_FLAGS): New.  (flag access macros): Use
4152         RTL_FLAG_CHECK macros with list of expected RTL codes.
4153         * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
4154         (rtl_check_failed_flag): New.
4155         * reload1.c (reload): Use REG macro before changing rtx to MEM.
4156         (reload_cse_noop_set_p): Check rtx code before using access macro.
4157         * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
4158         before using access macro.
4159
4160 2002-05-06  Janis Johnson  <janis187@us.ibm.com>
4161
4162         * doc/rtl.texi (Flags): Update to reflect current usage.
4163
4164 2002-05-06  Roger Sayle  <roger@eyesopen.com>
4165
4166         PR opt/3995
4167         * fold-const.c (sign_bit_p): New function.
4168         (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
4169         (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
4170         Reapply fold when converting (A & C) == C into (A & C) != 0.
4171         (fold_binary_op_with_conditional_arg): Fix typo in comment.
4172
4173 2002-05-07  Neil Booth  <neil@daikokuya.demon.co.uk>
4174
4175         * c-common.c (warn_multichar): New.
4176         (c_common_init): Set CPP's warn_multichar.
4177         * c-common.h (warn_multichar): New.
4178         * c-decl.c (warn_multichar): Remove.
4179         * c-lex.c (lex_charconst): Update.
4180         * c-tree.h (warn_multichar): Remove.
4181         * cppexp.c (eval_token): Sign-extend charconst value.
4182         * cppinit.c (cpp_create_reader): Set warn_multichar.
4183         * cpplex.c (cpp_interpret_charconst): Don't sign-extend
4184         each character.  Update prototype.  Sign-extend the result.
4185         * cpplib.h: Fix conditions.
4186         (struct cpp_options): Add new warning flag.
4187         (cpp_interpret_charconst): Update prototype.
4188 doc:
4189         * cpp.texi: Update documentation.
4190
4191 2002-05-06  Vladimir Makarov  <vmakarov@redhat.com>
4192
4193         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
4194         Fix typo in usage of allof instead of unit.
4195
4196 2002-05-06  Richard Henderson  <rth@redhat.com>
4197
4198         * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
4199         and any jump or call for IN.
4200
4201 2002-05-06  Bernd Schmidt  <bernds@redhat.com>
4202
4203         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
4204         -msse2.
4205         * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
4206
4207 2002-05-06  Roger Sayle  <roger@eyesopen.com>
4208
4209         * fold-const.c (lshift-double): Cast the high word to an unsigned
4210         HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
4211         (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
4212         avoid compiler warning.  (fold): Remove redundant code from
4213         BIT_AND_EXPR as integer operands are canonicalized to be arg1.
4214
4215 2002-05-06  Jeff Law  <law@redhat.com>
4216
4217         * pa-protos.h (hppa_fpstore_bypass_p): Declare.
4218         * pa.c (pa_adjust_cost): Remove all true dependency cost
4219         adjustments.  Also remove support for non-DFA scheduling.
4220         * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
4221         to adjust true dependency costs.  Update various comments.
4222         (7100lc, 7200, 7300 scheduling): Simplify by combining the
4223         FP ALU & MPY units into a single unit.
4224
4225 2002-05-06  Catherine Moore  <clm@redhat.com>
4226
4227         * config/v850/v850.c (compute_register_save_size): Make sure
4228         to count all of the registers that will be saved.
4229
4230 Mon May  6 18:03:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
4231
4232         * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
4233
4234 2002-05-06  David S. Miller  <davem@redhat.com>
4235
4236         * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
4237         allow result to overlap input operands in memory.
4238
4239 2002-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4240
4241 doc:
4242         * cpp.texi: Update multichar charconst docs.
4243
4244 2002-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4245
4246         * cpplex.c (cpp_interpret_charconst): Sign-extend each
4247         character.  Don't ignore excess characters.  Treat
4248         multicharacter character constants as signed.
4249         (cpp_parse_escape): Clarify diagnostic.
4250
4251 2002-05-05  Jakub Jelinek  <jakub@redhat.com>
4252
4253         * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
4254         use add instead of shift.
4255         (ashldi3_sp64): Likewise.
4256         (ashlsi3_const1, ashldi3_const1): Remove.
4257         * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
4258         * config/sparc/sparc.c (const1_operand): New.
4259
4260 2002-05-05  Jason Thorpe  <thorpej@wasabisystems.com>
4261
4262         * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
4263
4264 2002-05-05  Jakub Jelinek  <jakub@redhat.com>
4265
4266         PR target/6561
4267         * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
4268
4269 2002-05-05  Richard Henderson  <rth@redhat.com>
4270
4271         * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
4272         memory latency adjustments.
4273         (alpha_variable_issue): Remove.
4274         (alpha_use_dfa_pipeline_interface): New.
4275         (alpha_multipass_dfa_lookahead): New.
4276         * config/alpha/alpha.md: Remove define_function_unit scheduling;
4277         include new dfa scheduling.
4278         (attr type): Add none.
4279         (blockage): Use it.
4280         * config/alpha/ev4.md: New.
4281         * config/alpha/ev5.md: New.
4282         * config/alpha/ev6.md: New.
4283
4284 2002-05-05  David S. Miller  <davem@redhat.com>
4285
4286         * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
4287
4288 2002-05-05  Kazu Hirata  <kazu@cs.umass.edu>
4289
4290         * cse.c: Fix formatting.
4291         * emit-rtl.c: Likewise.
4292
4293 2002-05-05  Vladimir Makarov  <vmakarov@redhat.com>
4294
4295         * genautomata.c (initiate_states): Add additional guard to
4296         initialize `units_array'.
4297
4298 2002-05-05  Vladimir Makarov  <vmakarov@redhat.com>
4299
4300         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
4301         process_unit_to_form_the_same_automaton_unit_lists,
4302         form_the_same_automaton_unit_lists
4303         check_unit_distributions_to_automata): New prototypes and
4304         functions.
4305         (check_automata): Rename it into `check_automata_insn_issues'.
4306         (unit_decl): New fields `the_same_automaton_unit' and
4307         `the_same_automaton_message_reported_p'.
4308         (unit_decl_t): New typedef.
4309         (the_same_automaton_lists): New gloval variable.
4310         (unit_regexp, unit_set_el, units_array, units_cmp,
4311         output_get_cpu_unit_code_func): Use the typedef.
4312         (evaluate_max_reserv_cycles): Increment
4313         `description->max_insn_reserv_cycles'.
4314         (initiate_states): Don't increment `max_cycles_num'.
4315         (transform_insn_regexps): Move code around transformation of
4316         regexps from `generate'.
4317         (generate): Remove call of `transform_insn_regexps'.
4318         (expand_automata): Call `transform_insn_regexps' and
4319         `check_unit_distributions_to_automata'.  Check errors before
4320         `generate'.
4321
4322         * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
4323         automaton `ultrasparc3_1'.
4324
4325 2002-05-05  Neil Booth  <neil@daikokuya.demon.co.uk>
4326
4327         * c-common.c (c_common_init): Set up CPP arithmetic.
4328         * cppinit.c (cpp_create_reader): Default CPP arithmetic to
4329         something reasonable for the host.
4330         (sanity_checks): Add checks.
4331         (cpp_read_main_file): Call sanity_checks() from here...
4332         (cpp_post_options): ... not here.
4333         * cpplex.c (cpp_interpret_charconst): Get max_chars right.
4334         * cpplib.h (struct cpp_options): New member int_precision.
4335
4336 2002-05-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4337
4338         * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
4339
4340 2002-05-04  David S. Miller  <davem@redhat.com>
4341
4342         * config/sparc/linux.h, config/sparc/linux64.h
4343         (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
4344
4345         * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
4346         more RTX codes.
4347         * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
4348
4349         * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
4350         of SETs.
4351
4352 2002-05-05  Tim Josling  <tej@melbpc.org.au>
4353
4354         * treelang; New directory for new sample language treelang.
4355
4356 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4357
4358         * Makefile.in (c-lex.o): Update.
4359         * c-lex.c: Include target.h.
4360         (cb_register_builtins): New.
4361         (init_c_lex): Set builtins callback.
4362         * c-lex.h (cpp_define, cpp_assert): New prototypes.
4363         * cppinit.c (init_builtins): Use callback, including for
4364         GXX_WEAK.
4365         * cpplib.h (struct cpp_callbacks): New member.
4366         * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
4367         (TARGET_INITIALIZER): Update.
4368         * target.h (struct gcc_target): New hook.
4369         * tree.c (default_register_cpp_builtins): New.
4370         * tree.h (default_register_cpp_builtins): New.
4371 doc:
4372         * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
4373
4374 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4375
4376         * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
4377         (cpp_post_options): Move sanity checks to...
4378         (sanity_checks): New.
4379         * cpplex.c (maybe_read_ucs): Fix prototype.
4380         (parse_string, cpp_parse_escape): Cast for %c format specifier.
4381         * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
4382         if necessary.
4383
4384 2002-05-04  Bernd Schmidt  <bernds@redhat.com>
4385
4386         * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
4387         builtins.  Use V2DI patterns instead of TI for logical operations.
4388         (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
4389         Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
4390         (ix86_expand_builtins): Change the pattern used for movntdq.
4391         * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
4392         sse2_nandv2di3): New patterns.
4393         (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
4394         on operands.
4395         (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
4396         (cvtdq2pd): Correct mode on operand 1.
4397         (sse2_umulsidi3): Describe without unspec.
4398         (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
4399         machine modes.
4400         (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
4401         (ashlv2di3): Likewise, from sse2_ashlv2di3.
4402         (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
4403         ashlv4si3, ashlv2di3): Use SImode for shift count.
4404         (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
4405         lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
4406         New patterns.
4407         * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
4408         New typedefs.
4409         (__m128i, __m128d): New macros.
4410         (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
4411         _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
4412         _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
4413         _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
4414         _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
4415         _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
4416         _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
4417         _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
4418         _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
4419         _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
4420         _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
4421         _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
4422         _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
4423         _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
4424         _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
4425         _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
4426         _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
4427         _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
4428         _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
4429         _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
4430         _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
4431         _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
4432         _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
4433         _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
4434         _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
4435         _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
4436         _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
4437         _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
4438         _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
4439         _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
4440         _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
4441         _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
4442         _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
4443         _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
4444         _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
4445         _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
4446         _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
4447         functions.
4448         (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
4449         _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
4450
4451 2002-05-04  Kazu Hirata  <kazu@cs.umass.edu>
4452
4453         * dwarf2out.c: Fix formatting.
4454         * varasm.c: Likewise.
4455
4456 2002-05-04  David Edelsohn  <edelsohn@gnu.org>
4457
4458         PR c/6543
4459         * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
4460         clobber and use result as temporary value.
4461
4462 Sat May  4 13:20:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
4463
4464         * expr.c (force_operand): Use expand_simple_* to handle more
4465         cases.
4466
4467 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4468
4469         * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
4470         and sign-extension.
4471         (lex_charconst): Update for change in prototype of
4472         cpp_interpret_charconst.  Extend from cppchar_t to HOST_WIDE_INT
4473         appropriately.
4474         * cpphash.h (BITS_PER_CPPCHAR_T): New.
4475         * cppinit.c (cpp_create_reader): Initialize them for no
4476         change in semantics.
4477         (cpp_post_options): Add sanity checks.
4478         * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
4479         and truncation issues.  Calculate in type cppchar_t.
4480         (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
4481         (cpp_interpret_charconst): Calculate in type cppchar_t.  Handle
4482         run-time dependent precision correctly.  Return whether the
4483         result is signed or not.
4484         * cpplib.c (dequote_string): Use cppchar_t; update.
4485         * cpplib.h (cppchar_signed_t): New.
4486         struct cpp_options): New precision members.
4487         (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
4488         * cppexp.c (eval_token): Update.
4489
4490 2002-05-03  David S. Miller  <davem@redhat.com>
4491
4492         * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
4493         * config/sparc/sparc.c (sparc_rtx_costs): New function
4494         implementing RTX_COSTS and CONST_COSTS.
4495         * config/sparc/sparc.h (CONST_COSTS): Delete.
4496         (RTX_COSTS_CASES): Define.
4497         (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
4498         the work.
4499
4500         * config/sparc/sparc.md (DFA schedulers): Split out...
4501         * config/sparc/cypress.md, config/sparc/hypersparc.md,
4502         config/sparc/sparclet.md, config/sparc/supersparc.md,
4503         config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
4504
4505         * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
4506         checks on it, always defined for Sparc.
4507
4508         * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
4509         Tweak, and add more detailed comments.
4510
4511 2002-05-03  Zack Weinberg  <zack@codesourcery.com>
4512
4513         * Re-apply patch accidentally reverted with
4514         DFA scheduler merge: remove all rules and variables to slurp
4515         source files out of libiberty and rebuild them with HOST_CC.
4516         ($(HOST_PREFIX_1)varray.o): New rule.
4517         (genattrtab rule): Word wrap.
4518
4519 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
4520
4521         * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
4522         (CPP_SUBTARGET_SPEC): Define.
4523         (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
4524         cpp_subtarget specs.
4525         (CPP_SPEC): Redefine to include %(cpp_subtarget).
4526
4527 2002-05-03  David S. Miller  <davem@redhat.com>
4528
4529         * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
4530         * target.h (struct gcc_target): Delete cycle_display member.
4531
4532         * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
4533         (rtx_needs_barrier): Delete reference to cycle_display unspec.
4534         (ia64_sched_reorder2): Mention need for cycle display handling
4535         once such notes exist.
4536
4537 2002-05-03  Richard Henderson  <rth@redhat.com>
4538
4539         * real.c (etoasc): Strip most trailing zeros for clarity.
4540         * sched-vis.c: Include real.h.
4541         (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
4542         * Makefile.in (sched-vis.o): Add real.h.
4543
4544 2002-05-03  David S. Miller  <davem@redhat.com>
4545
4546         * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
4547         no longer needed.
4548
4549 2002-05-03  Aldy Hernandez  <aldyh@redhat.com>
4550
4551         * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
4552         when we get an out of range literal.
4553         (altivec_expand_ternop_builtin): Same.
4554         (altivec_expand_unop_builtin): Same.
4555         (altivec_expand_builtin): Same, for dss.
4556         (altivec_expand_builtin): Use trees instead of rtl when
4557         determining literal argument validity.
4558
4559 2002-05-03  David S. Miller  <davem@redhat.com>
4560
4561         Delete cycle display scheduling hook.
4562         * config/ia64/ia64.c (ia64_cycle_display,
4563         TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
4564         (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
4565         and use emit_insn_before instead of ia64_emit_insn_before.
4566         * config/ia64/ia64.md (unspec usage): Delete cycle display.
4567         (cycle_display): Delete insn pattern.
4568         * config/sparc/sparc.md (unspec usage): Delete cycle display.
4569         (cycle_display): Delete insn pattern.
4570         * config/sparc/sparc.c (sparc_cycle_display,
4571         TARGET_SCHED_CYCLE_DISPLAY): Delete.
4572         * doc/md.texi (cycle_display): Don't mention.
4573         * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
4574
4575 2002-05-03  Richard Henderson  <rth@redhat.com>
4576
4577         * recog.c (store_data_bypass_p, if_test_bypass_p): New.
4578         * recog.h: Declare them.
4579
4580         * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
4581         * config/sparc/sparc.md: Use store_data_bypass_p instead.
4582         * config/sparc/sparc-protos.h: Update.
4583
4584 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
4585
4586         * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
4587         -D__arch64__.  Add -D_LP64.
4588         (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
4589         from sparc.h.
4590         (CPP_ARCH64_SPEC): Likewise.
4591         (NO_BUILTIN_PTRDIFF_TYPE): Undef.
4592         (NO_BUILTIN_SIZE_TYPE): Undef.
4593
4594 2002-05-03  Vladimir Makarov  <vmakarov@redhat.com>
4595
4596         * genautomata.c (min_issue_delay_pass_states): Change return type
4597         in the prototype.
4598         (min_issue_delay_pass_states): Change the algorithm.
4599         (min_issue_delay): Set up min_insn_issue_delay for the state.
4600         (output_min_issue_delay_table): Interchange the nested loops and
4601         and initiate min_insn_issue_delay for states.
4602
4603 Fri May  3 22:59:15 CEST 2002  Jan Hubicka  <jh@suse.cz>
4604
4605         * cfgcleanup.c (try_optimize_cfg):  Call merge_block only when
4606         jump is simplejump.
4607
4608 Fri May  3 22:53:37 CEST 2002  Jan Hubicka  <jh@suse.cz>
4609
4610         * i386.c  (expand_movstr, expand_clrstr): Fix inline-all-stringops
4611         sequence.
4612
4613 2002-05-03  Richard Henderson  <rth@redhat.com>
4614
4615         PR opt/6534
4616         * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
4617         noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
4618         noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
4619         code before JUMP, not EARLIEST.
4620
4621 2002-05-03  Joseph S. Myers  <jsm28@cam.ac.uk>
4622
4623         * c-format.c (check_format_info_main): Don't check for presence of
4624         parameter for * width until after operand number has been read,
4625         and only check for it if format parameters are available.
4626         Fixes PR c/6547.
4627
4628 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
4629
4630         * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
4631         (LINK_SPEC): Undef before defining.
4632
4633 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
4634
4635         PR preprocessor/6489
4636         * tradcpp.c (fixup_newlines): New.
4637         (main, finclude): Use it.
4638
4639 2002-05-03  Richard Sandiford  <rsandifo@redhat.com>
4640
4641         * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
4642         * config/mips/mips.c (mips_unique_section): Strip encoding from
4643         decl name.
4644
4645 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
4646
4647         * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
4648         mode.
4649
4650 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4651
4652         * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
4653         (Specific): Removed buildstats references.
4654         (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
4655         (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
4656         Accomodate Solaris versions beyond 8.
4657         (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
4658         (Specific, *-*-solaris2.8): Removed, obsolete.
4659
4660 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
4661
4662         PR target/6542
4663         * config/sparc/sparc.h (leaf_reg_remap): Remove const.
4664         (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
4665         fill leaf_reg_remap with identity.
4666         * config/sparc/sparc.c (leaf_reg_remap): Remove const.
4667
4668 2002-05-03  Kazu Hirata  <kazu@cs.umass.edu>
4669
4670         * config/h8300/crti.asm: Remove trailing spaces.
4671         * config/h8300/h8300.c: Likewise.
4672         * config/h8300/lib1funcs.asm: Likewise.
4673
4674 2002-05-02  Jason Merrill  <jason@redhat.com>
4675
4676         * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
4677         * c-decl.c (c_init_decl_processing): Use it.
4678         * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
4679         * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
4680         * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
4681
4682 2002-05-03  Kazu Hirata  <kazu@cs.umass.edu>
4683
4684         * regrename.c: Fix formatting.
4685         * tree.c: Likewise.
4686
4687 Fri May  3 13:34:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
4688
4689         * i386.md (attribute memory): Handle compares properly.
4690
4691 Fri May  3 10:51:38 CEST 2002  Jan Hubicka  <jh@suse.cz>
4692
4693         * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
4694         to none.
4695
4696 2002-05-02  Kazu Hirata  <kazu@cs.umass.edu>
4697
4698         * function.c: Fix formatting.
4699
4700 2002-05-02  Jan Hubicka  <jh@suse.cz>
4701
4702         * haifa-sched.c (schedule_insn): Print table of instructions and
4703         reservations.
4704         (sched_block): Do not print ready list at verbosity level 1.
4705         * sched-vis.c (print_insn): Make global.
4706         * sched-ebb.c (ebb_print_insn): Rename from...
4707         (print_insn): ... this one.
4708         * sched-int.h (print_insn): Declare
4709
4710 2002-05-02  Richard Henderson  <rth@redhat.com>
4711
4712         * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
4713         emitted by cycle_display.
4714
4715 2002-05-02  Loren J. Rittle  <ljrittle@acm.org>
4716
4717         * doc/install.texi (*-*-freebsd*): Update to latest status.
4718
4719 2002-05-02  Jakub Jelinek  <jakub@redhat.com>
4720
4721         PR target/6540
4722         * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
4723         * config/float-sparc.h: Assume 128-bit long double if
4724         __LONG_DOUBLE_128__ is defined.
4725
4726 2002-05-02  Vladimir Makarov  <vmakarov@redhat.com>
4727
4728         * genattrtab.c (write_function_unit_info): Add a dummy element
4729         when num_units == 0.
4730
4731 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4732
4733         * predict.c: (propagate_freq, estimate_bb_frequencies): Use
4734         TYPE_MODE (double_type_node) instead of DFmode.
4735
4736 Thu May  2 19:50:04 CEST 2002  Jan Hubicka  <jh@suse.cz>
4737
4738         * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
4739         jumps post reload.
4740         * toplev.c (rest_of_compilation): Revert Richard's patch.
4741
4742 2001-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4743
4744         * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
4745
4746 2002-05-02  Catherine Moore  <clm@redhat.com>
4747
4748         * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
4749
4750 2002-05-02  Kazu Hirata  <kazu@hxi.com>
4751
4752         * combine.c: Fix comment typos.
4753         * expr.c: Likewise.
4754         * genautomata.c: Likewise.
4755         * stmt.c: Likewise.
4756         * tree.h: Likewise.
4757
4758 2002-05-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4759
4760         * doc/install.texi: State GNAT version requirements.
4761
4762 2002-05-02  Nick Clifton  <nickc@cambridge.redhat.com>
4763
4764         * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
4765         of the frame pointer or arg pointer register which strict register
4766         checking is not enabled.
4767
4768 2002-05-02  Aldy Hernandez  <aldyh@redhat.com>
4769
4770         * gcc.dg/altivec-8.c: New.
4771
4772         * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
4773         PRE_INC and PRE_DEC for altivec modes.
4774
4775 2002-05-01  Bruce Korb  <bkorb@gnu.org>
4776
4777         * fixinc/check.tpl(set-writable): make sure the function exists first
4778         * fixinc/inclhack.def(alpha_assert): fix test_text
4779         * fixinc/tests/base/assert.h: add in missing result
4780
4781 2002-05-01  Jeff Law  <law@redhat.com>
4782
4783         * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
4784         'T' constraint.
4785
4786 2002-05-01  Joel Brobecker  <brobecker@gnat.com>
4787
4788         * dbxout.c (dbxout_type): Emit size information for range types,
4789         as well, but only when using GDB extensions.
4790
4791 2002-05-01  Richard Henderson  <rth@redhat.com>
4792
4793         * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
4794         target-independent gnu binutils date test.
4795
4796 2002-05-01  Richard Henderson  <rth@redhat.com>
4797
4798         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
4799         info before expunging the block.
4800
4801 2002-05-01  Jakub Jelinek  <jakub@redhat.com>
4802
4803         * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
4804         (cpp_post_options): ...but here.  Disable -dD, -dN and -dI when
4805         -M -or -MM is in effect.
4806
4807 2002-05-01  Zack Weinberg  <zack@codesourcery.com>
4808
4809         * config.gcc: Correct test of --enable-obsolete.  Obsolete all
4810         A29k configurations.
4811         * doc/install.texi: Update to match.
4812
4813 2002-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4814
4815         PR bootstrap/6514
4816         * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
4817         for duplicates. Always loop over whole list.
4818
4819 Wed May  1 10:32:37 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4820
4821         * reload.c (find_reloads, case 'p'): Set BADOP to 0.
4822
4823 2002-05-01      Joel Sherrill <joel@OARcorp.com>
4824
4825         * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
4826         support routines.
4827
4828 2002-05-01      Joel Sherrill <joel@OARcorp.com>
4829
4830         * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
4831
4832 2002-05-01  David Edelsohn  <edelsohn@gnu.org>
4833
4834         * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
4835         (nabs_nopower): Same.
4836         (floatdisf2): New pattern.
4837         (absdi2): Convert to define_insn_and_split.
4838         (nabsdi2): Same.
4839         (trunctfsf2): Same.
4840         (floatditf2): Same.
4841         (floatsitf2): Same.
4842         (fix_trunctfdi2): Same.
4843         (fix_trunctfsi2): Same.
4844
4845 2002-05-01  Joseph S. Myers  <jsm28@cam.ac.uk>
4846
4847         * doc/install.texi: Update Texinfo version requirement
4848         documentation.
4849
4850 2002-05-01  Jakub Jelinek  <jakub@redhat.com>
4851
4852         PR target/6512, PR target/5628
4853         * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
4854         when memory is not aligned.
4855         (movdf_insn_v9only_vis): Likewise.
4856         * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
4857         temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
4858         (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
4859
4860 2002-05-01  Aldy Hernandez  <aldyh@redhat.com>
4861
4862         * gcc.dg/altivec-7.c: New.
4863
4864         * config/rs6000/altivec.h: Cleanup.
4865
4866 2002-04-30  Aldy Hernandez  <aldyh@redhat.com>
4867
4868         * doc/invoke.texi (Option Summary): Add -mvrsave=.
4869         (RS/6000 and PowerPC Options): Document -mvrsave=.
4870
4871         * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
4872         (rs6000_altivec_vrsave_string): Same.
4873         (rs6000_override_options): Call rs6000_parse_vrsave_option.
4874         (rs6000_parse_vrsave_option): New.
4875         (rs6000_stack_info): Only generate vrsave instructions when
4876         TARGET_ALTIVEC_VRSAVE.
4877
4878         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
4879         (rs6000_altivec_vrsave_string): Define extern.
4880         (rs6000_altivec_vrsave): Same.
4881         (TARGET_ALTIVEC_VRSAVE): New.
4882
4883 2002-04-30  Richard Henderson  <rth@redhat.com>
4884
4885         PR opt/6516
4886         * toplev.c (rest_of_compilation): Don't run cross-jump before
4887         bb-reorder.
4888
4889 2002-04-30  Tom Rix  <trix@redhat.com>
4890
4891         * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
4892         check which_alternative.
4893
4894 2002-04-30  Kazu Hirata  <kazu@hxi.com>
4895
4896         * cpplex.c: Fix comment formatting.
4897         * function.c: Likewise.
4898         * integrate.c: Likewise.
4899         * regrename.c: Likewise.
4900         * sibcall.c: Likewise.
4901         * simplify-rtx.c: Likewise.
4902         * tree-inline.c: Likewise.
4903
4904 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4905
4906         * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
4907         hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
4908         hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
4909         hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
4910         * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
4911         * pa/x-ada: New file.  Define ADA_CFLAGS.
4912
4913 2002-04-30  Hans-Peter Nilsson  <hp@bitrange.com>
4914
4915         * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
4916         from MMIX_LAST_REGISTER_FILE_REGNUM.
4917         (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
4918         (struct machine_function): New member highest_saved_stack_register
4919         previously static variable in mmix.c.
4920         (MACHINE_DEPENDENT_REORG): Define.
4921         * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
4922         (MMIX_OUTPUT_REGNO): New.
4923         (mmix_target_asm_function_prologue): Move calculation of last used
4924         saved-stack-register into...
4925         (mmix_machine_dependent_reorg): New function.  Update to also handle
4926         !TARGET_ABI_GNU.
4927         (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
4928         register names, simplify somewhat by new variable regno.
4929         <case 'p'>: Remove fixed FIXME.  Always emit highest used saved
4930         register.
4931         (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
4932         emitting register names.
4933         (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
4934         (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
4935         Remove fixed FIXME.
4936         * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
4937         Declare.
4938
4939         * config/mmix/mmix.md ("divmoddi4"): Update head comment.
4940
4941 2002-04-30  Richard Henderson  <rth@redhat.com>
4942
4943         * config/sparc/sparc.c (emit_soft_tfmode_libcall,
4944         emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
4945         emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
4946         emit_tfmode_cvt): New.
4947         * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
4948         trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
4949         fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
4950         addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
4951         * config/sparc/sparc-protos.h: Update.
4952
4953 2002-04-30  Janis Johnson  <janis187@us.ibm.com>
4954
4955         * install.texi (Final install): Add to the list of info to include
4956         in a report of a successful bootstrap, and add link to 3.1 list.
4957
4958 Tue Apr 30 19:15:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
4959
4960         * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
4961         (mode): Add vector modes
4962         (i387): Kill attribute.
4963         (unit): New attribute.
4964         (length_immediate): Grok new types.
4965         (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
4966         (modrm): Use "unit".
4967         (memory): Handle MMX/SSE properly.
4968         (scheduling descriptions): Kill uses of fop1.
4969         (sse, mmx, fp patterns): Set type and mode properly.
4970
4971 Tue Apr 30 09:31:59 2002  Jeffrey A Law  (law@redhat.com)
4972
4973         * pa.c (override_options): Default to PA8000 scheduling.
4974         * doc/invoke.texi (HP-PA options): Mention newly added 7300
4975         scheduling parameter.
4976
4977         * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
4978         handling of double precision multiplies.
4979
4980         * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
4981         fpdiv and fpsqrt instructions.
4982         (7200 & 7300 scheduling): Fix typo in handling of
4983         store-load and store-store penalties.
4984
4985 2002-04-30  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4986
4987         * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
4988         mips.  Add two missing commas.
4989
4990 2002-04-30  Paolo Carlini  <pcarlini@unitus.it>
4991
4992         * doc/contrib.texi (Contributors): Update Paolo Carlini's
4993         and Benjamin Kosnik's entries.
4994
4995 2002-04-29  David S. Miller  <davem@redhat.com>
4996
4997         * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
4998         SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
4999         * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
5000         * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
5001
5002 2002-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5003
5004         * combine.c (find_split_point): Use gen_int_mode.
5005
5006 2002-04-29  Vladimir Makarov  <vmakarov@redhat.com>
5007
5008         Merging code from dfa-branch:
5009
5010         2002-04-24  Vladimir Makarov  <vmakarov@redhat.com>
5011
5012         * genautomata.c (output_reserv_sets): Fix typo.
5013
5014         2002-04-23  Vladimir Makarov  <vmakarov@redhat.com>
5015
5016         * genautomata.c (output_reserv_sets): Remove
5017         next_cycle_output_flag.
5018
5019         Thu Apr 18 08:57:06 2002  Jeffrey A Law  (law@redhat.com)
5020
5021         * sched-rgn.c (init_ready_list): Make the DFA code handle
5022         USE/CLOBBER insns in the same way as the traditional
5023         scheduler.
5024         (new_ready): Similarly..
5025
5026         2002-04-17  Vladimir Makarov  <vmakarov@redhat.com>
5027
5028         * haifa-sched.c (schedule_block): Change the DFA state only after
5029         issuing insn.
5030
5031         Wed Apr 17 15:38:36 2002  Jeffrey A Law  (law@redhat.com)
5032
5033         * pa.c (hppa_use_dfa_pipeline_interface): New function.
5034         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
5035         (override_options): Add PA7300 scheduling support.
5036         (pa_adjust_cost): Update various comments.  Properly
5037         handle anti and output dependencies when using the
5038         DFA scheduler.
5039         (pa_issue_rate): Add PA7300 scheduling support.
5040         (pa_can_combine_p): Call extract_insn before calling
5041         constrain_operands (taken from mainline tree).
5042         * pa.h (enum processor_type): Add PROCESSOR_PA7300.
5043         * pa.md (cpu attr): Add 7300.  Rewrite pipeline
5044         descriptions using DFA descriptions.  Add PA7300
5045         scheduling support.
5046
5047         2002-03-30  David S. Miller  <davem@redhat.com>
5048
5049         Add UltraSPARC-III DFA scheduling support.
5050         * config/sparc/sparc.md (define_attr type): Add fpcrmove.
5051         Update FP conditional move on register insn patterns to use it, as
5052         appropriate.
5053         (define_attr cpu): Add ultrasparc3.
5054         (define_attr us3load_type): New, update integer load patterns to
5055         set it, as appropriate.
5056         (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
5057         (rest): Add UltraSPARC3 scheduling description.
5058         * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
5059         (PROCESSOR_ULTRASPARC3): New.
5060         ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
5061         ({ASM,CPP}_CPU_SPEC): Likewise.
5062         (REGISTER_MOVE_COST): Likewise.
5063         (RTX_COSTS): Likewise.
5064         * config/sparc/sparc.c (sparc_override_options,
5065         sparc_initialize_trampoline, sparc64_initialize_trampoline,
5066         sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
5067         sparc_issue_rate): Likewise.
5068         * config/sparc/sol2.h: Likewise.
5069         * config/sparc/sol2-sld-64.h: Likewise.
5070         * config/sparc/linux64.h: Likewise.
5071
5072         2002-03-22  Vladimir Makarov  <vmakarov@redhat.com>
5073
5074         * doc/md.texi: Add comments about usage the latency time for the
5075         different dependencies and about case when two or more conditions
5076         in different define_insn_reservations returns TRUE for an insn.
5077
5078         * doc/md.texi: Add reference for automaton based pipeline
5079         description.
5080
5081         2002-03-04  Vladimir Makarov  <vmakarov@redhat.com>
5082
5083         * doc/passes.texi: Add missed information about genattrtab.
5084
5085         2002-03-01  Vladimir Makarov  <vmakarov@redhat.com>
5086
5087         * genautomata.c (output_automata_list_transition_code): Check
5088         automata_list on NULL.
5089
5090         2002-02-28  Vladimir Makarov  <vmakarov@redhat.com>
5091
5092         * genautomata.c (output_insn_code_cases,
5093         output_automata_list_min_issue_delay_code,
5094         output_automata_list_transition_code,
5095         output_automata_list_state_alts_code): Comment the functions.
5096
5097         2002-02-22  Vladimir Makarov  <vmakarov@redhat.com>
5098
5099         * genautomata.c (automata_list_el_t): New typedef.
5100         (get_free_automata_list_el,free_automata_list_el,
5101         free_automata_list, automata_list_hash, automata_list_eq_p,
5102         initiate_automata_lists, automata_list_start, automata_list_add,
5103         automata_list_finish, finish_automata_lists,
5104         output_insn_code_cases, output_automata_list_min_issue_delay_code,
5105         output_automata_list_transition_code,
5106         output_automata_list_state_alts_code, add_automaton_state,
5107         form_important_insn_automata_lists): New functions and prototypes.
5108         (insn_reserv_decl): Add members important_automata_list and
5109         processed_p.
5110         (ainsn): Add members important_p.
5111         (automata_list_el): New structure.
5112         (first_free_automata_list_el, current_automata_list,
5113         automata_list_table): New global variables.
5114         (create_ainsns): Initiate member important_p.
5115         (output_internal_min_issue_delay_func): Generate the switch and
5116         call output_insn_code_cases.
5117         (output_internal_trans_func, output_internal_state_alts_func):
5118         Ditto.
5119         (generate): Call initiate_automata_lists.
5120         (automaton_states): New global variable.
5121         (expand_automata): Call form_important_insn_automata_lists.
5122         (write_automata): Call finish_automata_lists.
5123
5124         2002-02-21  Vladimir Makarov  <vmakarov@redhat.com>
5125
5126         * genautomata.c (add_excls, add_presence_absence): Check that
5127         cpu units in the sets belong the same automaton.
5128
5129         * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
5130         about that cpu units in the sets belong the same automaton.
5131
5132         * doc/md.texi: Ditto.
5133
5134         2001-12-20  Naveen Sharma  <naveens@noida.hcltech.com>
5135                     Nitin Gupta  <niting@noida.hcltech.com>
5136
5137         * config/sh/sh.c (sh_use_dfa_interface): New function.
5138
5139         (sh_issue_rate): New Function.
5140         TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
5141         TARGET_SCHED_ISSUE_RATE: define.
5142
5143         * config/sh/sh.md: Add DFA based pipeline description for SH4.
5144
5145         (define_attr insn_class): New attribute used for DFA
5146          scheduling.
5147         (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
5148         (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
5149          cmpeqdi_t): Likewise.
5150
5151         (add,addc1,addsi3,subc,subc1,*subsi3_internal,
5152          negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
5153          ex_group.
5154         (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
5155
5156         2001-10-03  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
5157
5158         * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
5159         break.
5160
5161         2001-10-03  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
5162
5163         * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
5164         (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
5165         necessary.
5166         (output_dfa_start_func): Initiate new variable insn_codes_length,
5167         (write_automata): Output definition of the new variable.
5168
5169         2001-10-02  David S. Miller  <davem@redhat.com>
5170
5171         * haifa-sched.c (advance_one_cycle): New function.
5172         (schedule_block): Use it.
5173         (queue_to_ready): Use it, and also make sure to advance the DFA
5174         state on all stall cycles, not just those where insn_queue links
5175         are found.
5176
5177         2001-10-02  Richard Sandiford  <rsandifo@redhat.com>
5178
5179         * haifa-sched.c (max_issue): Remove last_p argument.  Only return
5180         non-zero if the highest-priority instruction could be scheduled.
5181         (choose_ready): Remove last argument from max_issue call.
5182
5183         2001-09-28  David S. Miller  <davem@redhat.com>
5184
5185         * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
5186         ultrasparc and 3 for other multi-issue sparcs.
5187
5188         2001-09-27  David S. Miller  <davem@redhat.com>
5189
5190         * config/sparc/sparc.md (cycle_display): New pattern.
5191         * config/sparc/sparc.c (sparc_cycle_display): New.
5192         (TARGET_SCHED_CYCLE_DISPLAY): Set it.
5193
5194         2001-09-25  David S. Miller  <davem@redhat.com>
5195
5196         Convert all of Sparc scheduling to DFA
5197         * config/sparc/sparc.md: Kill all define_function_unit
5198         directives and replace with DFA equivalent.
5199         * config/sparc/sparc.c (ultrasparc_adjust_cost,
5200         mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
5201         ultra_fpmode_conflict_exists, ultra_find_type,
5202         ultra_build_types_avail, ultra_flush_pipeline,
5203         ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
5204         ultrasparc_variable_issue, ultrasparc_sched_init,
5205         sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
5206         ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
5207         ultra_cur_hist, ultra_cycles_elapsed): Kill.
5208         (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
5209         ultrasparc_store_bypass_p): New.
5210         * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
5211         Declare.
5212
5213         2001-09-24  David S. Miller  <davem@redhat.com>
5214
5215         * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
5216         ready->vec[foo] not ready[foo].
5217
5218         2001-09-07  Vladimir Makarov  <vmakarov@redhat.com>
5219
5220         * doc/md.texi: Correct examples for define_insn_reservations
5221         `mult' and `div'.
5222
5223         2001-09-07  Vladimir Makarov  <vmakarov@redhat.com>
5224
5225         * genautomata.c (create_automata): Print message about creation of
5226         each automaton.
5227         (generate): Remove printing meease about creation of
5228         automata.
5229
5230         2001-09-05  David S. Miller  <davem@redhat.com>
5231
5232         * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
5233         * config/sparc/linux64.h: Likewise.
5234
5235         2001-08-31  Vladimir Makarov  <vmakarov@redhat.com>
5236
5237         * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
5238         schedule_block, sched_init, sched_finish): Add missed calls of
5239         use_dfa_pipeline_interface.
5240
5241         * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
5242         Ditto.
5243
5244         * sched-vis.c (get_visual_tbl_length): Ditto.
5245
5246         2001-08-27  Richard Henderson  <rth@redhat.com>
5247
5248         * genattr.c (main): Emit state_t even when not doing scheduling.
5249
5250         2001-08-27  Richard Henderson  <rth@redhat.com>
5251
5252         * genautomata.c (expand_automata): Always create a description.
5253
5254         2001-08-27  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
5255
5256         * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
5257         PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
5258         AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
5259         RTL constructions.
5260
5261         * genattr.c (main): New variable num_insn_reservations.  Increase
5262         it if there is DEFINE_INSN_RESERVATION.  Output automaton based
5263         pipeline hazard recognizer interface.
5264
5265         * genattrtab.h: New file.
5266
5267         * genattrtab.c: Include genattrtab.h.
5268         (attr_printf, check_attr_test, make_internal_attr,
5269         make_numeric_value): Move protypes into genattrtab.h.  Define them
5270         as external.
5271         (num_dfa_decls): New global variable.
5272         (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
5273         DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
5274         DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
5275         DEFINE_INSN_RESERVATION.  Call expand_automata and write_automata.
5276
5277         * genautomata.c: New file.
5278
5279         * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
5280
5281         * sched-int.h: (curr_state): Add the external definition for
5282         automaton pipeline interface.
5283         (haifa_insn_data): Add comments for members blockage and units.
5284
5285         * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
5286         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
5287         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
5288         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
5289         TARGET_SCHED_DFA_POST_CYCLE_INSN,
5290         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
5291         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
5292         macros.
5293         (TARGET_SCHED): Use the new macros.
5294
5295         * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
5296         dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
5297         first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
5298         dfa_bubble): New members in gcc_target.sched.
5299
5300         * haifa-sched.c (insert_schedule_bubbles_p): New variable.
5301         (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
5302         (insn_queue): Redefine it as pointer to array.
5303         (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
5304         INSN_QUEUE_SIZE.
5305         (max_insn_queue_index_macro_value): New variable.
5306         (curr_state, dfa_state_size, ready_try): New varaibles for
5307         automaton interface.
5308         (ready_element, ready_remove, max_issue): New function prototypes
5309         for automaton interface.
5310         (choose_ready): New function prototype.
5311         (insn_unit, blockage_range): Add comments.
5312         (unit_last_insn, unit_tick, unit_n_insns): Define them for case
5313         FUNCTION_UNITS_SIZE == 0.
5314         (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
5315         actual_hazard, potential_hazard): Add comments.
5316         (insn_cost): Use cost -1 as undefined value.  Remove
5317         LINK_COST_ZERO and LINK_COST_FREE.  Add new code for automaton
5318         pipeline interface.
5319         (ready_element, ready_remove): New functions for automaton
5320         interface.
5321         (schedule_insn): Add new code for automaton pipeline interface.
5322         (queue_to_ready): Add new code for automaton pipeline interface.
5323         Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
5324         (debug_ready_list): Print newline when the queue is empty.
5325         (max_issue): New function for automaton pipeline interface.
5326         (choose_ready): New function.
5327         (schedule_block): Add new code for automaton pipeline interface.
5328         Print ready list before scheduling each insn.
5329         (sched_init): Add new code for automaton pipeline interface.
5330         Initiate insn cost by -1.
5331         (sched_finish): Free the current automaton state and finalize
5332         automaton pipeline interface.
5333
5334         * sched-rgn.c: Include target.h.
5335         (init_ready_list, new_ready, debug_dependencies): Add new code for
5336         automaton pipeline interface.
5337
5338         * sched-vis.c: Include target.h.
5339         (get_visual_tbl_length): Add code for automaton interface.
5340         (target_units, print_block_visualization):  Add comments.
5341
5342         * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
5343         USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
5344         (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
5345         (getruntime.o, genautomata.o): New entries.
5346         (genattrtab.o): Add new dependency file genattrtab.h.
5347         (genattrtab): Add new dependencies.  Link it with `libm.a'.
5348         (getruntime.o, hashtab.o): New entries for canadian cross.
5349
5350         * doc/md.texi: Description of automaton based model.
5351
5352         * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
5353         Add comments.
5354         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
5355         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
5356         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
5357         TARGET_SCHED_DFA_POST_CYCLE_INSN,
5358         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
5359         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
5360         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
5361         hook descriptions.
5362         (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
5363         MAX_DFA_ISSUE_RATE): New macro descriptions.
5364
5365         * doc/contrib.texi: Add dfa based scheduler contribution.
5366
5367         * doc/gcc.texi: Add more information about genattrtab.
5368
5369 Mon Apr 29 17:19:10 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5370
5371         * reload1.c (eliminate_regs, case SUBREG): Fix typo in
5372         adjust_address_nv call.
5373
5374 2002-04-29  Janis Johnson  <janis187@us.ibm.com>
5375
5376         * doc/install.texi (Testing): Provide additional information, and
5377         a stronger encouragement, for running the testsuites.
5378
5379 2002-04-29  DJ Delorie  <dj@redhat.com>
5380
5381         * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
5382         given in upper case.
5383
5384 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5385
5386         * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
5387         Solaris 2 <widec.h> if missing.
5388         * fixinc/fixincl.x: Regenerate.
5389         * fixinc/tests/base/widec.h: New file.
5390
5391 2002-04-29  Nick Clifton  <nickc@cambridge.redhat.com>
5392
5393         * toplev.c (f_options): Add "profile" switch so that
5394         -fno-profile can be used to disable -p.
5395
5396 2002-04-29  Bernd Schmidt  <bernds@redhat.com>
5397
5398         * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
5399         UV2DImode.
5400         * tree.c (build_common_tree_nodes_2): Likewise.
5401         * tree.h (enum tree_index): Likewise.
5402         (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
5403
5404         * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
5405         entries.
5406         (init_mmx_sse_builtins): Initialize SSE2 builtins.
5407         (ix86_expand_builtin): Add support for SSE2 builtins.
5408         * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
5409         (VALID_SSE_REG_MODE): Use it.
5410         (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
5411         (enum ix86_builtins): Add SSE2 builtins.
5412         * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
5413         movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
5414         addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
5415         divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
5416         sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
5417         vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
5418         vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
5419         sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
5420         cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
5421         cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
5422         cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
5423         ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
5424         subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
5425         mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
5426         sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
5427         sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
5428         sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
5429         gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
5430         ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
5431         ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
5432         sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
5433         sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
5434         sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
5435         sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
5436         sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
5437         sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
5438         lfence_insn): New patterns.
5439         (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
5440         sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
5441
5442 Mon Apr 29 17:03:24 CEST 2002  Jan Hubicka  <jh@suse.cz>
5443
5444         * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
5445
5446 2002-04-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5447
5448         * doc/contrib.texi (Contributors): Add Paolo Carlini and
5449         Janis Johnson.
5450         Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
5451         Refer to Objective-C instead of ObjC, SPARC instead of sparc,
5452         and CPU instead of cpu.
5453
5454 Mon Apr 29 13:36:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
5455
5456         * toplev.c (flag_if_conversion, flag_if_conversion2): New static
5457         variables.
5458         (lang_independent_options): Add -fif-conversion, -fif-conversion2
5459         (rest_of_compilation): Do if conversion only when asked for.
5460         (parse_options_and_default_flags): Set new variables to 1 for -O1
5461         * invoke.texi (-fif-conversion, -fif-conversion2): Document.
5462
5463 Mon Apr 29 13:02:50 CEST 2002  Jan Hubicka  <jh@suse.cz>
5464
5465         * i386.c (dbx64_register_map): Fix typo.
5466
5467 Mon Apr 29 12:18:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
5468
5469         * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
5470         real_one_half, real_bb_freq_max): New static variables.
5471         (debug_profile_bbauxs): Kill.
5472         (process_note_predictions): Kill unused variable.
5473         (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
5474         volatile double.
5475         (propagate_freq): Use REAL_ARITHMETICS.
5476         (estimate_bb_frequencies): Likevise; init new static variables.
5477         * Makefile.in (predict.o): Add dependency on real.h
5478
5479 2002-04-28  David S. Miller  <davem@redhat.com>
5480
5481         PR target/6500
5482         * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
5483         64-bit TARGET_V9.  Do not use prefetch page, use prefetch for
5484         several {reads,writes} instead.
5485         * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
5486         Define.
5487
5488 2002-04-27  David S. Miller  <davem@redhat.com>
5489
5490         PR target/6494
5491         * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
5492         of the stack bias.
5493
5494         * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
5495         including signal.h and sys/ucontext.h, not needed.
5496
5497 2002-04-29  Hans-Peter Nilsson  <hp@bitrange.com>
5498
5499         * varasm.c (output_constant_def): Correct test for not calling
5500         ENCODE_SECTION_INFO for INTEGER_CST.
5501
5502 2002-04-29  Neil Booth  <neil@daikokuya.demon.co.uk>
5503
5504         * cppexp.c (lex): Move some code to _cpp_parse_expr, but
5505         keep most cases as function eval_token.
5506         (eval_token): New function.
5507         (_cpp_parse_expr): Read token here for improved diagnostics.
5508         Don't use op_as_text.  Detect bad ':' here.
5509         (reduce): Don't detect bad ':' here.
5510         (op_as_text): Remove.
5511         * cpphash.h (_cpp_test_assertion): Change prototype.
5512         * cpplib.c (_cpp_test_assertion): Change prototype.
5513
5514 2002-04-28  Richard Henderson  <rth@redhat.com>
5515
5516         PR c/5154
5517         * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
5518         (ggc_mark_rtx_children): New.
5519
5520 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
5521
5522         PR target/6496
5523         * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
5524         after call peepholes for UltraSPARC.
5525         (call + jump 64-bit peepholes): Remove.
5526
5527 2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5528
5529         PR c/6497
5530         * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
5531         result as temporary value.
5532
5533 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
5534
5535         PR c++/6396
5536         * toplev.c (rest_of_compilation): Only run regrename and copy
5537         propagation if optimizing.
5538
5539 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
5540
5541         PR optimization/6475
5542         * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
5543         register of REGNO_DECL (i).
5544         * Makefile.in (reload1.o): Add $(TREE_H).
5545
5546 2002-04-28  Neil Booth  <neil@daikokuya.demon.co.uk>
5547
5548         * cppexp.c (lex): Update to use state.skip_eval.
5549         (struct op): Remove prio and flags members.
5550         (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
5551         SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
5552         (LEFT_ASSOC): New macro.
5553         (optab): New table of operator priorities and flags.
5554         (SHIFT): Update.
5555         (_cpp_parse_expr): Clean up logic.  Return bool.  Use a
5556         malloc-ed parser stack.
5557         (reduce): New; reduce the operator stack.
5558         (_cpp_expand_op_stack): Expand the operator stack as necessary.
5559         * cpphash.h (struct op): Predeclare.
5560         (struct cpp_reader): New members op_stack, op_limit.
5561         (struct lexer_state): New member skip_eval.
5562         (_cpp_parse_expr): Update.
5563         (_cpp_expand_op_stack): New.
5564         * cpplib.c (do_if): Update.
5565         * cppinit.c (cpp_create_reader): Create op stack.
5566         (cpp_destroy): And destroy it.
5567         * cpplib.h (CPP_LAST_CPP_OP): Correct.
5568         (TTYPE_TABLE): Correct.
5569
5570 2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5571
5572         PR c/6343
5573         * c-decl.c (duplicate_decls): Call merge_weak.
5574         * c-pragma.c (apply_pragma_weak): Warn about misuse.
5575         * output.h (merge_weak): Prototype merge_weak.
5576         * varasm.c (merge_weak): New function.
5577         (declare_weak): Make sure we don't give an error on VAR_DECLs.
5578         Mark RTL with SYMBOL_REF_WEAK.
5579
5580 2002-04-27  Kurt Garloff <garloff@suse.de>
5581
5582         * tree-inline.c (inlinable_function_p): Improve heuristics
5583         by using a smoother function to cut down allowable inlinable size.
5584         * param.def: Add parameters max-inline-insns-single,
5585         max-inline-slope, min-inline-insns that determine the exact
5586         shape of the above function.
5587         * param.h: Likewise.
5588
5589 2002-04-26  Richard Henderson  <rth@redhat.com>
5590
5591         * c-parse.in (malloced_yyss, malloced_yyvs): New.
5592         (yyoverflow): Re-add.  Set them.
5593         (free_parser_stacks): New.
5594         * c-common.h: Declare it.
5595         * c-lex.c (c_common_parse_file): Call it.
5596
5597 2002-04-26  Richard Henderson  <rth@redhat.com>
5598
5599         * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
5600         for fallthru search.
5601
5602 2002-04-26  Eric Christopher  <echristo@redhat.com>
5603
5604         PR optimization/3700
5605         * config/mips/mips.c (mips_issue_rate): Define.  New function.
5606         (TARGET_SCHED_ISSUE_RATE): Use.
5607
5608 2002-04-25  David S. Miller  <davem@redhat.com>
5609
5610         PR target/6422
5611         * reorg.c (optimize_skip): Do not allow exception causing
5612         instructions to be considered for delay slots.
5613         (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
5614         (relax_delay_slots): Do not try to consider exception causing
5615         instructions as redundant.
5616
5617 2002-04-26  Richard Henderson  <rth@redhat.com>
5618
5619         PR c/5225
5620         * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
5621
5622 2002-04-26  Mark Mitchell  <mark@codesourcery.com>
5623
5624         PR bootstrap/6445
5625         * config/i386/i386.md (untyped_call): Return the value in a float
5626         register if TARGET_FLOAT_RETURNS_IN_80387, not just if
5627         TARGET_80387.
5628
5629 2002-04-26  Alexandre Oliva  <aoliva@redhat.com>
5630
5631         * tree.c (tree_int_cst_lt): Compare constants whose types differ
5632         in unsigned-ness correctly.
5633
5634 2002-04-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5635
5636         * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
5637         portable runtime model.
5638
5639 2002-04-26  Richard Henderson  <rth@redhat.com>
5640
5641         * c-parse.in (yyoverflow): Revert.
5642
5643 2002-04-26  David Edelsohn  <edelsohn@gnu.org>
5644             Richard Henderson  <rth@redhat.com>
5645
5646         * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
5647         result as temporary value.
5648
5649 2002-04-26  Richard Henderson  <rth@redhat.com>
5650
5651         PR c/3581
5652         * c-common.c (fix_string_type): Split out of ...
5653         (combine_strings): ... here.  Take a varray, not a tree list.
5654         (c_expand_builtin_printf): Use fix_string_type.
5655         * c-common.h: Update decls.
5656         * c-parse.in (string): Remove.  Update all uses to use STRING
5657         instead, and not call combine_strings.
5658         (yylexstring): New.
5659         (_yylex): Use it.
5660         * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
5661         (build_asm_stmt): Likewise.
5662         * objc/objc-act.c (my_build_string): Use fix_string_type.
5663         (build_objc_string_object): Build varray for combine_strings.
5664
5665 2002-04-26  Bo Thorsen  <bo@suse.co.uk>
5666
5667         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
5668         x86-64.
5669
5670 2002-04-26  Neil Booth  <neil@daikokuya.demon.co.uk>
5671
5672         * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
5673         (HAVE_NO_R_OPERAND): Remove.
5674         (HAVE_VALUE): Remove.
5675         (op_to_prio): Update.
5676         (UNARY): Don't alter flags.
5677         (_cpp_parse_expr): want_value used to indicate whether
5678         a number or unary operator is expected next.  Distinguish
5679         unary and binary +/-.
5680         (op_as_text): Update for unary operators.
5681
5682 2002-04-25  Richard Henderson  <rth@redhat.com>
5683
5684         PR c/2161
5685         * c-parse.in (yyoverflow): New.
5686
5687 2002-04-25  Richard Henderson  <rth@redhat.com>
5688
5689         PR c/2098
5690         * c-common.c (shorten_compare): Simplfy conditions leading to
5691         the generation of a warning.
5692
5693 2002-04-25  Richard Henderson  <rth@redhat.com>
5694
5695         PR c/2035
5696         * expmed.c (extract_bit_field): Fall through to generic code rather
5697         than aborting on subreg special case.
5698
5699 2002-04-25  David S. Miller  <davem@redhat.com>
5700
5701         * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
5702         for DECL being NULL.
5703
5704 2002-04-25  Steve Christiansen  <smc@us.ibm.com>
5705
5706         * doc/md.texi (Machine Constraints): Add IA-64 constraints.
5707
5708 2002-04-25  Eric Botcazou  <ebotcazou@multimania.com>
5709
5710         * c-decl.c (grokdeclarator): Remove outdated ??? note
5711         on invalid declaration of flexible array members.
5712
5713 2002-04-25  Richard Henderson  <rth@redhat.com>
5714
5715         * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
5716
5717 2002-04-25  Ulrich Weigand  <uweigand@de.ibm.com>
5718
5719         * config/s390/s390.c (s390_emit_epilogue): Always restore registers
5720         needed by the compiler, even if they are used as global regs.
5721
5722 2002-04-25  Matt Hiller  <hiller@redhat.com>
5723
5724         * mips.c (mips_class_max_nregs, mips_register_move_cost): New
5725         functions.
5726         * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
5727         of the corresponding functions.
5728         * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
5729         New prototypes.
5730
5731 2002-04-25  Matt Hiller  <hiller@redhat.com>
5732
5733         * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
5734
5735         (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
5736         (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
5737         registers, adjust comment accordingly.
5738         (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
5739         reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
5740         DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
5741         for coprocessor registers.
5742         (ADDITIONAL_REGISTER_NAMES): Include
5743         ALL_COP_ADDITIONAL_REGISTER_NAMES.
5744
5745         (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
5746         COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
5747         COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
5748         COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
5749         COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
5750
5751         (mips_char_to_class): Adjust comment to include coprocessor
5752         constraint letters.
5753
5754         * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
5755         New functions.
5756         (mips_reg_names, mips_regno_to_class): Include coprocessor
5757         information.
5758         (mips_sw_reg_names): Ditto, make non-static.
5759         (mips_move_1word): Handle moves to and from coprocessor registers.
5760         (mips_move_2words): Handle moves to and from coprocessor
5761         registers.
5762         (mips_class_max_nregs, mips_register_move_cost): Handle
5763         coprocessor register classes.
5764         (override_options): Initialize mips_char_to_class and
5765         mips_hard_regno_mode_ok properly for coprocessor registers.
5766
5767         * config/mips/mips.md (movdi_internal, movdi_internal2,
5768         movsi_internal1, movsi_internal2): Add constraint-sets for
5769         coprocessor registers.
5770         * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
5771         * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
5772         isn't mips.
5773         * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
5774         * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
5775         isn't mips.
5776         * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
5777         * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
5778         isn't mips.
5779         * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
5780         * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
5781         isn't mips.
5782
5783         * doc/tm.texi: Document feature.
5784
5785 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
5786
5787         * integrate.c (function_attribute_inlinable_p): Simplify.
5788         Check the table pointer is not NULL.
5789
5790 2002-04-25  Steven Bosscher  <S.Bosscher@student.tudelft.nl>
5791
5792         * doc/c-tree.texi: Fix typo in introduction.
5793
5794 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
5795
5796         * c-common.h (c_common_parse_file): Update.
5797         * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
5798         * c-lex.c (YYDEBUG): Get from c-lex.h.
5799         (c_common_parse_file): Update.
5800         * c-lex.h (YYDEBUG, yydebug): New.
5801         * c-parse.in (YYDEBUG): Get from c-lex.h.
5802         (c_set_yydebug): Remove.
5803         * c-tree.h (c_set_yydebug): Remove.
5804         * langhooks-def.h (lhd_do_nothing_i): New.
5805         (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
5806         (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
5807         * langhooks.c  (lhd_do_nothing_i): New.
5808         (lhd_set_yydebug): Remove.
5809         * langhooks.h (struct lang_hooks): Update.
5810         * toplev.c (set_yydebug): New.
5811         (compile_file): Update call to parse_file hook.
5812         (decode_d_option): Update.
5813 objc:
5814         * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
5815
5816 Wed Apr 24 23:45:37 2002  J"orn Rennecke <joern.rennecke@superh.com>
5817
5818         * loop.c (load_mems): Don't change the interface of called functions.
5819
5820         * calls.c (expand_call): Take current_function_pretend_args_size
5821         into account when setting argblock for sibcalls.
5822
5823 2002-04-24  Matt Hiller  <hiller@redhat.com>
5824
5825         * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
5826         * c-lex.c: Ditto.
5827
5828         * cpplex.c (skip_line_comment): Process comment one multibyte
5829         character at a time rather than one char at a time, if
5830         appropriate.
5831         (parse_string): Process string one multibyte character at a time
5832         rather than one char at a time, if appropriate.
5833         * c-lex.c (lex_string): Lex and copy multibyte strings
5834         appropriately.
5835         * cpplib.h (cppchar_t): Change to unsigned.
5836
5837 2002-04-24  Richard Henderson  <rth@redhat.com>
5838
5839         PR c/3467
5840         * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
5841         for c99.
5842
5843 Wed Apr 24 21:51:54 2002  J"orn Rennecke <joern.rennecke@superh.com>
5844
5845         * sh.c (sh_va_arg): If argument was passed by reference,
5846         dereference the pointer.
5847
5848         * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
5849
5850         * sh.md (divsi3_i4_media): Use match_operand for input values
5851         rather than hard registers.
5852         (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
5853         unnecessarily through hard registers.  Keep copies of pseudo
5854         registers outside of the libcall sequence.
5855
5856         * sh.md (casesi_shift_media): Add modes.
5857
5858         * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
5859         values in memory.
5860
5861 2002-04-24  Neil Booth  <neil@daikokuya.demon.co.uk>
5862
5863         * attribs.c (c_common_attribute_table): Move table and handlers
5864         to c-common.c.
5865         (format_attribute_table, lang_attribute_table,
5866         lang_attribute_common): Remove.
5867         (init_attributes): Replace NULL pointers with pointers to the
5868         empty table.
5869         (handle_packed_attribute, handle_nocommon_attribute,
5870         handle_common_attribute, handle_noreturn_attribute,
5871         handle_noinline_attribute, handle_always_inline_attribute,
5872         handle_used_attribute, handle_unused_attribute,
5873         handle_const_attribute, handle_transparent_union_attribute,
5874         handle_constructor_attribute, handle_destructor_attribute,
5875         handle_mode_attribute, handle_section_attribute,
5876         handle_aligned_attribute, handle_weak_attribute,
5877         handle_alias_attribute, handle_visibility_attribute,
5878         handle_no_instrument_function_attribute, handle_malloc_attribute,
5879         handle_no_limit_stack_attribute, handle_pure_attribute,
5880         handle_deprecated_attribute, handle_vector_size_attribute,
5881         vector_size_helper): Move to c-common.c.
5882         * c-common.c (c_common_attribute_table,
5883         handle_packed_attribute, handle_nocommon_attribute,
5884         handle_common_attribute, handle_noreturn_attribute,
5885         handle_noinline_attribute, handle_always_inline_attribute,
5886         handle_used_attribute, handle_unused_attribute,
5887         handle_const_attribute, handle_transparent_union_attribute,
5888         handle_constructor_attribute, handle_destructor_attribute,
5889         handle_mode_attribute, handle_section_attribute,
5890         handle_aligned_attribute, handle_weak_attribute,
5891         handle_alias_attribute, handle_visibility_attribute,
5892         handle_no_instrument_function_attribute, handle_malloc_attribute,
5893         handle_no_limit_stack_attribute, handle_pure_attribute,
5894         handle_deprecated_attribute, handle_vector_size_attribute,
5895         vector_size_helper): Move from attribs.c.
5896         * c-common.h (c_common_attribute_table,
5897         c_common_format_attribute_table): New.
5898         * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
5899         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
5900         * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
5901         LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
5902         (LANG_HOOKS_INITIALIZER): Update.
5903         * langhooks.h (struct lang_hooks): 3 new attribute hooks.
5904         * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
5905         * target.h: Update comment.
5906         * tree.c (default_target_attribute_table): Remove.
5907         * tree.h (default_target_attribute_table, format_attribute_table,
5908         lang_attribute_table, lang_attribute_common): Remove.
5909 objc:
5910         * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
5911         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
5912
5913 2002-04-24  Jason Merrill  <jason@redhat.com>
5914
5915         * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
5916         * dwarf2out.c (dwarf_attr_name): Support it.
5917         (gen_array_type_die): Emit it.
5918         (lookup_type_die): No special handling for VECTOR_TYPE.
5919         (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
5920
5921 2002-04-24  Richard Henderson  <rth@redhat.com>
5922
5923         * config/mips/mips.md (movdi_usd): Renumber.
5924
5925 2002-04-24  David S. Miller  <davem@redhat.com>
5926
5927         PR target/6420
5928         * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
5929         32-bit Sparc and current_function_returns_struct is true.
5930
5931 Wed Apr 24 13:48:25 CEST 2002  Jan Hubicka  <jh@suse.cz>
5932
5933         * loop.c (canonicalize_condition): Use gen_int_mode.
5934
5935 2002-04-24  Aldy Hernandez  <aldyh@redhat.com>
5936
5937         * config/rs6000/altivec.h: Cleanup file.  Add non individual
5938         variants.
5939         (vec_vaddubm): New.
5940         (vec_vadduhm): New.
5941         (vec_vadduwm): New.
5942         (vec_vaddfp): New.
5943         (vec_vaddcuw): New.
5944         (vec_vaddubs): New.
5945         (vec_vaddsbs): New.
5946         (vec_vadduhs): New.
5947         (vec_vadduws): New.
5948         (vec_vaddsws): New.
5949         (vec_vand): New.
5950         (vec_vandc): New.
5951         (vec_vavgub): New.
5952         (vec_vavgsb): New.
5953         (vec_vavguh): New.
5954         (vec_vavgsh): New.
5955         (vec_vavguw): New.
5956         (vec_vavgsw): New.
5957         (vec_vrfip): New.
5958         (vec_vcmpbfp): New.
5959         (vec_vcmpequb): New.
5960         (vec_vcmpequh): New.
5961         (vec_vcmpequw): New.
5962         (vec_vcmpeqfp): New.
5963         (vec_vcmpgefp): New.
5964         (vec_vcmpgtub): New.
5965         (vec_vcmpgtsb): New.
5966         (vec_vcmpgtuh): New.
5967         (vec_vcmpgtsh): New.
5968         (vec_vcmpgtuw): New.
5969         (vec_vcmpgtsw): New.
5970         (vec_vcmpgtfp): New.
5971         (vec_vcmpgefp): New.
5972         (vec_vcfux): New.
5973         (vec_vcfsx): New.
5974         (vec_vctsxs): New.
5975         (vec_vctuxs): New.
5976         (vec_vexptefp): New.
5977         (vec_vrfim): New.
5978         (vec_lvx): New.
5979         (vec_lvebx): New.
5980         (vec_lvehx): New.
5981         (vec_lde): Add vector float variant.
5982         (vec_lvewx): New.
5983         (vec_lvxl): New.
5984         (vec_vlogefp): New.
5985         (vec_vmaddfp): New.
5986         (vec_vmhaddshs): New.
5987         (vec_vmaxub): New.
5988         (vec_vmaxsb): New.
5989         (vec_vmaxuh): New.
5990         (vec_vmaxsh): New.
5991         (vec_vmaxuw): New.
5992         (vec_vmaxsw): New.
5993         (vec_vmaxsw): New.
5994         (vec_vmaxfp): New.
5995         (vec_vmrghb): New.
5996         (vec_vmrghh): New.
5997         (vec_vmrghw): New.
5998         (vec_vmrglb): New.
5999         (vec_vmrglh): New.
6000         (vec_vmrglw): New.
6001         (vec_vminub): New.
6002         (vec_vminsb): New.
6003         (vec_vminuh): New.
6004         (vec_vminsh): New.
6005         (vec_vminuw): New.
6006         (vec_vminsw): New.
6007         (vec_vminfp): New.
6008         (vec_vmladduhm): New.
6009         (vec_vmhraddshs): New.
6010         (vec_msumubm): New.
6011         (vec_vmsummbm): New.
6012         (vec_vmsumuhm): New.
6013         (vec_vmsumshm): New.
6014         (vec_vmsumuhs): New.
6015         (vec_vmsumshs): New.
6016         (vec_vmuleub): New.
6017         (vec_vmulesb): New.
6018         (vec_vmuleuh): New.
6019         (vec_vmulesh): New.
6020         (vec_vmuloub): New.
6021         (vec_mulosb): New.
6022         (vec_vmulouh): New.
6023         (vec_vmulosh): New.
6024         (vec_vnmsubfp): New.
6025         (vec_vnor): New.
6026         (vec_vor): New.
6027         (vec_vpkuhum): New.
6028         (vec_vpkuwum): New.
6029         (vec_vpkpx): New.
6030         (vec_vpkuhus): New.
6031         (vec_vpkshss): New.
6032         (vec_vpkuwus): New.
6033         (vec_vpkswss): New.
6034         (vec_vpkshus): New.
6035         (vec_vpkswus): New.
6036         (vec_vperm): New.
6037         (vec_vrefp): New.
6038         (vec_vrlb): New.
6039         (vec_vrlh): New.
6040         (vec_vrlw): New.
6041         (vec_vrfin): New.
6042         (vec_vrsqrtefp): New.
6043         (vec_vsel): New.
6044         (vec_vslb): New.
6045         (vec_vslh): New.
6046         (vec_vslw): New.
6047         (vec_vsldoi): New.
6048         (vec_vsl): New.
6049         (vec_vslo): New.
6050         (vec_vspltb): New.
6051         (vec_vsplth): New.
6052         (vec_vspltw): New.
6053         (vec_vspltisb): New.
6054         (vec_vspltish): New.
6055         (vec_vspltisw): New.
6056         (vec_vsrb): New.
6057         (vec_vsrh): New.
6058         (vec_vsrw): New.
6059         (vec_vsrab): New.
6060         (vec_vsrah): New.
6061         (vec_vsraw): New.
6062         (vec_vsr): New.
6063         (vec_vsro): New.
6064         (vec_stvx): New.
6065         (vec_stvebx): New.
6066         (vec_stvehx): New.
6067         (vec_stvewx): New.
6068         (vec_stvxl): New.
6069         (vec_vsububm): New.
6070         (vec_vsubuhm): New.
6071         (vec_vsubuwm): New.
6072         (vec_vsubfp): New.
6073         (vec_vsubcuw): New.
6074         (vec_vsububs): New.
6075         (vec_vsubsbs): New.
6076         (vec_vsubuhs): New.
6077         (vec_vsubshs): New.
6078         (vec_vsubuws): New.
6079         (vec_vsubsws): New.
6080         (vec_vsum4ubs): New.
6081         (vec_vsum4sbs): New.
6082         (vec_vsum4shs): New.
6083         (vec_vsum2sws): New.
6084         (vec_vsumsws): New.
6085         (vec_vrfiz): New.
6086         (vec_vupkhsb): New.
6087         (vec_vupkhpx): New.
6088         (vec_vupkhsh): New.
6089         (vec_vupklsb): New.
6090         (vec_vupklpx): New.
6091         (vec_vupklsh): New.
6092         (vec_vxor): New.
6093
6094 2002-04-23  Eric Botcazou  <ebotcazou@multimania.com>
6095
6096         PR c/5430
6097         * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
6098         added literals from substracted literals.
6099         (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
6100         (fold) [associate]: Preserve MINUS_EXPR if needed.
6101
6102 2002-04-23  Zack Weinberg  <zack@codesourcery.com>
6103
6104         * doc/install.texi: Clarify which versions of alpha*-dec-osf*
6105         are obsoleted.
6106
6107 2002-04-23  Tom Tromey  <tromey@redhat.com>
6108
6109         * gcc.c: Added --resource.  For PR java/6314.
6110
6111 2002-04-23  David O'Brien  <obrien@FreeBSD.org>
6112
6113         * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
6114         * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
6115         these libraries.
6116
6117 2002-04-23  David O'Brien  <obrien@FreeBSD.org>
6118
6119         * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
6120
6121 Tue Apr 23 14:24:25 CEST 2002  Jan Hubicka  <jh@suse.cz>
6122
6123         * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
6124         workaround.
6125         (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
6126         (ix86_expand_clrstr): Fix typo.
6127         * loop.c (gen_load_of_final_value): New.
6128         (loop_givs_rescan, strength_reduce, check_dbra_loop):
6129         Use it.
6130
6131 2002-04-23  Roger Sayle  <roger@eyesopen.com>
6132
6133         * builtins.c (builtin_memset_gen_str): New function.
6134         (expand_builtin_memset): Optimize the case of constant length, but
6135         unknown value.
6136
6137 2002-04-23  Aldy Hernandez  <aldyh@redhat.com>
6138
6139         * config/rs6000/altivec.h (vec_step): Remove extraneous
6140         parentheses.
6141         (vec_ctu): Cast return.
6142
6143 2002-04-23  Alan Modra  <amodra@bigpond.net.au>
6144
6145         PR target/6413
6146         * function.h: (struct function): Add profile_label_no field.
6147         (current_function_profile_label_no): Define.
6148         * function.c: (profile_label_no): New static var.
6149         (expand_function_start): Increment it, and copy to
6150         current_function_profile_label_no.
6151         * output.h (profile_label_no): Delete.
6152         * final.c (profile_label_no): Delete.
6153         (profile_function): Use current_function_profile_label_no.
6154         (final_end_function): Don't increment profile_label_no here.
6155         * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
6156         profile_label_no with current_function_profile_label_no.
6157         * config/pa/pa.c (current_function_number): Delete.
6158         (pa_output_function_prologue): Don't output profile label here.
6159         (hppa_profile_hook): Use label_no param rather than
6160         current_function_number.
6161         (FUNC_BEGIN_PROLOG_LABEL): Move to ..
6162         * config/pa/pa.h: .. here.
6163         (FUNCTION_PROFILER): Output profile label here.
6164
6165 2002-04-22  Eric Christopher  <echristo@redhat.com>
6166
6167         * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
6168         patch of 2002-04-09 due to binutils issues.
6169         (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
6170
6171 2002-04-22  Aldy Hernandez  <aldyh@redhat.com>
6172
6173         * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
6174         constraint to 'o' for m=r and r=m alternatives.
6175         ("*movv8hi_internal1"): Same.
6176         ("*movv16qi_internal1"): Same.
6177         ("*movv4sf_internal1"): Same.
6178
6179 2002-04-22  Janis Johnson  <janis187@us.ibm.com>
6180
6181         * rtl.h (RTX_FLAG): New macro.
6182         * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
6183         * final.c (alter_subreg): Use macro to access rtx flag.
6184         * integrate.c (copy_rtx_and_substitute): Use new access macro.
6185         * print-rtl.c (print_rtx): Use new access macro.
6186
6187         * cse.c (insert): Check rtx code before accessing flag.
6188
6189         * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
6190         ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
6191         (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
6192         convert_const_symbol_ref, make_canonical, make_alternative_compare,
6193         evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
6194         simplify_test_exp, optimize_attrs, simplify_by_exploding,
6195         find_and_mark_used_attributes, unmark_used_attributes,
6196         add_values_to_cover, simplify_with_current_value,
6197         simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
6198         copy_rtx_unchanging, main): Use new access macros.
6199
6200 2002-04-22  Tom Rix  <trix@redhat.com>
6201
6202         * expmed.c (init_expmed): Generate shifted constant once.
6203
6204 2002-04-22  Zack Weinberg  <zack@codesourcery.com>
6205
6206         * c-lex.c (lex_charconst): Call convert to get constant in
6207         proper type; don't just smash the type field.
6208         Fixes PR c/6300.
6209
6210         * config.gcc: Add list of obsolete configurations.  Disallow
6211         building these without --enable-obsolete.
6212         * doc/install.texi: Document --enable-obsolete and obsoletion
6213         policy.  Mention obsoletion of individual targets in
6214         appropriate places.
6215
6216 2002-04-22  Richard Henderson  <rth@redhat.com>
6217
6218         * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
6219
6220 2002-04-22  Mark Mitchell  <mark@codesourcery.com>
6221
6222         PR f/6138.
6223         * function.c (fixup_memory_subreg): Add promoted_mode parameter.
6224         (walk_fixup_memory_subreg): Likewise.
6225         (fixup_var_refs_insn): Adjust accordingly.
6226         (fixup_var_refs_1): Likewise.
6227
6228 2002-04-22  Ulrich Weigand  <uweigand@de.ibm.com>
6229
6230         * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
6231         LIBPATH_ARCH64_SPEC): Define.
6232         (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
6233         (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
6234         (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
6235         (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
6236
6237 2002-04-22      Joel Sherrill <joel@OARcorp.com>
6238
6239         * gthr-rtems.h: Correct prototypes to remove warnings.
6240
6241 2002-04-22  Richard Henderson  <rth@redhat.com>
6242
6243         PR c/6344
6244         * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
6245
6246         * gcse.c (free_insn_expr_list_list): New.
6247         (clear_modify_mem_tables): Use it.  Fix bit set usage.
6248         (canon_list_insert): Use EXPR_LISTs for expressions.
6249         (record_last_mem_set_info): Factor BLOCK_NUM (insn).
6250
6251 2002-04-22  Neil Booth  <neil@daikokuya.demon.co.uk>
6252
6253         * cppfiles.c (_cpp_pop_file_buffer): Return void.  Move
6254         file change and include code to _cpp_pop_buffer.
6255         * cpphash.h (struct pending_option): Predeclare.
6256         (struct cpp_reader): New member next_include_file.
6257         (_cpp_pop_file_buffer): Update.
6258         (_cpp_push_next_buffer): Update, rename.
6259         * cppinit.c (cpp_destroy): Free include chain and pending here.
6260         (cpp_finish_options): Simplify.
6261         (_cpp_push_next_buffer): Rename and clean up.
6262         * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
6263         Clarify.
6264         * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
6265
6266 2002-04-22  Aldy Hernandez  <aldyh@redhat.com>
6267
6268         * config/rs6000/altivec.h (vec_xor): Add variant for both args
6269         being vector signed int.
6270         (vec_andc): Same.
6271         (vec_xor): Add variant for both args being vector signed char.
6272         Remove redundant variant.
6273         (vec_andc): Same.
6274
6275 2002-04-21  David S. Miller  <davem@redhat.com>
6276
6277         * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
6278         compare mode in output RTL.
6279
6280 2002-04-22  David Edelsohn  <edelsohn@gnu.org>
6281
6282         * config/rs6000/rs6000.c (rs6000_override_options): Correct
6283         style and formatting of previous patch.
6284
6285 2002-04-22  Alan Modra  <amodra@bigpond.net.au>
6286
6287         * config/rs6000/rs6000.c (rs6000_override_options): Always clear
6288         flag_pic for ABI_AIX.
6289
6290 2002-04-21  Neil Booth  <neil@daikokuya.demon.co.uk>
6291
6292         * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
6293         * cppfiles.c (read_include_file): Similarly.
6294         * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
6295         uxstrdup ustrchr, ufputs): Similarly.
6296         * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
6297         * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
6298         cpp_ideq, parse_identifier, parse_number): Similarly.
6299         * cpplib.c (struct directive, dequote_string, D, run_directive,
6300         cpp_push_buffer): Similarly.
6301         * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
6302         _cpp_create_definition, check_trad_stringification,
6303         cpp_macro_definition): Similarly.
6304
6305 2002-04-21  Neil Booth  <neil@daikokuya.demon.co.uk>
6306
6307         * cppmacro.c (funlike_invocation_p): Don't step back
6308         over CPP_EOF.
6309
6310 2002-04-21  David Edelsohn  <edelsohn@gnu.org>
6311
6312         * config/rs6000/rs6000.c (output_profile_hook): Do not increment
6313         labelno.
6314
6315 2002-04-20  Joseph S. Myers  <jsm28@cam.ac.uk>
6316
6317         * doc/invoke.texi: Remove Chill references.
6318         * doc/gcc.texi: Update last modified date.
6319
6320 2002-04-20  Kazu Hirata  <kazu@hxi.com>
6321
6322         * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
6323         push and pop.  Replace add.l with add.w.
6324
6325 2002-04-20  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
6326
6327         * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
6328         multiply instructions for H8/300H case.
6329
6330 2002-04-20  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
6331
6332         * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
6333         Bum three instructions from each routine.
6334
6335 2002-04-20  Neil Booth  <neil@daikokuya.demon.co.uk>
6336
6337         * Makefile.in: Update.
6338         * decl.c (push_c_function_context, pop_c_function_context,
6339         mark_c_function_context): Rename for consistency.
6340         * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
6341         * c-tree.h (push_c_function_context, pop_c_function_context,
6342         mark_c_function_context): Rename for consistency.
6343         * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
6344         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
6345         * function.c (init_lang_status, save_lang_status,
6346         restore_lang_status, mark_lang_status, free_lang_status):
6347         Move to langhooks.h.
6348         (push_function_context_to, pop_function_context_from,
6349         free_after_parsing, prepare_function_start, ggc_mark_struct_function):
6350         Update.
6351         * function.h (init_lang_status, save_lang_status,
6352         restore_lang_status, mark_lang_status, free_lang_status):
6353         Move to langhooks.h.
6354         * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
6355         LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
6356         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
6357         LANG_HOOKS_FUNCTION_INITIALIZER): New.
6358         (LANG_HOOKS_INITIALIZER): Update.
6359         (lhd_do_nothing_f): New.
6360         * langhooks.h (struct lang_hooks_for_functions): New.
6361         (struct lang_hooks): New hooks.
6362         * langhooks.c (lhd_do_nothing_f): New.
6363 objc:
6364         * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
6365         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
6366
6367 2002-04-19  David S. Miller  <davem@redhat.com>
6368
6369         * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
6370         * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
6371
6372 2002-04-19  Jakub Jelinek  <jakub@redhat.com>
6373
6374         PR optimization/3756
6375         * config/i386/i386.c (ix86_expand_int_movcc): Optimize
6376         x = ((int) y < 0) ? cst1 : cst2.
6377
6378 2002-04-19  Jakub Jelinek  <jakub@redhat.com>
6379
6380         PR c/6358
6381         * function.c: Reapply patch for c/6358.
6382         (expand_function_end): Copy decl_rtl's mode, not
6383         current_function_return_rtx mode.
6384
6385 2002-04-19  Joel Sherrill  <joel@OARcorp.com>
6386
6387         * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
6388         targets.
6389
6390 2002-04-19  Tom Tromey  <tromey@redhat.com>
6391
6392         * doc/install.texi (Specific): Update status of Solaris 2.8.
6393         For PR libgcj/6158.
6394
6395 2002-04-19  Andreas Schwab  <schwab@suse.de>
6396
6397         * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
6398         (PUT_REAL): Restore old definition.
6399
6400 2002-04-19  Dan Nicolaescu  <dann@godzilla.ics.uci.edu>
6401             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6402
6403         * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
6404         binutils 2.11.2 and higher generate smaller binaries than Sun's
6405         native tools.
6406
6407 2002-04-19  Mark Mitchell  <mark@codesourcery.com>
6408
6409         PR c++/6352
6410         * toplev.c (rest_of_compilation): Do not defer functions for which
6411         TREE_SYMBOL_REFERENCED has already been set.
6412
6413 Fri Apr 19 15:53:03 CEST 2002  Jan Hubicka  <jh@suse.cz>
6414
6415         * i386.md (movsi_1, movhi_1): Force reload to use more flexible
6416         alternative.
6417
6418 2002-04-19  Neil Booth  <neil@daikokuya.demon.co.uk>
6419
6420         * builtins.c: Include langhooks.h.
6421         (lang_type_promotes_to): Remove.
6422         (expand_builtin_va_arg): Use new hook.
6423         * c-common.c (c_common_nodes_and_builtins): Don't set hook.
6424         (simple_type_promotes_to): Move to c-typeck.c.
6425         * c-common.h (simple_type_promotes_to): Remove.
6426         * c-decl.c (duplicate_decls, grokdeclarator): Update.
6427         * c-format.c: Include langhooks.h.
6428         (check_format_types): Update.
6429         * c-tree.h (c_type_promotes_to): New.
6430         * c-typeck.c (c_type_promotes_to): Move from c-common.c.
6431         (type_lists_compatible_p): Update.
6432         * langhooks-def.h (lhd_type_promotes_to): New.
6433         (LANG_HOOKS_TYPE_PROMOTES_TO): New.
6434         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
6435         * langhooks.c (lhd_type_promotes_to): New.
6436         * langhooks.h (struct lang_hooks_for_types): New hook.
6437         * tree.h (lang_type_promotes_to): Remove.
6438 objc:
6439         * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
6440
6441 2002-04-18  Richard Henderson  <rth@redhat.com>
6442
6443         * function.c: Revert patch for c/6358.
6444
6445 2002-04-18  Richard Henderson  <rth@redhat.com>
6446
6447         * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
6448         blocks.  Handle multiple references to the TRAP block.  Handle
6449         non-adjacent THEN and OTHER blocks.
6450
6451 2002-04-18  Richard Henderson  <rth@redhat.com>
6452
6453         * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
6454         crash with no type for by-mode libcalls.
6455
6456         * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
6457
6458 2002-04-18  Bob Wilson  <bob.wilson@acm.org>
6459
6460         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6461         __xtensa_nonlocal_goto): Use a syscall instructions to flush
6462         the register windows.
6463
6464 2002-04-18  Zack Weinberg  <zack@codesourcery.com>
6465
6466         * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
6467         appropriate.  Document need for extended precision even when
6468         MAX_LONG_DOUBLE_TYPE_SIZE is smaller.  Define REAL_WIDTH here,
6469         based on REAL_VALUE_TYPE_SIZE.  Use REAL_WIDTH to size
6470         REAL_VALUE_TYPE.  Define CONST_DOUBLE_FORMAT here.  Use #error
6471         instead of relying on later syntax error when REAL_WIDTH > 5.
6472         * real.c: Define NE based only on whether or not we have a
6473         full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
6474         Require sizeof(REAL_VALUE_TYPE) == 2*NE.  Unconditionally
6475         define GET_REAL and PUT_REAL as simple memcpy operations; no
6476         need to byteswap or round.
6477         Use #error instead of #ifdef-ing out the entire file, for
6478         prompt error detection.
6479
6480         * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
6481
6482 2002-04-18  David S. Miller  <davem@redhat.com>
6483
6484         * config/sparc/sparc.h (BRANCH_COST): Define.
6485
6486         * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
6487         does it.
6488
6489 2002-04-18  Hans-Peter Nilsson  <hp@bitrange.com>
6490
6491         * flow.c (update_life_info): Ignore return value of cleanup_cfg.
6492         Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
6493         propagate_block calls after relaxation loop using new variable
6494         stabilized_prop_flags.
6495
6496 2002-04-18  Richard Henderson  <rth@redhat.com>
6497
6498         * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
6499         (ia64_va_arg): Expect variable sized types by reference.
6500         * config/ia64/ia64-protos.h: Update.
6501         * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
6502         ia64_function_arg_pass_by_reference.
6503
6504 2002-04-18  Richard Henderson  <rth@redhat.com>
6505
6506         * ifcvt.c: Include except.h.
6507         (block_has_only_trap): Break out from find_cond_trap.
6508         (find_cond_trap): Use it.  Always delete the trap block.
6509         (merge_if_block): Allow then block null.  Be less simplistic about
6510         what insns can end a block.
6511         * Makefile.in (ifcvt.o): Depend on except.h.
6512
6513         * config/ia64/ia64.md (trap, conditional_trap): New.
6514
6515 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
6516
6517         PR c/6358
6518         * function.c (assign_parms): Assign hard current_function_return_rtx
6519         register here...
6520         (expand_function_end): ...not here.
6521
6522 2002-04-18  Neil Booth  <neil@daikokuya.demon.co.uk>
6523
6524         * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
6525         * c-tree.h (c_incomplete_type_error): New.
6526         * c-typeck.c (require_complete_type, build_component_ref): Update.
6527         (incomplete_type_error): Rename.
6528         * langhooks-def.h (lhd_incomplete_type_error): New.
6529         (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
6530         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
6531         * langhooks.c (lhd_incomplete_type_error): New.
6532         * langhooks.h (struct lang_hooks_for_types): New hook.
6533         * tree.c (size_in_bytes): Use new hook.
6534         * tree.h (incomplete_type_error): Remove.
6535 objc:
6536         * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
6537
6538 2002-04-18  Zack Weinberg  <zack@codesourcery.com>
6539
6540         * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
6541         TARGET_FLOAT_FORMAT blocks.
6542
6543 2002-04-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6544
6545         * doc/install.texi (Downloading the source): Do not mention Chill
6546         any longer, but mention Ada.
6547         (Configuration): Do not mention Chill any longer.
6548
6549 2002-04-18  Hans-Peter Nilsson  <hp@axis.com>
6550
6551         * config/cris/cris.h (TARGET_VERSION): Remove local version number.
6552
6553 Thu Apr 18 17:14:08 CEST 2002  Jan Hubicka  <jh@suse.cz>
6554
6555         * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
6556         in last patch.
6557
6558 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
6559
6560         * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
6561         instead of unsigned_type.
6562
6563 Thu Apr 18 15:49:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
6564
6565         * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
6566         * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
6567         later.
6568
6569 2002-04-18  Bernd Schmidt  <bernds@redhat.com>
6570
6571         * attribs.c (vector_type_node_list): New static variable.
6572         (handle_vector_size_attribute): Use it to avoid generating a
6573         new type node each time we are called.
6574
6575         * combine.c (subst): Avoid trying to make a vector mode subreg of
6576         an integer constant.
6577         (gen_lowpart_for_combine): Likewise.
6578
6579 2002-04-18  Roger Sayle  <roger@eyesopen.com>
6580             Jakub Jelinek  <jakub@redhat.com>
6581
6582         * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
6583         for integer constant c (if x has unsigned type or sign bit is not
6584         set in c).  This folds the zero/sign extension into the bit-wise and
6585         operation.
6586
6587 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
6588
6589         PR middle-end/6205
6590         * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
6591         otherwise xorps.
6592
6593 2002-04-17  NIIBE Yutaka  <gniibe@m17n.org>
6594
6595         * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
6596
6597 2002-04-17  Nick Clifton  <nickc@cambridge.redhat.com>
6598
6599         * gcc.c (read_specs): Detect and fail if an attempt is made to
6600         rename a spec string to an already existing string.
6601
6602 2002-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
6603
6604         * config/s390/s390.c (legitimize_pic_address): Do not generate
6605         illegal address constant without CONST.
6606
6607 2002-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6608
6609         * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
6610         * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
6611
6612 2002-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
6613
6614         PR optimization/6305
6615         * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
6616         to make sure previous reloads are taken into account.  Generate
6617         better code if one operand is an in-range immediate constant.
6618
6619 2002-04-16  Andrew Haley  <aph@cambridge.redhat.com>
6620
6621         * doc/install.texi (Building): libgcj requires GNU make.
6622
6623 2002-04-17  Jakub Jelinek  <jakub@redhat.com>
6624
6625         PR bootstrap/6315
6626         * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
6627         even if hard quad and register is not floating.
6628         (movtf reg<-mem split): Disallow splitting if hard quad and
6629         register is floating.
6630         (movtf mem<-reg split): Likewise.
6631         * config/sparc/sparc.c (fp_register_operand): New predicate.
6632         * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
6633
6634 2002-04-17  Zack Weinberg  <zack@codesourcery.com>
6635
6636         * Makefile.in (PROTO_OBJS): Add cppdefault.o.
6637         (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
6638         (unprotoize.o): Ditto.  Build from protoize.c.  Define
6639         UNPROTOIZE on command line.
6640         * protoize.c: Include cppdefault.h.  Delete include_defaults.
6641         (in_system_include_dir): Use cpp_include_defaults (defined in
6642         cppdefault.o).
6643         * unprotoize.c: Delete file.
6644
6645 2002-04-17  Aldy Hernandez  <aldyh@redhat.com>
6646
6647         * config/rs6000/altivec.h (vec_ld): Add array variants.
6648         (vec_lde): Same.
6649         (vec_ldl): Same.
6650
6651 2002-04-17  Alan Matsuoka  <alanm@redhat.com>
6652             Aldy Hernandez <aldyh@redhat.com>
6653
6654         * config/rs6000/altivec.h: Define __ALTIVEC__.
6655         (bool): New.
6656         (__pixel): New.
6657         (pixel): New.
6658         (vec_cfux): New.
6659         (vec_vmaddfp): New.
6660         (vec_vsldoi): New.
6661         Add parentheses to all macro arguments.
6662
6663 2002-04-16  Richard Henderson  <rth@redhat.com>
6664
6665         PR c++/6320
6666         * except.c (remove_eh_handler): Insert inner regions at beginning
6667         of sibling chain.  Refactor expressions.
6668
6669 2002-04-16  Richard Henderson  <rth@redhat.com>
6670
6671         * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
6672         * config/sparc/sol2-gas-bi.h: New file.
6673         * config.gcc (sparc*-solaris): Add it as needed.
6674         * configure.in (AS_SPARC64_FLAG): Remove check.
6675         * config.in, configure: Regenerate.
6676
6677         * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
6678
6679 2002-04-16  Richard Henderson  <rth@redhat.com>
6680
6681         * config/mips/mips.c (override_options): Don't override N32 for
6682         a 64-bit ISA.
6683
6684         PR 6202
6685         * config/mips/mips.md (can_delay): Split out of existing define_delays.
6686         (HILO_delay): Set can_delay false.
6687
6688 2002-04-16  Dale Johannesen <dalej@apple.com>
6689
6690         * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
6691         instruction addresses.
6692         (rs6000_output_function_epilogue): Likewise.
6693
6694 2002-04-16  Paolo Carlini  <pcarlini@unitus.it>
6695
6696         * c-parse.in (poplevel, compstmt_start,
6697         compstmt_primary_start): Add ending ';', in accordance
6698         with POSIX.
6699
6700 2002-04-16  Richard Henderson  <rth@redhat.com>
6701
6702         * config.gcc (sparcv9-solaris): Configure for 64-bit default.
6703         Adjust tm_file order to get TARGET_DEFAULT set properly.
6704         (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
6705         * doc/install.texi (sparc-solaris): Update.
6706
6707 2002-04-16  Dale Johannesen <dalej@apple.com>
6708
6709         * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
6710         comparison operands do not match each other or if modes of
6711         conditions do not match result.
6712
6713 2002-04-16  Hartmut Penner <hpenner@de.ibm.com>
6714
6715         PR target/6305
6716         * config/s390/s390.md (mulsidi3): Set both subregs of the
6717         multiword register.
6718
6719 2002-04-16  Aldy Hernandez  <aldyh@redhat.com>
6720
6721         * config/rs6000/altivec.h (vec_addc): Type check.
6722
6723 2002-04-16  Jakub Jelinek  <jakub@redhat.com>
6724
6725         PR middle-end/6279
6726         * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
6727
6728         * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
6729
6730 2002-04-15  Richard Henderson  <rth@redhat.com>
6731
6732         * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
6733         call_really_used_regs too.
6734
6735 2002-04-15  Richard Henderson  <rth@redhat.com>
6736
6737         * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
6738
6739 2002-04-15  David S. Miller  <davem@redhat.com>
6740
6741         * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
6742         as being CLOBBERed.
6743
6744 2002-04-16  Jakub Jelinek  <jakub@redhat.com>
6745
6746         PR c/6290
6747         * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
6748         CONST_VECTOR is { 0, ... 0 }.
6749
6750 2002-04-15  Loren J. Rittle  <ljrittle@acm.org>
6751
6752         * doc/install.texi (Installing GCC: Configuration): Clarify
6753         the only supported ways to configure gcc.
6754
6755 2002-04-15  Roland McGrath  <roland@frob.com>
6756
6757         * config.gcc (alpha*-*-gnu*): New target configuration.
6758         * config/alpha/gnu.h: New file for it.
6759         * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
6760
6761 2002-04-16  Mark Mitchell  <mark@codesourcery.com>
6762
6763         * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
6764         * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
6765         * tree.h (expand_start_stmt_expr): Update prototype.
6766         * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
6767         * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
6768         on the STMT_EXPR created for the inline function.
6769
6770 2002-04-15  Richard Henderson  <rth@redhat.com>
6771
6772         * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
6773         config/i386/linux-aout.h, config/i386/linux-oldld.h,
6774         config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
6775         config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
6776         config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
6777         config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
6778         config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
6779         Define __gnu_linux__, not gnu_linux.
6780         * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
6781
6782 2002-04-15  Mark Mitchell  <mark@codesourcery.com>
6783
6784         Remove Chill front end.
6785         * gcc.c (default_compilers): Remove Chill entries.
6786         * ch: Remove directory.
6787         * doc/frontends.texi: Remove information about Chill.
6788         * doc/sourcebuild.texi: Likewise.
6789         * doc/standards.texi: Likewise.
6790
6791 2002-04-15  Douglas B Rupp  <rupp@gnat.com>
6792
6793         * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
6794         (LONGLONG_STANDALONE): Define.
6795
6796 2002-04-15  David S. Miller  <davem@redhat.com>
6797
6798         * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
6799         Call emit_library_call with LCT_NORMAL.
6800         (sparc_initialize_trampoline): Use LCT_foo instead of
6801         magic constant in emit_library_call invocations.
6802         (sparc64_initialize_trampoline): Likewise.
6803         (sparc_profile_hook): Likewise.
6804         * config/sparc/sparc.md: Likewise.
6805
6806         * config/sparc/sparc.c (sparc_extra_constraint_check):
6807         Fix type of argument 'c'.
6808         * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
6809         Likewise.
6810
6811 2002-04-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6812
6813         * diagnostic.h (output_buffer_state): Redefine.
6814         (output_format_decoder): New macro.
6815         (output_prefixing_rule): Likewise.
6816         (output_line_cutoff): Likewise.
6817         (diagnostic_format_decoder): Adjust.
6818         (diagnostic_prefixing_rule): Likewise.
6819         (diagnostic_line_cutoff): Likewise.
6820         (diagnostic_state): Likewise.
6821         (diagnostic_kind_count): Likewise.
6822         (diagnostic_buffer): Now a macro.
6823
6824         * diagnostic.c (diagnostic_buffer): Remove definition.
6825         (output_is_line_wrapping): Adjust.
6826         (set_real_maximum_length): Likewise.
6827         (output_set_maximum_length): Likewise.
6828         (init_output_buffer): Likewise.
6829         (lhd_print_error_function): Likewise.
6830         (output_do_verbatim): Likewise.
6831
6832 2002-04-14  Neil Booth  <neil@daikokuya.demon.co.uk>
6833
6834         * cpperror.c (print_location): Don't print include chain
6835         if line == 0.
6836         (cpp_begin_message): Update to use DL_ macros.
6837         (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
6838         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
6839         cpp_notice, cpp_notice_from_errno): Remove.
6840         (cpp_error, cpp_error_with_line): Update to take a diagnostic
6841         level.
6842         (cpp_errno): New.
6843         * cppexp.c (CPP_ICE): Remove.
6844         (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
6845         lex, integer_overflow, _cpp_parse_expr): Update.
6846         * cppfiles.c (read_include_file, find_include_file,
6847         handle_missing_header, _cpp_read_file, remap_filename): Update.
6848         * cpphash.h (enum error_type): Remove.
6849         (_cpp_begin_message): Update.
6850         * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
6851         cpp_handle_option, cpp_post_options): Update.
6852         * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
6853         skip_whitespace, parse_identifier, parse_slow, parse_string,
6854         _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
6855         cpp_interpret_charconst): Update.
6856         * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
6857         lex_macro_node, do_undef, glue_header_name, parse_include,
6858         do_include_common, read_flag, do_line, do_linemarker, do_ident,
6859         cpp_register_pragma, do_pragma_once, do_pragma_system_header,
6860         do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
6861         do_elif, do_endif, parse_answer, parse_assertion, do_assert,
6862         _cpp_pop_buffer, do_diagnostic): Update.
6863         * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
6864         DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
6865         (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
6866         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
6867         cpp_notice, cpp_notice_from_errno): Remove.
6868         (cpp_error, cpp_error_with_line): Update to take a diagnostic
6869         level.
6870         (cpp_errno): New.
6871         * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
6872         collect_args, enter_macro_context, save_parameter, parse_params,
6873         _cpp_create_definition, check_trad_stringification,
6874         cpp_macro_definition): Update.
6875         * cppmain.c (cpp_preprocess_file): Update.
6876         * fix-header.c (read_scan_file): Update.
6877
6878 2002-04-14  Andreas Schwab  <schwab@suse.de>
6879
6880         * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
6881
6882 2002-04-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
6883
6884         * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
6885
6886 2002-04-13  Mark Mitchell  <mark@codesourcery.com>
6887
6888         * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
6889         not gnu_hurd.
6890
6891 2002-04-13  Hans-Peter Nilsson  <hp@axis.com>
6892
6893         * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
6894
6895 2002-04-13      Joel Sherrill <joel@OARcorp.com>
6896
6897         * config/sparc/t-elf: Enable v8 multilibs.  Impacts
6898         sparc-elf and sparc-rtems targets.
6899
6900 2002-04-13  Mark Mitchell  <mark@codesourcery.com>
6901
6902         * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
6903         defined, and __gnu_hurd__ wherever __GNU__ is defined.
6904         * arm/linux-elf.h: Likewise.
6905         * cris/aout.h: Likewise.
6906         * cris/linux.h: Likewise.
6907         * i370/linux.h: Likewise.
6908         * i386/gnu.h: Likewise.
6909         * i386/linux-aout.h: Likewise.
6910         * i386/linux-oldld.h: Likewise.
6911         * i386/linux.h: Likewise.
6912         * i386/linux64.h: Likewise.
6913         * ia64/linux.h: Likewise.
6914         * m68k/linux-aout.h: Likewise.
6915         * m68k/linux.h: Likewise.
6916         * mips/linux.h: Likewise.
6917         * pa/pa-linux.h: Likewise.
6918         * pj/linux.h: Likewise.
6919         * rs6000/sysv4.h: Likewise.
6920         * s390/linux.h: Likewise.
6921         * sh/linux.h: Likewise.
6922         * sparc/linux-aout.h: Likewise.
6923         * sparc/linux.h: Likewise.
6924         * sparc/linux64.h: Likewise.
6925         * xtensa/linux.h: Likewise.
6926
6927 2002-04-13  Richard Sandiford  <rsandifo@redhat.com>
6928
6929         * stmt.c (check_unique_operand_names): Expect operand names to
6930         be strings rather than identifiers.  Use simple_cst_equal to
6931         compare them.
6932         (resolve_operand_name_1): Make same identifier to string change here.
6933         * c-parse.in (asm_operand): Convert a named operand into a string.
6934         * cp/parse.y (asm_operand): Likewise.
6935
6936 2002-04-13  Andreas Schwab  <schwab@suse.de>
6937
6938         * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
6939
6940 2002-04-12  Mark Mitchell  <mark@codesourcery.com>
6941
6942         Revert these changes:
6943
6944         2002-04-06  Mark Mitchell  <mark@codesourcery.com>
6945
6946         PR c++/5571
6947         * stor-layout.c (layout_decl): Reset the RTL for the decl.
6948
6949 2002-04-12  Richard Henderson  <rth@redhat.com>
6950
6951         * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
6952         (sparc*-*-solaris): Clean up header files.
6953         * configure.in (AS_SPARC64_FLAG): Error out if can't find it
6954         and plan on generating 64-bit code.
6955         * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
6956         * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
6957         * config/sparc/sol2-sld-64.h: Rename ...
6958         * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
6959         for AS_SPARC64_FLAG not defined.
6960         * config/sparc/sol2-gld-bi.h: New.
6961         * config/sparc/sol2-sld.h: Remove.
6962         * config/sparc/sol26-sld.h: New.
6963         * config/sparc/sol2.h: Tidy comments.
6964         * doc/install.texi: Document sparc-solaris configury changes.
6965
6966 2002-04-12  Richard Henderson  <rth@redhat.com>
6967
6968         * recog.c (offsettable_address_p): Match the logic in adjust_address.
6969
6970         * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
6971         in 64-bit mode only.  Use only for 32-bit or MEDLOW.
6972
6973 2002-04-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6974
6975         * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
6976
6977 Fri Apr 12 15:42:59 2002  Jeffrey A Law  (law@redhat.com)
6978
6979         * pa.c (pa_can_combine_p): Call extract_insn before calling
6980         constrain_operands.
6981
6982 2002-04-12  Douglas B Rupp  <rupp@gnat.com>
6983
6984         * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
6985         (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
6986         (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
6987         (CPP_PREDEFINES): Handle __declspec.
6988         * config/i386/t-interix (USER_H): Remove.
6989
6990 2002-04-12  DJ Delorie  <dj@redhat.com>
6991
6992         * integrate.c (compare_blocks): Make comparisons safe for when
6993         sizeof(int) < sizeof(char *).
6994         (find_block): Likewise.
6995
6996 2002-04-12  Jan Hubicka  <jh@suse.cz>
6997             David Edelsohn  <edelsohn@gnu.org>
6998
6999         * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
7000         registers.
7001         (symbol_ref_operand): New.
7002         * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
7003         * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
7004
7005 2002-04-12  Andreas Schwab  <schwab@suse.de>
7006
7007         * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
7008         * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
7009         overrides the definition in config/svr4.h.
7010
7011 2002-04-12      Eric Norum <eric.norum@usask.ca>
7012
7013         * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
7014         config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
7015         config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
7016         config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
7017         config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
7018         config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
7019         config/v850/rtems.h (*-rtems*): Cleanup pass to move common
7020         definitions to config/rtems.h and make the targets more similar.
7021
7022 Fri Apr 12 08:06:54 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7023
7024         * expr.c (expand_assigment): Remove duplicate conversions #ifdef
7025         POINTERS_EXTEND_UNSIGNED.
7026         (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
7027         (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
7028
7029         * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
7030         not specified.
7031
7032 Fri Apr 12 12:11:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
7033
7034         * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
7035         depends on TARGET_SHMEDIA, not TARGET_SH5.
7036
7037 2002-04-12  Hans-Peter Nilsson  <hp@bitrange.com>
7038
7039         * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
7040         For paradoxical (subreg VAR), replace VAR, don't try the subreg.
7041
7042 Fri Apr 12 10:51:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
7043
7044         * sh.c (broken_move): Constant 0. / 1. load is OK if there is
7045         no r0 clobber.
7046
7047 2002-04-12  Andreas Schwab  <schwab@suse.de>
7048
7049         * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
7050
7051 2002-04-12  Richard Henderson  <rth@redhat.com>
7052
7053         PR bootstrap/4191
7054         * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
7055
7056         * flow.c (mark_used_reg): Manage reg_cond_dead properly for
7057         modes spanning multiple hard regs.
7058
7059         * recog.c (peephole2_optimize): Rebuild jump labels as needed.
7060
7061 2002-04-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7062
7063         * pa.c (pa_output_function_prologue): Don't accumulate the total
7064         number of code bytes when using TARGET_64BIT, or gas, SOM and not
7065         the portable runtime.
7066         (output_deferred_plabels): Handle 64bit plabels.
7067         (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
7068         generating pic code using the GAS assembler for object formats that
7069         are not SOM (ie., ELF32 and ELF64).
7070         (output_millicode_call): Check attribute type if attribute length is 28.
7071         Likewise use $PIC_pcrel$0.  Only call get_attr_length and
7072         dbr_sequence_length once.
7073         (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
7074         dbr_sequence_length once.
7075         * pa.h (TARGET_SOM): Define if not defined.
7076         * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
7077         with GAS and not SOM.
7078         (jump, call_internal_reg, call_value_internal_reg): Likewise.
7079         * som.h (OBJ_SOM): Rename to TARGET_SOM.  Undefine before defining.
7080
7081 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
7082
7083         * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
7084         (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
7085         (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
7086         DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
7087         elfos.h and dbxelf.h values are fine now.
7088         * config/i386/freebsd.h, config/alpha/freebsd.h
7089         (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
7090
7091 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
7092
7093         * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
7094         or set Acpu or Amachine.  Reformat.
7095         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
7096         define.
7097         (LINK_SPEC): Do not need to undef.
7098         * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
7099         * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
7100         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
7101         define.
7102         * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
7103         (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
7104         (LINK_SPEC): Do not need to undef.
7105         (DONT_USE_BUILTIN_SETJMP): Do not define.
7106         * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
7107         (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine.  Remove -Dia64.
7108         (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
7109         Remove trailing spaces.
7110         * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
7111         __ELF__, or set Acpu or Amachine.  Reformat.
7112         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
7113         define.
7114
7115 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
7116
7117         * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
7118         all other *-*-freebsd* targets.
7119
7120 2002-04-11  Richard Henderson  <rth@redhat.com>
7121
7122         * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
7123
7124 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
7125
7126         * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
7127         Include {cpu}/{cpu}.h thru tm_file.
7128         (alpha*-*-linux*ecoff): Remove target.
7129         * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
7130         (LINK_SPEC): Remove, is not OS independent.
7131         * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
7132         (LINK_SPEC): Do not need to #undef any longer.
7133         * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
7134         any longer.
7135         * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
7136         __ELF__.
7137         (LINK_SPEC): Moved here from alpha/elf.h.
7138         * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
7139         SUB_CPP_PREDEFINES.
7140         * config/alpha/linux-ecoff.h: Remove.
7141         * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
7142         (CPP_SPEC): Define _POSIX_SOURCE as needed.
7143         (CPP_SUBTARGET_SPEC): Do not define.
7144         (LINK_SPEC): Do not need to #undef any longer.
7145         * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
7146         * config/alpha/vms.h: Likewise.
7147
7148 2002-04-11  Richard Sandiford  <rsandifo@redhat.com>
7149
7150         * doc/extend.texi: Remove old claim that typedefs cannot have
7151         an alignment attribute.
7152
7153 2002-04-11  Jakub Jelinek  <jakub@redhat.com>
7154
7155         PR optimization/6177
7156         * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
7157         bitpos is 0 and bitsize CONCAT size.
7158
7159 2002-04-11  Jakub Jelinek  <jakub@redhat.com>
7160
7161         PR c/6223
7162         * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
7163
7164 2002-04-10  David O'Brien  <obrien@FreeBSD.org>
7165
7166         * config/alpha/freebsd.h: Minor reformatting.
7167         (CPP_SPEC): Define ELF and add cpp_subtarget.
7168         (ASM_SPEC): No longer needed.
7169
7170 2002-04-11  Richard Henderson  <rth@redhat.com>
7171
7172         * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
7173         (movdi_insn_sp32_v9): Likewise.  Only allow stx with aligned memory.
7174         (dimode mem/zero splitter): New.
7175
7176 2002-04-11  Hans-Peter Nilsson  <hp@axis.com>
7177
7178         * config/cris/cris.c (cris_override_options): Tweak error message
7179         for PIC not implemented.
7180
7181         * config/cris/cris.h: Tweak comments related to parameter-passing.
7182
7183         * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
7184
7185 2002-04-10  Richard Henderson  <rth@redhat.com>
7186
7187         * except.c (add_ehl_entry): Allow duplicates after landing pad
7188         creation.
7189
7190 2002-04-10  David Edelsohn  <edelsohn@gnu.org>
7191
7192         * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
7193
7194 2002-04-10  Toon Moene  <toon@moene.indiv.nluug.nl>
7195
7196         * c-decl.c (c_init_decl_processing): Move generation of
7197         decls for g77_integer_type_node and friends from here ...
7198         * c-common.c (c_common_nodes_and_builtins): ... to here.
7199
7200 2002-04-10  Ulrich Weigand  <uweigand@de.ibm.com>
7201
7202         * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
7203         is only used as frame pointer when frame_pointer_needed is true.
7204
7205 2002-04-10  Richard Earnshaw  <rearnsha@arm.com>
7206
7207         PR target/817
7208         * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
7209         for the fact that the pool entry uses two words.
7210         (movdf_hard_insn): Similarly.  Also, ADR instruction can span
7211         1k bytes.
7212         (movdf_soft_insn): Similarly.
7213         (movxf_hard_insn): Adjust neg_pool_range attribute to allow
7214         for the fact that the pool entry uses three words.
7215
7216 2002-04-10  Richard Sandiford  <rsandifo@redhat.com>
7217
7218         * config/mips/mips.c (mips_va_arg): When using the struct version
7219         of the EABI va_list, allow arguments in the register save area to
7220         take up less room than a stack argument.
7221
7222 2002-04-10  Richard Henderson  <rth@redhat.com>
7223
7224         * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
7225         if EXPAND_INITIALIZER.
7226
7227 2002-04-09  Richard Henderson  <rth@redhat.com>
7228
7229         * config/alpha/alpha.md (movdi_er_maybe_g): New.
7230         * config/alpha/alpha.c (alpha_expand_mov): Use it.
7231
7232 2002-04-10  Alan Modra  <amodra@bigpond.net.au>
7233
7234         PR optimization/6233
7235         * rtlanal.c (pure_call_p): New function.
7236         * rtl.h (pure_call_p): Declare.
7237         * loop.c (prescan_loop): Use it to set has_nonconst_call.
7238         * gcse.c (store_killed_in_insn): Use pure_call_p here too.
7239
7240 2002-04-09  Eric Christopher  <echristo@redhat.com>
7241
7242         * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
7243         information to .comm directive.
7244
7245 2002-04-09  Richard Henderson  <rth@redhat.com>
7246
7247         PR c/5078
7248         * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
7249
7250 2002-04-09  Richard Henderson  <rth@redhat.com>
7251
7252         * basic-block.h (flow_delete_block_noexpunge): Declare.
7253         (expunge_block_nocompact): Declare.
7254         * cfg.c (expunge_block_nocompact): Split out from ...
7255         (expunge_block): ... here.
7256         * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
7257         (flow_delete_block_noexpunge): Split out from ...
7258         (flow_delete_block): ... here.
7259         * cfgcleanup.c (delete_unreachable_blocks): Compact while
7260         removing dead blocks.
7261         * except.c (exception_handler_labels): Remove.
7262         (exception_handler_label_map): New.
7263         (struct eh_region): Add aka member.
7264         (mark_ehl_map_entry, mark_ehl_map, free_region): New.
7265         (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
7266         (for_each_eh_label, for_each_eh_label_1): New.
7267         (init_eh): Register exception_handler_label_map.
7268         (free_eh_status): Use free_region.
7269         (find_exception_handler_labels): Use the map, not the list.
7270         (remove_exception_handler_label): Likewise.
7271         (maybe_remove_eh_handler): Likewise.
7272         (remove_eh_handler): Use the region aka bitmap.
7273         * except.h (exception_handler_labels): Remove.
7274         (for_each_eh_label): Declare.
7275         * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
7276         * loop.c (invalidate_loops_containing_label): New.
7277         (find_and_verify_loops): Use it.  Use for_each_eh_label.
7278         * sched-rgn.c (is_cfg_nonregular): Use
7279         current_function_has_exception_handlers.
7280
7281 2002-04-09  Richard Henderson  <rth@redhat.com>
7282
7283         * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
7284         sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
7285         Do not return changed status.
7286         (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
7287         sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
7288         New functions that do return changed status.
7289         * sbitmap.h: Update decls.
7290         * gcse.c, lcm.c: Use _cg functions as needed.
7291
7292 Tue Apr  9 19:15:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
7293
7294         * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
7295         (sh64-*-elf*, sh-*-rtemself*): Likewise.
7296         * config/sh/embed_bb.c: New file.
7297         * config/sh/embed-elf.h: New file.
7298         * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
7299         if -m[12345]* option is given.  Don't use subtarget_cpp_ptr_spec.
7300         (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
7301         __PTRDIFF_TYPE__ .
7302         (SUBTARGET_CPP_PTR_SPEC): Don't define.
7303         (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
7304         Add subtarget_asm_endian_spec.
7305         (ASM_SPEC): Use subtarget_asm_endian_spec.
7306         (SUBTARGET_ASM_ENDIAN_SPEC): Define.
7307         (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
7308         (WCHAR_UNSIGNED): Define.
7309         (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
7310         (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
7311         (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
7312         Fix value.
7313         * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
7314         (sh_adjust_cost): Likewise.
7315         sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
7316         __PTRDIFF_TYPE__ .
7317         (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
7318         (WCHAR_TYPE_SIZE): Likewise.
7319         (ASM_SPEC): Use subtarget_asm_endian_spec.
7320         (SH_ELF_WCHAR_TYPE): #undef/ #define.
7321         (MAX_WCHAR_TYPE_SIZE): Don't #undef.
7322         * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
7323         (MAX_WCHAR_TYPE_SIZE): Don't #define .
7324         (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
7325         (USER_LABEL_PREFIX): Don't #undef /#define .
7326         (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
7327         * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
7328         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
7329         (ASM_SPEC): Likewise.
7330         (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
7331         (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
7332         * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
7333         (LIB2FUNCS_EXTRA): Define.
7334         * t-sh64 (LIB2FUNCS_EXTRA): Define.
7335         * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
7336         (LIB1ASMFUNCS_CACHE): Define.
7337         (LIB2FUNCS_EXTRA): Redefine empty.
7338
7339 2002-04-08  Richard Henderson  <rth@redhat.com>
7340
7341         * reorg.c (get_branch_condition): Use reversed_comparison_code.
7342
7343 2002-04-09  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7344
7345         * config/m68hc11/larith.asm (__map_data_section): Fix condition
7346         and optimize for size.
7347         (__do_global_ctors): Fix pointer comparison.
7348         (__do_global_dtors): Likewise.
7349
7350 2002-04-09  David S. Miller  <davem@redhat.com>
7351
7352         * config/sparc/sparc.c (sparc_extra_constraint_check): New
7353         function, implementing EXTRA_CONSTRAINTS.  For memory constraints,
7354         allow reloading pseudos.
7355         * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
7356         * config/sparc/sparc-protos.h: Declare it.
7357
7358         * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
7359         unsigned comparison warning.
7360         (output_restore_regs): Mark leaf_function as unused.
7361
7362 Tue Apr  9 09:35:45 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7363
7364         * expr.c (is_aligning_offset): New function.
7365         (expand_expr, case COMPONENT_EXPR): Call it.
7366
7367 2002-04-08  David S. Miller  <davem@redhat.com>
7368
7369         PR target/6082
7370         * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
7371
7372         Make init_priority work on Sparc when using GNU ld.
7373         * config/sparc/linux.h, config/sparc/linux64.h,
7374         config/sparc/netbsd-elf.h, config/sparc/freebsd.h
7375         (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
7376         * config/sparc/sol2-gld.h: New file to do the same.
7377         * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
7378         sparc/sol2-gld.h to tm_file.
7379
7380         PR optimization/4328
7381         * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
7382         * doc/md.texi: Document it.
7383         * config/sparc/sparc.md (movdi_insn_sp64_novis,
7384         movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
7385         movdf_insn_v9only_vis, movdf_insn_sp64_novis,
7386         movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
7387         * config/sparc/sparc.c (mem_min_alignment): Fix comment.
7388
7389 2002-04-08  Andreas Jaeger  <aj@suse.de>
7390
7391         * stmt.c (expand_asm_operands): Revert last patch from Richard
7392         Henderson.
7393
7394 2002-04-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7395
7396         * doc/contrib.texi (Contributors): Add John David Anglin and Loren
7397         J. Rittle (the latter also to Testers).  Update David O'Brien's entry.
7398
7399 2002-04-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7400
7401         * doc/contrib.texi (Contributors): Add David O'Brien.
7402
7403 2002-04-08  Alan Modra  <amodra@bigpond.net.au>
7404
7405         * configure.in (auto-build.h): Use target_alias and build_alias
7406         when running configure.
7407         (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
7408         (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
7409         * configure: Regenerate.
7410
7411 2002-04-07  David S. Miller  <davem@redhat.com>
7412
7413         * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
7414
7415 2002-04-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7416
7417         PR 5933
7418         * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
7419         generating 32-bit pic code.
7420
7421 2002-04-06  Jason Thorpe  <thorpej@wasabisystems.com>
7422
7423         * cppinit.c (cpp_create_reader): Initialize
7424         discard_comments_in_macro_exp.
7425         (COMMAND_LINE_OPTIONS): Add "-CC" option.
7426         (cpp_handle_option): Handle "-CC" option.
7427         * cpplex.c (save_comment): If saving a C++ comment in
7428         a directive, convert it to a C comment.
7429         (_cpp_lex_direct): Pass second comment start character to
7430         save_comment to indicate comment type.
7431         * cpplib.c (_cpp_handle_directive): If processing
7432         a "#define" directive and discard_comments_in_macro_exp
7433         is false,  re-enable saving of comments.
7434         (lex_macro_node): If discard_comments_in_macro_exp is false,
7435         discard any comments before the macro identifier.
7436         * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
7437         member.
7438         * cppmacro.c (cpp_get_token): If expanding a macro while
7439         processing a directive, discard any comments we might encounter.
7440         (parse_params): If discard_comments_in_macro_exp is false,
7441         ignore comments in the macro parameter list.
7442         * gcc.c (cpp_unique_options): Add "-CC" option.
7443         (option_map): Map "--comments-in-macros" to "-CC".
7444         * doc/cppopts.texi: Document "-CC" option.
7445         * f/lang-specs.h: Add "-CC" option.
7446         * testsuite/gcc.dg/cpp/maccom1.c: New test.
7447         * testsuite/gcc.dg/cpp/maccom2.c: New test.
7448         * testsuite/gcc.dg/cpp/maccom3.c: New test.
7449         * testsuite/gcc.dg/cpp/maccom4.c: New test.
7450         * testsuite/gcc.dg/cpp/maccom5.c: New test.
7451         * testsuite/gcc.dg/cpp/maccom6.c: New test.
7452
7453 2002-04-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7454
7455         PR middle-end/6180
7456         * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
7457
7458 2002-04-06  Mark Mitchell  <mark@codesourcery.com>
7459
7460         PR c++/5571
7461         * stor-layout.c (layout_decl): Reset the RTL for the decl.
7462
7463         PR opt/5120
7464         * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
7465         RTX_UNCHANGING_P for the functions arguments when a tail call
7466         is made.
7467
7468 2002-04-06  Jason Merrill  <jason@redhat.com>
7469
7470         * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
7471         (parse_options_and_default_flags): Set them appropriately.
7472         * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
7473
7474 2002-04-06  Hans-Peter Nilsson  <hp@bitrange.com>
7475
7476         * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
7477         here.
7478
7479         * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
7480         semicolon.
7481
7482         * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
7483         types come in by-reference.  Fix typo in comment.
7484
7485 2002-04-05  David S. Miller  <davem@redhat.com>
7486
7487         * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
7488         * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
7489         sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
7490         {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
7491
7492 2002-04-05  David S. Miller  <davem@redhat.com>
7493
7494         * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
7495         are not going to emit return instructions, emit at least a nop
7496         for the sake of sane backtraces.
7497
7498 2002-04-05  Richard Henderson  <rth@redhat.com>
7499
7500         * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
7501
7502 2002-04-05  Jakub Jeilnek  <jakub@redhat.com>
7503
7504         * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
7505
7506 2002-04-05  Alexandre Oliva  <aoliva@redhat.com>
7507
7508         * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
7509         ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
7510         ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
7511
7512 2002-04-05  Andreas Schwab  <schwab@suse.de>
7513
7514         * c-convert.c: Include c-common.h.
7515         * Makefile.in (c-convert.o): Updated.
7516
7517 2002-04-05  Jakub Jelinek  <jakub@redhat.com>
7518
7519         * mklibgcc.in: Use separate libgcc.map for each multilib.
7520         * Makefile.in (distclean): Don't remove libgcc.map here.
7521
7522 2002-04-05  Jakub Jelinek  <jakub@redhat.com>
7523
7524         * Makefile.in (s-mlib): Handle --disable-multilib by separate
7525         genmultilib invocation.
7526
7527 2002-04-04  Richard Sandiford  <rsandifo@redhat.com>
7528
7529         * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
7530         to avoid clash with Irix header file sys/ucontext.h.  Rename gp_regs
7531         to num_gprs for symmetry.
7532         * config/mips/mips.c: Adjust accordingly.
7533
7534 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
7535
7536         * c-common.c (truthvalue_conversion): Rename, update.
7537         * c-common.h (c_common_truthvalue_conversion): New.
7538         * c-convert.c (convert): Update.
7539         * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
7540         * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
7541         * c-typeck.c (build_binary_op, build_unary_op,
7542         build_conditional_expr): Update.
7543         * fold-const.c (constant_boolean_node, fold): Use langhook.
7544         * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
7545         * langhooks.h (struct lang_hooks): New hook.
7546         * stmt.c (expand_decl_cleanup): Use langhook.
7547         * tree.h (truthvalue_conversion): Remove.
7548 objc:
7549         * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
7550
7551 2002-04-05  Alan Modra  <amodra@bigpond.net.au>
7552
7553         * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
7554         Add rules to make null object file.
7555
7556 2002-04-04  Jim Blandy  <jimb@redhat.com>
7557
7558         * cppmacro.c (cpp_macro_definition): Do not emit spaces after
7559         macro formal parameter names.
7560
7561 2002-04-04  David S. Miller  <davem@redhat.com>
7562
7563         * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
7564
7565 2002-04-04  Richard Henderson  <rth@redhat.com>
7566
7567         PR middle-end/5099
7568         * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
7569         Support copies into and out of memory.  Don't accept allows_reg
7570         and allows_mem as gospel.
7571
7572 2002-04-04  Richard Henderson  <rth@redhat.com>
7573
7574         PR opt/6165
7575         * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
7576         (write_dependence_p): Likewise.
7577
7578 2002-04-04  Richard Henderson  <rth@redhat.com>
7579
7580         * predict.c (estimate_bb_frequencies): Do frequency calculation
7581         with a volatile temporary.
7582
7583 2002-04-04  Ulrich Weigand  <uweigand@de.ibm.com>
7584
7585         * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
7586
7587 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
7588
7589         PR c++/6119
7590         * final.c (final_start_function): Don't bump profile_label_no here...
7591         (final_end_function): ...but here.
7592
7593 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
7594
7595         * config/sparc/sparc.md (pic): New attribute.
7596         (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
7597         into stack slots.
7598         (split after do_builtin_setjmp_setup): New.
7599
7600 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
7601
7602         PR fortran/6106
7603         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
7604         change.
7605
7606 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
7607
7608         * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
7609         UNITS_PER_WORD for zero sized aggregates.
7610
7611 2002-04-03  David S. Miller  <davem@redhat.com>
7612
7613         * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
7614         one-character spec for this, just use %(link_gcc_c_sequence).
7615
7616 2002-04-03  David S. Miller  <davem@redhat.com>
7617
7618         * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
7619         handling.
7620
7621 2002-04-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7622
7623         * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
7624         (DWARF_FRAME_RETURN_COLUMN): Move.
7625         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
7626         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
7627         * pa.c (except.h, predict.h): Include.
7628         (FRP): Delete.
7629         (store_reg_modify, set_reg_plus_d): Revise prototypes.
7630         (output_ascii): Add cast.
7631         (store_reg_modify): Revise to add frame notes.
7632         (set_reg_plus_d): Likewise.
7633         (compute_frame_size): Include space for eh data registers in frame if
7634         the current function calls eh_return.
7635         (hppa_expand_prologue):  Ensure register %r2 is saved if the current
7636         function calls eh_return.  Save eh data registers if the current
7637         function calls eh_return.  Fix code to add frame notes.  Emit
7638         blockage to prevent insns with frame notes being scheduled in the
7639         delay slot of calls.
7640         (hppa_expand_epilogue): Restore eh data registers and do final stack
7641         adjustment if the current function calls eh_return.  Don't add frame
7642         notes.
7643         (output_call): Revise for change in length of call insn.  Don't do
7644         return pointer adjustment for an unconditional jump in the delay slot
7645         of a call when using frame notes.
7646         * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
7647         (EH_RETURN_HANDLER_RTX): Use saved value on stack.
7648         (ARG_POINTER_CFA_OFFSET): Define.
7649         * pa.md (return_external_pic): New pattern.
7650         (prologue): Correct formatting.  Use return_external_pic if current
7651         function calls eh_return.
7652         (call_internal_symref, call_value_internal_symref,
7653         sibcall_internal_symref, sibcall_value_internal_symref): Change default
7654         lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
7655         respectively.
7656         (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
7657
7658         * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
7659         list of targets to check using "nop" insn.
7660         * configure: Rebuilt.
7661
7662 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
7663
7664         * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
7665
7666 2002-04-03  David S. Miller  <davem@redhat.com>
7667
7668         * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
7669         library sequence passed to the linker.
7670         (LINK_COMMAND_SPEC): Use it.
7671         * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
7672         a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
7673         * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
7674
7675 2002-04-03  Jason Merrill  <jason@redhat.com>
7676
7677         * except.c (struct eh_status): Remove protect_list.
7678         (begin_protect_partials, end_protect_partials): Remove.
7679         (add_partial_entry): Remove.
7680         * except.h: Remove prototypes.
7681
7682         * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
7683         expand_decl_cleanup_eh.
7684
7685         PR c++/5636
7686         * tree.h (CLEANUP_EH_ONLY): New macro.
7687         * stmt.c (expand_decl_cleanup_eh): New fn.
7688         (expand_cleanups): Check CLEANUP_EH_ONLY.
7689         * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
7690         Use expand_decl_cleanup_eh.
7691         (expand_stmt): Adjust.
7692         * c-common.h: Adjust prototype.
7693
7694 2002-04-04  Hans-Peter Nilsson  <hp@axis.com>
7695
7696         * config/cris/cris.c (cris_target_asm_function_prologue): Cast
7697         uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
7698         (cris_target_asm_function_epilogue): Ditto.
7699         (cris_initial_frame_pointer_offset): Ditto.
7700         (cris_simple_epilogue): Ditto.
7701         (cris_expand_builtin_va_arg): Variable-size types come in
7702         by-reference.
7703
7704 2002-04-03  David S. Miller  <davem@redhat.com>
7705
7706         * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
7707         little-endian.
7708         (set_fast_math): Correct 'fsr' type.
7709
7710 2002-04-03  Richard Henderson  <rth@redhat.com>
7711
7712         PR opt/3569
7713         * langhooks.h (lang_hooks.decls.warn_unused_global): New.
7714         * toplev.c (check_global_declarations): Use it.
7715         * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
7716         (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
7717         (LANG_HOOKS_DECLS): Add it.
7718         * langhooks.c (lhd_warn_unused_global_decl): New.
7719         * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
7720         * c-objc-common.c (c_warn_unused_global_decl): New.
7721         * c-tree.h (c_warn_unused_global_decl): Declare.
7722         * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
7723
7724 2002-04-03  Neil Booth  <neil@daikokuya.demon.co.uk>
7725
7726         * langhooks-def.h (lhd_set_decl_assembler_name,
7727         LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
7728         (LANG_HOOKS_INITIALIZER): Update.
7729         * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
7730         * langhooks.h (struct lang_hooks): New hook.
7731         * tree.c (set_decl_assembler_name): Move to langhooks.c.
7732         (lang_set_decl_assembler_name): Remove.
7733         (init_obstacks): Don't set hook.
7734         (decl_assembler_name): New function.
7735         * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
7736         (decl_assembler_name): New.
7737         (lang_set_decl_assembler_name): Remove.
7738
7739 2002-04-03  Jakub Jelinek  <jakub@redhat.com>
7740
7741         * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
7742         works properly with .hidden symbols.
7743         * configure: Rebuilt.
7744         * config.in: Rebuilt.
7745         * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
7746         DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
7747         properly with .hidden symbols.
7748
7749 2002-04-03  Jakub Jelinek  <jakub@redhat.com>
7750
7751         PR middle-end/6102
7752         * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
7753         USE argument.
7754
7755 2002-04-03  Richard Henderson  <rth@redhat.com>
7756
7757         PR opt/4120
7758         * sched-rgn.c (sets_likely_spilled): New.
7759         (sets_likely_spilled_1): New.
7760         (add_branch_dependences): Use it.
7761
7762 2002-04-02  Richard Henderson  <rth@redhat.com>
7763
7764         PR opt/4311
7765         * loop.h (LOOP_FIRST_PASS): New.
7766         * loop.c (strength_reduce): Mind it when deciding to unroll.
7767         * toplev.c (rest_of_compilation): Set it.
7768
7769 2002-04-02  David S. Miller  <davem@redhat.com>
7770
7771         * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
7772         mems_ok_for_ldd_peep when the order of the loads being examined
7773         is reversed.
7774         * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
7775         existing comment to increase comprehension of this situation.
7776
7777 2002-04-02  Zack Weinberg  <zack@codesourcery.com>
7778
7779         * config/sh/sh.md: Don't use union real_extract.
7780
7781 2002-04-02  Richard Henderson  <rth@redhat.com>
7782
7783         * libgcc2.c (__bb_exit_func): Revert 03-31 change.
7784
7785 2002-04-02  David O'Brien  <obrien@FreeBSD.org>
7786
7787         * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
7788         i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
7789         i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
7790         i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
7791         i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
7792         i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
7793         i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
7794         i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
7795         i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
7796         i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
7797         i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
7798         i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
7799         i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
7800         i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
7801         Include as many configury headers via tm_file as possible.  This
7802         includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
7803         * config/openbsd-oldgas.h: New file.
7804         * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
7805         config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
7806         config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
7807         config/i386/i386-coff.h, config/i386/i386-interix.h,
7808         config/i386/iscdbx.h, config/i386/linux-aout.h,
7809         config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
7810         config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
7811         config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
7812         config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
7813         config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
7814         config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
7815         config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
7816         config/i386/vxi386.h: Do not directly include configury headers.
7817         * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
7818         Directly include configury headers that are no longer automatically
7819         included by the above headers.
7820         * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
7821         * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
7822         config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
7823         config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
7824         config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
7825         config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
7826         config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
7827         (TARGET_VERSION): Define.
7828         * config/i386/beos-elf.h, config/i386/freebsd.h,
7829         config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
7830         config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
7831         config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
7832         config/i386/sco5.h, config/i386/sysv4.h
7833         (TARGET_VERSION): Do not need to protect.
7834         * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
7835         * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
7836         config/i386/freebsd-aout.h, config/i386/i386-aout.h,
7837         config/i386/i386-interix.h, config/i386/linux-aout.h,
7838         config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
7839         config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
7840         (YES_UNDERSCORES): Do not define - not needed.
7841         * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
7842         ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
7843         USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
7844         * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
7845         (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
7846         USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
7847         * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
7848         * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
7849
7850 2002-04-02  Eric Botcazou  <ebotcazou@multimania.com>
7851             Richard Henderson  <rth@redhat.com>
7852
7853         PR c/5484
7854         * function.c (assign_temp): Accept either type or decl argument.
7855         Detect variables whose size is too large to fit into an integer.
7856         * stmt.c (expand_decl): Pass the decl, not the type.
7857
7858 2002-04-02  David O'Brien  <obrien@FreeBSD.org>
7859
7860         * protoize.c: Match include directory usage with cppdefault.c.
7861
7862 2002-04-03  Jeffrey A Law  (law@redhat.com)
7863             Hans-Peter Nilsson  <hp@bitrange.com>
7864
7865         * combine.c (simplify_comparison): Avoid narrowing a comparison
7866         with a paradoxical subreg when doing so would drop signficant bits.
7867
7868 2002-04-02  Steve Ellcey  <sje@cup.hp.com>
7869
7870         * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
7871         if POINTERS_EXTEND_UNSIGNED is defined.
7872
7873 2002-04-02  Richard Henderson  <rth@redhat.com>
7874
7875         PR opt/3967
7876         * local-alloc.c (contains_replace_regs): LO_SUM may contain
7877         replace regs.
7878
7879 2002-04-02  Richard Henderson  <rth@redhat.com>
7880
7881         * doc/standards.texi: Document required freestanding libc entry points.
7882
7883 2002-04-02  Alan Modra  <amodra@bigpond.net.au>
7884
7885         * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
7886         associated splitter.  Remove MQ constraint.
7887         (ctrdi_internal4): Correct CCmode clobber.
7888
7889 2002-04-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7890
7891         * milli64.S ($$dyncall): New function.
7892         * t-linux (LIB1ASMFUNCS): Revise module list.
7893         (LIB1ASMSRC): Use pa/milli64.S.
7894
7895 2002-04-02  Richard Henderson  <rth@redhat.com>
7896
7897         * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
7898         rename solaris_sys_varargs_h.
7899
7900 Tue Apr  2 06:47:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7901
7902         * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
7903         the same mode as its component.
7904
7905 2002-04-02  Richard Henderson  <rth@redhat.com>
7906
7907         PR opt/190
7908         * final.c (this_is_asm_operands): Export.
7909         * output.h (this_is_asm_operands): Declare.
7910         * config/i386/i386.c (print_operand): Error odd asm operands.
7911
7912 2002-04-02  Richard Henderson  <rth@redhat.com>
7913
7914         PR opt/420
7915         * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
7916
7917 2002-04-01  Richard Henderson  <rth@redhat.com>
7918
7919         PR target/1538
7920         * fixinc/inclhack.def (solaris_sys_varargs_h): New.
7921         * fixinc/fixincl.x: Rebuild.
7922
7923 2002-04-01  Richard Henderson  <rth@redhat.com>
7924
7925         * config/ia64/unwind-ia64.c: Include ia64intrin.h.
7926         (atomic_alloc, atomic_free): New.
7927         (SIZE, MASK_FOR, PTR_IN): New.
7928         (emergency_reg_state, emergency_reg_state_free): New.
7929         (emergency_labeled_state, emergency_labeled_state_free): New.
7930         (reg_state_alloced, labeled_state_alloced): New.
7931         (alloc_reg_state, free_reg_state): New.
7932         (alloc_label_state, free_label_state, free_label_states): New.
7933         (push, pop, dup_state_stack, free_state_stack): Use them.
7934         (desc_label_state): Likewise.
7935         (uw_frame_state_for): Free label states and state stack.
7936         (uw_update_reg_address): Eliminate warnings.
7937
7938 2002-04-01  Vladimir Makarov  <vmakarov@redhat.com>
7939
7940         * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
7941         ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
7942
7943 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
7944
7945         * c-decl.c (grokdeclarator): Update.
7946         * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
7947         * c-tree.h (c_mark_addressable): New.
7948         * c-typeck.c (default_function_array_conversion, build_unary_op,
7949         build_array_ref, convert_for_assignment): Update.
7950         (mark_addressable): Rename.
7951         * calls.c (try_to_integrate, expand_call): Use langhook.
7952         * expr.c (expand_expr): Use langhook.
7953         * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
7954         * langhooks.h (struct lang_hooks): New hook.
7955         * stmt.c (expand_asm_operands): Use langhook.
7956         * tree.h (mark_addressable): Remove.
7957 objc:
7958         * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
7959
7960 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
7961
7962         * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
7963         in previous change.
7964
7965 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
7966
7967         * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
7968         for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
7969
7970 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
7971
7972         * c-common.c (unsigned_conversion_warning, convert_and_check,
7973         unsigned_type, signed_type, shorten_compare,
7974         c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
7975         (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
7976         * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
7977         New.
7978         * c-decl.c (grokdeclarator): Update.
7979         * c-format.c (check_format_types): Update.
7980         * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
7981         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
7982         * c-typeck.c (build_binary_op, convert_for_assignment): Update.
7983         * convert.c (convert_to_integer): Use new hooks.
7984         * expmed.c (make_tree): Use new hooks.
7985         * expr.c (store_expr): Use new hooks.
7986         * fold-const.c (operand_equal_for_comparison_p, build_range_check,
7987         all_ones_mask_p, unextend, fold): Use new hooks.
7988         * langhooks.h (struct lang_hooks_for_types): New hooks.
7989         * tree.h (signed_or_unsigned_type, signed_type,
7990         unsigned_type): Remove.
7991 objc:
7992         * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
7993         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
7994
7995 2002-03-31  Richard Henderson  <rth@redhat.com>
7996
7997         * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
7998         (desc_frgr_mem): Fix reference to f16-f31.
7999
8000 2002-03-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8001
8002         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
8003         RTVEC_ELT): Const-ify.
8004         * varray.h (VARRAY_CHECK): Const-ify.
8005         * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
8006         ggc_mark_rtvec, ggc_mark): Const-ify.
8007
8008 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
8009
8010         * diagnostic.c: Include langhooks-def.h.
8011         * Makefile.in (diagnostic.o): Update.
8012
8013 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
8014
8015         * c-common.c (c_unsafe_for_reeval): Rename.
8016         * c-common.h (c_unsafe_for_reeval): Rename.
8017         * c-decl.c (finish_incomplete_decl): Rename.
8018         (c_init_decl_processing): Don't set langhook.
8019         * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
8020         LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
8021         * c-objc-common.c (c_objc_common_init): Don't set langhook.
8022         * c-tree.h (finish_incomplete_decl): Rename.
8023         * langhooks-def.h (lhd_unsafe_for_reeval): New.
8024         (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
8025         (LANG_HOOKS_INITIALIZER): Update.
8026         * langhooks.c (lhd_unsafe_For_reeval): New.
8027         * langhooks.h (struct langhooks): New hooks.
8028         * toplev.c (incomplete_decl_finalize_hook): Remove.
8029         (wrapup_global_declarations): Update.
8030         * tree.c (lang_unsafe_for_reeval): Remove.
8031         (unsafe_for_reeval): Update.
8032         * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
8033         Remove.
8034 objc:
8035         * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
8036         LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
8037
8038 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
8039
8040         * diagnostic.c (print_error_function): Remove.
8041         (default_print_error_function): Rename.
8042         (report_error_function): Update.
8043         * diagnostic.h (print_error_function): Remove.
8044         (default_print_error_function): Remove.
8045         * langhooks-def.h (struct diagnostic_context): Predeclare.
8046         (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
8047         (LANG_HOOKS_INITIALIZER): Update.
8048         * langhooks.h (struct diagnostic context): Predeclare.
8049         (struct lang_hooks): New hook.
8050
8051 2002-03-31  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8052
8053         * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
8054         (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
8055         !flag_pic.
8056         (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
8057         * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
8058         of PIC_OFFSET_TABLE_REGNUM thruout.
8059         * config/rs6000/rs6000.md: Likewise.
8060         * config/rs6000/darwin.h: Likewise.
8061
8062 Sun Mar 31 14:43:24 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8063
8064         * emit-rtl.c (adjust_address_1, offset_address): Cast value to
8065         unsigned HOST_WIDE_INT, not unsigned int.
8066
8067 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
8068
8069         PR middle-end/6096, middle-end/6098, middle-end/6099
8070         * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
8071         CODE_LABELs.
8072         (fill_slots_from_thread): Likewise.
8073
8074 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
8075
8076         * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
8077         floating fields in float regs.
8078         (function_arg_record_value_2): Likewise.
8079
8080 2002-03-31  Hans-Peter Nilsson  <hp@bitrange.com>
8081
8082         * config/mmix/mmix.md (define_constants): Remove misleading
8083         FIXME.  Add MMIX_fp_rO_OFFSET.
8084         ("nonlocal_goto_receiver"): Don't have stack-frame address of
8085         saved rO as part of the pattern.  Remove FIXME.
8086         ("*nonlocal_goto_receiver_expanded"): Similar.  Generate address
8087         here, at output-time.
8088
8089 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
8090
8091         PR middle-end/6100
8092         * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
8093         REG_BR_PRED.
8094         (output_v9branch): Likewise.
8095
8096 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
8097
8098         * gcc.c: Revert previous patch for now.
8099         * config/i386/djgpp.h: Likewise.
8100
8101 2002-03-31  Hans-Peter Nilsson  <hp@bitrange.com>
8102
8103         * config/mmix/crti.asm (_init): Register _fini with atexit.
8104         * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
8105
8106 2002-03-31  Richard Henderson  <rth@redhat.com>
8107
8108         PR target/3997
8109         * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
8110         (ASM_OUTPUT_DEF_FROM_DECLS): New.
8111
8112 2002-03-31  Richard Henderson  <rth@redhat.com>
8113
8114         * libgcc2.c (__bb_exit_func): Make static.
8115
8116         * config/alpha/alpha.md (trap): New.
8117
8118 2002-03-31  Richard Henderson  <rth@redhat.com>
8119
8120         * builtins.c (expand_builtin_va_arg): Give warnings not errors for
8121         promoted argument types; build trap.
8122         (expand_builtin_trap): New.
8123         (expand_builtin): Use it.
8124         * stmt.c (expand_nl_goto_receivers): Likewise.
8125         * expr.h (expand_builtin_trap): Declare.
8126         * libfuncs.h (LTI_abort, abort_libfunc): New.
8127         * optabs.c (init_optabs): Init abort_libfunc.
8128
8129 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
8130
8131         * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
8132         (LINK_COMMAND_SPEC): ... from here.
8133         (init_gcc_specs): Duplicate it here too, omitting
8134         shared_name in the second copy.
8135         (init_spec): Test for duplicate
8136         * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
8137
8138 2002-03-30  David S. Miller  <davem@redhat.com>
8139
8140         * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8141         * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
8142
8143 2002-03-30  Roger Sayle <roger@eyesopen.com>
8144             Richard Henderson  <rth@redhat.com>
8145
8146         * regmove.c (combine_stack_adjustments_for_block): Avoid
8147         emitting a stack adjustment of zero bytes.  Let delete_insn
8148         update bb->head.
8149
8150 2002-03-30  Richard Henderson  <rth@redhat.com>
8151
8152         * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
8153         (sparc_emitting_epilogue): New.
8154         (leaf_label, output_return, sparc_return_peephole_ok): Remove.
8155         * config/sparc/sparc-protos.h: Update.
8156         * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
8157         (TARGET_SWITCHES): Update.
8158         * config/sparc/sparc.md (return): Remove.
8159         (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
8160         * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
8161         config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
8162         config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
8163         config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
8164         config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
8165         config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
8166         Remove MASK_EPILOGUE.
8167         * doc/invoke.texi: Update.
8168
8169 2002-03-30  Daniel Berlin  <dan@dberlin.org>
8170
8171         * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
8172         CPP will start the file for us.
8173
8174 2002-03-30  Richard Henderson  <rth@redhat.com>
8175
8176         PR target/5446
8177         * config/ia64/ia64.c (group_barrier_needed_p): Special case
8178         prologue_allocate_stack.
8179         (ia64_single_set): Use insn codes for recognition of special
8180         cases, not rtl matching.
8181         * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
8182
8183 Sat Mar 30 23:48:41 CET 2002  Jan Hubicka  <jh@suse.cz>
8184
8185         * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
8186
8187 2002-03-30  Richard Henderson  <rth@redhat.com>
8188
8189         PR target/6032
8190         * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
8191         or -fomit-frame-pointer with profiling.
8192         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
8193         (FUNCTION_PROFILER): Do nothing.
8194         (PROFILE_HOOK): New.
8195         * config/sparc/sparc.c (sparc_override_options): Don't check
8196         code models for profiling.
8197         (sparc_function_profiler): Remove.
8198         (sparc_profile_hook): New.
8199         * config/sparc/sparc-protos.h: Update.
8200
8201 2002-03-30  Jakub Jelinek  <jakub@redhat.com>
8202
8203         PR optimization/6086
8204         * combine.c (combine_simplify_rtx): If simplify_rtx failed because
8205         of SUBREG of volatile MEM or because the MEM was mode dependent,
8206         return CLOBBER instead of unmodified SUBREG.
8207
8208 Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
8209
8210         * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
8211         when not optimizing.
8212
8213         * toplev.c (rest_of_compilation): Cann mark_constant_function
8214         only when optimizing.
8215
8216         * flow.c (calculate_global_regs_live): Ensure that all AUX fields
8217         are NULL.
8218
8219         * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
8220         (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
8221         (try_optimize_cfg): clear all AUX fields.
8222
8223         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
8224         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
8225         (ix86_address_cost): Be prepared for SUBREGed registers.
8226         (legitimate_address_p): Accept SUBREGed registers.
8227
8228 2002-03-29  Richard Henderson  <rth@redhat.com>
8229
8230         PR target/5672
8231         * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
8232
8233 2002-03-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8234
8235         * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
8236         for aggregate and TFmode types.
8237
8238 2002-03-29  Hans-Peter Nilsson  <hp@bitrange.com>
8239
8240         * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
8241
8242 2002-03-29  Richard Henderson  <rth@redhat.com>
8243
8244         PR target/5886
8245         * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
8246         * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
8247
8248 2002-03-29  Richard Henderson  <rth@redhat.com>
8249
8250         PR target/6041
8251         * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
8252         (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
8253         * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
8254         * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
8255         conditional.
8256         * docs/invoke.texi: Update -mno-fancy-math-387 docs.
8257
8258 2002-03-29  Dale Johannesen <dalej@apple.com>
8259
8260         * loop.c (combine_movables): Do allow combination of pseudos.
8261
8262 2002-03-29  Loren J. Rittle  <ljrittle@acm.org>
8263
8264         * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
8265         * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
8266         No functional change except ...
8267         * config/t-slibgcc-nolc-override (SHLIB_LC): Override it.  New file.
8268         * doc/install.texi (*-*-freebsd*): Document port configuration.
8269
8270 2002-03-29  Neil Booth  <neil@daikokuya.demon.co.uk>
8271
8272         * Makefile.in (convert.o, calls.o, expmed.o): Update.
8273         * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
8274         Use new hooks.
8275         * builtin-types.def (BT_PTRMODE): Update.
8276         * c-common.c (type_for_size): Rename c_common_type_for_size.
8277         (type_for_mode): Similarly.
8278         (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
8279         Use new hook.
8280         * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
8281         * c-decl.c (finish_enum, build_enumerator): Use new hooks.
8282         * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
8283         Redefine.
8284         * c-typeck.c (common_type, comptypes, default_conversion):
8285         Use new hooks.
8286         * calls.c: Include langhooks.h.
8287         (emit_library_call_value_1): Use new hooks.  Avoid redundant
8288         calls.
8289         * convert.c: Include langhooks.h
8290         (convert_to_pointer, convert_to_integer): Use new hooks.
8291         * except.c (init_eh): Similarly.
8292         * expmed.c: Include langhooks.h.
8293         (expand_mult_add): Use new hooks.
8294         * expr.c (store_expr, store_constructor, expand_expr, do_jump,
8295         try_casesi): Similarly.
8296         * fold-const.c (optimize_bit_field_compare, make_range,
8297         decode_field_reference, fold_truthop, fold): Similarly.
8298         * function.c (assign_stack_local_1, assign_stack_temp_for_type,
8299         put_var_into_stack): Similarly.
8300         * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
8301         LANG_HOOKS_TYPE_FOR_SIZE): New.
8302         (LANG_HOOKS_TYPES_INITIALIZER): Update.
8303         * langhooks.h (lang_hooks_for_types): New hooks.
8304         * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
8305         * tree.c (get_unwidened, get_narrower): Similarly.
8306         * tree.h (type_for_mode, type_for_size): Remove.
8307         * varasm.c (force_const_mem): Use new hooks.
8308         * utils2.c (nonbinary_modular_operation): Update.
8309 objc:
8310         * objc-act.c (handle_impent): Update.
8311         * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
8312         Redefine.
8313
8314 2002-03-29  Steve Ellcey  <sje@cup.hp.com>
8315
8316         * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
8317         * config/ia64/ia64.c (basereg_operand): New.
8318         * config/ia64/ia64-protos.h (basereg_operand): Declare.
8319         * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
8320
8321 2002-03-29  Hans-Peter Nilsson  <hp@bitrange.com>
8322
8323         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
8324         unwind information when frame_pointer_needed.
8325         (mmix_assemble_integer): Tweak wording in comment.
8326
8327 2002-03-29  Neil Booth  <neil@daikokuya.demon.co.uk>
8328
8329         * Makefile.in (except.o): Update.
8330         * except.c: Include langhooks.h.
8331         (init_eh): Use langhook.
8332         * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
8333         LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
8334         (LANG_HOOKS_INITIALIZER): Update.
8335         * langhooks.h (lang_hooks_for_types): New.
8336         (struct lang_hooks): Add it.
8337         * tree.c (make_lang_type_fn, make_lang_type): Remove.
8338         * tree.h (make_lang_type_fn, make_lang_type): Remove.
8339 config:
8340         * alpha/alpha.c: Include langhooks.h.
8341         (alpha_build_va_list): Use langhook.
8342         * d30v/d30v.c: Include langhooks.h.
8343         (d30v_build_va_list): Use langhook.
8344         * i386/i386.c: Include langhooks.h.
8345         (ix86_build_va_list): Use langhook.
8346         * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
8347         * s390/s390.c: Include langhooks.h.
8348         (s390_build_va_list): Use langhook.
8349         * stormy16/stormy16.c: Include langhooks.h.
8350         (stormy16_build_va_list): Use langhook.
8351
8352 2002-03-29  Jakub Jelinek  <jakub@redhat.com>
8353
8354         PR c++/5964
8355         * config/sparc/sparc.md (empty_delay_slot, branch_type): New
8356         attributes.
8357         (length): Compute variable length for branches/calls/jumps here.
8358         (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
8359         normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
8360         define branch_type attribute.
8361         (divsi3_sp32): Maximum length is 6 not 7.
8362         (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
8363         call_address_untyped_struct_value_sp32,
8364         call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
8365         * config/sparc/sparc.c (empty_delay_slot): New function.
8366         * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
8367         * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
8368
8369 2002-03-29  Jakub Jelinek  <jakub@redhat.com>
8370
8371         * combine.c (set_nonzero_bits_and_sign_copies): Don't call
8372         nonzero_bits if not needed.
8373         (nonzero_bits) [XOR]: Likewise.
8374         (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
8375         reg_last_set_mode and mode are both MODE_INT, but not equal.
8376         (record_value_for_reg): Compute reg_last_set_nonzero_bits
8377         in nonzero_bits_mode for MODE_INT modes.
8378
8379 2002-03-28  Richard Henderson  <rth@redhat.com>
8380
8381         PR target/5715
8382         * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
8383         to GAS.  Correct drift between alternatives.
8384
8385 2002-03-28  Richard Henderson  <rth@redhat.com>
8386
8387         PR target/6087
8388         * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
8389
8390 2002-03-28  Alexandre Oliva  <aoliva@redhat.com>
8391
8392         * config/i386/freebsd.h (LINK_SPEC): Don't pass default
8393         emulation to the linker.
8394
8395 2002-03-28  Loren J. Rittle  <ljrittle@acm.org>
8396
8397         * config/alpha/freebsd.h (LINK_SPEC): Likewise.
8398         * config/sparc/freebsd.h (LINK_SPEC): Likewise.
8399
8400 Thu Mar 28 16:35:31 2002  Jeffrey A Law  (law@redhat.com)
8401
8402         * combine.c (simplify_and_const_int): Make sure to apply mask
8403         when force_to_mode returns a constant integer.  PR3311.
8404
8405 2002-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8406
8407         * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
8408
8409 2002-03-28  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8410
8411         * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
8412         and Objective-C Dialect Options.
8413
8414 2002-03-28  Richard Henderson  <rth@redhat.com>
8415
8416         * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
8417         comparison should be done vs !=0 not >0 return code.  Tidy cases.
8418
8419 2002-03-28  Richard Henderson  <rth@redhat.com>
8420
8421         * c-decl.c (finish_function): New arg can_defer_p.  Pass it
8422         on to c_expand_body.
8423         * c-tree.h (finish_function): Update decl.
8424         * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
8425
8426 Thu Mar 28 19:13:36 CET 2002  Jan Hubicka  <jh@suse.cz>
8427
8428         * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
8429
8430 Thu Mar 28 13:21:53 CET 2002  Jan Hubicka  <jh@suse.cz>
8431
8432         * rtlanal.c: Include flags.h
8433         (may_trap_p): Do not mark FP operations if trapping
8434         if !flag_trapping_math
8435         * Makefile.in (rtlanal.o): Add dependency on flag.h
8436         * ifcvt.c (noce_operand_ok): Avoid the lameness.
8437
8438 2002-03-27  Zack Weinberg  <zack@codesourcery.com>
8439
8440         * mips.md: Use dconst1, not 1.0, as first argument of
8441         REAL_VALUE_LDEXP.  Don't use union real_extract.
8442
8443 2002-03-28  Alan Modra  <amodra@bigpond.net.au>
8444
8445         * configure.in (gcc_cv_as): Use $target_alias in directory searchs
8446         rather than $target.  Heed program_prefix and
8447         program_transform_name.  Search for gas in cross-compiler case too.
8448         "test -x" rather than "test -f".
8449         (gcc_cv_ld): Likewise.
8450         (gcc_cv_nm): Heed program_prefix and program_transform_name.
8451         (gcc_cv_objdump): Likewise.
8452         * configure: Regenerate.
8453
8454 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8455
8456         * Makefile.in (attribs.o): Update.
8457         * attribs.c: Include langhooks.h.
8458         (decl_attributes): Use langhook.
8459         * c-decl.c (insert_default_attributes): Rename.
8460         * c-tree.h (c_insert_default_attributes): New.
8461         * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
8462         (LANG_HOOKS_INITIALIZER): Update.
8463         * langhooks.h (struct lang_hooks): New hook.
8464         * tree.h (insert_default_attributes): Remove.
8465 objc:
8466         * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
8467
8468 2002-03-27  Andreas Schwab  <schwab@suse.de>
8469
8470         * config/i386/i386.c (classify_argument): Also check for
8471         QUAL_UNION_TYPE.
8472
8473 2002-03-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8474
8475         * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
8476         any more.
8477
8478 Wed Mar 27 23:19:30 CET 2002  Jan Hubicka  <jh@suse.cz>
8479
8480         * i960.md (ret): Set PC.
8481         (nonlocal_goto): Fix expander.
8482         * builtins.c (epxand_builin_longjmp): Check that we've emitted
8483         some jump or call.
8484
8485 Wed Mar 27 23:11:35 CET 2002  Jan Hubicka  <jh@suse.cz>
8486
8487         * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
8488         of libcall regions.
8489
8490 Wed Mar 27 22:54:14 CET 2002  Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
8491
8492         * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
8493         assigning to BLOCK_FOR_INSN directly.
8494
8495 Wed Mar 27 22:33:05 CET 2002  Jan Hubicka  <jh@suse.cz>
8496
8497         * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
8498
8499 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8500
8501         * c-common.c (c_expand_expr): Fix prototype.
8502         * c-common.h (c_expand_expr): Always declare, update.
8503         * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
8504         * c-objc-common.c (c_objc_common_init): No global hook.
8505         * expr.c (expand_expr): Use langhook.
8506         * expr.h (enum expand_modifier): Conditionally declare.
8507         * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
8508         (LANG_HOOKS_INITIALIZER): Update.
8509         * langhooks.c (lhd_expand_expr): New.
8510         * langhooks.h (struct lang_hooks): New hook.
8511         * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
8512         (lang_independent_init): Don't default hook.
8513 objc:
8514         * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
8515
8516 2002-03-27  Richard Henderson  <rth@redhat.com>
8517
8518         PR target/6054
8519         * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
8520         TARGET_CONST_GP.  Simplify conditions.
8521
8522 2002-03-27  Richard Henderson  <rth@redhat.com>
8523
8524         * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
8525         config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
8526         config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
8527
8528 2002-03-27  Danny Smith  <dannysmith@users.sourceforge.net>
8529
8530         * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
8531         TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
8532         (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
8533         Remove unnecessary masks.
8534         (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
8535         (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
8536         -mwindows, -mdll switches and their negations.
8537
8538 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8539
8540         * gcc-common.c (lang_mark_false_label_stack): Remove.
8541         * ggc.h (lang_mark_false_label_stack): Similarly.
8542
8543 2002-03-26  Vladimir Makarov  <vmakarov@redhat.com>
8544
8545         * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
8546
8547         * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
8548         or __rtems_ is defined.
8549
8550 2002-03-26  Richard Henderson  <rth@redhat.com>
8551
8552         * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
8553         if a non-trivial load was emitted.
8554         (alpha_emit_set_const_1): Remove obsolete extension.  Fix thinko
8555         in high+extra+low case.
8556
8557 2002-03-26  Richard Henderson  <rth@redhat.com>
8558
8559         * config.gcc (sparc*-solaris): Use float_format=sparc.
8560
8561 2002-03-26  Richard Henderson  <rth@redhat.com>
8562
8563         * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
8564         * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
8565         * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
8566         * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
8567         (WINT_TYPE_SIZE): Fix at 32.
8568
8569 2002-03-26  Richard Henderson  <rth@redhat.com>
8570
8571         * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
8572         until after eh landing pad generation.
8573         * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
8574         * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
8575
8576 2002-03-26  Richard Henderson  <rth@redhat.com>
8577
8578         * expr.h (ADD_PARM_SIZE): One more convert for INC.
8579
8580 2002-03-26  Phil Edwards  <pme@gcc.gnu.org>
8581
8582         * gcc.c (cpp_options):  Preserve relative ordering of -pedantic
8583         and warning switches.
8584         (cc1_options):  Likewise.
8585
8586 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
8587
8588         * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
8589         Restore more of the signal context.  Set no_reg_stack_frame.
8590         * config/ia64/unwind-ia64.c (unw_state_record):
8591         Add no_reg_stack_frame, comments.
8592         (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
8593         (uw_update_context): Adjust bsp when unwinding from leaf,
8594         but not signal frame.
8595
8596 2002-03-26  David Edelsohn  <edelsohn@gnu.org>
8597
8598         * config/rs6000/aix51.h (WCHAR_TYPE): Define.
8599
8600 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
8601
8602         * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
8603
8604 2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
8605
8606         PR target/5621
8607         * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
8608         "Add a pool_range attribute", which was lost during the ARM/Thumb
8609         merge.
8610
8611 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
8612
8613         * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
8614         a register into the MAC16 accumulator.
8615
8616 2002-03-26  Andrew Cagney  <ac131313@redhat.com>
8617
8618         * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
8619         (Warning Options): Document -Wswitch-enum.
8620         * toplev.c (W_options): Add -Wswitch-enum.  Update comment on
8621         -Wswitch.
8622         (warn_switch_enum): Define variables.
8623         * flags.h (warn_switch_enum): Declare variables.
8624         * stmt.c (expand_end_case_type): When warn_switch_enum /
8625         -Wswitch-enum, perform switch checks.
8626         Fix PR c/5044.
8627
8628 2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
8629
8630         * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
8631         (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
8632         (reload_muladdsi_compare0_scratch): Delete.
8633
8634 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
8635
8636         * doc/install.texi (*-*-freebsd*): Update.
8637
8638 2002-03-26  Richard Henderson  <rth@redhat.com>
8639
8640         * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
8641         (SUB_PARM_SIZE): Cast DEC to ssizetype.
8642
8643         * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
8644         types from the normal argument frame.
8645
8646         * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
8647         variable sized objects by reference.
8648         (sparc_va_arg): Receive them by reference too.
8649
8650 2002-03-26  Hartmut Penner  <hpenner@de.ibm.com>
8651
8652         * config/s390/s390.c (s390_emit_epilogue): Change epilogue
8653         code to not restoring global registers.
8654
8655 2002-03-26  Neil Booth  <neil@daikokuya.demon.co.uk>
8656
8657         * Makefile.in (ggc-common.o): Update.
8658         * c-decl.c (lang_mark_tree): Rename c_mark_tree.
8659         * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
8660         * c-tree.h (c_mark_tree): New.
8661         * ggc-common.c: Include langhooks.h.
8662         (gcc_mark_trees): Use new langhook.
8663         * ggc-callbacks.c: Delete file.
8664         * ggc.h (lang_mark_tree): Remove.
8665         * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
8666         (LANG_HOOKS_INITIALIZER): Update.
8667         * langhooks.h (struct lang_hooks): New hook.
8668 objc:
8669         * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
8670
8671 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
8672
8673         * doc/cpp.texi: Exclude entire Top node from printed manual.
8674         Move option index after directive index.  Insert page breaks
8675         before GFDL and concept index.  Index environment variables
8676         with command line options.
8677         * doc/cppenv.texi: Use @vtable for environment variable list.
8678         Add paragraph explaining semantics of empty elements in path
8679         variables.  Exclude a cross-reference to Fishkill from the
8680         manpage.  Remove an unnecessary cross-reference of the entry
8681         right above the referer.  Don't use @anchor in text that goes
8682         into manpage.
8683         * doc/cppopts.texi: Cross-reference the environment variables
8684         section, not the specific environment variable, for consistency.
8685
8686 2002-03-25  Richard Henderson  <rth@redhat.com>
8687
8688         * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
8689         anywhere in the block.  Don't refer to insns that have been
8690         removed from the chain.  Iterate backward through the new insns.
8691         Don't refer to edges that have been removed.
8692
8693 2002-03-26  Alan Modra  <amodra@bigpond.net.au>
8694
8695         * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
8696         test for overflow of constant.
8697
8698 2002-03-25  Richard Earnshaw  <rearnsha@arm.com>
8699
8700         PR target/2623
8701         * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
8702         (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
8703         these patterns on arm_archv4.
8704
8705 2002-03-25  Danny Smith  <dannysmith@sourceforge.users.net>
8706
8707         * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
8708         int".
8709
8710 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
8711
8712         * toplev.c: Don't include setjmp.h.  Kill float_handler_set,
8713         float_handled, float_handler, float_signal, set_float_handler,
8714         and do_float_handler.  Set handler for SIGFPE to crash_signal.
8715         * toplev.h: Don't prototype do_float_handler.
8716
8717         * c-lex.c: Fold parse_float into lex_number.  Make warning
8718         about portability of hex float constants more informative, and
8719         don't issue it on top of a syntax error.
8720         * fold-const.c: Fold const_binop_1 and fold_convert_1 into
8721         their callers.
8722         * real.h: Define REAL_VALUE_ABS here...
8723         * simplify-rtx.c: ... not here.  Fold check_fold_consts,
8724         simplify_unary_real, simplify_binary_real, and
8725         simplify_binary_is2orm1 into their callers.
8726         * tree.c: Fold build_real_from_int_cst_1 into caller.
8727
8728         * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
8729
8730         * tsystem.h: Include float.h here...
8731         * libgcc2.c: ... not here.
8732
8733 2002-03-25  Nick Clifton  <nickc@cambridge.redhat.com>
8734
8735         Fixes for: PR bootstrap/3591, target/5676
8736         * config/mcore/mcore.h (CC1_SPEC): Define only if not already
8737         defined.  Do not disable exceptions or rtti.
8738         * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
8739         mcore.h.  Disable exceptions and rtti, since they are not
8740         supported by EPOC.
8741
8742 2002-03-25  Neil Booth  <neil@daikokuya.demon.co.uk>
8743
8744         * c-decl.c (maybe_build_cleanup): Remove.
8745         * expr.c (expand_expr): Use langhook.
8746         * langhooks-def.h (lhd_return_null_tree,
8747         LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
8748         (LANGHOOKS_INITIALIZER): Update.
8749         * langhooks.c (lhd_return_null_tree): New.
8750         * langhooks.h (struct lang_hooks): New hook.
8751         * tree-inline.c (initialize_inlined_parameters): Use langhook.
8752         * tree.h (maybe_build_cleanup): Remove.
8753
8754 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
8755
8756         * regrename.c (build_def_use): Move recog_memoized
8757         before extract_insn.
8758
8759 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
8760
8761         PR target/6043
8762         * expr.c (emit_group_store): Handle storing into CONCAT.
8763
8764 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
8765
8766         * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
8767         corresponding MATCH_DUP.
8768
8769 2002-03-24  Richard Henderson  <rth@redhat.com>
8770
8771         * unroll.c (unroll_loop): Zero label_map.
8772
8773         * gcse.c: Include except.h.
8774         * Makefile.in (gcse.o): Update.
8775
8776 2002-03-24  Richard Henderson  <rth@redhat.com>
8777
8778         * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
8779         Do resolve_unique_section before shared data clause.
8780
8781 2002-03-24  Richard Henderson  <rth@redhat.com>
8782
8783         * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
8784
8785 2002-03-24  Richard Henderson  <rth@redhat.com>
8786
8787         * recog.c (peephole2_optimize): Split blocks when EH insns are
8788         generated in the middle of a block.  Do global life update if
8789         zapped EH edges.
8790
8791 2002-03-24  Richard Henderson  <rth@redhat.com>
8792
8793         * mips.c (mips_function_value): Only promote_mode for non-libcalls.
8794
8795 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
8796
8797         preprocessor/3951
8798         * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
8799         * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
8800         (init_dependency_output): Don't make no_output decision here.
8801
8802 2002-03-24  Andrew Cagney  <ac131313@redhat.com>
8803
8804         * stmt.c (check_for_full_enumeration_handling): Remove tests of
8805         warn_switch.  Update description.
8806         (expand_end_case_type): Call check_for_full_enumeration_handling
8807         when warn_switch.
8808
8809 2002-03-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
8810
8811         * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
8812         (m68hc11_split_move): Call it to see if the source and destination
8813         operands use the same direction auto inc/dec mode, otherwise make the
8814         source an offsetable memory operand and generate an add.
8815
8816 2002-03-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
8817
8818         * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
8819         register for operand 2.
8820         ("*subsi3_zero_extendqi"): Likewise.
8821         ("*iorhi3_gen"): Do the operation on the upper bits and then lower
8822         bits so that it is compatible with a pop.
8823         ("*andhi3_gen"): Likewise.
8824         ("xorhi3"): Likewise.
8825
8826 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
8827
8828         * cppinit.c (cpp_handle_option): Set warn_endif_labels if
8829         -pedantic here...
8830         (cpp_post_options): ... not here.
8831
8832 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
8833             Aldy Hernandez  <aldyh@redhat.com>
8834
8835         Removal of separate preprocessor cpp0.
8836
8837         * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
8838         cpp0, install-common): Update.
8839         * c-common.c (flag_preprocess_only): New.
8840         (c_common_init): Preprocess for -E.
8841         * c-common.h (flag_preprocess_only): New.
8842         * c-decl.c (c_decode_option): Handle -E and -std=c++98.
8843         * c-objc-common.c (c_init_decl_processing): Exit quickly
8844         for NULL return from c_common_init.
8845         * cpplib.h (cpp_preprocess_file): New.
8846         * cppmain.c (main, general_init, pfile, progname): Remove.
8847         (do_preprocessing): Rename cpp_preprocess_file, don't call
8848         cpp_finish.  Don't close stdout here.
8849         (setup_callbacks): Update prototype.
8850         * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
8851         Update.
8852         * tradcpp.c (main): Ignore -quiet.
8853 objc:
8854         * lang-specs.h (default_compilers): Preprocess with cc1obj.
8855
8856 2002-03-24  Richard Henderson  <rth@redhat.com>
8857
8858         PR optimization/5742
8859         * machmode.def: Add inner mode field to complex modes.
8860         * config/mips/mips.c (mips_function_value): Always define.  Add
8861         new argument to handle libcalls.
8862         * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
8863         (FUNCTION_VALUE): Likewise.
8864         * config/mips/abi64.h (FUNCTION_VALUE): Remove.
8865         * config/mips/mips-protos.h: Update.
8866
8867 2002-03-23  Richard Henderson  <rth@redhat.com>
8868
8869         * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
8870         * config/sparc/sparc-protos.h: Update.
8871         * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
8872
8873 2002-03-23  Richard Henderson  <rth@redhat.com>
8874
8875         * config/sparc/gmon-sol2.c (internal_mcount): Assume either
8876         _start or _init begins the text segment.
8877
8878 2002-03-23  David Edelsohn  <edelsohn@gnu.org>
8879
8880         * config/rs6000/rs6000.h (RETURN_IN_MEMORY):  Cast to HOST_WIDE_INT
8881         not HOST_WIDEST_INT.
8882         (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
8883
8884 2002-03-23  Richard Earnshaw  <rearnsha@arm.com>
8885
8886         PR java/5489
8887         * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
8888         operand argument to output_return_instruction.
8889         * arm.c (arm_print_operand, case 'd'): If the operand is
8890         const_true_rtx then just return.
8891         (arm_print_operand, case 'D'): If the operand is const_true_rtx
8892         then abort.
8893
8894 2002-03-23  Andrew Cagney  <ac131313@redhat.com>
8895
8896         * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
8897         (Warning Options): Document -Wswitch-default.
8898         * toplev.c (W_options): Add -Wswitch-default.  Update comment on
8899         -Wswitch.
8900         (warn_switch_default): Define variable.
8901         (warn_switch): Update comment.
8902         * flags.h (warn_switch_default): Declare variable.
8903         (warn_switch): Update comment.
8904         * stmt.c (expand_end_case): Check for and, when
8905         warn_switch_no_default, warn of a missing default case.
8906
8907 2002-03-23  Alan Modra  <amodra@bigpond.net.au>
8908
8909         * real.h (N): Special case 128 bit doubles.
8910
8911         * combine.c (simplify_comparison): When widening modes, ignore
8912         sign extension on CONST_INTs.
8913
8914 2002-03-22  Bob Wilson  <bob.wilson@acm.org>
8915
8916         * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
8917         passed to adjust_address.  Fix comment formatting.
8918
8919
8920 2002-03-22  Zack Weinberg  <zack@codesourcery.com>
8921
8922         * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
8923         Always make REAL_VALUE_TYPE a struct containing an array of
8924         HOST_WIDE_INT, not a double.  Tidy up the code deciding how
8925         big it is.  Don't declare or use union real_extract.
8926
8927         * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
8928         decode_rtx_const, output_constant_pool), config/a29k/a29k.c
8929         (print_operand), config/arm/arm.c (output_move_double),
8930         config/arm/arm.md (consttable_4, consttable_8),
8931         config/romp/romp.c (output_fpops), config/s390/s390.h
8932         (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
8933         (xtensa_output_literal): Don't use union real_extract.
8934
8935         * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
8936         (sfmode_constant_to_ulong), config/ns32k/merlin.h
8937         (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
8938         config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
8939         (PRINT_OPERAND): Don't use local version of union
8940         real_extract.
8941
8942         * config/convex/convex.c (check_float_value), config/vax/vax.c
8943         (vax_float_literal), config/m88k/m88k.md (divdf3),
8944         config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
8945         config/pdp11/pdp11.c (output_move_quad): Don't do host
8946         arithmetic on target floating point quantities.
8947
8948         * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
8949         (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
8950
8951         * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
8952         Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
8953
8954         * real.c (earith): Test INFINITY rather than REAL_INFINITY;
8955         NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
8956         INFINITY.
8957         * print-rtl.c (print_rtx): Disable code which needs
8958         floating-point emulator.
8959         * libgcc2.c: Include float.h and use DBL_MANT_DIG,
8960         FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
8961         depending on HOST_FLOAT_FORMAT to be defined properly.
8962
8963         * config/1750a/1750a.c (get_double, float_label): Delete.
8964         (print_operand): Delete huge commented-out chunk.  Use
8965         REAL_VALUE_TO_DECIMAL.
8966         * config/1750a/1750a-protos.h: Delete prototypes of deleted
8967         functions.
8968         * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
8969         IEEE_FLOAT_FORMAT.
8970         * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
8971         Use REAL_VALUE_TO_DECIMAL as ELF version does.
8972         * config/m88k/m88k.c (real_power_of_2_operand,
8973         legitimize_operand): Take the REAL_VALUE_TYPE and/or union
8974         real_extract out of the union; run the input through
8975         REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
8976         from that into the union.
8977         * config/pdp11/pdp11.c (output_move_double): Rearrange
8978         parentheses to make automatic indenter happy.
8979
8980         * doc/tm.texi (Cross-compilation): Rename node to "Floating
8981         Point" and rewrite to describe current situation.  Also adjust
8982         documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
8983         match code.
8984         * doc/rtl.texi: Adjust cross reference.
8985
8986 2002-03-22  Bob Wilson  <bob.wilson@acm.org>
8987
8988         * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
8989         (xtensa_valid_move, xtensa_preferred_reload_class): Define.
8990         * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
8991         (xtensa_valid_move, xtensa_preferred_reload_class): Define to
8992         prevent use of sp as a reload register.
8993         (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
8994         non_acc_reg_operand.
8995         * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
8996         (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
8997         * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
8998         movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
8999
9000 2002-03-22  Neil Booth  <neil@daikokuya.demon.co.uk>
9001
9002         * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
9003         * cpplex.c (unterminated): Delete.
9004         (parse_string): No string literal may extend over multiple
9005         lines.  Suppress the error when preprocessing assembly.
9006         * cppmain.c (scan_translation_unit): Strings are single-line.
9007
9008         * doc/cpp.texi: Update to match.
9009
9010 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
9011
9012         PR optimization/5854
9013         * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
9014         Shut up warnings.
9015         (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
9016         (EXTRA_CONSTRAINT): Use S for non-push memory operand.
9017         * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
9018         const0 if scratch register was not allocated.
9019         (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
9020         m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
9021         with GEN_INT (...).
9022         (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
9023         * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
9024         with GEN_INT (...) everywhere.  Remove constraints in define_split
9025         patterns.
9026         (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
9027         require scratch register for setting 0 into regs/non-pushable memory.
9028
9029 2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
9030
9031         * config/mips/mips.h (MASK_RETURN_ADDR): Define.
9032         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
9033
9034 2002-03-22  Phil Edwards  <pme@gcc.gnu.org>
9035
9036         * cpplib.h (struct cpp_options):  New member, warn_endif_labels.
9037         * cppinit.c (cpp_create_reader):  On by default.
9038         (cpp_handle_option):  Handle -W[no-]endif-labels.
9039         (cpp_post_options):  Also enable if -pedantic.
9040         * cpplib.c (do_else):  Use it.
9041         (do_endif):  Likewise.
9042         * doc/cppopts.texi:  Document new option.
9043         * doc/invoke.texi:  Document new option.
9044
9045 2002-03-22  Lars Brinkhoff  <lars@nocrew.org>
9046
9047         * config/i386/i386.c, config/i386/i386.md: Change all occurences
9048         of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
9049
9050 2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
9051
9052         * flow.c (calculate_global_regs_live): Clear aux fields of
9053         ENTRY and EXIT.
9054
9055 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
9056
9057         * config/v850/v850.c (v850_reorg): Only call alter_subreg on
9058         REG or MEM subregs, pass rtx * instead of rtx to it.
9059         * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
9060         rtx * instead of rtx to alter_subreg.
9061         * config/m32r/m32r.c (gen_split_move_double): Likewise.
9062         * config/pj/pj.c (pj_output_rval): Likewise.
9063
9064 2002-03-22  Richard Henderson  <rth@redhat.com>
9065
9066         PR target/3177
9067         * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
9068         (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
9069         * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
9070         (ia64_expand_prologue): Look at int_regs, not words, for number
9071         of incomming int regs.
9072
9073 2002-03-22  Andrew MacLeod  <amacleod@redhat.com>
9074
9075         * expr.c (expand_expr): A RESULT_DECL is part of a call.
9076
9077 Fri Mar 22 16:30:42 CET 2002  Jan Hubicka  <jh@suse.cz>
9078
9079         * toplev.c (flag_loop_optimize, flag_crossjumping):
9080         New static variables.
9081         (rest_of_compilation): Conditionalize crossjumping and
9082         loop optimizer.
9083         (parse_options_and_default_flags): Default loop_optimize and
9084         crossjumping.
9085         (lang_independent_options): Add -fcrossjumping and -floop-optimize
9086         * invoke.texi (crossjumping, loop-optimize): Document.
9087
9088 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
9089
9090         * real.c (eiisneg): Move outside #ifdef NANS.
9091
9092 Fri Mar 22 12:08:36 CET 2002  Jan Hubicka  <jh@suse.cz>
9093
9094         * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
9095         frequencies match; avoid match on different loop depths.
9096         (try_crossjump_to_bb): Kill tests that no longer brings time
9097         savings.
9098         * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
9099         updating code.
9100         (split_edge): Likewise.
9101
9102         * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
9103         variable.
9104
9105         * Makefile.in (cfgrtl): Add insn-config.h depenendency.
9106         * cfgrtl.c: Include insn-config.h
9107         (split_block) Dirtify block in presence of conditional execution
9108
9109 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
9110
9111         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
9112         * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
9113         (function_arg): Constify CUMULATIVE_ARGS.
9114         (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
9115         * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
9116         (UNITS_PER_DOUBLE): New macro.
9117         (SETUP_INCOMING_VARARGS): Define.  Use mips_setup_incoming_varargs.
9118         (CUMULATIVE_ARGS): Reformat.  Remove num_adjusts workaround and
9119         last_arg_fp field.  Replace arg_words and fp_arg_words with gp_regs,
9120         fp_regs and stack_words.
9121         (EABI_FLOAT_VARARGS_P): New macro.
9122         * config/mips/mips.c (struct mips_arg_info): New.
9123         (mips_arg_info): New function.
9124         (function_arg_advance): Use it.  Add adjustment instructions here
9125         rather than in function_arg.
9126         (function_arg): Constify CUMULATIVE_ARGS.  Use mips_arg_info.  Check
9127         for VOIDmode at the beginning of the function.
9128         (function_partial_nregs): Constify CUMULATIVE_ARGS.  Use mips_arg_info.
9129         (function_arg_pass_by_reference): Likewise.
9130         (mips_setup_incoming_varags): New, largely based on old abi64.h code.
9131         (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
9132         (mips_va_start): Likewise.  Use the new stack_words field of
9133         CUMULATIVE_ARGS to set up overflow area.  Reformat.
9134         (mips_va_arg): Test EABI_FLOAT_VARARGS_P.  Unify EABI handling of
9135         doubles and other types, aligning the overflow pointer for non-doubles
9136         too.  Remove some code duplication.  Replace hard-coded constants.
9137
9138 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
9139
9140         * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
9141         (CLASS_UNITS): Undefine.
9142         (CLASS_MAX_NREGS): Use FP_INC.
9143         * config/mips/mips.c (compute_frame_size): Likewise.
9144         (override_options): Use FP_INC and UNITS_PER_FPVALUE.
9145
9146 2002-03-22  Neil Booth  <neil@daikokuya.demon.co.uk>
9147
9148         * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
9149         prototype, and handle lexing numbers and identifiers.
9150         (parse_identifier): Update to new form of parse_slow.
9151         (parse_number): Fast path only, use parse_slow otherwise.
9152         (_cpp_lex_direct): Update calls to parse_number.
9153
9154 2002-03-21  DJ Delorie  <dj@redhat.com>
9155
9156         * bb-reorder.c (make_reorder_chain_1): Protect against
9157         when redundant edges are omitted.
9158         * predict.c (dump_prediction): Likewise.
9159
9160 2002-03-21  Richard Henderson  <rth@redhat.com>
9161
9162         PR target/5996
9163         * fixinc/inclhack.def (solaris_stdio_tag): New.
9164         * fixinc/fixincl.x: Regenerate.
9165
9166 2002-03-21  Eric Botcazou <ebotcazou@multimania.com>
9167
9168         PR c/5597
9169         * c-typeck.c (process_init_element): Flag non-static
9170         initialization of a flexible array member as illegal.
9171
9172 2002-03-22  Alan Modra  <amodra@bigpond.net.au>
9173
9174         * config/rs6000/t-linux64: New.
9175         * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
9176         t-ppccomm.  Use t-rs6000 and t-linux64.
9177         (powerpc64-*-gnu* <tmake_file>): Likewise.
9178         * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
9179         * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
9180         * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
9181
9182 2002-03-21  Aldy Hernandez  <aldyh@redhat.com>
9183
9184         * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
9185         flag_really_no_inline instead of optimize == 0.
9186
9187         * c-objc-common.c (c_cannot_inline_tree_fn): Same.
9188
9189         * cp/tree.c (cp_cannot_inline_tree_fn): Same.
9190
9191         * flags.h (flag_really_no_inline): New.
9192
9193         * c-common.c (c_common_post_options): Initialize
9194         flag_really_no_inline.
9195
9196         * toplev.c (flag_really_no_inline): New.
9197
9198 2002-03-21  Jakub Jelinek  <jakub@redhat.com>
9199
9200         * config/avr/avr.md (length): Fix length computation for
9201         conditional branches.
9202
9203 2002-03-21  Neil Booth  <neil@daikokuya.demon.co.uk>
9204
9205         * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
9206         sdbout.o, profile.o): Update.
9207         * c-common.c (c_common_nodes_and_builtins): Use pushdecl
9208         langhook.
9209         * c-common.h (gettags): Move here from tree.h.
9210         * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
9211         insert_block, getdecls, kept_level_p, global_bindings_p): New.
9212         * dbxout.c (dbxout_init): Use getdecls langhook.
9213         * expr.c (expand_expr): Use insert_block langhook.
9214         * fold-const.c: Include langhooks.h.
9215         (fold_range_test, fold_binary_op_with_conditional_arg,
9216         fold): Use global_bindings_p langhook.
9217         * integrate.c (expand_inline_function): Use insert_block langhook.
9218         * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
9219         LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
9220         LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
9221         LANG_HOOKS_GETDECLS): New.
9222         (LANG_HOOKS_INITIALIZER): Update.
9223         * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
9224         langhook.
9225         * langhooks.h (struct lang_hooks_for_decls): New.
9226         (struct lang_hooks): Update.
9227         * profile.c: Include langhooks.h.
9228         (output_func_start_profiler): Use new langhooks.
9229         * sdbout.c: Include langhooks.h.
9230         (sdbout_init, sdbout_finish): Use getdecls langhook.
9231         * stmt.c: Include langhooks.h.
9232         (expand_fixup, fixup_gotos): Use new langhooks.
9233         * stor-layout.c: Include langhooks.h.
9234         (variable_size): Use global_bindings_p langhook.
9235         * toplev.c (compile_file): Use getdecls langhook.
9236         * tree-inline.c (remap_block): Use insert_block langhook.
9237         * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
9238         insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
9239
9240 2002-03-21  Richard Henderson  <rth@redhat.com>
9241
9242         * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
9243         constants in .data when -fpic.
9244
9245 2002-03-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9246
9247         * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
9248         where appropriate.
9249
9250 2002-03-21  Tom Tromey  <tromey@redhat.com>
9251
9252         * config/i386/sol2.h (ASM_QUAD): Undef.  Fixes PR bootstrap/5948.
9253
9254 Thu Mar 21 09:50:48 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9255
9256         * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
9257
9258         * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
9259
9260 2002-03-21  Eric Botcazou <ebotcazou@multimania.com>
9261             Richard Henderson  <rth@redhat.com>
9262
9263         PR c/5354
9264         * c-common.c (c_expand_expr): Preserve result of a statement
9265         expression if needed.
9266
9267 2002-03-21  Jakub Jelinek  <jakub@redhat.com>
9268
9269         PR bootstrap/4195
9270         * genrecog.c (maybe_both_true_mode): Remove.
9271         (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
9272         * machmode.def (Pmode): Likewise.
9273
9274 Thu Mar 21 01:55:06 EST 2002  John Wehle  (john@feith.com)
9275
9276         * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
9277         (nonlocal_mentioned_p_1): New function.
9278         (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
9279         (nonlocal_set_p, nonlocal_set_p_1): Likewise.
9280         (mark_constant_function): Recognize pure functions.
9281         * rtl.h (global_reg_mentioned_p): New prototype.
9282         * rtlanal.c (global_reg_mentioned_p,
9283         global_reg_mentioned_p_1): New function.
9284
9285 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9286
9287         * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
9288         UNIX assert.h.
9289         * fixinc/fixincl.x: Regenerate.
9290
9291 2002-03-20  Jason Merrill  <jason@redhat.com>
9292
9293         * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
9294
9295 2002-03-20  Michael Meissner  <meissner@redhat.com>
9296
9297         * doc/invoke.texi (Optimize Options): Document that -O2 sets
9298         -fstrict-aliasing.
9299
9300 2002-03-20  Bob Wilson  <bob.wilson@acm.org>
9301
9302         * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
9303         ".literal_position" directive before the constant pool.
9304
9305 2002-03-20  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9306
9307         * doc/contrib.texi (Contributors): Update Geoffrey Keating.
9308         Add Craig Rodrigues.
9309         Add Brad Lucier to testers.
9310
9311 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
9312
9313         PR target/4792
9314         * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
9315         to if_then_else.
9316         (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
9317         * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
9318         instead of insn_extract.
9319
9320 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
9321
9322         PR bootstrap/4192
9323         * config/fr30/fr30.md (jump): Remove clobber of fixed register.
9324
9325         * genemit.c (output_added_clobbers_hard_reg_p): Only output return
9326         stmt if some case has been output.
9327
9328 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
9329
9330         PR c/5972
9331         * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
9332         movsfcc_1, movdfcc_1): Add %O2.
9333         * config/i386/i386.c (print_operand): Handle %ON.
9334         Print . before float condition codes in Sun as cmov syntax.
9335         * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
9336         * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
9337         no longer true.
9338
9339 2002-03-20  Philip Blundell  <pb@nexus.co.uk>
9340
9341         * config/arm/arm.c (arm_output_epilogue): Don't generate separate
9342         return instruction if PC was popped.
9343
9344 2002-03-20  Bob Wilson  <bob.wilson@acm.org>
9345
9346         * config/xtensa/xtensa.md: Remove unused type attributes.
9347         (adddi_carry, subddi_carry): Change type attribute to "multi".
9348
9349 2002-03-19  Dale Johannesen  <dalej@apple.com>
9350
9351         PR optimization/5999, middle-end/5731
9352         * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
9353         multiplications by reciprocals.
9354
9355 2002-03-20  Neil Booth  <neil@daikokuya.demon.co.uk>
9356
9357         * Makefile.in: Update.
9358         * c-common.c: Include langhooks.h.
9359         (inline_forbidden_p): Use new hook.
9360         * diagnostic.c: Include langhooks.h.
9361         (format_with_decl, announce_function,
9362         default_print_error_function): Use new hook.
9363         * dwarf2out.c (dwarf2_name): Use new hook.
9364         * function.c: Include langhooks.h.
9365         (init_function_start): Use new hook.
9366         * langhooks-def.h (lhd_decl_printable_name): New.
9367         (LANGHOOKS_DECL_PRINTABLE_NAME): New.
9368         (LANGHOOKS_INITIALIZER): Update.
9369         * langhooks.c (lhd_decl_printable_name): New.
9370         * langhooks.h (struct lang_hooks): New hook.
9371         * toplev.c (decl_name, decl_printable_name): Remove.
9372         (open_dump_file): Use new hook.
9373         (process_options): Remove old hook.
9374         * tree.h (decl_printable_name): Remove.
9375 objc:
9376         * objc-act.c (objc_init): Remove old hook.
9377         (objc_printable_name): Export.
9378         * objc-act.h (objc_printable_name): New.
9379         * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
9380
9381 2002-03-19  Jim Blandy  <jimb@redhat.com>
9382
9383         * c-lex.c (cb_file_change): Pass the #inclusion's line number to
9384         the start_source_file debug hook, not the current line number.
9385
9386 2002-03-19  Richard Henderson  <rth@redhat.com>
9387
9388         * flow.c (EH_USES): Provide default.
9389         (calculate_global_regs_live): Use it for EH edges and noreturn calls.
9390         * doc/tm.texi (EH_USES): New.
9391
9392         * config/ia64/ia64.c (ia64_eh_uses): New.
9393         * config/ia64/ia64-protos.h: Update.
9394         * config/ia64/ia64.h (EH_USES): New.
9395
9396 2002-03-19  Richard Henderson  <rth@redhat.com>
9397
9398         * varasm.c (output_constant_def): Fix stupid typo.
9399
9400 2002-03-19  Richard Henderson  <rth@redhat.com>
9401
9402         PR 5879
9403         * except.c (current_function_has_exception_handlers): New.
9404         * except.h: Declare it.
9405         * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
9406         Combine tests that disable all sibcalls for the function.
9407
9408 2002-03-19  Olivier Hainque  <hainque@act-europe.fr>
9409
9410         * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
9411         for INTEGER_CST.
9412
9413 2002-03-19  Richard Henderson  <rth@redhat.com>
9414
9415         PR 5977, 5991
9416         * config/ia64/ia64.c: Revert 2002-03-01 patch.
9417         * config/ia64/ia64.h (INIT_EXPANDERS): New.
9418
9419 2002-03-19  Jim Blandy  <jimb@redhat.com>
9420
9421         * cppmacro.c (cpp_macro_definition): Emit a space after the macro
9422         name, even if the replacement list contains no tokens, as required
9423         by Dwarf.
9424
9425 2002-03-19  Jason Merrill  <jason@redhat.com>
9426
9427         * varasm.c (globalize_decl): Get the name from the RTL, not
9428         DECL_ASSEMBLER_NAME.
9429
9430         * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
9431
9432 2002-03-19  Bob Wilson  <bob.wilson@acm.org>
9433
9434         * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
9435         subdi_carry): Define.
9436
9437 2002-03-19  David Edelsohn  <edelsohn@gnu.org>
9438
9439         * config/rs6000/rs6000.c (rs6000_override_options): Only warn
9440         about -fpic/-fPIC if extra_warnings set.
9441
9442 2002-03-19  David Edelsohn  <edelsohn@gnu.org>
9443
9444         * expr.c (expand_expr): Sign-extend CONST_INT generated from
9445         TREE_STRING_POINTER.
9446         * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
9447
9448 Tue Mar 19 14:12:32 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9449
9450         * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
9451         in favor of SP if FRAME_POINTER_REQUIRED is false.
9452
9453 2002-03-19  Lars Brinkhoff  <lars@nocrew.org>
9454
9455         * emit-rtl.c (gen_int_mode): New function.
9456         * rtl.h: Prototype for it.
9457         * combine.c (make_extraction, simplify_comparison), expmed.c
9458         (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
9459         (convert_modes, store_field), optabs.c (expand_fix),
9460         simplify-rtx.c (neg_const_int, simplify_unary_real),
9461
9462         * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
9463         Use it instead of GEN_INT (trunc_int_for_mode (...)).
9464
9465 2002-03-19  Jakub Jelinek  <jakub@redhat.com>
9466
9467         PR c/5656
9468         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
9469         convert_parm_for_inlining.
9470         * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
9471         Define.
9472         * langhooks-def.h: Likewise.
9473         * objc/objc-lang.c: Likewise.
9474         * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
9475         function.
9476         * tree-inline.c (initialize_inlined_parameters):
9477         Call convert_parm_for_inlining lang hook if needed.
9478         * c-typeck.c (c_convert_parm_for_inlining): New function.
9479         * c-tree.h (c_convert_parm_for_inlining): Add prototype.
9480
9481 2002-03-18  Mark Mitchell  <mark@codesourcery.com>
9482
9483         * calls.c (precompute_arguments): Do not assume that temporaries
9484         can be destroyed after expanding the argument.
9485         (expand_call): Likewise.
9486
9487 2002-03-15  Eric Christopher  <echristo@redhat.com>
9488
9489         * config/mips/mips.md (movdf_internal2): Add two new move constraints.
9490         Fix register preference on last change.
9491         * config/mips/mips.c (mips_return_in_memory): New function.
9492         * config/mips/mips.h (RETURN_IN_MEMORY): Use.
9493         * config/mips/mips-protos.h: Declare.
9494         * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
9495         * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
9496
9497 2002-03-18  Alexandre Oliva  <aoliva@redhat.com>
9498
9499         * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
9500         a register too.
9501         (anddi3, iorsi3): Likewise.
9502
9503         * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
9504         use %gprel for symbols that are going to be placed in linkonce
9505         sections.
9506
9507         * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
9508         RETURN_ADDRESS_POINTER_REGNUM to $ra.
9509         (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
9510         not needed.  Disregard leaf_function_p().
9511         (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
9512         mips16 frame pointer.
9513         * config/mips/mips.md (store ra): Only to small SP offsets.
9514         2001-08-22  Graham Stott  <grahams@redhat.com>
9515         * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
9516         return a REG rtx for the return address register.
9517
9518 2002-03-18  Bob Wilson  <bob.wilson@acm.org>
9519
9520         * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
9521         constant-pool addresses as "mode-dependent".
9522         (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
9523
9524 2002-03-18  Jakub Jelinek  <jakub@redhat.com>
9525
9526         PR target/5740
9527         * expr.c (emit_group_load): Use extract_bit_field if
9528         needed for CONCAT arguments.
9529
9530 2002-03-18  Richard Earnshaw  <rearnsha@arm.com>
9531
9532         PR target/4863
9533         * arm.md (tablejump): Make this a define_expand.  For PIC add the
9534         offset to the base of the table.
9535         (thumb_tablejump): Matcher for Thumb tablejump insn.
9536         * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
9537         as the difference of two labels.
9538         * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
9539         * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
9540         tables in the code.
9541         * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
9542         * arm.c (get_jump_table_size): If the table is not in the text
9543         section, return zero.
9544
9545 2002-03-18  Bernd Schmidt  <bernds@redhat.com>
9546
9547         * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
9548         of gen_rtx_SUBREG.
9549         (arm_reload_out_hi): Use gen_lowpart instead of
9550         gen_rtx_SUBREG to access QImode components.
9551         * config/arm/arm.md: Disable zero_extend split for QImode
9552         subregs in BIG_ENDIAN mode.
9553         (storehi_bigend): Match use of least significant byte.
9554         (storeinthi): Remove extraneous SUBREG.
9555         Add missing construction of operands[2].
9556         (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
9557         (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
9558         Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
9559
9560 2002-03-18  Aldy Hernandez  <aldyh@redhat.com>
9561
9562         * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
9563         any_operand.
9564
9565 2002-03-17  Richard Henderson  <rth@redhat.com>
9566
9567         * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
9568         explicitly.
9569
9570 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
9571
9572         * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
9573         (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
9574
9575 2002-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9576
9577         * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
9578
9579         * predict.c (estimate_bb_frequencies): Delete unused variables.
9580
9581 2002-03-17  Richard Henderson  <rth@redhat.com>
9582
9583         * config/ia64/ia64.c (ia64_attribute_table): Move before
9584         targetm definition.  Make static.
9585
9586 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
9587
9588         * c-common.h (yyparse, c_common_parse_file): New.
9589         * c-lang.c: Include c-common.h.
9590         (LANG_HOOKS_PARSE_FILE): Redefine.
9591         * c-lex.c: Include c-common.h.
9592         (yyparse): Rename c_common_parse_file.  Call yyparse.
9593         * c-parse.in (yyparse): Remove macro.
9594         * c-tree.h (yyparse_1): Remove.
9595         * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
9596         (LANG_HOOKS_INITIALIZER): Update.
9597         * langhooks.h (struct lang_hoooks): New hook parse_file.
9598         * toplev.c (compile_file): Use parse_file hook.
9599         * tree.h (yyparse): Remove.
9600         * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
9601
9602 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
9603
9604         * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
9605         float_truncate, not fix.
9606         ("*truncdfsf2_real"): Ditto.
9607         ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
9608
9609         * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
9610
9611 2002-03-16  Alexandre Oliva  <aoliva@redhat.com>
9612
9613         * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
9614         (s8), but rather HARD_FRAME_POINTER_REGNUM.  Add parentheses
9615         where appropriate.  Make the second reference to
9616         leaf_function_p a function call, as intended.  Reindented.
9617
9618         * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
9619         * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
9620
9621         * config/mips/mips.md (addsi3, adddi3): Use scratch register to
9622         add register to non-constant into sp.
9623
9624         * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
9625         * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
9626         (mips16_gp_pseudo_rtx): Lose.
9627         (INIT_EXPANDERS): Deleted.
9628         * config/mips/mips.c (mips_init_machine_status): New.
9629         (mips_free_machine_status): New.
9630         (mips_mark_machine_status): New.
9631         (override_options): Set them.
9632         (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
9633         (struct machine_function): ... new.  Replaced all references.
9634         (mips_add_gc_roots): Don't mark them.
9635         (embedded_pic_fnaddr_reg): New, extracted from...
9636         (embedded_pic_offset): ... here.
9637         * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
9638         (movsi): Likewise.
9639
9640 2002-03-16  Neil Booth  <neil@daikokuya.demon.co.uk>
9641
9642         * cppinit.c: Revert -MD removal.
9643
9644 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9645
9646         * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
9647         soft registers by default for 68HC12.
9648         (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
9649         when compiling with -fomit-frame-pointer.
9650         (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
9651         (expand_epilogue): Likewise.
9652         (m68hc11_gen_rotate): Use exg when rotating by 8.
9653
9654 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9655
9656         * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
9657         * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
9658         (splits): Remove unused add splits.
9659         ("*addhi3_68hc12"): Tune constraints.
9660         ("addhi_sp"): Try to use X instead of Y in all cases and if the
9661         constant fits in 8-bits and D is dead use abx/aby instructions.
9662         ("*addhi3"): Remove extern declaration of ix_reg.
9663         ("*subsi3"): Optimize and provide new split.
9664         ("subhi3"): Cleanup.
9665         ("*subhi3_sp"): Avoid saving X if we know it is dead.
9666         (arith splits): For 68hc12 save the address register on the stack
9667         and do the arithmetic operation with a pop.
9668
9669 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9670
9671         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
9672         allocating QImode in address registers.
9673         ("*movqi_m68hc11"): Likewise.
9674
9675 Sat Mar 16 12:57:28 CET 2002  Jan HUbicka  <jh@suse.cz>
9676
9677         * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
9678
9679 2002-03-16  Neil Booth  <neil@daikokuya.demon.co.uk>
9680
9681         * cppinit.c (print_help): Display -MD and -MMD.
9682         Don't display usage string.  Update assertion syntax and
9683         typo.
9684         (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
9685         (cpp_handle_option): Update.
9686
9687 2002-03-15  Chris Demetriou  <cgd@broadcom.com>
9688
9689         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
9690         MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
9691         and define it so that regardless of target CPU size,
9692         __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
9693         of "int" rather than "long."
9694
9695 2002-03-15  Richard Henderson  <rth@redhat.com>
9696
9697         * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
9698         size as a tree.
9699
9700 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9701
9702         * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
9703         ("tstqi" split): Avoid using memory for tstqi on address register.
9704         (splits): Remove constraints.
9705         ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
9706         ("cmpdf", "cmpsf"): Remove since not used.
9707         ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
9708         (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
9709
9710 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9711
9712         * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
9713         ("neghi2"): Tighten constraints.
9714         ("one_cmplsi2"): Optimize and simplify split.
9715         * config/m68hc11/larith.asm (__negsi2): Likewise for library.
9716
9717 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9718
9719         * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
9720         and split of AND operation to clear the upper bits.
9721         ("*logicalsi3_zextqi"): Likewise.
9722         ("*logicallhi3_zexthi_ashift8"): Likewise.
9723         ("*logicalsi3_silshr16"): Likewise.
9724         ("logicalsi3_silshl16"): Likewise.
9725         ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
9726
9727 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9728
9729         * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
9730         (m68hc11_indirect_p): New function.
9731         (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
9732         (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
9733         TARGET_M6812.
9734         (asm_print_register): Likewise.
9735         * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
9736         (m68hc11_indirect_p): Declare.
9737         * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
9738         (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
9739         (TARGET_SWITCHES): New option -mrelax.
9740         * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
9741         destination.
9742         ("iorsi3", "xorsi3"): Likewise.
9743         ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
9744         ("*andhi3_mem"): New to handle destination in memory with bclr
9745         and a scratch register.
9746         ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
9747         ("*andhi3_const"): New when operand2 is constant.
9748         ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
9749         ("*andhi3_gen"): Cleanup of the old "andhi3".
9750         ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
9751         ("xorqi3"): Update constraints.
9752
9753 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9754
9755         * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
9756         for reg_equiv_memory_loc when the operand is a register that does
9757         not get a hard register (stack location).
9758         (tst_operand): After reload, accept all memory operand.
9759         (symbolic_memory_operand): Fix detection of symbolic references.
9760         * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
9761         accept symbols and any constant.
9762
9763 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9764
9765         * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
9766         note on the insn that sets the soft frame register.
9767         (must_parenthesize): ix and iy are also reserved names.
9768         (print_operand_address): One more place where parenthesis are required
9769         to avoid confusion with register names.
9770         (m68hc11_gen_movhi): Allow push of stack pointer.
9771         (m68hc11_check_z_replacement): Fix handling of parallel with a
9772         clobber.
9773         (m68hc11_z_replacement): Must update the REG_INC notes to tell what
9774         the replacement register is.
9775         * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
9776         and D8_REGS classes.
9777         (MODES_TIEABLE_P): All modes are tieable except QImode.
9778
9779 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9780
9781         * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
9782         (___subdi3): Likewise.
9783         (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
9784         (__map_data_section): Optimize 68hc11 case.
9785
9786 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9787
9788         * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
9789         than a shift to avoid adding a register with itself.
9790         (m68hc11_memory_move_cost): Take into account NO_REGS.
9791         (m68hc11_register_move_cost): Update and use memory move cost
9792         for soft registers.
9793         (m68hc11_address_cost): Make cost of valid offset not 0 so that
9794         it gives more opportunities to cse to optimize.
9795         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
9796         * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
9797
9798 2002-03-15  Mark Mitchell  <mark@codesourcery.com>
9799
9800         * c-common.c (statement_code_p): Handle CLEANUP_STMT.
9801         * c-common.def (CLEANUP_STMT): New tree node.
9802         * c-common.h (CLEANUP_DECL): New macro.
9803         (CLEANUP_EXPR): Likewise.
9804         * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
9805         * expr.c (expand_expr): Tidy.
9806         * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
9807         * tree-inline.c (initialize_inlined_parameters): Clean up
9808         new local variables.
9809
9810 2002-03-15  Jakub Jelinek  <jakub@redhat.com>
9811
9812         PR bootstrap/4128
9813         * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
9814         before movrXX only, use reg_overlap_mentioned_p.
9815         Only special case NE if just one insn can be generated.
9816
9817 2002-03-15  Jason Merrill  <jason@redhat.com>
9818
9819         * varasm.c (assemble_variable): Call resolve_unique_section before
9820         checking DECL_SECTION_NAME.  Use zeros for a decl with DECL_INITIAL
9821         of error_mark_node.
9822
9823 2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
9824
9825         PR target/5170
9826         * arm.md (split pattern for thumb shiftable immediates): Add comment
9827         explaining non-obvious test.
9828
9829 2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
9830
9831         PR target/5712
9832         * arm.md (movaddr, movaddr_insn): Delete.
9833
9834 2002-03-15  Jason Merrill  <jason@redhat.com>
9835
9836         * toplev.c (wrapup_global_declarations): Clarify variable handling.
9837         -fkeep-static-consts doesn't apply to comdats.
9838
9839 2002-03-14  Richard Henderson  <rth@redhat.com>
9840
9841         * c-decl.c: Include c-pragma.h.
9842         (start_decl, start_function): Invoke maybe_apply_pragma_weak.
9843         (finish_function): Tidy.
9844         * c-pragma.c: Include c-common.h.
9845         (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
9846         (handle_pragma_weak): Use them.
9847         (init_pragma): Register pending_weaks.
9848         * c-pragma.h (maybe_apply_pragma_weak): Declare.
9849         * print-tree.c (print_node): Print DECL_WEAK.
9850         * varasm.c (mark_weak_decls): Remove.
9851         (remove_from_pending_weak_list): Remove.
9852         (add_weak): Remove.
9853         (asm_emit_uninitialised): Call globalize_decl for weak commons.
9854         (weak_decls): Make a tree_list.
9855         (declare_weak): Cons weak_decls directly.
9856         (globalize_decl): Remove weak_decls elements directly.
9857         (weak_finish): Simplify weak_decls walk.  Don't weaken unused
9858         symbols.  Don't pretend to handle aliases.
9859         (init_varasm_once): Update weak_decls registry.
9860         * Makefile.in: Update dependencies.
9861
9862 2002-03-14  Richard Henderson  <rth@redhat.com>
9863
9864         PR target/5312
9865         * config/ia64/ia64.c: Include tm_p.h last.
9866         (gen_nop_type): Remove duplicate definition.
9867         (cycle_end_fill_slots): Set sched_data for second L slot.
9868         (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
9869         (nop_cycles_until): Fix typos.
9870
9871 2002-03-15  Jakub Jelinek  <jakub@redhat.com>
9872
9873         PR optimization/5891
9874         * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
9875
9876 2002-03-14  David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
9877
9878         * config/ia64/unwind-ia64.c: Handle copy_state and label_state
9879           descriptors correctly.
9880
9881 2002-03-14  Michael Meissner  <meissner@redhat.com>
9882
9883         * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
9884         100, allowing MAX_UNROLLED_INSNS to be overridden.
9885
9886         * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
9887         --param.
9888
9889         * unroll.c (params.h): Include.
9890         (MAX_UNROLLED_INSNS): Delete, now in params.h.
9891
9892         * doc/invoke.texi (--param max-unroll-insns): Document.
9893
9894         * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
9895
9896 2002-03-14  Richard Earnshaw  <rearnsha@arm.com>
9897
9898         * arm.md: Fix warnings about constraints in peepholes and splits.
9899
9900 2002-03-14  Zack Weinberg  <zack@codesourcery.com>
9901
9902         * cpphash.h (struct lexer_state): Remove line_extension member.
9903         * cpplib.c (dequote_string, do_linemarker): New functions.
9904         (linemarker_dir): New data object.
9905         (DIRECTIVE_TABLE): No longer need to interpret #line in
9906         preprocessed source.  Delete obsolete comment about return
9907         values of handlers.
9908         (end_directive, directive_diagnostics, _cpp_handle_directive):
9909         Don't muck with line_extension.
9910         (directive_diagnostics): No need to issue warnings for
9911         linemarkers here.
9912         (_cpp_handle_directive): Issue warnings for linemarkers here,
9913         when appropriate.  Dispatch linemarkers to do_linemarker, not
9914         do_line.
9915         (do_line): Code to handle linemarkers split out to do_linemarker.
9916         Convert escape sequences in filename argument, both places.
9917
9918         * cppmacro.c (quote_string): Rename cpp_quote_string and
9919         export.  All callers changed.
9920         * cpplib.h (cpp_quote_string): Prototype.
9921         * cppmain.c (print_line): Call cpp_quote_string on to_file
9922         before printing it.
9923
9924         * doc/cpp.texi: Document that escapes are now interpreted in
9925         #line and in linemarkers, and that non-printing characters are
9926         converted to octal escapes when linemarkers are generated.
9927
9928 Thu Mar 14 19:04:29 CET 2002  Jan Hubicka  <jh@suse.cz>
9929
9930         * emit-rtl.c (try_split): Use delete_insns.
9931         * recog.c (split_all_insns): Fix terminating condition.
9932
9933 2002-03-14  Richard Earnshaw  <rearnsha@arm.com>
9934             Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
9935
9936         PR target/5828
9937         * arm.c (arm_output_epilogue): Fix floating-point register save
9938         adjustment when using a frame pointer.
9939
9940 2002-03-14  Richard Sandiford  <rsandifo@redhat.com>
9941
9942         * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
9943         * config/mips/mips.c (compute_frame_size): Retrofit them here.
9944         (save_restore_insns, mips_expand_epilogue): And here.
9945         (build_mips16_call_stub): And here.
9946         (mips_function_value): Use the new macros to decide whether a single
9947         or complex float can be returned in floating-point registers.  Return
9948         a parallel rtx in the complex case.
9949
9950 Thu Mar 14 11:03:12 CET 2002  Jan Hubicka  <jh@suse.cz>
9951
9952         * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
9953         call after liveness analysis.
9954
9955         * recog.c (split_insn): Use delete_insn_and_edges.
9956
9957         * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
9958         instructions to have branch prediction notes.
9959         * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
9960
9961 2002-03-14  Geoffrey Keating  <geoffk@redhat.com>
9962
9963         * configure.in: Don't pass -Wno-long-long to a ADA compiler
9964         that doesn't support it.
9965         * configure: Regenerate.
9966
9967 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
9968
9969         PR target/5626
9970         * config/sparc/sparc.md (normal_branch, inverted_branch,
9971         normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
9972         inverted_fp_branch): Adjust calls to output_cbranch.
9973         Set length attribute.
9974         (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
9975         output_v9branch.  Set length attribute.
9976         * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
9977         predicates.
9978         (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
9979         (output_cbranch): Likewise.  Handle far branches.
9980         (output_v9branch): Handle far branches.
9981         * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
9982         Adjust prototypes.
9983         * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
9984         noov_compare64_op predicates.
9985
9986 2002-03-13  Jason Merrill  <jason@redhat.com>
9987
9988         * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
9989         into the function and constify it.
9990         * gthr-dce.h, gthr-solaris.h: Likewise.
9991
9992 2002-03-13  David Edelsohn  <edelsohn@gnu.org>
9993
9994         * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
9995         * config/rs6000/rs6000.c (rs6000_va_arg): Use
9996         std_expand_builtin_va_arg if not ABI_V4.
9997
9998 2002-03-13  Jason Merrill  <jason@redhat.com>
9999
10000         * varasm.c (globalize_decl): New fn.
10001         (assemble_start_function): Use it.
10002         (asm_emit_uninitialized): Use it.
10003         (assemble_alias): Use it.
10004         (assemble_variable): Use it.
10005
10006 2002-03-13  Hans-Peter Nilsson  <hp@axis.com>
10007
10008         * config/cris/cris.c (cris_target_asm_function_prologue): Revert
10009         2002-03-12 internal visibility change.
10010         (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
10011         visibility into SYMBOL_REF_FLAG.
10012
10013 2002-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
10014
10015         * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
10016         VOIDmode operand.  Add compile-time optimization for constant results.
10017
10018 2002-03-12  Jason Merrill  <jason@redhat.com>
10019
10020         * c-typeck.c (convert_for_assignment): Don't allow conversions
10021         between pointers and references.  Only allow lvalues to convert to
10022         reference.
10023
10024 2002-03-13  Hartmut Penner  <hpenner@de.ibm.com>
10025
10026         * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
10027         before prologue, to avoid scheduling problems.
10028
10029 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
10030
10031         * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
10032         (ELIMINABLE_REGS): Add sfp->sp.
10033         (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
10034
10035 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
10036
10037         PR optimization/5892
10038         * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
10039
10040 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
10041
10042         * loop.c (basic_induction_var): Don't call convert_modes if mode
10043         classes are different.
10044
10045 2002-03-12  Richard Henderson  <rth@redhat.com>
10046
10047         PR optimization/5901
10048         * function.c (reposition_prologue_and_epilogue_notes): Position
10049         the markers after/before the last/first insn not deleted.
10050
10051 2002-03-12  Richard Henderson  <rth@redhat.com>
10052
10053         PR optimization/5878
10054         * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
10055         config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
10056         (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
10057
10058         * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
10059         config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
10060         PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
10061
10062         * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
10063         * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
10064         (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
10065         also.  Don't set it if not flag_pic.
10066         * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
10067         to be INVALID_REGNUM when not used.
10068
10069 2002-03-13  Aldy Hernandez  <aldyh@redhat.com>
10070
10071         * expmed.c (store_bit_field): Reset alias set for memory.
10072         (extract_bit_field): Same.
10073
10074 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10075
10076         * c-common.c (c_tree_code_type, c_tree_code_length,
10077         c_tree_code_name, add_c_tree_codes): Delete.
10078         * c-common.h (add_c_tree_codes): Delete.
10079         * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
10080         Define.
10081         * c-objc-common.c (c_objc_common_init): Don't call
10082         add_c_tree_codes, instead set lang_unsafe_for_reeval.
10083         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
10084         objc_tree_code_name, add_objc_tree_codes): Delete.
10085         (objc_init): Don't call add_objc_tree_codes.
10086         * objc/objc-lang.c (tree_code_type, tree_code_length,
10087         tree_code_name): Define.
10088         * toplev.c (lang_independent_init): Don't set
10089         tree_code_length[IDENTIFIER_NODE].
10090         * tree.c (tree_code_type, tree_code_length, tree_code_name):
10091         Delete definitions, moved to language front-ends.
10092         * tree.def (IDENTIFIER_NODE): Hardwire the length.
10093         * tree.h (tree_code_type, tree_code_length, tree_code_name):
10094         Const-ify.
10095         (tree_code_length): Change type to unsigned char.
10096
10097 2002-03-12  Richard Henderson  <rth@redhat.com>
10098
10099         * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
10100         internal visibility change.
10101
10102 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
10103
10104         * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
10105         validize_mem() instead of change_address to avoid clobbering
10106         memory attributes.
10107
10108 2002-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
10109
10110         * c-lex.h (position_after_whitespace): Remove.
10111
10112 2002-03-12  Jakub Jelinek  <jakub@redhat.com>
10113
10114         * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
10115         (lex_string): Use unsigned char pointers.
10116
10117 2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
10118
10119         * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
10120         is not a valid memory_operand.
10121
10122 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
10123
10124         * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
10125         * config/xtensa/lib1funcs.asm: Fix copyright to include
10126         special case for libgcc files.
10127         (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
10128         (__divsi3): Likewise.
10129         (__umodsi3): Likewise.
10130         (__modsi3): Likewise.
10131         * config/xtensa/lib2funcs.S: Fix copyright to include
10132         special case for libgcc files.
10133
10134 2002-03-12  Tom Rix  <trix@redhat.com>
10135
10136         * collect2.c (resolve_lib_name): Move outside of
10137         OBJECT_FORMAT_COFF ifdef.
10138         (ignore_library): Same.
10139
10140 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
10141
10142         * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
10143
10144 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
10145
10146         * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
10147         to function_section before writing out the constant pool.
10148
10149 2002-03-12  David Edelsohn  <edelsohn@gnu.org>
10150
10151         * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
10152         zero_constant.
10153         * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
10154
10155 2002-03-12  Alan Modra  <amodra@bigpond.net.au>
10156
10157         * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
10158         (adddi3): Likewise.
10159         (movdf): Likewise.
10160         (movdi): Likewise.
10161         (cmpsi splitter): Likewise.
10162         (modsi3): Fail if <= 0.
10163         * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
10164         redundant test when HOST_BITS_PER_WIDE_INT != 32.
10165         (reg_or_sub_cint64_operand): Likewise.
10166         (num_insns_constant_wide): Optimize sign extension.
10167         (rs6000_legitimize_address): Likewise.
10168
10169 2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
10170
10171         * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
10172         * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
10173
10174 2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
10175
10176         * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
10177         address calculation.
10178
10179 2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
10180
10181         * config/s390/s390.md (reload_insi, reload_indi): Change mode of
10182         scratch register to DImode / TImode.
10183         config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
10184         register used does not overlap the target.
10185
10186 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10187
10188         * Makefile.in (debug.o): Depend on debug.h.
10189         * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
10190         * debug.c (do_nothing_debug_hooks): Likewise.
10191         * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
10192         sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
10193         dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
10194         * dwarf2out.c (dwarf2_debug_hooks): Likewise.
10195         * dwarfout.c (dwarf_debug_hooks): Likewise.
10196         * integrate.c (output_inline_function): Likewise.
10197         * objc/objc-act.c (synth_module_prologue): Likewise.
10198         * sdbout.c (sdb_debug_hooks): Likewise.
10199         * toplev.c (debug_hooks): Likewise.
10200         * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
10201
10202 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10203
10204         * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
10205         dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
10206         m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
10207         ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
10208         v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
10209         * defaults.h (POINTER_SIZE): Define.
10210         * doc/tm.texi (POINTER_SIZE): Document default.
10211
10212 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10213
10214         * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
10215
10216 2002-03-11  Richard Henderson  <rth@redhat.com>
10217
10218         * toplev.c (rest_of_compilation): Call purge_all_dead_edges
10219         if rebuild_label_notes_after_reload.
10220
10221 2002-03-12  Hans-Peter Nilsson  <hp@axis.com>
10222
10223         * config/cris/cris.c (cris_target_asm_function_prologue):  Do not
10224         emit pic register load if "internal" visibility.
10225         (cris_print_operand): Avoid traditional-warning for 0xffffffff.
10226         (cris_expand_builtin_va_arg): Do all computations on trees.
10227
10228 2002-03-11  Richard Henderson  <rth@redhat.com>
10229
10230         * rtlanal.c: Include recog.h.
10231         (keep_with_call_p): Fix thinko.
10232         * Makefile.in (rtlanal.o): Update dependencies.
10233
10234 2002-03-11  Chris Meyer  <cmeyer@gatan.com>
10235
10236         * genflags.c (gen_insn): Use IS_VSPACE.
10237         * genoutput.c (output_insn_data): Likewise.
10238         (process_template): Likewise.
10239
10240 2002-03-11  Richard Henderson  <rth@redhat.com>
10241
10242         * toplev.c (rest_of_compilation): Don't compile if we've had errors.
10243
10244 2002-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10245
10246         * Makefile.in: Update.
10247         * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
10248         Update documentation.
10249         * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
10250         * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
10251
10252 2002-03-11  Zack Weinberg  <zack@codesourcery.com>
10253
10254         * Makefile.in: Give texi2pod its input file as a command line
10255         argument, not on stdin.
10256
10257 2002-03-11  Dan Nicolaescu  <dann@ics.uci.edu>
10258             Daniel Berlin  <dan@dberlin.org>
10259
10260         C++ alias analysis improvement.
10261         * alias.c (record_component_aliases): Record aliases for base
10262         classes too.
10263
10264 2002-03-11  Ulrich Weigand  <uweigand@de.ibm.com>
10265
10266         * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
10267
10268 2002-03-11  Douglas B Rupp  <rupp@gnat.com>
10269
10270         * toplev.c (vms_fopen): Remove, not needed.
10271
10272         * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
10273
10274         * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
10275
10276         * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
10277         for FP, already done later.
10278
10279         * toplev.c (debug_args): Add entry for VMS_DEBUG.
10280         * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
10281
10282 2002-03-11  Richard Sandiford  <rsandifo@redhat.com>
10283
10284         * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
10285         (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
10286         LARGEST_EXPONENT_IS_NORMAL for the given mode.
10287         (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
10288         * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
10289         (ediv, emul, eldexp, esqrt): Likewise.
10290         (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
10291         (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
10292         (saturate): New function.
10293         (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
10294         (make_nan): Use a saturation value instead of a NaN if
10295         LARGEST_EXPONENT_IS_NORMAL.  Warn when this happens.
10296         * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
10297         inputs if LARGEST_EXPONENT_IS_NORMAL.  Represent subnormals as
10298         zero if NO_DENORMALS.  Only round to nearest if !ROUND_TOWARDS_ZERO.
10299         (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
10300         (_fpmul_parts, _fpdiv_parts): Only round to nearest if
10301         !ROUND_TOWARDS_ZERO.
10302         * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
10303         (ROUND_TOWARDS_ZERO): Document.
10304
10305 2002-03-11  Andreas Jaeger  <aj@suse.de>
10306
10307         * cfg.c (dump_flow_info): Remove unused variable.
10308
10309 2002-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
10310
10311         * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
10312         computations on trees.
10313
10314 2002-03-10  Richard Henderson  <rth@redhat.com>
10315
10316         PR 5693:
10317         * reload.c (copy_replacements_1): New.
10318         (copy_replacements): Use it to recurse through the rtx.
10319
10320 2002-03-10  Richard Henderson  <rth@redhat.com>
10321
10322         * loop.c (strength_reduce): Compute number of iterations as
10323         unsigned HOST_WIDE_INT.
10324
10325 2002-03-10  Richard Henderson  <rth@redhat.com>
10326
10327         * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
10328         to move away from the end of the block.
10329
10330 2002-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10331
10332         PR preprocessor/5899
10333         * cppinit.c (init_dependency_output): Don't ignore -dM etc.
10334
10335 2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10336
10337         * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
10338
10339         * attribs.c (decl_attributes): Fix signed/unsigned warning.
10340
10341 2002-03-10  Hans-Peter Nilsson  <hp@bitrange.com>
10342
10343         * config/mmix/mmix.c: Improve comments.
10344         (mmix_target_asm_function_prologue): Drop variable
10345         empty_stack_frame.  Don't allocate unused slot above fp.
10346         (mmix_target_asm_function_epilogue): Mirror prologue changes.
10347         * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
10348         brace in first column.
10349         (enum reg_class): Ditto.
10350         (FIRST_PARM_OFFSET): Now 0.
10351         (USER_LABEL_PREFIX): Remove #if 0:d definition.
10352
10353 2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10354
10355         * combine.c (make_extraction): Fix error in last change.
10356
10357 2002-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10358
10359         * c4x.c (c4x_fp_reglist): Const-ify.
10360         * cris.c (cris_print_operand): Likewise.
10361         * i386.c (ix86_va_arg): Likewise.
10362         * ia64/unwind-ia64.c (unw_decode_table): Likewise.
10363         * m32r.c (m32r_hard_regno_mode_ok): Likewise.
10364         * m32r.h (m32r_hard_regno_mode_ok): Likewise.
10365         * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
10366         * mcore.h (regno_reg_class): Likewise.
10367         * mips.c (gen_int_relational): Likewise.
10368         * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
10369         * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
10370         * pdp11.c (move_costs): Likewise.
10371         * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
10372         * s390.c (s390_branch_condition_mnemonic, regclass_map):
10373         Likewise.
10374         * s390.h (regclass_map): Likewise.
10375         * sh.c (shift_amounts): Likewise.
10376         * sh.md (rotlsi3): Likewise.
10377
10378 2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
10379
10380         * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
10381         (ne0+5): Use new clobber to generate proper shift pattern.
10382         Patch by Michael Matz <matz@kde.org>.
10383
10384 2002-03-09  Andreas Schwab  <schwab@suse.de>
10385
10386         * gcc.c (validate_all_switches): Also handle `%W{...}'.
10387
10388 2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
10389
10390         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
10391
10392 2002-03-09  Jakub Jelinek  <jakub@redhat.com>
10393
10394         PR middle-end/5877
10395         * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
10396         even for non-representable constants.
10397
10398 Sat Mar  9 07:20:01 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10399
10400         * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
10401         * function.c (fixup_var_refs): Add MAY_SHARE parameter.
10402         (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
10403         (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
10404         (pop_function_context): Compute MAY_SHARE parameter for
10405         fixup_var_refs.
10406         (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
10407         (gen_mem_addressof): Call fixup_var_refs with new parm.
10408
10409         * combine.c (make_extraction): Don't make extension of CONST_INT.
10410
10411 2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
10412
10413         * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
10414         in o32 and o64 ABIs.
10415         * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
10416         but getting fixed-size structs passed in registers regardless of
10417         padding in o32 and o64 ABIs.
10418
10419         * config/mips/mips.c (mips_va_arg): Apply big-endianness address
10420         offset before loading address of argument passed by transparent
10421         reference.
10422
10423 2002-03-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10424
10425         * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
10426
10427 2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
10428
10429         * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
10430         marker such that registers after it are saved.
10431
10432 2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10433
10434         * sparc.c (arith_4096_operand): Fix error in last change.
10435
10436 2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
10437
10438         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
10439         defaults for MEABI.
10440
10441 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
10442
10443         * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
10444         vectors.
10445
10446 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
10447
10448         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
10449
10450 Fri Mar  8 21:27:49 CET 2002  Jan Hubicka  <jh@suse.cz>
10451
10452         * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
10453         removed; fix return value.
10454         * combine.c (combine_instructions): Dirtify blocks where we failed to
10455         update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
10456         * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
10457
10458 2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10459
10460         * gcse.c (insert_insn_end_bb): Fix typo in last change.
10461
10462 Fri Mar  8 21:08:52 CET 2002  Jan Hubicka  <jh@suse.cz>
10463
10464         * recog.c (peephole2_optimize): Re-distribute EH edges.
10465
10466 2002-03-08  Neil Booth  <neil@daikokuya.demon.co.uk>
10467
10468         * expr.c (expand_expr): Use unsave lang hook.
10469         * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
10470         (LANG_HOOKS_INITIALIZER): Update.
10471         * langhooks.h (struct lang_hooks): New hook unsave.
10472         * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
10473         (unsave_expr_1): Remove unused lang_unsave_expr_now.
10474         (unsave_expr_now_r): Rename lhd_unsave.  Update. Return input.
10475         (unsave_expr_now): Remove.
10476         * tree.h (unsave_expr_now, lang_unsave,
10477         lang_unsave_expr_now): Remove.
10478         (lhd_unsave): New.
10479
10480 2002-03-08  Andreas Jaeger  <aj@suse.de>
10481
10482         * flow.c (propagate_block_delete_insn): Remove unused variable.
10483
10484 2002-03-08  Kazu Hirata  <kazu@hxi.com>
10485
10486         * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
10487         insn length for memory load/store.
10488
10489 2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10490
10491         * doc/install.texi (--with-libiconv-prefix): Document.
10492
10493 2002-03-08  Michael Y. Brukman  <myb2@cornell.edu>
10494
10495         * doc/sourcebuild.texi: Fix typo.
10496
10497 2002-03-08  Jakub Jelinek  <jakub@redhat.com>
10498
10499         PR c/3711
10500         * builtins.c (std_expand_builtin_va_arg): Do all computations on
10501         trees.
10502
10503 Fri Mar  8 06:48:45 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10504
10505         * rtl.c (copy_most_rtx): Move from here ...
10506         * emit-rtl.c (copy_most_rtx): ... to here.
10507
10508 2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
10509
10510         * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
10511         SUBTARGET_CPP_SIZE_SPEC.
10512         * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
10513
10514         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
10515
10516 2002-03-07  Matt Hiller  <hiller@redhat.com>
10517
10518         * gensupport.c (first_dir_md_include): Renamed from include;
10519         change all references.
10520         (last_dir_md_include): Renamed from last_include; change all
10521         references.
10522         (init_md_reader): Unconditionally initialize base_dir whether or
10523         not filename is a relative path.
10524
10525 2002-03-07  Alexandre Oliva  <aoliva@redhat.com>
10526
10527         * config/fp-bit.c (_unord_f2): Compile it in even if
10528         US_SOFTWARE_GOFAST is enabled.
10529
10530         * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
10531         NULL_RTX.  Set all HFmode operations as NULL_RTX.
10532         * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
10533         NULL_RTX, try reversing the comparison and the operands.
10534
10535 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
10536
10537         * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
10538         genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
10539         and MATCH_OP_DUP.
10540
10541 Thu Mar  7 16:54:10 CET 2002  Jan Hubicka  <jh@suse.cz>
10542
10543         * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
10544
10545 Thu Mar  7 16:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
10546
10547         * basic-block.h (fixup_abnormal_edges): Declare.
10548         * reload1.c (fixup_abnormal_edges): New function.
10549         * reg-stack.c (convert_regs): Use it.
10550
10551         * gcse.c (insert_insn_end_bb): Handle trapping insns.
10552
10553         * gcse.c (hash_scan_set): Refuse instructions with EH edges.
10554
10555 2002-03-07  Richard Sandiford  <rsandifo@redhat.com>
10556
10557         * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
10558         (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
10559         * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
10560         (HONOR_SIGN_DEPENDENT_ROUNDING): New.
10561         * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
10562         * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
10563         unless x and y could be infinite.
10564         (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
10565         Check that the common type of both arguments is a real, even for
10566         targets without unordered comparisons.  Allow an integer argument
10567         to be compared against a real.
10568         (expand_tree_builtin): Use expand_unordered_cmp.
10569         * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
10570         * cse.c (fold_rtx): Likewise.  Fix indentation.
10571         * fold-const.c (fold_real_zero_addition_p): New.
10572         (fold): Use it, and the new HONOR_... macros.
10573         * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
10574         * jump.c (reversed_comparison_code_parts): After searching for
10575         the true comparison mode, use HONOR_NANS to decide whether it
10576         can be safely reversed.
10577         (reverse_condition_maybe_unordered): Remove IEEE check.
10578         * simplify-rtx.c (simplify_binary_operation): Use the new macros
10579         to decide which simplifications are valid.  Allow the following
10580         simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
10581         and (a - -b) to (a + b).
10582         (simplify_relational_operation): Use HONOR_NANS.
10583         * doc/tm.texi: Document the MODE_HAS_... macros.
10584
10585 2002-03-07  Richard Earnshaw  <rearnsha@arm.com>
10586
10587         * combine.c (simplify_comparison): If simplifying a logical shift
10588         right and compare with constant, force the comparison to unsigned.
10589
10590 2002-03-07  Aldy Hernandez  <aldyh@redhat.com>
10591
10592         * doc/invoke.texi: Add documentation for -mabi=no-altivec.
10593
10594         * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
10595         -mabi=no-altivec
10596         (alt_reg_names): Remove % for vrsave.
10597
10598 2002-03-06  Richard Henderson  <rth@redhat.com>
10599
10600         PR optimization/5844
10601         * genemit.c (gen_exp): New argument used.  Invoke copy_rtx
10602         if used indicates we've already emitted one copy of an operand.
10603         (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
10604         (gen_split): Supply a non-null used.
10605
10606 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
10607
10608         * reload1.c (reload): Unshare all rtl after reload is done.
10609
10610         * simplify-rtx.c (simplify_plus_minus): Do not abort,
10611         but simply fail if the expression is too complex to simplify.
10612         (simplify_gen_binary): Handle simplify_plus_minus failures.
10613
10614 Wed Mar  6 20:32:09 CET 2002  Jan Hubicka  <jh@suse.cz>
10615
10616         * toplev.c (rest_of_compilation): Do jump threading before SSA path;
10617         consistently call delete_trivially_dead_insns after CSE and GCSE;
10618         fix DFI_life dumping; do jump threading after liveness; do crossjumping
10619         after liveness2; update comment in last crossjumping.
10620         * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
10621
10622 Wed Mar  6 12:27:10 2002  Jeffrey A Law  (law@redhat.com)
10623
10624         * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
10625         after completing fast dead code elimination.
10626
10627         * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
10628         COMPARE operator.
10629
10630 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
10631
10632         * version.c:  Fix misplaced leading blanks on first line.
10633
10634 Wed Mar  6 19:08:03 CET 2002  Jan Hubicka  <jh@suse.cz>
10635
10636         * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
10637
10638 Wed Mar  6 18:14:43 CET 2002  Jan Hubicka  <jh@suse.cz>
10639
10640         * cfgcleanup.c (mentions_nonequal_regs): New function.
10641         (thread_jump): Use it.
10642         * toplev.c (rest_of_compilation): Run jump threading after
10643         liveness.
10644
10645 2002-03-06  Jakub Jelinek  <jakub@redhat.com>
10646
10647         * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
10648         patch.
10649
10650 Wed Mar  6 11:28:19 CET 2002  Jan Hubicka  <jh@suse.cz>
10651
10652         * predict.c (estimate_bb_frequencies): Do not reload the
10653         frequencies from notes.
10654
10655 Wed Mar  6 10:59:39 CET 2002  Jan Hubicka  <jh@suse.cz>
10656
10657         * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
10658         * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
10659
10660         * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
10661         delete_noop_moves): Return indeger.
10662         * flow.c (ndead): New variable.
10663         (propagate_block_delete_insn): Use delete_insn_and_edges; remove
10664         BB argument; update callers.
10665         (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
10666         (life_analysis): Do not call purge_all_dead_edges.
10667         (update_life_info): Return number of deleted insns; print statistics.
10668         (update_life_info_in_dirty_blocks): likewise.
10669         (delete_noop_moves): Use delete_insn_and_edges; print statistics;
10670         return number of insns deleted.
10671
10672         * cse.c: Include timevar.h
10673         (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
10674         iterate until stabilizes; print statistics; return number of killed
10675         insns.
10676         * Makefile.in: (cse.o): Add timevar.h dependency
10677         * rtl.h (delete_trivially_dead_insns): New.
10678         * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
10679         * toplev.c (rest_of_compilation): Update callers.
10680
10681         * cfgcleanup.c (try_optimize_cfg): Kill blocks.
10682         (try_optimize_cfg): Do not update liveness.
10683         (cleanup-cfg): Loop until try_optimize_cfg and dead code
10684         removal stabilizes; use delete_trivially_dead_insns.
10685
10686         * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
10687
10688 2002-03-05  Zack Weinberg  <zack@codesourcery.com>
10689
10690         * cppmain.c (setup_callbacks): Disable #pragma and #ident
10691         callbacks when processing assembly language.
10692
10693 2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10694
10695         * pa.h (ASM_FILE_END): Define.
10696         * som.h (ASM_FILE_END): Delete.
10697
10698         * pa.c (function_arg): Don't pass floats in general registers in
10699         indirect calls if TARGET_ELF32.
10700
10701 2002-03-05  Richard Henderson  <rth@redhat.com>
10702
10703         * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
10704
10705 2002-03-05  Danny Smith  <dannysmith@users.sourceforge.net>
10706
10707         * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
10708
10709 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
10710
10711         * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
10712         -r command line.  Don't hide any symbols if not building
10713         shared libgcc.
10714
10715 Tue Mar  5 18:31:27 CET 2002  Jan Hubicka  <jh@suse.cz>
10716
10717         * cfg.c (dump_flow_info): Warn about profile mismatches.
10718         * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
10719         (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
10720
10721 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
10722
10723         * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
10724         wide volatile memory by parts.
10725
10726 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
10727
10728         * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
10729         is NULL.
10730
10731 2002-03-05  Richard Henderson  <rth@redhat.com>
10732
10733         * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
10734
10735 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
10736
10737         * toplev.c (documented_lang_options): Document more
10738         language-specific options.
10739         * doc/invoke.texi (Warning Options): Correct documentation for
10740         -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
10741         * c-decl.c (c_decode_option): Use a table to handle warning options.
10742
10743 2002-03-05  Hans-Peter Nilsson  <hp@bitrange.com>
10744
10745         * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
10746         parameter to mmix_encode_section_info.
10747         (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
10748         relocatably.  Always produce ELF, not mmo if linking relocatably.
10749         * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
10750         first is non-zero, don't add symbol prefix.
10751         * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
10752         prototype accordingly.
10753
10754 2002-03-04  Krister Walfridsson  <cato@df.lth.se>
10755
10756         * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
10757
10758 2002-03-05  Joseph S. Myers  <jsm28@cam.ac.uk>
10759
10760         * configure.in: Increase required makeinfo version to 4.1.
10761         * configure: Regenerate.
10762
10763 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
10764
10765         * .cvsignore: Remove *.info* and genrtl*; these files are generated
10766         elsewhere now.
10767
10768 2002-03-04  Joseph S. Myers  <jsm28@cam.ac.uk>
10769
10770         * doc/include/texinfo.tex: Update to version 2002-03-01.06.
10771         * doc/invoke.texi: Fix @math uses.
10772
10773 Mon Mar  4 15:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
10774
10775         * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
10776         removal
10777
10778 2002-03-03  Aldy Hernandez  <aldyh@redhat.com>
10779
10780         * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
10781         (powerpc-*-eabisimaltivec*): Same.
10782
10783         * config/rs6000/t-ppcendian: New.
10784
10785 2002-03-04  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10786
10787         * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
10788         nonimmediate_src_operand and nonimmediate_lsrc_operand to
10789         disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
10790
10791 2002-03-03  Richard Henderson  <rth@redhat.com>
10792
10793         * toplev.c (rest_of_decl_compilation): Revert last two changes.
10794
10795 2002-03-03  Zack Weinberg  <zack@codesourcery.com>
10796
10797         * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
10798         print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
10799         tree.c, config/m68k/m68k.c:
10800         Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
10801         REAL_ARITHMETIC blocks unconditional.  Delete some further
10802         #ifdef blocks predicated on REAL_ARITHMETIC.
10803         * flags.h, toplev.c: Delete remaining references to
10804         flag_pretend_float.
10805
10806         * doc/invoke.texi: Remove documentation of -fpretend-float.
10807         * doc/tm.texi: Describe the various REAL_* macros as provided by
10808         real.h, not by the target configuration files.
10809
10810         * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
10811         config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
10812         config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
10813         config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
10814         config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
10815         config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
10816         config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
10817         config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
10818         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
10819         config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
10820         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
10821         config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
10822         config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
10823         config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
10824         config/xtensa/xtensa.h:
10825         Do not define, undefine, or mention in comments any of
10826         REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
10827         REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
10828         REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
10829         REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
10830         REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
10831         REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
10832         REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
10833         REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
10834         REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
10835
10836 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10837
10838         * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
10839         convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
10840         i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
10841         m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
10842         pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
10843         stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
10844         Delete.
10845         * defaults.h (BITS_PER_WORD): Define.
10846         * doc/tm.texi (BITS_PER_WORD): Document default value.
10847
10848         * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
10849         m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
10850         stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
10851
10852 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10853
10854         * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
10855         lieu of explicit sizeof/sizeof.
10856         * i386.c (override_options, ix86_init_mmx_sse_builtins,
10857         ix86_expand_builtin): Likewise.
10858         * mips.c (mips_add_gc_roots): Likewise.
10859         * mmix.c (mmix_output_condition): Likewise.
10860         * rs6000.c (rs6000_override_options, altivec_expand_builtin,
10861         altivec_init_builtins): Likewise.
10862         * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
10863         * cppexp.c (Nsuff, parse_number): Likewise.
10864         * cppinit.c (builtin_array_end): Likewise.
10865         * gcc.c (n_default_compilers, process_command): Likewise.
10866         * genpreds.c (output_predicate_decls): Likewise.
10867         * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
10868         * lcm.c (N_ENTITIES): Likewise.
10869         * stor-layout.c (set_sizetype): Likewise.
10870
10871 2002-03-03  Richard Henderson  <rth@redhat.com>
10872
10873         * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
10874         for types or labels.
10875
10876 2002-03-03  Richard Henderson  <rth@redhat.com>
10877
10878         * c-decl.c (start_decl): Initialized variables are not common.
10879
10880 2002-03-02  Per Bothner  <per@bothner.com>
10881
10882         * gcc.c (option_map):  Suport new --bootclasspath option.
10883         --CLASSPATH is now just an alias for --classpath.
10884
10885 2002-03-02  Richard Henderson  <rth@redhat.com>
10886
10887         * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
10888         load if "internal" visibility.
10889         * doc/extend.texi: Document visibility meanings.
10890
10891 2002-03-02  Richard Henderson  <rth@redhat.com>
10892
10893         * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
10894         to functions as well.
10895
10896 2002-03-02  Richard Henderson  <rth@redhat.com>
10897
10898         * attribs.c (handle_alias_attribute): Don't call assemble_alias.
10899         (handle_visibility_attribute): Don't call assemble_visibility.
10900         * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
10901         without asmspec.  Invoke assemble_alias when needed.
10902         * varasm.c (maybe_assemble_visibility): New.
10903         (assemble_start_function, assemble_variable, assemble_alias): Use it.
10904
10905 2002-03-02  Richard Henderson  <rth@redhat.com>
10906
10907         * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
10908         invoke ENCODE_SECTION_INFO with first call flag.
10909
10910         * config/darwin-protos.h, config/darwin.c, config/darwin.h,
10911         config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
10912         config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
10913         config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
10914         config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
10915         config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
10916         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
10917         config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
10918         config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
10919         config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
10920         config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
10921         config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
10922         config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
10923         config/m68hc11/m68hc11.h, config/m88k/m88k.h,
10924         config/mcore/mcore-protos.h, config/mcore/mcore.c,
10925         config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
10926         config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
10927         config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
10928         config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
10929         config/sh/sh.h, config/sparc/sparc.h,
10930         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
10931         config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
10932         config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
10933         FIRST argument.  As needed, examine it and do nothing.
10934
10935         * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
10936         config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
10937         config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
10938
10939         * config/arm/t-pe (pe.o): Add dependencies.
10940
10941 2002-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10942
10943         * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
10944         cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
10945         i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
10946         mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
10947         pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
10948         vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
10949         * defaults.h (BITS_PER_UNIT): Define.
10950         * doc/tm.texi (BITS_PER_UNIT): Document default value.
10951
10952 2002-03-02  Kazu Hirata  <kazu@hxi.com>
10953
10954         * config/h8300/h8300-protos.h: Add a prototype for
10955         compute_a_shift_length.
10956         * config/h8300/h8300.c (h8300_asm_insn_count): New.
10957         (compute_a_shift_length): Likewise.
10958         (h8300_adjust_insn_length): Do not adjust insn length of shift
10959         insns.
10960         * config/h8300/h8300.md (anonymous shift patterns): Use
10961         compute_a_shift_length.
10962
10963 Sat Mar  2 06:30:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10964
10965         * config/sparc/sparc.c (sparc_initialize_trampoline): Use
10966         trunc_int_for_mode.
10967
10968         * emit-rtl.c (offset_address): Call update_temp_slot_address.
10969
10970 2002-03-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10971
10972         * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
10973         * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
10974         * flags.h (flag_zero_initialized_in_bss): Declare.
10975         * toplev.c (flag_zero_initialized_in_bss): New flag.
10976         (lang_independent_options): Add flag_zero_initialized_in_bss.
10977         * tree.c (initializer_zerop): New function.
10978         * tree.h (initializer_zerop): Declare.
10979         * varasm.c (assemble_variable): If we can emit bss, put zero
10980         initializers in the bss section.
10981
10982 2002-03-02  Alan Modra  <amodra@bigpond.net.au>
10983
10984         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
10985         like more than one symbol per .weak directive.
10986
10987 2002-03-01  Richard Henderson  <rth@redhat.com>
10988
10989         * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
10990         adjust argument_pointer by pretend_args_size.
10991         (ia64_va_start): Adjust va_start address by -pretend_args_size.
10992
10993 2002-03-01  Kazu Hirata  <kazu@hxi.com>
10994
10995         * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
10996
10997 Fri Mar  1 20:59:14 CET 2002  Jan Hubicka  <jh@suse.cz>
10998
10999         * toplev.c (rest_of_compilation): Delete dead jumptables before
11000         loop.
11001         * flow.c (delete_dead_jumptables): Make global.
11002         * rtl.h (delete_dead_jumptables): Declare.
11003
11004 2002-03-01  David Edelsohn  <edelsohn@gnu.org>
11005
11006         * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
11007         * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
11008         * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
11009
11010 2002-03-01  Kazu Hirata  <kazu@hxi.com>
11011
11012         * config/h8300/h8300-protos.h: Fix formatting.
11013         * config/h8300/h8300.c: Likewise.
11014         * config/h8300/h8300.h: Likewise.
11015
11016 2002-03-01  Kazu Hirata  <kazu@hxi.com>
11017
11018         * config/h8300/h8300.c (print_operand): Support 16-bit
11019         constant addresses.
11020         * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
11021
11022 2002-02-28  Richard Henderson  <rth@redhat.com>
11023
11024         * expmed.c (store_bit_field): Prevent generation of CONCATs;
11025         pun complex values as integers; use gen_lowpart instead of
11026         gen_rtx_SUBREG.
11027         (extract_bit_field): Likewise.
11028
11029 2002-03-01  Alan Modra  <amodra@bigpond.net.au>
11030             David Edelsohn  <edelsohn@gnu.org>
11031
11032         * doc/tm.texi (ASM_WEAKEN_DECL): Document.
11033         (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
11034         (SUPPORTS_WEAK): Likewise.
11035         * output.h (add_weak): Add tree param.
11036         * varasm.c (add_weak): Likewise.  Save decl.
11037         (struct weak_syms): Add decl field.
11038         (mark_weak_decls): New function.
11039         (init_varasm_once): ggc_add_root mark_weak_decls.
11040         (assemble_start_function): Use ASM_WEAKEN_DECL.
11041         (assemble_variable): Likewise.
11042         (assemble_alias): Likewise.
11043         (declare_weak): Pass decl to add_weak.
11044         (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
11045         (remove_from_pending_weak_list): Declare and define for
11046         ASM_WEAKEN_DECL.
11047         * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
11048         * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
11049         * defaults.h (SUPPORTS_WEAK): Likewise.
11050         * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
11051         .weak for code sym.  Do emit .size for descriptor sym.
11052         (ASM_DECLARE_FUNCTION_SIZE): Define.
11053         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
11054         (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here.  Don't output
11055         .lglobl unless TARGET_XCOFF.  Formatting fixes.
11056         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
11057         .weak for code sym.
11058         (HANDLE_PRAGMA_WEAK): Remove.
11059         (ASM_WEAKEN_LABEL): Remove.
11060         * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
11061
11062 2002-03-01  Jason Merrill  <jason@redhat.com>
11063
11064         * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
11065         (TARGET_EXPR_CLEANUP): New macro.
11066
11067 2002-02-28  Steve Ellcey  <sje@cup.hp.com>
11068
11069         * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
11070         to take ptr_extend into account as third type of extension.
11071         (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
11072         fields used by SUBREG_PROMOTED_UNSIGNED_P.
11073         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
11074         (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
11075         * calls.c (precompute_arguments): Use new macro.
11076         (expand_call): Ditto.
11077         * combine.c (nonzero_bits): Ditto.
11078         (record_promoted_value): Ditto.
11079         * expr.c (store_expr): Ditto.
11080         (expand_expr): Ditto.
11081         * function.c (assign_parms): Ditto.
11082
11083 2002-02-28  Alexandre Oliva  <aoliva@redhat.com>
11084
11085         * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
11086         override -shared and -shared-libgcc.
11087
11088 2002-02-28  David O'Brien  <obrien@FreeBSD.org>
11089
11090         * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
11091         of "ultrasparc".
11092         * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS.  It appears
11093         to be broken.
11094
11095 2002-02-28  Richard Henderson  <rth@redhat.com>
11096
11097         * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
11098         4 cycle latency from MM producers.
11099         (ia64_internal_sched_reorder): Likewise with pipeline flush.
11100
11101 2002-02-28  Jakub Jelinek  <jakub@redhat.com>
11102
11103         * mklibgcc.in: Don't use GNU make extension.
11104
11105 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
11106
11107         * c-parse.in (STATIC): New terminal.
11108         (scspec): New non-terminal.  Update productions accordingly.
11109         (program): Remove bogus ifc / end ifc.
11110         (array_declarator): Simplify production using STATIC.
11111
11112 2002-02-28  Jim Meyering  <meyering@lucent.com>
11113
11114         * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
11115         \a still means TARGET_BELL.
11116
11117 2002-02-28  Richard Henderson  <rth@redhat.com>
11118
11119         * haifa-sched.c (sched_emit_insn): New.
11120         (schedule_block): Use last_scheduled_insn to track last insn.
11121         * sched-int.h (sched_emit_insn): Prototype.
11122         * config/ia64/ia64.c (last_issued): Remove.
11123         (ia64_variable_issue): Don't set it.
11124         (nop_cycles_until): Use sched_emit_insn.
11125
11126 2002-02-28  Andrew MacLeod  <amacleod@redhat.com>
11127
11128         * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
11129         extended constants.
11130
11131 2002-02-28  Kazu Hirata  <kazu@hxi.com>
11132
11133         * config/h8300/h8300.c: Fix formatting.
11134         * config/h8300/h8300.h: Likewise.
11135
11136 2002-02-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>
11137
11138         * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
11139         which may overwrite the high byte of the frame pointer.
11140
11141 2002-02-28  Bo Thorsen  <bo@suse.de>
11142
11143         * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
11144         (STARTFILE_SPEC): Add 64 bit files.
11145         (ENDFILE_SPEC): Likewise.
11146
11147 2002-02-28  Jason Merrill  <jason@redhat.com>
11148
11149         * c-decl.c (finish_function): Only warn about missing return
11150         statement with -Wreturn-type.
11151
11152 Don Feb 28 11:24:30 CET 2002  Jan Hubicka  <jh@suse.cz>
11153
11154         * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
11155
11156         * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
11157         PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
11158
11159 Don Feb 28 11:07:36 CET 2002  Jan Hubicka  <jh@suse.cz>
11160
11161         * basic-block.h (BB_REACHABLE): Renumber.
11162         (BB_DIRTY, BB_NEW): New flags.
11163         (clear_bb_flags): Declare.
11164         (update_life_info_in_dirty_blocks): Declare.
11165         * cfg.c (clear_bb_flags): New function.
11166         * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
11167         * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
11168         reorder_insns, emit_insn_after): Mark block as dirty.
11169         * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
11170         (update_life_info_in_dirty_blocks): New function.
11171         * recog.c (apply_change_group): Dirtify block.
11172
11173         * cse.c (cse_insn): Reorder emitting of jump insn to keep
11174         cfg consistent.
11175         * gcse.c (delete_null_pointer_checks): Likewise.
11176
11177         * toplev.c (dump_file_index): Move cse2 after bp,
11178         add DFI_null
11179         (dump_file_info): Similary.
11180         (rest_of_compilation): Avoid most of CFG rebuilds;
11181         do first if converision after null pointer checks, do cse2
11182         after branch prediction; avoid full liveness rebuild after
11183         initializing subregs.
11184         * invoke.texi (-d options): Document -du, renumber.
11185
11186         * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
11187         (notice_new_block): Do not set BB_UPDATE_LIFE.
11188         (try_forward_edges, merge_blocks_move_predecessor_nojumps,
11189          merge_blocks_move_successor_nojumps, merge_blocks,
11190          try_crossjump_to_edge): Likewise.
11191         (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
11192         * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
11193         * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
11194         (merge_of_block): Do not use life_data_ok.
11195         (find_if_case_1): Do not use SET_UPDATE_LIFE.
11196         (if_convert): Use BB_DIRTY mechanizm to update life.
11197         * lcm.c (optimize_mode_switching): Update
11198         update_life_info_in_dirty_blocks
11199
11200 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
11201
11202         * Makefile.in (integrate.o): Update.
11203         * c-decl.c (copy_lang_decl): Rename.
11204         * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
11205         * integrate.c: Include langhooks.h.
11206         (copy_decl_for_inlining): Update to use langhook.
11207         * langhooks-def.h (lhd_do_nothing_t,
11208         LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
11209         (LANG_HOOKS_INITIALIZER): Update.
11210         * langhooks.c (lhd_do_nothing_t): New.
11211         * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
11212         * tree.h (copy_lang_decl): Remove.
11213 objc:
11214         * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
11215
11216 2002-02-27  Andrew MacLeod  <amacleod@redhat.com>
11217
11218         * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
11219         POST_DEC, and POST_MODIFY.
11220
11221 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
11222
11223         * c-typeck.c (digest_init): Remove unused parameter; all
11224         callers changed.
11225
11226 2002-02-27  Geoffrey Keating  <geoffk@redhat.com>
11227
11228         * expmed.c (expand_shift): Correctly test for low part of a
11229         subreg.
11230
11231 2002-02-27  Ulrich Weigand  <uweigand@de.ibm.com>
11232
11233         * config/s390/s390.c (s390_chunkify_pool): Do not confuse
11234         insn UIDs with insn addresses.
11235
11236 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
11237
11238         * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
11239         c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
11240         cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
11241         builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
11242         gcc.c, toplev.c: Delete code implementing -traditional mode.
11243
11244         * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
11245         doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
11246         Document removal of -traditional mode for compilation, and
11247         remove documentation only relevant to that mode.
11248
11249         * config/nextstep.h, config/ptx4.h, config/svr4.h,
11250         config/convex/convex.h, config/d30v/d30v.h,
11251         config/i386/dgux.h, config/i386/osf1elf.h,
11252         config/i386/osfelf.h, config/i386/osfrose.h,
11253         config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
11254         config/m68k/hp310.h, config/m88k/dgux.h,
11255         config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
11256         config/m88k/m88k.h, config/m88k/openbsd.h,
11257         config/mips/abi64.h, config/mips/osfrose.h,
11258         config/mips/svr4-5.h, config/mips/svr4-t.h,
11259         config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
11260         config/stormy16/stormy16.h: Remove all references to
11261         -traditional from target specs.  Delete all mention of the
11262         no-longer-necessary TRADITIONAL_RETURN_FLOAT macro.  Also
11263         delete a couple of commented-out definitions of
11264         DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
11265         to -traditional.
11266
11267         * system.h: Poison TRADITIONAL_RETURN_FLOAT.
11268         * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
11269
11270 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
11271
11272         * mklibgcc.in: Don't use \n in a line subject to
11273         interpretation by echo.
11274
11275 2002-02-27  Graham Stott  <grahams@redhat.com>
11276
11277         * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
11278         Constify NAME.
11279
11280         * loop.c (prescan_loop): Handle PARALLEL.
11281
11282         * unroll.c (loop_iterations): Return 0 if the add_val for
11283         a BIV is REG.
11284
11285         * final.c (output_operand_lossage): Constify PFX_STR.
11286
11287         * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
11288
11289 Wed Feb 27 10:45:19 CET 2002  Jan Hubicka  <jh@suse.cz>
11290
11291         * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
11292         * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
11293
11294 Wed Feb 27 10:39:20 CET 2002  Jan Hubicka  <jh@suse.cz>
11295
11296         * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
11297
11298 2002-02-27  Neil Booth  <neil@daikokuya.demon.co.uk>
11299
11300         * cpplex.c (_cpp_lex_token): Handle directives in macro
11301         arguments.
11302         * cpplib.c (_cpp_handle_directive): Save and restore state
11303         if parsing macro args when entering a directive.
11304         * cppmacro.c (collect_args): No need to handle directives
11305         in macro arguments.
11306         (enter_macro_context, replace_args): Use the original macro
11307         definition in case it was redefined whilst collecting arguments.
11308 doc:
11309         * cpp.texi: Update.
11310
11311 2002-02-26  David Edelsohn  <edelsohn@gnu.org>
11312
11313         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
11314         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
11315         * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
11316         method on AIX.
11317         * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
11318         (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
11319         (load_toc_v4_PIC_2): Same.
11320
11321 2002-02-26  Alan Modra  <amodra@bigpond.net.au>
11322
11323         * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
11324
11325 2002-02-26  Richard Henderson  <rth@redhat.com>
11326
11327         * config/alpha/alpha.md (ashldi_se): Re-enable.
11328
11329 2002-02-26  Richard Henderson  <rth@redhat.com>
11330
11331         * config/alpha/alpha.c (alpha_encode_section_info): Examine
11332         MODULE_LOCAL_P; improve commentary.
11333
11334 2002-02-26  Zack Weinberg  <zack@codesourcery.com>
11335
11336         * doc/cpp.texi: Clarify documentation of relationship between
11337         #line and #include.
11338
11339 2002-02-26  Kazu Hirata  <kazu@hxi.com>
11340
11341         * config/h8300/h8300-protos.h: Update the prototype for
11342         compute_logical_op_length.  Add the prototype for
11343         compute_logical_op_cc.
11344         * config/h8300/h8300.c (compute_logical_op_length): Figure out
11345         code from operands.
11346         (compute_logical_op_cc): New.
11347         * config/h8300/h8300.md: Combine all the logical op patterns
11348         in HImode and SImode.  Use compute_logical_op_cc.
11349
11350 2002-02-26  Kelley Cook  <kelleycook@comcast.net>
11351
11352         * config/i386/i386.c (print_operand): Don't append ATT-style
11353         length suffixs to x87 opcodes when in Intel mode.
11354
11355 2002-02-26  Ryan T. Sammartino <ryants@shaw.ca>
11356
11357         * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
11358         (init_emit_once): Update calls.
11359         * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
11360         (init_syntax_once): Prototype.
11361
11362 2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11363
11364         * pa-linux.h (LIB_SPEC): Update definition.
11365         * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
11366
11367 2002-02-26  Richard Henderson  <rth@redhat.com>
11368
11369         * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
11370         if we emitted a stop bit.
11371
11372 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
11373
11374         * configure.in (libgcc_visibility): Substitute.
11375         * configure: Rebuilt.
11376         * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
11377         defined symbols .hidden.
11378
11379 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
11380
11381         * attribs.c (c_common_attribute_table): Add visibility.
11382         (handle_visibility_attribute): New function.
11383         * varasm.c (assemble_visibility): New function.
11384         * output.h (assemble_visibility): Add prototype.
11385         * tree.h (MODULE_LOCAL_P): Define.
11386         * crtstuff.c (__dso_handle): Use visibility attribute.
11387         * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
11388         for MODULE_LOCAL_P symbols too.
11389         * config/ia64/ia64.c (ia64_encode_section_info): Handle
11390         MODULE_LOCAL_P symbols the same way as local symbols.
11391         Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
11392         into .sdata/.sbss by the user.
11393         * doc/extend.texi (Function Attributes): Document visibility
11394         attribute.
11395
11396 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
11397
11398         PR debug/5770
11399         * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
11400         STRING_CST initializer spanning the whole variable without
11401         embedded zeros.
11402         If expand_expr returned MEM, don't use it.
11403
11404 2002-02-26  Alexandre Oliva  <aoliva@redhat.com>
11405
11406         * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
11407         generate a die for the lexical block.
11408
11409 2002-02-26  Kazu Hirata  <kazu@hxi.com>
11410
11411         * config/h8300/h8300-protos.h: Add a prototype for
11412         compute_logical_op_length.
11413         * config/h8300/h8300.c (compute_logical_op_length): New.
11414         * config/h8300/h8300.md (anonymous logical patterns): Use
11415         compute_logical_op_length for length.
11416
11417 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
11418
11419         * dwarf2out.c (modified_type_die): Do not call type_main_variant
11420         for vectors.
11421         (gen_type_die): Same.
11422
11423         * attribs.c (handle_vector_size_attribute): Set debug information.
11424
11425 2002-02-26  Daniel Egger  <degger@fhm.edu>
11426
11427         * config/rs6000/rs6000.md: Swap define_insn attributes to
11428         fix incorrect generation of merge high instructions instead
11429         of merge low.
11430
11431 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
11432
11433         * c-typeck.c (really_start_incremental_init): Use
11434         bitsize_zero_node for vectors.
11435
11436 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
11437
11438         * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
11439         ("*set_vrsave_internal"): Same.
11440
11441 2002-02-25  Richard Henderson  <rth@redhat.com>
11442
11443         * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
11444         in EXPAND_SUM case.  Use host_integerp/tree_low_cst.
11445
11446 2002-02-25  Jakub Jelinek  <jakub@redhat.com>
11447
11448         PR target/5755
11449         * config/i386/i386.c (ix86_return_pops_args): Only pop
11450         fake structure return argument if it was passed on the stack.
11451
11452 2002-02-25  Jason Merrill  <jason@redhat.com>
11453
11454         * attribs.c (decl_attributes): Also re-layout PARM_DECL and
11455         RESULT_DECL.
11456
11457 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
11458
11459         * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
11460         link with shared_name only.
11461         * doc/invoke.texi (Link Options): Document new behavior.
11462
11463 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
11464
11465         * c-typeck.c (push_init_level): Handle vectors.
11466
11467 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
11468
11469         * config/sparc/sparc.c (const64_high_operand): Zero-extend
11470         operands of SPARC_SETHI_P.
11471         (input_operand): Likewise.
11472         (sparc_emit_set_const32): Likewise.
11473         * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
11474         (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
11475         (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'.  Add `N' as SETHI.
11476         * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
11477         (movdi_insn_sp64_vis): Likewise.
11478         (movdi split, movdf split): Use SETHI32.
11479         * doc/md.texi: Document SPARC constraints L, M and N.
11480
11481 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
11482
11483         * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
11484         ("*set_vrsave_internal"): use mfspr for Darwin.
11485
11486         * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
11487         gen_get_vrsave_internal.
11488
11489 Sun Feb 24 16:38:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11490
11491         * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
11492
11493 2002-02-24  Neil Booth  <neil@daikokuya.demon.co.uk>
11494
11495         * cpplex.c (cpp_interpret_charconst): Get signedness or
11496         otherwise of wide character constants correct.
11497         * cppexp.c (lex): Get signedness of wide charconsts correct.
11498
11499 Sun Feb 24 07:41:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11500
11501         * optabs.c (widen_operand): Only call convert_modes for
11502         promoted SUBREG if signedness matches.
11503         * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
11504
11505 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
11506
11507         * cpplib.c (glue_header_name): Use local buffer to build up
11508         header name.
11509
11510 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
11511
11512         * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
11513
11514 2002-02-23  Kazu Hirata  <kazu@hxi.com>
11515
11516         * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
11517         H8/300[HS] separately.
11518         * config/h8300/h8300.md: Remove the early clobber constraint
11519         from bit field patterns.
11520
11521 2002-02-23  Kazu Hirata  <kazu@hxi.com>
11522
11523         * config/h8300/h8300.md (mulqihi3): Tighten predicates to
11524         register_operand.
11525         (mulhisi3): Likewise.
11526         (umulqisi3): Likewise.
11527         (umulhisi3): Likewise.
11528
11529 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
11530
11531         * cppinit.c (output_deps): Correct test for stdout output.
11532         (init_dependency_output): Cure warning.
11533
11534 Sat Feb 23 08:42:47 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11535
11536         * expr.c (store_expr): When converting expression to promoted
11537         equivalent type, allow using SUBREG_REG of TARGET as the target
11538         of the expansion of EXP.
11539         * loop.c (basic_induction_var, case SUBREG): Always look inside.
11540         * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
11541         (alpha_emit_set_const): Handle SImode when can't make new pseudos.
11542         (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
11543         * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
11544
11545 2002-02-23  Joseph S. Myers  <jsm28@cam.ac.uk>
11546
11547         * doc/contribute.texi, doc/extend.texi, doc/install.texi,
11548         doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
11549         doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
11550
11551 2002-02-23  Jakub Jelinek  <jakub@redhat.com>
11552
11553         PR optimization/5747
11554         * loop.c (scan_loop): Update reg info if move_movables created new
11555         pseudos.
11556
11557 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
11558
11559         * gcc.c (init_gcc_spec): Revert last change.
11560
11561 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
11562
11563         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
11564         gpc_reg_operand constraint.
11565
11566 2002-02-23  Alan Modra  <amodra@bigpond.net.au>
11567
11568         * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
11569         Simplify comparison of `low'.
11570         (add_operand): Fix formatting.
11571         (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
11572         (mask_operand): Disallow mask to wrap in 64-bit mode.
11573         (rs6000_stack_info): Remove redundant test setting push_p.
11574         (output_toc): Fix formatting.
11575         * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
11576         cc_reg_not_cr0_operand constraint.
11577         (booldi3, boolcdi3 splitters): Same.
11578
11579 2002-02-23  Aldy Hernandez  <aldyh@redhat.com>
11580
11581         * config/rs6000/altivec.h: Add extra level of parentheses on casts.
11582
11583 2002-02-22  David Edelsohn  <edelsohn@gnu.org>
11584
11585         * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
11586         gcc invoked with -shared-libgcc.
11587
11588 2002-02-22  Jakub Jelinek  <jakub@redhat.com>
11589
11590         PR c++/5748
11591         * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
11592         decl if any of elements was TREE_USED.
11593
11594 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11595
11596         * config/sparc/sol2.h: Don't include sys/mman.h.
11597         * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
11598         (arith_4096_operand): Don't throw high bits away.
11599         (const64_operand): Take sign extension of CONST_INTs into account.
11600         (const64_high_operand, sparc_emit_set_const32): Likewise.
11601         (GEN_HIGHINT64): Likewise.
11602         (sparc_emit_set_const64_quick1): Likewise.
11603         (const64_is_2insns): Likewise.
11604         (print_operand): Use trunc_int_for_mode for sign extension.
11605         * config/sparc/sparc.h (SMALL_INT32): Likewise.
11606         * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
11607         chars.  Assume CONST_INT is already properly sign-extended.
11608         (movdi split): Sign-extend each SImode part.
11609         (andsi3 split): Don't mask high bits off, so that result
11610         remains properly sign-extend.
11611         (iorsi3 split): Likewise.
11612         (xorsi3 split): Likewise.
11613
11614 2002-02-22  Richard Sandiford  <rsandifo@redhat.com>
11615
11616         * fold-const.c (fold): Fix typo in comments.
11617
11618 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
11619
11620         * Makefile.in (langhooks.o): Update dependencies.
11621
11622 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
11623
11624         * langhooks.c: Include flags.h.
11625
11626 2002-02-21  Aldy Hernandez  <aldyh@redhat.com>
11627
11628         * testsuite/gcc.dg/attr-alwaysinline.c: New.
11629
11630         * c-common.c (c_common_post_options): Set inline trees by
11631         default.
11632
11633         * doc/extend.texi (Function Attributes): Document always_inline
11634         attribute.
11635         Update documentation about inlining when not optimizing.
11636
11637         * cp/decl.c (duplicate_decls): Merge always_inline attribute.
11638
11639         * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
11640         unless DECL_ALWAYS_INLINE.
11641
11642         * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
11643         unless DECL_ALWAYS_INLINE.
11644         (c_disregard_inline_limits): Disregard if always_inline set.
11645
11646         * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
11647         Disregard if always_inline set.
11648         (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
11649         unless DECL_ALWAYS_INLINE.
11650
11651         * attribs.c (handle_always_inline_attribute): New.
11652         (c_common_attribute_table): Add always_inline.
11653
11654         * config/rs6000/altivec.h: Add prototypes for builtins
11655         requiring the always_inline attribute.
11656
11657 2002-02-21  Eric Christopher  <echristo@redhat.com>
11658
11659         * expmed.c (store_bit_field): Try to simplify the subreg
11660         before generating a new one when when the mode size of
11661         value is less than maxmode.
11662
11663 2002-02-21  Richard Henderson  <rth@redhat.com>
11664
11665         * emit-rtl.c (offset_address): Use simplify_gen_binary rather
11666         than gen_rtx_PLUS to form the sum.
11667         * explow.c (force_reg): Rearrange to not allocate new pseudo
11668         when force_operand returns a register.
11669         * expr.c (expand_assignment): Allow offset_rtx expansion to
11670         return a sum.  Do not force addresses into registers.
11671         (expand_expr): Likewise.
11672         * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
11673         to canonicalize arithmetic that didn't simpify.
11674         (simplify_plus_minus): New argument force; update
11675         all callers.  Don't split CONST unless we can do something with it,
11676         and wouldn't lose the constness of the operands.
11677
11678         * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
11679         that we generated earlier.
11680
11681 2002-02-21  Tom Tromey  <tromey@redhat.com>
11682
11683         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11684         (output_line_info): Use constant `1', with a long explanatory
11685         comment.
11686         * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
11687
11688 Thu Feb 21 22:43:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
11689
11690         * jump.c (redirect_jump): If old label has no UID, don't try to
11691         delete it.
11692
11693 Thu Feb 21 21:17:21 2002  J"orn Rennecke <joern.rennecke@superh.com>
11694
11695         * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
11696         If input is constant, do shifts at compile time.
11697
11698 2002-02-21  Joseph S. Myers  <jsm28@cam.ac.uk>
11699
11700         * doc/extend.texi: Fix some more overfull hboxes.
11701
11702 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
11703
11704         PR optimization/4994
11705         * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
11706         register moves.
11707
11708 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
11709
11710         PR c++/4574
11711         * expr.h (expand_and): Add mode argument.
11712         * expmed.c (expand_and): Add mode argument.
11713         (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
11714         * expr.c (store_field, expand_expr, do_store_flag): Likewise.
11715         * except.c (expand_builtin_extract_return_addr): Likewise.
11716         * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
11717         * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
11718         * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
11719         Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
11720         * config/c4x/c4x.md: Use GEN_INT (x) instead of
11721         gen_rtx (CONST_INT, VOIDmode, x).
11722
11723 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
11724
11725         PR c/4697:
11726         * stmt.c (warn_if_unused_value): Move side effects test once more.
11727
11728 2002-02-20  Torbjorn Granlund  <tege@swox.com>
11729
11730         * config/avr/avr.md: Add more patterns for mized-mode add and subtract
11731         (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
11732
11733 Thu Feb 21 16:20:46 2002  Alexandre Oliva  <aoliva@redhat.com>
11734
11735         * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
11736         SUBREG or ZERO_EXTEND.
11737
11738 Thu Feb 21 15:35:46 2002  J"orn Rennecke <joern.rennecke@superh.com>
11739
11740         * sh.h (current_function_anonymous_args): Remove.
11741         (SETUP_INCOMING_VARARGS): Don't set it - just check that one
11742         of current_function_varargs and current_function_stdarg is set.
11743         * sh.c (sh_expand_prologue): Check current_function_varargs /
11744         current_function_stdarg / TARGET_SH5 instead of
11745         current_function_anonymous_args.
11746
11747         * sh64.h (TARGET_VERSION): Define.
11748
11749 2002-02-20  David Edelsohn  <edelsohn@gnu.org>
11750
11751         * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
11752         VRSAVE_REGNO on TARGET_ALTIVEC.
11753
11754 2002-02-20  Alan Modra  <amodra@bigpond.net.au>
11755
11756         * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
11757         bits of SImode const_int.
11758         (includes_rshift_p): Likewise.
11759         (print_operand): Call mask_operand and mask64_operand with correct
11760         mode.
11761         (rs6000_output_function_epilogue): Pad traceback table to word.
11762         * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
11763         (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
11764         mask64_operand with correct mode.
11765         (FUNCTION_ARG_REGNO_P): Correct parentheses.
11766
11767 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
11768
11769         PR debug/4461
11770         * varasm.c (get_pool_constant_mark): New.
11771         * rtl.h (get_pool_constant_mark): Add prototype.
11772         * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
11773         be represented if it has not been output.
11774
11775 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
11776
11777         * combine.c (do_SUBST): Sanity check substitutions of
11778         CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
11779         (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
11780         CONST_INT into its operand.
11781         (known_cond): Likewise, for ZERO_EXTEND.
11782         * simplify-rtx.c (simplify_unary_operation): Fix condition to
11783         allow for simplification of wide modes.  Reject CONST_INTs in
11784         ZERO_EXTEND when their actual mode is not given.
11785
11786 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
11787
11788         * c-decl.c (pushdecl): If no global declaration is found for an
11789         extern declaration in block scope, try a limbo one.
11790
11791 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
11792
11793         PR c++/4401
11794         * c-common.c (pointer_int_sum): Moved from...
11795         * c-typeck.c (pointer_int_sum): ...here.
11796         * c-common.h (pointer_int_sum): Add prototype.
11797
11798 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
11799
11800         PR c++/5713
11801         * c-decl.c (duplicate_decls): Return 0 if issued error about
11802         redeclaration.
11803
11804 2002-02-20  Roger Sayle  <roger@eyesopen.com>
11805             Jakub Jelinek  <jakub@redhat.com>
11806
11807         PR c/4389
11808         * tree.c (host_integerp): Ensure that the constant integer is
11809         representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
11810         when pos is zero or non-zero respectively.  Clarify comment.
11811         * c-format.c (check_format_info_recurse): Fix host_integerp
11812         usage; the pos argument should be zero when assigning to a
11813         signed HOST_WIDE_INT.
11814
11815 2002-02-20  Richard Henderson  <rth@redhat.com>
11816
11817         * config/i386/i386.c (ix86_expand_vector_move): Use the mode
11818         of the operand, rather than assuming TImode.
11819         (ix86_expand_binop_builtin): Cope with commutative patterns
11820         using nonimmediate_operand for both operands.
11821         (ix86_expand_timode_binop_builtin): Likewise.
11822         (ix86_expand_store_builtin): Validate operand 1.
11823         (ix86_expand_unop1_builtin): Likewise.
11824
11825 2002-02-20  Philip Blundell  <philb@gnu.org>
11826
11827         PR 5705
11828         * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
11829
11830 2002-02-20  Richard Henderson  <rth@redhat.com>
11831
11832         PR c/5615
11833         * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
11834
11835 2002-02-20  Tom Tromey  <tromey@redhat.com>
11836
11837         * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11838         * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11839         * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11840         * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
11841         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
11842         unconditionally.
11843
11844 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
11845
11846         * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
11847           for (const_int 0) in X not just INTVAL.
11848
11849 2002-02-20  Joseph S. Myers  <jsm28@cam.ac.uk>
11850
11851         * doc/extend.texi: Avoid or reduce overfull hboxes.
11852
11853 2002-02-20  Diego Novillo  <dnovillo@redhat.com>
11854
11855         * expmed.c (store_bit_field): Do not store bit fields using SUBREG
11856         operations if the field does not start at a mode boundary.
11857
11858 2001-02-20      Joel Sherrill <joel@OARcorp.com>
11859
11860         * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
11861         config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
11862         Also done for -Acpu and -Amachine.
11863
11864 2002-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
11865
11866         * cppinit.c (init_dependency_output): Take deps output file
11867         from -o if none given with -MF.  Suppress normal output.
11868         * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
11869         * doc/cpp.texi, doc/invoke.texi: Update.
11870
11871 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
11872
11873         * toplev.c (output_quoted_string): Write unprintable
11874         characters with octal escapes.
11875
11876 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
11877
11878         * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
11879         really_call_used[VRSAVE_REGNO] if not Altivec.
11880
11881 2002-02-19  Alan Modra  <amodra@bigpond.net.au>
11882
11883         * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
11884         MODE_MASK.
11885         (constant_pool_expr_1): Fix formatting.
11886         (rs6000_legitimize_reload_address): Likewise.
11887
11888 Tue Feb 19 20:13:57 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11889
11890         * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
11891         now that we have one.
11892
11893 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
11894
11895         * tree.h (struct tree_common): Remove aux.  Add unused_0 at
11896         end of first block of bitfields (which was only seven bits);
11897         rename dummy to unused_1; remove comment which is no longer true.
11898
11899 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
11900
11901         * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
11902
11903 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
11904
11905         PR 5399
11906         * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
11907         if generating PIC.
11908
11909         PR 5054
11910         * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
11911         arm_is_longcall_p rather than inspecting call-type cookie
11912         directly.
11913         (call_value_insn) [TARGET_THUMB]: Likewise.
11914
11915 2002-02-19  Graham Stott  <grahams@redhat.com>
11916
11917         * config/i386/i386.c (ix86_expand_builtin): Fix typo.
11918
11919 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
11920
11921         * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
11922         ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
11923         (FP_SAVE_INLINE): Delete.
11924
11925         * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
11926         * config/rs6000/eabi.asm: Remove ABI save restore routines.
11927         * config/rs6000/t-ppccomm: Build crtsavres.o.
11928         * config/rs6000/crtsavres.asm: New file.
11929
11930 2002-02-19  Philip Blundell  <philb@gnu.org>
11931
11932         * config/arm/arm.c (use_return_insn): Don't reject interrupt
11933         functions.
11934         (arm_compute_save_reg_mask): Save LR for interrupt functions too.
11935         (output_return_instruction): Allow interrupt functions to return with
11936         ldmfd sp!, {... pc}^.  Use LDR to restore any single register.
11937         (arm_expand_prologue): Subtract 4 before stacking LR in an
11938         interrupt function.
11939
11940 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
11941
11942         * config/arm/arm.c (arm_encode_call_attribute): Operate on any
11943         decl, not just FUNCTION_DECL.
11944         (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
11945         (arm_assemble_integer): Likewise.
11946         * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
11947         marked local.
11948
11949 2002-02-19  matthew green  <mrg@eterna.com.au>
11950
11951         * config.gcc (sparc-*-netbsdelf*): Enable target.
11952         (sparc64-*-netbsd*): New target.
11953         * config/sparc/netbsd-elf.h: New file.
11954         * config/sparc/t-netbsd64: New file.
11955
11956 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
11957
11958         * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
11959
11960 2002-02-19  Ryan T. Sammartino <ryants@shaw.ca>
11961
11962         * doc/invoke.texi: explicitly list the style guidelines that
11963         -Weffc++ checks for.
11964
11965 Tue Feb 19 12:37:23 CET 2002  Jan Hubicka  <jh@suse.cz>
11966
11967         * regmove.c (regmove_optimize): Avoid increasing of register pressure.
11968
11969 2002-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
11970
11971         PR other/5718
11972         * gcc.c (cpp_unique_options): Treat -o as indicating object file
11973         only if not -E.  If -E, pass -o through to the preprocessor.
11974
11975 2002-02-19  Kazu Hirata  <kazu@hxi.com>
11976
11977         * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
11978         register number with an appropriate macro.
11979
11980 2002-02-19  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11981
11982         * doc/rtl.texi (Constants): Close @code tag.
11983
11984 2002-02-19  Aldy Hernandez  <aldyh@redhat.com>
11985
11986         * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
11987         ("mmx_uavgv4hi3"): Same.
11988         ("pmulhrwv4hi3"): Same.
11989
11990         * tree-inline.c (walk_tree): Handle vectors.
11991
11992         * c-common.c (constant_expression_warning): Handle vectors.
11993         (overflow_warning): Same.
11994
11995         * sched-deps.c (sched_analyze_2): Handle vectors.
11996
11997         * rtlanal.c (rtx_unstable_p): Handle vectors.
11998         (rtx_varies_p): Same.
11999         (count_occurrences): Same.
12000         (regs_set_between_p): Same.
12001         (modified_between_p): Same.
12002         (modified_in_p): Same.
12003         (volatile_insn_p): Same.
12004         (volatile_refs_p): Same.
12005         (side_effects_p): Same.
12006         (may_trap_p): Same.
12007         (inequality_comparisons_p): Same.
12008         (replace_regs): Same.
12009         (computed_jump_p_1): Same.
12010
12011         * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
12012         argument.
12013         (inner_mode_array): New.
12014         (copy_rtx): Handle vectors.
12015         (copy_most_rtx): Same.
12016         (rtx_equal_p): Same.
12017         (get_mode_alignment): Adjust for vectors.
12018
12019         * resource.c (mark_referenced_resources): Handle vectors.
12020         (mark_set_resources): Same.
12021
12022         * reload1.c (eliminate_regs): Handle vectors.
12023         (elimination_effects): Same.
12024         (scan_paradoxical_subregs): Same.
12025
12026         * reload.c (subst_reg_equivs): Handle vectors.
12027
12028         * regrename.c (scan_rtx): Handle vectors.
12029
12030         * regclass.c (reg_scan_mark_refs): Handle vectors.
12031
12032         * recog.c (find_single_use_1): Handle vectors.
12033
12034         * local-alloc.c (equiv_init_varies_p): Handle vectors.
12035         (contains_replace_regs): Same.
12036         (memref_referenced_p): Same.
12037
12038         * integrate.c (copy_rtx_and_substitute): Handle vectors.
12039         (subst_constants): Same.
12040
12041         * genattrtab.c (attr_copy_rtx): Handle vectors.
12042         (encode_units_mask): Same.
12043         (clear_struct_flag): Same.
12044         (count_sub_rtxs): Same.
12045
12046         * gcse.c (want_to_gcse_p): Handle vectors.
12047         (oprs_unchanged_p): Same.
12048         (hash_expr_1): Same.
12049         (oprs_not_set_p): Same.
12050         (expr_killed_p): Same.
12051         (compute_transp): Same.
12052         (store_ops_ok): Same.
12053
12054         * function.c (purge_addressof_1): Do not allow paradoxical subregs
12055         of vectors.
12056         (fixup_var_refs_1): Same.
12057         (instantiate_virtual_regs_1): Same.
12058
12059         * fold-const.c (operand_equal_p): Handle vectors.
12060         (fold): Same.
12061         (rtl_expr_nonnegative_p): Same.
12062
12063         * flow.c (mark_used_regs): Handle vectors.
12064
12065         * df.c (df_uses_record): Handle vectors.
12066
12067         * cselib.c (cselib_subst_to_values): Handle vectors.
12068         (cselib_mem_conflict_p): Same.
12069         (hash_rtx): Same.
12070
12071         * cse.c (canon_reg): Handle vectors.
12072         (fold_rt): Same.
12073         (cse_process_notes): Same.
12074         (count_reg_usage): Same.
12075         (canon_hash): Same.
12076
12077         * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
12078
12079         * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
12080
12081         * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
12082         (gen_rtx): Handle CONST_VECTOR.
12083         (gen_const_vector_0): New.
12084         (copy_rtx_if_shared): CONST_VECTORs can be shared.
12085         (reset_used_flags): Same.
12086         (copy_insn_1): Same.
12087         (initializer_constant_valid_p): Handle VECTOR_CST.
12088
12089         * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
12090
12091         * doc/rtl.texi (Constants): Document const_vector.
12092         (CONST0_RTX): Update for vectors.
12093         (RTL sharing): Same.
12094
12095         * print-tree.c (print_node): Add case for VECTOR_CST.
12096
12097         * tree.h (TREE_VECTOR_CST_ELTS): New.
12098         (struct tree_vector): New.
12099         (union tree_node): Add vector node.
12100         (build_vector): Add prototype.
12101
12102         * tree.def (VECTOR_CST): New.
12103
12104         * tree.c (build_vector): New.
12105
12106         * expmed.c (make_tree): Handle CONST_VECTOR.
12107
12108         * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
12109         (CONST_VECTOR_ELT): New.
12110         (CONST_VECTOR_NUNITS): New.
12111
12112         * machmode.h (GET_MODE_INNER): New.
12113         (DEF_MACHMODE): Accept 8th arg.
12114
12115         * machmode.def: Add 8th argument for vector inner mode.
12116         Add inner vector modes for vectors.
12117
12118         * rtl.def (VEC_CONST): Remove.
12119         (CONST_VECTOR): New.
12120
12121         * expr.c (clear_storage): Allow vectors.
12122         (is_zeros_p): Handle VECTOR_CST.
12123
12124         * varasm.c (output_constant_pool): Handle vectors.
12125         (rtx_const): Add veclo and vechi fields.
12126         (kind): Add RTX_VECTOR.
12127         (decode_rtx_const): Add case for vector.
12128
12129         * config/rs6000/rs6000-protos.h: Add zero_constant.
12130
12131         * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
12132         constants.  Force easy vector constants into memory.
12133         (easy_vector_constant): New.
12134         (emit_easy_vector_constant): New.
12135         (rs6000_legitimize_reload_address): Do not generate bad reloads on
12136         darwin.
12137
12138         * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
12139         instruction does.
12140         ("altivec_lvxl"): Same.
12141         (altivec_lvebx): Same.
12142         (altivec_lvehx): Same.
12143         (altivec_lvewx): Same.
12144         ("*movv4si_const0"): New.
12145         ("*movv4sf_const0"): New.
12146         ("*movv8hi_const0"): New.
12147         ("*movv16qi_const0"): New.
12148
12149 2002-02-18  Kazu Hirata  <kazu@hxi.com>
12150
12151         * config/h8300/h8300.c (notice_update_cc): Use
12152         cc_status.value2.
12153
12154 2002-02-18  Kazu Hirata  <kazu@hxi.com>
12155
12156         * config/h8300/h8300.md (divmod patterns): Change the
12157         constraints for operands[1] to register_operand.
12158
12159 2002-02-18  Kazu Hirata  <kazu@hxi.com>
12160
12161         * config/h8300/h8300-protos.h: Remove the prototype for
12162         p_operand.
12163         * config/h8300/h8300.c (p_operand): Remove.
12164         * config/h8300/h8300.md: Replace p_operand with
12165         const_int_operand.
12166
12167 2002-02-18 Philip Blundell <pb@nexus.co.uk>
12168
12169         * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
12170         comment.
12171         (output_return_instruction): Allow use of LDR to unstack
12172         return addresss even for interrupt handlers or when
12173         interworking.  If compiling for ARMv5, use interworking-safe
12174         return instructions by default.  Remove duplicated code and
12175         lengthy "strcat" sequences.
12176
12177 2002-02-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12178
12179         * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
12180         (LINK_EH_SPEC): Define.
12181         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
12182
12183 2002-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
12184
12185         * config/s390/s390.c (s390_emit_prologue): Do not set the
12186         frame_related flag for call-clobbered registers.
12187
12188 Mon Feb 18 15:07:35 CET 2002  Jan Hubicka  <jh@suse.cz>
12189
12190         * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
12191         (construct_container): Fix handling of SSE operands.
12192         (ix86_expand_builtin): Fix handling of 64bit pointers.
12193         (mmx_maskmovq_rex): New pattern.
12194
12195 Mon Feb 18 11:55:55 CET 2002  Jan Hubicka  <jh@suse.cz>
12196
12197         * regrename.c (kill_set_value): Handle subregs properly.
12198
12199 2002-02-18  David Billinghurst <David.Billinghurst@riotinto.com>
12200
12201         * objc/objc-act.c (handle_impent): Remove leading '*'
12202         from objc_class_name.
12203
12204 2002-02-17  Richard Henderson  <rth@redhat.com>
12205
12206         * config/alpha/alpha.c (some_small_symbolic_operand,
12207         some_small_symbolic_operand_1, split_small_symbolic_operand,
12208         split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
12209         Handle small SYMBOL_REFs anywhere, not just inside memories.
12210         * config/alpha/alpha-protos.h: Update.
12211         * config/alpha/alpha.h (PREDICATE_CODES): Update.
12212         * config/alpha/alpha.md (small symbolic operand splitter): Update.
12213
12214 2002-02-17  Roland McGrath  <roland@frob.com>
12215
12216         * config.gcc (powerpc-*-gnu-gnualtivec*,
12217         powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
12218         * config/rs6000/gnu.h: New file.
12219         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
12220         Grok "gnu" in rs6000_abi_name.
12221         (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
12222         CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
12223         Grok -mcall-gnu analogous to -mcall-linux et al.
12224         (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
12225         LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
12226         (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
12227
12228 2002-02-17  Jakub Jelinek  <jakub@redhat.com>
12229
12230         PR c/3444:
12231         * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
12232         shortening.
12233
12234 2002-02-17  Philipp Thomas  <pthomas@suse.de>
12235
12236         * config/cris/cris.h: Undefine STARTFILE_SPEC and
12237         ENDFILE_SPEC before (re)defining them.
12238
12239 2002-02-17  Kazu Hirata  <kazu@hxi.com>
12240
12241         * config/h8300/h8300.c: Fix formatting.
12242         * config/h8300/h8300.h: Likewise.
12243
12244 2002-02-17  Philipp Thomas  <pthomas@suse.de>
12245
12246         * doc/tm.texi: Explain why empty strings should not be
12247         marked for translation.
12248
12249 2002-02-17  Philipp Thomas  <pthomas@suse.de>
12250
12251         * final.c (output_operand_lossage): Changed to accept
12252         printf style arguments. Change calls where necessary.
12253         * output.h (output_operand_lossage): Change declaration
12254         accordingly. Update copyright.
12255         * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
12256         config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
12257         Update copyright date where necessary.
12258
12259         * config/i386/i386.c (print_operand): Likewise. Remove use of
12260         sprintf.
12261
12262         * config/cris/cris.c (cris_operand_lossage): Likewise.
12263         Rename parameter so that exgettext recognizes it as
12264         translatable message.
12265         (LOSE_AND_RETURN): Rename parameter to msgid.
12266
12267 2002-02-17  Kazu Hirata  <kazu@hxi.com>
12268
12269         * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
12270         hard coded register number with an appropriate macro.
12271         (HARD_REGNO_MODE_OK): Likewise.
12272         (ARG_POINTER_REGNUM): Likewise.
12273         (STATIC_CHAIN_REGNUM): Likewise.
12274         (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
12275         * config/h8300/h8300.md (define_constants): Define more
12276         register numbers.
12277
12278 2002-02-17  Philipp Thomas  <pthomas@suse.de>
12279
12280         * config/i386/i386.h: Don't mark empty strings for translation.
12281
12282 2002-02-16  H.J. Lu <hjl@gnu.org>
12283
12284         * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
12285
12286 2002-02-16  Zack Weinberg  <zack@codesourcery.com>
12287
12288         * cppinit.c (merge_include_chains): Check for brack being
12289         NULL before attempting to merge it with qtail.
12290
12291 2002-02-16  Andrew Cagney  <ac131313@redhat.com>
12292
12293         * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
12294         DBX_DEBUG.
12295
12296 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12297
12298         * pa/t-pa, pa/t-pro, som.h: Revert last patch.
12299
12300 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12301
12302         * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
12303         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
12304         * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
12305
12306 Sat Feb 16 13:48:50 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12307
12308         * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
12309         now only if !TARGET_FIX.
12310         (*movsi_nt_vms_fix): New pattern.
12311
12312 2002-02-16  Douglas B Rupp  <rupp@gnat.com>
12313
12314         * config/alpha/alpha.c: Implement null frame procedure types on VMS.
12315         (alpha_procedure_type): Replaces alpha_is_stack_procedure.
12316         (alpha_sa_mask, alpha_sa_size): Reflect above change.
12317         (alpha_pv_save_size, alpha_expand_prologue): Likewise.
12318         (alpha_start_function, alpha_expand_epilogue): Likewise.
12319         (unicosmk_gen_dsib): Likewise.
12320
12321 Sat Feb 16 13:39:09 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12322
12323         * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
12324
12325 2002-02-16  Ulrich Weigand  <uweigand@de.ibm.com>
12326
12327         * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
12328         check_and_change_labels, s390_final_chunkify): Delete.
12329         (s390_split_branches, s390_chunkify_pool): New functions.
12330         (s390_function_prologue): Call them.
12331
12332         * config/s390/s390.h (S390_REL_MAX): Delete.
12333         (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
12334
12335         * config/s390/s390.md (cjump, icjump, jump): Fix length
12336         attribute calculation.
12337
12338
12339 2002-02-15  David Edelsohn  <edelsohn@gnu.org>
12340
12341         * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
12342         * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
12343
12344 2002-02-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12345
12346         * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
12347         * config/pa/pa-linux.h (LIB_SPEC): Likewise.
12348         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
12349
12350 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
12351
12352         * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
12353
12354 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
12355
12356         * reload.c (find_dummy_reload): Check that an output register
12357         is valid for its mode.
12358
12359 2002-02-14  Alexandre Oliva  <aoliva@redhat.com>
12360
12361         * combine.c (known_cond): After replacing the REG of a SUBREG, try
12362         to simplify it.
12363
12364         * function.c (assign_parms): Demote promoted argument passed by
12365         transparent reference.
12366
12367 2001-02-14      Joel Sherrill <joel@OARcorp.com>
12368
12369         * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
12370         -Acpu() and -Amachine() to eliminate warnings.
12371
12372 2002-02-14  Ulrich Weigand  <uweigand@de.ibm.com>
12373
12374         * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
12375
12376 2002-02-14  Kazu Hirata  <kazu@hxi.com>
12377
12378         * config/h8300/h8300-protos.h: Update the prototype for
12379         const_costs.
12380         * config/h8300/h8300.c (const_costs): Treat SET as a little
12381         more expensive operation.
12382         * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
12383         reference to const_costs.
12384
12385 2002-02-14  Hans-Peter Nilsson  <hp@axis.com>
12386
12387         * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
12388
12389 2002-02-14  Jakub Jelinek  <jakub@redhat.com>
12390
12391         PR c/5503:
12392         * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
12393         use arguments from newtype.
12394
12395 2002-02-13  Eric Christopher  <echristo@redhat.com>
12396
12397         * config/mips/mips.c (override_options): Add check for march/mipsX
12398         on the same command line. Fix error message in cpu processing.
12399         Remove architecture and ISA checks.
12400
12401 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
12402
12403         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
12404
12405         * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
12406
12407 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
12408
12409         * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
12410         alternatives.
12411         ("*movv8hi_internal1"): Same.
12412         ("*movv16qi_internal1"): Same.
12413         ("*movv4sf_internal1"): Same.
12414
12415         * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
12416         not push_reload for altivec modes.
12417
12418 2002-02-13  Joel Sherrill  <joel@OARcorp.com>
12419
12420         * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
12421         all RTEMS targets including removal of #includes from config/*/rtems*.h
12422         file and adding them to tm_file setting. Added xm_defines=POSIX to
12423         many targets.
12424         * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
12425         * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
12426         * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
12427         * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
12428         * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
12429         config/m68k/rtemself.h: Ditto.
12430         * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
12431         config/mips/rtems64.h: Ditto.
12432         * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
12433         * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
12434         Ditto.
12435         * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
12436         config/sparc/rtemself.h: Ditto.
12437         * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
12438         * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
12439         arm-rtems stanza closer to other arm-elf targets and made arm-rtems
12440         more like arm-elf.
12441         * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
12442         config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
12443         target made more similar to i386-elf.
12444         * config/i386/t-rtems-i386: Added soft float support and multilibs.
12445         * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
12446         be similar to config/m68k/t-m68kelf.
12447         * gthr-rtems.h: Encapsulate with extern "C" for C++.
12448
12449 Wed Feb 13 23:41:15 CET 2002  Jan Hubicka  <jh@suse.cz>
12450
12451         * regmove.c (kill_value): Handle subregs.
12452
12453 Wed Feb 13 23:34:30 CET 2002  Jan Hubicka  <jh@suse.cz>
12454
12455         * i386.md (mul patterns): Allow memory operand to be first;
12456         add expanders where needed; fix constraints.
12457         (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
12458         Allow memory operand to be the first.
12459
12460         * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
12461         operands.
12462
12463 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
12464
12465         PR c/5681:
12466         * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
12467         GET_MODE (x).
12468
12469 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
12470
12471         PR optimization/5547:
12472         * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
12473         all valid IA-32 address modes involving non-scaled %ebx and
12474         GOT/GOTOFF as displacement.
12475
12476 2002-02-13  Ulrich Weigand  <uweigand@de.ibm.com>
12477
12478         * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
12479         after emitting ltorg insns.
12480
12481         * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
12482         *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
12483         *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
12484         *abssf2): Fix "op_type" attribute.
12485
12486 2002-02-13  Douglas B Rupp  <rupp@gnat.com>
12487
12488         * mkconfig.sh: Avoid using a subshell redirect.
12489         ($output.T): Change to $(output)T.
12490         (ENABLE_NLS): Remove unneeded undef.
12491
12492         * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
12493         * config/alpha/x-vms (libsubdir): Define.
12494
12495         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
12496         register frame procedures. Optimize retrieving context.
12497
12498         * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
12499         (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
12500         * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
12501
12502 Wed Feb 13 09:45:08 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12503
12504         * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
12505         Make same change as for find_base_value.
12506
12507 2002-02-13  Kazu Hirata  <kazu@hxi.com>
12508
12509         * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
12510         of QImode and SImode.
12511
12512 2002-02-13  Kazu Hirata  <kazu@hxi.com>
12513
12514         * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
12515         length computation of movsi.
12516         * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
12517
12518 2002-02-13  Kazu Hirata  <kazu@hxi.com>
12519
12520         * config/h8300/h8300.md (subqi3): Tighten the predicate for
12521         operands[2] to register_operand.
12522
12523 Wed Feb 13 10:35:56 CET 2002  Jan Hubicka  <jh@suse.cz>
12524
12525         * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
12526
12527 2002-02-12  Aldy Hernandez  <aldyh@redhat.com>
12528
12529         * config/rs6000/rs6000.md: Use predicate altivec_register_operand
12530         for altivec_lvx* and altivec_stvx*.
12531         ("*movv4si_internal"): Add constraint for loading from GPRs.
12532         ("*movv8hi_internal1"): Same.
12533         ("*movv16qi_internal1"): Same.
12534         ("*movv4sf_internal1"): Same.
12535
12536         * config/rs6000/rs6000.c (altivec_register_operand): New.
12537
12538         * config/rs6000/rs6000.h (PREDICATE_CODES): Add
12539         altivec_register_operand.
12540
12541 2002-02-13  Hans-Peter Nilsson  <hp@bitrange.com>
12542
12543         * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
12544         handle SYMBOL_REF.
12545
12546 2002-02-13  Stan Shebs  <shebs@apple.com>
12547
12548         * c-typeck.c (digest_init): Handle vectors.
12549         (really_start_incremental_init): Same.
12550         (pop_init_level): Same.
12551         (process_init_element): Same.
12552
12553         * varasm.c (output_constant): Same.
12554
12555         * expr.c (clear_storage): Same.
12556         (store_constructor): Same.
12557
12558 2002-02-12  Eric Christopher  <echristo@redhat.com>
12559
12560         * explow.c (hard_function_value): Add comment explaining
12561         signed/unsigned comparison.
12562
12563 2002-02-12  Jakub Jelinek  <jakub@redhat.com>
12564
12565         * jump.c (never_reached_warning): Add finish argument.
12566         If finish is NULL, stop on CODE_LABEL, otherwise stop before first
12567         real insn after end.
12568         * rtl.h (never_reached_warning): Adjust prototype.
12569         * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
12570         * cfgrtl.c (flow_delete_block): Pass b->end as finish to
12571         never_reached_warning.
12572
12573 2002-02-12  Graham Stott  <grahams@redhat.com>
12574
12575         * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
12576
12577 2002-02-12  Kazu Hirata  <kazu@hxi.com>
12578
12579         * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
12580         logical shifts on H8/300.
12581         (shift_alg_si): Improve several shifts on H8/300.
12582         (get_shift_alg): Likewise.
12583
12584 2002-02-12  Graham Stott  <grahams@redhat.com>
12585
12586         * config/pa/pa.c (compute_movstrsi_length): Fix typos.
12587
12588 Tue Feb 12 10:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12589
12590         * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
12591         Handle #ifdef POINTERS_EXTEND_UNSIGNED.
12592
12593 2002-02-11  Hans-Peter Nilsson  <hp@bitrange.com>
12594
12595         * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
12596         non-CONST_INT through default_assemble_integer.
12597         <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
12598         <case 8>: Abort for CONST_DOUBLE.
12599
12600 2002-02-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12601
12602         * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
12603         is specified.
12604         * config/pa/pa-linux.h (LIB_SPEC): Delete.
12605         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
12606
12607 2002-02-11  Andrew Haley  <aph@cambridge.redhat.com>
12608
12609         * config/stormy16/stormy16.md (zero_extendqihi2): New.
12610
12611 2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
12612
12613         * regrename.c (regrename_optimize): Don't accept a
12614         part-clobbered register if the replaced register is not part
12615         clobbered.
12616
12617         * calls.c (store_one_arg): In the non-BLKmode non-partial case,
12618         take padding into account when computing the argument value.
12619
12620         * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
12621
12622         * combine.c (try_combine): Apply substitutions in
12623         CALL_INSN_FUNCTION_USAGE too.
12624
12625 2002-02-11  Aldy Hernandez  <aldyh@redhat.com>
12626
12627         * config/rs6000/rs6000.c (altivec_init_builtins): Handle
12628         __builtin_altivec_abs*.
12629         (bdesc_abs): New.
12630
12631         * config/rs6000/rs6000.h (rs6000_builtins): Add
12632         ALTIVEC_BUILTIN_ABS*.
12633
12634         * config/rs6000/altivec.h: Use const char for builtins expecting
12635         literals.
12636         (vec_abs): New versions for C and C++.
12637         (vec_abss): Same.
12638
12639 2002-02-10  Kazu Hirata  <kazu@hxi.com>
12640
12641         * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
12642         using Pmode.
12643
12644 2002-02-10  Kazu Hirata  <kazu@hxi.com>
12645
12646         * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
12647         constant definition from h8300.md.
12648         (FRAME_POINTER_REGNUM): Likewise.
12649         * config/h8300/h8300.md (define_constants): Add FP_REG.
12650
12651 2002-02-10  Kazu Hirata  <kazu@hxi.com>
12652
12653         * config/h8300/h8300.c (print_operand): Remove redundant code.
12654
12655 2002-02-10  Kazu Hirata  <kazu@hxi.com>
12656
12657         * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
12658         * config/h8300/h8300.c (byte_reg): Make it static.
12659
12660 2002-02-10  Richard Henderson  <rth@redhat.com>
12661
12662         PR c/5623
12663         * c-typeck.c (incomplete_type_error): Handle flexible array members.
12664
12665 2002-02-10  Richard Henderson  <rth@redhat.com>
12666
12667         PR c++/5624
12668         * tree.c (append_random_chars): Don't abort if main_input_filename
12669         does not exist.
12670
12671 2002-02-10  Hans-Peter Nilsson  <hp@bitrange.com>
12672
12673         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
12674
12675 2002-02-10  Kazu Hirata  <kazu@hxi.com>
12676
12677         * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
12678         (pushhi1): Likewise.
12679
12680 2002-02-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12681
12682         * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
12683         * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
12684
12685 2002-02-09  David O'Brien  <obrien@FreeBSD.org>
12686
12687         * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
12688         remove MASK_VIS.
12689         (ASM_CPU_DEFAULT_SPEC): Remove.  Default setting is fine.
12690
12691 2002-02-09  Kazu Hirata  <kazu@hxi.com>
12692
12693         * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
12694         a half of an SImode register on H8/300.
12695
12696 Sat Feb  9 18:28:02 CET 2002  Jan Hubicka  <jh@suse.cz>
12697
12698         * i386.md (movdi_2): Add missing '!'.
12699
12700 2002-02-09  Kazu Hirata  <kazu@hxi.com>
12701
12702         * config/h8300/h8300.h: Fix formatting.  Remove commented-out
12703         definitions.
12704
12705 2002-02-09  Kazu Hirata  <kazu@hxi.com>
12706
12707         * config/h8300/h8300.md (length): Correct the distance valid
12708         for the short branch.
12709
12710 2002-02-09  Kazu Hirata  <kazu@hxi.com>
12711
12712         * config/h8300/h8300.md (iorhi3): Tighten the predicates.
12713
12714 2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
12715
12716         * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
12717         registers in SImode.
12718         (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
12719         part-clobbered.
12720
12721         * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
12722         patch.
12723
12724         Contribute sh64-elf.
12725         2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
12726         * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
12727         (sh_cannot_modify_jumps_p): New function.
12728         2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
12729         * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
12730         (sh_ms_bitfield_layout_p): New function.
12731         2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
12732                     Zack Weinberg  <zack@codesourcery.com>
12733         * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
12734         expand_simple_binop instead of expand_binop.
12735         2002-02-03  Alexandre Oliva  <aoliva@redhat.com>
12736         * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
12737         use of .quad and .uaquad.
12738         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
12739         TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
12740         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
12741         * config/sh/sh.md (movdi_const, movdi_const_32bit,
12742         movdi_const_16bit): Make sure all CONSTs have modes.
12743         (sym2PIC): Ditto, but by adjusting all callers.
12744         * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
12745         if the prologue calls the SHmedia argument decoder or register
12746         saver.
12747         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
12748         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
12749         (TARGET_ASM_ALIGNED_DI_OP): Likewise.
12750         (sh_expand_epilogue): Don't emit USE of return target register.
12751         (prepare_move_operands): Legitimize DImode PIC addresses.
12752         (sh_media_register_for_return): Skip tr0, used to initialize the
12753         PIC register.
12754         (sh_expand_prologue): Remove explicit USE of return register.
12755         (nonpic_symbol_mentioned_p): PC is non-PIC.  Don't recurse in
12756         CONST_DOUBLEs.  UNSPEC_GOTPLT is PIC.
12757         * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
12758         (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
12759         (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
12760         EXTRA_CONSTRAINT_T.
12761         (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
12762         (MOVI_SHORI_BASE_OPERAND_P): New.
12763         (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
12764         (EXTRA_CONSTRAINT_T): Define in terms of them.
12765         (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
12766         * config/sh/sh.md (movsi_media, movsi_media_nofpu,
12767         movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
12768         alternatives supporting TARGET_REGS.
12769         (UNSPEC_GOTPLT): New constant.
12770         (movdi split): Move incrementing of LABEL_NUSES...
12771         (movdi_const, movdi_const_32bit): Here.  Use
12772         MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
12773         (movdi_const_16bit): New.
12774         (call, call_value) [flag_pic]: Use GOTPLT.
12775         (call_pop, call_value_pop): New expands.
12776         (call_pop_compact, call_pop_rettramp): New insns.
12777         (call_value_pop_compact, call_value_pop_rettramp): New insns.
12778         (sibcall) [flag_pic]: Use GOT.
12779         (builtint_setjmp_receiver): Remove bogus, unused expand.
12780         (GOTaddr2picreg): Implement for SHcompact and SHmedia.
12781         (*pt, *ptb, ptrel): New insns.
12782         (sym2GOT): Handle DImode GOT.
12783         (sym2GOTPLT, symGOTPLT2reg): New expands.
12784         (sym2PIC): New expand.
12785         (shcompact_return_tramp): Use GOTPLT to return trampoline.
12786         (shcompact_return_tramp_i): Use return register explicitly.
12787         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
12788         disable flag_reorder_blocks.
12789         2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
12790         * config/sh/sh.md (sibcall_compact): Reorder return, uses and
12791         clobbers, for clarity.
12792         (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
12793         restoring of r0 in macl as MAYBE_DEAD.
12794         2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
12795         * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
12796         * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
12797         alter_subreg all over.
12798         (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
12799         reload, instead of emitting instructions that would require
12800         reloading.
12801         (casesi_load_media): Add missing modes.
12802         2001-11-09  Alexandre Oliva  <aoliva@redhat.com>
12803         * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
12804         as used if the argument decoder is called.
12805         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
12806         * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
12807         Pmode, then extend it to DImode if necessary.
12808         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
12809         * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
12810         constants in FPU-enabled SHmedia, let them be loaded from memory.
12811         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
12812         * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
12813         Adjust whitespace in assembly output templates.
12814         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
12815         * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
12816         mode of if_then_else.
12817         2001-08-04  Alexandre Oliva  <aoliva@redhat.com>
12818         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
12819         sh.h.
12820         2001-07-26  Andrew Haley  <aph@cambridge.redhat.com>
12821                     Joern Rennecke <amylaar@redhat.com>
12822         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
12823         (SUBTARGET_CPP_PTR_SPEC): New.
12824         (SUBTARGET_CPP_SPEC): Remove.
12825         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
12826         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
12827         Fix typo in previous checkin.
12828         2001-07-11  Chandrakala Chavva  <cchavva@redhat.com>
12829         * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
12830         2001-07-10  Chandrakala Chavva  <cchavva@cygnus.com>
12831                     Alexandre Oliva  <aoliva@redhat.com>
12832         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
12833         what single FP register can hold for SHmedia target.
12834         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
12835                     Alexandre Oliva  <aoliva@redhat.com>
12836         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
12837         Do not split into SUBREG.
12838         2001-06-14  Alexandre Oliva  <aoliva@redhat.com>
12839         * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
12840         and added new functions as specified in SH5 ABI r9.
12841         2001-06-04  Alexandre Oliva  <aoliva@redhat.com>
12842         * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
12843         8-byte boundary.
12844         2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
12845         * config/sh/sh.c (dump_table): Add const0_rtx in calls of
12846         gen_consttable_4 and gen_consttable_8.  Emit multiple labels
12847         and consttable_window_ends.
12848         2001-06-03  Graham Stott  <grahams@redhat,com>
12849         * config/sh/sh.md (movdi split): Remove unused variable last_insn.
12850         2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
12851         * config/sh/sh.c (print_operand): Handle floating-point pair,
12852         vector and matrix registers.
12853         * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
12854         vector modes into account.
12855         * config/sh/sh.md (movv2sf): Split move between registers into
12856         movdf.
12857         (movv4sf, movv16sf): Introduce insns that get split only after
12858         reload.
12859         * config/sh/shmedia.h: Fix Copyright dates.
12860         * config/sh/ushmedia.h: Likewise.  Move loop counter
12861         declarations into conditionals that uses them.
12862         (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
12863         loop boundary.
12864         * config/sh/sshmedia.h: Fix Copyright dates.
12865         (sh_media_PUTCFG): Fix constraints.
12866         2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
12867         * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
12868         ptrmemfunc_vbit_in_delta for SH5.
12869         2001-05-08  Alexandre Oliva  <aoliva@redhat.com>
12870         * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
12871         * invoke.texi: Likewise.
12872         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
12873         * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
12874         GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
12875         GCC_pop_shmedia_regs_nofpu): New global symbols.
12876         * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
12877         * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
12878         * config/sh/sh.c (calc_live_regs): Account for PR's saving in
12879         compact function with nonlocal labels.
12880         (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
12881         (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
12882         (initial_elimination_offset): Account for their stack space.
12883         * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
12884         * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
12885         movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
12886         movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
12887         least one of the operands to be a register.
12888         (movv2sf): Likewise.  Renamed to movv2sf_i.
12889         (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
12890         prepare_move_operands() before emitting SHmedia insns.
12891         2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
12892         * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
12893         Don't save nor initialize r12.  Don't mis-align the stack.
12894         Pad the code with a nop.
12895         * config/sh/crti.asm: Don't restore r12.  Don't mis-align the
12896         stack.
12897         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
12898         * gcc/longlong.h (__umulsidi3, count_leading_zeros)
12899         [__SHMEDIA__]: Implement.
12900         2001-03-11  Alexandre Oliva  <aoliva@redhat.com>
12901         * config/sh/sh.md: Set latency of `pt' closer to reality.
12902         (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
12903         movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
12904         Set move, load and store type attributes.
12905         * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
12906         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
12907         profiling.
12908         * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
12909         * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
12910         * config/sh/sh.c (sh_media_register_for_return): New function.
12911         (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
12912         branch-target register.
12913         (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
12914         * config/sh/sh.md (return_media_i): Use any call-clobbered
12915         branch-target register.
12916         (return_media): If r18 wasn't copied in the prologue, copy it
12917         here.
12918         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
12919         Clear class FP0_REGS.
12920         * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
12921         from elf.h.
12922         2001-03-08  DJ Delorie  <dj@redhat.com>
12923         * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
12924         2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
12925         * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
12926         2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
12927         * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
12928         2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
12929         * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
12930         return value correctly for call_cookie.
12931         2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
12932         * config/sh/crt1.asm (start): Modified so as to call
12933         ___setup_argv_and_call_main.
12934         2001-01-26  Alexandre Oliva  <aoliva@redhat.com>
12935         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
12936         SHmedia mode.
12937         2001-01-20  Alexandre Oliva  <aoliva@redhat.com>
12938         * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
12939         (STRIP_NAME_ENCODING): Use it.
12940         (ASM_OUTPUT_LABELREF): Likewise.  Don't call assemble_name().
12941         2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
12942         * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
12943         prepare_scc_operands().
12944         * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
12945         (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
12946         2001-01-17  Alexandre Oliva  <aoliva@redhat.com>
12947         * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
12948         2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
12949         * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
12950         * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
12951         used in shcompact_incoming_args.
12952         * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
12953         change.
12954         * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
12955         mode.
12956         * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
12957         Adjust accordingly.
12958         * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
12959         Simplify.  Adjust.  Add sanity check.
12960         * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
12961         FPU_SINGLE_BIT.
12962         * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
12963         TARGET_SHCOMPACT.
12964         (udivsi3, divsi3): Use them.
12965         (force_mode_for_call): New insn.
12966         (call, call_value, sibcall_value): Emit it before SHcompact
12967         calls.
12968         2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
12969         * config/sh/sh.md (call, call_value, sibcall): Make sure the
12970         call cookie is non-NULL before taking its value.
12971         2001-01-10  Alexandre Oliva  <aoliva@redhat.com>
12972         * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
12973         2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
12974         * config/sh/sh.md (shcompact_incoming_args): Set argument memory
12975         block.
12976         * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
12977         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
12978         temporary for stack adjusts.  Use MACL and MACH to pass
12979         arguments to shcompact_incoming_args.
12980         * config/sh/sh.md (shcompact_incoming_args): Adjust.  Don't
12981         clobber r1.
12982         * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
12983         (nested_trampoline): Load static chain address into r1.
12984         * config/sh/sh.md (movdi_media splits): Fix sign-extension.
12985         2001-01-07  Alexandre Oliva  <aoliva@redhat.com
12986         * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
12987         fp_arith_reg_operand().
12988         2001-01-06  Alexandre Oliva  <aoliva@redhat.com>
12989         * config/sh/sh.md (casesi): Sign-extend the first two operands,
12990         and use signed compares for them.
12991         * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
12992         4-byte ones.  Instead, inter-leave them, maintaining the 8-byte
12993         ones properly aligned.
12994         (find_barrier): Account for extra alignment needed for 8-byte wide
12995         constants.
12996         (machine_dependent_reorg): Require a label for the second 4-byte
12997         constant after an 8-byte one.
12998         * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
12999         change.
13000         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
13001         * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
13002         last_float when switching float modes.
13003         * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
13004         auto-increment for general-purpose registers.
13005         * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
13006         result.
13007         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
13008         for stack adjust.
13009         * config/sh/sh.c (sh_builtin_saveregs): Support using all
13010         registers for varargs.
13011         2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
13012         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
13013         * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
13014         CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
13015         (CALL_COOKIE_INT_REG_SHIFT): Adjust.
13016         (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK.  Adjust
13017         call_cookie accordingly.
13018         (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
13019         (SHCOMPACT_BYREF): Likewise.
13020         (SHCOMPACT_FORCE_ON_STACK): New macro.
13021         * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
13022         (sh_builtin_saveregs): Likewise.
13023         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
13024         shcompact_incoming_args): Use new shift values.  Support
13025         sequences of consecutive and non-consecutive pushes/pops.
13026         * config/sh/sh.md (return): Don't explicitly use PR_REG.
13027         2001-01-05  Hans-Peter Nilsson  <hpn@cygnus.com>
13028         * config/sh/sh.h (TEXT_SECTION): Define.
13029         * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
13030         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
13031         * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
13032         * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
13033         return values on FPU-enabled SHmedia.
13034         (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
13035         FPU-enabled SHmedia.
13036         (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
13037         value is returned in a non-FP reg and is not returned by
13038         reference.
13039         * config/sh/sh.md (shcompact_return_tramp_i): Change type to
13040         jump_ind.
13041         2000-01-04  Alexandre Oliva  <aoliva@redhat.com>
13042         * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
13043         (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
13044         quad-aligned to be passed by callee-copy reference.
13045         2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
13046         * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
13047         * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
13048         2001-01-02  Alexandre Oliva  <aoliva@redhat.com>
13049         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
13050         copying low-numbered FP regs to r7 and r8.
13051         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
13052         FP regs to general-purpose regs only if the copy was passed on the
13053         stack.
13054         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
13055         copying FP reg to r9.
13056         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
13057         copy FP regs to general-purpose regs only in outgoing calls.
13058         * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
13059         change from     2000-10-30.  Adjust for 64-bit (or 32-bit)
13060         HOST_WIDE_INT.
13061         * config/sh/sh.h (struct sh_args): Document all fields.
13062         (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
13063         passed partially on the stack should not consider making
13064         sibcalls.
13065         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
13066         stack_regs only for incoming calls.  When passing FP args,
13067         make sure there are FP regs available before modifying
13068         call_cookie.
13069         (SHCOMPACT_BYREF): Pass double args in general-purpose
13070         registers by reference.
13071         2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
13072         * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
13073         attempt to generate sibcalls if the caller got any arguments
13074         by reference.
13075         * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
13076         * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
13077         to 8-byte boundaries.
13078         * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
13079         * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
13080         * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
13081         stored in the stack.
13082         * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
13083         for the offsets to have the ISA bit set.
13084         (shcompact_call_trampoline): Document.  Swap r0 and r1, to match
13085         invocation.  Use beq instead of bgt to mark end of sequence of
13086         loads.
13087         (shcompact_incoming_args): Fix store of r2.  Use beq instead of
13088         bgt to mark end of sequence of stores.
13089         * config/sh/sh.c (arith_operand): Don't check whether
13090         CONST_OK_FOR_J for now.
13091         * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
13092         instead of long for conversion.
13093         2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
13094         * config/sh/sh.c (print_operand_address): Convert INTVAL to int
13095         before passing it to fprintf.
13096         2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
13097         * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
13098         Call set_fpscr before reading/writing SR.
13099         * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
13100         Call set_fpscr.
13101         * config/sh/lib1funcs.asm: Add `.align 2' directives before
13102         SHmedia code.
13103         (FMOVD_WORKS): Define on SH5 with FPU.
13104         (set_fpscr): Define on SH5.  Remove separate _fpscr_values
13105         setting.
13106         * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
13107         _fpscr_values.
13108         2000-12-28  Hans-Peter Nilsson  <hpn@cygnus.com>
13109         * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
13110         address.
13111         (ia_main_table): Ditto.
13112         2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
13113         * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
13114         * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
13115         the definitions from sh.h.
13116         * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
13117         TARGET_SH5.
13118         (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
13119         * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
13120         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
13121         2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
13122         * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
13123         Increment LABEL_NUSES.
13124
13125         * config/sh/sh.h (SIZE_TYPE): Define as conditional on
13126         TARGET_SH5.
13127         (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
13128         defined.
13129         * config/sh/elf.h (SIZE_TYPE): Likewise.
13130         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
13131         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
13132         shcompact_incoming_args): Load switch table addresses using
13133         datalabel.
13134         * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
13135         (NO_BUILTIN_SIZE_TYPE): Define.
13136         (SIZE_TYPE): Don't define.
13137         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
13138         * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
13139         definition of __SH5__=32 for -m5-compact-nofpu.
13140         * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
13141         ADDR_DIFF_VEC.
13142         2000-12-24  Alexandre Oliva  <aoliva@redhat.com>
13143         * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
13144         2000-12-23  Alexandre Oliva  <aoliva@redhat.com>
13145         * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
13146         (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
13147         (INSN_LENGTH_ALIGNMENT): Likewise.
13148         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
13149         * config/sh/sh.md (call, call_value, sibcall): Simplify
13150         copying of non-branch-target register.
13151         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
13152         * glimits.h (__LONG_MAX__): Revert      2000-12-13's patch.
13153         * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
13154         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
13155         * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
13156         floating-point values as structs.
13157         (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
13158         (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
13159         general-purpose register.
13160         (SH5_PROTOTYPED_FLOAT_ARG): New macro.
13161         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
13162         * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
13163         * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
13164         * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
13165         (ENCODE_SECTION_INFO): Enclose variables and constants in
13166         DATALABEL unspecs.
13167         (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
13168         (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
13169         (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
13170         * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
13171         only for LABEL_REFs.  For SYMBOL_REFs, prepend
13172         SH_DATALABEL_ENCODING to the symbol name.
13173         * config/sh/sh.md (indirect_jump): Use SUBREG instead of
13174         convert_mode().
13175         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
13176         * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
13177         UNSPEC_DATALABEL.
13178         * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
13179         * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
13180         (DATALABEL_REF_P): Don't require CONST.
13181         (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
13182         REL label.
13183         2000-12-19  Alexandre Oliva  <aoliva@redhat.com>
13184         * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
13185         right.
13186         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
13187         * config/sh/sh.md (movsi_media, call, call_value, sibcall):
13188         Use shallow_copy_rtx and PUT_MODE to change the mode of
13189         SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
13190         * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
13191         on SHmedia using GENERAL_REGs.
13192         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
13193         bltu_media_i): Fix reversion of conditions.
13194         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
13195         * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
13196         * config/sh/sh.c (output_far_jump): Save r13 in macl.
13197         2000-12-17  Alexandre Oliva  <aoliva@redhat.com>
13198         * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
13199         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
13200         * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
13201         (GCC_nested_trampoline): Likewise.
13202         * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
13203         * config/sh/sh.c (gen_datalabel_ref): Define.
13204         * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
13205         (INITIALIZE_TRAMPOLINE): Likewise.
13206         (TRAMPOLINE_ADJUST_ADDRESS): Define.
13207         (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
13208         (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
13209         (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
13210         * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
13211         (ic_invalidate): Adjust for SH5.
13212         (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
13213         * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
13214         _nested_trampoline.
13215         2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
13216         * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
13217         (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
13218         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
13219         * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
13220         * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
13221         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
13222         * config/sh/sh.c (target_reg_operand): Match only target-branch
13223         registers and pseudos that aren't virtual registers.
13224         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
13225         Copy operands that don't match target_reg_operand to pseudos.
13226         (call_media, call_value_media, sibcall_media): Use
13227         target_reg_operand instead of target_operand.
13228         2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
13229         * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
13230         * config/sh/sh.c (target_reg_operand): Match hardware registers
13231         other than branch-target registers.
13232         * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
13233         * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
13234         (fpscr_values) [SH5 == 32]: Define.
13235         * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
13236         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
13237         Handle function addresses coming in SUBREGs.
13238         2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
13239         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
13240         shcompact_return_trampoline): Use datalabel where appropriate.
13241         2000-12-09  Alexandre Oliva  <aoliva@redhat.com>
13242         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
13243         general-purpose register to copy one branch-target register to
13244         another.
13245         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
13246         * config/sh/sh.c (target_operand): Accept LABEL_REFs and
13247         SYMBOL_REFs with VOIDmode.
13248         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
13249         bltu_media_i): New insns.
13250         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
13251         * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
13252         (INIT_CUMULATIVE_ARGS): Likewise.
13253         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
13254         * machmode.def (V16SFmode): New mode.
13255         * c-common.c (type_for_mode): Support V2SF and V16SF.
13256         * tree.c (build_common_tree_nodes_2): Likewise.
13257         * tree.h (tree_index): Likewise.
13258         * calls.c (emit_call_1): Take args_so_far.  Adjust all
13259         callers.  Introduce CALL_POPS_ARGS.
13260         * tm.texi (CALL_POPS_ARGS): Document.
13261         * config/sh/crt1.asm: Implement in SHmedia mode.
13262         * config/sh/crti.asm, config/sh/crtn.asm: Likewise
13263         * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
13264         (DBX_REGISTER_NUMBER): Renumber registers for SH5.
13265         * config/sh/lib1funcs.asm: Disable functions unused in SH5.
13266         Implement divsi and udivsi in SHmedia mode.  Introduce
13267         SHcompact trampolines.
13268         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
13269         only in SHmedia64.
13270         (regno_reg_class): Rewrite.
13271         (fp_reg_names): Remove.
13272         (sh_register_names, sh_additional_register_names): New.
13273         (print_operand): Added `u'.  Support SUBREGs in addresses.
13274         Add parentheses around shifted CONSTs.
13275         (output_file_start): Output .mode and .abi directives.
13276         (shiftcosts, addsubcosts, multcosts): Adjust.
13277         (output_stack_adjust): Compute alignment.  Sanity-check SIZE.
13278         (push_regs): Take array of HOST_WIDE_INTs.  Adjust callers.
13279         (calc_live_regs): Output to array of HOST_WIDE_INTs.  Count
13280         bytes, not registers.  Take into account the need for the
13281         SHcompact incoming args trampoline.  Adjust all callers.
13282         (sh_expand_prologue): Take stack_regs into account.  Call
13283         incoming args trampoline.  Keep stack aligned as per SH5 ABI.
13284         (sh_expand_epilogue): Take stack_regs into accoutn.  Keep
13285         stack aligned as per SH5 ABI.
13286         (sh_builtin_saveregs): Support SH5 ABI.
13287         (sh_build_va_list, sh_va_start): Likewise.
13288         (initial_elimination_offset): Take alignment into account.
13289         Compute location of PR according to the SH5 stack frame.
13290         (arith_reg_operand): Reject branch-target registers.
13291         (shmedia_6bit_operand): New.
13292         (logical_operand): Use CONST_OK_FOR_P on SHmedia.
13293         (target_reg_operand): Match DImode only.  Accept SUBREGs.
13294         (target_operand): New.
13295         * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
13296         (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI.  Initialize
13297         SIBCALL_REGS for SHmedia.
13298         (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
13299         (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
13300         (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
13301         (TARGET_SWITCHES): New SH5 flags.
13302         (OVERRIDE_OPTIONS): Set SH5-specific options.  Use
13303         VALID_REGISTER_P to disable unsupported registers.
13304         (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
13305         (POINTER_SIZE, PARM_BOUNDARY): Adjust.
13306         (FUNCTION_ARG_PADDING): Define.
13307         (FASTEST_ALIGNMENT): Adjust.
13308         (SH_REGISTER_NAMES_INITIALIZER): New.
13309         (sh_register_names): Declare.
13310         (DEBUG_REGISTER_NAMES): Define.
13311         (REGISTER_NAMES): Define based on sh_register_names.
13312         (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
13313         (sh_additional_register_names): Declare.
13314         (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
13315         (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
13316         (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
13317         (REGISTER_NATURAL_MODE): Define.
13318         (FIRST_PSEUDO_REGISTER): Adjust.
13319         (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
13320         (HARD_REGNO_CALL_PART_CLOBBERED): Define.
13321         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
13322         (VECTOR_MODE_SUPPORTED_P): Define.
13323         (REG_CLASS_CONTENTS): Adjust.
13324         (SMALL_REGISTER_CLASSES): Adjust.
13325         (REG_ALLOC_ORDER): Adjust.
13326         (INDEX_REG_CLASS): Adjust.
13327         (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
13328         (CONST_OK_FOR_LETTER_P): Adjust.
13329         (PREFERRED_RELOAD_CLASS): Adjust.
13330         (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
13331         (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
13332         (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
13333         (FIRST_FP_PARM_REG): Adjust.
13334         (CALL_POPS_ARGS): Define.
13335         (FUNCTION_ARG_REGNO_P): Adjust.
13336         (struct sh_args): New fields.
13337         (GET_SH_ARG_CLASS): Adjust.
13338         (INIT_CUMULATIVE_ARGS): Adjust.
13339         (INIT_CUMULATIVE_INCOMING_ARGS): Define.
13340         (FUNCTION_ARG_ADVANCE): Adjust.
13341         (FUNCTION_ARG): Adjust.
13342         (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
13343         (FUNCTION_ARG_CALLEE_COPIES): Define.
13344         (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
13345         (STRICT_ARGUMENT_NAMING): Define.
13346         (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
13347         (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
13348         (SH5_WOULD_BE_PARTIAL_NREGS): Define.
13349         (SETUP_INCOMING_VARARGS): Adjust.
13350         (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
13351         (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
13352         (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
13353         (SUBREG_OK_FOR_INDEX_P): Adjust.
13354         (EXTRA_CONSTRAINT_S): Update.
13355         (EXTRA_CONSTRAINT_T): New.
13356         (EXTRA_CONSTRAINT): Adjust.
13357         (GO_IF_LEGITIMATE_INDEX): Adjust.
13358         (GO_IF_LEGITIMATE_ADDRESS): Adjust.
13359         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
13360         (MOVE_MAX): Adjust.
13361         (MAX_MOVE_MAX): Define.
13362         (Pmode): Adjust.
13363         (CONST_COSTS): Adjust.
13364         (REGISTER_MOVE_COST): Adjust.
13365         (BRANCH_COST): Adjust.
13366         (TEXT_SECTION_ASM_OP): Adjust.
13367         (DBX_REGISTER_NUMBER): Adjust.
13368         (ASM_OUTPUT_DOUBLE_INT): New.
13369         (UNALIGNED_DOUBLE_INT_ASM_OP): New.
13370         (PREDICATE_CODES): Adjust.
13371         (PROMOTE_MODE): Adjust.
13372         (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
13373         * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
13374         (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
13375         (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
13376         (DR0_REG, DR2_REG, DR4_REG): Renumber.
13377         (TR0_REG, TR1_REG, TR2_REG): New.
13378         (XD0_REG): Renumber.
13379         (UNSPEC_COMPACT_ARGS): New.
13380         (type): Added pt and ptabs.
13381         (length): Default to 4 on SHmedia.  Default pt length to 12
13382         and     20 on SHmedia32 and SHmedia64, respectively.
13383         (pt): New function unit.
13384         (movdi, movsi): Add types pt and ptabs.  Don't increment LABEL_NUSES.
13385         Add whitespace between operands of SHmedia instructions.
13386         (movdicc): Fix.
13387         (adddi3_media, addsi3_media): Adjust constraints.
13388         (subsi3) [SHmedia]: Force operand 1 into a register.
13389         (udivsi3_i1_media, udivsi3_i4_media): New.
13390         (udivsi3): Support SHmedia.
13391         (divsi3_i1_media, divsi3_i4_media): New.
13392         (divsi3): Support SHmedia.
13393         (anddi3, iordi3, xordi3): Adjust constraints.
13394         (zero_extendhidi2, zero_extendqidi2): New.
13395         (extendsidi2, extendhidi2, extendqidi2): New.
13396         (push, pop, push_e, push_fpul, push_4): Disable on SH5.
13397         (pop_e, pop_fpul, pop_4): Likewise.
13398         (movsi_media): Support FP and BT registers.
13399         (movsi_media_nofpu): New.  Adjust splits to DImode.
13400         (lduw, ldub): Renamed to zero_extend* above.
13401         (movqi_media): Fix typo.
13402         (movdi_media): Support FP and BT registers.
13403         (movdi_media_nofpu): New.  Adjust splits for SHmedia32.
13404         (movdi_const_32bit): New.
13405         (shori_media): Require immediate operand.  Use `u' for output.
13406         (movdf_media, movsf_media): Simplified.
13407         (movdf_media_nofpu, movsf_media_nofpu): New.
13408         (movdf, movsf): Adjust
13409         (movv2sf, movv2sf, movv16sf): New.
13410         (beq_media, beq_media_i): Adjust constraints.  Don't use
13411         scratch BT register.
13412         (bne_media, bne_media_i): Likewise.
13413         (bgt_media, bgt_media_i): Likewise.
13414         (bge_media, bge_media_i): Likewise.
13415         (bgtu_media, bgtu_media_i): Likewise.
13416         (bgeu_media, bgeu_media_i): Likewise.
13417         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
13418         bunordered): Emit jump insn.  Force operands to registers when
13419         needed.
13420         (jump_media, jump): Simplify.
13421         (call_compact, call_compact_rettramp): New.
13422         (call_value_compact, call_value_compact_rettramp): New.
13423         (call_media, call_value_media): Simplify.
13424         (sibcall_compact, sibcall_media): New.
13425         (call, call_value): Adjust for SHmedia and SHcompact.
13426         (sibcall, sibcall_value, untyped_call): Likewise.
13427         (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
13428         (indirect_jump): Adjust for SHmedia.
13429         (casesi_jump_media): New.
13430         (nop): Re-enable for SHmedia.
13431         (call_site): Restrict to SH1.
13432         (casesi): Adjust for SHmedia.
13433         (casesi_shift_media, casesi_load_media): New.
13434         (return): Explicitly use PR register.  Call return trampoline
13435         on SHcompact.
13436         (return_i): Explicitly use PR register.
13437         (shcompact_return_tramp, shcompact_return_tramp_i): New.
13438         (return_media): Adjust.
13439         (shcompact_incoming_args): New.
13440         (epilogue): Adjust.
13441         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
13442         (movstrsi): Disable on SH5.
13443         (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
13444         (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
13445         (subsf3, subsf3_media): Likewise.
13446         (mulsf3, mulsf3_media, mac_media): Likewise.
13447         (divsf3, divsf3_media): Likewise.
13448         (floatdisf2, floatsisf2_media): Likewise.  Adjust constraints.
13449         (floatsisf2, fux_truncsfsi2): Likewise.
13450         (fix_truncsfdi2, fix_truncsfsi2_media): Likewise.  Adjust
13451         constraints.
13452         (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
13453         (cmpunsf_media, cmpsf): Likewise.
13454         (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
13455         (abssf2, abssf2_media): Likewise.
13456         (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
13457         (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
13458         (floatdidf2, floatsidf2_media): Likewise.  Adjust constraints.
13459         (floatsidf2, fix_truncdfsi2): Likewise.
13460         (fix_truncdfdi2, fix_truncdfsi2_media): Likewise.  Adjust
13461         constraints.
13462         (cmpeqdf_media, cmpgtdf_media): Likewise.
13463         (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
13464         (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
13465         (absdf2, absdf2_media): Likewise.
13466         (extendsfdf2, extendsfdf2_media): Likewise.
13467         (truncsfdf2, truncsfdf2_media): Likewise.
13468         * config/sh/sh64.h: New file.
13469         * config/sh/t-sh64: New file.
13470         * config/sh/shmedia.h: New file.
13471         * config/sh/ushmedia.h: New file.
13472         * config/sh/sshmedia.h: New file.
13473         * configure.in: Added sh64-*-elf.
13474         * configure: Rebuilt.
13475         2000-10-10  Alexandre Oliva  <aoliva@redhat.com>
13476         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
13477         (reg_class_from_letter): Use `b' for TARGET_REGS.
13478         (print_operand): Support `%M', `%m', `AND' and
13479         `ASHIFTRT'.  Do not precede constants with `#' on SHmedia.
13480         (andcosts): Adjust for SHmedia.
13481         (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
13482         Likewise.
13483         (target_reg_operand): New function.
13484         * config/sh/sh-protos.h (target_reg_operand): Declare.
13485         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
13486         FP registers on SH5.
13487         (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
13488         on SH4.
13489         (TARGET_REGISTER_P): New macro.
13490         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
13491         (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
13492         (EXTRA_CONSTRAINT_S): New macro.
13493         (EXTRA_CONSTRAINT): Adjust.
13494         (FLOAT_TYPE_SIZE): Define to 32.
13495         (Pmode): DImode on SHmedia.
13496         (CONST_COSTS): Adjust for SHmedia literals.
13497         (PREDICATE_CODES): Added target_reg_operand.
13498         (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
13499         * config/sh/sh.md: Remove all attrs from SHmedia insns.
13500         (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
13501         (cmpdi): Accept SHmedia.
13502         (movdicc_false, movdicc_true): New insns.
13503         (movdicc): New expand.
13504         (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
13505         no_new_pseudos.
13506         (addsi3_media): Match `S' constraint.
13507         (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
13508         (negdi2): Expand for SHmedia.
13509         (one_cmpldi2): New expand.
13510         (zero_extendsidi2): Change from expand to insn.
13511         (extendsidi2): Add constraints.
13512         (movdi_media, movsi_media): Change `%x' to `%M'.  Use `%m' for
13513         LD/ST address.  Fix SI immediate loading split.
13514         (movhi_media, movqi_media, lduw, ldub): New insns.
13515         (movhi, movqi): Accept SHmedia.
13516         (shori_media, movdi_media): Relax input constraints.  Split
13517         symbolic constants.
13518         (movdf_media, movsf_media): New insn.  New split to movdi.
13519         (movdf, movsf): Match on SHmedia.
13520         (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
13521         bgeu_media): New insns and splits.  New insns with `_i' suffix.
13522         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
13523         (bunordered): New expand.
13524         (jump_compact): Renamed from `jump'.
13525         (jump_media): New insn.
13526         (jump): New expand.
13527         (call_media, call_value_media): New insns.
13528         (call, call_value): Adjust.
13529         (indirect_jump_compact): Renamed from `indirect_jump'.
13530         (indirect_jump_media): New insn.
13531         (indirect_jump): New expand.
13532         (untyped_call, return): Accept SHmedia.
13533         (return_media): New insn.
13534         (prologue, epilogue, blockage): Accept SHmedia.
13535         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
13536         (sunordered): New expand.
13537         (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
13538         cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
13539         (addsf3_media, subsf3_media, mulsf3_media, mac_media,
13540         divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
13541         fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
13542         cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
13543         abssf2_media): New insns.
13544         (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
13545         cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
13546         (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
13547         floatdidf2, floatsidf2_media, fix_truncdfdi2,
13548         fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
13549         cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
13550         absdf2_media): New insns.
13551         (extendsfdf2, truncdfsf2): Adjust for SHmedia.
13552         (extendsfdf2_media, truncdfsf2_media): New insns.
13553         2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
13554         * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
13555         * config/sh/sh.h (CONST_OK_FOR_J): Document.
13556         (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
13557         * config/sh/sh.md (adddi3): New expand.
13558         (adddi3_media, adddi3z_media): New insns.
13559         (adddi3_compact): Renamed from adddi3.
13560         (addsi3_media): Use add.l r63 to add constant zero.
13561         (subdi3): New expand.
13562         (subdi3_media): New insn.
13563         (subdi3_compact): Renamed from subdi3.
13564         (mulsidi3): New expand.
13565         (mulsidi3_media): New insn.
13566         (mulsidi3_compact): Renamed from mulsidi3.
13567         (umulsidi3): New expand.
13568         (umulsidi3_media): New insn.
13569         (umulsidi3_compact): Renamed from umulsidi3.
13570         (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
13571         (ashlsi3, ashrsi3, lshrsi3): Use them.
13572         (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
13573         (ashldi3, ashrdi3, lshrdi3): Use them.
13574         (zero_extendsidi2): New expand.
13575         (extendsidi2): New insn.
13576         (movsi_media): New insn.  Split to movdi to load constants.
13577         (movsi): Enable for shmedia.
13578         (movdi_media): New insn.  Use shori_media to load wide constants.
13579         (short_media): New insn.
13580         (movdi): Enable for shmedia.
13581         2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
13582         * config/sh/sh.h (CPP_SPEC): Added `m5'.
13583         (SUBTARGET_CPP_SPEC): Added `!m5'.
13584         (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
13585         (TARGET_SWITCHES): Added `5' and `5-compact'.  Added SH1_BIT
13586         to all other SH variants.
13587         (TARGET_DEFAULT): Set to SH1_BIT.
13588         (OVERRIDE_OPTIONS): Recognize sh5 CPU.
13589         (BITS_PER_WORD): Raise to 64 on shmedia.
13590         (MAX_BITS_PER_WORD): Change to 64.
13591         (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
13592         (INT_TYPE_SIZE): Keep as 32.
13593         (UNITS_PER_WORD): Raise to 8 on shmedia.
13594         (MIN_UNITS_PER_WORD): Keep as 4.
13595         (POINTER_SIZE): Raise to 64 on shmedia.
13596         (CONST_OK_FOR_J): New macro.
13597         (CONST_OK_FOR_LETTER_P): Use it.
13598         (processor_type): Add PROCESSOR_SH5.
13599         * config/sh/sh.md: Conditionalize all expands, insns and
13600         splits to TARGET_SH1.
13601         (cpu): Added sh5.
13602         (addsi3_compact): Renamed from...
13603         (addsi3): Now an expand.
13604         (addsi3_media, subsi3_media): New insns.
13605         (subsi3): Don't negate constants with SHmedia.
13606
13607         * hooks.c: New file.
13608         * hooks.h: New file.
13609         * Makefile.in (HOOKS_H): New.
13610         (TARGET_DEF_H): Added $(HOOKS_H).
13611         (OBJS): Added hooks.o.
13612         (cfgcleanup.o, bb-reorder.o): Added target.h.
13613         (hooks.o): Added dependencies.
13614         * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
13615         (TARGET_INITIALIZER): this.
13616         * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
13617         * target.h (struct gcc_target): Added cannot_modify_jumps_p.
13618         * bb-reorder.c: Include target.h.
13619         (reorder_basic_blocks): Skip if cannot modify jumps.
13620         * cfgcleanup.c: Include target.h.
13621         (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
13622
13623 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
13624
13625         * config/mips/mips.md (casesi_internal, casesi_internal_di):
13626         Protect jump delay slot instructions with .set noreorder and
13627         .set nomacro.
13628
13629 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
13630
13631         * config/mips/mips.md (casesi_internal_di): Calculate
13632         the index into the target offset table correctly.
13633
13634 2002-02-08  Richard Henderson  <rth@redhat.com>
13635
13636         * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
13637         * final.c (output_addr_const): Accept and discard SUBREG.
13638         * varasm.c (decode_addr_const): Don't abort on unknown expressions --
13639         mark them unknown instead.
13640         (simplify_subtraction): Handle RTX_UNKNOWN.
13641         (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
13642
13643 2002-02-08  David Edelsohn  <edelsohn@gnu.org>
13644
13645         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
13646
13647 2002-02-08  Richard Henderson  <rth@redhat.com>
13648
13649         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
13650
13651 2002-02-08  Andreas Jaeger  <aj@suse.de>
13652
13653         * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
13654         * config/i386/t-linux64: New file.
13655
13656 2002-02-08  Jakub Jelinek  <jakub@redhat.com>
13657
13658         * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
13659         * c-parse.in (compstmt): Clear last_expr_type.
13660
13661 2002-02-07  Richard Henderson  <rth@redhat.com>
13662
13663         * loop.c (strength_reduce): Sink final_value when not
13664         eliminating a biv.
13665
13666 2002-02-07  David O'Brien  <obrien@FreeBSD.org>
13667
13668         * config/sparc/freebsd.h: Fix mismatched spec {.
13669
13670 2002-02-07  Richard Henderson  <rth@redhat.com>
13671
13672         * cfgrtl.c: Include recog.h and insn-config.h.
13673         (keep_with_call_p): Fix general_operand invocation.
13674         * Makefile.in (cfgrtl.o): Update dependencies.
13675
13676 2002-02-07  Kazu Hirata  <kazu@hxi.com>
13677
13678         * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
13679         comment.  Accept HImode only if TARGET_H8300.
13680
13681 2002-02-07  Eric Christopher  <echristo@redhat.com>
13682
13683         * config/mips/crtn.asm: Cleanup #ifdefs.
13684
13685 2002-02-07  Eric Christopher  <echristo@redhat.com>
13686
13687         * config/mips/crti.asm: Add changes for mips16. mips16 uses
13688         register 7 as RA instead of $31.
13689         * config/mips/crtn.asm: Ditto.
13690         * config/mips/mips.c (mips_move_2words): Add case for
13691         TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
13692         (compute_frame_size): Fix typo.
13693         (save_restore_insns): Ditto.  Make documentation about using
13694         register $7 as return register more precise.
13695         (mips_expand_epilogue): Fix comment. Add code to work around not
13696         being able to add to the stack pointer directly.
13697         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
13698         to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
13699         epilogue.
13700
13701 2002-02-07  Tom Rix  <trix@redhat.com>
13702
13703         * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
13704         immediates in ldu and stdu DS opcode field.
13705         * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
13706         * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
13707         * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
13708
13709 2002-02-07  Jeff Sturm  <jsturm@one-point.com>
13710
13711         * config/sparc/sparc.c (compute_frame_size): Don't correct frame
13712         offset for stack bias.
13713
13714 2002-02-07  H.J. Lu <hjl@gnu.org>
13715
13716         * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
13717
13718 2002-02-07  Ulrich Weigand  <uweigand@de.ibm.com>
13719
13720         * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
13721
13722 Thu Feb  7 12:14:17 CET 2002  Jan Hubicka  <jh@suse.cz>
13723
13724         * i386-protos.h (x86_order_regs_for_local_alloc): Declare
13725         * i386.c (x86_order_regs_for_local_alloc): New global function.
13726         * i386.h (REG_ALLOC_ORDER): CLeanup.
13727         (ORDER_REGS_FOR_LOCAL_ALLOC): New.
13728
13729 2002-02-07  Richard Henderson  <rth@redhat.com>
13730
13731         PR optimization/2463
13732         * alias.c (find_base_value): Recall base values for fixed hard regs.
13733         * loop.c (loop_regs_update): Don't use single_set on non-insns.
13734
13735 2002-02-07  Alexandre Oliva  <aoliva@redhat.com>
13736
13737         * config/mips/mips.md (define_delay) [mips16]: Adjust required
13738         length.
13739
13740 2002-02-06  Richard Henderson  <rth@redhat.com>
13741
13742         PR c/5609
13743         * stmt.c (resolve_operand_name_1): Take more care with mixed
13744         named and unnamed operands.
13745
13746 2002-02-06  Janis Johnson  <janis187@us.ibm.com>
13747             Jan Hubicka  <jh@suse.cz>
13748
13749         * loop.c (remove_constant_addition): Avoid clobbering a shared
13750         CONST expression.
13751
13752 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
13753
13754         * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
13755         * config/s390/t-linux64: New file.
13756         * config/s390/libgcc-glibc.ver: New file.
13757
13758 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
13759
13760         * config/s390/linux64.h: Delete file.
13761         * config/s390/s390x.h: New file.
13762         * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
13763         as target header file.
13764         * config/s390/linux.h (TARGET_VERSION): Define depending on
13765         DEFAULT_TARGET_64BIT.
13766         (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
13767         (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
13768         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
13769         (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
13770         (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
13771         (EXTRA_SPEC): New define.
13772         * config/s390/s390.h (TARGET_VERSION): Define depending on
13773         DEFAULT_TARGET_64BIT.
13774         (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
13775
13776 2002-02-06  Jason Merrill  <jason@redhat.com>
13777
13778         * c-decl.c (finish_function): Warn about a non-void function with
13779         no return statement and no abnormal exit.
13780         (current_function_returns_abnormally): New variable.
13781         (start_function): Clear it.
13782         (struct c_language_function): Add returns_abnormally.
13783         (push_c_function_context): Save it.
13784         (pop_c_function_context): Restore it.
13785         (builtin_function): Set TREE_THIS_VOLATILE on return fns.
13786         (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
13787         an explicit return type.
13788         * c-tree.h: Declare current_function_returns_abnormally.
13789         (C_FUNCTION_IMPLICIT_INT): New macro.
13790         * c-typeck.c (build_function_call): Set it.
13791         (c_expand_return): Set current_function_returns_value even if the
13792         value is erroneous.
13793
13794 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
13795
13796         PR c/5420:
13797         * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
13798         unsafe for reevaluation.
13799
13800 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
13801
13802         PR c/5482:
13803         * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
13804         EXPR_STMT, but COMPOUND_STMT, recurse into it.
13805
13806 2002-02-06  Richard Henderson  <rth@redhat.com>
13807
13808         * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
13809         be a general_operand.  Dest for function value must be a pseudo.
13810
13811 2002-02-06  Nick Clifton  <nickc@cambridge.redhat.com>
13812
13813         * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
13814         as SYMBOL_REFs from the constant pool.
13815
13816 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
13817
13818         * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
13819         passed by invisible reference.
13820
13821 2002-02-05  Richard Henderson  <rth@redhat.com>
13822
13823         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
13824
13825 2002-02-06  Hans-Peter Nilsson  <hp@bitrange.com>
13826
13827         Implement using "base addresses" in insn operands as default.
13828         * config/mmix/mmix.c (mmix_conditional_register_usage): if
13829         -mabi=gnu, modify fixed_regs to fit the GNU ABI.
13830         (mmix_extra_constraint): Use 'R' to indicate that GETA should be
13831         used to read the rtx value.
13832         (mmix_target_asm_function_epilogue): Fix spacing.
13833         (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
13834         (mmix_legitimate_address): Ditto.
13835         (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
13836         should be loaded with a GETA insn.  Don't allocate needless extra
13837         char for nul termination and fix misleading comment.
13838         (mmix_print_operand_address): Handle constants if
13839         TARGET_BASE_ADDRESSES.
13840         (mmix_output_register_setting): Use base addressing if
13841         TARGET_BASE_ADDRESSES and the number of insns is 3.
13842         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
13843         * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
13844         to use R as constraint, add LDA to match s.
13845         * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
13846         (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
13847         (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
13848         (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
13849         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
13850         order with other fixed registers.
13851         (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
13852         other parameter/call-clobbered registers.
13853         * doc/invoke.texi (Option Summary) <MMIX Options>: Add
13854         -mbase-addresses, -mno-base-addresses.
13855         (MMIX Options): Ditto.
13856
13857 2002-02-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13858
13859         * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
13860
13861 2002-02-06  Aldy Hernandez  <aldyh@redhat.com>
13862
13863         * config/rs6000/altivec.h: Change elem to _S_elem.
13864
13865 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
13866
13867         * config/netbsd.h (WCHAR_TYPE): Define.
13868         (WCHAR_TYPE_SIZE): Ditto.
13869         (WINT_TYPE): Ditto.
13870         * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
13871         (WCHAR_UNSIGNED): Ditto.
13872         (WCHAR_TYPE_SIZE): Ditto.
13873         (WINT_TYPE): Ditto.
13874         * config/arm/netbsd.h: Likewise.
13875         * config/i386/netbsd-elf.h: Likewise.
13876         * config/i386/netbsd.h: Likewise.
13877         * config/m68k/netbsd-elf.h: Likewise.
13878         * config/m68k/netbsd.h: Likewise.
13879         * config/ns32k/netbsd.h: Likewise.
13880         * config/sparc/netbsd.h: Likewise.
13881         * config/vax/netbsd.: Likewise.
13882
13883 2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
13884
13885         * target.h (struct gcc_target): Added ms_bitfield_layout_p.
13886         * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
13887         (TARGET_INITIALIZER): this.
13888         * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
13889         (BITFIELD_NBYTES_LIMITED): Markup fix.
13890         * tree.h (default_ms_bitfield_layout_p): Declare.
13891         (record_layout_info): Added prev_field.
13892         * tree.c (default_ms_bitfield_layout_p): New fn.
13893         * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
13894         PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
13895         * stor-layout.c: Include target.h.
13896         (start_record_layout): Initialize prev_field.
13897         (place_field): Handle MS bit-field layout, and disregard
13898         EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
13899         PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
13900         * Makefile.in (stor-layout.o): Adjust dependencies.
13901
13902 2002-02-05  Jason Merrill  <jason@redhat.com>
13903
13904         * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
13905
13906 2002-02-05  Andreas Jaeger  <aj@suse.de>
13907
13908         * crtstuff.c: Fix comments.
13909
13910 2002-02-05  Richard Henderson  <rth@redhat.com>
13911
13912         PR fortran/3393
13913         * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
13914         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
13915
13916         PR fortran/3392
13917         * config/mips/mips.c (function_arg): Handle TImode.
13918         (function_arg_advance): Likewise.
13919
13920 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
13921
13922         * config/rs6000/altivec.h (vec_step_help): Rename to
13923         __vec_step_help.
13924
13925 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
13926
13927         * config/rs6000/altivec.h: Fix typos.
13928
13929 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
13930
13931         * config/arm/netbsd.h: Correct a comment.
13932
13933 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
13934
13935         * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
13936         building void typed builtins.
13937
13938         * config/rs6000/altivec.h (vec_ld*): Fix typos.
13939         (vec_step): Implement for C++.
13940
13941 Mon Feb  4 19:23:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13942
13943         * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
13944
13945 2002-02-04  Richard Henderson  <rth@redhat.com>
13946
13947         * combine.c (nonzero_bits): Re-introduce special case for
13948         sp/fp/ap wrt REGNO_POINTER_ALIGN.
13949
13950 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
13951
13952         * doc/extend.texi: Warn about unsupported usage of altivec
13953         builtins.
13954
13955         * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
13956         (altivec_predicate_*): New.
13957
13958         * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
13959         Add C++ version of vec_*() functions.
13960
13961         * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
13962         (bdesc_2arg): Remove altivec predicates.
13963         (altivec_expand_builtin): Handle predicates.
13964         (altivec_init_builtins): Handle predicates.
13965         (altivec_expand_predicate_builtin): New.
13966
13967 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13968
13969         * pa.c (DO_FRAME_NOTES): Move forward.
13970         (store_reg): Revise handling of frame notes.
13971         (load_reg): Likewise.
13972         (set_reg_plus_d): Likewise.
13973         (hppa_expand_prologue): Likewise.
13974         (hppa_expand_epilogue): Likewise.
13975
13976 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13977
13978         * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
13979
13980 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
13981
13982         PR c/4475, c++/3780:
13983         * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
13984         * c-common.h (SWITCH_TYPE): Define.
13985         * c-typeck.c (c_start_case): Set SWITCH_TYPE.
13986         * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
13987         Rename spareness variable to sparseness.
13988         (expand_end_case_type): Renamed from expand_end_case, use orig_type
13989         if non-NULL instead of TREE_TYPE (orig_index).
13990         * tree.h (expand_end_case_type): Renamed from expand_end_case.
13991         (expand_end_case): Define using expand_end_case_type.
13992         * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
13993         to expand_end_case_type.
13994         * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
13995
13996 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13997
13998         * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
13999         (BIGGEST_ALIGNMENT): Change to 128.
14000
14001 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14002
14003         * pa32-linux.h (LINK_COMMAND_SPEC): Define.
14004
14005 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14006
14007         * pa.md (call_internal_reg_64bit): Remove unused variable.
14008
14009 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
14010
14011         * config/arm/arm.h (machine_function): Add uses_anonymous_args
14012         field.
14013         (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
14014         * config/arm/arm.c (current_function_anonymous_args): Delete,
14015         replace uses with cfun->machine->uses_anonymous_args.
14016         (arm_reorg): Do not reset uses_anonymous_args.
14017
14018         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
14019         any geenral register.
14020
14021 2001-02-04  Bernd Schmidt  <bernds@redhat.com>s
14022
14023         * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
14024         the entry block.
14025
14026 2002-02-04  Richard Henderson  <rth@redhat.com>
14027
14028         * combine.c (force_to_mode): Remove STACK_BIAS code.
14029         (nonzero_bits): Likewise.  Replace sp/fp special case with
14030         REGNO_POINTER_ALIGN.
14031
14032         * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
14033         (HARD_FRAME_POINTER_REGNUM): New.
14034         (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
14035         (FIXED_REGS, CALL_USED_REGS): Update.
14036         (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
14037         (CONDITIONAL_REGISTER_USAGE): Update for HFP.
14038         (HARD_REGNO_NREGS): Update for SFP.
14039         (STACK_POINTER_OFFSET): Include bias here ...
14040         (FIRST_PARM_OFFSET): ... not here.
14041         (STACK_BIAS): Remove.
14042         (INIT_EXPANDERS): New.
14043         (STARTING_FRAME_OFFSET): Do not include bias.
14044         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
14045         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
14046         (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
14047         * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
14048         * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
14049         * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
14050         (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
14051         (MUST_SAVE_REGISTER): Likewise.
14052         (sparc_flat_function_prologue): Likewise.
14053         (sparc_flat_function_epilogue): Likewise.
14054         (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
14055         (sparc_init_modes): SFP is GENERAL_REGS.
14056         (sparc_builtin_saveregs): SFP does not have bias applied.
14057
14058 2002-02-04  Richard Henderson  <rth@redhat.com>
14059
14060         * config/alpha/alpha.c (current_function_is_thunk): Don't check
14061         current_function_is_thunk.
14062         (alpha_sa_mask): Distinguish between current_function_is_thunk
14063         called from ASM_OUTPUT_MI_THUNK and not.
14064         (alpha_does_function_need_gp): Thunks always need gp.
14065         (alpha_start_function, alpha_output_function_end_prologue): Likewise.
14066         (alpha_output_mi_thunk_osf): New.
14067         * config/alpha/alpha-protos.h: Update.
14068         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
14069
14070 2002-02-04  Richard Sandiford  <rsandifo@redhat.com>
14071
14072         * c-typeck.c (build_c_cast): Warn when qualifiers are added to
14073         function types, not when they're taken away.
14074
14075 Mon Feb  4 09:05:58 2002  Jeffrey A Law  (law@redhat.com)
14076
14077         * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
14078         CODE_LABEL and jump table when replacing a table jump with a
14079         simple jump.
14080
14081 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14082
14083         * config/s390/s390-protos.h (legitimize_la_operand,
14084         s390_secondary_input_reload_class, s390_plus_operand,
14085         s390_expand_plus_operand): Add prototypes.
14086
14087         config/s390/s390.c (s390_secondary_input_reload_class,
14088         s390_plus_operand, s390_expand_plus_operand): New functions.
14089
14090         (struct s390_address): New member 'pointer'.
14091         (s390_decompose_address): Compute it.
14092         (legitimate_la_operand_p): Use it.
14093         (legitimize_la_operand): New function.
14094         (movti, movdi, movdf splitters): Call it.
14095
14096         config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
14097         (PREDICATE_CODES): Add s390_plus_operand.
14098
14099         config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
14100         (la_ccclobber): Allow GENERAL_REGS as output operand.
14101
14102         (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
14103         *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
14104         (*la_64, *la_31, reload_indi, reload_insi): ... these.
14105
14106 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14107
14108         * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
14109         register names for regular asm () construct.
14110
14111 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
14112
14113         * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
14114         registers.
14115
14116 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
14117
14118         * combine.c (recog_for_combine): Create a dummy insn with PATTERN
14119         pat for recog.
14120
14121 2002-02-04  Hartmut Penner  <hpenner@de.ibm.com>
14122
14123         * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
14124         constant pool to be identical by string address and index.
14125
14126 2002-02-04  Anthony Green  <green@redhat.com>
14127
14128         * output.h (SECTION_OVERRIDE): Define.
14129         * varasm.c (named_section): Obey SECTION_OVERRIDE.
14130
14131 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
14132
14133         * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
14134         by existing arm*-*-netbsd* (a.out) target.
14135         (ns32k-*-netbsdelf*): Likewise.
14136         (sparc-*-netbsdelf*): Likewise.
14137         (vax-*-netbsdelf*): Likewise.
14138
14139 2002-02-03  Danny Smith <dannysmith@users.sourceforge.net>
14140
14141         * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
14142         headers and libobjc headers.
14143
14144 2002-02-03  Mumit Khan  <khan@nanotech.wisc.edu>
14145
14146         * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
14147         (_mingw.h): Remove duplicate include.
14148
14149 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
14150
14151         * config.gcc: Set cpu_type to m68k for 68010, as well.
14152         (m68010-*-netbsdelf*): New...
14153         (m68k*-*-netbsdelf*): ...targets.
14154         * config/m68k/netbsd-elf.h: New file.
14155
14156 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14157
14158         * config/h8300/h8300.c (hand_list): Move inside function_arg.
14159
14160 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14161
14162         * config/h8300/h8300.c (h8_push_ops): Move inside
14163         h8300_init_once.
14164         (h8_pop_ops): Likewise.
14165         (h8_move_ops): Likewise.
14166
14167 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14168
14169         * config/h8300/h8300.c (os_task): Make it static.
14170         (monitor): Likewise.
14171         (pragma_saveall): Likewise.
14172
14173 2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
14174
14175         * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
14176         constant is a valid sign-extension for Pmode.
14177
14178 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14179
14180         * config/h8300/h8300.c: Fix formatting.
14181
14182 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14183
14184         * config/h8300/h8300.md: Fix formatting.
14185
14186 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14187
14188         * config/h8300/h8300.md (one_cmpl patterns): Tighten the
14189         predicates of operands[1].  Split the patterns for each
14190         processor variant.
14191
14192 2002-02-02  Kazu Hirata  <kazu@hxi.com>
14193
14194         * config/h8300/h8300.md (xor patterns): Tighten the predicates
14195         of operands[1] to register_operand.
14196
14197 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
14198
14199         * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
14200         * cpphash.c (_cpp_init_hashtable): Similarly.
14201         * cppinit.c (cpp_create_reader): Default the signed_char flag.
14202         (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
14203         (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
14204         (cpp_handle_option): Handle the new options.
14205         * cpplex.c (cpp_interpret_charconst): Use new flag.
14206         * cpplib.h (struct cpp_options): New member signed_char.
14207         * gcc.c (cpp_unique_options): Remove %c spec and documentation.
14208         (cpp_options): Handle -fsigned-char and -funsigned-char.
14209         (static_specs): Remove signed_char_spec.
14210         (do_spec1): Don't handle %c.
14211         * system.h: Poison SIGNED_CHAR_SPEC.
14212         * tradcif.y (yylex): Use flag_signed_char.
14213         * tradcpp.h (flag_signed_char): New.
14214         * tradcpp.c (flag_signed_char): New.
14215         (main): Handle new command-line options.
14216         (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
14217 config:
14218         * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
14219         * avr/avr.h: Remove old comments.
14220         * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
14221         (CC1_SPEC): Pass -fsigned-char if -mic*.
14222         (SIGNED_CHAR_SPEC): Remove.
14223 doc:
14224         * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
14225
14226 2002-02-01  Eric Christopher  <echristo@redhat.com>
14227
14228         From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
14229         * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
14230         * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
14231         (ASM_OUTPUT_REG_POP): Ditto.
14232
14233 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
14234
14235         * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
14236         patch.
14237
14238 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
14239
14240         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
14241
14242 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
14243
14244         PR c/5304:
14245         * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
14246         unconditionally.
14247
14248 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
14249
14250         * cfganal.c: Include tm_p.h.
14251         (keep_with_call_p): Fix the test that determines if a register holds
14252         the return value of a call.
14253
14254 2002-02-01  DJ Delorie  <dj@redhat.com>
14255
14256         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
14257         we are given conflicting registers, switch to the other one we
14258         had allocated for us.
14259         * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
14260         as TImode so we know when the "other" register is available.
14261
14262 2002-02-01  David O'Brien  <obrien@FreeBSD.org>
14263
14264         * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
14265         sparc/sparc_bi.h.
14266
14267 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
14268
14269         * cfganal.c (keep_with_call_p): New function.
14270         (flow_call_edges_add): Prevent splitting a block between a call and
14271         a single-set instruction that should be kept in the same block.
14272
14273 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
14274
14275         * doc/install.texi (avr): Update outdated URL.
14276
14277 2002-01-30  Andrew Haley  <aph@cambridge.redhat.com>
14278
14279         * config/stormy16/stormy16.md (pushqi): New.
14280         (popqi): New.
14281         (pushhi): New.
14282         (pophi): New.
14283         (movhi): Remove stack operands.
14284         (movqi): Likewise.
14285         * config/stormy16/stormy16.h (PREDICATE_CODES): Add
14286         nonimmediate_nonstack_operand.
14287         * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
14288         New.
14289         * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
14290         New.
14291
14292 2002-01-31  Jason Merrill  <jason@redhat.com>
14293
14294         * Makefile.in (c-parse.c): Handle .output file.
14295         * objc/Make-lang.in (objc-parse.c): Likewise.
14296
14297 2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
14298
14299         * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
14300         the -me[lb] option is given.  Don't output the default flag
14301         twice.
14302
14303 2002-01-31  Zack Weinberg  <zack@codesourcery.com>
14304
14305         * c-lex.c (yyparse): Call debug_hooks->start_source_file for
14306         the primary source file; this has not been done yet.
14307         * c-decl.c (c_expand_body): Reset input_filename from
14308         DECL_SOURCE_FILE (fndecl) before calling init_function_start.
14309
14310 2002-01-31  Kazu Hirata  <kazu@hxi.com>
14311
14312         * rtlanal.c (subreg_regno_offset): Do not use
14313         SUBREG_REGNO_OFFSET.
14314         * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
14315         * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
14316
14317 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
14318
14319         * gccbug.in: Follow GNU Coding Standards for --version.  Use GCC
14320         version rather than GNATS version in --version output.
14321
14322 2002-01-31  Richard Sandiford  <rsandifo@redhat.com>
14323
14324         * ifcvt.c (noce_process_if_block): Make a copy of the destination
14325         when copying back from a temporary.
14326
14327 2002-01-30  Richard Henderson  <rth@redhat.com>
14328
14329         * ifcvt.c (dead_or_predicable): Handling merging when other_bb
14330         and new_dest are the same.
14331
14332 2002-01-30  Richard Henderson  <rth@redhat.com>
14333
14334         PR opt/5076
14335         * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
14336         * rtl.c (note_insn_name): Update.
14337         * emit-rtl.c (remove_unnecessary_notes): Kill it.
14338         * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
14339         to perform loop rotation.
14340         (expand_exit_loop_top_cond): New.
14341         * tree.h (expand_exit_loop_top_cond): Declare it.
14342         * c-semantics.c (genrtl_while_stmt): Use it.
14343         (genrtl_for_stmt): Likewise.
14344
14345 2002-01-30  Alexandre Oliva  <aoliva@redhat.com>
14346
14347         * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
14348         arguments to 64-bit boundaries on 64-bit ABIs.
14349
14350 2002-01-30  Steve Ellcey  <sje@cup.hp.com>
14351
14352         * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
14353
14354 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
14355
14356         * c-decl.c (grokdeclarator): Handle type being a typedef for an
14357         invalid type.
14358
14359 2002-01-30  David O'Brien  <obrien@FreeBSD.org>
14360
14361         * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
14362         * config/sparc/sparc_bi.h: Remove file.
14363         * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
14364
14365 2002-01-30  Richard Henderson  <rth@redhat.com>
14366
14367         * sched-deps.c (sched_analyze): Make a call read the frame pointer.
14368
14369 2002-01-30  Zack Weinberg  <zack@codesourcery.com>
14370
14371         * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
14372
14373 2002-01-30  Jason Merrill  <jason@redhat.com>
14374
14375         * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
14376         (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
14377         (reg_save): Use DW_CFA_offset_extended_sf instead.
14378
14379         * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
14380
14381 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
14382
14383         * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
14384         in cselib_lookup.
14385
14386 2002-01-29  Aldy Hernandez  <aldyh@redhat.com>
14387
14388         * rs6000.md ("*call_value_local32"): Remove constraints.
14389         ("*call_value_local64"): Same.
14390         ("*call_value_indirect_nonlocal_aix32"): Same.
14391         ("*call_value_nonlocal_aix32"): Same.
14392         ("*call_value_indirect_nonlocal_aix64"): Same.
14393         ("*call_value_nonlocal_aix64"): Same.
14394         ("*call_value_nonlocal_sysv"): Same.
14395
14396 2002-01-29  Richard Henderson  <rth@redhat.com>
14397
14398         * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
14399
14400 2002-01-29  Richard Henderson  <rth@redhat.com>
14401
14402         * expr.c (force_operand): Ignore flag_pic for detecting pic
14403         address loads.
14404         * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
14405         for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
14406         * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
14407         instead of open-coded loop.
14408         * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
14409         be fixed when in use.
14410
14411 2002-01-29  Richard Henderson  <rth@redhat.com>
14412
14413         * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
14414         * sched-rgn.c (propagate_deps): Update them.
14415         * sched-deps.c (sched_analyze_insn): Update them.  Flush the
14416         clobbers list when either gets too long.
14417
14418 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
14419
14420         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
14421         and INDEX_REGS the same as GENERAL_REGS.
14422         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
14423
14424 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
14425
14426         * tree.c (build_nonstandard_integer_type): Correct prototype.
14427
14428 2002-01-29  Ulrich Weigand  <uweigand@de.ibm.com>
14429
14430         * config/s390/s390.md (movstrsico, movstrdix_64,
14431         movstrsix_31): Remove, replace by ...
14432         (movstrdi_short, movstrsi_short, movstrdi_long,
14433         movstrsi_long): ... these.  New.
14434         (movstrdi, movstrsi): Adapt.
14435
14436         (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
14437         ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
14438         Remove unnecessary CC clobber.
14439         (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
14440         *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
14441
14442         (divmoddi4): Don't partially initialize TImode register.
14443
14444 2002-01-29  Geoffrey Keating  <geoffk@redhat.com>
14445
14446         * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
14447
14448 2002-01-29  Richard Henderson  <rth@redhat.com>
14449
14450         * flow.c (print_rtl_and_abort): Remove.
14451         (print_rtl_and_abort_fcn): Remove.
14452         (verify_local_live_at_start): Use dump_bb instead.
14453         (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
14454         (verify_wide_reg_1): Return 2 on mode test failure.
14455
14456 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
14457
14458         PR c/3325, c/3326, c/2511, c/3347
14459         * c-decl.c (enum_decl_context): Remove BITFIELD.
14460         (grokdeclarator): Take bitfield width as an input.
14461         Ensure bitfields are given the correct type.  Perform
14462         bitfield width validation with build_bitfield_integer_type
14463         rather than waiting for finish_struct.
14464         (grok_typename, grok_typename_in_parm_context, start_decl,
14465         push_parmdecl, grokfield, start_function): Update calls to
14466         grokdeclarator.
14467         (build_bitfield_integer_type): New function.
14468         (finish_struct): Move bitfield validation to grokdeclarator
14469         and build_bitfield_integer_type.
14470         * tree.c (build_nonstandard_integer_type): New function.
14471         * tree.h (build_nonstandard_integer_type): New prototype.
14472 objc:
14473         * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
14474
14475 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
14476
14477         PR other/1502:
14478         * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
14479         don't ignore unrecognized -W* options.
14480         (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
14481         * cpplib.h (cpp_handle_option): Adjust prototype.
14482         * c-decl.c (c_decode_options): Pass 0 as last argument to
14483         cpp_handle_option.
14484
14485         PR c/2896:
14486         * gcc.c (cpp_unique_options): Split from cpp_options.
14487         (cpp_options): Source cpp_unique_options.
14488         (default_compilers): Use cpp_unique_options instead of cpp_options
14489         when used together with cc1_options.
14490         (static_specs): Add cpp_unique_options.
14491         * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
14492         when used together with cc1_options.
14493
14494 2002-01-29  Kazu Hirata  <kazu@hxi.com>
14495
14496         * config/h8300/h8300-protos.h: Update the prototype of
14497         output_a_shift.
14498         * config/h8300/h8300.c (output_a_shift): Remove an unused
14499         argument 'insn'.  Remove redundant code.
14500         * config/h8300/h8300.md: Adust to the new prototype of
14501         output_a_shift.
14502
14503 2002-01-29  Kazu Hirata  <kazu@hxi.com>
14504
14505         * config/h8300/h8300-protos.h: Update the prototypes of
14506         emit_a_rotate and expand_a_rotate.
14507         * config/h8300/h8300.c (emit_a_rotate): Change the type of the
14508         first argument to 'enum rtx_code'.
14509         (expand_a_rotate): Likewise.
14510
14511 2002-01-28  Kazu Hirata  <kazu@hxi.com>
14512
14513         * config/h8300/h8300-protos.h: Update the prototype of
14514         output_simode_bld.
14515         * config/h8300/h8300.c (output_simode_bld): Remove an argumen
14516         'log2'.
14517         * config/h8300/h8300.md: Adjust to the new prototype.
14518
14519 2002-01-28  Kazu Hirata  <kazu@hxi.com>
14520
14521         * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
14522         redundant code.
14523
14524 2002-01-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14525
14526         * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
14527         is a fixed register before returning pic_offset_table_rtx.
14528         * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
14529         when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
14530
14531 2002-01-28  Jason Merrill  <jason@redhat.com>
14532
14533         * dwarf2.h: Sync with src version.
14534
14535 2002-01-28  Paul Koning  <pkoning@equallogic.com>
14536
14537         * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
14538         BT_FN_VOID_PTR_VAR.
14539         * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
14540         * doc/extend.texi (__builtin_prefetch): Update documentation:
14541         first argument is now const void ptr.
14542
14543 2002-01-28  Kazu Hirata  <kazu@hxi.com>
14544
14545         * config/h8300/h8300-protos.h: Remove an unused prototype.
14546
14547 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
14548
14549         * toplev.c (lang_independent_init): Round up identifier size.
14550
14551 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
14552
14553         * config.gcc: Revert previous change.
14554
14555 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
14556
14557         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
14558
14559 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
14560
14561         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
14562         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
14563         other non-elf netbsd config frags.
14564         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
14565         collect2 will does that.
14566         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
14567         shared-lib frobbing will work.
14568
14569 2002-01-28  Kazu Hirata  <kazu@hxi.com>
14570
14571         * config/h8300/h8300.h: Fix formatting.
14572         * config/h8300/h8300.md: Likewise.
14573
14574 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
14575
14576         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
14577         the old, removed AAA_standards fix.
14578         * fixinc/fixincl.x: Rebuilt.
14579
14580 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
14581
14582         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
14583         atexit call in crtbegin, hooked in after call to frame_dummy;
14584         register EH before registering __fini__start.
14585
14586 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
14587
14588         * config/rs6000/altivec.h: Remove spurious semicolons.
14589
14590 2002-01-27  Kazu Hirata  <kazu@hxi.com>
14591
14592         * config/h8300/h8300.md: Replace dead bit extraction patterns
14593         with ones that work.
14594
14595 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14596
14597         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
14598         if not STRICT_ALIGNMENT.
14599         * rtl.h (MEM_ALIGN): Likewise.
14600
14601 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
14602
14603         * doc/invoke.texi (-fdump-translation-unit): Revert this
14604         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
14605
14606 2002-01-27  Kazu Hirata  <kazu@hxi.com>
14607
14608         * config/h8300/h8300.md (define_constants): New.
14609         (anonymous patterns) Use defined constants appropriately.
14610
14611 2002-01-27  Kazu Hirata  <kazu@hxi.com>
14612
14613         * config/h8300/h8300.c (function_arg): Remove redundant code.
14614
14615 2002-01-26  Richard Henderson  <rth@redhat.com>
14616
14617         * sched-deps.c (reg_pending_uses_head): New.
14618         (reg_pending_barrier): Rename from reg_pending_sets_all.
14619         (find_insn_list): Don't mark inline.
14620         (find_insn_mem_list): Remove.
14621         (add_dependence_list, add_dependence_list_and_free): New.
14622         (flush_pending_lists): Replace only_write param with separate
14623         for_read and for_write parameters.  Update all callers.  Use
14624         add_dependence_list_and_free.
14625         (sched_analyze_1): Do not add reg dependencies here; just set
14626         the pending bits.  Use add_dependence_list.
14627         (sched_analyze_2): Likewise.
14628         (sched_analyze_insn): Replace schedule_barrier_found with
14629         reg_pending_barrier.  Add all dependencies for pending reg
14630         uses, sets, and clobbers.
14631         (sched_analyze): Don't add reg dependencies for calls, just
14632         set pending bits.  Use regs_invalidated_by_call.  Treat
14633         sched_before_next_call as a normal list, not a fake insn.
14634         (init_deps): No funny init for sched_before_next_call.
14635         (free_deps): Free pending mems lists.  Don't zero reg_last.
14636         (init_deps_global): Init reg_pending_uses.
14637         (finish_deps_global): Free it.
14638         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
14639         (find_insn_mem_list): Remove.
14640         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
14641         (propagate_deps): Use them.  Zero temp mem lists.
14642
14643 2002-01-26  Richard Henderson  <rth@redhat.com>
14644
14645         * Makefile.in (CRTSTUFF_CFLAGS): New.
14646         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
14647         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
14648         crtstuff.c instead of alpha assembly version.
14649         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
14650         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
14651         not FORCE_{INIT,FINI}_SECTION_ALIGN.
14652         (__do_global_dtors_aux): Mark used.
14653         (frame_dummy, __do_global_ctors_aux): Mark used.
14654         (fini_dummy, init_dummy): Remove.
14655
14656         * config/alpha/crtbegin.asm: Remove file.
14657         * config/alpha/crtend.asm: Remove file.
14658         * config/alpha/t-crtbe: Remove file.
14659         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
14660         (LINK_EH_SPEC): New.
14661
14662         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
14663         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
14664         calling constructors.
14665         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
14666
14667         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
14668         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
14669         CRT_END_INIT_DUMMY hack.
14670         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
14671         FORCE_{INIT,FINI}_SECTION_ALIGN.
14672
14673         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
14674         FORCE_{INIT,FINI}_SECTION_ALIGN.
14675
14676         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
14677         invocation sequence.
14678         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
14679
14680         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
14681         (FORCE_CODE_SECTION_ALIGN): New.
14682
14683 2002-01-26  Richard Henderson  <rth@redhat.com>
14684
14685         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
14686
14687 2002-01-26  Richard Henderson  <rth@redhat.com>
14688
14689         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
14690         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
14691
14692 2002-01-26  Kazu Hirata  <kazu@hxi.com>
14693
14694         * config/h8300/h8300.md: Remove bit extraction patterns that
14695         cannot be triggered.
14696         Restrict each bit extraction pattern to a variant on which the
14697         pattern is tested.
14698
14699 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
14700
14701         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
14702
14703 2002-01-26  Kazu Hirata  <kazu@hxi.com>
14704
14705         * config/h8300/h8300.md: Remove bit test patterns that cannot
14706         be triggered.
14707         Restrict each bit test pattern to a variant on which the
14708         pattern is tested.
14709
14710 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14711
14712         * builtins.c (expand_builtin_strncat): Remove redundant check for
14713         INTEGER_CST.
14714
14715 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
14716
14717         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
14718         default setting.
14719         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
14720         existing setting.
14721
14722 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
14723
14724         * dbxout.c (dbxout_init): Use assemble_name rather than just
14725         stripping off the first character.
14726         (dbxout_source_file): Likewise.
14727
14728 2002-01-25  DJ Delorie  <dj@redhat.com>
14729
14730         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
14731         using rtx_equal_p, not by comparing pointers.
14732
14733 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
14734
14735         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
14736         for PIC_OFFSET_TABLE_REGNUM.
14737         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
14738
14739 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
14740
14741         * config.gcc (x86_64-*-freebsd*): New target.
14742         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
14743         value.
14744         (i[34567]86-*-freebsd*): Don't include svr4.h.
14745         * config/i386/freebsd64.h: New file.
14746
14747 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
14748
14749         * config/alpha/x-vms (version): Make static.
14750
14751         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
14752         in previous checkin.
14753
14754         * Makefile.in (install-headers-cp): New target.
14755         * config.gcc (alpha-dec-*vms*): Install headers with
14756         install-headers-cp
14757
14758 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
14759
14760         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
14761         avoid it's copies.
14762
14763 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14764
14765         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
14766         of compare_tree_int.
14767         (expand_builtin_strncat): Likewise.
14768         * c-decl.c (finish_struct): Use tree_low_cst.
14769         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
14770         * tree.c (compare_tree_int): Likewise.
14771
14772 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
14773
14774         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
14775         adjustments even if they are implemented by more than two insns.
14776
14777 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
14778
14779         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
14780         * df.h (struct ref): Kill B.
14781         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
14782
14783         * basic-block.h (PROP_EQUAL_NOTES): New flag.
14784         * flow.c (propagate_one_insn): Use it.
14785         (mark_used_regs): Handle NIL.
14786
14787 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
14788
14789         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
14790         to help folding.
14791
14792 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
14793
14794         * rs6000.md (prefetch): Make address V4SI mode so that the address
14795         is restricted to legitimate form for instruction.
14796
14797 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
14798
14799         * doc/install.texi (xtensa-*-elf): New target.
14800         (xtensa-*-linux*): New target.
14801         * doc/contrib.texi: Add myself.
14802
14803 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
14804
14805         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
14806         purpose register to hold an SImode (or smaller) value.
14807
14808 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
14809
14810         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
14811         registry only.
14812         * crtstuff.c: Likewise.
14813
14814 2002-01-25  Kazu Hirata  <kazu@hxi.com>
14815
14816         * config/h8300/h8300.md (negation patterns): Tighten
14817         predicates to register_operand.
14818
14819 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
14820
14821         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
14822         mode, not Pmode.
14823
14824         * builtins.c (expand_builtin_prefetch): Same.
14825
14826 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
14827
14828         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
14829         modes.
14830
14831 2002-01-24  Kazu Hirata  <kazu@hxi.com>
14832
14833         * config/h8300/h8300.c (print_operand): Remove support for
14834         operand character 'A'.
14835         * config/h8300/h8300.md (three anonymous patterns): Replace
14836         operand character 'A' with either 'T' or 'S'.
14837
14838 2002-01-24  Kazu Hirata  <kazu@hxi.com>
14839
14840         * config/h8300/h8300.c (print_operand): Remove support for
14841         operand character 'U'.
14842
14843 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
14844
14845         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
14846
14847 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
14848
14849         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
14850         values to be assigned to the stack pointer.
14851
14852 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
14853
14854         * emit_rtl.c (gen_lowpart_common): Conversion from const_int
14855         to const_double needs to be done right for big-endian systems.
14856
14857 2002-01-24  Jason Merrill  <jason@redhat.com>
14858
14859         PR c++/2432
14860         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
14861         to can_throw_internal.
14862
14863 2002-01-23  Richard Henderson  <rth@redhat.com>
14864
14865         * fold-const.c (fold): Change UINT_MAX test to check vs precision
14866         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
14867
14868 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
14869
14870         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
14871         (symGOT2reg): Use them, then set as GOT value as unchanging.
14872         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
14873         as a temporary, if possible.
14874         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
14875         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
14876
14877 2002-01-23  Kazu Hirata  <kazu@hxi.com>
14878
14879         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
14880         accept to accept 0x80 as operands[2].
14881
14882 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
14883
14884         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
14885
14886 2002-01-23  Richard Henderson  <rth@redhat.com>
14887
14888         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
14889
14890 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
14891
14892         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
14893         (parmlist_or_identifiers_1): Verify that only a parmlist follows
14894         an attribute.
14895
14896 2002-01-23  Richard Henderson  <rth@redhat.com>
14897
14898         * expr.c (move_by_pieces_1): Extend size before negation.
14899
14900         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
14901         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
14902         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
14903         * config/m68k/t-m68kelf: Likewise.
14904
14905 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
14906
14907         * config/xtensa/elf.h: New file.
14908         * config/xtensa/lib1funcs.asm: New file.
14909         * config/xtensa/lib2funcs.S: New file.
14910         * config/xtensa/linux.h: New file.
14911         * config/xtensa/t-xtensa: New file.
14912         * config/xtensa/xtensa-config.h: New file.
14913         * config/xtensa/xtensa-protos.h: New file.
14914         * config/xtensa/xtensa.c: New file.
14915         * config/xtensa/xtensa.h: New file.
14916         * config/xtensa/xtensa.md: New file.
14917         * config.gcc (xtensa-*-elf*): New target.
14918         (xtensa-*-linux*): New target.
14919         * cse.c (canon_hash): Compare rtx pointers instead of register
14920         numbers.  This is required for the Xtensa port.
14921         * integrate.c (copy_insn_list): Handle case where the static
14922         chain is in memory and the memory address has to be copied to
14923         a register.
14924         * doc/invoke.texi (Option Summary): Add Xtensa options.
14925         (Xtensa Options): New node.
14926         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
14927
14928 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
14929
14930         * diagnostic.c (internal_error): Do ICE suppression only
14931         when ENABLE_CHECKING is not defined.
14932
14933         * c-typeck.c (require_complete_type): Return error_mark_node
14934         if type is error_mark_node.
14935
14936 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
14937
14938         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
14939         -Os and issue a warning.
14940
14941 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
14942
14943         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
14944         current (lack of) need for host configuration by hand.
14945
14946         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
14947         references.  Documentation of some target macros moved from
14948         hostconfig.texi to tm.texi.
14949
14950 2002-01-23  Will Cohen  <wcohen@redhat.com>
14951
14952         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
14953         defined.
14954
14955 2002-01-23  Kazu Hirata  <kazu@hxi.com>
14956
14957         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
14958         operand[3].
14959
14960 2002-01-23  Jason Merrill  <jason@redhat.com>
14961
14962         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
14963
14964         * function.c (assign_parms): Don't put args of inline functions
14965         into registers when not optimizing.
14966
14967 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
14968
14969         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
14970         (prologue_use): New pattern.
14971         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
14972         preference to gen_rtx_USE.
14973         (thumb_expand_prologue): Use gen_prologue_use in preference to
14974         gen_rtx_USE.
14975         (thumb_expand_epilogue): Use gen_prologue_use in preference to
14976         gen_rtx_USE.
14977
14978 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
14979
14980         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
14981
14982 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
14983
14984         PR c/3504
14985         * doc/extend.texi: Correct documentation of __alignof__.
14986
14987 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
14988
14989         * params.h: Rename arguments of DEFPARAM so that it will be
14990         recognized as a translation keyword.
14991
14992 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
14993
14994         * extend.texi: Document altivec functions.
14995         Fix N-bit adjectives in X86 builtin documentation.
14996
14997 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
14998
14999         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
15000         auto_inc_dec values.
15001
15002 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
15003
15004         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
15005         after backslash.
15006         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
15007
15008 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
15009
15010         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
15011
15012 2002-01-22  Richard Henderson  <rth@redhat.com>
15013
15014         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
15015         copy_insn not copy_rtx.
15016
15017 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
15018
15019         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
15020         "nonzero" as that might add "1" bits.  Ensure "constop" is
15021         properly sign extened.
15022         (force_to_mode): Tweak for sign extended constop.
15023
15024 2002-01-22  Richard Henderson  <rth@redhat.com>
15025
15026         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
15027         for_each_rtx instead of assuming we're already looking at the MEM.
15028         (split_small_symbolic_mem_operand): Likewise.
15029         * config/alpha/alpha.h (PREDICATE_CODES): Update.
15030         * config/alpha/alpha.md (small symbolic memory splitters): Update.
15031
15032 2002-01-22  Richard Henderson  <rth@redhat.com>
15033
15034         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
15035         sequence number for the literal.
15036         (divmoddi_internal_er): Likewise.
15037
15038 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15039
15040         PR java/4972
15041         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
15042         in LIBICONV variable.
15043         * configure: Regenerated.
15044
15045 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
15046
15047         * dependence.c (build_def_use): Remove array_idx.
15048
15049         * dwarfout.c (last_filename): Remove.
15050         (output_compile_unit_die): Remove last_filename.
15051
15052 2002-01-22  Roger Sayle  <roger@eyesopen.com>
15053             Richard Henderson  <rth@redhat.com>
15054
15055         PR opt/3640
15056         * fold-const.c (fold): Optimize unsigned comparisons against
15057         UINT_MAX (and similar unsigned constants).
15058
15059 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
15060
15061         * Makefile.in (loop.o): Depend on OPTABS_H.
15062         * loop.c (emit_prefetch_instructions): Check the prefetch operand
15063         against the predicate.
15064
15065         PR target/5379
15066         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
15067         for the address operand.
15068
15069 2002-01-22  Richard Henderson  <rth@redhat.com>
15070
15071         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
15072
15073 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15074
15075         PR other/5450
15076         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
15077         preprocessor flags.
15078
15079 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
15080
15081         * config.gcc (x86_64-*-netbsd*): New target.
15082         * config/i386/netbsd64.h: New file.
15083
15084 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
15085
15086         * regrename.c (kill_value): Fix typo.
15087
15088 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
15089
15090         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
15091
15092         * config/rs6000/rs6000.h: Same.
15093
15094         * function.c (instantiate_virtual_regs): Remove
15095         STARTING_FRAME_PHASE.
15096         (assign_stack_local_1): Same.
15097         Calculate frame phase.
15098
15099 2002-01-22  Nick Clifton  <nickc@redhat.com>
15100
15101         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
15102         variable declaration to outer scope in order to simplify
15103         future extensions.
15104         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
15105         arm_hard_regno_mode_ok.
15106         * config/arm/arm-protos.h: Add a prototype for
15107         arm_hard_regno_mode_ok.
15108         * config/arm/arm.c (soft_df_operand): Remove now redundant
15109         check for DImode values using IP_REGNUM.
15110         (nonimmediate_soft_df_operand): Remove now redundant check for
15111         DImode values using IP_REGNUM.
15112         (arm_hard_regno_mode_ok): New function. New check: make sure
15113         that DImode values are not stored in IP_REGNUM.
15114
15115         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
15116         note with a USE.
15117         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
15118
15119 2002-01-22  Jason Merrill  <jason@redhat.com>
15120
15121         * c-semantics.c (genrtl_compound_stmt): Only check nesting
15122         consistency if this COMPOUND_STMT is scoped.
15123
15124 2002-01-22  Kazu Hirata  <kazu@hxi.com>
15125
15126         * predict.c: Fix formatting.
15127         * print-tree.c: Likewise.
15128         * protoize.c: Likewise.
15129         * real.h: Likewise.
15130         * rtl.h: Likewise.
15131         * sbitmap.h: Likewise.
15132         * scan.c: Likewise.
15133         * sched-deps.c: Likewise.
15134         * sched-vis.c: Likewise.
15135         * sdbout.c: Likewise.
15136         * sibcall.c: Likewise.
15137         * ssa.c: Likewise.
15138         * ssa-ccp.c: Likewise.
15139         * ssa-dce.c: Likewise.
15140         * stmt.c: Likewise.
15141         * stor-layout.c: Likewise.
15142         * system.h: Likewise.
15143
15144 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15145
15146         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
15147         if fits in bounds of base type.
15148
15149         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
15150         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
15151         (add_bound_info, default): If can't find a context, make a
15152         SAVE_EXPR.
15153         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
15154
15155 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
15156
15157         * c-typeck.c (parser_build_binary_op): If result from
15158         build_binary_op is ERROR_MARK just return error_mark_node without
15159         further processing.
15160
15161 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
15162
15163         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
15164         Split a.out-specific bits into...
15165         * config/netbsd-aout.h: ...this.
15166         * config/netbsd-elf.h: New file.
15167         * config/alpha/netbsd-elf.h: Remove.
15168         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
15169         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
15170         (STARTFILE_SPEC): Remove redundant definition.
15171         (ENDFILE_SPEC): Likewise.
15172         (LINK_SPEC): Likewise.
15173         (CPP_SPEC): Likewise.
15174         (ASM_SPEC): Likewise.
15175         (LIB_SPEC): Likewise.
15176         (SWITCH_TAKES_ARG): Likewise.
15177         (TARGET_MEM_FUNCTIONS): Likewise.
15178         (CPP_PREDEFINES): Redefine.
15179         (ASM_FINAL_SPEC): Remove redefinition.
15180         (ASM_COMMENT_START): Redefine.
15181         (FUNCTION_PROFILER): Define.
15182         (TARGET_VERSION): Redefine.
15183         Comment and formatting cleanup.
15184         * config/i386/netbsd.h: Include <netbsd-aout.h>.
15185         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
15186         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
15187         big- or little-endian.
15188         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
15189         * config.gcc (*-*-netbsd*): Add definitions common to all
15190         NetBSD configs.
15191         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
15192         gnu_ld definitions.  Add netbsd-elf.h to and remove
15193         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
15194         tmake_file, and don't lose previous tmake_file contents.
15195         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
15196         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
15197         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
15198         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
15199         (mipsel-*-netbsd*): Rename this to...
15200         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
15201         mips/little.h to tm_file for mips*el-*.
15202         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
15203         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
15204         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
15205
15206 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15207
15208         * pa-protos.h (reg_before_reload_operand): New function prototype.
15209         * pa.c (reg_before_reload_operand): New function implementation.
15210         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
15211         contraints to "*m".
15212
15213 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15214
15215         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
15216
15217 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15218
15219         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
15220         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
15221         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
15222         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
15223         (ENDFILE_SPEC): Undefine.
15224         (STARTFILE_SPEC): Redefine for PA.
15225
15226 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15227
15228         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
15229
15230 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
15231
15232         * config.gcc: Add entries to supported PowerPC --with-cpu
15233         types.
15234
15235 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
15236
15237         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
15238         true for 64-bit mode only SSE registers in 32-bit mode.
15239
15240 2002-01-21  Kazu Hirata  <kazu@hxi.com>
15241
15242         * unwind-dw2.c: Fix formatting.
15243         * unwind-dw2-fde.c: Likewise.
15244         * unwind-dw2-fde.h: Likewise.
15245         * unwind-pe.h: Likewise.
15246         * varasm.c: Likewise.
15247         * varray.h: Likewise.
15248
15249 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
15250
15251         Remove workaround for register stack overwrite bug in mmix.
15252         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
15253         support for TARGET_REG_STACK_FILL_BUG.
15254         * config/mmix/mmix.h: Remove member has_call_without_parameters.
15255         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
15256         Delete.
15257         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
15258         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
15259         -mno-reg-stack-fill-bug-workaround.
15260         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
15261         machine member has_call_without_parameters.
15262         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
15263         -mreg-stack-fill-bug-workaround and
15264         -mno-reg-stack-fill-bug-workaround.
15265         (MMIX Options): Ditto.
15266
15267 2002-01-21  Kazu Hirata  <kazu@hxi.com>
15268
15269         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
15270         as appropriate.
15271         Remove redundant code.
15272
15273 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
15274
15275         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
15276         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
15277         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
15278         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
15279         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
15280         out target macro definitions and non-target-specific comments
15281         mostly taken from old versions of the manual.
15282
15283 2002-01-20  Kazu Hirata  <kazu@hxi.com>
15284
15285         * config/h8300/h8300.h: Fix comment formatting.
15286         * config/ia64/aix.h: Likewise.
15287         * config/ia64/ia64-protos.h: Likewise.
15288         * config/ia64/ia64.c: Likewise.
15289         * config/ia64/ia64.h: Likewise.
15290         * config/ia64/ia64intrin.h: Likewise.
15291         * config/ia64/linux.h: Likewise.
15292         * config/ia64/unwind-aix.c: Likewise.
15293         * config/ia64/unwind-ia64.c: Likewise.
15294
15295 2002-01-20  Kazu Hirata  <kazu@hxi.com>
15296
15297         * config/h8300/h8300.c: Revise comments about shift code.
15298
15299 2002-01-20  Kazu Hirata  <kazu@hxi.com>
15300
15301         * config/h8300/h8300.c (function_arg): Update a comment.
15302
15303 2002-01-20  Kazu Hirata  <kazu@hxi.com>
15304
15305         * config/h8300/h8300.md: Update the comments at the beginning
15306         of the file.
15307
15308 2002-01-20  Kazu Hirata  <kazu@hxi.com>
15309
15310         * config/i370/i370.c: Fix comment formatting.
15311         * config/i370/i370.h: Likewise.
15312         * config/i370/i370.md: Likewise.
15313         * config/i370/linux.h: Likewise.
15314
15315 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15316
15317         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
15318
15319         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
15320         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
15321         in incomplete case.
15322
15323 2002-01-20  Graham Stott  <grahams@redhat.com>
15324
15325         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
15326
15327 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15328
15329         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
15330
15331 2002-01-19  Tom Rix  <trix@redhat.com>
15332
15333         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
15334
15335 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
15336
15337         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
15338
15339         * function.c (assign_stack_local_1): Adjust x_frame_offset with
15340         STARTING_FRAME_PHASE.
15341         (STARTING_FRAME_PHASE): New.
15342         (instantiate_virtual_regs): Check saneness of
15343         STARTING_FRAME_PHASE.
15344
15345         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
15346
15347 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
15348
15349         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
15350
15351 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15352
15353         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
15354         be used for bootstrapping GCC 3.0.
15355
15356 2002-01-18  Kazu Hirata  <kazu@hxi.com>
15357
15358         * config/h8300/h8300.md: Fix an insn length.
15359
15360 2002-01-18  Kazu Hirata  <kazu@hxi.com>
15361
15362         * bitmap.h: Fix comment formatting.
15363         * combine.c: Likewise.
15364         * cppfiles.c: Likewise.
15365         * c-pragma.h: Likewise.
15366         * c-typeck.c: Likewise.
15367         * df.c: Likewise.
15368         * dwarf2out.c: Likewise.
15369         * function.c: Likewise.
15370         * gcc.c: Likewise.
15371         * genattrtab.c: Likewise.
15372         * gthr-win32.h: Likewise.
15373         * haifa-sched.c: Likewise.
15374         * predict.c: Likewise.
15375         * rtlanal.c: Likewise.
15376         * rtl.h: Likewise.
15377         * unwind-dw2-fde.h: Likewise.
15378         * unwind-pe.h: Likewise.
15379         * vmsdbgout.c: Likewise.
15380
15381 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15382
15383         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
15384         if type_required and passed decl.
15385
15386 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
15387
15388         * config.gcc (cpu_type): Include altivec.h in powerpc
15389         extra_headers.
15390         Same for darwin.
15391
15392         * config/rs6000/altivec.h: New.
15393
15394 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
15395
15396         * doc/install.texi (*-ibm-aix*): Update assembler and exception
15397         handling information.
15398         * doc/trouble.texi (Interoperation): Add libstdc++ information
15399         for AIX.
15400         (Misunderstandings): Add template instantiation and static template
15401         member information for AIX.
15402
15403 2002-01-17  Jason Merrill  <jason@redhat.com>
15404
15405         * dbxout.c (dbxout_type): Support const and volatile.
15406
15407         * except.c (add_partial_entry): Remove backwards compatibility code.
15408         (end_protect_partials): Likewise.
15409
15410 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
15411
15412         * config/ia64/ia64.md (prologue_use): New.
15413         * config/ia64/ia64.c (ia64_expand_prologue): Use
15414         gen_prologue_use instead of gen_rtx_USE.
15415         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
15416         as CODE_FOR_pred_rel_mutex.
15417         (ia64_sched_reorder2): Likewise.
15418
15419 2002-01-16  Eric Christopher  <echristo@redhat.com>
15420
15421         * config/mips/r3900.h: Reformat.
15422         (SUBTARGET_CPP_SIZE_SPEC): Remove.
15423         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
15424         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
15425         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
15426         * config/mips/t-elf: Remove mips3 multilib.
15427
15428 2002-01-16  H.J. Lu <hjl@gnu.org>
15429
15430         * config/mips/linux.h: Include "mips/abi64.h".
15431
15432 2002-01-16  H.J. Lu <hjl@gnu.org>
15433
15434         * config/mips/t-linux: New.
15435
15436         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
15437
15438         * config/mips/linux.h: Don't include "gofast.h".
15439         (INIT_SUBTARGET_OPTABS): Removed.
15440
15441 2002-01-16  Kazu Hirata  <kazu@hxi.com>
15442
15443         * config/h8300/h8300-protos.h: Replace emit_a_shift with
15444         output_a_shift.
15445         * config/h8300/h8300.c: Likewise.
15446         * config/h8300/h8300.md: Likewise.
15447
15448 2002-01-16  Kazu Hirata  <kazu@hxi.com>
15449
15450         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
15451         spaces after an opcode name.
15452         (pushqi1_h8300hs): Likewise.
15453         (pushhi1_h8300hs): Likewise.
15454
15455 2002-01-16  Kazu Hirata  <kazu@hxi.com>
15456
15457         * doc/extend.texi: Replace "option" with "attribute"
15458         appropriately.
15459
15460 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
15461
15462         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
15463         (and:DI () (const_int -8)).
15464         (split_small_symbolic_mem_operand): Split
15465         (mem (and:DI () (const_int -8)).
15466
15467 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
15468
15469         PR target/5309:
15470         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
15471         same way as TYPE_IMUL.
15472         (ultrasparc_sched_reorder): Likewise.
15473         * config/sparc/sparc.md (type): Add comment to update
15474         ultrasparc_sched_reorder when making changes.
15475
15476 2002-01-16  Kazu Hirata  <kazu@hxi.com>
15477
15478         * doc/invoke.texi: Change the dump file name of block
15479         reordering pass from 28.bbro to 29.bbro.
15480         Mention -dk option.
15481
15482 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
15483
15484         * i386.md (minsf splitter): Fix pasto.
15485
15486 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
15487
15488         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
15489         to frame pointer initialisation instruction.
15490         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
15491         initialisation instruction.
15492         (soft_df_operand): Do not accept the IP register.
15493         (nonimmediate_soft_df_operand): Do not accept the IP register.
15494
15495 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
15496
15497         PR target/5357:
15498         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
15499         MASK_V8 being both set.
15500
15501 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
15502
15503         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
15504         insn for GOT register; add REG_MAYBE_DEAD notes instead.
15505         config/s390/s390.md (call, call_value): Add GOT register to
15506         CALL_INSN_FUNCTION_USAGE where needed.
15507         (call_exp, call_value_exp): New.
15508
15509 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
15510
15511         * config/arm/arm.c: General formatting tidy up.
15512
15513 2002-01-16  Graham Stott  <grahams@redhat.com>
15514
15515         * calls.c (try_to_integrate): Use "(size_t)" intermediate
15516         cast and when casting an integer literal to "rtx" pointer.
15517         (expand_call): Likewise.
15518         * flow.c (try_pre_increment): Likewise.
15519         (find_use_as_address): Likewise.
15520         * integrate.c (expand_iline_function): Likewise.
15521         * regmove.c (try_auto_increment): Likewise.
15522
15523 2002-01-16  Graham Stott  <grahams@redhat.com>
15524
15525         * sched-rgn.c (passed): Use sbitmap_free.
15526         (header): Likewise.
15527         (inner): Likewise.
15528         (in_queue): Likewise.
15529         (in_stack): Likewise.
15530
15531 2002-01-15  Eric Christopher  <echristo@redhat.com>
15532
15533         * flow.c (propagate_one_insn): Change to use fatal_insn.
15534
15535 2002-01-15  Kazu Hirata  <kazu@hxi.com>
15536
15537         * expmed.c (extract_fixed_bit_field): Remove unused code.
15538         * system.h: Poison SLOW_ZERO_EXTEND.
15539         * doc/tm.texi: Remove.
15540         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
15541         * config/arm/arm.h: Likewise.
15542         * config/avr/avr.h: Likewise.
15543         * config/clipper/clipper.h: Likewise.
15544         * config/convex/convex.h: Likewise.
15545         * config/d30v/d30v.h: Likewise.
15546         * config/dsp16xx/dsp16xx.h: Likewise.
15547         * config/elxsi/elxsi.h: Likewise.
15548         * config/fr30/fr30.h: Likewise.
15549         * config/h8300/h8300.h: Likewise.
15550         * config/i370/i370.h: Likewise.
15551         * config/i386/i386.h: Likewise.
15552         * config/m68k/m68k.h: Likewise.
15553         * config/mips/mips.h: Likewise.
15554         * config/ns32k/ns32k.h: Likewise.
15555         * config/pdp11/pdp11.h: Likewise.
15556         * config/pj/pj.h: Likewise.
15557         * config/s390/s390.h: Likewise.
15558         * config/sh/sh.h: Likewise.
15559         * config/stormy16/stormy16.h: Likewise.
15560         * config/v850/v850.h: Likewise.
15561         * config/vax/vax.h: Likewise.
15562         * config/we32k/we32k.h: Likewise.
15563
15564 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
15565
15566         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
15567         (altivec_lvsl): Change constraint to b.
15568         (altivec_lvsr): Same.
15569         (altivec_lvebx): Same.
15570         (altivec_lvehx): Same.
15571         (altivec_lvewx): Same.
15572         (altivec_lvxl): Same.
15573         (altivec_lvx): Same.
15574         (altivec_stvx): Add parallel.
15575         (altivec_stvxl): Same.
15576         (altivec_stvehx): Same.
15577         (altivec_stvebx): Same.
15578         (altivec_stvebx): Same.
15579
15580 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
15581
15582         * config.gcc: Change altivec.h to altivec-defs.h.
15583
15584         * config/rs6000/altivec.h: Delete.
15585
15586         * config/rs6000/altivec-defs.h: Add.
15587
15588 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15589
15590         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
15591         and UMOD modes.
15592
15593         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
15594         less than or equal to eight bytes.
15595
15596         * vax.md (andsi3): Remove constraints and change SET destination
15597         operand type to nonimmediate_operand.
15598         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
15599         when it is a CONST_INT.
15600
15601 2002-01-15  Jason Merrill  <jason@redhat.com>
15602
15603         * c-common.def (FILE_STMT): New code.
15604         * c-common.c (statement_code_p): It's a statement.
15605         * c-common.h (stmt_tree_s): Add x_last_filename.
15606         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
15607         (last_expr_filename): New macro.
15608         * c-semantics.c (begin_stmt_tree): Initialize it.
15609         (add_stmt): If the filename changed, also insert a
15610         FILE_STMT.
15611         (expand_stmt): Handle seeing one.
15612
15613 2002-01-15  Eric Christopher  <echristo@redhat.com>
15614
15615         * flow.c (propagate_one_insn): Add error message and print out
15616         insn for debugging.
15617
15618 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
15619
15620         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
15621         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
15622         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
15623         TRAMPOLINE_ALIGNMENT.
15624         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
15625         to be in bits.
15626         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
15627         PCC_BITFIELD_TYPE_MATTERS.
15628         * config/interix.h (STDC_VALUE): Remove.  Use
15629         STDC_0_IN_SYSTEM_HEADERS.
15630         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
15631         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
15632         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
15633
15634 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15635
15636         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
15637         not work on this platform currently.
15638
15639 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
15640
15641         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
15642         readonly_warning in _().
15643
15644 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
15645
15646         * gcc.c (delete_if_ordinary): Backout previous change.
15647
15648 2002-01-15  Kazu Hirata  <kazu@hxi.com>
15649
15650         * config/h8300/h8300.c (print_operand): Remove support for
15651         unused operand characters.
15652
15653         * read-rtl.c: Fix formatting.
15654         * real.c: Likewise.
15655         * recog.c: Likewise.
15656         * regclass.c: Likewise.
15657         * regmove.c: Likewise.
15658         * reg-stack.c: Likewise.
15659         * reload1.c: Likewise.
15660         * rtlanal.c: Likewise.
15661
15662 2002-01-15  Kazu Hirata  <kazu@hxi.com>
15663
15664         * config/i386/i386.c: Fix formatting.
15665
15666 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
15667
15668         * c-typeck.c (process_init_element): Don't save_expr
15669         COMPOUND_LITERAL_EXPR if just its initializer will be used.
15670
15671 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
15672
15673         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
15674         emit optional traceback table if optimize_size or TARGET_ELF.
15675         * config/rs6000/rs6000.md (prefetch): New.
15676
15677 2002-01-15  Andreas Jaeger  <aj@suse.de>
15678
15679         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
15680
15681 2002-01-15  Kazu Hirata  <kazu@hxi.com>
15682
15683         * mips-tfile.c: Fix formatting.
15684
15685 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
15686
15687         * unroll.c (final_reg_note_copy): Fix previous commit.
15688
15689 2002-01-14  Kazu Hirata  <kazu@hxi.com>
15690
15691         * config/h8300/h8300-protos.h: Remove the prototype for
15692         eq_operator.
15693         * config/h8300/h8300.c (eq_operator): Remove.
15694
15695 2002-01-14  Richard Henderson  <rth@redhat.com>
15696
15697         * config/i386/i386.md (prefetch): Tidy.
15698         (prefetch_3dnow): Fix locality operand.
15699
15700 2002-01-14  Richard Henderson  <rth@redhat.com>
15701
15702         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
15703         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
15704
15705 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
15706
15707         * reload1.c (reload_combine): Pass reg_sum replacement through
15708         copy_rtx in loop performing multiple changes.
15709
15710 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
15711
15712         * except.c (remove_unreachable_regions): New.
15713         (free_eh_status): Clear exception_handler_labels.
15714         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
15715         (find_exception_handler_labels): Don't add the same label more than
15716         once.
15717         (remove_exception_handler_label): Don't die if
15718         find_exception_handler_labels hasn't been called for the current
15719         function yet.
15720
15721 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
15722
15723         * toplev.c (rest_of_compilation): Rebuild jump labels after
15724         gcse.
15725
15726 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
15727
15728         * doc/extend.texi: Move documentation of X86 built-in functions
15729         here.
15730         * doc/invoke.texi: From here.
15731         * doc/sourcebuild.texi: Document location of documentation for
15732         machine built-in functions.
15733
15734 2002-01-13  Christopher Faylor  <cgf@redhat.com>
15735
15736         * cppfiles.c (TEST_THRESHOLD): New macro.
15737         (SHOULD_MMAP): Ditto.
15738         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
15739         be used.
15740
15741 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
15742
15743         * unroll.c (final_reg_note_copy): Properly handle
15744         REG_LABEL
15745         (unroll_loops): Fix LOOP_CONDITION heuristics.
15746
15747 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
15748
15749         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
15750         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
15751
15752 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
15753
15754         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
15755         threaded loop.
15756
15757 2002-01-14  Tom Rix  <trix@redhat.com>
15758
15759         * config/rs6000/rs6000.md: Fix typo with sradi.
15760
15761 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
15762
15763         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
15764         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
15765         (clrstrdi, clrstrsi): Adapt callers.
15766
15767         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
15768
15769         (movti splitter): Never use register 0 as base register.
15770
15771 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
15772
15773         * combine.c (simplify_shift_const): Always generate new rtx
15774         for shift expression instead of reusing given expression.
15775
15776 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15777
15778         * config/alpha/alpha.c (alpha_expand_mov): Don't call
15779         alpha_legitimize_address unless mode is Pmode.
15780
15781 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
15782
15783         * doc/md.texi (Modifiers): Document the '*' constraint for the
15784         user.
15785
15786         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
15787         * doc/extend.texi (Function Attributes): 'interrupt' is valid
15788         for xstormy16 too.
15789
15790 2002-01-13  Richard Henderson  <rth@redhat.com>
15791
15792         * reload.c (find_reloads): Use a hard reg destination as reload reg
15793         for an input reload of the source.
15794
15795 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15796
15797         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
15798         more generic.
15799
15800 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
15801
15802         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
15803         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
15804
15805         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
15806
15807 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15808
15809         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
15810
15811 2002-01-12  Tom Rix  <trix@redhat.com>
15812
15813         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
15814         TARGET_POWERPC64.
15815
15816 2002-01-12  Richard Henderson  <rth@redhat.com>
15817
15818         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
15819
15820         * doc/invoke.texi: Update Alpha options.
15821
15822         * doc/invoke.texi: Update i386 built-in function lists.
15823
15824 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
15825
15826         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
15827         referencing outside.
15828
15829 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15830
15831         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
15832         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
15833         offsets, and change line folding.
15834         * optabs.c (expand_binop): Remove warnings.
15835         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
15836
15837 2002-01-12  Graham Stott <grahams@redhat.com>
15838
15839         * attribs.c (handle_deprecated_attribute): constify WHAT.
15840         * diagnostic.c (warn_deprecated_use): Add braces, fixes
15841         dangling else warning and constify WHAT.
15842         * except.h (struct function, struct inline_remap): Move
15843         struct tag forward defs before all prototypes.
15844         (duplicate_eh_regions): Whitespace.
15845
15846 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
15847
15848         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
15849         MODE_BASE_REG_CLASS.
15850         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
15851
15852 2002-01-12  Richard Henderson  <rth@redhat.com>
15853
15854         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
15855         (ix86_expand_vector_move): New.
15856         (bdesc_2arg): Remove andps, andnps, orps, xorps.
15857         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
15858         Remove old prefetch builtins.  Special case the logicals removed above.
15859         (ix86_expand_builtin): Likewise.
15860         (safe_vector_operand): Use V4SFmode, not TImode.
15861         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
15862         (ix86_expand_timode_binop_builtin): New.
15863         * config/i386/i386-protos.h: Update.
15864         * config/i386/i386.h (enum ix86_builtins): Update.
15865         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
15866         Use ix86_expand_vector_move in vector move expanders.
15867         (movti_internal, movti_rex64): Add xorps alternative.
15868         (sse_clrv4sf): Rename and adjust from sse_clrti.
15869         (prefetch): Don't work so hard.
15870         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
15871         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
15872         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
15873
15874 2002-01-11  Richard Henderson  <rth@redhat.com>
15875
15876         * config/i386/mmintrin.h: New file.
15877         * config/i386/xmmintrin.h: New file.
15878         * config.gcc (i?86-*-*): Add extra_headers.
15879         * simplify-rtx.c (simplify_unary_operation): Handle saturating
15880         truncation codes.
15881         (simplify_binary_operation): Handle saturating arithmetic codes.
15882         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
15883         not the lowpart subreg.
15884         (ix86_expand_builtin): Return a TImode dummy register instead of 0
15885         on error.
15886         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
15887
15888 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15889
15890         * conflict.c (conflict_graph_compute): Free regsets when finished.
15891         * ssa.c (compute_coalesced_reg_partition): Likewise.
15892
15893 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15894
15895         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
15896         every where we allocate a register.
15897
15898 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15899
15900         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
15901         * lcm.c (compute_earliest, compute_farthest): Likewise.
15902
15903 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
15904
15905         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
15906
15907 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
15908
15909         * doc/rtl.texi (Insns): Fix 2 typos.
15910
15911 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
15912
15913         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
15914         options.  Use @table @gcctabopt for MMIX options.  Add index
15915         entries for MMIX options.  Start new paragraph with first
15916         heading of the machine-dependent options.
15917
15918 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15919
15920         PR other/5299
15921         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
15922         * combine.c (force_to_mode): Same.
15923         * reload1.c (clear_reload_reg_in_use): Same.
15924
15925 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
15926
15927         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
15928         and 'subtargets'.
15929
15930 2002-01-11  Andreas Jaeger  <aj@suse.de>,
15931             Brad Lucier <lucier@math.purdue.edu>
15932
15933         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
15934         mcpu.
15935
15936 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
15937
15938         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
15939         Protect with IN_LIBGCC.
15940         (LINK_EH_SPEC): Add required trailing space.
15941
15942 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
15943
15944         * c-tree.h: Move function declarations so that they are listed
15945         under the filename which contains them.
15946         (check_identifier, finish_decl_top_level,
15947         lookup_name_current_level_global, shadow_record_fields): Remove.
15948
15949 2002-01-11  Andreas Jaeger  <aj@suse.de>
15950
15951         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
15952         march.
15953
15954 2002-01-10  Richard Henderson  <rth@redhat.com>
15955
15956         * config/alpha/alpha.c (print_operand): Add 'J'.
15957         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
15958         new operand with the sequence number for the lituse.  When splitting
15959         the insns, use gen_movdi_er_high_g and generate a sequence number.
15960         (gen_movdi_er_high_g): Print the sequence number if non-zero.
15961
15962 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
15963
15964         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
15965         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
15966         stvxl.
15967         (altivec_expand_builtin): Same.
15968         (altivec_expand_stv_builtin): New.
15969
15970         * config/rs6000/rs6000.h (rs6000_builtins): Same.
15971
15972         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
15973         ("altivec_lvehx"): New.
15974         ("altivec_lvewx"): New.
15975         ("altivec_lvxl"): New.
15976         ("altivec_lvx"): New.
15977         ("altivec_stvx"): New.
15978         ("altivec_stvebx"): New.
15979         ("altivec_stvehx"): New.
15980         ("altivec_stvewx"): New.
15981         ("altivec_stvxl"): New.
15982
15983 2002-01-10  Richard Henderson  <rth@redhat.com>
15984
15985         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
15986         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
15987         care not to delete instructions twice.
15988
15989 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
15990
15991         * toplev.c: Don't declare environ (it's not used anywhere).
15992         * configure.in: Don't check for declaration of environ.
15993         * config/i386/xm-mingw32.h: Don't #define environ.
15994         * config.in, configure: Regenerate.
15995
15996 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
15997
15998         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
15999         * configure: Regenerate.
16000
16001         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
16002         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
16003         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
16004         alpha/xm-vms.h.
16005         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
16006         LIMITS_H_TEST here, not in m68k/x-next.
16007         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
16008         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
16009
16010         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
16011         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
16012         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
16013
16014         * config/i386/x-djgpp: Renamed i386/t-djgpp.
16015         * config/m88k/x-dolph: Renamed m88k/t-dolph.
16016         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
16017         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
16018         replacement of quadlib.asm with quadlib.c.
16019
16020         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
16021         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
16022         config/rs6000/xm-beos.h: Delete file.
16023
16024         * config.gcc: Update to match above changes.
16025
16026 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16027
16028         * config/h8300/h8300.h: Fix comment typos.
16029         * config/h8300/h8300.md: Likewise.
16030         * config/h8300/lib1funcs.asm: Likewise.
16031
16032 2002-01-10  Dale Johannesen  <dalej@apple.com>
16033
16034         PR optimization/5269
16035         * unroll.c (precondition_loop_p): Make *increment be the correct
16036         sign when n_iterations known, to avoid confusing caller.
16037
16038 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16039
16040         * doc/extend.texi (deprecated): Fix a typo.
16041
16042 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
16043
16044         * basic-block.h (update_br_prob_note): Declare.
16045         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
16046         (try_forward_edges): Care negative frequencies and update note.
16047         (outgoing_edges_match): Tweek conditional merging heuristics.
16048         (try_crossjump_to_edge): use update_br_prob_note.
16049         * cfglayout.c (fixup_reorder_chain): Likewise.
16050         * cfrtl.c (update_br_prob_note): New.
16051         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
16052
16053         * i386.c (ix86_decompose_address): Return -1 if address contains
16054         shift.
16055         (legitimate_address_p): Require ix86_decompose_address to return 1.
16056
16057         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
16058         (cprop_insn): Likewise.
16059
16060 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16061
16062         * toplev.c: Fix formatting.
16063         * tree.c: Likewise.
16064         * tree-dump.c: Likewise.
16065         * unroll.c: Likewise.
16066         * unwind-dw2.c: Likewise.
16067         * unwind-dw2-fde.c: Likewise.
16068         * unwind-dw2-fde-glibc.c: Likewise.
16069         * unwind-sjlj.c: Likewise.
16070
16071 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
16072
16073         * doc/invoke.texi: Document PDP-11 options.
16074
16075 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16076
16077         * config/h8300/h8300.h: Fix formatting.
16078
16079 2002-01-10  Ira Ruben   <ira@apple.com>
16080
16081         Add __attribute__ ((deprecated)).
16082         * extend.texi: Document __attribute__ ((deprecated)).
16083         * invoke.texi: Document -Wno-deprecated-declarations.
16084         * testsuite/g++.dg/other/deprecated.C: New C++ test.
16085         * testsuite/gcc.dg/deprecated.c: New C test.
16086         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
16087         (c_common_attribute_table): Add "deprecated" entry.
16088         (handle_deprecated_attribute): New function.
16089         * c-decl.c (deprecated_states): New enum.
16090         deprecated_state: State of "deprecated" handling.
16091         (start_decl): Set deprecated_state based on attributes.
16092         (grokdeclarator): Test for deprecated uses, propagate attribute.
16093         * c-typeck.c (build_component_ref): Test for deprecated fields.
16094         (build_external_ref): Test for deprecated primaries.
16095         * diagnostic.c (warn_deprecated_use) New function to issue
16096         warnings about __attribute__ ((depricated)) references.
16097         * flags.h (warn_deprecated_decl): Extern declared for
16098         -W[no-]deprecated-declarations option.
16099         * print-tree.c (print_node): Show deprecated flag status.
16100         * toplev.c (warn_deprecated_decl): Defined.
16101         (W_options): Added "deprecated-declaration".
16102         * toplev.h (warn_deprecated_use): Extern declared.
16103         * tree.h (struct tree_common): Define deprecated_flag.
16104         (TREE_DEPRECATED): New macro to access flag.
16105         * cp/call.c (build_call): Test for deprecated calls.
16106         * cp/class.c (add_implicitly_declared_members): Set global
16107         flag to tell grokdeclarator to not issue deprecated warnings.
16108         * cp/cp-tree.h: Add extern for adding_implicit_members.
16109         * cp/decl.c (deprecated_states): New enum.
16110         (start_decl): Set deprecated_state based on attributes.
16111         (grokdeclarator): Test for deprecated uses, propagate attribute.
16112         * cp/lex.c (do_identifier): Test for deprecated primaries.
16113         * cp/typeck.c (build_component_ref): Test for deprecated fields.
16114
16115 2002-01-10  Ira Ruben   <ira@apple.com>
16116
16117         Fix to assign attributes to inline member functions.
16118         * cp/decl.c (start_method): Handle attrlist.
16119
16120 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16121
16122         * combine.c (expand_field_assignment): Use subreg_lsb().
16123
16124 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
16125
16126         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
16127         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
16128         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
16129         Recurse for any operand of AND as long as constant is non-zero.
16130
16131 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16132
16133         * config/h8300/h8300.md: Remove constraints from expanders.
16134
16135 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16136
16137         * varasm.c: Fix formatting.
16138         * varray.c: Likewise.
16139         * vmsdbgout.c: Likewise.
16140         * xcoffout.c: Likewise.
16141
16142 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
16143
16144         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
16145         update edge probabilities to match.
16146
16147 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
16148
16149         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
16150         dependencies.
16151         * doc/languages.texi, doc/sourcebuild.texi: New files.
16152         * doc/configfiles.texi: Make a subsubsection.  Update.
16153         * doc/configterms.texi: Add @node.  Remove warning that this isn't
16154         instructions for building GCC.
16155         * doc/makefile.texi: Make a subsection.
16156         * doc/gccint.texi: Update.
16157
16158 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
16159
16160         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
16161
16162 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
16163
16164         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
16165
16166 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
16167
16168         * optabs.c (expand_fix): Look for wider integer modes first.
16169
16170         * i386.md (mov?f): Avoid the fake const double trick for medium
16171         memory model.
16172         (min?f*/max?f*): Prohibit memory operands for i387 variant.
16173         (fop_df_4): Disable for SSE compilation.
16174
16175 2002-01-10  Graham Stott  <grahams@redhat.com>
16176
16177         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
16178         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
16179
16180 2002-01-10  Richard Henderson  <rth@redhat.com>
16181
16182         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
16183
16184 2002-01-10  Richard Henderson  <rth@redhat.com>
16185
16186         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
16187         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
16188
16189 2002-01-10  Kazu Hirata  <kazu@hxi.com>
16190
16191         * combine.c (can_combine_p): Fix a comment typo.
16192
16193 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
16194
16195         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
16196         empty list correctly.  Change loop index $t to $f for
16197         consistency with rest of Makefile.
16198
16199 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
16200
16201         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
16202         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
16203
16204         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
16205         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
16206         (altivec_init_builtins): Same.
16207         (altivec_expand_unop_builtin): Return NULL_RTX on error.
16208         (altivec_expand_binop_builtin): Same.
16209         (altivec_expand_ternop_builtin): Same.
16210         (bdesc_dst): New.
16211
16212         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
16213         ("altivec_vctuxs"): Fix typo.
16214         ("altivec_vnmsubfp"): Same.
16215         ("altivec_dssall"): New.
16216         ("altivec_mfvscr"): New.
16217         ("altivec_dss"): New.
16218         ("altivec_lvsl"): New.
16219         ("altivec_lvsr"): New.
16220         ("altivec_dstt"): New.
16221         ("altivec_dstst"): New.
16222         ("altivec_dststt"): New.
16223         ("altivec_dst"): New.
16224
16225         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
16226         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
16227
16228 2002-01-09  Richard Henderson  <rth@redhat.com>
16229
16230         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
16231
16232 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
16233
16234         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
16235         function.
16236         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
16237         prototype.
16238         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
16239
16240 2002-01-09  Kazu Hirata  <kazu@hxi.com>
16241
16242         * read-rtl.c: Fix formatting.
16243         * real.c: Likewise.
16244         * regclass.c: Likewise.
16245         * regrename.c: Likewise.
16246         * reg-stack.c: Likewise.
16247         * reload1.c: Likewise.
16248         * reload.c: Likewise.
16249         * rtl.c: Likewise.
16250
16251 2002-01-09  Kazu Hirata  <kazu@hxi.com>
16252
16253         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
16254         to extract items in the expr_list chain.
16255
16256 2002-01-09  Richard Henderson  <rth@redhat.com>
16257
16258         * config/vax/vax.c (vax_rtx_cost): Never abort.
16259
16260         * config/vax/vax.h (REAL_ARITHMETIC): Define.
16261
16262 2002-01-09  Jan Hubicka  <jh@suse.cz>
16263
16264         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
16265
16266 2002-01-09  Richard Henderson  <rth@redhat.com>
16267
16268         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
16269         Unify code from various alternatives.
16270
16271 2002-01-09  Richard Henderson  <rth@redhat.com>
16272
16273         * regrename.c (copy_value): Ignore the copy if the source register
16274         is present in the value chain with a narrower mode.
16275
16276 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
16277
16278         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
16279         for the c4x target. Also improve layout.
16280
16281 2002-01-09  Richard Henderson  <rth@redhat.com>
16282
16283         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
16284         * config/m32r/m32r.md (and ior xor splitters): Swap operands
16285         to match insn patterns.
16286
16287 2002-01-09  Richard Henderson  <rth@redhat.com>
16288
16289         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
16290         (copyprop_hardreg_forward_1): Likewise.
16291
16292 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16293
16294         * pa.md (decrement_and_branch_until_zero): Change predicate for
16295         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
16296
16297 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16298
16299         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
16300         gets undefined. For Darwin.
16301
16302 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16303
16304         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
16305
16306 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16307
16308         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
16309
16310 2002-01-08  Richard Henderson  <rth@redhat.com>
16311
16312         * regrename.c (copy_value): Ignore overlapping copies.
16313
16314 2002-01-08  Richard Henderson  <rth@redhat.com>
16315
16316         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
16317         as needed to avoid shared structure.
16318
16319 2002-01-08  Kazu Hirata  <kazu@hxi.com>
16320
16321         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
16322         H8/300H and H8/S.
16323
16324 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16325
16326         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
16327         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
16328         documentation of obsolete macros.
16329         * system.h: Poison these macros.
16330         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
16331         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
16332         config/c4x/c4x.h, config/clipper/clipper.h,
16333         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
16334         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
16335         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
16336         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
16337         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
16338         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
16339         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
16340         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
16341         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
16342         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
16343         config/sparc/sparc.h, config/stormy16/stormy16.h,
16344         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
16345         definitions and commented out definitions of obsolete macros.
16346         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
16347         of MAX_INT_TYPE_SIZE.
16348
16349 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
16350
16351         * config/s390/s390.c (s390_preferred_reload_class): Never
16352         return ADDR_REGS if it isn't a subset of the given class.
16353         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
16354         FP_REGS, but all superclasses as well.
16355
16356         * config/s390/s390.c (s390_function_profiler): Fix thinko.
16357
16358         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
16359         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
16360         must not be a const_int.
16361
16362 2002-01-08  Richard Henderson  <rth@redhat.com>
16363
16364         * Makefile.in (toplev.o): Depend on options.h.
16365         (gcc.o): Depend on specs.h.
16366
16367 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
16368
16369         * expr.c (store_expr): Convert VOIDmode constants back to target's
16370         mode.
16371
16372 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16373
16374         * doc/invoke.texi: Markup gcc as @command.  Refer to
16375         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
16376         of http://gcc.gnu.org/thanks.html.
16377
16378 2002-01-08  Dale Johannesen  <dalej@apple.com>
16379
16380         * config/rs6000/rs6000.md: Add missing int register
16381         target case to movdf_low.
16382
16383 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
16384
16385         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
16386         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
16387         (cppinit.o): Depend on except.h.
16388         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
16389         s-specs): New rules.
16390
16391         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
16392         Don't create specs.h/options.h/gencheck.h here.  Remove
16393         unnecessary variable settings from last argument of AC_OUTPUT.
16394         * config.in, configure: Regenerate.
16395         * intl.c: Hardcode package name as "gcc".
16396
16397         * cppinit.c: Include except.h.
16398         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
16399         appropriate.
16400         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
16401         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
16402         (!)USING_SJLJ_EXCEPTIONS.
16403         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
16404
16405 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16406
16407         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
16408         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
16409         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
16410         documentation of obsolete macros.
16411         * system.h: Poison these macros.
16412         * config/d30v/d30v.h, config/ns32k/encore.h,
16413         config/stormy16/stormy16.h: Remove definitions and commented out
16414         definitions of obsolete macros.
16415
16416 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
16417
16418         * objc/objc-act.c (handle_class_ref): Mark the declaration of
16419         %sobjc_class_ref_%s as used - to prevent unwanted compiler
16420         warnings.
16421
16422 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
16423
16424         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
16425         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
16426         to insn adjusting stack/frame pointer.
16427         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
16428         accept operands that cause the insn to be non-splittable.
16429
16430 2002-01-08  Graham Stott  <grahams@redhat.com>
16431
16432         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
16433         (C_TYPE_FIELDS_VOLATILE): Likewise.
16434         (C_TYPE_BEING_DEFINED): Likewise.
16435         (C_IS_RESERVED_WORD): Likewise.
16436         (C_TYPE_VARIABLE_SIZE): Likewise.
16437         (C_DECL_VARIABLE_SIZE): Likewise.
16438         (C_MISSING_PROTOTYPE_WARNED): Likewise.
16439         (C_SET_EXP_ORIGINAL_CODE): Likewise.
16440         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
16441         parenthesis.
16442         (C_DECL_ANTICIPATED): Likewise.
16443         (c_build_type_variant): Add parenthesis.
16444
16445 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16446
16447         * gcc.c (option_map): Remove --version.
16448         (process_command): Handle -fversion following the GNU Coding
16449         Standards.  Partially addresses PR other/704.
16450
16451 2002-01-08  Graham Stott  <grahams@redhat.com>
16452
16453         * combine.c (combine_instructions): Fix typo.
16454
16455 2002-01-08  Graham Stott  <grahams@redhat.com>
16456
16457         * debug.h: Use "tree" and "rtx" throughout.
16458
16459         * debug.c: Likewise.
16460
16461 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
16462
16463         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
16464         constant pool, use the pool's version of the symbol instead.
16465
16466 2002-01-07  Richard Henderson  <rth@redhat.com>
16467
16468         * regrename.c (find_oldest_value_reg): Ignore the value chain if
16469         the original register was copied in a mode with a fewer number of
16470         hard registers than the desired mode.
16471         (copyprop_hardreg_forward_1): Likewise.
16472         (debug_value_data): Fix loop test.
16473         * toplev.c (parse_options_and_default_flags): Reenable
16474         -fcprop-registers at -O1.
16475
16476 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
16477
16478         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
16479         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
16480
16481         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
16482         predicates.
16483
16484         * config/rs6000/rs6000.md: Add altivec predicate patterns.
16485
16486 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16487
16488         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
16489         (pa_output_function_prologue): Output local label at the beginning of
16490         the prologue when profiling.
16491         (hppa_profile_hook): Use the local label rather than the function label.
16492         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
16493
16494 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
16495
16496         * config/rs6000/rs6000.c (print_operand): Remove extra space.
16497         (altivec_expand_unop_builtin): Fix thinko.
16498         (altivec_expand_binop_builtin): Same.
16499         (altivec_expand_ternop_builtin): Same.
16500         (altivec_expand_builtin): Same.
16501
16502 2002-01-07  Richard Henderson  <rth@redhat.com>
16503
16504         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
16505
16506 2002-01-07  Jason Merrill  <jason@redhat.com>
16507
16508         * unwind-dw2.c (execute_cfa_program): Use < again.
16509
16510 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
16511
16512         * predict.c (combine_predictions_for_insn): Avoid division by zero.
16513
16514 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
16515
16516         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
16517         Don't allow -1 - x -> ~x simplifications in the first pass.
16518
16519 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
16520
16521         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
16522         arguments.
16523         (altivec_expand_binop_builtin): Same.
16524         (altivec_expand_unop_builtin): Same.
16525         (print_operand): Fix typo.
16526         (bdesc_1arg): Add vupk* variants.
16527
16528         * rs6000.h (rs6000_builtins): Add vupk* enums.
16529
16530         * rs6000.md: Add altivec_vupk* variants.
16531
16532 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
16533
16534         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
16535         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
16536         and last update dates.
16537
16538 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
16539
16540         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
16541
16542 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
16543
16544         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
16545         * config/avr/avr.h (CPP_SPEC): Likewise.
16546         (LINK_SPEC): Likewise.
16547         (CRT_BINUTILS_SPECS): Likewise.
16548         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
16549         * doc/invoke.texi (AVR Options): Document them.
16550
16551 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
16552
16553         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
16554         LABEL_NUSES.
16555
16556 2002-01-07  Graham Stott  <grahams@redhat.com>
16557
16558         * config/i386/i386.h: Update copyright date.
16559         (HALF_PIC_PTR): Add parenthesis.
16560         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
16561         (CONSTANT_ALIGNMENT): Add parenthesis.
16562         (DATA_ALIGNMENT): Likewise.
16563         (LOCAL_ALIGNMENT): Likewise.
16564         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
16565         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
16566         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
16567         (HARD_REGNO_NREGS): Add paranethesis.
16568         (VALID_SSE_REG_MODE): Whitespace.
16569         (VALID_MMX_REG_MODE): Whitespace.
16570         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
16571         (ix86_hard_regno_mode_ok): Add parenthesis.
16572         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
16573         (RETURN_IN_MEMORY): Whitespace.
16574         (N_REG_CLASSES): Add parenthesis.
16575         (INTEGER_CLASS_P): Add parenthesis and wrap.
16576         (FLOAT_CLASS_P): Likewise.
16577         (SSE_CLASS_P): Likewise.
16578         (MMX_CLASS_P): Likewise.
16579         (MAYBE_INTEGER_CLASS_P): Likewise.
16580         (MAYBE_FLOAT_CLASS_P): Likewise.
16581         (MAYBE_SSE_CLASS_P): Likewise.
16582         (MAYBE_MMX_CLASS_P): Likewise.
16583         (Q_CLASS_P): Likewise.
16584         (GENERAL_REGNO_P): Uppercase macro parameter.
16585         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
16586         (FP_REGNO_P): Likewise.
16587         (ANY_FP_REGNO_P): Uppercase macro parameter.
16588         (SSE_REGNO_P): Likewise.
16589         (SSE_REGNO): Likewise.
16590         (SSE_REG_P): Likewise.
16591         (SSE_FLOAT_MODE_P): Likewise.
16592         (MMX_REGNO_P): Likewise.
16593         (MMX_REG_P):Likewise.
16594         (STACK_REG_P): Likewise.
16595         (NON_STACK_REG_P): Likewise.
16596         (STACK_TOP_P): Likewise.
16597         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
16598         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
16599         (SECONDARY_MEMORY_NEEDED): Likewise.
16600         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
16601         (MD_ASM_CLOBBERS): Whitespace and wrap.
16602         (MUST_PASS_IN_STACK): Whitespace and wrap.
16603         (RETURN_POPS_ARGS): Add parenthesis.
16604         (INIT_CUMULATIVE_ARGS): Likewise.
16605         (FUNCTION_ARG): Likewise.
16606         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
16607         (SETUP_INCOMING_VARARGS): Likewise.
16608         (BUILD_VA_LIST_TYPE):  Add parenthesis.
16609         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
16610         parenthsis.
16611         (EXPAND_BUILTIN_VA_ARG): Likewise.
16612         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
16613         (INITIALIZE_TRAMPOLINE): Add parenthesis.
16614         (INITIAL_ELIMINATION_OFFSET): Likewise.
16615         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
16616         (REGNO_OK_FOR_BASE_P): Likewise.
16617         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
16618         (REGNO_OK_FOR_DIREG_P): Likewise.
16619         (REG_OK_FOR_INDEX_P): Whitespace.
16620         (REG_OK_FOR_BASE_P): Whitespace.
16621         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
16622         parenthesis.
16623         (FIND_BASE_TERM): Fix typo.
16624         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
16625         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
16626         (SYMBOLIC_CONST; Whitespace.
16627         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
16628         (ENCODE_SECTION_INFO): Whitespace.
16629         (FINALIZE_PIC): Remove do { ... } while (0).
16630         (PROMOTE_MODE): Wrap in do { ... } while (0).
16631         (CONST_COSTS): Whitespace.
16632         (RTX_COSTS): Add paramethesis, whitespace and wrap.
16633         (REGISTER_MOVE_COST): Add parenthesis.
16634         (MEMORY_MOVE_COST): Likewise.
16635         (EXTRA_CC_MODES): Whitespace.
16636         (SELECT_CC_MODE): Add parenthesis and whitespace.
16637         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
16638         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
16639         (ASM_OUTPUT_LABEL): Add paramethesis.
16640         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
16641         (ASM_OUTPUT_REG_POP): Likewise.
16642         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
16643         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
16644
16645         * config/i386/i386.c: Update copyright.
16646         (CHECK_STACK_LIMIT): Add parenthesis.
16647         (AT_BP): Uppercase macro parameter.
16648         (x86_64_int_parameter_registers): Constify.
16649         (x86_64_int_return_registers): Likewise.
16650         (ix86_compare_op0): Use rtx.
16651         (construct_container): Constify INTREG parameter.
16652         (function_arg): Use rtx.
16653
16654         * diagnostic.h: Update copyright date.
16655         (output_buffer_state): Add parenthesis.
16656         (output_buffer_format_args): Likewise.
16657
16658         * combine.c (combine_instructions): Replace XEXP (links, 0)
16659         with link.
16660
16661 2002-01-06  H.J. Lu <hjl@gnu.org>
16662
16663         * cfgcleanup.c (thread_jump): Fix 2 typos.
16664
16665 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
16666
16667         * config.gcc: Add support for --enable-altivec.
16668
16669 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16670
16671         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
16672
16673 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
16674
16675         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
16676         __objc_class_name_*.
16677
16678 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16679
16680         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
16681
16682 2002-01-06  Richard Henderson  <rth@redhat.com>
16683
16684         * reorg.c (emit_delay_sequence): Remove death notes, not merely
16685         nop them out.  Increment label reference count for REG_LABEL.
16686         (fill_slots_from_thread): Frob label reference count around
16687         delete_related_insns.
16688
16689 2002-01-05  Richard Henderson  <rth@redhat.com>
16690
16691         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
16692         jump threading.
16693
16694 2002-01-05  Richard Henderson  <rth@redhat.com>
16695
16696         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
16697         * integrate.c (output_inline_function): Likewise.
16698         * toplev.c (rest_of_compilation): Do it here instead.  Move call
16699         to remove_unnecessary_notes after emitting abstract instance.
16700         Force an emitted nested function to have its parent emited as well.
16701         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
16702         for null.
16703         (rtl_for_decl_location): Do not look at reload data structures
16704         before reload has run.
16705
16706 2002-01-05  Kazu Hirata  <kazu@hxi.com>
16707
16708         * cse.c: Fix formatting.
16709         * dwarf2asm.c: Likewise.
16710         * dwarf2out.c: Likewise.
16711         * explow.c: Likewise.
16712         * expmed.c: Likewise.
16713         * function.c: Likewise.
16714         * gcov.c: Likewise.
16715         * gencheck.c: Likewise.
16716         * genrecog.c: Likewise.
16717         * ggc-common.c: Likewise.
16718         * ggc-page.c: Likewise.
16719         * global.c: Likewise.
16720
16721 2002-01-05  Kazu Hirata  <kazu@hxi.com>
16722
16723         * combine.c: Fix formatting.
16724
16725 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
16726
16727         PR middle-end/1557
16728         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
16729
16730 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
16731
16732         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
16733         as 1 for __powerpc64__ as well.
16734
16735         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
16736
16737         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
16738         return it.
16739
16740 2002-01-05  Daniel Berlin  <dan@dberlin.org>
16741
16742         * lcm.c: Revert change, due to performance regression it causes on
16743         SPEC because it's slightly more conservative (sigh, I hate
16744         edge-based LCM).
16745
16746 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
16747
16748         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
16749
16750 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
16751
16752         * doc/cppinternals.texi: Update.
16753
16754 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
16755
16756         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
16757         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
16758         negatives.
16759         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
16760         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
16761         kludge for pre-october-14th mmix versions to handle new-found bug
16762         with PUSHJ/PUSHGO and the register stack.
16763         * config/mmix/mmix.h (struct machine_function): Rename member
16764         has_call_value_without_parameters to has_call_without_parameters.
16765         All referers changed.
16766         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
16767         TARGET_MASK_BRANCH_PREDICT): New macros.
16768         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
16769         -mno-reg-stack-fill-bug-workaround.
16770         * config/mmix/mmix.md ("call"): Set struct machine member
16771         has_call_without_parameters.
16772
16773 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
16774
16775         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
16776
16777 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
16778
16779         * cfgcleanup.c: Include tm_p.h
16780         (mark_effect): Fix handling of hard register; fix handling of SET
16781
16782 2002-01-04  Kazu Hirata  <kazu@hxi.com>
16783
16784         * config/h8300/h8300.md (anonymous patterns): Check that
16785         operands are registers before using REGNO on them.
16786
16787 2002-01-03  Roland McGrath  <roland@frob.com>
16788
16789         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
16790
16791 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
16792
16793         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
16794         * c-common.h (genrtl_expr_stmt_value): Likewise.
16795         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
16796         (expand_expr_stmt_value): Add maybe_last argument.
16797         Don't warn about statement with no effect if it is the last statement
16798         in expression statement.
16799         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
16800         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
16801         expand_expr_stmt_value.
16802         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
16803         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
16804         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
16805         as maybe_last to expand_expr_stmt_value.
16806
16807 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
16808
16809         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
16810         be passed in, do not build it.
16811         (c_begin_if_stmt): New function.
16812         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
16813         * c-common.h (c_expand_start_cond): Update prototype.
16814         (c_begin_if_stmt): Prototype new function.
16815         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
16816         * c-parse.in (if_prefix): Use c_begin_if_stmt,
16817         c_begin_while_stmt and c_finish_while_stmt_cond.
16818
16819 2002-01-04  William Cohen  <wcohen@redhat.com>
16820
16821         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
16822         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
16823         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
16824         * config/pa/som.h (ASM_FILE_START): Likewise.
16825
16826 2002-01-04  Daniel Berlin  <dan@cgsoftware.com>
16827
16828         * lcm.c: Include df.h.
16829         Add available_transfer_function prototype.
16830         (compute_available): Rework to use iterative dataflow framework.
16831         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
16832         with bb_info in df.h
16833         (available_transfer_function): New function.
16834
16835         * Makefile.in (lcm.o): add df.h to dependencies.
16836
16837 2002-01-04  Richard Henderson  <rth@redhat.com>
16838
16839         * config/alpha/alpha.c (some_operand): Accept HIGH.
16840         (input_operand): Likewise; accept simple references to globals.
16841         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
16842         (alpha_const_double_ok_for_letter_p): Likewise.
16843         (alpha_extra_constraint): Likewise.
16844         (alpha_preferred_reload_class): Likewise.  Do not force
16845         symbolic constants to memory.
16846         (alpha_legitimate_address_p): Accept simple references
16847         to small_symbolic_operand.
16848         (alpha_legitimize_address): New arg scratch.  Be prepared to be
16849         called when no_new_pseudos.  Emit simple symbolic references.
16850         Split integers into low, high, and rest.
16851         (alpha_expand_mov): Use alpha_legitimize_address.
16852         (some_small_symbolic_mem_operand): New.
16853         (split_small_symbolic_mem_operand): New.
16854         * config/alpha/alpha-protos.h: Update.
16855         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
16856         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
16857         (EXTRA_CONSTRAINT): Likewise.
16858         (PREFERRED_RELOAD_CLASS): Likewise.
16859         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
16860         (PREDICATE_CODES): Update.
16861         * config/alpha/alpha.md: New post-reload splitters to convert
16862         simplfied symbolic operands to the form that references $29.
16863         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
16864         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
16865
16866 2002-01-03  Richard Henderson  <rth@redhat.com>
16867
16868         * local-alloc.c (function_invariant_p): Update commentary.
16869
16870 2002-01-04  H.J. Lu <hjl@gnu.org>
16871
16872         * toplev.c (rest_of_compilation): Fix a typo when calling
16873         cleanup_cfg.
16874
16875 2002-01-03  Kazu Hirata  <kazu@hxi.com>
16876
16877         * c-common.c: Fix formatting.
16878         * diagnostic.c: Likewise.
16879         * doloop.c: Likewise.
16880         * dwarf2out.c: Likewise.
16881
16882 2002-01-03  Kazu Hirata  <kazu@hxi.com>
16883
16884         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
16885         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
16886
16887 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
16888
16889         * cpperror.c: Update comments and copyright.
16890         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
16891         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
16892
16893 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16894
16895         * collect2.c (main): Use strcmp when testing for "-shared".
16896
16897 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
16898
16899         * cppmacro.c: Don't include intl.h.  Update comments.
16900         (new_number_token): Allocate enough buffer for 64-bit unsigned
16901         integers; update prototype.
16902         * cppmain.c: Update comments.
16903
16904 2002-01-03  William Cohen  <wcohen@redhat.com>
16905
16906         * function.h (struct function): Add profile.
16907         (current_function_profile): New.
16908         doc/extend.texi: Update documentation.
16909         * final.c (final_start_function): Use current_function_profile
16910         instead of profile_flag.
16911         (profile_after_prologue): Likewise.
16912         * function.c (expand_function_start): Likewise.
16913         (expand_function_start): Likewise.
16914         * config/alpha/alpha.c (direct_call_operand):
16915         (alpha_does_function_need_gp): Likewise.
16916         (alpha_expand_prologue): Likewise.
16917         * config/arm/arm.c (arm_expand_prologue): Likewise.
16918         thumb_expand_prologue: Likewise.
16919         * config/d30v/d30v.c (d30v_stack_info): Likewise.
16920         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
16921         (fr30_expand_prologue): Likewise.
16922         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
16923         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
16924         * config/i386/i386.h (FINALIZE_PIC): Likewise.
16925         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
16926         * config/i960/i960.c (i960_output_function_prologue): Likewise.
16927         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
16928         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
16929         (m32r_expand_prologue): Likewise.
16930         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
16931         (m88k_expand_prologue): Likewise.
16932         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
16933         * config/mips/mips.c (compute_frame_size): Likewise.
16934         (mips_expand_prologue): Likewise.
16935         (mips_can_use_return_insn): Likewise.
16936         * config/pa/elf.h (ASM_FILE_START): Likewise.
16937         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
16938         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
16939         * config/pa/som.h (ASM_FILE_START): Likewise.
16940         * config/romp/romp.c (romp_using_r14): Likewise.
16941         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
16942         (rs6000_stack_info): Likewise.
16943         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
16944         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
16945         * config/v850/v850.c (compute_register_save_size): Likewise.
16946
16947 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
16948
16949         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
16950         gen_lowpart_common fails, use gen_lowpart_SUBREG.
16951
16952 2002-01-03  Turly O'Connor  <turly@apple.com>
16953
16954         * darwin.c (machopic_output_possible_stub_label): Don't generate
16955         stub routines for pseudo-stubs which we've just defined.
16956
16957 2002-01-03  Kazu Hirata  <kazu@hxi.com>
16958
16959         * builtins.c: Fix formatting.
16960         * c-typeck.c: Likewise.
16961         * combine.c: Likewise.
16962         * expr.c: Likewise.
16963         * loop.c: Likewise.
16964
16965 2002-01-03  Andreas Schwab  <schwab@suse.de>
16966
16967         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
16968         and return true if _cpp_push_next_buffer pushed a new include
16969         file.
16970         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
16971         _cpp_pop_file_buffer did not push a new file.
16972         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
16973
16974 2002-01-02  Eric Christopher  <echristo@redhat.com>
16975
16976         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
16977         FIND_REG_INC_NOTE call. Update copyright.
16978         * loop.c (canonicalize_condition): Ditto.
16979         * reorg.c (delete_scheduled_jump): Ditto.
16980
16981 2002-01-03  Kazu Hirata  <kazu@hxi.com>
16982
16983         * gcse.c: Fix formatting.
16984
16985 2002-01-03  Graham Stott  <grahams@redhat.com>
16986
16987         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
16988         forward defs for struct tags rtx_def, union_tree, rtvec_def
16989         also output corresponding typedefs for rtx, tree, and rtvec.
16990
16991         * system.h: Move forward defs for struct tags rtx_def, union_tree,
16992         rtvec_def along with corresponding typedefs for rtx, tree, and
16993         rtvec to config.h, hconfig.h, tconfig.h.
16994
16995 2002-01-03  Graham Stott  <grahams@redhat.com>
16996
16997         * tree.h: Update copyright date.
16998         (IS_EXPR_CODE_CLASS): Add parenthesis.
16999         (TREE_SET_CODE): Add whitespace.
17000         (TREE_CHECK): Add parenthesis.
17001         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
17002         (CST_OR_CONSTRUCTOR_CHECK):
17003         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
17004         (TREE_SYMBOL_REFERENCED): Whitespace.
17005         (INT_CST_LT): Likewise.
17006         (INT_CST_LT_UNSIGNED): Likewise.
17007         (tree_real_cst): Unwrap comment.
17008         (tree_string): Likewise.
17009         (tree_complex): Likewise.
17010         (IDENTIFIER_POINTER): correct cast.
17011         (SAVE_EXPR_CONTEXT): Whitespace.
17012         (EXPR_WFL_FILENAME_NODE): Likewise.
17013         (EXPR_WFL_FILENAME): Remove parenthesis.
17014         (DECL_ORIGIN): Add parenthesis.
17015         (DECL_FROM_INLINE): Use NULL_TREE.
17016         (build_int_2): Whitespace.
17017         (build_type_variant): Add parenthesis.
17018
17019         * gcc/jcf-parse.c: Update copyright date.
17020         (yyparse): Constify resource_filename.
17021
17022 2002-01-03  Graham Stott  <grahams@redhat.com>
17023
17024         * rtl.h: Update copyright date.
17025         (RTL_CHECK1): Wrap long line.
17026         (RTL_CHECK2): Likewise.
17027         (RTL_CHECKC1): Wrap long line and whitespace.
17028         (RTL_CHECKC2): Likewise.
17029         (XWINT): Whitespace.
17030         (XINT): Likewise.
17031         (XSTR): Likewise.
17032         (XEXP): Likewise.
17033         (XVEC): Likewise.
17034         (XMODE): Likewise.
17035         (XBITMAP): Likewise.
17036         (XTREE): Likewise.
17037         (XBBDEF): Likewise.
17038         (XTMPL): Likewise.
17039         (X0WINT): Likewise.
17040         (X0INT):Likewise.
17041         (X0UINT): Likewise.
17042         (X0STR): Likewise.
17043         (X0EXP): Likewise.
17044         (X0VEC): Likewise.
17045         (X0MODE): Likewise.
17046         (X0BITMAP): Likewise.
17047         (X0TREE): Likewise.
17048         (X0BBDEF): Likewise.
17049         (X0ADVFLAGS): Likewise.
17050         (X0CSELIB): Likewise.
17051         (X0MEMATTR): Likewise.
17052         (XCWINT): Likewise.
17053         (XCINT): Likewise.
17054         (XCUINT): Likewise.
17055         (XCSTR): Likewise.
17056         (XCEXP): Likewise.
17057         (XCVEC): Likewise.
17058         (XCMODE): Likewise.
17059         (XCBITMAP): Likewise.
17060         (XCTREE): Likewise.
17061         (XCBBDEF): Likewise.
17062         (XCADVFLAGS): Likewise.
17063         (XCCSELIB): Likewise.
17064         (XC2EXP): Likewise.
17065         (INSN_UID): Likewise.
17066         (PREV_INSN): Likewise.
17067         (PATTERN): Likewise.
17068         (INSN_CODE): Likewise.
17069         (PUT_REG_NOTE_KIND): Likewise.
17070         (CODE_LABEL_NUMBER): Likewise.
17071         (NOTE_SOURCE_FILE): Likewise.
17072         (NOTE_BLOCK): Likewise.
17073         (NOTE_EH_HANDLER): Likewise.
17074         (NOTE_RANGE_INFO): Likewise.
17075         (NOTE_LIVE_INFO): Likewise.
17076         (NOTE_BASIC_BLOCK): Likewise.
17077         (NOTE_EXPECTED_VALUE): Likewise.
17078         (NOTE_LINE_NUMBER): Likewise.
17079         (LABEL_NAME): Likewise.
17080         (LABEL_NUSES): Likewise.
17081         (LABEL_ALTERNATE_NAME): Likewise.
17082         (ADDRESSOF_DECL): Likewise.
17083         (JUMP_LABEL): Likewise.
17084         (LABEL_NEXTREF): Likewise.
17085         (REGNO): Likewise.
17086         (ORIGINAL_REGNO: Likewise.
17087         (HARD_REGISTER_NUM_P): Add parenthesis.
17088         (SUBREG_REG): Whitespace.
17089         (SUBREG_BYTE): Likewise.
17090         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
17091         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
17092         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
17093         (ASM_OPERANDS_INPUT_VEC): Likewise.
17094         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
17095         (ASM_OPERANDS_INPUT): Likewise.
17096         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
17097         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
17098         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
17099         (ASM_OPERANDS_INPUT_MODE): Likewise.
17100         (ASM_OPERANDS_SOURCE_FILE): Likewise.
17101         (ASM_OPERANDS_SOURCE_LINE): Likewise.
17102         (MEM_SET_IN_STRUCT_P): Minor reformat.
17103         (TRAP_CONDITION): Whitespace.
17104         (TRAP_CODE): Likewise.
17105         (COND_EXEC_TEST): Likewise.
17106         (COND_EXEC_CODE): Likewise.
17107         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
17108         (PHI_NODE_P): Add parenthesis.
17109         (plus_constant): Whitespace and add parenthesis.
17110
17111 2002-01-03  Kazu Hirata  <kazu@hxi.com>
17112
17113         * config/avr/avr.c: Fix comment typos.
17114         * config/c4x/c4x.md: Likewise.
17115         * config/dsp16xx/dsp16xx.h: Likewise.
17116         * config/dsp16xx/dsp16xx.md: Likewise.
17117         * config/i386/i386.md: Likewise.
17118         * config/ia64/ia64.c: Likewise.
17119         * config/m32r/m32r.h: Likewise.
17120         * config/m68hc11/m68hc11.md: Likewise.
17121         * config/mmix/mmix.c: Likewise.
17122         * config/mn10200/mn10200.c: Likewise.
17123         * config/romp/romp.c: Likewise.
17124         * config/sh/sh.c: Likewise.
17125         * config/stormy16/stormy16.c: Likewise.
17126         * config/stormy16/stormy16.h: Likewise.
17127         * config/stormy16/stormy16.md: Likewise.
17128
17129 2002-01-03  Graham Stott  <grahams@redhat.com>
17130
17131         * loop.h: Update copyright date.
17132         (LOOP_MOVABLES): Fix typo.
17133         (LOOP_REGS): Likewise.
17134         (LOOP_IVS): Likewise.
17135
17136 2002-01-03  Graham Stott  <grahams@redhat.com>
17137
17138         * cppinit.c: Update copyright date.
17139         Don't include output.h
17140         * Makefile.in: Update copyright date.
17141         Update dependency.
17142
17143 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
17144
17145         PR c/5226
17146         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
17147         (-pthread) Add to RS/6000 options.
17148
17149 2002-01-02  Kazu Hirata  <kazu@hxi.com>
17150
17151         * except.c: Fix comment typos.
17152         * loop.c: Likewise.
17153         * varasm.c: Likewise.
17154         * doc/tm.texi: Fix a typo.
17155
17156 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
17157
17158         * c-typeck.c (output_init_element): Allow initializing static storage
17159         duration objects with compound literals.
17160
17161 2002-01-02  Richard Henderson  <rth@redhat.com>
17162
17163         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
17164         after abusing it.
17165
17166 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17167
17168         * gcc.c (default_compilers): Const-ify.
17169         * mips-tdump.c (stab_names): Likewise.
17170         * mips-tfile.c (map_coff_types, map_coff_storage,
17171         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
17172         pseudo_ops_t, pseudo_ops): Likewise.
17173         * protoize.c (default_include): Likewise
17174
17175         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
17176         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
17177         Add array size in declaration.
17178         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
17179         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
17180         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
17181         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
17182         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
17183         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
17184         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
17185         emtens, make_nan): Const-ify.
17186         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
17187         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
17188
17189 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
17190
17191         * config.gcc (ia64-*-*): Set extra_headers.
17192         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
17193         * config/alpha/t-osf: Remove.
17194         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
17195
17196 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
17197
17198         * config/rs6000/t-aix43: Revert previous change.
17199
17200 2002-01-02  Jason Merrill  <jason@redhat.com>
17201
17202         * c-decl.c (c_expand_body): Call outlining_inline_function when
17203         emitting an inline function out of line.
17204
17205 2002-01-02  Richard Henderson  <rth@redhat.com>
17206
17207         * dwarf2out.c (limbo_die_node): Add created_for member.
17208         (new_die): New argument created_for.  Update all callers.
17209         (mark_limbo_die_list): New.
17210         (dwarf2out_init): Register limbo_die_list as a root.
17211         (dwarf2out_finish): Force insert limbo dies into their function
17212         context.
17213
17214 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
17215
17216         PR c++/5089
17217         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
17218
17219 2002-01-02  Kazu Hirata  <kazu@hxi.com>
17220
17221         * config/h8300/fixunssfsi.c: Update copyright.
17222         Fix comment typos.
17223         Fix formatting.
17224         * config/h8300/h8300.c: Update copyright.
17225         Eliminate warnings.
17226
17227 2002-01-02  Kazu Hirata  <kazu@hxi.com>
17228
17229         * config/romp/romp.c: Fix comment formatting.
17230         * config/romp/romp.h: Likewise.
17231         * config/romp/romp.md: Likewise.
17232         * config/s390/s390.c: Likewise.
17233         * config/stormy16/stormy16.c: Likewise.
17234         * config/stormy16/stormy16.h: Likewise.
17235
17236 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
17237
17238         * c-common.h (genrtl_expr_stmt_value): Declare.
17239         * c-semantics.c (genrtl_goto_stmt): Redirect to...
17240         (genrtl_goto_stmt_value): ... this new function.  Pass new
17241         argument down to expand_expr_stmt_value, taking
17242         TREE_ADDRESSABLE into account.
17243         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
17244         STMT_EXPR as addressable, i.e., one whose result we want.
17245         * expr.c (expand_expr): Don't save expression statement value
17246         of labeled_blocks or loop_exprs.
17247         * stmt.c (expand_expr_stmt): Redirect to...
17248         (expand_expr_stmt_value): ... this new function.  Use new
17249         argument to tell whether to save expression value.
17250         (expand_end_stmt_expr): Reset last_expr_type and
17251         last_expr_value if we don't have either.
17252         * tree-inline.c (declare_return_variable): Mark its use
17253         statement as addressable.
17254         * tree.h: Document new use of TREE_ADDRESSABLE.
17255         (expand_expr_stmt_value): Declare.
17256
17257 2002-01-01  Tom Rix  <trix@redhat.com>
17258
17259         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
17260         rs6000_emit_allocate_stack.
17261
17262 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
17263
17264         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
17265         ${srcdir}/ginclude/ to every entry in extra_headers.
17266         * configure: Regenerate.
17267         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
17268         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
17269         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
17270         * ginclude/proto.h: Rename to config/convex/proto.h.
17271
17272 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17273
17274         * attribs.c (handle_vector_size_attribute): Use host_integerp
17275         and tree_int_cst; remove warnings.
17276         * caller-save.c (insert_restore): Add cast to get rid of warning.
17277         (insert_save): Likewise.
17278         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
17279         * regmove.c (find_matches): Add temporary var to kill a warning.
17280
17281 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
17282
17283         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
17284         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
17285         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
17286         (vms-dwarf2eh.o): Add Makefile rule.
17287         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
17288         * config/alpha/vms-dwarf2eh.asm: New file.
17289
17290         * gcc.c (delete_if_ordinary): Delete all versions.
17291
17292 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
17293
17294         * config/mmix/mmix.md: Update FIXME to not mention
17295         define_constants.
17296         (MMIX_rJ_REGNUM): New define_constants constant.
17297         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
17298         "*movdicc_real"): Adjust contraints formatting.
17299         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
17300         for branch prediction.
17301         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
17302         output template.
17303         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
17304         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
17305         number.  Delete related FIXMEs.
17306         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
17307         from number to MMIX_rJ_REGNUM.
17308         (TARGET_MASK_BRANCH_PREDICT): New.
17309         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
17310         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
17311         value.  Add -mbranch-predict and -mno-branch-predict.
17312         (TARGET_VERSION): Drop date.
17313         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
17314         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
17315         for finding out global symbols.
17316         (mmix_asm_output_labelref): Revert condition for global symbol.
17317         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
17318         (mmix_print_operand_punct_valid_p): A '+' is valid.
17319
17320 See ChangeLog.6 for earlier changes.