OSDN Git Service

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