1 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
3 * config/stormy16/stormy16.md (pushqi): New.
7 (movhi): Remove stack operands.
9 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
10 nonimmediate_nonstack_operand.
11 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
13 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
16 2002-01-31 Jason Merrill <jason@redhat.com>
18 * Makefile.in (c-parse.c): Handle .output file.
19 * objc/Make-lang.in (objc-parse.c): Likewise.
21 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
23 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
24 the -me[lb] option is given. Don't output the default flag
27 2002-01-31 Zack Weinberg <zack@codesourcery.com>
29 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
30 the primary source file; this has not been done yet.
31 * c-decl.c (c_expand_body): Reset input_filename from
32 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
34 2002-01-31 Kazu Hirata <kazu@hxi.com>
36 * rtlanal.c (subreg_regno_offset): Do not use
38 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
39 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
41 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
43 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
44 version rather than GNATS version in --version output.
46 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
48 * ifcvt.c (noce_process_if_block): Make a copy of the destination
49 when copying back from a temporary.
51 2002-01-30 Richard Henderson <rth@redhat.com>
53 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
54 and new_dest are the same.
56 2002-01-30 Richard Henderson <rth@redhat.com>
59 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
60 * rtl.c (note_insn_name): Update.
61 * emit-rtl.c (remove_unnecessary_notes): Kill it.
62 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
63 to perform loop rotation.
64 (expand_exit_loop_top_cond): New.
65 * tree.h (expand_exit_loop_top_cond): Declare it.
66 * c-semantics.c (genrtl_while_stmt): Use it.
67 (genrtl_for_stmt): Likewise.
69 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
71 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
72 arguments to 64-bit boundaries on 64-bit ABIs.
74 2002-01-30 Steve Ellcey <sje@cup.hp.com>
76 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
78 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
80 * c-decl.c (grokdeclarator): Handle type being a typedef for an
83 2002-01-30 David O'Brien <obrien@FreeBSD.org>
85 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
86 * config/sparc/sparc_bi.h: Remove file.
87 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
89 2002-01-30 Richard Henderson <rth@redhat.com>
91 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
93 2002-01-30 Zack Weinberg <zack@codesourcery.com>
95 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
97 2002-01-30 Jason Merrill <jason@redhat.com>
99 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
100 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
101 (reg_save): Use DW_CFA_offset_extended_sf instead.
103 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
105 2002-01-29 Jakub Jelinek <jakub@redhat.com>
107 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
110 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
112 * rs6000.md ("*call_value_local32"): Remove constraints.
113 ("*call_value_local64"): Same.
114 ("*call_value_indirect_nonlocal_aix32"): Same.
115 ("*call_value_nonlocal_aix32"): Same.
116 ("*call_value_indirect_nonlocal_aix64"): Same.
117 ("*call_value_nonlocal_aix64"): Same.
118 ("*call_value_nonlocal_sysv"): Same.
120 2002-01-29 Richard Henderson <rth@redhat.com>
122 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
124 2002-01-29 Richard Henderson <rth@redhat.com>
126 * expr.c (force_operand): Ignore flag_pic for detecting pic
128 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
129 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
130 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
131 instead of open-coded loop.
132 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
133 be fixed when in use.
135 2002-01-29 Richard Henderson <rth@redhat.com>
137 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
138 * sched-rgn.c (propagate_deps): Update them.
139 * sched-deps.c (sched_analyze_insn): Update them. Flush the
140 clobbers list when either gets too long.
142 2002-01-29 Jakub Jelinek <jakub@redhat.com>
144 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
145 and INDEX_REGS the same as GENERAL_REGS.
146 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
148 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
150 * tree.c (build_nonstandard_integer_type): Correct prototype.
152 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
154 * config/s390/s390.md (movstrsico, movstrdix_64,
155 movstrsix_31): Remove, replace by ...
156 (movstrdi_short, movstrsi_short, movstrdi_long,
157 movstrsi_long): ... these. New.
158 (movstrdi, movstrsi): Adapt.
160 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
161 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
162 Remove unnecessary CC clobber.
163 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
164 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
166 (divmoddi4): Don't partially initialize TImode register.
168 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
170 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
172 2002-01-29 Richard Henderson <rth@redhat.com>
174 * flow.c (print_rtl_and_abort): Remove.
175 (print_rtl_and_abort_fcn): Remove.
176 (verify_local_live_at_start): Use dump_bb instead.
177 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
178 (verify_wide_reg_1): Return 2 on mode test failure.
180 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
182 PR c/3325, c/3326, c/2511, c/3347
183 * c-decl.c (enum_decl_context): Remove BITFIELD.
184 (grokdeclarator): Take bitfield width as an input.
185 Ensure bitfields are given the correct type. Perform
186 bitfield width validation with build_bitfield_integer_type
187 rather than waiting for finish_struct.
188 (grok_typename, grok_typename_in_parm_context, start_decl,
189 push_parmdecl, grokfield, start_function): Update calls to
191 (build_bitfield_integer_type): New function.
192 (finish_struct): Move bitfield validation to grokdeclarator
193 and build_bitfield_integer_type.
194 * tree.c (build_nonstandard_integer_type): New function.
195 * tree.h (build_nonstandard_integer_type): New prototype.
197 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
199 2002-01-29 Jakub Jelinek <jakub@redhat.com>
202 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
203 don't ignore unrecognized -W* options.
204 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
205 * cpplib.h (cpp_handle_option): Adjust prototype.
206 * c-decl.c (c_decode_options): Pass 0 as last argument to
210 * gcc.c (cpp_unique_options): Split from cpp_options.
211 (cpp_options): Source cpp_unique_options.
212 (default_compilers): Use cpp_unique_options instead of cpp_options
213 when used together with cc1_options.
214 (static_specs): Add cpp_unique_options.
215 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
216 when used together with cc1_options.
218 2002-01-29 Kazu Hirata <kazu@hxi.com>
220 * config/h8300/h8300-protos.h: Update the prototype of
222 * config/h8300/h8300.c (output_a_shift): Remove an unused
223 argument 'insn'. Remove redundant code.
224 * config/h8300/h8300.md: Adust to the new prototype of
227 2002-01-29 Kazu Hirata <kazu@hxi.com>
229 * config/h8300/h8300-protos.h: Update the prototypes of
230 emit_a_rotate and expand_a_rotate.
231 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
232 first argument to 'enum rtx_code'.
233 (expand_a_rotate): Likewise.
235 2002-01-28 Kazu Hirata <kazu@hxi.com>
237 * config/h8300/h8300-protos.h: Update the prototype of
239 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
241 * config/h8300/h8300.md: Adjust to the new prototype.
243 2002-01-28 Kazu Hirata <kazu@hxi.com>
245 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
248 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
250 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
251 is a fixed register before returning pic_offset_table_rtx.
252 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
253 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
255 2002-01-28 Jason Merrill <jason@redhat.com>
257 * dwarf2.h: Sync with src version.
259 2002-01-28 Paul Koning <pkoning@equallogic.com>
261 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
263 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
264 * doc/extend.texi (__builtin_prefetch): Update documentation:
265 first argument is now const void ptr.
267 2002-01-28 Kazu Hirata <kazu@hxi.com>
269 * config/h8300/h8300-protos.h: Remove an unused prototype.
271 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
273 * toplev.c (lang_independent_init): Round up identifier size.
275 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
277 * config.gcc: Revert previous change.
279 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
281 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
283 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
285 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
286 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
287 other non-elf netbsd config frags.
288 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
289 collect2 will does that.
290 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
291 shared-lib frobbing will work.
293 2002-01-28 Kazu Hirata <kazu@hxi.com>
295 * config/h8300/h8300.h: Fix formatting.
296 * config/h8300/h8300.md: Likewise.
298 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
300 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
301 the old, removed AAA_standards fix.
302 * fixinc/fixincl.x: Rebuilt.
304 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
306 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
307 atexit call in crtbegin, hooked in after call to frame_dummy;
308 register EH before registering __fini__start.
310 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
312 * config/rs6000/altivec.h: Remove spurious semicolons.
314 2002-01-27 Kazu Hirata <kazu@hxi.com>
316 * config/h8300/h8300.md: Replace dead bit extraction patterns
319 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
321 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
322 if not STRICT_ALIGNMENT.
323 * rtl.h (MEM_ALIGN): Likewise.
325 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
327 * doc/invoke.texi (-fdump-translation-unit): Revert this
328 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
330 2002-01-27 Kazu Hirata <kazu@hxi.com>
332 * config/h8300/h8300.md (define_constants): New.
333 (anonymous patterns) Use defined constants appropriately.
335 2002-01-27 Kazu Hirata <kazu@hxi.com>
337 * config/h8300/h8300.c (function_arg): Remove redundant code.
339 2002-01-26 Richard Henderson <rth@redhat.com>
341 * sched-deps.c (reg_pending_uses_head): New.
342 (reg_pending_barrier): Rename from reg_pending_sets_all.
343 (find_insn_list): Don't mark inline.
344 (find_insn_mem_list): Remove.
345 (add_dependence_list, add_dependence_list_and_free): New.
346 (flush_pending_lists): Replace only_write param with separate
347 for_read and for_write parameters. Update all callers. Use
348 add_dependence_list_and_free.
349 (sched_analyze_1): Do not add reg dependencies here; just set
350 the pending bits. Use add_dependence_list.
351 (sched_analyze_2): Likewise.
352 (sched_analyze_insn): Replace schedule_barrier_found with
353 reg_pending_barrier. Add all dependencies for pending reg
354 uses, sets, and clobbers.
355 (sched_analyze): Don't add reg dependencies for calls, just
356 set pending bits. Use regs_invalidated_by_call. Treat
357 sched_before_next_call as a normal list, not a fake insn.
358 (init_deps): No funny init for sched_before_next_call.
359 (free_deps): Free pending mems lists. Don't zero reg_last.
360 (init_deps_global): Init reg_pending_uses.
361 (finish_deps_global): Free it.
362 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
363 (find_insn_mem_list): Remove.
364 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
365 (propagate_deps): Use them. Zero temp mem lists.
367 2002-01-26 Richard Henderson <rth@redhat.com>
369 * Makefile.in (CRTSTUFF_CFLAGS): New.
370 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
371 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
372 crtstuff.c instead of alpha assembly version.
373 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
374 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
375 not FORCE_{INIT,FINI}_SECTION_ALIGN.
376 (__do_global_dtors_aux): Mark used.
377 (frame_dummy, __do_global_ctors_aux): Mark used.
378 (fini_dummy, init_dummy): Remove.
380 * config/alpha/crtbegin.asm: Remove file.
381 * config/alpha/crtend.asm: Remove file.
382 * config/alpha/t-crtbe: Remove file.
383 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
386 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
387 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
388 calling constructors.
389 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
391 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
392 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
393 CRT_END_INIT_DUMMY hack.
394 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
395 FORCE_{INIT,FINI}_SECTION_ALIGN.
397 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
398 FORCE_{INIT,FINI}_SECTION_ALIGN.
400 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
402 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
404 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
405 (FORCE_CODE_SECTION_ALIGN): New.
407 2002-01-26 Richard Henderson <rth@redhat.com>
409 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
411 2002-01-26 Richard Henderson <rth@redhat.com>
413 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
414 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
416 2002-01-26 Kazu Hirata <kazu@hxi.com>
418 * config/h8300/h8300.md: Remove bit extraction patterns that
420 Restrict each bit extraction pattern to a variant on which the
423 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
425 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
427 2002-01-26 Kazu Hirata <kazu@hxi.com>
429 * config/h8300/h8300.md: Remove bit test patterns that cannot
431 Restrict each bit test pattern to a variant on which the
434 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
436 * builtins.c (expand_builtin_strncat): Remove redundant check for
439 2002-01-25 David O'Brien <obrien@FreeBSD.org>
441 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
443 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
446 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
448 * dbxout.c (dbxout_init): Use assemble_name rather than just
449 stripping off the first character.
450 (dbxout_source_file): Likewise.
452 2002-01-25 DJ Delorie <dj@redhat.com>
454 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
455 using rtx_equal_p, not by comparing pointers.
457 2002-01-25 Steve Ellcey <sje@cup.hp.com>
459 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
460 for PIC_OFFSET_TABLE_REGNUM.
461 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
463 2002-01-25 David O'Brien <obrien@FreeBSD.org>
465 * config.gcc (x86_64-*-freebsd*): New target.
466 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
468 (i[34567]86-*-freebsd*): Don't include svr4.h.
469 * config/i386/freebsd64.h: New file.
471 2002-01-25 Douglas B Rupp <rupp@gnat.com>
473 * config/alpha/x-vms (version): Make static.
475 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
478 * Makefile.in (install-headers-cp): New target.
479 * config.gcc (alpha-dec-*vms*): Install headers with
482 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
484 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
487 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
489 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
491 (expand_builtin_strncat): Likewise.
492 * c-decl.c (finish_struct): Use tree_low_cst.
493 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
494 * tree.c (compare_tree_int): Likewise.
496 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
498 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
499 adjustments even if they are implemented by more than two insns.
501 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
503 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
504 * df.h (struct ref): Kill B.
505 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
507 * basic-block.h (PROP_EQUAL_NOTES): New flag.
508 * flow.c (propagate_one_insn): Use it.
509 (mark_used_regs): Handle NIL.
511 2001-01-25 Geoffrey Keating <geoffk@redhat.com>
513 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
516 2002-01-25 David Edelsohn <edelsohn@gnu.org>
518 * rs6000.md (prefetch): Make address V4SI mode so that the address
519 is restricted to legitimate form for instruction.
521 2002-01-25 Bob Wilson <bob.wilson@acm.org>
523 * doc/install.texi (xtensa-*-elf): New target.
524 (xtensa-*-linux*): New target.
525 * doc/contrib.texi: Add myself.
527 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
529 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
530 purpose register to hold an SImode (or smaller) value.
532 2002-01-25 Jakub Jelinek <jakub@redhat.com>
534 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
536 * crtstuff.c: Likewise.
538 2002-01-25 Kazu Hirata <kazu@hxi.com>
540 * config/h8300/h8300.md (negation patterns): Tighten
541 predicates to register_operand.
543 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
545 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
548 * builtins.c (expand_builtin_prefetch): Same.
550 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
552 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
555 2002-01-24 Kazu Hirata <kazu@hxi.com>
557 * config/h8300/h8300.c (print_operand): Remove support for
558 operand character 'A'.
559 * config/h8300/h8300.md (three anonymous patterns): Replace
560 operand character 'A' with either 'T' or 'S'.
562 2002-01-24 Kazu Hirata <kazu@hxi.com>
564 * config/h8300/h8300.c (print_operand): Remove support for
565 operand character 'U'.
567 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
569 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
571 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
573 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
574 values to be assigned to the stack pointer.
576 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
578 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
579 to const_double needs to be done right for big-endian systems.
581 2002-01-24 Jason Merrill <jason@redhat.com>
584 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
585 to can_throw_internal.
587 2002-01-23 Richard Henderson <rth@redhat.com>
589 * fold-const.c (fold): Change UINT_MAX test to check vs precision
590 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
592 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
594 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
595 (symGOT2reg): Use them, then set as GOT value as unchanging.
596 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
597 as a temporary, if possible.
598 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
599 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
601 2002-01-23 Kazu Hirata <kazu@hxi.com>
603 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
604 accept to accept 0x80 as operands[2].
606 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
608 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
610 2002-01-23 Richard Henderson <rth@redhat.com>
612 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
614 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
616 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
617 (parmlist_or_identifiers_1): Verify that only a parmlist follows
620 2002-01-23 Richard Henderson <rth@redhat.com>
622 * expr.c (move_by_pieces_1): Extend size before negation.
624 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
625 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
626 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
627 * config/m68k/t-m68kelf: Likewise.
629 2002-01-23 Bob Wilson <bob.wilson@acm.org>
631 * config/xtensa/elf.h: New file.
632 * config/xtensa/lib1funcs.asm: New file.
633 * config/xtensa/lib2funcs.S: New file.
634 * config/xtensa/linux.h: New file.
635 * config/xtensa/t-xtensa: New file.
636 * config/xtensa/xtensa-config.h: New file.
637 * config/xtensa/xtensa-protos.h: New file.
638 * config/xtensa/xtensa.c: New file.
639 * config/xtensa/xtensa.h: New file.
640 * config/xtensa/xtensa.md: New file.
641 * config.gcc (xtensa-*-elf*): New target.
642 (xtensa-*-linux*): New target.
643 * cse.c (canon_hash): Compare rtx pointers instead of register
644 numbers. This is required for the Xtensa port.
645 * integrate.c (copy_insn_list): Handle case where the static
646 chain is in memory and the memory address has to be copied to
648 * doc/invoke.texi (Option Summary): Add Xtensa options.
649 (Xtensa Options): New node.
650 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
652 2002-01-23 Zack Weinberg <zack@codesourcery.com>
654 * diagnostic.c (internal_error): Do ICE suppression only
655 when ENABLE_CHECKING is not defined.
657 * c-typeck.c (require_complete_type): Return error_mark_node
658 if type is error_mark_node.
660 2002-01-23 Janis Johnson <janis187@us.ibm.com>
662 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
663 -Os and issue a warning.
665 2002-01-23 Zack Weinberg <zack@codesourcery.com>
667 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
668 current (lack of) need for host configuration by hand.
670 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
671 references. Documentation of some target macros moved from
672 hostconfig.texi to tm.texi.
674 2002-01-23 Will Cohen <wcohen@redhat.com>
676 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
679 2002-01-23 Kazu Hirata <kazu@hxi.com>
681 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
684 2002-01-23 Jason Merrill <jason@redhat.com>
686 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
688 * function.c (assign_parms): Don't put args of inline functions
689 into registers when not optimizing.
691 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
693 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
694 (prologue_use): New pattern.
695 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
696 preference to gen_rtx_USE.
697 (thumb_expand_prologue): Use gen_prologue_use in preference to
699 (thumb_expand_epilogue): Use gen_prologue_use in preference to
702 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
704 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
706 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
709 * doc/extend.texi: Correct documentation of __alignof__.
711 2002-01-22 Zack Weinberg <zack@codesourcery.com>
713 * params.h: Rename arguments of DEFPARAM so that it will be
714 recognized as a translation keyword.
716 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
718 * extend.texi: Document altivec functions.
719 Fix N-bit adjectives in X86 builtin documentation.
721 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
723 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
726 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
728 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
730 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
732 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
734 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
736 2002-01-22 Richard Henderson <rth@redhat.com>
738 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
739 copy_insn not copy_rtx.
741 2002-01-23 Alan Modra <amodra@bigpond.net.au>
743 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
744 "nonzero" as that might add "1" bits. Ensure "constop" is
745 properly sign extened.
746 (force_to_mode): Tweak for sign extended constop.
748 2002-01-22 Richard Henderson <rth@redhat.com>
750 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
751 for_each_rtx instead of assuming we're already looking at the MEM.
752 (split_small_symbolic_mem_operand): Likewise.
753 * config/alpha/alpha.h (PREDICATE_CODES): Update.
754 * config/alpha/alpha.md (small symbolic memory splitters): Update.
756 2002-01-22 Richard Henderson <rth@redhat.com>
758 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
759 sequence number for the literal.
760 (divmoddi_internal_er): Likewise.
762 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
765 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
766 in LIBICONV variable.
767 * configure: Regenerated.
769 2002-01-22 Krister Walfridsson <cato@df.lth.se>
771 * dependence.c (build_def_use): Remove array_idx.
773 * dwarfout.c (last_filename): Remove.
774 (output_compile_unit_die): Remove last_filename.
776 2002-01-22 Roger Sayle <roger@eyesopen.com>
777 Richard Henderson <rth@redhat.com>
780 * fold-const.c (fold): Optimize unsigned comparisons against
781 UINT_MAX (and similar unsigned constants).
783 2002-01-22 Janis Johnson <janis187@us.ibm.com>
785 * Makefile.in (loop.o): Depend on OPTABS_H.
786 * loop.c (emit_prefetch_instructions): Check the prefetch operand
787 against the predicate.
790 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
791 for the address operand.
793 2002-01-22 Richard Henderson <rth@redhat.com>
795 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
797 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
800 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
803 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
805 * config.gcc (x86_64-*-netbsd*): New target.
806 * config/i386/netbsd64.h: New file.
808 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
810 * regrename.c (kill_value): Fix typo.
812 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
814 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
816 * config/rs6000/rs6000.h: Same.
818 * function.c (instantiate_virtual_regs): Remove
819 STARTING_FRAME_PHASE.
820 (assign_stack_local_1): Same.
821 Calculate frame phase.
823 2002-01-22 Nick Clifton <nickc@redhat.com>
825 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
826 variable declaration to outer scope in order to simplify
828 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
829 arm_hard_regno_mode_ok.
830 * config/arm/arm-protos.h: Add a prototype for
831 arm_hard_regno_mode_ok.
832 * config/arm/arm.c (soft_df_operand): Remove now redundant
833 check for DImode values using IP_REGNUM.
834 (nonimmediate_soft_df_operand): Remove now redundant check for
835 DImode values using IP_REGNUM.
836 (arm_hard_regno_mode_ok): New function. New check: make sure
837 that DImode values are not stored in IP_REGNUM.
839 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
841 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
843 2002-01-22 Jason Merrill <jason@redhat.com>
845 * c-semantics.c (genrtl_compound_stmt): Only check nesting
846 consistency if this COMPOUND_STMT is scoped.
848 2002-01-22 Kazu Hirata <kazu@hxi.com>
850 * predict.c: Fix formatting.
851 * print-tree.c: Likewise.
852 * protoize.c: Likewise.
855 * sbitmap.h: Likewise.
857 * sched-deps.c: Likewise.
858 * sched-vis.c: Likewise.
859 * sdbout.c: Likewise.
860 * sibcall.c: Likewise.
862 * ssa-ccp.c: Likewise.
863 * ssa-dce.c: Likewise.
865 * stor-layout.c: Likewise.
866 * system.h: Likewise.
868 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
870 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
871 if fits in bounds of base type.
873 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
874 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
875 (add_bound_info, default): If can't find a context, make a
877 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
879 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
881 * c-typeck.c (parser_build_binary_op): If result from
882 build_binary_op is ERROR_MARK just return error_mark_node without
885 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
887 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
888 Split a.out-specific bits into...
889 * config/netbsd-aout.h: ...this.
890 * config/netbsd-elf.h: New file.
891 * config/alpha/netbsd-elf.h: Remove.
892 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
893 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
894 (STARTFILE_SPEC): Remove redundant definition.
895 (ENDFILE_SPEC): Likewise.
896 (LINK_SPEC): Likewise.
897 (CPP_SPEC): Likewise.
898 (ASM_SPEC): Likewise.
899 (LIB_SPEC): Likewise.
900 (SWITCH_TAKES_ARG): Likewise.
901 (TARGET_MEM_FUNCTIONS): Likewise.
902 (CPP_PREDEFINES): Redefine.
903 (ASM_FINAL_SPEC): Remove redefinition.
904 (ASM_COMMENT_START): Redefine.
905 (FUNCTION_PROFILER): Define.
906 (TARGET_VERSION): Redefine.
907 Comment and formatting cleanup.
908 * config/i386/netbsd.h: Include <netbsd-aout.h>.
909 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
910 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
911 big- or little-endian.
912 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
913 * config.gcc (*-*-netbsd*): Add definitions common to all
915 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
916 gnu_ld definitions. Add netbsd-elf.h to and remove
917 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
918 tmake_file, and don't lose previous tmake_file contents.
919 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
920 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
921 gnu_ld definitions. Add netbsd-elf.h to tm_file.
922 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
923 (mipsel-*-netbsd*): Rename this to...
924 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
925 mips/little.h to tm_file for mips*el-*.
926 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
927 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
928 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
930 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
932 * pa-protos.h (reg_before_reload_operand): New function prototype.
933 * pa.c (reg_before_reload_operand): New function implementation.
934 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
937 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
939 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
941 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
943 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
944 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
945 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
946 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
947 (ENDFILE_SPEC): Undefine.
948 (STARTFILE_SPEC): Redefine for PA.
950 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
952 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
954 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
956 * config.gcc: Add entries to supported PowerPC --with-cpu
959 2002-01-21 Jakub Jelinek <jakub@redhat.com>
961 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
962 true for 64-bit mode only SSE registers in 32-bit mode.
964 2002-01-21 Kazu Hirata <kazu@hxi.com>
966 * unwind-dw2.c: Fix formatting.
967 * unwind-dw2-fde.c: Likewise.
968 * unwind-dw2-fde.h: Likewise.
969 * unwind-pe.h: Likewise.
970 * varasm.c: Likewise.
971 * varray.h: Likewise.
973 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
975 Remove workaround for register stack overwrite bug in mmix.
976 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
977 support for TARGET_REG_STACK_FILL_BUG.
978 * config/mmix/mmix.h: Remove member has_call_without_parameters.
979 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
981 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
982 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
983 -mno-reg-stack-fill-bug-workaround.
984 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
985 machine member has_call_without_parameters.
986 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
987 -mreg-stack-fill-bug-workaround and
988 -mno-reg-stack-fill-bug-workaround.
989 (MMIX Options): Ditto.
991 2002-01-21 Kazu Hirata <kazu@hxi.com>
993 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
995 Remove redundant code.
997 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
999 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
1000 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1001 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1002 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
1003 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
1004 out target macro definitions and non-target-specific comments
1005 mostly taken from old versions of the manual.
1007 2002-01-20 Kazu Hirata <kazu@hxi.com>
1009 * config/h8300/h8300.h: Fix comment formatting.
1010 * config/ia64/aix.h: Likewise.
1011 * config/ia64/ia64-protos.h: Likewise.
1012 * config/ia64/ia64.c: Likewise.
1013 * config/ia64/ia64.h: Likewise.
1014 * config/ia64/ia64intrin.h: Likewise.
1015 * config/ia64/linux.h: Likewise.
1016 * config/ia64/unwind-aix.c: Likewise.
1017 * config/ia64/unwind-ia64.c: Likewise.
1019 2002-01-20 Kazu Hirata <kazu@hxi.com>
1021 * config/h8300/h8300.c: Revise comments about shift code.
1023 2002-01-20 Kazu Hirata <kazu@hxi.com>
1025 * config/h8300/h8300.c (function_arg): Update a comment.
1027 2002-01-20 Kazu Hirata <kazu@hxi.com>
1029 * config/h8300/h8300.md: Update the comments at the beginning
1032 2002-01-20 Kazu Hirata <kazu@hxi.com>
1034 * config/i370/i370.c: Fix comment formatting.
1035 * config/i370/i370.h: Likewise.
1036 * config/i370/i370.md: Likewise.
1037 * config/i370/linux.h: Likewise.
1039 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1041 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
1043 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
1044 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
1047 2002-01-20 Graham Stott <grahams@redhat.com>
1049 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
1051 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1053 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
1055 2002-01-19 Tom Rix <trix@redhat.com>
1057 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
1059 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
1061 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1063 * function.c (assign_stack_local_1): Adjust x_frame_offset with
1064 STARTING_FRAME_PHASE.
1065 (STARTING_FRAME_PHASE): New.
1066 (instantiate_virtual_regs): Check saneness of
1067 STARTING_FRAME_PHASE.
1069 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1071 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1073 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
1075 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1077 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
1078 be used for bootstrapping GCC 3.0.
1080 2002-01-18 Kazu Hirata <kazu@hxi.com>
1082 * config/h8300/h8300.md: Fix an insn length.
1084 2002-01-18 Kazu Hirata <kazu@hxi.com>
1086 * bitmap.h: Fix comment formatting.
1087 * combine.c: Likewise.
1088 * cppfiles.c: Likewise.
1089 * c-pragma.h: Likewise.
1090 * c-typeck.c: Likewise.
1092 * dwarf2out.c: Likewise.
1093 * function.c: Likewise.
1095 * genattrtab.c: Likewise.
1096 * gthr-win32.h: Likewise.
1097 * haifa-sched.c: Likewise.
1098 * predict.c: Likewise.
1099 * rtlanal.c: Likewise.
1101 * unwind-dw2-fde.h: Likewise.
1102 * unwind-pe.h: Likewise.
1103 * vmsdbgout.c: Likewise.
1105 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1107 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
1108 if type_required and passed decl.
1110 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
1112 * config.gcc (cpu_type): Include altivec.h in powerpc
1116 * config/rs6000/altivec.h: New.
1118 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1120 * doc/install.texi (*-ibm-aix*): Update assembler and exception
1121 handling information.
1122 * doc/trouble.texi (Interoperation): Add libstdc++ information
1124 (Misunderstandings): Add template instantiation and static template
1125 member information for AIX.
1127 2002-01-17 Jason Merrill <jason@redhat.com>
1129 * dbxout.c (dbxout_type): Support const and volatile.
1131 * except.c (add_partial_entry): Remove backwards compatibility code.
1132 (end_protect_partials): Likewise.
1134 2002-01-17 Jakub Jelinek <jakub@redhat.com>
1136 * config/ia64/ia64.md (prologue_use): New.
1137 * config/ia64/ia64.c (ia64_expand_prologue): Use
1138 gen_prologue_use instead of gen_rtx_USE.
1139 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1140 as CODE_FOR_pred_rel_mutex.
1141 (ia64_sched_reorder2): Likewise.
1143 2002-01-16 Eric Christopher <echristo@redhat.com>
1145 * config/mips/r3900.h: Reformat.
1146 (SUBTARGET_CPP_SIZE_SPEC): Remove.
1147 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1148 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1149 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1150 * config/mips/t-elf: Remove mips3 multilib.
1152 2002-01-16 H.J. Lu <hjl@gnu.org>
1154 * config/mips/linux.h: Include "mips/abi64.h".
1156 2002-01-16 H.J. Lu <hjl@gnu.org>
1158 * config/mips/t-linux: New.
1160 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1162 * config/mips/linux.h: Don't include "gofast.h".
1163 (INIT_SUBTARGET_OPTABS): Removed.
1165 2002-01-16 Kazu Hirata <kazu@hxi.com>
1167 * config/h8300/h8300-protos.h: Replace emit_a_shift with
1169 * config/h8300/h8300.c: Likewise.
1170 * config/h8300/h8300.md: Likewise.
1172 2002-01-16 Kazu Hirata <kazu@hxi.com>
1174 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1175 spaces after an opcode name.
1176 (pushqi1_h8300hs): Likewise.
1177 (pushhi1_h8300hs): Likewise.
1179 2002-01-16 Kazu Hirata <kazu@hxi.com>
1181 * doc/extend.texi: Replace "option" with "attribute"
1184 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1186 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1187 (and:DI () (const_int -8)).
1188 (split_small_symbolic_mem_operand): Split
1189 (mem (and:DI () (const_int -8)).
1191 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1194 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1195 same way as TYPE_IMUL.
1196 (ultrasparc_sched_reorder): Likewise.
1197 * config/sparc/sparc.md (type): Add comment to update
1198 ultrasparc_sched_reorder when making changes.
1200 2002-01-16 Kazu Hirata <kazu@hxi.com>
1202 * doc/invoke.texi: Change the dump file name of block
1203 reordering pass from 28.bbro to 29.bbro.
1206 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1208 * i386.md (minsf splitter): Fix pasto.
1210 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1212 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1213 to frame pointer initialisation instruction.
1214 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1215 initialisation instruction.
1216 (soft_df_operand): Do not accept the IP register.
1217 (nonimmediate_soft_df_operand): Do not accept the IP register.
1219 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1222 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1223 MASK_V8 being both set.
1225 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1227 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1228 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1229 config/s390/s390.md (call, call_value): Add GOT register to
1230 CALL_INSN_FUNCTION_USAGE where needed.
1231 (call_exp, call_value_exp): New.
1233 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1235 * config/arm/arm.c: General formatting tidy up.
1237 2002-01-16 Graham Stott <grahams@redhat.com>
1239 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1240 cast and when casting an integer literal to "rtx" pointer.
1241 (expand_call): Likewise.
1242 * flow.c (try_pre_increment): Likewise.
1243 (find_use_as_address): Likewise.
1244 * integrate.c (expand_iline_function): Likewise.
1245 * regmove.c (try_auto_increment): Likewise.
1247 2002-01-16 Graham Stott <grahams@redhat.com>
1249 * sched-rgn.c (passed): Use sbitmap_free.
1252 (in_queue): Likewise.
1253 (in_stack): Likewise.
1255 2002-01-15 Eric Christopher <echristo@redhat.com>
1257 * flow.c (propagate_one_insn): Change to use fatal_insn.
1259 2002-01-15 Kazu Hirata <kazu@hxi.com>
1261 * expmed.c (extract_fixed_bit_field): Remove unused code.
1262 * system.h: Poison SLOW_ZERO_EXTEND.
1263 * doc/tm.texi: Remove.
1264 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1265 * config/arm/arm.h: Likewise.
1266 * config/avr/avr.h: Likewise.
1267 * config/clipper/clipper.h: Likewise.
1268 * config/convex/convex.h: Likewise.
1269 * config/d30v/d30v.h: Likewise.
1270 * config/dsp16xx/dsp16xx.h: Likewise.
1271 * config/elxsi/elxsi.h: Likewise.
1272 * config/fr30/fr30.h: Likewise.
1273 * config/h8300/h8300.h: Likewise.
1274 * config/i370/i370.h: Likewise.
1275 * config/i386/i386.h: Likewise.
1276 * config/m68k/m68k.h: Likewise.
1277 * config/mips/mips.h: Likewise.
1278 * config/ns32k/ns32k.h: Likewise.
1279 * config/pdp11/pdp11.h: Likewise.
1280 * config/pj/pj.h: Likewise.
1281 * config/s390/s390.h: Likewise.
1282 * config/sh/sh.h: Likewise.
1283 * config/stormy16/stormy16.h: Likewise.
1284 * config/v850/v850.h: Likewise.
1285 * config/vax/vax.h: Likewise.
1286 * config/we32k/we32k.h: Likewise.
1288 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1290 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1291 (altivec_lvsl): Change constraint to b.
1292 (altivec_lvsr): Same.
1293 (altivec_lvebx): Same.
1294 (altivec_lvehx): Same.
1295 (altivec_lvewx): Same.
1296 (altivec_lvxl): Same.
1297 (altivec_lvx): Same.
1298 (altivec_stvx): Add parallel.
1299 (altivec_stvxl): Same.
1300 (altivec_stvehx): Same.
1301 (altivec_stvebx): Same.
1302 (altivec_stvebx): Same.
1304 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1306 * config.gcc: Change altivec.h to altivec-defs.h.
1308 * config/rs6000/altivec.h: Delete.
1310 * config/rs6000/altivec-defs.h: Add.
1312 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1314 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1317 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1318 less than or equal to eight bytes.
1320 * vax.md (andsi3): Remove constraints and change SET destination
1321 operand type to nonimmediate_operand.
1322 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1323 when it is a CONST_INT.
1325 2002-01-15 Jason Merrill <jason@redhat.com>
1327 * c-common.def (FILE_STMT): New code.
1328 * c-common.c (statement_code_p): It's a statement.
1329 * c-common.h (stmt_tree_s): Add x_last_filename.
1330 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1331 (last_expr_filename): New macro.
1332 * c-semantics.c (begin_stmt_tree): Initialize it.
1333 (add_stmt): If the filename changed, also insert a
1335 (expand_stmt): Handle seeing one.
1337 2002-01-15 Eric Christopher <echristo@redhat.com>
1339 * flow.c (propagate_one_insn): Add error message and print out
1342 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1344 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1345 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1346 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1347 TRAMPOLINE_ALIGNMENT.
1348 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1350 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1351 PCC_BITFIELD_TYPE_MATTERS.
1352 * config/interix.h (STDC_VALUE): Remove. Use
1353 STDC_0_IN_SYSTEM_HEADERS.
1354 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1355 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1356 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1358 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1360 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1361 not work on this platform currently.
1363 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1365 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1366 readonly_warning in _().
1368 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1370 * gcc.c (delete_if_ordinary): Backout previous change.
1372 2002-01-15 Kazu Hirata <kazu@hxi.com>
1374 * config/h8300/h8300.c (print_operand): Remove support for
1375 unused operand characters.
1377 * read-rtl.c: Fix formatting.
1379 * recog.c: Likewise.
1380 * regclass.c: Likewise.
1381 * regmove.c: Likewise.
1382 * reg-stack.c: Likewise.
1383 * reload1.c: Likewise.
1384 * rtlanal.c: Likewise.
1386 2002-01-15 Kazu Hirata <kazu@hxi.com>
1388 * config/i386/i386.c: Fix formatting.
1390 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1392 * c-typeck.c (process_init_element): Don't save_expr
1393 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1395 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1397 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1398 emit optional traceback table if optimize_size or TARGET_ELF.
1399 * config/rs6000/rs6000.md (prefetch): New.
1401 2002-01-15 Andreas Jaeger <aj@suse.de>
1403 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1405 2002-01-15 Kazu Hirata <kazu@hxi.com>
1407 * mips-tfile.c: Fix formatting.
1409 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1411 * unroll.c (final_reg_note_copy): Fix previous commit.
1413 2002-01-14 Kazu Hirata <kazu@hxi.com>
1415 * config/h8300/h8300-protos.h: Remove the prototype for
1417 * config/h8300/h8300.c (eq_operator): Remove.
1419 2002-01-14 Richard Henderson <rth@redhat.com>
1421 * config/i386/i386.md (prefetch): Tidy.
1422 (prefetch_3dnow): Fix locality operand.
1424 2002-01-14 Richard Henderson <rth@redhat.com>
1426 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1427 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1429 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1431 * reload1.c (reload_combine): Pass reg_sum replacement through
1432 copy_rtx in loop performing multiple changes.
1434 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1436 * except.c (remove_unreachable_regions): New.
1437 (free_eh_status): Clear exception_handler_labels.
1438 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1439 (find_exception_handler_labels): Don't add the same label more than
1441 (remove_exception_handler_label): Don't die if
1442 find_exception_handler_labels hasn't been called for the current
1445 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
1447 * toplev.c (rest_of_compilation): Rebuild jump labels after
1450 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1452 * doc/extend.texi: Move documentation of X86 built-in functions
1454 * doc/invoke.texi: From here.
1455 * doc/sourcebuild.texi: Document location of documentation for
1456 machine built-in functions.
1458 2002-01-13 Christopher Faylor <cgf@redhat.com>
1460 * cppfiles.c (TEST_THRESHOLD): New macro.
1461 (SHOULD_MMAP): Ditto.
1462 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1465 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
1467 * unroll.c (final_reg_note_copy): Properly handle
1469 (unroll_loops): Fix LOOP_CONDITION heuristics.
1471 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
1473 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1474 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1476 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
1478 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1481 2002-01-14 Tom Rix <trix@redhat.com>
1483 * config/rs6000/rs6000.md: Fix typo with sradi.
1485 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
1487 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1488 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1489 (clrstrdi, clrstrsi): Adapt callers.
1491 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1493 (movti splitter): Never use register 0 as base register.
1495 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1497 * combine.c (simplify_shift_const): Always generate new rtx
1498 for shift expression instead of reusing given expression.
1500 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1502 * config/alpha/alpha.c (alpha_expand_mov): Don't call
1503 alpha_legitimize_address unless mode is Pmode.
1505 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
1507 * doc/md.texi (Modifiers): Document the '*' constraint for the
1510 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1511 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1514 2002-01-13 Richard Henderson <rth@redhat.com>
1516 * reload.c (find_reloads): Use a hard reg destination as reload reg
1517 for an input reload of the source.
1519 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1521 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1524 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1526 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1527 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1529 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1531 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1533 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1535 2002-01-12 Tom Rix <trix@redhat.com>
1537 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1540 2002-01-12 Richard Henderson <rth@redhat.com>
1542 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1544 * doc/invoke.texi: Update Alpha options.
1546 * doc/invoke.texi: Update i386 built-in function lists.
1548 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1550 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1551 referencing outside.
1553 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1555 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1556 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1557 offsets, and change line folding.
1558 * optabs.c (expand_binop): Remove warnings.
1559 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1561 2002-01-12 Graham Stott <grahams@redhat.com>
1563 * attribs.c (handle_deprecated_attribute): constify WHAT.
1564 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1565 dangling else warning and constify WHAT.
1566 * except.h (struct function, struct inline_remap): Move
1567 struct tag forward defs before all prototypes.
1568 (duplicate_eh_regions): Whitespace.
1570 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1572 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1573 MODE_BASE_REG_CLASS.
1574 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1576 2002-01-12 Richard Henderson <rth@redhat.com>
1578 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1579 (ix86_expand_vector_move): New.
1580 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1581 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1582 Remove old prefetch builtins. Special case the logicals removed above.
1583 (ix86_expand_builtin): Likewise.
1584 (safe_vector_operand): Use V4SFmode, not TImode.
1585 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1586 (ix86_expand_timode_binop_builtin): New.
1587 * config/i386/i386-protos.h: Update.
1588 * config/i386/i386.h (enum ix86_builtins): Update.
1589 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1590 Use ix86_expand_vector_move in vector move expanders.
1591 (movti_internal, movti_rex64): Add xorps alternative.
1592 (sse_clrv4sf): Rename and adjust from sse_clrti.
1593 (prefetch): Don't work so hard.
1594 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1595 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1596 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1598 2002-01-11 Richard Henderson <rth@redhat.com>
1600 * config/i386/mmintrin.h: New file.
1601 * config/i386/xmmintrin.h: New file.
1602 * config.gcc (i?86-*-*): Add extra_headers.
1603 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1605 (simplify_binary_operation): Handle saturating arithmetic codes.
1606 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1607 not the lowpart subreg.
1608 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1610 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1612 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1614 * conflict.c (conflict_graph_compute): Free regsets when finished.
1615 * ssa.c (compute_coalesced_reg_partition): Likewise.
1617 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1619 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1620 every where we allocate a register.
1622 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1624 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1625 * lcm.c (compute_earliest, compute_farthest): Likewise.
1627 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1629 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1631 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1633 * doc/rtl.texi (Insns): Fix 2 typos.
1635 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1637 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1638 options. Use @table @gcctabopt for MMIX options. Add index
1639 entries for MMIX options. Start new paragraph with first
1640 heading of the machine-dependent options.
1642 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1645 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1646 * combine.c (force_to_mode): Same.
1647 * reload1.c (clear_reload_reg_in_use): Same.
1649 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1651 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1654 2002-01-11 Andreas Jaeger <aj@suse.de>,
1655 Brad Lucier <lucier@math.purdue.edu>
1657 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1660 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1662 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1663 Protect with IN_LIBGCC.
1664 (LINK_EH_SPEC): Add required trailing space.
1666 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1668 * c-tree.h: Move function declarations so that they are listed
1669 under the filename which contains them.
1670 (check_identifier, finish_decl_top_level,
1671 lookup_name_current_level_global, shadow_record_fields): Remove.
1673 2002-01-11 Andreas Jaeger <aj@suse.de>
1675 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1678 2002-01-10 Richard Henderson <rth@redhat.com>
1680 * config/alpha/alpha.c (print_operand): Add 'J'.
1681 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1682 new operand with the sequence number for the lituse. When splitting
1683 the insns, use gen_movdi_er_high_g and generate a sequence number.
1684 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1686 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1688 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1689 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1691 (altivec_expand_builtin): Same.
1692 (altivec_expand_stv_builtin): New.
1694 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1696 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1697 ("altivec_lvehx"): New.
1698 ("altivec_lvewx"): New.
1699 ("altivec_lvxl"): New.
1700 ("altivec_lvx"): New.
1701 ("altivec_stvx"): New.
1702 ("altivec_stvebx"): New.
1703 ("altivec_stvehx"): New.
1704 ("altivec_stvewx"): New.
1705 ("altivec_stvxl"): New.
1707 2002-01-10 Richard Henderson <rth@redhat.com>
1709 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1710 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1711 care not to delete instructions twice.
1713 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1715 * toplev.c: Don't declare environ (it's not used anywhere).
1716 * configure.in: Don't check for declaration of environ.
1717 * config/i386/xm-mingw32.h: Don't #define environ.
1718 * config.in, configure: Regenerate.
1720 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1722 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1723 * configure: Regenerate.
1725 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1726 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1727 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1729 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1730 LIMITS_H_TEST here, not in m68k/x-next.
1731 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1732 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1734 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1735 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1736 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1738 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1739 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1740 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1741 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1742 replacement of quadlib.asm with quadlib.c.
1744 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1745 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1746 config/rs6000/xm-beos.h: Delete file.
1748 * config.gcc: Update to match above changes.
1750 2002-01-10 Kazu Hirata <kazu@hxi.com>
1752 * config/h8300/h8300.h: Fix comment typos.
1753 * config/h8300/h8300.md: Likewise.
1754 * config/h8300/lib1funcs.asm: Likewise.
1756 2002-01-10 Dale Johannesen <dalej@apple.com>
1758 PR optimization/5269
1759 * unroll.c (precondition_loop_p): Make *increment be the correct
1760 sign when n_iterations known, to avoid confusing caller.
1762 2002-01-10 Kazu Hirata <kazu@hxi.com>
1764 * doc/extend.texi (deprecated): Fix a typo.
1766 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1768 * basic-block.h (update_br_prob_note): Declare.
1769 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1770 (try_forward_edges): Care negative frequencies and update note.
1771 (outgoing_edges_match): Tweek conditional merging heuristics.
1772 (try_crossjump_to_edge): use update_br_prob_note.
1773 * cfglayout.c (fixup_reorder_chain): Likewise.
1774 * cfrtl.c (update_br_prob_note): New.
1775 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1777 * i386.c (ix86_decompose_address): Return -1 if address contains
1779 (legitimate_address_p): Require ix86_decompose_address to return 1.
1781 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1782 (cprop_insn): Likewise.
1784 2002-01-10 Kazu Hirata <kazu@hxi.com>
1786 * toplev.c: Fix formatting.
1788 * tree-dump.c: Likewise.
1789 * unroll.c: Likewise.
1790 * unwind-dw2.c: Likewise.
1791 * unwind-dw2-fde.c: Likewise.
1792 * unwind-dw2-fde-glibc.c: Likewise.
1793 * unwind-sjlj.c: Likewise.
1795 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1797 * doc/invoke.texi: Document PDP-11 options.
1799 2002-01-10 Kazu Hirata <kazu@hxi.com>
1801 * config/h8300/h8300.h: Fix formatting.
1803 2001-01-10 Ira Ruben <ira@apple.com>
1805 Add __attribute__ ((deprecated)).
1806 * extend.texi: Document __attribute__ ((deprecated)).
1807 * invoke.texi: Document -Wno-deprecated-declarations.
1808 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1809 * testsuite/gcc.dg/deprecated.c: New C test.
1810 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1811 (c_common_attribute_table): Add "deprecated" entry.
1812 (handle_deprecated_attribute): New function.
1813 * c-decl.c (deprecated_states): New enum.
1814 deprecated_state: State of "deprecated" handling.
1815 (start_decl): Set deprecated_state based on attributes.
1816 (grokdeclarator): Test for deprecated uses, propagate attribute.
1817 * c-typeck.c (build_component_ref): Test for deprecated fields.
1818 (build_external_ref): Test for deprecated primaries.
1819 * diagnostic.c (warn_deprecated_use) New function to issue
1820 warnings about __attribute__ ((depricated)) references.
1821 * flags.h (warn_deprecated_decl): Extern declared for
1822 -W[no-]deprecated-declarations option.
1823 * print-tree.c (print_node): Show deprecated flag status.
1824 * toplev.c (warn_deprecated_decl): Defined.
1825 (W_options): Added "deprecated-declaration".
1826 * toplev.h (warn_deprecated_use): Extern declared.
1827 * tree.h (struct tree_common): Define deprecated_flag.
1828 (TREE_DEPRECATED): New macro to access flag.
1829 * cp/call.c (build_call): Test for deprecated calls.
1830 * cp/class.c (add_implicitly_declared_members): Set global
1831 flag to tell grokdeclarator to not issue deprecated warnings.
1832 * cp/cp-tree.h: Add extern for adding_implicit_members.
1833 * cp/decl.c (deprecated_states): New enum.
1834 (start_decl): Set deprecated_state based on attributes.
1835 (grokdeclarator): Test for deprecated uses, propagate attribute.
1836 * cp/lex.c (do_identifier): Test for deprecated primaries.
1837 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1839 2001-01-10 Ira Ruben <ira@apple.com>
1841 Fix to assign attributes to inline member functions.
1842 * cp/decl.c (start_method): Handle attrlist.
1844 2002-01-10 Kazu Hirata <kazu@hxi.com>
1846 * combine.c (expand_field_assignment): Use subreg_lsb().
1848 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1850 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1851 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1852 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1853 Recurse for any operand of AND as long as constant is non-zero.
1855 2002-01-10 Kazu Hirata <kazu@hxi.com>
1857 * config/h8300/h8300.md: Remove constraints from expanders.
1859 2002-01-10 Kazu Hirata <kazu@hxi.com>
1861 * varasm.c: Fix formatting.
1862 * varray.c: Likewise.
1863 * vmsdbgout.c: Likewise.
1864 * xcoffout.c: Likewise.
1866 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1868 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1869 update edge probabilities to match.
1871 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1873 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1875 * doc/languages.texi, doc/sourcebuild.texi: New files.
1876 * doc/configfiles.texi: Make a subsubsection. Update.
1877 * doc/configterms.texi: Add @node. Remove warning that this isn't
1878 instructions for building GCC.
1879 * doc/makefile.texi: Make a subsection.
1880 * doc/gccint.texi: Update.
1882 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1884 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1886 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1888 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1890 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1892 * optabs.c (expand_fix): Look for wider integer modes first.
1894 * i386.md (mov?f): Avoid the fake const double trick for medium
1896 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1897 (fop_df_4): Disable for SSE compilation.
1899 2002-01-10 Graham Stott <grahams@redhat.com>
1901 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1902 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1904 2002-01-10 Richard Henderson <rth@redhat.com>
1906 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1908 2002-01-10 Richard Henderson <rth@redhat.com>
1910 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1911 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1913 2002-01-10 Kazu Hirata <kazu@hxi.com>
1915 * combine.c (can_combine_p): Fix a comment typo.
1917 2002-01-09 Zack Weinberg <zack@codesourcery.com>
1919 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1920 empty list correctly. Change loop index $t to $f for
1921 consistency with rest of Makefile.
1923 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
1925 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1926 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1928 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1929 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1930 (altivec_init_builtins): Same.
1931 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1932 (altivec_expand_binop_builtin): Same.
1933 (altivec_expand_ternop_builtin): Same.
1936 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1937 ("altivec_vctuxs"): Fix typo.
1938 ("altivec_vnmsubfp"): Same.
1939 ("altivec_dssall"): New.
1940 ("altivec_mfvscr"): New.
1941 ("altivec_dss"): New.
1942 ("altivec_lvsl"): New.
1943 ("altivec_lvsr"): New.
1944 ("altivec_dstt"): New.
1945 ("altivec_dstst"): New.
1946 ("altivec_dststt"): New.
1947 ("altivec_dst"): New.
1949 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1950 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1952 2002-01-09 Richard Henderson <rth@redhat.com>
1954 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1956 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1958 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1960 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1962 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1964 2002-01-09 Kazu Hirata <kazu@hxi.com>
1966 * read-rtl.c: Fix formatting.
1968 * regclass.c: Likewise.
1969 * regrename.c: Likewise.
1970 * reg-stack.c: Likewise.
1971 * reload1.c: Likewise.
1972 * reload.c: Likewise.
1975 2002-01-09 Kazu Hirata <kazu@hxi.com>
1977 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1978 to extract items in the expr_list chain.
1980 2002-01-09 Richard Henderson <rth@redhat.com>
1982 * config/vax/vax.c (vax_rtx_cost): Never abort.
1984 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1986 2002-01-09 Jan Hubicka <jh@suse.cz>
1988 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1990 2002-01-09 Richard Henderson <rth@redhat.com>
1992 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1993 Unify code from various alternatives.
1995 2002-01-09 Richard Henderson <rth@redhat.com>
1997 * regrename.c (copy_value): Ignore the copy if the source register
1998 is present in the value chain with a narrower mode.
2000 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2002 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
2003 for the c4x target. Also improve layout.
2005 2002-01-09 Richard Henderson <rth@redhat.com>
2007 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
2008 * config/m32r/m32r.md (and ior xor splitters): Swap operands
2009 to match insn patterns.
2011 2002-01-09 Richard Henderson <rth@redhat.com>
2013 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
2014 (copyprop_hardreg_forward_1): Likewise.
2016 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2018 * pa.md (decrement_and_branch_until_zero): Change predicate for
2019 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
2021 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2023 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
2024 gets undefined. For Darwin.
2026 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2028 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
2030 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2032 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
2034 2002-01-08 Richard Henderson <rth@redhat.com>
2036 * regrename.c (copy_value): Ignore overlapping copies.
2038 2002-01-08 Richard Henderson <rth@redhat.com>
2040 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
2041 as needed to avoid shared structure.
2043 2002-01-08 Kazu Hirata <kazu@hxi.com>
2045 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
2048 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2050 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
2051 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
2052 documentation of obsolete macros.
2053 * system.h: Poison these macros.
2054 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
2055 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
2056 config/c4x/c4x.h, config/clipper/clipper.h,
2057 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
2058 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
2059 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
2060 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
2061 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2062 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
2063 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2064 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
2065 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
2066 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2067 config/sparc/sparc.h, config/stormy16/stormy16.h,
2068 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
2069 definitions and commented out definitions of obsolete macros.
2070 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
2071 of MAX_INT_TYPE_SIZE.
2073 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2075 * config/s390/s390.c (s390_preferred_reload_class): Never
2076 return ADDR_REGS if it isn't a subset of the given class.
2077 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
2078 FP_REGS, but all superclasses as well.
2080 * config/s390/s390.c (s390_function_profiler): Fix thinko.
2082 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
2083 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
2084 must not be a const_int.
2086 2002-01-08 Richard Henderson <rth@redhat.com>
2088 * Makefile.in (toplev.o): Depend on options.h.
2089 (gcc.o): Depend on specs.h.
2091 2002-01-08 Jakub Jelinek <jakub@redhat.com>
2093 * expr.c (store_expr): Convert VOIDmode constants back to target's
2096 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2098 * doc/invoke.texi: Markup gcc as @command. Refer to
2099 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
2100 of http://gcc.gnu.org/thanks.html.
2102 2002-01-08 Dale Johannesen <dalej@apple.com>
2104 * config/rs6000/rs6000.md: Add missing int register
2105 target case to movdf_low.
2107 2002-01-08 Zack Weinberg <zack@codesourcery.com>
2109 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
2110 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
2111 (cppinit.o): Depend on except.h.
2112 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
2113 s-specs): New rules.
2115 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
2116 Don't create specs.h/options.h/gencheck.h here. Remove
2117 unnecessary variable settings from last argument of AC_OUTPUT.
2118 * config.in, configure: Regenerate.
2119 * intl.c: Hardcode package name as "gcc".
2121 * cppinit.c: Include except.h.
2122 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2124 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2125 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2126 (!)USING_SJLJ_EXCEPTIONS.
2127 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2129 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2131 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2132 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2133 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2134 documentation of obsolete macros.
2135 * system.h: Poison these macros.
2136 * config/d30v/d30v.h, config/ns32k/encore.h,
2137 config/stormy16/stormy16.h: Remove definitions and commented out
2138 definitions of obsolete macros.
2140 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
2142 * objc/objc-act.c (handle_class_ref): Mark the declaration of
2143 %sobjc_class_ref_%s as used - to prevent unwanted compiler
2146 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2148 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2149 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2150 to insn adjusting stack/frame pointer.
2151 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2152 accept operands that cause the insn to be non-splittable.
2154 2002-01-08 Graham Stott <grahams@redhat.com>
2156 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2157 (C_TYPE_FIELDS_VOLATILE): Likewise.
2158 (C_TYPE_BEING_DEFINED): Likewise.
2159 (C_IS_RESERVED_WORD): Likewise.
2160 (C_TYPE_VARIABLE_SIZE): Likewise.
2161 (C_DECL_VARIABLE_SIZE): Likewise.
2162 (C_MISSING_PROTOTYPE_WARNED): Likewise.
2163 (C_SET_EXP_ORIGINAL_CODE): Likewise.
2164 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2166 (C_DECL_ANTICIPATED): Likewise.
2167 (c_build_type_variant): Add parenthesis.
2169 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2171 * gcc.c (option_map): Remove --version.
2172 (process_command): Handle -fversion following the GNU Coding
2173 Standards. Partially addresses PR other/704.
2175 2002-01-08 Graham Stott <grahams@redhat.com>
2177 * combine.c (combine_instructions): Fix typo.
2179 2002-01-08 Graham Stott <grahams@redhat.com>
2181 * debug.h: Use "tree" and "rtx" throughout.
2183 * debug.c: Likewise.
2185 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2187 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2188 constant pool, use the pool's version of the symbol instead.
2190 2002-01-07 Richard Henderson <rth@redhat.com>
2192 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2193 the original register was copied in a mode with a fewer number of
2194 hard registers than the desired mode.
2195 (copyprop_hardreg_forward_1): Likewise.
2196 (debug_value_data): Fix loop test.
2197 * toplev.c (parse_options_and_default_flags): Reenable
2198 -fcprop-registers at -O1.
2200 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2202 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2203 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2205 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2208 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2210 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2212 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2213 (pa_output_function_prologue): Output local label at the beginning of
2214 the prologue when profiling.
2215 (hppa_profile_hook): Use the local label rather than the function label.
2216 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2218 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2220 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2221 (altivec_expand_unop_builtin): Fix thinko.
2222 (altivec_expand_binop_builtin): Same.
2223 (altivec_expand_ternop_builtin): Same.
2224 (altivec_expand_builtin): Same.
2226 2002-01-07 Richard Henderson <rth@redhat.com>
2228 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2230 2002-01-07 Jason Merrill <jason@redhat.com>
2232 * unwind-dw2.c (execute_cfa_program): Use < again.
2234 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2236 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2238 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2240 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2241 Don't allow -1 - x -> ~x simplifications in the first pass.
2243 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2245 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2247 (altivec_expand_binop_builtin): Same.
2248 (altivec_expand_unop_builtin): Same.
2249 (print_operand): Fix typo.
2250 (bdesc_1arg): Add vupk* variants.
2252 * rs6000.h (rs6000_builtins): Add vupk* enums.
2254 * rs6000.md: Add altivec_vupk* variants.
2256 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2258 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2259 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2260 and last update dates.
2262 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2264 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2266 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2268 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2269 * config/avr/avr.h (CPP_SPEC): Likewise.
2270 (LINK_SPEC): Likewise.
2271 (CRT_BINUTILS_SPECS): Likewise.
2272 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2273 * doc/invoke.texi (AVR Options): Document them.
2275 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2277 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2280 2002-01-07 Graham Stott <grahams@redhat.com>
2282 * config/i386/i386.h: Update copyright date.
2283 (HALF_PIC_PTR): Add parenthesis.
2284 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2285 (CONSTANT_ALIGNMENT): Add parenthesis.
2286 (DATA_ALIGNMENT): Likewise.
2287 (LOCAL_ALIGNMENT): Likewise.
2288 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2289 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2290 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2291 (HARD_REGNO_NREGS): Add paranethesis.
2292 (VALID_SSE_REG_MODE): Whitespace.
2293 (VALID_MMX_REG_MODE): Whitespace.
2294 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2295 (ix86_hard_regno_mode_ok): Add parenthesis.
2296 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2297 (RETURN_IN_MEMORY): Whitespace.
2298 (N_REG_CLASSES): Add parenthesis.
2299 (INTEGER_CLASS_P): Add parenthesis and wrap.
2300 (FLOAT_CLASS_P): Likewise.
2301 (SSE_CLASS_P): Likewise.
2302 (MMX_CLASS_P): Likewise.
2303 (MAYBE_INTEGER_CLASS_P): Likewise.
2304 (MAYBE_FLOAT_CLASS_P): Likewise.
2305 (MAYBE_SSE_CLASS_P): Likewise.
2306 (MAYBE_MMX_CLASS_P): Likewise.
2307 (Q_CLASS_P): Likewise.
2308 (GENERAL_REGNO_P): Uppercase macro parameter.
2309 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2310 (FP_REGNO_P): Likewise.
2311 (ANY_FP_REGNO_P): Uppercase macro parameter.
2312 (SSE_REGNO_P): Likewise.
2313 (SSE_REGNO): Likewise.
2314 (SSE_REG_P): Likewise.
2315 (SSE_FLOAT_MODE_P): Likewise.
2316 (MMX_REGNO_P): Likewise.
2317 (MMX_REG_P):Likewise.
2318 (STACK_REG_P): Likewise.
2319 (NON_STACK_REG_P): Likewise.
2320 (STACK_TOP_P): Likewise.
2321 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2322 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2323 (SECONDARY_MEMORY_NEEDED): Likewise.
2324 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2325 (MD_ASM_CLOBBERS): Whitespace and wrap.
2326 (MUST_PASS_IN_STACK): Whitespace and wrap.
2327 (RETURN_POPS_ARGS): Add parenthesis.
2328 (INIT_CUMULATIVE_ARGS): Likewise.
2329 (FUNCTION_ARG): Likewise.
2330 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2331 (SETUP_INCOMING_VARARGS): Likewise.
2332 (BUILD_VA_LIST_TYPE): Add parenthesis.
2333 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2335 (EXPAND_BUILTIN_VA_ARG): Likewise.
2336 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2337 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2338 (INITIAL_ELIMINATION_OFFSET): Likewise.
2339 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2340 (REGNO_OK_FOR_BASE_P): Likewise.
2341 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2342 (REGNO_OK_FOR_DIREG_P): Likewise.
2343 (REG_OK_FOR_INDEX_P): Whitespace.
2344 (REG_OK_FOR_BASE_P): Whitespace.
2345 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2347 (FIND_BASE_TERM): Fix typo.
2348 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2349 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2350 (SYMBOLIC_CONST; Whitespace.
2351 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2352 (ENCODE_SECTION_INFO): Whitespace.
2353 (FINALIZE_PIC): Remove do { ... } while (0).
2354 (PROMOTE_MODE): Wrap in do { ... } while (0).
2355 (CONST_COSTS): Whitespace.
2356 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2357 (REGISTER_MOVE_COST): Add parenthesis.
2358 (MEMORY_MOVE_COST): Likewise.
2359 (EXTRA_CC_MODES): Whitespace.
2360 (SELECT_CC_MODE): Add parenthesis and whitespace.
2361 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2362 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2363 (ASM_OUTPUT_LABEL): Add paramethesis.
2364 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2365 (ASM_OUTPUT_REG_POP): Likewise.
2366 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2367 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2369 * config/i386/i386.c: Update copyright.
2370 (CHECK_STACK_LIMIT): Add parenthesis.
2371 (AT_BP): Uppercase macro parameter.
2372 (x86_64_int_parameter_registers): Constify.
2373 (x86_64_int_return_registers): Likewise.
2374 (ix86_compare_op0): Use rtx.
2375 (construct_container): Constify INTREG parameter.
2376 (function_arg): Use rtx.
2378 * diagnostic.h: Update copyright date.
2379 (output_buffer_state): Add parenthesis.
2380 (output_buffer_format_args): Likewise.
2382 * combine.c (combine_instructions): Replace XEXP (links, 0)
2385 2002-01-06 H.J. Lu <hjl@gnu.org>
2387 * cfgcleanup.c (thread_jump): Fix 2 typos.
2389 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2391 * config.gcc: Add support for --enable-altivec.
2393 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2395 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2397 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2399 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2400 __objc_class_name_*.
2402 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2404 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2406 2002-01-06 Richard Henderson <rth@redhat.com>
2408 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2409 nop them out. Increment label reference count for REG_LABEL.
2410 (fill_slots_from_thread): Frob label reference count around
2411 delete_related_insns.
2413 2002-01-05 Richard Henderson <rth@redhat.com>
2415 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2418 2002-01-05 Richard Henderson <rth@redhat.com>
2420 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2421 * integrate.c (output_inline_function): Likewise.
2422 * toplev.c (rest_of_compilation): Do it here instead. Move call
2423 to remove_unnecessary_notes after emitting abstract instance.
2424 Force an emitted nested function to have its parent emited as well.
2425 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2427 (rtl_for_decl_location): Do not look at reload data structures
2428 before reload has run.
2430 2002-01-05 Kazu Hirata <kazu@hxi.com>
2432 * cse.c: Fix formatting.
2433 * dwarf2asm.c: Likewise.
2434 * dwarf2out.c: Likewise.
2435 * explow.c: Likewise.
2436 * expmed.c: Likewise.
2437 * function.c: Likewise.
2439 * gencheck.c: Likewise.
2440 * genrecog.c: Likewise.
2441 * ggc-common.c: Likewise.
2442 * ggc-page.c: Likewise.
2443 * global.c: Likewise.
2445 2002-01-05 Kazu Hirata <kazu@hxi.com>
2447 * combine.c: Fix formatting.
2449 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
2452 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2454 2002-01-05 David Edelsohn <edelsohn@gnu.org>
2456 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2457 as 1 for __powerpc64__ as well.
2459 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2461 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2464 2002-01-05 Daniel Berlin <dan@dberlin.org>
2466 * lcm.c: Revert change, due to performance regression it causes on
2467 SPEC because it's slightly more conservative (sigh, I hate
2470 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
2472 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2474 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2476 * doc/cppinternals.texi: Update.
2478 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
2480 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2481 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2483 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
2484 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2485 kludge for pre-october-14th mmix versions to handle new-found bug
2486 with PUSHJ/PUSHGO and the register stack.
2487 * config/mmix/mmix.h (struct machine_function): Rename member
2488 has_call_value_without_parameters to has_call_without_parameters.
2489 All referers changed.
2490 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2491 TARGET_MASK_BRANCH_PREDICT): New macros.
2492 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2493 -mno-reg-stack-fill-bug-workaround.
2494 * config/mmix/mmix.md ("call"): Set struct machine member
2495 has_call_without_parameters.
2497 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
2499 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2501 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
2503 * cfgcleanup.c: Include tm_p.h
2504 (mark_effect): Fix handling of hard register; fix handling of SET
2506 2002-01-04 Kazu Hirata <kazu@hxi.com>
2508 * config/h8300/h8300.md (anonymous patterns): Check that
2509 operands are registers before using REGNO on them.
2511 2002-01-03 Roland McGrath <roland@frob.com>
2513 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2515 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2517 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2518 * c-common.h (genrtl_expr_stmt_value): Likewise.
2519 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2520 (expand_expr_stmt_value): Add maybe_last argument.
2521 Don't warn about statement with no effect if it is the last statement
2522 in expression statement.
2523 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2524 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2525 expand_expr_stmt_value.
2526 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2527 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2528 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2529 as maybe_last to expand_expr_stmt_value.
2531 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2533 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2534 be passed in, do not build it.
2535 (c_begin_if_stmt): New function.
2536 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2537 * c-common.h (c_expand_start_cond): Update prototype.
2538 (c_begin_if_stmt): Prototype new function.
2539 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2540 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2541 c_begin_while_stmt and c_finish_while_stmt_cond.
2543 2002-01-04 William Cohen <wcohen@redhat.com>
2545 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2546 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2547 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2548 * config/pa/som.h (ASM_FILE_START): Likewise.
2550 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
2552 * lcm.c: Include df.h.
2553 Add available_transfer_function prototype.
2554 (compute_available): Rework to use iterative dataflow framework.
2555 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2556 with bb_info in df.h
2557 (available_transfer_function): New function.
2559 * Makefile.in (lcm.o): add df.h to dependencies.
2561 2002-01-04 Richard Henderson <rth@redhat.com>
2563 * config/alpha/alpha.c (some_operand): Accept HIGH.
2564 (input_operand): Likewise; accept simple references to globals.
2565 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2566 (alpha_const_double_ok_for_letter_p): Likewise.
2567 (alpha_extra_constraint): Likewise.
2568 (alpha_preferred_reload_class): Likewise. Do not force
2569 symbolic constants to memory.
2570 (alpha_legitimate_address_p): Accept simple references
2571 to small_symbolic_operand.
2572 (alpha_legitimize_address): New arg scratch. Be prepared to be
2573 called when no_new_pseudos. Emit simple symbolic references.
2574 Split integers into low, high, and rest.
2575 (alpha_expand_mov): Use alpha_legitimize_address.
2576 (some_small_symbolic_mem_operand): New.
2577 (split_small_symbolic_mem_operand): New.
2578 * config/alpha/alpha-protos.h: Update.
2579 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2580 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2581 (EXTRA_CONSTRAINT): Likewise.
2582 (PREFERRED_RELOAD_CLASS): Likewise.
2583 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2584 (PREDICATE_CODES): Update.
2585 * config/alpha/alpha.md: New post-reload splitters to convert
2586 simplfied symbolic operands to the form that references $29.
2587 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2588 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2590 2002-01-03 Richard Henderson <rth@redhat.com>
2592 * local-alloc.c (function_invariant_p): Update commentary.
2594 2002-01-04 H.J. Lu <hjl@gnu.org>
2596 * toplev.c (rest_of_compilation): Fix a typo when calling
2599 2002-01-03 Kazu Hirata <kazu@hxi.com>
2601 * c-common.c: Fix formatting.
2602 * diagnostic.c: Likewise.
2603 * doloop.c: Likewise.
2604 * dwarf2out.c: Likewise.
2606 2002-01-03 Kazu Hirata <kazu@hxi.com>
2608 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2609 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2611 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2613 * cpperror.c: Update comments and copyright.
2614 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2615 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2617 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2619 * collect2.c (main): Use strcmp when testing for "-shared".
2621 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2623 * cppmacro.c: Don't include intl.h. Update comments.
2624 (new_number_token): Allocate enough buffer for 64-bit unsigned
2625 integers; update prototype.
2626 * cppmain.c: Update comments.
2628 2002-01-03 William Cohen <wcohen@redhat.com>
2630 * function.h (struct function): Add profile.
2631 (current_function_profile): New.
2632 doc/extend.texi: Update documentation.
2633 * final.c (final_start_function): Use current_function_profile
2634 instead of profile_flag.
2635 (profile_after_prologue): Likewise.
2636 * function.c (expand_function_start): Likewise.
2637 (expand_function_start): Likewise.
2638 * config/alpha/alpha.c (direct_call_operand):
2639 (alpha_does_function_need_gp): Likewise.
2640 (alpha_expand_prologue): Likewise.
2641 * config/arm/arm.c (arm_expand_prologue): Likewise.
2642 thumb_expand_prologue: Likewise.
2643 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2644 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2645 (fr30_expand_prologue): Likewise.
2646 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2647 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2648 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2649 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2650 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2651 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2652 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2653 (m32r_expand_prologue): Likewise.
2654 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2655 (m88k_expand_prologue): Likewise.
2656 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2657 * config/mips/mips.c (compute_frame_size): Likewise.
2658 (mips_expand_prologue): Likewise.
2659 (mips_can_use_return_insn): Likewise.
2660 * config/pa/elf.h (ASM_FILE_START): Likewise.
2661 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2662 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2663 * config/pa/som.h (ASM_FILE_START): Likewise.
2664 * config/romp/romp.c (romp_using_r14): Likewise.
2665 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2666 (rs6000_stack_info): Likewise.
2667 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2668 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2669 * config/v850/v850.c (compute_register_save_size): Likewise.
2671 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2673 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2674 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2676 2002-01-03 Turly O'Connor <turly@apple.com>
2678 * darwin.c (machopic_output_possible_stub_label): Don't generate
2679 stub routines for pseudo-stubs which we've just defined.
2681 2002-01-03 Kazu Hirata <kazu@hxi.com>
2683 * builtins.c: Fix formatting.
2684 * c-typeck.c: Likewise.
2685 * combine.c: Likewise.
2689 2002-01-03 Andreas Schwab <schwab@suse.de>
2691 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2692 and return true if _cpp_push_next_buffer pushed a new include
2694 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2695 _cpp_pop_file_buffer did not push a new file.
2696 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2698 2002-01-02 Eric Christopher <echristo@redhat.com>
2700 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2701 FIND_REG_INC_NOTE call. Update copyright.
2702 * loop.c (canonicalize_condition): Ditto.
2703 * reorg.c (delete_scheduled_jump): Ditto.
2705 2002-01-03 Kazu Hirata <kazu@hxi.com>
2707 * gcse.c: Fix formatting.
2709 2002-01-03 Graham Stott <grahams@redhat.com>
2711 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2712 forward defs for struct tags rtx_def, union_tree, rtvec_def
2713 also output corresponding typedefs for rtx, tree, and rtvec.
2715 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2716 rtvec_def along with corresponding typedefs for rtx, tree, and
2717 rtvec to config.h, hconfig.h, tconfig.h.
2719 2002-01-03 Graham Stott <grahams@redhat.com>
2721 * tree.h: Update copyright date.
2722 (IS_EXPR_CODE_CLASS): Add parenthesis.
2723 (TREE_SET_CODE): Add whitespace.
2724 (TREE_CHECK): Add parenthesis.
2725 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2726 (CST_OR_CONSTRUCTOR_CHECK):
2727 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2728 (TREE_SYMBOL_REFERENCED): Whitespace.
2729 (INT_CST_LT): Likewise.
2730 (INT_CST_LT_UNSIGNED): Likewise.
2731 (tree_real_cst): Unwrap comment.
2732 (tree_string): Likewise.
2733 (tree_complex): Likewise.
2734 (IDENTIFIER_POINTER): correct cast.
2735 (SAVE_EXPR_CONTEXT): Whitespace.
2736 (EXPR_WFL_FILENAME_NODE): Likewise.
2737 (EXPR_WFL_FILENAME): Remove parenthesis.
2738 (DECL_ORIGIN): Add parenthesis.
2739 (DECL_FROM_INLINE): Use NULL_TREE.
2740 (build_int_2): Whitespace.
2741 (build_type_variant): Add parenthesis.
2743 * gcc/jcf-parse.c: Update copyright date.
2744 (yyparse): Constify resource_filename.
2746 2002-01-03 Graham Stott <grahams@redhat.com>
2748 * rtl.h: Update copyright date.
2749 (RTL_CHECK1): Wrap long line.
2750 (RTL_CHECK2): Likewise.
2751 (RTL_CHECKC1): Wrap long line and whitespace.
2752 (RTL_CHECKC2): Likewise.
2753 (XWINT): Whitespace.
2759 (XBITMAP): Likewise.
2770 (X0BITMAP): Likewise.
2772 (X0BBDEF): Likewise.
2773 (X0ADVFLAGS): Likewise.
2774 (X0CSELIB): Likewise.
2775 (X0MEMATTR): Likewise.
2783 (XCBITMAP): Likewise.
2785 (XCBBDEF): Likewise.
2786 (XCADVFLAGS): Likewise.
2787 (XCCSELIB): Likewise.
2789 (INSN_UID): Likewise.
2790 (PREV_INSN): Likewise.
2791 (PATTERN): Likewise.
2792 (INSN_CODE): Likewise.
2793 (PUT_REG_NOTE_KIND): Likewise.
2794 (CODE_LABEL_NUMBER): Likewise.
2795 (NOTE_SOURCE_FILE): Likewise.
2796 (NOTE_BLOCK): Likewise.
2797 (NOTE_EH_HANDLER): Likewise.
2798 (NOTE_RANGE_INFO): Likewise.
2799 (NOTE_LIVE_INFO): Likewise.
2800 (NOTE_BASIC_BLOCK): Likewise.
2801 (NOTE_EXPECTED_VALUE): Likewise.
2802 (NOTE_LINE_NUMBER): Likewise.
2803 (LABEL_NAME): Likewise.
2804 (LABEL_NUSES): Likewise.
2805 (LABEL_ALTERNATE_NAME): Likewise.
2806 (ADDRESSOF_DECL): Likewise.
2807 (JUMP_LABEL): Likewise.
2808 (LABEL_NEXTREF): Likewise.
2810 (ORIGINAL_REGNO: Likewise.
2811 (HARD_REGISTER_NUM_P): Add parenthesis.
2812 (SUBREG_REG): Whitespace.
2813 (SUBREG_BYTE): Likewise.
2814 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2815 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2816 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2817 (ASM_OPERANDS_INPUT_VEC): Likewise.
2818 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2819 (ASM_OPERANDS_INPUT): Likewise.
2820 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2821 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2822 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2823 (ASM_OPERANDS_INPUT_MODE): Likewise.
2824 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2825 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2826 (MEM_SET_IN_STRUCT_P): Minor reformat.
2827 (TRAP_CONDITION): Whitespace.
2828 (TRAP_CODE): Likewise.
2829 (COND_EXEC_TEST): Likewise.
2830 (COND_EXEC_CODE): Likewise.
2831 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2832 (PHI_NODE_P): Add parenthesis.
2833 (plus_constant): Whitespace and add parenthesis.
2835 2002-01-03 Kazu Hirata <kazu@hxi.com>
2837 * config/avr/avr.c: Fix comment typos.
2838 * config/c4x/c4x.md: Likewise.
2839 * config/dsp16xx/dsp16xx.h: Likewise.
2840 * config/dsp16xx/dsp16xx.md: Likewise.
2841 * config/i386/i386.md: Likewise.
2842 * config/ia64/ia64.c: Likewise.
2843 * config/m32r/m32r.h: Likewise.
2844 * config/m68hc11/m68hc11.md: Likewise.
2845 * config/mmix/mmix.c: Likewise.
2846 * config/mn10200/mn10200.c: Likewise.
2847 * config/romp/romp.c: Likewise.
2848 * config/sh/sh.c: Likewise.
2849 * config/stormy16/stormy16.c: Likewise.
2850 * config/stormy16/stormy16.h: Likewise.
2851 * config/stormy16/stormy16.md: Likewise.
2853 2002-01-03 Graham Stott <grahams@redhat.com>
2855 * loop.h: Update copyright date.
2856 (LOOP_MOVABLES): Fix typo.
2857 (LOOP_REGS): Likewise.
2858 (LOOP_IVS): Likewise.
2860 2002-01-03 Graham Stott <grahams@redhat.com>
2862 * cppinit.c: Update copyright date.
2863 Don't include output.h
2864 * Makefile.in: Update copyright date.
2867 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2870 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2871 (-pthread) Add to RS/6000 options.
2873 2002-01-02 Kazu Hirata <kazu@hxi.com>
2875 * except.c: Fix comment typos.
2877 * varasm.c: Likewise.
2878 * doc/tm.texi: Fix a typo.
2880 2002-01-02 Jakub Jelinek <jakub@redhat.com>
2882 * c-typeck.c (output_init_element): Allow initializing static storage
2883 duration objects with compound literals.
2885 2002-01-02 Richard Henderson <rth@redhat.com>
2887 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2890 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2892 * gcc.c (default_compilers): Const-ify.
2893 * mips-tdump.c (stab_names): Likewise.
2894 * mips-tfile.c (map_coff_types, map_coff_storage,
2895 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2896 pseudo_ops_t, pseudo_ops): Likewise.
2897 * protoize.c (default_include): Likewise
2899 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2900 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2901 Add array size in declaration.
2902 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2903 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2904 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2905 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2906 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2907 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2908 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2909 emtens, make_nan): Const-ify.
2910 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2911 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2913 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2915 * config.gcc (ia64-*-*): Set extra_headers.
2916 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2917 * config/alpha/t-osf: Remove.
2918 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2920 2002-01-02 David Edelsohn <edelsohn@gnu.org>
2922 * config/rs6000/t-aix43: Revert previous change.
2924 2002-01-02 Jason Merrill <jason@redhat.com>
2926 * c-decl.c (c_expand_body): Call outlining_inline_function when
2927 emitting an inline function out of line.
2929 2002-01-02 Richard Henderson <rth@redhat.com>
2931 * dwarf2out.c (limbo_die_node): Add created_for member.
2932 (new_die): New argument created_for. Update all callers.
2933 (mark_limbo_die_list): New.
2934 (dwarf2out_init): Register limbo_die_list as a root.
2935 (dwarf2out_finish): Force insert limbo dies into their function
2938 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2941 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2943 2002-01-02 Kazu Hirata <kazu@hxi.com>
2945 * config/h8300/fixunssfsi.c: Update copyright.
2948 * config/h8300/h8300.c: Update copyright.
2951 2002-01-02 Kazu Hirata <kazu@hxi.com>
2953 * config/romp/romp.c: Fix comment formatting.
2954 * config/romp/romp.h: Likewise.
2955 * config/romp/romp.md: Likewise.
2956 * config/s390/s390.c: Likewise.
2957 * config/stormy16/stormy16.c: Likewise.
2958 * config/stormy16/stormy16.h: Likewise.
2960 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
2962 * c-common.h (genrtl_expr_stmt_value): Declare.
2963 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2964 (genrtl_goto_stmt_value): ... this new function. Pass new
2965 argument down to expand_expr_stmt_value, taking
2966 TREE_ADDRESSABLE into account.
2967 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2968 STMT_EXPR as addressable, i.e., one whose result we want.
2969 * expr.c (expand_expr): Don't save expression statement value
2970 of labeled_blocks or loop_exprs.
2971 * stmt.c (expand_expr_stmt): Redirect to...
2972 (expand_expr_stmt_value): ... this new function. Use new
2973 argument to tell whether to save expression value.
2974 (expand_end_stmt_expr): Reset last_expr_type and
2975 last_expr_value if we don't have either.
2976 * tree-inline.c (declare_return_variable): Mark its use
2977 statement as addressable.
2978 * tree.h: Document new use of TREE_ADDRESSABLE.
2979 (expand_expr_stmt_value): Declare.
2981 2002-01-01 Tom Rix <trix@redhat.com>
2983 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2984 rs6000_emit_allocate_stack.
2986 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2988 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2989 ${srcdir}/ginclude/ to every entry in extra_headers.
2990 * configure: Regenerate.
2991 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2992 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2993 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2994 * ginclude/proto.h: Rename to config/convex/proto.h.
2996 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2998 * attribs.c (handle_vector_size_attribute): Use host_integerp
2999 and tree_int_cst; remove warnings.
3000 * caller-save.c (insert_restore): Add cast to get rid of warning.
3001 (insert_save): Likewise.
3002 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
3003 * regmove.c (find_matches): Add temporary var to kill a warning.
3005 2002-01-01 Douglas B Rupp <rupp@gnat.com>
3007 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
3008 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
3009 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
3010 (vms-dwarf2eh.o): Add Makefile rule.
3011 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
3012 * config/alpha/vms-dwarf2eh.asm: New file.
3014 * gcc.c (delete_if_ordinary): Delete all versions.
3016 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
3018 * config/mmix/mmix.md: Update FIXME to not mention
3020 (MMIX_rJ_REGNUM): New define_constants constant.
3021 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
3022 "*movdicc_real"): Adjust contraints formatting.
3023 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
3024 for branch prediction.
3025 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
3027 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
3028 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
3029 number. Delete related FIXMEs.
3030 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
3031 from number to MMIX_rJ_REGNUM.
3032 (TARGET_MASK_BRANCH_PREDICT): New.
3033 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
3034 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
3035 value. Add -mbranch-predict and -mno-branch-predict.
3036 (TARGET_VERSION): Drop date.
3037 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
3038 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
3039 for finding out global symbols.
3040 (mmix_asm_output_labelref): Revert condition for global symbol.
3041 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
3042 (mmix_print_operand_punct_valid_p): A '+' is valid.
3044 See ChangeLog.6 for earlier changes.