1 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
3 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
4 by existing arm*-*-netbsd* (a.out) target.
5 (ns32k-*-netbsdelf*): Likewise.
6 (sparc-*-netbsdelf*): Likewise.
7 (vax-*-netbsdelf*): Likewise.
9 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
11 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
12 headers and libobjc headers.
14 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
16 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
17 (_mingw.h): Remove duplicate include.
19 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
21 * config.gcc: Set cpu_type to m68k for 68010, as well.
22 (m68010-*-netbsdelf*): New...
23 (m68k*-*-netbsdelf*): ...targets.
24 * config/m68k/netbsd-elf.h: New file.
26 2002-02-02 Kazu Hirata <kazu@hxi.com>
28 * config/h8300/h8300.c (hand_list): Move inside function_arg.
30 2002-02-02 Kazu Hirata <kazu@hxi.com>
32 * config/h8300/h8300.c (h8_push_ops): Move inside
34 (h8_pop_ops): Likewise.
35 (h8_move_ops): Likewise.
37 2002-02-02 Kazu Hirata <kazu@hxi.com>
39 * config/h8300/h8300.c (os_task): Make it static.
41 (pragma_saveall): Likewise.
43 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
45 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
46 constant is a valid sign-extension for Pmode.
48 2002-02-02 Kazu Hirata <kazu@hxi.com>
50 * config/h8300/h8300.c: Fix formatting.
52 2002-02-02 Kazu Hirata <kazu@hxi.com>
54 * config/h8300/h8300.md: Fix formatting.
56 2002-02-02 Kazu Hirata <kazu@hxi.com>
58 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
59 predicates of operands[1]. Split the patterns for each
62 2002-02-02 Kazu Hirata <kazu@hxi.com>
64 * config/h8300/h8300.md (xor patterns): Tighten the predicates
65 of operands[1] to register_operand.
67 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
69 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
70 * cpphash.c (_cpp_init_hashtable): Similarly.
71 * cppinit.c (cpp_create_reader): Default the signed_char flag.
72 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
73 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
74 (cpp_handle_option): Handle the new options.
75 * cpplex.c (cpp_interpret_charconst): Use new flag.
76 * cpplib.h (struct cpp_options): New member signed_char.
77 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
78 (cpp_options): Handle -fsigned-char and -funsigned-char.
79 (static_specs): Remove signed_char_spec.
80 (do_spec1): Don't handle %c.
81 * system.h: Poison SIGNED_CHAR_SPEC.
82 * tradcif.y (yylex): Use flag_signed_char.
83 * tradcpp.h (flag_signed_char): New.
84 * tradcpp.c (flag_signed_char): New.
85 (main): Handle new command-line options.
86 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
88 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
89 * avr/avr.h: Remove old comments.
90 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
91 (CC1_SPEC): Pass -fsigned-char if -mic*.
92 (SIGNED_CHAR_SPEC): Remove.
94 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
96 2002-02-01 Eric Christopher <echristo@redhat.com>
98 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
99 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
100 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
101 (ASM_OUTPUT_REG_POP): Ditto.
103 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
105 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
108 2002-02-02 Jakub Jelinek <jakub@redhat.com>
110 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
112 2002-02-02 Jakub Jelinek <jakub@redhat.com>
115 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
118 2002-02-01 Janis Johnson <janis187@us.ibm.com>
120 * cfganal.c: Include tm_p.h.
121 (keep_with_call_p): Fix the test that determines if a register holds
122 the return value of a call.
124 2002-02-01 DJ Delorie <dj@redhat.com>
126 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
127 we are given conflicting registers, switch to the other one we
128 had allocated for us.
129 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
130 as TImode so we know when the "other" register is available.
132 2002-02-01 David O'Brien <obrien@FreeBSD.org>
134 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
137 2002-02-01 Janis Johnson <janis187@us.ibm.com>
139 * cfganal.c (keep_with_call_p): New function.
140 (flow_call_edges_add): Prevent splitting a block between a call and
141 a single-set instruction that should be kept in the same block.
143 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
145 * doc/install.texi (avr): Update outdated URL.
147 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
149 * config/stormy16/stormy16.md (pushqi): New.
153 (movhi): Remove stack operands.
155 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
156 nonimmediate_nonstack_operand.
157 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
159 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
162 2002-01-31 Jason Merrill <jason@redhat.com>
164 * Makefile.in (c-parse.c): Handle .output file.
165 * objc/Make-lang.in (objc-parse.c): Likewise.
167 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
169 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
170 the -me[lb] option is given. Don't output the default flag
173 2002-01-31 Zack Weinberg <zack@codesourcery.com>
175 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
176 the primary source file; this has not been done yet.
177 * c-decl.c (c_expand_body): Reset input_filename from
178 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
180 2002-01-31 Kazu Hirata <kazu@hxi.com>
182 * rtlanal.c (subreg_regno_offset): Do not use
184 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
185 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
187 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
189 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
190 version rather than GNATS version in --version output.
192 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
194 * ifcvt.c (noce_process_if_block): Make a copy of the destination
195 when copying back from a temporary.
197 2002-01-30 Richard Henderson <rth@redhat.com>
199 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
200 and new_dest are the same.
202 2002-01-30 Richard Henderson <rth@redhat.com>
205 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
206 * rtl.c (note_insn_name): Update.
207 * emit-rtl.c (remove_unnecessary_notes): Kill it.
208 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
209 to perform loop rotation.
210 (expand_exit_loop_top_cond): New.
211 * tree.h (expand_exit_loop_top_cond): Declare it.
212 * c-semantics.c (genrtl_while_stmt): Use it.
213 (genrtl_for_stmt): Likewise.
215 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
217 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
218 arguments to 64-bit boundaries on 64-bit ABIs.
220 2002-01-30 Steve Ellcey <sje@cup.hp.com>
222 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
224 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
226 * c-decl.c (grokdeclarator): Handle type being a typedef for an
229 2002-01-30 David O'Brien <obrien@FreeBSD.org>
231 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
232 * config/sparc/sparc_bi.h: Remove file.
233 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
235 2002-01-30 Richard Henderson <rth@redhat.com>
237 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
239 2002-01-30 Zack Weinberg <zack@codesourcery.com>
241 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
243 2002-01-30 Jason Merrill <jason@redhat.com>
245 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
246 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
247 (reg_save): Use DW_CFA_offset_extended_sf instead.
249 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
251 2002-01-29 Jakub Jelinek <jakub@redhat.com>
253 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
256 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
258 * rs6000.md ("*call_value_local32"): Remove constraints.
259 ("*call_value_local64"): Same.
260 ("*call_value_indirect_nonlocal_aix32"): Same.
261 ("*call_value_nonlocal_aix32"): Same.
262 ("*call_value_indirect_nonlocal_aix64"): Same.
263 ("*call_value_nonlocal_aix64"): Same.
264 ("*call_value_nonlocal_sysv"): Same.
266 2002-01-29 Richard Henderson <rth@redhat.com>
268 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
270 2002-01-29 Richard Henderson <rth@redhat.com>
272 * expr.c (force_operand): Ignore flag_pic for detecting pic
274 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
275 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
276 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
277 instead of open-coded loop.
278 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
279 be fixed when in use.
281 2002-01-29 Richard Henderson <rth@redhat.com>
283 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
284 * sched-rgn.c (propagate_deps): Update them.
285 * sched-deps.c (sched_analyze_insn): Update them. Flush the
286 clobbers list when either gets too long.
288 2002-01-29 Jakub Jelinek <jakub@redhat.com>
290 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
291 and INDEX_REGS the same as GENERAL_REGS.
292 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
294 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
296 * tree.c (build_nonstandard_integer_type): Correct prototype.
298 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
300 * config/s390/s390.md (movstrsico, movstrdix_64,
301 movstrsix_31): Remove, replace by ...
302 (movstrdi_short, movstrsi_short, movstrdi_long,
303 movstrsi_long): ... these. New.
304 (movstrdi, movstrsi): Adapt.
306 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
307 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
308 Remove unnecessary CC clobber.
309 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
310 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
312 (divmoddi4): Don't partially initialize TImode register.
314 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
316 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
318 2002-01-29 Richard Henderson <rth@redhat.com>
320 * flow.c (print_rtl_and_abort): Remove.
321 (print_rtl_and_abort_fcn): Remove.
322 (verify_local_live_at_start): Use dump_bb instead.
323 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
324 (verify_wide_reg_1): Return 2 on mode test failure.
326 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
328 PR c/3325, c/3326, c/2511, c/3347
329 * c-decl.c (enum_decl_context): Remove BITFIELD.
330 (grokdeclarator): Take bitfield width as an input.
331 Ensure bitfields are given the correct type. Perform
332 bitfield width validation with build_bitfield_integer_type
333 rather than waiting for finish_struct.
334 (grok_typename, grok_typename_in_parm_context, start_decl,
335 push_parmdecl, grokfield, start_function): Update calls to
337 (build_bitfield_integer_type): New function.
338 (finish_struct): Move bitfield validation to grokdeclarator
339 and build_bitfield_integer_type.
340 * tree.c (build_nonstandard_integer_type): New function.
341 * tree.h (build_nonstandard_integer_type): New prototype.
343 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
345 2002-01-29 Jakub Jelinek <jakub@redhat.com>
348 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
349 don't ignore unrecognized -W* options.
350 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
351 * cpplib.h (cpp_handle_option): Adjust prototype.
352 * c-decl.c (c_decode_options): Pass 0 as last argument to
356 * gcc.c (cpp_unique_options): Split from cpp_options.
357 (cpp_options): Source cpp_unique_options.
358 (default_compilers): Use cpp_unique_options instead of cpp_options
359 when used together with cc1_options.
360 (static_specs): Add cpp_unique_options.
361 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
362 when used together with cc1_options.
364 2002-01-29 Kazu Hirata <kazu@hxi.com>
366 * config/h8300/h8300-protos.h: Update the prototype of
368 * config/h8300/h8300.c (output_a_shift): Remove an unused
369 argument 'insn'. Remove redundant code.
370 * config/h8300/h8300.md: Adust to the new prototype of
373 2002-01-29 Kazu Hirata <kazu@hxi.com>
375 * config/h8300/h8300-protos.h: Update the prototypes of
376 emit_a_rotate and expand_a_rotate.
377 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
378 first argument to 'enum rtx_code'.
379 (expand_a_rotate): Likewise.
381 2002-01-28 Kazu Hirata <kazu@hxi.com>
383 * config/h8300/h8300-protos.h: Update the prototype of
385 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
387 * config/h8300/h8300.md: Adjust to the new prototype.
389 2002-01-28 Kazu Hirata <kazu@hxi.com>
391 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
394 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
396 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
397 is a fixed register before returning pic_offset_table_rtx.
398 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
399 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
401 2002-01-28 Jason Merrill <jason@redhat.com>
403 * dwarf2.h: Sync with src version.
405 2002-01-28 Paul Koning <pkoning@equallogic.com>
407 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
409 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
410 * doc/extend.texi (__builtin_prefetch): Update documentation:
411 first argument is now const void ptr.
413 2002-01-28 Kazu Hirata <kazu@hxi.com>
415 * config/h8300/h8300-protos.h: Remove an unused prototype.
417 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
419 * toplev.c (lang_independent_init): Round up identifier size.
421 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
423 * config.gcc: Revert previous change.
425 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
427 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
429 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
431 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
432 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
433 other non-elf netbsd config frags.
434 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
435 collect2 will does that.
436 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
437 shared-lib frobbing will work.
439 2002-01-28 Kazu Hirata <kazu@hxi.com>
441 * config/h8300/h8300.h: Fix formatting.
442 * config/h8300/h8300.md: Likewise.
444 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
446 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
447 the old, removed AAA_standards fix.
448 * fixinc/fixincl.x: Rebuilt.
450 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
452 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
453 atexit call in crtbegin, hooked in after call to frame_dummy;
454 register EH before registering __fini__start.
456 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
458 * config/rs6000/altivec.h: Remove spurious semicolons.
460 2002-01-27 Kazu Hirata <kazu@hxi.com>
462 * config/h8300/h8300.md: Replace dead bit extraction patterns
465 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
467 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
468 if not STRICT_ALIGNMENT.
469 * rtl.h (MEM_ALIGN): Likewise.
471 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
473 * doc/invoke.texi (-fdump-translation-unit): Revert this
474 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
476 2002-01-27 Kazu Hirata <kazu@hxi.com>
478 * config/h8300/h8300.md (define_constants): New.
479 (anonymous patterns) Use defined constants appropriately.
481 2002-01-27 Kazu Hirata <kazu@hxi.com>
483 * config/h8300/h8300.c (function_arg): Remove redundant code.
485 2002-01-26 Richard Henderson <rth@redhat.com>
487 * sched-deps.c (reg_pending_uses_head): New.
488 (reg_pending_barrier): Rename from reg_pending_sets_all.
489 (find_insn_list): Don't mark inline.
490 (find_insn_mem_list): Remove.
491 (add_dependence_list, add_dependence_list_and_free): New.
492 (flush_pending_lists): Replace only_write param with separate
493 for_read and for_write parameters. Update all callers. Use
494 add_dependence_list_and_free.
495 (sched_analyze_1): Do not add reg dependencies here; just set
496 the pending bits. Use add_dependence_list.
497 (sched_analyze_2): Likewise.
498 (sched_analyze_insn): Replace schedule_barrier_found with
499 reg_pending_barrier. Add all dependencies for pending reg
500 uses, sets, and clobbers.
501 (sched_analyze): Don't add reg dependencies for calls, just
502 set pending bits. Use regs_invalidated_by_call. Treat
503 sched_before_next_call as a normal list, not a fake insn.
504 (init_deps): No funny init for sched_before_next_call.
505 (free_deps): Free pending mems lists. Don't zero reg_last.
506 (init_deps_global): Init reg_pending_uses.
507 (finish_deps_global): Free it.
508 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
509 (find_insn_mem_list): Remove.
510 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
511 (propagate_deps): Use them. Zero temp mem lists.
513 2002-01-26 Richard Henderson <rth@redhat.com>
515 * Makefile.in (CRTSTUFF_CFLAGS): New.
516 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
517 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
518 crtstuff.c instead of alpha assembly version.
519 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
520 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
521 not FORCE_{INIT,FINI}_SECTION_ALIGN.
522 (__do_global_dtors_aux): Mark used.
523 (frame_dummy, __do_global_ctors_aux): Mark used.
524 (fini_dummy, init_dummy): Remove.
526 * config/alpha/crtbegin.asm: Remove file.
527 * config/alpha/crtend.asm: Remove file.
528 * config/alpha/t-crtbe: Remove file.
529 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
532 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
533 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
534 calling constructors.
535 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
537 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
538 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
539 CRT_END_INIT_DUMMY hack.
540 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
541 FORCE_{INIT,FINI}_SECTION_ALIGN.
543 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
544 FORCE_{INIT,FINI}_SECTION_ALIGN.
546 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
548 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
550 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
551 (FORCE_CODE_SECTION_ALIGN): New.
553 2002-01-26 Richard Henderson <rth@redhat.com>
555 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
557 2002-01-26 Richard Henderson <rth@redhat.com>
559 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
560 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
562 2002-01-26 Kazu Hirata <kazu@hxi.com>
564 * config/h8300/h8300.md: Remove bit extraction patterns that
566 Restrict each bit extraction pattern to a variant on which the
569 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
571 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
573 2002-01-26 Kazu Hirata <kazu@hxi.com>
575 * config/h8300/h8300.md: Remove bit test patterns that cannot
577 Restrict each bit test pattern to a variant on which the
580 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
582 * builtins.c (expand_builtin_strncat): Remove redundant check for
585 2002-01-25 David O'Brien <obrien@FreeBSD.org>
587 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
589 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
592 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
594 * dbxout.c (dbxout_init): Use assemble_name rather than just
595 stripping off the first character.
596 (dbxout_source_file): Likewise.
598 2002-01-25 DJ Delorie <dj@redhat.com>
600 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
601 using rtx_equal_p, not by comparing pointers.
603 2002-01-25 Steve Ellcey <sje@cup.hp.com>
605 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
606 for PIC_OFFSET_TABLE_REGNUM.
607 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
609 2002-01-25 David O'Brien <obrien@FreeBSD.org>
611 * config.gcc (x86_64-*-freebsd*): New target.
612 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
614 (i[34567]86-*-freebsd*): Don't include svr4.h.
615 * config/i386/freebsd64.h: New file.
617 2002-01-25 Douglas B Rupp <rupp@gnat.com>
619 * config/alpha/x-vms (version): Make static.
621 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
624 * Makefile.in (install-headers-cp): New target.
625 * config.gcc (alpha-dec-*vms*): Install headers with
628 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
630 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
633 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
635 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
637 (expand_builtin_strncat): Likewise.
638 * c-decl.c (finish_struct): Use tree_low_cst.
639 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
640 * tree.c (compare_tree_int): Likewise.
642 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
644 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
645 adjustments even if they are implemented by more than two insns.
647 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
649 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
650 * df.h (struct ref): Kill B.
651 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
653 * basic-block.h (PROP_EQUAL_NOTES): New flag.
654 * flow.c (propagate_one_insn): Use it.
655 (mark_used_regs): Handle NIL.
657 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
659 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
662 2002-01-25 David Edelsohn <edelsohn@gnu.org>
664 * rs6000.md (prefetch): Make address V4SI mode so that the address
665 is restricted to legitimate form for instruction.
667 2002-01-25 Bob Wilson <bob.wilson@acm.org>
669 * doc/install.texi (xtensa-*-elf): New target.
670 (xtensa-*-linux*): New target.
671 * doc/contrib.texi: Add myself.
673 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
675 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
676 purpose register to hold an SImode (or smaller) value.
678 2002-01-25 Jakub Jelinek <jakub@redhat.com>
680 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
682 * crtstuff.c: Likewise.
684 2002-01-25 Kazu Hirata <kazu@hxi.com>
686 * config/h8300/h8300.md (negation patterns): Tighten
687 predicates to register_operand.
689 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
691 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
694 * builtins.c (expand_builtin_prefetch): Same.
696 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
698 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
701 2002-01-24 Kazu Hirata <kazu@hxi.com>
703 * config/h8300/h8300.c (print_operand): Remove support for
704 operand character 'A'.
705 * config/h8300/h8300.md (three anonymous patterns): Replace
706 operand character 'A' with either 'T' or 'S'.
708 2002-01-24 Kazu Hirata <kazu@hxi.com>
710 * config/h8300/h8300.c (print_operand): Remove support for
711 operand character 'U'.
713 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
715 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
717 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
719 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
720 values to be assigned to the stack pointer.
722 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
724 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
725 to const_double needs to be done right for big-endian systems.
727 2002-01-24 Jason Merrill <jason@redhat.com>
730 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
731 to can_throw_internal.
733 2002-01-23 Richard Henderson <rth@redhat.com>
735 * fold-const.c (fold): Change UINT_MAX test to check vs precision
736 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
738 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
740 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
741 (symGOT2reg): Use them, then set as GOT value as unchanging.
742 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
743 as a temporary, if possible.
744 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
745 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
747 2002-01-23 Kazu Hirata <kazu@hxi.com>
749 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
750 accept to accept 0x80 as operands[2].
752 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
754 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
756 2002-01-23 Richard Henderson <rth@redhat.com>
758 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
760 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
762 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
763 (parmlist_or_identifiers_1): Verify that only a parmlist follows
766 2002-01-23 Richard Henderson <rth@redhat.com>
768 * expr.c (move_by_pieces_1): Extend size before negation.
770 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
771 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
772 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
773 * config/m68k/t-m68kelf: Likewise.
775 2002-01-23 Bob Wilson <bob.wilson@acm.org>
777 * config/xtensa/elf.h: New file.
778 * config/xtensa/lib1funcs.asm: New file.
779 * config/xtensa/lib2funcs.S: New file.
780 * config/xtensa/linux.h: New file.
781 * config/xtensa/t-xtensa: New file.
782 * config/xtensa/xtensa-config.h: New file.
783 * config/xtensa/xtensa-protos.h: New file.
784 * config/xtensa/xtensa.c: New file.
785 * config/xtensa/xtensa.h: New file.
786 * config/xtensa/xtensa.md: New file.
787 * config.gcc (xtensa-*-elf*): New target.
788 (xtensa-*-linux*): New target.
789 * cse.c (canon_hash): Compare rtx pointers instead of register
790 numbers. This is required for the Xtensa port.
791 * integrate.c (copy_insn_list): Handle case where the static
792 chain is in memory and the memory address has to be copied to
794 * doc/invoke.texi (Option Summary): Add Xtensa options.
795 (Xtensa Options): New node.
796 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
798 2002-01-23 Zack Weinberg <zack@codesourcery.com>
800 * diagnostic.c (internal_error): Do ICE suppression only
801 when ENABLE_CHECKING is not defined.
803 * c-typeck.c (require_complete_type): Return error_mark_node
804 if type is error_mark_node.
806 2002-01-23 Janis Johnson <janis187@us.ibm.com>
808 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
809 -Os and issue a warning.
811 2002-01-23 Zack Weinberg <zack@codesourcery.com>
813 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
814 current (lack of) need for host configuration by hand.
816 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
817 references. Documentation of some target macros moved from
818 hostconfig.texi to tm.texi.
820 2002-01-23 Will Cohen <wcohen@redhat.com>
822 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
825 2002-01-23 Kazu Hirata <kazu@hxi.com>
827 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
830 2002-01-23 Jason Merrill <jason@redhat.com>
832 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
834 * function.c (assign_parms): Don't put args of inline functions
835 into registers when not optimizing.
837 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
839 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
840 (prologue_use): New pattern.
841 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
842 preference to gen_rtx_USE.
843 (thumb_expand_prologue): Use gen_prologue_use in preference to
845 (thumb_expand_epilogue): Use gen_prologue_use in preference to
848 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
850 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
852 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
855 * doc/extend.texi: Correct documentation of __alignof__.
857 2002-01-22 Zack Weinberg <zack@codesourcery.com>
859 * params.h: Rename arguments of DEFPARAM so that it will be
860 recognized as a translation keyword.
862 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
864 * extend.texi: Document altivec functions.
865 Fix N-bit adjectives in X86 builtin documentation.
867 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
869 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
872 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
874 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
876 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
878 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
880 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
882 2002-01-22 Richard Henderson <rth@redhat.com>
884 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
885 copy_insn not copy_rtx.
887 2002-01-23 Alan Modra <amodra@bigpond.net.au>
889 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
890 "nonzero" as that might add "1" bits. Ensure "constop" is
891 properly sign extened.
892 (force_to_mode): Tweak for sign extended constop.
894 2002-01-22 Richard Henderson <rth@redhat.com>
896 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
897 for_each_rtx instead of assuming we're already looking at the MEM.
898 (split_small_symbolic_mem_operand): Likewise.
899 * config/alpha/alpha.h (PREDICATE_CODES): Update.
900 * config/alpha/alpha.md (small symbolic memory splitters): Update.
902 2002-01-22 Richard Henderson <rth@redhat.com>
904 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
905 sequence number for the literal.
906 (divmoddi_internal_er): Likewise.
908 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
911 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
912 in LIBICONV variable.
913 * configure: Regenerated.
915 2002-01-22 Krister Walfridsson <cato@df.lth.se>
917 * dependence.c (build_def_use): Remove array_idx.
919 * dwarfout.c (last_filename): Remove.
920 (output_compile_unit_die): Remove last_filename.
922 2002-01-22 Roger Sayle <roger@eyesopen.com>
923 Richard Henderson <rth@redhat.com>
926 * fold-const.c (fold): Optimize unsigned comparisons against
927 UINT_MAX (and similar unsigned constants).
929 2002-01-22 Janis Johnson <janis187@us.ibm.com>
931 * Makefile.in (loop.o): Depend on OPTABS_H.
932 * loop.c (emit_prefetch_instructions): Check the prefetch operand
933 against the predicate.
936 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
937 for the address operand.
939 2002-01-22 Richard Henderson <rth@redhat.com>
941 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
943 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
946 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
949 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
951 * config.gcc (x86_64-*-netbsd*): New target.
952 * config/i386/netbsd64.h: New file.
954 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
956 * regrename.c (kill_value): Fix typo.
958 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
960 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
962 * config/rs6000/rs6000.h: Same.
964 * function.c (instantiate_virtual_regs): Remove
965 STARTING_FRAME_PHASE.
966 (assign_stack_local_1): Same.
967 Calculate frame phase.
969 2002-01-22 Nick Clifton <nickc@redhat.com>
971 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
972 variable declaration to outer scope in order to simplify
974 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
975 arm_hard_regno_mode_ok.
976 * config/arm/arm-protos.h: Add a prototype for
977 arm_hard_regno_mode_ok.
978 * config/arm/arm.c (soft_df_operand): Remove now redundant
979 check for DImode values using IP_REGNUM.
980 (nonimmediate_soft_df_operand): Remove now redundant check for
981 DImode values using IP_REGNUM.
982 (arm_hard_regno_mode_ok): New function. New check: make sure
983 that DImode values are not stored in IP_REGNUM.
985 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
987 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
989 2002-01-22 Jason Merrill <jason@redhat.com>
991 * c-semantics.c (genrtl_compound_stmt): Only check nesting
992 consistency if this COMPOUND_STMT is scoped.
994 2002-01-22 Kazu Hirata <kazu@hxi.com>
996 * predict.c: Fix formatting.
997 * print-tree.c: Likewise.
998 * protoize.c: Likewise.
1001 * sbitmap.h: Likewise.
1003 * sched-deps.c: Likewise.
1004 * sched-vis.c: Likewise.
1005 * sdbout.c: Likewise.
1006 * sibcall.c: Likewise.
1008 * ssa-ccp.c: Likewise.
1009 * ssa-dce.c: Likewise.
1011 * stor-layout.c: Likewise.
1012 * system.h: Likewise.
1014 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1016 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
1017 if fits in bounds of base type.
1019 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
1020 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
1021 (add_bound_info, default): If can't find a context, make a
1023 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
1025 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
1027 * c-typeck.c (parser_build_binary_op): If result from
1028 build_binary_op is ERROR_MARK just return error_mark_node without
1031 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1033 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
1034 Split a.out-specific bits into...
1035 * config/netbsd-aout.h: ...this.
1036 * config/netbsd-elf.h: New file.
1037 * config/alpha/netbsd-elf.h: Remove.
1038 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
1039 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
1040 (STARTFILE_SPEC): Remove redundant definition.
1041 (ENDFILE_SPEC): Likewise.
1042 (LINK_SPEC): Likewise.
1043 (CPP_SPEC): Likewise.
1044 (ASM_SPEC): Likewise.
1045 (LIB_SPEC): Likewise.
1046 (SWITCH_TAKES_ARG): Likewise.
1047 (TARGET_MEM_FUNCTIONS): Likewise.
1048 (CPP_PREDEFINES): Redefine.
1049 (ASM_FINAL_SPEC): Remove redefinition.
1050 (ASM_COMMENT_START): Redefine.
1051 (FUNCTION_PROFILER): Define.
1052 (TARGET_VERSION): Redefine.
1053 Comment and formatting cleanup.
1054 * config/i386/netbsd.h: Include <netbsd-aout.h>.
1055 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
1056 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
1057 big- or little-endian.
1058 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
1059 * config.gcc (*-*-netbsd*): Add definitions common to all
1061 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
1062 gnu_ld definitions. Add netbsd-elf.h to and remove
1063 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
1064 tmake_file, and don't lose previous tmake_file contents.
1065 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
1066 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
1067 gnu_ld definitions. Add netbsd-elf.h to tm_file.
1068 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
1069 (mipsel-*-netbsd*): Rename this to...
1070 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
1071 mips/little.h to tm_file for mips*el-*.
1072 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
1073 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
1074 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
1076 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1078 * pa-protos.h (reg_before_reload_operand): New function prototype.
1079 * pa.c (reg_before_reload_operand): New function implementation.
1080 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
1083 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1085 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
1087 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1089 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
1090 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
1091 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
1092 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
1093 (ENDFILE_SPEC): Undefine.
1094 (STARTFILE_SPEC): Redefine for PA.
1096 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1098 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
1100 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
1102 * config.gcc: Add entries to supported PowerPC --with-cpu
1105 2002-01-21 Jakub Jelinek <jakub@redhat.com>
1107 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
1108 true for 64-bit mode only SSE registers in 32-bit mode.
1110 2002-01-21 Kazu Hirata <kazu@hxi.com>
1112 * unwind-dw2.c: Fix formatting.
1113 * unwind-dw2-fde.c: Likewise.
1114 * unwind-dw2-fde.h: Likewise.
1115 * unwind-pe.h: Likewise.
1116 * varasm.c: Likewise.
1117 * varray.h: Likewise.
1119 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
1121 Remove workaround for register stack overwrite bug in mmix.
1122 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
1123 support for TARGET_REG_STACK_FILL_BUG.
1124 * config/mmix/mmix.h: Remove member has_call_without_parameters.
1125 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
1127 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
1128 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
1129 -mno-reg-stack-fill-bug-workaround.
1130 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
1131 machine member has_call_without_parameters.
1132 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
1133 -mreg-stack-fill-bug-workaround and
1134 -mno-reg-stack-fill-bug-workaround.
1135 (MMIX Options): Ditto.
1137 2002-01-21 Kazu Hirata <kazu@hxi.com>
1139 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
1141 Remove redundant code.
1143 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
1145 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
1146 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1147 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1148 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
1149 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
1150 out target macro definitions and non-target-specific comments
1151 mostly taken from old versions of the manual.
1153 2002-01-20 Kazu Hirata <kazu@hxi.com>
1155 * config/h8300/h8300.h: Fix comment formatting.
1156 * config/ia64/aix.h: Likewise.
1157 * config/ia64/ia64-protos.h: Likewise.
1158 * config/ia64/ia64.c: Likewise.
1159 * config/ia64/ia64.h: Likewise.
1160 * config/ia64/ia64intrin.h: Likewise.
1161 * config/ia64/linux.h: Likewise.
1162 * config/ia64/unwind-aix.c: Likewise.
1163 * config/ia64/unwind-ia64.c: Likewise.
1165 2002-01-20 Kazu Hirata <kazu@hxi.com>
1167 * config/h8300/h8300.c: Revise comments about shift code.
1169 2002-01-20 Kazu Hirata <kazu@hxi.com>
1171 * config/h8300/h8300.c (function_arg): Update a comment.
1173 2002-01-20 Kazu Hirata <kazu@hxi.com>
1175 * config/h8300/h8300.md: Update the comments at the beginning
1178 2002-01-20 Kazu Hirata <kazu@hxi.com>
1180 * config/i370/i370.c: Fix comment formatting.
1181 * config/i370/i370.h: Likewise.
1182 * config/i370/i370.md: Likewise.
1183 * config/i370/linux.h: Likewise.
1185 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1187 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
1189 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
1190 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
1193 2002-01-20 Graham Stott <grahams@redhat.com>
1195 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
1197 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1199 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
1201 2002-01-19 Tom Rix <trix@redhat.com>
1203 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
1205 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
1207 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1209 * function.c (assign_stack_local_1): Adjust x_frame_offset with
1210 STARTING_FRAME_PHASE.
1211 (STARTING_FRAME_PHASE): New.
1212 (instantiate_virtual_regs): Check saneness of
1213 STARTING_FRAME_PHASE.
1215 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1217 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1219 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
1221 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1223 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
1224 be used for bootstrapping GCC 3.0.
1226 2002-01-18 Kazu Hirata <kazu@hxi.com>
1228 * config/h8300/h8300.md: Fix an insn length.
1230 2002-01-18 Kazu Hirata <kazu@hxi.com>
1232 * bitmap.h: Fix comment formatting.
1233 * combine.c: Likewise.
1234 * cppfiles.c: Likewise.
1235 * c-pragma.h: Likewise.
1236 * c-typeck.c: Likewise.
1238 * dwarf2out.c: Likewise.
1239 * function.c: Likewise.
1241 * genattrtab.c: Likewise.
1242 * gthr-win32.h: Likewise.
1243 * haifa-sched.c: Likewise.
1244 * predict.c: Likewise.
1245 * rtlanal.c: Likewise.
1247 * unwind-dw2-fde.h: Likewise.
1248 * unwind-pe.h: Likewise.
1249 * vmsdbgout.c: Likewise.
1251 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1253 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
1254 if type_required and passed decl.
1256 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
1258 * config.gcc (cpu_type): Include altivec.h in powerpc
1262 * config/rs6000/altivec.h: New.
1264 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1266 * doc/install.texi (*-ibm-aix*): Update assembler and exception
1267 handling information.
1268 * doc/trouble.texi (Interoperation): Add libstdc++ information
1270 (Misunderstandings): Add template instantiation and static template
1271 member information for AIX.
1273 2002-01-17 Jason Merrill <jason@redhat.com>
1275 * dbxout.c (dbxout_type): Support const and volatile.
1277 * except.c (add_partial_entry): Remove backwards compatibility code.
1278 (end_protect_partials): Likewise.
1280 2002-01-17 Jakub Jelinek <jakub@redhat.com>
1282 * config/ia64/ia64.md (prologue_use): New.
1283 * config/ia64/ia64.c (ia64_expand_prologue): Use
1284 gen_prologue_use instead of gen_rtx_USE.
1285 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1286 as CODE_FOR_pred_rel_mutex.
1287 (ia64_sched_reorder2): Likewise.
1289 2002-01-16 Eric Christopher <echristo@redhat.com>
1291 * config/mips/r3900.h: Reformat.
1292 (SUBTARGET_CPP_SIZE_SPEC): Remove.
1293 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1294 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1295 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1296 * config/mips/t-elf: Remove mips3 multilib.
1298 2002-01-16 H.J. Lu <hjl@gnu.org>
1300 * config/mips/linux.h: Include "mips/abi64.h".
1302 2002-01-16 H.J. Lu <hjl@gnu.org>
1304 * config/mips/t-linux: New.
1306 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1308 * config/mips/linux.h: Don't include "gofast.h".
1309 (INIT_SUBTARGET_OPTABS): Removed.
1311 2002-01-16 Kazu Hirata <kazu@hxi.com>
1313 * config/h8300/h8300-protos.h: Replace emit_a_shift with
1315 * config/h8300/h8300.c: Likewise.
1316 * config/h8300/h8300.md: Likewise.
1318 2002-01-16 Kazu Hirata <kazu@hxi.com>
1320 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1321 spaces after an opcode name.
1322 (pushqi1_h8300hs): Likewise.
1323 (pushhi1_h8300hs): Likewise.
1325 2002-01-16 Kazu Hirata <kazu@hxi.com>
1327 * doc/extend.texi: Replace "option" with "attribute"
1330 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1332 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1333 (and:DI () (const_int -8)).
1334 (split_small_symbolic_mem_operand): Split
1335 (mem (and:DI () (const_int -8)).
1337 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1340 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1341 same way as TYPE_IMUL.
1342 (ultrasparc_sched_reorder): Likewise.
1343 * config/sparc/sparc.md (type): Add comment to update
1344 ultrasparc_sched_reorder when making changes.
1346 2002-01-16 Kazu Hirata <kazu@hxi.com>
1348 * doc/invoke.texi: Change the dump file name of block
1349 reordering pass from 28.bbro to 29.bbro.
1352 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1354 * i386.md (minsf splitter): Fix pasto.
1356 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1358 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1359 to frame pointer initialisation instruction.
1360 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1361 initialisation instruction.
1362 (soft_df_operand): Do not accept the IP register.
1363 (nonimmediate_soft_df_operand): Do not accept the IP register.
1365 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1368 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1369 MASK_V8 being both set.
1371 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1373 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1374 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1375 config/s390/s390.md (call, call_value): Add GOT register to
1376 CALL_INSN_FUNCTION_USAGE where needed.
1377 (call_exp, call_value_exp): New.
1379 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1381 * config/arm/arm.c: General formatting tidy up.
1383 2002-01-16 Graham Stott <grahams@redhat.com>
1385 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1386 cast and when casting an integer literal to "rtx" pointer.
1387 (expand_call): Likewise.
1388 * flow.c (try_pre_increment): Likewise.
1389 (find_use_as_address): Likewise.
1390 * integrate.c (expand_iline_function): Likewise.
1391 * regmove.c (try_auto_increment): Likewise.
1393 2002-01-16 Graham Stott <grahams@redhat.com>
1395 * sched-rgn.c (passed): Use sbitmap_free.
1398 (in_queue): Likewise.
1399 (in_stack): Likewise.
1401 2002-01-15 Eric Christopher <echristo@redhat.com>
1403 * flow.c (propagate_one_insn): Change to use fatal_insn.
1405 2002-01-15 Kazu Hirata <kazu@hxi.com>
1407 * expmed.c (extract_fixed_bit_field): Remove unused code.
1408 * system.h: Poison SLOW_ZERO_EXTEND.
1409 * doc/tm.texi: Remove.
1410 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1411 * config/arm/arm.h: Likewise.
1412 * config/avr/avr.h: Likewise.
1413 * config/clipper/clipper.h: Likewise.
1414 * config/convex/convex.h: Likewise.
1415 * config/d30v/d30v.h: Likewise.
1416 * config/dsp16xx/dsp16xx.h: Likewise.
1417 * config/elxsi/elxsi.h: Likewise.
1418 * config/fr30/fr30.h: Likewise.
1419 * config/h8300/h8300.h: Likewise.
1420 * config/i370/i370.h: Likewise.
1421 * config/i386/i386.h: Likewise.
1422 * config/m68k/m68k.h: Likewise.
1423 * config/mips/mips.h: Likewise.
1424 * config/ns32k/ns32k.h: Likewise.
1425 * config/pdp11/pdp11.h: Likewise.
1426 * config/pj/pj.h: Likewise.
1427 * config/s390/s390.h: Likewise.
1428 * config/sh/sh.h: Likewise.
1429 * config/stormy16/stormy16.h: Likewise.
1430 * config/v850/v850.h: Likewise.
1431 * config/vax/vax.h: Likewise.
1432 * config/we32k/we32k.h: Likewise.
1434 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1436 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1437 (altivec_lvsl): Change constraint to b.
1438 (altivec_lvsr): Same.
1439 (altivec_lvebx): Same.
1440 (altivec_lvehx): Same.
1441 (altivec_lvewx): Same.
1442 (altivec_lvxl): Same.
1443 (altivec_lvx): Same.
1444 (altivec_stvx): Add parallel.
1445 (altivec_stvxl): Same.
1446 (altivec_stvehx): Same.
1447 (altivec_stvebx): Same.
1448 (altivec_stvebx): Same.
1450 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1452 * config.gcc: Change altivec.h to altivec-defs.h.
1454 * config/rs6000/altivec.h: Delete.
1456 * config/rs6000/altivec-defs.h: Add.
1458 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1460 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1463 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1464 less than or equal to eight bytes.
1466 * vax.md (andsi3): Remove constraints and change SET destination
1467 operand type to nonimmediate_operand.
1468 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1469 when it is a CONST_INT.
1471 2002-01-15 Jason Merrill <jason@redhat.com>
1473 * c-common.def (FILE_STMT): New code.
1474 * c-common.c (statement_code_p): It's a statement.
1475 * c-common.h (stmt_tree_s): Add x_last_filename.
1476 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1477 (last_expr_filename): New macro.
1478 * c-semantics.c (begin_stmt_tree): Initialize it.
1479 (add_stmt): If the filename changed, also insert a
1481 (expand_stmt): Handle seeing one.
1483 2002-01-15 Eric Christopher <echristo@redhat.com>
1485 * flow.c (propagate_one_insn): Add error message and print out
1488 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1490 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1491 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1492 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1493 TRAMPOLINE_ALIGNMENT.
1494 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1496 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1497 PCC_BITFIELD_TYPE_MATTERS.
1498 * config/interix.h (STDC_VALUE): Remove. Use
1499 STDC_0_IN_SYSTEM_HEADERS.
1500 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1501 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1502 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1504 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1506 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1507 not work on this platform currently.
1509 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1511 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1512 readonly_warning in _().
1514 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1516 * gcc.c (delete_if_ordinary): Backout previous change.
1518 2002-01-15 Kazu Hirata <kazu@hxi.com>
1520 * config/h8300/h8300.c (print_operand): Remove support for
1521 unused operand characters.
1523 * read-rtl.c: Fix formatting.
1525 * recog.c: Likewise.
1526 * regclass.c: Likewise.
1527 * regmove.c: Likewise.
1528 * reg-stack.c: Likewise.
1529 * reload1.c: Likewise.
1530 * rtlanal.c: Likewise.
1532 2002-01-15 Kazu Hirata <kazu@hxi.com>
1534 * config/i386/i386.c: Fix formatting.
1536 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1538 * c-typeck.c (process_init_element): Don't save_expr
1539 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1541 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1543 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1544 emit optional traceback table if optimize_size or TARGET_ELF.
1545 * config/rs6000/rs6000.md (prefetch): New.
1547 2002-01-15 Andreas Jaeger <aj@suse.de>
1549 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1551 2002-01-15 Kazu Hirata <kazu@hxi.com>
1553 * mips-tfile.c: Fix formatting.
1555 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1557 * unroll.c (final_reg_note_copy): Fix previous commit.
1559 2002-01-14 Kazu Hirata <kazu@hxi.com>
1561 * config/h8300/h8300-protos.h: Remove the prototype for
1563 * config/h8300/h8300.c (eq_operator): Remove.
1565 2002-01-14 Richard Henderson <rth@redhat.com>
1567 * config/i386/i386.md (prefetch): Tidy.
1568 (prefetch_3dnow): Fix locality operand.
1570 2002-01-14 Richard Henderson <rth@redhat.com>
1572 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1573 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1575 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1577 * reload1.c (reload_combine): Pass reg_sum replacement through
1578 copy_rtx in loop performing multiple changes.
1580 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1582 * except.c (remove_unreachable_regions): New.
1583 (free_eh_status): Clear exception_handler_labels.
1584 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1585 (find_exception_handler_labels): Don't add the same label more than
1587 (remove_exception_handler_label): Don't die if
1588 find_exception_handler_labels hasn't been called for the current
1591 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
1593 * toplev.c (rest_of_compilation): Rebuild jump labels after
1596 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1598 * doc/extend.texi: Move documentation of X86 built-in functions
1600 * doc/invoke.texi: From here.
1601 * doc/sourcebuild.texi: Document location of documentation for
1602 machine built-in functions.
1604 2002-01-13 Christopher Faylor <cgf@redhat.com>
1606 * cppfiles.c (TEST_THRESHOLD): New macro.
1607 (SHOULD_MMAP): Ditto.
1608 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1611 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
1613 * unroll.c (final_reg_note_copy): Properly handle
1615 (unroll_loops): Fix LOOP_CONDITION heuristics.
1617 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
1619 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1620 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1622 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
1624 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1627 2002-01-14 Tom Rix <trix@redhat.com>
1629 * config/rs6000/rs6000.md: Fix typo with sradi.
1631 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
1633 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1634 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1635 (clrstrdi, clrstrsi): Adapt callers.
1637 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1639 (movti splitter): Never use register 0 as base register.
1641 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1643 * combine.c (simplify_shift_const): Always generate new rtx
1644 for shift expression instead of reusing given expression.
1646 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1648 * config/alpha/alpha.c (alpha_expand_mov): Don't call
1649 alpha_legitimize_address unless mode is Pmode.
1651 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
1653 * doc/md.texi (Modifiers): Document the '*' constraint for the
1656 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1657 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1660 2002-01-13 Richard Henderson <rth@redhat.com>
1662 * reload.c (find_reloads): Use a hard reg destination as reload reg
1663 for an input reload of the source.
1665 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1667 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1670 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1672 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1673 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1675 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1677 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1679 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1681 2002-01-12 Tom Rix <trix@redhat.com>
1683 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1686 2002-01-12 Richard Henderson <rth@redhat.com>
1688 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1690 * doc/invoke.texi: Update Alpha options.
1692 * doc/invoke.texi: Update i386 built-in function lists.
1694 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1696 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1697 referencing outside.
1699 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1701 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1702 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1703 offsets, and change line folding.
1704 * optabs.c (expand_binop): Remove warnings.
1705 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1707 2002-01-12 Graham Stott <grahams@redhat.com>
1709 * attribs.c (handle_deprecated_attribute): constify WHAT.
1710 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1711 dangling else warning and constify WHAT.
1712 * except.h (struct function, struct inline_remap): Move
1713 struct tag forward defs before all prototypes.
1714 (duplicate_eh_regions): Whitespace.
1716 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1718 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1719 MODE_BASE_REG_CLASS.
1720 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1722 2002-01-12 Richard Henderson <rth@redhat.com>
1724 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1725 (ix86_expand_vector_move): New.
1726 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1727 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1728 Remove old prefetch builtins. Special case the logicals removed above.
1729 (ix86_expand_builtin): Likewise.
1730 (safe_vector_operand): Use V4SFmode, not TImode.
1731 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1732 (ix86_expand_timode_binop_builtin): New.
1733 * config/i386/i386-protos.h: Update.
1734 * config/i386/i386.h (enum ix86_builtins): Update.
1735 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1736 Use ix86_expand_vector_move in vector move expanders.
1737 (movti_internal, movti_rex64): Add xorps alternative.
1738 (sse_clrv4sf): Rename and adjust from sse_clrti.
1739 (prefetch): Don't work so hard.
1740 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1741 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1742 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1744 2002-01-11 Richard Henderson <rth@redhat.com>
1746 * config/i386/mmintrin.h: New file.
1747 * config/i386/xmmintrin.h: New file.
1748 * config.gcc (i?86-*-*): Add extra_headers.
1749 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1751 (simplify_binary_operation): Handle saturating arithmetic codes.
1752 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1753 not the lowpart subreg.
1754 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1756 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1758 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1760 * conflict.c (conflict_graph_compute): Free regsets when finished.
1761 * ssa.c (compute_coalesced_reg_partition): Likewise.
1763 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1765 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1766 every where we allocate a register.
1768 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1770 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1771 * lcm.c (compute_earliest, compute_farthest): Likewise.
1773 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1775 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1777 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1779 * doc/rtl.texi (Insns): Fix 2 typos.
1781 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1783 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1784 options. Use @table @gcctabopt for MMIX options. Add index
1785 entries for MMIX options. Start new paragraph with first
1786 heading of the machine-dependent options.
1788 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1791 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1792 * combine.c (force_to_mode): Same.
1793 * reload1.c (clear_reload_reg_in_use): Same.
1795 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1797 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1800 2002-01-11 Andreas Jaeger <aj@suse.de>,
1801 Brad Lucier <lucier@math.purdue.edu>
1803 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1806 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1808 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1809 Protect with IN_LIBGCC.
1810 (LINK_EH_SPEC): Add required trailing space.
1812 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1814 * c-tree.h: Move function declarations so that they are listed
1815 under the filename which contains them.
1816 (check_identifier, finish_decl_top_level,
1817 lookup_name_current_level_global, shadow_record_fields): Remove.
1819 2002-01-11 Andreas Jaeger <aj@suse.de>
1821 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1824 2002-01-10 Richard Henderson <rth@redhat.com>
1826 * config/alpha/alpha.c (print_operand): Add 'J'.
1827 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1828 new operand with the sequence number for the lituse. When splitting
1829 the insns, use gen_movdi_er_high_g and generate a sequence number.
1830 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1832 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1834 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1835 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1837 (altivec_expand_builtin): Same.
1838 (altivec_expand_stv_builtin): New.
1840 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1842 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1843 ("altivec_lvehx"): New.
1844 ("altivec_lvewx"): New.
1845 ("altivec_lvxl"): New.
1846 ("altivec_lvx"): New.
1847 ("altivec_stvx"): New.
1848 ("altivec_stvebx"): New.
1849 ("altivec_stvehx"): New.
1850 ("altivec_stvewx"): New.
1851 ("altivec_stvxl"): New.
1853 2002-01-10 Richard Henderson <rth@redhat.com>
1855 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1856 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1857 care not to delete instructions twice.
1859 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1861 * toplev.c: Don't declare environ (it's not used anywhere).
1862 * configure.in: Don't check for declaration of environ.
1863 * config/i386/xm-mingw32.h: Don't #define environ.
1864 * config.in, configure: Regenerate.
1866 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1868 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1869 * configure: Regenerate.
1871 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1872 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1873 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1875 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1876 LIMITS_H_TEST here, not in m68k/x-next.
1877 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1878 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1880 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1881 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1882 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1884 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1885 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1886 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1887 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1888 replacement of quadlib.asm with quadlib.c.
1890 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1891 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1892 config/rs6000/xm-beos.h: Delete file.
1894 * config.gcc: Update to match above changes.
1896 2002-01-10 Kazu Hirata <kazu@hxi.com>
1898 * config/h8300/h8300.h: Fix comment typos.
1899 * config/h8300/h8300.md: Likewise.
1900 * config/h8300/lib1funcs.asm: Likewise.
1902 2002-01-10 Dale Johannesen <dalej@apple.com>
1904 PR optimization/5269
1905 * unroll.c (precondition_loop_p): Make *increment be the correct
1906 sign when n_iterations known, to avoid confusing caller.
1908 2002-01-10 Kazu Hirata <kazu@hxi.com>
1910 * doc/extend.texi (deprecated): Fix a typo.
1912 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1914 * basic-block.h (update_br_prob_note): Declare.
1915 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1916 (try_forward_edges): Care negative frequencies and update note.
1917 (outgoing_edges_match): Tweek conditional merging heuristics.
1918 (try_crossjump_to_edge): use update_br_prob_note.
1919 * cfglayout.c (fixup_reorder_chain): Likewise.
1920 * cfrtl.c (update_br_prob_note): New.
1921 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1923 * i386.c (ix86_decompose_address): Return -1 if address contains
1925 (legitimate_address_p): Require ix86_decompose_address to return 1.
1927 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1928 (cprop_insn): Likewise.
1930 2002-01-10 Kazu Hirata <kazu@hxi.com>
1932 * toplev.c: Fix formatting.
1934 * tree-dump.c: Likewise.
1935 * unroll.c: Likewise.
1936 * unwind-dw2.c: Likewise.
1937 * unwind-dw2-fde.c: Likewise.
1938 * unwind-dw2-fde-glibc.c: Likewise.
1939 * unwind-sjlj.c: Likewise.
1941 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1943 * doc/invoke.texi: Document PDP-11 options.
1945 2002-01-10 Kazu Hirata <kazu@hxi.com>
1947 * config/h8300/h8300.h: Fix formatting.
1949 2002-01-10 Ira Ruben <ira@apple.com>
1951 Add __attribute__ ((deprecated)).
1952 * extend.texi: Document __attribute__ ((deprecated)).
1953 * invoke.texi: Document -Wno-deprecated-declarations.
1954 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1955 * testsuite/gcc.dg/deprecated.c: New C test.
1956 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1957 (c_common_attribute_table): Add "deprecated" entry.
1958 (handle_deprecated_attribute): New function.
1959 * c-decl.c (deprecated_states): New enum.
1960 deprecated_state: State of "deprecated" handling.
1961 (start_decl): Set deprecated_state based on attributes.
1962 (grokdeclarator): Test for deprecated uses, propagate attribute.
1963 * c-typeck.c (build_component_ref): Test for deprecated fields.
1964 (build_external_ref): Test for deprecated primaries.
1965 * diagnostic.c (warn_deprecated_use) New function to issue
1966 warnings about __attribute__ ((depricated)) references.
1967 * flags.h (warn_deprecated_decl): Extern declared for
1968 -W[no-]deprecated-declarations option.
1969 * print-tree.c (print_node): Show deprecated flag status.
1970 * toplev.c (warn_deprecated_decl): Defined.
1971 (W_options): Added "deprecated-declaration".
1972 * toplev.h (warn_deprecated_use): Extern declared.
1973 * tree.h (struct tree_common): Define deprecated_flag.
1974 (TREE_DEPRECATED): New macro to access flag.
1975 * cp/call.c (build_call): Test for deprecated calls.
1976 * cp/class.c (add_implicitly_declared_members): Set global
1977 flag to tell grokdeclarator to not issue deprecated warnings.
1978 * cp/cp-tree.h: Add extern for adding_implicit_members.
1979 * cp/decl.c (deprecated_states): New enum.
1980 (start_decl): Set deprecated_state based on attributes.
1981 (grokdeclarator): Test for deprecated uses, propagate attribute.
1982 * cp/lex.c (do_identifier): Test for deprecated primaries.
1983 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1985 2002-01-10 Ira Ruben <ira@apple.com>
1987 Fix to assign attributes to inline member functions.
1988 * cp/decl.c (start_method): Handle attrlist.
1990 2002-01-10 Kazu Hirata <kazu@hxi.com>
1992 * combine.c (expand_field_assignment): Use subreg_lsb().
1994 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1996 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1997 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1998 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1999 Recurse for any operand of AND as long as constant is non-zero.
2001 2002-01-10 Kazu Hirata <kazu@hxi.com>
2003 * config/h8300/h8300.md: Remove constraints from expanders.
2005 2002-01-10 Kazu Hirata <kazu@hxi.com>
2007 * varasm.c: Fix formatting.
2008 * varray.c: Likewise.
2009 * vmsdbgout.c: Likewise.
2010 * xcoffout.c: Likewise.
2012 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
2014 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
2015 update edge probabilities to match.
2017 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2019 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
2021 * doc/languages.texi, doc/sourcebuild.texi: New files.
2022 * doc/configfiles.texi: Make a subsubsection. Update.
2023 * doc/configterms.texi: Add @node. Remove warning that this isn't
2024 instructions for building GCC.
2025 * doc/makefile.texi: Make a subsection.
2026 * doc/gccint.texi: Update.
2028 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
2030 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
2032 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2034 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
2036 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
2038 * optabs.c (expand_fix): Look for wider integer modes first.
2040 * i386.md (mov?f): Avoid the fake const double trick for medium
2042 (min?f*/max?f*): Prohibit memory operands for i387 variant.
2043 (fop_df_4): Disable for SSE compilation.
2045 2002-01-10 Graham Stott <grahams@redhat.com>
2047 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
2048 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
2050 2002-01-10 Richard Henderson <rth@redhat.com>
2052 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
2054 2002-01-10 Richard Henderson <rth@redhat.com>
2056 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
2057 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
2059 2002-01-10 Kazu Hirata <kazu@hxi.com>
2061 * combine.c (can_combine_p): Fix a comment typo.
2063 2002-01-09 Zack Weinberg <zack@codesourcery.com>
2065 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
2066 empty list correctly. Change loop index $t to $f for
2067 consistency with rest of Makefile.
2069 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
2071 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
2072 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2074 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
2075 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
2076 (altivec_init_builtins): Same.
2077 (altivec_expand_unop_builtin): Return NULL_RTX on error.
2078 (altivec_expand_binop_builtin): Same.
2079 (altivec_expand_ternop_builtin): Same.
2082 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
2083 ("altivec_vctuxs"): Fix typo.
2084 ("altivec_vnmsubfp"): Same.
2085 ("altivec_dssall"): New.
2086 ("altivec_mfvscr"): New.
2087 ("altivec_dss"): New.
2088 ("altivec_lvsl"): New.
2089 ("altivec_lvsr"): New.
2090 ("altivec_dstt"): New.
2091 ("altivec_dstst"): New.
2092 ("altivec_dststt"): New.
2093 ("altivec_dst"): New.
2095 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
2096 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2098 2002-01-09 Richard Henderson <rth@redhat.com>
2100 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
2102 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
2104 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
2106 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
2108 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
2110 2002-01-09 Kazu Hirata <kazu@hxi.com>
2112 * read-rtl.c: Fix formatting.
2114 * regclass.c: Likewise.
2115 * regrename.c: Likewise.
2116 * reg-stack.c: Likewise.
2117 * reload1.c: Likewise.
2118 * reload.c: Likewise.
2121 2002-01-09 Kazu Hirata <kazu@hxi.com>
2123 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
2124 to extract items in the expr_list chain.
2126 2002-01-09 Richard Henderson <rth@redhat.com>
2128 * config/vax/vax.c (vax_rtx_cost): Never abort.
2130 * config/vax/vax.h (REAL_ARITHMETIC): Define.
2132 2002-01-09 Jan Hubicka <jh@suse.cz>
2134 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
2136 2002-01-09 Richard Henderson <rth@redhat.com>
2138 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
2139 Unify code from various alternatives.
2141 2002-01-09 Richard Henderson <rth@redhat.com>
2143 * regrename.c (copy_value): Ignore the copy if the source register
2144 is present in the value chain with a narrower mode.
2146 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2148 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
2149 for the c4x target. Also improve layout.
2151 2002-01-09 Richard Henderson <rth@redhat.com>
2153 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
2154 * config/m32r/m32r.md (and ior xor splitters): Swap operands
2155 to match insn patterns.
2157 2002-01-09 Richard Henderson <rth@redhat.com>
2159 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
2160 (copyprop_hardreg_forward_1): Likewise.
2162 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2164 * pa.md (decrement_and_branch_until_zero): Change predicate for
2165 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
2167 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2169 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
2170 gets undefined. For Darwin.
2172 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2174 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
2176 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2178 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
2180 2002-01-08 Richard Henderson <rth@redhat.com>
2182 * regrename.c (copy_value): Ignore overlapping copies.
2184 2002-01-08 Richard Henderson <rth@redhat.com>
2186 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
2187 as needed to avoid shared structure.
2189 2002-01-08 Kazu Hirata <kazu@hxi.com>
2191 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
2194 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2196 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
2197 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
2198 documentation of obsolete macros.
2199 * system.h: Poison these macros.
2200 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
2201 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
2202 config/c4x/c4x.h, config/clipper/clipper.h,
2203 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
2204 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
2205 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
2206 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
2207 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2208 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
2209 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2210 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
2211 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
2212 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2213 config/sparc/sparc.h, config/stormy16/stormy16.h,
2214 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
2215 definitions and commented out definitions of obsolete macros.
2216 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
2217 of MAX_INT_TYPE_SIZE.
2219 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2221 * config/s390/s390.c (s390_preferred_reload_class): Never
2222 return ADDR_REGS if it isn't a subset of the given class.
2223 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
2224 FP_REGS, but all superclasses as well.
2226 * config/s390/s390.c (s390_function_profiler): Fix thinko.
2228 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
2229 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
2230 must not be a const_int.
2232 2002-01-08 Richard Henderson <rth@redhat.com>
2234 * Makefile.in (toplev.o): Depend on options.h.
2235 (gcc.o): Depend on specs.h.
2237 2002-01-08 Jakub Jelinek <jakub@redhat.com>
2239 * expr.c (store_expr): Convert VOIDmode constants back to target's
2242 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2244 * doc/invoke.texi: Markup gcc as @command. Refer to
2245 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
2246 of http://gcc.gnu.org/thanks.html.
2248 2002-01-08 Dale Johannesen <dalej@apple.com>
2250 * config/rs6000/rs6000.md: Add missing int register
2251 target case to movdf_low.
2253 2002-01-08 Zack Weinberg <zack@codesourcery.com>
2255 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
2256 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
2257 (cppinit.o): Depend on except.h.
2258 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
2259 s-specs): New rules.
2261 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
2262 Don't create specs.h/options.h/gencheck.h here. Remove
2263 unnecessary variable settings from last argument of AC_OUTPUT.
2264 * config.in, configure: Regenerate.
2265 * intl.c: Hardcode package name as "gcc".
2267 * cppinit.c: Include except.h.
2268 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2270 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2271 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2272 (!)USING_SJLJ_EXCEPTIONS.
2273 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2275 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2277 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2278 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2279 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2280 documentation of obsolete macros.
2281 * system.h: Poison these macros.
2282 * config/d30v/d30v.h, config/ns32k/encore.h,
2283 config/stormy16/stormy16.h: Remove definitions and commented out
2284 definitions of obsolete macros.
2286 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
2288 * objc/objc-act.c (handle_class_ref): Mark the declaration of
2289 %sobjc_class_ref_%s as used - to prevent unwanted compiler
2292 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2294 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2295 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2296 to insn adjusting stack/frame pointer.
2297 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2298 accept operands that cause the insn to be non-splittable.
2300 2002-01-08 Graham Stott <grahams@redhat.com>
2302 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2303 (C_TYPE_FIELDS_VOLATILE): Likewise.
2304 (C_TYPE_BEING_DEFINED): Likewise.
2305 (C_IS_RESERVED_WORD): Likewise.
2306 (C_TYPE_VARIABLE_SIZE): Likewise.
2307 (C_DECL_VARIABLE_SIZE): Likewise.
2308 (C_MISSING_PROTOTYPE_WARNED): Likewise.
2309 (C_SET_EXP_ORIGINAL_CODE): Likewise.
2310 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2312 (C_DECL_ANTICIPATED): Likewise.
2313 (c_build_type_variant): Add parenthesis.
2315 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2317 * gcc.c (option_map): Remove --version.
2318 (process_command): Handle -fversion following the GNU Coding
2319 Standards. Partially addresses PR other/704.
2321 2002-01-08 Graham Stott <grahams@redhat.com>
2323 * combine.c (combine_instructions): Fix typo.
2325 2002-01-08 Graham Stott <grahams@redhat.com>
2327 * debug.h: Use "tree" and "rtx" throughout.
2329 * debug.c: Likewise.
2331 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2333 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2334 constant pool, use the pool's version of the symbol instead.
2336 2002-01-07 Richard Henderson <rth@redhat.com>
2338 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2339 the original register was copied in a mode with a fewer number of
2340 hard registers than the desired mode.
2341 (copyprop_hardreg_forward_1): Likewise.
2342 (debug_value_data): Fix loop test.
2343 * toplev.c (parse_options_and_default_flags): Reenable
2344 -fcprop-registers at -O1.
2346 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2348 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2349 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2351 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2354 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2356 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2358 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2359 (pa_output_function_prologue): Output local label at the beginning of
2360 the prologue when profiling.
2361 (hppa_profile_hook): Use the local label rather than the function label.
2362 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2364 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2366 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2367 (altivec_expand_unop_builtin): Fix thinko.
2368 (altivec_expand_binop_builtin): Same.
2369 (altivec_expand_ternop_builtin): Same.
2370 (altivec_expand_builtin): Same.
2372 2002-01-07 Richard Henderson <rth@redhat.com>
2374 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2376 2002-01-07 Jason Merrill <jason@redhat.com>
2378 * unwind-dw2.c (execute_cfa_program): Use < again.
2380 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2382 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2384 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2386 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2387 Don't allow -1 - x -> ~x simplifications in the first pass.
2389 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2391 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2393 (altivec_expand_binop_builtin): Same.
2394 (altivec_expand_unop_builtin): Same.
2395 (print_operand): Fix typo.
2396 (bdesc_1arg): Add vupk* variants.
2398 * rs6000.h (rs6000_builtins): Add vupk* enums.
2400 * rs6000.md: Add altivec_vupk* variants.
2402 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2404 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2405 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2406 and last update dates.
2408 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2410 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2412 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2414 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2415 * config/avr/avr.h (CPP_SPEC): Likewise.
2416 (LINK_SPEC): Likewise.
2417 (CRT_BINUTILS_SPECS): Likewise.
2418 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2419 * doc/invoke.texi (AVR Options): Document them.
2421 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2423 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2426 2002-01-07 Graham Stott <grahams@redhat.com>
2428 * config/i386/i386.h: Update copyright date.
2429 (HALF_PIC_PTR): Add parenthesis.
2430 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2431 (CONSTANT_ALIGNMENT): Add parenthesis.
2432 (DATA_ALIGNMENT): Likewise.
2433 (LOCAL_ALIGNMENT): Likewise.
2434 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2435 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2436 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2437 (HARD_REGNO_NREGS): Add paranethesis.
2438 (VALID_SSE_REG_MODE): Whitespace.
2439 (VALID_MMX_REG_MODE): Whitespace.
2440 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2441 (ix86_hard_regno_mode_ok): Add parenthesis.
2442 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2443 (RETURN_IN_MEMORY): Whitespace.
2444 (N_REG_CLASSES): Add parenthesis.
2445 (INTEGER_CLASS_P): Add parenthesis and wrap.
2446 (FLOAT_CLASS_P): Likewise.
2447 (SSE_CLASS_P): Likewise.
2448 (MMX_CLASS_P): Likewise.
2449 (MAYBE_INTEGER_CLASS_P): Likewise.
2450 (MAYBE_FLOAT_CLASS_P): Likewise.
2451 (MAYBE_SSE_CLASS_P): Likewise.
2452 (MAYBE_MMX_CLASS_P): Likewise.
2453 (Q_CLASS_P): Likewise.
2454 (GENERAL_REGNO_P): Uppercase macro parameter.
2455 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2456 (FP_REGNO_P): Likewise.
2457 (ANY_FP_REGNO_P): Uppercase macro parameter.
2458 (SSE_REGNO_P): Likewise.
2459 (SSE_REGNO): Likewise.
2460 (SSE_REG_P): Likewise.
2461 (SSE_FLOAT_MODE_P): Likewise.
2462 (MMX_REGNO_P): Likewise.
2463 (MMX_REG_P):Likewise.
2464 (STACK_REG_P): Likewise.
2465 (NON_STACK_REG_P): Likewise.
2466 (STACK_TOP_P): Likewise.
2467 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2468 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2469 (SECONDARY_MEMORY_NEEDED): Likewise.
2470 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2471 (MD_ASM_CLOBBERS): Whitespace and wrap.
2472 (MUST_PASS_IN_STACK): Whitespace and wrap.
2473 (RETURN_POPS_ARGS): Add parenthesis.
2474 (INIT_CUMULATIVE_ARGS): Likewise.
2475 (FUNCTION_ARG): Likewise.
2476 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2477 (SETUP_INCOMING_VARARGS): Likewise.
2478 (BUILD_VA_LIST_TYPE): Add parenthesis.
2479 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2481 (EXPAND_BUILTIN_VA_ARG): Likewise.
2482 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2483 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2484 (INITIAL_ELIMINATION_OFFSET): Likewise.
2485 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2486 (REGNO_OK_FOR_BASE_P): Likewise.
2487 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2488 (REGNO_OK_FOR_DIREG_P): Likewise.
2489 (REG_OK_FOR_INDEX_P): Whitespace.
2490 (REG_OK_FOR_BASE_P): Whitespace.
2491 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2493 (FIND_BASE_TERM): Fix typo.
2494 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2495 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2496 (SYMBOLIC_CONST; Whitespace.
2497 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2498 (ENCODE_SECTION_INFO): Whitespace.
2499 (FINALIZE_PIC): Remove do { ... } while (0).
2500 (PROMOTE_MODE): Wrap in do { ... } while (0).
2501 (CONST_COSTS): Whitespace.
2502 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2503 (REGISTER_MOVE_COST): Add parenthesis.
2504 (MEMORY_MOVE_COST): Likewise.
2505 (EXTRA_CC_MODES): Whitespace.
2506 (SELECT_CC_MODE): Add parenthesis and whitespace.
2507 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2508 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2509 (ASM_OUTPUT_LABEL): Add paramethesis.
2510 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2511 (ASM_OUTPUT_REG_POP): Likewise.
2512 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2513 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2515 * config/i386/i386.c: Update copyright.
2516 (CHECK_STACK_LIMIT): Add parenthesis.
2517 (AT_BP): Uppercase macro parameter.
2518 (x86_64_int_parameter_registers): Constify.
2519 (x86_64_int_return_registers): Likewise.
2520 (ix86_compare_op0): Use rtx.
2521 (construct_container): Constify INTREG parameter.
2522 (function_arg): Use rtx.
2524 * diagnostic.h: Update copyright date.
2525 (output_buffer_state): Add parenthesis.
2526 (output_buffer_format_args): Likewise.
2528 * combine.c (combine_instructions): Replace XEXP (links, 0)
2531 2002-01-06 H.J. Lu <hjl@gnu.org>
2533 * cfgcleanup.c (thread_jump): Fix 2 typos.
2535 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2537 * config.gcc: Add support for --enable-altivec.
2539 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2541 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2543 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2545 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2546 __objc_class_name_*.
2548 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2550 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2552 2002-01-06 Richard Henderson <rth@redhat.com>
2554 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2555 nop them out. Increment label reference count for REG_LABEL.
2556 (fill_slots_from_thread): Frob label reference count around
2557 delete_related_insns.
2559 2002-01-05 Richard Henderson <rth@redhat.com>
2561 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2564 2002-01-05 Richard Henderson <rth@redhat.com>
2566 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2567 * integrate.c (output_inline_function): Likewise.
2568 * toplev.c (rest_of_compilation): Do it here instead. Move call
2569 to remove_unnecessary_notes after emitting abstract instance.
2570 Force an emitted nested function to have its parent emited as well.
2571 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2573 (rtl_for_decl_location): Do not look at reload data structures
2574 before reload has run.
2576 2002-01-05 Kazu Hirata <kazu@hxi.com>
2578 * cse.c: Fix formatting.
2579 * dwarf2asm.c: Likewise.
2580 * dwarf2out.c: Likewise.
2581 * explow.c: Likewise.
2582 * expmed.c: Likewise.
2583 * function.c: Likewise.
2585 * gencheck.c: Likewise.
2586 * genrecog.c: Likewise.
2587 * ggc-common.c: Likewise.
2588 * ggc-page.c: Likewise.
2589 * global.c: Likewise.
2591 2002-01-05 Kazu Hirata <kazu@hxi.com>
2593 * combine.c: Fix formatting.
2595 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
2598 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2600 2002-01-05 David Edelsohn <edelsohn@gnu.org>
2602 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2603 as 1 for __powerpc64__ as well.
2605 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2607 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2610 2002-01-05 Daniel Berlin <dan@dberlin.org>
2612 * lcm.c: Revert change, due to performance regression it causes on
2613 SPEC because it's slightly more conservative (sigh, I hate
2616 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
2618 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2620 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2622 * doc/cppinternals.texi: Update.
2624 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
2626 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2627 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2629 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
2630 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2631 kludge for pre-october-14th mmix versions to handle new-found bug
2632 with PUSHJ/PUSHGO and the register stack.
2633 * config/mmix/mmix.h (struct machine_function): Rename member
2634 has_call_value_without_parameters to has_call_without_parameters.
2635 All referers changed.
2636 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2637 TARGET_MASK_BRANCH_PREDICT): New macros.
2638 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2639 -mno-reg-stack-fill-bug-workaround.
2640 * config/mmix/mmix.md ("call"): Set struct machine member
2641 has_call_without_parameters.
2643 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
2645 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2647 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
2649 * cfgcleanup.c: Include tm_p.h
2650 (mark_effect): Fix handling of hard register; fix handling of SET
2652 2002-01-04 Kazu Hirata <kazu@hxi.com>
2654 * config/h8300/h8300.md (anonymous patterns): Check that
2655 operands are registers before using REGNO on them.
2657 2002-01-03 Roland McGrath <roland@frob.com>
2659 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2661 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2663 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2664 * c-common.h (genrtl_expr_stmt_value): Likewise.
2665 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2666 (expand_expr_stmt_value): Add maybe_last argument.
2667 Don't warn about statement with no effect if it is the last statement
2668 in expression statement.
2669 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2670 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2671 expand_expr_stmt_value.
2672 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2673 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2674 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2675 as maybe_last to expand_expr_stmt_value.
2677 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2679 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2680 be passed in, do not build it.
2681 (c_begin_if_stmt): New function.
2682 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2683 * c-common.h (c_expand_start_cond): Update prototype.
2684 (c_begin_if_stmt): Prototype new function.
2685 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2686 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2687 c_begin_while_stmt and c_finish_while_stmt_cond.
2689 2002-01-04 William Cohen <wcohen@redhat.com>
2691 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2692 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2693 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2694 * config/pa/som.h (ASM_FILE_START): Likewise.
2696 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
2698 * lcm.c: Include df.h.
2699 Add available_transfer_function prototype.
2700 (compute_available): Rework to use iterative dataflow framework.
2701 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2702 with bb_info in df.h
2703 (available_transfer_function): New function.
2705 * Makefile.in (lcm.o): add df.h to dependencies.
2707 2002-01-04 Richard Henderson <rth@redhat.com>
2709 * config/alpha/alpha.c (some_operand): Accept HIGH.
2710 (input_operand): Likewise; accept simple references to globals.
2711 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2712 (alpha_const_double_ok_for_letter_p): Likewise.
2713 (alpha_extra_constraint): Likewise.
2714 (alpha_preferred_reload_class): Likewise. Do not force
2715 symbolic constants to memory.
2716 (alpha_legitimate_address_p): Accept simple references
2717 to small_symbolic_operand.
2718 (alpha_legitimize_address): New arg scratch. Be prepared to be
2719 called when no_new_pseudos. Emit simple symbolic references.
2720 Split integers into low, high, and rest.
2721 (alpha_expand_mov): Use alpha_legitimize_address.
2722 (some_small_symbolic_mem_operand): New.
2723 (split_small_symbolic_mem_operand): New.
2724 * config/alpha/alpha-protos.h: Update.
2725 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2726 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2727 (EXTRA_CONSTRAINT): Likewise.
2728 (PREFERRED_RELOAD_CLASS): Likewise.
2729 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2730 (PREDICATE_CODES): Update.
2731 * config/alpha/alpha.md: New post-reload splitters to convert
2732 simplfied symbolic operands to the form that references $29.
2733 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2734 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2736 2002-01-03 Richard Henderson <rth@redhat.com>
2738 * local-alloc.c (function_invariant_p): Update commentary.
2740 2002-01-04 H.J. Lu <hjl@gnu.org>
2742 * toplev.c (rest_of_compilation): Fix a typo when calling
2745 2002-01-03 Kazu Hirata <kazu@hxi.com>
2747 * c-common.c: Fix formatting.
2748 * diagnostic.c: Likewise.
2749 * doloop.c: Likewise.
2750 * dwarf2out.c: Likewise.
2752 2002-01-03 Kazu Hirata <kazu@hxi.com>
2754 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2755 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2757 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2759 * cpperror.c: Update comments and copyright.
2760 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2761 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2763 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2765 * collect2.c (main): Use strcmp when testing for "-shared".
2767 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2769 * cppmacro.c: Don't include intl.h. Update comments.
2770 (new_number_token): Allocate enough buffer for 64-bit unsigned
2771 integers; update prototype.
2772 * cppmain.c: Update comments.
2774 2002-01-03 William Cohen <wcohen@redhat.com>
2776 * function.h (struct function): Add profile.
2777 (current_function_profile): New.
2778 doc/extend.texi: Update documentation.
2779 * final.c (final_start_function): Use current_function_profile
2780 instead of profile_flag.
2781 (profile_after_prologue): Likewise.
2782 * function.c (expand_function_start): Likewise.
2783 (expand_function_start): Likewise.
2784 * config/alpha/alpha.c (direct_call_operand):
2785 (alpha_does_function_need_gp): Likewise.
2786 (alpha_expand_prologue): Likewise.
2787 * config/arm/arm.c (arm_expand_prologue): Likewise.
2788 thumb_expand_prologue: Likewise.
2789 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2790 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2791 (fr30_expand_prologue): Likewise.
2792 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2793 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2794 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2795 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2796 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2797 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2798 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2799 (m32r_expand_prologue): Likewise.
2800 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2801 (m88k_expand_prologue): Likewise.
2802 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2803 * config/mips/mips.c (compute_frame_size): Likewise.
2804 (mips_expand_prologue): Likewise.
2805 (mips_can_use_return_insn): Likewise.
2806 * config/pa/elf.h (ASM_FILE_START): Likewise.
2807 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2808 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2809 * config/pa/som.h (ASM_FILE_START): Likewise.
2810 * config/romp/romp.c (romp_using_r14): Likewise.
2811 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2812 (rs6000_stack_info): Likewise.
2813 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2814 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2815 * config/v850/v850.c (compute_register_save_size): Likewise.
2817 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2819 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2820 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2822 2002-01-03 Turly O'Connor <turly@apple.com>
2824 * darwin.c (machopic_output_possible_stub_label): Don't generate
2825 stub routines for pseudo-stubs which we've just defined.
2827 2002-01-03 Kazu Hirata <kazu@hxi.com>
2829 * builtins.c: Fix formatting.
2830 * c-typeck.c: Likewise.
2831 * combine.c: Likewise.
2835 2002-01-03 Andreas Schwab <schwab@suse.de>
2837 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2838 and return true if _cpp_push_next_buffer pushed a new include
2840 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2841 _cpp_pop_file_buffer did not push a new file.
2842 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2844 2002-01-02 Eric Christopher <echristo@redhat.com>
2846 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2847 FIND_REG_INC_NOTE call. Update copyright.
2848 * loop.c (canonicalize_condition): Ditto.
2849 * reorg.c (delete_scheduled_jump): Ditto.
2851 2002-01-03 Kazu Hirata <kazu@hxi.com>
2853 * gcse.c: Fix formatting.
2855 2002-01-03 Graham Stott <grahams@redhat.com>
2857 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2858 forward defs for struct tags rtx_def, union_tree, rtvec_def
2859 also output corresponding typedefs for rtx, tree, and rtvec.
2861 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2862 rtvec_def along with corresponding typedefs for rtx, tree, and
2863 rtvec to config.h, hconfig.h, tconfig.h.
2865 2002-01-03 Graham Stott <grahams@redhat.com>
2867 * tree.h: Update copyright date.
2868 (IS_EXPR_CODE_CLASS): Add parenthesis.
2869 (TREE_SET_CODE): Add whitespace.
2870 (TREE_CHECK): Add parenthesis.
2871 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2872 (CST_OR_CONSTRUCTOR_CHECK):
2873 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2874 (TREE_SYMBOL_REFERENCED): Whitespace.
2875 (INT_CST_LT): Likewise.
2876 (INT_CST_LT_UNSIGNED): Likewise.
2877 (tree_real_cst): Unwrap comment.
2878 (tree_string): Likewise.
2879 (tree_complex): Likewise.
2880 (IDENTIFIER_POINTER): correct cast.
2881 (SAVE_EXPR_CONTEXT): Whitespace.
2882 (EXPR_WFL_FILENAME_NODE): Likewise.
2883 (EXPR_WFL_FILENAME): Remove parenthesis.
2884 (DECL_ORIGIN): Add parenthesis.
2885 (DECL_FROM_INLINE): Use NULL_TREE.
2886 (build_int_2): Whitespace.
2887 (build_type_variant): Add parenthesis.
2889 * gcc/jcf-parse.c: Update copyright date.
2890 (yyparse): Constify resource_filename.
2892 2002-01-03 Graham Stott <grahams@redhat.com>
2894 * rtl.h: Update copyright date.
2895 (RTL_CHECK1): Wrap long line.
2896 (RTL_CHECK2): Likewise.
2897 (RTL_CHECKC1): Wrap long line and whitespace.
2898 (RTL_CHECKC2): Likewise.
2899 (XWINT): Whitespace.
2905 (XBITMAP): Likewise.
2916 (X0BITMAP): Likewise.
2918 (X0BBDEF): Likewise.
2919 (X0ADVFLAGS): Likewise.
2920 (X0CSELIB): Likewise.
2921 (X0MEMATTR): Likewise.
2929 (XCBITMAP): Likewise.
2931 (XCBBDEF): Likewise.
2932 (XCADVFLAGS): Likewise.
2933 (XCCSELIB): Likewise.
2935 (INSN_UID): Likewise.
2936 (PREV_INSN): Likewise.
2937 (PATTERN): Likewise.
2938 (INSN_CODE): Likewise.
2939 (PUT_REG_NOTE_KIND): Likewise.
2940 (CODE_LABEL_NUMBER): Likewise.
2941 (NOTE_SOURCE_FILE): Likewise.
2942 (NOTE_BLOCK): Likewise.
2943 (NOTE_EH_HANDLER): Likewise.
2944 (NOTE_RANGE_INFO): Likewise.
2945 (NOTE_LIVE_INFO): Likewise.
2946 (NOTE_BASIC_BLOCK): Likewise.
2947 (NOTE_EXPECTED_VALUE): Likewise.
2948 (NOTE_LINE_NUMBER): Likewise.
2949 (LABEL_NAME): Likewise.
2950 (LABEL_NUSES): Likewise.
2951 (LABEL_ALTERNATE_NAME): Likewise.
2952 (ADDRESSOF_DECL): Likewise.
2953 (JUMP_LABEL): Likewise.
2954 (LABEL_NEXTREF): Likewise.
2956 (ORIGINAL_REGNO: Likewise.
2957 (HARD_REGISTER_NUM_P): Add parenthesis.
2958 (SUBREG_REG): Whitespace.
2959 (SUBREG_BYTE): Likewise.
2960 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2961 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2962 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2963 (ASM_OPERANDS_INPUT_VEC): Likewise.
2964 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2965 (ASM_OPERANDS_INPUT): Likewise.
2966 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2967 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2968 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2969 (ASM_OPERANDS_INPUT_MODE): Likewise.
2970 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2971 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2972 (MEM_SET_IN_STRUCT_P): Minor reformat.
2973 (TRAP_CONDITION): Whitespace.
2974 (TRAP_CODE): Likewise.
2975 (COND_EXEC_TEST): Likewise.
2976 (COND_EXEC_CODE): Likewise.
2977 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2978 (PHI_NODE_P): Add parenthesis.
2979 (plus_constant): Whitespace and add parenthesis.
2981 2002-01-03 Kazu Hirata <kazu@hxi.com>
2983 * config/avr/avr.c: Fix comment typos.
2984 * config/c4x/c4x.md: Likewise.
2985 * config/dsp16xx/dsp16xx.h: Likewise.
2986 * config/dsp16xx/dsp16xx.md: Likewise.
2987 * config/i386/i386.md: Likewise.
2988 * config/ia64/ia64.c: Likewise.
2989 * config/m32r/m32r.h: Likewise.
2990 * config/m68hc11/m68hc11.md: Likewise.
2991 * config/mmix/mmix.c: Likewise.
2992 * config/mn10200/mn10200.c: Likewise.
2993 * config/romp/romp.c: Likewise.
2994 * config/sh/sh.c: Likewise.
2995 * config/stormy16/stormy16.c: Likewise.
2996 * config/stormy16/stormy16.h: Likewise.
2997 * config/stormy16/stormy16.md: Likewise.
2999 2002-01-03 Graham Stott <grahams@redhat.com>
3001 * loop.h: Update copyright date.
3002 (LOOP_MOVABLES): Fix typo.
3003 (LOOP_REGS): Likewise.
3004 (LOOP_IVS): Likewise.
3006 2002-01-03 Graham Stott <grahams@redhat.com>
3008 * cppinit.c: Update copyright date.
3009 Don't include output.h
3010 * Makefile.in: Update copyright date.
3013 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
3016 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
3017 (-pthread) Add to RS/6000 options.
3019 2002-01-02 Kazu Hirata <kazu@hxi.com>
3021 * except.c: Fix comment typos.
3023 * varasm.c: Likewise.
3024 * doc/tm.texi: Fix a typo.
3026 2002-01-02 Jakub Jelinek <jakub@redhat.com>
3028 * c-typeck.c (output_init_element): Allow initializing static storage
3029 duration objects with compound literals.
3031 2002-01-02 Richard Henderson <rth@redhat.com>
3033 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
3036 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3038 * gcc.c (default_compilers): Const-ify.
3039 * mips-tdump.c (stab_names): Likewise.
3040 * mips-tfile.c (map_coff_types, map_coff_storage,
3041 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
3042 pseudo_ops_t, pseudo_ops): Likewise.
3043 * protoize.c (default_include): Likewise
3045 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
3046 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
3047 Add array size in declaration.
3048 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
3049 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
3050 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
3051 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
3052 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
3053 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
3054 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
3055 emtens, make_nan): Const-ify.
3056 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
3057 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
3059 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
3061 * config.gcc (ia64-*-*): Set extra_headers.
3062 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
3063 * config/alpha/t-osf: Remove.
3064 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
3066 2002-01-02 David Edelsohn <edelsohn@gnu.org>
3068 * config/rs6000/t-aix43: Revert previous change.
3070 2002-01-02 Jason Merrill <jason@redhat.com>
3072 * c-decl.c (c_expand_body): Call outlining_inline_function when
3073 emitting an inline function out of line.
3075 2002-01-02 Richard Henderson <rth@redhat.com>
3077 * dwarf2out.c (limbo_die_node): Add created_for member.
3078 (new_die): New argument created_for. Update all callers.
3079 (mark_limbo_die_list): New.
3080 (dwarf2out_init): Register limbo_die_list as a root.
3081 (dwarf2out_finish): Force insert limbo dies into their function
3084 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
3087 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
3089 2002-01-02 Kazu Hirata <kazu@hxi.com>
3091 * config/h8300/fixunssfsi.c: Update copyright.
3094 * config/h8300/h8300.c: Update copyright.
3097 2002-01-02 Kazu Hirata <kazu@hxi.com>
3099 * config/romp/romp.c: Fix comment formatting.
3100 * config/romp/romp.h: Likewise.
3101 * config/romp/romp.md: Likewise.
3102 * config/s390/s390.c: Likewise.
3103 * config/stormy16/stormy16.c: Likewise.
3104 * config/stormy16/stormy16.h: Likewise.
3106 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
3108 * c-common.h (genrtl_expr_stmt_value): Declare.
3109 * c-semantics.c (genrtl_goto_stmt): Redirect to...
3110 (genrtl_goto_stmt_value): ... this new function. Pass new
3111 argument down to expand_expr_stmt_value, taking
3112 TREE_ADDRESSABLE into account.
3113 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
3114 STMT_EXPR as addressable, i.e., one whose result we want.
3115 * expr.c (expand_expr): Don't save expression statement value
3116 of labeled_blocks or loop_exprs.
3117 * stmt.c (expand_expr_stmt): Redirect to...
3118 (expand_expr_stmt_value): ... this new function. Use new
3119 argument to tell whether to save expression value.
3120 (expand_end_stmt_expr): Reset last_expr_type and
3121 last_expr_value if we don't have either.
3122 * tree-inline.c (declare_return_variable): Mark its use
3123 statement as addressable.
3124 * tree.h: Document new use of TREE_ADDRESSABLE.
3125 (expand_expr_stmt_value): Declare.
3127 2002-01-01 Tom Rix <trix@redhat.com>
3129 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
3130 rs6000_emit_allocate_stack.
3132 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
3134 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
3135 ${srcdir}/ginclude/ to every entry in extra_headers.
3136 * configure: Regenerate.
3137 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
3138 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
3139 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
3140 * ginclude/proto.h: Rename to config/convex/proto.h.
3142 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3144 * attribs.c (handle_vector_size_attribute): Use host_integerp
3145 and tree_int_cst; remove warnings.
3146 * caller-save.c (insert_restore): Add cast to get rid of warning.
3147 (insert_save): Likewise.
3148 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
3149 * regmove.c (find_matches): Add temporary var to kill a warning.
3151 2002-01-01 Douglas B Rupp <rupp@gnat.com>
3153 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
3154 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
3155 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
3156 (vms-dwarf2eh.o): Add Makefile rule.
3157 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
3158 * config/alpha/vms-dwarf2eh.asm: New file.
3160 * gcc.c (delete_if_ordinary): Delete all versions.
3162 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
3164 * config/mmix/mmix.md: Update FIXME to not mention
3166 (MMIX_rJ_REGNUM): New define_constants constant.
3167 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
3168 "*movdicc_real"): Adjust contraints formatting.
3169 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
3170 for branch prediction.
3171 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
3173 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
3174 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
3175 number. Delete related FIXMEs.
3176 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
3177 from number to MMIX_rJ_REGNUM.
3178 (TARGET_MASK_BRANCH_PREDICT): New.
3179 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
3180 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
3181 value. Add -mbranch-predict and -mno-branch-predict.
3182 (TARGET_VERSION): Drop date.
3183 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
3184 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
3185 for finding out global symbols.
3186 (mmix_asm_output_labelref): Revert condition for global symbol.
3187 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
3188 (mmix_print_operand_punct_valid_p): A '+' is valid.
3190 See ChangeLog.6 for earlier changes.