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