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