OSDN Git Service

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