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