OSDN Git Service

* config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-01-09  Richard Henderson  <rth@redhat.com>
2
3         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
4
5 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
6
7         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
8         function.
9         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
10         prototype.
11         * config/mmix/mmix.c (ASM_IDENTIFY_GCC): Remove unused macro.
12
13 2002-01-09  Kazu Hirata  <kazu@hxi.com>
14
15         * read-rtl.c: Fix formatting.
16         * real.c: Likewise.
17         * regclass.c: Likewise.
18         * regrename.c: Likewise.
19         * reg-stack.c: Likewise.
20         * reload1.c: Likewise.
21         * reload.c: Likewise.
22         * rtl.c: Likewise.
23
24 2002-01-09  Kazu Hirata  <kazu@hxi.com>
25
26         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
27         to extract items in the expr_list chain.
28
29 2002-01-09  Richard Henderson  <rth@redhat.com>
30
31         * config/vax/vax.c (vax_rtx_cost): Never abort.
32
33         * config/vax/vax.h (REAL_ARITHMETIC): Define.
34
35 2002-01-09  Jan Hubicka  <jh@suse.cz>
36
37         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
38
39 2002-01-09  Richard Henderson  <rth@redhat.com>
40
41         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
42         Unify code from various alternatives.
43
44 2002-01-09  Richard Henderson  <rth@redhat.com>
45
46         * regrename.c (copy_value): Ignore the copy if the source register
47         is present in the value chain with a narrower mode.
48
49 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
50
51         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
52         for the c4x target. Also improve layout.
53
54 2002-01-09  Richard Henderson  <rth@redhat.com>
55
56         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
57         * config/m32r/m32r.md (and ior xor splitters): Swap operands
58         to match insn patterns.
59
60 2002-01-09  Richard Henderson  <rth@redhat.com>
61
62         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
63         (copyprop_hardreg_forward_1): Likewise.
64
65 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
66
67         * pa.md (decrement_and_branch_until_zero): Change predicate for
68         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
69
70 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
71
72         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
73         gets undefined. For Darwin.
74
75 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
76
77         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
78
79 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
80
81         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
82
83 2002-01-08  Richard Henderson  <rth@redhat.com>
84
85         * regrename.c (copy_value): Ignore overlapping copies.
86
87 2002-01-08  Richard Henderson  <rth@redhat.com>
88
89         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
90         as needed to avoid shared structure.
91
92 2002-01-08  Kazu Hirata  <kazu@hxi.com>
93
94         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
95         H8/300H and H8/S.
96
97 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
98
99         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
100         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
101         documentation of obsolete macros.
102         * system.h: Poison these macros.
103         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
104         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
105         config/c4x/c4x.h, config/clipper/clipper.h,
106         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
107         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
108         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
109         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
110         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
111         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
112         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
113         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
114         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
115         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
116         config/sparc/sparc.h, config/stormy16/stormy16.h,
117         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
118         definitions and commented out definitions of obsolete macros.
119         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
120         of MAX_INT_TYPE_SIZE.
121
122 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
123
124         * config/s390/s390.c (s390_preferred_reload_class): Never
125         return ADDR_REGS if it isn't a subset of the given class.
126         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
127         FP_REGS, but all superclasses as well.
128
129         * config/s390/s390.c (s390_function_profiler): Fix thinko.
130
131         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
132         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
133         must not be a const_int.
134
135 2002-01-08  Richard Henderson  <rth@redhat.com>
136
137         * Makefile.in (toplev.o): Depend on options.h.
138         (gcc.o): Depend on specs.h.
139
140 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
141
142         * expr.c (store_expr): Convert VOIDmode constants back to target's
143         mode.
144
145 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
146
147         * doc/invoke.texi: Markup gcc as @command.  Refer to
148         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
149         of http://gcc.gnu.org/thanks.html.
150
151 2002-01-08  Dale Johannesen  <dalej@apple.com>
152
153         * config/rs6000/rs6000.md: Add missing int register
154         target case to movdf_low.
155
156 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
157
158         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
159         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
160         (cppinit.o): Depend on except.h.
161         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
162         s-specs): New rules.
163
164         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
165         Don't create specs.h/options.h/gencheck.h here.  Remove
166         unnecessary variable settings from last argument of AC_OUTPUT.
167         * config.in, configure: Regenerate.
168         * intl.c: Hardcode package name as "gcc".
169
170         * cppinit.c: Include except.h.
171         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
172         appropriate.
173         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
174         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
175         (!)USING_SJLJ_EXCEPTIONS.
176         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
177
178 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
179
180         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
181         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
182         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
183         documentation of obsolete macros.
184         * system.h: Poison these macros.
185         * config/d30v/d30v.h, config/ns32k/encore.h,
186         config/stormy16/stormy16.h: Remove definitions and commented out
187         definitions of obsolete macros.
188
189 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
190
191         * objc/objc-act.c (handle_class_ref): Mark the declaration of
192         %sobjc_class_ref_%s as used - to prevent unwanted compiler
193         warnings.
194
195 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
196
197         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
198         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
199         to insn adjusting stack/frame pointer.
200         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
201         accept operands that cause the insn to be non-splittable.
202
203 2002-01-08  Graham Stott  <grahams@redhat.com>
204
205         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
206         (C_TYPE_FIELDS_VOLATILE): Likewise.
207         (C_TYPE_BEING_DEFINED): Likewise.
208         (C_IS_RESERVED_WORD): Likewise.
209         (C_TYPE_VARIABLE_SIZE): Likewise.
210         (C_DECL_VARIABLE_SIZE): Likewise.
211         (C_MISSING_PROTOTYPE_WARNED): Likewise.
212         (C_SET_EXP_ORIGINAL_CODE): Likewise.
213         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
214         parenthesis.
215         (C_DECL_ANTICIPATED): Likewise.
216         (c_build_type_variant): Add parenthesis.
217
218 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
219
220         * gcc.c (option_map): Remove --version.
221         (process_command): Handle -fversion following the GNU Coding
222         Standards.  Partially addresses PR other/704.
223
224 2002-01-08  Graham Stott  <grahams@redhat.com>
225
226         * combine.c (combine_instructions): Fix typo.
227
228 2002-01-08  Graham Stott  <grahams@redhat.com>
229
230         * debug.h: Use "tree" and "rtx" throughout.
231
232         * debug.c: Likewise.
233
234 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
235
236         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
237         constant pool, use the pool's version of the symbol instead.
238
239 2002-01-07  Richard Henderson  <rth@redhat.com>
240
241         * regrename.c (find_oldest_value_reg): Ignore the value chain if
242         the original register was copied in a mode with a fewer number of
243         hard registers than the desired mode.
244         (copyprop_hardreg_forward_1): Likewise.
245         (debug_value_data): Fix loop test.
246         * toplev.c (parse_options_and_default_flags): Reenable
247         -fcprop-registers at -O1.
248
249 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
250
251         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
252         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
253
254         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
255         predicates.
256
257         * config/rs6000/rs6000.md: Add altivec predicate patterns.
258
259 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
260
261         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
262         (pa_output_function_prologue): Output local label at the beginning of
263         the prologue when profiling.
264         (hppa_profile_hook): Use the local label rather than the function label.
265         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
266
267 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
268
269         * config/rs6000/rs6000.c (print_operand): Remove extra space.
270         (altivec_expand_unop_builtin): Fix thinko.
271         (altivec_expand_binop_builtin): Same.
272         (altivec_expand_ternop_builtin): Same.
273         (altivec_expand_builtin): Same.
274
275 2002-01-07  Richard Henderson  <rth@redhat.com>
276
277         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
278
279 2002-01-07  Jason Merrill  <jason@redhat.com>
280
281         * unwind-dw2.c (execute_cfa_program): Use < again.
282
283 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
284
285         * predict.c (combine_predictions_for_insn): Avoid division by zero.
286
287 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
288
289         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
290         Don't allow -1 - x -> ~x simplifications in the first pass.
291
292 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
293
294         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
295         arguments.
296         (altivec_expand_binop_builtin): Same.
297         (altivec_expand_unop_builtin): Same.
298         (print_operand): Fix typo.
299         (bdesc_1arg): Add vupk* variants.
300
301         * rs6000.h (rs6000_builtins): Add vupk* enums.
302
303         * rs6000.md: Add altivec_vupk* variants.
304
305 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
306
307         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
308         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
309         and last update dates.
310
311 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
312
313         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
314
315 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
316
317         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
318         * config/avr/avr.h (CPP_SPEC): Likewise.
319         (LINK_SPEC): Likewise.
320         (CRT_BINUTILS_SPECS): Likewise.
321         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
322         * doc/invoke.texi (AVR Options): Document them.
323
324 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
325
326         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
327         LABEL_NUSES.
328
329 2002-01-07  Graham Stott  <grahams@redhat.com>
330
331         * config/i386/i386.h: Update copyright date.
332         (HALF_PIC_PTR): Add parenthesis.
333         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
334         (CONSTANT_ALIGNMENT): Add parenthesis.
335         (DATA_ALIGNMENT): Likewise.
336         (LOCAL_ALIGNMENT): Likewise.
337         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
338         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
339         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
340         (HARD_REGNO_NREGS): Add paranethesis.
341         (VALID_SSE_REG_MODE): Whitespace.
342         (VALID_MMX_REG_MODE): Whitespace.
343         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
344         (ix86_hard_regno_mode_ok): Add parenthesis.
345         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
346         (RETURN_IN_MEMORY): Whitespace.
347         (N_REG_CLASSES): Add parenthesis.
348         (INTEGER_CLASS_P): Add parenthesis and wrap.
349         (FLOAT_CLASS_P): Likewise.
350         (SSE_CLASS_P): Likewise.
351         (MMX_CLASS_P): Likewise.
352         (MAYBE_INTEGER_CLASS_P): Likewise.
353         (MAYBE_FLOAT_CLASS_P): Likewise.
354         (MAYBE_SSE_CLASS_P): Likewise.
355         (MAYBE_MMX_CLASS_P): Likewise.
356         (Q_CLASS_P): Likewise.
357         (GENERAL_REGNO_P): Uppercase macro parameter.
358         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
359         (FP_REGNO_P): Likewise.
360         (ANY_FP_REGNO_P): Uppercase macro parameter.
361         (SSE_REGNO_P): Likewise.
362         (SSE_REGNO): Likewise.
363         (SSE_REG_P): Likewise.
364         (SSE_FLOAT_MODE_P): Likewise.
365         (MMX_REGNO_P): Likewise.
366         (MMX_REG_P):Likewise.
367         (STACK_REG_P): Likewise.
368         (NON_STACK_REG_P): Likewise.
369         (STACK_TOP_P): Likewise.
370         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
371         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
372         (SECONDARY_MEMORY_NEEDED): Likewise.
373         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
374         (MD_ASM_CLOBBERS): Whitespace and wrap.
375         (MUST_PASS_IN_STACK): Whitespace and wrap.
376         (RETURN_POPS_ARGS): Add parenthesis.
377         (INIT_CUMULATIVE_ARGS): Likewise.
378         (FUNCTION_ARG): Likewise.
379         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
380         (SETUP_INCOMING_VARARGS): Likewise.
381         (BUILD_VA_LIST_TYPE):  Add parenthesis.
382         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
383         parenthsis.
384         (EXPAND_BUILTIN_VA_ARG): Likewise.
385         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
386         (INITIALIZE_TRAMPOLINE): Add parenthesis.
387         (INITIAL_ELIMINATION_OFFSET): Likewise.
388         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
389         (REGNO_OK_FOR_BASE_P): Likewise.
390         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
391         (REGNO_OK_FOR_DIREG_P): Likewise.
392         (REG_OK_FOR_INDEX_P): Whitespace.
393         (REG_OK_FOR_BASE_P): Whitespace.
394         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
395         parenthesis.
396         (FIND_BASE_TERM): Fix typo.
397         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
398         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
399         (SYMBOLIC_CONST; Whitespace.
400         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
401         (ENCODE_SECTION_INFO): Whitespace.
402         (FINALIZE_PIC): Remove do { ... } while (0).
403         (PROMOTE_MODE): Wrap in do { ... } while (0).
404         (CONST_COSTS): Whitespace.
405         (RTX_COSTS): Add paramethesis, whitespace and wrap.
406         (REGISTER_MOVE_COST): Add parenthesis.
407         (MEMORY_MOVE_COST): Likewise.
408         (EXTRA_CC_MODES): Whitespace.
409         (SELECT_CC_MODE): Add parenthesis and whitespace.
410         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
411         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
412         (ASM_OUTPUT_LABEL): Add paramethesis.
413         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
414         (ASM_OUTPUT_REG_POP): Likewise.
415         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
416         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
417
418         * config/i386/i386.c: Update copyright.
419         (CHECK_STACK_LIMIT): Add parenthesis.
420         (AT_BP): Uppercase macro parameter.
421         (x86_64_int_parameter_registers): Constify.
422         (x86_64_int_return_registers): Likewise.
423         (ix86_compare_op0): Use rtx.
424         (construct_container): Constify INTREG parameter.
425         (function_arg): Use rtx.
426
427         * diagnostic.h: Update copyright date.
428         (output_buffer_state): Add parenthesis.
429         (output_buffer_format_args): Likewise.
430
431         * combine.c (combine_instructions): Replace XEXP (links, 0)
432         with link.
433
434 2002-01-06  H.J. Lu <hjl@gnu.org>
435
436         * cfgcleanup.c (thread_jump): Fix 2 typos.
437
438 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
439
440         * config.gcc: Add support for --enable-altivec.
441
442 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
443
444         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
445
446 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
447
448         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
449         __objc_class_name_*.
450
451 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
452
453         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
454
455 2002-01-06  Richard Henderson  <rth@redhat.com>
456
457         * reorg.c (emit_delay_sequence): Remove death notes, not merely
458         nop them out.  Increment label reference count for REG_LABEL.
459         (fill_slots_from_thread): Frob label reference count around
460         delete_related_insns.
461
462 2002-01-05  Richard Henderson  <rth@redhat.com>
463
464         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
465         jump threading.
466
467 2002-01-05  Richard Henderson  <rth@redhat.com>
468
469         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
470         * integrate.c (output_inline_function): Likewise.
471         * toplev.c (rest_of_compilation): Do it here instead.  Move call
472         to remove_unnecessary_notes after emitting abstract instance.
473         Force an emitted nested function to have its parent emited as well.
474         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
475         for null.
476         (rtl_for_decl_location): Do not look at reload data structures
477         before reload has run.
478
479 2002-01-05  Kazu Hirata  <kazu@hxi.com>
480
481         * cse.c: Fix formatting.
482         * dwarf2asm.c: Likewise.
483         * dwarf2out.c: Likewise.
484         * explow.c: Likewise.
485         * expmed.c: Likewise.
486         * function.c: Likewise.
487         * gcov.c: Likewise.
488         * gencheck.c: Likewise.
489         * genrecog.c: Likewise.
490         * ggc-common.c: Likewise.
491         * ggc-page.c: Likewise.
492         * global.c: Likewise.
493
494 2002-01-05  Kazu Hirata  <kazu@hxi.com>
495
496         * combine.c: Fix formatting.
497
498 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
499
500         PR middle-end/1557
501         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
502
503 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
504
505         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
506         as 1 for __powerpc64__ as well.
507
508         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
509
510         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
511         return it.
512
513 2002-01-05  Daniel Berlin  <dan@dberlin.org>
514
515         * lcm.c: Revert change, due to performance regression it causes on
516         SPEC because it's slightly more conservative (sigh, I hate
517         edge-based LCM).
518
519 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
520
521         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
522
523 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
524
525         * doc/cppinternals.texi: Update.
526
527 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
528
529         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
530         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
531         negatives.
532         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
533         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
534         kludge for pre-october-14th mmix versions to handle new-found bug
535         with PUSHJ/PUSHGO and the register stack.
536         * config/mmix/mmix.h (struct machine_function): Rename member
537         has_call_value_without_parameters to has_call_without_parameters.
538         All referers changed.
539         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
540         TARGET_MASK_BRANCH_PREDICT): New macros.
541         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
542         -mno-reg-stack-fill-bug-workaround.
543         * config/mmix/mmix.md ("call"): Set struct machine member
544         has_call_without_parameters.
545
546 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
547
548         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
549
550 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
551
552         * cfgcleanup.c: Include tm_p.h
553         (mark_effect): Fix handling of hard register; fix handling of SET
554
555 2002-01-04  Kazu Hirata  <kazu@hxi.com>
556
557         * config/h8300/h8300.md (anonymous patterns): Check that
558         operands are registers before using REGNO on them.
559
560 2002-01-03  Roland McGrath  <roland@frob.com>
561
562         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
563
564 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
565
566         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
567         * c-common.h (genrtl_expr_stmt_value): Likewise.
568         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
569         (expand_expr_stmt_value): Add maybe_last argument.
570         Don't warn about statement with no effect if it is the last statement
571         in expression statement.
572         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
573         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
574         expand_expr_stmt_value.
575         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
576         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
577         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
578         as maybe_last to expand_expr_stmt_value.
579
580 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
581
582         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
583         be passed in, do not build it.
584         (c_begin_if_stmt): New function.
585         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
586         * c-common.h (c_expand_start_cond): Update prototype.
587         (c_begin_if_stmt): Prototype new function.
588         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
589         * c-parse.in (if_prefix): Use c_begin_if_stmt,
590         c_begin_while_stmt and c_finish_while_stmt_cond.
591
592 2002-01-04  William Cohen  <wcohen@redhat.com>
593
594         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
595         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
596         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
597         * config/pa/som.h (ASM_FILE_START): Likewise.
598
599 2001-01-04  Daniel Berlin  <dan@cgsoftware.com>
600
601         * lcm.c: Include df.h.
602         Add available_transfer_function prototype.
603         (compute_available): Rework to use iterative dataflow framework.
604         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
605         with bb_info in df.h
606         (available_transfer_function): New function.
607
608         * Makefile.in (lcm.o): add df.h to dependencies.
609
610 2002-01-04  Richard Henderson  <rth@redhat.com>
611
612         * config/alpha/alpha.c (some_operand): Accept HIGH.
613         (input_operand): Likewise; accept simple references to globals.
614         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
615         (alpha_const_double_ok_for_letter_p): Likewise.
616         (alpha_extra_constraint): Likewise.
617         (alpha_preferred_reload_class): Likewise.  Do not force
618         symbolic constants to memory.
619         (alpha_legitimate_address_p): Accept simple references
620         to small_symbolic_operand.
621         (alpha_legitimize_address): New arg scratch.  Be prepared to be
622         called when no_new_pseudos.  Emit simple symbolic references.
623         Split integers into low, high, and rest.
624         (alpha_expand_mov): Use alpha_legitimize_address.
625         (some_small_symbolic_mem_operand): New.
626         (split_small_symbolic_mem_operand): New.
627         * config/alpha/alpha-protos.h: Update.
628         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
629         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
630         (EXTRA_CONSTRAINT): Likewise.
631         (PREFERRED_RELOAD_CLASS): Likewise.
632         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
633         (PREDICATE_CODES): Update.
634         * config/alpha/alpha.md: New post-reload splitters to convert
635         simplfied symbolic operands to the form that references $29.
636         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
637         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
638
639 2002-01-03  Richard Henderson  <rth@redhat.com>
640
641         * local-alloc.c (function_invariant_p): Update commentary.
642
643 2002-01-04  H.J. Lu <hjl@gnu.org>
644
645         * toplev.c (rest_of_compilation): Fix a typo when calling
646         cleanup_cfg.
647
648 2002-01-03  Kazu Hirata  <kazu@hxi.com>
649
650         * c-common.c: Fix formatting.
651         * diagnostic.c: Likewise.
652         * doloop.c: Likewise.
653         * dwarf2out.c: Likewise.
654
655 2002-01-03  Kazu Hirata  <kazu@hxi.com>
656
657         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
658         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
659
660 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
661
662         * cpperror.c: Update comments and copyright.
663         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
664         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
665
666 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
667
668         * collect2.c (main): Use strcmp when testing for "-shared".
669
670 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
671
672         * cppmacro.c: Don't include intl.h.  Update comments.
673         (new_number_token): Allocate enough buffer for 64-bit unsigned
674         integers; update prototype.
675         * cppmain.c: Update comments.
676
677 2002-01-03  William Cohen  <wcohen@redhat.com>
678
679         * function.h (struct function): Add profile.
680         (current_function_profile): New.
681         doc/extend.texi: Update documentation.
682         * final.c (final_start_function): Use current_function_profile
683         instead of profile_flag.
684         (profile_after_prologue): Likewise.
685         * function.c (expand_function_start): Likewise.
686         (expand_function_start): Likewise.
687         * config/alpha/alpha.c (direct_call_operand):
688         (alpha_does_function_need_gp): Likewise.
689         (alpha_expand_prologue): Likewise.
690         * config/arm/arm.c (arm_expand_prologue): Likewise.
691         thumb_expand_prologue: Likewise.
692         * config/d30v/d30v.c (d30v_stack_info): Likewise.
693         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
694         (fr30_expand_prologue): Likewise.
695         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
696         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
697         * config/i386/i386.h (FINALIZE_PIC): Likewise.
698         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
699         * config/i960/i960.c (i960_output_function_prologue): Likewise.
700         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
701         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
702         (m32r_expand_prologue): Likewise.
703         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
704         (m88k_expand_prologue): Likewise.
705         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
706         * config/mips/mips.c (compute_frame_size): Likewise.
707         (mips_expand_prologue): Likewise.
708         (mips_can_use_return_insn): Likewise.
709         * config/pa/elf.h (ASM_FILE_START): Likewise.
710         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
711         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
712         * config/pa/som.h (ASM_FILE_START): Likewise.
713         * config/romp/romp.c (romp_using_r14): Likewise.
714         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
715         (rs6000_stack_info): Likewise.
716         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
717         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
718         * config/v850/v850.c (compute_register_save_size): Likewise.
719
720 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
721
722         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
723         gen_lowpart_common fails, use gen_lowpart_SUBREG.
724
725 2002-01-03  Turly O'Connor  <turly@apple.com>
726
727         * darwin.c (machopic_output_possible_stub_label): Don't generate
728         stub routines for pseudo-stubs which we've just defined.
729
730 2002-01-03  Kazu Hirata  <kazu@hxi.com>
731
732         * builtins.c: Fix formatting.
733         * c-typeck.c: Likewise.
734         * combine.c: Likewise.
735         * expr.c: Likewise.
736         * loop.c: Likewise.
737
738 2002-01-03  Andreas Schwab  <schwab@suse.de>
739
740         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
741         and return true if _cpp_push_next_buffer pushed a new include
742         file.
743         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
744         _cpp_pop_file_buffer did not push a new file.
745         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
746
747 2002-01-02  Eric Christopher  <echristo@redhat.com>
748
749         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
750         FIND_REG_INC_NOTE call. Update copyright.
751         * loop.c (canonicalize_condition): Ditto.
752         * reorg.c (delete_scheduled_jump): Ditto.
753
754 2002-01-03  Kazu Hirata  <kazu@hxi.com>
755
756         * gcse.c: Fix formatting.
757
758 2002-01-03  Graham Stott  <grahams@redhat.com>
759
760         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
761         forward defs for struct tags rtx_def, union_tree, rtvec_def
762         also output corresponding typedefs for rtx, tree, and rtvec.
763
764         * system.h: Move forward defs for struct tags rtx_def, union_tree,
765         rtvec_def along with corresponding typedefs for rtx, tree, and
766         rtvec to config.h, hconfig.h, tconfig.h.
767
768 2002-01-03  Graham Stott  <grahams@redhat.com>
769
770         * tree.h: Update copyright date.
771         (IS_EXPR_CODE_CLASS): Add parenthesis.
772         (TREE_SET_CODE): Add whitespace.
773         (TREE_CHECK): Add parenthesis.
774         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
775         (CST_OR_CONSTRUCTOR_CHECK):
776         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
777         (TREE_SYMBOL_REFERENCED): Whitespace.
778         (INT_CST_LT): Likewise.
779         (INT_CST_LT_UNSIGNED): Likewise.
780         (tree_real_cst): Unwrap comment.
781         (tree_string): Likewise.
782         (tree_complex): Likewise.
783         (IDENTIFIER_POINTER): correct cast.
784         (SAVE_EXPR_CONTEXT): Whitespace.
785         (EXPR_WFL_FILENAME_NODE): Likewise.
786         (EXPR_WFL_FILENAME): Remove parenthesis.
787         (DECL_ORIGIN): Add parenthesis.
788         (DECL_FROM_INLINE): Use NULL_TREE.
789         (build_int_2): Whitespace.
790         (build_type_variant): Add parenthesis.
791
792         * gcc/jcf-parse.c: Update copyright date.
793         (yyparse): Constify resource_filename.
794
795 2002-01-03  Graham Stott  <grahams@redhat.com>
796
797         * rtl.h: Update copyright date.
798         (RTL_CHECK1): Wrap long line.
799         (RTL_CHECK2): Likewise.
800         (RTL_CHECKC1): Wrap long line and whitespace.
801         (RTL_CHECKC2): Likewise.
802         (XWINT): Whitespace.
803         (XINT): Likewise.
804         (XSTR): Likewise.
805         (XEXP): Likewise.
806         (XVEC): Likewise.
807         (XMODE): Likewise.
808         (XBITMAP): Likewise.
809         (XTREE): Likewise.
810         (XBBDEF): Likewise.
811         (XTMPL): Likewise.
812         (X0WINT): Likewise.
813         (X0INT):Likewise.
814         (X0UINT): Likewise.
815         (X0STR): Likewise.
816         (X0EXP): Likewise.
817         (X0VEC): Likewise.
818         (X0MODE): Likewise.
819         (X0BITMAP): Likewise.
820         (X0TREE): Likewise.
821         (X0BBDEF): Likewise.
822         (X0ADVFLAGS): Likewise.
823         (X0CSELIB): Likewise.
824         (X0MEMATTR): Likewise.
825         (XCWINT): Likewise.
826         (XCINT): Likewise.
827         (XCUINT): Likewise.
828         (XCSTR): Likewise.
829         (XCEXP): Likewise.
830         (XCVEC): Likewise.
831         (XCMODE): Likewise.
832         (XCBITMAP): Likewise.
833         (XCTREE): Likewise.
834         (XCBBDEF): Likewise.
835         (XCADVFLAGS): Likewise.
836         (XCCSELIB): Likewise.
837         (XC2EXP): Likewise.
838         (INSN_UID): Likewise.
839         (PREV_INSN): Likewise.
840         (PATTERN): Likewise.
841         (INSN_CODE): Likewise.
842         (PUT_REG_NOTE_KIND): Likewise.
843         (CODE_LABEL_NUMBER): Likewise.
844         (NOTE_SOURCE_FILE): Likewise.
845         (NOTE_BLOCK): Likewise.
846         (NOTE_EH_HANDLER): Likewise.
847         (NOTE_RANGE_INFO): Likewise.
848         (NOTE_LIVE_INFO): Likewise.
849         (NOTE_BASIC_BLOCK): Likewise.
850         (NOTE_EXPECTED_VALUE): Likewise.
851         (NOTE_LINE_NUMBER): Likewise.
852         (LABEL_NAME): Likewise.
853         (LABEL_NUSES): Likewise.
854         (LABEL_ALTERNATE_NAME): Likewise.
855         (ADDRESSOF_DECL): Likewise.
856         (JUMP_LABEL): Likewise.
857         (LABEL_NEXTREF): Likewise.
858         (REGNO): Likewise.
859         (ORIGINAL_REGNO: Likewise.
860         (HARD_REGISTER_NUM_P): Add parenthesis.
861         (SUBREG_REG): Whitespace.
862         (SUBREG_BYTE): Likewise.
863         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
864         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
865         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
866         (ASM_OPERANDS_INPUT_VEC): Likewise.
867         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
868         (ASM_OPERANDS_INPUT): Likewise.
869         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
870         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
871         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
872         (ASM_OPERANDS_INPUT_MODE): Likewise.
873         (ASM_OPERANDS_SOURCE_FILE): Likewise.
874         (ASM_OPERANDS_SOURCE_LINE): Likewise.
875         (MEM_SET_IN_STRUCT_P): Minor reformat.
876         (TRAP_CONDITION): Whitespace.
877         (TRAP_CODE): Likewise.
878         (COND_EXEC_TEST): Likewise.
879         (COND_EXEC_CODE): Likewise.
880         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
881         (PHI_NODE_P): Add parenthesis.
882         (plus_constant): Whitespace and add parenthesis.
883
884 2002-01-03  Kazu Hirata  <kazu@hxi.com>
885
886         * config/avr/avr.c: Fix comment typos.
887         * config/c4x/c4x.md: Likewise.
888         * config/dsp16xx/dsp16xx.h: Likewise.
889         * config/dsp16xx/dsp16xx.md: Likewise.
890         * config/i386/i386.md: Likewise.
891         * config/ia64/ia64.c: Likewise.
892         * config/m32r/m32r.h: Likewise.
893         * config/m68hc11/m68hc11.md: Likewise.
894         * config/mmix/mmix.c: Likewise.
895         * config/mn10200/mn10200.c: Likewise.
896         * config/romp/romp.c: Likewise.
897         * config/sh/sh.c: Likewise.
898         * config/stormy16/stormy16.c: Likewise.
899         * config/stormy16/stormy16.h: Likewise.
900         * config/stormy16/stormy16.md: Likewise.
901
902 2002-01-03  Graham Stott  <grahams@redhat.com>
903
904         * loop.h: Update copyright date.
905         (LOOP_MOVABLES): Fix typo.
906         (LOOP_REGS): Likewise.
907         (LOOP_IVS): Likewise.
908
909 2002-01-03  Graham Stott  <grahams@redhat.com>
910
911         * cppinit.c: Update copyright date.
912         Don't include output.h
913         * Makefile.in: Update copyright date.
914         Update dependency.
915
916 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
917
918         PR c/5226
919         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
920         (-pthread) Add to RS/6000 options.
921
922 2002-01-02  Kazu Hirata  <kazu@hxi.com>
923
924         * except.c: Fix comment typos.
925         * loop.c: Likewise.
926         * varasm.c: Likewise.
927         * doc/tm.texi: Fix a typo.
928
929 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
930
931         * c-typeck.c (output_init_element): Allow initializing static storage
932         duration objects with compound literals.
933
934 2002-01-02  Richard Henderson  <rth@redhat.com>
935
936         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
937         after abusing it.
938
939 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
940
941         * gcc.c (default_compilers): Const-ify.
942         * mips-tdump.c (stab_names): Likewise.
943         * mips-tfile.c (map_coff_types, map_coff_storage,
944         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
945         pseudo_ops_t, pseudo_ops): Likewise.
946         * protoize.c (default_include): Likewise
947
948         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
949         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
950         Add array size in declaration.
951         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
952         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
953         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
954         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
955         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
956         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
957         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
958         emtens, make_nan): Const-ify.
959         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
960         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
961
962 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
963
964         * config.gcc (ia64-*-*): Set extra_headers.
965         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
966         * config/alpha/t-osf: Remove.
967         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
968
969 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
970
971         * config/rs6000/t-aix43: Revert previous change.
972
973 2002-01-02  Jason Merrill  <jason@redhat.com>
974
975         * c-decl.c (c_expand_body): Call outlining_inline_function when
976         emitting an inline function out of line.
977
978 2002-01-02  Richard Henderson  <rth@redhat.com>
979
980         * dwarf2out.c (limbo_die_node): Add created_for member.
981         (new_die): New argument created_for.  Update all callers.
982         (mark_limbo_die_list): New.
983         (dwarf2out_init): Register limbo_die_list as a root.
984         (dwarf2out_finish): Force insert limbo dies into their function
985         context.
986
987 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
988
989         PR c++/5089
990         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
991
992 2002-01-02  Kazu Hirata  <kazu@hxi.com>
993
994         * config/h8300/fixunssfsi.c: Update copyright.
995         Fix comment typos.
996         Fix formatting.
997         * config/h8300/h8300.c: Update copyright.
998         Eliminate warnings.
999
1000 2002-01-02  Kazu Hirata  <kazu@hxi.com>
1001
1002         * config/romp/romp.c: Fix comment formatting.
1003         * config/romp/romp.h: Likewise.
1004         * config/romp/romp.md: Likewise.
1005         * config/s390/s390.c: Likewise.
1006         * config/stormy16/stormy16.c: Likewise.
1007         * config/stormy16/stormy16.h: Likewise.
1008
1009 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
1010
1011         * c-common.h (genrtl_expr_stmt_value): Declare.
1012         * c-semantics.c (genrtl_goto_stmt): Redirect to...
1013         (genrtl_goto_stmt_value): ... this new function.  Pass new
1014         argument down to expand_expr_stmt_value, taking
1015         TREE_ADDRESSABLE into account.
1016         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1017         STMT_EXPR as addressable, i.e., one whose result we want.
1018         * expr.c (expand_expr): Don't save expression statement value
1019         of labeled_blocks or loop_exprs.
1020         * stmt.c (expand_expr_stmt): Redirect to...
1021         (expand_expr_stmt_value): ... this new function.  Use new
1022         argument to tell whether to save expression value.
1023         (expand_end_stmt_expr): Reset last_expr_type and
1024         last_expr_value if we don't have either.
1025         * tree-inline.c (declare_return_variable): Mark its use
1026         statement as addressable.
1027         * tree.h: Document new use of TREE_ADDRESSABLE.
1028         (expand_expr_stmt_value): Declare.
1029
1030 2002-01-01  Tom Rix  <trix@redhat.com>
1031
1032         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1033         rs6000_emit_allocate_stack.
1034
1035 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
1036
1037         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1038         ${srcdir}/ginclude/ to every entry in extra_headers.
1039         * configure: Regenerate.
1040         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1041         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1042         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1043         * ginclude/proto.h: Rename to config/convex/proto.h.
1044
1045 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1046
1047         * attribs.c (handle_vector_size_attribute): Use host_integerp
1048         and tree_int_cst; remove warnings.
1049         * caller-save.c (insert_restore): Add cast to get rid of warning.
1050         (insert_save): Likewise.
1051         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1052         * regmove.c (find_matches): Add temporary var to kill a warning.
1053
1054 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
1055
1056         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1057         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1058         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1059         (vms-dwarf2eh.o): Add Makefile rule.
1060         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1061         * config/alpha/vms-dwarf2eh.asm: New file.
1062
1063         * gcc.c (delete_if_ordinary): Delete all versions.
1064
1065 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
1066
1067         * config/mmix/mmix.md: Update FIXME to not mention
1068         define_constants.
1069         (MMIX_rJ_REGNUM): New define_constants constant.
1070         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1071         "*movdicc_real"): Adjust contraints formatting.
1072         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1073         for branch prediction.
1074         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1075         output template.
1076         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1077         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1078         number.  Delete related FIXMEs.
1079         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1080         from number to MMIX_rJ_REGNUM.
1081         (TARGET_MASK_BRANCH_PREDICT): New.
1082         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1083         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
1084         value.  Add -mbranch-predict and -mno-branch-predict.
1085         (TARGET_VERSION): Drop date.
1086         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1087         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1088         for finding out global symbols.
1089         (mmix_asm_output_labelref): Revert condition for global symbol.
1090         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1091         (mmix_print_operand_punct_valid_p): A '+' is valid.
1092
1093 See ChangeLog.6 for earlier changes.