OSDN Git Service

* unwind-dw2.c: Fix formatting.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-01-21  Kazu Hirata  <kazu@hxi.com>
2
3         * unwind-dw2.c: Fix formatting.
4         * unwind-dw2-fde.c: Likewise.
5         * unwind-dw2-fde.h: Likewise.
6         * unwind-pe.h: Likewise.
7         * varasm.c: Likewise.
8         * varray.h: Likewise.
9
10 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
11
12         Remove workaround for register stack overwrite bug in mmix.
13         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
14         support for TARGET_REG_STACK_FILL_BUG.
15         * config/mmix/mmix.h: Remove member has_call_without_parameters.
16         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
17         Delete.
18         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
19         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
20         -mno-reg-stack-fill-bug-workaround.
21         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
22         machine member has_call_without_parameters.
23         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
24         -mreg-stack-fill-bug-workaround and
25         -mno-reg-stack-fill-bug-workaround.
26         (MMIX Options): Ditto.
27
28 2002-01-21  Kazu Hirata  <kazu@hxi.com>
29
30         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
31         as appropriate.
32         Remove redundant code.
33
34 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
35
36         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
37         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
38         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
39         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
40         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
41         out target macro definitions and non-target-specific comments
42         mostly taken from old versions of the manual.
43
44 2002-01-20  Kazu Hirata  <kazu@hxi.com>
45
46         * config/h8300/h8300.h: Fix comment formatting.
47         * config/ia64/aix.h: Likewise.
48         * config/ia64/ia64-protos.h: Likewise.
49         * config/ia64/ia64.c: Likewise.
50         * config/ia64/ia64.h: Likewise.
51         * config/ia64/ia64intrin.h: Likewise.
52         * config/ia64/linux.h: Likewise.
53         * config/ia64/unwind-aix.c: Likewise.
54         * config/ia64/unwind-ia64.c: Likewise.
55
56 2002-01-20  Kazu Hirata  <kazu@hxi.com>
57
58         * config/h8300/h8300.c: Revise comments about shift code.
59
60 2002-01-20  Kazu Hirata  <kazu@hxi.com>
61
62         * config/h8300/h8300.c (function_arg): Update a comment.
63
64 2002-01-20  Kazu Hirata  <kazu@hxi.com>
65
66         * config/h8300/h8300.md: Update the comments at the beginning
67         of the file.
68
69 2002-01-20  Kazu Hirata  <kazu@hxi.com>
70
71         * config/i370/i370.c: Fix comment formatting.
72         * config/i370/i370.h: Likewise.
73         * config/i370/i370.md: Likewise.
74         * config/i370/linux.h: Likewise.
75
76 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
77
78         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
79
80         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
81         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
82         in incomplete case.
83
84 2002-01-20  Graham Stott  <grahams@redhat.com>
85
86         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
87
88 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
89
90         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
91
92 2002-01-19  Tom Rix  <trix@redhat.com>
93
94         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
95
96 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
97
98         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
99
100         * function.c (assign_stack_local_1): Adjust x_frame_offset with
101         STARTING_FRAME_PHASE.
102         (STARTING_FRAME_PHASE): New.
103         (instantiate_virtual_regs): Check saneness of
104         STARTING_FRAME_PHASE.
105
106         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
107
108 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
109
110         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
111
112 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
113
114         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
115         be used for bootstrapping GCC 3.0.
116
117 2002-01-18  Kazu Hirata  <kazu@hxi.com>
118
119         * config/h8300/h8300.md: Fix an insn length.
120
121 2002-01-18  Kazu Hirata  <kazu@hxi.com>
122
123         * bitmap.h: Fix comment formatting.
124         * combine.c: Likewise.
125         * cppfiles.c: Likewise.
126         * c-pragma.h: Likewise.
127         * c-typeck.c: Likewise.
128         * df.c: Likewise.
129         * dwarf2out.c: Likewise.
130         * function.c: Likewise.
131         * gcc.c: Likewise.
132         * genattrtab.c: Likewise.
133         * gthr-win32.h: Likewise.
134         * haifa-sched.c: Likewise.
135         * predict.c: Likewise.
136         * rtlanal.c: Likewise.
137         * rtl.h: Likewise.
138         * unwind-dw2-fde.h: Likewise.
139         * unwind-pe.h: Likewise.
140         * vmsdbgout.c: Likewise.
141
142 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
143
144         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
145         if type_required and passed decl.
146
147 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
148
149         * config.gcc (cpu_type): Include altivec.h in powerpc
150         extra_headers.
151         Same for darwin.
152
153         * config/rs6000/altivec.h: New.
154
155 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
156
157         * doc/install.texi (*-ibm-aix*): Update assembler and exception
158         handling information.
159         * doc/trouble.texi (Interoperation): Add libstdc++ information
160         for AIX.
161         (Misunderstandings): Add template instantiation and static template
162         member information for AIX.
163
164 2002-01-17  Jason Merrill  <jason@redhat.com>
165
166         * dbxout.c (dbxout_type): Support const and volatile.
167
168         * except.c (add_partial_entry): Remove backwards compatibility code.
169         (end_protect_partials): Likewise.
170
171 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
172
173         * config/ia64/ia64.md (prologue_use): New.
174         * config/ia64/ia64.c (ia64_expand_prologue): Use
175         gen_prologue_use instead of gen_rtx_USE.
176         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
177         as CODE_FOR_pred_rel_mutex.
178         (ia64_sched_reorder2): Likewise.
179
180 2002-01-16  Eric Christopher  <echristo@redhat.com>
181
182         * config/mips/r3900.h: Reformat.
183         (SUBTARGET_CPP_SIZE_SPEC): Remove.
184         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
185         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
186         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
187         * config/mips/t-elf: Remove mips3 multilib.
188
189 2002-01-16  H.J. Lu <hjl@gnu.org>
190
191         * config/mips/linux.h: Include "mips/abi64.h".
192
193 2002-01-16  H.J. Lu <hjl@gnu.org>
194
195         * config/mips/t-linux: New.
196
197         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
198
199         * config/mips/linux.h: Don't include "gofast.h".
200         (INIT_SUBTARGET_OPTABS): Removed.
201
202 2002-01-16  Kazu Hirata  <kazu@hxi.com>
203
204         * config/h8300/h8300-protos.h: Replace emit_a_shift with
205         output_a_shift.
206         * config/h8300/h8300.c: Likewise.
207         * config/h8300/h8300.md: Likewise.
208
209 2002-01-16  Kazu Hirata  <kazu@hxi.com>
210
211         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
212         spaces after an opcode name.
213         (pushqi1_h8300hs): Likewise.
214         (pushhi1_h8300hs): Likewise.
215
216 2002-01-16  Kazu Hirata  <kazu@hxi.com>
217
218         * doc/extend.texi: Replace "option" with "attribute"
219         appropriately.
220
221 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
222
223         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
224         (and:DI () (const_int -8)).
225         (split_small_symbolic_mem_operand): Split
226         (mem (and:DI () (const_int -8)).
227
228 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
229
230         PR target/5309:
231         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
232         same way as TYPE_IMUL.
233         (ultrasparc_sched_reorder): Likewise.
234         * config/sparc/sparc.md (type): Add comment to update
235         ultrasparc_sched_reorder when making changes.
236
237 2002-01-16  Kazu Hirata  <kazu@hxi.com>
238
239         * doc/invoke.texi: Change the dump file name of block
240         reordering pass from 28.bbro to 29.bbro.
241         Mention -dk option.
242
243 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
244
245         * i386.md (minsf splitter): Fix pasto.
246
247 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
248
249         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
250         to frame pointer initialisation instruction.
251         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
252         initialisation instruction.
253         (soft_df_operand): Do not accept the IP register.
254         (nonimmediate_soft_df_operand): Do not accept the IP register.
255
256 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
257
258         PR target/5357:
259         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
260         MASK_V8 being both set.
261
262 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
263
264         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
265         insn for GOT register; add REG_MAYBE_DEAD notes instead.
266         config/s390/s390.md (call, call_value): Add GOT register to
267         CALL_INSN_FUNCTION_USAGE where needed.
268         (call_exp, call_value_exp): New.
269
270 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
271
272         * config/arm/arm.c: General formatting tidy up.
273
274 2002-01-16  Graham Stott  <grahams@redhat.com>
275
276         * calls.c (try_to_integrate): Use "(size_t)" intermediate
277         cast and when casting an integer literal to "rtx" pointer.
278         (expand_call): Likewise.
279         * flow.c (try_pre_increment): Likewise.
280         (find_use_as_address): Likewise.
281         * integrate.c (expand_iline_function): Likewise.
282         * regmove.c (try_auto_increment): Likewise.
283
284 2002-01-16  Graham Stott  <grahams@redhat.com>
285
286         * sched-rgn.c (passed): Use sbitmap_free.
287         (header): Likewise.
288         (inner): Likewise.
289         (in_queue): Likewise.
290         (in_stack): Likewise.
291
292 2002-01-15  Eric Christopher  <echristo@redhat.com>
293
294         * flow.c (propagate_one_insn): Change to use fatal_insn.
295
296 2002-01-15  Kazu Hirata  <kazu@hxi.com>
297
298         * expmed.c (extract_fixed_bit_field): Remove unused code.
299         * system.h: Poison SLOW_ZERO_EXTEND.
300         * doc/tm.texi: Remove.
301         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
302         * config/arm/arm.h: Likewise.
303         * config/avr/avr.h: Likewise.
304         * config/clipper/clipper.h: Likewise.
305         * config/convex/convex.h: Likewise.
306         * config/d30v/d30v.h: Likewise.
307         * config/dsp16xx/dsp16xx.h: Likewise.
308         * config/elxsi/elxsi.h: Likewise.
309         * config/fr30/fr30.h: Likewise.
310         * config/h8300/h8300.h: Likewise.
311         * config/i370/i370.h: Likewise.
312         * config/i386/i386.h: Likewise.
313         * config/m68k/m68k.h: Likewise.
314         * config/mips/mips.h: Likewise.
315         * config/ns32k/ns32k.h: Likewise.
316         * config/pdp11/pdp11.h: Likewise.
317         * config/pj/pj.h: Likewise.
318         * config/s390/s390.h: Likewise.
319         * config/sh/sh.h: Likewise.
320         * config/stormy16/stormy16.h: Likewise.
321         * config/v850/v850.h: Likewise.
322         * config/vax/vax.h: Likewise.
323         * config/we32k/we32k.h: Likewise.
324
325 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
326
327         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
328         (altivec_lvsl): Change constraint to b.
329         (altivec_lvsr): Same.
330         (altivec_lvebx): Same.
331         (altivec_lvehx): Same.
332         (altivec_lvewx): Same.
333         (altivec_lvxl): Same.
334         (altivec_lvx): Same.
335         (altivec_stvx): Add parallel.
336         (altivec_stvxl): Same.
337         (altivec_stvehx): Same.
338         (altivec_stvebx): Same.
339         (altivec_stvebx): Same.
340
341 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
342
343         * config.gcc: Change altivec.h to altivec-defs.h.
344
345         * config/rs6000/altivec.h: Delete.
346
347         * config/rs6000/altivec-defs.h: Add.
348
349 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
350
351         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
352         and UMOD modes.
353
354         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
355         less than or equal to eight bytes.
356
357         * vax.md (andsi3): Remove constraints and change SET destination
358         operand type to nonimmediate_operand.
359         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
360         when it is a CONST_INT.
361
362 2002-01-15  Jason Merrill  <jason@redhat.com>
363
364         * c-common.def (FILE_STMT): New code.
365         * c-common.c (statement_code_p): It's a statement.
366         * c-common.h (stmt_tree_s): Add x_last_filename.
367         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
368         (last_expr_filename): New macro.
369         * c-semantics.c (begin_stmt_tree): Initialize it.
370         (add_stmt): If the filename changed, also insert a
371         FILE_STMT.
372         (expand_stmt): Handle seeing one.
373
374 2002-01-15  Eric Christopher  <echristo@redhat.com>
375
376         * flow.c (propagate_one_insn): Add error message and print out
377         insn for debugging.
378
379 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
380
381         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
382         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
383         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
384         TRAMPOLINE_ALIGNMENT.
385         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
386         to be in bits.
387         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
388         PCC_BITFIELD_TYPE_MATTERS.
389         * config/interix.h (STDC_VALUE): Remove.  Use
390         STDC_0_IN_SYSTEM_HEADERS.
391         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
392         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
393         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
394
395 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
396
397         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
398         not work on this platform currently.
399
400 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
401
402         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
403         readonly_warning in _().
404
405 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
406
407         * gcc.c (delete_if_ordinary): Backout previous change.
408
409 2002-01-15  Kazu Hirata  <kazu@hxi.com>
410
411         * config/h8300/h8300.c (print_operand): Remove support for
412         unused operand characters.
413
414         * read-rtl.c: Fix formatting.
415         * real.c: Likewise.
416         * recog.c: Likewise.
417         * regclass.c: Likewise.
418         * regmove.c: Likewise.
419         * reg-stack.c: Likewise.
420         * reload1.c: Likewise.
421         * rtlanal.c: Likewise.
422
423 2002-01-15  Kazu Hirata  <kazu@hxi.com>
424
425         * config/i386/i386.c: Fix formatting.
426
427 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
428
429         * c-typeck.c (process_init_element): Don't save_expr
430         COMPOUND_LITERAL_EXPR if just its initializer will be used.
431
432 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
433
434         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
435         emit optional traceback table if optimize_size or TARGET_ELF.
436         * config/rs6000/rs6000.md (prefetch): New.
437
438 2002-01-15  Andreas Jaeger  <aj@suse.de>
439
440         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
441
442 2002-01-15  Kazu Hirata  <kazu@hxi.com>
443
444         * mips-tfile.c: Fix formatting.
445
446 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
447
448         * unroll.c (final_reg_note_copy): Fix previous commit.
449
450 2002-01-14  Kazu Hirata  <kazu@hxi.com>
451
452         * config/h8300/h8300-protos.h: Remove the prototype for
453         eq_operator.
454         * config/h8300/h8300.c (eq_operator): Remove.
455
456 2002-01-14  Richard Henderson  <rth@redhat.com>
457
458         * config/i386/i386.md (prefetch): Tidy.
459         (prefetch_3dnow): Fix locality operand.
460
461 2002-01-14  Richard Henderson  <rth@redhat.com>
462
463         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
464         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
465
466 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
467
468         * reload1.c (reload_combine): Pass reg_sum replacement through
469         copy_rtx in loop performing multiple changes.
470
471 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
472
473         * except.c (remove_unreachable_regions): New.
474         (free_eh_status): Clear exception_handler_labels.
475         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
476         (find_exception_handler_labels): Don't add the same label more than
477         once.
478         (remove_exception_handler_label): Don't die if
479         find_exception_handler_labels hasn't been called for the current
480         function yet.
481
482 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
483
484         * toplev.c (rest_of_compilation): Rebuild jump labels after
485         gcse.
486
487 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
488
489         * doc/extend.texi: Move documentation of X86 built-in functions
490         here.
491         * doc/invoke.texi: From here.
492         * doc/sourcebuild.texi: Document location of documentation for
493         machine built-in functions.
494
495 2002-01-13  Christopher Faylor  <cgf@redhat.com>
496
497         * cppfiles.c (TEST_THRESHOLD): New macro.
498         (SHOULD_MMAP): Ditto.
499         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
500         be used.
501
502 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
503
504         * unroll.c (final_reg_note_copy): Properly handle
505         REG_LABEL
506         (unroll_loops): Fix LOOP_CONDITION heuristics.
507
508 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
509
510         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
511         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
512
513 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
514
515         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
516         threaded loop.
517
518 2002-01-14  Tom Rix  <trix@redhat.com>
519
520         * config/rs6000/rs6000.md: Fix typo with sradi.
521
522 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
523
524         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
525         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
526         (clrstrdi, clrstrsi): Adapt callers.
527
528         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
529
530         (movti splitter): Never use register 0 as base register.
531
532 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
533
534         * combine.c (simplify_shift_const): Always generate new rtx
535         for shift expression instead of reusing given expression.
536
537 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
538
539         * config/alpha/alpha.c (alpha_expand_mov): Don't call
540         alpha_legitimize_address unless mode is Pmode.
541
542 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
543
544         * doc/md.texi (Modifiers): Document the '*' constraint for the
545         user.
546
547         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
548         * doc/extend.texi (Function Attributes): 'interrupt' is valid
549         for xstormy16 too.
550
551 2002-01-13  Richard Henderson  <rth@redhat.com>
552
553         * reload.c (find_reloads): Use a hard reg destination as reload reg
554         for an input reload of the source.
555
556 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
557
558         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
559         more generic.
560
561 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
562
563         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
564         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
565
566         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
567
568 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
569
570         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
571
572 2002-01-12  Tom Rix  <trix@redhat.com>
573
574         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
575         TARGET_POWERPC64.
576
577 2002-01-12  Richard Henderson  <rth@redhat.com>
578
579         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
580
581         * doc/invoke.texi: Update Alpha options.
582
583         * doc/invoke.texi: Update i386 built-in function lists.
584
585 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
586
587         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
588         referencing outside.
589
590 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
591
592         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
593         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
594         offsets, and change line folding.
595         * optabs.c (expand_binop): Remove warnings.
596         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
597
598 2002-01-12  Graham Stott <grahams@redhat.com>
599
600         * attribs.c (handle_deprecated_attribute): constify WHAT.
601         * diagnostic.c (warn_deprecated_use): Add braces, fixes
602         dangling else warning and constify WHAT.
603         * except.h (struct function, struct inline_remap): Move
604         struct tag forward defs before all prototypes.
605         (duplicate_eh_regions): Whitespace.
606
607 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
608
609         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
610         MODE_BASE_REG_CLASS.
611         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
612
613 2002-01-12  Richard Henderson  <rth@redhat.com>
614
615         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
616         (ix86_expand_vector_move): New.
617         (bdesc_2arg): Remove andps, andnps, orps, xorps.
618         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
619         Remove old prefetch builtins.  Special case the logicals removed above.
620         (ix86_expand_builtin): Likewise.
621         (safe_vector_operand): Use V4SFmode, not TImode.
622         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
623         (ix86_expand_timode_binop_builtin): New.
624         * config/i386/i386-protos.h: Update.
625         * config/i386/i386.h (enum ix86_builtins): Update.
626         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
627         Use ix86_expand_vector_move in vector move expanders.
628         (movti_internal, movti_rex64): Add xorps alternative.
629         (sse_clrv4sf): Rename and adjust from sse_clrti.
630         (prefetch): Don't work so hard.
631         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
632         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
633         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
634
635 2002-01-11  Richard Henderson  <rth@redhat.com>
636
637         * config/i386/mmintrin.h: New file.
638         * config/i386/xmmintrin.h: New file.
639         * config.gcc (i?86-*-*): Add extra_headers.
640         * simplify-rtx.c (simplify_unary_operation): Handle saturating
641         truncation codes.
642         (simplify_binary_operation): Handle saturating arithmetic codes.
643         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
644         not the lowpart subreg.
645         (ix86_expand_builtin): Return a TImode dummy register instead of 0
646         on error.
647         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
648
649 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
650
651         * conflict.c (conflict_graph_compute): Free regsets when finished.
652         * ssa.c (compute_coalesced_reg_partition): Likewise.
653
654 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
655
656         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
657         every where we allocate a register.
658
659 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
660
661         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
662         * lcm.c (compute_earliest, compute_farthest): Likewise.
663
664 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
665
666         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
667
668 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
669
670         * doc/rtl.texi (Insns): Fix 2 typos.
671
672 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
673
674         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
675         options.  Use @table @gcctabopt for MMIX options.  Add index
676         entries for MMIX options.  Start new paragraph with first
677         heading of the machine-dependent options.
678
679 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
680
681         PR other/5299
682         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
683         * combine.c (force_to_mode): Same.
684         * reload1.c (clear_reload_reg_in_use): Same.
685
686 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
687
688         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
689         and 'subtargets'.
690
691 2002-01-11  Andreas Jaeger  <aj@suse.de>,
692             Brad Lucier <lucier@math.purdue.edu>
693
694         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
695         mcpu.
696
697 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
698
699         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
700         Protect with IN_LIBGCC.
701         (LINK_EH_SPEC): Add required trailing space.
702
703 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
704
705         * c-tree.h: Move function declarations so that they are listed
706         under the filename which contains them.
707         (check_identifier, finish_decl_top_level,
708         lookup_name_current_level_global, shadow_record_fields): Remove.
709
710 2002-01-11  Andreas Jaeger  <aj@suse.de>
711
712         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
713         march.
714
715 2002-01-10  Richard Henderson  <rth@redhat.com>
716
717         * config/alpha/alpha.c (print_operand): Add 'J'.
718         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
719         new operand with the sequence number for the lituse.  When splitting
720         the insns, use gen_movdi_er_high_g and generate a sequence number.
721         (gen_movdi_er_high_g): Print the sequence number if non-zero.
722
723 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
724
725         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
726         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
727         stvxl.
728         (altivec_expand_builtin): Same.
729         (altivec_expand_stv_builtin): New.
730
731         * config/rs6000/rs6000.h (rs6000_builtins): Same.
732
733         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
734         ("altivec_lvehx"): New.
735         ("altivec_lvewx"): New.
736         ("altivec_lvxl"): New.
737         ("altivec_lvx"): New.
738         ("altivec_stvx"): New.
739         ("altivec_stvebx"): New.
740         ("altivec_stvehx"): New.
741         ("altivec_stvewx"): New.
742         ("altivec_stvxl"): New.
743
744 2002-01-10  Richard Henderson  <rth@redhat.com>
745
746         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
747         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
748         care not to delete instructions twice.
749
750 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
751
752         * toplev.c: Don't declare environ (it's not used anywhere).
753         * configure.in: Don't check for declaration of environ.
754         * config/i386/xm-mingw32.h: Don't #define environ.
755         * config.in, configure: Regenerate.
756
757 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
758
759         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
760         * configure: Regenerate.
761
762         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
763         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
764         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
765         alpha/xm-vms.h.
766         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
767         LIMITS_H_TEST here, not in m68k/x-next.
768         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
769         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
770
771         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
772         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
773         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
774
775         * config/i386/x-djgpp: Renamed i386/t-djgpp.
776         * config/m88k/x-dolph: Renamed m88k/t-dolph.
777         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
778         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
779         replacement of quadlib.asm with quadlib.c.
780
781         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
782         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
783         config/rs6000/xm-beos.h: Delete file.
784
785         * config.gcc: Update to match above changes.
786
787 2002-01-10  Kazu Hirata  <kazu@hxi.com>
788
789         * config/h8300/h8300.h: Fix comment typos.
790         * config/h8300/h8300.md: Likewise.
791         * config/h8300/lib1funcs.asm: Likewise.
792
793 2002-01-10  Dale Johannesen  <dalej@apple.com>
794
795         PR optimization/5269
796         * unroll.c (precondition_loop_p): Make *increment be the correct
797         sign when n_iterations known, to avoid confusing caller.
798
799 2002-01-10  Kazu Hirata  <kazu@hxi.com>
800
801         * doc/extend.texi (deprecated): Fix a typo.
802
803 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
804
805         * basic-block.h (update_br_prob_note): Declare.
806         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
807         (try_forward_edges): Care negative frequencies and update note.
808         (outgoing_edges_match): Tweek conditional merging heuristics.
809         (try_crossjump_to_edge): use update_br_prob_note.
810         * cfglayout.c (fixup_reorder_chain): Likewise.
811         * cfrtl.c (update_br_prob_note): New.
812         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
813
814         * i386.c (ix86_decompose_address): Return -1 if address contains
815         shift.
816         (legitimate_address_p): Require ix86_decompose_address to return 1.
817
818         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
819         (cprop_insn): Likewise.
820
821 2002-01-10  Kazu Hirata  <kazu@hxi.com>
822
823         * toplev.c: Fix formatting.
824         * tree.c: Likewise.
825         * tree-dump.c: Likewise.
826         * unroll.c: Likewise.
827         * unwind-dw2.c: Likewise.
828         * unwind-dw2-fde.c: Likewise.
829         * unwind-dw2-fde-glibc.c: Likewise.
830         * unwind-sjlj.c: Likewise.
831
832 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
833
834         * doc/invoke.texi: Document PDP-11 options.
835
836 2002-01-10  Kazu Hirata  <kazu@hxi.com>
837
838         * config/h8300/h8300.h: Fix formatting.
839
840 2001-01-10  Ira Ruben   <ira@apple.com>
841
842         Add __attribute__ ((deprecated)).
843         * extend.texi: Document __attribute__ ((deprecated)).
844         * invoke.texi: Document -Wno-deprecated-declarations.
845         * testsuite/g++.dg/other/deprecated.C: New C++ test.
846         * testsuite/gcc.dg/deprecated.c: New C test.
847         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
848         (c_common_attribute_table): Add "deprecated" entry.
849         (handle_deprecated_attribute): New function.
850         * c-decl.c (deprecated_states): New enum.
851         deprecated_state: State of "deprecated" handling.
852         (start_decl): Set deprecated_state based on attributes.
853         (grokdeclarator): Test for deprecated uses, propagate attribute.
854         * c-typeck.c (build_component_ref): Test for deprecated fields.
855         (build_external_ref): Test for deprecated primaries.
856         * diagnostic.c (warn_deprecated_use) New function to issue
857         warnings about __attribute__ ((depricated)) references.
858         * flags.h (warn_deprecated_decl): Extern declared for
859         -W[no-]deprecated-declarations option.
860         * print-tree.c (print_node): Show deprecated flag status.
861         * toplev.c (warn_deprecated_decl): Defined.
862         (W_options): Added "deprecated-declaration".
863         * toplev.h (warn_deprecated_use): Extern declared.
864         * tree.h (struct tree_common): Define deprecated_flag.
865         (TREE_DEPRECATED): New macro to access flag.
866         * cp/call.c (build_call): Test for deprecated calls.
867         * cp/class.c (add_implicitly_declared_members): Set global
868         flag to tell grokdeclarator to not issue deprecated warnings.
869         * cp/cp-tree.h: Add extern for adding_implicit_members.
870         * cp/decl.c (deprecated_states): New enum.
871         (start_decl): Set deprecated_state based on attributes.
872         (grokdeclarator): Test for deprecated uses, propagate attribute.
873         * cp/lex.c (do_identifier): Test for deprecated primaries.
874         * cp/typeck.c (build_component_ref): Test for deprecated fields.
875
876 2001-01-10  Ira Ruben   <ira@apple.com>
877
878         Fix to assign attributes to inline member functions.
879         * cp/decl.c (start_method): Handle attrlist.
880
881 2002-01-10  Kazu Hirata  <kazu@hxi.com>
882
883         * combine.c (expand_field_assignment): Use subreg_lsb().
884
885 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
886
887         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
888         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
889         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
890         Recurse for any operand of AND as long as constant is non-zero.
891
892 2002-01-10  Kazu Hirata  <kazu@hxi.com>
893
894         * config/h8300/h8300.md: Remove constraints from expanders.
895
896 2002-01-10  Kazu Hirata  <kazu@hxi.com>
897
898         * varasm.c: Fix formatting.
899         * varray.c: Likewise.
900         * vmsdbgout.c: Likewise.
901         * xcoffout.c: Likewise.
902
903 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
904
905         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
906         update edge probabilities to match.
907
908 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
909
910         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
911         dependencies.
912         * doc/languages.texi, doc/sourcebuild.texi: New files.
913         * doc/configfiles.texi: Make a subsubsection.  Update.
914         * doc/configterms.texi: Add @node.  Remove warning that this isn't
915         instructions for building GCC.
916         * doc/makefile.texi: Make a subsection.
917         * doc/gccint.texi: Update.
918
919 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
920
921         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
922
923 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
924
925         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
926
927 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
928
929         * optabs.c (expand_fix): Look for wider integer modes first.
930
931         * i386.md (mov?f): Avoid the fake const double trick for medium
932         memory model.
933         (min?f*/max?f*): Prohibit memory operands for i387 variant.
934         (fop_df_4): Disable for SSE compilation.
935
936 2002-01-10  Graham Stott  <grahams@redhat.com>
937
938         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
939         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
940
941 2002-01-10  Richard Henderson  <rth@redhat.com>
942
943         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
944
945 2002-01-10  Richard Henderson  <rth@redhat.com>
946
947         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
948         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
949
950 2002-01-10  Kazu Hirata  <kazu@hxi.com>
951
952         * combine.c (can_combine_p): Fix a comment typo.
953
954 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
955
956         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
957         empty list correctly.  Change loop index $t to $f for
958         consistency with rest of Makefile.
959
960 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
961
962         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
963         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
964
965         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
966         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
967         (altivec_init_builtins): Same.
968         (altivec_expand_unop_builtin): Return NULL_RTX on error.
969         (altivec_expand_binop_builtin): Same.
970         (altivec_expand_ternop_builtin): Same.
971         (bdesc_dst): New.
972
973         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
974         ("altivec_vctuxs"): Fix typo.
975         ("altivec_vnmsubfp"): Same.
976         ("altivec_dssall"): New.
977         ("altivec_mfvscr"): New.
978         ("altivec_dss"): New.
979         ("altivec_lvsl"): New.
980         ("altivec_lvsr"): New.
981         ("altivec_dstt"): New.
982         ("altivec_dstst"): New.
983         ("altivec_dststt"): New.
984         ("altivec_dst"): New.
985
986         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
987         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
988
989 2002-01-09  Richard Henderson  <rth@redhat.com>
990
991         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
992
993 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
994
995         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
996         function.
997         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
998         prototype.
999         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1000
1001 2002-01-09  Kazu Hirata  <kazu@hxi.com>
1002
1003         * read-rtl.c: Fix formatting.
1004         * real.c: Likewise.
1005         * regclass.c: Likewise.
1006         * regrename.c: Likewise.
1007         * reg-stack.c: Likewise.
1008         * reload1.c: Likewise.
1009         * reload.c: Likewise.
1010         * rtl.c: Likewise.
1011
1012 2002-01-09  Kazu Hirata  <kazu@hxi.com>
1013
1014         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1015         to extract items in the expr_list chain.
1016
1017 2002-01-09  Richard Henderson  <rth@redhat.com>
1018
1019         * config/vax/vax.c (vax_rtx_cost): Never abort.
1020
1021         * config/vax/vax.h (REAL_ARITHMETIC): Define.
1022
1023 2002-01-09  Jan Hubicka  <jh@suse.cz>
1024
1025         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1026
1027 2002-01-09  Richard Henderson  <rth@redhat.com>
1028
1029         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1030         Unify code from various alternatives.
1031
1032 2002-01-09  Richard Henderson  <rth@redhat.com>
1033
1034         * regrename.c (copy_value): Ignore the copy if the source register
1035         is present in the value chain with a narrower mode.
1036
1037 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
1038
1039         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1040         for the c4x target. Also improve layout.
1041
1042 2002-01-09  Richard Henderson  <rth@redhat.com>
1043
1044         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1045         * config/m32r/m32r.md (and ior xor splitters): Swap operands
1046         to match insn patterns.
1047
1048 2002-01-09  Richard Henderson  <rth@redhat.com>
1049
1050         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1051         (copyprop_hardreg_forward_1): Likewise.
1052
1053 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1054
1055         * pa.md (decrement_and_branch_until_zero): Change predicate for
1056         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1057
1058 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1059
1060         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1061         gets undefined. For Darwin.
1062
1063 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1064
1065         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1066
1067 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1068
1069         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1070
1071 2002-01-08  Richard Henderson  <rth@redhat.com>
1072
1073         * regrename.c (copy_value): Ignore overlapping copies.
1074
1075 2002-01-08  Richard Henderson  <rth@redhat.com>
1076
1077         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1078         as needed to avoid shared structure.
1079
1080 2002-01-08  Kazu Hirata  <kazu@hxi.com>
1081
1082         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1083         H8/300H and H8/S.
1084
1085 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
1086
1087         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1088         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1089         documentation of obsolete macros.
1090         * system.h: Poison these macros.
1091         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1092         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1093         config/c4x/c4x.h, config/clipper/clipper.h,
1094         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1095         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1096         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1097         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1098         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1099         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1100         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1101         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1102         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1103         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1104         config/sparc/sparc.h, config/stormy16/stormy16.h,
1105         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1106         definitions and commented out definitions of obsolete macros.
1107         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1108         of MAX_INT_TYPE_SIZE.
1109
1110 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
1111
1112         * config/s390/s390.c (s390_preferred_reload_class): Never
1113         return ADDR_REGS if it isn't a subset of the given class.
1114         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1115         FP_REGS, but all superclasses as well.
1116
1117         * config/s390/s390.c (s390_function_profiler): Fix thinko.
1118
1119         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1120         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1121         must not be a const_int.
1122
1123 2002-01-08  Richard Henderson  <rth@redhat.com>
1124
1125         * Makefile.in (toplev.o): Depend on options.h.
1126         (gcc.o): Depend on specs.h.
1127
1128 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
1129
1130         * expr.c (store_expr): Convert VOIDmode constants back to target's
1131         mode.
1132
1133 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1134
1135         * doc/invoke.texi: Markup gcc as @command.  Refer to
1136         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1137         of http://gcc.gnu.org/thanks.html.
1138
1139 2002-01-08  Dale Johannesen  <dalej@apple.com>
1140
1141         * config/rs6000/rs6000.md: Add missing int register
1142         target case to movdf_low.
1143
1144 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
1145
1146         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1147         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
1148         (cppinit.o): Depend on except.h.
1149         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1150         s-specs): New rules.
1151
1152         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1153         Don't create specs.h/options.h/gencheck.h here.  Remove
1154         unnecessary variable settings from last argument of AC_OUTPUT.
1155         * config.in, configure: Regenerate.
1156         * intl.c: Hardcode package name as "gcc".
1157
1158         * cppinit.c: Include except.h.
1159         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1160         appropriate.
1161         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1162         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1163         (!)USING_SJLJ_EXCEPTIONS.
1164         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1165
1166 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
1167
1168         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1169         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1170         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1171         documentation of obsolete macros.
1172         * system.h: Poison these macros.
1173         * config/d30v/d30v.h, config/ns32k/encore.h,
1174         config/stormy16/stormy16.h: Remove definitions and commented out
1175         definitions of obsolete macros.
1176
1177 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
1178
1179         * objc/objc-act.c (handle_class_ref): Mark the declaration of
1180         %sobjc_class_ref_%s as used - to prevent unwanted compiler
1181         warnings.
1182
1183 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
1184
1185         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1186         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1187         to insn adjusting stack/frame pointer.
1188         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1189         accept operands that cause the insn to be non-splittable.
1190
1191 2002-01-08  Graham Stott  <grahams@redhat.com>
1192
1193         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1194         (C_TYPE_FIELDS_VOLATILE): Likewise.
1195         (C_TYPE_BEING_DEFINED): Likewise.
1196         (C_IS_RESERVED_WORD): Likewise.
1197         (C_TYPE_VARIABLE_SIZE): Likewise.
1198         (C_DECL_VARIABLE_SIZE): Likewise.
1199         (C_MISSING_PROTOTYPE_WARNED): Likewise.
1200         (C_SET_EXP_ORIGINAL_CODE): Likewise.
1201         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1202         parenthesis.
1203         (C_DECL_ANTICIPATED): Likewise.
1204         (c_build_type_variant): Add parenthesis.
1205
1206 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
1207
1208         * gcc.c (option_map): Remove --version.
1209         (process_command): Handle -fversion following the GNU Coding
1210         Standards.  Partially addresses PR other/704.
1211
1212 2002-01-08  Graham Stott  <grahams@redhat.com>
1213
1214         * combine.c (combine_instructions): Fix typo.
1215
1216 2002-01-08  Graham Stott  <grahams@redhat.com>
1217
1218         * debug.h: Use "tree" and "rtx" throughout.
1219
1220         * debug.c: Likewise.
1221
1222 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
1223
1224         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1225         constant pool, use the pool's version of the symbol instead.
1226
1227 2002-01-07  Richard Henderson  <rth@redhat.com>
1228
1229         * regrename.c (find_oldest_value_reg): Ignore the value chain if
1230         the original register was copied in a mode with a fewer number of
1231         hard registers than the desired mode.
1232         (copyprop_hardreg_forward_1): Likewise.
1233         (debug_value_data): Fix loop test.
1234         * toplev.c (parse_options_and_default_flags): Reenable
1235         -fcprop-registers at -O1.
1236
1237 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
1238
1239         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1240         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
1241
1242         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1243         predicates.
1244
1245         * config/rs6000/rs6000.md: Add altivec predicate patterns.
1246
1247 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1248
1249         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1250         (pa_output_function_prologue): Output local label at the beginning of
1251         the prologue when profiling.
1252         (hppa_profile_hook): Use the local label rather than the function label.
1253         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1254
1255 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
1256
1257         * config/rs6000/rs6000.c (print_operand): Remove extra space.
1258         (altivec_expand_unop_builtin): Fix thinko.
1259         (altivec_expand_binop_builtin): Same.
1260         (altivec_expand_ternop_builtin): Same.
1261         (altivec_expand_builtin): Same.
1262
1263 2002-01-07  Richard Henderson  <rth@redhat.com>
1264
1265         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1266
1267 2002-01-07  Jason Merrill  <jason@redhat.com>
1268
1269         * unwind-dw2.c (execute_cfa_program): Use < again.
1270
1271 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
1272
1273         * predict.c (combine_predictions_for_insn): Avoid division by zero.
1274
1275 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
1276
1277         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1278         Don't allow -1 - x -> ~x simplifications in the first pass.
1279
1280 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
1281
1282         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1283         arguments.
1284         (altivec_expand_binop_builtin): Same.
1285         (altivec_expand_unop_builtin): Same.
1286         (print_operand): Fix typo.
1287         (bdesc_1arg): Add vupk* variants.
1288
1289         * rs6000.h (rs6000_builtins): Add vupk* enums.
1290
1291         * rs6000.md: Add altivec_vupk* variants.
1292
1293 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1294
1295         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1296         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1297         and last update dates.
1298
1299 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
1300
1301         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1302
1303 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1304
1305         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1306         * config/avr/avr.h (CPP_SPEC): Likewise.
1307         (LINK_SPEC): Likewise.
1308         (CRT_BINUTILS_SPECS): Likewise.
1309         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1310         * doc/invoke.texi (AVR Options): Document them.
1311
1312 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
1313
1314         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1315         LABEL_NUSES.
1316
1317 2002-01-07  Graham Stott  <grahams@redhat.com>
1318
1319         * config/i386/i386.h: Update copyright date.
1320         (HALF_PIC_PTR): Add parenthesis.
1321         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1322         (CONSTANT_ALIGNMENT): Add parenthesis.
1323         (DATA_ALIGNMENT): Likewise.
1324         (LOCAL_ALIGNMENT): Likewise.
1325         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1326         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1327         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1328         (HARD_REGNO_NREGS): Add paranethesis.
1329         (VALID_SSE_REG_MODE): Whitespace.
1330         (VALID_MMX_REG_MODE): Whitespace.
1331         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1332         (ix86_hard_regno_mode_ok): Add parenthesis.
1333         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1334         (RETURN_IN_MEMORY): Whitespace.
1335         (N_REG_CLASSES): Add parenthesis.
1336         (INTEGER_CLASS_P): Add parenthesis and wrap.
1337         (FLOAT_CLASS_P): Likewise.
1338         (SSE_CLASS_P): Likewise.
1339         (MMX_CLASS_P): Likewise.
1340         (MAYBE_INTEGER_CLASS_P): Likewise.
1341         (MAYBE_FLOAT_CLASS_P): Likewise.
1342         (MAYBE_SSE_CLASS_P): Likewise.
1343         (MAYBE_MMX_CLASS_P): Likewise.
1344         (Q_CLASS_P): Likewise.
1345         (GENERAL_REGNO_P): Uppercase macro parameter.
1346         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1347         (FP_REGNO_P): Likewise.
1348         (ANY_FP_REGNO_P): Uppercase macro parameter.
1349         (SSE_REGNO_P): Likewise.
1350         (SSE_REGNO): Likewise.
1351         (SSE_REG_P): Likewise.
1352         (SSE_FLOAT_MODE_P): Likewise.
1353         (MMX_REGNO_P): Likewise.
1354         (MMX_REG_P):Likewise.
1355         (STACK_REG_P): Likewise.
1356         (NON_STACK_REG_P): Likewise.
1357         (STACK_TOP_P): Likewise.
1358         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1359         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1360         (SECONDARY_MEMORY_NEEDED): Likewise.
1361         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1362         (MD_ASM_CLOBBERS): Whitespace and wrap.
1363         (MUST_PASS_IN_STACK): Whitespace and wrap.
1364         (RETURN_POPS_ARGS): Add parenthesis.
1365         (INIT_CUMULATIVE_ARGS): Likewise.
1366         (FUNCTION_ARG): Likewise.
1367         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1368         (SETUP_INCOMING_VARARGS): Likewise.
1369         (BUILD_VA_LIST_TYPE):  Add parenthesis.
1370         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1371         parenthsis.
1372         (EXPAND_BUILTIN_VA_ARG): Likewise.
1373         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1374         (INITIALIZE_TRAMPOLINE): Add parenthesis.
1375         (INITIAL_ELIMINATION_OFFSET): Likewise.
1376         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1377         (REGNO_OK_FOR_BASE_P): Likewise.
1378         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1379         (REGNO_OK_FOR_DIREG_P): Likewise.
1380         (REG_OK_FOR_INDEX_P): Whitespace.
1381         (REG_OK_FOR_BASE_P): Whitespace.
1382         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1383         parenthesis.
1384         (FIND_BASE_TERM): Fix typo.
1385         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
1386         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1387         (SYMBOLIC_CONST; Whitespace.
1388         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
1389         (ENCODE_SECTION_INFO): Whitespace.
1390         (FINALIZE_PIC): Remove do { ... } while (0).
1391         (PROMOTE_MODE): Wrap in do { ... } while (0).
1392         (CONST_COSTS): Whitespace.
1393         (RTX_COSTS): Add paramethesis, whitespace and wrap.
1394         (REGISTER_MOVE_COST): Add parenthesis.
1395         (MEMORY_MOVE_COST): Likewise.
1396         (EXTRA_CC_MODES): Whitespace.
1397         (SELECT_CC_MODE): Add parenthesis and whitespace.
1398         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1399         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1400         (ASM_OUTPUT_LABEL): Add paramethesis.
1401         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1402         (ASM_OUTPUT_REG_POP): Likewise.
1403         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1404         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1405
1406         * config/i386/i386.c: Update copyright.
1407         (CHECK_STACK_LIMIT): Add parenthesis.
1408         (AT_BP): Uppercase macro parameter.
1409         (x86_64_int_parameter_registers): Constify.
1410         (x86_64_int_return_registers): Likewise.
1411         (ix86_compare_op0): Use rtx.
1412         (construct_container): Constify INTREG parameter.
1413         (function_arg): Use rtx.
1414
1415         * diagnostic.h: Update copyright date.
1416         (output_buffer_state): Add parenthesis.
1417         (output_buffer_format_args): Likewise.
1418
1419         * combine.c (combine_instructions): Replace XEXP (links, 0)
1420         with link.
1421
1422 2002-01-06  H.J. Lu <hjl@gnu.org>
1423
1424         * cfgcleanup.c (thread_jump): Fix 2 typos.
1425
1426 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
1427
1428         * config.gcc: Add support for --enable-altivec.
1429
1430 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1431
1432         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1433
1434 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
1435
1436         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1437         __objc_class_name_*.
1438
1439 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1440
1441         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1442
1443 2002-01-06  Richard Henderson  <rth@redhat.com>
1444
1445         * reorg.c (emit_delay_sequence): Remove death notes, not merely
1446         nop them out.  Increment label reference count for REG_LABEL.
1447         (fill_slots_from_thread): Frob label reference count around
1448         delete_related_insns.
1449
1450 2002-01-05  Richard Henderson  <rth@redhat.com>
1451
1452         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1453         jump threading.
1454
1455 2002-01-05  Richard Henderson  <rth@redhat.com>
1456
1457         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1458         * integrate.c (output_inline_function): Likewise.
1459         * toplev.c (rest_of_compilation): Do it here instead.  Move call
1460         to remove_unnecessary_notes after emitting abstract instance.
1461         Force an emitted nested function to have its parent emited as well.
1462         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1463         for null.
1464         (rtl_for_decl_location): Do not look at reload data structures
1465         before reload has run.
1466
1467 2002-01-05  Kazu Hirata  <kazu@hxi.com>
1468
1469         * cse.c: Fix formatting.
1470         * dwarf2asm.c: Likewise.
1471         * dwarf2out.c: Likewise.
1472         * explow.c: Likewise.
1473         * expmed.c: Likewise.
1474         * function.c: Likewise.
1475         * gcov.c: Likewise.
1476         * gencheck.c: Likewise.
1477         * genrecog.c: Likewise.
1478         * ggc-common.c: Likewise.
1479         * ggc-page.c: Likewise.
1480         * global.c: Likewise.
1481
1482 2002-01-05  Kazu Hirata  <kazu@hxi.com>
1483
1484         * combine.c: Fix formatting.
1485
1486 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
1487
1488         PR middle-end/1557
1489         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1490
1491 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
1492
1493         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
1494         as 1 for __powerpc64__ as well.
1495
1496         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
1497
1498         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
1499         return it.
1500
1501 2002-01-05  Daniel Berlin  <dan@dberlin.org>
1502
1503         * lcm.c: Revert change, due to performance regression it causes on
1504         SPEC because it's slightly more conservative (sigh, I hate
1505         edge-based LCM).
1506
1507 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
1508
1509         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
1510
1511 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
1512
1513         * doc/cppinternals.texi: Update.
1514
1515 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
1516
1517         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
1518         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
1519         negatives.
1520         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
1521         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
1522         kludge for pre-october-14th mmix versions to handle new-found bug
1523         with PUSHJ/PUSHGO and the register stack.
1524         * config/mmix/mmix.h (struct machine_function): Rename member
1525         has_call_value_without_parameters to has_call_without_parameters.
1526         All referers changed.
1527         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
1528         TARGET_MASK_BRANCH_PREDICT): New macros.
1529         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
1530         -mno-reg-stack-fill-bug-workaround.
1531         * config/mmix/mmix.md ("call"): Set struct machine member
1532         has_call_without_parameters.
1533
1534 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
1535
1536         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
1537
1538 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
1539
1540         * cfgcleanup.c: Include tm_p.h
1541         (mark_effect): Fix handling of hard register; fix handling of SET
1542
1543 2002-01-04  Kazu Hirata  <kazu@hxi.com>
1544
1545         * config/h8300/h8300.md (anonymous patterns): Check that
1546         operands are registers before using REGNO on them.
1547
1548 2002-01-03  Roland McGrath  <roland@frob.com>
1549
1550         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
1551
1552 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
1553
1554         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
1555         * c-common.h (genrtl_expr_stmt_value): Likewise.
1556         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
1557         (expand_expr_stmt_value): Add maybe_last argument.
1558         Don't warn about statement with no effect if it is the last statement
1559         in expression statement.
1560         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
1561         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
1562         expand_expr_stmt_value.
1563         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
1564         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
1565         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
1566         as maybe_last to expand_expr_stmt_value.
1567
1568 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
1569
1570         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
1571         be passed in, do not build it.
1572         (c_begin_if_stmt): New function.
1573         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1574         * c-common.h (c_expand_start_cond): Update prototype.
1575         (c_begin_if_stmt): Prototype new function.
1576         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1577         * c-parse.in (if_prefix): Use c_begin_if_stmt,
1578         c_begin_while_stmt and c_finish_while_stmt_cond.
1579
1580 2002-01-04  William Cohen  <wcohen@redhat.com>
1581
1582         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
1583         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1584         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1585         * config/pa/som.h (ASM_FILE_START): Likewise.
1586
1587 2001-01-04  Daniel Berlin  <dan@cgsoftware.com>
1588
1589         * lcm.c: Include df.h.
1590         Add available_transfer_function prototype.
1591         (compute_available): Rework to use iterative dataflow framework.
1592         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
1593         with bb_info in df.h
1594         (available_transfer_function): New function.
1595
1596         * Makefile.in (lcm.o): add df.h to dependencies.
1597
1598 2002-01-04  Richard Henderson  <rth@redhat.com>
1599
1600         * config/alpha/alpha.c (some_operand): Accept HIGH.
1601         (input_operand): Likewise; accept simple references to globals.
1602         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
1603         (alpha_const_double_ok_for_letter_p): Likewise.
1604         (alpha_extra_constraint): Likewise.
1605         (alpha_preferred_reload_class): Likewise.  Do not force
1606         symbolic constants to memory.
1607         (alpha_legitimate_address_p): Accept simple references
1608         to small_symbolic_operand.
1609         (alpha_legitimize_address): New arg scratch.  Be prepared to be
1610         called when no_new_pseudos.  Emit simple symbolic references.
1611         Split integers into low, high, and rest.
1612         (alpha_expand_mov): Use alpha_legitimize_address.
1613         (some_small_symbolic_mem_operand): New.
1614         (split_small_symbolic_mem_operand): New.
1615         * config/alpha/alpha-protos.h: Update.
1616         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
1617         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
1618         (EXTRA_CONSTRAINT): Likewise.
1619         (PREFERRED_RELOAD_CLASS): Likewise.
1620         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
1621         (PREDICATE_CODES): Update.
1622         * config/alpha/alpha.md: New post-reload splitters to convert
1623         simplfied symbolic operands to the form that references $29.
1624         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
1625         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
1626
1627 2002-01-03  Richard Henderson  <rth@redhat.com>
1628
1629         * local-alloc.c (function_invariant_p): Update commentary.
1630
1631 2002-01-04  H.J. Lu <hjl@gnu.org>
1632
1633         * toplev.c (rest_of_compilation): Fix a typo when calling
1634         cleanup_cfg.
1635
1636 2002-01-03  Kazu Hirata  <kazu@hxi.com>
1637
1638         * c-common.c: Fix formatting.
1639         * diagnostic.c: Likewise.
1640         * doloop.c: Likewise.
1641         * dwarf2out.c: Likewise.
1642
1643 2002-01-03  Kazu Hirata  <kazu@hxi.com>
1644
1645         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
1646         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
1647
1648 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
1649
1650         * cpperror.c: Update comments and copyright.
1651         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
1652         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
1653
1654 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1655
1656         * collect2.c (main): Use strcmp when testing for "-shared".
1657
1658 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
1659
1660         * cppmacro.c: Don't include intl.h.  Update comments.
1661         (new_number_token): Allocate enough buffer for 64-bit unsigned
1662         integers; update prototype.
1663         * cppmain.c: Update comments.
1664
1665 2002-01-03  William Cohen  <wcohen@redhat.com>
1666
1667         * function.h (struct function): Add profile.
1668         (current_function_profile): New.
1669         doc/extend.texi: Update documentation.
1670         * final.c (final_start_function): Use current_function_profile
1671         instead of profile_flag.
1672         (profile_after_prologue): Likewise.
1673         * function.c (expand_function_start): Likewise.
1674         (expand_function_start): Likewise.
1675         * config/alpha/alpha.c (direct_call_operand):
1676         (alpha_does_function_need_gp): Likewise.
1677         (alpha_expand_prologue): Likewise.
1678         * config/arm/arm.c (arm_expand_prologue): Likewise.
1679         thumb_expand_prologue: Likewise.
1680         * config/d30v/d30v.c (d30v_stack_info): Likewise.
1681         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
1682         (fr30_expand_prologue): Likewise.
1683         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
1684         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
1685         * config/i386/i386.h (FINALIZE_PIC): Likewise.
1686         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1687         * config/i960/i960.c (i960_output_function_prologue): Likewise.
1688         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
1689         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
1690         (m32r_expand_prologue): Likewise.
1691         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
1692         (m88k_expand_prologue): Likewise.
1693         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
1694         * config/mips/mips.c (compute_frame_size): Likewise.
1695         (mips_expand_prologue): Likewise.
1696         (mips_can_use_return_insn): Likewise.
1697         * config/pa/elf.h (ASM_FILE_START): Likewise.
1698         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1699         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1700         * config/pa/som.h (ASM_FILE_START): Likewise.
1701         * config/romp/romp.c (romp_using_r14): Likewise.
1702         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
1703         (rs6000_stack_info): Likewise.
1704         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1705         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1706         * config/v850/v850.c (compute_register_save_size): Likewise.
1707
1708 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
1709
1710         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
1711         gen_lowpart_common fails, use gen_lowpart_SUBREG.
1712
1713 2002-01-03  Turly O'Connor  <turly@apple.com>
1714
1715         * darwin.c (machopic_output_possible_stub_label): Don't generate
1716         stub routines for pseudo-stubs which we've just defined.
1717
1718 2002-01-03  Kazu Hirata  <kazu@hxi.com>
1719
1720         * builtins.c: Fix formatting.
1721         * c-typeck.c: Likewise.
1722         * combine.c: Likewise.
1723         * expr.c: Likewise.
1724         * loop.c: Likewise.
1725
1726 2002-01-03  Andreas Schwab  <schwab@suse.de>
1727
1728         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
1729         and return true if _cpp_push_next_buffer pushed a new include
1730         file.
1731         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
1732         _cpp_pop_file_buffer did not push a new file.
1733         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
1734
1735 2002-01-02  Eric Christopher  <echristo@redhat.com>
1736
1737         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
1738         FIND_REG_INC_NOTE call. Update copyright.
1739         * loop.c (canonicalize_condition): Ditto.
1740         * reorg.c (delete_scheduled_jump): Ditto.
1741
1742 2002-01-03  Kazu Hirata  <kazu@hxi.com>
1743
1744         * gcse.c: Fix formatting.
1745
1746 2002-01-03  Graham Stott  <grahams@redhat.com>
1747
1748         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
1749         forward defs for struct tags rtx_def, union_tree, rtvec_def
1750         also output corresponding typedefs for rtx, tree, and rtvec.
1751
1752         * system.h: Move forward defs for struct tags rtx_def, union_tree,
1753         rtvec_def along with corresponding typedefs for rtx, tree, and
1754         rtvec to config.h, hconfig.h, tconfig.h.
1755
1756 2002-01-03  Graham Stott  <grahams@redhat.com>
1757
1758         * tree.h: Update copyright date.
1759         (IS_EXPR_CODE_CLASS): Add parenthesis.
1760         (TREE_SET_CODE): Add whitespace.
1761         (TREE_CHECK): Add parenthesis.
1762         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
1763         (CST_OR_CONSTRUCTOR_CHECK):
1764         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
1765         (TREE_SYMBOL_REFERENCED): Whitespace.
1766         (INT_CST_LT): Likewise.
1767         (INT_CST_LT_UNSIGNED): Likewise.
1768         (tree_real_cst): Unwrap comment.
1769         (tree_string): Likewise.
1770         (tree_complex): Likewise.
1771         (IDENTIFIER_POINTER): correct cast.
1772         (SAVE_EXPR_CONTEXT): Whitespace.
1773         (EXPR_WFL_FILENAME_NODE): Likewise.
1774         (EXPR_WFL_FILENAME): Remove parenthesis.
1775         (DECL_ORIGIN): Add parenthesis.
1776         (DECL_FROM_INLINE): Use NULL_TREE.
1777         (build_int_2): Whitespace.
1778         (build_type_variant): Add parenthesis.
1779
1780         * gcc/jcf-parse.c: Update copyright date.
1781         (yyparse): Constify resource_filename.
1782
1783 2002-01-03  Graham Stott  <grahams@redhat.com>
1784
1785         * rtl.h: Update copyright date.
1786         (RTL_CHECK1): Wrap long line.
1787         (RTL_CHECK2): Likewise.
1788         (RTL_CHECKC1): Wrap long line and whitespace.
1789         (RTL_CHECKC2): Likewise.
1790         (XWINT): Whitespace.
1791         (XINT): Likewise.
1792         (XSTR): Likewise.
1793         (XEXP): Likewise.
1794         (XVEC): Likewise.
1795         (XMODE): Likewise.
1796         (XBITMAP): Likewise.
1797         (XTREE): Likewise.
1798         (XBBDEF): Likewise.
1799         (XTMPL): Likewise.
1800         (X0WINT): Likewise.
1801         (X0INT):Likewise.
1802         (X0UINT): Likewise.
1803         (X0STR): Likewise.
1804         (X0EXP): Likewise.
1805         (X0VEC): Likewise.
1806         (X0MODE): Likewise.
1807         (X0BITMAP): Likewise.
1808         (X0TREE): Likewise.
1809         (X0BBDEF): Likewise.
1810         (X0ADVFLAGS): Likewise.
1811         (X0CSELIB): Likewise.
1812         (X0MEMATTR): Likewise.
1813         (XCWINT): Likewise.
1814         (XCINT): Likewise.
1815         (XCUINT): Likewise.
1816         (XCSTR): Likewise.
1817         (XCEXP): Likewise.
1818         (XCVEC): Likewise.
1819         (XCMODE): Likewise.
1820         (XCBITMAP): Likewise.
1821         (XCTREE): Likewise.
1822         (XCBBDEF): Likewise.
1823         (XCADVFLAGS): Likewise.
1824         (XCCSELIB): Likewise.
1825         (XC2EXP): Likewise.
1826         (INSN_UID): Likewise.
1827         (PREV_INSN): Likewise.
1828         (PATTERN): Likewise.
1829         (INSN_CODE): Likewise.
1830         (PUT_REG_NOTE_KIND): Likewise.
1831         (CODE_LABEL_NUMBER): Likewise.
1832         (NOTE_SOURCE_FILE): Likewise.
1833         (NOTE_BLOCK): Likewise.
1834         (NOTE_EH_HANDLER): Likewise.
1835         (NOTE_RANGE_INFO): Likewise.
1836         (NOTE_LIVE_INFO): Likewise.
1837         (NOTE_BASIC_BLOCK): Likewise.
1838         (NOTE_EXPECTED_VALUE): Likewise.
1839         (NOTE_LINE_NUMBER): Likewise.
1840         (LABEL_NAME): Likewise.
1841         (LABEL_NUSES): Likewise.
1842         (LABEL_ALTERNATE_NAME): Likewise.
1843         (ADDRESSOF_DECL): Likewise.
1844         (JUMP_LABEL): Likewise.
1845         (LABEL_NEXTREF): Likewise.
1846         (REGNO): Likewise.
1847         (ORIGINAL_REGNO: Likewise.
1848         (HARD_REGISTER_NUM_P): Add parenthesis.
1849         (SUBREG_REG): Whitespace.
1850         (SUBREG_BYTE): Likewise.
1851         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
1852         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
1853         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
1854         (ASM_OPERANDS_INPUT_VEC): Likewise.
1855         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
1856         (ASM_OPERANDS_INPUT): Likewise.
1857         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
1858         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
1859         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
1860         (ASM_OPERANDS_INPUT_MODE): Likewise.
1861         (ASM_OPERANDS_SOURCE_FILE): Likewise.
1862         (ASM_OPERANDS_SOURCE_LINE): Likewise.
1863         (MEM_SET_IN_STRUCT_P): Minor reformat.
1864         (TRAP_CONDITION): Whitespace.
1865         (TRAP_CODE): Likewise.
1866         (COND_EXEC_TEST): Likewise.
1867         (COND_EXEC_CODE): Likewise.
1868         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
1869         (PHI_NODE_P): Add parenthesis.
1870         (plus_constant): Whitespace and add parenthesis.
1871
1872 2002-01-03  Kazu Hirata  <kazu@hxi.com>
1873
1874         * config/avr/avr.c: Fix comment typos.
1875         * config/c4x/c4x.md: Likewise.
1876         * config/dsp16xx/dsp16xx.h: Likewise.
1877         * config/dsp16xx/dsp16xx.md: Likewise.
1878         * config/i386/i386.md: Likewise.
1879         * config/ia64/ia64.c: Likewise.
1880         * config/m32r/m32r.h: Likewise.
1881         * config/m68hc11/m68hc11.md: Likewise.
1882         * config/mmix/mmix.c: Likewise.
1883         * config/mn10200/mn10200.c: Likewise.
1884         * config/romp/romp.c: Likewise.
1885         * config/sh/sh.c: Likewise.
1886         * config/stormy16/stormy16.c: Likewise.
1887         * config/stormy16/stormy16.h: Likewise.
1888         * config/stormy16/stormy16.md: Likewise.
1889
1890 2002-01-03  Graham Stott  <grahams@redhat.com>
1891
1892         * loop.h: Update copyright date.
1893         (LOOP_MOVABLES): Fix typo.
1894         (LOOP_REGS): Likewise.
1895         (LOOP_IVS): Likewise.
1896
1897 2002-01-03  Graham Stott  <grahams@redhat.com>
1898
1899         * cppinit.c: Update copyright date.
1900         Don't include output.h
1901         * Makefile.in: Update copyright date.
1902         Update dependency.
1903
1904 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1905
1906         PR c/5226
1907         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
1908         (-pthread) Add to RS/6000 options.
1909
1910 2002-01-02  Kazu Hirata  <kazu@hxi.com>
1911
1912         * except.c: Fix comment typos.
1913         * loop.c: Likewise.
1914         * varasm.c: Likewise.
1915         * doc/tm.texi: Fix a typo.
1916
1917 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
1918
1919         * c-typeck.c (output_init_element): Allow initializing static storage
1920         duration objects with compound literals.
1921
1922 2002-01-02  Richard Henderson  <rth@redhat.com>
1923
1924         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
1925         after abusing it.
1926
1927 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1928
1929         * gcc.c (default_compilers): Const-ify.
1930         * mips-tdump.c (stab_names): Likewise.
1931         * mips-tfile.c (map_coff_types, map_coff_storage,
1932         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
1933         pseudo_ops_t, pseudo_ops): Likewise.
1934         * protoize.c (default_include): Likewise
1935
1936         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
1937         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
1938         Add array size in declaration.
1939         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
1940         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
1941         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
1942         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
1943         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
1944         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
1945         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
1946         emtens, make_nan): Const-ify.
1947         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
1948         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
1949
1950 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
1951
1952         * config.gcc (ia64-*-*): Set extra_headers.
1953         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
1954         * config/alpha/t-osf: Remove.
1955         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
1956
1957 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
1958
1959         * config/rs6000/t-aix43: Revert previous change.
1960
1961 2002-01-02  Jason Merrill  <jason@redhat.com>
1962
1963         * c-decl.c (c_expand_body): Call outlining_inline_function when
1964         emitting an inline function out of line.
1965
1966 2002-01-02  Richard Henderson  <rth@redhat.com>
1967
1968         * dwarf2out.c (limbo_die_node): Add created_for member.
1969         (new_die): New argument created_for.  Update all callers.
1970         (mark_limbo_die_list): New.
1971         (dwarf2out_init): Register limbo_die_list as a root.
1972         (dwarf2out_finish): Force insert limbo dies into their function
1973         context.
1974
1975 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
1976
1977         PR c++/5089
1978         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
1979
1980 2002-01-02  Kazu Hirata  <kazu@hxi.com>
1981
1982         * config/h8300/fixunssfsi.c: Update copyright.
1983         Fix comment typos.
1984         Fix formatting.
1985         * config/h8300/h8300.c: Update copyright.
1986         Eliminate warnings.
1987
1988 2002-01-02  Kazu Hirata  <kazu@hxi.com>
1989
1990         * config/romp/romp.c: Fix comment formatting.
1991         * config/romp/romp.h: Likewise.
1992         * config/romp/romp.md: Likewise.
1993         * config/s390/s390.c: Likewise.
1994         * config/stormy16/stormy16.c: Likewise.
1995         * config/stormy16/stormy16.h: Likewise.
1996
1997 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
1998
1999         * c-common.h (genrtl_expr_stmt_value): Declare.
2000         * c-semantics.c (genrtl_goto_stmt): Redirect to...
2001         (genrtl_goto_stmt_value): ... this new function.  Pass new
2002         argument down to expand_expr_stmt_value, taking
2003         TREE_ADDRESSABLE into account.
2004         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2005         STMT_EXPR as addressable, i.e., one whose result we want.
2006         * expr.c (expand_expr): Don't save expression statement value
2007         of labeled_blocks or loop_exprs.
2008         * stmt.c (expand_expr_stmt): Redirect to...
2009         (expand_expr_stmt_value): ... this new function.  Use new
2010         argument to tell whether to save expression value.
2011         (expand_end_stmt_expr): Reset last_expr_type and
2012         last_expr_value if we don't have either.
2013         * tree-inline.c (declare_return_variable): Mark its use
2014         statement as addressable.
2015         * tree.h: Document new use of TREE_ADDRESSABLE.
2016         (expand_expr_stmt_value): Declare.
2017
2018 2002-01-01  Tom Rix  <trix@redhat.com>
2019
2020         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2021         rs6000_emit_allocate_stack.
2022
2023 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
2024
2025         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2026         ${srcdir}/ginclude/ to every entry in extra_headers.
2027         * configure: Regenerate.
2028         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2029         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2030         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2031         * ginclude/proto.h: Rename to config/convex/proto.h.
2032
2033 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2034
2035         * attribs.c (handle_vector_size_attribute): Use host_integerp
2036         and tree_int_cst; remove warnings.
2037         * caller-save.c (insert_restore): Add cast to get rid of warning.
2038         (insert_save): Likewise.
2039         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2040         * regmove.c (find_matches): Add temporary var to kill a warning.
2041
2042 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
2043
2044         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2045         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2046         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2047         (vms-dwarf2eh.o): Add Makefile rule.
2048         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2049         * config/alpha/vms-dwarf2eh.asm: New file.
2050
2051         * gcc.c (delete_if_ordinary): Delete all versions.
2052
2053 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
2054
2055         * config/mmix/mmix.md: Update FIXME to not mention
2056         define_constants.
2057         (MMIX_rJ_REGNUM): New define_constants constant.
2058         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2059         "*movdicc_real"): Adjust contraints formatting.
2060         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2061         for branch prediction.
2062         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2063         output template.
2064         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2065         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2066         number.  Delete related FIXMEs.
2067         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2068         from number to MMIX_rJ_REGNUM.
2069         (TARGET_MASK_BRANCH_PREDICT): New.
2070         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2071         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
2072         value.  Add -mbranch-predict and -mno-branch-predict.
2073         (TARGET_VERSION): Drop date.
2074         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2075         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2076         for finding out global symbols.
2077         (mmix_asm_output_labelref): Revert condition for global symbol.
2078         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2079         (mmix_print_operand_punct_valid_p): A '+' is valid.
2080
2081 See ChangeLog.6 for earlier changes.