OSDN Git Service

* pa-linux.h (LIB_SPEC): Update definition.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2
3         * pa-linux.h (LIB_SPEC): Update definition.
4         * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
5
6 2002-02-26  Richard Henderson  <rth@redhat.com>
7
8         * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
9         if we emitted a stop bit.
10
11 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
12
13         * configure.in (libgcc_visibility): Substitute.
14         * configure: Rebuilt.
15         * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
16         defined symbols .hidden.
17
18 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
19
20         * attribs.c (c_common_attribute_table): Add visibility.
21         (handle_visibility_attribute): New function.
22         * varasm.c (assemble_visibility): New function.
23         * output.h (assemble_visibility): Add prototype.
24         * tree.h (MODULE_LOCAL_P): Define.
25         * crtstuff.c (__dso_handle): Use visibility attribute.
26         * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
27         for MODULE_LOCAL_P symbols too.
28         * config/ia64/ia64.c (ia64_encode_section_info): Handle
29         MODULE_LOCAL_P symbols the same way as local symbols.
30         Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
31         into .sdata/.sbss by the user.
32         * doc/extend.texi (Function Attributes): Document visibility
33         attribute.
34
35 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
36
37         PR debug/5770
38         * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
39         STRING_CST initializer spanning the whole variable without
40         embedded zeros.
41         If expand_expr returned MEM, don't use it.
42
43 2002-02-26  Alexandre Oliva  <aoliva@redhat.com>
44
45         * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
46         generate a die for the lexical block.
47
48 2002-02-26  Kazu Hirata  <kazu@hxi.com>
49
50         * config/h8300/h8300-protos.h: Add a prototype for
51         compute_logical_op_length.
52         * config/h8300/h8300.c (compute_logical_op_length): New.
53         * config/h8300/h8300.md (anonymous logical patterns): Use
54         compute_logical_op_length for length.
55
56 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
57
58         * dwarf2out.c (modified_type_die): Do not call type_main_variant
59         for vectors.
60         (gen_type_die): Same.
61
62         * attribs.c (handle_vector_size_attribute): Set debug information.
63
64 2002-02-26  Daniel Egger  <degger@fhm.edu>
65
66         * config/rs6000/rs6000.md: Swap define_insn attributes to
67         fix incorrect generation of merge high instructions instead
68         of merge low.
69
70 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
71
72         * c-typeck.c (really_start_incremental_init): Use
73         bitsize_zero_node for vectors.
74
75 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
76
77         * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
78         ("*set_vrsave_internal"): Same.
79
80 2002-02-25  Richard Henderson  <rth@redhat.com>
81
82         * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
83         in EXPAND_SUM case.  Use host_integerp/tree_low_cst.
84
85 2002-02-25  Jakub Jelinek  <jakub@redhat.com>
86
87         PR target/5755
88         * config/i386/i386.c (ix86_return_pops_args): Only pop
89         fake structure return argument if it was passed on the stack.
90
91 2002-02-25  Jason Merrill  <jason@redhat.com>
92
93         * attribs.c (decl_attributes): Also re-layout PARM_DECL and
94         RESULT_DECL.
95
96 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
97
98         * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
99         link with shared_name only.
100         * doc/invoke.texi (Link Options): Document new behavior.
101
102 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
103
104         * c-typeck.c (push_init_level): Handle vectors.
105
106 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
107
108         * config/sparc/sparc.c (const64_high_operand): Zero-extend
109         operands of SPARC_SETHI_P.
110         (input_operand): Likewise.
111         (sparc_emit_set_const32): Likewise.
112         * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
113         (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
114         (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'.  Add `N' as SETHI.
115         * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
116         (movdi_insn_sp64_vis): Likewise.
117         (movdi split, movdf split): Use SETHI32.
118         * doc/md.texi: Document SPARC constraints L, M and N.
119
120 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
121
122         * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
123         ("*set_vrsave_internal"): use mfspr for Darwin.
124
125         * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
126         gen_get_vrsave_internal.
127
128 Sun Feb 24 16:38:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
129
130         * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
131
132 2002-02-24  Neil Booth  <neil@daikokuya.demon.co.uk>
133
134         * cpplex.c (cpp_interpret_charconst): Get signedness or
135         otherwise of wide character constants correct.
136         * cppexp.c (lex): Get signedness of wide charconsts correct.
137
138 Sun Feb 24 07:41:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
139
140         * optabs.c (widen_operand): Only call convert_modes for
141         promoted SUBREG if signedness matches.
142         * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
143
144 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
145
146         * cpplib.c (glue_header_name): Use local buffer to build up
147         header name.
148
149 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
150
151         * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
152
153 2002-02-23  Kazu Hirata  <kazu@hxi.com>
154
155         * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
156         H8/300[HS] separately.
157         * config/h8300/h8300.md: Remove the early clobber constraint
158         from bit field patterns.
159
160 2002-02-23  Kazu Hirata  <kazu@hxi.com>
161
162         * config/h8300/h8300.md (mulqihi3): Tighten predicates to
163         register_operand.
164         (mulhisi3): Likewise.
165         (umulqisi3): Likewise.
166         (umulhisi3): Likewise.
167
168 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
169
170         * cppinit.c (output_deps): Correct test for stdout output.
171         (init_dependency_output): Cure warning.
172
173 Sat Feb 23 08:42:47 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
174
175         * expr.c (store_expr): When converting expression to promoted
176         equivalent type, allow using SUBREG_REG of TARGET as the target
177         of the expansion of EXP.
178         * loop.c (basic_induction_var, case SUBREG): Always look inside.
179         * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
180         (alpha_emit_set_const): Handle SImode when can't make new pseudos.
181         (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
182         * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
183
184 2002-02-23  Joseph S. Myers  <jsm28@cam.ac.uk>
185
186         * doc/contribute.texi, doc/extend.texi, doc/install.texi,
187         doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
188         doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
189
190 2002-02-23  Jakub Jelinek  <jakub@redhat.com>
191
192         PR optimization/5747
193         * loop.c (scan_loop): Update reg info if move_movables created new
194         pseudos.
195
196 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
197
198         * gcc.c (init_gcc_spec): Revert last change.
199
200 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
201
202         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
203         gpc_reg_operand constraint.
204
205 2002-02-23  Alan Modra  <amodra@bigpond.net.au>
206
207         * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
208         Simplify comparison of `low'.
209         (add_operand): Fix formatting.
210         (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
211         (mask_operand): Disallow mask to wrap in 64-bit mode.
212         (rs6000_stack_info): Remove redundant test setting push_p.
213         (output_toc): Fix formatting.
214         * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
215         cc_reg_not_cr0_operand constraint.
216         (booldi3, boolcdi3 splitters): Same.
217
218 2002-02-23  Aldy Hernandez  <aldyh@redhat.com>
219
220         * config/rs6000/altivec.h: Add extra level of parentheses on casts.
221
222 2002-02-22  David Edelsohn  <edelsohn@gnu.org>
223
224         * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
225         gcc invoked with -shared-libgcc.
226
227 2002-02-22  Jakub Jelinek  <jakub@redhat.com>
228
229         PR c++/5748
230         * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
231         decl if any of elements was TREE_USED.
232
233 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
234
235         * config/sparc/sol2.h: Don't include sys/mman.h.
236         * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
237         (arith_4096_operand): Don't throw high bits away.
238         (const64_operand): Take sign extension of CONST_INTs into account.
239         (const64_high_operand, sparc_emit_set_const32): Likewise.
240         (GEN_HIGHINT64): Likewise.
241         (sparc_emit_set_const64_quick1): Likewise.
242         (const64_is_2insns): Likewise.
243         (print_operand): Use trunc_int_for_mode for sign extension.
244         * config/sparc/sparc.h (SMALL_INT32): Likewise.
245         * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
246         chars.  Assume CONST_INT is already properly sign-extended.
247         (movdi split): Sign-extend each SImode part.
248         (andsi3 split): Don't mask high bits off, so that result
249         remains properly sign-extend.
250         (iorsi3 split): Likewise.
251         (xorsi3 split): Likewise.
252
253 2002-02-22  Richard Sandiford  <rsandifo@redhat.com>
254
255         * fold-const.c (fold): Fix typo in comments.
256
257 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
258
259         * Makefile.in (langhooks.o): Update dependencies.
260
261 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
262
263         * langhooks.c: Include flags.h.
264
265 2002-02-21  Aldy Hernandez  <aldyh@redhat.com>
266
267         * testsuite/gcc.dg/attr-alwaysinline.c: New.
268
269         * c-common.c (c_common_post_options): Set inline trees by
270         default.
271
272         * doc/extend.texi (Function Attributes): Document always_inline
273         attribute.
274         Update documentation about inlining when not optimizing.
275
276         * cp/decl.c (duplicate_decls): Merge always_inline attribute.
277
278         * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
279         unless DECL_ALWAYS_INLINE.
280
281         * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
282         unless DECL_ALWAYS_INLINE.
283         (c_disregard_inline_limits): Disregard if always_inline set.
284
285         * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
286         Disregard if always_inline set.
287         (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
288         unless DECL_ALWAYS_INLINE.
289
290         * attribs.c (handle_always_inline_attribute): New.
291         (c_common_attribute_table): Add always_inline.
292
293         * config/rs6000/altivec.h: Add prototypes for builtins
294         requiring the always_inline attribute.
295
296 2002-02-21  Eric Christopher  <echristo@redhat.com>
297
298         * expmed.c (store_bit_field): Try to simplify the subreg
299         before generating a new one when when the mode size of
300         value is less than maxmode.
301
302 2002-02-21  Richard Henderson  <rth@redhat.com>
303
304         * emit-rtl.c (offset_address): Use simplify_gen_binary rather
305         than gen_rtx_PLUS to form the sum.
306         * explow.c (force_reg): Rearrange to not allocate new pseudo
307         when force_operand returns a register.
308         * expr.c (expand_assignment): Allow offset_rtx expansion to
309         return a sum.  Do not force addresses into registers.
310         (expand_expr): Likewise.
311         * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
312         to canonicalize arithmetic that didn't simpify.
313         (simplify_plus_minus): New argument force; update
314         all callers.  Don't split CONST unless we can do something with it,
315         and wouldn't lose the constness of the operands.
316
317         * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
318         that we generated earlier.
319
320 2002-02-21  Tom Tromey  <tromey@redhat.com>
321
322         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
323         (output_line_info): Use constant `1', with a long explanatory
324         comment.
325         * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
326
327 Thu Feb 21 22:43:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
328
329         * jump.c (redirect_jump): If old label has no UID, don't try to
330         delete it.
331
332 Thu Feb 21 21:17:21 2002  J"orn Rennecke <joern.rennecke@superh.com>
333
334         * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
335         If input is constant, do shifts at compile time.
336
337 2002-02-21  Joseph S. Myers  <jsm28@cam.ac.uk>
338
339         * doc/extend.texi: Fix some more overfull hboxes.
340
341 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
342
343         PR optimization/4994
344         * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
345         register moves.
346
347 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
348
349         PR c++/4574
350         * expr.h (expand_and): Add mode argument.
351         * expmed.c (expand_and): Add mode argument.
352         (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
353         * expr.c (store_field, expand_expr, do_store_flag): Likewise.
354         * except.c (expand_builtin_extract_return_addr): Likewise.
355         * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
356         * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
357         * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
358         Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
359         * config/c4x/c4x.md: Use GEN_INT (x) instead of
360         gen_rtx (CONST_INT, VOIDmode, x).
361
362 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
363
364         PR c/4697:
365         * stmt.c (warn_if_unused_value): Move side effects test once more.
366
367 2002-02-20  Torbjorn Granlund  <tege@swox.com>
368
369         * config/avr/avr.md: Add more patterns for mized-mode add and subtract
370         (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
371
372 Thu Feb 21 16:20:46 2002  Alexandre Oliva  <aoliva@redhat.com>
373
374         * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
375         SUBREG or ZERO_EXTEND.
376
377 Thu Feb 21 15:35:46 2002  J"orn Rennecke <joern.rennecke@superh.com>
378
379         * sh.h (current_function_anonymous_args): Remove.
380         (SETUP_INCOMING_VARARGS): Don't set it - just check that one
381         of current_function_varargs and current_function_stdarg is set.
382         * sh.c (sh_expand_prologue): Check current_function_varargs /
383         current_function_stdarg / TARGET_SH5 instead of
384         current_function_anonymous_args.
385
386         * sh64.h (TARGET_VERSION): Define.
387
388 2002-02-20  David Edelsohn  <edelsohn@gnu.org>
389
390         * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
391         VRSAVE_REGNO on TARGET_ALTIVEC.
392
393 2002-02-20  Alan Modra  <amodra@bigpond.net.au>
394
395         * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
396         bits of SImode const_int.
397         (includes_rshift_p): Likewise.
398         (print_operand): Call mask_operand and mask64_operand with correct
399         mode.
400         (rs6000_output_function_epilogue): Pad traceback table to word.
401         * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
402         (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
403         mask64_operand with correct mode.
404         (FUNCTION_ARG_REGNO_P): Correct parentheses.
405
406 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
407
408         PR debug/4461
409         * varasm.c (get_pool_constant_mark): New.
410         * rtl.h (get_pool_constant_mark): Add prototype.
411         * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
412         be represented if it has not been output.
413
414 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
415
416         * combine.c (do_SUBST): Sanity check substitutions of
417         CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
418         (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
419         CONST_INT into its operand.
420         (known_cond): Likewise, for ZERO_EXTEND.
421         * simplify-rtx.c (simplify_unary_operation): Fix condition to
422         allow for simplification of wide modes.  Reject CONST_INTs in
423         ZERO_EXTEND when their actual mode is not given.
424
425 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
426
427         * c-decl.c (pushdecl): If no global declaration is found for an
428         extern declaration in block scope, try a limbo one.
429
430 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
431
432         PR c++/4401
433         * c-common.c (pointer_int_sum): Moved from...
434         * c-typeck.c (pointer_int_sum): ...here.
435         * c-common.h (pointer_int_sum): Add prototype.
436
437 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
438
439         PR c++/5713
440         * c-decl.c (duplicate_decls): Return 0 if issued error about
441         redeclaration.
442
443 2002-02-20  Roger Sayle  <roger@eyesopen.com>
444             Jakub Jelinek  <jakub@redhat.com>
445
446         PR c/4389
447         * tree.c (host_integerp): Ensure that the constant integer is
448         representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
449         when pos is zero or non-zero respectively.  Clarify comment.
450         * c-format.c (check_format_info_recurse): Fix host_integerp
451         usage; the pos argument should be zero when assigning to a
452         signed HOST_WIDE_INT.
453
454 2002-02-20  Richard Henderson  <rth@redhat.com>
455
456         * config/i386/i386.c (ix86_expand_vector_move): Use the mode
457         of the operand, rather than assuming TImode.
458         (ix86_expand_binop_builtin): Cope with commutative patterns
459         using nonimmediate_operand for both operands.
460         (ix86_expand_timode_binop_builtin): Likewise.
461         (ix86_expand_store_builtin): Validate operand 1.
462         (ix86_expand_unop1_builtin): Likewise.
463
464 2002-02-20  Philip Blundell  <philb@gnu.org>
465
466         PR 5705
467         * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
468
469 2002-02-20  Richard Henderson  <rth@redhat.com>
470
471         PR c/5615
472         * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
473
474 2002-02-20  Tom Tromey  <tromey@redhat.com>
475
476         * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
477         * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
478         * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
479         * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
480         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
481         unconditionally.
482
483 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
484
485         * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
486           for (const_int 0) in X not just INTVAL.
487
488 2002-02-20  Joseph S. Myers  <jsm28@cam.ac.uk>
489
490         * doc/extend.texi: Avoid or reduce overfull hboxes.
491
492 2002-02-20  Diego Novillo  <dnovillo@redhat.com>
493
494         * expmed.c (store_bit_field): Do not store bit fields using SUBREG
495         operations if the field does not start at a mode boundary.
496
497 2001-02-20      Joel Sherrill <joel@OARcorp.com>
498
499         * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
500         config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
501         Also done for -Acpu and -Amachine.
502
503 2002-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
504
505         * cppinit.c (init_dependency_output): Take deps output file
506         from -o if none given with -MF.  Suppress normal output.
507         * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
508         * doc/cpp.texi, doc/invoke.texi: Update.
509
510 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
511
512         * toplev.c (output_quoted_string): Write unprintable
513         characters with octal escapes.
514
515 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
516
517         * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
518         really_call_used[VRSAVE_REGNO] if not Altivec.
519
520 2002-02-19  Alan Modra  <amodra@bigpond.net.au>
521
522         * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
523         MODE_MASK.
524         (constant_pool_expr_1): Fix formatting.
525         (rs6000_legitimize_reload_address): Likewise.
526
527 Tue Feb 19 20:13:57 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
528
529         * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
530         now that we have one.
531
532 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
533
534         * tree.h (struct tree_common): Remove aux.  Add unused_0 at
535         end of first block of bitfields (which was only seven bits);
536         rename dummy to unused_1; remove comment which is no longer true.
537
538 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
539
540         * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
541
542 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
543
544         PR 5399
545         * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
546         if generating PIC.
547
548         PR 5054
549         * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
550         arm_is_longcall_p rather than inspecting call-type cookie
551         directly.
552         (call_value_insn) [TARGET_THUMB]: Likewise.
553
554 2002-02-19  Graham Stott  <grahams@redhat.com>
555
556         * config/i386/i386.c (ix86_expand_builtin): Fix typo.
557
558 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
559
560         * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
561         ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
562         (FP_SAVE_INLINE): Delete.
563
564         * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
565         * config/rs6000/eabi.asm: Remove ABI save restore routines.
566         * config/rs6000/t-ppccomm: Build crtsavres.o.
567         * config/rs6000/crtsavres.asm: New file.
568
569 2002-02-19  Philip Blundell  <philb@gnu.org>
570
571         * config/arm/arm.c (use_return_insn): Don't reject interrupt
572         functions.
573         (arm_compute_save_reg_mask): Save LR for interrupt functions too.
574         (output_return_instruction): Allow interrupt functions to return with
575         ldmfd sp!, {... pc}^.  Use LDR to restore any single register.
576         (arm_expand_prologue): Subtract 4 before stacking LR in an
577         interrupt function.
578
579 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
580
581         * config/arm/arm.c (arm_encode_call_attribute): Operate on any
582         decl, not just FUNCTION_DECL.
583         (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
584         (arm_assemble_integer): Likewise.
585         * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
586         marked local.
587
588 2002-02-19  matthew green  <mrg@eterna.com.au>
589
590         * config.gcc (sparc-*-netbsdelf*): Enable target.
591         (sparc64-*-netbsd*): New target.
592         * config/sparc/netbsd-elf.h: New file.
593         * config/sparc/t-netbsd64: New file.
594
595 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
596
597         * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
598
599 2002-02-19  Ryan T. Sammartino <ryants@shaw.ca>
600
601         * doc/invoke.texi: explicitly list the style guidelines that
602         -Weffc++ checks for.
603
604 Tue Feb 19 12:37:23 CET 2002  Jan Hubicka  <jh@suse.cz>
605
606         * regmove.c (regmove_optimize): Avoid increasing of register pressure.
607
608 2002-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
609
610         PR other/5718
611         * gcc.c (cpp_unique_options): Treat -o as indicating object file
612         only if not -E.  If -E, pass -o through to the preprocessor.
613
614 2002-02-19  Kazu Hirata  <kazu@hxi.com>
615
616         * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
617         register number with an appropriate macro.
618
619 2002-02-19  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
620
621         * doc/rtl.texi (Constants): Close @code tag.
622
623 2002-02-19  Aldy Hernandez  <aldyh@redhat.com>
624
625         * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
626         ("mmx_uavgv4hi3"): Same.
627         ("pmulhrwv4hi3"): Same.
628
629         * tree-inline.c (walk_tree): Handle vectors.
630
631         * c-common.c (constant_expression_warning): Handle vectors.
632         (overflow_warning): Same.
633
634         * sched-deps.c (sched_analyze_2): Handle vectors.
635
636         * rtlanal.c (rtx_unstable_p): Handle vectors.
637         (rtx_varies_p): Same.
638         (count_occurrences): Same.
639         (regs_set_between_p): Same.
640         (modified_between_p): Same.
641         (modified_in_p): Same.
642         (volatile_insn_p): Same.
643         (volatile_refs_p): Same.
644         (side_effects_p): Same.
645         (may_trap_p): Same.
646         (inequality_comparisons_p): Same.
647         (replace_regs): Same.
648         (computed_jump_p_1): Same.
649
650         * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
651         argument.
652         (inner_mode_array): New.
653         (copy_rtx): Handle vectors.
654         (copy_most_rtx): Same.
655         (rtx_equal_p): Same.
656         (get_mode_alignment): Adjust for vectors.
657
658         * resource.c (mark_referenced_resources): Handle vectors.
659         (mark_set_resources): Same.
660
661         * reload1.c (eliminate_regs): Handle vectors.
662         (elimination_effects): Same.
663         (scan_paradoxical_subregs): Same.
664
665         * reload.c (subst_reg_equivs): Handle vectors.
666
667         * regrename.c (scan_rtx): Handle vectors.
668
669         * regclass.c (reg_scan_mark_refs): Handle vectors.
670
671         * recog.c (find_single_use_1): Handle vectors.
672
673         * local-alloc.c (equiv_init_varies_p): Handle vectors.
674         (contains_replace_regs): Same.
675         (memref_referenced_p): Same.
676
677         * integrate.c (copy_rtx_and_substitute): Handle vectors.
678         (subst_constants): Same.
679
680         * genattrtab.c (attr_copy_rtx): Handle vectors.
681         (encode_units_mask): Same.
682         (clear_struct_flag): Same.
683         (count_sub_rtxs): Same.
684
685         * gcse.c (want_to_gcse_p): Handle vectors.
686         (oprs_unchanged_p): Same.
687         (hash_expr_1): Same.
688         (oprs_not_set_p): Same.
689         (expr_killed_p): Same.
690         (compute_transp): Same.
691         (store_ops_ok): Same.
692
693         * function.c (purge_addressof_1): Do not allow paradoxical subregs
694         of vectors.
695         (fixup_var_refs_1): Same.
696         (instantiate_virtual_regs_1): Same.
697
698         * fold-const.c (operand_equal_p): Handle vectors.
699         (fold): Same.
700         (rtl_expr_nonnegative_p): Same.
701
702         * flow.c (mark_used_regs): Handle vectors.
703
704         * df.c (df_uses_record): Handle vectors.
705
706         * cselib.c (cselib_subst_to_values): Handle vectors.
707         (cselib_mem_conflict_p): Same.
708         (hash_rtx): Same.
709
710         * cse.c (canon_reg): Handle vectors.
711         (fold_rt): Same.
712         (cse_process_notes): Same.
713         (count_reg_usage): Same.
714         (canon_hash): Same.
715
716         * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
717
718         * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
719
720         * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
721         (gen_rtx): Handle CONST_VECTOR.
722         (gen_const_vector_0): New.
723         (copy_rtx_if_shared): CONST_VECTORs can be shared.
724         (reset_used_flags): Same.
725         (copy_insn_1): Same.
726         (initializer_constant_valid_p): Handle VECTOR_CST.
727
728         * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
729
730         * doc/rtl.texi (Constants): Document const_vector.
731         (CONST0_RTX): Update for vectors.
732         (RTL sharing): Same.
733
734         * print-tree.c (print_node): Add case for VECTOR_CST.
735
736         * tree.h (TREE_VECTOR_CST_ELTS): New.
737         (struct tree_vector): New.
738         (union tree_node): Add vector node.
739         (build_vector): Add prototype.
740
741         * tree.def (VECTOR_CST): New.
742
743         * tree.c (build_vector): New.
744
745         * expmed.c (make_tree): Handle CONST_VECTOR.
746
747         * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
748         (CONST_VECTOR_ELT): New.
749         (CONST_VECTOR_NUNITS): New.
750
751         * machmode.h (GET_MODE_INNER): New.
752         (DEF_MACHMODE): Accept 8th arg.
753
754         * machmode.def: Add 8th argument for vector inner mode.
755         Add inner vector modes for vectors.
756
757         * rtl.def (VEC_CONST): Remove.
758         (CONST_VECTOR): New.
759
760         * expr.c (clear_storage): Allow vectors.
761         (is_zeros_p): Handle VECTOR_CST.
762
763         * varasm.c (output_constant_pool): Handle vectors.
764         (rtx_const): Add veclo and vechi fields.
765         (kind): Add RTX_VECTOR.
766         (decode_rtx_const): Add case for vector.
767
768         * config/rs6000/rs6000-protos.h: Add zero_constant.
769
770         * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
771         constants.  Force easy vector constants into memory.
772         (easy_vector_constant): New.
773         (emit_easy_vector_constant): New.
774         (rs6000_legitimize_reload_address): Do not generate bad reloads on
775         darwin.
776
777         * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
778         instruction does.
779         ("altivec_lvxl"): Same.
780         (altivec_lvebx): Same.
781         (altivec_lvehx): Same.
782         (altivec_lvewx): Same.
783         ("*movv4si_const0"): New.
784         ("*movv4sf_const0"): New.
785         ("*movv8hi_const0"): New.
786         ("*movv16qi_const0"): New.
787
788 2002-02-18  Kazu Hirata  <kazu@hxi.com>
789
790         * config/h8300/h8300.c (notice_update_cc): Use
791         cc_status.value2.
792
793 2002-02-18  Kazu Hirata  <kazu@hxi.com>
794
795         * config/h8300/h8300.md (divmod patterns): Change the
796         constraints for operands[1] to register_operand.
797
798 2002-02-18  Kazu Hirata  <kazu@hxi.com>
799
800         * config/h8300/h8300-protos.h: Remove the prototype for
801         p_operand.
802         * config/h8300/h8300.c (p_operand): Remove.
803         * config/h8300/h8300.md: Replace p_operand with
804         const_int_operand.
805
806 2002-02-18 Philip Blundell <pb@nexus.co.uk>
807
808         * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
809         comment.
810         (output_return_instruction): Allow use of LDR to unstack
811         return addresss even for interrupt handlers or when
812         interworking.  If compiling for ARMv5, use interworking-safe
813         return instructions by default.  Remove duplicated code and
814         lengthy "strcat" sequences.
815
816 2002-02-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
817
818         * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
819         (LINK_EH_SPEC): Define.
820         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
821
822 2002-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
823
824         * config/s390/s390.c (s390_emit_prologue): Do not set the
825         frame_related flag for call-clobbered registers.
826
827 Mon Feb 18 15:07:35 CET 2002  Jan Hubicka  <jh@suse.cz>
828
829         * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
830         (construct_container): Fix handling of SSE operands.
831         (ix86_expand_builtin): Fix handling of 64bit pointers.
832         (mmx_maskmovq_rex): New pattern.
833
834 Mon Feb 18 11:55:55 CET 2002  Jan Hubicka  <jh@suse.cz>
835
836         * regrename.c (kill_set_value): Handle subregs properly.
837
838 2002-02-18  David Billinghurst <David.Billinghurst@riotinto.com>
839
840         * objc/objc-act.c (handle_impent): Remove leading '*'
841         from objc_class_name.
842
843 2002-02-17  Richard Henderson  <rth@redhat.com>
844
845         * config/alpha/alpha.c (some_small_symbolic_operand,
846         some_small_symbolic_operand_1, split_small_symbolic_operand,
847         split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
848         Handle small SYMBOL_REFs anywhere, not just inside memories.
849         * config/alpha/alpha-protos.h: Update.
850         * config/alpha/alpha.h (PREDICATE_CODES): Update.
851         * config/alpha/alpha.md (small symbolic operand splitter): Update.
852
853 2002-02-17  Roland McGrath  <roland@frob.com>
854
855         * config.gcc (powerpc-*-gnu-gnualtivec*,
856         powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
857         * config/rs6000/gnu.h: New file.
858         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
859         Grok "gnu" in rs6000_abi_name.
860         (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
861         CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
862         Grok -mcall-gnu analogous to -mcall-linux et al.
863         (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
864         LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
865         (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
866
867 2002-02-17  Jakub Jelinek  <jakub@redhat.com>
868
869         PR c/3444:
870         * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
871         shortening.
872
873 2002-02-17  Philipp Thomas  <pthomas@suse.de>
874
875         * config/cris/cris.h: Undefine STARTFILE_SPEC and
876         ENDFILE_SPEC before (re)defining them.
877
878 2002-02-17  Kazu Hirata  <kazu@hxi.com>
879
880         * config/h8300/h8300.c: Fix formatting.
881         * config/h8300/h8300.h: Likewise.
882
883 2002-02-17  Philipp Thomas  <pthomas@suse.de>
884
885         * doc/tm.texi: Explain why empty strings should not be
886         marked for translation.
887
888 2002-02-17  Philipp Thomas  <pthomas@suse.de>
889
890         * final.c (output_operand_lossage): Changed to accept
891         printf style arguments. Change calls where necessary.
892         * output.h (output_operand_lossage): Change declaration
893         accordingly. Update copyright.
894         * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
895         config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
896         Update copyright date where necessary.
897
898         * config/i386/i386.c (print_operand): Likewise. Remove use of
899         sprintf.
900
901         * config/cris/cris.c (cris_operand_lossage): Likewise.
902         Rename parameter so that exgettext recognizes it as
903         translatable message.
904         (LOSE_AND_RETURN): Rename parameter to msgid.
905
906 2002-02-17  Kazu Hirata  <kazu@hxi.com>
907
908         * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
909         hard coded register number with an appropriate macro.
910         (HARD_REGNO_MODE_OK): Likewise.
911         (ARG_POINTER_REGNUM): Likewise.
912         (STATIC_CHAIN_REGNUM): Likewise.
913         (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
914         * config/h8300/h8300.md (define_constants): Define more
915         register numbers.
916
917 2002-02-17  Philipp Thomas  <pthomas@suse.de>
918
919         * config/i386/i386.h: Don't mark empty strings for translation.
920
921 2002-02-16  H.J. Lu <hjl@gnu.org>
922
923         * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
924
925 2002-02-16  Zack Weinberg  <zack@codesourcery.com>
926
927         * cppinit.c (merge_include_chains): Check for brack being
928         NULL before attempting to merge it with qtail.
929
930 2002-02-16  Andrew Cagney  <ac131313@redhat.com>
931
932         * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
933         DBX_DEBUG.
934
935 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
936
937         * pa/t-pa, pa/t-pro, som.h: Revert last patch.
938
939 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
940
941         * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
942         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
943         * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
944
945 Sat Feb 16 13:48:50 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
946
947         * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
948         now only if !TARGET_FIX.
949         (*movsi_nt_vms_fix): New pattern.
950
951 2002-02-16  Douglas B Rupp  <rupp@gnat.com>
952
953         * config/alpha/alpha.c: Implement null frame procedure types on VMS.
954         (alpha_procedure_type): Replaces alpha_is_stack_procedure.
955         (alpha_sa_mask, alpha_sa_size): Reflect above change.
956         (alpha_pv_save_size, alpha_expand_prologue): Likewise.
957         (alpha_start_function, alpha_expand_epilogue): Likewise.
958         (unicosmk_gen_dsib): Likewise.
959
960 Sat Feb 16 13:39:09 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
961
962         * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
963
964 2002-02-16  Ulrich Weigand  <uweigand@de.ibm.com>
965
966         * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
967         check_and_change_labels, s390_final_chunkify): Delete.
968         (s390_split_branches, s390_chunkify_pool): New functions.
969         (s390_function_prologue): Call them.
970
971         * config/s390/s390.h (S390_REL_MAX): Delete.
972         (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
973
974         * config/s390/s390.md (cjump, icjump, jump): Fix length
975         attribute calculation.
976
977
978 2002-02-15  David Edelsohn  <edelsohn@gnu.org>
979
980         * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
981         * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
982
983 2002-02-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
984
985         * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
986         * config/pa/pa-linux.h (LIB_SPEC): Likewise.
987         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
988
989 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
990
991         * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
992
993 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
994
995         * reload.c (find_dummy_reload): Check that an output register
996         is valid for its mode.
997
998 2002-02-14  Alexandre Oliva  <aoliva@redhat.com>
999
1000         * combine.c (known_cond): After replacing the REG of a SUBREG, try
1001         to simplify it.
1002
1003         * function.c (assign_parms): Demote promoted argument passed by
1004         transparent reference.
1005
1006 2001-02-14      Joel Sherrill <joel@OARcorp.com>
1007
1008         * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
1009         -Acpu() and -Amachine() to eliminate warnings.
1010
1011 2002-02-14  Ulrich Weigand  <uweigand@de.ibm.com>
1012
1013         * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
1014
1015 2002-02-14  Kazu Hirata  <kazu@hxi.com>
1016
1017         * config/h8300/h8300-protos.h: Update the prototype for
1018         const_costs.
1019         * config/h8300/h8300.c (const_costs): Treat SET as a little
1020         more expensive operation.
1021         * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
1022         reference to const_costs.
1023
1024 2002-02-14  Hans-Peter Nilsson  <hp@axis.com>
1025
1026         * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
1027
1028 2002-02-14  Jakub Jelinek  <jakub@redhat.com>
1029
1030         PR c/5503:
1031         * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
1032         use arguments from newtype.
1033
1034 2002-02-13  Eric Christopher  <echristo@redhat.com>
1035
1036         * config/mips/mips.c (override_options): Add check for march/mipsX
1037         on the same command line. Fix error message in cpu processing.
1038         Remove architecture and ISA checks.
1039
1040 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
1041
1042         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
1043
1044         * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
1045
1046 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
1047
1048         * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
1049         alternatives.
1050         ("*movv8hi_internal1"): Same.
1051         ("*movv16qi_internal1"): Same.
1052         ("*movv4sf_internal1"): Same.
1053
1054         * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
1055         not push_reload for altivec modes.
1056
1057 2002-02-13  Joel Sherrill  <joel@OARcorp.com>
1058
1059         * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
1060         all RTEMS targets including removal of #includes from config/*/rtems*.h
1061         file and adding them to tm_file setting. Added xm_defines=POSIX to
1062         many targets.
1063         * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
1064         * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
1065         * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
1066         * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
1067         * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
1068         config/m68k/rtemself.h: Ditto.
1069         * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
1070         config/mips/rtems64.h: Ditto.
1071         * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
1072         * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
1073         Ditto.
1074         * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
1075         config/sparc/rtemself.h: Ditto.
1076         * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
1077         * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
1078         arm-rtems stanza closer to other arm-elf targets and made arm-rtems
1079         more like arm-elf.
1080         * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
1081         config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
1082         target made more similar to i386-elf.
1083         * config/i386/t-rtems-i386: Added soft float support and multilibs.
1084         * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
1085         be similar to config/m68k/t-m68kelf.
1086         * gthr-rtems.h: Encapsulate with extern "C" for C++.
1087
1088 Wed Feb 13 23:41:15 CET 2002  Jan Hubicka  <jh@suse.cz>
1089
1090         * regmove.c (kill_value): Handle subregs.
1091
1092 Wed Feb 13 23:34:30 CET 2002  Jan Hubicka  <jh@suse.cz>
1093
1094         * i386.md (mul patterns): Allow memory operand to be first;
1095         add expanders where needed; fix constraints.
1096         (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
1097         Allow memory operand to be the first.
1098
1099         * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
1100         operands.
1101
1102 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
1103
1104         PR c/5681:
1105         * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
1106         GET_MODE (x).
1107
1108 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
1109
1110         PR optimization/5547:
1111         * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
1112         all valid IA-32 address modes involving non-scaled %ebx and
1113         GOT/GOTOFF as displacement.
1114
1115 2002-02-13  Ulrich Weigand  <uweigand@de.ibm.com>
1116
1117         * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
1118         after emitting ltorg insns.
1119
1120         * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
1121         *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
1122         *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
1123         *abssf2): Fix "op_type" attribute.
1124
1125 2002-02-13  Douglas B Rupp  <rupp@gnat.com>
1126
1127         * mkconfig.sh: Avoid using a subshell redirect.
1128         ($output.T): Change to $(output)T.
1129         (ENABLE_NLS): Remove unneeded undef.
1130
1131         * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
1132         * config/alpha/x-vms (libsubdir): Define.
1133
1134         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
1135         register frame procedures. Optimize retrieving context.
1136
1137         * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
1138         (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
1139         * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
1140
1141 Wed Feb 13 09:45:08 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1142
1143         * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
1144         Make same change as for find_base_value.
1145
1146 2002-02-13  Kazu Hirata  <kazu@hxi.com>
1147
1148         * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
1149         of QImode and SImode.
1150
1151 2002-02-13  Kazu Hirata  <kazu@hxi.com>
1152
1153         * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
1154         length computation of movsi.
1155         * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
1156
1157 2002-02-13  Kazu Hirata  <kazu@hxi.com>
1158
1159         * config/h8300/h8300.md (subqi3): Tighten the predicate for
1160         operands[2] to register_operand.
1161
1162 Wed Feb 13 10:35:56 CET 2002  Jan Hubicka  <jh@suse.cz>
1163
1164         * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
1165
1166 2002-02-12  Aldy Hernandez  <aldyh@redhat.com>
1167
1168         * config/rs6000/rs6000.md: Use predicate altivec_register_operand
1169         for altivec_lvx* and altivec_stvx*.
1170         ("*movv4si_internal"): Add constraint for loading from GPRs.
1171         ("*movv8hi_internal1"): Same.
1172         ("*movv16qi_internal1"): Same.
1173         ("*movv4sf_internal1"): Same.
1174
1175         * config/rs6000/rs6000.c (altivec_register_operand): New.
1176
1177         * config/rs6000/rs6000.h (PREDICATE_CODES): Add
1178         altivec_register_operand.
1179
1180 2002-02-13  Hans-Peter Nilsson  <hp@bitrange.com>
1181
1182         * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
1183         handle SYMBOL_REF.
1184
1185 2002-02-13  Stan Shebs  <shebs@apple.com>
1186
1187         * c-typeck.c (digest_init): Handle vectors.
1188         (really_start_incremental_init): Same.
1189         (pop_init_level): Same.
1190         (process_init_element): Same.
1191
1192         * varasm.c (output_constant): Same.
1193
1194         * expr.c (clear_storage): Same.
1195         (store_constructor): Same.
1196
1197 2002-02-12  Eric Christopher  <echristo@redhat.com>
1198
1199         * explow.c (hard_function_value): Add comment explaining
1200         signed/unsigned comparison.
1201
1202 2002-02-12  Jakub Jelinek  <jakub@redhat.com>
1203
1204         * jump.c (never_reached_warning): Add finish argument.
1205         If finish is NULL, stop on CODE_LABEL, otherwise stop before first
1206         real insn after end.
1207         * rtl.h (never_reached_warning): Adjust prototype.
1208         * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
1209         * cfgrtl.c (flow_delete_block): Pass b->end as finish to
1210         never_reached_warning.
1211
1212 2002-02-12  Graham Stott  <grahams@redhat.com>
1213
1214         * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
1215
1216 2002-02-12  Kazu Hirata  <kazu@hxi.com>
1217
1218         * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
1219         logical shifts on H8/300.
1220         (shift_alg_si): Improve several shifts on H8/300.
1221         (get_shift_alg): Likewise.
1222
1223 2002-02-12  Graham Stott  <grahams@redhat.com>
1224
1225         * config/pa/pa.c (compute_movstrsi_length): Fix typos.
1226
1227 Tue Feb 12 10:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1228
1229         * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
1230         Handle #ifdef POINTERS_EXTEND_UNSIGNED.
1231
1232 2002-02-11  Hans-Peter Nilsson  <hp@bitrange.com>
1233
1234         * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
1235         non-CONST_INT through default_assemble_integer.
1236         <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
1237         <case 8>: Abort for CONST_DOUBLE.
1238
1239 2002-02-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1240
1241         * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
1242         is specified.
1243         * config/pa/pa-linux.h (LIB_SPEC): Delete.
1244         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
1245
1246 2002-02-11  Andrew Haley  <aph@cambridge.redhat.com>
1247
1248         * config/stormy16/stormy16.md (zero_extendqihi2): New.
1249
1250 2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
1251
1252         * regrename.c (regrename_optimize): Don't accept a
1253         part-clobbered register if the replaced register is not part
1254         clobbered.
1255
1256         * calls.c (store_one_arg): In the non-BLKmode non-partial case,
1257         take padding into account when computing the argument value.
1258
1259         * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
1260
1261         * combine.c (try_combine): Apply substitutions in
1262         CALL_INSN_FUNCTION_USAGE too.
1263
1264 2002-02-11  Aldy Hernandez  <aldyh@redhat.com>
1265
1266         * config/rs6000/rs6000.c (altivec_init_builtins): Handle
1267         __builtin_altivec_abs*.
1268         (bdesc_abs): New.
1269
1270         * config/rs6000/rs6000.h (rs6000_builtins): Add
1271         ALTIVEC_BUILTIN_ABS*.
1272
1273         * config/rs6000/altivec.h: Use const char for builtins expecting
1274         literals.
1275         (vec_abs): New versions for C and C++.
1276         (vec_abss): Same.
1277
1278 2002-02-10  Kazu Hirata  <kazu@hxi.com>
1279
1280         * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
1281         using Pmode.
1282
1283 2002-02-10  Kazu Hirata  <kazu@hxi.com>
1284
1285         * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
1286         constant definition from h8300.md.
1287         (FRAME_POINTER_REGNUM): Likewise.
1288         * config/h8300/h8300.md (define_constants): Add FP_REG.
1289
1290 2002-02-10  Kazu Hirata  <kazu@hxi.com>
1291
1292         * config/h8300/h8300.c (print_operand): Remove redundant code.
1293
1294 2002-02-10  Kazu Hirata  <kazu@hxi.com>
1295
1296         * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
1297         * config/h8300/h8300.c (byte_reg): Make it static.
1298
1299 2002-02-10  Richard Henderson  <rth@redhat.com>
1300
1301         PR c/5623
1302         * c-typeck.c (incomplete_type_error): Handle flexible array members.
1303
1304 2002-02-10  Richard Henderson  <rth@redhat.com>
1305
1306         PR c++/5624
1307         * tree.c (append_random_chars): Don't abort if main_input_filename
1308         does not exist.
1309
1310 2002-02-10  Hans-Peter Nilsson  <hp@bitrange.com>
1311
1312         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
1313
1314 2002-02-10  Kazu Hirata  <kazu@hxi.com>
1315
1316         * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
1317         (pushhi1): Likewise.
1318
1319 2002-02-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1320
1321         * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
1322         * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
1323
1324 2002-02-09  David O'Brien  <obrien@FreeBSD.org>
1325
1326         * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
1327         remove MASK_VIS.
1328         (ASM_CPU_DEFAULT_SPEC): Remove.  Default setting is fine.
1329
1330 2002-02-09  Kazu Hirata  <kazu@hxi.com>
1331
1332         * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
1333         a half of an SImode register on H8/300.
1334
1335 Sat Feb  9 18:28:02 CET 2002  Jan Hubicka  <jh@suse.cz>
1336
1337         * i386.md (movdi_2): Add missing '!'.
1338
1339 2002-02-09  Kazu Hirata  <kazu@hxi.com>
1340
1341         * config/h8300/h8300.h: Fix formatting.  Remove commented-out
1342         definitions.
1343
1344 2002-02-09  Kazu Hirata  <kazu@hxi.com>
1345
1346         * config/h8300/h8300.md (length): Correct the distance valid
1347         for the short branch.
1348
1349 2002-02-09  Kazu Hirata  <kazu@hxi.com>
1350
1351         * config/h8300/h8300.md (iorhi3): Tighten the predicates.
1352
1353 2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
1354
1355         * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
1356         registers in SImode.
1357         (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
1358         part-clobbered.
1359
1360         * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
1361         patch.
1362
1363         Contribute sh64-elf.
1364         2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
1365         * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
1366         (sh_cannot_modify_jumps_p): New function.
1367         2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
1368         * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
1369         (sh_ms_bitfield_layout_p): New function.
1370         2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
1371                     Zack Weinberg  <zack@codesourcery.com>
1372         * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
1373         expand_simple_binop instead of expand_binop.
1374         2002-02-03  Alexandre Oliva  <aoliva@redhat.com>
1375         * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
1376         use of .quad and .uaquad.
1377         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
1378         TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
1379         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
1380         * config/sh/sh.md (movdi_const, movdi_const_32bit,
1381         movdi_const_16bit): Make sure all CONSTs have modes.
1382         (sym2PIC): Ditto, but by adjusting all callers.
1383         * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
1384         if the prologue calls the SHmedia argument decoder or register
1385         saver.
1386         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
1387         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
1388         (TARGET_ASM_ALIGNED_DI_OP): Likewise.
1389         (sh_expand_epilogue): Don't emit USE of return target register.
1390         (prepare_move_operands): Legitimize DImode PIC addresses.
1391         (sh_media_register_for_return): Skip tr0, used to initialize the
1392         PIC register.
1393         (sh_expand_prologue): Remove explicit USE of return register.
1394         (nonpic_symbol_mentioned_p): PC is non-PIC.  Don't recurse in
1395         CONST_DOUBLEs.  UNSPEC_GOTPLT is PIC.
1396         * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
1397         (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
1398         (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
1399         EXTRA_CONSTRAINT_T.
1400         (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
1401         (MOVI_SHORI_BASE_OPERAND_P): New.
1402         (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
1403         (EXTRA_CONSTRAINT_T): Define in terms of them.
1404         (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
1405         * config/sh/sh.md (movsi_media, movsi_media_nofpu,
1406         movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
1407         alternatives supporting TARGET_REGS.
1408         (UNSPEC_GOTPLT): New constant.
1409         (movdi split): Move incrementing of LABEL_NUSES...
1410         (movdi_const, movdi_const_32bit): Here.  Use
1411         MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
1412         (movdi_const_16bit): New.
1413         (call, call_value) [flag_pic]: Use GOTPLT.
1414         (call_pop, call_value_pop): New expands.
1415         (call_pop_compact, call_pop_rettramp): New insns.
1416         (call_value_pop_compact, call_value_pop_rettramp): New insns.
1417         (sibcall) [flag_pic]: Use GOT.
1418         (builtint_setjmp_receiver): Remove bogus, unused expand.
1419         (GOTaddr2picreg): Implement for SHcompact and SHmedia.
1420         (*pt, *ptb, ptrel): New insns.
1421         (sym2GOT): Handle DImode GOT.
1422         (sym2GOTPLT, symGOTPLT2reg): New expands.
1423         (sym2PIC): New expand.
1424         (shcompact_return_tramp): Use GOTPLT to return trampoline.
1425         (shcompact_return_tramp_i): Use return register explicitly.
1426         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
1427         disable flag_reorder_blocks.
1428         2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
1429         * config/sh/sh.md (sibcall_compact): Reorder return, uses and
1430         clobbers, for clarity.
1431         (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
1432         restoring of r0 in macl as MAYBE_DEAD.
1433         2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
1434         * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
1435         * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
1436         alter_subreg all over.
1437         (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
1438         reload, instead of emitting instructions that would require
1439         reloading.
1440         (casesi_load_media): Add missing modes.
1441         2001-11-09  Alexandre Oliva  <aoliva@redhat.com>
1442         * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
1443         as used if the argument decoder is called.
1444         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
1445         * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
1446         Pmode, then extend it to DImode if necessary.
1447         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
1448         * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
1449         constants in FPU-enabled SHmedia, let them be loaded from memory.
1450         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
1451         * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
1452         Adjust whitespace in assembly output templates.
1453         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
1454         * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
1455         mode of if_then_else.
1456         2001-08-04  Alexandre Oliva  <aoliva@redhat.com>
1457         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
1458         sh.h.
1459         2001-07-26  Andrew Haley  <aph@cambridge.redhat.com>
1460                     Joern Rennecke <amylaar@redhat.com>
1461         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
1462         (SUBTARGET_CPP_PTR_SPEC): New.
1463         (SUBTARGET_CPP_SPEC): Remove.
1464         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
1465         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
1466         Fix typo in previous checkin.
1467         2001-07-11  Chandrakala Chavva  <cchavva@redhat.com>
1468         * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
1469         2001-07-10  Chandrakala Chavva  <cchavva@cygnus.com>
1470                     Alexandre Oliva  <aoliva@redhat.com>
1471         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
1472         what single FP register can hold for SHmedia target.
1473         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
1474                     Alexandre Oliva  <aoliva@redhat.com>
1475         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
1476         Do not split into SUBREG.
1477         2001-06-14  Alexandre Oliva  <aoliva@redhat.com>
1478         * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
1479         and added new functions as specified in SH5 ABI r9.
1480         2001-06-04  Alexandre Oliva  <aoliva@redhat.com>
1481         * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
1482         8-byte boundary.
1483         2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
1484         * config/sh/sh.c (dump_table): Add const0_rtx in calls of
1485         gen_consttable_4 and gen_consttable_8.  Emit multiple labels
1486         and consttable_window_ends.
1487         2001-06-03  Graham Stott  <grahams@redhat,com>
1488         * config/sh/sh.md (movdi split): Remove unused variable last_insn.
1489         2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
1490         * config/sh/sh.c (print_operand): Handle floating-point pair,
1491         vector and matrix registers.
1492         * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
1493         vector modes into account.
1494         * config/sh/sh.md (movv2sf): Split move between registers into
1495         movdf.
1496         (movv4sf, movv16sf): Introduce insns that get split only after
1497         reload.
1498         * config/sh/shmedia.h: Fix Copyright dates.
1499         * config/sh/ushmedia.h: Likewise.  Move loop counter
1500         declarations into conditionals that uses them.
1501         (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
1502         loop boundary.
1503         * config/sh/sshmedia.h: Fix Copyright dates.
1504         (sh_media_PUTCFG): Fix constraints.
1505         2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
1506         * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
1507         ptrmemfunc_vbit_in_delta for SH5.
1508         2001-05-08  Alexandre Oliva  <aoliva@redhat.com>
1509         * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
1510         * invoke.texi: Likewise.
1511         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
1512         * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
1513         GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
1514         GCC_pop_shmedia_regs_nofpu): New global symbols.
1515         * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
1516         * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
1517         * config/sh/sh.c (calc_live_regs): Account for PR's saving in
1518         compact function with nonlocal labels.
1519         (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
1520         (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
1521         (initial_elimination_offset): Account for their stack space.
1522         * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
1523         * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
1524         movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
1525         movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
1526         least one of the operands to be a register.
1527         (movv2sf): Likewise.  Renamed to movv2sf_i.
1528         (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
1529         prepare_move_operands() before emitting SHmedia insns.
1530         2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
1531         * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
1532         Don't save nor initialize r12.  Don't mis-align the stack.
1533         Pad the code with a nop.
1534         * config/sh/crti.asm: Don't restore r12.  Don't mis-align the
1535         stack.
1536         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
1537         * gcc/longlong.h (__umulsidi3, count_leading_zeros)
1538         [__SHMEDIA__]: Implement.
1539         2001-03-11  Alexandre Oliva  <aoliva@redhat.com>
1540         * config/sh/sh.md: Set latency of `pt' closer to reality.
1541         (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
1542         movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
1543         Set move, load and store type attributes.
1544         * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
1545         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
1546         profiling.
1547         * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
1548         * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
1549         * config/sh/sh.c (sh_media_register_for_return): New function.
1550         (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
1551         branch-target register.
1552         (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
1553         * config/sh/sh.md (return_media_i): Use any call-clobbered
1554         branch-target register.
1555         (return_media): If r18 wasn't copied in the prologue, copy it
1556         here.
1557         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
1558         Clear class FP0_REGS.
1559         * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
1560         from elf.h.
1561         2001-03-08  DJ Delorie  <dj@redhat.com>
1562         * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
1563         2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
1564         * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
1565         2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
1566         * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
1567         2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
1568         * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
1569         return value correctly for call_cookie.
1570         2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
1571         * config/sh/crt1.asm (start): Modified so as to call
1572         ___setup_argv_and_call_main.
1573         2001-01-26  Alexandre Oliva  <aoliva@redhat.com>
1574         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
1575         SHmedia mode.
1576         2001-01-20  Alexandre Oliva  <aoliva@redhat.com>
1577         * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
1578         (STRIP_NAME_ENCODING): Use it.
1579         (ASM_OUTPUT_LABELREF): Likewise.  Don't call assemble_name().
1580         2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
1581         * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
1582         prepare_scc_operands().
1583         * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
1584         (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
1585         2001-01-17  Alexandre Oliva  <aoliva@redhat.com>
1586         * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
1587         2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
1588         * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
1589         * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
1590         used in shcompact_incoming_args.
1591         * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
1592         change.
1593         * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
1594         mode.
1595         * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
1596         Adjust accordingly.
1597         * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
1598         Simplify.  Adjust.  Add sanity check.
1599         * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
1600         FPU_SINGLE_BIT.
1601         * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
1602         TARGET_SHCOMPACT.
1603         (udivsi3, divsi3): Use them.
1604         (force_mode_for_call): New insn.
1605         (call, call_value, sibcall_value): Emit it before SHcompact
1606         calls.
1607         2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
1608         * config/sh/sh.md (call, call_value, sibcall): Make sure the
1609         call cookie is non-NULL before taking its value.
1610         2001-01-10  Alexandre Oliva  <aoliva@redhat.com>
1611         * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
1612         2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
1613         * config/sh/sh.md (shcompact_incoming_args): Set argument memory
1614         block.
1615         * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
1616         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
1617         temporary for stack adjusts.  Use MACL and MACH to pass
1618         arguments to shcompact_incoming_args.
1619         * config/sh/sh.md (shcompact_incoming_args): Adjust.  Don't
1620         clobber r1.
1621         * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
1622         (nested_trampoline): Load static chain address into r1.
1623         * config/sh/sh.md (movdi_media splits): Fix sign-extension.
1624         2001-01-07  Alexandre Oliva  <aoliva@redhat.com
1625         * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
1626         fp_arith_reg_operand().
1627         2001-01-06  Alexandre Oliva  <aoliva@redhat.com>
1628         * config/sh/sh.md (casesi): Sign-extend the first two operands,
1629         and use signed compares for them.
1630         * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
1631         4-byte ones.  Instead, inter-leave them, maintaining the 8-byte
1632         ones properly aligned.
1633         (find_barrier): Account for extra alignment needed for 8-byte wide
1634         constants.
1635         (machine_dependent_reorg): Require a label for the second 4-byte
1636         constant after an 8-byte one.
1637         * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
1638         change.
1639         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
1640         * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
1641         last_float when switching float modes.
1642         * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
1643         auto-increment for general-purpose registers.
1644         * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
1645         result.
1646         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
1647         for stack adjust.
1648         * config/sh/sh.c (sh_builtin_saveregs): Support using all
1649         registers for varargs.
1650         2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
1651         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
1652         * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
1653         CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
1654         (CALL_COOKIE_INT_REG_SHIFT): Adjust.
1655         (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK.  Adjust
1656         call_cookie accordingly.
1657         (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
1658         (SHCOMPACT_BYREF): Likewise.
1659         (SHCOMPACT_FORCE_ON_STACK): New macro.
1660         * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
1661         (sh_builtin_saveregs): Likewise.
1662         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1663         shcompact_incoming_args): Use new shift values.  Support
1664         sequences of consecutive and non-consecutive pushes/pops.
1665         * config/sh/sh.md (return): Don't explicitly use PR_REG.
1666         2001-01-05  Hans-Peter Nilsson  <hpn@cygnus.com>
1667         * config/sh/sh.h (TEXT_SECTION): Define.
1668         * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
1669         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
1670         * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
1671         * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
1672         return values on FPU-enabled SHmedia.
1673         (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
1674         FPU-enabled SHmedia.
1675         (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
1676         value is returned in a non-FP reg and is not returned by
1677         reference.
1678         * config/sh/sh.md (shcompact_return_tramp_i): Change type to
1679         jump_ind.
1680         2000-01-04  Alexandre Oliva  <aoliva@redhat.com>
1681         * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
1682         (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
1683         quad-aligned to be passed by callee-copy reference.
1684         2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
1685         * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
1686         * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
1687         2001-01-02  Alexandre Oliva  <aoliva@redhat.com>
1688         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
1689         copying low-numbered FP regs to r7 and r8.
1690         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
1691         FP regs to general-purpose regs only if the copy was passed on the
1692         stack.
1693         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
1694         copying FP reg to r9.
1695         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
1696         copy FP regs to general-purpose regs only in outgoing calls.
1697         * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1698         change from     2000-10-30.  Adjust for 64-bit (or 32-bit)
1699         HOST_WIDE_INT.
1700         * config/sh/sh.h (struct sh_args): Document all fields.
1701         (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
1702         passed partially on the stack should not consider making
1703         sibcalls.
1704         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
1705         stack_regs only for incoming calls.  When passing FP args,
1706         make sure there are FP regs available before modifying
1707         call_cookie.
1708         (SHCOMPACT_BYREF): Pass double args in general-purpose
1709         registers by reference.
1710         2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
1711         * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
1712         attempt to generate sibcalls if the caller got any arguments
1713         by reference.
1714         * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
1715         * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
1716         to 8-byte boundaries.
1717         * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
1718         * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
1719         * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
1720         stored in the stack.
1721         * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
1722         for the offsets to have the ISA bit set.
1723         (shcompact_call_trampoline): Document.  Swap r0 and r1, to match
1724         invocation.  Use beq instead of bgt to mark end of sequence of
1725         loads.
1726         (shcompact_incoming_args): Fix store of r2.  Use beq instead of
1727         bgt to mark end of sequence of stores.
1728         * config/sh/sh.c (arith_operand): Don't check whether
1729         CONST_OK_FOR_J for now.
1730         * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
1731         instead of long for conversion.
1732         2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
1733         * config/sh/sh.c (print_operand_address): Convert INTVAL to int
1734         before passing it to fprintf.
1735         2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
1736         * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
1737         Call set_fpscr before reading/writing SR.
1738         * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
1739         Call set_fpscr.
1740         * config/sh/lib1funcs.asm: Add `.align 2' directives before
1741         SHmedia code.
1742         (FMOVD_WORKS): Define on SH5 with FPU.
1743         (set_fpscr): Define on SH5.  Remove separate _fpscr_values
1744         setting.
1745         * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
1746         _fpscr_values.
1747         2000-12-28  Hans-Peter Nilsson  <hpn@cygnus.com>
1748         * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
1749         address.
1750         (ia_main_table): Ditto.
1751         2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
1752         * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
1753         * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
1754         the definitions from sh.h.
1755         * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
1756         TARGET_SH5.
1757         (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
1758         * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
1759         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
1760         2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
1761         * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
1762         Increment LABEL_NUSES.
1763
1764         * config/sh/sh.h (SIZE_TYPE): Define as conditional on
1765         TARGET_SH5.
1766         (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
1767         defined.
1768         * config/sh/elf.h (SIZE_TYPE): Likewise.
1769         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
1770         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1771         shcompact_incoming_args): Load switch table addresses using
1772         datalabel.
1773         * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
1774         (NO_BUILTIN_SIZE_TYPE): Define.
1775         (SIZE_TYPE): Don't define.
1776         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
1777         * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
1778         definition of __SH5__=32 for -m5-compact-nofpu.
1779         * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
1780         ADDR_DIFF_VEC.
1781         2000-12-24  Alexandre Oliva  <aoliva@redhat.com>
1782         * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
1783         2000-12-23  Alexandre Oliva  <aoliva@redhat.com>
1784         * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
1785         (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
1786         (INSN_LENGTH_ALIGNMENT): Likewise.
1787         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
1788         * config/sh/sh.md (call, call_value, sibcall): Simplify
1789         copying of non-branch-target register.
1790         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
1791         * glimits.h (__LONG_MAX__): Revert      2000-12-13's patch.
1792         * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
1793         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
1794         * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
1795         floating-point values as structs.
1796         (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
1797         (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
1798         general-purpose register.
1799         (SH5_PROTOTYPED_FLOAT_ARG): New macro.
1800         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
1801         * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
1802         * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
1803         * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
1804         (ENCODE_SECTION_INFO): Enclose variables and constants in
1805         DATALABEL unspecs.
1806         (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
1807         (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
1808         (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
1809         * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
1810         only for LABEL_REFs.  For SYMBOL_REFs, prepend
1811         SH_DATALABEL_ENCODING to the symbol name.
1812         * config/sh/sh.md (indirect_jump): Use SUBREG instead of
1813         convert_mode().
1814         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
1815         * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
1816         UNSPEC_DATALABEL.
1817         * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
1818         * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
1819         (DATALABEL_REF_P): Don't require CONST.
1820         (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
1821         REL label.
1822         2000-12-19  Alexandre Oliva  <aoliva@redhat.com>
1823         * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
1824         right.
1825         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
1826         * config/sh/sh.md (movsi_media, call, call_value, sibcall):
1827         Use shallow_copy_rtx and PUT_MODE to change the mode of
1828         SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
1829         * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
1830         on SHmedia using GENERAL_REGs.
1831         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1832         bltu_media_i): Fix reversion of conditions.
1833         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
1834         * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
1835         * config/sh/sh.c (output_far_jump): Save r13 in macl.
1836         2000-12-17  Alexandre Oliva  <aoliva@redhat.com>
1837         * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
1838         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
1839         * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
1840         (GCC_nested_trampoline): Likewise.
1841         * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
1842         * config/sh/sh.c (gen_datalabel_ref): Define.
1843         * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
1844         (INITIALIZE_TRAMPOLINE): Likewise.
1845         (TRAMPOLINE_ADJUST_ADDRESS): Define.
1846         (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
1847         (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
1848         (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
1849         * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
1850         (ic_invalidate): Adjust for SH5.
1851         (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
1852         * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
1853         _nested_trampoline.
1854         2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
1855         * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
1856         (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
1857         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
1858         * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
1859         * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
1860         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
1861         * config/sh/sh.c (target_reg_operand): Match only target-branch
1862         registers and pseudos that aren't virtual registers.
1863         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
1864         Copy operands that don't match target_reg_operand to pseudos.
1865         (call_media, call_value_media, sibcall_media): Use
1866         target_reg_operand instead of target_operand.
1867         2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
1868         * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
1869         * config/sh/sh.c (target_reg_operand): Match hardware registers
1870         other than branch-target registers.
1871         * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
1872         * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
1873         (fpscr_values) [SH5 == 32]: Define.
1874         * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
1875         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
1876         Handle function addresses coming in SUBREGs.
1877         2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
1878         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1879         shcompact_return_trampoline): Use datalabel where appropriate.
1880         2000-12-09  Alexandre Oliva  <aoliva@redhat.com>
1881         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
1882         general-purpose register to copy one branch-target register to
1883         another.
1884         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
1885         * config/sh/sh.c (target_operand): Accept LABEL_REFs and
1886         SYMBOL_REFs with VOIDmode.
1887         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1888         bltu_media_i): New insns.
1889         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
1890         * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
1891         (INIT_CUMULATIVE_ARGS): Likewise.
1892         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
1893         * machmode.def (V16SFmode): New mode.
1894         * c-common.c (type_for_mode): Support V2SF and V16SF.
1895         * tree.c (build_common_tree_nodes_2): Likewise.
1896         * tree.h (tree_index): Likewise.
1897         * calls.c (emit_call_1): Take args_so_far.  Adjust all
1898         callers.  Introduce CALL_POPS_ARGS.
1899         * tm.texi (CALL_POPS_ARGS): Document.
1900         * config/sh/crt1.asm: Implement in SHmedia mode.
1901         * config/sh/crti.asm, config/sh/crtn.asm: Likewise
1902         * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
1903         (DBX_REGISTER_NUMBER): Renumber registers for SH5.
1904         * config/sh/lib1funcs.asm: Disable functions unused in SH5.
1905         Implement divsi and udivsi in SHmedia mode.  Introduce
1906         SHcompact trampolines.
1907         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
1908         only in SHmedia64.
1909         (regno_reg_class): Rewrite.
1910         (fp_reg_names): Remove.
1911         (sh_register_names, sh_additional_register_names): New.
1912         (print_operand): Added `u'.  Support SUBREGs in addresses.
1913         Add parentheses around shifted CONSTs.
1914         (output_file_start): Output .mode and .abi directives.
1915         (shiftcosts, addsubcosts, multcosts): Adjust.
1916         (output_stack_adjust): Compute alignment.  Sanity-check SIZE.
1917         (push_regs): Take array of HOST_WIDE_INTs.  Adjust callers.
1918         (calc_live_regs): Output to array of HOST_WIDE_INTs.  Count
1919         bytes, not registers.  Take into account the need for the
1920         SHcompact incoming args trampoline.  Adjust all callers.
1921         (sh_expand_prologue): Take stack_regs into account.  Call
1922         incoming args trampoline.  Keep stack aligned as per SH5 ABI.
1923         (sh_expand_epilogue): Take stack_regs into accoutn.  Keep
1924         stack aligned as per SH5 ABI.
1925         (sh_builtin_saveregs): Support SH5 ABI.
1926         (sh_build_va_list, sh_va_start): Likewise.
1927         (initial_elimination_offset): Take alignment into account.
1928         Compute location of PR according to the SH5 stack frame.
1929         (arith_reg_operand): Reject branch-target registers.
1930         (shmedia_6bit_operand): New.
1931         (logical_operand): Use CONST_OK_FOR_P on SHmedia.
1932         (target_reg_operand): Match DImode only.  Accept SUBREGs.
1933         (target_operand): New.
1934         * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
1935         (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI.  Initialize
1936         SIBCALL_REGS for SHmedia.
1937         (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
1938         (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
1939         (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
1940         (TARGET_SWITCHES): New SH5 flags.
1941         (OVERRIDE_OPTIONS): Set SH5-specific options.  Use
1942         VALID_REGISTER_P to disable unsupported registers.
1943         (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
1944         (POINTER_SIZE, PARM_BOUNDARY): Adjust.
1945         (FUNCTION_ARG_PADDING): Define.
1946         (FASTEST_ALIGNMENT): Adjust.
1947         (SH_REGISTER_NAMES_INITIALIZER): New.
1948         (sh_register_names): Declare.
1949         (DEBUG_REGISTER_NAMES): Define.
1950         (REGISTER_NAMES): Define based on sh_register_names.
1951         (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
1952         (sh_additional_register_names): Declare.
1953         (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
1954         (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
1955         (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
1956         (REGISTER_NATURAL_MODE): Define.
1957         (FIRST_PSEUDO_REGISTER): Adjust.
1958         (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
1959         (HARD_REGNO_CALL_PART_CLOBBERED): Define.
1960         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
1961         (VECTOR_MODE_SUPPORTED_P): Define.
1962         (REG_CLASS_CONTENTS): Adjust.
1963         (SMALL_REGISTER_CLASSES): Adjust.
1964         (REG_ALLOC_ORDER): Adjust.
1965         (INDEX_REG_CLASS): Adjust.
1966         (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
1967         (CONST_OK_FOR_LETTER_P): Adjust.
1968         (PREFERRED_RELOAD_CLASS): Adjust.
1969         (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
1970         (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
1971         (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
1972         (FIRST_FP_PARM_REG): Adjust.
1973         (CALL_POPS_ARGS): Define.
1974         (FUNCTION_ARG_REGNO_P): Adjust.
1975         (struct sh_args): New fields.
1976         (GET_SH_ARG_CLASS): Adjust.
1977         (INIT_CUMULATIVE_ARGS): Adjust.
1978         (INIT_CUMULATIVE_INCOMING_ARGS): Define.
1979         (FUNCTION_ARG_ADVANCE): Adjust.
1980         (FUNCTION_ARG): Adjust.
1981         (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
1982         (FUNCTION_ARG_CALLEE_COPIES): Define.
1983         (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
1984         (STRICT_ARGUMENT_NAMING): Define.
1985         (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
1986         (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
1987         (SH5_WOULD_BE_PARTIAL_NREGS): Define.
1988         (SETUP_INCOMING_VARARGS): Adjust.
1989         (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
1990         (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
1991         (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
1992         (SUBREG_OK_FOR_INDEX_P): Adjust.
1993         (EXTRA_CONSTRAINT_S): Update.
1994         (EXTRA_CONSTRAINT_T): New.
1995         (EXTRA_CONSTRAINT): Adjust.
1996         (GO_IF_LEGITIMATE_INDEX): Adjust.
1997         (GO_IF_LEGITIMATE_ADDRESS): Adjust.
1998         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
1999         (MOVE_MAX): Adjust.
2000         (MAX_MOVE_MAX): Define.
2001         (Pmode): Adjust.
2002         (CONST_COSTS): Adjust.
2003         (REGISTER_MOVE_COST): Adjust.
2004         (BRANCH_COST): Adjust.
2005         (TEXT_SECTION_ASM_OP): Adjust.
2006         (DBX_REGISTER_NUMBER): Adjust.
2007         (ASM_OUTPUT_DOUBLE_INT): New.
2008         (UNALIGNED_DOUBLE_INT_ASM_OP): New.
2009         (PREDICATE_CODES): Adjust.
2010         (PROMOTE_MODE): Adjust.
2011         (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
2012         * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
2013         (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
2014         (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
2015         (DR0_REG, DR2_REG, DR4_REG): Renumber.
2016         (TR0_REG, TR1_REG, TR2_REG): New.
2017         (XD0_REG): Renumber.
2018         (UNSPEC_COMPACT_ARGS): New.
2019         (type): Added pt and ptabs.
2020         (length): Default to 4 on SHmedia.  Default pt length to 12
2021         and     20 on SHmedia32 and SHmedia64, respectively.
2022         (pt): New function unit.
2023         (movdi, movsi): Add types pt and ptabs.  Don't increment LABEL_NUSES.
2024         Add whitespace between operands of SHmedia instructions.
2025         (movdicc): Fix.
2026         (adddi3_media, addsi3_media): Adjust constraints.
2027         (subsi3) [SHmedia]: Force operand 1 into a register.
2028         (udivsi3_i1_media, udivsi3_i4_media): New.
2029         (udivsi3): Support SHmedia.
2030         (divsi3_i1_media, divsi3_i4_media): New.
2031         (divsi3): Support SHmedia.
2032         (anddi3, iordi3, xordi3): Adjust constraints.
2033         (zero_extendhidi2, zero_extendqidi2): New.
2034         (extendsidi2, extendhidi2, extendqidi2): New.
2035         (push, pop, push_e, push_fpul, push_4): Disable on SH5.
2036         (pop_e, pop_fpul, pop_4): Likewise.
2037         (movsi_media): Support FP and BT registers.
2038         (movsi_media_nofpu): New.  Adjust splits to DImode.
2039         (lduw, ldub): Renamed to zero_extend* above.
2040         (movqi_media): Fix typo.
2041         (movdi_media): Support FP and BT registers.
2042         (movdi_media_nofpu): New.  Adjust splits for SHmedia32.
2043         (movdi_const_32bit): New.
2044         (shori_media): Require immediate operand.  Use `u' for output.
2045         (movdf_media, movsf_media): Simplified.
2046         (movdf_media_nofpu, movsf_media_nofpu): New.
2047         (movdf, movsf): Adjust
2048         (movv2sf, movv2sf, movv16sf): New.
2049         (beq_media, beq_media_i): Adjust constraints.  Don't use
2050         scratch BT register.
2051         (bne_media, bne_media_i): Likewise.
2052         (bgt_media, bgt_media_i): Likewise.
2053         (bge_media, bge_media_i): Likewise.
2054         (bgtu_media, bgtu_media_i): Likewise.
2055         (bgeu_media, bgeu_media_i): Likewise.
2056         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
2057         bunordered): Emit jump insn.  Force operands to registers when
2058         needed.
2059         (jump_media, jump): Simplify.
2060         (call_compact, call_compact_rettramp): New.
2061         (call_value_compact, call_value_compact_rettramp): New.
2062         (call_media, call_value_media): Simplify.
2063         (sibcall_compact, sibcall_media): New.
2064         (call, call_value): Adjust for SHmedia and SHcompact.
2065         (sibcall, sibcall_value, untyped_call): Likewise.
2066         (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
2067         (indirect_jump): Adjust for SHmedia.
2068         (casesi_jump_media): New.
2069         (nop): Re-enable for SHmedia.
2070         (call_site): Restrict to SH1.
2071         (casesi): Adjust for SHmedia.
2072         (casesi_shift_media, casesi_load_media): New.
2073         (return): Explicitly use PR register.  Call return trampoline
2074         on SHcompact.
2075         (return_i): Explicitly use PR register.
2076         (shcompact_return_tramp, shcompact_return_tramp_i): New.
2077         (return_media): Adjust.
2078         (shcompact_incoming_args): New.
2079         (epilogue): Adjust.
2080         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
2081         (movstrsi): Disable on SH5.
2082         (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
2083         (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
2084         (subsf3, subsf3_media): Likewise.
2085         (mulsf3, mulsf3_media, mac_media): Likewise.
2086         (divsf3, divsf3_media): Likewise.
2087         (floatdisf2, floatsisf2_media): Likewise.  Adjust constraints.
2088         (floatsisf2, fux_truncsfsi2): Likewise.
2089         (fix_truncsfdi2, fix_truncsfsi2_media): Likewise.  Adjust
2090         constraints.
2091         (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
2092         (cmpunsf_media, cmpsf): Likewise.
2093         (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
2094         (abssf2, abssf2_media): Likewise.
2095         (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
2096         (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
2097         (floatdidf2, floatsidf2_media): Likewise.  Adjust constraints.
2098         (floatsidf2, fix_truncdfsi2): Likewise.
2099         (fix_truncdfdi2, fix_truncdfsi2_media): Likewise.  Adjust
2100         constraints.
2101         (cmpeqdf_media, cmpgtdf_media): Likewise.
2102         (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
2103         (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
2104         (absdf2, absdf2_media): Likewise.
2105         (extendsfdf2, extendsfdf2_media): Likewise.
2106         (truncsfdf2, truncsfdf2_media): Likewise.
2107         * config/sh/sh64.h: New file.
2108         * config/sh/t-sh64: New file.
2109         * config/sh/shmedia.h: New file.
2110         * config/sh/ushmedia.h: New file.
2111         * config/sh/sshmedia.h: New file.
2112         * configure.in: Added sh64-*-elf.
2113         * configure: Rebuilt.
2114         2000-10-10  Alexandre Oliva  <aoliva@redhat.com>
2115         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
2116         (reg_class_from_letter): Use `b' for TARGET_REGS.
2117         (print_operand): Support `%M', `%m', `AND' and
2118         `ASHIFTRT'.  Do not precede constants with `#' on SHmedia.
2119         (andcosts): Adjust for SHmedia.
2120         (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
2121         Likewise.
2122         (target_reg_operand): New function.
2123         * config/sh/sh-protos.h (target_reg_operand): Declare.
2124         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
2125         FP registers on SH5.
2126         (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
2127         on SH4.
2128         (TARGET_REGISTER_P): New macro.
2129         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
2130         (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
2131         (EXTRA_CONSTRAINT_S): New macro.
2132         (EXTRA_CONSTRAINT): Adjust.
2133         (FLOAT_TYPE_SIZE): Define to 32.
2134         (Pmode): DImode on SHmedia.
2135         (CONST_COSTS): Adjust for SHmedia literals.
2136         (PREDICATE_CODES): Added target_reg_operand.
2137         (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
2138         * config/sh/sh.md: Remove all attrs from SHmedia insns.
2139         (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
2140         (cmpdi): Accept SHmedia.
2141         (movdicc_false, movdicc_true): New insns.
2142         (movdicc): New expand.
2143         (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
2144         no_new_pseudos.
2145         (addsi3_media): Match `S' constraint.
2146         (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
2147         (negdi2): Expand for SHmedia.
2148         (one_cmpldi2): New expand.
2149         (zero_extendsidi2): Change from expand to insn.
2150         (extendsidi2): Add constraints.
2151         (movdi_media, movsi_media): Change `%x' to `%M'.  Use `%m' for
2152         LD/ST address.  Fix SI immediate loading split.
2153         (movhi_media, movqi_media, lduw, ldub): New insns.
2154         (movhi, movqi): Accept SHmedia.
2155         (shori_media, movdi_media): Relax input constraints.  Split
2156         symbolic constants.
2157         (movdf_media, movsf_media): New insn.  New split to movdi.
2158         (movdf, movsf): Match on SHmedia.
2159         (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
2160         bgeu_media): New insns and splits.  New insns with `_i' suffix.
2161         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
2162         (bunordered): New expand.
2163         (jump_compact): Renamed from `jump'.
2164         (jump_media): New insn.
2165         (jump): New expand.
2166         (call_media, call_value_media): New insns.
2167         (call, call_value): Adjust.
2168         (indirect_jump_compact): Renamed from `indirect_jump'.
2169         (indirect_jump_media): New insn.
2170         (indirect_jump): New expand.
2171         (untyped_call, return): Accept SHmedia.
2172         (return_media): New insn.
2173         (prologue, epilogue, blockage): Accept SHmedia.
2174         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
2175         (sunordered): New expand.
2176         (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
2177         cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
2178         (addsf3_media, subsf3_media, mulsf3_media, mac_media,
2179         divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
2180         fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
2181         cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
2182         abssf2_media): New insns.
2183         (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
2184         cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
2185         (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
2186         floatdidf2, floatsidf2_media, fix_truncdfdi2,
2187         fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
2188         cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
2189         absdf2_media): New insns.
2190         (extendsfdf2, truncdfsf2): Adjust for SHmedia.
2191         (extendsfdf2_media, truncdfsf2_media): New insns.
2192         2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
2193         * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
2194         * config/sh/sh.h (CONST_OK_FOR_J): Document.
2195         (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
2196         * config/sh/sh.md (adddi3): New expand.
2197         (adddi3_media, adddi3z_media): New insns.
2198         (adddi3_compact): Renamed from adddi3.
2199         (addsi3_media): Use add.l r63 to add constant zero.
2200         (subdi3): New expand.
2201         (subdi3_media): New insn.
2202         (subdi3_compact): Renamed from subdi3.
2203         (mulsidi3): New expand.
2204         (mulsidi3_media): New insn.
2205         (mulsidi3_compact): Renamed from mulsidi3.
2206         (umulsidi3): New expand.
2207         (umulsidi3_media): New insn.
2208         (umulsidi3_compact): Renamed from umulsidi3.
2209         (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
2210         (ashlsi3, ashrsi3, lshrsi3): Use them.
2211         (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
2212         (ashldi3, ashrdi3, lshrdi3): Use them.
2213         (zero_extendsidi2): New expand.
2214         (extendsidi2): New insn.
2215         (movsi_media): New insn.  Split to movdi to load constants.
2216         (movsi): Enable for shmedia.
2217         (movdi_media): New insn.  Use shori_media to load wide constants.
2218         (short_media): New insn.
2219         (movdi): Enable for shmedia.
2220         2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
2221         * config/sh/sh.h (CPP_SPEC): Added `m5'.
2222         (SUBTARGET_CPP_SPEC): Added `!m5'.
2223         (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
2224         (TARGET_SWITCHES): Added `5' and `5-compact'.  Added SH1_BIT
2225         to all other SH variants.
2226         (TARGET_DEFAULT): Set to SH1_BIT.
2227         (OVERRIDE_OPTIONS): Recognize sh5 CPU.
2228         (BITS_PER_WORD): Raise to 64 on shmedia.
2229         (MAX_BITS_PER_WORD): Change to 64.
2230         (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
2231         (INT_TYPE_SIZE): Keep as 32.
2232         (UNITS_PER_WORD): Raise to 8 on shmedia.
2233         (MIN_UNITS_PER_WORD): Keep as 4.
2234         (POINTER_SIZE): Raise to 64 on shmedia.
2235         (CONST_OK_FOR_J): New macro.
2236         (CONST_OK_FOR_LETTER_P): Use it.
2237         (processor_type): Add PROCESSOR_SH5.
2238         * config/sh/sh.md: Conditionalize all expands, insns and
2239         splits to TARGET_SH1.
2240         (cpu): Added sh5.
2241         (addsi3_compact): Renamed from...
2242         (addsi3): Now an expand.
2243         (addsi3_media, subsi3_media): New insns.
2244         (subsi3): Don't negate constants with SHmedia.
2245
2246         * hooks.c: New file.
2247         * hooks.h: New file.
2248         * Makefile.in (HOOKS_H): New.
2249         (TARGET_DEF_H): Added $(HOOKS_H).
2250         (OBJS): Added hooks.o.
2251         (cfgcleanup.o, bb-reorder.o): Added target.h.
2252         (hooks.o): Added dependencies.
2253         * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
2254         (TARGET_INITIALIZER): this.
2255         * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
2256         * target.h (struct gcc_target): Added cannot_modify_jumps_p.
2257         * bb-reorder.c: Include target.h.
2258         (reorder_basic_blocks): Skip if cannot modify jumps.
2259         * cfgcleanup.c: Include target.h.
2260         (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
2261
2262 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
2263
2264         * config/mips/mips.md (casesi_internal, casesi_internal_di):
2265         Protect jump delay slot instructions with .set noreorder and
2266         .set nomacro.
2267
2268 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
2269
2270         * config/mips/mips.md (casesi_internal_di): Calculate
2271         the index into the target offset table correctly.
2272
2273 2002-02-08  Richard Henderson  <rth@redhat.com>
2274
2275         * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
2276         * final.c (output_addr_const): Accept and discard SUBREG.
2277         * varasm.c (decode_addr_const): Don't abort on unknown expressions --
2278         mark them unknown instead.
2279         (simplify_subtraction): Handle RTX_UNKNOWN.
2280         (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
2281
2282 2002-02-08  David Edelsohn  <edelsohn@gnu.org>
2283
2284         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
2285
2286 2002-02-08  Richard Henderson  <rth@redhat.com>
2287
2288         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
2289
2290 2002-02-08  Andreas Jaeger  <aj@suse.de>
2291
2292         * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
2293         * config/i386/t-linux64: New file.
2294
2295 2002-02-08  Jakub Jelinek  <jakub@redhat.com>
2296
2297         * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
2298         * c-parse.in (compstmt): Clear last_expr_type.
2299
2300 2002-02-07  Richard Henderson  <rth@redhat.com>
2301
2302         * loop.c (strength_reduce): Sink final_value when not
2303         eliminating a biv.
2304
2305 2002-02-07  David O'Brien  <obrien@FreeBSD.org>
2306
2307         * config/sparc/freebsd.h: Fix mismatched spec {.
2308
2309 2002-02-07  Richard Henderson  <rth@redhat.com>
2310
2311         * cfgrtl.c: Include recog.h and insn-config.h.
2312         (keep_with_call_p): Fix general_operand invocation.
2313         * Makefile.in (cfgrtl.o): Update dependencies.
2314
2315 2002-02-07  Kazu Hirata  <kazu@hxi.com>
2316
2317         * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
2318         comment.  Accept HImode only if TARGET_H8300.
2319
2320 2002-02-07  Eric Christopher  <echristo@redhat.com>
2321
2322         * config/mips/crtn.asm: Cleanup #ifdefs.
2323
2324 2002-02-07  Eric Christopher  <echristo@redhat.com>
2325
2326         * config/mips/crti.asm: Add changes for mips16. mips16 uses
2327         register 7 as RA instead of $31.
2328         * config/mips/crtn.asm: Ditto.
2329         * config/mips/mips.c (mips_move_2words): Add case for
2330         TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
2331         (compute_frame_size): Fix typo.
2332         (save_restore_insns): Ditto.  Make documentation about using
2333         register $7 as return register more precise.
2334         (mips_expand_epilogue): Fix comment. Add code to work around not
2335         being able to add to the stack pointer directly.
2336         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
2337         to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
2338         epilogue.
2339
2340 2002-02-07  Tom Rix  <trix@redhat.com>
2341
2342         * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
2343         immediates in ldu and stdu DS opcode field.
2344         * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
2345         * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
2346         * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
2347
2348 2002-02-07  Jeff Sturm  <jsturm@one-point.com>
2349
2350         * config/sparc/sparc.c (compute_frame_size): Don't correct frame
2351         offset for stack bias.
2352
2353 2002-02-07  H.J. Lu <hjl@gnu.org>
2354
2355         * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
2356
2357 2002-02-07  Ulrich Weigand  <uweigand@de.ibm.com>
2358
2359         * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
2360
2361 Thu Feb  7 12:14:17 CET 2002  Jan Hubicka  <jh@suse.cz>
2362
2363         * i386-protos.h (x86_order_regs_for_local_alloc): Declare
2364         * i386.c (x86_order_regs_for_local_alloc): New global function.
2365         * i386.h (REG_ALLOC_ORDER): CLeanup.
2366         (ORDER_REGS_FOR_LOCAL_ALLOC): New.
2367
2368 2002-02-07  Richard Henderson  <rth@redhat.com>
2369
2370         PR optimization/2463
2371         * alias.c (find_base_value): Recall base values for fixed hard regs.
2372         * loop.c (loop_regs_update): Don't use single_set on non-insns.
2373
2374 2002-02-07  Alexandre Oliva  <aoliva@redhat.com>
2375
2376         * config/mips/mips.md (define_delay) [mips16]: Adjust required
2377         length.
2378
2379 2002-02-06  Richard Henderson  <rth@redhat.com>
2380
2381         PR c/5609
2382         * stmt.c (resolve_operand_name_1): Take more care with mixed
2383         named and unnamed operands.
2384
2385 2002-02-06  Janis Johnson  <janis187@us.ibm.com>
2386             Jan Hubicka  <jh@suse.cz>
2387
2388         * loop.c (remove_constant_addition): Avoid clobbering a shared
2389         CONST expression.
2390
2391 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
2392
2393         * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
2394         * config/s390/t-linux64: New file.
2395         * config/s390/libgcc-glibc.ver: New file.
2396
2397 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
2398
2399         * config/s390/linux64.h: Delete file.
2400         * config/s390/s390x.h: New file.
2401         * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
2402         as target header file.
2403         * config/s390/linux.h (TARGET_VERSION): Define depending on
2404         DEFAULT_TARGET_64BIT.
2405         (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
2406         (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
2407         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
2408         (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
2409         (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
2410         (EXTRA_SPEC): New define.
2411         * config/s390/s390.h (TARGET_VERSION): Define depending on
2412         DEFAULT_TARGET_64BIT.
2413         (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
2414
2415 2002-02-06  Jason Merrill  <jason@redhat.com>
2416
2417         * c-decl.c (finish_function): Warn about a non-void function with
2418         no return statement and no abnormal exit.
2419         (current_function_returns_abnormally): New variable.
2420         (start_function): Clear it.
2421         (struct c_language_function): Add returns_abnormally.
2422         (push_c_function_context): Save it.
2423         (pop_c_function_context): Restore it.
2424         (builtin_function): Set TREE_THIS_VOLATILE on return fns.
2425         (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
2426         an explicit return type.
2427         * c-tree.h: Declare current_function_returns_abnormally.
2428         (C_FUNCTION_IMPLICIT_INT): New macro.
2429         * c-typeck.c (build_function_call): Set it.
2430         (c_expand_return): Set current_function_returns_value even if the
2431         value is erroneous.
2432
2433 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
2434
2435         PR c/5420:
2436         * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
2437         unsafe for reevaluation.
2438
2439 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
2440
2441         PR c/5482:
2442         * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
2443         EXPR_STMT, but COMPOUND_STMT, recurse into it.
2444
2445 2002-02-06  Richard Henderson  <rth@redhat.com>
2446
2447         * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
2448         be a general_operand.  Dest for function value must be a pseudo.
2449
2450 2002-02-06  Nick Clifton  <nickc@cambridge.redhat.com>
2451
2452         * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
2453         as SYMBOL_REFs from the constant pool.
2454
2455 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
2456
2457         * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
2458         passed by invisible reference.
2459
2460 2002-02-05  Richard Henderson  <rth@redhat.com>
2461
2462         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
2463
2464 2002-02-06  Hans-Peter Nilsson  <hp@bitrange.com>
2465
2466         Implement using "base addresses" in insn operands as default.
2467         * config/mmix/mmix.c (mmix_conditional_register_usage): if
2468         -mabi=gnu, modify fixed_regs to fit the GNU ABI.
2469         (mmix_extra_constraint): Use 'R' to indicate that GETA should be
2470         used to read the rtx value.
2471         (mmix_target_asm_function_epilogue): Fix spacing.
2472         (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
2473         (mmix_legitimate_address): Ditto.
2474         (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
2475         should be loaded with a GETA insn.  Don't allocate needless extra
2476         char for nul termination and fix misleading comment.
2477         (mmix_print_operand_address): Handle constants if
2478         TARGET_BASE_ADDRESSES.
2479         (mmix_output_register_setting): Use base addressing if
2480         TARGET_BASE_ADDRESSES and the number of insns is 3.
2481         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
2482         * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
2483         to use R as constraint, add LDA to match s.
2484         * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
2485         (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
2486         (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
2487         (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
2488         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
2489         order with other fixed registers.
2490         (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
2491         other parameter/call-clobbered registers.
2492         * doc/invoke.texi (Option Summary) <MMIX Options>: Add
2493         -mbase-addresses, -mno-base-addresses.
2494         (MMIX Options): Ditto.
2495
2496 2002-02-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2497
2498         * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
2499
2500 2002-02-06  Aldy Hernandez  <aldyh@redhat.com>
2501
2502         * config/rs6000/altivec.h: Change elem to _S_elem.
2503
2504 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
2505
2506         * config/netbsd.h (WCHAR_TYPE): Define.
2507         (WCHAR_TYPE_SIZE): Ditto.
2508         (WINT_TYPE): Ditto.
2509         * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
2510         (WCHAR_UNSIGNED): Ditto.
2511         (WCHAR_TYPE_SIZE): Ditto.
2512         (WINT_TYPE): Ditto.
2513         * config/arm/netbsd.h: Likewise.
2514         * config/i386/netbsd-elf.h: Likewise.
2515         * config/i386/netbsd.h: Likewise.
2516         * config/m68k/netbsd-elf.h: Likewise.
2517         * config/m68k/netbsd.h: Likewise.
2518         * config/ns32k/netbsd.h: Likewise.
2519         * config/sparc/netbsd.h: Likewise.
2520         * config/vax/netbsd.: Likewise.
2521
2522 2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
2523
2524         * target.h (struct gcc_target): Added ms_bitfield_layout_p.
2525         * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
2526         (TARGET_INITIALIZER): this.
2527         * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
2528         (BITFIELD_NBYTES_LIMITED): Markup fix.
2529         * tree.h (default_ms_bitfield_layout_p): Declare.
2530         (record_layout_info): Added prev_field.
2531         * tree.c (default_ms_bitfield_layout_p): New fn.
2532         * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
2533         PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
2534         * stor-layout.c: Include target.h.
2535         (start_record_layout): Initialize prev_field.
2536         (place_field): Handle MS bit-field layout, and disregard
2537         EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
2538         PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
2539         * Makefile.in (stor-layout.o): Adjust dependencies.
2540
2541 2002-02-05  Jason Merrill  <jason@redhat.com>
2542
2543         * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
2544
2545 2002-02-05  Andreas Jaeger  <aj@suse.de>
2546
2547         * crtstuff.c: Fix comments.
2548
2549 2002-02-05  Richard Henderson  <rth@redhat.com>
2550
2551         PR fortran/3393
2552         * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
2553         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
2554
2555         PR fortran/3392
2556         * config/mips/mips.c (function_arg): Handle TImode.
2557         (function_arg_advance): Likewise.
2558
2559 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
2560
2561         * config/rs6000/altivec.h (vec_step_help): Rename to
2562         __vec_step_help.
2563
2564 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
2565
2566         * config/rs6000/altivec.h: Fix typos.
2567
2568 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
2569
2570         * config/arm/netbsd.h: Correct a comment.
2571
2572 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
2573
2574         * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
2575         building void typed builtins.
2576
2577         * config/rs6000/altivec.h (vec_ld*): Fix typos.
2578         (vec_step): Implement for C++.
2579
2580 Mon Feb  4 19:23:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2581
2582         * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
2583
2584 2002-02-04  Richard Henderson  <rth@redhat.com>
2585
2586         * combine.c (nonzero_bits): Re-introduce special case for
2587         sp/fp/ap wrt REGNO_POINTER_ALIGN.
2588
2589 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
2590
2591         * doc/extend.texi: Warn about unsupported usage of altivec
2592         builtins.
2593
2594         * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
2595         (altivec_predicate_*): New.
2596
2597         * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
2598         Add C++ version of vec_*() functions.
2599
2600         * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
2601         (bdesc_2arg): Remove altivec predicates.
2602         (altivec_expand_builtin): Handle predicates.
2603         (altivec_init_builtins): Handle predicates.
2604         (altivec_expand_predicate_builtin): New.
2605
2606 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2607
2608         * pa.c (DO_FRAME_NOTES): Move forward.
2609         (store_reg): Revise handling of frame notes.
2610         (load_reg): Likewise.
2611         (set_reg_plus_d): Likewise.
2612         (hppa_expand_prologue): Likewise.
2613         (hppa_expand_epilogue): Likewise.
2614
2615 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2616
2617         * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
2618
2619 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
2620
2621         PR c/4475, c++/3780:
2622         * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
2623         * c-common.h (SWITCH_TYPE): Define.
2624         * c-typeck.c (c_start_case): Set SWITCH_TYPE.
2625         * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
2626         Rename spareness variable to sparseness.
2627         (expand_end_case_type): Renamed from expand_end_case, use orig_type
2628         if non-NULL instead of TREE_TYPE (orig_index).
2629         * tree.h (expand_end_case_type): Renamed from expand_end_case.
2630         (expand_end_case): Define using expand_end_case_type.
2631         * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
2632         to expand_end_case_type.
2633         * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
2634
2635 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2636
2637         * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
2638         (BIGGEST_ALIGNMENT): Change to 128.
2639
2640 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2641
2642         * pa32-linux.h (LINK_COMMAND_SPEC): Define.
2643
2644 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2645
2646         * pa.md (call_internal_reg_64bit): Remove unused variable.
2647
2648 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
2649
2650         * config/arm/arm.h (machine_function): Add uses_anonymous_args
2651         field.
2652         (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
2653         * config/arm/arm.c (current_function_anonymous_args): Delete,
2654         replace uses with cfun->machine->uses_anonymous_args.
2655         (arm_reorg): Do not reset uses_anonymous_args.
2656
2657         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
2658         any geenral register.
2659
2660 2001-02-04  Bernd Schmidt  <bernds@redhat.com>
2661
2662         * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
2663         the entry block.
2664
2665 2002-02-04  Richard Henderson  <rth@redhat.com>
2666
2667         * combine.c (force_to_mode): Remove STACK_BIAS code.
2668         (nonzero_bits): Likewise.  Replace sp/fp special case with
2669         REGNO_POINTER_ALIGN.
2670
2671         * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
2672         (HARD_FRAME_POINTER_REGNUM): New.
2673         (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
2674         (FIXED_REGS, CALL_USED_REGS): Update.
2675         (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
2676         (CONDITIONAL_REGISTER_USAGE): Update for HFP.
2677         (HARD_REGNO_NREGS): Update for SFP.
2678         (STACK_POINTER_OFFSET): Include bias here ...
2679         (FIRST_PARM_OFFSET): ... not here.
2680         (STACK_BIAS): Remove.
2681         (INIT_EXPANDERS): New.
2682         (STARTING_FRAME_OFFSET): Do not include bias.
2683         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
2684         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
2685         (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
2686         * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
2687         * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
2688         * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
2689         (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
2690         (MUST_SAVE_REGISTER): Likewise.
2691         (sparc_flat_function_prologue): Likewise.
2692         (sparc_flat_function_epilogue): Likewise.
2693         (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
2694         (sparc_init_modes): SFP is GENERAL_REGS.
2695         (sparc_builtin_saveregs): SFP does not have bias applied.
2696
2697 2002-02-04  Richard Henderson  <rth@redhat.com>
2698
2699         * config/alpha/alpha.c (current_function_is_thunk): Don't check
2700         current_function_is_thunk.
2701         (alpha_sa_mask): Distinguish between current_function_is_thunk
2702         called from ASM_OUTPUT_MI_THUNK and not.
2703         (alpha_does_function_need_gp): Thunks always need gp.
2704         (alpha_start_function, alpha_output_function_end_prologue): Likewise.
2705         (alpha_output_mi_thunk_osf): New.
2706         * config/alpha/alpha-protos.h: Update.
2707         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
2708
2709 2002-02-04  Richard Sandiford  <rsandifo@redhat.com>
2710
2711         * c-typeck.c (build_c_cast): Warn when qualifiers are added to
2712         function types, not when they're taken away.
2713
2714 Mon Feb  4 09:05:58 2002  Jeffrey A Law  (law@redhat.com)
2715
2716         * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
2717         CODE_LABEL and jump table when replacing a table jump with a
2718         simple jump.
2719
2720 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
2721
2722         * config/s390/s390-protos.h (legitimize_la_operand,
2723         s390_secondary_input_reload_class, s390_plus_operand,
2724         s390_expand_plus_operand): Add prototypes.
2725
2726         config/s390/s390.c (s390_secondary_input_reload_class,
2727         s390_plus_operand, s390_expand_plus_operand): New functions.
2728
2729         (struct s390_address): New member 'pointer'.
2730         (s390_decompose_address): Compute it.
2731         (legitimate_la_operand_p): Use it.
2732         (legitimize_la_operand): New function.
2733         (movti, movdi, movdf splitters): Call it.
2734
2735         config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
2736         (PREDICATE_CODES): Add s390_plus_operand.
2737
2738         config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
2739         (la_ccclobber): Allow GENERAL_REGS as output operand.
2740
2741         (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
2742         *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
2743         (*la_64, *la_31, reload_indi, reload_insi): ... these.
2744
2745 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
2746
2747         * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
2748         register names for regular asm () construct.
2749
2750 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
2751
2752         * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
2753         registers.
2754
2755 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
2756
2757         * combine.c (recog_for_combine): Create a dummy insn with PATTERN
2758         pat for recog.
2759
2760 2002-02-04  Hartmut Penner  <hpenner@de.ibm.com>
2761
2762         * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
2763         constant pool to be identical by string address and index.
2764
2765 2002-02-04  Anthony Green  <green@redhat.com>
2766
2767         * output.h (SECTION_OVERRIDE): Define.
2768         * varasm.c (named_section): Obey SECTION_OVERRIDE.
2769
2770 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
2771
2772         * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
2773         by existing arm*-*-netbsd* (a.out) target.
2774         (ns32k-*-netbsdelf*): Likewise.
2775         (sparc-*-netbsdelf*): Likewise.
2776         (vax-*-netbsdelf*): Likewise.
2777
2778 2002-02-03  Danny Smith <dannysmith@users.sourceforge.net>
2779
2780         * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
2781         headers and libobjc headers.
2782
2783 2002-02-03  Mumit Khan  <khan@nanotech.wisc.edu>
2784
2785         * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
2786         (_mingw.h): Remove duplicate include.
2787
2788 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
2789
2790         * config.gcc: Set cpu_type to m68k for 68010, as well.
2791         (m68010-*-netbsdelf*): New...
2792         (m68k*-*-netbsdelf*): ...targets.
2793         * config/m68k/netbsd-elf.h: New file.
2794
2795 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2796
2797         * config/h8300/h8300.c (hand_list): Move inside function_arg.
2798
2799 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2800
2801         * config/h8300/h8300.c (h8_push_ops): Move inside
2802         h8300_init_once.
2803         (h8_pop_ops): Likewise.
2804         (h8_move_ops): Likewise.
2805
2806 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2807
2808         * config/h8300/h8300.c (os_task): Make it static.
2809         (monitor): Likewise.
2810         (pragma_saveall): Likewise.
2811
2812 2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
2813
2814         * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
2815         constant is a valid sign-extension for Pmode.
2816
2817 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2818
2819         * config/h8300/h8300.c: Fix formatting.
2820
2821 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2822
2823         * config/h8300/h8300.md: Fix formatting.
2824
2825 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2826
2827         * config/h8300/h8300.md (one_cmpl patterns): Tighten the
2828         predicates of operands[1].  Split the patterns for each
2829         processor variant.
2830
2831 2002-02-02  Kazu Hirata  <kazu@hxi.com>
2832
2833         * config/h8300/h8300.md (xor patterns): Tighten the predicates
2834         of operands[1] to register_operand.
2835
2836 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
2837
2838         * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
2839         * cpphash.c (_cpp_init_hashtable): Similarly.
2840         * cppinit.c (cpp_create_reader): Default the signed_char flag.
2841         (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
2842         (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
2843         (cpp_handle_option): Handle the new options.
2844         * cpplex.c (cpp_interpret_charconst): Use new flag.
2845         * cpplib.h (struct cpp_options): New member signed_char.
2846         * gcc.c (cpp_unique_options): Remove %c spec and documentation.
2847         (cpp_options): Handle -fsigned-char and -funsigned-char.
2848         (static_specs): Remove signed_char_spec.
2849         (do_spec1): Don't handle %c.
2850         * system.h: Poison SIGNED_CHAR_SPEC.
2851         * tradcif.y (yylex): Use flag_signed_char.
2852         * tradcpp.h (flag_signed_char): New.
2853         * tradcpp.c (flag_signed_char): New.
2854         (main): Handle new command-line options.
2855         (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
2856 config:
2857         * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
2858         * avr/avr.h: Remove old comments.
2859         * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
2860         (CC1_SPEC): Pass -fsigned-char if -mic*.
2861         (SIGNED_CHAR_SPEC): Remove.
2862 doc:
2863         * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
2864
2865 2002-02-01  Eric Christopher  <echristo@redhat.com>
2866
2867         From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
2868         * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
2869         * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
2870         (ASM_OUTPUT_REG_POP): Ditto.
2871
2872 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
2873
2874         * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
2875         patch.
2876
2877 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
2878
2879         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
2880
2881 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
2882
2883         PR c/5304:
2884         * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
2885         unconditionally.
2886
2887 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
2888
2889         * cfganal.c: Include tm_p.h.
2890         (keep_with_call_p): Fix the test that determines if a register holds
2891         the return value of a call.
2892
2893 2002-02-01  DJ Delorie  <dj@redhat.com>
2894
2895         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
2896         we are given conflicting registers, switch to the other one we
2897         had allocated for us.
2898         * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
2899         as TImode so we know when the "other" register is available.
2900
2901 2002-02-01  David O'Brien  <obrien@FreeBSD.org>
2902
2903         * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
2904         sparc/sparc_bi.h.
2905
2906 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
2907
2908         * cfganal.c (keep_with_call_p): New function.
2909         (flow_call_edges_add): Prevent splitting a block between a call and
2910         a single-set instruction that should be kept in the same block.
2911
2912 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2913
2914         * doc/install.texi (avr): Update outdated URL.
2915
2916 2002-01-30  Andrew Haley  <aph@cambridge.redhat.com>
2917
2918         * config/stormy16/stormy16.md (pushqi): New.
2919         (popqi): New.
2920         (pushhi): New.
2921         (pophi): New.
2922         (movhi): Remove stack operands.
2923         (movqi): Likewise.
2924         * config/stormy16/stormy16.h (PREDICATE_CODES): Add
2925         nonimmediate_nonstack_operand.
2926         * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
2927         New.
2928         * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
2929         New.
2930
2931 2002-01-31  Jason Merrill  <jason@redhat.com>
2932
2933         * Makefile.in (c-parse.c): Handle .output file.
2934         * objc/Make-lang.in (objc-parse.c): Likewise.
2935
2936 2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
2937
2938         * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
2939         the -me[lb] option is given.  Don't output the default flag
2940         twice.
2941
2942 2002-01-31  Zack Weinberg  <zack@codesourcery.com>
2943
2944         * c-lex.c (yyparse): Call debug_hooks->start_source_file for
2945         the primary source file; this has not been done yet.
2946         * c-decl.c (c_expand_body): Reset input_filename from
2947         DECL_SOURCE_FILE (fndecl) before calling init_function_start.
2948
2949 2002-01-31  Kazu Hirata  <kazu@hxi.com>
2950
2951         * rtlanal.c (subreg_regno_offset): Do not use
2952         SUBREG_REGNO_OFFSET.
2953         * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
2954         * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
2955
2956 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
2957
2958         * gccbug.in: Follow GNU Coding Standards for --version.  Use GCC
2959         version rather than GNATS version in --version output.
2960
2961 2002-01-31  Richard Sandiford  <rsandifo@redhat.com>
2962
2963         * ifcvt.c (noce_process_if_block): Make a copy of the destination
2964         when copying back from a temporary.
2965
2966 2002-01-30  Richard Henderson  <rth@redhat.com>
2967
2968         * ifcvt.c (dead_or_predicable): Handling merging when other_bb
2969         and new_dest are the same.
2970
2971 2002-01-30  Richard Henderson  <rth@redhat.com>
2972
2973         PR opt/5076
2974         * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
2975         * rtl.c (note_insn_name): Update.
2976         * emit-rtl.c (remove_unnecessary_notes): Kill it.
2977         * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
2978         to perform loop rotation.
2979         (expand_exit_loop_top_cond): New.
2980         * tree.h (expand_exit_loop_top_cond): Declare it.
2981         * c-semantics.c (genrtl_while_stmt): Use it.
2982         (genrtl_for_stmt): Likewise.
2983
2984 2002-01-30  Alexandre Oliva  <aoliva@redhat.com>
2985
2986         * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
2987         arguments to 64-bit boundaries on 64-bit ABIs.
2988
2989 2002-01-30  Steve Ellcey  <sje@cup.hp.com>
2990
2991         * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
2992
2993 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
2994
2995         * c-decl.c (grokdeclarator): Handle type being a typedef for an
2996         invalid type.
2997
2998 2002-01-30  David O'Brien  <obrien@FreeBSD.org>
2999
3000         * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
3001         * config/sparc/sparc_bi.h: Remove file.
3002         * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
3003
3004 2002-01-30  Richard Henderson  <rth@redhat.com>
3005
3006         * sched-deps.c (sched_analyze): Make a call read the frame pointer.
3007
3008 2002-01-30  Zack Weinberg  <zack@codesourcery.com>
3009
3010         * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
3011
3012 2002-01-30  Jason Merrill  <jason@redhat.com>
3013
3014         * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
3015         (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
3016         (reg_save): Use DW_CFA_offset_extended_sf instead.
3017
3018         * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
3019
3020 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
3021
3022         * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
3023         in cselib_lookup.
3024
3025 2002-01-29  Aldy Hernandez  <aldyh@redhat.com>
3026
3027         * rs6000.md ("*call_value_local32"): Remove constraints.
3028         ("*call_value_local64"): Same.
3029         ("*call_value_indirect_nonlocal_aix32"): Same.
3030         ("*call_value_nonlocal_aix32"): Same.
3031         ("*call_value_indirect_nonlocal_aix64"): Same.
3032         ("*call_value_nonlocal_aix64"): Same.
3033         ("*call_value_nonlocal_sysv"): Same.
3034
3035 2002-01-29  Richard Henderson  <rth@redhat.com>
3036
3037         * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
3038
3039 2002-01-29  Richard Henderson  <rth@redhat.com>
3040
3041         * expr.c (force_operand): Ignore flag_pic for detecting pic
3042         address loads.
3043         * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
3044         for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
3045         * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
3046         instead of open-coded loop.
3047         * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
3048         be fixed when in use.
3049
3050 2002-01-29  Richard Henderson  <rth@redhat.com>
3051
3052         * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
3053         * sched-rgn.c (propagate_deps): Update them.
3054         * sched-deps.c (sched_analyze_insn): Update them.  Flush the
3055         clobbers list when either gets too long.
3056
3057 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
3058
3059         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
3060         and INDEX_REGS the same as GENERAL_REGS.
3061         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
3062
3063 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
3064
3065         * tree.c (build_nonstandard_integer_type): Correct prototype.
3066
3067 2002-01-29  Ulrich Weigand  <uweigand@de.ibm.com>
3068
3069         * config/s390/s390.md (movstrsico, movstrdix_64,
3070         movstrsix_31): Remove, replace by ...
3071         (movstrdi_short, movstrsi_short, movstrdi_long,
3072         movstrsi_long): ... these.  New.
3073         (movstrdi, movstrsi): Adapt.
3074
3075         (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
3076         ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
3077         Remove unnecessary CC clobber.
3078         (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
3079         *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
3080
3081         (divmoddi4): Don't partially initialize TImode register.
3082
3083 2002-01-29  Geoffrey Keating  <geoffk@redhat.com>
3084
3085         * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
3086
3087 2002-01-29  Richard Henderson  <rth@redhat.com>
3088
3089         * flow.c (print_rtl_and_abort): Remove.
3090         (print_rtl_and_abort_fcn): Remove.
3091         (verify_local_live_at_start): Use dump_bb instead.
3092         (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
3093         (verify_wide_reg_1): Return 2 on mode test failure.
3094
3095 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
3096
3097         PR c/3325, c/3326, c/2511, c/3347
3098         * c-decl.c (enum_decl_context): Remove BITFIELD.
3099         (grokdeclarator): Take bitfield width as an input.
3100         Ensure bitfields are given the correct type.  Perform
3101         bitfield width validation with build_bitfield_integer_type
3102         rather than waiting for finish_struct.
3103         (grok_typename, grok_typename_in_parm_context, start_decl,
3104         push_parmdecl, grokfield, start_function): Update calls to
3105         grokdeclarator.
3106         (build_bitfield_integer_type): New function.
3107         (finish_struct): Move bitfield validation to grokdeclarator
3108         and build_bitfield_integer_type.
3109         * tree.c (build_nonstandard_integer_type): New function.
3110         * tree.h (build_nonstandard_integer_type): New prototype.
3111 objc:
3112         * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
3113
3114 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
3115
3116         PR other/1502:
3117         * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
3118         don't ignore unrecognized -W* options.
3119         (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
3120         * cpplib.h (cpp_handle_option): Adjust prototype.
3121         * c-decl.c (c_decode_options): Pass 0 as last argument to
3122         cpp_handle_option.
3123
3124         PR c/2896:
3125         * gcc.c (cpp_unique_options): Split from cpp_options.
3126         (cpp_options): Source cpp_unique_options.
3127         (default_compilers): Use cpp_unique_options instead of cpp_options
3128         when used together with cc1_options.
3129         (static_specs): Add cpp_unique_options.
3130         * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
3131         when used together with cc1_options.
3132
3133 2002-01-29  Kazu Hirata  <kazu@hxi.com>
3134
3135         * config/h8300/h8300-protos.h: Update the prototype of
3136         output_a_shift.
3137         * config/h8300/h8300.c (output_a_shift): Remove an unused
3138         argument 'insn'.  Remove redundant code.
3139         * config/h8300/h8300.md: Adust to the new prototype of
3140         output_a_shift.
3141
3142 2002-01-29  Kazu Hirata  <kazu@hxi.com>
3143
3144         * config/h8300/h8300-protos.h: Update the prototypes of
3145         emit_a_rotate and expand_a_rotate.
3146         * config/h8300/h8300.c (emit_a_rotate): Change the type of the
3147         first argument to 'enum rtx_code'.
3148         (expand_a_rotate): Likewise.
3149
3150 2002-01-28  Kazu Hirata  <kazu@hxi.com>
3151
3152         * config/h8300/h8300-protos.h: Update the prototype of
3153         output_simode_bld.
3154         * config/h8300/h8300.c (output_simode_bld): Remove an argumen
3155         'log2'.
3156         * config/h8300/h8300.md: Adjust to the new prototype.
3157
3158 2002-01-28  Kazu Hirata  <kazu@hxi.com>
3159
3160         * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
3161         redundant code.
3162
3163 2002-01-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3164
3165         * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
3166         is a fixed register before returning pic_offset_table_rtx.
3167         * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
3168         when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
3169
3170 2002-01-28  Jason Merrill  <jason@redhat.com>
3171
3172         * dwarf2.h: Sync with src version.
3173
3174 2002-01-28  Paul Koning  <pkoning@equallogic.com>
3175
3176         * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
3177         BT_FN_VOID_PTR_VAR.
3178         * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
3179         * doc/extend.texi (__builtin_prefetch): Update documentation:
3180         first argument is now const void ptr.
3181
3182 2002-01-28  Kazu Hirata  <kazu@hxi.com>
3183
3184         * config/h8300/h8300-protos.h: Remove an unused prototype.
3185
3186 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
3187
3188         * toplev.c (lang_independent_init): Round up identifier size.
3189
3190 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
3191
3192         * config.gcc: Revert previous change.
3193
3194 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
3195
3196         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
3197
3198 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
3199
3200         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
3201         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
3202         other non-elf netbsd config frags.
3203         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
3204         collect2 will does that.
3205         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
3206         shared-lib frobbing will work.
3207
3208 2002-01-28  Kazu Hirata  <kazu@hxi.com>
3209
3210         * config/h8300/h8300.h: Fix formatting.
3211         * config/h8300/h8300.md: Likewise.
3212
3213 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
3214
3215         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
3216         the old, removed AAA_standards fix.
3217         * fixinc/fixincl.x: Rebuilt.
3218
3219 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
3220
3221         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
3222         atexit call in crtbegin, hooked in after call to frame_dummy;
3223         register EH before registering __fini__start.
3224
3225 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
3226
3227         * config/rs6000/altivec.h: Remove spurious semicolons.
3228
3229 2002-01-27  Kazu Hirata  <kazu@hxi.com>
3230
3231         * config/h8300/h8300.md: Replace dead bit extraction patterns
3232         with ones that work.
3233
3234 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3235
3236         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
3237         if not STRICT_ALIGNMENT.
3238         * rtl.h (MEM_ALIGN): Likewise.
3239
3240 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3241
3242         * doc/invoke.texi (-fdump-translation-unit): Revert this
3243         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3244
3245 2002-01-27  Kazu Hirata  <kazu@hxi.com>
3246
3247         * config/h8300/h8300.md (define_constants): New.
3248         (anonymous patterns) Use defined constants appropriately.
3249
3250 2002-01-27  Kazu Hirata  <kazu@hxi.com>
3251
3252         * config/h8300/h8300.c (function_arg): Remove redundant code.
3253
3254 2002-01-26  Richard Henderson  <rth@redhat.com>
3255
3256         * sched-deps.c (reg_pending_uses_head): New.
3257         (reg_pending_barrier): Rename from reg_pending_sets_all.
3258         (find_insn_list): Don't mark inline.
3259         (find_insn_mem_list): Remove.
3260         (add_dependence_list, add_dependence_list_and_free): New.
3261         (flush_pending_lists): Replace only_write param with separate
3262         for_read and for_write parameters.  Update all callers.  Use
3263         add_dependence_list_and_free.
3264         (sched_analyze_1): Do not add reg dependencies here; just set
3265         the pending bits.  Use add_dependence_list.
3266         (sched_analyze_2): Likewise.
3267         (sched_analyze_insn): Replace schedule_barrier_found with
3268         reg_pending_barrier.  Add all dependencies for pending reg
3269         uses, sets, and clobbers.
3270         (sched_analyze): Don't add reg dependencies for calls, just
3271         set pending bits.  Use regs_invalidated_by_call.  Treat
3272         sched_before_next_call as a normal list, not a fake insn.
3273         (init_deps): No funny init for sched_before_next_call.
3274         (free_deps): Free pending mems lists.  Don't zero reg_last.
3275         (init_deps_global): Init reg_pending_uses.
3276         (finish_deps_global): Free it.
3277         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
3278         (find_insn_mem_list): Remove.
3279         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
3280         (propagate_deps): Use them.  Zero temp mem lists.
3281
3282 2002-01-26  Richard Henderson  <rth@redhat.com>
3283
3284         * Makefile.in (CRTSTUFF_CFLAGS): New.
3285         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
3286         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
3287         crtstuff.c instead of alpha assembly version.
3288         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
3289         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
3290         not FORCE_{INIT,FINI}_SECTION_ALIGN.
3291         (__do_global_dtors_aux): Mark used.
3292         (frame_dummy, __do_global_ctors_aux): Mark used.
3293         (fini_dummy, init_dummy): Remove.
3294
3295         * config/alpha/crtbegin.asm: Remove file.
3296         * config/alpha/crtend.asm: Remove file.
3297         * config/alpha/t-crtbe: Remove file.
3298         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
3299         (LINK_EH_SPEC): New.
3300
3301         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
3302         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
3303         calling constructors.
3304         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
3305
3306         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
3307         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
3308         CRT_END_INIT_DUMMY hack.
3309         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
3310         FORCE_{INIT,FINI}_SECTION_ALIGN.
3311
3312         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
3313         FORCE_{INIT,FINI}_SECTION_ALIGN.
3314
3315         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
3316         invocation sequence.
3317         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
3318
3319         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
3320         (FORCE_CODE_SECTION_ALIGN): New.
3321
3322 2002-01-26  Richard Henderson  <rth@redhat.com>
3323
3324         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
3325
3326 2002-01-26  Richard Henderson  <rth@redhat.com>
3327
3328         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
3329         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
3330
3331 2002-01-26  Kazu Hirata  <kazu@hxi.com>
3332
3333         * config/h8300/h8300.md: Remove bit extraction patterns that
3334         cannot be triggered.
3335         Restrict each bit extraction pattern to a variant on which the
3336         pattern is tested.
3337
3338 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
3339
3340         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
3341
3342 2002-01-26  Kazu Hirata  <kazu@hxi.com>
3343
3344         * config/h8300/h8300.md: Remove bit test patterns that cannot
3345         be triggered.
3346         Restrict each bit test pattern to a variant on which the
3347         pattern is tested.
3348
3349 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3350
3351         * builtins.c (expand_builtin_strncat): Remove redundant check for
3352         INTEGER_CST.
3353
3354 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
3355
3356         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
3357         default setting.
3358         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
3359         existing setting.
3360
3361 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
3362
3363         * dbxout.c (dbxout_init): Use assemble_name rather than just
3364         stripping off the first character.
3365         (dbxout_source_file): Likewise.
3366
3367 2002-01-25  DJ Delorie  <dj@redhat.com>
3368
3369         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
3370         using rtx_equal_p, not by comparing pointers.
3371
3372 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
3373
3374         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
3375         for PIC_OFFSET_TABLE_REGNUM.
3376         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
3377
3378 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
3379
3380         * config.gcc (x86_64-*-freebsd*): New target.
3381         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
3382         value.
3383         (i[34567]86-*-freebsd*): Don't include svr4.h.
3384         * config/i386/freebsd64.h: New file.
3385
3386 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
3387
3388         * config/alpha/x-vms (version): Make static.
3389
3390         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
3391         in previous checkin.
3392
3393         * Makefile.in (install-headers-cp): New target.
3394         * config.gcc (alpha-dec-*vms*): Install headers with
3395         install-headers-cp
3396
3397 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
3398
3399         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
3400         avoid it's copies.
3401
3402 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3403
3404         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
3405         of compare_tree_int.
3406         (expand_builtin_strncat): Likewise.
3407         * c-decl.c (finish_struct): Use tree_low_cst.
3408         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
3409         * tree.c (compare_tree_int): Likewise.
3410
3411 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
3412
3413         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
3414         adjustments even if they are implemented by more than two insns.
3415
3416 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
3417
3418         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
3419         * df.h (struct ref): Kill B.
3420         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
3421
3422         * basic-block.h (PROP_EQUAL_NOTES): New flag.
3423         * flow.c (propagate_one_insn): Use it.
3424         (mark_used_regs): Handle NIL.
3425
3426 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
3427
3428         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
3429         to help folding.
3430
3431 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
3432
3433         * rs6000.md (prefetch): Make address V4SI mode so that the address
3434         is restricted to legitimate form for instruction.
3435
3436 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
3437
3438         * doc/install.texi (xtensa-*-elf): New target.
3439         (xtensa-*-linux*): New target.
3440         * doc/contrib.texi: Add myself.
3441
3442 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
3443
3444         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
3445         purpose register to hold an SImode (or smaller) value.
3446
3447 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
3448
3449         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
3450         registry only.
3451         * crtstuff.c: Likewise.
3452
3453 2002-01-25  Kazu Hirata  <kazu@hxi.com>
3454
3455         * config/h8300/h8300.md (negation patterns): Tighten
3456         predicates to register_operand.
3457
3458 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
3459
3460         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
3461         mode, not Pmode.
3462
3463         * builtins.c (expand_builtin_prefetch): Same.
3464
3465 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
3466
3467         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
3468         modes.
3469
3470 2002-01-24  Kazu Hirata  <kazu@hxi.com>
3471
3472         * config/h8300/h8300.c (print_operand): Remove support for
3473         operand character 'A'.
3474         * config/h8300/h8300.md (three anonymous patterns): Replace
3475         operand character 'A' with either 'T' or 'S'.
3476
3477 2002-01-24  Kazu Hirata  <kazu@hxi.com>
3478
3479         * config/h8300/h8300.c (print_operand): Remove support for
3480         operand character 'U'.
3481
3482 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
3483
3484         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
3485
3486 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
3487
3488         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
3489         values to be assigned to the stack pointer.
3490
3491 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
3492
3493         * emit_rtl.c (gen_lowpart_common): Conversion from const_int
3494         to const_double needs to be done right for big-endian systems.
3495
3496 2002-01-24  Jason Merrill  <jason@redhat.com>
3497
3498         PR c++/2432
3499         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
3500         to can_throw_internal.
3501
3502 2002-01-23  Richard Henderson  <rth@redhat.com>
3503
3504         * fold-const.c (fold): Change UINT_MAX test to check vs precision
3505         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
3506
3507 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
3508
3509         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
3510         (symGOT2reg): Use them, then set as GOT value as unchanging.
3511         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
3512         as a temporary, if possible.
3513         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
3514         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
3515
3516 2002-01-23  Kazu Hirata  <kazu@hxi.com>
3517
3518         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
3519         accept to accept 0x80 as operands[2].
3520
3521 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
3522
3523         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
3524
3525 2002-01-23  Richard Henderson  <rth@redhat.com>
3526
3527         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
3528
3529 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
3530
3531         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
3532         (parmlist_or_identifiers_1): Verify that only a parmlist follows
3533         an attribute.
3534
3535 2002-01-23  Richard Henderson  <rth@redhat.com>
3536
3537         * expr.c (move_by_pieces_1): Extend size before negation.
3538
3539         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
3540         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
3541         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
3542         * config/m68k/t-m68kelf: Likewise.
3543
3544 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
3545
3546         * config/xtensa/elf.h: New file.
3547         * config/xtensa/lib1funcs.asm: New file.
3548         * config/xtensa/lib2funcs.S: New file.
3549         * config/xtensa/linux.h: New file.
3550         * config/xtensa/t-xtensa: New file.
3551         * config/xtensa/xtensa-config.h: New file.
3552         * config/xtensa/xtensa-protos.h: New file.
3553         * config/xtensa/xtensa.c: New file.
3554         * config/xtensa/xtensa.h: New file.
3555         * config/xtensa/xtensa.md: New file.
3556         * config.gcc (xtensa-*-elf*): New target.
3557         (xtensa-*-linux*): New target.
3558         * cse.c (canon_hash): Compare rtx pointers instead of register
3559         numbers.  This is required for the Xtensa port.
3560         * integrate.c (copy_insn_list): Handle case where the static
3561         chain is in memory and the memory address has to be copied to
3562         a register.
3563         * doc/invoke.texi (Option Summary): Add Xtensa options.
3564         (Xtensa Options): New node.
3565         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
3566
3567 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
3568
3569         * diagnostic.c (internal_error): Do ICE suppression only
3570         when ENABLE_CHECKING is not defined.
3571
3572         * c-typeck.c (require_complete_type): Return error_mark_node
3573         if type is error_mark_node.
3574
3575 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
3576
3577         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
3578         -Os and issue a warning.
3579
3580 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
3581
3582         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
3583         current (lack of) need for host configuration by hand.
3584
3585         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
3586         references.  Documentation of some target macros moved from
3587         hostconfig.texi to tm.texi.
3588
3589 2002-01-23  Will Cohen  <wcohen@redhat.com>
3590
3591         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
3592         defined.
3593
3594 2002-01-23  Kazu Hirata  <kazu@hxi.com>
3595
3596         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
3597         operand[3].
3598
3599 2002-01-23  Jason Merrill  <jason@redhat.com>
3600
3601         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
3602
3603         * function.c (assign_parms): Don't put args of inline functions
3604         into registers when not optimizing.
3605
3606 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
3607
3608         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
3609         (prologue_use): New pattern.
3610         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
3611         preference to gen_rtx_USE.
3612         (thumb_expand_prologue): Use gen_prologue_use in preference to
3613         gen_rtx_USE.
3614         (thumb_expand_epilogue): Use gen_prologue_use in preference to
3615         gen_rtx_USE.
3616
3617 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
3618
3619         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
3620
3621 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
3622
3623         PR c/3504
3624         * doc/extend.texi: Correct documentation of __alignof__.
3625
3626 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
3627
3628         * params.h: Rename arguments of DEFPARAM so that it will be
3629         recognized as a translation keyword.
3630
3631 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
3632
3633         * extend.texi: Document altivec functions.
3634         Fix N-bit adjectives in X86 builtin documentation.
3635
3636 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
3637
3638         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
3639         auto_inc_dec values.
3640
3641 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
3642
3643         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
3644         after backslash.
3645         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
3646
3647 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
3648
3649         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
3650
3651 2002-01-22  Richard Henderson  <rth@redhat.com>
3652
3653         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
3654         copy_insn not copy_rtx.
3655
3656 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
3657
3658         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
3659         "nonzero" as that might add "1" bits.  Ensure "constop" is
3660         properly sign extened.
3661         (force_to_mode): Tweak for sign extended constop.
3662
3663 2002-01-22  Richard Henderson  <rth@redhat.com>
3664
3665         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
3666         for_each_rtx instead of assuming we're already looking at the MEM.
3667         (split_small_symbolic_mem_operand): Likewise.
3668         * config/alpha/alpha.h (PREDICATE_CODES): Update.
3669         * config/alpha/alpha.md (small symbolic memory splitters): Update.
3670
3671 2002-01-22  Richard Henderson  <rth@redhat.com>
3672
3673         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
3674         sequence number for the literal.
3675         (divmoddi_internal_er): Likewise.
3676
3677 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3678
3679         PR java/4972
3680         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
3681         in LIBICONV variable.
3682         * configure: Regenerated.
3683
3684 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
3685
3686         * dependence.c (build_def_use): Remove array_idx.
3687
3688         * dwarfout.c (last_filename): Remove.
3689         (output_compile_unit_die): Remove last_filename.
3690
3691 2002-01-22  Roger Sayle  <roger@eyesopen.com>
3692             Richard Henderson  <rth@redhat.com>
3693
3694         PR opt/3640
3695         * fold-const.c (fold): Optimize unsigned comparisons against
3696         UINT_MAX (and similar unsigned constants).
3697
3698 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
3699
3700         * Makefile.in (loop.o): Depend on OPTABS_H.
3701         * loop.c (emit_prefetch_instructions): Check the prefetch operand
3702         against the predicate.
3703
3704         PR target/5379
3705         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
3706         for the address operand.
3707
3708 2002-01-22  Richard Henderson  <rth@redhat.com>
3709
3710         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
3711
3712 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3713
3714         PR other/5450
3715         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
3716         preprocessor flags.
3717
3718 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
3719
3720         * config.gcc (x86_64-*-netbsd*): New target.
3721         * config/i386/netbsd64.h: New file.
3722
3723 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
3724
3725         * regrename.c (kill_value): Fix typo.
3726
3727 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
3728
3729         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
3730
3731         * config/rs6000/rs6000.h: Same.
3732
3733         * function.c (instantiate_virtual_regs): Remove
3734         STARTING_FRAME_PHASE.
3735         (assign_stack_local_1): Same.
3736         Calculate frame phase.
3737
3738 2002-01-22  Nick Clifton  <nickc@redhat.com>
3739
3740         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
3741         variable declaration to outer scope in order to simplify
3742         future extensions.
3743         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
3744         arm_hard_regno_mode_ok.
3745         * config/arm/arm-protos.h: Add a prototype for
3746         arm_hard_regno_mode_ok.
3747         * config/arm/arm.c (soft_df_operand): Remove now redundant
3748         check for DImode values using IP_REGNUM.
3749         (nonimmediate_soft_df_operand): Remove now redundant check for
3750         DImode values using IP_REGNUM.
3751         (arm_hard_regno_mode_ok): New function. New check: make sure
3752         that DImode values are not stored in IP_REGNUM.
3753
3754         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
3755         note with a USE.
3756         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
3757
3758 2002-01-22  Jason Merrill  <jason@redhat.com>
3759
3760         * c-semantics.c (genrtl_compound_stmt): Only check nesting
3761         consistency if this COMPOUND_STMT is scoped.
3762
3763 2002-01-22  Kazu Hirata  <kazu@hxi.com>
3764
3765         * predict.c: Fix formatting.
3766         * print-tree.c: Likewise.
3767         * protoize.c: Likewise.
3768         * real.h: Likewise.
3769         * rtl.h: Likewise.
3770         * sbitmap.h: Likewise.
3771         * scan.c: Likewise.
3772         * sched-deps.c: Likewise.
3773         * sched-vis.c: Likewise.
3774         * sdbout.c: Likewise.
3775         * sibcall.c: Likewise.
3776         * ssa.c: Likewise.
3777         * ssa-ccp.c: Likewise.
3778         * ssa-dce.c: Likewise.
3779         * stmt.c: Likewise.
3780         * stor-layout.c: Likewise.
3781         * system.h: Likewise.
3782
3783 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3784
3785         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
3786         if fits in bounds of base type.
3787
3788         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
3789         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
3790         (add_bound_info, default): If can't find a context, make a
3791         SAVE_EXPR.
3792         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
3793
3794 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
3795
3796         * c-typeck.c (parser_build_binary_op): If result from
3797         build_binary_op is ERROR_MARK just return error_mark_node without
3798         further processing.
3799
3800 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
3801
3802         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
3803         Split a.out-specific bits into...
3804         * config/netbsd-aout.h: ...this.
3805         * config/netbsd-elf.h: New file.
3806         * config/alpha/netbsd-elf.h: Remove.
3807         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
3808         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
3809         (STARTFILE_SPEC): Remove redundant definition.
3810         (ENDFILE_SPEC): Likewise.
3811         (LINK_SPEC): Likewise.
3812         (CPP_SPEC): Likewise.
3813         (ASM_SPEC): Likewise.
3814         (LIB_SPEC): Likewise.
3815         (SWITCH_TAKES_ARG): Likewise.
3816         (TARGET_MEM_FUNCTIONS): Likewise.
3817         (CPP_PREDEFINES): Redefine.
3818         (ASM_FINAL_SPEC): Remove redefinition.
3819         (ASM_COMMENT_START): Redefine.
3820         (FUNCTION_PROFILER): Define.
3821         (TARGET_VERSION): Redefine.
3822         Comment and formatting cleanup.
3823         * config/i386/netbsd.h: Include <netbsd-aout.h>.
3824         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
3825         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
3826         big- or little-endian.
3827         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
3828         * config.gcc (*-*-netbsd*): Add definitions common to all
3829         NetBSD configs.
3830         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
3831         gnu_ld definitions.  Add netbsd-elf.h to and remove
3832         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
3833         tmake_file, and don't lose previous tmake_file contents.
3834         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
3835         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
3836         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
3837         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
3838         (mipsel-*-netbsd*): Rename this to...
3839         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
3840         mips/little.h to tm_file for mips*el-*.
3841         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
3842         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
3843         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
3844
3845 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3846
3847         * pa-protos.h (reg_before_reload_operand): New function prototype.
3848         * pa.c (reg_before_reload_operand): New function implementation.
3849         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
3850         contraints to "*m".
3851
3852 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3853
3854         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
3855
3856 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3857
3858         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
3859         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
3860         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
3861         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
3862         (ENDFILE_SPEC): Undefine.
3863         (STARTFILE_SPEC): Redefine for PA.
3864
3865 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3866
3867         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
3868
3869 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
3870
3871         * config.gcc: Add entries to supported PowerPC --with-cpu
3872         types.
3873
3874 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
3875
3876         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
3877         true for 64-bit mode only SSE registers in 32-bit mode.
3878
3879 2002-01-21  Kazu Hirata  <kazu@hxi.com>
3880
3881         * unwind-dw2.c: Fix formatting.
3882         * unwind-dw2-fde.c: Likewise.
3883         * unwind-dw2-fde.h: Likewise.
3884         * unwind-pe.h: Likewise.
3885         * varasm.c: Likewise.
3886         * varray.h: Likewise.
3887
3888 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
3889
3890         Remove workaround for register stack overwrite bug in mmix.
3891         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
3892         support for TARGET_REG_STACK_FILL_BUG.
3893         * config/mmix/mmix.h: Remove member has_call_without_parameters.
3894         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
3895         Delete.
3896         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
3897         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
3898         -mno-reg-stack-fill-bug-workaround.
3899         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
3900         machine member has_call_without_parameters.
3901         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
3902         -mreg-stack-fill-bug-workaround and
3903         -mno-reg-stack-fill-bug-workaround.
3904         (MMIX Options): Ditto.
3905
3906 2002-01-21  Kazu Hirata  <kazu@hxi.com>
3907
3908         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
3909         as appropriate.
3910         Remove redundant code.
3911
3912 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
3913
3914         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
3915         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
3916         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
3917         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
3918         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
3919         out target macro definitions and non-target-specific comments
3920         mostly taken from old versions of the manual.
3921
3922 2002-01-20  Kazu Hirata  <kazu@hxi.com>
3923
3924         * config/h8300/h8300.h: Fix comment formatting.
3925         * config/ia64/aix.h: Likewise.
3926         * config/ia64/ia64-protos.h: Likewise.
3927         * config/ia64/ia64.c: Likewise.
3928         * config/ia64/ia64.h: Likewise.
3929         * config/ia64/ia64intrin.h: Likewise.
3930         * config/ia64/linux.h: Likewise.
3931         * config/ia64/unwind-aix.c: Likewise.
3932         * config/ia64/unwind-ia64.c: Likewise.
3933
3934 2002-01-20  Kazu Hirata  <kazu@hxi.com>
3935
3936         * config/h8300/h8300.c: Revise comments about shift code.
3937
3938 2002-01-20  Kazu Hirata  <kazu@hxi.com>
3939
3940         * config/h8300/h8300.c (function_arg): Update a comment.
3941
3942 2002-01-20  Kazu Hirata  <kazu@hxi.com>
3943
3944         * config/h8300/h8300.md: Update the comments at the beginning
3945         of the file.
3946
3947 2002-01-20  Kazu Hirata  <kazu@hxi.com>
3948
3949         * config/i370/i370.c: Fix comment formatting.
3950         * config/i370/i370.h: Likewise.
3951         * config/i370/i370.md: Likewise.
3952         * config/i370/linux.h: Likewise.
3953
3954 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3955
3956         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
3957
3958         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
3959         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
3960         in incomplete case.
3961
3962 2002-01-20  Graham Stott  <grahams@redhat.com>
3963
3964         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
3965
3966 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3967
3968         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
3969
3970 2002-01-19  Tom Rix  <trix@redhat.com>
3971
3972         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
3973
3974 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
3975
3976         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
3977
3978         * function.c (assign_stack_local_1): Adjust x_frame_offset with
3979         STARTING_FRAME_PHASE.
3980         (STARTING_FRAME_PHASE): New.
3981         (instantiate_virtual_regs): Check saneness of
3982         STARTING_FRAME_PHASE.
3983
3984         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
3985
3986 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
3987
3988         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
3989
3990 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3991
3992         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
3993         be used for bootstrapping GCC 3.0.
3994
3995 2002-01-18  Kazu Hirata  <kazu@hxi.com>
3996
3997         * config/h8300/h8300.md: Fix an insn length.
3998
3999 2002-01-18  Kazu Hirata  <kazu@hxi.com>
4000
4001         * bitmap.h: Fix comment formatting.
4002         * combine.c: Likewise.
4003         * cppfiles.c: Likewise.
4004         * c-pragma.h: Likewise.
4005         * c-typeck.c: Likewise.
4006         * df.c: Likewise.
4007         * dwarf2out.c: Likewise.
4008         * function.c: Likewise.
4009         * gcc.c: Likewise.
4010         * genattrtab.c: Likewise.
4011         * gthr-win32.h: Likewise.
4012         * haifa-sched.c: Likewise.
4013         * predict.c: Likewise.
4014         * rtlanal.c: Likewise.
4015         * rtl.h: Likewise.
4016         * unwind-dw2-fde.h: Likewise.
4017         * unwind-pe.h: Likewise.
4018         * vmsdbgout.c: Likewise.
4019
4020 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4021
4022         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
4023         if type_required and passed decl.
4024
4025 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
4026
4027         * config.gcc (cpu_type): Include altivec.h in powerpc
4028         extra_headers.
4029         Same for darwin.
4030
4031         * config/rs6000/altivec.h: New.
4032
4033 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
4034
4035         * doc/install.texi (*-ibm-aix*): Update assembler and exception
4036         handling information.
4037         * doc/trouble.texi (Interoperation): Add libstdc++ information
4038         for AIX.
4039         (Misunderstandings): Add template instantiation and static template
4040         member information for AIX.
4041
4042 2002-01-17  Jason Merrill  <jason@redhat.com>
4043
4044         * dbxout.c (dbxout_type): Support const and volatile.
4045
4046         * except.c (add_partial_entry): Remove backwards compatibility code.
4047         (end_protect_partials): Likewise.
4048
4049 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
4050
4051         * config/ia64/ia64.md (prologue_use): New.
4052         * config/ia64/ia64.c (ia64_expand_prologue): Use
4053         gen_prologue_use instead of gen_rtx_USE.
4054         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
4055         as CODE_FOR_pred_rel_mutex.
4056         (ia64_sched_reorder2): Likewise.
4057
4058 2002-01-16  Eric Christopher  <echristo@redhat.com>
4059
4060         * config/mips/r3900.h: Reformat.
4061         (SUBTARGET_CPP_SIZE_SPEC): Remove.
4062         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
4063         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
4064         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
4065         * config/mips/t-elf: Remove mips3 multilib.
4066
4067 2002-01-16  H.J. Lu <hjl@gnu.org>
4068
4069         * config/mips/linux.h: Include "mips/abi64.h".
4070
4071 2002-01-16  H.J. Lu <hjl@gnu.org>
4072
4073         * config/mips/t-linux: New.
4074
4075         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
4076
4077         * config/mips/linux.h: Don't include "gofast.h".
4078         (INIT_SUBTARGET_OPTABS): Removed.
4079
4080 2002-01-16  Kazu Hirata  <kazu@hxi.com>
4081
4082         * config/h8300/h8300-protos.h: Replace emit_a_shift with
4083         output_a_shift.
4084         * config/h8300/h8300.c: Likewise.
4085         * config/h8300/h8300.md: Likewise.
4086
4087 2002-01-16  Kazu Hirata  <kazu@hxi.com>
4088
4089         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
4090         spaces after an opcode name.
4091         (pushqi1_h8300hs): Likewise.
4092         (pushhi1_h8300hs): Likewise.
4093
4094 2002-01-16  Kazu Hirata  <kazu@hxi.com>
4095
4096         * doc/extend.texi: Replace "option" with "attribute"
4097         appropriately.
4098
4099 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
4100
4101         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
4102         (and:DI () (const_int -8)).
4103         (split_small_symbolic_mem_operand): Split
4104         (mem (and:DI () (const_int -8)).
4105
4106 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
4107
4108         PR target/5309:
4109         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
4110         same way as TYPE_IMUL.
4111         (ultrasparc_sched_reorder): Likewise.
4112         * config/sparc/sparc.md (type): Add comment to update
4113         ultrasparc_sched_reorder when making changes.
4114
4115 2002-01-16  Kazu Hirata  <kazu@hxi.com>
4116
4117         * doc/invoke.texi: Change the dump file name of block
4118         reordering pass from 28.bbro to 29.bbro.
4119         Mention -dk option.
4120
4121 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
4122
4123         * i386.md (minsf splitter): Fix pasto.
4124
4125 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
4126
4127         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
4128         to frame pointer initialisation instruction.
4129         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
4130         initialisation instruction.
4131         (soft_df_operand): Do not accept the IP register.
4132         (nonimmediate_soft_df_operand): Do not accept the IP register.
4133
4134 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
4135
4136         PR target/5357:
4137         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
4138         MASK_V8 being both set.
4139
4140 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
4141
4142         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
4143         insn for GOT register; add REG_MAYBE_DEAD notes instead.
4144         config/s390/s390.md (call, call_value): Add GOT register to
4145         CALL_INSN_FUNCTION_USAGE where needed.
4146         (call_exp, call_value_exp): New.
4147
4148 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
4149
4150         * config/arm/arm.c: General formatting tidy up.
4151
4152 2002-01-16  Graham Stott  <grahams@redhat.com>
4153
4154         * calls.c (try_to_integrate): Use "(size_t)" intermediate
4155         cast and when casting an integer literal to "rtx" pointer.
4156         (expand_call): Likewise.
4157         * flow.c (try_pre_increment): Likewise.
4158         (find_use_as_address): Likewise.
4159         * integrate.c (expand_iline_function): Likewise.
4160         * regmove.c (try_auto_increment): Likewise.
4161
4162 2002-01-16  Graham Stott  <grahams@redhat.com>
4163
4164         * sched-rgn.c (passed): Use sbitmap_free.
4165         (header): Likewise.
4166         (inner): Likewise.
4167         (in_queue): Likewise.
4168         (in_stack): Likewise.
4169
4170 2002-01-15  Eric Christopher  <echristo@redhat.com>
4171
4172         * flow.c (propagate_one_insn): Change to use fatal_insn.
4173
4174 2002-01-15  Kazu Hirata  <kazu@hxi.com>
4175
4176         * expmed.c (extract_fixed_bit_field): Remove unused code.
4177         * system.h: Poison SLOW_ZERO_EXTEND.
4178         * doc/tm.texi: Remove.
4179         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
4180         * config/arm/arm.h: Likewise.
4181         * config/avr/avr.h: Likewise.
4182         * config/clipper/clipper.h: Likewise.
4183         * config/convex/convex.h: Likewise.
4184         * config/d30v/d30v.h: Likewise.
4185         * config/dsp16xx/dsp16xx.h: Likewise.
4186         * config/elxsi/elxsi.h: Likewise.
4187         * config/fr30/fr30.h: Likewise.
4188         * config/h8300/h8300.h: Likewise.
4189         * config/i370/i370.h: Likewise.
4190         * config/i386/i386.h: Likewise.
4191         * config/m68k/m68k.h: Likewise.
4192         * config/mips/mips.h: Likewise.
4193         * config/ns32k/ns32k.h: Likewise.
4194         * config/pdp11/pdp11.h: Likewise.
4195         * config/pj/pj.h: Likewise.
4196         * config/s390/s390.h: Likewise.
4197         * config/sh/sh.h: Likewise.
4198         * config/stormy16/stormy16.h: Likewise.
4199         * config/v850/v850.h: Likewise.
4200         * config/vax/vax.h: Likewise.
4201         * config/we32k/we32k.h: Likewise.
4202
4203 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
4204
4205         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
4206         (altivec_lvsl): Change constraint to b.
4207         (altivec_lvsr): Same.
4208         (altivec_lvebx): Same.
4209         (altivec_lvehx): Same.
4210         (altivec_lvewx): Same.
4211         (altivec_lvxl): Same.
4212         (altivec_lvx): Same.
4213         (altivec_stvx): Add parallel.
4214         (altivec_stvxl): Same.
4215         (altivec_stvehx): Same.
4216         (altivec_stvebx): Same.
4217         (altivec_stvebx): Same.
4218
4219 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
4220
4221         * config.gcc: Change altivec.h to altivec-defs.h.
4222
4223         * config/rs6000/altivec.h: Delete.
4224
4225         * config/rs6000/altivec-defs.h: Add.
4226
4227 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4228
4229         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
4230         and UMOD modes.
4231
4232         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
4233         less than or equal to eight bytes.
4234
4235         * vax.md (andsi3): Remove constraints and change SET destination
4236         operand type to nonimmediate_operand.
4237         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
4238         when it is a CONST_INT.
4239
4240 2002-01-15  Jason Merrill  <jason@redhat.com>
4241
4242         * c-common.def (FILE_STMT): New code.
4243         * c-common.c (statement_code_p): It's a statement.
4244         * c-common.h (stmt_tree_s): Add x_last_filename.
4245         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
4246         (last_expr_filename): New macro.
4247         * c-semantics.c (begin_stmt_tree): Initialize it.
4248         (add_stmt): If the filename changed, also insert a
4249         FILE_STMT.
4250         (expand_stmt): Handle seeing one.
4251
4252 2002-01-15  Eric Christopher  <echristo@redhat.com>
4253
4254         * flow.c (propagate_one_insn): Add error message and print out
4255         insn for debugging.
4256
4257 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
4258
4259         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
4260         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
4261         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
4262         TRAMPOLINE_ALIGNMENT.
4263         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
4264         to be in bits.
4265         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
4266         PCC_BITFIELD_TYPE_MATTERS.
4267         * config/interix.h (STDC_VALUE): Remove.  Use
4268         STDC_0_IN_SYSTEM_HEADERS.
4269         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
4270         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
4271         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
4272
4273 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4274
4275         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
4276         not work on this platform currently.
4277
4278 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
4279
4280         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
4281         readonly_warning in _().
4282
4283 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
4284
4285         * gcc.c (delete_if_ordinary): Backout previous change.
4286
4287 2002-01-15  Kazu Hirata  <kazu@hxi.com>
4288
4289         * config/h8300/h8300.c (print_operand): Remove support for
4290         unused operand characters.
4291
4292         * read-rtl.c: Fix formatting.
4293         * real.c: Likewise.
4294         * recog.c: Likewise.
4295         * regclass.c: Likewise.
4296         * regmove.c: Likewise.
4297         * reg-stack.c: Likewise.
4298         * reload1.c: Likewise.
4299         * rtlanal.c: Likewise.
4300
4301 2002-01-15  Kazu Hirata  <kazu@hxi.com>
4302
4303         * config/i386/i386.c: Fix formatting.
4304
4305 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
4306
4307         * c-typeck.c (process_init_element): Don't save_expr
4308         COMPOUND_LITERAL_EXPR if just its initializer will be used.
4309
4310 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
4311
4312         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
4313         emit optional traceback table if optimize_size or TARGET_ELF.
4314         * config/rs6000/rs6000.md (prefetch): New.
4315
4316 2002-01-15  Andreas Jaeger  <aj@suse.de>
4317
4318         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
4319
4320 2002-01-15  Kazu Hirata  <kazu@hxi.com>
4321
4322         * mips-tfile.c: Fix formatting.
4323
4324 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
4325
4326         * unroll.c (final_reg_note_copy): Fix previous commit.
4327
4328 2002-01-14  Kazu Hirata  <kazu@hxi.com>
4329
4330         * config/h8300/h8300-protos.h: Remove the prototype for
4331         eq_operator.
4332         * config/h8300/h8300.c (eq_operator): Remove.
4333
4334 2002-01-14  Richard Henderson  <rth@redhat.com>
4335
4336         * config/i386/i386.md (prefetch): Tidy.
4337         (prefetch_3dnow): Fix locality operand.
4338
4339 2002-01-14  Richard Henderson  <rth@redhat.com>
4340
4341         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
4342         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
4343
4344 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
4345
4346         * reload1.c (reload_combine): Pass reg_sum replacement through
4347         copy_rtx in loop performing multiple changes.
4348
4349 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
4350
4351         * except.c (remove_unreachable_regions): New.
4352         (free_eh_status): Clear exception_handler_labels.
4353         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
4354         (find_exception_handler_labels): Don't add the same label more than
4355         once.
4356         (remove_exception_handler_label): Don't die if
4357         find_exception_handler_labels hasn't been called for the current
4358         function yet.
4359
4360 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
4361
4362         * toplev.c (rest_of_compilation): Rebuild jump labels after
4363         gcse.
4364
4365 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
4366
4367         * doc/extend.texi: Move documentation of X86 built-in functions
4368         here.
4369         * doc/invoke.texi: From here.
4370         * doc/sourcebuild.texi: Document location of documentation for
4371         machine built-in functions.
4372
4373 2002-01-13  Christopher Faylor  <cgf@redhat.com>
4374
4375         * cppfiles.c (TEST_THRESHOLD): New macro.
4376         (SHOULD_MMAP): Ditto.
4377         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
4378         be used.
4379
4380 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
4381
4382         * unroll.c (final_reg_note_copy): Properly handle
4383         REG_LABEL
4384         (unroll_loops): Fix LOOP_CONDITION heuristics.
4385
4386 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
4387
4388         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
4389         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
4390
4391 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
4392
4393         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
4394         threaded loop.
4395
4396 2002-01-14  Tom Rix  <trix@redhat.com>
4397
4398         * config/rs6000/rs6000.md: Fix typo with sradi.
4399
4400 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
4401
4402         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
4403         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
4404         (clrstrdi, clrstrsi): Adapt callers.
4405
4406         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
4407
4408         (movti splitter): Never use register 0 as base register.
4409
4410 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
4411
4412         * combine.c (simplify_shift_const): Always generate new rtx
4413         for shift expression instead of reusing given expression.
4414
4415 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4416
4417         * config/alpha/alpha.c (alpha_expand_mov): Don't call
4418         alpha_legitimize_address unless mode is Pmode.
4419
4420 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
4421
4422         * doc/md.texi (Modifiers): Document the '*' constraint for the
4423         user.
4424
4425         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
4426         * doc/extend.texi (Function Attributes): 'interrupt' is valid
4427         for xstormy16 too.
4428
4429 2002-01-13  Richard Henderson  <rth@redhat.com>
4430
4431         * reload.c (find_reloads): Use a hard reg destination as reload reg
4432         for an input reload of the source.
4433
4434 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4435
4436         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
4437         more generic.
4438
4439 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
4440
4441         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
4442         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
4443
4444         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
4445
4446 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4447
4448         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
4449
4450 2002-01-12  Tom Rix  <trix@redhat.com>
4451
4452         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
4453         TARGET_POWERPC64.
4454
4455 2002-01-12  Richard Henderson  <rth@redhat.com>
4456
4457         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
4458
4459         * doc/invoke.texi: Update Alpha options.
4460
4461         * doc/invoke.texi: Update i386 built-in function lists.
4462
4463 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
4464
4465         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
4466         referencing outside.
4467
4468 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4469
4470         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
4471         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
4472         offsets, and change line folding.
4473         * optabs.c (expand_binop): Remove warnings.
4474         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
4475
4476 2002-01-12  Graham Stott <grahams@redhat.com>
4477
4478         * attribs.c (handle_deprecated_attribute): constify WHAT.
4479         * diagnostic.c (warn_deprecated_use): Add braces, fixes
4480         dangling else warning and constify WHAT.
4481         * except.h (struct function, struct inline_remap): Move
4482         struct tag forward defs before all prototypes.
4483         (duplicate_eh_regions): Whitespace.
4484
4485 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
4486
4487         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
4488         MODE_BASE_REG_CLASS.
4489         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
4490
4491 2002-01-12  Richard Henderson  <rth@redhat.com>
4492
4493         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
4494         (ix86_expand_vector_move): New.
4495         (bdesc_2arg): Remove andps, andnps, orps, xorps.
4496         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
4497         Remove old prefetch builtins.  Special case the logicals removed above.
4498         (ix86_expand_builtin): Likewise.
4499         (safe_vector_operand): Use V4SFmode, not TImode.
4500         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
4501         (ix86_expand_timode_binop_builtin): New.
4502         * config/i386/i386-protos.h: Update.
4503         * config/i386/i386.h (enum ix86_builtins): Update.
4504         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
4505         Use ix86_expand_vector_move in vector move expanders.
4506         (movti_internal, movti_rex64): Add xorps alternative.
4507         (sse_clrv4sf): Rename and adjust from sse_clrti.
4508         (prefetch): Don't work so hard.
4509         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
4510         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
4511         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
4512
4513 2002-01-11  Richard Henderson  <rth@redhat.com>
4514
4515         * config/i386/mmintrin.h: New file.
4516         * config/i386/xmmintrin.h: New file.
4517         * config.gcc (i?86-*-*): Add extra_headers.
4518         * simplify-rtx.c (simplify_unary_operation): Handle saturating
4519         truncation codes.
4520         (simplify_binary_operation): Handle saturating arithmetic codes.
4521         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
4522         not the lowpart subreg.
4523         (ix86_expand_builtin): Return a TImode dummy register instead of 0
4524         on error.
4525         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
4526
4527 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4528
4529         * conflict.c (conflict_graph_compute): Free regsets when finished.
4530         * ssa.c (compute_coalesced_reg_partition): Likewise.
4531
4532 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4533
4534         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
4535         every where we allocate a register.
4536
4537 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4538
4539         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
4540         * lcm.c (compute_earliest, compute_farthest): Likewise.
4541
4542 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
4543
4544         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
4545
4546 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
4547
4548         * doc/rtl.texi (Insns): Fix 2 typos.
4549
4550 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
4551
4552         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
4553         options.  Use @table @gcctabopt for MMIX options.  Add index
4554         entries for MMIX options.  Start new paragraph with first
4555         heading of the machine-dependent options.
4556
4557 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4558
4559         PR other/5299
4560         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
4561         * combine.c (force_to_mode): Same.
4562         * reload1.c (clear_reload_reg_in_use): Same.
4563
4564 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
4565
4566         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
4567         and 'subtargets'.
4568
4569 2002-01-11  Andreas Jaeger  <aj@suse.de>,
4570             Brad Lucier <lucier@math.purdue.edu>
4571
4572         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
4573         mcpu.
4574
4575 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
4576
4577         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
4578         Protect with IN_LIBGCC.
4579         (LINK_EH_SPEC): Add required trailing space.
4580
4581 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
4582
4583         * c-tree.h: Move function declarations so that they are listed
4584         under the filename which contains them.
4585         (check_identifier, finish_decl_top_level,
4586         lookup_name_current_level_global, shadow_record_fields): Remove.
4587
4588 2002-01-11  Andreas Jaeger  <aj@suse.de>
4589
4590         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
4591         march.
4592
4593 2002-01-10  Richard Henderson  <rth@redhat.com>
4594
4595         * config/alpha/alpha.c (print_operand): Add 'J'.
4596         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
4597         new operand with the sequence number for the lituse.  When splitting
4598         the insns, use gen_movdi_er_high_g and generate a sequence number.
4599         (gen_movdi_er_high_g): Print the sequence number if non-zero.
4600
4601 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
4602
4603         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
4604         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
4605         stvxl.
4606         (altivec_expand_builtin): Same.
4607         (altivec_expand_stv_builtin): New.
4608
4609         * config/rs6000/rs6000.h (rs6000_builtins): Same.
4610
4611         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
4612         ("altivec_lvehx"): New.
4613         ("altivec_lvewx"): New.
4614         ("altivec_lvxl"): New.
4615         ("altivec_lvx"): New.
4616         ("altivec_stvx"): New.
4617         ("altivec_stvebx"): New.
4618         ("altivec_stvehx"): New.
4619         ("altivec_stvewx"): New.
4620         ("altivec_stvxl"): New.
4621
4622 2002-01-10  Richard Henderson  <rth@redhat.com>
4623
4624         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
4625         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
4626         care not to delete instructions twice.
4627
4628 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
4629
4630         * toplev.c: Don't declare environ (it's not used anywhere).
4631         * configure.in: Don't check for declaration of environ.
4632         * config/i386/xm-mingw32.h: Don't #define environ.
4633         * config.in, configure: Regenerate.
4634
4635 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
4636
4637         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
4638         * configure: Regenerate.
4639
4640         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
4641         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
4642         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
4643         alpha/xm-vms.h.
4644         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
4645         LIMITS_H_TEST here, not in m68k/x-next.
4646         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
4647         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
4648
4649         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
4650         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
4651         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
4652
4653         * config/i386/x-djgpp: Renamed i386/t-djgpp.
4654         * config/m88k/x-dolph: Renamed m88k/t-dolph.
4655         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
4656         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
4657         replacement of quadlib.asm with quadlib.c.
4658
4659         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
4660         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
4661         config/rs6000/xm-beos.h: Delete file.
4662
4663         * config.gcc: Update to match above changes.
4664
4665 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4666
4667         * config/h8300/h8300.h: Fix comment typos.
4668         * config/h8300/h8300.md: Likewise.
4669         * config/h8300/lib1funcs.asm: Likewise.
4670
4671 2002-01-10  Dale Johannesen  <dalej@apple.com>
4672
4673         PR optimization/5269
4674         * unroll.c (precondition_loop_p): Make *increment be the correct
4675         sign when n_iterations known, to avoid confusing caller.
4676
4677 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4678
4679         * doc/extend.texi (deprecated): Fix a typo.
4680
4681 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
4682
4683         * basic-block.h (update_br_prob_note): Declare.
4684         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
4685         (try_forward_edges): Care negative frequencies and update note.
4686         (outgoing_edges_match): Tweek conditional merging heuristics.
4687         (try_crossjump_to_edge): use update_br_prob_note.
4688         * cfglayout.c (fixup_reorder_chain): Likewise.
4689         * cfrtl.c (update_br_prob_note): New.
4690         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
4691
4692         * i386.c (ix86_decompose_address): Return -1 if address contains
4693         shift.
4694         (legitimate_address_p): Require ix86_decompose_address to return 1.
4695
4696         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
4697         (cprop_insn): Likewise.
4698
4699 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4700
4701         * toplev.c: Fix formatting.
4702         * tree.c: Likewise.
4703         * tree-dump.c: Likewise.
4704         * unroll.c: Likewise.
4705         * unwind-dw2.c: Likewise.
4706         * unwind-dw2-fde.c: Likewise.
4707         * unwind-dw2-fde-glibc.c: Likewise.
4708         * unwind-sjlj.c: Likewise.
4709
4710 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
4711
4712         * doc/invoke.texi: Document PDP-11 options.
4713
4714 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4715
4716         * config/h8300/h8300.h: Fix formatting.
4717
4718 2002-01-10  Ira Ruben   <ira@apple.com>
4719
4720         Add __attribute__ ((deprecated)).
4721         * extend.texi: Document __attribute__ ((deprecated)).
4722         * invoke.texi: Document -Wno-deprecated-declarations.
4723         * testsuite/g++.dg/other/deprecated.C: New C++ test.
4724         * testsuite/gcc.dg/deprecated.c: New C test.
4725         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
4726         (c_common_attribute_table): Add "deprecated" entry.
4727         (handle_deprecated_attribute): New function.
4728         * c-decl.c (deprecated_states): New enum.
4729         deprecated_state: State of "deprecated" handling.
4730         (start_decl): Set deprecated_state based on attributes.
4731         (grokdeclarator): Test for deprecated uses, propagate attribute.
4732         * c-typeck.c (build_component_ref): Test for deprecated fields.
4733         (build_external_ref): Test for deprecated primaries.
4734         * diagnostic.c (warn_deprecated_use) New function to issue
4735         warnings about __attribute__ ((depricated)) references.
4736         * flags.h (warn_deprecated_decl): Extern declared for
4737         -W[no-]deprecated-declarations option.
4738         * print-tree.c (print_node): Show deprecated flag status.
4739         * toplev.c (warn_deprecated_decl): Defined.
4740         (W_options): Added "deprecated-declaration".
4741         * toplev.h (warn_deprecated_use): Extern declared.
4742         * tree.h (struct tree_common): Define deprecated_flag.
4743         (TREE_DEPRECATED): New macro to access flag.
4744         * cp/call.c (build_call): Test for deprecated calls.
4745         * cp/class.c (add_implicitly_declared_members): Set global
4746         flag to tell grokdeclarator to not issue deprecated warnings.
4747         * cp/cp-tree.h: Add extern for adding_implicit_members.
4748         * cp/decl.c (deprecated_states): New enum.
4749         (start_decl): Set deprecated_state based on attributes.
4750         (grokdeclarator): Test for deprecated uses, propagate attribute.
4751         * cp/lex.c (do_identifier): Test for deprecated primaries.
4752         * cp/typeck.c (build_component_ref): Test for deprecated fields.
4753
4754 2002-01-10  Ira Ruben   <ira@apple.com>
4755
4756         Fix to assign attributes to inline member functions.
4757         * cp/decl.c (start_method): Handle attrlist.
4758
4759 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4760
4761         * combine.c (expand_field_assignment): Use subreg_lsb().
4762
4763 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
4764
4765         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
4766         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
4767         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
4768         Recurse for any operand of AND as long as constant is non-zero.
4769
4770 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4771
4772         * config/h8300/h8300.md: Remove constraints from expanders.
4773
4774 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4775
4776         * varasm.c: Fix formatting.
4777         * varray.c: Likewise.
4778         * vmsdbgout.c: Likewise.
4779         * xcoffout.c: Likewise.
4780
4781 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
4782
4783         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
4784         update edge probabilities to match.
4785
4786 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
4787
4788         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
4789         dependencies.
4790         * doc/languages.texi, doc/sourcebuild.texi: New files.
4791         * doc/configfiles.texi: Make a subsubsection.  Update.
4792         * doc/configterms.texi: Add @node.  Remove warning that this isn't
4793         instructions for building GCC.
4794         * doc/makefile.texi: Make a subsection.
4795         * doc/gccint.texi: Update.
4796
4797 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
4798
4799         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
4800
4801 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
4802
4803         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
4804
4805 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
4806
4807         * optabs.c (expand_fix): Look for wider integer modes first.
4808
4809         * i386.md (mov?f): Avoid the fake const double trick for medium
4810         memory model.
4811         (min?f*/max?f*): Prohibit memory operands for i387 variant.
4812         (fop_df_4): Disable for SSE compilation.
4813
4814 2002-01-10  Graham Stott  <grahams@redhat.com>
4815
4816         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
4817         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
4818
4819 2002-01-10  Richard Henderson  <rth@redhat.com>
4820
4821         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
4822
4823 2002-01-10  Richard Henderson  <rth@redhat.com>
4824
4825         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
4826         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
4827
4828 2002-01-10  Kazu Hirata  <kazu@hxi.com>
4829
4830         * combine.c (can_combine_p): Fix a comment typo.
4831
4832 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
4833
4834         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
4835         empty list correctly.  Change loop index $t to $f for
4836         consistency with rest of Makefile.
4837
4838 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
4839
4840         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
4841         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
4842
4843         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
4844         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
4845         (altivec_init_builtins): Same.
4846         (altivec_expand_unop_builtin): Return NULL_RTX on error.
4847         (altivec_expand_binop_builtin): Same.
4848         (altivec_expand_ternop_builtin): Same.
4849         (bdesc_dst): New.
4850
4851         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
4852         ("altivec_vctuxs"): Fix typo.
4853         ("altivec_vnmsubfp"): Same.
4854         ("altivec_dssall"): New.
4855         ("altivec_mfvscr"): New.
4856         ("altivec_dss"): New.
4857         ("altivec_lvsl"): New.
4858         ("altivec_lvsr"): New.
4859         ("altivec_dstt"): New.
4860         ("altivec_dstst"): New.
4861         ("altivec_dststt"): New.
4862         ("altivec_dst"): New.
4863
4864         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
4865         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
4866
4867 2002-01-09  Richard Henderson  <rth@redhat.com>
4868
4869         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
4870
4871 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
4872
4873         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
4874         function.
4875         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
4876         prototype.
4877         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
4878
4879 2002-01-09  Kazu Hirata  <kazu@hxi.com>
4880
4881         * read-rtl.c: Fix formatting.
4882         * real.c: Likewise.
4883         * regclass.c: Likewise.
4884         * regrename.c: Likewise.
4885         * reg-stack.c: Likewise.
4886         * reload1.c: Likewise.
4887         * reload.c: Likewise.
4888         * rtl.c: Likewise.
4889
4890 2002-01-09  Kazu Hirata  <kazu@hxi.com>
4891
4892         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
4893         to extract items in the expr_list chain.
4894
4895 2002-01-09  Richard Henderson  <rth@redhat.com>
4896
4897         * config/vax/vax.c (vax_rtx_cost): Never abort.
4898
4899         * config/vax/vax.h (REAL_ARITHMETIC): Define.
4900
4901 2002-01-09  Jan Hubicka  <jh@suse.cz>
4902
4903         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
4904
4905 2002-01-09  Richard Henderson  <rth@redhat.com>
4906
4907         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
4908         Unify code from various alternatives.
4909
4910 2002-01-09  Richard Henderson  <rth@redhat.com>
4911
4912         * regrename.c (copy_value): Ignore the copy if the source register
4913         is present in the value chain with a narrower mode.
4914
4915 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
4916
4917         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
4918         for the c4x target. Also improve layout.
4919
4920 2002-01-09  Richard Henderson  <rth@redhat.com>
4921
4922         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
4923         * config/m32r/m32r.md (and ior xor splitters): Swap operands
4924         to match insn patterns.
4925
4926 2002-01-09  Richard Henderson  <rth@redhat.com>
4927
4928         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
4929         (copyprop_hardreg_forward_1): Likewise.
4930
4931 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4932
4933         * pa.md (decrement_and_branch_until_zero): Change predicate for
4934         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
4935
4936 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4937
4938         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
4939         gets undefined. For Darwin.
4940
4941 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4942
4943         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
4944
4945 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4946
4947         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
4948
4949 2002-01-08  Richard Henderson  <rth@redhat.com>
4950
4951         * regrename.c (copy_value): Ignore overlapping copies.
4952
4953 2002-01-08  Richard Henderson  <rth@redhat.com>
4954
4955         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
4956         as needed to avoid shared structure.
4957
4958 2002-01-08  Kazu Hirata  <kazu@hxi.com>
4959
4960         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
4961         H8/300H and H8/S.
4962
4963 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
4964
4965         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
4966         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
4967         documentation of obsolete macros.
4968         * system.h: Poison these macros.
4969         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
4970         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
4971         config/c4x/c4x.h, config/clipper/clipper.h,
4972         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
4973         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
4974         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
4975         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
4976         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
4977         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
4978         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
4979         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
4980         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
4981         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
4982         config/sparc/sparc.h, config/stormy16/stormy16.h,
4983         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
4984         definitions and commented out definitions of obsolete macros.
4985         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
4986         of MAX_INT_TYPE_SIZE.
4987
4988 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
4989
4990         * config/s390/s390.c (s390_preferred_reload_class): Never
4991         return ADDR_REGS if it isn't a subset of the given class.
4992         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
4993         FP_REGS, but all superclasses as well.
4994
4995         * config/s390/s390.c (s390_function_profiler): Fix thinko.
4996
4997         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
4998         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
4999         must not be a const_int.
5000
5001 2002-01-08  Richard Henderson  <rth@redhat.com>
5002
5003         * Makefile.in (toplev.o): Depend on options.h.
5004         (gcc.o): Depend on specs.h.
5005
5006 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
5007
5008         * expr.c (store_expr): Convert VOIDmode constants back to target's
5009         mode.
5010
5011 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5012
5013         * doc/invoke.texi: Markup gcc as @command.  Refer to
5014         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
5015         of http://gcc.gnu.org/thanks.html.
5016
5017 2002-01-08  Dale Johannesen  <dalej@apple.com>
5018
5019         * config/rs6000/rs6000.md: Add missing int register
5020         target case to movdf_low.
5021
5022 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
5023
5024         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
5025         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
5026         (cppinit.o): Depend on except.h.
5027         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
5028         s-specs): New rules.
5029
5030         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
5031         Don't create specs.h/options.h/gencheck.h here.  Remove
5032         unnecessary variable settings from last argument of AC_OUTPUT.
5033         * config.in, configure: Regenerate.
5034         * intl.c: Hardcode package name as "gcc".
5035
5036         * cppinit.c: Include except.h.
5037         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
5038         appropriate.
5039         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
5040         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
5041         (!)USING_SJLJ_EXCEPTIONS.
5042         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
5043
5044 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
5045
5046         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
5047         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
5048         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
5049         documentation of obsolete macros.
5050         * system.h: Poison these macros.
5051         * config/d30v/d30v.h, config/ns32k/encore.h,
5052         config/stormy16/stormy16.h: Remove definitions and commented out
5053         definitions of obsolete macros.
5054
5055 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
5056
5057         * objc/objc-act.c (handle_class_ref): Mark the declaration of
5058         %sobjc_class_ref_%s as used - to prevent unwanted compiler
5059         warnings.
5060
5061 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
5062
5063         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
5064         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
5065         to insn adjusting stack/frame pointer.
5066         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
5067         accept operands that cause the insn to be non-splittable.
5068
5069 2002-01-08  Graham Stott  <grahams@redhat.com>
5070
5071         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
5072         (C_TYPE_FIELDS_VOLATILE): Likewise.
5073         (C_TYPE_BEING_DEFINED): Likewise.
5074         (C_IS_RESERVED_WORD): Likewise.
5075         (C_TYPE_VARIABLE_SIZE): Likewise.
5076         (C_DECL_VARIABLE_SIZE): Likewise.
5077         (C_MISSING_PROTOTYPE_WARNED): Likewise.
5078         (C_SET_EXP_ORIGINAL_CODE): Likewise.
5079         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
5080         parenthesis.
5081         (C_DECL_ANTICIPATED): Likewise.
5082         (c_build_type_variant): Add parenthesis.
5083
5084 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
5085
5086         * gcc.c (option_map): Remove --version.
5087         (process_command): Handle -fversion following the GNU Coding
5088         Standards.  Partially addresses PR other/704.
5089
5090 2002-01-08  Graham Stott  <grahams@redhat.com>
5091
5092         * combine.c (combine_instructions): Fix typo.
5093
5094 2002-01-08  Graham Stott  <grahams@redhat.com>
5095
5096         * debug.h: Use "tree" and "rtx" throughout.
5097
5098         * debug.c: Likewise.
5099
5100 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
5101
5102         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
5103         constant pool, use the pool's version of the symbol instead.
5104
5105 2002-01-07  Richard Henderson  <rth@redhat.com>
5106
5107         * regrename.c (find_oldest_value_reg): Ignore the value chain if
5108         the original register was copied in a mode with a fewer number of
5109         hard registers than the desired mode.
5110         (copyprop_hardreg_forward_1): Likewise.
5111         (debug_value_data): Fix loop test.
5112         * toplev.c (parse_options_and_default_flags): Reenable
5113         -fcprop-registers at -O1.
5114
5115 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
5116
5117         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
5118         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
5119
5120         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
5121         predicates.
5122
5123         * config/rs6000/rs6000.md: Add altivec predicate patterns.
5124
5125 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5126
5127         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
5128         (pa_output_function_prologue): Output local label at the beginning of
5129         the prologue when profiling.
5130         (hppa_profile_hook): Use the local label rather than the function label.
5131         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
5132
5133 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
5134
5135         * config/rs6000/rs6000.c (print_operand): Remove extra space.
5136         (altivec_expand_unop_builtin): Fix thinko.
5137         (altivec_expand_binop_builtin): Same.
5138         (altivec_expand_ternop_builtin): Same.
5139         (altivec_expand_builtin): Same.
5140
5141 2002-01-07  Richard Henderson  <rth@redhat.com>
5142
5143         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
5144
5145 2002-01-07  Jason Merrill  <jason@redhat.com>
5146
5147         * unwind-dw2.c (execute_cfa_program): Use < again.
5148
5149 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
5150
5151         * predict.c (combine_predictions_for_insn): Avoid division by zero.
5152
5153 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
5154
5155         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
5156         Don't allow -1 - x -> ~x simplifications in the first pass.
5157
5158 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
5159
5160         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
5161         arguments.
5162         (altivec_expand_binop_builtin): Same.
5163         (altivec_expand_unop_builtin): Same.
5164         (print_operand): Fix typo.
5165         (bdesc_1arg): Add vupk* variants.
5166
5167         * rs6000.h (rs6000_builtins): Add vupk* enums.
5168
5169         * rs6000.md: Add altivec_vupk* variants.
5170
5171 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
5172
5173         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
5174         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
5175         and last update dates.
5176
5177 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
5178
5179         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
5180
5181 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
5182
5183         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
5184         * config/avr/avr.h (CPP_SPEC): Likewise.
5185         (LINK_SPEC): Likewise.
5186         (CRT_BINUTILS_SPECS): Likewise.
5187         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
5188         * doc/invoke.texi (AVR Options): Document them.
5189
5190 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
5191
5192         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
5193         LABEL_NUSES.
5194
5195 2002-01-07  Graham Stott  <grahams@redhat.com>
5196
5197         * config/i386/i386.h: Update copyright date.
5198         (HALF_PIC_PTR): Add parenthesis.
5199         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
5200         (CONSTANT_ALIGNMENT): Add parenthesis.
5201         (DATA_ALIGNMENT): Likewise.
5202         (LOCAL_ALIGNMENT): Likewise.
5203         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
5204         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
5205         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
5206         (HARD_REGNO_NREGS): Add paranethesis.
5207         (VALID_SSE_REG_MODE): Whitespace.
5208         (VALID_MMX_REG_MODE): Whitespace.
5209         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
5210         (ix86_hard_regno_mode_ok): Add parenthesis.
5211         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
5212         (RETURN_IN_MEMORY): Whitespace.
5213         (N_REG_CLASSES): Add parenthesis.
5214         (INTEGER_CLASS_P): Add parenthesis and wrap.
5215         (FLOAT_CLASS_P): Likewise.
5216         (SSE_CLASS_P): Likewise.
5217         (MMX_CLASS_P): Likewise.
5218         (MAYBE_INTEGER_CLASS_P): Likewise.
5219         (MAYBE_FLOAT_CLASS_P): Likewise.
5220         (MAYBE_SSE_CLASS_P): Likewise.
5221         (MAYBE_MMX_CLASS_P): Likewise.
5222         (Q_CLASS_P): Likewise.
5223         (GENERAL_REGNO_P): Uppercase macro parameter.
5224         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
5225         (FP_REGNO_P): Likewise.
5226         (ANY_FP_REGNO_P): Uppercase macro parameter.
5227         (SSE_REGNO_P): Likewise.
5228         (SSE_REGNO): Likewise.
5229         (SSE_REG_P): Likewise.
5230         (SSE_FLOAT_MODE_P): Likewise.
5231         (MMX_REGNO_P): Likewise.
5232         (MMX_REG_P):Likewise.
5233         (STACK_REG_P): Likewise.
5234         (NON_STACK_REG_P): Likewise.
5235         (STACK_TOP_P): Likewise.
5236         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
5237         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
5238         (SECONDARY_MEMORY_NEEDED): Likewise.
5239         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
5240         (MD_ASM_CLOBBERS): Whitespace and wrap.
5241         (MUST_PASS_IN_STACK): Whitespace and wrap.
5242         (RETURN_POPS_ARGS): Add parenthesis.
5243         (INIT_CUMULATIVE_ARGS): Likewise.
5244         (FUNCTION_ARG): Likewise.
5245         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
5246         (SETUP_INCOMING_VARARGS): Likewise.
5247         (BUILD_VA_LIST_TYPE):  Add parenthesis.
5248         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
5249         parenthsis.
5250         (EXPAND_BUILTIN_VA_ARG): Likewise.
5251         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
5252         (INITIALIZE_TRAMPOLINE): Add parenthesis.
5253         (INITIAL_ELIMINATION_OFFSET): Likewise.
5254         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
5255         (REGNO_OK_FOR_BASE_P): Likewise.
5256         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
5257         (REGNO_OK_FOR_DIREG_P): Likewise.
5258         (REG_OK_FOR_INDEX_P): Whitespace.
5259         (REG_OK_FOR_BASE_P): Whitespace.
5260         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
5261         parenthesis.
5262         (FIND_BASE_TERM): Fix typo.
5263         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
5264         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
5265         (SYMBOLIC_CONST; Whitespace.
5266         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
5267         (ENCODE_SECTION_INFO): Whitespace.
5268         (FINALIZE_PIC): Remove do { ... } while (0).
5269         (PROMOTE_MODE): Wrap in do { ... } while (0).
5270         (CONST_COSTS): Whitespace.
5271         (RTX_COSTS): Add paramethesis, whitespace and wrap.
5272         (REGISTER_MOVE_COST): Add parenthesis.
5273         (MEMORY_MOVE_COST): Likewise.
5274         (EXTRA_CC_MODES): Whitespace.
5275         (SELECT_CC_MODE): Add parenthesis and whitespace.
5276         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
5277         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
5278         (ASM_OUTPUT_LABEL): Add paramethesis.
5279         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
5280         (ASM_OUTPUT_REG_POP): Likewise.
5281         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
5282         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
5283
5284         * config/i386/i386.c: Update copyright.
5285         (CHECK_STACK_LIMIT): Add parenthesis.
5286         (AT_BP): Uppercase macro parameter.
5287         (x86_64_int_parameter_registers): Constify.
5288         (x86_64_int_return_registers): Likewise.
5289         (ix86_compare_op0): Use rtx.
5290         (construct_container): Constify INTREG parameter.
5291         (function_arg): Use rtx.
5292
5293         * diagnostic.h: Update copyright date.
5294         (output_buffer_state): Add parenthesis.
5295         (output_buffer_format_args): Likewise.
5296
5297         * combine.c (combine_instructions): Replace XEXP (links, 0)
5298         with link.
5299
5300 2002-01-06  H.J. Lu <hjl@gnu.org>
5301
5302         * cfgcleanup.c (thread_jump): Fix 2 typos.
5303
5304 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
5305
5306         * config.gcc: Add support for --enable-altivec.
5307
5308 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
5309
5310         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
5311
5312 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
5313
5314         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
5315         __objc_class_name_*.
5316
5317 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
5318
5319         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
5320
5321 2002-01-06  Richard Henderson  <rth@redhat.com>
5322
5323         * reorg.c (emit_delay_sequence): Remove death notes, not merely
5324         nop them out.  Increment label reference count for REG_LABEL.
5325         (fill_slots_from_thread): Frob label reference count around
5326         delete_related_insns.
5327
5328 2002-01-05  Richard Henderson  <rth@redhat.com>
5329
5330         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
5331         jump threading.
5332
5333 2002-01-05  Richard Henderson  <rth@redhat.com>
5334
5335         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
5336         * integrate.c (output_inline_function): Likewise.
5337         * toplev.c (rest_of_compilation): Do it here instead.  Move call
5338         to remove_unnecessary_notes after emitting abstract instance.
5339         Force an emitted nested function to have its parent emited as well.
5340         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
5341         for null.
5342         (rtl_for_decl_location): Do not look at reload data structures
5343         before reload has run.
5344
5345 2002-01-05  Kazu Hirata  <kazu@hxi.com>
5346
5347         * cse.c: Fix formatting.
5348         * dwarf2asm.c: Likewise.
5349         * dwarf2out.c: Likewise.
5350         * explow.c: Likewise.
5351         * expmed.c: Likewise.
5352         * function.c: Likewise.
5353         * gcov.c: Likewise.
5354         * gencheck.c: Likewise.
5355         * genrecog.c: Likewise.
5356         * ggc-common.c: Likewise.
5357         * ggc-page.c: Likewise.
5358         * global.c: Likewise.
5359
5360 2002-01-05  Kazu Hirata  <kazu@hxi.com>
5361
5362         * combine.c: Fix formatting.
5363
5364 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
5365
5366         PR middle-end/1557
5367         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
5368
5369 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
5370
5371         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
5372         as 1 for __powerpc64__ as well.
5373
5374         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
5375
5376         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
5377         return it.
5378
5379 2002-01-05  Daniel Berlin  <dan@dberlin.org>
5380
5381         * lcm.c: Revert change, due to performance regression it causes on
5382         SPEC because it's slightly more conservative (sigh, I hate
5383         edge-based LCM).
5384
5385 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
5386
5387         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
5388
5389 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
5390
5391         * doc/cppinternals.texi: Update.
5392
5393 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
5394
5395         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
5396         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
5397         negatives.
5398         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
5399         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
5400         kludge for pre-october-14th mmix versions to handle new-found bug
5401         with PUSHJ/PUSHGO and the register stack.
5402         * config/mmix/mmix.h (struct machine_function): Rename member
5403         has_call_value_without_parameters to has_call_without_parameters.
5404         All referers changed.
5405         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
5406         TARGET_MASK_BRANCH_PREDICT): New macros.
5407         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
5408         -mno-reg-stack-fill-bug-workaround.
5409         * config/mmix/mmix.md ("call"): Set struct machine member
5410         has_call_without_parameters.
5411
5412 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
5413
5414         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
5415
5416 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
5417
5418         * cfgcleanup.c: Include tm_p.h
5419         (mark_effect): Fix handling of hard register; fix handling of SET
5420
5421 2002-01-04  Kazu Hirata  <kazu@hxi.com>
5422
5423         * config/h8300/h8300.md (anonymous patterns): Check that
5424         operands are registers before using REGNO on them.
5425
5426 2002-01-03  Roland McGrath  <roland@frob.com>
5427
5428         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
5429
5430 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
5431
5432         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
5433         * c-common.h (genrtl_expr_stmt_value): Likewise.
5434         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
5435         (expand_expr_stmt_value): Add maybe_last argument.
5436         Don't warn about statement with no effect if it is the last statement
5437         in expression statement.
5438         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
5439         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
5440         expand_expr_stmt_value.
5441         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
5442         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
5443         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
5444         as maybe_last to expand_expr_stmt_value.
5445
5446 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
5447
5448         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
5449         be passed in, do not build it.
5450         (c_begin_if_stmt): New function.
5451         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
5452         * c-common.h (c_expand_start_cond): Update prototype.
5453         (c_begin_if_stmt): Prototype new function.
5454         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
5455         * c-parse.in (if_prefix): Use c_begin_if_stmt,
5456         c_begin_while_stmt and c_finish_while_stmt_cond.
5457
5458 2002-01-04  William Cohen  <wcohen@redhat.com>
5459
5460         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
5461         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5462         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5463         * config/pa/som.h (ASM_FILE_START): Likewise.
5464
5465 2002-01-04  Daniel Berlin  <dan@cgsoftware.com>
5466
5467         * lcm.c: Include df.h.
5468         Add available_transfer_function prototype.
5469         (compute_available): Rework to use iterative dataflow framework.
5470         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
5471         with bb_info in df.h
5472         (available_transfer_function): New function.
5473
5474         * Makefile.in (lcm.o): add df.h to dependencies.
5475
5476 2002-01-04  Richard Henderson  <rth@redhat.com>
5477
5478         * config/alpha/alpha.c (some_operand): Accept HIGH.
5479         (input_operand): Likewise; accept simple references to globals.
5480         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
5481         (alpha_const_double_ok_for_letter_p): Likewise.
5482         (alpha_extra_constraint): Likewise.
5483         (alpha_preferred_reload_class): Likewise.  Do not force
5484         symbolic constants to memory.
5485         (alpha_legitimate_address_p): Accept simple references
5486         to small_symbolic_operand.
5487         (alpha_legitimize_address): New arg scratch.  Be prepared to be
5488         called when no_new_pseudos.  Emit simple symbolic references.
5489         Split integers into low, high, and rest.
5490         (alpha_expand_mov): Use alpha_legitimize_address.
5491         (some_small_symbolic_mem_operand): New.
5492         (split_small_symbolic_mem_operand): New.
5493         * config/alpha/alpha-protos.h: Update.
5494         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
5495         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
5496         (EXTRA_CONSTRAINT): Likewise.
5497         (PREFERRED_RELOAD_CLASS): Likewise.
5498         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
5499         (PREDICATE_CODES): Update.
5500         * config/alpha/alpha.md: New post-reload splitters to convert
5501         simplfied symbolic operands to the form that references $29.
5502         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
5503         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
5504
5505 2002-01-03  Richard Henderson  <rth@redhat.com>
5506
5507         * local-alloc.c (function_invariant_p): Update commentary.
5508
5509 2002-01-04  H.J. Lu <hjl@gnu.org>
5510
5511         * toplev.c (rest_of_compilation): Fix a typo when calling
5512         cleanup_cfg.
5513
5514 2002-01-03  Kazu Hirata  <kazu@hxi.com>
5515
5516         * c-common.c: Fix formatting.
5517         * diagnostic.c: Likewise.
5518         * doloop.c: Likewise.
5519         * dwarf2out.c: Likewise.
5520
5521 2002-01-03  Kazu Hirata  <kazu@hxi.com>
5522
5523         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
5524         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
5525
5526 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5527
5528         * cpperror.c: Update comments and copyright.
5529         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
5530         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
5531
5532 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5533
5534         * collect2.c (main): Use strcmp when testing for "-shared".
5535
5536 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5537
5538         * cppmacro.c: Don't include intl.h.  Update comments.
5539         (new_number_token): Allocate enough buffer for 64-bit unsigned
5540         integers; update prototype.
5541         * cppmain.c: Update comments.
5542
5543 2002-01-03  William Cohen  <wcohen@redhat.com>
5544
5545         * function.h (struct function): Add profile.
5546         (current_function_profile): New.
5547         doc/extend.texi: Update documentation.
5548         * final.c (final_start_function): Use current_function_profile
5549         instead of profile_flag.
5550         (profile_after_prologue): Likewise.
5551         * function.c (expand_function_start): Likewise.
5552         (expand_function_start): Likewise.
5553         * config/alpha/alpha.c (direct_call_operand):
5554         (alpha_does_function_need_gp): Likewise.
5555         (alpha_expand_prologue): Likewise.
5556         * config/arm/arm.c (arm_expand_prologue): Likewise.
5557         thumb_expand_prologue: Likewise.
5558         * config/d30v/d30v.c (d30v_stack_info): Likewise.
5559         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
5560         (fr30_expand_prologue): Likewise.
5561         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
5562         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
5563         * config/i386/i386.h (FINALIZE_PIC): Likewise.
5564         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
5565         * config/i960/i960.c (i960_output_function_prologue): Likewise.
5566         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
5567         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
5568         (m32r_expand_prologue): Likewise.
5569         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
5570         (m88k_expand_prologue): Likewise.
5571         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
5572         * config/mips/mips.c (compute_frame_size): Likewise.
5573         (mips_expand_prologue): Likewise.
5574         (mips_can_use_return_insn): Likewise.
5575         * config/pa/elf.h (ASM_FILE_START): Likewise.
5576         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5577         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5578         * config/pa/som.h (ASM_FILE_START): Likewise.
5579         * config/romp/romp.c (romp_using_r14): Likewise.
5580         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
5581         (rs6000_stack_info): Likewise.
5582         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
5583         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
5584         * config/v850/v850.c (compute_register_save_size): Likewise.
5585
5586 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
5587
5588         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
5589         gen_lowpart_common fails, use gen_lowpart_SUBREG.
5590
5591 2002-01-03  Turly O'Connor  <turly@apple.com>
5592
5593         * darwin.c (machopic_output_possible_stub_label): Don't generate
5594         stub routines for pseudo-stubs which we've just defined.
5595
5596 2002-01-03  Kazu Hirata  <kazu@hxi.com>
5597
5598         * builtins.c: Fix formatting.
5599         * c-typeck.c: Likewise.
5600         * combine.c: Likewise.
5601         * expr.c: Likewise.
5602         * loop.c: Likewise.
5603
5604 2002-01-03  Andreas Schwab  <schwab@suse.de>
5605
5606         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
5607         and return true if _cpp_push_next_buffer pushed a new include
5608         file.
5609         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
5610         _cpp_pop_file_buffer did not push a new file.
5611         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
5612
5613 2002-01-02  Eric Christopher  <echristo@redhat.com>
5614
5615         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
5616         FIND_REG_INC_NOTE call. Update copyright.
5617         * loop.c (canonicalize_condition): Ditto.
5618         * reorg.c (delete_scheduled_jump): Ditto.
5619
5620 2002-01-03  Kazu Hirata  <kazu@hxi.com>
5621
5622         * gcse.c: Fix formatting.
5623
5624 2002-01-03  Graham Stott  <grahams@redhat.com>
5625
5626         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
5627         forward defs for struct tags rtx_def, union_tree, rtvec_def
5628         also output corresponding typedefs for rtx, tree, and rtvec.
5629
5630         * system.h: Move forward defs for struct tags rtx_def, union_tree,
5631         rtvec_def along with corresponding typedefs for rtx, tree, and
5632         rtvec to config.h, hconfig.h, tconfig.h.
5633
5634 2002-01-03  Graham Stott  <grahams@redhat.com>
5635
5636         * tree.h: Update copyright date.
5637         (IS_EXPR_CODE_CLASS): Add parenthesis.
5638         (TREE_SET_CODE): Add whitespace.
5639         (TREE_CHECK): Add parenthesis.
5640         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
5641         (CST_OR_CONSTRUCTOR_CHECK):
5642         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
5643         (TREE_SYMBOL_REFERENCED): Whitespace.
5644         (INT_CST_LT): Likewise.
5645         (INT_CST_LT_UNSIGNED): Likewise.
5646         (tree_real_cst): Unwrap comment.
5647         (tree_string): Likewise.
5648         (tree_complex): Likewise.
5649         (IDENTIFIER_POINTER): correct cast.
5650         (SAVE_EXPR_CONTEXT): Whitespace.
5651         (EXPR_WFL_FILENAME_NODE): Likewise.
5652         (EXPR_WFL_FILENAME): Remove parenthesis.
5653         (DECL_ORIGIN): Add parenthesis.
5654         (DECL_FROM_INLINE): Use NULL_TREE.
5655         (build_int_2): Whitespace.
5656         (build_type_variant): Add parenthesis.
5657
5658         * gcc/jcf-parse.c: Update copyright date.
5659         (yyparse): Constify resource_filename.
5660
5661 2002-01-03  Graham Stott  <grahams@redhat.com>
5662
5663         * rtl.h: Update copyright date.
5664         (RTL_CHECK1): Wrap long line.
5665         (RTL_CHECK2): Likewise.
5666         (RTL_CHECKC1): Wrap long line and whitespace.
5667         (RTL_CHECKC2): Likewise.
5668         (XWINT): Whitespace.
5669         (XINT): Likewise.
5670         (XSTR): Likewise.
5671         (XEXP): Likewise.
5672         (XVEC): Likewise.
5673         (XMODE): Likewise.
5674         (XBITMAP): Likewise.
5675         (XTREE): Likewise.
5676         (XBBDEF): Likewise.
5677         (XTMPL): Likewise.
5678         (X0WINT): Likewise.
5679         (X0INT):Likewise.
5680         (X0UINT): Likewise.
5681         (X0STR): Likewise.
5682         (X0EXP): Likewise.
5683         (X0VEC): Likewise.
5684         (X0MODE): Likewise.
5685         (X0BITMAP): Likewise.
5686         (X0TREE): Likewise.
5687         (X0BBDEF): Likewise.
5688         (X0ADVFLAGS): Likewise.
5689         (X0CSELIB): Likewise.
5690         (X0MEMATTR): Likewise.
5691         (XCWINT): Likewise.
5692         (XCINT): Likewise.
5693         (XCUINT): Likewise.
5694         (XCSTR): Likewise.
5695         (XCEXP): Likewise.
5696         (XCVEC): Likewise.
5697         (XCMODE): Likewise.
5698         (XCBITMAP): Likewise.
5699         (XCTREE): Likewise.
5700         (XCBBDEF): Likewise.
5701         (XCADVFLAGS): Likewise.
5702         (XCCSELIB): Likewise.
5703         (XC2EXP): Likewise.
5704         (INSN_UID): Likewise.
5705         (PREV_INSN): Likewise.
5706         (PATTERN): Likewise.
5707         (INSN_CODE): Likewise.
5708         (PUT_REG_NOTE_KIND): Likewise.
5709         (CODE_LABEL_NUMBER): Likewise.
5710         (NOTE_SOURCE_FILE): Likewise.
5711         (NOTE_BLOCK): Likewise.
5712         (NOTE_EH_HANDLER): Likewise.
5713         (NOTE_RANGE_INFO): Likewise.
5714         (NOTE_LIVE_INFO): Likewise.
5715         (NOTE_BASIC_BLOCK): Likewise.
5716         (NOTE_EXPECTED_VALUE): Likewise.
5717         (NOTE_LINE_NUMBER): Likewise.
5718         (LABEL_NAME): Likewise.
5719         (LABEL_NUSES): Likewise.
5720         (LABEL_ALTERNATE_NAME): Likewise.
5721         (ADDRESSOF_DECL): Likewise.
5722         (JUMP_LABEL): Likewise.
5723         (LABEL_NEXTREF): Likewise.
5724         (REGNO): Likewise.
5725         (ORIGINAL_REGNO: Likewise.
5726         (HARD_REGISTER_NUM_P): Add parenthesis.
5727         (SUBREG_REG): Whitespace.
5728         (SUBREG_BYTE): Likewise.
5729         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
5730         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
5731         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
5732         (ASM_OPERANDS_INPUT_VEC): Likewise.
5733         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
5734         (ASM_OPERANDS_INPUT): Likewise.
5735         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
5736         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
5737         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
5738         (ASM_OPERANDS_INPUT_MODE): Likewise.
5739         (ASM_OPERANDS_SOURCE_FILE): Likewise.
5740         (ASM_OPERANDS_SOURCE_LINE): Likewise.
5741         (MEM_SET_IN_STRUCT_P): Minor reformat.
5742         (TRAP_CONDITION): Whitespace.
5743         (TRAP_CODE): Likewise.
5744         (COND_EXEC_TEST): Likewise.
5745         (COND_EXEC_CODE): Likewise.
5746         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
5747         (PHI_NODE_P): Add parenthesis.
5748         (plus_constant): Whitespace and add parenthesis.
5749
5750 2002-01-03  Kazu Hirata  <kazu@hxi.com>
5751
5752         * config/avr/avr.c: Fix comment typos.
5753         * config/c4x/c4x.md: Likewise.
5754         * config/dsp16xx/dsp16xx.h: Likewise.
5755         * config/dsp16xx/dsp16xx.md: Likewise.
5756         * config/i386/i386.md: Likewise.
5757         * config/ia64/ia64.c: Likewise.
5758         * config/m32r/m32r.h: Likewise.
5759         * config/m68hc11/m68hc11.md: Likewise.
5760         * config/mmix/mmix.c: Likewise.
5761         * config/mn10200/mn10200.c: Likewise.
5762         * config/romp/romp.c: Likewise.
5763         * config/sh/sh.c: Likewise.
5764         * config/stormy16/stormy16.c: Likewise.
5765         * config/stormy16/stormy16.h: Likewise.
5766         * config/stormy16/stormy16.md: Likewise.
5767
5768 2002-01-03  Graham Stott  <grahams@redhat.com>
5769
5770         * loop.h: Update copyright date.
5771         (LOOP_MOVABLES): Fix typo.
5772         (LOOP_REGS): Likewise.
5773         (LOOP_IVS): Likewise.
5774
5775 2002-01-03  Graham Stott  <grahams@redhat.com>
5776
5777         * cppinit.c: Update copyright date.
5778         Don't include output.h
5779         * Makefile.in: Update copyright date.
5780         Update dependency.
5781
5782 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
5783
5784         PR c/5226
5785         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
5786         (-pthread) Add to RS/6000 options.
5787
5788 2002-01-02  Kazu Hirata  <kazu@hxi.com>
5789
5790         * except.c: Fix comment typos.
5791         * loop.c: Likewise.
5792         * varasm.c: Likewise.
5793         * doc/tm.texi: Fix a typo.
5794
5795 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
5796
5797         * c-typeck.c (output_init_element): Allow initializing static storage
5798         duration objects with compound literals.
5799
5800 2002-01-02  Richard Henderson  <rth@redhat.com>
5801
5802         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
5803         after abusing it.
5804
5805 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5806
5807         * gcc.c (default_compilers): Const-ify.
5808         * mips-tdump.c (stab_names): Likewise.
5809         * mips-tfile.c (map_coff_types, map_coff_storage,
5810         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
5811         pseudo_ops_t, pseudo_ops): Likewise.
5812         * protoize.c (default_include): Likewise
5813
5814         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
5815         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
5816         Add array size in declaration.
5817         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
5818         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
5819         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
5820         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
5821         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
5822         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
5823         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
5824         emtens, make_nan): Const-ify.
5825         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
5826         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
5827
5828 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
5829
5830         * config.gcc (ia64-*-*): Set extra_headers.
5831         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
5832         * config/alpha/t-osf: Remove.
5833         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
5834
5835 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
5836
5837         * config/rs6000/t-aix43: Revert previous change.
5838
5839 2002-01-02  Jason Merrill  <jason@redhat.com>
5840
5841         * c-decl.c (c_expand_body): Call outlining_inline_function when
5842         emitting an inline function out of line.
5843
5844 2002-01-02  Richard Henderson  <rth@redhat.com>
5845
5846         * dwarf2out.c (limbo_die_node): Add created_for member.
5847         (new_die): New argument created_for.  Update all callers.
5848         (mark_limbo_die_list): New.
5849         (dwarf2out_init): Register limbo_die_list as a root.
5850         (dwarf2out_finish): Force insert limbo dies into their function
5851         context.
5852
5853 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
5854
5855         PR c++/5089
5856         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
5857
5858 2002-01-02  Kazu Hirata  <kazu@hxi.com>
5859
5860         * config/h8300/fixunssfsi.c: Update copyright.
5861         Fix comment typos.
5862         Fix formatting.
5863         * config/h8300/h8300.c: Update copyright.
5864         Eliminate warnings.
5865
5866 2002-01-02  Kazu Hirata  <kazu@hxi.com>
5867
5868         * config/romp/romp.c: Fix comment formatting.
5869         * config/romp/romp.h: Likewise.
5870         * config/romp/romp.md: Likewise.
5871         * config/s390/s390.c: Likewise.
5872         * config/stormy16/stormy16.c: Likewise.
5873         * config/stormy16/stormy16.h: Likewise.
5874
5875 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
5876
5877         * c-common.h (genrtl_expr_stmt_value): Declare.
5878         * c-semantics.c (genrtl_goto_stmt): Redirect to...
5879         (genrtl_goto_stmt_value): ... this new function.  Pass new
5880         argument down to expand_expr_stmt_value, taking
5881         TREE_ADDRESSABLE into account.
5882         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
5883         STMT_EXPR as addressable, i.e., one whose result we want.
5884         * expr.c (expand_expr): Don't save expression statement value
5885         of labeled_blocks or loop_exprs.
5886         * stmt.c (expand_expr_stmt): Redirect to...
5887         (expand_expr_stmt_value): ... this new function.  Use new
5888         argument to tell whether to save expression value.
5889         (expand_end_stmt_expr): Reset last_expr_type and
5890         last_expr_value if we don't have either.
5891         * tree-inline.c (declare_return_variable): Mark its use
5892         statement as addressable.
5893         * tree.h: Document new use of TREE_ADDRESSABLE.
5894         (expand_expr_stmt_value): Declare.
5895
5896 2002-01-01  Tom Rix  <trix@redhat.com>
5897
5898         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
5899         rs6000_emit_allocate_stack.
5900
5901 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
5902
5903         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
5904         ${srcdir}/ginclude/ to every entry in extra_headers.
5905         * configure: Regenerate.
5906         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
5907         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
5908         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
5909         * ginclude/proto.h: Rename to config/convex/proto.h.
5910
5911 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5912
5913         * attribs.c (handle_vector_size_attribute): Use host_integerp
5914         and tree_int_cst; remove warnings.
5915         * caller-save.c (insert_restore): Add cast to get rid of warning.
5916         (insert_save): Likewise.
5917         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
5918         * regmove.c (find_matches): Add temporary var to kill a warning.
5919
5920 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
5921
5922         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
5923         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
5924         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
5925         (vms-dwarf2eh.o): Add Makefile rule.
5926         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
5927         * config/alpha/vms-dwarf2eh.asm: New file.
5928
5929         * gcc.c (delete_if_ordinary): Delete all versions.
5930
5931 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
5932
5933         * config/mmix/mmix.md: Update FIXME to not mention
5934         define_constants.
5935         (MMIX_rJ_REGNUM): New define_constants constant.
5936         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
5937         "*movdicc_real"): Adjust contraints formatting.
5938         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
5939         for branch prediction.
5940         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
5941         output template.
5942         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
5943         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
5944         number.  Delete related FIXMEs.
5945         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
5946         from number to MMIX_rJ_REGNUM.
5947         (TARGET_MASK_BRANCH_PREDICT): New.
5948         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
5949         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
5950         value.  Add -mbranch-predict and -mno-branch-predict.
5951         (TARGET_VERSION): Drop date.
5952         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
5953         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
5954         for finding out global symbols.
5955         (mmix_asm_output_labelref): Revert condition for global symbol.
5956         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
5957         (mmix_print_operand_punct_valid_p): A '+' is valid.
5958
5959 See ChangeLog.6 for earlier changes.