OSDN Git Service

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