1 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
3 * config.gcc: Set cpu_type to m68k for 68010, as well.
4 (m68010-*-netbsdelf*): New...
5 (m68k*-*-netbsdelf*): ...targets.
6 * config/m68k/netbsd-elf.h: New file.
8 2002-02-02 Kazu Hirata <kazu@hxi.com>
10 * config/h8300/h8300.c (hand_list): Move inside function_arg.
12 2002-02-02 Kazu Hirata <kazu@hxi.com>
14 * config/h8300/h8300.c (h8_push_ops): Move inside
16 (h8_pop_ops): Likewise.
17 (h8_move_ops): Likewise.
19 2002-02-02 Kazu Hirata <kazu@hxi.com>
21 * config/h8300/h8300.c (os_task): Make it static.
23 (pragma_saveall): Likewise.
25 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
27 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
28 constant is a valid sign-extension for Pmode.
30 2002-02-02 Kazu Hirata <kazu@hxi.com>
32 * config/h8300/h8300.c: Fix formatting.
34 2002-02-02 Kazu Hirata <kazu@hxi.com>
36 * config/h8300/h8300.md: Fix formatting.
38 2002-02-02 Kazu Hirata <kazu@hxi.com>
40 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
41 predicates of operands[1]. Split the patterns for each
44 2002-02-02 Kazu Hirata <kazu@hxi.com>
46 * config/h8300/h8300.md (xor patterns): Tighten the predicates
47 of operands[1] to register_operand.
49 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
51 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
52 * cpphash.c (_cpp_init_hashtable): Similarly.
53 * cppinit.c (cpp_create_reader): Default the signed_char flag.
54 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
55 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
56 (cpp_handle_option): Handle the new options.
57 * cpplex.c (cpp_interpret_charconst): Use new flag.
58 * cpplib.h (struct cpp_options): New member signed_char.
59 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
60 (cpp_options): Handle -fsigned-char and -funsigned-char.
61 (static_specs): Remove signed_char_spec.
62 (do_spec1): Don't handle %c.
63 * system.h: Poison SIGNED_CHAR_SPEC.
64 * tradcif.y (yylex): Use flag_signed_char.
65 * tradcpp.h (flag_signed_char): New.
66 * tradcpp.c (flag_signed_char): New.
67 (main): Handle new command-line options.
68 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
70 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
71 * avr/avr.h: Remove old comments.
72 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
73 (CC1_SPEC): Pass -fsigned-char if -mic*.
74 (SIGNED_CHAR_SPEC): Remove.
76 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
78 2002-02-01 Eric Christopher <echristo@redhat.com>
80 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
81 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
82 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
83 (ASM_OUTPUT_REG_POP): Ditto.
85 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
87 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
90 2002-02-02 Jakub Jelinek <jakub@redhat.com>
92 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
94 2002-02-02 Jakub Jelinek <jakub@redhat.com>
97 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
100 2002-02-01 Janis Johnson <janis187@us.ibm.com>
102 * cfganal.c: Include tm_p.h.
103 (keep_with_call_p): Fix the test that determines if a register holds
104 the return value of a call.
106 2002-02-01 DJ Delorie <dj@redhat.com>
108 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
109 we are given conflicting registers, switch to the other one we
110 had allocated for us.
111 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
112 as TImode so we know when the "other" register is available.
114 2002-02-01 David O'Brien <obrien@FreeBSD.org>
116 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
119 2002-02-01 Janis Johnson <janis187@us.ibm.com>
121 * cfganal.c (keep_with_call_p): New function.
122 (flow_call_edges_add): Prevent splitting a block between a call and
123 a single-set instruction that should be kept in the same block.
125 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
127 * doc/install.texi (avr): Update outdated URL.
129 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
131 * config/stormy16/stormy16.md (pushqi): New.
135 (movhi): Remove stack operands.
137 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
138 nonimmediate_nonstack_operand.
139 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
141 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
144 2002-01-31 Jason Merrill <jason@redhat.com>
146 * Makefile.in (c-parse.c): Handle .output file.
147 * objc/Make-lang.in (objc-parse.c): Likewise.
149 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
151 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
152 the -me[lb] option is given. Don't output the default flag
155 2002-01-31 Zack Weinberg <zack@codesourcery.com>
157 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
158 the primary source file; this has not been done yet.
159 * c-decl.c (c_expand_body): Reset input_filename from
160 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
162 2002-01-31 Kazu Hirata <kazu@hxi.com>
164 * rtlanal.c (subreg_regno_offset): Do not use
166 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
167 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
169 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
171 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
172 version rather than GNATS version in --version output.
174 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
176 * ifcvt.c (noce_process_if_block): Make a copy of the destination
177 when copying back from a temporary.
179 2002-01-30 Richard Henderson <rth@redhat.com>
181 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
182 and new_dest are the same.
184 2002-01-30 Richard Henderson <rth@redhat.com>
187 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
188 * rtl.c (note_insn_name): Update.
189 * emit-rtl.c (remove_unnecessary_notes): Kill it.
190 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
191 to perform loop rotation.
192 (expand_exit_loop_top_cond): New.
193 * tree.h (expand_exit_loop_top_cond): Declare it.
194 * c-semantics.c (genrtl_while_stmt): Use it.
195 (genrtl_for_stmt): Likewise.
197 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
199 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
200 arguments to 64-bit boundaries on 64-bit ABIs.
202 2002-01-30 Steve Ellcey <sje@cup.hp.com>
204 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
206 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
208 * c-decl.c (grokdeclarator): Handle type being a typedef for an
211 2002-01-30 David O'Brien <obrien@FreeBSD.org>
213 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
214 * config/sparc/sparc_bi.h: Remove file.
215 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
217 2002-01-30 Richard Henderson <rth@redhat.com>
219 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
221 2002-01-30 Zack Weinberg <zack@codesourcery.com>
223 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
225 2002-01-30 Jason Merrill <jason@redhat.com>
227 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
228 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
229 (reg_save): Use DW_CFA_offset_extended_sf instead.
231 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
233 2002-01-29 Jakub Jelinek <jakub@redhat.com>
235 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
238 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
240 * rs6000.md ("*call_value_local32"): Remove constraints.
241 ("*call_value_local64"): Same.
242 ("*call_value_indirect_nonlocal_aix32"): Same.
243 ("*call_value_nonlocal_aix32"): Same.
244 ("*call_value_indirect_nonlocal_aix64"): Same.
245 ("*call_value_nonlocal_aix64"): Same.
246 ("*call_value_nonlocal_sysv"): Same.
248 2002-01-29 Richard Henderson <rth@redhat.com>
250 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
252 2002-01-29 Richard Henderson <rth@redhat.com>
254 * expr.c (force_operand): Ignore flag_pic for detecting pic
256 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
257 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
258 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
259 instead of open-coded loop.
260 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
261 be fixed when in use.
263 2002-01-29 Richard Henderson <rth@redhat.com>
265 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
266 * sched-rgn.c (propagate_deps): Update them.
267 * sched-deps.c (sched_analyze_insn): Update them. Flush the
268 clobbers list when either gets too long.
270 2002-01-29 Jakub Jelinek <jakub@redhat.com>
272 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
273 and INDEX_REGS the same as GENERAL_REGS.
274 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
276 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
278 * tree.c (build_nonstandard_integer_type): Correct prototype.
280 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
282 * config/s390/s390.md (movstrsico, movstrdix_64,
283 movstrsix_31): Remove, replace by ...
284 (movstrdi_short, movstrsi_short, movstrdi_long,
285 movstrsi_long): ... these. New.
286 (movstrdi, movstrsi): Adapt.
288 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
289 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
290 Remove unnecessary CC clobber.
291 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
292 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
294 (divmoddi4): Don't partially initialize TImode register.
296 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
298 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
300 2002-01-29 Richard Henderson <rth@redhat.com>
302 * flow.c (print_rtl_and_abort): Remove.
303 (print_rtl_and_abort_fcn): Remove.
304 (verify_local_live_at_start): Use dump_bb instead.
305 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
306 (verify_wide_reg_1): Return 2 on mode test failure.
308 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
310 PR c/3325, c/3326, c/2511, c/3347
311 * c-decl.c (enum_decl_context): Remove BITFIELD.
312 (grokdeclarator): Take bitfield width as an input.
313 Ensure bitfields are given the correct type. Perform
314 bitfield width validation with build_bitfield_integer_type
315 rather than waiting for finish_struct.
316 (grok_typename, grok_typename_in_parm_context, start_decl,
317 push_parmdecl, grokfield, start_function): Update calls to
319 (build_bitfield_integer_type): New function.
320 (finish_struct): Move bitfield validation to grokdeclarator
321 and build_bitfield_integer_type.
322 * tree.c (build_nonstandard_integer_type): New function.
323 * tree.h (build_nonstandard_integer_type): New prototype.
325 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
327 2002-01-29 Jakub Jelinek <jakub@redhat.com>
330 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
331 don't ignore unrecognized -W* options.
332 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
333 * cpplib.h (cpp_handle_option): Adjust prototype.
334 * c-decl.c (c_decode_options): Pass 0 as last argument to
338 * gcc.c (cpp_unique_options): Split from cpp_options.
339 (cpp_options): Source cpp_unique_options.
340 (default_compilers): Use cpp_unique_options instead of cpp_options
341 when used together with cc1_options.
342 (static_specs): Add cpp_unique_options.
343 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
344 when used together with cc1_options.
346 2002-01-29 Kazu Hirata <kazu@hxi.com>
348 * config/h8300/h8300-protos.h: Update the prototype of
350 * config/h8300/h8300.c (output_a_shift): Remove an unused
351 argument 'insn'. Remove redundant code.
352 * config/h8300/h8300.md: Adust to the new prototype of
355 2002-01-29 Kazu Hirata <kazu@hxi.com>
357 * config/h8300/h8300-protos.h: Update the prototypes of
358 emit_a_rotate and expand_a_rotate.
359 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
360 first argument to 'enum rtx_code'.
361 (expand_a_rotate): Likewise.
363 2002-01-28 Kazu Hirata <kazu@hxi.com>
365 * config/h8300/h8300-protos.h: Update the prototype of
367 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
369 * config/h8300/h8300.md: Adjust to the new prototype.
371 2002-01-28 Kazu Hirata <kazu@hxi.com>
373 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
376 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
378 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
379 is a fixed register before returning pic_offset_table_rtx.
380 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
381 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
383 2002-01-28 Jason Merrill <jason@redhat.com>
385 * dwarf2.h: Sync with src version.
387 2002-01-28 Paul Koning <pkoning@equallogic.com>
389 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
391 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
392 * doc/extend.texi (__builtin_prefetch): Update documentation:
393 first argument is now const void ptr.
395 2002-01-28 Kazu Hirata <kazu@hxi.com>
397 * config/h8300/h8300-protos.h: Remove an unused prototype.
399 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
401 * toplev.c (lang_independent_init): Round up identifier size.
403 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
405 * config.gcc: Revert previous change.
407 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
409 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
411 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
413 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
414 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
415 other non-elf netbsd config frags.
416 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
417 collect2 will does that.
418 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
419 shared-lib frobbing will work.
421 2002-01-28 Kazu Hirata <kazu@hxi.com>
423 * config/h8300/h8300.h: Fix formatting.
424 * config/h8300/h8300.md: Likewise.
426 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
428 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
429 the old, removed AAA_standards fix.
430 * fixinc/fixincl.x: Rebuilt.
432 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
434 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
435 atexit call in crtbegin, hooked in after call to frame_dummy;
436 register EH before registering __fini__start.
438 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
440 * config/rs6000/altivec.h: Remove spurious semicolons.
442 2002-01-27 Kazu Hirata <kazu@hxi.com>
444 * config/h8300/h8300.md: Replace dead bit extraction patterns
447 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
449 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
450 if not STRICT_ALIGNMENT.
451 * rtl.h (MEM_ALIGN): Likewise.
453 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
455 * doc/invoke.texi (-fdump-translation-unit): Revert this
456 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
458 2002-01-27 Kazu Hirata <kazu@hxi.com>
460 * config/h8300/h8300.md (define_constants): New.
461 (anonymous patterns) Use defined constants appropriately.
463 2002-01-27 Kazu Hirata <kazu@hxi.com>
465 * config/h8300/h8300.c (function_arg): Remove redundant code.
467 2002-01-26 Richard Henderson <rth@redhat.com>
469 * sched-deps.c (reg_pending_uses_head): New.
470 (reg_pending_barrier): Rename from reg_pending_sets_all.
471 (find_insn_list): Don't mark inline.
472 (find_insn_mem_list): Remove.
473 (add_dependence_list, add_dependence_list_and_free): New.
474 (flush_pending_lists): Replace only_write param with separate
475 for_read and for_write parameters. Update all callers. Use
476 add_dependence_list_and_free.
477 (sched_analyze_1): Do not add reg dependencies here; just set
478 the pending bits. Use add_dependence_list.
479 (sched_analyze_2): Likewise.
480 (sched_analyze_insn): Replace schedule_barrier_found with
481 reg_pending_barrier. Add all dependencies for pending reg
482 uses, sets, and clobbers.
483 (sched_analyze): Don't add reg dependencies for calls, just
484 set pending bits. Use regs_invalidated_by_call. Treat
485 sched_before_next_call as a normal list, not a fake insn.
486 (init_deps): No funny init for sched_before_next_call.
487 (free_deps): Free pending mems lists. Don't zero reg_last.
488 (init_deps_global): Init reg_pending_uses.
489 (finish_deps_global): Free it.
490 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
491 (find_insn_mem_list): Remove.
492 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
493 (propagate_deps): Use them. Zero temp mem lists.
495 2002-01-26 Richard Henderson <rth@redhat.com>
497 * Makefile.in (CRTSTUFF_CFLAGS): New.
498 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
499 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
500 crtstuff.c instead of alpha assembly version.
501 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
502 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
503 not FORCE_{INIT,FINI}_SECTION_ALIGN.
504 (__do_global_dtors_aux): Mark used.
505 (frame_dummy, __do_global_ctors_aux): Mark used.
506 (fini_dummy, init_dummy): Remove.
508 * config/alpha/crtbegin.asm: Remove file.
509 * config/alpha/crtend.asm: Remove file.
510 * config/alpha/t-crtbe: Remove file.
511 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
514 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
515 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
516 calling constructors.
517 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
519 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
520 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
521 CRT_END_INIT_DUMMY hack.
522 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
523 FORCE_{INIT,FINI}_SECTION_ALIGN.
525 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
526 FORCE_{INIT,FINI}_SECTION_ALIGN.
528 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
530 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
532 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
533 (FORCE_CODE_SECTION_ALIGN): New.
535 2002-01-26 Richard Henderson <rth@redhat.com>
537 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
539 2002-01-26 Richard Henderson <rth@redhat.com>
541 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
542 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
544 2002-01-26 Kazu Hirata <kazu@hxi.com>
546 * config/h8300/h8300.md: Remove bit extraction patterns that
548 Restrict each bit extraction pattern to a variant on which the
551 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
553 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
555 2002-01-26 Kazu Hirata <kazu@hxi.com>
557 * config/h8300/h8300.md: Remove bit test patterns that cannot
559 Restrict each bit test pattern to a variant on which the
562 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
564 * builtins.c (expand_builtin_strncat): Remove redundant check for
567 2002-01-25 David O'Brien <obrien@FreeBSD.org>
569 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
571 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
574 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
576 * dbxout.c (dbxout_init): Use assemble_name rather than just
577 stripping off the first character.
578 (dbxout_source_file): Likewise.
580 2002-01-25 DJ Delorie <dj@redhat.com>
582 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
583 using rtx_equal_p, not by comparing pointers.
585 2002-01-25 Steve Ellcey <sje@cup.hp.com>
587 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
588 for PIC_OFFSET_TABLE_REGNUM.
589 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
591 2002-01-25 David O'Brien <obrien@FreeBSD.org>
593 * config.gcc (x86_64-*-freebsd*): New target.
594 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
596 (i[34567]86-*-freebsd*): Don't include svr4.h.
597 * config/i386/freebsd64.h: New file.
599 2002-01-25 Douglas B Rupp <rupp@gnat.com>
601 * config/alpha/x-vms (version): Make static.
603 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
606 * Makefile.in (install-headers-cp): New target.
607 * config.gcc (alpha-dec-*vms*): Install headers with
610 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
612 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
615 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
617 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
619 (expand_builtin_strncat): Likewise.
620 * c-decl.c (finish_struct): Use tree_low_cst.
621 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
622 * tree.c (compare_tree_int): Likewise.
624 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
626 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
627 adjustments even if they are implemented by more than two insns.
629 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
631 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
632 * df.h (struct ref): Kill B.
633 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
635 * basic-block.h (PROP_EQUAL_NOTES): New flag.
636 * flow.c (propagate_one_insn): Use it.
637 (mark_used_regs): Handle NIL.
639 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
641 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
644 2002-01-25 David Edelsohn <edelsohn@gnu.org>
646 * rs6000.md (prefetch): Make address V4SI mode so that the address
647 is restricted to legitimate form for instruction.
649 2002-01-25 Bob Wilson <bob.wilson@acm.org>
651 * doc/install.texi (xtensa-*-elf): New target.
652 (xtensa-*-linux*): New target.
653 * doc/contrib.texi: Add myself.
655 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
657 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
658 purpose register to hold an SImode (or smaller) value.
660 2002-01-25 Jakub Jelinek <jakub@redhat.com>
662 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
664 * crtstuff.c: Likewise.
666 2002-01-25 Kazu Hirata <kazu@hxi.com>
668 * config/h8300/h8300.md (negation patterns): Tighten
669 predicates to register_operand.
671 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
673 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
676 * builtins.c (expand_builtin_prefetch): Same.
678 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
680 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
683 2002-01-24 Kazu Hirata <kazu@hxi.com>
685 * config/h8300/h8300.c (print_operand): Remove support for
686 operand character 'A'.
687 * config/h8300/h8300.md (three anonymous patterns): Replace
688 operand character 'A' with either 'T' or 'S'.
690 2002-01-24 Kazu Hirata <kazu@hxi.com>
692 * config/h8300/h8300.c (print_operand): Remove support for
693 operand character 'U'.
695 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
697 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
699 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
701 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
702 values to be assigned to the stack pointer.
704 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
706 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
707 to const_double needs to be done right for big-endian systems.
709 2002-01-24 Jason Merrill <jason@redhat.com>
712 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
713 to can_throw_internal.
715 2002-01-23 Richard Henderson <rth@redhat.com>
717 * fold-const.c (fold): Change UINT_MAX test to check vs precision
718 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
720 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
722 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
723 (symGOT2reg): Use them, then set as GOT value as unchanging.
724 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
725 as a temporary, if possible.
726 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
727 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
729 2002-01-23 Kazu Hirata <kazu@hxi.com>
731 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
732 accept to accept 0x80 as operands[2].
734 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
736 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
738 2002-01-23 Richard Henderson <rth@redhat.com>
740 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
742 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
744 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
745 (parmlist_or_identifiers_1): Verify that only a parmlist follows
748 2002-01-23 Richard Henderson <rth@redhat.com>
750 * expr.c (move_by_pieces_1): Extend size before negation.
752 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
753 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
754 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
755 * config/m68k/t-m68kelf: Likewise.
757 2002-01-23 Bob Wilson <bob.wilson@acm.org>
759 * config/xtensa/elf.h: New file.
760 * config/xtensa/lib1funcs.asm: New file.
761 * config/xtensa/lib2funcs.S: New file.
762 * config/xtensa/linux.h: New file.
763 * config/xtensa/t-xtensa: New file.
764 * config/xtensa/xtensa-config.h: New file.
765 * config/xtensa/xtensa-protos.h: New file.
766 * config/xtensa/xtensa.c: New file.
767 * config/xtensa/xtensa.h: New file.
768 * config/xtensa/xtensa.md: New file.
769 * config.gcc (xtensa-*-elf*): New target.
770 (xtensa-*-linux*): New target.
771 * cse.c (canon_hash): Compare rtx pointers instead of register
772 numbers. This is required for the Xtensa port.
773 * integrate.c (copy_insn_list): Handle case where the static
774 chain is in memory and the memory address has to be copied to
776 * doc/invoke.texi (Option Summary): Add Xtensa options.
777 (Xtensa Options): New node.
778 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
780 2002-01-23 Zack Weinberg <zack@codesourcery.com>
782 * diagnostic.c (internal_error): Do ICE suppression only
783 when ENABLE_CHECKING is not defined.
785 * c-typeck.c (require_complete_type): Return error_mark_node
786 if type is error_mark_node.
788 2002-01-23 Janis Johnson <janis187@us.ibm.com>
790 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
791 -Os and issue a warning.
793 2002-01-23 Zack Weinberg <zack@codesourcery.com>
795 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
796 current (lack of) need for host configuration by hand.
798 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
799 references. Documentation of some target macros moved from
800 hostconfig.texi to tm.texi.
802 2002-01-23 Will Cohen <wcohen@redhat.com>
804 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
807 2002-01-23 Kazu Hirata <kazu@hxi.com>
809 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
812 2002-01-23 Jason Merrill <jason@redhat.com>
814 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
816 * function.c (assign_parms): Don't put args of inline functions
817 into registers when not optimizing.
819 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
821 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
822 (prologue_use): New pattern.
823 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
824 preference to gen_rtx_USE.
825 (thumb_expand_prologue): Use gen_prologue_use in preference to
827 (thumb_expand_epilogue): Use gen_prologue_use in preference to
830 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
832 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
834 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
837 * doc/extend.texi: Correct documentation of __alignof__.
839 2002-01-22 Zack Weinberg <zack@codesourcery.com>
841 * params.h: Rename arguments of DEFPARAM so that it will be
842 recognized as a translation keyword.
844 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
846 * extend.texi: Document altivec functions.
847 Fix N-bit adjectives in X86 builtin documentation.
849 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
851 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
854 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
856 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
858 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
860 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
862 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
864 2002-01-22 Richard Henderson <rth@redhat.com>
866 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
867 copy_insn not copy_rtx.
869 2002-01-23 Alan Modra <amodra@bigpond.net.au>
871 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
872 "nonzero" as that might add "1" bits. Ensure "constop" is
873 properly sign extened.
874 (force_to_mode): Tweak for sign extended constop.
876 2002-01-22 Richard Henderson <rth@redhat.com>
878 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
879 for_each_rtx instead of assuming we're already looking at the MEM.
880 (split_small_symbolic_mem_operand): Likewise.
881 * config/alpha/alpha.h (PREDICATE_CODES): Update.
882 * config/alpha/alpha.md (small symbolic memory splitters): Update.
884 2002-01-22 Richard Henderson <rth@redhat.com>
886 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
887 sequence number for the literal.
888 (divmoddi_internal_er): Likewise.
890 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
893 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
894 in LIBICONV variable.
895 * configure: Regenerated.
897 2002-01-22 Krister Walfridsson <cato@df.lth.se>
899 * dependence.c (build_def_use): Remove array_idx.
901 * dwarfout.c (last_filename): Remove.
902 (output_compile_unit_die): Remove last_filename.
904 2002-01-22 Roger Sayle <roger@eyesopen.com>
905 Richard Henderson <rth@redhat.com>
908 * fold-const.c (fold): Optimize unsigned comparisons against
909 UINT_MAX (and similar unsigned constants).
911 2002-01-22 Janis Johnson <janis187@us.ibm.com>
913 * Makefile.in (loop.o): Depend on OPTABS_H.
914 * loop.c (emit_prefetch_instructions): Check the prefetch operand
915 against the predicate.
918 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
919 for the address operand.
921 2002-01-22 Richard Henderson <rth@redhat.com>
923 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
925 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
928 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
931 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
933 * config.gcc (x86_64-*-netbsd*): New target.
934 * config/i386/netbsd64.h: New file.
936 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
938 * regrename.c (kill_value): Fix typo.
940 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
942 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
944 * config/rs6000/rs6000.h: Same.
946 * function.c (instantiate_virtual_regs): Remove
947 STARTING_FRAME_PHASE.
948 (assign_stack_local_1): Same.
949 Calculate frame phase.
951 2002-01-22 Nick Clifton <nickc@redhat.com>
953 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
954 variable declaration to outer scope in order to simplify
956 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
957 arm_hard_regno_mode_ok.
958 * config/arm/arm-protos.h: Add a prototype for
959 arm_hard_regno_mode_ok.
960 * config/arm/arm.c (soft_df_operand): Remove now redundant
961 check for DImode values using IP_REGNUM.
962 (nonimmediate_soft_df_operand): Remove now redundant check for
963 DImode values using IP_REGNUM.
964 (arm_hard_regno_mode_ok): New function. New check: make sure
965 that DImode values are not stored in IP_REGNUM.
967 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
969 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
971 2002-01-22 Jason Merrill <jason@redhat.com>
973 * c-semantics.c (genrtl_compound_stmt): Only check nesting
974 consistency if this COMPOUND_STMT is scoped.
976 2002-01-22 Kazu Hirata <kazu@hxi.com>
978 * predict.c: Fix formatting.
979 * print-tree.c: Likewise.
980 * protoize.c: Likewise.
983 * sbitmap.h: Likewise.
985 * sched-deps.c: Likewise.
986 * sched-vis.c: Likewise.
987 * sdbout.c: Likewise.
988 * sibcall.c: Likewise.
990 * ssa-ccp.c: Likewise.
991 * ssa-dce.c: Likewise.
993 * stor-layout.c: Likewise.
994 * system.h: Likewise.
996 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
998 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
999 if fits in bounds of base type.
1001 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
1002 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
1003 (add_bound_info, default): If can't find a context, make a
1005 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
1007 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
1009 * c-typeck.c (parser_build_binary_op): If result from
1010 build_binary_op is ERROR_MARK just return error_mark_node without
1013 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1015 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
1016 Split a.out-specific bits into...
1017 * config/netbsd-aout.h: ...this.
1018 * config/netbsd-elf.h: New file.
1019 * config/alpha/netbsd-elf.h: Remove.
1020 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
1021 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
1022 (STARTFILE_SPEC): Remove redundant definition.
1023 (ENDFILE_SPEC): Likewise.
1024 (LINK_SPEC): Likewise.
1025 (CPP_SPEC): Likewise.
1026 (ASM_SPEC): Likewise.
1027 (LIB_SPEC): Likewise.
1028 (SWITCH_TAKES_ARG): Likewise.
1029 (TARGET_MEM_FUNCTIONS): Likewise.
1030 (CPP_PREDEFINES): Redefine.
1031 (ASM_FINAL_SPEC): Remove redefinition.
1032 (ASM_COMMENT_START): Redefine.
1033 (FUNCTION_PROFILER): Define.
1034 (TARGET_VERSION): Redefine.
1035 Comment and formatting cleanup.
1036 * config/i386/netbsd.h: Include <netbsd-aout.h>.
1037 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
1038 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
1039 big- or little-endian.
1040 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
1041 * config.gcc (*-*-netbsd*): Add definitions common to all
1043 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
1044 gnu_ld definitions. Add netbsd-elf.h to and remove
1045 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
1046 tmake_file, and don't lose previous tmake_file contents.
1047 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
1048 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
1049 gnu_ld definitions. Add netbsd-elf.h to tm_file.
1050 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
1051 (mipsel-*-netbsd*): Rename this to...
1052 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
1053 mips/little.h to tm_file for mips*el-*.
1054 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
1055 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
1056 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
1058 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1060 * pa-protos.h (reg_before_reload_operand): New function prototype.
1061 * pa.c (reg_before_reload_operand): New function implementation.
1062 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
1065 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1067 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
1069 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1071 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
1072 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
1073 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
1074 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
1075 (ENDFILE_SPEC): Undefine.
1076 (STARTFILE_SPEC): Redefine for PA.
1078 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1080 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
1082 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
1084 * config.gcc: Add entries to supported PowerPC --with-cpu
1087 2002-01-21 Jakub Jelinek <jakub@redhat.com>
1089 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
1090 true for 64-bit mode only SSE registers in 32-bit mode.
1092 2002-01-21 Kazu Hirata <kazu@hxi.com>
1094 * unwind-dw2.c: Fix formatting.
1095 * unwind-dw2-fde.c: Likewise.
1096 * unwind-dw2-fde.h: Likewise.
1097 * unwind-pe.h: Likewise.
1098 * varasm.c: Likewise.
1099 * varray.h: Likewise.
1101 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
1103 Remove workaround for register stack overwrite bug in mmix.
1104 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
1105 support for TARGET_REG_STACK_FILL_BUG.
1106 * config/mmix/mmix.h: Remove member has_call_without_parameters.
1107 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
1109 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
1110 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
1111 -mno-reg-stack-fill-bug-workaround.
1112 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
1113 machine member has_call_without_parameters.
1114 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
1115 -mreg-stack-fill-bug-workaround and
1116 -mno-reg-stack-fill-bug-workaround.
1117 (MMIX Options): Ditto.
1119 2002-01-21 Kazu Hirata <kazu@hxi.com>
1121 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
1123 Remove redundant code.
1125 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
1127 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
1128 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1129 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1130 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
1131 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
1132 out target macro definitions and non-target-specific comments
1133 mostly taken from old versions of the manual.
1135 2002-01-20 Kazu Hirata <kazu@hxi.com>
1137 * config/h8300/h8300.h: Fix comment formatting.
1138 * config/ia64/aix.h: Likewise.
1139 * config/ia64/ia64-protos.h: Likewise.
1140 * config/ia64/ia64.c: Likewise.
1141 * config/ia64/ia64.h: Likewise.
1142 * config/ia64/ia64intrin.h: Likewise.
1143 * config/ia64/linux.h: Likewise.
1144 * config/ia64/unwind-aix.c: Likewise.
1145 * config/ia64/unwind-ia64.c: Likewise.
1147 2002-01-20 Kazu Hirata <kazu@hxi.com>
1149 * config/h8300/h8300.c: Revise comments about shift code.
1151 2002-01-20 Kazu Hirata <kazu@hxi.com>
1153 * config/h8300/h8300.c (function_arg): Update a comment.
1155 2002-01-20 Kazu Hirata <kazu@hxi.com>
1157 * config/h8300/h8300.md: Update the comments at the beginning
1160 2002-01-20 Kazu Hirata <kazu@hxi.com>
1162 * config/i370/i370.c: Fix comment formatting.
1163 * config/i370/i370.h: Likewise.
1164 * config/i370/i370.md: Likewise.
1165 * config/i370/linux.h: Likewise.
1167 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1169 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
1171 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
1172 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
1175 2002-01-20 Graham Stott <grahams@redhat.com>
1177 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
1179 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1181 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
1183 2002-01-19 Tom Rix <trix@redhat.com>
1185 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
1187 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
1189 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1191 * function.c (assign_stack_local_1): Adjust x_frame_offset with
1192 STARTING_FRAME_PHASE.
1193 (STARTING_FRAME_PHASE): New.
1194 (instantiate_virtual_regs): Check saneness of
1195 STARTING_FRAME_PHASE.
1197 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1199 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1201 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
1203 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1205 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
1206 be used for bootstrapping GCC 3.0.
1208 2002-01-18 Kazu Hirata <kazu@hxi.com>
1210 * config/h8300/h8300.md: Fix an insn length.
1212 2002-01-18 Kazu Hirata <kazu@hxi.com>
1214 * bitmap.h: Fix comment formatting.
1215 * combine.c: Likewise.
1216 * cppfiles.c: Likewise.
1217 * c-pragma.h: Likewise.
1218 * c-typeck.c: Likewise.
1220 * dwarf2out.c: Likewise.
1221 * function.c: Likewise.
1223 * genattrtab.c: Likewise.
1224 * gthr-win32.h: Likewise.
1225 * haifa-sched.c: Likewise.
1226 * predict.c: Likewise.
1227 * rtlanal.c: Likewise.
1229 * unwind-dw2-fde.h: Likewise.
1230 * unwind-pe.h: Likewise.
1231 * vmsdbgout.c: Likewise.
1233 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1235 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
1236 if type_required and passed decl.
1238 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
1240 * config.gcc (cpu_type): Include altivec.h in powerpc
1244 * config/rs6000/altivec.h: New.
1246 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1248 * doc/install.texi (*-ibm-aix*): Update assembler and exception
1249 handling information.
1250 * doc/trouble.texi (Interoperation): Add libstdc++ information
1252 (Misunderstandings): Add template instantiation and static template
1253 member information for AIX.
1255 2002-01-17 Jason Merrill <jason@redhat.com>
1257 * dbxout.c (dbxout_type): Support const and volatile.
1259 * except.c (add_partial_entry): Remove backwards compatibility code.
1260 (end_protect_partials): Likewise.
1262 2002-01-17 Jakub Jelinek <jakub@redhat.com>
1264 * config/ia64/ia64.md (prologue_use): New.
1265 * config/ia64/ia64.c (ia64_expand_prologue): Use
1266 gen_prologue_use instead of gen_rtx_USE.
1267 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1268 as CODE_FOR_pred_rel_mutex.
1269 (ia64_sched_reorder2): Likewise.
1271 2002-01-16 Eric Christopher <echristo@redhat.com>
1273 * config/mips/r3900.h: Reformat.
1274 (SUBTARGET_CPP_SIZE_SPEC): Remove.
1275 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1276 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1277 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1278 * config/mips/t-elf: Remove mips3 multilib.
1280 2002-01-16 H.J. Lu <hjl@gnu.org>
1282 * config/mips/linux.h: Include "mips/abi64.h".
1284 2002-01-16 H.J. Lu <hjl@gnu.org>
1286 * config/mips/t-linux: New.
1288 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1290 * config/mips/linux.h: Don't include "gofast.h".
1291 (INIT_SUBTARGET_OPTABS): Removed.
1293 2002-01-16 Kazu Hirata <kazu@hxi.com>
1295 * config/h8300/h8300-protos.h: Replace emit_a_shift with
1297 * config/h8300/h8300.c: Likewise.
1298 * config/h8300/h8300.md: Likewise.
1300 2002-01-16 Kazu Hirata <kazu@hxi.com>
1302 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1303 spaces after an opcode name.
1304 (pushqi1_h8300hs): Likewise.
1305 (pushhi1_h8300hs): Likewise.
1307 2002-01-16 Kazu Hirata <kazu@hxi.com>
1309 * doc/extend.texi: Replace "option" with "attribute"
1312 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1314 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1315 (and:DI () (const_int -8)).
1316 (split_small_symbolic_mem_operand): Split
1317 (mem (and:DI () (const_int -8)).
1319 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1322 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1323 same way as TYPE_IMUL.
1324 (ultrasparc_sched_reorder): Likewise.
1325 * config/sparc/sparc.md (type): Add comment to update
1326 ultrasparc_sched_reorder when making changes.
1328 2002-01-16 Kazu Hirata <kazu@hxi.com>
1330 * doc/invoke.texi: Change the dump file name of block
1331 reordering pass from 28.bbro to 29.bbro.
1334 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1336 * i386.md (minsf splitter): Fix pasto.
1338 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1340 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1341 to frame pointer initialisation instruction.
1342 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1343 initialisation instruction.
1344 (soft_df_operand): Do not accept the IP register.
1345 (nonimmediate_soft_df_operand): Do not accept the IP register.
1347 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1350 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1351 MASK_V8 being both set.
1353 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1355 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1356 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1357 config/s390/s390.md (call, call_value): Add GOT register to
1358 CALL_INSN_FUNCTION_USAGE where needed.
1359 (call_exp, call_value_exp): New.
1361 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1363 * config/arm/arm.c: General formatting tidy up.
1365 2002-01-16 Graham Stott <grahams@redhat.com>
1367 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1368 cast and when casting an integer literal to "rtx" pointer.
1369 (expand_call): Likewise.
1370 * flow.c (try_pre_increment): Likewise.
1371 (find_use_as_address): Likewise.
1372 * integrate.c (expand_iline_function): Likewise.
1373 * regmove.c (try_auto_increment): Likewise.
1375 2002-01-16 Graham Stott <grahams@redhat.com>
1377 * sched-rgn.c (passed): Use sbitmap_free.
1380 (in_queue): Likewise.
1381 (in_stack): Likewise.
1383 2002-01-15 Eric Christopher <echristo@redhat.com>
1385 * flow.c (propagate_one_insn): Change to use fatal_insn.
1387 2002-01-15 Kazu Hirata <kazu@hxi.com>
1389 * expmed.c (extract_fixed_bit_field): Remove unused code.
1390 * system.h: Poison SLOW_ZERO_EXTEND.
1391 * doc/tm.texi: Remove.
1392 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1393 * config/arm/arm.h: Likewise.
1394 * config/avr/avr.h: Likewise.
1395 * config/clipper/clipper.h: Likewise.
1396 * config/convex/convex.h: Likewise.
1397 * config/d30v/d30v.h: Likewise.
1398 * config/dsp16xx/dsp16xx.h: Likewise.
1399 * config/elxsi/elxsi.h: Likewise.
1400 * config/fr30/fr30.h: Likewise.
1401 * config/h8300/h8300.h: Likewise.
1402 * config/i370/i370.h: Likewise.
1403 * config/i386/i386.h: Likewise.
1404 * config/m68k/m68k.h: Likewise.
1405 * config/mips/mips.h: Likewise.
1406 * config/ns32k/ns32k.h: Likewise.
1407 * config/pdp11/pdp11.h: Likewise.
1408 * config/pj/pj.h: Likewise.
1409 * config/s390/s390.h: Likewise.
1410 * config/sh/sh.h: Likewise.
1411 * config/stormy16/stormy16.h: Likewise.
1412 * config/v850/v850.h: Likewise.
1413 * config/vax/vax.h: Likewise.
1414 * config/we32k/we32k.h: Likewise.
1416 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1418 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1419 (altivec_lvsl): Change constraint to b.
1420 (altivec_lvsr): Same.
1421 (altivec_lvebx): Same.
1422 (altivec_lvehx): Same.
1423 (altivec_lvewx): Same.
1424 (altivec_lvxl): Same.
1425 (altivec_lvx): Same.
1426 (altivec_stvx): Add parallel.
1427 (altivec_stvxl): Same.
1428 (altivec_stvehx): Same.
1429 (altivec_stvebx): Same.
1430 (altivec_stvebx): Same.
1432 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1434 * config.gcc: Change altivec.h to altivec-defs.h.
1436 * config/rs6000/altivec.h: Delete.
1438 * config/rs6000/altivec-defs.h: Add.
1440 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1442 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1445 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1446 less than or equal to eight bytes.
1448 * vax.md (andsi3): Remove constraints and change SET destination
1449 operand type to nonimmediate_operand.
1450 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1451 when it is a CONST_INT.
1453 2002-01-15 Jason Merrill <jason@redhat.com>
1455 * c-common.def (FILE_STMT): New code.
1456 * c-common.c (statement_code_p): It's a statement.
1457 * c-common.h (stmt_tree_s): Add x_last_filename.
1458 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1459 (last_expr_filename): New macro.
1460 * c-semantics.c (begin_stmt_tree): Initialize it.
1461 (add_stmt): If the filename changed, also insert a
1463 (expand_stmt): Handle seeing one.
1465 2002-01-15 Eric Christopher <echristo@redhat.com>
1467 * flow.c (propagate_one_insn): Add error message and print out
1470 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1472 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1473 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1474 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1475 TRAMPOLINE_ALIGNMENT.
1476 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1478 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1479 PCC_BITFIELD_TYPE_MATTERS.
1480 * config/interix.h (STDC_VALUE): Remove. Use
1481 STDC_0_IN_SYSTEM_HEADERS.
1482 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1483 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1484 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1486 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1488 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1489 not work on this platform currently.
1491 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1493 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1494 readonly_warning in _().
1496 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1498 * gcc.c (delete_if_ordinary): Backout previous change.
1500 2002-01-15 Kazu Hirata <kazu@hxi.com>
1502 * config/h8300/h8300.c (print_operand): Remove support for
1503 unused operand characters.
1505 * read-rtl.c: Fix formatting.
1507 * recog.c: Likewise.
1508 * regclass.c: Likewise.
1509 * regmove.c: Likewise.
1510 * reg-stack.c: Likewise.
1511 * reload1.c: Likewise.
1512 * rtlanal.c: Likewise.
1514 2002-01-15 Kazu Hirata <kazu@hxi.com>
1516 * config/i386/i386.c: Fix formatting.
1518 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1520 * c-typeck.c (process_init_element): Don't save_expr
1521 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1523 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1525 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1526 emit optional traceback table if optimize_size or TARGET_ELF.
1527 * config/rs6000/rs6000.md (prefetch): New.
1529 2002-01-15 Andreas Jaeger <aj@suse.de>
1531 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1533 2002-01-15 Kazu Hirata <kazu@hxi.com>
1535 * mips-tfile.c: Fix formatting.
1537 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1539 * unroll.c (final_reg_note_copy): Fix previous commit.
1541 2002-01-14 Kazu Hirata <kazu@hxi.com>
1543 * config/h8300/h8300-protos.h: Remove the prototype for
1545 * config/h8300/h8300.c (eq_operator): Remove.
1547 2002-01-14 Richard Henderson <rth@redhat.com>
1549 * config/i386/i386.md (prefetch): Tidy.
1550 (prefetch_3dnow): Fix locality operand.
1552 2002-01-14 Richard Henderson <rth@redhat.com>
1554 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1555 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1557 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1559 * reload1.c (reload_combine): Pass reg_sum replacement through
1560 copy_rtx in loop performing multiple changes.
1562 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1564 * except.c (remove_unreachable_regions): New.
1565 (free_eh_status): Clear exception_handler_labels.
1566 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1567 (find_exception_handler_labels): Don't add the same label more than
1569 (remove_exception_handler_label): Don't die if
1570 find_exception_handler_labels hasn't been called for the current
1573 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
1575 * toplev.c (rest_of_compilation): Rebuild jump labels after
1578 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1580 * doc/extend.texi: Move documentation of X86 built-in functions
1582 * doc/invoke.texi: From here.
1583 * doc/sourcebuild.texi: Document location of documentation for
1584 machine built-in functions.
1586 2002-01-13 Christopher Faylor <cgf@redhat.com>
1588 * cppfiles.c (TEST_THRESHOLD): New macro.
1589 (SHOULD_MMAP): Ditto.
1590 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1593 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
1595 * unroll.c (final_reg_note_copy): Properly handle
1597 (unroll_loops): Fix LOOP_CONDITION heuristics.
1599 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
1601 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1602 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1604 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
1606 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1609 2002-01-14 Tom Rix <trix@redhat.com>
1611 * config/rs6000/rs6000.md: Fix typo with sradi.
1613 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
1615 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1616 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1617 (clrstrdi, clrstrsi): Adapt callers.
1619 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1621 (movti splitter): Never use register 0 as base register.
1623 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1625 * combine.c (simplify_shift_const): Always generate new rtx
1626 for shift expression instead of reusing given expression.
1628 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1630 * config/alpha/alpha.c (alpha_expand_mov): Don't call
1631 alpha_legitimize_address unless mode is Pmode.
1633 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
1635 * doc/md.texi (Modifiers): Document the '*' constraint for the
1638 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1639 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1642 2002-01-13 Richard Henderson <rth@redhat.com>
1644 * reload.c (find_reloads): Use a hard reg destination as reload reg
1645 for an input reload of the source.
1647 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1649 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1652 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1654 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1655 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1657 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1659 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1661 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1663 2002-01-12 Tom Rix <trix@redhat.com>
1665 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1668 2002-01-12 Richard Henderson <rth@redhat.com>
1670 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1672 * doc/invoke.texi: Update Alpha options.
1674 * doc/invoke.texi: Update i386 built-in function lists.
1676 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1678 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1679 referencing outside.
1681 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1683 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1684 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1685 offsets, and change line folding.
1686 * optabs.c (expand_binop): Remove warnings.
1687 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1689 2002-01-12 Graham Stott <grahams@redhat.com>
1691 * attribs.c (handle_deprecated_attribute): constify WHAT.
1692 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1693 dangling else warning and constify WHAT.
1694 * except.h (struct function, struct inline_remap): Move
1695 struct tag forward defs before all prototypes.
1696 (duplicate_eh_regions): Whitespace.
1698 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1700 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1701 MODE_BASE_REG_CLASS.
1702 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1704 2002-01-12 Richard Henderson <rth@redhat.com>
1706 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1707 (ix86_expand_vector_move): New.
1708 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1709 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1710 Remove old prefetch builtins. Special case the logicals removed above.
1711 (ix86_expand_builtin): Likewise.
1712 (safe_vector_operand): Use V4SFmode, not TImode.
1713 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1714 (ix86_expand_timode_binop_builtin): New.
1715 * config/i386/i386-protos.h: Update.
1716 * config/i386/i386.h (enum ix86_builtins): Update.
1717 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1718 Use ix86_expand_vector_move in vector move expanders.
1719 (movti_internal, movti_rex64): Add xorps alternative.
1720 (sse_clrv4sf): Rename and adjust from sse_clrti.
1721 (prefetch): Don't work so hard.
1722 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1723 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1724 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1726 2002-01-11 Richard Henderson <rth@redhat.com>
1728 * config/i386/mmintrin.h: New file.
1729 * config/i386/xmmintrin.h: New file.
1730 * config.gcc (i?86-*-*): Add extra_headers.
1731 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1733 (simplify_binary_operation): Handle saturating arithmetic codes.
1734 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1735 not the lowpart subreg.
1736 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1738 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1740 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1742 * conflict.c (conflict_graph_compute): Free regsets when finished.
1743 * ssa.c (compute_coalesced_reg_partition): Likewise.
1745 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1747 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1748 every where we allocate a register.
1750 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1752 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1753 * lcm.c (compute_earliest, compute_farthest): Likewise.
1755 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1757 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1759 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1761 * doc/rtl.texi (Insns): Fix 2 typos.
1763 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1765 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1766 options. Use @table @gcctabopt for MMIX options. Add index
1767 entries for MMIX options. Start new paragraph with first
1768 heading of the machine-dependent options.
1770 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1773 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1774 * combine.c (force_to_mode): Same.
1775 * reload1.c (clear_reload_reg_in_use): Same.
1777 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1779 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1782 2002-01-11 Andreas Jaeger <aj@suse.de>,
1783 Brad Lucier <lucier@math.purdue.edu>
1785 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1788 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1790 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1791 Protect with IN_LIBGCC.
1792 (LINK_EH_SPEC): Add required trailing space.
1794 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1796 * c-tree.h: Move function declarations so that they are listed
1797 under the filename which contains them.
1798 (check_identifier, finish_decl_top_level,
1799 lookup_name_current_level_global, shadow_record_fields): Remove.
1801 2002-01-11 Andreas Jaeger <aj@suse.de>
1803 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1806 2002-01-10 Richard Henderson <rth@redhat.com>
1808 * config/alpha/alpha.c (print_operand): Add 'J'.
1809 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1810 new operand with the sequence number for the lituse. When splitting
1811 the insns, use gen_movdi_er_high_g and generate a sequence number.
1812 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1814 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1816 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1817 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1819 (altivec_expand_builtin): Same.
1820 (altivec_expand_stv_builtin): New.
1822 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1824 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1825 ("altivec_lvehx"): New.
1826 ("altivec_lvewx"): New.
1827 ("altivec_lvxl"): New.
1828 ("altivec_lvx"): New.
1829 ("altivec_stvx"): New.
1830 ("altivec_stvebx"): New.
1831 ("altivec_stvehx"): New.
1832 ("altivec_stvewx"): New.
1833 ("altivec_stvxl"): New.
1835 2002-01-10 Richard Henderson <rth@redhat.com>
1837 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1838 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1839 care not to delete instructions twice.
1841 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1843 * toplev.c: Don't declare environ (it's not used anywhere).
1844 * configure.in: Don't check for declaration of environ.
1845 * config/i386/xm-mingw32.h: Don't #define environ.
1846 * config.in, configure: Regenerate.
1848 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1850 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1851 * configure: Regenerate.
1853 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1854 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1855 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1857 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1858 LIMITS_H_TEST here, not in m68k/x-next.
1859 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1860 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1862 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1863 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1864 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1866 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1867 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1868 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1869 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1870 replacement of quadlib.asm with quadlib.c.
1872 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1873 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1874 config/rs6000/xm-beos.h: Delete file.
1876 * config.gcc: Update to match above changes.
1878 2002-01-10 Kazu Hirata <kazu@hxi.com>
1880 * config/h8300/h8300.h: Fix comment typos.
1881 * config/h8300/h8300.md: Likewise.
1882 * config/h8300/lib1funcs.asm: Likewise.
1884 2002-01-10 Dale Johannesen <dalej@apple.com>
1886 PR optimization/5269
1887 * unroll.c (precondition_loop_p): Make *increment be the correct
1888 sign when n_iterations known, to avoid confusing caller.
1890 2002-01-10 Kazu Hirata <kazu@hxi.com>
1892 * doc/extend.texi (deprecated): Fix a typo.
1894 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1896 * basic-block.h (update_br_prob_note): Declare.
1897 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1898 (try_forward_edges): Care negative frequencies and update note.
1899 (outgoing_edges_match): Tweek conditional merging heuristics.
1900 (try_crossjump_to_edge): use update_br_prob_note.
1901 * cfglayout.c (fixup_reorder_chain): Likewise.
1902 * cfrtl.c (update_br_prob_note): New.
1903 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1905 * i386.c (ix86_decompose_address): Return -1 if address contains
1907 (legitimate_address_p): Require ix86_decompose_address to return 1.
1909 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1910 (cprop_insn): Likewise.
1912 2002-01-10 Kazu Hirata <kazu@hxi.com>
1914 * toplev.c: Fix formatting.
1916 * tree-dump.c: Likewise.
1917 * unroll.c: Likewise.
1918 * unwind-dw2.c: Likewise.
1919 * unwind-dw2-fde.c: Likewise.
1920 * unwind-dw2-fde-glibc.c: Likewise.
1921 * unwind-sjlj.c: Likewise.
1923 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1925 * doc/invoke.texi: Document PDP-11 options.
1927 2002-01-10 Kazu Hirata <kazu@hxi.com>
1929 * config/h8300/h8300.h: Fix formatting.
1931 2002-01-10 Ira Ruben <ira@apple.com>
1933 Add __attribute__ ((deprecated)).
1934 * extend.texi: Document __attribute__ ((deprecated)).
1935 * invoke.texi: Document -Wno-deprecated-declarations.
1936 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1937 * testsuite/gcc.dg/deprecated.c: New C test.
1938 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1939 (c_common_attribute_table): Add "deprecated" entry.
1940 (handle_deprecated_attribute): New function.
1941 * c-decl.c (deprecated_states): New enum.
1942 deprecated_state: State of "deprecated" handling.
1943 (start_decl): Set deprecated_state based on attributes.
1944 (grokdeclarator): Test for deprecated uses, propagate attribute.
1945 * c-typeck.c (build_component_ref): Test for deprecated fields.
1946 (build_external_ref): Test for deprecated primaries.
1947 * diagnostic.c (warn_deprecated_use) New function to issue
1948 warnings about __attribute__ ((depricated)) references.
1949 * flags.h (warn_deprecated_decl): Extern declared for
1950 -W[no-]deprecated-declarations option.
1951 * print-tree.c (print_node): Show deprecated flag status.
1952 * toplev.c (warn_deprecated_decl): Defined.
1953 (W_options): Added "deprecated-declaration".
1954 * toplev.h (warn_deprecated_use): Extern declared.
1955 * tree.h (struct tree_common): Define deprecated_flag.
1956 (TREE_DEPRECATED): New macro to access flag.
1957 * cp/call.c (build_call): Test for deprecated calls.
1958 * cp/class.c (add_implicitly_declared_members): Set global
1959 flag to tell grokdeclarator to not issue deprecated warnings.
1960 * cp/cp-tree.h: Add extern for adding_implicit_members.
1961 * cp/decl.c (deprecated_states): New enum.
1962 (start_decl): Set deprecated_state based on attributes.
1963 (grokdeclarator): Test for deprecated uses, propagate attribute.
1964 * cp/lex.c (do_identifier): Test for deprecated primaries.
1965 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1967 2002-01-10 Ira Ruben <ira@apple.com>
1969 Fix to assign attributes to inline member functions.
1970 * cp/decl.c (start_method): Handle attrlist.
1972 2002-01-10 Kazu Hirata <kazu@hxi.com>
1974 * combine.c (expand_field_assignment): Use subreg_lsb().
1976 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1978 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1979 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1980 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1981 Recurse for any operand of AND as long as constant is non-zero.
1983 2002-01-10 Kazu Hirata <kazu@hxi.com>
1985 * config/h8300/h8300.md: Remove constraints from expanders.
1987 2002-01-10 Kazu Hirata <kazu@hxi.com>
1989 * varasm.c: Fix formatting.
1990 * varray.c: Likewise.
1991 * vmsdbgout.c: Likewise.
1992 * xcoffout.c: Likewise.
1994 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1996 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1997 update edge probabilities to match.
1999 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2001 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
2003 * doc/languages.texi, doc/sourcebuild.texi: New files.
2004 * doc/configfiles.texi: Make a subsubsection. Update.
2005 * doc/configterms.texi: Add @node. Remove warning that this isn't
2006 instructions for building GCC.
2007 * doc/makefile.texi: Make a subsection.
2008 * doc/gccint.texi: Update.
2010 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
2012 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
2014 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2016 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
2018 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
2020 * optabs.c (expand_fix): Look for wider integer modes first.
2022 * i386.md (mov?f): Avoid the fake const double trick for medium
2024 (min?f*/max?f*): Prohibit memory operands for i387 variant.
2025 (fop_df_4): Disable for SSE compilation.
2027 2002-01-10 Graham Stott <grahams@redhat.com>
2029 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
2030 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
2032 2002-01-10 Richard Henderson <rth@redhat.com>
2034 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
2036 2002-01-10 Richard Henderson <rth@redhat.com>
2038 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
2039 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
2041 2002-01-10 Kazu Hirata <kazu@hxi.com>
2043 * combine.c (can_combine_p): Fix a comment typo.
2045 2002-01-09 Zack Weinberg <zack@codesourcery.com>
2047 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
2048 empty list correctly. Change loop index $t to $f for
2049 consistency with rest of Makefile.
2051 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
2053 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
2054 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2056 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
2057 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
2058 (altivec_init_builtins): Same.
2059 (altivec_expand_unop_builtin): Return NULL_RTX on error.
2060 (altivec_expand_binop_builtin): Same.
2061 (altivec_expand_ternop_builtin): Same.
2064 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
2065 ("altivec_vctuxs"): Fix typo.
2066 ("altivec_vnmsubfp"): Same.
2067 ("altivec_dssall"): New.
2068 ("altivec_mfvscr"): New.
2069 ("altivec_dss"): New.
2070 ("altivec_lvsl"): New.
2071 ("altivec_lvsr"): New.
2072 ("altivec_dstt"): New.
2073 ("altivec_dstst"): New.
2074 ("altivec_dststt"): New.
2075 ("altivec_dst"): New.
2077 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
2078 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2080 2002-01-09 Richard Henderson <rth@redhat.com>
2082 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
2084 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
2086 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
2088 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
2090 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
2092 2002-01-09 Kazu Hirata <kazu@hxi.com>
2094 * read-rtl.c: Fix formatting.
2096 * regclass.c: Likewise.
2097 * regrename.c: Likewise.
2098 * reg-stack.c: Likewise.
2099 * reload1.c: Likewise.
2100 * reload.c: Likewise.
2103 2002-01-09 Kazu Hirata <kazu@hxi.com>
2105 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
2106 to extract items in the expr_list chain.
2108 2002-01-09 Richard Henderson <rth@redhat.com>
2110 * config/vax/vax.c (vax_rtx_cost): Never abort.
2112 * config/vax/vax.h (REAL_ARITHMETIC): Define.
2114 2002-01-09 Jan Hubicka <jh@suse.cz>
2116 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
2118 2002-01-09 Richard Henderson <rth@redhat.com>
2120 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
2121 Unify code from various alternatives.
2123 2002-01-09 Richard Henderson <rth@redhat.com>
2125 * regrename.c (copy_value): Ignore the copy if the source register
2126 is present in the value chain with a narrower mode.
2128 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2130 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
2131 for the c4x target. Also improve layout.
2133 2002-01-09 Richard Henderson <rth@redhat.com>
2135 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
2136 * config/m32r/m32r.md (and ior xor splitters): Swap operands
2137 to match insn patterns.
2139 2002-01-09 Richard Henderson <rth@redhat.com>
2141 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
2142 (copyprop_hardreg_forward_1): Likewise.
2144 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2146 * pa.md (decrement_and_branch_until_zero): Change predicate for
2147 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
2149 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2151 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
2152 gets undefined. For Darwin.
2154 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2156 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
2158 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2160 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
2162 2002-01-08 Richard Henderson <rth@redhat.com>
2164 * regrename.c (copy_value): Ignore overlapping copies.
2166 2002-01-08 Richard Henderson <rth@redhat.com>
2168 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
2169 as needed to avoid shared structure.
2171 2002-01-08 Kazu Hirata <kazu@hxi.com>
2173 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
2176 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2178 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
2179 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
2180 documentation of obsolete macros.
2181 * system.h: Poison these macros.
2182 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
2183 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
2184 config/c4x/c4x.h, config/clipper/clipper.h,
2185 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
2186 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
2187 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
2188 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
2189 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2190 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
2191 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2192 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
2193 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
2194 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2195 config/sparc/sparc.h, config/stormy16/stormy16.h,
2196 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
2197 definitions and commented out definitions of obsolete macros.
2198 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
2199 of MAX_INT_TYPE_SIZE.
2201 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2203 * config/s390/s390.c (s390_preferred_reload_class): Never
2204 return ADDR_REGS if it isn't a subset of the given class.
2205 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
2206 FP_REGS, but all superclasses as well.
2208 * config/s390/s390.c (s390_function_profiler): Fix thinko.
2210 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
2211 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
2212 must not be a const_int.
2214 2002-01-08 Richard Henderson <rth@redhat.com>
2216 * Makefile.in (toplev.o): Depend on options.h.
2217 (gcc.o): Depend on specs.h.
2219 2002-01-08 Jakub Jelinek <jakub@redhat.com>
2221 * expr.c (store_expr): Convert VOIDmode constants back to target's
2224 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2226 * doc/invoke.texi: Markup gcc as @command. Refer to
2227 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
2228 of http://gcc.gnu.org/thanks.html.
2230 2002-01-08 Dale Johannesen <dalej@apple.com>
2232 * config/rs6000/rs6000.md: Add missing int register
2233 target case to movdf_low.
2235 2002-01-08 Zack Weinberg <zack@codesourcery.com>
2237 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
2238 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
2239 (cppinit.o): Depend on except.h.
2240 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
2241 s-specs): New rules.
2243 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
2244 Don't create specs.h/options.h/gencheck.h here. Remove
2245 unnecessary variable settings from last argument of AC_OUTPUT.
2246 * config.in, configure: Regenerate.
2247 * intl.c: Hardcode package name as "gcc".
2249 * cppinit.c: Include except.h.
2250 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2252 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2253 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2254 (!)USING_SJLJ_EXCEPTIONS.
2255 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2257 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2259 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2260 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2261 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2262 documentation of obsolete macros.
2263 * system.h: Poison these macros.
2264 * config/d30v/d30v.h, config/ns32k/encore.h,
2265 config/stormy16/stormy16.h: Remove definitions and commented out
2266 definitions of obsolete macros.
2268 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
2270 * objc/objc-act.c (handle_class_ref): Mark the declaration of
2271 %sobjc_class_ref_%s as used - to prevent unwanted compiler
2274 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2276 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2277 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2278 to insn adjusting stack/frame pointer.
2279 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2280 accept operands that cause the insn to be non-splittable.
2282 2002-01-08 Graham Stott <grahams@redhat.com>
2284 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2285 (C_TYPE_FIELDS_VOLATILE): Likewise.
2286 (C_TYPE_BEING_DEFINED): Likewise.
2287 (C_IS_RESERVED_WORD): Likewise.
2288 (C_TYPE_VARIABLE_SIZE): Likewise.
2289 (C_DECL_VARIABLE_SIZE): Likewise.
2290 (C_MISSING_PROTOTYPE_WARNED): Likewise.
2291 (C_SET_EXP_ORIGINAL_CODE): Likewise.
2292 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2294 (C_DECL_ANTICIPATED): Likewise.
2295 (c_build_type_variant): Add parenthesis.
2297 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2299 * gcc.c (option_map): Remove --version.
2300 (process_command): Handle -fversion following the GNU Coding
2301 Standards. Partially addresses PR other/704.
2303 2002-01-08 Graham Stott <grahams@redhat.com>
2305 * combine.c (combine_instructions): Fix typo.
2307 2002-01-08 Graham Stott <grahams@redhat.com>
2309 * debug.h: Use "tree" and "rtx" throughout.
2311 * debug.c: Likewise.
2313 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2315 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2316 constant pool, use the pool's version of the symbol instead.
2318 2002-01-07 Richard Henderson <rth@redhat.com>
2320 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2321 the original register was copied in a mode with a fewer number of
2322 hard registers than the desired mode.
2323 (copyprop_hardreg_forward_1): Likewise.
2324 (debug_value_data): Fix loop test.
2325 * toplev.c (parse_options_and_default_flags): Reenable
2326 -fcprop-registers at -O1.
2328 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2330 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2331 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2333 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2336 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2338 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2340 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2341 (pa_output_function_prologue): Output local label at the beginning of
2342 the prologue when profiling.
2343 (hppa_profile_hook): Use the local label rather than the function label.
2344 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2346 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2348 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2349 (altivec_expand_unop_builtin): Fix thinko.
2350 (altivec_expand_binop_builtin): Same.
2351 (altivec_expand_ternop_builtin): Same.
2352 (altivec_expand_builtin): Same.
2354 2002-01-07 Richard Henderson <rth@redhat.com>
2356 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2358 2002-01-07 Jason Merrill <jason@redhat.com>
2360 * unwind-dw2.c (execute_cfa_program): Use < again.
2362 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2364 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2366 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2368 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2369 Don't allow -1 - x -> ~x simplifications in the first pass.
2371 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2373 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2375 (altivec_expand_binop_builtin): Same.
2376 (altivec_expand_unop_builtin): Same.
2377 (print_operand): Fix typo.
2378 (bdesc_1arg): Add vupk* variants.
2380 * rs6000.h (rs6000_builtins): Add vupk* enums.
2382 * rs6000.md: Add altivec_vupk* variants.
2384 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2386 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2387 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2388 and last update dates.
2390 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2392 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2394 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2396 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2397 * config/avr/avr.h (CPP_SPEC): Likewise.
2398 (LINK_SPEC): Likewise.
2399 (CRT_BINUTILS_SPECS): Likewise.
2400 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2401 * doc/invoke.texi (AVR Options): Document them.
2403 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2405 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2408 2002-01-07 Graham Stott <grahams@redhat.com>
2410 * config/i386/i386.h: Update copyright date.
2411 (HALF_PIC_PTR): Add parenthesis.
2412 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2413 (CONSTANT_ALIGNMENT): Add parenthesis.
2414 (DATA_ALIGNMENT): Likewise.
2415 (LOCAL_ALIGNMENT): Likewise.
2416 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2417 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2418 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2419 (HARD_REGNO_NREGS): Add paranethesis.
2420 (VALID_SSE_REG_MODE): Whitespace.
2421 (VALID_MMX_REG_MODE): Whitespace.
2422 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2423 (ix86_hard_regno_mode_ok): Add parenthesis.
2424 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2425 (RETURN_IN_MEMORY): Whitespace.
2426 (N_REG_CLASSES): Add parenthesis.
2427 (INTEGER_CLASS_P): Add parenthesis and wrap.
2428 (FLOAT_CLASS_P): Likewise.
2429 (SSE_CLASS_P): Likewise.
2430 (MMX_CLASS_P): Likewise.
2431 (MAYBE_INTEGER_CLASS_P): Likewise.
2432 (MAYBE_FLOAT_CLASS_P): Likewise.
2433 (MAYBE_SSE_CLASS_P): Likewise.
2434 (MAYBE_MMX_CLASS_P): Likewise.
2435 (Q_CLASS_P): Likewise.
2436 (GENERAL_REGNO_P): Uppercase macro parameter.
2437 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2438 (FP_REGNO_P): Likewise.
2439 (ANY_FP_REGNO_P): Uppercase macro parameter.
2440 (SSE_REGNO_P): Likewise.
2441 (SSE_REGNO): Likewise.
2442 (SSE_REG_P): Likewise.
2443 (SSE_FLOAT_MODE_P): Likewise.
2444 (MMX_REGNO_P): Likewise.
2445 (MMX_REG_P):Likewise.
2446 (STACK_REG_P): Likewise.
2447 (NON_STACK_REG_P): Likewise.
2448 (STACK_TOP_P): Likewise.
2449 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2450 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2451 (SECONDARY_MEMORY_NEEDED): Likewise.
2452 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2453 (MD_ASM_CLOBBERS): Whitespace and wrap.
2454 (MUST_PASS_IN_STACK): Whitespace and wrap.
2455 (RETURN_POPS_ARGS): Add parenthesis.
2456 (INIT_CUMULATIVE_ARGS): Likewise.
2457 (FUNCTION_ARG): Likewise.
2458 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2459 (SETUP_INCOMING_VARARGS): Likewise.
2460 (BUILD_VA_LIST_TYPE): Add parenthesis.
2461 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2463 (EXPAND_BUILTIN_VA_ARG): Likewise.
2464 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2465 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2466 (INITIAL_ELIMINATION_OFFSET): Likewise.
2467 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2468 (REGNO_OK_FOR_BASE_P): Likewise.
2469 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2470 (REGNO_OK_FOR_DIREG_P): Likewise.
2471 (REG_OK_FOR_INDEX_P): Whitespace.
2472 (REG_OK_FOR_BASE_P): Whitespace.
2473 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2475 (FIND_BASE_TERM): Fix typo.
2476 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2477 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2478 (SYMBOLIC_CONST; Whitespace.
2479 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2480 (ENCODE_SECTION_INFO): Whitespace.
2481 (FINALIZE_PIC): Remove do { ... } while (0).
2482 (PROMOTE_MODE): Wrap in do { ... } while (0).
2483 (CONST_COSTS): Whitespace.
2484 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2485 (REGISTER_MOVE_COST): Add parenthesis.
2486 (MEMORY_MOVE_COST): Likewise.
2487 (EXTRA_CC_MODES): Whitespace.
2488 (SELECT_CC_MODE): Add parenthesis and whitespace.
2489 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2490 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2491 (ASM_OUTPUT_LABEL): Add paramethesis.
2492 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2493 (ASM_OUTPUT_REG_POP): Likewise.
2494 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2495 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2497 * config/i386/i386.c: Update copyright.
2498 (CHECK_STACK_LIMIT): Add parenthesis.
2499 (AT_BP): Uppercase macro parameter.
2500 (x86_64_int_parameter_registers): Constify.
2501 (x86_64_int_return_registers): Likewise.
2502 (ix86_compare_op0): Use rtx.
2503 (construct_container): Constify INTREG parameter.
2504 (function_arg): Use rtx.
2506 * diagnostic.h: Update copyright date.
2507 (output_buffer_state): Add parenthesis.
2508 (output_buffer_format_args): Likewise.
2510 * combine.c (combine_instructions): Replace XEXP (links, 0)
2513 2002-01-06 H.J. Lu <hjl@gnu.org>
2515 * cfgcleanup.c (thread_jump): Fix 2 typos.
2517 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2519 * config.gcc: Add support for --enable-altivec.
2521 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2523 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2525 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2527 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2528 __objc_class_name_*.
2530 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2532 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2534 2002-01-06 Richard Henderson <rth@redhat.com>
2536 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2537 nop them out. Increment label reference count for REG_LABEL.
2538 (fill_slots_from_thread): Frob label reference count around
2539 delete_related_insns.
2541 2002-01-05 Richard Henderson <rth@redhat.com>
2543 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2546 2002-01-05 Richard Henderson <rth@redhat.com>
2548 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2549 * integrate.c (output_inline_function): Likewise.
2550 * toplev.c (rest_of_compilation): Do it here instead. Move call
2551 to remove_unnecessary_notes after emitting abstract instance.
2552 Force an emitted nested function to have its parent emited as well.
2553 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2555 (rtl_for_decl_location): Do not look at reload data structures
2556 before reload has run.
2558 2002-01-05 Kazu Hirata <kazu@hxi.com>
2560 * cse.c: Fix formatting.
2561 * dwarf2asm.c: Likewise.
2562 * dwarf2out.c: Likewise.
2563 * explow.c: Likewise.
2564 * expmed.c: Likewise.
2565 * function.c: Likewise.
2567 * gencheck.c: Likewise.
2568 * genrecog.c: Likewise.
2569 * ggc-common.c: Likewise.
2570 * ggc-page.c: Likewise.
2571 * global.c: Likewise.
2573 2002-01-05 Kazu Hirata <kazu@hxi.com>
2575 * combine.c: Fix formatting.
2577 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
2580 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2582 2002-01-05 David Edelsohn <edelsohn@gnu.org>
2584 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2585 as 1 for __powerpc64__ as well.
2587 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2589 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2592 2002-01-05 Daniel Berlin <dan@dberlin.org>
2594 * lcm.c: Revert change, due to performance regression it causes on
2595 SPEC because it's slightly more conservative (sigh, I hate
2598 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
2600 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2602 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2604 * doc/cppinternals.texi: Update.
2606 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
2608 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2609 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2611 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
2612 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2613 kludge for pre-october-14th mmix versions to handle new-found bug
2614 with PUSHJ/PUSHGO and the register stack.
2615 * config/mmix/mmix.h (struct machine_function): Rename member
2616 has_call_value_without_parameters to has_call_without_parameters.
2617 All referers changed.
2618 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2619 TARGET_MASK_BRANCH_PREDICT): New macros.
2620 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2621 -mno-reg-stack-fill-bug-workaround.
2622 * config/mmix/mmix.md ("call"): Set struct machine member
2623 has_call_without_parameters.
2625 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
2627 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2629 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
2631 * cfgcleanup.c: Include tm_p.h
2632 (mark_effect): Fix handling of hard register; fix handling of SET
2634 2002-01-04 Kazu Hirata <kazu@hxi.com>
2636 * config/h8300/h8300.md (anonymous patterns): Check that
2637 operands are registers before using REGNO on them.
2639 2002-01-03 Roland McGrath <roland@frob.com>
2641 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2643 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2645 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2646 * c-common.h (genrtl_expr_stmt_value): Likewise.
2647 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2648 (expand_expr_stmt_value): Add maybe_last argument.
2649 Don't warn about statement with no effect if it is the last statement
2650 in expression statement.
2651 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2652 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2653 expand_expr_stmt_value.
2654 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2655 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2656 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2657 as maybe_last to expand_expr_stmt_value.
2659 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2661 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2662 be passed in, do not build it.
2663 (c_begin_if_stmt): New function.
2664 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2665 * c-common.h (c_expand_start_cond): Update prototype.
2666 (c_begin_if_stmt): Prototype new function.
2667 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2668 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2669 c_begin_while_stmt and c_finish_while_stmt_cond.
2671 2002-01-04 William Cohen <wcohen@redhat.com>
2673 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2674 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2675 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2676 * config/pa/som.h (ASM_FILE_START): Likewise.
2678 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
2680 * lcm.c: Include df.h.
2681 Add available_transfer_function prototype.
2682 (compute_available): Rework to use iterative dataflow framework.
2683 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2684 with bb_info in df.h
2685 (available_transfer_function): New function.
2687 * Makefile.in (lcm.o): add df.h to dependencies.
2689 2002-01-04 Richard Henderson <rth@redhat.com>
2691 * config/alpha/alpha.c (some_operand): Accept HIGH.
2692 (input_operand): Likewise; accept simple references to globals.
2693 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2694 (alpha_const_double_ok_for_letter_p): Likewise.
2695 (alpha_extra_constraint): Likewise.
2696 (alpha_preferred_reload_class): Likewise. Do not force
2697 symbolic constants to memory.
2698 (alpha_legitimate_address_p): Accept simple references
2699 to small_symbolic_operand.
2700 (alpha_legitimize_address): New arg scratch. Be prepared to be
2701 called when no_new_pseudos. Emit simple symbolic references.
2702 Split integers into low, high, and rest.
2703 (alpha_expand_mov): Use alpha_legitimize_address.
2704 (some_small_symbolic_mem_operand): New.
2705 (split_small_symbolic_mem_operand): New.
2706 * config/alpha/alpha-protos.h: Update.
2707 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2708 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2709 (EXTRA_CONSTRAINT): Likewise.
2710 (PREFERRED_RELOAD_CLASS): Likewise.
2711 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2712 (PREDICATE_CODES): Update.
2713 * config/alpha/alpha.md: New post-reload splitters to convert
2714 simplfied symbolic operands to the form that references $29.
2715 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2716 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2718 2002-01-03 Richard Henderson <rth@redhat.com>
2720 * local-alloc.c (function_invariant_p): Update commentary.
2722 2002-01-04 H.J. Lu <hjl@gnu.org>
2724 * toplev.c (rest_of_compilation): Fix a typo when calling
2727 2002-01-03 Kazu Hirata <kazu@hxi.com>
2729 * c-common.c: Fix formatting.
2730 * diagnostic.c: Likewise.
2731 * doloop.c: Likewise.
2732 * dwarf2out.c: Likewise.
2734 2002-01-03 Kazu Hirata <kazu@hxi.com>
2736 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2737 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2739 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2741 * cpperror.c: Update comments and copyright.
2742 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2743 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2745 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2747 * collect2.c (main): Use strcmp when testing for "-shared".
2749 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2751 * cppmacro.c: Don't include intl.h. Update comments.
2752 (new_number_token): Allocate enough buffer for 64-bit unsigned
2753 integers; update prototype.
2754 * cppmain.c: Update comments.
2756 2002-01-03 William Cohen <wcohen@redhat.com>
2758 * function.h (struct function): Add profile.
2759 (current_function_profile): New.
2760 doc/extend.texi: Update documentation.
2761 * final.c (final_start_function): Use current_function_profile
2762 instead of profile_flag.
2763 (profile_after_prologue): Likewise.
2764 * function.c (expand_function_start): Likewise.
2765 (expand_function_start): Likewise.
2766 * config/alpha/alpha.c (direct_call_operand):
2767 (alpha_does_function_need_gp): Likewise.
2768 (alpha_expand_prologue): Likewise.
2769 * config/arm/arm.c (arm_expand_prologue): Likewise.
2770 thumb_expand_prologue: Likewise.
2771 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2772 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2773 (fr30_expand_prologue): Likewise.
2774 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2775 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2776 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2777 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2778 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2779 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2780 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2781 (m32r_expand_prologue): Likewise.
2782 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2783 (m88k_expand_prologue): Likewise.
2784 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2785 * config/mips/mips.c (compute_frame_size): Likewise.
2786 (mips_expand_prologue): Likewise.
2787 (mips_can_use_return_insn): Likewise.
2788 * config/pa/elf.h (ASM_FILE_START): Likewise.
2789 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2790 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2791 * config/pa/som.h (ASM_FILE_START): Likewise.
2792 * config/romp/romp.c (romp_using_r14): Likewise.
2793 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2794 (rs6000_stack_info): Likewise.
2795 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2796 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2797 * config/v850/v850.c (compute_register_save_size): Likewise.
2799 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2801 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2802 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2804 2002-01-03 Turly O'Connor <turly@apple.com>
2806 * darwin.c (machopic_output_possible_stub_label): Don't generate
2807 stub routines for pseudo-stubs which we've just defined.
2809 2002-01-03 Kazu Hirata <kazu@hxi.com>
2811 * builtins.c: Fix formatting.
2812 * c-typeck.c: Likewise.
2813 * combine.c: Likewise.
2817 2002-01-03 Andreas Schwab <schwab@suse.de>
2819 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2820 and return true if _cpp_push_next_buffer pushed a new include
2822 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2823 _cpp_pop_file_buffer did not push a new file.
2824 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2826 2002-01-02 Eric Christopher <echristo@redhat.com>
2828 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2829 FIND_REG_INC_NOTE call. Update copyright.
2830 * loop.c (canonicalize_condition): Ditto.
2831 * reorg.c (delete_scheduled_jump): Ditto.
2833 2002-01-03 Kazu Hirata <kazu@hxi.com>
2835 * gcse.c: Fix formatting.
2837 2002-01-03 Graham Stott <grahams@redhat.com>
2839 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2840 forward defs for struct tags rtx_def, union_tree, rtvec_def
2841 also output corresponding typedefs for rtx, tree, and rtvec.
2843 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2844 rtvec_def along with corresponding typedefs for rtx, tree, and
2845 rtvec to config.h, hconfig.h, tconfig.h.
2847 2002-01-03 Graham Stott <grahams@redhat.com>
2849 * tree.h: Update copyright date.
2850 (IS_EXPR_CODE_CLASS): Add parenthesis.
2851 (TREE_SET_CODE): Add whitespace.
2852 (TREE_CHECK): Add parenthesis.
2853 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2854 (CST_OR_CONSTRUCTOR_CHECK):
2855 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2856 (TREE_SYMBOL_REFERENCED): Whitespace.
2857 (INT_CST_LT): Likewise.
2858 (INT_CST_LT_UNSIGNED): Likewise.
2859 (tree_real_cst): Unwrap comment.
2860 (tree_string): Likewise.
2861 (tree_complex): Likewise.
2862 (IDENTIFIER_POINTER): correct cast.
2863 (SAVE_EXPR_CONTEXT): Whitespace.
2864 (EXPR_WFL_FILENAME_NODE): Likewise.
2865 (EXPR_WFL_FILENAME): Remove parenthesis.
2866 (DECL_ORIGIN): Add parenthesis.
2867 (DECL_FROM_INLINE): Use NULL_TREE.
2868 (build_int_2): Whitespace.
2869 (build_type_variant): Add parenthesis.
2871 * gcc/jcf-parse.c: Update copyright date.
2872 (yyparse): Constify resource_filename.
2874 2002-01-03 Graham Stott <grahams@redhat.com>
2876 * rtl.h: Update copyright date.
2877 (RTL_CHECK1): Wrap long line.
2878 (RTL_CHECK2): Likewise.
2879 (RTL_CHECKC1): Wrap long line and whitespace.
2880 (RTL_CHECKC2): Likewise.
2881 (XWINT): Whitespace.
2887 (XBITMAP): Likewise.
2898 (X0BITMAP): Likewise.
2900 (X0BBDEF): Likewise.
2901 (X0ADVFLAGS): Likewise.
2902 (X0CSELIB): Likewise.
2903 (X0MEMATTR): Likewise.
2911 (XCBITMAP): Likewise.
2913 (XCBBDEF): Likewise.
2914 (XCADVFLAGS): Likewise.
2915 (XCCSELIB): Likewise.
2917 (INSN_UID): Likewise.
2918 (PREV_INSN): Likewise.
2919 (PATTERN): Likewise.
2920 (INSN_CODE): Likewise.
2921 (PUT_REG_NOTE_KIND): Likewise.
2922 (CODE_LABEL_NUMBER): Likewise.
2923 (NOTE_SOURCE_FILE): Likewise.
2924 (NOTE_BLOCK): Likewise.
2925 (NOTE_EH_HANDLER): Likewise.
2926 (NOTE_RANGE_INFO): Likewise.
2927 (NOTE_LIVE_INFO): Likewise.
2928 (NOTE_BASIC_BLOCK): Likewise.
2929 (NOTE_EXPECTED_VALUE): Likewise.
2930 (NOTE_LINE_NUMBER): Likewise.
2931 (LABEL_NAME): Likewise.
2932 (LABEL_NUSES): Likewise.
2933 (LABEL_ALTERNATE_NAME): Likewise.
2934 (ADDRESSOF_DECL): Likewise.
2935 (JUMP_LABEL): Likewise.
2936 (LABEL_NEXTREF): Likewise.
2938 (ORIGINAL_REGNO: Likewise.
2939 (HARD_REGISTER_NUM_P): Add parenthesis.
2940 (SUBREG_REG): Whitespace.
2941 (SUBREG_BYTE): Likewise.
2942 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2943 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2944 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2945 (ASM_OPERANDS_INPUT_VEC): Likewise.
2946 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2947 (ASM_OPERANDS_INPUT): Likewise.
2948 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2949 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2950 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2951 (ASM_OPERANDS_INPUT_MODE): Likewise.
2952 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2953 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2954 (MEM_SET_IN_STRUCT_P): Minor reformat.
2955 (TRAP_CONDITION): Whitespace.
2956 (TRAP_CODE): Likewise.
2957 (COND_EXEC_TEST): Likewise.
2958 (COND_EXEC_CODE): Likewise.
2959 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2960 (PHI_NODE_P): Add parenthesis.
2961 (plus_constant): Whitespace and add parenthesis.
2963 2002-01-03 Kazu Hirata <kazu@hxi.com>
2965 * config/avr/avr.c: Fix comment typos.
2966 * config/c4x/c4x.md: Likewise.
2967 * config/dsp16xx/dsp16xx.h: Likewise.
2968 * config/dsp16xx/dsp16xx.md: Likewise.
2969 * config/i386/i386.md: Likewise.
2970 * config/ia64/ia64.c: Likewise.
2971 * config/m32r/m32r.h: Likewise.
2972 * config/m68hc11/m68hc11.md: Likewise.
2973 * config/mmix/mmix.c: Likewise.
2974 * config/mn10200/mn10200.c: Likewise.
2975 * config/romp/romp.c: Likewise.
2976 * config/sh/sh.c: Likewise.
2977 * config/stormy16/stormy16.c: Likewise.
2978 * config/stormy16/stormy16.h: Likewise.
2979 * config/stormy16/stormy16.md: Likewise.
2981 2002-01-03 Graham Stott <grahams@redhat.com>
2983 * loop.h: Update copyright date.
2984 (LOOP_MOVABLES): Fix typo.
2985 (LOOP_REGS): Likewise.
2986 (LOOP_IVS): Likewise.
2988 2002-01-03 Graham Stott <grahams@redhat.com>
2990 * cppinit.c: Update copyright date.
2991 Don't include output.h
2992 * Makefile.in: Update copyright date.
2995 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2998 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2999 (-pthread) Add to RS/6000 options.
3001 2002-01-02 Kazu Hirata <kazu@hxi.com>
3003 * except.c: Fix comment typos.
3005 * varasm.c: Likewise.
3006 * doc/tm.texi: Fix a typo.
3008 2002-01-02 Jakub Jelinek <jakub@redhat.com>
3010 * c-typeck.c (output_init_element): Allow initializing static storage
3011 duration objects with compound literals.
3013 2002-01-02 Richard Henderson <rth@redhat.com>
3015 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
3018 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3020 * gcc.c (default_compilers): Const-ify.
3021 * mips-tdump.c (stab_names): Likewise.
3022 * mips-tfile.c (map_coff_types, map_coff_storage,
3023 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
3024 pseudo_ops_t, pseudo_ops): Likewise.
3025 * protoize.c (default_include): Likewise
3027 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
3028 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
3029 Add array size in declaration.
3030 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
3031 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
3032 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
3033 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
3034 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
3035 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
3036 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
3037 emtens, make_nan): Const-ify.
3038 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
3039 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
3041 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
3043 * config.gcc (ia64-*-*): Set extra_headers.
3044 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
3045 * config/alpha/t-osf: Remove.
3046 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
3048 2002-01-02 David Edelsohn <edelsohn@gnu.org>
3050 * config/rs6000/t-aix43: Revert previous change.
3052 2002-01-02 Jason Merrill <jason@redhat.com>
3054 * c-decl.c (c_expand_body): Call outlining_inline_function when
3055 emitting an inline function out of line.
3057 2002-01-02 Richard Henderson <rth@redhat.com>
3059 * dwarf2out.c (limbo_die_node): Add created_for member.
3060 (new_die): New argument created_for. Update all callers.
3061 (mark_limbo_die_list): New.
3062 (dwarf2out_init): Register limbo_die_list as a root.
3063 (dwarf2out_finish): Force insert limbo dies into their function
3066 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
3069 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
3071 2002-01-02 Kazu Hirata <kazu@hxi.com>
3073 * config/h8300/fixunssfsi.c: Update copyright.
3076 * config/h8300/h8300.c: Update copyright.
3079 2002-01-02 Kazu Hirata <kazu@hxi.com>
3081 * config/romp/romp.c: Fix comment formatting.
3082 * config/romp/romp.h: Likewise.
3083 * config/romp/romp.md: Likewise.
3084 * config/s390/s390.c: Likewise.
3085 * config/stormy16/stormy16.c: Likewise.
3086 * config/stormy16/stormy16.h: Likewise.
3088 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
3090 * c-common.h (genrtl_expr_stmt_value): Declare.
3091 * c-semantics.c (genrtl_goto_stmt): Redirect to...
3092 (genrtl_goto_stmt_value): ... this new function. Pass new
3093 argument down to expand_expr_stmt_value, taking
3094 TREE_ADDRESSABLE into account.
3095 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
3096 STMT_EXPR as addressable, i.e., one whose result we want.
3097 * expr.c (expand_expr): Don't save expression statement value
3098 of labeled_blocks or loop_exprs.
3099 * stmt.c (expand_expr_stmt): Redirect to...
3100 (expand_expr_stmt_value): ... this new function. Use new
3101 argument to tell whether to save expression value.
3102 (expand_end_stmt_expr): Reset last_expr_type and
3103 last_expr_value if we don't have either.
3104 * tree-inline.c (declare_return_variable): Mark its use
3105 statement as addressable.
3106 * tree.h: Document new use of TREE_ADDRESSABLE.
3107 (expand_expr_stmt_value): Declare.
3109 2002-01-01 Tom Rix <trix@redhat.com>
3111 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
3112 rs6000_emit_allocate_stack.
3114 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
3116 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
3117 ${srcdir}/ginclude/ to every entry in extra_headers.
3118 * configure: Regenerate.
3119 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
3120 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
3121 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
3122 * ginclude/proto.h: Rename to config/convex/proto.h.
3124 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3126 * attribs.c (handle_vector_size_attribute): Use host_integerp
3127 and tree_int_cst; remove warnings.
3128 * caller-save.c (insert_restore): Add cast to get rid of warning.
3129 (insert_save): Likewise.
3130 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
3131 * regmove.c (find_matches): Add temporary var to kill a warning.
3133 2002-01-01 Douglas B Rupp <rupp@gnat.com>
3135 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
3136 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
3137 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
3138 (vms-dwarf2eh.o): Add Makefile rule.
3139 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
3140 * config/alpha/vms-dwarf2eh.asm: New file.
3142 * gcc.c (delete_if_ordinary): Delete all versions.
3144 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
3146 * config/mmix/mmix.md: Update FIXME to not mention
3148 (MMIX_rJ_REGNUM): New define_constants constant.
3149 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
3150 "*movdicc_real"): Adjust contraints formatting.
3151 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
3152 for branch prediction.
3153 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
3155 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
3156 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
3157 number. Delete related FIXMEs.
3158 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
3159 from number to MMIX_rJ_REGNUM.
3160 (TARGET_MASK_BRANCH_PREDICT): New.
3161 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
3162 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
3163 value. Add -mbranch-predict and -mno-branch-predict.
3164 (TARGET_VERSION): Drop date.
3165 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
3166 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
3167 for finding out global symbols.
3168 (mmix_asm_output_labelref): Revert condition for global symbol.
3169 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
3170 (mmix_print_operand_punct_valid_p): A '+' is valid.
3172 See ChangeLog.6 for earlier changes.