OSDN Git Service

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