OSDN Git Service

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