OSDN Git Service

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