1 2002-01-16 H.J. Lu <hjl@gnu.org>
3 * config/mips/linux.h: Include "mips/abi64.h".
5 2002-01-16 H.J. Lu <hjl@gnu.org>
7 * config/mips/t-linux: New.
9 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
11 * config/mips/linux.h: Don't include "gofast.h".
12 (INIT_SUBTARGET_OPTABS): Removed.
14 2002-01-16 Kazu Hirata <kazu@hxi.com>
16 * config/h8300/h8300-protos.h: Replace emit_a_shift with
18 * config/h8300/h8300.c: Likewise.
19 * config/h8300/h8300.md: Likewise.
21 2002-01-16 Kazu Hirata <kazu@hxi.com>
23 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
24 spaces after an opcode name.
25 (pushqi1_h8300hs): Likewise.
26 (pushhi1_h8300hs): Likewise.
28 2002-01-16 Kazu Hirata <kazu@hxi.com>
30 * doc/extend.texi: Replace "option" with "attribute"
33 2002-01-16 Jakub Jelinek <jakub@redhat.com>
35 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
36 (and:DI () (const_int -8)).
37 (split_small_symbolic_mem_operand): Split
38 (mem (and:DI () (const_int -8)).
40 2002-01-16 Jakub Jelinek <jakub@redhat.com>
43 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
44 same way as TYPE_IMUL.
45 (ultrasparc_sched_reorder): Likewise.
46 * config/sparc/sparc.md (type): Add comment to update
47 ultrasparc_sched_reorder when making changes.
49 2002-01-16 Kazu Hirata <kazu@hxi.com>
51 * doc/invoke.texi: Change the dump file name of block
52 reordering pass from 28.bbro to 29.bbro.
55 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
57 * i386.md (minsf splitter): Fix pasto.
59 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
61 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
62 to frame pointer initialisation instruction.
63 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
64 initialisation instruction.
65 (soft_df_operand): Do not accept the IP register.
66 (nonimmediate_soft_df_operand): Do not accept the IP register.
68 2002-01-16 Jakub Jelinek <jakub@redhat.com>
71 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
72 MASK_V8 being both set.
74 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
76 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
77 insn for GOT register; add REG_MAYBE_DEAD notes instead.
78 config/s390/s390.md (call, call_value): Add GOT register to
79 CALL_INSN_FUNCTION_USAGE where needed.
80 (call_exp, call_value_exp): New.
82 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
84 * config/arm/arm.c: General formatting tidy up.
86 2002-01-16 Graham Stott <grahams@redhat.com>
88 * calls.c (try_to_integrate): Use "(size_t)" intermediate
89 cast and when casting an integer literal to "rtx" pointer.
90 (expand_call): Likewise.
91 * flow.c (try_pre_increment): Likewise.
92 (find_use_as_address): Likewise.
93 * integrate.c (expand_iline_function): Likewise.
94 * regmove.c (try_auto_increment): Likewise.
96 2002-01-16 Graham Stott <grahams@redhat.com>
98 * sched-rgn.c (passed): Use sbitmap_free.
101 (in_queue): Likewise.
102 (in_stack): Likewise.
104 2002-01-15 Eric Christopher <echristo@redhat.com>
106 * flow.c (propagate_one_insn): Change to use fatal_insn.
108 2002-01-15 Kazu Hirata <kazu@hxi.com>
110 * expmed.c (extract_fixed_bit_field): Remove unused code.
111 * system.h: Poison SLOW_ZERO_EXTEND.
112 * doc/tm.texi: Remove.
113 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
114 * config/arm/arm.h: Likewise.
115 * config/avr/avr.h: Likewise.
116 * config/clipper/clipper.h: Likewise.
117 * config/convex/convex.h: Likewise.
118 * config/d30v/d30v.h: Likewise.
119 * config/dsp16xx/dsp16xx.h: Likewise.
120 * config/elxsi/elxsi.h: Likewise.
121 * config/fr30/fr30.h: Likewise.
122 * config/h8300/h8300.h: Likewise.
123 * config/i370/i370.h: Likewise.
124 * config/i386/i386.h: Likewise.
125 * config/m68k/m68k.h: Likewise.
126 * config/mips/mips.h: Likewise.
127 * config/ns32k/ns32k.h: Likewise.
128 * config/pdp11/pdp11.h: Likewise.
129 * config/pj/pj.h: Likewise.
130 * config/s390/s390.h: Likewise.
131 * config/sh/sh.h: Likewise.
132 * config/stormy16/stormy16.h: Likewise.
133 * config/v850/v850.h: Likewise.
134 * config/vax/vax.h: Likewise.
135 * config/we32k/we32k.h: Likewise.
137 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
139 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
140 (altivec_lvsl): Change constraint to b.
141 (altivec_lvsr): Same.
142 (altivec_lvebx): Same.
143 (altivec_lvehx): Same.
144 (altivec_lvewx): Same.
145 (altivec_lvxl): Same.
147 (altivec_stvx): Add parallel.
148 (altivec_stvxl): Same.
149 (altivec_stvehx): Same.
150 (altivec_stvebx): Same.
151 (altivec_stvebx): Same.
153 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
155 * config.gcc: Change altivec.h to altivec-defs.h.
157 * config/rs6000/altivec.h: Delete.
159 * config/rs6000/altivec-defs.h: Add.
161 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
163 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
166 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
167 less than or equal to eight bytes.
169 * vax.md (andsi3): Remove constraints and change SET destination
170 operand type to nonimmediate_operand.
171 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
172 when it is a CONST_INT.
174 2002-01-15 Jason Merrill <jason@redhat.com>
176 * c-common.def (FILE_STMT): New code.
177 * c-common.c (statement_code_p): It's a statement.
178 * c-common.h (stmt_tree_s): Add x_last_filename.
179 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
180 (last_expr_filename): New macro.
181 * c-semantics.c (begin_stmt_tree): Initialize it.
182 (add_stmt): If the filename changed, also insert a
184 (expand_stmt): Handle seeing one.
186 2002-01-15 Eric Christopher <echristo@redhat.com>
188 * flow.c (propagate_one_insn): Add error message and print out
191 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
193 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
194 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
195 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
196 TRAMPOLINE_ALIGNMENT.
197 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
199 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
200 PCC_BITFIELD_TYPE_MATTERS.
201 * config/interix.h (STDC_VALUE): Remove. Use
202 STDC_0_IN_SYSTEM_HEADERS.
203 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
204 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
205 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
207 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
209 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
210 not work on this platform currently.
212 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
214 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
215 readonly_warning in _().
217 2002-01-15 Douglas B Rupp <rupp@gnat.com>
219 * gcc.c (delete_if_ordinary): Backout previous change.
221 2002-01-15 Kazu Hirata <kazu@hxi.com>
223 * config/h8300/h8300.c (print_operand): Remove support for
224 unused operand characters.
226 * read-rtl.c: Fix formatting.
229 * regclass.c: Likewise.
230 * regmove.c: Likewise.
231 * reg-stack.c: Likewise.
232 * reload1.c: Likewise.
233 * rtlanal.c: Likewise.
235 2002-01-15 Kazu Hirata <kazu@hxi.com>
237 * config/i386/i386.c: Fix formatting.
239 2002-01-15 Jakub Jelinek <jakub@redhat.com>
241 * c-typeck.c (process_init_element): Don't save_expr
242 COMPOUND_LITERAL_EXPR if just its initializer will be used.
244 2002-01-15 David Edelsohn <edelsohn@gnu.org>
246 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
247 emit optional traceback table if optimize_size or TARGET_ELF.
248 * config/rs6000/rs6000.md (prefetch): New.
250 2002-01-15 Andreas Jaeger <aj@suse.de>
252 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
254 2002-01-15 Kazu Hirata <kazu@hxi.com>
256 * mips-tfile.c: Fix formatting.
258 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
260 * unroll.c (final_reg_note_copy): Fix previous commit.
262 2002-01-14 Kazu Hirata <kazu@hxi.com>
264 * config/h8300/h8300-protos.h: Remove the prototype for
266 * config/h8300/h8300.c (eq_operator): Remove.
268 2002-01-14 Richard Henderson <rth@redhat.com>
270 * config/i386/i386.md (prefetch): Tidy.
271 (prefetch_3dnow): Fix locality operand.
273 2002-01-14 Richard Henderson <rth@redhat.com>
275 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
276 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
278 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
280 * reload1.c (reload_combine): Pass reg_sum replacement through
281 copy_rtx in loop performing multiple changes.
283 2002-01-14 Jakub Jelinek <jakub@redhat.com>
285 * except.c (remove_unreachable_regions): New.
286 (free_eh_status): Clear exception_handler_labels.
287 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
288 (find_exception_handler_labels): Don't add the same label more than
290 (remove_exception_handler_label): Don't die if
291 find_exception_handler_labels hasn't been called for the current
294 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
296 * toplev.c (rest_of_compilation): Rebuild jump labels after
299 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
301 * doc/extend.texi: Move documentation of X86 built-in functions
303 * doc/invoke.texi: From here.
304 * doc/sourcebuild.texi: Document location of documentation for
305 machine built-in functions.
307 2002-01-13 Christopher Faylor <cgf@redhat.com>
309 * cppfiles.c (TEST_THRESHOLD): New macro.
310 (SHOULD_MMAP): Ditto.
311 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
314 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
316 * unroll.c (final_reg_note_copy): Properly handle
318 (unroll_loops): Fix LOOP_CONDITION heuristics.
320 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
322 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
323 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
325 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
327 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
330 2002-01-14 Tom Rix <trix@redhat.com>
332 * config/rs6000/rs6000.md: Fix typo with sradi.
334 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
336 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
337 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
338 (clrstrdi, clrstrsi): Adapt callers.
340 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
342 (movti splitter): Never use register 0 as base register.
344 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
346 * combine.c (simplify_shift_const): Always generate new rtx
347 for shift expression instead of reusing given expression.
349 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
351 * config/alpha/alpha.c (alpha_expand_mov): Don't call
352 alpha_legitimize_address unless mode is Pmode.
354 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
356 * doc/md.texi (Modifiers): Document the '*' constraint for the
359 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
360 * doc/extend.texi (Function Attributes): 'interrupt' is valid
363 2002-01-13 Richard Henderson <rth@redhat.com>
365 * reload.c (find_reloads): Use a hard reg destination as reload reg
366 for an input reload of the source.
368 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
370 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
373 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
375 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
376 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
378 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
380 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
382 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
384 2002-01-12 Tom Rix <trix@redhat.com>
386 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
389 2002-01-12 Richard Henderson <rth@redhat.com>
391 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
393 * doc/invoke.texi: Update Alpha options.
395 * doc/invoke.texi: Update i386 built-in function lists.
397 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
399 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
402 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
404 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
405 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
406 offsets, and change line folding.
407 * optabs.c (expand_binop): Remove warnings.
408 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
410 2002-01-12 Graham Stott <grahams@redhat.com>
412 * attribs.c (handle_deprecated_attribute): constify WHAT.
413 * diagnostic.c (warn_deprecated_use): Add braces, fixes
414 dangling else warning and constify WHAT.
415 * except.h (struct function, struct inline_remap): Move
416 struct tag forward defs before all prototypes.
417 (duplicate_eh_regions): Whitespace.
419 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
421 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
423 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
425 2002-01-12 Richard Henderson <rth@redhat.com>
427 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
428 (ix86_expand_vector_move): New.
429 (bdesc_2arg): Remove andps, andnps, orps, xorps.
430 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
431 Remove old prefetch builtins. Special case the logicals removed above.
432 (ix86_expand_builtin): Likewise.
433 (safe_vector_operand): Use V4SFmode, not TImode.
434 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
435 (ix86_expand_timode_binop_builtin): New.
436 * config/i386/i386-protos.h: Update.
437 * config/i386/i386.h (enum ix86_builtins): Update.
438 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
439 Use ix86_expand_vector_move in vector move expanders.
440 (movti_internal, movti_rex64): Add xorps alternative.
441 (sse_clrv4sf): Rename and adjust from sse_clrti.
442 (prefetch): Don't work so hard.
443 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
444 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
445 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
447 2002-01-11 Richard Henderson <rth@redhat.com>
449 * config/i386/mmintrin.h: New file.
450 * config/i386/xmmintrin.h: New file.
451 * config.gcc (i?86-*-*): Add extra_headers.
452 * simplify-rtx.c (simplify_unary_operation): Handle saturating
454 (simplify_binary_operation): Handle saturating arithmetic codes.
455 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
456 not the lowpart subreg.
457 (ix86_expand_builtin): Return a TImode dummy register instead of 0
459 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
461 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
463 * conflict.c (conflict_graph_compute): Free regsets when finished.
464 * ssa.c (compute_coalesced_reg_partition): Likewise.
466 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
468 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
469 every where we allocate a register.
471 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
473 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
474 * lcm.c (compute_earliest, compute_farthest): Likewise.
476 2002-01-11 Janis Johnson <janis187@us.ibm.com>
478 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
480 2002-01-11 Janis Johnson <janis187@us.ibm.com>
482 * doc/rtl.texi (Insns): Fix 2 typos.
484 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
486 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
487 options. Use @table @gcctabopt for MMIX options. Add index
488 entries for MMIX options. Start new paragraph with first
489 heading of the machine-dependent options.
491 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
494 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
495 * combine.c (force_to_mode): Same.
496 * reload1.c (clear_reload_reg_in_use): Same.
498 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
500 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
503 2002-01-11 Andreas Jaeger <aj@suse.de>,
504 Brad Lucier <lucier@math.purdue.edu>
506 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
509 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
511 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
512 Protect with IN_LIBGCC.
513 (LINK_EH_SPEC): Add required trailing space.
515 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
517 * c-tree.h: Move function declarations so that they are listed
518 under the filename which contains them.
519 (check_identifier, finish_decl_top_level,
520 lookup_name_current_level_global, shadow_record_fields): Remove.
522 2002-01-11 Andreas Jaeger <aj@suse.de>
524 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
527 2002-01-10 Richard Henderson <rth@redhat.com>
529 * config/alpha/alpha.c (print_operand): Add 'J'.
530 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
531 new operand with the sequence number for the lituse. When splitting
532 the insns, use gen_movdi_er_high_g and generate a sequence number.
533 (gen_movdi_er_high_g): Print the sequence number if non-zero.
535 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
537 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
538 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
540 (altivec_expand_builtin): Same.
541 (altivec_expand_stv_builtin): New.
543 * config/rs6000/rs6000.h (rs6000_builtins): Same.
545 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
546 ("altivec_lvehx"): New.
547 ("altivec_lvewx"): New.
548 ("altivec_lvxl"): New.
549 ("altivec_lvx"): New.
550 ("altivec_stvx"): New.
551 ("altivec_stvebx"): New.
552 ("altivec_stvehx"): New.
553 ("altivec_stvewx"): New.
554 ("altivec_stvxl"): New.
556 2002-01-10 Richard Henderson <rth@redhat.com>
558 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
559 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
560 care not to delete instructions twice.
562 2002-01-10 Zack Weinberg <zack@codesourcery.com>
564 * toplev.c: Don't declare environ (it's not used anywhere).
565 * configure.in: Don't check for declaration of environ.
566 * config/i386/xm-mingw32.h: Don't #define environ.
567 * config.in, configure: Regenerate.
569 2002-01-10 Zack Weinberg <zack@codesourcery.com>
571 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
572 * configure: Regenerate.
574 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
575 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
576 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
578 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
579 LIMITS_H_TEST here, not in m68k/x-next.
580 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
581 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
583 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
584 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
585 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
587 * config/i386/x-djgpp: Renamed i386/t-djgpp.
588 * config/m88k/x-dolph: Renamed m88k/t-dolph.
589 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
590 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
591 replacement of quadlib.asm with quadlib.c.
593 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
594 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
595 config/rs6000/xm-beos.h: Delete file.
597 * config.gcc: Update to match above changes.
599 2002-01-10 Kazu Hirata <kazu@hxi.com>
601 * config/h8300/h8300.h: Fix comment typos.
602 * config/h8300/h8300.md: Likewise.
603 * config/h8300/lib1funcs.asm: Likewise.
605 2002-01-10 Dale Johannesen <dalej@apple.com>
608 * unroll.c (precondition_loop_p): Make *increment be the correct
609 sign when n_iterations known, to avoid confusing caller.
611 2002-01-10 Kazu Hirata <kazu@hxi.com>
613 * doc/extend.texi (deprecated): Fix a typo.
615 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
617 * basic-block.h (update_br_prob_note): Declare.
618 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
619 (try_forward_edges): Care negative frequencies and update note.
620 (outgoing_edges_match): Tweek conditional merging heuristics.
621 (try_crossjump_to_edge): use update_br_prob_note.
622 * cfglayout.c (fixup_reorder_chain): Likewise.
623 * cfrtl.c (update_br_prob_note): New.
624 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
626 * i386.c (ix86_decompose_address): Return -1 if address contains
628 (legitimate_address_p): Require ix86_decompose_address to return 1.
630 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
631 (cprop_insn): Likewise.
633 2002-01-10 Kazu Hirata <kazu@hxi.com>
635 * toplev.c: Fix formatting.
637 * tree-dump.c: Likewise.
638 * unroll.c: Likewise.
639 * unwind-dw2.c: Likewise.
640 * unwind-dw2-fde.c: Likewise.
641 * unwind-dw2-fde-glibc.c: Likewise.
642 * unwind-sjlj.c: Likewise.
644 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
646 * doc/invoke.texi: Document PDP-11 options.
648 2002-01-10 Kazu Hirata <kazu@hxi.com>
650 * config/h8300/h8300.h: Fix formatting.
652 2001-01-10 Ira Ruben <ira@apple.com>
654 Add __attribute__ ((deprecated)).
655 * extend.texi: Document __attribute__ ((deprecated)).
656 * invoke.texi: Document -Wno-deprecated-declarations.
657 * testsuite/g++.dg/other/deprecated.C: New C++ test.
658 * testsuite/gcc.dg/deprecated.c: New C test.
659 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
660 (c_common_attribute_table): Add "deprecated" entry.
661 (handle_deprecated_attribute): New function.
662 * c-decl.c (deprecated_states): New enum.
663 deprecated_state: State of "deprecated" handling.
664 (start_decl): Set deprecated_state based on attributes.
665 (grokdeclarator): Test for deprecated uses, propagate attribute.
666 * c-typeck.c (build_component_ref): Test for deprecated fields.
667 (build_external_ref): Test for deprecated primaries.
668 * diagnostic.c (warn_deprecated_use) New function to issue
669 warnings about __attribute__ ((depricated)) references.
670 * flags.h (warn_deprecated_decl): Extern declared for
671 -W[no-]deprecated-declarations option.
672 * print-tree.c (print_node): Show deprecated flag status.
673 * toplev.c (warn_deprecated_decl): Defined.
674 (W_options): Added "deprecated-declaration".
675 * toplev.h (warn_deprecated_use): Extern declared.
676 * tree.h (struct tree_common): Define deprecated_flag.
677 (TREE_DEPRECATED): New macro to access flag.
678 * cp/call.c (build_call): Test for deprecated calls.
679 * cp/class.c (add_implicitly_declared_members): Set global
680 flag to tell grokdeclarator to not issue deprecated warnings.
681 * cp/cp-tree.h: Add extern for adding_implicit_members.
682 * cp/decl.c (deprecated_states): New enum.
683 (start_decl): Set deprecated_state based on attributes.
684 (grokdeclarator): Test for deprecated uses, propagate attribute.
685 * cp/lex.c (do_identifier): Test for deprecated primaries.
686 * cp/typeck.c (build_component_ref): Test for deprecated fields.
688 2001-01-10 Ira Ruben <ira@apple.com>
690 Fix to assign attributes to inline member functions.
691 * cp/decl.c (start_method): Handle attrlist.
693 2002-01-10 Kazu Hirata <kazu@hxi.com>
695 * combine.c (expand_field_assignment): Use subreg_lsb().
697 2002-01-10 David Edelsohn <edelsohn@gnu.org>
699 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
700 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
701 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
702 Recurse for any operand of AND as long as constant is non-zero.
704 2002-01-10 Kazu Hirata <kazu@hxi.com>
706 * config/h8300/h8300.md: Remove constraints from expanders.
708 2002-01-10 Kazu Hirata <kazu@hxi.com>
710 * varasm.c: Fix formatting.
711 * varray.c: Likewise.
712 * vmsdbgout.c: Likewise.
713 * xcoffout.c: Likewise.
715 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
717 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
718 update edge probabilities to match.
720 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
722 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
724 * doc/languages.texi, doc/sourcebuild.texi: New files.
725 * doc/configfiles.texi: Make a subsubsection. Update.
726 * doc/configterms.texi: Add @node. Remove warning that this isn't
727 instructions for building GCC.
728 * doc/makefile.texi: Make a subsection.
729 * doc/gccint.texi: Update.
731 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
733 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
735 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
737 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
739 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
741 * optabs.c (expand_fix): Look for wider integer modes first.
743 * i386.md (mov?f): Avoid the fake const double trick for medium
745 (min?f*/max?f*): Prohibit memory operands for i387 variant.
746 (fop_df_4): Disable for SSE compilation.
748 2002-01-10 Graham Stott <grahams@redhat.com>
750 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
751 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
753 2002-01-10 Richard Henderson <rth@redhat.com>
755 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
757 2002-01-10 Richard Henderson <rth@redhat.com>
759 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
760 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
762 2002-01-10 Kazu Hirata <kazu@hxi.com>
764 * combine.c (can_combine_p): Fix a comment typo.
766 2002-01-09 Zack Weinberg <zack@codesourcery.com>
768 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
769 empty list correctly. Change loop index $t to $f for
770 consistency with rest of Makefile.
772 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
774 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
775 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
777 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
778 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
779 (altivec_init_builtins): Same.
780 (altivec_expand_unop_builtin): Return NULL_RTX on error.
781 (altivec_expand_binop_builtin): Same.
782 (altivec_expand_ternop_builtin): Same.
785 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
786 ("altivec_vctuxs"): Fix typo.
787 ("altivec_vnmsubfp"): Same.
788 ("altivec_dssall"): New.
789 ("altivec_mfvscr"): New.
790 ("altivec_dss"): New.
791 ("altivec_lvsl"): New.
792 ("altivec_lvsr"): New.
793 ("altivec_dstt"): New.
794 ("altivec_dstst"): New.
795 ("altivec_dststt"): New.
796 ("altivec_dst"): New.
798 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
799 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
801 2002-01-09 Richard Henderson <rth@redhat.com>
803 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
805 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
807 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
809 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
811 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
813 2002-01-09 Kazu Hirata <kazu@hxi.com>
815 * read-rtl.c: Fix formatting.
817 * regclass.c: Likewise.
818 * regrename.c: Likewise.
819 * reg-stack.c: Likewise.
820 * reload1.c: Likewise.
821 * reload.c: Likewise.
824 2002-01-09 Kazu Hirata <kazu@hxi.com>
826 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
827 to extract items in the expr_list chain.
829 2002-01-09 Richard Henderson <rth@redhat.com>
831 * config/vax/vax.c (vax_rtx_cost): Never abort.
833 * config/vax/vax.h (REAL_ARITHMETIC): Define.
835 2002-01-09 Jan Hubicka <jh@suse.cz>
837 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
839 2002-01-09 Richard Henderson <rth@redhat.com>
841 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
842 Unify code from various alternatives.
844 2002-01-09 Richard Henderson <rth@redhat.com>
846 * regrename.c (copy_value): Ignore the copy if the source register
847 is present in the value chain with a narrower mode.
849 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
851 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
852 for the c4x target. Also improve layout.
854 2002-01-09 Richard Henderson <rth@redhat.com>
856 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
857 * config/m32r/m32r.md (and ior xor splitters): Swap operands
858 to match insn patterns.
860 2002-01-09 Richard Henderson <rth@redhat.com>
862 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
863 (copyprop_hardreg_forward_1): Likewise.
865 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
867 * pa.md (decrement_and_branch_until_zero): Change predicate for
868 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
870 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
872 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
873 gets undefined. For Darwin.
875 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
877 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
879 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
881 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
883 2002-01-08 Richard Henderson <rth@redhat.com>
885 * regrename.c (copy_value): Ignore overlapping copies.
887 2002-01-08 Richard Henderson <rth@redhat.com>
889 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
890 as needed to avoid shared structure.
892 2002-01-08 Kazu Hirata <kazu@hxi.com>
894 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
897 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
899 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
900 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
901 documentation of obsolete macros.
902 * system.h: Poison these macros.
903 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
904 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
905 config/c4x/c4x.h, config/clipper/clipper.h,
906 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
907 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
908 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
909 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
910 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
911 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
912 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
913 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
914 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
915 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
916 config/sparc/sparc.h, config/stormy16/stormy16.h,
917 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
918 definitions and commented out definitions of obsolete macros.
919 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
920 of MAX_INT_TYPE_SIZE.
922 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
924 * config/s390/s390.c (s390_preferred_reload_class): Never
925 return ADDR_REGS if it isn't a subset of the given class.
926 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
927 FP_REGS, but all superclasses as well.
929 * config/s390/s390.c (s390_function_profiler): Fix thinko.
931 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
932 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
933 must not be a const_int.
935 2002-01-08 Richard Henderson <rth@redhat.com>
937 * Makefile.in (toplev.o): Depend on options.h.
938 (gcc.o): Depend on specs.h.
940 2002-01-08 Jakub Jelinek <jakub@redhat.com>
942 * expr.c (store_expr): Convert VOIDmode constants back to target's
945 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
947 * doc/invoke.texi: Markup gcc as @command. Refer to
948 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
949 of http://gcc.gnu.org/thanks.html.
951 2002-01-08 Dale Johannesen <dalej@apple.com>
953 * config/rs6000/rs6000.md: Add missing int register
954 target case to movdf_low.
956 2002-01-08 Zack Weinberg <zack@codesourcery.com>
958 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
959 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
960 (cppinit.o): Depend on except.h.
961 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
964 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
965 Don't create specs.h/options.h/gencheck.h here. Remove
966 unnecessary variable settings from last argument of AC_OUTPUT.
967 * config.in, configure: Regenerate.
968 * intl.c: Hardcode package name as "gcc".
970 * cppinit.c: Include except.h.
971 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
973 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
974 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
975 (!)USING_SJLJ_EXCEPTIONS.
976 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
978 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
980 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
981 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
982 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
983 documentation of obsolete macros.
984 * system.h: Poison these macros.
985 * config/d30v/d30v.h, config/ns32k/encore.h,
986 config/stormy16/stormy16.h: Remove definitions and commented out
987 definitions of obsolete macros.
989 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
991 * objc/objc-act.c (handle_class_ref): Mark the declaration of
992 %sobjc_class_ref_%s as used - to prevent unwanted compiler
995 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
997 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
998 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
999 to insn adjusting stack/frame pointer.
1000 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1001 accept operands that cause the insn to be non-splittable.
1003 2002-01-08 Graham Stott <grahams@redhat.com>
1005 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1006 (C_TYPE_FIELDS_VOLATILE): Likewise.
1007 (C_TYPE_BEING_DEFINED): Likewise.
1008 (C_IS_RESERVED_WORD): Likewise.
1009 (C_TYPE_VARIABLE_SIZE): Likewise.
1010 (C_DECL_VARIABLE_SIZE): Likewise.
1011 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1012 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1013 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1015 (C_DECL_ANTICIPATED): Likewise.
1016 (c_build_type_variant): Add parenthesis.
1018 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1020 * gcc.c (option_map): Remove --version.
1021 (process_command): Handle -fversion following the GNU Coding
1022 Standards. Partially addresses PR other/704.
1024 2002-01-08 Graham Stott <grahams@redhat.com>
1026 * combine.c (combine_instructions): Fix typo.
1028 2002-01-08 Graham Stott <grahams@redhat.com>
1030 * debug.h: Use "tree" and "rtx" throughout.
1032 * debug.c: Likewise.
1034 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
1036 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1037 constant pool, use the pool's version of the symbol instead.
1039 2002-01-07 Richard Henderson <rth@redhat.com>
1041 * regrename.c (find_oldest_value_reg): Ignore the value chain if
1042 the original register was copied in a mode with a fewer number of
1043 hard registers than the desired mode.
1044 (copyprop_hardreg_forward_1): Likewise.
1045 (debug_value_data): Fix loop test.
1046 * toplev.c (parse_options_and_default_flags): Reenable
1047 -fcprop-registers at -O1.
1049 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1051 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1052 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
1054 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1057 * config/rs6000/rs6000.md: Add altivec predicate patterns.
1059 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1061 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1062 (pa_output_function_prologue): Output local label at the beginning of
1063 the prologue when profiling.
1064 (hppa_profile_hook): Use the local label rather than the function label.
1065 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1067 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1069 * config/rs6000/rs6000.c (print_operand): Remove extra space.
1070 (altivec_expand_unop_builtin): Fix thinko.
1071 (altivec_expand_binop_builtin): Same.
1072 (altivec_expand_ternop_builtin): Same.
1073 (altivec_expand_builtin): Same.
1075 2002-01-07 Richard Henderson <rth@redhat.com>
1077 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1079 2002-01-07 Jason Merrill <jason@redhat.com>
1081 * unwind-dw2.c (execute_cfa_program): Use < again.
1083 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1085 * predict.c (combine_predictions_for_insn): Avoid division by zero.
1087 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1089 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1090 Don't allow -1 - x -> ~x simplifications in the first pass.
1092 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1094 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1096 (altivec_expand_binop_builtin): Same.
1097 (altivec_expand_unop_builtin): Same.
1098 (print_operand): Fix typo.
1099 (bdesc_1arg): Add vupk* variants.
1101 * rs6000.h (rs6000_builtins): Add vupk* enums.
1103 * rs6000.md: Add altivec_vupk* variants.
1105 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1107 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1108 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1109 and last update dates.
1111 2002-01-07 Janis Johnson <janis187@us.ibm.com>
1113 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1115 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1117 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1118 * config/avr/avr.h (CPP_SPEC): Likewise.
1119 (LINK_SPEC): Likewise.
1120 (CRT_BINUTILS_SPECS): Likewise.
1121 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1122 * doc/invoke.texi (AVR Options): Document them.
1124 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1126 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1129 2002-01-07 Graham Stott <grahams@redhat.com>
1131 * config/i386/i386.h: Update copyright date.
1132 (HALF_PIC_PTR): Add parenthesis.
1133 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1134 (CONSTANT_ALIGNMENT): Add parenthesis.
1135 (DATA_ALIGNMENT): Likewise.
1136 (LOCAL_ALIGNMENT): Likewise.
1137 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1138 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1139 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1140 (HARD_REGNO_NREGS): Add paranethesis.
1141 (VALID_SSE_REG_MODE): Whitespace.
1142 (VALID_MMX_REG_MODE): Whitespace.
1143 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1144 (ix86_hard_regno_mode_ok): Add parenthesis.
1145 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1146 (RETURN_IN_MEMORY): Whitespace.
1147 (N_REG_CLASSES): Add parenthesis.
1148 (INTEGER_CLASS_P): Add parenthesis and wrap.
1149 (FLOAT_CLASS_P): Likewise.
1150 (SSE_CLASS_P): Likewise.
1151 (MMX_CLASS_P): Likewise.
1152 (MAYBE_INTEGER_CLASS_P): Likewise.
1153 (MAYBE_FLOAT_CLASS_P): Likewise.
1154 (MAYBE_SSE_CLASS_P): Likewise.
1155 (MAYBE_MMX_CLASS_P): Likewise.
1156 (Q_CLASS_P): Likewise.
1157 (GENERAL_REGNO_P): Uppercase macro parameter.
1158 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1159 (FP_REGNO_P): Likewise.
1160 (ANY_FP_REGNO_P): Uppercase macro parameter.
1161 (SSE_REGNO_P): Likewise.
1162 (SSE_REGNO): Likewise.
1163 (SSE_REG_P): Likewise.
1164 (SSE_FLOAT_MODE_P): Likewise.
1165 (MMX_REGNO_P): Likewise.
1166 (MMX_REG_P):Likewise.
1167 (STACK_REG_P): Likewise.
1168 (NON_STACK_REG_P): Likewise.
1169 (STACK_TOP_P): Likewise.
1170 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1171 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1172 (SECONDARY_MEMORY_NEEDED): Likewise.
1173 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1174 (MD_ASM_CLOBBERS): Whitespace and wrap.
1175 (MUST_PASS_IN_STACK): Whitespace and wrap.
1176 (RETURN_POPS_ARGS): Add parenthesis.
1177 (INIT_CUMULATIVE_ARGS): Likewise.
1178 (FUNCTION_ARG): Likewise.
1179 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1180 (SETUP_INCOMING_VARARGS): Likewise.
1181 (BUILD_VA_LIST_TYPE): Add parenthesis.
1182 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1184 (EXPAND_BUILTIN_VA_ARG): Likewise.
1185 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1186 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1187 (INITIAL_ELIMINATION_OFFSET): Likewise.
1188 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1189 (REGNO_OK_FOR_BASE_P): Likewise.
1190 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1191 (REGNO_OK_FOR_DIREG_P): Likewise.
1192 (REG_OK_FOR_INDEX_P): Whitespace.
1193 (REG_OK_FOR_BASE_P): Whitespace.
1194 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1196 (FIND_BASE_TERM): Fix typo.
1197 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1198 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1199 (SYMBOLIC_CONST; Whitespace.
1200 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1201 (ENCODE_SECTION_INFO): Whitespace.
1202 (FINALIZE_PIC): Remove do { ... } while (0).
1203 (PROMOTE_MODE): Wrap in do { ... } while (0).
1204 (CONST_COSTS): Whitespace.
1205 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1206 (REGISTER_MOVE_COST): Add parenthesis.
1207 (MEMORY_MOVE_COST): Likewise.
1208 (EXTRA_CC_MODES): Whitespace.
1209 (SELECT_CC_MODE): Add parenthesis and whitespace.
1210 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1211 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1212 (ASM_OUTPUT_LABEL): Add paramethesis.
1213 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1214 (ASM_OUTPUT_REG_POP): Likewise.
1215 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1216 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1218 * config/i386/i386.c: Update copyright.
1219 (CHECK_STACK_LIMIT): Add parenthesis.
1220 (AT_BP): Uppercase macro parameter.
1221 (x86_64_int_parameter_registers): Constify.
1222 (x86_64_int_return_registers): Likewise.
1223 (ix86_compare_op0): Use rtx.
1224 (construct_container): Constify INTREG parameter.
1225 (function_arg): Use rtx.
1227 * diagnostic.h: Update copyright date.
1228 (output_buffer_state): Add parenthesis.
1229 (output_buffer_format_args): Likewise.
1231 * combine.c (combine_instructions): Replace XEXP (links, 0)
1234 2002-01-06 H.J. Lu <hjl@gnu.org>
1236 * cfgcleanup.c (thread_jump): Fix 2 typos.
1238 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
1240 * config.gcc: Add support for --enable-altivec.
1242 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1244 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1246 2002-01-06 Jakub Jelinek <jakub@redhat.com>
1248 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1249 __objc_class_name_*.
1251 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1253 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1255 2002-01-06 Richard Henderson <rth@redhat.com>
1257 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1258 nop them out. Increment label reference count for REG_LABEL.
1259 (fill_slots_from_thread): Frob label reference count around
1260 delete_related_insns.
1262 2002-01-05 Richard Henderson <rth@redhat.com>
1264 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1267 2002-01-05 Richard Henderson <rth@redhat.com>
1269 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1270 * integrate.c (output_inline_function): Likewise.
1271 * toplev.c (rest_of_compilation): Do it here instead. Move call
1272 to remove_unnecessary_notes after emitting abstract instance.
1273 Force an emitted nested function to have its parent emited as well.
1274 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1276 (rtl_for_decl_location): Do not look at reload data structures
1277 before reload has run.
1279 2002-01-05 Kazu Hirata <kazu@hxi.com>
1281 * cse.c: Fix formatting.
1282 * dwarf2asm.c: Likewise.
1283 * dwarf2out.c: Likewise.
1284 * explow.c: Likewise.
1285 * expmed.c: Likewise.
1286 * function.c: Likewise.
1288 * gencheck.c: Likewise.
1289 * genrecog.c: Likewise.
1290 * ggc-common.c: Likewise.
1291 * ggc-page.c: Likewise.
1292 * global.c: Likewise.
1294 2002-01-05 Kazu Hirata <kazu@hxi.com>
1296 * combine.c: Fix formatting.
1298 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
1301 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1303 2002-01-05 David Edelsohn <edelsohn@gnu.org>
1305 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
1306 as 1 for __powerpc64__ as well.
1308 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
1310 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
1313 2002-01-05 Daniel Berlin <dan@dberlin.org>
1315 * lcm.c: Revert change, due to performance regression it causes on
1316 SPEC because it's slightly more conservative (sigh, I hate
1319 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
1321 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
1323 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
1325 * doc/cppinternals.texi: Update.
1327 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
1329 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
1330 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
1332 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
1333 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
1334 kludge for pre-october-14th mmix versions to handle new-found bug
1335 with PUSHJ/PUSHGO and the register stack.
1336 * config/mmix/mmix.h (struct machine_function): Rename member
1337 has_call_value_without_parameters to has_call_without_parameters.
1338 All referers changed.
1339 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
1340 TARGET_MASK_BRANCH_PREDICT): New macros.
1341 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
1342 -mno-reg-stack-fill-bug-workaround.
1343 * config/mmix/mmix.md ("call"): Set struct machine member
1344 has_call_without_parameters.
1346 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
1348 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
1350 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
1352 * cfgcleanup.c: Include tm_p.h
1353 (mark_effect): Fix handling of hard register; fix handling of SET
1355 2002-01-04 Kazu Hirata <kazu@hxi.com>
1357 * config/h8300/h8300.md (anonymous patterns): Check that
1358 operands are registers before using REGNO on them.
1360 2002-01-03 Roland McGrath <roland@frob.com>
1362 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
1364 2002-01-04 Jakub Jelinek <jakub@redhat.com>
1366 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
1367 * c-common.h (genrtl_expr_stmt_value): Likewise.
1368 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
1369 (expand_expr_stmt_value): Add maybe_last argument.
1370 Don't warn about statement with no effect if it is the last statement
1371 in expression statement.
1372 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
1373 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
1374 expand_expr_stmt_value.
1375 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
1376 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
1377 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
1378 as maybe_last to expand_expr_stmt_value.
1380 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
1382 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
1383 be passed in, do not build it.
1384 (c_begin_if_stmt): New function.
1385 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1386 * c-common.h (c_expand_start_cond): Update prototype.
1387 (c_begin_if_stmt): Prototype new function.
1388 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1389 * c-parse.in (if_prefix): Use c_begin_if_stmt,
1390 c_begin_while_stmt and c_finish_while_stmt_cond.
1392 2002-01-04 William Cohen <wcohen@redhat.com>
1394 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
1395 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1396 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1397 * config/pa/som.h (ASM_FILE_START): Likewise.
1399 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
1401 * lcm.c: Include df.h.
1402 Add available_transfer_function prototype.
1403 (compute_available): Rework to use iterative dataflow framework.
1404 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
1405 with bb_info in df.h
1406 (available_transfer_function): New function.
1408 * Makefile.in (lcm.o): add df.h to dependencies.
1410 2002-01-04 Richard Henderson <rth@redhat.com>
1412 * config/alpha/alpha.c (some_operand): Accept HIGH.
1413 (input_operand): Likewise; accept simple references to globals.
1414 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
1415 (alpha_const_double_ok_for_letter_p): Likewise.
1416 (alpha_extra_constraint): Likewise.
1417 (alpha_preferred_reload_class): Likewise. Do not force
1418 symbolic constants to memory.
1419 (alpha_legitimate_address_p): Accept simple references
1420 to small_symbolic_operand.
1421 (alpha_legitimize_address): New arg scratch. Be prepared to be
1422 called when no_new_pseudos. Emit simple symbolic references.
1423 Split integers into low, high, and rest.
1424 (alpha_expand_mov): Use alpha_legitimize_address.
1425 (some_small_symbolic_mem_operand): New.
1426 (split_small_symbolic_mem_operand): New.
1427 * config/alpha/alpha-protos.h: Update.
1428 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
1429 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
1430 (EXTRA_CONSTRAINT): Likewise.
1431 (PREFERRED_RELOAD_CLASS): Likewise.
1432 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
1433 (PREDICATE_CODES): Update.
1434 * config/alpha/alpha.md: New post-reload splitters to convert
1435 simplfied symbolic operands to the form that references $29.
1436 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
1437 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
1439 2002-01-03 Richard Henderson <rth@redhat.com>
1441 * local-alloc.c (function_invariant_p): Update commentary.
1443 2002-01-04 H.J. Lu <hjl@gnu.org>
1445 * toplev.c (rest_of_compilation): Fix a typo when calling
1448 2002-01-03 Kazu Hirata <kazu@hxi.com>
1450 * c-common.c: Fix formatting.
1451 * diagnostic.c: Likewise.
1452 * doloop.c: Likewise.
1453 * dwarf2out.c: Likewise.
1455 2002-01-03 Kazu Hirata <kazu@hxi.com>
1457 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
1458 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
1460 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1462 * cpperror.c: Update comments and copyright.
1463 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
1464 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
1466 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1468 * collect2.c (main): Use strcmp when testing for "-shared".
1470 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1472 * cppmacro.c: Don't include intl.h. Update comments.
1473 (new_number_token): Allocate enough buffer for 64-bit unsigned
1474 integers; update prototype.
1475 * cppmain.c: Update comments.
1477 2002-01-03 William Cohen <wcohen@redhat.com>
1479 * function.h (struct function): Add profile.
1480 (current_function_profile): New.
1481 doc/extend.texi: Update documentation.
1482 * final.c (final_start_function): Use current_function_profile
1483 instead of profile_flag.
1484 (profile_after_prologue): Likewise.
1485 * function.c (expand_function_start): Likewise.
1486 (expand_function_start): Likewise.
1487 * config/alpha/alpha.c (direct_call_operand):
1488 (alpha_does_function_need_gp): Likewise.
1489 (alpha_expand_prologue): Likewise.
1490 * config/arm/arm.c (arm_expand_prologue): Likewise.
1491 thumb_expand_prologue: Likewise.
1492 * config/d30v/d30v.c (d30v_stack_info): Likewise.
1493 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
1494 (fr30_expand_prologue): Likewise.
1495 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
1496 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
1497 * config/i386/i386.h (FINALIZE_PIC): Likewise.
1498 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1499 * config/i960/i960.c (i960_output_function_prologue): Likewise.
1500 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
1501 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
1502 (m32r_expand_prologue): Likewise.
1503 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
1504 (m88k_expand_prologue): Likewise.
1505 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
1506 * config/mips/mips.c (compute_frame_size): Likewise.
1507 (mips_expand_prologue): Likewise.
1508 (mips_can_use_return_insn): Likewise.
1509 * config/pa/elf.h (ASM_FILE_START): Likewise.
1510 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1511 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1512 * config/pa/som.h (ASM_FILE_START): Likewise.
1513 * config/romp/romp.c (romp_using_r14): Likewise.
1514 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
1515 (rs6000_stack_info): Likewise.
1516 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1517 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1518 * config/v850/v850.c (compute_register_save_size): Likewise.
1520 2002-01-03 Jakub Jelinek <jakub@redhat.com>
1522 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
1523 gen_lowpart_common fails, use gen_lowpart_SUBREG.
1525 2002-01-03 Turly O'Connor <turly@apple.com>
1527 * darwin.c (machopic_output_possible_stub_label): Don't generate
1528 stub routines for pseudo-stubs which we've just defined.
1530 2002-01-03 Kazu Hirata <kazu@hxi.com>
1532 * builtins.c: Fix formatting.
1533 * c-typeck.c: Likewise.
1534 * combine.c: Likewise.
1538 2002-01-03 Andreas Schwab <schwab@suse.de>
1540 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
1541 and return true if _cpp_push_next_buffer pushed a new include
1543 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
1544 _cpp_pop_file_buffer did not push a new file.
1545 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
1547 2002-01-02 Eric Christopher <echristo@redhat.com>
1549 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
1550 FIND_REG_INC_NOTE call. Update copyright.
1551 * loop.c (canonicalize_condition): Ditto.
1552 * reorg.c (delete_scheduled_jump): Ditto.
1554 2002-01-03 Kazu Hirata <kazu@hxi.com>
1556 * gcse.c: Fix formatting.
1558 2002-01-03 Graham Stott <grahams@redhat.com>
1560 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
1561 forward defs for struct tags rtx_def, union_tree, rtvec_def
1562 also output corresponding typedefs for rtx, tree, and rtvec.
1564 * system.h: Move forward defs for struct tags rtx_def, union_tree,
1565 rtvec_def along with corresponding typedefs for rtx, tree, and
1566 rtvec to config.h, hconfig.h, tconfig.h.
1568 2002-01-03 Graham Stott <grahams@redhat.com>
1570 * tree.h: Update copyright date.
1571 (IS_EXPR_CODE_CLASS): Add parenthesis.
1572 (TREE_SET_CODE): Add whitespace.
1573 (TREE_CHECK): Add parenthesis.
1574 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
1575 (CST_OR_CONSTRUCTOR_CHECK):
1576 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
1577 (TREE_SYMBOL_REFERENCED): Whitespace.
1578 (INT_CST_LT): Likewise.
1579 (INT_CST_LT_UNSIGNED): Likewise.
1580 (tree_real_cst): Unwrap comment.
1581 (tree_string): Likewise.
1582 (tree_complex): Likewise.
1583 (IDENTIFIER_POINTER): correct cast.
1584 (SAVE_EXPR_CONTEXT): Whitespace.
1585 (EXPR_WFL_FILENAME_NODE): Likewise.
1586 (EXPR_WFL_FILENAME): Remove parenthesis.
1587 (DECL_ORIGIN): Add parenthesis.
1588 (DECL_FROM_INLINE): Use NULL_TREE.
1589 (build_int_2): Whitespace.
1590 (build_type_variant): Add parenthesis.
1592 * gcc/jcf-parse.c: Update copyright date.
1593 (yyparse): Constify resource_filename.
1595 2002-01-03 Graham Stott <grahams@redhat.com>
1597 * rtl.h: Update copyright date.
1598 (RTL_CHECK1): Wrap long line.
1599 (RTL_CHECK2): Likewise.
1600 (RTL_CHECKC1): Wrap long line and whitespace.
1601 (RTL_CHECKC2): Likewise.
1602 (XWINT): Whitespace.
1608 (XBITMAP): Likewise.
1619 (X0BITMAP): Likewise.
1621 (X0BBDEF): Likewise.
1622 (X0ADVFLAGS): Likewise.
1623 (X0CSELIB): Likewise.
1624 (X0MEMATTR): Likewise.
1632 (XCBITMAP): Likewise.
1634 (XCBBDEF): Likewise.
1635 (XCADVFLAGS): Likewise.
1636 (XCCSELIB): Likewise.
1638 (INSN_UID): Likewise.
1639 (PREV_INSN): Likewise.
1640 (PATTERN): Likewise.
1641 (INSN_CODE): Likewise.
1642 (PUT_REG_NOTE_KIND): Likewise.
1643 (CODE_LABEL_NUMBER): Likewise.
1644 (NOTE_SOURCE_FILE): Likewise.
1645 (NOTE_BLOCK): Likewise.
1646 (NOTE_EH_HANDLER): Likewise.
1647 (NOTE_RANGE_INFO): Likewise.
1648 (NOTE_LIVE_INFO): Likewise.
1649 (NOTE_BASIC_BLOCK): Likewise.
1650 (NOTE_EXPECTED_VALUE): Likewise.
1651 (NOTE_LINE_NUMBER): Likewise.
1652 (LABEL_NAME): Likewise.
1653 (LABEL_NUSES): Likewise.
1654 (LABEL_ALTERNATE_NAME): Likewise.
1655 (ADDRESSOF_DECL): Likewise.
1656 (JUMP_LABEL): Likewise.
1657 (LABEL_NEXTREF): Likewise.
1659 (ORIGINAL_REGNO: Likewise.
1660 (HARD_REGISTER_NUM_P): Add parenthesis.
1661 (SUBREG_REG): Whitespace.
1662 (SUBREG_BYTE): Likewise.
1663 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
1664 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
1665 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
1666 (ASM_OPERANDS_INPUT_VEC): Likewise.
1667 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
1668 (ASM_OPERANDS_INPUT): Likewise.
1669 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
1670 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
1671 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
1672 (ASM_OPERANDS_INPUT_MODE): Likewise.
1673 (ASM_OPERANDS_SOURCE_FILE): Likewise.
1674 (ASM_OPERANDS_SOURCE_LINE): Likewise.
1675 (MEM_SET_IN_STRUCT_P): Minor reformat.
1676 (TRAP_CONDITION): Whitespace.
1677 (TRAP_CODE): Likewise.
1678 (COND_EXEC_TEST): Likewise.
1679 (COND_EXEC_CODE): Likewise.
1680 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
1681 (PHI_NODE_P): Add parenthesis.
1682 (plus_constant): Whitespace and add parenthesis.
1684 2002-01-03 Kazu Hirata <kazu@hxi.com>
1686 * config/avr/avr.c: Fix comment typos.
1687 * config/c4x/c4x.md: Likewise.
1688 * config/dsp16xx/dsp16xx.h: Likewise.
1689 * config/dsp16xx/dsp16xx.md: Likewise.
1690 * config/i386/i386.md: Likewise.
1691 * config/ia64/ia64.c: Likewise.
1692 * config/m32r/m32r.h: Likewise.
1693 * config/m68hc11/m68hc11.md: Likewise.
1694 * config/mmix/mmix.c: Likewise.
1695 * config/mn10200/mn10200.c: Likewise.
1696 * config/romp/romp.c: Likewise.
1697 * config/sh/sh.c: Likewise.
1698 * config/stormy16/stormy16.c: Likewise.
1699 * config/stormy16/stormy16.h: Likewise.
1700 * config/stormy16/stormy16.md: Likewise.
1702 2002-01-03 Graham Stott <grahams@redhat.com>
1704 * loop.h: Update copyright date.
1705 (LOOP_MOVABLES): Fix typo.
1706 (LOOP_REGS): Likewise.
1707 (LOOP_IVS): Likewise.
1709 2002-01-03 Graham Stott <grahams@redhat.com>
1711 * cppinit.c: Update copyright date.
1712 Don't include output.h
1713 * Makefile.in: Update copyright date.
1716 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
1719 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
1720 (-pthread) Add to RS/6000 options.
1722 2002-01-02 Kazu Hirata <kazu@hxi.com>
1724 * except.c: Fix comment typos.
1726 * varasm.c: Likewise.
1727 * doc/tm.texi: Fix a typo.
1729 2002-01-02 Jakub Jelinek <jakub@redhat.com>
1731 * c-typeck.c (output_init_element): Allow initializing static storage
1732 duration objects with compound literals.
1734 2002-01-02 Richard Henderson <rth@redhat.com>
1736 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
1739 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1741 * gcc.c (default_compilers): Const-ify.
1742 * mips-tdump.c (stab_names): Likewise.
1743 * mips-tfile.c (map_coff_types, map_coff_storage,
1744 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
1745 pseudo_ops_t, pseudo_ops): Likewise.
1746 * protoize.c (default_include): Likewise
1748 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
1749 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
1750 Add array size in declaration.
1751 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
1752 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
1753 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
1754 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
1755 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
1756 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
1757 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
1758 emtens, make_nan): Const-ify.
1759 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
1760 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
1762 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
1764 * config.gcc (ia64-*-*): Set extra_headers.
1765 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
1766 * config/alpha/t-osf: Remove.
1767 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
1769 2002-01-02 David Edelsohn <edelsohn@gnu.org>
1771 * config/rs6000/t-aix43: Revert previous change.
1773 2002-01-02 Jason Merrill <jason@redhat.com>
1775 * c-decl.c (c_expand_body): Call outlining_inline_function when
1776 emitting an inline function out of line.
1778 2002-01-02 Richard Henderson <rth@redhat.com>
1780 * dwarf2out.c (limbo_die_node): Add created_for member.
1781 (new_die): New argument created_for. Update all callers.
1782 (mark_limbo_die_list): New.
1783 (dwarf2out_init): Register limbo_die_list as a root.
1784 (dwarf2out_finish): Force insert limbo dies into their function
1787 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
1790 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
1792 2002-01-02 Kazu Hirata <kazu@hxi.com>
1794 * config/h8300/fixunssfsi.c: Update copyright.
1797 * config/h8300/h8300.c: Update copyright.
1800 2002-01-02 Kazu Hirata <kazu@hxi.com>
1802 * config/romp/romp.c: Fix comment formatting.
1803 * config/romp/romp.h: Likewise.
1804 * config/romp/romp.md: Likewise.
1805 * config/s390/s390.c: Likewise.
1806 * config/stormy16/stormy16.c: Likewise.
1807 * config/stormy16/stormy16.h: Likewise.
1809 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
1811 * c-common.h (genrtl_expr_stmt_value): Declare.
1812 * c-semantics.c (genrtl_goto_stmt): Redirect to...
1813 (genrtl_goto_stmt_value): ... this new function. Pass new
1814 argument down to expand_expr_stmt_value, taking
1815 TREE_ADDRESSABLE into account.
1816 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1817 STMT_EXPR as addressable, i.e., one whose result we want.
1818 * expr.c (expand_expr): Don't save expression statement value
1819 of labeled_blocks or loop_exprs.
1820 * stmt.c (expand_expr_stmt): Redirect to...
1821 (expand_expr_stmt_value): ... this new function. Use new
1822 argument to tell whether to save expression value.
1823 (expand_end_stmt_expr): Reset last_expr_type and
1824 last_expr_value if we don't have either.
1825 * tree-inline.c (declare_return_variable): Mark its use
1826 statement as addressable.
1827 * tree.h: Document new use of TREE_ADDRESSABLE.
1828 (expand_expr_stmt_value): Declare.
1830 2002-01-01 Tom Rix <trix@redhat.com>
1832 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1833 rs6000_emit_allocate_stack.
1835 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
1837 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1838 ${srcdir}/ginclude/ to every entry in extra_headers.
1839 * configure: Regenerate.
1840 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1841 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1842 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1843 * ginclude/proto.h: Rename to config/convex/proto.h.
1845 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1847 * attribs.c (handle_vector_size_attribute): Use host_integerp
1848 and tree_int_cst; remove warnings.
1849 * caller-save.c (insert_restore): Add cast to get rid of warning.
1850 (insert_save): Likewise.
1851 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1852 * regmove.c (find_matches): Add temporary var to kill a warning.
1854 2002-01-01 Douglas B Rupp <rupp@gnat.com>
1856 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1857 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1858 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1859 (vms-dwarf2eh.o): Add Makefile rule.
1860 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1861 * config/alpha/vms-dwarf2eh.asm: New file.
1863 * gcc.c (delete_if_ordinary): Delete all versions.
1865 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1867 * config/mmix/mmix.md: Update FIXME to not mention
1869 (MMIX_rJ_REGNUM): New define_constants constant.
1870 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1871 "*movdicc_real"): Adjust contraints formatting.
1872 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1873 for branch prediction.
1874 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1876 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1877 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1878 number. Delete related FIXMEs.
1879 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1880 from number to MMIX_rJ_REGNUM.
1881 (TARGET_MASK_BRANCH_PREDICT): New.
1882 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1883 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
1884 value. Add -mbranch-predict and -mno-branch-predict.
1885 (TARGET_VERSION): Drop date.
1886 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1887 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1888 for finding out global symbols.
1889 (mmix_asm_output_labelref): Revert condition for global symbol.
1890 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1891 (mmix_print_operand_punct_valid_p): A '+' is valid.
1893 See ChangeLog.6 for earlier changes.