OSDN Git Service

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