OSDN Git Service

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