OSDN Git Service

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