1 2002-01-15 Eric Christopher <echristo@redhat.com>
3 * flow.c (propagate_one_insn): Add error message and print out
6 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
8 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
9 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
10 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
12 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
14 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
15 PCC_BITFIELD_TYPE_MATTERS.
16 * config/interix.h (STDC_VALUE): Remove. Use
17 STDC_0_IN_SYSTEM_HEADERS.
18 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
19 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
20 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
22 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
24 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
25 not work on this platform currently.
27 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
29 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
30 readonly_warning in _().
32 2002-01-15 Douglas B Rupp <rupp@gnat.com>
34 * gcc.c (delete_if_ordinary): Backout previous change.
36 2002-01-15 Kazu Hirata <kazu@hxi.com>
38 * config/h8300/h8300.c (print_operand): Remove support for
39 unused operand characters.
41 * read-rtl.c: Fix formatting.
44 * regclass.c: Likewise.
45 * regmove.c: Likewise.
46 * reg-stack.c: Likewise.
47 * reload1.c: Likewise.
48 * rtlanal.c: Likewise.
50 2002-01-15 Kazu Hirata <kazu@hxi.com>
52 * config/i386/i386.c: Fix formatting.
54 2002-01-15 Jakub Jelinek <jakub@redhat.com>
56 * c-typeck.c (process_init_element): Don't save_expr
57 COMPOUND_LITERAL_EXPR if just its initializer will be used.
59 2002-01-15 David Edelsohn <edelsohn@gnu.org>
61 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
62 emit optional traceback table if optimize_size or TARGET_ELF.
63 * config/rs6000/rs6000.md (prefetch): New.
65 2002-01-15 Andreas Jaeger <aj@suse.de>
67 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
69 2002-01-15 Kazu Hirata <kazu@hxi.com>
71 * mips-tfile.c: Fix formatting.
73 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
75 * unroll.c (final_reg_note_copy): Fix previous commit.
77 2002-01-14 Kazu Hirata <kazu@hxi.com>
79 * config/h8300/h8300-protos.h: Remove the prototype for
81 * config/h8300/h8300.c (eq_operator): Remove.
83 2002-01-14 Richard Henderson <rth@redhat.com>
85 * config/i386/i386.md (prefetch): Tidy.
86 (prefetch_3dnow): Fix locality operand.
88 2002-01-14 Richard Henderson <rth@redhat.com>
90 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
91 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
93 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
95 * reload1.c (reload_combine): Pass reg_sum replacement through
96 copy_rtx in loop performing multiple changes.
98 2002-01-14 Jakub Jelinek <jakub@redhat.com>
100 * except.c (remove_unreachable_regions): New.
101 (free_eh_status): Clear exception_handler_labels.
102 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
103 (find_exception_handler_labels): Don't add the same label more than
105 (remove_exception_handler_label): Don't die if
106 find_exception_handler_labels hasn't been called for the current
109 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
111 * toplev.c (rest_of_compilation): Rebuild jump labels after
114 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
116 * doc/extend.texi: Move documentation of X86 built-in functions
118 * doc/invoke.texi: From here.
119 * doc/sourcebuild.texi: Document location of documentation for
120 machine built-in functions.
122 2002-01-13 Christopher Faylor <cgf@redhat.com>
124 * cppfiles.c (TEST_THRESHOLD): New macro.
125 (SHOULD_MMAP): Ditto.
126 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
129 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
131 * unroll.c (final_reg_note_copy): Properly handle
133 (unroll_loops): Fix LOOP_CONDITION heuristics.
135 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
137 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
138 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
140 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
142 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
145 2002-01-14 Tom Rix <trix@redhat.com>
147 * config/rs6000/rs6000.md: Fix typo with sradi.
149 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
151 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
152 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
153 (clrstrdi, clrstrsi): Adapt callers.
155 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
157 (movti splitter): Never use register 0 as base register.
159 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
161 * combine.c (simplify_shift_const): Always generate new rtx
162 for shift expression instead of reusing given expression.
164 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
166 * config/alpha/alpha.c (alpha_expand_mov): Don't call
167 alpha_legitimize_address unless mode is Pmode.
169 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
171 * doc/md.texi (Modifiers): Document the '*' constraint for the
174 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
175 * doc/extend.texi (Function Attributes): 'interrupt' is valid
178 2002-01-13 Richard Henderson <rth@redhat.com>
180 * reload.c (find_reloads): Use a hard reg destination as reload reg
181 for an input reload of the source.
183 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
185 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
188 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
190 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
191 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
193 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
195 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
197 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
199 2002-01-12 Tom Rix <trix@redhat.com>
201 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
204 2002-01-12 Richard Henderson <rth@redhat.com>
206 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
208 * doc/invoke.texi: Update Alpha options.
210 * doc/invoke.texi: Update i386 built-in function lists.
212 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
214 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
217 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
219 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
220 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
221 offsets, and change line folding.
222 * optabs.c (expand_binop): Remove warnings.
223 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
225 2002-01-12 Graham Stott <grahams@redhat.com>
227 * attribs.c (handle_deprecated_attribute): constify WHAT.
228 * diagnostic.c (warn_deprecated_use): Add braces, fixes
229 dangling else warning and constify WHAT.
230 * except.h (struct function, struct inline_remap): Move
231 struct tag forward defs before all prototypes.
232 (duplicate_eh_regions): Whitespace.
234 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
236 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
238 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
240 2002-01-12 Richard Henderson <rth@redhat.com>
242 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
243 (ix86_expand_vector_move): New.
244 (bdesc_2arg): Remove andps, andnps, orps, xorps.
245 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
246 Remove old prefetch builtins. Special case the logicals removed above.
247 (ix86_expand_builtin): Likewise.
248 (safe_vector_operand): Use V4SFmode, not TImode.
249 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
250 (ix86_expand_timode_binop_builtin): New.
251 * config/i386/i386-protos.h: Update.
252 * config/i386/i386.h (enum ix86_builtins): Update.
253 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
254 Use ix86_expand_vector_move in vector move expanders.
255 (movti_internal, movti_rex64): Add xorps alternative.
256 (sse_clrv4sf): Rename and adjust from sse_clrti.
257 (prefetch): Don't work so hard.
258 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
259 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
260 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
262 2002-01-11 Richard Henderson <rth@redhat.com>
264 * config/i386/mmintrin.h: New file.
265 * config/i386/xmmintrin.h: New file.
266 * config.gcc (i?86-*-*): Add extra_headers.
267 * simplify-rtx.c (simplify_unary_operation): Handle saturating
269 (simplify_binary_operation): Handle saturating arithmetic codes.
270 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
271 not the lowpart subreg.
272 (ix86_expand_builtin): Return a TImode dummy register instead of 0
274 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
276 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
278 * conflict.c (conflict_graph_compute): Free regsets when finished.
279 * ssa.c (compute_coalesced_reg_partition): Likewise.
281 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
283 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
284 every where we allocate a register.
286 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
288 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
289 * lcm.c (compute_earliest, compute_farthest): Likewise.
291 2002-01-11 Janis Johnson <janis187@us.ibm.com>
293 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
295 2002-01-11 Janis Johnson <janis187@us.ibm.com>
297 * doc/rtl.texi (Insns): Fix 2 typos.
299 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
301 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
302 options. Use @table @gcctabopt for MMIX options. Add index
303 entries for MMIX options. Start new paragraph with first
304 heading of the machine-dependent options.
306 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
309 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
310 * combine.c (force_to_mode): Same.
311 * reload1.c (clear_reload_reg_in_use): Same.
313 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
315 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
318 2002-01-11 Andreas Jaeger <aj@suse.de>,
319 Brad Lucier <lucier@math.purdue.edu>
321 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
324 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
326 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
327 Protect with IN_LIBGCC.
328 (LINK_EH_SPEC): Add required trailing space.
330 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
332 * c-tree.h: Move function declarations so that they are listed
333 under the filename which contains them.
334 (check_identifier, finish_decl_top_level,
335 lookup_name_current_level_global, shadow_record_fields): Remove.
337 2002-01-11 Andreas Jaeger <aj@suse.de>
339 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
342 2002-01-10 Richard Henderson <rth@redhat.com>
344 * config/alpha/alpha.c (print_operand): Add 'J'.
345 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
346 new operand with the sequence number for the lituse. When splitting
347 the insns, use gen_movdi_er_high_g and generate a sequence number.
348 (gen_movdi_er_high_g): Print the sequence number if non-zero.
350 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
352 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
353 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
355 (altivec_expand_builtin): Same.
356 (altivec_expand_stv_builtin): New.
358 * config/rs6000/rs6000.h (rs6000_builtins): Same.
360 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
361 ("altivec_lvehx"): New.
362 ("altivec_lvewx"): New.
363 ("altivec_lvxl"): New.
364 ("altivec_lvx"): New.
365 ("altivec_stvx"): New.
366 ("altivec_stvebx"): New.
367 ("altivec_stvehx"): New.
368 ("altivec_stvewx"): New.
369 ("altivec_stvxl"): New.
371 2002-01-10 Richard Henderson <rth@redhat.com>
373 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
374 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
375 care not to delete instructions twice.
377 2002-01-10 Zack Weinberg <zack@codesourcery.com>
379 * toplev.c: Don't declare environ (it's not used anywhere).
380 * configure.in: Don't check for declaration of environ.
381 * config/i386/xm-mingw32.h: Don't #define environ.
382 * config.in, configure: Regenerate.
384 2002-01-10 Zack Weinberg <zack@codesourcery.com>
386 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
387 * configure: Regenerate.
389 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
390 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
391 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
393 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
394 LIMITS_H_TEST here, not in m68k/x-next.
395 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
396 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
398 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
399 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
400 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
402 * config/i386/x-djgpp: Renamed i386/t-djgpp.
403 * config/m88k/x-dolph: Renamed m88k/t-dolph.
404 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
405 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
406 replacement of quadlib.asm with quadlib.c.
408 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
409 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
410 config/rs6000/xm-beos.h: Delete file.
412 * config.gcc: Update to match above changes.
414 2002-01-10 Kazu Hirata <kazu@hxi.com>
416 * config/h8300/h8300.h: Fix comment typos.
417 * config/h8300/h8300.md: Likewise.
418 * config/h8300/lib1funcs.asm: Likewise.
420 2002-01-10 Dale Johannesen <dalej@apple.com>
423 * unroll.c (precondition_loop_p): Make *increment be the correct
424 sign when n_iterations known, to avoid confusing caller.
426 2002-01-10 Kazu Hirata <kazu@hxi.com>
428 * doc/extend.texi (deprecated): Fix a typo.
430 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
432 * basic-block.h (update_br_prob_note): Declare.
433 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
434 (try_forward_edges): Care negative frequencies and update note.
435 (outgoing_edges_match): Tweek conditional merging heuristics.
436 (try_crossjump_to_edge): use update_br_prob_note.
437 * cfglayout.c (fixup_reorder_chain): Likewise.
438 * cfrtl.c (update_br_prob_note): New.
439 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
441 * i386.c (ix86_decompose_address): Return -1 if address contains
443 (legitimate_address_p): Require ix86_decompose_address to return 1.
445 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
446 (cprop_insn): Likewise.
448 2002-01-10 Kazu Hirata <kazu@hxi.com>
450 * toplev.c: Fix formatting.
452 * tree-dump.c: Likewise.
453 * unroll.c: Likewise.
454 * unwind-dw2.c: Likewise.
455 * unwind-dw2-fde.c: Likewise.
456 * unwind-dw2-fde-glibc.c: Likewise.
457 * unwind-sjlj.c: Likewise.
459 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
461 * doc/invoke.texi: Document PDP-11 options.
463 2002-01-10 Kazu Hirata <kazu@hxi.com>
465 * config/h8300/h8300.h: Fix formatting.
467 2001-01-10 Ira Ruben <ira@apple.com>
469 Add __attribute__ ((deprecated)).
470 * extend.texi: Document __attribute__ ((deprecated)).
471 * invoke.texi: Document -Wno-deprecated-declarations.
472 * testsuite/g++.dg/other/deprecated.C: New C++ test.
473 * testsuite/gcc.dg/deprecated.c: New C test.
474 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
475 (c_common_attribute_table): Add "deprecated" entry.
476 (handle_deprecated_attribute): New function.
477 * c-decl.c (deprecated_states): New enum.
478 deprecated_state: State of "deprecated" handling.
479 (start_decl): Set deprecated_state based on attributes.
480 (grokdeclarator): Test for deprecated uses, propagate attribute.
481 * c-typeck.c (build_component_ref): Test for deprecated fields.
482 (build_external_ref): Test for deprecated primaries.
483 * diagnostic.c (warn_deprecated_use) New function to issue
484 warnings about __attribute__ ((depricated)) references.
485 * flags.h (warn_deprecated_decl): Extern declared for
486 -W[no-]deprecated-declarations option.
487 * print-tree.c (print_node): Show deprecated flag status.
488 * toplev.c (warn_deprecated_decl): Defined.
489 (W_options): Added "deprecated-declaration".
490 * toplev.h (warn_deprecated_use): Extern declared.
491 * tree.h (struct tree_common): Define deprecated_flag.
492 (TREE_DEPRECATED): New macro to access flag.
493 * cp/call.c (build_call): Test for deprecated calls.
494 * cp/class.c (add_implicitly_declared_members): Set global
495 flag to tell grokdeclarator to not issue deprecated warnings.
496 * cp/cp-tree.h: Add extern for adding_implicit_members.
497 * cp/decl.c (deprecated_states): New enum.
498 (start_decl): Set deprecated_state based on attributes.
499 (grokdeclarator): Test for deprecated uses, propagate attribute.
500 * cp/lex.c (do_identifier): Test for deprecated primaries.
501 * cp/typeck.c (build_component_ref): Test for deprecated fields.
503 2001-01-10 Ira Ruben <ira@apple.com>
505 Fix to assign attributes to inline member functions.
506 * cp/decl.c (start_method): Handle attrlist.
508 2002-01-10 Kazu Hirata <kazu@hxi.com>
510 * combine.c (expand_field_assignment): Use subreg_lsb().
512 2002-01-10 David Edelsohn <edelsohn@gnu.org>
514 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
515 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
516 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
517 Recurse for any operand of AND as long as constant is non-zero.
519 2002-01-10 Kazu Hirata <kazu@hxi.com>
521 * config/h8300/h8300.md: Remove constraints from expanders.
523 2002-01-10 Kazu Hirata <kazu@hxi.com>
525 * varasm.c: Fix formatting.
526 * varray.c: Likewise.
527 * vmsdbgout.c: Likewise.
528 * xcoffout.c: Likewise.
530 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
532 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
533 update edge probabilities to match.
535 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
537 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
539 * doc/languages.texi, doc/sourcebuild.texi: New files.
540 * doc/configfiles.texi: Make a subsubsection. Update.
541 * doc/configterms.texi: Add @node. Remove warning that this isn't
542 instructions for building GCC.
543 * doc/makefile.texi: Make a subsection.
544 * doc/gccint.texi: Update.
546 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
548 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
550 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
552 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
554 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
556 * optabs.c (expand_fix): Look for wider integer modes first.
558 * i386.md (mov?f): Avoid the fake const double trick for medium
560 (min?f*/max?f*): Prohibit memory operands for i387 variant.
561 (fop_df_4): Disable for SSE compilation.
563 2002-01-20 Graham Stott <grahams@redhat.com>
565 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
566 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
568 2002-01-10 Richard Henderson <rth@redhat.com>
570 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
572 2002-01-10 Richard Henderson <rth@redhat.com>
574 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
575 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
577 2002-01-10 Kazu Hirata <kazu@hxi.com>
579 * combine.c (can_combine_p): Fix a comment typo.
581 2002-01-09 Zack Weinberg <zack@codesourcery.com>
583 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
584 empty list correctly. Change loop index $t to $f for
585 consistency with rest of Makefile.
587 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
589 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
590 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
592 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
593 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
594 (altivec_init_builtins): Same.
595 (altivec_expand_unop_builtin): Return NULL_RTX on error.
596 (altivec_expand_binop_builtin): Same.
597 (altivec_expand_ternop_builtin): Same.
600 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
601 ("altivec_vctuxs"): Fix typo.
602 ("altivec_vnmsubfp"): Same.
603 ("altivec_dssall"): New.
604 ("altivec_mfvscr"): New.
605 ("altivec_dss"): New.
606 ("altivec_lvsl"): New.
607 ("altivec_lvsr"): New.
608 ("altivec_dstt"): New.
609 ("altivec_dstst"): New.
610 ("altivec_dststt"): New.
611 ("altivec_dst"): New.
613 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
614 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
616 2002-01-09 Richard Henderson <rth@redhat.com>
618 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
620 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
622 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
624 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
626 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
628 2002-01-09 Kazu Hirata <kazu@hxi.com>
630 * read-rtl.c: Fix formatting.
632 * regclass.c: Likewise.
633 * regrename.c: Likewise.
634 * reg-stack.c: Likewise.
635 * reload1.c: Likewise.
636 * reload.c: Likewise.
639 2002-01-09 Kazu Hirata <kazu@hxi.com>
641 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
642 to extract items in the expr_list chain.
644 2002-01-09 Richard Henderson <rth@redhat.com>
646 * config/vax/vax.c (vax_rtx_cost): Never abort.
648 * config/vax/vax.h (REAL_ARITHMETIC): Define.
650 2002-01-09 Jan Hubicka <jh@suse.cz>
652 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
654 2002-01-09 Richard Henderson <rth@redhat.com>
656 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
657 Unify code from various alternatives.
659 2002-01-09 Richard Henderson <rth@redhat.com>
661 * regrename.c (copy_value): Ignore the copy if the source register
662 is present in the value chain with a narrower mode.
664 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
666 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
667 for the c4x target. Also improve layout.
669 2002-01-09 Richard Henderson <rth@redhat.com>
671 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
672 * config/m32r/m32r.md (and ior xor splitters): Swap operands
673 to match insn patterns.
675 2002-01-09 Richard Henderson <rth@redhat.com>
677 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
678 (copyprop_hardreg_forward_1): Likewise.
680 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
682 * pa.md (decrement_and_branch_until_zero): Change predicate for
683 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
685 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
687 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
688 gets undefined. For Darwin.
690 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
692 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
694 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
696 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
698 2002-01-08 Richard Henderson <rth@redhat.com>
700 * regrename.c (copy_value): Ignore overlapping copies.
702 2002-01-08 Richard Henderson <rth@redhat.com>
704 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
705 as needed to avoid shared structure.
707 2002-01-08 Kazu Hirata <kazu@hxi.com>
709 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
712 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
714 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
715 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
716 documentation of obsolete macros.
717 * system.h: Poison these macros.
718 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
719 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
720 config/c4x/c4x.h, config/clipper/clipper.h,
721 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
722 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
723 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
724 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
725 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
726 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
727 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
728 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
729 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
730 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
731 config/sparc/sparc.h, config/stormy16/stormy16.h,
732 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
733 definitions and commented out definitions of obsolete macros.
734 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
735 of MAX_INT_TYPE_SIZE.
737 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
739 * config/s390/s390.c (s390_preferred_reload_class): Never
740 return ADDR_REGS if it isn't a subset of the given class.
741 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
742 FP_REGS, but all superclasses as well.
744 * config/s390/s390.c (s390_function_profiler): Fix thinko.
746 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
747 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
748 must not be a const_int.
750 2002-01-08 Richard Henderson <rth@redhat.com>
752 * Makefile.in (toplev.o): Depend on options.h.
753 (gcc.o): Depend on specs.h.
755 2002-01-08 Jakub Jelinek <jakub@redhat.com>
757 * expr.c (store_expr): Convert VOIDmode constants back to target's
760 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
762 * doc/invoke.texi: Markup gcc as @command. Refer to
763 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
764 of http://gcc.gnu.org/thanks.html.
766 2002-01-08 Dale Johannesen <dalej@apple.com>
768 * config/rs6000/rs6000.md: Add missing int register
769 target case to movdf_low.
771 2002-01-08 Zack Weinberg <zack@codesourcery.com>
773 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
774 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
775 (cppinit.o): Depend on except.h.
776 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
779 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
780 Don't create specs.h/options.h/gencheck.h here. Remove
781 unnecessary variable settings from last argument of AC_OUTPUT.
782 * config.in, configure: Regenerate.
783 * intl.c: Hardcode package name as "gcc".
785 * cppinit.c: Include except.h.
786 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
788 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
789 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
790 (!)USING_SJLJ_EXCEPTIONS.
791 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
793 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
795 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
796 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
797 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
798 documentation of obsolete macros.
799 * system.h: Poison these macros.
800 * config/d30v/d30v.h, config/ns32k/encore.h,
801 config/stormy16/stormy16.h: Remove definitions and commented out
802 definitions of obsolete macros.
804 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
806 * objc/objc-act.c (handle_class_ref): Mark the declaration of
807 %sobjc_class_ref_%s as used - to prevent unwanted compiler
810 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
812 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
813 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
814 to insn adjusting stack/frame pointer.
815 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
816 accept operands that cause the insn to be non-splittable.
818 2002-01-08 Graham Stott <grahams@redhat.com>
820 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
821 (C_TYPE_FIELDS_VOLATILE): Likewise.
822 (C_TYPE_BEING_DEFINED): Likewise.
823 (C_IS_RESERVED_WORD): Likewise.
824 (C_TYPE_VARIABLE_SIZE): Likewise.
825 (C_DECL_VARIABLE_SIZE): Likewise.
826 (C_MISSING_PROTOTYPE_WARNED): Likewise.
827 (C_SET_EXP_ORIGINAL_CODE): Likewise.
828 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
830 (C_DECL_ANTICIPATED): Likewise.
831 (c_build_type_variant): Add parenthesis.
833 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
835 * gcc.c (option_map): Remove --version.
836 (process_command): Handle -fversion following the GNU Coding
837 Standards. Partially addresses PR other/704.
839 2002-01-08 Graham Stott <grahams@redhat.com>
841 * combine.c (combine_instructions): Fix typo.
843 2002-01-08 Graham Stott <grahams@redhat.com>
845 * debug.h: Use "tree" and "rtx" throughout.
849 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
851 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
852 constant pool, use the pool's version of the symbol instead.
854 2002-01-07 Richard Henderson <rth@redhat.com>
856 * regrename.c (find_oldest_value_reg): Ignore the value chain if
857 the original register was copied in a mode with a fewer number of
858 hard registers than the desired mode.
859 (copyprop_hardreg_forward_1): Likewise.
860 (debug_value_data): Fix loop test.
861 * toplev.c (parse_options_and_default_flags): Reenable
862 -fcprop-registers at -O1.
864 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
866 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
867 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
869 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
872 * config/rs6000/rs6000.md: Add altivec predicate patterns.
874 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
876 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
877 (pa_output_function_prologue): Output local label at the beginning of
878 the prologue when profiling.
879 (hppa_profile_hook): Use the local label rather than the function label.
880 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
882 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
884 * config/rs6000/rs6000.c (print_operand): Remove extra space.
885 (altivec_expand_unop_builtin): Fix thinko.
886 (altivec_expand_binop_builtin): Same.
887 (altivec_expand_ternop_builtin): Same.
888 (altivec_expand_builtin): Same.
890 2002-01-07 Richard Henderson <rth@redhat.com>
892 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
894 2002-01-07 Jason Merrill <jason@redhat.com>
896 * unwind-dw2.c (execute_cfa_program): Use < again.
898 2002-01-07 Jakub Jelinek <jakub@redhat.com>
900 * predict.c (combine_predictions_for_insn): Avoid division by zero.
902 2002-01-07 Jakub Jelinek <jakub@redhat.com>
904 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
905 Don't allow -1 - x -> ~x simplifications in the first pass.
907 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
909 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
911 (altivec_expand_binop_builtin): Same.
912 (altivec_expand_unop_builtin): Same.
913 (print_operand): Fix typo.
914 (bdesc_1arg): Add vupk* variants.
916 * rs6000.h (rs6000_builtins): Add vupk* enums.
918 * rs6000.md: Add altivec_vupk* variants.
920 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
922 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
923 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
924 and last update dates.
926 2002-01-07 Janis Johnson <janis187@us.ibm.com>
928 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
930 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
932 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
933 * config/avr/avr.h (CPP_SPEC): Likewise.
934 (LINK_SPEC): Likewise.
935 (CRT_BINUTILS_SPECS): Likewise.
936 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
937 * doc/invoke.texi (AVR Options): Document them.
939 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
941 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
944 2002-01-07 Graham Stott <grahams@redhat.com>
946 * config/i386/i386.h: Update copyright date.
947 (HALF_PIC_PTR): Add parenthesis.
948 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
949 (CONSTANT_ALIGNMENT): Add parenthesis.
950 (DATA_ALIGNMENT): Likewise.
951 (LOCAL_ALIGNMENT): Likewise.
952 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
953 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
954 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
955 (HARD_REGNO_NREGS): Add paranethesis.
956 (VALID_SSE_REG_MODE): Whitespace.
957 (VALID_MMX_REG_MODE): Whitespace.
958 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
959 (ix86_hard_regno_mode_ok): Add parenthesis.
960 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
961 (RETURN_IN_MEMORY): Whitespace.
962 (N_REG_CLASSES): Add parenthesis.
963 (INTEGER_CLASS_P): Add parenthesis and wrap.
964 (FLOAT_CLASS_P): Likewise.
965 (SSE_CLASS_P): Likewise.
966 (MMX_CLASS_P): Likewise.
967 (MAYBE_INTEGER_CLASS_P): Likewise.
968 (MAYBE_FLOAT_CLASS_P): Likewise.
969 (MAYBE_SSE_CLASS_P): Likewise.
970 (MAYBE_MMX_CLASS_P): Likewise.
971 (Q_CLASS_P): Likewise.
972 (GENERAL_REGNO_P): Uppercase macro parameter.
973 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
974 (FP_REGNO_P): Likewise.
975 (ANY_FP_REGNO_P): Uppercase macro parameter.
976 (SSE_REGNO_P): Likewise.
977 (SSE_REGNO): Likewise.
978 (SSE_REG_P): Likewise.
979 (SSE_FLOAT_MODE_P): Likewise.
980 (MMX_REGNO_P): Likewise.
981 (MMX_REG_P):Likewise.
982 (STACK_REG_P): Likewise.
983 (NON_STACK_REG_P): Likewise.
984 (STACK_TOP_P): Likewise.
985 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
986 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
987 (SECONDARY_MEMORY_NEEDED): Likewise.
988 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
989 (MD_ASM_CLOBBERS): Whitespace and wrap.
990 (MUST_PASS_IN_STACK): Whitespace and wrap.
991 (RETURN_POPS_ARGS): Add parenthesis.
992 (INIT_CUMULATIVE_ARGS): Likewise.
993 (FUNCTION_ARG): Likewise.
994 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
995 (SETUP_INCOMING_VARARGS): Likewise.
996 (BUILD_VA_LIST_TYPE): Add parenthesis.
997 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
999 (EXPAND_BUILTIN_VA_ARG): Likewise.
1000 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1001 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1002 (INITIAL_ELIMINATION_OFFSET): Likewise.
1003 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1004 (REGNO_OK_FOR_BASE_P): Likewise.
1005 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1006 (REGNO_OK_FOR_DIREG_P): Likewise.
1007 (REG_OK_FOR_INDEX_P): Whitespace.
1008 (REG_OK_FOR_BASE_P): Whitespace.
1009 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1011 (FIND_BASE_TERM): Fix typo.
1012 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1013 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1014 (SYMBOLIC_CONST; Whitespace.
1015 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1016 (ENCODE_SECTION_INFO): Whitespace.
1017 (FINALIZE_PIC): Remove do { ... } while (0).
1018 (PROMOTE_MODE): Wrap in do { ... } while (0).
1019 (CONST_COSTS): Whitespace.
1020 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1021 (REGISTER_MOVE_COST): Add parenthesis.
1022 (MEMORY_MOVE_COST): Likewise.
1023 (EXTRA_CC_MODES): Whitespace.
1024 (SELECT_CC_MODE): Add parenthesis and whitespace.
1025 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1026 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1027 (ASM_OUTPUT_LABEL): Add paramethesis.
1028 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1029 (ASM_OUTPUT_REG_POP): Likewise.
1030 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1031 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1033 * config/i386/i386.c: Update copyright.
1034 (CHECK_STACK_LIMIT): Add parenthesis.
1035 (AT_BP): Uppercase macro parameter.
1036 (x86_64_int_parameter_registers): Constify.
1037 (x86_64_int_return_registers): Likewise.
1038 (ix86_compare_op0): Use rtx.
1039 (construct_container): Constify INTREG parameter.
1040 (function_arg): Use rtx.
1042 * diagnostic.h: Update copyright date.
1043 (output_buffer_state): Add parenthesis.
1044 (output_buffer_format_args): Likewise.
1046 * combine.c (combine_instructions): Replace XEXP (links, 0)
1049 2002-01-06 H.J. Lu <hjl@gnu.org>
1051 * cfgcleanup.c (thread_jump): Fix 2 typos.
1053 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
1055 * config.gcc: Add support for --enable-altivec.
1057 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1059 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1061 2002-01-06 Jakub Jelinek <jakub@redhat.com>
1063 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1064 __objc_class_name_*.
1066 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1068 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1070 2002-01-06 Richard Henderson <rth@redhat.com>
1072 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1073 nop them out. Increment label reference count for REG_LABEL.
1074 (fill_slots_from_thread): Frob label reference count around
1075 delete_related_insns.
1077 2002-01-05 Richard Henderson <rth@redhat.com>
1079 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1082 2002-01-05 Richard Henderson <rth@redhat.com>
1084 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1085 * integrate.c (output_inline_function): Likewise.
1086 * toplev.c (rest_of_compilation): Do it here instead. Move call
1087 to remove_unnecessary_notes after emitting abstract instance.
1088 Force an emitted nested function to have its parent emited as well.
1089 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1091 (rtl_for_decl_location): Do not look at reload data structures
1092 before reload has run.
1094 2002-01-05 Kazu Hirata <kazu@hxi.com>
1096 * cse.c: Fix formatting.
1097 * dwarf2asm.c: Likewise.
1098 * dwarf2out.c: Likewise.
1099 * explow.c: Likewise.
1100 * expmed.c: Likewise.
1101 * function.c: Likewise.
1103 * gencheck.c: Likewise.
1104 * genrecog.c: Likewise.
1105 * ggc-common.c: Likewise.
1106 * ggc-page.c: Likewise.
1107 * global.c: Likewise.
1109 2002-01-05 Kazu Hirata <kazu@hxi.com>
1111 * combine.c: Fix formatting.
1113 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
1116 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1118 2002-01-05 David Edelsohn <edelsohn@gnu.org>
1120 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
1121 as 1 for __powerpc64__ as well.
1123 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
1125 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
1128 2002-01-05 Daniel Berlin <dan@dberlin.org>
1130 * lcm.c: Revert change, due to performance regression it causes on
1131 SPEC because it's slightly more conservative (sigh, I hate
1134 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
1136 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
1138 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
1140 * doc/cppinternals.texi: Update.
1142 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
1144 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
1145 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
1147 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
1148 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
1149 kludge for pre-october-14th mmix versions to handle new-found bug
1150 with PUSHJ/PUSHGO and the register stack.
1151 * config/mmix/mmix.h (struct machine_function): Rename member
1152 has_call_value_without_parameters to has_call_without_parameters.
1153 All referers changed.
1154 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
1155 TARGET_MASK_BRANCH_PREDICT): New macros.
1156 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
1157 -mno-reg-stack-fill-bug-workaround.
1158 * config/mmix/mmix.md ("call"): Set struct machine member
1159 has_call_without_parameters.
1161 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
1163 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
1165 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
1167 * cfgcleanup.c: Include tm_p.h
1168 (mark_effect): Fix handling of hard register; fix handling of SET
1170 2002-01-04 Kazu Hirata <kazu@hxi.com>
1172 * config/h8300/h8300.md (anonymous patterns): Check that
1173 operands are registers before using REGNO on them.
1175 2002-01-03 Roland McGrath <roland@frob.com>
1177 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
1179 2002-01-04 Jakub Jelinek <jakub@redhat.com>
1181 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
1182 * c-common.h (genrtl_expr_stmt_value): Likewise.
1183 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
1184 (expand_expr_stmt_value): Add maybe_last argument.
1185 Don't warn about statement with no effect if it is the last statement
1186 in expression statement.
1187 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
1188 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
1189 expand_expr_stmt_value.
1190 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
1191 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
1192 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
1193 as maybe_last to expand_expr_stmt_value.
1195 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
1197 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
1198 be passed in, do not build it.
1199 (c_begin_if_stmt): New function.
1200 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1201 * c-common.h (c_expand_start_cond): Update prototype.
1202 (c_begin_if_stmt): Prototype new function.
1203 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1204 * c-parse.in (if_prefix): Use c_begin_if_stmt,
1205 c_begin_while_stmt and c_finish_while_stmt_cond.
1207 2002-01-04 William Cohen <wcohen@redhat.com>
1209 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
1210 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1211 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1212 * config/pa/som.h (ASM_FILE_START): Likewise.
1214 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
1216 * lcm.c: Include df.h.
1217 Add available_transfer_function prototype.
1218 (compute_available): Rework to use iterative dataflow framework.
1219 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
1220 with bb_info in df.h
1221 (available_transfer_function): New function.
1223 * Makefile.in (lcm.o): add df.h to dependencies.
1225 2002-01-04 Richard Henderson <rth@redhat.com>
1227 * config/alpha/alpha.c (some_operand): Accept HIGH.
1228 (input_operand): Likewise; accept simple references to globals.
1229 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
1230 (alpha_const_double_ok_for_letter_p): Likewise.
1231 (alpha_extra_constraint): Likewise.
1232 (alpha_preferred_reload_class): Likewise. Do not force
1233 symbolic constants to memory.
1234 (alpha_legitimate_address_p): Accept simple references
1235 to small_symbolic_operand.
1236 (alpha_legitimize_address): New arg scratch. Be prepared to be
1237 called when no_new_pseudos. Emit simple symbolic references.
1238 Split integers into low, high, and rest.
1239 (alpha_expand_mov): Use alpha_legitimize_address.
1240 (some_small_symbolic_mem_operand): New.
1241 (split_small_symbolic_mem_operand): New.
1242 * config/alpha/alpha-protos.h: Update.
1243 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
1244 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
1245 (EXTRA_CONSTRAINT): Likewise.
1246 (PREFERRED_RELOAD_CLASS): Likewise.
1247 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
1248 (PREDICATE_CODES): Update.
1249 * config/alpha/alpha.md: New post-reload splitters to convert
1250 simplfied symbolic operands to the form that references $29.
1251 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
1252 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
1254 2002-01-03 Richard Henderson <rth@redhat.com>
1256 * local-alloc.c (function_invariant_p): Update commentary.
1258 2002-01-04 H.J. Lu <hjl@gnu.org>
1260 * toplev.c (rest_of_compilation): Fix a typo when calling
1263 2002-01-03 Kazu Hirata <kazu@hxi.com>
1265 * c-common.c: Fix formatting.
1266 * diagnostic.c: Likewise.
1267 * doloop.c: Likewise.
1268 * dwarf2out.c: Likewise.
1270 2002-01-03 Kazu Hirata <kazu@hxi.com>
1272 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
1273 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
1275 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1277 * cpperror.c: Update comments and copyright.
1278 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
1279 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
1281 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1283 * collect2.c (main): Use strcmp when testing for "-shared".
1285 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1287 * cppmacro.c: Don't include intl.h. Update comments.
1288 (new_number_token): Allocate enough buffer for 64-bit unsigned
1289 integers; update prototype.
1290 * cppmain.c: Update comments.
1292 2002-01-03 William Cohen <wcohen@redhat.com>
1294 * function.h (struct function): Add profile.
1295 (current_function_profile): New.
1296 doc/extend.texi: Update documentation.
1297 * final.c (final_start_function): Use current_function_profile
1298 instead of profile_flag.
1299 (profile_after_prologue): Likewise.
1300 * function.c (expand_function_start): Likewise.
1301 (expand_function_start): Likewise.
1302 * config/alpha/alpha.c (direct_call_operand):
1303 (alpha_does_function_need_gp): Likewise.
1304 (alpha_expand_prologue): Likewise.
1305 * config/arm/arm.c (arm_expand_prologue): Likewise.
1306 thumb_expand_prologue: Likewise.
1307 * config/d30v/d30v.c (d30v_stack_info): Likewise.
1308 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
1309 (fr30_expand_prologue): Likewise.
1310 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
1311 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
1312 * config/i386/i386.h (FINALIZE_PIC): Likewise.
1313 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1314 * config/i960/i960.c (i960_output_function_prologue): Likewise.
1315 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
1316 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
1317 (m32r_expand_prologue): Likewise.
1318 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
1319 (m88k_expand_prologue): Likewise.
1320 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
1321 * config/mips/mips.c (compute_frame_size): Likewise.
1322 (mips_expand_prologue): Likewise.
1323 (mips_can_use_return_insn): Likewise.
1324 * config/pa/elf.h (ASM_FILE_START): Likewise.
1325 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1326 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1327 * config/pa/som.h (ASM_FILE_START): Likewise.
1328 * config/romp/romp.c (romp_using_r14): Likewise.
1329 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
1330 (rs6000_stack_info): Likewise.
1331 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1332 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1333 * config/v850/v850.c (compute_register_save_size): Likewise.
1335 2002-01-03 Jakub Jelinek <jakub@redhat.com>
1337 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
1338 gen_lowpart_common fails, use gen_lowpart_SUBREG.
1340 2002-01-03 Turly O'Connor <turly@apple.com>
1342 * darwin.c (machopic_output_possible_stub_label): Don't generate
1343 stub routines for pseudo-stubs which we've just defined.
1345 2002-01-03 Kazu Hirata <kazu@hxi.com>
1347 * builtins.c: Fix formatting.
1348 * c-typeck.c: Likewise.
1349 * combine.c: Likewise.
1353 2002-01-03 Andreas Schwab <schwab@suse.de>
1355 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
1356 and return true if _cpp_push_next_buffer pushed a new include
1358 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
1359 _cpp_pop_file_buffer did not push a new file.
1360 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
1362 2002-01-02 Eric Christopher <echristo@redhat.com>
1364 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
1365 FIND_REG_INC_NOTE call. Update copyright.
1366 * loop.c (canonicalize_condition): Ditto.
1367 * reorg.c (delete_scheduled_jump): Ditto.
1369 2002-01-03 Kazu Hirata <kazu@hxi.com>
1371 * gcse.c: Fix formatting.
1373 2002-01-03 Graham Stott <grahams@redhat.com>
1375 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
1376 forward defs for struct tags rtx_def, union_tree, rtvec_def
1377 also output corresponding typedefs for rtx, tree, and rtvec.
1379 * system.h: Move forward defs for struct tags rtx_def, union_tree,
1380 rtvec_def along with corresponding typedefs for rtx, tree, and
1381 rtvec to config.h, hconfig.h, tconfig.h.
1383 2002-01-03 Graham Stott <grahams@redhat.com>
1385 * tree.h: Update copyright date.
1386 (IS_EXPR_CODE_CLASS): Add parenthesis.
1387 (TREE_SET_CODE): Add whitespace.
1388 (TREE_CHECK): Add parenthesis.
1389 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
1390 (CST_OR_CONSTRUCTOR_CHECK):
1391 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
1392 (TREE_SYMBOL_REFERENCED): Whitespace.
1393 (INT_CST_LT): Likewise.
1394 (INT_CST_LT_UNSIGNED): Likewise.
1395 (tree_real_cst): Unwrap comment.
1396 (tree_string): Likewise.
1397 (tree_complex): Likewise.
1398 (IDENTIFIER_POINTER): correct cast.
1399 (SAVE_EXPR_CONTEXT): Whitespace.
1400 (EXPR_WFL_FILENAME_NODE): Likewise.
1401 (EXPR_WFL_FILENAME): Remove parenthesis.
1402 (DECL_ORIGIN): Add parenthesis.
1403 (DECL_FROM_INLINE): Use NULL_TREE.
1404 (build_int_2): Whitespace.
1405 (build_type_variant): Add parenthesis.
1407 * gcc/jcf-parse.c: Update copyright date.
1408 (yyparse): Constify resource_filename.
1410 2002-01-03 Graham Stott <grahams@redhat.com>
1412 * rtl.h: Update copyright date.
1413 (RTL_CHECK1): Wrap long line.
1414 (RTL_CHECK2): Likewise.
1415 (RTL_CHECKC1): Wrap long line and whitespace.
1416 (RTL_CHECKC2): Likewise.
1417 (XWINT): Whitespace.
1423 (XBITMAP): Likewise.
1434 (X0BITMAP): Likewise.
1436 (X0BBDEF): Likewise.
1437 (X0ADVFLAGS): Likewise.
1438 (X0CSELIB): Likewise.
1439 (X0MEMATTR): Likewise.
1447 (XCBITMAP): Likewise.
1449 (XCBBDEF): Likewise.
1450 (XCADVFLAGS): Likewise.
1451 (XCCSELIB): Likewise.
1453 (INSN_UID): Likewise.
1454 (PREV_INSN): Likewise.
1455 (PATTERN): Likewise.
1456 (INSN_CODE): Likewise.
1457 (PUT_REG_NOTE_KIND): Likewise.
1458 (CODE_LABEL_NUMBER): Likewise.
1459 (NOTE_SOURCE_FILE): Likewise.
1460 (NOTE_BLOCK): Likewise.
1461 (NOTE_EH_HANDLER): Likewise.
1462 (NOTE_RANGE_INFO): Likewise.
1463 (NOTE_LIVE_INFO): Likewise.
1464 (NOTE_BASIC_BLOCK): Likewise.
1465 (NOTE_EXPECTED_VALUE): Likewise.
1466 (NOTE_LINE_NUMBER): Likewise.
1467 (LABEL_NAME): Likewise.
1468 (LABEL_NUSES): Likewise.
1469 (LABEL_ALTERNATE_NAME): Likewise.
1470 (ADDRESSOF_DECL): Likewise.
1471 (JUMP_LABEL): Likewise.
1472 (LABEL_NEXTREF): Likewise.
1474 (ORIGINAL_REGNO: Likewise.
1475 (HARD_REGISTER_NUM_P): Add parenthesis.
1476 (SUBREG_REG): Whitespace.
1477 (SUBREG_BYTE): Likewise.
1478 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
1479 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
1480 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
1481 (ASM_OPERANDS_INPUT_VEC): Likewise.
1482 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
1483 (ASM_OPERANDS_INPUT): Likewise.
1484 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
1485 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
1486 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
1487 (ASM_OPERANDS_INPUT_MODE): Likewise.
1488 (ASM_OPERANDS_SOURCE_FILE): Likewise.
1489 (ASM_OPERANDS_SOURCE_LINE): Likewise.
1490 (MEM_SET_IN_STRUCT_P): Minor reformat.
1491 (TRAP_CONDITION): Whitespace.
1492 (TRAP_CODE): Likewise.
1493 (COND_EXEC_TEST): Likewise.
1494 (COND_EXEC_CODE): Likewise.
1495 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
1496 (PHI_NODE_P): Add parenthesis.
1497 (plus_constant): Whitespace and add parenthesis.
1499 2002-01-03 Kazu Hirata <kazu@hxi.com>
1501 * config/avr/avr.c: Fix comment typos.
1502 * config/c4x/c4x.md: Likewise.
1503 * config/dsp16xx/dsp16xx.h: Likewise.
1504 * config/dsp16xx/dsp16xx.md: Likewise.
1505 * config/i386/i386.md: Likewise.
1506 * config/ia64/ia64.c: Likewise.
1507 * config/m32r/m32r.h: Likewise.
1508 * config/m68hc11/m68hc11.md: Likewise.
1509 * config/mmix/mmix.c: Likewise.
1510 * config/mn10200/mn10200.c: Likewise.
1511 * config/romp/romp.c: Likewise.
1512 * config/sh/sh.c: Likewise.
1513 * config/stormy16/stormy16.c: Likewise.
1514 * config/stormy16/stormy16.h: Likewise.
1515 * config/stormy16/stormy16.md: Likewise.
1517 2002-01-03 Graham Stott <grahams@redhat.com>
1519 * loop.h: Update copyright date.
1520 (LOOP_MOVABLES): Fix typo.
1521 (LOOP_REGS): Likewise.
1522 (LOOP_IVS): Likewise.
1524 2002-01-03 Graham Stott <grahams@redhat.com>
1526 * cppinit.c: Update copyright date.
1527 Don't include output.h
1528 * Makefile.in: Update copyright date.
1531 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
1534 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
1535 (-pthread) Add to RS/6000 options.
1537 2002-01-02 Kazu Hirata <kazu@hxi.com>
1539 * except.c: Fix comment typos.
1541 * varasm.c: Likewise.
1542 * doc/tm.texi: Fix a typo.
1544 2002-01-02 Jakub Jelinek <jakub@redhat.com>
1546 * c-typeck.c (output_init_element): Allow initializing static storage
1547 duration objects with compound literals.
1549 2002-01-02 Richard Henderson <rth@redhat.com>
1551 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
1554 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1556 * gcc.c (default_compilers): Const-ify.
1557 * mips-tdump.c (stab_names): Likewise.
1558 * mips-tfile.c (map_coff_types, map_coff_storage,
1559 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
1560 pseudo_ops_t, pseudo_ops): Likewise.
1561 * protoize.c (default_include): Likewise
1563 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
1564 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
1565 Add array size in declaration.
1566 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
1567 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
1568 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
1569 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
1570 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
1571 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
1572 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
1573 emtens, make_nan): Const-ify.
1574 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
1575 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
1577 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
1579 * config.gcc (ia64-*-*): Set extra_headers.
1580 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
1581 * config/alpha/t-osf: Remove.
1582 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
1584 2002-01-02 David Edelsohn <edelsohn@gnu.org>
1586 * config/rs6000/t-aix43: Revert previous change.
1588 2002-01-02 Jason Merrill <jason@redhat.com>
1590 * c-decl.c (c_expand_body): Call outlining_inline_function when
1591 emitting an inline function out of line.
1593 2002-01-02 Richard Henderson <rth@redhat.com>
1595 * dwarf2out.c (limbo_die_node): Add created_for member.
1596 (new_die): New argument created_for. Update all callers.
1597 (mark_limbo_die_list): New.
1598 (dwarf2out_init): Register limbo_die_list as a root.
1599 (dwarf2out_finish): Force insert limbo dies into their function
1602 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
1605 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
1607 2002-01-02 Kazu Hirata <kazu@hxi.com>
1609 * config/h8300/fixunssfsi.c: Update copyright.
1612 * config/h8300/h8300.c: Update copyright.
1615 2002-01-02 Kazu Hirata <kazu@hxi.com>
1617 * config/romp/romp.c: Fix comment formatting.
1618 * config/romp/romp.h: Likewise.
1619 * config/romp/romp.md: Likewise.
1620 * config/s390/s390.c: Likewise.
1621 * config/stormy16/stormy16.c: Likewise.
1622 * config/stormy16/stormy16.h: Likewise.
1624 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
1626 * c-common.h (genrtl_expr_stmt_value): Declare.
1627 * c-semantics.c (genrtl_goto_stmt): Redirect to...
1628 (genrtl_goto_stmt_value): ... this new function. Pass new
1629 argument down to expand_expr_stmt_value, taking
1630 TREE_ADDRESSABLE into account.
1631 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1632 STMT_EXPR as addressable, i.e., one whose result we want.
1633 * expr.c (expand_expr): Don't save expression statement value
1634 of labeled_blocks or loop_exprs.
1635 * stmt.c (expand_expr_stmt): Redirect to...
1636 (expand_expr_stmt_value): ... this new function. Use new
1637 argument to tell whether to save expression value.
1638 (expand_end_stmt_expr): Reset last_expr_type and
1639 last_expr_value if we don't have either.
1640 * tree-inline.c (declare_return_variable): Mark its use
1641 statement as addressable.
1642 * tree.h: Document new use of TREE_ADDRESSABLE.
1643 (expand_expr_stmt_value): Declare.
1645 2002-01-01 Tom Rix <trix@redhat.com>
1647 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1648 rs6000_emit_allocate_stack.
1650 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
1652 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1653 ${srcdir}/ginclude/ to every entry in extra_headers.
1654 * configure: Regenerate.
1655 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1656 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1657 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1658 * ginclude/proto.h: Rename to config/convex/proto.h.
1660 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1662 * attribs.c (handle_vector_size_attribute): Use host_integerp
1663 and tree_int_cst; remove warnings.
1664 * caller-save.c (insert_restore): Add cast to get rid of warning.
1665 (insert_save): Likewise.
1666 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1667 * regmove.c (find_matches): Add temporary var to kill a warning.
1669 2002-01-01 Douglas B Rupp <rupp@gnat.com>
1671 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1672 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1673 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1674 (vms-dwarf2eh.o): Add Makefile rule.
1675 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1676 * config/alpha/vms-dwarf2eh.asm: New file.
1678 * gcc.c (delete_if_ordinary): Delete all versions.
1680 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1682 * config/mmix/mmix.md: Update FIXME to not mention
1684 (MMIX_rJ_REGNUM): New define_constants constant.
1685 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1686 "*movdicc_real"): Adjust contraints formatting.
1687 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1688 for branch prediction.
1689 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1691 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1692 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1693 number. Delete related FIXMEs.
1694 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1695 from number to MMIX_rJ_REGNUM.
1696 (TARGET_MASK_BRANCH_PREDICT): New.
1697 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1698 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
1699 value. Add -mbranch-predict and -mno-branch-predict.
1700 (TARGET_VERSION): Drop date.
1701 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1702 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1703 for finding out global symbols.
1704 (mmix_asm_output_labelref): Revert condition for global symbol.
1705 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1706 (mmix_print_operand_punct_valid_p): A '+' is valid.
1708 See ChangeLog.6 for earlier changes.