OSDN Git Service

* config/netbsd.h (WCHAR_TYPE): Define.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
2
3         * config/netbsd.h (WCHAR_TYPE): Define.
4         (WCHAR_TYPE_SIZE): Ditto.
5         (WINT_TYPE): Ditto.
6         * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
7         (WCHAR_UNSIGNED): Ditto.
8         (WCHAR_TYPE_SIZE): Ditto.
9         (WINT_TYPE): Ditto.
10         * config/arm/netbsd.h: Likewise.
11         * config/i386/netbsd-elf.h: Likewise.
12         * config/i386/netbsd.h: Likewise.
13         * config/m68k/netbsd-elf.h: Likewise.
14         * config/m68k/netbsd.h: Likewise.
15         * config/ns32k/netbsd.h: Likewise.
16         * config/sparc/netbsd.h: Likewise.
17         * config/vax/netbsd.: Likewise.
18
19 2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
20
21         * target.h (struct gcc_target): Added ms_bitfield_layout_p.
22         * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
23         (TARGET_INITIALIZER): this.
24         * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
25         (BITFIELD_NBYTES_LIMITED): Markup fix.
26         * tree.h (default_ms_bitfield_layout_p): Declare.
27         (record_layout_info): Added prev_field.
28         * tree.c (default_ms_bitfield_layout_p): New fn.
29         * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
30         PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
31         * stor-layout.c: Include target.h.
32         (start_record_layout): Initialize prev_field.
33         (place_field): Handle MS bit-field layout, and disregard
34         EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
35         PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
36         * Makefile.in (stor-layout.o): Adjust dependencies.
37
38 2002-02-05  Jason Merrill  <jason@redhat.com>
39
40         * c-typeck.c (convert_for_assignment): Don't allow conversions
41         between pointers and references.  Only allow lvalues to convert to
42         reference.
43
44         * c-decl.c (finish_function): Warn about a non-void function with
45         no return statement and no abnormal exit.
46         (current_function_returns_abnormally): New variable.
47         (start_function): Clear it.
48         (struct c_language_function): Add returns_abnormally.
49         (push_c_function_context): Save it.
50         (pop_c_function_context): Restore it.
51         * c-tree.h: Declare current_function_returns_abnormally.
52         * c-typeck.c (build_function_call): Set it.
53
54         * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
55
56 2002-02-05  Andreas Jaeger  <aj@suse.de>
57
58         * crtstuff.c: Fix comments.
59
60 2002-02-05  Richard Henderson  <rth@redhat.com>
61
62         PR fortran/3393
63         * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
64         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
65
66         PR fortran/3392
67         * config/mips/mips.c (function_arg): Handle TImode.
68         (function_arg_advance): Likewise.
69
70 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
71
72         * config/rs6000/altivec.h (vec_step_help): Rename to
73         __vec_step_help.
74
75 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
76
77         * config/rs6000/altivec.h: Fix typos.
78
79 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
80
81         * config/arm/netbsd.h: Correct a comment.
82
83 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
84
85         * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
86         building void typed builtins.
87
88         * config/rs6000/altivec.h (vec_ld*): Fix typos.
89         (vec_step): Implement for C++.
90
91 Mon Feb  4 19:23:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
92
93         * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
94
95 2002-02-04  Richard Henderson  <rth@redhat.com>
96
97         * combine.c (nonzero_bits): Re-introduce special case for
98         sp/fp/ap wrt REGNO_POINTER_ALIGN.
99
100 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
101
102         * doc/extend.texi: Warn about unsupported usage of altivec
103         builtins.
104
105         * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
106         (altivec_predicate_*): New.
107
108         * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
109         Add C++ version of vec_*() functions.
110
111         * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
112         (bdesc_2arg): Remove altivec predicates.
113         (altivec_expand_builtin): Handle predicates.
114         (altivec_init_builtins): Handle predicates.
115         (altivec_expand_predicate_builtin): New.
116
117 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
118
119         * pa.c (DO_FRAME_NOTES): Move forward.
120         (store_reg): Revise handling of frame notes.
121         (load_reg): Likewise.
122         (set_reg_plus_d): Likewise.
123         (hppa_expand_prologue): Likewise.
124         (hppa_expand_epilogue): Likewise.
125         
126 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
127
128         * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
129
130 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
131
132         PR c/4475, c++/3780:
133         * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
134         * c-common.h (SWITCH_TYPE): Define.
135         * c-typeck.c (c_start_case): Set SWITCH_TYPE.
136         * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
137         Rename spareness variable to sparseness.
138         (expand_end_case_type): Renamed from expand_end_case, use orig_type
139         if non-NULL instead of TREE_TYPE (orig_index).
140         * tree.h (expand_end_case_type): Renamed from expand_end_case.
141         (expand_end_case): Define using expand_end_case_type.
142         * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
143         to expand_end_case_type.
144         * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
145
146 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
147
148         * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
149         (BIGGEST_ALIGNMENT): Change to 128.
150
151 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
152
153         * pa32-linux.h (LINK_COMMAND_SPEC): Define.
154
155 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
156
157         * pa.md (call_internal_reg_64bit): Remove unused variable.
158
159 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
160
161         * config/arm/arm.h (machine_function): Add uses_anonymous_args
162         field.
163         (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
164         * config/arm/arm.c (current_function_anonymous_args): Delete,
165         replace uses with cfun->machine->uses_anonymous_args.
166         (arm_reorg): Do not reset uses_anonymous_args.
167
168         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
169         any geenral register.
170         
171 2001-02-04  Bernd Schmidt  <bernds@redhat.com>
172
173         * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
174         the entry block.
175
176 2002-02-04  Richard Henderson  <rth@redhat.com>
177
178         * combine.c (force_to_mode): Remove STACK_BIAS code.
179         (nonzero_bits): Likewise.  Replace sp/fp special case with
180         REGNO_POINTER_ALIGN.
181
182         * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
183         (HARD_FRAME_POINTER_REGNUM): New.
184         (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
185         (FIXED_REGS, CALL_USED_REGS): Update.
186         (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
187         (CONDITIONAL_REGISTER_USAGE): Update for HFP.
188         (HARD_REGNO_NREGS): Update for SFP.
189         (STACK_POINTER_OFFSET): Include bias here ...
190         (FIRST_PARM_OFFSET): ... not here.
191         (STACK_BIAS): Remove.
192         (INIT_EXPANDERS): New.
193         (STARTING_FRAME_OFFSET): Do not include bias.
194         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
195         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
196         (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
197         * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
198         * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
199         * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
200         (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
201         (MUST_SAVE_REGISTER): Likewise.
202         (sparc_flat_function_prologue): Likewise.
203         (sparc_flat_function_epilogue): Likewise.
204         (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
205         (sparc_init_modes): SFP is GENERAL_REGS.
206         (sparc_builtin_saveregs): SFP does not have bias applied.
207
208 2002-02-04  Richard Henderson  <rth@redhat.com>
209
210         * config/alpha/alpha.c (current_function_is_thunk): Don't check
211         current_function_is_thunk.
212         (alpha_sa_mask): Distinguish between current_function_is_thunk
213         called from ASM_OUTPUT_MI_THUNK and not.
214         (alpha_does_function_need_gp): Thunks always need gp.
215         (alpha_start_function, alpha_output_function_end_prologue): Likewise.
216         (alpha_output_mi_thunk_osf): New.
217         * config/alpha/alpha-protos.h: Update.
218         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
219
220 2002-02-04  Richard Sandiford  <rsandifo@redhat.com>
221
222         * c-typeck.c (build_c_cast): Warn when qualifiers are added to
223         function types, not when they're taken away.
224
225 Mon Feb  4 09:05:58 2002  Jeffrey A Law  (law@redhat.com)
226
227         * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
228         CODE_LABEL and jump table when replacing a table jump with a
229         simple jump.
230
231 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
232
233         * config/s390/s390-protos.h (legitimize_la_operand,
234         s390_secondary_input_reload_class, s390_plus_operand,
235         s390_expand_plus_operand): Add prototypes.
236
237         config/s390/s390.c (s390_secondary_input_reload_class,
238         s390_plus_operand, s390_expand_plus_operand): New functions.
239
240         (struct s390_address): New member 'pointer'.
241         (s390_decompose_address): Compute it.
242         (legitimate_la_operand_p): Use it.
243         (legitimize_la_operand): New function.
244         (movti, movdi, movdf splitters): Call it.
245
246         config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
247         (PREDICATE_CODES): Add s390_plus_operand.
248
249         config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
250         (la_ccclobber): Allow GENERAL_REGS as output operand.
251
252         (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
253         *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
254         (*la_64, *la_31, reload_indi, reload_insi): ... these.
255
256 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
257
258         * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
259         register names for regular asm () construct.
260
261 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
262
263         * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
264         registers.
265
266 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
267
268         * combine.c (recog_for_combine): Create a dummy insn with PATTERN
269         pat for recog.
270
271 2002-02-04  Hartmut Penner  <hpenner@de.ibm.com>
272
273         * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
274         constant pool to be identical by string address and index.
275
276 2002-02-04  Anthony Green  <green@redhat.com>
277
278         * output.h (SECTION_OVERRIDE): Define.
279         * varasm.c (named_section): Obey SECTION_OVERRIDE.
280
281 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
282
283         * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
284         by existing arm*-*-netbsd* (a.out) target.
285         (ns32k-*-netbsdelf*): Likewise.
286         (sparc-*-netbsdelf*): Likewise.
287         (vax-*-netbsdelf*): Likewise.
288
289 2002-02-03  Danny Smith <dannysmith@users.sourceforge.net>
290
291         * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
292         headers and libobjc headers.
293
294 2002-02-03  Mumit Khan  <khan@nanotech.wisc.edu>
295
296         * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
297         (_mingw.h): Remove duplicate include.
298
299 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
300
301         * config.gcc: Set cpu_type to m68k for 68010, as well.
302         (m68010-*-netbsdelf*): New...
303         (m68k*-*-netbsdelf*): ...targets.
304         * config/m68k/netbsd-elf.h: New file.
305
306 2002-02-02  Kazu Hirata  <kazu@hxi.com>
307
308         * config/h8300/h8300.c (hand_list): Move inside function_arg.
309
310 2002-02-02  Kazu Hirata  <kazu@hxi.com>
311
312         * config/h8300/h8300.c (h8_push_ops): Move inside
313         h8300_init_once.
314         (h8_pop_ops): Likewise.
315         (h8_move_ops): Likewise.
316
317 2002-02-02  Kazu Hirata  <kazu@hxi.com>
318
319         * config/h8300/h8300.c (os_task): Make it static.
320         (monitor): Likewise.
321         (pragma_saveall): Likewise.
322
323 2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
324
325         * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
326         constant is a valid sign-extension for Pmode.
327
328 2002-02-02  Kazu Hirata  <kazu@hxi.com>
329
330         * config/h8300/h8300.c: Fix formatting.
331
332 2002-02-02  Kazu Hirata  <kazu@hxi.com>
333
334         * config/h8300/h8300.md: Fix formatting.
335
336 2002-02-02  Kazu Hirata  <kazu@hxi.com>
337
338         * config/h8300/h8300.md (one_cmpl patterns): Tighten the
339         predicates of operands[1].  Split the patterns for each
340         processor variant.
341
342 2002-02-02  Kazu Hirata  <kazu@hxi.com>
343
344         * config/h8300/h8300.md (xor patterns): Tighten the predicates
345         of operands[1] to register_operand.
346
347 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
348
349         * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
350         * cpphash.c (_cpp_init_hashtable): Similarly.
351         * cppinit.c (cpp_create_reader): Default the signed_char flag.
352         (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
353         (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
354         (cpp_handle_option): Handle the new options.
355         * cpplex.c (cpp_interpret_charconst): Use new flag.
356         * cpplib.h (struct cpp_options): New member signed_char.
357         * gcc.c (cpp_unique_options): Remove %c spec and documentation.
358         (cpp_options): Handle -fsigned-char and -funsigned-char.
359         (static_specs): Remove signed_char_spec.
360         (do_spec1): Don't handle %c.
361         * system.h: Poison SIGNED_CHAR_SPEC.
362         * tradcif.y (yylex): Use flag_signed_char.
363         * tradcpp.h (flag_signed_char): New.
364         * tradcpp.c (flag_signed_char): New.
365         (main): Handle new command-line options.
366         (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
367 config:
368         * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
369         * avr/avr.h: Remove old comments.
370         * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
371         (CC1_SPEC): Pass -fsigned-char if -mic*.
372         (SIGNED_CHAR_SPEC): Remove.
373 doc:
374         * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
375
376 2002-02-01  Eric Christopher  <echristo@redhat.com>
377
378         From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
379         * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
380         * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
381         (ASM_OUTPUT_REG_POP): Ditto.
382
383 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
384
385         * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
386         patch.
387
388 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
389
390         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
391
392 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
393
394         PR c/5304:
395         * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
396         unconditionally.
397
398 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
399
400         * cfganal.c: Include tm_p.h.
401         (keep_with_call_p): Fix the test that determines if a register holds
402         the return value of a call.
403
404 2002-02-01  DJ Delorie  <dj@redhat.com>
405
406         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
407         we are given conflicting registers, switch to the other one we
408         had allocated for us.
409         * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
410         as TImode so we know when the "other" register is available.
411
412 2002-02-01  David O'Brien  <obrien@FreeBSD.org>
413
414         * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
415         sparc/sparc_bi.h.
416
417 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
418
419         * cfganal.c (keep_with_call_p): New function.
420         (flow_call_edges_add): Prevent splitting a block between a call and
421         a single-set instruction that should be kept in the same block.
422
423 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
424
425         * doc/install.texi (avr): Update outdated URL.
426
427 2002-01-30  Andrew Haley  <aph@cambridge.redhat.com>
428
429         * config/stormy16/stormy16.md (pushqi): New.
430         (popqi): New.
431         (pushhi): New.
432         (pophi): New.
433         (movhi): Remove stack operands.
434         (movqi): Likewise.
435         * config/stormy16/stormy16.h (PREDICATE_CODES): Add
436         nonimmediate_nonstack_operand.
437         * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
438         New.
439         * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
440         New.
441
442 2002-01-31  Jason Merrill  <jason@redhat.com>
443
444         * Makefile.in (c-parse.c): Handle .output file.
445         * objc/Make-lang.in (objc-parse.c): Likewise.
446
447 2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
448
449         * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
450         the -me[lb] option is given.  Don't output the default flag
451         twice.
452
453 2002-01-31  Zack Weinberg  <zack@codesourcery.com>
454
455         * c-lex.c (yyparse): Call debug_hooks->start_source_file for
456         the primary source file; this has not been done yet.
457         * c-decl.c (c_expand_body): Reset input_filename from
458         DECL_SOURCE_FILE (fndecl) before calling init_function_start.
459
460 2002-01-31  Kazu Hirata  <kazu@hxi.com>
461
462         * rtlanal.c (subreg_regno_offset): Do not use
463         SUBREG_REGNO_OFFSET.
464         * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
465         * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
466
467 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
468
469         * gccbug.in: Follow GNU Coding Standards for --version.  Use GCC
470         version rather than GNATS version in --version output.
471
472 2002-01-31  Richard Sandiford  <rsandifo@redhat.com>
473
474         * ifcvt.c (noce_process_if_block): Make a copy of the destination
475         when copying back from a temporary.
476
477 2002-01-30  Richard Henderson  <rth@redhat.com>
478
479         * ifcvt.c (dead_or_predicable): Handling merging when other_bb
480         and new_dest are the same.
481
482 2002-01-30  Richard Henderson  <rth@redhat.com>
483
484         PR opt/5076
485         * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
486         * rtl.c (note_insn_name): Update.
487         * emit-rtl.c (remove_unnecessary_notes): Kill it.
488         * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
489         to perform loop rotation.
490         (expand_exit_loop_top_cond): New.
491         * tree.h (expand_exit_loop_top_cond): Declare it.
492         * c-semantics.c (genrtl_while_stmt): Use it.
493         (genrtl_for_stmt): Likewise.
494
495 2002-01-30  Alexandre Oliva  <aoliva@redhat.com>
496
497         * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
498         arguments to 64-bit boundaries on 64-bit ABIs.
499
500 2002-01-30  Steve Ellcey  <sje@cup.hp.com>
501
502         * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
503
504 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
505
506         * c-decl.c (grokdeclarator): Handle type being a typedef for an
507         invalid type.
508
509 2002-01-30  David O'Brien  <obrien@FreeBSD.org>
510
511         * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
512         * config/sparc/sparc_bi.h: Remove file.
513         * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
514
515 2002-01-30  Richard Henderson  <rth@redhat.com>
516
517         * sched-deps.c (sched_analyze): Make a call read the frame pointer.
518
519 2002-01-30  Zack Weinberg  <zack@codesourcery.com>
520
521         * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
522
523 2002-01-30  Jason Merrill  <jason@redhat.com>
524
525         * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
526         (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
527         (reg_save): Use DW_CFA_offset_extended_sf instead.
528
529         * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
530
531 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
532
533         * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
534         in cselib_lookup.
535
536 2002-01-29  Aldy Hernandez  <aldyh@redhat.com>
537
538         * rs6000.md ("*call_value_local32"): Remove constraints.
539         ("*call_value_local64"): Same.
540         ("*call_value_indirect_nonlocal_aix32"): Same.
541         ("*call_value_nonlocal_aix32"): Same.
542         ("*call_value_indirect_nonlocal_aix64"): Same.
543         ("*call_value_nonlocal_aix64"): Same.
544         ("*call_value_nonlocal_sysv"): Same.
545
546 2002-01-29  Richard Henderson  <rth@redhat.com>
547
548         * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
549
550 2002-01-29  Richard Henderson  <rth@redhat.com>
551
552         * expr.c (force_operand): Ignore flag_pic for detecting pic
553         address loads.
554         * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
555         for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
556         * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
557         instead of open-coded loop.
558         * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
559         be fixed when in use.
560
561 2002-01-29  Richard Henderson  <rth@redhat.com>
562
563         * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
564         * sched-rgn.c (propagate_deps): Update them.
565         * sched-deps.c (sched_analyze_insn): Update them.  Flush the
566         clobbers list when either gets too long.
567
568 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
569
570         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
571         and INDEX_REGS the same as GENERAL_REGS.
572         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
573
574 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
575
576         * tree.c (build_nonstandard_integer_type): Correct prototype.
577
578 2002-01-29  Ulrich Weigand  <uweigand@de.ibm.com>
579
580         * config/s390/s390.md (movstrsico, movstrdix_64,
581         movstrsix_31): Remove, replace by ...
582         (movstrdi_short, movstrsi_short, movstrdi_long,
583         movstrsi_long): ... these.  New.
584         (movstrdi, movstrsi): Adapt.
585
586         (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
587         ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
588         Remove unnecessary CC clobber.
589         (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
590         *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
591
592         (divmoddi4): Don't partially initialize TImode register.
593
594 2002-01-29  Geoffrey Keating  <geoffk@redhat.com>
595
596         * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
597
598 2002-01-29  Richard Henderson  <rth@redhat.com>
599
600         * flow.c (print_rtl_and_abort): Remove.
601         (print_rtl_and_abort_fcn): Remove.
602         (verify_local_live_at_start): Use dump_bb instead.
603         (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
604         (verify_wide_reg_1): Return 2 on mode test failure.
605
606 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
607
608         PR c/3325, c/3326, c/2511, c/3347
609         * c-decl.c (enum_decl_context): Remove BITFIELD.
610         (grokdeclarator): Take bitfield width as an input.
611         Ensure bitfields are given the correct type.  Perform
612         bitfield width validation with build_bitfield_integer_type
613         rather than waiting for finish_struct.
614         (grok_typename, grok_typename_in_parm_context, start_decl,
615         push_parmdecl, grokfield, start_function): Update calls to
616         grokdeclarator.
617         (build_bitfield_integer_type): New function.
618         (finish_struct): Move bitfield validation to grokdeclarator
619         and build_bitfield_integer_type.
620         * tree.c (build_nonstandard_integer_type): New function.
621         * tree.h (build_nonstandard_integer_type): New prototype.
622 objc:
623         * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
624
625 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
626
627         PR other/1502:
628         * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
629         don't ignore unrecognized -W* options.
630         (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
631         * cpplib.h (cpp_handle_option): Adjust prototype.
632         * c-decl.c (c_decode_options): Pass 0 as last argument to
633         cpp_handle_option.
634
635         PR c/2896:
636         * gcc.c (cpp_unique_options): Split from cpp_options.
637         (cpp_options): Source cpp_unique_options.
638         (default_compilers): Use cpp_unique_options instead of cpp_options
639         when used together with cc1_options.
640         (static_specs): Add cpp_unique_options.
641         * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
642         when used together with cc1_options.
643
644 2002-01-29  Kazu Hirata  <kazu@hxi.com>
645
646         * config/h8300/h8300-protos.h: Update the prototype of
647         output_a_shift.
648         * config/h8300/h8300.c (output_a_shift): Remove an unused
649         argument 'insn'.  Remove redundant code.
650         * config/h8300/h8300.md: Adust to the new prototype of
651         output_a_shift.
652
653 2002-01-29  Kazu Hirata  <kazu@hxi.com>
654
655         * config/h8300/h8300-protos.h: Update the prototypes of
656         emit_a_rotate and expand_a_rotate.
657         * config/h8300/h8300.c (emit_a_rotate): Change the type of the
658         first argument to 'enum rtx_code'.
659         (expand_a_rotate): Likewise.
660
661 2002-01-28  Kazu Hirata  <kazu@hxi.com>
662
663         * config/h8300/h8300-protos.h: Update the prototype of
664         output_simode_bld.
665         * config/h8300/h8300.c (output_simode_bld): Remove an argumen
666         'log2'.
667         * config/h8300/h8300.md: Adjust to the new prototype.
668
669 2002-01-28  Kazu Hirata  <kazu@hxi.com>
670
671         * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
672         redundant code.
673
674 2002-01-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
675
676         * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
677         is a fixed register before returning pic_offset_table_rtx.
678         * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
679         when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
680
681 2002-01-28  Jason Merrill  <jason@redhat.com>
682
683         * dwarf2.h: Sync with src version.
684
685 2002-01-28  Paul Koning  <pkoning@equallogic.com>
686
687         * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
688         BT_FN_VOID_PTR_VAR.
689         * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
690         * doc/extend.texi (__builtin_prefetch): Update documentation:
691         first argument is now const void ptr.
692
693 2002-01-28  Kazu Hirata  <kazu@hxi.com>
694
695         * config/h8300/h8300-protos.h: Remove an unused prototype.
696
697 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
698
699         * toplev.c (lang_independent_init): Round up identifier size.
700
701 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
702
703         * config.gcc: Revert previous change.
704
705 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
706
707         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
708
709 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
710
711         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
712         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
713         other non-elf netbsd config frags.
714         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
715         collect2 will does that.
716         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
717         shared-lib frobbing will work.
718
719 2002-01-28  Kazu Hirata  <kazu@hxi.com>
720
721         * config/h8300/h8300.h: Fix formatting.
722         * config/h8300/h8300.md: Likewise.
723
724 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
725
726         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
727         the old, removed AAA_standards fix.
728         * fixinc/fixincl.x: Rebuilt.
729
730 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
731
732         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
733         atexit call in crtbegin, hooked in after call to frame_dummy;
734         register EH before registering __fini__start.
735
736 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
737
738         * config/rs6000/altivec.h: Remove spurious semicolons.
739
740 2002-01-27  Kazu Hirata  <kazu@hxi.com>
741
742         * config/h8300/h8300.md: Replace dead bit extraction patterns
743         with ones that work.
744
745 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
746
747         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
748         if not STRICT_ALIGNMENT.
749         * rtl.h (MEM_ALIGN): Likewise.
750
751 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
752
753         * doc/invoke.texi (-fdump-translation-unit): Revert this
754         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
755
756 2002-01-27  Kazu Hirata  <kazu@hxi.com>
757
758         * config/h8300/h8300.md (define_constants): New.
759         (anonymous patterns) Use defined constants appropriately.
760
761 2002-01-27  Kazu Hirata  <kazu@hxi.com>
762
763         * config/h8300/h8300.c (function_arg): Remove redundant code.
764
765 2002-01-26  Richard Henderson  <rth@redhat.com>
766
767         * sched-deps.c (reg_pending_uses_head): New.
768         (reg_pending_barrier): Rename from reg_pending_sets_all.
769         (find_insn_list): Don't mark inline.
770         (find_insn_mem_list): Remove.
771         (add_dependence_list, add_dependence_list_and_free): New.
772         (flush_pending_lists): Replace only_write param with separate
773         for_read and for_write parameters.  Update all callers.  Use
774         add_dependence_list_and_free.
775         (sched_analyze_1): Do not add reg dependencies here; just set
776         the pending bits.  Use add_dependence_list.
777         (sched_analyze_2): Likewise.
778         (sched_analyze_insn): Replace schedule_barrier_found with
779         reg_pending_barrier.  Add all dependencies for pending reg
780         uses, sets, and clobbers.
781         (sched_analyze): Don't add reg dependencies for calls, just
782         set pending bits.  Use regs_invalidated_by_call.  Treat
783         sched_before_next_call as a normal list, not a fake insn.
784         (init_deps): No funny init for sched_before_next_call.
785         (free_deps): Free pending mems lists.  Don't zero reg_last.
786         (init_deps_global): Init reg_pending_uses.
787         (finish_deps_global): Free it.
788         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
789         (find_insn_mem_list): Remove.
790         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
791         (propagate_deps): Use them.  Zero temp mem lists.
792
793 2002-01-26  Richard Henderson  <rth@redhat.com>
794
795         * Makefile.in (CRTSTUFF_CFLAGS): New.
796         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
797         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
798         crtstuff.c instead of alpha assembly version.
799         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
800         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
801         not FORCE_{INIT,FINI}_SECTION_ALIGN.
802         (__do_global_dtors_aux): Mark used.
803         (frame_dummy, __do_global_ctors_aux): Mark used.
804         (fini_dummy, init_dummy): Remove.
805
806         * config/alpha/crtbegin.asm: Remove file.
807         * config/alpha/crtend.asm: Remove file.
808         * config/alpha/t-crtbe: Remove file.
809         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
810         (LINK_EH_SPEC): New.
811
812         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
813         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
814         calling constructors.
815         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
816
817         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
818         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
819         CRT_END_INIT_DUMMY hack.
820         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
821         FORCE_{INIT,FINI}_SECTION_ALIGN.
822
823         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
824         FORCE_{INIT,FINI}_SECTION_ALIGN.
825
826         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
827         invocation sequence.
828         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
829
830         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
831         (FORCE_CODE_SECTION_ALIGN): New.
832
833 2002-01-26  Richard Henderson  <rth@redhat.com>
834
835         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
836
837 2002-01-26  Richard Henderson  <rth@redhat.com>
838
839         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
840         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
841
842 2002-01-26  Kazu Hirata  <kazu@hxi.com>
843
844         * config/h8300/h8300.md: Remove bit extraction patterns that
845         cannot be triggered.
846         Restrict each bit extraction pattern to a variant on which the
847         pattern is tested.
848
849 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
850
851         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
852
853 2002-01-26  Kazu Hirata  <kazu@hxi.com>
854
855         * config/h8300/h8300.md: Remove bit test patterns that cannot
856         be triggered.
857         Restrict each bit test pattern to a variant on which the
858         pattern is tested.
859
860 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
861
862         * builtins.c (expand_builtin_strncat): Remove redundant check for
863         INTEGER_CST.
864
865 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
866
867         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
868         default setting.
869         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
870         existing setting.
871
872 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
873
874         * dbxout.c (dbxout_init): Use assemble_name rather than just
875         stripping off the first character.
876         (dbxout_source_file): Likewise.
877
878 2002-01-25  DJ Delorie  <dj@redhat.com>
879
880         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
881         using rtx_equal_p, not by comparing pointers.
882
883 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
884
885         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
886         for PIC_OFFSET_TABLE_REGNUM.
887         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
888
889 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
890
891         * config.gcc (x86_64-*-freebsd*): New target.
892         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
893         value.
894         (i[34567]86-*-freebsd*): Don't include svr4.h.
895         * config/i386/freebsd64.h: New file.
896
897 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
898
899         * config/alpha/x-vms (version): Make static.
900
901         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
902         in previous checkin.
903
904         * Makefile.in (install-headers-cp): New target.
905         * config.gcc (alpha-dec-*vms*): Install headers with
906         install-headers-cp
907
908 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
909
910         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
911         avoid it's copies.
912
913 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
914
915         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
916         of compare_tree_int.
917         (expand_builtin_strncat): Likewise.
918         * c-decl.c (finish_struct): Use tree_low_cst.
919         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
920         * tree.c (compare_tree_int): Likewise.
921
922 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
923
924         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
925         adjustments even if they are implemented by more than two insns.
926
927 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
928
929         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
930         * df.h (struct ref): Kill B.
931         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
932
933         * basic-block.h (PROP_EQUAL_NOTES): New flag.
934         * flow.c (propagate_one_insn): Use it.
935         (mark_used_regs): Handle NIL.
936
937 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
938
939         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
940         to help folding.
941
942 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
943
944         * rs6000.md (prefetch): Make address V4SI mode so that the address
945         is restricted to legitimate form for instruction.
946
947 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
948
949         * doc/install.texi (xtensa-*-elf): New target.
950         (xtensa-*-linux*): New target.
951         * doc/contrib.texi: Add myself.
952
953 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
954
955         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
956         purpose register to hold an SImode (or smaller) value.
957
958 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
959
960         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
961         registry only.
962         * crtstuff.c: Likewise.
963
964 2002-01-25  Kazu Hirata  <kazu@hxi.com>
965
966         * config/h8300/h8300.md (negation patterns): Tighten
967         predicates to register_operand.
968
969 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
970
971         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
972         mode, not Pmode.
973
974         * builtins.c (expand_builtin_prefetch): Same.
975
976 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
977
978         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
979         modes.
980
981 2002-01-24  Kazu Hirata  <kazu@hxi.com>
982
983         * config/h8300/h8300.c (print_operand): Remove support for
984         operand character 'A'.
985         * config/h8300/h8300.md (three anonymous patterns): Replace
986         operand character 'A' with either 'T' or 'S'.
987
988 2002-01-24  Kazu Hirata  <kazu@hxi.com>
989
990         * config/h8300/h8300.c (print_operand): Remove support for
991         operand character 'U'.
992
993 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
994
995         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
996
997 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
998
999         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
1000         values to be assigned to the stack pointer.
1001
1002 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
1003
1004         * emit_rtl.c (gen_lowpart_common): Conversion from const_int
1005         to const_double needs to be done right for big-endian systems.
1006
1007 2002-01-24  Jason Merrill  <jason@redhat.com>
1008
1009         PR c++/2432
1010         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
1011         to can_throw_internal.
1012
1013 2002-01-23  Richard Henderson  <rth@redhat.com>
1014
1015         * fold-const.c (fold): Change UINT_MAX test to check vs precision
1016         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
1017
1018 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
1019
1020         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
1021         (symGOT2reg): Use them, then set as GOT value as unchanging.
1022         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
1023         as a temporary, if possible.
1024         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
1025         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
1026
1027 2002-01-23  Kazu Hirata  <kazu@hxi.com>
1028
1029         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
1030         accept to accept 0x80 as operands[2].
1031
1032 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
1033
1034         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
1035
1036 2002-01-23  Richard Henderson  <rth@redhat.com>
1037
1038         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
1039
1040 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
1041
1042         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
1043         (parmlist_or_identifiers_1): Verify that only a parmlist follows
1044         an attribute.
1045
1046 2002-01-23  Richard Henderson  <rth@redhat.com>
1047
1048         * expr.c (move_by_pieces_1): Extend size before negation.
1049
1050         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
1051         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
1052         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
1053         * config/m68k/t-m68kelf: Likewise.
1054
1055 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
1056
1057         * config/xtensa/elf.h: New file.
1058         * config/xtensa/lib1funcs.asm: New file.
1059         * config/xtensa/lib2funcs.S: New file.
1060         * config/xtensa/linux.h: New file.
1061         * config/xtensa/t-xtensa: New file.
1062         * config/xtensa/xtensa-config.h: New file.
1063         * config/xtensa/xtensa-protos.h: New file.
1064         * config/xtensa/xtensa.c: New file.
1065         * config/xtensa/xtensa.h: New file.
1066         * config/xtensa/xtensa.md: New file.
1067         * config.gcc (xtensa-*-elf*): New target.
1068         (xtensa-*-linux*): New target.
1069         * cse.c (canon_hash): Compare rtx pointers instead of register
1070         numbers.  This is required for the Xtensa port.
1071         * integrate.c (copy_insn_list): Handle case where the static
1072         chain is in memory and the memory address has to be copied to
1073         a register.
1074         * doc/invoke.texi (Option Summary): Add Xtensa options.
1075         (Xtensa Options): New node.
1076         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
1077
1078 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
1079
1080         * diagnostic.c (internal_error): Do ICE suppression only
1081         when ENABLE_CHECKING is not defined.
1082
1083         * c-typeck.c (require_complete_type): Return error_mark_node
1084         if type is error_mark_node.
1085
1086 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
1087
1088         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
1089         -Os and issue a warning.
1090
1091 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
1092
1093         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
1094         current (lack of) need for host configuration by hand.
1095
1096         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
1097         references.  Documentation of some target macros moved from
1098         hostconfig.texi to tm.texi.
1099
1100 2002-01-23  Will Cohen  <wcohen@redhat.com>
1101
1102         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
1103         defined.
1104
1105 2002-01-23  Kazu Hirata  <kazu@hxi.com>
1106
1107         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
1108         operand[3].
1109
1110 2002-01-23  Jason Merrill  <jason@redhat.com>
1111
1112         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
1113
1114         * function.c (assign_parms): Don't put args of inline functions
1115         into registers when not optimizing.
1116
1117 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
1118
1119         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
1120         (prologue_use): New pattern.
1121         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
1122         preference to gen_rtx_USE.
1123         (thumb_expand_prologue): Use gen_prologue_use in preference to
1124         gen_rtx_USE.
1125         (thumb_expand_epilogue): Use gen_prologue_use in preference to
1126         gen_rtx_USE.
1127
1128 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
1129
1130         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
1131
1132 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
1133
1134         PR c/3504
1135         * doc/extend.texi: Correct documentation of __alignof__.
1136
1137 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
1138
1139         * params.h: Rename arguments of DEFPARAM so that it will be
1140         recognized as a translation keyword.
1141
1142 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
1143
1144         * extend.texi: Document altivec functions.
1145         Fix N-bit adjectives in X86 builtin documentation.
1146
1147 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
1148
1149         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
1150         auto_inc_dec values.
1151
1152 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
1153
1154         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
1155         after backslash.
1156         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
1157
1158 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
1159
1160         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
1161
1162 2002-01-22  Richard Henderson  <rth@redhat.com>
1163
1164         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
1165         copy_insn not copy_rtx.
1166
1167 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
1168
1169         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
1170         "nonzero" as that might add "1" bits.  Ensure "constop" is
1171         properly sign extened.
1172         (force_to_mode): Tweak for sign extended constop.
1173
1174 2002-01-22  Richard Henderson  <rth@redhat.com>
1175
1176         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
1177         for_each_rtx instead of assuming we're already looking at the MEM.
1178         (split_small_symbolic_mem_operand): Likewise.
1179         * config/alpha/alpha.h (PREDICATE_CODES): Update.
1180         * config/alpha/alpha.md (small symbolic memory splitters): Update.
1181
1182 2002-01-22  Richard Henderson  <rth@redhat.com>
1183
1184         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
1185         sequence number for the literal.
1186         (divmoddi_internal_er): Likewise.
1187
1188 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1189
1190         PR java/4972
1191         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
1192         in LIBICONV variable.
1193         * configure: Regenerated.
1194
1195 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
1196
1197         * dependence.c (build_def_use): Remove array_idx.
1198
1199         * dwarfout.c (last_filename): Remove.
1200         (output_compile_unit_die): Remove last_filename.
1201
1202 2002-01-22  Roger Sayle  <roger@eyesopen.com>
1203             Richard Henderson  <rth@redhat.com>
1204
1205         PR opt/3640
1206         * fold-const.c (fold): Optimize unsigned comparisons against
1207         UINT_MAX (and similar unsigned constants).
1208
1209 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
1210
1211         * Makefile.in (loop.o): Depend on OPTABS_H.
1212         * loop.c (emit_prefetch_instructions): Check the prefetch operand
1213         against the predicate.
1214
1215         PR target/5379
1216         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
1217         for the address operand.
1218
1219 2002-01-22  Richard Henderson  <rth@redhat.com>
1220
1221         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
1222
1223 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1224
1225         PR other/5450
1226         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
1227         preprocessor flags.
1228
1229 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
1230
1231         * config.gcc (x86_64-*-netbsd*): New target.
1232         * config/i386/netbsd64.h: New file.
1233
1234 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
1235
1236         * regrename.c (kill_value): Fix typo.
1237
1238 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
1239
1240         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
1241
1242         * config/rs6000/rs6000.h: Same.
1243
1244         * function.c (instantiate_virtual_regs): Remove
1245         STARTING_FRAME_PHASE.
1246         (assign_stack_local_1): Same.
1247         Calculate frame phase.
1248
1249 2002-01-22  Nick Clifton  <nickc@redhat.com>
1250
1251         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
1252         variable declaration to outer scope in order to simplify
1253         future extensions.
1254         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
1255         arm_hard_regno_mode_ok.
1256         * config/arm/arm-protos.h: Add a prototype for
1257         arm_hard_regno_mode_ok.
1258         * config/arm/arm.c (soft_df_operand): Remove now redundant
1259         check for DImode values using IP_REGNUM.
1260         (nonimmediate_soft_df_operand): Remove now redundant check for
1261         DImode values using IP_REGNUM.
1262         (arm_hard_regno_mode_ok): New function. New check: make sure
1263         that DImode values are not stored in IP_REGNUM.
1264
1265         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
1266         note with a USE.
1267         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
1268
1269 2002-01-22  Jason Merrill  <jason@redhat.com>
1270
1271         * c-semantics.c (genrtl_compound_stmt): Only check nesting
1272         consistency if this COMPOUND_STMT is scoped.
1273
1274 2002-01-22  Kazu Hirata  <kazu@hxi.com>
1275
1276         * predict.c: Fix formatting.
1277         * print-tree.c: Likewise.
1278         * protoize.c: Likewise.
1279         * real.h: Likewise.
1280         * rtl.h: Likewise.
1281         * sbitmap.h: Likewise.
1282         * scan.c: Likewise.
1283         * sched-deps.c: Likewise.
1284         * sched-vis.c: Likewise.
1285         * sdbout.c: Likewise.
1286         * sibcall.c: Likewise.
1287         * ssa.c: Likewise.
1288         * ssa-ccp.c: Likewise.
1289         * ssa-dce.c: Likewise.
1290         * stmt.c: Likewise.
1291         * stor-layout.c: Likewise.
1292         * system.h: Likewise.
1293
1294 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1295
1296         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
1297         if fits in bounds of base type.
1298
1299         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
1300         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
1301         (add_bound_info, default): If can't find a context, make a
1302         SAVE_EXPR.
1303         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
1304
1305 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
1306
1307         * c-typeck.c (parser_build_binary_op): If result from
1308         build_binary_op is ERROR_MARK just return error_mark_node without
1309         further processing.
1310
1311 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
1312
1313         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
1314         Split a.out-specific bits into...
1315         * config/netbsd-aout.h: ...this.
1316         * config/netbsd-elf.h: New file.
1317         * config/alpha/netbsd-elf.h: Remove.
1318         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
1319         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
1320         (STARTFILE_SPEC): Remove redundant definition.
1321         (ENDFILE_SPEC): Likewise.
1322         (LINK_SPEC): Likewise.
1323         (CPP_SPEC): Likewise.
1324         (ASM_SPEC): Likewise.
1325         (LIB_SPEC): Likewise.
1326         (SWITCH_TAKES_ARG): Likewise.
1327         (TARGET_MEM_FUNCTIONS): Likewise.
1328         (CPP_PREDEFINES): Redefine.
1329         (ASM_FINAL_SPEC): Remove redefinition.
1330         (ASM_COMMENT_START): Redefine.
1331         (FUNCTION_PROFILER): Define.
1332         (TARGET_VERSION): Redefine.
1333         Comment and formatting cleanup.
1334         * config/i386/netbsd.h: Include <netbsd-aout.h>.
1335         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
1336         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
1337         big- or little-endian.
1338         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
1339         * config.gcc (*-*-netbsd*): Add definitions common to all
1340         NetBSD configs.
1341         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
1342         gnu_ld definitions.  Add netbsd-elf.h to and remove
1343         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
1344         tmake_file, and don't lose previous tmake_file contents.
1345         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
1346         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
1347         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
1348         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
1349         (mipsel-*-netbsd*): Rename this to...
1350         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
1351         mips/little.h to tm_file for mips*el-*.
1352         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
1353         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
1354         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
1355
1356 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1357
1358         * pa-protos.h (reg_before_reload_operand): New function prototype.
1359         * pa.c (reg_before_reload_operand): New function implementation.
1360         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
1361         contraints to "*m".
1362
1363 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1364
1365         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
1366
1367 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1368
1369         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
1370         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
1371         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
1372         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
1373         (ENDFILE_SPEC): Undefine.
1374         (STARTFILE_SPEC): Redefine for PA.
1375
1376 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1377
1378         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
1379
1380 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
1381
1382         * config.gcc: Add entries to supported PowerPC --with-cpu
1383         types.
1384
1385 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
1386
1387         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
1388         true for 64-bit mode only SSE registers in 32-bit mode.
1389
1390 2002-01-21  Kazu Hirata  <kazu@hxi.com>
1391
1392         * unwind-dw2.c: Fix formatting.
1393         * unwind-dw2-fde.c: Likewise.
1394         * unwind-dw2-fde.h: Likewise.
1395         * unwind-pe.h: Likewise.
1396         * varasm.c: Likewise.
1397         * varray.h: Likewise.
1398
1399 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
1400
1401         Remove workaround for register stack overwrite bug in mmix.
1402         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
1403         support for TARGET_REG_STACK_FILL_BUG.
1404         * config/mmix/mmix.h: Remove member has_call_without_parameters.
1405         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
1406         Delete.
1407         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
1408         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
1409         -mno-reg-stack-fill-bug-workaround.
1410         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
1411         machine member has_call_without_parameters.
1412         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
1413         -mreg-stack-fill-bug-workaround and
1414         -mno-reg-stack-fill-bug-workaround.
1415         (MMIX Options): Ditto.
1416
1417 2002-01-21  Kazu Hirata  <kazu@hxi.com>
1418
1419         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
1420         as appropriate.
1421         Remove redundant code.
1422
1423 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
1424
1425         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
1426         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1427         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1428         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
1429         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
1430         out target macro definitions and non-target-specific comments
1431         mostly taken from old versions of the manual.
1432
1433 2002-01-20  Kazu Hirata  <kazu@hxi.com>
1434
1435         * config/h8300/h8300.h: Fix comment formatting.
1436         * config/ia64/aix.h: Likewise.
1437         * config/ia64/ia64-protos.h: Likewise.
1438         * config/ia64/ia64.c: Likewise.
1439         * config/ia64/ia64.h: Likewise.
1440         * config/ia64/ia64intrin.h: Likewise.
1441         * config/ia64/linux.h: Likewise.
1442         * config/ia64/unwind-aix.c: Likewise.
1443         * config/ia64/unwind-ia64.c: Likewise.
1444
1445 2002-01-20  Kazu Hirata  <kazu@hxi.com>
1446
1447         * config/h8300/h8300.c: Revise comments about shift code.
1448
1449 2002-01-20  Kazu Hirata  <kazu@hxi.com>
1450
1451         * config/h8300/h8300.c (function_arg): Update a comment.
1452
1453 2002-01-20  Kazu Hirata  <kazu@hxi.com>
1454
1455         * config/h8300/h8300.md: Update the comments at the beginning
1456         of the file.
1457
1458 2002-01-20  Kazu Hirata  <kazu@hxi.com>
1459
1460         * config/i370/i370.c: Fix comment formatting.
1461         * config/i370/i370.h: Likewise.
1462         * config/i370/i370.md: Likewise.
1463         * config/i370/linux.h: Likewise.
1464
1465 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1466
1467         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
1468
1469         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
1470         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
1471         in incomplete case.
1472
1473 2002-01-20  Graham Stott  <grahams@redhat.com>
1474
1475         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
1476
1477 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1478
1479         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
1480
1481 2002-01-19  Tom Rix  <trix@redhat.com>
1482
1483         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
1484
1485 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
1486
1487         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1488
1489         * function.c (assign_stack_local_1): Adjust x_frame_offset with
1490         STARTING_FRAME_PHASE.
1491         (STARTING_FRAME_PHASE): New.
1492         (instantiate_virtual_regs): Check saneness of
1493         STARTING_FRAME_PHASE.
1494
1495         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1496
1497 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
1498
1499         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
1500
1501 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1502
1503         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
1504         be used for bootstrapping GCC 3.0.
1505
1506 2002-01-18  Kazu Hirata  <kazu@hxi.com>
1507
1508         * config/h8300/h8300.md: Fix an insn length.
1509
1510 2002-01-18  Kazu Hirata  <kazu@hxi.com>
1511
1512         * bitmap.h: Fix comment formatting.
1513         * combine.c: Likewise.
1514         * cppfiles.c: Likewise.
1515         * c-pragma.h: Likewise.
1516         * c-typeck.c: Likewise.
1517         * df.c: Likewise.
1518         * dwarf2out.c: Likewise.
1519         * function.c: Likewise.
1520         * gcc.c: Likewise.
1521         * genattrtab.c: Likewise.
1522         * gthr-win32.h: Likewise.
1523         * haifa-sched.c: Likewise.
1524         * predict.c: Likewise.
1525         * rtlanal.c: Likewise.
1526         * rtl.h: Likewise.
1527         * unwind-dw2-fde.h: Likewise.
1528         * unwind-pe.h: Likewise.
1529         * vmsdbgout.c: Likewise.
1530
1531 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1532
1533         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
1534         if type_required and passed decl.
1535
1536 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
1537
1538         * config.gcc (cpu_type): Include altivec.h in powerpc
1539         extra_headers.
1540         Same for darwin.
1541
1542         * config/rs6000/altivec.h: New.
1543
1544 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
1545
1546         * doc/install.texi (*-ibm-aix*): Update assembler and exception
1547         handling information.
1548         * doc/trouble.texi (Interoperation): Add libstdc++ information
1549         for AIX.
1550         (Misunderstandings): Add template instantiation and static template
1551         member information for AIX.
1552
1553 2002-01-17  Jason Merrill  <jason@redhat.com>
1554
1555         * dbxout.c (dbxout_type): Support const and volatile.
1556
1557         * except.c (add_partial_entry): Remove backwards compatibility code.
1558         (end_protect_partials): Likewise.
1559
1560 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
1561
1562         * config/ia64/ia64.md (prologue_use): New.
1563         * config/ia64/ia64.c (ia64_expand_prologue): Use
1564         gen_prologue_use instead of gen_rtx_USE.
1565         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1566         as CODE_FOR_pred_rel_mutex.
1567         (ia64_sched_reorder2): Likewise.
1568
1569 2002-01-16  Eric Christopher  <echristo@redhat.com>
1570
1571         * config/mips/r3900.h: Reformat.
1572         (SUBTARGET_CPP_SIZE_SPEC): Remove.
1573         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1574         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1575         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1576         * config/mips/t-elf: Remove mips3 multilib.
1577
1578 2002-01-16  H.J. Lu <hjl@gnu.org>
1579
1580         * config/mips/linux.h: Include "mips/abi64.h".
1581
1582 2002-01-16  H.J. Lu <hjl@gnu.org>
1583
1584         * config/mips/t-linux: New.
1585
1586         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1587
1588         * config/mips/linux.h: Don't include "gofast.h".
1589         (INIT_SUBTARGET_OPTABS): Removed.
1590
1591 2002-01-16  Kazu Hirata  <kazu@hxi.com>
1592
1593         * config/h8300/h8300-protos.h: Replace emit_a_shift with
1594         output_a_shift.
1595         * config/h8300/h8300.c: Likewise.
1596         * config/h8300/h8300.md: Likewise.
1597
1598 2002-01-16  Kazu Hirata  <kazu@hxi.com>
1599
1600         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1601         spaces after an opcode name.
1602         (pushqi1_h8300hs): Likewise.
1603         (pushhi1_h8300hs): Likewise.
1604
1605 2002-01-16  Kazu Hirata  <kazu@hxi.com>
1606
1607         * doc/extend.texi: Replace "option" with "attribute"
1608         appropriately.
1609
1610 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
1611
1612         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1613         (and:DI () (const_int -8)).
1614         (split_small_symbolic_mem_operand): Split
1615         (mem (and:DI () (const_int -8)).
1616
1617 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
1618
1619         PR target/5309:
1620         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1621         same way as TYPE_IMUL.
1622         (ultrasparc_sched_reorder): Likewise.
1623         * config/sparc/sparc.md (type): Add comment to update
1624         ultrasparc_sched_reorder when making changes.
1625
1626 2002-01-16  Kazu Hirata  <kazu@hxi.com>
1627
1628         * doc/invoke.texi: Change the dump file name of block
1629         reordering pass from 28.bbro to 29.bbro.
1630         Mention -dk option.
1631
1632 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
1633
1634         * i386.md (minsf splitter): Fix pasto.
1635
1636 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
1637
1638         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1639         to frame pointer initialisation instruction.
1640         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1641         initialisation instruction.
1642         (soft_df_operand): Do not accept the IP register.
1643         (nonimmediate_soft_df_operand): Do not accept the IP register.
1644
1645 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
1646
1647         PR target/5357:
1648         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1649         MASK_V8 being both set.
1650
1651 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
1652
1653         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1654         insn for GOT register; add REG_MAYBE_DEAD notes instead.
1655         config/s390/s390.md (call, call_value): Add GOT register to
1656         CALL_INSN_FUNCTION_USAGE where needed.
1657         (call_exp, call_value_exp): New.
1658
1659 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
1660
1661         * config/arm/arm.c: General formatting tidy up.
1662
1663 2002-01-16  Graham Stott  <grahams@redhat.com>
1664
1665         * calls.c (try_to_integrate): Use "(size_t)" intermediate
1666         cast and when casting an integer literal to "rtx" pointer.
1667         (expand_call): Likewise.
1668         * flow.c (try_pre_increment): Likewise.
1669         (find_use_as_address): Likewise.
1670         * integrate.c (expand_iline_function): Likewise.
1671         * regmove.c (try_auto_increment): Likewise.
1672
1673 2002-01-16  Graham Stott  <grahams@redhat.com>
1674
1675         * sched-rgn.c (passed): Use sbitmap_free.
1676         (header): Likewise.
1677         (inner): Likewise.
1678         (in_queue): Likewise.
1679         (in_stack): Likewise.
1680
1681 2002-01-15  Eric Christopher  <echristo@redhat.com>
1682
1683         * flow.c (propagate_one_insn): Change to use fatal_insn.
1684
1685 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1686
1687         * expmed.c (extract_fixed_bit_field): Remove unused code.
1688         * system.h: Poison SLOW_ZERO_EXTEND.
1689         * doc/tm.texi: Remove.
1690         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1691         * config/arm/arm.h: Likewise.
1692         * config/avr/avr.h: Likewise.
1693         * config/clipper/clipper.h: Likewise.
1694         * config/convex/convex.h: Likewise.
1695         * config/d30v/d30v.h: Likewise.
1696         * config/dsp16xx/dsp16xx.h: Likewise.
1697         * config/elxsi/elxsi.h: Likewise.
1698         * config/fr30/fr30.h: Likewise.
1699         * config/h8300/h8300.h: Likewise.
1700         * config/i370/i370.h: Likewise.
1701         * config/i386/i386.h: Likewise.
1702         * config/m68k/m68k.h: Likewise.
1703         * config/mips/mips.h: Likewise.
1704         * config/ns32k/ns32k.h: Likewise.
1705         * config/pdp11/pdp11.h: Likewise.
1706         * config/pj/pj.h: Likewise.
1707         * config/s390/s390.h: Likewise.
1708         * config/sh/sh.h: Likewise.
1709         * config/stormy16/stormy16.h: Likewise.
1710         * config/v850/v850.h: Likewise.
1711         * config/vax/vax.h: Likewise.
1712         * config/we32k/we32k.h: Likewise.
1713
1714 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
1715
1716         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1717         (altivec_lvsl): Change constraint to b.
1718         (altivec_lvsr): Same.
1719         (altivec_lvebx): Same.
1720         (altivec_lvehx): Same.
1721         (altivec_lvewx): Same.
1722         (altivec_lvxl): Same.
1723         (altivec_lvx): Same.
1724         (altivec_stvx): Add parallel.
1725         (altivec_stvxl): Same.
1726         (altivec_stvehx): Same.
1727         (altivec_stvebx): Same.
1728         (altivec_stvebx): Same.
1729
1730 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
1731
1732         * config.gcc: Change altivec.h to altivec-defs.h.
1733
1734         * config/rs6000/altivec.h: Delete.
1735
1736         * config/rs6000/altivec-defs.h: Add.
1737
1738 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1739
1740         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1741         and UMOD modes.
1742
1743         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1744         less than or equal to eight bytes.
1745
1746         * vax.md (andsi3): Remove constraints and change SET destination
1747         operand type to nonimmediate_operand.
1748         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
1749         when it is a CONST_INT.
1750
1751 2002-01-15  Jason Merrill  <jason@redhat.com>
1752
1753         * c-common.def (FILE_STMT): New code.
1754         * c-common.c (statement_code_p): It's a statement.
1755         * c-common.h (stmt_tree_s): Add x_last_filename.
1756         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1757         (last_expr_filename): New macro.
1758         * c-semantics.c (begin_stmt_tree): Initialize it.
1759         (add_stmt): If the filename changed, also insert a
1760         FILE_STMT.
1761         (expand_stmt): Handle seeing one.
1762
1763 2002-01-15  Eric Christopher  <echristo@redhat.com>
1764
1765         * flow.c (propagate_one_insn): Add error message and print out
1766         insn for debugging.
1767
1768 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
1769
1770         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1771         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1772         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1773         TRAMPOLINE_ALIGNMENT.
1774         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
1775         to be in bits.
1776         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1777         PCC_BITFIELD_TYPE_MATTERS.
1778         * config/interix.h (STDC_VALUE): Remove.  Use
1779         STDC_0_IN_SYSTEM_HEADERS.
1780         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1781         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1782         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1783
1784 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1785
1786         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1787         not work on this platform currently.
1788
1789 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
1790
1791         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1792         readonly_warning in _().
1793
1794 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
1795
1796         * gcc.c (delete_if_ordinary): Backout previous change.
1797
1798 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1799
1800         * config/h8300/h8300.c (print_operand): Remove support for
1801         unused operand characters.
1802
1803         * read-rtl.c: Fix formatting.
1804         * real.c: Likewise.
1805         * recog.c: Likewise.
1806         * regclass.c: Likewise.
1807         * regmove.c: Likewise.
1808         * reg-stack.c: Likewise.
1809         * reload1.c: Likewise.
1810         * rtlanal.c: Likewise.
1811
1812 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1813
1814         * config/i386/i386.c: Fix formatting.
1815
1816 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
1817
1818         * c-typeck.c (process_init_element): Don't save_expr
1819         COMPOUND_LITERAL_EXPR if just its initializer will be used.
1820
1821 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
1822
1823         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1824         emit optional traceback table if optimize_size or TARGET_ELF.
1825         * config/rs6000/rs6000.md (prefetch): New.
1826
1827 2002-01-15  Andreas Jaeger  <aj@suse.de>
1828
1829         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1830
1831 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1832
1833         * mips-tfile.c: Fix formatting.
1834
1835 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
1836
1837         * unroll.c (final_reg_note_copy): Fix previous commit.
1838
1839 2002-01-14  Kazu Hirata  <kazu@hxi.com>
1840
1841         * config/h8300/h8300-protos.h: Remove the prototype for
1842         eq_operator.
1843         * config/h8300/h8300.c (eq_operator): Remove.
1844
1845 2002-01-14  Richard Henderson  <rth@redhat.com>
1846
1847         * config/i386/i386.md (prefetch): Tidy.
1848         (prefetch_3dnow): Fix locality operand.
1849
1850 2002-01-14  Richard Henderson  <rth@redhat.com>
1851
1852         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1853         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1854
1855 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
1856
1857         * reload1.c (reload_combine): Pass reg_sum replacement through
1858         copy_rtx in loop performing multiple changes.
1859
1860 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
1861
1862         * except.c (remove_unreachable_regions): New.
1863         (free_eh_status): Clear exception_handler_labels.
1864         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1865         (find_exception_handler_labels): Don't add the same label more than
1866         once.
1867         (remove_exception_handler_label): Don't die if
1868         find_exception_handler_labels hasn't been called for the current
1869         function yet.
1870
1871 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
1872
1873         * toplev.c (rest_of_compilation): Rebuild jump labels after
1874         gcse.
1875
1876 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
1877
1878         * doc/extend.texi: Move documentation of X86 built-in functions
1879         here.
1880         * doc/invoke.texi: From here.
1881         * doc/sourcebuild.texi: Document location of documentation for
1882         machine built-in functions.
1883
1884 2002-01-13  Christopher Faylor  <cgf@redhat.com>
1885
1886         * cppfiles.c (TEST_THRESHOLD): New macro.
1887         (SHOULD_MMAP): Ditto.
1888         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1889         be used.
1890
1891 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
1892
1893         * unroll.c (final_reg_note_copy): Properly handle
1894         REG_LABEL
1895         (unroll_loops): Fix LOOP_CONDITION heuristics.
1896
1897 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
1898
1899         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1900         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1901
1902 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
1903
1904         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1905         threaded loop.
1906
1907 2002-01-14  Tom Rix  <trix@redhat.com>
1908
1909         * config/rs6000/rs6000.md: Fix typo with sradi.
1910
1911 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
1912
1913         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1914         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1915         (clrstrdi, clrstrsi): Adapt callers.
1916
1917         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1918
1919         (movti splitter): Never use register 0 as base register.
1920
1921 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
1922
1923         * combine.c (simplify_shift_const): Always generate new rtx
1924         for shift expression instead of reusing given expression.
1925
1926 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1927
1928         * config/alpha/alpha.c (alpha_expand_mov): Don't call
1929         alpha_legitimize_address unless mode is Pmode.
1930
1931 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
1932
1933         * doc/md.texi (Modifiers): Document the '*' constraint for the
1934         user.
1935
1936         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1937         * doc/extend.texi (Function Attributes): 'interrupt' is valid
1938         for xstormy16 too.
1939
1940 2002-01-13  Richard Henderson  <rth@redhat.com>
1941
1942         * reload.c (find_reloads): Use a hard reg destination as reload reg
1943         for an input reload of the source.
1944
1945 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1946
1947         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1948         more generic.
1949
1950 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
1951
1952         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1953         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1954
1955         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1956
1957 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1958
1959         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1960
1961 2002-01-12  Tom Rix  <trix@redhat.com>
1962
1963         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1964         TARGET_POWERPC64.
1965
1966 2002-01-12  Richard Henderson  <rth@redhat.com>
1967
1968         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1969
1970         * doc/invoke.texi: Update Alpha options.
1971
1972         * doc/invoke.texi: Update i386 built-in function lists.
1973
1974 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
1975
1976         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1977         referencing outside.
1978
1979 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1980
1981         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1982         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1983         offsets, and change line folding.
1984         * optabs.c (expand_binop): Remove warnings.
1985         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1986
1987 2002-01-12  Graham Stott <grahams@redhat.com>
1988
1989         * attribs.c (handle_deprecated_attribute): constify WHAT.
1990         * diagnostic.c (warn_deprecated_use): Add braces, fixes
1991         dangling else warning and constify WHAT.
1992         * except.h (struct function, struct inline_remap): Move
1993         struct tag forward defs before all prototypes.
1994         (duplicate_eh_regions): Whitespace.
1995
1996 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
1997
1998         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1999         MODE_BASE_REG_CLASS.
2000         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
2001
2002 2002-01-12  Richard Henderson  <rth@redhat.com>
2003
2004         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
2005         (ix86_expand_vector_move): New.
2006         (bdesc_2arg): Remove andps, andnps, orps, xorps.
2007         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
2008         Remove old prefetch builtins.  Special case the logicals removed above.
2009         (ix86_expand_builtin): Likewise.
2010         (safe_vector_operand): Use V4SFmode, not TImode.
2011         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
2012         (ix86_expand_timode_binop_builtin): New.
2013         * config/i386/i386-protos.h: Update.
2014         * config/i386/i386.h (enum ix86_builtins): Update.
2015         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
2016         Use ix86_expand_vector_move in vector move expanders.
2017         (movti_internal, movti_rex64): Add xorps alternative.
2018         (sse_clrv4sf): Rename and adjust from sse_clrti.
2019         (prefetch): Don't work so hard.
2020         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
2021         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
2022         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
2023
2024 2002-01-11  Richard Henderson  <rth@redhat.com>
2025
2026         * config/i386/mmintrin.h: New file.
2027         * config/i386/xmmintrin.h: New file.
2028         * config.gcc (i?86-*-*): Add extra_headers.
2029         * simplify-rtx.c (simplify_unary_operation): Handle saturating
2030         truncation codes.
2031         (simplify_binary_operation): Handle saturating arithmetic codes.
2032         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
2033         not the lowpart subreg.
2034         (ix86_expand_builtin): Return a TImode dummy register instead of 0
2035         on error.
2036         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
2037
2038 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2039
2040         * conflict.c (conflict_graph_compute): Free regsets when finished.
2041         * ssa.c (compute_coalesced_reg_partition): Likewise.
2042
2043 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2044
2045         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
2046         every where we allocate a register.
2047
2048 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2049
2050         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
2051         * lcm.c (compute_earliest, compute_farthest): Likewise.
2052
2053 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
2054
2055         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
2056
2057 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
2058
2059         * doc/rtl.texi (Insns): Fix 2 typos.
2060
2061 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
2062
2063         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
2064         options.  Use @table @gcctabopt for MMIX options.  Add index
2065         entries for MMIX options.  Start new paragraph with first
2066         heading of the machine-dependent options.
2067
2068 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2069
2070         PR other/5299
2071         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
2072         * combine.c (force_to_mode): Same.
2073         * reload1.c (clear_reload_reg_in_use): Same.
2074
2075 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
2076
2077         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
2078         and 'subtargets'.
2079
2080 2002-01-11  Andreas Jaeger  <aj@suse.de>,
2081             Brad Lucier <lucier@math.purdue.edu>
2082
2083         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
2084         mcpu.
2085
2086 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
2087
2088         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
2089         Protect with IN_LIBGCC.
2090         (LINK_EH_SPEC): Add required trailing space.
2091
2092 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2093
2094         * c-tree.h: Move function declarations so that they are listed
2095         under the filename which contains them.
2096         (check_identifier, finish_decl_top_level,
2097         lookup_name_current_level_global, shadow_record_fields): Remove.
2098
2099 2002-01-11  Andreas Jaeger  <aj@suse.de>
2100
2101         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
2102         march.
2103
2104 2002-01-10  Richard Henderson  <rth@redhat.com>
2105
2106         * config/alpha/alpha.c (print_operand): Add 'J'.
2107         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
2108         new operand with the sequence number for the lituse.  When splitting
2109         the insns, use gen_movdi_er_high_g and generate a sequence number.
2110         (gen_movdi_er_high_g): Print the sequence number if non-zero.
2111
2112 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
2113
2114         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
2115         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
2116         stvxl.
2117         (altivec_expand_builtin): Same.
2118         (altivec_expand_stv_builtin): New.
2119
2120         * config/rs6000/rs6000.h (rs6000_builtins): Same.
2121
2122         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
2123         ("altivec_lvehx"): New.
2124         ("altivec_lvewx"): New.
2125         ("altivec_lvxl"): New.
2126         ("altivec_lvx"): New.
2127         ("altivec_stvx"): New.
2128         ("altivec_stvebx"): New.
2129         ("altivec_stvehx"): New.
2130         ("altivec_stvewx"): New.
2131         ("altivec_stvxl"): New.
2132
2133 2002-01-10  Richard Henderson  <rth@redhat.com>
2134
2135         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
2136         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
2137         care not to delete instructions twice.
2138
2139 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
2140
2141         * toplev.c: Don't declare environ (it's not used anywhere).
2142         * configure.in: Don't check for declaration of environ.
2143         * config/i386/xm-mingw32.h: Don't #define environ.
2144         * config.in, configure: Regenerate.
2145
2146 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
2147
2148         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
2149         * configure: Regenerate.
2150
2151         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
2152         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
2153         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
2154         alpha/xm-vms.h.
2155         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
2156         LIMITS_H_TEST here, not in m68k/x-next.
2157         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
2158         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
2159
2160         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
2161         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
2162         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
2163
2164         * config/i386/x-djgpp: Renamed i386/t-djgpp.
2165         * config/m88k/x-dolph: Renamed m88k/t-dolph.
2166         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
2167         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
2168         replacement of quadlib.asm with quadlib.c.
2169
2170         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
2171         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
2172         config/rs6000/xm-beos.h: Delete file.
2173
2174         * config.gcc: Update to match above changes.
2175
2176 2002-01-10  Kazu Hirata  <kazu@hxi.com>
2177
2178         * config/h8300/h8300.h: Fix comment typos.
2179         * config/h8300/h8300.md: Likewise.
2180         * config/h8300/lib1funcs.asm: Likewise.
2181
2182 2002-01-10  Dale Johannesen  <dalej@apple.com>
2183
2184         PR optimization/5269
2185         * unroll.c (precondition_loop_p): Make *increment be the correct
2186         sign when n_iterations known, to avoid confusing caller.
2187
2188 2002-01-10  Kazu Hirata  <kazu@hxi.com>
2189
2190         * doc/extend.texi (deprecated): Fix a typo.
2191
2192 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
2193
2194         * basic-block.h (update_br_prob_note): Declare.
2195         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
2196         (try_forward_edges): Care negative frequencies and update note.
2197         (outgoing_edges_match): Tweek conditional merging heuristics.
2198         (try_crossjump_to_edge): use update_br_prob_note.
2199         * cfglayout.c (fixup_reorder_chain): Likewise.
2200         * cfrtl.c (update_br_prob_note): New.
2201         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
2202
2203         * i386.c (ix86_decompose_address): Return -1 if address contains
2204         shift.
2205         (legitimate_address_p): Require ix86_decompose_address to return 1.
2206
2207         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
2208         (cprop_insn): Likewise.
2209
2210 2002-01-10  Kazu Hirata  <kazu@hxi.com>
2211
2212         * toplev.c: Fix formatting.
2213         * tree.c: Likewise.
2214         * tree-dump.c: Likewise.
2215         * unroll.c: Likewise.
2216         * unwind-dw2.c: Likewise.
2217         * unwind-dw2-fde.c: Likewise.
2218         * unwind-dw2-fde-glibc.c: Likewise.
2219         * unwind-sjlj.c: Likewise.
2220
2221 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
2222
2223         * doc/invoke.texi: Document PDP-11 options.
2224
2225 2002-01-10  Kazu Hirata  <kazu@hxi.com>
2226
2227         * config/h8300/h8300.h: Fix formatting.
2228
2229 2002-01-10  Ira Ruben   <ira@apple.com>
2230
2231         Add __attribute__ ((deprecated)).
2232         * extend.texi: Document __attribute__ ((deprecated)).
2233         * invoke.texi: Document -Wno-deprecated-declarations.
2234         * testsuite/g++.dg/other/deprecated.C: New C++ test.
2235         * testsuite/gcc.dg/deprecated.c: New C test.
2236         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
2237         (c_common_attribute_table): Add "deprecated" entry.
2238         (handle_deprecated_attribute): New function.
2239         * c-decl.c (deprecated_states): New enum.
2240         deprecated_state: State of "deprecated" handling.
2241         (start_decl): Set deprecated_state based on attributes.
2242         (grokdeclarator): Test for deprecated uses, propagate attribute.
2243         * c-typeck.c (build_component_ref): Test for deprecated fields.
2244         (build_external_ref): Test for deprecated primaries.
2245         * diagnostic.c (warn_deprecated_use) New function to issue
2246         warnings about __attribute__ ((depricated)) references.
2247         * flags.h (warn_deprecated_decl): Extern declared for
2248         -W[no-]deprecated-declarations option.
2249         * print-tree.c (print_node): Show deprecated flag status.
2250         * toplev.c (warn_deprecated_decl): Defined.
2251         (W_options): Added "deprecated-declaration".
2252         * toplev.h (warn_deprecated_use): Extern declared.
2253         * tree.h (struct tree_common): Define deprecated_flag.
2254         (TREE_DEPRECATED): New macro to access flag.
2255         * cp/call.c (build_call): Test for deprecated calls.
2256         * cp/class.c (add_implicitly_declared_members): Set global
2257         flag to tell grokdeclarator to not issue deprecated warnings.
2258         * cp/cp-tree.h: Add extern for adding_implicit_members.
2259         * cp/decl.c (deprecated_states): New enum.
2260         (start_decl): Set deprecated_state based on attributes.
2261         (grokdeclarator): Test for deprecated uses, propagate attribute.
2262         * cp/lex.c (do_identifier): Test for deprecated primaries.
2263         * cp/typeck.c (build_component_ref): Test for deprecated fields.
2264
2265 2002-01-10  Ira Ruben   <ira@apple.com>
2266
2267         Fix to assign attributes to inline member functions.
2268         * cp/decl.c (start_method): Handle attrlist.
2269
2270 2002-01-10  Kazu Hirata  <kazu@hxi.com>
2271
2272         * combine.c (expand_field_assignment): Use subreg_lsb().
2273
2274 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
2275
2276         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
2277         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
2278         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
2279         Recurse for any operand of AND as long as constant is non-zero.
2280
2281 2002-01-10  Kazu Hirata  <kazu@hxi.com>
2282
2283         * config/h8300/h8300.md: Remove constraints from expanders.
2284
2285 2002-01-10  Kazu Hirata  <kazu@hxi.com>
2286
2287         * varasm.c: Fix formatting.
2288         * varray.c: Likewise.
2289         * vmsdbgout.c: Likewise.
2290         * xcoffout.c: Likewise.
2291
2292 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
2293
2294         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
2295         update edge probabilities to match.
2296
2297 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
2298
2299         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
2300         dependencies.
2301         * doc/languages.texi, doc/sourcebuild.texi: New files.
2302         * doc/configfiles.texi: Make a subsubsection.  Update.
2303         * doc/configterms.texi: Add @node.  Remove warning that this isn't
2304         instructions for building GCC.
2305         * doc/makefile.texi: Make a subsection.
2306         * doc/gccint.texi: Update.
2307
2308 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
2309
2310         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
2311
2312 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2313
2314         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
2315
2316 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
2317
2318         * optabs.c (expand_fix): Look for wider integer modes first.
2319
2320         * i386.md (mov?f): Avoid the fake const double trick for medium
2321         memory model.
2322         (min?f*/max?f*): Prohibit memory operands for i387 variant.
2323         (fop_df_4): Disable for SSE compilation.
2324
2325 2002-01-10  Graham Stott  <grahams@redhat.com>
2326
2327         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
2328         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
2329
2330 2002-01-10  Richard Henderson  <rth@redhat.com>
2331
2332         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
2333
2334 2002-01-10  Richard Henderson  <rth@redhat.com>
2335
2336         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
2337         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
2338
2339 2002-01-10  Kazu Hirata  <kazu@hxi.com>
2340
2341         * combine.c (can_combine_p): Fix a comment typo.
2342
2343 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
2344
2345         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
2346         empty list correctly.  Change loop index $t to $f for
2347         consistency with rest of Makefile.
2348
2349 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
2350
2351         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
2352         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2353
2354         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
2355         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
2356         (altivec_init_builtins): Same.
2357         (altivec_expand_unop_builtin): Return NULL_RTX on error.
2358         (altivec_expand_binop_builtin): Same.
2359         (altivec_expand_ternop_builtin): Same.
2360         (bdesc_dst): New.
2361
2362         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
2363         ("altivec_vctuxs"): Fix typo.
2364         ("altivec_vnmsubfp"): Same.
2365         ("altivec_dssall"): New.
2366         ("altivec_mfvscr"): New.
2367         ("altivec_dss"): New.
2368         ("altivec_lvsl"): New.
2369         ("altivec_lvsr"): New.
2370         ("altivec_dstt"): New.
2371         ("altivec_dstst"): New.
2372         ("altivec_dststt"): New.
2373         ("altivec_dst"): New.
2374
2375         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
2376         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2377
2378 2002-01-09  Richard Henderson  <rth@redhat.com>
2379
2380         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
2381
2382 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
2383
2384         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
2385         function.
2386         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
2387         prototype.
2388         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
2389
2390 2002-01-09  Kazu Hirata  <kazu@hxi.com>
2391
2392         * read-rtl.c: Fix formatting.
2393         * real.c: Likewise.
2394         * regclass.c: Likewise.
2395         * regrename.c: Likewise.
2396         * reg-stack.c: Likewise.
2397         * reload1.c: Likewise.
2398         * reload.c: Likewise.
2399         * rtl.c: Likewise.
2400
2401 2002-01-09  Kazu Hirata  <kazu@hxi.com>
2402
2403         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
2404         to extract items in the expr_list chain.
2405
2406 2002-01-09  Richard Henderson  <rth@redhat.com>
2407
2408         * config/vax/vax.c (vax_rtx_cost): Never abort.
2409
2410         * config/vax/vax.h (REAL_ARITHMETIC): Define.
2411
2412 2002-01-09  Jan Hubicka  <jh@suse.cz>
2413
2414         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
2415
2416 2002-01-09  Richard Henderson  <rth@redhat.com>
2417
2418         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
2419         Unify code from various alternatives.
2420
2421 2002-01-09  Richard Henderson  <rth@redhat.com>
2422
2423         * regrename.c (copy_value): Ignore the copy if the source register
2424         is present in the value chain with a narrower mode.
2425
2426 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
2427
2428         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
2429         for the c4x target. Also improve layout.
2430
2431 2002-01-09  Richard Henderson  <rth@redhat.com>
2432
2433         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
2434         * config/m32r/m32r.md (and ior xor splitters): Swap operands
2435         to match insn patterns.
2436
2437 2002-01-09  Richard Henderson  <rth@redhat.com>
2438
2439         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
2440         (copyprop_hardreg_forward_1): Likewise.
2441
2442 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2443
2444         * pa.md (decrement_and_branch_until_zero): Change predicate for
2445         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
2446
2447 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
2448
2449         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
2450         gets undefined. For Darwin.
2451
2452 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2453
2454         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
2455
2456 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2457
2458         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
2459
2460 2002-01-08  Richard Henderson  <rth@redhat.com>
2461
2462         * regrename.c (copy_value): Ignore overlapping copies.
2463
2464 2002-01-08  Richard Henderson  <rth@redhat.com>
2465
2466         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
2467         as needed to avoid shared structure.
2468
2469 2002-01-08  Kazu Hirata  <kazu@hxi.com>
2470
2471         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
2472         H8/300H and H8/S.
2473
2474 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
2475
2476         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
2477         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
2478         documentation of obsolete macros.
2479         * system.h: Poison these macros.
2480         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
2481         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
2482         config/c4x/c4x.h, config/clipper/clipper.h,
2483         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
2484         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
2485         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
2486         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
2487         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2488         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
2489         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2490         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
2491         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
2492         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2493         config/sparc/sparc.h, config/stormy16/stormy16.h,
2494         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
2495         definitions and commented out definitions of obsolete macros.
2496         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
2497         of MAX_INT_TYPE_SIZE.
2498
2499 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
2500
2501         * config/s390/s390.c (s390_preferred_reload_class): Never
2502         return ADDR_REGS if it isn't a subset of the given class.
2503         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
2504         FP_REGS, but all superclasses as well.
2505
2506         * config/s390/s390.c (s390_function_profiler): Fix thinko.
2507
2508         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
2509         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
2510         must not be a const_int.
2511
2512 2002-01-08  Richard Henderson  <rth@redhat.com>
2513
2514         * Makefile.in (toplev.o): Depend on options.h.
2515         (gcc.o): Depend on specs.h.
2516
2517 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
2518
2519         * expr.c (store_expr): Convert VOIDmode constants back to target's
2520         mode.
2521
2522 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2523
2524         * doc/invoke.texi: Markup gcc as @command.  Refer to
2525         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
2526         of http://gcc.gnu.org/thanks.html.
2527
2528 2002-01-08  Dale Johannesen  <dalej@apple.com>
2529
2530         * config/rs6000/rs6000.md: Add missing int register
2531         target case to movdf_low.
2532
2533 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
2534
2535         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
2536         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
2537         (cppinit.o): Depend on except.h.
2538         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
2539         s-specs): New rules.
2540
2541         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
2542         Don't create specs.h/options.h/gencheck.h here.  Remove
2543         unnecessary variable settings from last argument of AC_OUTPUT.
2544         * config.in, configure: Regenerate.
2545         * intl.c: Hardcode package name as "gcc".
2546
2547         * cppinit.c: Include except.h.
2548         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2549         appropriate.
2550         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2551         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2552         (!)USING_SJLJ_EXCEPTIONS.
2553         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2554
2555 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
2556
2557         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2558         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2559         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2560         documentation of obsolete macros.
2561         * system.h: Poison these macros.
2562         * config/d30v/d30v.h, config/ns32k/encore.h,
2563         config/stormy16/stormy16.h: Remove definitions and commented out
2564         definitions of obsolete macros.
2565
2566 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
2567
2568         * objc/objc-act.c (handle_class_ref): Mark the declaration of
2569         %sobjc_class_ref_%s as used - to prevent unwanted compiler
2570         warnings.
2571
2572 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
2573
2574         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2575         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2576         to insn adjusting stack/frame pointer.
2577         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2578         accept operands that cause the insn to be non-splittable.
2579
2580 2002-01-08  Graham Stott  <grahams@redhat.com>
2581
2582         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2583         (C_TYPE_FIELDS_VOLATILE): Likewise.
2584         (C_TYPE_BEING_DEFINED): Likewise.
2585         (C_IS_RESERVED_WORD): Likewise.
2586         (C_TYPE_VARIABLE_SIZE): Likewise.
2587         (C_DECL_VARIABLE_SIZE): Likewise.
2588         (C_MISSING_PROTOTYPE_WARNED): Likewise.
2589         (C_SET_EXP_ORIGINAL_CODE): Likewise.
2590         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2591         parenthesis.
2592         (C_DECL_ANTICIPATED): Likewise.
2593         (c_build_type_variant): Add parenthesis.
2594
2595 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
2596
2597         * gcc.c (option_map): Remove --version.
2598         (process_command): Handle -fversion following the GNU Coding
2599         Standards.  Partially addresses PR other/704.
2600
2601 2002-01-08  Graham Stott  <grahams@redhat.com>
2602
2603         * combine.c (combine_instructions): Fix typo.
2604
2605 2002-01-08  Graham Stott  <grahams@redhat.com>
2606
2607         * debug.h: Use "tree" and "rtx" throughout.
2608
2609         * debug.c: Likewise.
2610
2611 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
2612
2613         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2614         constant pool, use the pool's version of the symbol instead.
2615
2616 2002-01-07  Richard Henderson  <rth@redhat.com>
2617
2618         * regrename.c (find_oldest_value_reg): Ignore the value chain if
2619         the original register was copied in a mode with a fewer number of
2620         hard registers than the desired mode.
2621         (copyprop_hardreg_forward_1): Likewise.
2622         (debug_value_data): Fix loop test.
2623         * toplev.c (parse_options_and_default_flags): Reenable
2624         -fcprop-registers at -O1.
2625
2626 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
2627
2628         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2629         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2630
2631         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2632         predicates.
2633
2634         * config/rs6000/rs6000.md: Add altivec predicate patterns.
2635
2636 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2637
2638         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2639         (pa_output_function_prologue): Output local label at the beginning of
2640         the prologue when profiling.
2641         (hppa_profile_hook): Use the local label rather than the function label.
2642         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2643
2644 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
2645
2646         * config/rs6000/rs6000.c (print_operand): Remove extra space.
2647         (altivec_expand_unop_builtin): Fix thinko.
2648         (altivec_expand_binop_builtin): Same.
2649         (altivec_expand_ternop_builtin): Same.
2650         (altivec_expand_builtin): Same.
2651
2652 2002-01-07  Richard Henderson  <rth@redhat.com>
2653
2654         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2655
2656 2002-01-07  Jason Merrill  <jason@redhat.com>
2657
2658         * unwind-dw2.c (execute_cfa_program): Use < again.
2659
2660 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
2661
2662         * predict.c (combine_predictions_for_insn): Avoid division by zero.
2663
2664 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
2665
2666         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2667         Don't allow -1 - x -> ~x simplifications in the first pass.
2668
2669 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
2670
2671         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2672         arguments.
2673         (altivec_expand_binop_builtin): Same.
2674         (altivec_expand_unop_builtin): Same.
2675         (print_operand): Fix typo.
2676         (bdesc_1arg): Add vupk* variants.
2677
2678         * rs6000.h (rs6000_builtins): Add vupk* enums.
2679
2680         * rs6000.md: Add altivec_vupk* variants.
2681
2682 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2683
2684         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2685         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2686         and last update dates.
2687
2688 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
2689
2690         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2691
2692 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2693
2694         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2695         * config/avr/avr.h (CPP_SPEC): Likewise.
2696         (LINK_SPEC): Likewise.
2697         (CRT_BINUTILS_SPECS): Likewise.
2698         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2699         * doc/invoke.texi (AVR Options): Document them.
2700
2701 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
2702
2703         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2704         LABEL_NUSES.
2705
2706 2002-01-07  Graham Stott  <grahams@redhat.com>
2707
2708         * config/i386/i386.h: Update copyright date.
2709         (HALF_PIC_PTR): Add parenthesis.
2710         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2711         (CONSTANT_ALIGNMENT): Add parenthesis.
2712         (DATA_ALIGNMENT): Likewise.
2713         (LOCAL_ALIGNMENT): Likewise.
2714         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2715         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2716         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2717         (HARD_REGNO_NREGS): Add paranethesis.
2718         (VALID_SSE_REG_MODE): Whitespace.
2719         (VALID_MMX_REG_MODE): Whitespace.
2720         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2721         (ix86_hard_regno_mode_ok): Add parenthesis.
2722         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2723         (RETURN_IN_MEMORY): Whitespace.
2724         (N_REG_CLASSES): Add parenthesis.
2725         (INTEGER_CLASS_P): Add parenthesis and wrap.
2726         (FLOAT_CLASS_P): Likewise.
2727         (SSE_CLASS_P): Likewise.
2728         (MMX_CLASS_P): Likewise.
2729         (MAYBE_INTEGER_CLASS_P): Likewise.
2730         (MAYBE_FLOAT_CLASS_P): Likewise.
2731         (MAYBE_SSE_CLASS_P): Likewise.
2732         (MAYBE_MMX_CLASS_P): Likewise.
2733         (Q_CLASS_P): Likewise.
2734         (GENERAL_REGNO_P): Uppercase macro parameter.
2735         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2736         (FP_REGNO_P): Likewise.
2737         (ANY_FP_REGNO_P): Uppercase macro parameter.
2738         (SSE_REGNO_P): Likewise.
2739         (SSE_REGNO): Likewise.
2740         (SSE_REG_P): Likewise.
2741         (SSE_FLOAT_MODE_P): Likewise.
2742         (MMX_REGNO_P): Likewise.
2743         (MMX_REG_P):Likewise.
2744         (STACK_REG_P): Likewise.
2745         (NON_STACK_REG_P): Likewise.
2746         (STACK_TOP_P): Likewise.
2747         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2748         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2749         (SECONDARY_MEMORY_NEEDED): Likewise.
2750         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2751         (MD_ASM_CLOBBERS): Whitespace and wrap.
2752         (MUST_PASS_IN_STACK): Whitespace and wrap.
2753         (RETURN_POPS_ARGS): Add parenthesis.
2754         (INIT_CUMULATIVE_ARGS): Likewise.
2755         (FUNCTION_ARG): Likewise.
2756         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2757         (SETUP_INCOMING_VARARGS): Likewise.
2758         (BUILD_VA_LIST_TYPE):  Add parenthesis.
2759         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2760         parenthsis.
2761         (EXPAND_BUILTIN_VA_ARG): Likewise.
2762         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2763         (INITIALIZE_TRAMPOLINE): Add parenthesis.
2764         (INITIAL_ELIMINATION_OFFSET): Likewise.
2765         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2766         (REGNO_OK_FOR_BASE_P): Likewise.
2767         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2768         (REGNO_OK_FOR_DIREG_P): Likewise.
2769         (REG_OK_FOR_INDEX_P): Whitespace.
2770         (REG_OK_FOR_BASE_P): Whitespace.
2771         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2772         parenthesis.
2773         (FIND_BASE_TERM): Fix typo.
2774         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
2775         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2776         (SYMBOLIC_CONST; Whitespace.
2777         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
2778         (ENCODE_SECTION_INFO): Whitespace.
2779         (FINALIZE_PIC): Remove do { ... } while (0).
2780         (PROMOTE_MODE): Wrap in do { ... } while (0).
2781         (CONST_COSTS): Whitespace.
2782         (RTX_COSTS): Add paramethesis, whitespace and wrap.
2783         (REGISTER_MOVE_COST): Add parenthesis.
2784         (MEMORY_MOVE_COST): Likewise.
2785         (EXTRA_CC_MODES): Whitespace.
2786         (SELECT_CC_MODE): Add parenthesis and whitespace.
2787         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2788         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2789         (ASM_OUTPUT_LABEL): Add paramethesis.
2790         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2791         (ASM_OUTPUT_REG_POP): Likewise.
2792         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2793         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2794
2795         * config/i386/i386.c: Update copyright.
2796         (CHECK_STACK_LIMIT): Add parenthesis.
2797         (AT_BP): Uppercase macro parameter.
2798         (x86_64_int_parameter_registers): Constify.
2799         (x86_64_int_return_registers): Likewise.
2800         (ix86_compare_op0): Use rtx.
2801         (construct_container): Constify INTREG parameter.
2802         (function_arg): Use rtx.
2803
2804         * diagnostic.h: Update copyright date.
2805         (output_buffer_state): Add parenthesis.
2806         (output_buffer_format_args): Likewise.
2807
2808         * combine.c (combine_instructions): Replace XEXP (links, 0)
2809         with link.
2810
2811 2002-01-06  H.J. Lu <hjl@gnu.org>
2812
2813         * cfgcleanup.c (thread_jump): Fix 2 typos.
2814
2815 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
2816
2817         * config.gcc: Add support for --enable-altivec.
2818
2819 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2820
2821         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2822
2823 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
2824
2825         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2826         __objc_class_name_*.
2827
2828 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2829
2830         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2831
2832 2002-01-06  Richard Henderson  <rth@redhat.com>
2833
2834         * reorg.c (emit_delay_sequence): Remove death notes, not merely
2835         nop them out.  Increment label reference count for REG_LABEL.
2836         (fill_slots_from_thread): Frob label reference count around
2837         delete_related_insns.
2838
2839 2002-01-05  Richard Henderson  <rth@redhat.com>
2840
2841         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2842         jump threading.
2843
2844 2002-01-05  Richard Henderson  <rth@redhat.com>
2845
2846         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2847         * integrate.c (output_inline_function): Likewise.
2848         * toplev.c (rest_of_compilation): Do it here instead.  Move call
2849         to remove_unnecessary_notes after emitting abstract instance.
2850         Force an emitted nested function to have its parent emited as well.
2851         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2852         for null.
2853         (rtl_for_decl_location): Do not look at reload data structures
2854         before reload has run.
2855
2856 2002-01-05  Kazu Hirata  <kazu@hxi.com>
2857
2858         * cse.c: Fix formatting.
2859         * dwarf2asm.c: Likewise.
2860         * dwarf2out.c: Likewise.
2861         * explow.c: Likewise.
2862         * expmed.c: Likewise.
2863         * function.c: Likewise.
2864         * gcov.c: Likewise.
2865         * gencheck.c: Likewise.
2866         * genrecog.c: Likewise.
2867         * ggc-common.c: Likewise.
2868         * ggc-page.c: Likewise.
2869         * global.c: Likewise.
2870
2871 2002-01-05  Kazu Hirata  <kazu@hxi.com>
2872
2873         * combine.c: Fix formatting.
2874
2875 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
2876
2877         PR middle-end/1557
2878         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2879
2880 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
2881
2882         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2883         as 1 for __powerpc64__ as well.
2884
2885         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2886
2887         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2888         return it.
2889
2890 2002-01-05  Daniel Berlin  <dan@dberlin.org>
2891
2892         * lcm.c: Revert change, due to performance regression it causes on
2893         SPEC because it's slightly more conservative (sigh, I hate
2894         edge-based LCM).
2895
2896 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
2897
2898         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2899
2900 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
2901
2902         * doc/cppinternals.texi: Update.
2903
2904 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
2905
2906         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2907         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2908         negatives.
2909         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
2910         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2911         kludge for pre-october-14th mmix versions to handle new-found bug
2912         with PUSHJ/PUSHGO and the register stack.
2913         * config/mmix/mmix.h (struct machine_function): Rename member
2914         has_call_value_without_parameters to has_call_without_parameters.
2915         All referers changed.
2916         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2917         TARGET_MASK_BRANCH_PREDICT): New macros.
2918         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2919         -mno-reg-stack-fill-bug-workaround.
2920         * config/mmix/mmix.md ("call"): Set struct machine member
2921         has_call_without_parameters.
2922
2923 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
2924
2925         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2926
2927 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
2928
2929         * cfgcleanup.c: Include tm_p.h
2930         (mark_effect): Fix handling of hard register; fix handling of SET
2931
2932 2002-01-04  Kazu Hirata  <kazu@hxi.com>
2933
2934         * config/h8300/h8300.md (anonymous patterns): Check that
2935         operands are registers before using REGNO on them.
2936
2937 2002-01-03  Roland McGrath  <roland@frob.com>
2938
2939         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2940
2941 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
2942
2943         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2944         * c-common.h (genrtl_expr_stmt_value): Likewise.
2945         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2946         (expand_expr_stmt_value): Add maybe_last argument.
2947         Don't warn about statement with no effect if it is the last statement
2948         in expression statement.
2949         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2950         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2951         expand_expr_stmt_value.
2952         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2953         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2954         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2955         as maybe_last to expand_expr_stmt_value.
2956
2957 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
2958
2959         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2960         be passed in, do not build it.
2961         (c_begin_if_stmt): New function.
2962         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2963         * c-common.h (c_expand_start_cond): Update prototype.
2964         (c_begin_if_stmt): Prototype new function.
2965         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2966         * c-parse.in (if_prefix): Use c_begin_if_stmt,
2967         c_begin_while_stmt and c_finish_while_stmt_cond.
2968
2969 2002-01-04  William Cohen  <wcohen@redhat.com>
2970
2971         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2972         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2973         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2974         * config/pa/som.h (ASM_FILE_START): Likewise.
2975
2976 2002-01-04  Daniel Berlin  <dan@cgsoftware.com>
2977
2978         * lcm.c: Include df.h.
2979         Add available_transfer_function prototype.
2980         (compute_available): Rework to use iterative dataflow framework.
2981         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2982         with bb_info in df.h
2983         (available_transfer_function): New function.
2984
2985         * Makefile.in (lcm.o): add df.h to dependencies.
2986
2987 2002-01-04  Richard Henderson  <rth@redhat.com>
2988
2989         * config/alpha/alpha.c (some_operand): Accept HIGH.
2990         (input_operand): Likewise; accept simple references to globals.
2991         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2992         (alpha_const_double_ok_for_letter_p): Likewise.
2993         (alpha_extra_constraint): Likewise.
2994         (alpha_preferred_reload_class): Likewise.  Do not force
2995         symbolic constants to memory.
2996         (alpha_legitimate_address_p): Accept simple references
2997         to small_symbolic_operand.
2998         (alpha_legitimize_address): New arg scratch.  Be prepared to be
2999         called when no_new_pseudos.  Emit simple symbolic references.
3000         Split integers into low, high, and rest.
3001         (alpha_expand_mov): Use alpha_legitimize_address.
3002         (some_small_symbolic_mem_operand): New.
3003         (split_small_symbolic_mem_operand): New.
3004         * config/alpha/alpha-protos.h: Update.
3005         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
3006         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
3007         (EXTRA_CONSTRAINT): Likewise.
3008         (PREFERRED_RELOAD_CLASS): Likewise.
3009         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
3010         (PREDICATE_CODES): Update.
3011         * config/alpha/alpha.md: New post-reload splitters to convert
3012         simplfied symbolic operands to the form that references $29.
3013         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
3014         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
3015
3016 2002-01-03  Richard Henderson  <rth@redhat.com>
3017
3018         * local-alloc.c (function_invariant_p): Update commentary.
3019
3020 2002-01-04  H.J. Lu <hjl@gnu.org>
3021
3022         * toplev.c (rest_of_compilation): Fix a typo when calling
3023         cleanup_cfg.
3024
3025 2002-01-03  Kazu Hirata  <kazu@hxi.com>
3026
3027         * c-common.c: Fix formatting.
3028         * diagnostic.c: Likewise.
3029         * doloop.c: Likewise.
3030         * dwarf2out.c: Likewise.
3031
3032 2002-01-03  Kazu Hirata  <kazu@hxi.com>
3033
3034         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
3035         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
3036
3037 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
3038
3039         * cpperror.c: Update comments and copyright.
3040         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
3041         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
3042
3043 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3044
3045         * collect2.c (main): Use strcmp when testing for "-shared".
3046
3047 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
3048
3049         * cppmacro.c: Don't include intl.h.  Update comments.
3050         (new_number_token): Allocate enough buffer for 64-bit unsigned
3051         integers; update prototype.
3052         * cppmain.c: Update comments.
3053
3054 2002-01-03  William Cohen  <wcohen@redhat.com>
3055
3056         * function.h (struct function): Add profile.
3057         (current_function_profile): New.
3058         doc/extend.texi: Update documentation.
3059         * final.c (final_start_function): Use current_function_profile
3060         instead of profile_flag.
3061         (profile_after_prologue): Likewise.
3062         * function.c (expand_function_start): Likewise.
3063         (expand_function_start): Likewise.
3064         * config/alpha/alpha.c (direct_call_operand):
3065         (alpha_does_function_need_gp): Likewise.
3066         (alpha_expand_prologue): Likewise.
3067         * config/arm/arm.c (arm_expand_prologue): Likewise.
3068         thumb_expand_prologue: Likewise.
3069         * config/d30v/d30v.c (d30v_stack_info): Likewise.
3070         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
3071         (fr30_expand_prologue): Likewise.
3072         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
3073         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
3074         * config/i386/i386.h (FINALIZE_PIC): Likewise.
3075         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
3076         * config/i960/i960.c (i960_output_function_prologue): Likewise.
3077         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
3078         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
3079         (m32r_expand_prologue): Likewise.
3080         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
3081         (m88k_expand_prologue): Likewise.
3082         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
3083         * config/mips/mips.c (compute_frame_size): Likewise.
3084         (mips_expand_prologue): Likewise.
3085         (mips_can_use_return_insn): Likewise.
3086         * config/pa/elf.h (ASM_FILE_START): Likewise.
3087         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
3088         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
3089         * config/pa/som.h (ASM_FILE_START): Likewise.
3090         * config/romp/romp.c (romp_using_r14): Likewise.
3091         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
3092         (rs6000_stack_info): Likewise.
3093         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
3094         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
3095         * config/v850/v850.c (compute_register_save_size): Likewise.
3096
3097 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
3098
3099         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
3100         gen_lowpart_common fails, use gen_lowpart_SUBREG.
3101
3102 2002-01-03  Turly O'Connor  <turly@apple.com>
3103
3104         * darwin.c (machopic_output_possible_stub_label): Don't generate
3105         stub routines for pseudo-stubs which we've just defined.
3106
3107 2002-01-03  Kazu Hirata  <kazu@hxi.com>
3108
3109         * builtins.c: Fix formatting.
3110         * c-typeck.c: Likewise.
3111         * combine.c: Likewise.
3112         * expr.c: Likewise.
3113         * loop.c: Likewise.
3114
3115 2002-01-03  Andreas Schwab  <schwab@suse.de>
3116
3117         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
3118         and return true if _cpp_push_next_buffer pushed a new include
3119         file.
3120         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
3121         _cpp_pop_file_buffer did not push a new file.
3122         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
3123
3124 2002-01-02  Eric Christopher  <echristo@redhat.com>
3125
3126         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
3127         FIND_REG_INC_NOTE call. Update copyright.
3128         * loop.c (canonicalize_condition): Ditto.
3129         * reorg.c (delete_scheduled_jump): Ditto.
3130
3131 2002-01-03  Kazu Hirata  <kazu@hxi.com>
3132
3133         * gcse.c: Fix formatting.
3134
3135 2002-01-03  Graham Stott  <grahams@redhat.com>
3136
3137         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
3138         forward defs for struct tags rtx_def, union_tree, rtvec_def
3139         also output corresponding typedefs for rtx, tree, and rtvec.
3140
3141         * system.h: Move forward defs for struct tags rtx_def, union_tree,
3142         rtvec_def along with corresponding typedefs for rtx, tree, and
3143         rtvec to config.h, hconfig.h, tconfig.h.
3144
3145 2002-01-03  Graham Stott  <grahams@redhat.com>
3146
3147         * tree.h: Update copyright date.
3148         (IS_EXPR_CODE_CLASS): Add parenthesis.
3149         (TREE_SET_CODE): Add whitespace.
3150         (TREE_CHECK): Add parenthesis.
3151         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
3152         (CST_OR_CONSTRUCTOR_CHECK):
3153         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
3154         (TREE_SYMBOL_REFERENCED): Whitespace.
3155         (INT_CST_LT): Likewise.
3156         (INT_CST_LT_UNSIGNED): Likewise.
3157         (tree_real_cst): Unwrap comment.
3158         (tree_string): Likewise.
3159         (tree_complex): Likewise.
3160         (IDENTIFIER_POINTER): correct cast.
3161         (SAVE_EXPR_CONTEXT): Whitespace.
3162         (EXPR_WFL_FILENAME_NODE): Likewise.
3163         (EXPR_WFL_FILENAME): Remove parenthesis.
3164         (DECL_ORIGIN): Add parenthesis.
3165         (DECL_FROM_INLINE): Use NULL_TREE.
3166         (build_int_2): Whitespace.
3167         (build_type_variant): Add parenthesis.
3168
3169         * gcc/jcf-parse.c: Update copyright date.
3170         (yyparse): Constify resource_filename.
3171
3172 2002-01-03  Graham Stott  <grahams@redhat.com>
3173
3174         * rtl.h: Update copyright date.
3175         (RTL_CHECK1): Wrap long line.
3176         (RTL_CHECK2): Likewise.
3177         (RTL_CHECKC1): Wrap long line and whitespace.
3178         (RTL_CHECKC2): Likewise.
3179         (XWINT): Whitespace.
3180         (XINT): Likewise.
3181         (XSTR): Likewise.
3182         (XEXP): Likewise.
3183         (XVEC): Likewise.
3184         (XMODE): Likewise.
3185         (XBITMAP): Likewise.
3186         (XTREE): Likewise.
3187         (XBBDEF): Likewise.
3188         (XTMPL): Likewise.
3189         (X0WINT): Likewise.
3190         (X0INT):Likewise.
3191         (X0UINT): Likewise.
3192         (X0STR): Likewise.
3193         (X0EXP): Likewise.
3194         (X0VEC): Likewise.
3195         (X0MODE): Likewise.
3196         (X0BITMAP): Likewise.
3197         (X0TREE): Likewise.
3198         (X0BBDEF): Likewise.
3199         (X0ADVFLAGS): Likewise.
3200         (X0CSELIB): Likewise.
3201         (X0MEMATTR): Likewise.
3202         (XCWINT): Likewise.
3203         (XCINT): Likewise.
3204         (XCUINT): Likewise.
3205         (XCSTR): Likewise.
3206         (XCEXP): Likewise.
3207         (XCVEC): Likewise.
3208         (XCMODE): Likewise.
3209         (XCBITMAP): Likewise.
3210         (XCTREE): Likewise.
3211         (XCBBDEF): Likewise.
3212         (XCADVFLAGS): Likewise.
3213         (XCCSELIB): Likewise.
3214         (XC2EXP): Likewise.
3215         (INSN_UID): Likewise.
3216         (PREV_INSN): Likewise.
3217         (PATTERN): Likewise.
3218         (INSN_CODE): Likewise.
3219         (PUT_REG_NOTE_KIND): Likewise.
3220         (CODE_LABEL_NUMBER): Likewise.
3221         (NOTE_SOURCE_FILE): Likewise.
3222         (NOTE_BLOCK): Likewise.
3223         (NOTE_EH_HANDLER): Likewise.
3224         (NOTE_RANGE_INFO): Likewise.
3225         (NOTE_LIVE_INFO): Likewise.
3226         (NOTE_BASIC_BLOCK): Likewise.
3227         (NOTE_EXPECTED_VALUE): Likewise.
3228         (NOTE_LINE_NUMBER): Likewise.
3229         (LABEL_NAME): Likewise.
3230         (LABEL_NUSES): Likewise.
3231         (LABEL_ALTERNATE_NAME): Likewise.
3232         (ADDRESSOF_DECL): Likewise.
3233         (JUMP_LABEL): Likewise.
3234         (LABEL_NEXTREF): Likewise.
3235         (REGNO): Likewise.
3236         (ORIGINAL_REGNO: Likewise.
3237         (HARD_REGISTER_NUM_P): Add parenthesis.
3238         (SUBREG_REG): Whitespace.
3239         (SUBREG_BYTE): Likewise.
3240         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
3241         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
3242         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
3243         (ASM_OPERANDS_INPUT_VEC): Likewise.
3244         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
3245         (ASM_OPERANDS_INPUT): Likewise.
3246         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
3247         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
3248         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
3249         (ASM_OPERANDS_INPUT_MODE): Likewise.
3250         (ASM_OPERANDS_SOURCE_FILE): Likewise.
3251         (ASM_OPERANDS_SOURCE_LINE): Likewise.
3252         (MEM_SET_IN_STRUCT_P): Minor reformat.
3253         (TRAP_CONDITION): Whitespace.
3254         (TRAP_CODE): Likewise.
3255         (COND_EXEC_TEST): Likewise.
3256         (COND_EXEC_CODE): Likewise.
3257         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
3258         (PHI_NODE_P): Add parenthesis.
3259         (plus_constant): Whitespace and add parenthesis.
3260
3261 2002-01-03  Kazu Hirata  <kazu@hxi.com>
3262
3263         * config/avr/avr.c: Fix comment typos.
3264         * config/c4x/c4x.md: Likewise.
3265         * config/dsp16xx/dsp16xx.h: Likewise.
3266         * config/dsp16xx/dsp16xx.md: Likewise.
3267         * config/i386/i386.md: Likewise.
3268         * config/ia64/ia64.c: Likewise.
3269         * config/m32r/m32r.h: Likewise.
3270         * config/m68hc11/m68hc11.md: Likewise.
3271         * config/mmix/mmix.c: Likewise.
3272         * config/mn10200/mn10200.c: Likewise.
3273         * config/romp/romp.c: Likewise.
3274         * config/sh/sh.c: Likewise.
3275         * config/stormy16/stormy16.c: Likewise.
3276         * config/stormy16/stormy16.h: Likewise.
3277         * config/stormy16/stormy16.md: Likewise.
3278
3279 2002-01-03  Graham Stott  <grahams@redhat.com>
3280
3281         * loop.h: Update copyright date.
3282         (LOOP_MOVABLES): Fix typo.
3283         (LOOP_REGS): Likewise.
3284         (LOOP_IVS): Likewise.
3285
3286 2002-01-03  Graham Stott  <grahams@redhat.com>
3287
3288         * cppinit.c: Update copyright date.
3289         Don't include output.h
3290         * Makefile.in: Update copyright date.
3291         Update dependency.
3292
3293 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3294
3295         PR c/5226
3296         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
3297         (-pthread) Add to RS/6000 options.
3298
3299 2002-01-02  Kazu Hirata  <kazu@hxi.com>
3300
3301         * except.c: Fix comment typos.
3302         * loop.c: Likewise.
3303         * varasm.c: Likewise.
3304         * doc/tm.texi: Fix a typo.
3305
3306 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
3307
3308         * c-typeck.c (output_init_element): Allow initializing static storage
3309         duration objects with compound literals.
3310
3311 2002-01-02  Richard Henderson  <rth@redhat.com>
3312
3313         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
3314         after abusing it.
3315
3316 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3317
3318         * gcc.c (default_compilers): Const-ify.
3319         * mips-tdump.c (stab_names): Likewise.
3320         * mips-tfile.c (map_coff_types, map_coff_storage,
3321         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
3322         pseudo_ops_t, pseudo_ops): Likewise.
3323         * protoize.c (default_include): Likewise
3324
3325         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
3326         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
3327         Add array size in declaration.
3328         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
3329         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
3330         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
3331         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
3332         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
3333         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
3334         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
3335         emtens, make_nan): Const-ify.
3336         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
3337         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
3338
3339 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
3340
3341         * config.gcc (ia64-*-*): Set extra_headers.
3342         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
3343         * config/alpha/t-osf: Remove.
3344         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
3345
3346 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
3347
3348         * config/rs6000/t-aix43: Revert previous change.
3349
3350 2002-01-02  Jason Merrill  <jason@redhat.com>
3351
3352         * c-decl.c (c_expand_body): Call outlining_inline_function when
3353         emitting an inline function out of line.
3354
3355 2002-01-02  Richard Henderson  <rth@redhat.com>
3356
3357         * dwarf2out.c (limbo_die_node): Add created_for member.
3358         (new_die): New argument created_for.  Update all callers.
3359         (mark_limbo_die_list): New.
3360         (dwarf2out_init): Register limbo_die_list as a root.
3361         (dwarf2out_finish): Force insert limbo dies into their function
3362         context.
3363
3364 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
3365
3366         PR c++/5089
3367         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
3368
3369 2002-01-02  Kazu Hirata  <kazu@hxi.com>
3370
3371         * config/h8300/fixunssfsi.c: Update copyright.
3372         Fix comment typos.
3373         Fix formatting.
3374         * config/h8300/h8300.c: Update copyright.
3375         Eliminate warnings.
3376
3377 2002-01-02  Kazu Hirata  <kazu@hxi.com>
3378
3379         * config/romp/romp.c: Fix comment formatting.
3380         * config/romp/romp.h: Likewise.
3381         * config/romp/romp.md: Likewise.
3382         * config/s390/s390.c: Likewise.
3383         * config/stormy16/stormy16.c: Likewise.
3384         * config/stormy16/stormy16.h: Likewise.
3385
3386 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
3387
3388         * c-common.h (genrtl_expr_stmt_value): Declare.
3389         * c-semantics.c (genrtl_goto_stmt): Redirect to...
3390         (genrtl_goto_stmt_value): ... this new function.  Pass new
3391         argument down to expand_expr_stmt_value, taking
3392         TREE_ADDRESSABLE into account.
3393         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
3394         STMT_EXPR as addressable, i.e., one whose result we want.
3395         * expr.c (expand_expr): Don't save expression statement value
3396         of labeled_blocks or loop_exprs.
3397         * stmt.c (expand_expr_stmt): Redirect to...
3398         (expand_expr_stmt_value): ... this new function.  Use new
3399         argument to tell whether to save expression value.
3400         (expand_end_stmt_expr): Reset last_expr_type and
3401         last_expr_value if we don't have either.
3402         * tree-inline.c (declare_return_variable): Mark its use
3403         statement as addressable.
3404         * tree.h: Document new use of TREE_ADDRESSABLE.
3405         (expand_expr_stmt_value): Declare.
3406
3407 2002-01-01  Tom Rix  <trix@redhat.com>
3408
3409         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
3410         rs6000_emit_allocate_stack.
3411
3412 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3413
3414         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
3415         ${srcdir}/ginclude/ to every entry in extra_headers.
3416         * configure: Regenerate.
3417         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
3418         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
3419         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
3420         * ginclude/proto.h: Rename to config/convex/proto.h.
3421
3422 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3423
3424         * attribs.c (handle_vector_size_attribute): Use host_integerp
3425         and tree_int_cst; remove warnings.
3426         * caller-save.c (insert_restore): Add cast to get rid of warning.
3427         (insert_save): Likewise.
3428         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
3429         * regmove.c (find_matches): Add temporary var to kill a warning.
3430
3431 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
3432
3433         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
3434         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
3435         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
3436         (vms-dwarf2eh.o): Add Makefile rule.
3437         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
3438         * config/alpha/vms-dwarf2eh.asm: New file.
3439
3440         * gcc.c (delete_if_ordinary): Delete all versions.
3441
3442 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
3443
3444         * config/mmix/mmix.md: Update FIXME to not mention
3445         define_constants.
3446         (MMIX_rJ_REGNUM): New define_constants constant.
3447         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
3448         "*movdicc_real"): Adjust contraints formatting.
3449         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
3450         for branch prediction.
3451         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
3452         output template.
3453         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
3454         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
3455         number.  Delete related FIXMEs.
3456         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
3457         from number to MMIX_rJ_REGNUM.
3458         (TARGET_MASK_BRANCH_PREDICT): New.
3459         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
3460         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
3461         value.  Add -mbranch-predict and -mno-branch-predict.
3462         (TARGET_VERSION): Drop date.
3463         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
3464         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
3465         for finding out global symbols.
3466         (mmix_asm_output_labelref): Revert condition for global symbol.
3467         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
3468         (mmix_print_operand_punct_valid_p): A '+' is valid.
3469
3470 See ChangeLog.6 for earlier changes.