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