OSDN Git Service

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