1 2002-01-26 Graham Stott <grahams@redhat.com>
3 * calls.c (try_to_integrate): Use "(size_t)" intermediate
4 cast and when casting an integer literal to "rtx" pointer.
5 (expand_call): Likewise.
6 * flow.c (try_pre_increment): Likewise.
7 (find_use_as_address): Likewise.
8 * integrate.c (expand_iline_function): Likewise.
9 * regmove.c (try_auto_increment): Likewise.
11 2002-01-26 Graham Stott <grahams@redhat.com>
13 * sched-rgn.c (passed): Use sbitmap_free.
19 2002-01-15 Eric Christopher <echristo@redhat.com>
21 * flow.c (propagate_one_insn): Change to use fatal_insn.
23 2002-01-15 Kazu Hirata <kazu@hxi.com>
25 * expmed.c (extract_fixed_bit_field): Remove unused code.
26 * system.h: Poison SLOW_ZERO_EXTEND.
27 * doc/tm.texi: Remove.
28 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
29 * config/arm/arm.h: Likewise.
30 * config/avr/avr.h: Likewise.
31 * config/clipper/clipper.h: Likewise.
32 * config/convex/convex.h: Likewise.
33 * config/d30v/d30v.h: Likewise.
34 * config/dsp16xx/dsp16xx.h: Likewise.
35 * config/elxsi/elxsi.h: Likewise.
36 * config/fr30/fr30.h: Likewise.
37 * config/h8300/h8300.h: Likewise.
38 * config/i370/i370.h: Likewise.
39 * config/i386/i386.h: Likewise.
40 * config/m68k/m68k.h: Likewise.
41 * config/mips/mips.h: Likewise.
42 * config/ns32k/ns32k.h: Likewise.
43 * config/pdp11/pdp11.h: Likewise.
44 * config/pj/pj.h: Likewise.
45 * config/s390/s390.h: Likewise.
46 * config/sh/sh.h: Likewise.
47 * config/stormy16/stormy16.h: Likewise.
48 * config/v850/v850.h: Likewise.
49 * config/vax/vax.h: Likewise.
50 * config/we32k/we32k.h: Likewise.
52 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
54 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
55 (altivec_lvsl): Change constraint to b.
57 (altivec_lvebx): Same.
58 (altivec_lvehx): Same.
59 (altivec_lvewx): Same.
62 (altivec_stvx): Add parallel.
63 (altivec_stvxl): Same.
64 (altivec_stvehx): Same.
65 (altivec_stvebx): Same.
66 (altivec_stvebx): Same.
68 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
70 * config.gcc: Change altivec.h to altivec-defs.h.
72 * config/rs6000/altivec.h: Delete.
74 * config/rs6000/altivec-defs.h: Add.
76 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
78 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
81 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
82 less than or equal to eight bytes.
84 * vax.md (andsi3): Remove constraints and change SET destination
85 operand type to nonimmediate_operand.
86 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
87 when it is a CONST_INT.
89 2002-01-15 Jason Merrill <jason@redhat.com>
91 * c-common.def (FILE_STMT): New code.
92 * c-common.c (statement_code_p): It's a statement.
93 * c-common.h (stmt_tree_s): Add x_last_filename.
94 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
95 (last_expr_filename): New macro.
96 * c-semantics.c (begin_stmt_tree): Initialize it.
97 (add_stmt): If the filename changed, also insert a
99 (expand_stmt): Handle seeing one.
101 2002-01-15 Eric Christopher <echristo@redhat.com>
103 * flow.c (propagate_one_insn): Add error message and print out
106 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
108 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
109 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
110 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
111 TRAMPOLINE_ALIGNMENT.
112 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
114 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
115 PCC_BITFIELD_TYPE_MATTERS.
116 * config/interix.h (STDC_VALUE): Remove. Use
117 STDC_0_IN_SYSTEM_HEADERS.
118 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
119 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
120 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
122 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
124 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
125 not work on this platform currently.
127 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
129 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
130 readonly_warning in _().
132 2002-01-15 Douglas B Rupp <rupp@gnat.com>
134 * gcc.c (delete_if_ordinary): Backout previous change.
136 2002-01-15 Kazu Hirata <kazu@hxi.com>
138 * config/h8300/h8300.c (print_operand): Remove support for
139 unused operand characters.
141 * read-rtl.c: Fix formatting.
144 * regclass.c: Likewise.
145 * regmove.c: Likewise.
146 * reg-stack.c: Likewise.
147 * reload1.c: Likewise.
148 * rtlanal.c: Likewise.
150 2002-01-15 Kazu Hirata <kazu@hxi.com>
152 * config/i386/i386.c: Fix formatting.
154 2002-01-15 Jakub Jelinek <jakub@redhat.com>
156 * c-typeck.c (process_init_element): Don't save_expr
157 COMPOUND_LITERAL_EXPR if just its initializer will be used.
159 2002-01-15 David Edelsohn <edelsohn@gnu.org>
161 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
162 emit optional traceback table if optimize_size or TARGET_ELF.
163 * config/rs6000/rs6000.md (prefetch): New.
165 2002-01-15 Andreas Jaeger <aj@suse.de>
167 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
169 2002-01-15 Kazu Hirata <kazu@hxi.com>
171 * mips-tfile.c: Fix formatting.
173 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
175 * unroll.c (final_reg_note_copy): Fix previous commit.
177 2002-01-14 Kazu Hirata <kazu@hxi.com>
179 * config/h8300/h8300-protos.h: Remove the prototype for
181 * config/h8300/h8300.c (eq_operator): Remove.
183 2002-01-14 Richard Henderson <rth@redhat.com>
185 * config/i386/i386.md (prefetch): Tidy.
186 (prefetch_3dnow): Fix locality operand.
188 2002-01-14 Richard Henderson <rth@redhat.com>
190 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
191 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
193 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
195 * reload1.c (reload_combine): Pass reg_sum replacement through
196 copy_rtx in loop performing multiple changes.
198 2002-01-14 Jakub Jelinek <jakub@redhat.com>
200 * except.c (remove_unreachable_regions): New.
201 (free_eh_status): Clear exception_handler_labels.
202 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
203 (find_exception_handler_labels): Don't add the same label more than
205 (remove_exception_handler_label): Don't die if
206 find_exception_handler_labels hasn't been called for the current
209 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
211 * toplev.c (rest_of_compilation): Rebuild jump labels after
214 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
216 * doc/extend.texi: Move documentation of X86 built-in functions
218 * doc/invoke.texi: From here.
219 * doc/sourcebuild.texi: Document location of documentation for
220 machine built-in functions.
222 2002-01-13 Christopher Faylor <cgf@redhat.com>
224 * cppfiles.c (TEST_THRESHOLD): New macro.
225 (SHOULD_MMAP): Ditto.
226 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
229 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
231 * unroll.c (final_reg_note_copy): Properly handle
233 (unroll_loops): Fix LOOP_CONDITION heuristics.
235 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
237 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
238 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
240 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
242 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
245 2002-01-14 Tom Rix <trix@redhat.com>
247 * config/rs6000/rs6000.md: Fix typo with sradi.
249 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
251 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
252 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
253 (clrstrdi, clrstrsi): Adapt callers.
255 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
257 (movti splitter): Never use register 0 as base register.
259 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
261 * combine.c (simplify_shift_const): Always generate new rtx
262 for shift expression instead of reusing given expression.
264 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
266 * config/alpha/alpha.c (alpha_expand_mov): Don't call
267 alpha_legitimize_address unless mode is Pmode.
269 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
271 * doc/md.texi (Modifiers): Document the '*' constraint for the
274 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
275 * doc/extend.texi (Function Attributes): 'interrupt' is valid
278 2002-01-13 Richard Henderson <rth@redhat.com>
280 * reload.c (find_reloads): Use a hard reg destination as reload reg
281 for an input reload of the source.
283 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
285 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
288 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
290 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
291 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
293 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
295 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
297 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
299 2002-01-12 Tom Rix <trix@redhat.com>
301 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
304 2002-01-12 Richard Henderson <rth@redhat.com>
306 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
308 * doc/invoke.texi: Update Alpha options.
310 * doc/invoke.texi: Update i386 built-in function lists.
312 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
314 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
317 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
319 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
320 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
321 offsets, and change line folding.
322 * optabs.c (expand_binop): Remove warnings.
323 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
325 2002-01-12 Graham Stott <grahams@redhat.com>
327 * attribs.c (handle_deprecated_attribute): constify WHAT.
328 * diagnostic.c (warn_deprecated_use): Add braces, fixes
329 dangling else warning and constify WHAT.
330 * except.h (struct function, struct inline_remap): Move
331 struct tag forward defs before all prototypes.
332 (duplicate_eh_regions): Whitespace.
334 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
336 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
338 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
340 2002-01-12 Richard Henderson <rth@redhat.com>
342 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
343 (ix86_expand_vector_move): New.
344 (bdesc_2arg): Remove andps, andnps, orps, xorps.
345 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
346 Remove old prefetch builtins. Special case the logicals removed above.
347 (ix86_expand_builtin): Likewise.
348 (safe_vector_operand): Use V4SFmode, not TImode.
349 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
350 (ix86_expand_timode_binop_builtin): New.
351 * config/i386/i386-protos.h: Update.
352 * config/i386/i386.h (enum ix86_builtins): Update.
353 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
354 Use ix86_expand_vector_move in vector move expanders.
355 (movti_internal, movti_rex64): Add xorps alternative.
356 (sse_clrv4sf): Rename and adjust from sse_clrti.
357 (prefetch): Don't work so hard.
358 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
359 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
360 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
362 2002-01-11 Richard Henderson <rth@redhat.com>
364 * config/i386/mmintrin.h: New file.
365 * config/i386/xmmintrin.h: New file.
366 * config.gcc (i?86-*-*): Add extra_headers.
367 * simplify-rtx.c (simplify_unary_operation): Handle saturating
369 (simplify_binary_operation): Handle saturating arithmetic codes.
370 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
371 not the lowpart subreg.
372 (ix86_expand_builtin): Return a TImode dummy register instead of 0
374 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
376 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
378 * conflict.c (conflict_graph_compute): Free regsets when finished.
379 * ssa.c (compute_coalesced_reg_partition): Likewise.
381 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
383 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
384 every where we allocate a register.
386 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
388 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
389 * lcm.c (compute_earliest, compute_farthest): Likewise.
391 2002-01-11 Janis Johnson <janis187@us.ibm.com>
393 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
395 2002-01-11 Janis Johnson <janis187@us.ibm.com>
397 * doc/rtl.texi (Insns): Fix 2 typos.
399 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
401 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
402 options. Use @table @gcctabopt for MMIX options. Add index
403 entries for MMIX options. Start new paragraph with first
404 heading of the machine-dependent options.
406 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
409 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
410 * combine.c (force_to_mode): Same.
411 * reload1.c (clear_reload_reg_in_use): Same.
413 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
415 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
418 2002-01-11 Andreas Jaeger <aj@suse.de>,
419 Brad Lucier <lucier@math.purdue.edu>
421 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
424 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
426 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
427 Protect with IN_LIBGCC.
428 (LINK_EH_SPEC): Add required trailing space.
430 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
432 * c-tree.h: Move function declarations so that they are listed
433 under the filename which contains them.
434 (check_identifier, finish_decl_top_level,
435 lookup_name_current_level_global, shadow_record_fields): Remove.
437 2002-01-11 Andreas Jaeger <aj@suse.de>
439 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
442 2002-01-10 Richard Henderson <rth@redhat.com>
444 * config/alpha/alpha.c (print_operand): Add 'J'.
445 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
446 new operand with the sequence number for the lituse. When splitting
447 the insns, use gen_movdi_er_high_g and generate a sequence number.
448 (gen_movdi_er_high_g): Print the sequence number if non-zero.
450 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
452 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
453 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
455 (altivec_expand_builtin): Same.
456 (altivec_expand_stv_builtin): New.
458 * config/rs6000/rs6000.h (rs6000_builtins): Same.
460 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
461 ("altivec_lvehx"): New.
462 ("altivec_lvewx"): New.
463 ("altivec_lvxl"): New.
464 ("altivec_lvx"): New.
465 ("altivec_stvx"): New.
466 ("altivec_stvebx"): New.
467 ("altivec_stvehx"): New.
468 ("altivec_stvewx"): New.
469 ("altivec_stvxl"): New.
471 2002-01-10 Richard Henderson <rth@redhat.com>
473 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
474 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
475 care not to delete instructions twice.
477 2002-01-10 Zack Weinberg <zack@codesourcery.com>
479 * toplev.c: Don't declare environ (it's not used anywhere).
480 * configure.in: Don't check for declaration of environ.
481 * config/i386/xm-mingw32.h: Don't #define environ.
482 * config.in, configure: Regenerate.
484 2002-01-10 Zack Weinberg <zack@codesourcery.com>
486 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
487 * configure: Regenerate.
489 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
490 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
491 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
493 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
494 LIMITS_H_TEST here, not in m68k/x-next.
495 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
496 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
498 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
499 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
500 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
502 * config/i386/x-djgpp: Renamed i386/t-djgpp.
503 * config/m88k/x-dolph: Renamed m88k/t-dolph.
504 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
505 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
506 replacement of quadlib.asm with quadlib.c.
508 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
509 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
510 config/rs6000/xm-beos.h: Delete file.
512 * config.gcc: Update to match above changes.
514 2002-01-10 Kazu Hirata <kazu@hxi.com>
516 * config/h8300/h8300.h: Fix comment typos.
517 * config/h8300/h8300.md: Likewise.
518 * config/h8300/lib1funcs.asm: Likewise.
520 2002-01-10 Dale Johannesen <dalej@apple.com>
523 * unroll.c (precondition_loop_p): Make *increment be the correct
524 sign when n_iterations known, to avoid confusing caller.
526 2002-01-10 Kazu Hirata <kazu@hxi.com>
528 * doc/extend.texi (deprecated): Fix a typo.
530 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
532 * basic-block.h (update_br_prob_note): Declare.
533 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
534 (try_forward_edges): Care negative frequencies and update note.
535 (outgoing_edges_match): Tweek conditional merging heuristics.
536 (try_crossjump_to_edge): use update_br_prob_note.
537 * cfglayout.c (fixup_reorder_chain): Likewise.
538 * cfrtl.c (update_br_prob_note): New.
539 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
541 * i386.c (ix86_decompose_address): Return -1 if address contains
543 (legitimate_address_p): Require ix86_decompose_address to return 1.
545 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
546 (cprop_insn): Likewise.
548 2002-01-10 Kazu Hirata <kazu@hxi.com>
550 * toplev.c: Fix formatting.
552 * tree-dump.c: Likewise.
553 * unroll.c: Likewise.
554 * unwind-dw2.c: Likewise.
555 * unwind-dw2-fde.c: Likewise.
556 * unwind-dw2-fde-glibc.c: Likewise.
557 * unwind-sjlj.c: Likewise.
559 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
561 * doc/invoke.texi: Document PDP-11 options.
563 2002-01-10 Kazu Hirata <kazu@hxi.com>
565 * config/h8300/h8300.h: Fix formatting.
567 2001-01-10 Ira Ruben <ira@apple.com>
569 Add __attribute__ ((deprecated)).
570 * extend.texi: Document __attribute__ ((deprecated)).
571 * invoke.texi: Document -Wno-deprecated-declarations.
572 * testsuite/g++.dg/other/deprecated.C: New C++ test.
573 * testsuite/gcc.dg/deprecated.c: New C test.
574 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
575 (c_common_attribute_table): Add "deprecated" entry.
576 (handle_deprecated_attribute): New function.
577 * c-decl.c (deprecated_states): New enum.
578 deprecated_state: State of "deprecated" handling.
579 (start_decl): Set deprecated_state based on attributes.
580 (grokdeclarator): Test for deprecated uses, propagate attribute.
581 * c-typeck.c (build_component_ref): Test for deprecated fields.
582 (build_external_ref): Test for deprecated primaries.
583 * diagnostic.c (warn_deprecated_use) New function to issue
584 warnings about __attribute__ ((depricated)) references.
585 * flags.h (warn_deprecated_decl): Extern declared for
586 -W[no-]deprecated-declarations option.
587 * print-tree.c (print_node): Show deprecated flag status.
588 * toplev.c (warn_deprecated_decl): Defined.
589 (W_options): Added "deprecated-declaration".
590 * toplev.h (warn_deprecated_use): Extern declared.
591 * tree.h (struct tree_common): Define deprecated_flag.
592 (TREE_DEPRECATED): New macro to access flag.
593 * cp/call.c (build_call): Test for deprecated calls.
594 * cp/class.c (add_implicitly_declared_members): Set global
595 flag to tell grokdeclarator to not issue deprecated warnings.
596 * cp/cp-tree.h: Add extern for adding_implicit_members.
597 * cp/decl.c (deprecated_states): New enum.
598 (start_decl): Set deprecated_state based on attributes.
599 (grokdeclarator): Test for deprecated uses, propagate attribute.
600 * cp/lex.c (do_identifier): Test for deprecated primaries.
601 * cp/typeck.c (build_component_ref): Test for deprecated fields.
603 2001-01-10 Ira Ruben <ira@apple.com>
605 Fix to assign attributes to inline member functions.
606 * cp/decl.c (start_method): Handle attrlist.
608 2002-01-10 Kazu Hirata <kazu@hxi.com>
610 * combine.c (expand_field_assignment): Use subreg_lsb().
612 2002-01-10 David Edelsohn <edelsohn@gnu.org>
614 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
615 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
616 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
617 Recurse for any operand of AND as long as constant is non-zero.
619 2002-01-10 Kazu Hirata <kazu@hxi.com>
621 * config/h8300/h8300.md: Remove constraints from expanders.
623 2002-01-10 Kazu Hirata <kazu@hxi.com>
625 * varasm.c: Fix formatting.
626 * varray.c: Likewise.
627 * vmsdbgout.c: Likewise.
628 * xcoffout.c: Likewise.
630 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
632 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
633 update edge probabilities to match.
635 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
637 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
639 * doc/languages.texi, doc/sourcebuild.texi: New files.
640 * doc/configfiles.texi: Make a subsubsection. Update.
641 * doc/configterms.texi: Add @node. Remove warning that this isn't
642 instructions for building GCC.
643 * doc/makefile.texi: Make a subsection.
644 * doc/gccint.texi: Update.
646 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
648 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
650 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
652 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
654 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
656 * optabs.c (expand_fix): Look for wider integer modes first.
658 * i386.md (mov?f): Avoid the fake const double trick for medium
660 (min?f*/max?f*): Prohibit memory operands for i387 variant.
661 (fop_df_4): Disable for SSE compilation.
663 2002-01-20 Graham Stott <grahams@redhat.com>
665 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
666 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
668 2002-01-10 Richard Henderson <rth@redhat.com>
670 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
672 2002-01-10 Richard Henderson <rth@redhat.com>
674 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
675 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
677 2002-01-10 Kazu Hirata <kazu@hxi.com>
679 * combine.c (can_combine_p): Fix a comment typo.
681 2002-01-09 Zack Weinberg <zack@codesourcery.com>
683 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
684 empty list correctly. Change loop index $t to $f for
685 consistency with rest of Makefile.
687 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
689 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
690 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
692 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
693 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
694 (altivec_init_builtins): Same.
695 (altivec_expand_unop_builtin): Return NULL_RTX on error.
696 (altivec_expand_binop_builtin): Same.
697 (altivec_expand_ternop_builtin): Same.
700 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
701 ("altivec_vctuxs"): Fix typo.
702 ("altivec_vnmsubfp"): Same.
703 ("altivec_dssall"): New.
704 ("altivec_mfvscr"): New.
705 ("altivec_dss"): New.
706 ("altivec_lvsl"): New.
707 ("altivec_lvsr"): New.
708 ("altivec_dstt"): New.
709 ("altivec_dstst"): New.
710 ("altivec_dststt"): New.
711 ("altivec_dst"): New.
713 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
714 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
716 2002-01-09 Richard Henderson <rth@redhat.com>
718 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
720 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
722 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
724 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
726 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
728 2002-01-09 Kazu Hirata <kazu@hxi.com>
730 * read-rtl.c: Fix formatting.
732 * regclass.c: Likewise.
733 * regrename.c: Likewise.
734 * reg-stack.c: Likewise.
735 * reload1.c: Likewise.
736 * reload.c: Likewise.
739 2002-01-09 Kazu Hirata <kazu@hxi.com>
741 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
742 to extract items in the expr_list chain.
744 2002-01-09 Richard Henderson <rth@redhat.com>
746 * config/vax/vax.c (vax_rtx_cost): Never abort.
748 * config/vax/vax.h (REAL_ARITHMETIC): Define.
750 2002-01-09 Jan Hubicka <jh@suse.cz>
752 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
754 2002-01-09 Richard Henderson <rth@redhat.com>
756 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
757 Unify code from various alternatives.
759 2002-01-09 Richard Henderson <rth@redhat.com>
761 * regrename.c (copy_value): Ignore the copy if the source register
762 is present in the value chain with a narrower mode.
764 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
766 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
767 for the c4x target. Also improve layout.
769 2002-01-09 Richard Henderson <rth@redhat.com>
771 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
772 * config/m32r/m32r.md (and ior xor splitters): Swap operands
773 to match insn patterns.
775 2002-01-09 Richard Henderson <rth@redhat.com>
777 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
778 (copyprop_hardreg_forward_1): Likewise.
780 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
782 * pa.md (decrement_and_branch_until_zero): Change predicate for
783 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
785 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
787 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
788 gets undefined. For Darwin.
790 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
792 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
794 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
796 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
798 2002-01-08 Richard Henderson <rth@redhat.com>
800 * regrename.c (copy_value): Ignore overlapping copies.
802 2002-01-08 Richard Henderson <rth@redhat.com>
804 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
805 as needed to avoid shared structure.
807 2002-01-08 Kazu Hirata <kazu@hxi.com>
809 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
812 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
814 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
815 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
816 documentation of obsolete macros.
817 * system.h: Poison these macros.
818 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
819 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
820 config/c4x/c4x.h, config/clipper/clipper.h,
821 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
822 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
823 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
824 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
825 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
826 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
827 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
828 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
829 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
830 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
831 config/sparc/sparc.h, config/stormy16/stormy16.h,
832 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
833 definitions and commented out definitions of obsolete macros.
834 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
835 of MAX_INT_TYPE_SIZE.
837 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
839 * config/s390/s390.c (s390_preferred_reload_class): Never
840 return ADDR_REGS if it isn't a subset of the given class.
841 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
842 FP_REGS, but all superclasses as well.
844 * config/s390/s390.c (s390_function_profiler): Fix thinko.
846 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
847 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
848 must not be a const_int.
850 2002-01-08 Richard Henderson <rth@redhat.com>
852 * Makefile.in (toplev.o): Depend on options.h.
853 (gcc.o): Depend on specs.h.
855 2002-01-08 Jakub Jelinek <jakub@redhat.com>
857 * expr.c (store_expr): Convert VOIDmode constants back to target's
860 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
862 * doc/invoke.texi: Markup gcc as @command. Refer to
863 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
864 of http://gcc.gnu.org/thanks.html.
866 2002-01-08 Dale Johannesen <dalej@apple.com>
868 * config/rs6000/rs6000.md: Add missing int register
869 target case to movdf_low.
871 2002-01-08 Zack Weinberg <zack@codesourcery.com>
873 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
874 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
875 (cppinit.o): Depend on except.h.
876 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
879 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
880 Don't create specs.h/options.h/gencheck.h here. Remove
881 unnecessary variable settings from last argument of AC_OUTPUT.
882 * config.in, configure: Regenerate.
883 * intl.c: Hardcode package name as "gcc".
885 * cppinit.c: Include except.h.
886 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
888 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
889 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
890 (!)USING_SJLJ_EXCEPTIONS.
891 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
893 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
895 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
896 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
897 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
898 documentation of obsolete macros.
899 * system.h: Poison these macros.
900 * config/d30v/d30v.h, config/ns32k/encore.h,
901 config/stormy16/stormy16.h: Remove definitions and commented out
902 definitions of obsolete macros.
904 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
906 * objc/objc-act.c (handle_class_ref): Mark the declaration of
907 %sobjc_class_ref_%s as used - to prevent unwanted compiler
910 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
912 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
913 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
914 to insn adjusting stack/frame pointer.
915 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
916 accept operands that cause the insn to be non-splittable.
918 2002-01-08 Graham Stott <grahams@redhat.com>
920 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
921 (C_TYPE_FIELDS_VOLATILE): Likewise.
922 (C_TYPE_BEING_DEFINED): Likewise.
923 (C_IS_RESERVED_WORD): Likewise.
924 (C_TYPE_VARIABLE_SIZE): Likewise.
925 (C_DECL_VARIABLE_SIZE): Likewise.
926 (C_MISSING_PROTOTYPE_WARNED): Likewise.
927 (C_SET_EXP_ORIGINAL_CODE): Likewise.
928 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
930 (C_DECL_ANTICIPATED): Likewise.
931 (c_build_type_variant): Add parenthesis.
933 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
935 * gcc.c (option_map): Remove --version.
936 (process_command): Handle -fversion following the GNU Coding
937 Standards. Partially addresses PR other/704.
939 2002-01-08 Graham Stott <grahams@redhat.com>
941 * combine.c (combine_instructions): Fix typo.
943 2002-01-08 Graham Stott <grahams@redhat.com>
945 * debug.h: Use "tree" and "rtx" throughout.
949 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
951 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
952 constant pool, use the pool's version of the symbol instead.
954 2002-01-07 Richard Henderson <rth@redhat.com>
956 * regrename.c (find_oldest_value_reg): Ignore the value chain if
957 the original register was copied in a mode with a fewer number of
958 hard registers than the desired mode.
959 (copyprop_hardreg_forward_1): Likewise.
960 (debug_value_data): Fix loop test.
961 * toplev.c (parse_options_and_default_flags): Reenable
962 -fcprop-registers at -O1.
964 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
966 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
967 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
969 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
972 * config/rs6000/rs6000.md: Add altivec predicate patterns.
974 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
976 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
977 (pa_output_function_prologue): Output local label at the beginning of
978 the prologue when profiling.
979 (hppa_profile_hook): Use the local label rather than the function label.
980 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
982 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
984 * config/rs6000/rs6000.c (print_operand): Remove extra space.
985 (altivec_expand_unop_builtin): Fix thinko.
986 (altivec_expand_binop_builtin): Same.
987 (altivec_expand_ternop_builtin): Same.
988 (altivec_expand_builtin): Same.
990 2002-01-07 Richard Henderson <rth@redhat.com>
992 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
994 2002-01-07 Jason Merrill <jason@redhat.com>
996 * unwind-dw2.c (execute_cfa_program): Use < again.
998 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1000 * predict.c (combine_predictions_for_insn): Avoid division by zero.
1002 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1004 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1005 Don't allow -1 - x -> ~x simplifications in the first pass.
1007 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1009 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1011 (altivec_expand_binop_builtin): Same.
1012 (altivec_expand_unop_builtin): Same.
1013 (print_operand): Fix typo.
1014 (bdesc_1arg): Add vupk* variants.
1016 * rs6000.h (rs6000_builtins): Add vupk* enums.
1018 * rs6000.md: Add altivec_vupk* variants.
1020 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1022 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1023 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1024 and last update dates.
1026 2002-01-07 Janis Johnson <janis187@us.ibm.com>
1028 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1030 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1032 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1033 * config/avr/avr.h (CPP_SPEC): Likewise.
1034 (LINK_SPEC): Likewise.
1035 (CRT_BINUTILS_SPECS): Likewise.
1036 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1037 * doc/invoke.texi (AVR Options): Document them.
1039 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1041 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1044 2002-01-07 Graham Stott <grahams@redhat.com>
1046 * config/i386/i386.h: Update copyright date.
1047 (HALF_PIC_PTR): Add parenthesis.
1048 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1049 (CONSTANT_ALIGNMENT): Add parenthesis.
1050 (DATA_ALIGNMENT): Likewise.
1051 (LOCAL_ALIGNMENT): Likewise.
1052 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1053 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1054 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1055 (HARD_REGNO_NREGS): Add paranethesis.
1056 (VALID_SSE_REG_MODE): Whitespace.
1057 (VALID_MMX_REG_MODE): Whitespace.
1058 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1059 (ix86_hard_regno_mode_ok): Add parenthesis.
1060 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1061 (RETURN_IN_MEMORY): Whitespace.
1062 (N_REG_CLASSES): Add parenthesis.
1063 (INTEGER_CLASS_P): Add parenthesis and wrap.
1064 (FLOAT_CLASS_P): Likewise.
1065 (SSE_CLASS_P): Likewise.
1066 (MMX_CLASS_P): Likewise.
1067 (MAYBE_INTEGER_CLASS_P): Likewise.
1068 (MAYBE_FLOAT_CLASS_P): Likewise.
1069 (MAYBE_SSE_CLASS_P): Likewise.
1070 (MAYBE_MMX_CLASS_P): Likewise.
1071 (Q_CLASS_P): Likewise.
1072 (GENERAL_REGNO_P): Uppercase macro parameter.
1073 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1074 (FP_REGNO_P): Likewise.
1075 (ANY_FP_REGNO_P): Uppercase macro parameter.
1076 (SSE_REGNO_P): Likewise.
1077 (SSE_REGNO): Likewise.
1078 (SSE_REG_P): Likewise.
1079 (SSE_FLOAT_MODE_P): Likewise.
1080 (MMX_REGNO_P): Likewise.
1081 (MMX_REG_P):Likewise.
1082 (STACK_REG_P): Likewise.
1083 (NON_STACK_REG_P): Likewise.
1084 (STACK_TOP_P): Likewise.
1085 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1086 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1087 (SECONDARY_MEMORY_NEEDED): Likewise.
1088 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1089 (MD_ASM_CLOBBERS): Whitespace and wrap.
1090 (MUST_PASS_IN_STACK): Whitespace and wrap.
1091 (RETURN_POPS_ARGS): Add parenthesis.
1092 (INIT_CUMULATIVE_ARGS): Likewise.
1093 (FUNCTION_ARG): Likewise.
1094 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1095 (SETUP_INCOMING_VARARGS): Likewise.
1096 (BUILD_VA_LIST_TYPE): Add parenthesis.
1097 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1099 (EXPAND_BUILTIN_VA_ARG): Likewise.
1100 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1101 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1102 (INITIAL_ELIMINATION_OFFSET): Likewise.
1103 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1104 (REGNO_OK_FOR_BASE_P): Likewise.
1105 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1106 (REGNO_OK_FOR_DIREG_P): Likewise.
1107 (REG_OK_FOR_INDEX_P): Whitespace.
1108 (REG_OK_FOR_BASE_P): Whitespace.
1109 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1111 (FIND_BASE_TERM): Fix typo.
1112 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1113 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1114 (SYMBOLIC_CONST; Whitespace.
1115 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1116 (ENCODE_SECTION_INFO): Whitespace.
1117 (FINALIZE_PIC): Remove do { ... } while (0).
1118 (PROMOTE_MODE): Wrap in do { ... } while (0).
1119 (CONST_COSTS): Whitespace.
1120 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1121 (REGISTER_MOVE_COST): Add parenthesis.
1122 (MEMORY_MOVE_COST): Likewise.
1123 (EXTRA_CC_MODES): Whitespace.
1124 (SELECT_CC_MODE): Add parenthesis and whitespace.
1125 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1126 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1127 (ASM_OUTPUT_LABEL): Add paramethesis.
1128 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1129 (ASM_OUTPUT_REG_POP): Likewise.
1130 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1131 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1133 * config/i386/i386.c: Update copyright.
1134 (CHECK_STACK_LIMIT): Add parenthesis.
1135 (AT_BP): Uppercase macro parameter.
1136 (x86_64_int_parameter_registers): Constify.
1137 (x86_64_int_return_registers): Likewise.
1138 (ix86_compare_op0): Use rtx.
1139 (construct_container): Constify INTREG parameter.
1140 (function_arg): Use rtx.
1142 * diagnostic.h: Update copyright date.
1143 (output_buffer_state): Add parenthesis.
1144 (output_buffer_format_args): Likewise.
1146 * combine.c (combine_instructions): Replace XEXP (links, 0)
1149 2002-01-06 H.J. Lu <hjl@gnu.org>
1151 * cfgcleanup.c (thread_jump): Fix 2 typos.
1153 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
1155 * config.gcc: Add support for --enable-altivec.
1157 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1159 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1161 2002-01-06 Jakub Jelinek <jakub@redhat.com>
1163 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1164 __objc_class_name_*.
1166 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1168 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1170 2002-01-06 Richard Henderson <rth@redhat.com>
1172 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1173 nop them out. Increment label reference count for REG_LABEL.
1174 (fill_slots_from_thread): Frob label reference count around
1175 delete_related_insns.
1177 2002-01-05 Richard Henderson <rth@redhat.com>
1179 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1182 2002-01-05 Richard Henderson <rth@redhat.com>
1184 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1185 * integrate.c (output_inline_function): Likewise.
1186 * toplev.c (rest_of_compilation): Do it here instead. Move call
1187 to remove_unnecessary_notes after emitting abstract instance.
1188 Force an emitted nested function to have its parent emited as well.
1189 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1191 (rtl_for_decl_location): Do not look at reload data structures
1192 before reload has run.
1194 2002-01-05 Kazu Hirata <kazu@hxi.com>
1196 * cse.c: Fix formatting.
1197 * dwarf2asm.c: Likewise.
1198 * dwarf2out.c: Likewise.
1199 * explow.c: Likewise.
1200 * expmed.c: Likewise.
1201 * function.c: Likewise.
1203 * gencheck.c: Likewise.
1204 * genrecog.c: Likewise.
1205 * ggc-common.c: Likewise.
1206 * ggc-page.c: Likewise.
1207 * global.c: Likewise.
1209 2002-01-05 Kazu Hirata <kazu@hxi.com>
1211 * combine.c: Fix formatting.
1213 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
1216 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1218 2002-01-05 David Edelsohn <edelsohn@gnu.org>
1220 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
1221 as 1 for __powerpc64__ as well.
1223 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
1225 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
1228 2002-01-05 Daniel Berlin <dan@dberlin.org>
1230 * lcm.c: Revert change, due to performance regression it causes on
1231 SPEC because it's slightly more conservative (sigh, I hate
1234 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
1236 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
1238 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
1240 * doc/cppinternals.texi: Update.
1242 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
1244 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
1245 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
1247 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
1248 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
1249 kludge for pre-october-14th mmix versions to handle new-found bug
1250 with PUSHJ/PUSHGO and the register stack.
1251 * config/mmix/mmix.h (struct machine_function): Rename member
1252 has_call_value_without_parameters to has_call_without_parameters.
1253 All referers changed.
1254 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
1255 TARGET_MASK_BRANCH_PREDICT): New macros.
1256 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
1257 -mno-reg-stack-fill-bug-workaround.
1258 * config/mmix/mmix.md ("call"): Set struct machine member
1259 has_call_without_parameters.
1261 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
1263 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
1265 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
1267 * cfgcleanup.c: Include tm_p.h
1268 (mark_effect): Fix handling of hard register; fix handling of SET
1270 2002-01-04 Kazu Hirata <kazu@hxi.com>
1272 * config/h8300/h8300.md (anonymous patterns): Check that
1273 operands are registers before using REGNO on them.
1275 2002-01-03 Roland McGrath <roland@frob.com>
1277 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
1279 2002-01-04 Jakub Jelinek <jakub@redhat.com>
1281 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
1282 * c-common.h (genrtl_expr_stmt_value): Likewise.
1283 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
1284 (expand_expr_stmt_value): Add maybe_last argument.
1285 Don't warn about statement with no effect if it is the last statement
1286 in expression statement.
1287 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
1288 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
1289 expand_expr_stmt_value.
1290 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
1291 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
1292 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
1293 as maybe_last to expand_expr_stmt_value.
1295 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
1297 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
1298 be passed in, do not build it.
1299 (c_begin_if_stmt): New function.
1300 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1301 * c-common.h (c_expand_start_cond): Update prototype.
1302 (c_begin_if_stmt): Prototype new function.
1303 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1304 * c-parse.in (if_prefix): Use c_begin_if_stmt,
1305 c_begin_while_stmt and c_finish_while_stmt_cond.
1307 2002-01-04 William Cohen <wcohen@redhat.com>
1309 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
1310 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1311 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1312 * config/pa/som.h (ASM_FILE_START): Likewise.
1314 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
1316 * lcm.c: Include df.h.
1317 Add available_transfer_function prototype.
1318 (compute_available): Rework to use iterative dataflow framework.
1319 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
1320 with bb_info in df.h
1321 (available_transfer_function): New function.
1323 * Makefile.in (lcm.o): add df.h to dependencies.
1325 2002-01-04 Richard Henderson <rth@redhat.com>
1327 * config/alpha/alpha.c (some_operand): Accept HIGH.
1328 (input_operand): Likewise; accept simple references to globals.
1329 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
1330 (alpha_const_double_ok_for_letter_p): Likewise.
1331 (alpha_extra_constraint): Likewise.
1332 (alpha_preferred_reload_class): Likewise. Do not force
1333 symbolic constants to memory.
1334 (alpha_legitimate_address_p): Accept simple references
1335 to small_symbolic_operand.
1336 (alpha_legitimize_address): New arg scratch. Be prepared to be
1337 called when no_new_pseudos. Emit simple symbolic references.
1338 Split integers into low, high, and rest.
1339 (alpha_expand_mov): Use alpha_legitimize_address.
1340 (some_small_symbolic_mem_operand): New.
1341 (split_small_symbolic_mem_operand): New.
1342 * config/alpha/alpha-protos.h: Update.
1343 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
1344 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
1345 (EXTRA_CONSTRAINT): Likewise.
1346 (PREFERRED_RELOAD_CLASS): Likewise.
1347 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
1348 (PREDICATE_CODES): Update.
1349 * config/alpha/alpha.md: New post-reload splitters to convert
1350 simplfied symbolic operands to the form that references $29.
1351 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
1352 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
1354 2002-01-03 Richard Henderson <rth@redhat.com>
1356 * local-alloc.c (function_invariant_p): Update commentary.
1358 2002-01-04 H.J. Lu <hjl@gnu.org>
1360 * toplev.c (rest_of_compilation): Fix a typo when calling
1363 2002-01-03 Kazu Hirata <kazu@hxi.com>
1365 * c-common.c: Fix formatting.
1366 * diagnostic.c: Likewise.
1367 * doloop.c: Likewise.
1368 * dwarf2out.c: Likewise.
1370 2002-01-03 Kazu Hirata <kazu@hxi.com>
1372 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
1373 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
1375 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1377 * cpperror.c: Update comments and copyright.
1378 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
1379 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
1381 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1383 * collect2.c (main): Use strcmp when testing for "-shared".
1385 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1387 * cppmacro.c: Don't include intl.h. Update comments.
1388 (new_number_token): Allocate enough buffer for 64-bit unsigned
1389 integers; update prototype.
1390 * cppmain.c: Update comments.
1392 2002-01-03 William Cohen <wcohen@redhat.com>
1394 * function.h (struct function): Add profile.
1395 (current_function_profile): New.
1396 doc/extend.texi: Update documentation.
1397 * final.c (final_start_function): Use current_function_profile
1398 instead of profile_flag.
1399 (profile_after_prologue): Likewise.
1400 * function.c (expand_function_start): Likewise.
1401 (expand_function_start): Likewise.
1402 * config/alpha/alpha.c (direct_call_operand):
1403 (alpha_does_function_need_gp): Likewise.
1404 (alpha_expand_prologue): Likewise.
1405 * config/arm/arm.c (arm_expand_prologue): Likewise.
1406 thumb_expand_prologue: Likewise.
1407 * config/d30v/d30v.c (d30v_stack_info): Likewise.
1408 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
1409 (fr30_expand_prologue): Likewise.
1410 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
1411 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
1412 * config/i386/i386.h (FINALIZE_PIC): Likewise.
1413 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1414 * config/i960/i960.c (i960_output_function_prologue): Likewise.
1415 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
1416 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
1417 (m32r_expand_prologue): Likewise.
1418 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
1419 (m88k_expand_prologue): Likewise.
1420 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
1421 * config/mips/mips.c (compute_frame_size): Likewise.
1422 (mips_expand_prologue): Likewise.
1423 (mips_can_use_return_insn): Likewise.
1424 * config/pa/elf.h (ASM_FILE_START): Likewise.
1425 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1426 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1427 * config/pa/som.h (ASM_FILE_START): Likewise.
1428 * config/romp/romp.c (romp_using_r14): Likewise.
1429 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
1430 (rs6000_stack_info): Likewise.
1431 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1432 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1433 * config/v850/v850.c (compute_register_save_size): Likewise.
1435 2002-01-03 Jakub Jelinek <jakub@redhat.com>
1437 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
1438 gen_lowpart_common fails, use gen_lowpart_SUBREG.
1440 2002-01-03 Turly O'Connor <turly@apple.com>
1442 * darwin.c (machopic_output_possible_stub_label): Don't generate
1443 stub routines for pseudo-stubs which we've just defined.
1445 2002-01-03 Kazu Hirata <kazu@hxi.com>
1447 * builtins.c: Fix formatting.
1448 * c-typeck.c: Likewise.
1449 * combine.c: Likewise.
1453 2002-01-03 Andreas Schwab <schwab@suse.de>
1455 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
1456 and return true if _cpp_push_next_buffer pushed a new include
1458 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
1459 _cpp_pop_file_buffer did not push a new file.
1460 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
1462 2002-01-02 Eric Christopher <echristo@redhat.com>
1464 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
1465 FIND_REG_INC_NOTE call. Update copyright.
1466 * loop.c (canonicalize_condition): Ditto.
1467 * reorg.c (delete_scheduled_jump): Ditto.
1469 2002-01-03 Kazu Hirata <kazu@hxi.com>
1471 * gcse.c: Fix formatting.
1473 2002-01-03 Graham Stott <grahams@redhat.com>
1475 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
1476 forward defs for struct tags rtx_def, union_tree, rtvec_def
1477 also output corresponding typedefs for rtx, tree, and rtvec.
1479 * system.h: Move forward defs for struct tags rtx_def, union_tree,
1480 rtvec_def along with corresponding typedefs for rtx, tree, and
1481 rtvec to config.h, hconfig.h, tconfig.h.
1483 2002-01-03 Graham Stott <grahams@redhat.com>
1485 * tree.h: Update copyright date.
1486 (IS_EXPR_CODE_CLASS): Add parenthesis.
1487 (TREE_SET_CODE): Add whitespace.
1488 (TREE_CHECK): Add parenthesis.
1489 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
1490 (CST_OR_CONSTRUCTOR_CHECK):
1491 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
1492 (TREE_SYMBOL_REFERENCED): Whitespace.
1493 (INT_CST_LT): Likewise.
1494 (INT_CST_LT_UNSIGNED): Likewise.
1495 (tree_real_cst): Unwrap comment.
1496 (tree_string): Likewise.
1497 (tree_complex): Likewise.
1498 (IDENTIFIER_POINTER): correct cast.
1499 (SAVE_EXPR_CONTEXT): Whitespace.
1500 (EXPR_WFL_FILENAME_NODE): Likewise.
1501 (EXPR_WFL_FILENAME): Remove parenthesis.
1502 (DECL_ORIGIN): Add parenthesis.
1503 (DECL_FROM_INLINE): Use NULL_TREE.
1504 (build_int_2): Whitespace.
1505 (build_type_variant): Add parenthesis.
1507 * gcc/jcf-parse.c: Update copyright date.
1508 (yyparse): Constify resource_filename.
1510 2002-01-03 Graham Stott <grahams@redhat.com>
1512 * rtl.h: Update copyright date.
1513 (RTL_CHECK1): Wrap long line.
1514 (RTL_CHECK2): Likewise.
1515 (RTL_CHECKC1): Wrap long line and whitespace.
1516 (RTL_CHECKC2): Likewise.
1517 (XWINT): Whitespace.
1523 (XBITMAP): Likewise.
1534 (X0BITMAP): Likewise.
1536 (X0BBDEF): Likewise.
1537 (X0ADVFLAGS): Likewise.
1538 (X0CSELIB): Likewise.
1539 (X0MEMATTR): Likewise.
1547 (XCBITMAP): Likewise.
1549 (XCBBDEF): Likewise.
1550 (XCADVFLAGS): Likewise.
1551 (XCCSELIB): Likewise.
1553 (INSN_UID): Likewise.
1554 (PREV_INSN): Likewise.
1555 (PATTERN): Likewise.
1556 (INSN_CODE): Likewise.
1557 (PUT_REG_NOTE_KIND): Likewise.
1558 (CODE_LABEL_NUMBER): Likewise.
1559 (NOTE_SOURCE_FILE): Likewise.
1560 (NOTE_BLOCK): Likewise.
1561 (NOTE_EH_HANDLER): Likewise.
1562 (NOTE_RANGE_INFO): Likewise.
1563 (NOTE_LIVE_INFO): Likewise.
1564 (NOTE_BASIC_BLOCK): Likewise.
1565 (NOTE_EXPECTED_VALUE): Likewise.
1566 (NOTE_LINE_NUMBER): Likewise.
1567 (LABEL_NAME): Likewise.
1568 (LABEL_NUSES): Likewise.
1569 (LABEL_ALTERNATE_NAME): Likewise.
1570 (ADDRESSOF_DECL): Likewise.
1571 (JUMP_LABEL): Likewise.
1572 (LABEL_NEXTREF): Likewise.
1574 (ORIGINAL_REGNO: Likewise.
1575 (HARD_REGISTER_NUM_P): Add parenthesis.
1576 (SUBREG_REG): Whitespace.
1577 (SUBREG_BYTE): Likewise.
1578 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
1579 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
1580 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
1581 (ASM_OPERANDS_INPUT_VEC): Likewise.
1582 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
1583 (ASM_OPERANDS_INPUT): Likewise.
1584 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
1585 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
1586 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
1587 (ASM_OPERANDS_INPUT_MODE): Likewise.
1588 (ASM_OPERANDS_SOURCE_FILE): Likewise.
1589 (ASM_OPERANDS_SOURCE_LINE): Likewise.
1590 (MEM_SET_IN_STRUCT_P): Minor reformat.
1591 (TRAP_CONDITION): Whitespace.
1592 (TRAP_CODE): Likewise.
1593 (COND_EXEC_TEST): Likewise.
1594 (COND_EXEC_CODE): Likewise.
1595 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
1596 (PHI_NODE_P): Add parenthesis.
1597 (plus_constant): Whitespace and add parenthesis.
1599 2002-01-03 Kazu Hirata <kazu@hxi.com>
1601 * config/avr/avr.c: Fix comment typos.
1602 * config/c4x/c4x.md: Likewise.
1603 * config/dsp16xx/dsp16xx.h: Likewise.
1604 * config/dsp16xx/dsp16xx.md: Likewise.
1605 * config/i386/i386.md: Likewise.
1606 * config/ia64/ia64.c: Likewise.
1607 * config/m32r/m32r.h: Likewise.
1608 * config/m68hc11/m68hc11.md: Likewise.
1609 * config/mmix/mmix.c: Likewise.
1610 * config/mn10200/mn10200.c: Likewise.
1611 * config/romp/romp.c: Likewise.
1612 * config/sh/sh.c: Likewise.
1613 * config/stormy16/stormy16.c: Likewise.
1614 * config/stormy16/stormy16.h: Likewise.
1615 * config/stormy16/stormy16.md: Likewise.
1617 2002-01-03 Graham Stott <grahams@redhat.com>
1619 * loop.h: Update copyright date.
1620 (LOOP_MOVABLES): Fix typo.
1621 (LOOP_REGS): Likewise.
1622 (LOOP_IVS): Likewise.
1624 2002-01-03 Graham Stott <grahams@redhat.com>
1626 * cppinit.c: Update copyright date.
1627 Don't include output.h
1628 * Makefile.in: Update copyright date.
1631 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
1634 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
1635 (-pthread) Add to RS/6000 options.
1637 2002-01-02 Kazu Hirata <kazu@hxi.com>
1639 * except.c: Fix comment typos.
1641 * varasm.c: Likewise.
1642 * doc/tm.texi: Fix a typo.
1644 2002-01-02 Jakub Jelinek <jakub@redhat.com>
1646 * c-typeck.c (output_init_element): Allow initializing static storage
1647 duration objects with compound literals.
1649 2002-01-02 Richard Henderson <rth@redhat.com>
1651 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
1654 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1656 * gcc.c (default_compilers): Const-ify.
1657 * mips-tdump.c (stab_names): Likewise.
1658 * mips-tfile.c (map_coff_types, map_coff_storage,
1659 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
1660 pseudo_ops_t, pseudo_ops): Likewise.
1661 * protoize.c (default_include): Likewise
1663 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
1664 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
1665 Add array size in declaration.
1666 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
1667 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
1668 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
1669 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
1670 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
1671 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
1672 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
1673 emtens, make_nan): Const-ify.
1674 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
1675 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
1677 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
1679 * config.gcc (ia64-*-*): Set extra_headers.
1680 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
1681 * config/alpha/t-osf: Remove.
1682 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
1684 2002-01-02 David Edelsohn <edelsohn@gnu.org>
1686 * config/rs6000/t-aix43: Revert previous change.
1688 2002-01-02 Jason Merrill <jason@redhat.com>
1690 * c-decl.c (c_expand_body): Call outlining_inline_function when
1691 emitting an inline function out of line.
1693 2002-01-02 Richard Henderson <rth@redhat.com>
1695 * dwarf2out.c (limbo_die_node): Add created_for member.
1696 (new_die): New argument created_for. Update all callers.
1697 (mark_limbo_die_list): New.
1698 (dwarf2out_init): Register limbo_die_list as a root.
1699 (dwarf2out_finish): Force insert limbo dies into their function
1702 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
1705 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
1707 2002-01-02 Kazu Hirata <kazu@hxi.com>
1709 * config/h8300/fixunssfsi.c: Update copyright.
1712 * config/h8300/h8300.c: Update copyright.
1715 2002-01-02 Kazu Hirata <kazu@hxi.com>
1717 * config/romp/romp.c: Fix comment formatting.
1718 * config/romp/romp.h: Likewise.
1719 * config/romp/romp.md: Likewise.
1720 * config/s390/s390.c: Likewise.
1721 * config/stormy16/stormy16.c: Likewise.
1722 * config/stormy16/stormy16.h: Likewise.
1724 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
1726 * c-common.h (genrtl_expr_stmt_value): Declare.
1727 * c-semantics.c (genrtl_goto_stmt): Redirect to...
1728 (genrtl_goto_stmt_value): ... this new function. Pass new
1729 argument down to expand_expr_stmt_value, taking
1730 TREE_ADDRESSABLE into account.
1731 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1732 STMT_EXPR as addressable, i.e., one whose result we want.
1733 * expr.c (expand_expr): Don't save expression statement value
1734 of labeled_blocks or loop_exprs.
1735 * stmt.c (expand_expr_stmt): Redirect to...
1736 (expand_expr_stmt_value): ... this new function. Use new
1737 argument to tell whether to save expression value.
1738 (expand_end_stmt_expr): Reset last_expr_type and
1739 last_expr_value if we don't have either.
1740 * tree-inline.c (declare_return_variable): Mark its use
1741 statement as addressable.
1742 * tree.h: Document new use of TREE_ADDRESSABLE.
1743 (expand_expr_stmt_value): Declare.
1745 2002-01-01 Tom Rix <trix@redhat.com>
1747 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1748 rs6000_emit_allocate_stack.
1750 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
1752 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1753 ${srcdir}/ginclude/ to every entry in extra_headers.
1754 * configure: Regenerate.
1755 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1756 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1757 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1758 * ginclude/proto.h: Rename to config/convex/proto.h.
1760 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1762 * attribs.c (handle_vector_size_attribute): Use host_integerp
1763 and tree_int_cst; remove warnings.
1764 * caller-save.c (insert_restore): Add cast to get rid of warning.
1765 (insert_save): Likewise.
1766 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1767 * regmove.c (find_matches): Add temporary var to kill a warning.
1769 2002-01-01 Douglas B Rupp <rupp@gnat.com>
1771 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1772 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1773 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1774 (vms-dwarf2eh.o): Add Makefile rule.
1775 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1776 * config/alpha/vms-dwarf2eh.asm: New file.
1778 * gcc.c (delete_if_ordinary): Delete all versions.
1780 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1782 * config/mmix/mmix.md: Update FIXME to not mention
1784 (MMIX_rJ_REGNUM): New define_constants constant.
1785 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1786 "*movdicc_real"): Adjust contraints formatting.
1787 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1788 for branch prediction.
1789 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1791 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1792 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1793 number. Delete related FIXMEs.
1794 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1795 from number to MMIX_rJ_REGNUM.
1796 (TARGET_MASK_BRANCH_PREDICT): New.
1797 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1798 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
1799 value. Add -mbranch-predict and -mno-branch-predict.
1800 (TARGET_VERSION): Drop date.
1801 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1802 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1803 for finding out global symbols.
1804 (mmix_asm_output_labelref): Revert condition for global symbol.
1805 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1806 (mmix_print_operand_punct_valid_p): A '+' is valid.
1808 See ChangeLog.6 for earlier changes.