1 2002-12-12 Jim Wilson <wilson@redhat.com>
3 * dbxout.c (dbxout_fptype_value): New.
4 (dbxout_type, case COMPLEX_TYPE): Call it. Use 'R' instead of 'r'.
6 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
8 * c-decl.c: Fix a comment typo.
10 * cfgcleanup.c: Likewise.
11 * cfglayout.c: Likewise.
13 * c-typeck.c: Likewise.
14 * dominance.c: Likewise.
15 * dwarf2asm.c: Likewise.
16 * dwarfout.c: Likewise.
21 * function.c: Likewise.
23 * genautomata.c: Likewise.
24 * integrate.c: Likewise.
28 * profile.c: Likewise.
30 * reload1.c: Likewise.
32 * sched-rgn.c: Likewise.
35 * vmsdbgout.c: Likewise.
37 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
39 * config/h8300/h8300.md: Add a new peephole2.
41 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
43 * config/h8300/h8300.md (a peephole2): Accept a constant
44 that's accepted by CONST_OK_FOR_J.
46 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
48 * config/h8300/h8300.h (CONST_OK_FOR_J): New.
49 (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
50 * config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
51 (*addhi_h8300hs): Likewise.
53 Thu Dec 12 16:24:59 2002 J"orn Rennecke <joern.rennecke@superh.com>
55 * sh.c (reg_class_from_letter): No longer const. Add 'e' entry.
56 (sh_register_move_cost): Add clause for SImode fp-fp moves.
57 Increase cost for moves involving multiple general purpose registers.
58 * sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
60 (HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
61 registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
62 (enum reg_class reg_class_from_letter): No longer const.
63 (SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
64 REGCLASS_HAS_GENERAL_REG.
65 Handle SImode moves from/to fp registers.
66 ! TARGET_SHMEDIA && TARGET_FMOVD.
67 (SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
68 * sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.
70 2002-12-12 Andreas Schwab <schwab@suse.de>
72 * config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
73 change and some warnings.
75 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
77 * doc/md.texi (pushm): Fix a typo.
79 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
81 * config/mips/mips.c (mips_output_conditional_branch): Support
82 PIC-safe out-of-range branch and branch-likely.
83 * config/mips/mips.md (attr length): PIC-safe out-of-range
85 ("jump"): Support PIC-safe out-of-range-for-branch jumps. Remove
86 unused code to support indirect jumps.
88 2002-12-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
90 * pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
91 (MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
93 (PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
94 (FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
96 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
98 * doc/invoke.texi: Correct dump file names.
100 2002-12-09 Steve Ellcey <sje@cup.hp.com>
102 * config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
103 name to globalize_label or assemble_name.
105 Wed Dec 11 20:15:19 2002 J"orn Rennecke <joern.rennecke@superh.com>
107 * sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
108 if not TARGET_SHMEDIA.
110 Wed Dec 11 19:05:05 2002 J"orn Rennecke <joern.rennecke@superh.com>
112 * sh.h (REG_CLASS_HAS_FP_REG): New.
113 (REGISTER_MOVE_COST) Use it. Put body into a function and
115 * sh.c (sh_register_move_cost).
116 * sh-protos.h (sh_register_move_cost): Declare.
118 * sh.c (sh_expand_builtin): Abort for unexpected nop values.
119 (sh_adjust_cost): Always return a value.
121 Wed Dec 11 18:39:52 2002 J"orn Rennecke <joern.rennecke@superh.com>
123 * sh.h (REG_CLASS_HAS_GENERAL_REG): New.
124 (REGISTER_MOVE_COST): Use it.
126 2002-12-11 Richard Henderson <rth@redhat.com>
128 * tree.h (MODULE_LOCAL_P): Kill.
129 * varasm.c (default_binds_local_p_1): Use decl_visibility instead.
131 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
133 * config/h8300/h8300.md (two define_peephole2): New.
135 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
137 * config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
138 (CONST_OK_FOR_K): Likewise.
139 (CONST_OK_FOR_M): Likewise.
140 (CONST_OK_FOR_LETTER_P): Do not use the above macros.
142 2002-12-11 Neil Booth <neil@daikokuya.co.uk>
144 * c-common.c (builtin_define_type_max): Handle unsigned
147 2002-12-10 Janis Johnson <janis187@us.ibm.com>
150 * doc/tm.texi (PUSH_ARGS): Remove misplaced line.
152 2002-12-10 Devang Patel <dpatel@appple.com>
154 * config/darwin.h(LINK_SPEC): Add darwin specific linker options.
155 * doc/invoke.texi: Add new "Darwin Options" section.
157 2002-12-10 Jim Wilson <wilson@redhat.com>
159 * rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
162 2002-12-10 Andrew Haley <aph@redhat.com>
164 * cse.c (cse_insn): Don't cse past a basic block boundary.
166 2002-12-10 Jakub Jelinek <jakub@redhat.com>
168 * config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
170 * config/alpha/linux-elf.h (LIB_SPEC): Likewise.
171 * config/alpha/linux.h (LIB_SPEC): Likewise.
172 * config/arm/linux-elf.h (LIB_SPEC): Likewise.
173 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
174 * config/sparc/linux.h (LIB_SPEC): Likewise.
175 * config/sparc/linux64.h (LIB_SPEC): Likewise.
177 2002-12-09 Larin Hennessy <larin@science.oregonstate.edu>
179 * doc/invoke.texi: Document UltraSparc III option.
181 2002-12-09 Richard Henderson <rth@redhat.com>
183 * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
184 __tune_pentium2__ and __tune_pentium3__ as necessary.
186 2002-12-09 Richard Henderson <rth@redhat.com>
188 * target.h (gcc_target): Add cannot_force_const_mem.
189 * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
190 (TARGET_INITIALIZER): Add it.
191 * varasm.c (force_const_mem): Fail if cannot_force_const_mem.
192 * expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
193 * reload1.c (reload): Likewise.
194 * hooks.c (hook_bool_rtx_false): New.
195 * hooks.h: Declare it.
197 * config/i386/i386.c (ix86_cannot_force_const_mem): New.
198 (TARGET_CANNOT_FORCE_CONST_MEM): New.
199 (ix86_expand_move): Remove de-const-pooling hack.
201 Mon Dec 9 21:33:38 CET 2002 Jan Hubicka <jh@suse.cz>
203 * toplev.c (dump_file): Fix order to match reality.
205 2002-12-08 Geoffrey Keating <geoffk@apple.com>
207 * config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
208 (store_multiple): Likewise.
210 2002-12-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
212 * pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
213 function pointers in page 0.
215 2002-12-09 Steve Ellcey <sje@cup.hp.com>
217 * config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
219 (MEMBER_TYPE_FORCES_BLK): Move.
220 * config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
222 (ia64_function_value): Use PARALLEL to return aggregate values.
224 2002-12-09 Steve Ellcey <sje@cup.hp.com>
226 * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
227 * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
228 * calls.c (store_unaligned_arguments_into_pseudos) Remove
229 FUNCTION_ARG_REG_LITTLE_ENDIAN.
230 * stmt.c (expand_return): Ditto.
231 * expr.c (move_block_from_reg): Ditto.
232 (copy_blkmode_from_reg): Ditto.
233 * expmed.c (store_bit_field): Ditto.
235 2002-12-09 Svein E. Seldal <Svein.Seldal@solidas.com>
237 * config.gcc: Added tic4x-* target as an alias to c4x-*
239 Sun Dec 8 14:57:39 CET 2002 Jan Hubicka <jh@suse.cz>
241 * i386.c (ix86_expand_int_movcc): Use force_operand instead of
242 constructing insn directly.
244 2002-12-07 Kazu Hirata <kazu@cs.umass.edu>
246 * config/h8300/h8300.md (*iorhi_shift_8): New.
248 2002-12-06 Bernd Schmidt <bernds@redhat.com>
250 * doc/invoke.texi: Document FRV port options.
251 * doc/md.texi: Document FRV register classes.
253 2002-12-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
255 * doc/install.texi (Configuration): Improve description of cases
256 where `make distclean` may fail; clarify --with-gnu-as; fix grammar.
258 2002-12-06 Dhananjay Deshpande <dhananjayd@kpit.com>
260 * gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has
262 (push): Generate push_fpscr.
263 (pop): Generate pop_fpscr.
264 * gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr".
265 (fpu_switch): Add alternative to push fpscr. Enable for TARGET_SH3E.
267 Fri Dec 6 19:36:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
269 * sh.c (dump_table): DImode pool constants need only 32 bit alignment.
270 DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE.
272 Fri Dec 6 19:17:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
274 * sh.md (movdi_i): Name. Remove inappropriate comment.
276 Fri Dec 6 15:44:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
277 Merged from basic improvements branch (excerpt):
279 2002-11-19 Kaz Kojima <kkojima@gcc.gnu.org>
280 * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
282 2002-12-06 Jakub Jelinek <jakub@redhat.com>
284 * expr.c (expand_expr) <case COND_EXPR>: Never modify exp in place.
286 2002-12-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
288 * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
289 * pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.
291 2002-12-05 Dale Johannesen <dalej@apple.com>
293 * tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
295 2002-12-05 Danny Smith <dannysmith@users.sourceforge.net>
297 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
299 * config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.
301 2002-12-05 Aldy Hernandez <aldyh@redhat.com>
303 * config/rs6000/spe.h (__ev_mwlufi): Remove.
304 (__ev_mwlufia): Remove.
305 (__ev_mwlumfaaw): Remove.
306 (__ev_mwlusfaaw): Remove.
307 (__ev_mwlumfanw): Remove.
308 (__ev_mwlusfanw): Remove.
310 2002-12-05 Kazu Hirata <kazu@cs.umass.edu>
312 * config/h8300/h8300.md (*andorsi3_shift_8): New.
314 2002-12-05 Kazu Hirata <kazu@cs.umass.edu>
316 * config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and
317 lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
318 (get_shift_alg): Return optimal assembly instructions for the
319 shifts mentioned above.
321 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
323 * config/h8300/h8300.c (h8300_init_once): Do not use loop to
324 implement ashiftrt:HI by 13 bits on H8S.
326 2002-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
328 * pa/fptr.c (__canonicalize_funcptr_for_compare): New file and function.
329 * pa.md (canonicalize_funcptr_for_compare): Output library call to
330 canonicalize_funcptr_for_compare_libfunc on TARGET_ELF32.
331 * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL,
332 CTOR_LIST_BEGIN): New defines.
333 * pa/t-linux (LIB2FUNCS_EXTRA): New define.
334 (fptr.c): Add make rules.
336 2002-12-04 Geoffrey Keating <geoffk@apple.com>
338 * combine.c (combine_simplify_rtx): Add new canonicalizations.
339 * doc/md.texi (Insn Canonicalizations): Document new
340 canonicalizations for multiply/add combinations.
341 * config/rs6000/rs6000.md: Add and modify floating add/multiply
342 patterns to ensure they're used whenever they can be.
344 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
346 * config/h8300/h8300.c: Update the comments related to shifts.
348 2002-12-04 Chris Demetriou <cgd@broadcom.com>
350 * config/mips/mips.md (get_fnaddr): Correct length attribute.
352 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
354 * config/h8300/h8300.md (*extzv_8_8): New.
355 (*extzv_8_16): Likewise.
357 2002-12-04 Jason Merrill <jason@redhat.com>
359 PR c++/8461, c++/8625
360 * integrate.c (copy_decl_for_inlining): Handle explicit invisible
362 * tree-inline.c (initialize_inlined_parameters): Likewise.
364 * tree.c (variably_modified_type_p): Just return an error_mark_node.
366 2002-12-04 Chris Demetriou <cgd@broadcom.com>
368 * config/mips/mips.md (get_fnaddr): Avoid placing an "la"
369 macro instruction in a branch delay slot, to avoid assembler
372 2002-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
375 * c-semantics (genrtl_scope_stmt): Do not output inlined
376 nested functions that contain no code.
378 Wed Dec 4 15:20:54 CET 2002 Jan Hubicka <jh@suse.cz>
380 * cfgrtl.c (force_nonfallthru_and_redirect): Allow abnormal edge
381 to be forced into nonfallthru.
383 2002-12-03 Jason Thorpe <thorpej@wasabisystems.com>
385 * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
387 2002-12-03 Aldy Hernandez <aldyh@redhat.com>
389 * config/rs6000/spe.md (*movv1di_const0): New pattern.
391 2002-12-03 Richard Henderson <rth@redhat.com>
393 * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
395 2002-12-03 Hans-Peter Nilsson <hp@bitrange.com>
397 * bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
398 Initialize tmp.using_obstack to 0.
400 2002-12-03 Andreas Schwab <schwab@suse.de>
402 * config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
403 (EH_RETURN_STACKADJ_RTX): Define.
404 (EH_RETURN_HANDLER_RTX): Define.
405 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
406 * config/m68k/m68k.c (m68k_save_reg): New function. Handle eh
407 registers and don't save fixed registers.
408 (m68k_output_function_prologue): Use it.
409 (use_return_insn): Likewise.
410 (m68k_output_function_epilogue): Likewise.
412 2002-12-03 Kazu Hirata <kazu@cs.umass.edu>
414 * config/h8300/h8300.c (single_one_operand): Fix a warning.
415 (single_zero_operand): Likewise.
417 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
419 * config/h8300/h8300.c (dosize): Replace argument op with
421 (h8300_output_function_prologue): Update the call to dosize.
422 (h8300_output_function_epilogue): Likewise.
424 2002-12-02 Bob Wilson <bob.wilson@acm.org>
426 * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
428 2002-12-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
430 * configure.in: Use "missing" script to generate warning if
431 flex or bison programs not found, instead of invoking "false".
432 * configure: Rebuilt.
434 Mon Dec 2 20:28:48 CET 2002 Jan Hubicka <jh@suse.cz>
436 * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
438 Mon Dec 2 19:42:52 CET 2002 Jan Hubicka <jh@suse.cz>
440 * i386.c (ix86_expand_int_movcc): Avoid overflow.
442 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
444 * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
447 (h8300_output_function_prologue): Likewise.
448 (h8300_output_function_epilogue): Likewise.
450 Mon Dec 2 14:43:22 2002 J"orn Rennecke <joern.rennecke@superh.com>
452 * expmed.c (store_bit_field): Use int_mode_for_mode to find
453 corresponding mode of non-integer mode, unless it is VOIDmode.
455 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
457 * config/h8300/h8300.md (stm_h8300s_2): New.
458 (stm_h8300s_3): Likewise.
459 (stm_h8300s_4): Likewise.
460 (five define_peephole2): Likewise.
462 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
464 * ra-build.c: Fix a comment typo.
466 2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
468 * config/h8300/h8300.c (h8300_output_function_prologue):
470 (h8300_output_function_epilogue): Likewise.
472 2002-12-01 Zack Weinberg <zack@codesourcery.com>
474 * config/frv/xm-frv.h: Delete, unnecessary.
476 2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
478 * config/h8300/h8300.md: Add comments for define_peephole2.
480 2002-12-01 Mark Mitchell <mark@codesourcery.com>
482 * builtin-types.def (BT_SIZE): Use size_type_node.
483 * builtins.c (fold_builtin): Make the builtin strlen returns a
484 size_t, not a sizetype.
485 * c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
487 (c_alignof_expr): Likewise.
488 (c_common_nodes_and_builtins): Likewise.
489 * c-common.h (CTI_C_SIZE_TYPE): Remove.
490 (c_size_type_node): Likewise.
491 * c-format.c (T_ST): Use size_type_node, not c_size_type_node.
492 * tree.h (TI_SIZE_TYPE): New enumeral.
493 (size_type_node): Likewise.
495 2002-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
497 * cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
498 pseudo register number plus 1.
500 2002-11-29 Hans-Peter Nilsson <hp@bitrange.com>
502 * cpplib.c (_cpp_test_assertion): Default *value to 0.
504 * cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.
506 2002-11-29 Ulrich Weigand <uweigand@de.ibm.com>
508 * config/s390/t-crtstuff: New target makefile fragment.
509 * config.gcc [s390-*-linux, s390x-*-linux]: Use it.
511 2002-11-29 Kazu Hirata <kazu@cs.umass.edu>
513 * config/h8300/h8300.md (movsi_h8300hs): Change the order of
514 alternatives to correct the length when the memory operand is
515 either pre_dec or post_inc.
517 2002-11-29 Kazu Hirata <kazu@cs.umass.edu>
519 * config/h8300/h8300.md (an anonymous pattern): Give an
520 internal name *tst_extzv_bitqi_1_n.
521 Accept bit_operand instead of bit_memory_operand.
522 Do not accept bit tests with the MSB.
523 (*tst_extzv_memqi_1_n): New.
525 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
527 * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
529 (h8300_tiny_constant_address_p): Likewise.
531 2002-11-28 Michael Matz <matz@suse.de>
533 * doc/passes.texi: Mention the other register allocator.
535 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
537 * config/h8300/h8300.md (6 new peephole2 patterns): New.
539 2002-11-28 Jakub Jelinek <jakub@redhat.com>
541 * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
542 * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
543 * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define.
545 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
547 * config/h8300/h8300.c (h8300_and_costs): New.
548 * config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs.
549 * config/h8300/h8300-protos.h: Add a prototype for
552 2002-11-27 Zack Weinberg <zack@codesourcery.com>
554 * config/rs6000/rs6000.c (altivec_init_builtins): Make the
555 pointer argument in the prototypes of the following builtins
556 be (const TYPE *) rather than (TYPE *):
557 + __builtin_altivec_ld_internal_4sf
558 + __builtin_altivec_ld_internal_4si
559 + __builtin_altivec_ld_internal_8hi
560 + __builtin_altivec_ld_internal_16qi
561 + __builtin_altivec_lvsl
562 + __builtin_altivec_lvsr
563 + __builtin_altivec_lvebx
564 + __builtin_altivec_lvehx
565 + __builtin_altivec_lvewx
566 + __builtin_altivec_lvxl
567 + __builtin_altivec_lvx
568 + __builtin_altivec_dst
569 + __builtin_altivec_dstt
570 + __builtin_altivec_dstst
571 + __builtin_altivec_dststt
573 2002-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
575 * except.c (default_exception_section): Move variable into the
576 scope where it is used.
578 2002-11-27 Krister Walfridsson <cato@df.lth.se>
580 * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
583 2002-11-27 Kazu Hirata <kazu@cs.umass.edu>
585 * config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
587 2002-11-27 Kazu Hirata <kazu@cs.umass.edu>
589 * config/h8300/h8300.c (h8300_shift_costs): New.
590 * config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
591 * config/h8300/h8300-protos.h: Add a prototype for
594 2002-11-27 Jim Wilson <wilson@redhat.com>
596 * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
599 2002-11-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
601 * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
602 * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
603 DLL_IMPORT_EXPORT_PREFIX, not '@'.
604 (i386_pe_dllimport_name_p): Likewise.
605 (i386_pe_mark_dllexport): Likewise.
606 (i386_pe_mark_dllimport): Likewise.
607 (i386_pe_encode_section_info): Likewise.
608 (i386_pe_strip_name_encoding): Likewise.
610 2002-11-27 Richard Henderson <rth@redhat.com>
612 * mkmap-symver.awk (BEGIN): Set sawsymbol false.
613 (nm && NF == 3): Set sawsymbol true.
614 (END): Exit if no symbols seen.
615 (output): Fix map syntax error if no globals for the version.
617 Wed Nov 27 14:45:46 CET 2002 Jan Hubicka <jh@suse.cz>
619 * builtins.def (DEF_C99_BUILTIN): Fix.
621 2002-11-26 Andrew Haley <aph@redhat.com>
623 * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
624 from_Unwind_Find_Enclosing_Function.
625 * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
626 * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
627 * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
628 _Unwind_Find_Enclosing_Function, export @@GCC_3.3.
629 * unwind.h (_Unwind_FindEnclosingFunction): Add.
631 2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
633 * config/s390/s390.c (390_output_constant_pool): Set alignment
634 before label in 64 bit mode, behind otherwise.
636 2002-11-26 Richard Henderson <rth@redhat.com>
638 * c-common.c (handle_visibility_attribute): Accept "default".
639 * tree.h (enum symbol_visibility): New.
640 (decl_visibility): Declare.
641 * target.h (gcc_target.visibility): Take visibility arg as integer.
642 * varasm.c (default_assemble_visibility): Likewise.
643 (decl_visibility): New.
644 (maybe_assemble_visibility): Use it.
645 * output.h (default_assemble_visibility): Update prototype.
646 * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
647 visibility arg as integer.
648 * doc/extend.texi: Document default visibility.
650 2002-11-26 Kazu Hirata <kazu@cs.umass.edu>
652 * config/h8300/h8300.c: Adjust spacing.
653 * config/h8300/h8300.h: Likewise.
655 2002-11-26 Richard Henderson <rth@redhat.com>
657 * hooks.c (hook_bool_void_false, hook_void_tree_int,
658 hook_void_FILEptr_constcharptr): Rename so that the return
660 (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr,
661 hook_bool_tree_false): New.
663 * langhooks-def.h: Update for renames.
664 * target-def.h: Likewise.
665 * tree.c (default_comp_type_attributes,
666 default_set_default_type_attributes, default_insert_attributes,
667 default_function_attribute_inlinable_p,
668 default_ms_bitfield_layout_p): Remove.
671 2002-11-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
673 * pa-protos.h (function_value): New prototype.
674 * pa.c (function_value): Use a PARALLEL to return small aggregates on
676 * pa.h (FUNCTION_VALUE): Use function_value.
677 * pa.md (call_value_internal_symref, call_value_internal_reg_64bit,
678 call_value_internal_reg, sibcall_value_internal_symref,
679 sibcall_value_internal_symref_64bit): Remove =rf constraint on return
682 2002-11-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
684 * expr.c (gen_group_rtx, emit_group_move): New functions.
685 * expr.h (gen_group_rtx, emit_group_move): Prototype.
686 * function.c (expand_function_start): Use gen_group_rtx to create a
687 PARALLEL rtx to hold the return value when the real return rtx is a
689 (expand_function_end): Use emit_group_move to move the return value
690 from a PARALLEL to the real return registers.
691 * rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
694 2002-11-26 Jason Thorpe <thorpej@wasabisystems.com>
696 * config/t-libc-ok: Fix typo.
698 2002-11-26 Jakub Jelinek <jakub@redhat.com>
700 * configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back
702 * configure: Rebuilt.
704 2002-11-26 Nathan Sidwell <nathan@codesourcery.com>
706 * c-decl.c: (start_struct): Commonize flag setting.
708 2002-11-26 Jason Thorpe <thorpej@wasabisystems.com>
710 * config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
711 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use
712 RS6000_CPU_CPP_ENDIAN_BUILTINS.
713 * config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine.
715 2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
717 * config/s390/s390.md (literal_pool_64, literal_pool_31 ): New
719 * config/s390/s390.c (struct machine_function): Introduction of
720 struct machine_function.
721 (s390_output_symbolic_const): Use of cfun.
722 (s390_optimize_prolog): Likewise.
723 (s390_fixup_clobbered_return_reg): Likewise.
724 (s390_frame_info): Likewise.
725 (s390_emit_prologue, s390_emit_epilogue): Likewise.
726 (s390_init_machine_status): New function.
727 (override_options): call s390_init_machine_status.
728 * config/s390/s390-protos.h (s390_output_constant_pool): Changed
731 2002-11-26 Jakub Jelinek <jakub@redhat.com>
733 * varasm.c (output_constant_pool): For pool constants in mergeable
734 section ensure each constant is padded to multiple of entity size.
736 2002-11-26 Jakub Jelinek <jakub@redhat.com>
738 * varasm.c (default_exception_section): Move to...
739 * except.c (default_exception_section): ... here. Make
740 .gcc_except_table read-only if it is not expected to have any
741 dynamic relocations and linker handles it.
742 * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
743 if it is not expected to have any dynamic relocations and linker
745 * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
746 when linking read-only and read-write sections together.
747 * configure, config.in: Rebuilt.
748 * crtstuff.c (EH_FRAME_SECTION_CONST): Define.
749 (__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
751 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
753 * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
755 (__ev_create_ufix32_fs): Same.
756 (__ev_get_sfix32_fs_internal): New.
757 (__ev_get_sfix32_fs): Define to use function.
758 (__ev_get_ufix32_fs_internal): New.
759 (__ev_get_ufix32_fs): Define to use function.
760 (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
761 (__ev_get_lower_ufix32_fs): Same.
762 (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
763 (__ev_get_lower_sfix32_fs): Same.
764 (__ev_set_sfix32_fs_internal): New.
765 (__ev_set_ufix32_fs_internal): New.
766 (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
767 (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
768 (__ev_set_upper_sfix32_fs): Call function.
769 (__ev_set_lower_sfix32_fs): Same.
770 (__ev_set_upper_ufix32_fs): Same.
771 (__ev_set_lower_ufix32_fs): Same.
773 2002-11-25 Douglas B Rupp <rupp@gnat.com>
775 * gcc.c (do_spec_1): Reset delete_this_arg to zero.
777 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
779 * config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
780 * config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
781 * config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
782 * config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
783 * config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
784 * config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
785 * config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
786 * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
787 * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
788 * config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
789 * config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
790 * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
791 * config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
792 * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
793 * config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
794 * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
795 * config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
796 * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
797 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
798 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
799 * config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
800 * config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
801 * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
802 * config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
804 * config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
805 * config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.
807 2002-11-25 Dave Pitts <dpitts@cozx.com>
809 * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list
811 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
813 * config/h8300/h8300.md (an anonymous pattern): New.
815 2002-11-25 Richard Henderson <rth@redhat.com>
817 * alias.c (find_base_value): Use new_reg_base_value if it's live.
818 (copying_arguments): Make boolean.
820 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
822 * gcc.c (static_spec_functions): Add if-exists-else spec
824 (if_exists_else_spec_function): New function.
825 * doc/invoke.texi: Document the if-exists-else spec function.
827 * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
828 "%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".
830 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
832 * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
833 "netbsd.h netbsd-elf.h" in tm_file. Set tmake_file to
834 "${tmake_file} rs6000/t-netbsd".
835 * config/rs6000/netbsd.h: Rewrite.
836 * config/rs6000/t-netbsd: New file.
838 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
840 * config/h8300/h8300.md (an anonymous pattern): Relax the
841 condition for the pattern.
843 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
845 * config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf,
846 evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw,
847 evmwlssfanw, evmwlsmfanw.
849 * config/rs6000/rs6000.c (bdesc_2arg): Same.
851 * config/rs6000/spe.md: Same for patterns.
853 2002-11-25 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
856 * fold-const.c (extract_muldiv): Don't propagate division unless
857 both arguments are multiples of C.
859 2002-11-25 Andrew Haley <aph@redhat.com>
861 * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
862 * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
863 * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
864 * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
866 2002-11-24 Kazu Hirata <kazu@cs.umass.edu>
868 * config/h8300/h8300.c (h8300_init_once): Fix a typo in the
871 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
873 * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
874 extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
876 (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
877 (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
878 to "" for a.out configurations.
879 * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".
881 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
883 * config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
884 NETBSD_CPP_SPEC directly.
885 (SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec. Add
887 (ENDFILE_SPEC): Use %(netbsd_endfile_spec).
889 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
891 * config/netbsd-elf.h (STARTFILE_SPEC): Rename to
892 NETBSD_STARTFILE_SPEC.
893 (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
894 (ENDFILE_SPEC): Likewise.
895 * config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.
897 2002-11-24 Andreas Schwab <schwab@suse.de>
899 * Makefile.in (install-driver): Remove versioned link before
902 * config/m68k/m68k.c: Fix typo in last change defining
903 TARGET_ASM_CAN_OUTPUT_MI_THUNK.
905 2002-11-23 Kazu Hirata <kazu@cs.umass.edu>
907 * config/h8300/h8300.c (print_operand): Update the use of
908 h8300_tiny_constant_address_p.
909 (h8300_adjust_insn_length): Likewise.
910 (h8300_tiny_constant_address_p): Check if the given rtx is a
911 variable declared with __attribute__ ((tiny_data)).
913 2002-11-22 Dale Johannesen <dalej@apple.com>
915 * toplev.c (rest_of_compilation): Fix comments.
917 2002-11-22 Geoffrey Keating <geoffk@apple.com>
919 * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
920 allow mmap from /dev/zero. Don't make decisions for the host
921 based on presence or absence of /dev/zero on the build machine.
922 (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON.
923 (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file.
924 * configure: Regenerate.
926 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
928 * gcc.c (make_relative_prefix, split_directories)
929 (free_split_directories): Removed.
931 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
933 * configure.in: Set insn=nop for DWARF-2 tests on ARM.
934 * configure: Regenerated.
936 2002-11-22 Kazu Hirata <kazu@cs.umass.edu>
938 * config/h8300/h8300.c (compute_a_shift_length): Fix the insn
939 length computation when xor.l is output.
941 2002-11-21 Jim Wilson <wilson@redhat.com>
943 * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
946 2002-11-21 Bob Wilson <bob.wilson@acm.org>
948 * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
949 * config/xtensa/xtensa.c (struct machine_function): Add
950 incoming_a7_copied flag.
951 (xtensa_copy_incoming_a7): Define.
952 (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
953 * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.
955 Thu Nov 21 23:52:04 CET 2002 Jan Hubicka <jH@suse.cz>
957 * i386-protos.h (x86_64_sign_extended_value): Fix prototype.
958 * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
959 x86_64_nonmemory_operand, x86_64_movabs_operand,
960 x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
961 ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
962 (local_symbolic_operand): Do not care the 64bit limits.
963 (x86_64_sign_extended_value): Remove allow_rip support.
964 (legitimate_pic_address_disp_p): Handle all cases allowed
966 (legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
967 (legitimize_pic_address): Reorganize.
968 * i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.
970 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
972 * config.gcc (arm*-*-netbsdelf*): Enable configuration.
973 * config/arm/netbsd-elf.h: New file.
975 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
977 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
978 subtarget_asm_float_spec.
979 (SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
981 (ASM_SPEC): ...here. Use subtarget_asm_float_spec.
983 2002-11-21 Nick Clifton <nickc@redhat.com>
985 * config/fr30/fr30.md (movsf_constant_store): Move code to
986 detect 0.0 into fr30.c.
987 * config/fr30/fr30-protos.h (fr30_const_double_is_zero):
989 * config/fr30/fr30.c (fr30_const_double_is_zero): New
990 function. Return true if the rtx is 0.0.
992 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
994 * config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
995 if -mlittle-endian is specified.
997 2002-11-21 Richard Earnshaw <rearnsha@arm.com>
1000 * arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
1001 (anddi_notsesidi_di): Likewise.
1003 2002-11-21 Kazu Hirata <kazu@cs.umass.edu>
1005 * config/h8300/h8300.c (print_operand): Use
1006 h8300_eightbit_constant_address_p and
1007 h8300_tiny_constant_address_p.
1008 (h8300_adjust_insn_length): Likewise.
1009 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove.
1010 (TINY_CONSTANT_ADDRESS_P): Likewise.
1011 (OK_FOR_U): Use eightbit_constant_address_p.
1013 2002-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1015 * config/s390/libgcc-libc.ver: Add multilib support.
1016 * config/s390/linux.h (MULTILIB_DEFAULT): Define.
1017 * config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
1018 MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC,
1019 EXTRA_MULTILIB_PARTS): Define.
1021 2002-11-21 Richard Earnshaw <rearnsha@arm.com>
1023 * arm.c (arm_get_frame_size): A leaf function does not need its
1024 stack padding to an aligned boundary if it has no frame.
1025 (thumb_get_frame_size): Likewise.
1027 2002-11-20 Steve Ellcey <sje@cup.hp.com>
1029 * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
1030 to component type using GET_MODE_INNER.
1031 * expr.c (emit_move_insn_1): Ditto.
1032 * optabs.c (expand_binop): Ditto.
1033 (expand_unop): Ditto.
1034 (expand_complex_abs): Ditto.
1036 2002-11-20 Douglas B Rupp <rupp@gnat.com>
1038 * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
1040 2002-11-20 DJ Delorie <dj@redhat.com>
1042 * config/stormy16/stormy16.c (s16builtins,
1043 xstormy16_init_builtins, xstormy16_expand_builtin): New.
1044 * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
1046 2002-11-20 Hans-Peter Nilsson <hp@bitrange.com>
1048 * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
1049 (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
1050 (executing gencheck, genconfigs, genconditions, genflags,
1051 gencodes, genconstants, genemit, genrecog, genopinit, genextract,
1052 genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
1053 gengtype, genprotos): Prepend $(RUN_GEN).
1054 * configure.in: Move host compiler tests before --enable-checking
1056 (--enable-checking=valgrind): New.
1057 * config.in, configure: Regenerate.
1058 * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
1060 (read_include_file): When doing the mmap+1 trick,
1061 valgrind-annotate the byte after the mmap:ed area as readable.
1062 (purge_cache): Remove above annotation.
1063 * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
1064 VALGRIND_PATH -q to each command.
1066 * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
1068 (ggc_realloc): Update valgrind annotations.
1069 * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
1071 (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
1072 valgrind-annotate memory.
1074 2002-11-20 Ulrich Weigand <uweigand@de.ibm.com>
1076 * recog.c (constrain_operands): Prefer exact match over reloadable
1077 EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.
1079 * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
1082 2002-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
1085 * c-decl.c (duplicate_decls): Outline the second definition
1086 of an extern inline function in all cases.
1088 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
1090 * stor-layout.c (place_field): Update rli->offset as well as
1093 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
1095 * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
1097 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
1099 * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
1100 into a libcall block.
1101 (divsi3): Likewise divsi3_i4_media.
1103 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
1105 * global.c (find_reg): Check HARD_REGNO_NREGS before kicking
1106 out another register.
1108 2002-11-20 Jakub Jelinek <jakub@redhat.com>
1110 * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
1111 (not just mask) are set in C.
1113 2002-11-19 Andreas Jaeger <aj@suse.de>
1115 * loop.c (record_giv): Initialize not_replaceable.
1116 (check_final_value): Likewise.
1118 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
1120 * config/h8300/h8300.c (h8300_init_once): Replace 1 with
1123 2002-11-19 Vijay L. Khuspe <vijayk1@kpit.com>
1125 * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
1126 only if -mh or -ms present.
1127 (h8300_eightbit_constant_address_p): Support the normal mode.
1128 (h8300_tiny_constant_address_p): Likewise.
1129 * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
1130 (POINTER_SIZE): Add 16 bit pointer for the normal mode.
1131 (Pmode): Evaluate to HImode for the normal mode.
1132 (SIZE_TYPE): Evaluate to unsigned int for normal mode.
1133 (PTRDIFF_TYPE): Evaluate to int for the normal mode.
1134 (ASM_WORD_OP): Evaluate to word for the normal mode.
1135 * config/h8300/h8300.md (tablejump_normal_mode): New.
1136 (indirect_jump_normal_mode): New.
1137 * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
1139 (MULTILIB_DIRNAMES): Create target dependent directory
1141 (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
1142 * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
1144 Tue Nov 19 23:50:56 CET 2002 Jan Hubicka <jh@suse.cz>
1146 * i386.md (length_immediate): Do not refer to insn address.
1147 (jcc*, jmp patterns): Compute length explicitly.
1149 2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
1152 * optabs.c (expand_binop): Convert CONST_INTs in shift
1155 2002-11-19 Roger Sayle <roger@eyesopen.com>
1157 * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
1159 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
1161 * config/h8300/h8300.md (an anonymous pattern): Relax the
1162 condition to accept the same operands and/or subregs.
1164 2002-11-19 Daniel Jacobowitz <drow@mvista.com>
1166 * config/sh/sh.c (gen_shl_and): Revert previous patch.
1167 * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
1170 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
1172 * config/h8300/h8300.c (print_operand): Update the use of
1173 EIGHTBIT_CONSTANT_ADDRESS_P.
1174 (h8300_adjust_insn_length): Likewise.
1175 (h8300_eightbit_constant_address_p): Check if the given rtx is
1176 a variable with __attribute__((eightbit_data)).
1177 * config/h8300/h8300.h (OK_FOR_U): Update the use of
1178 EIGHTBIT_CONSTANT_ADDRESS_P.
1180 2002-11-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1182 * doc/contrib.texi (Contributors): Add self as second contact in
1183 addition to Jeff Law.
1185 2002-11-19 Andreas Jaeger <aj@suse.de>
1187 * tree-inline.c: Move prototpyes of find_alloca_call_1 and
1188 find_alloca_call to right place.
1190 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
1192 * cppfiles.c: Fix formatting.
1194 2002-11-19 Jason Thorpe <thorpej@wasabisystems.com>
1196 * gcc.c (The Specs Language): Document spec functions.
1197 (static_spec_functions, lookup_spec_function)
1198 (eval_spec_function, handle_spec_function)
1199 (if_exists_spec_function, alloc_args): New.
1200 (execute): Abort if processing_spec_function is true.
1201 (do_spec_1): Hand off spec to handle_spec_function if %:
1202 is encountered. If processing_spec_function is true,
1203 end any pending argument when the end of the string is reached.
1204 (main): Use alloc_args to allocate the initial argument vector.
1205 * gcc.h (struct spec_function): New.
1206 (lang_specific_spec_functions): New extern.
1208 * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
1209 (ENDFILE_SPEC): Add if-exists(crtn%O%s).
1210 * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
1212 * doc/invoke.texi: Document spec functions.
1214 * cppspec.c (lang_specific_spec_functions): New.
1215 * gccspec.c: Likewise.
1217 2002-11-18 Steve Ellcey <sje@cup.hp.com>
1219 * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
1220 (FIXUNS_TRUNCTFDI2_LIBCALL): New.
1221 (fixunstfsi_libfunc): Change.
1222 (fixunstfdi_libfunc): Change.
1223 (sdiv_optab): Don't zero out SImode handler.
1224 (udiv_optab): Don't zero out SImode handler.
1225 (smod_optab): Don't zero out SImode handler.
1226 (umod_optab): Don't zero out SImode handler.
1228 2002-11-18 Neil Booth <neil@daikokuya.co.uk>
1230 PR preprocessor/8524
1231 * cpplib.c (run_directive): Remove previous kludge to _Pragma.
1232 Add a new one in its place, which hopefully works.
1233 (skip_rest_of_line): Change test for bottom-of-context-stack.
1235 Mon Nov 18 21:29:03 CET 2002 Jan Hubicka <jh@suse.cz>
1237 * i386.md (addqi_1_slp): Fix output template.
1238 (subqi_1_slp): Fix type.
1240 Sun Nov 17 00:01:28 CET 2002 Jan Hubicka <jh@suse.cz>
1242 * calls.c (alloca_call_p): New global function.
1243 * tree.h (alloca_call_p): New.
1244 * tree-inline.c (inlinable_function_p): Do not inline when
1245 function calls alloca.
1246 (find_alloca_call, find_alloca_call_1): New functions.
1248 2002-11-18 Kazu Hirata <kazu@cs.umass.edu>
1250 * config/h8300/h8300.md (*andorqi3): Use bor between bld and
1251 bst. Update the insn length.
1252 (*andorhi3): Likewise.
1253 (*andorsi3): Likewise.
1255 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
1257 * config/sh/sh-protos.h (sh_mark_label): Declare.
1258 * config/sh/sh.c (sh_mark_label): New function, taken from
1259 movdi_const, but fixing the case when the address has an addend.
1260 * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
1262 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
1264 * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
1265 (add_constant): Set it.
1266 (dump_table): Don't reorder a constant if part_of_sequence_p.
1267 (machine_dependent_reorg): Assume that float constants will
1268 stay in their original order if used as a sequence.
1270 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
1272 * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
1275 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
1277 * config/sh/sh.md (initialize_trampoline): Do not force the
1278 trampoline address into R0_REGS here.
1280 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
1282 * df.c: Fix formatting.
1284 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
1286 * config/h8300/h8300.md (two anonymous patterns): Fix insn
1289 2002-11-17 Daniel Jacobowitz <drow@mvista.com>
1291 * sh.c (gen_shl_and): Don't create a zero_extend if the operand
1292 is not an arith_reg_operand.
1294 2002-11-17 Graham Stott <graham.stott@btinternet.com>
1296 * real.c (real_to_decimal): Fix buffer overrun when buffer size
1297 is smaller than representation.
1299 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
1301 * builtins.c: Fix formatting.
1303 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
1305 * config/h8300/h8300.md (two anonymous patterns): Fix typos.
1307 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
1309 * config/h8300/h8300.md: Fix formatting.
1311 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
1313 * config/h8300/h8300.md: Replace spaces with tabs.
1314 * config/h8300/t-h8300: Remove a trailing empty line.
1316 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
1318 * tlink.c: Fix formatting.
1320 2002-11-16 David Edelsohn <edelsohn@gnu.org>
1323 * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
1324 * config/rs6000/rs6000.md (movti_string): Remove output modifier
1325 when scratch register never needed.
1326 (ldmsi[3-8]): New patterns.
1328 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
1330 * hard-reg-set.h: Follow spelling conventions.
1332 * target.h: Likewise.
1334 2002-11-16 Jakub Jelinek <jakub@redhat.com>
1336 * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
1338 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
1340 * optabs.c: Fix formatting.
1342 Sat Nov 16 02:06:02 CET 2002 Jan Hubicka <jh@suse.cz>
1344 * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
1345 * i386.md (attribute type): Add type shift1 and rotate1.
1346 (*_slp): Rewrite to have just two operands to avoid reload problems.
1348 2002-11-15 Kazu Hirata <kazu@cs.umass.edu>
1350 * config/h8300/h8300.md (4 anonymous patterns): New.
1352 2002-11-15 Geoffrey Keating <geoffk@apple.com>
1354 * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
1355 * doc/invoke.texi: Correct description of what needs to be done to
1356 force collection at every ggc_collect call.
1358 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
1360 * config/s390/s390.c (optimization_options): Set
1361 flag_asynchronous_unwind_tables to 1 by default.
1363 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
1365 * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1367 Fri Nov 15 14:54:19 CET 2002 Jan Hubicka <jh@suse.cz>
1369 * i386-protos.h (x86_function_profiler): New function
1370 * i386.h (MCOUNT_NAME): New.
1371 (PROFILE_COUNT_REGISTER): New.
1372 (FUNCTION_PROFILER): Move offline to ...
1373 * i386.c (x86_function_profiler) ... here; fix 64bit support
1374 * beos-elf.h (FUNCTION_PROFILER): Kill.
1376 * freebsd-aout.h (FUNCTION_PROFILER): Kill.
1378 (PROFILE_COUNT_REGISTER): New.
1379 * linux.h (FUNCTION_PROFILER): Kill.
1381 * x86-64.h (FUNCTION_PROFILER): Kill.
1383 * freebsd.h (FUNCTION_PROFILER): Kill.
1386 2002-11-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
1388 * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
1389 FUNCTION_ARG_PASS_BY_REFERENCE): Define.
1390 * config/arm/arm.c (arm_va_arg,
1391 arm_function_arg_pass_by_reference): New.
1392 * config/arm/arm-protos.h: Add prototypes.
1394 2002-11-14 Kazu Hirata <kazu@cs.umass.edu>
1396 * gthr-single.h: Fix formatting.
1398 2002-11-14 Zack Weinberg <zack@codesourcery.com>
1400 * tree.c (tree_vec_elt_check_failed): New function.
1401 * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
1402 (TREE_VEC_ELT): Use it.
1404 * tree-inline.c (optimize_inline_calls): Don't copy a
1407 2002-11-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
1409 * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
1411 2002-11-14 Jakub Jelinek <jakub@redhat.com>
1413 * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
1414 both operands contain local relocations.
1415 (categorize_decl_for_section): Don't use mergeable sections if
1416 initializer has any relocations.
1418 2002-11-14 Kazu Hirata <kazu@cs.umass.edu>
1420 * gthr-vxworks.h: Fix formatting.
1422 2002-11-13 Janis Johnson <janis187@us.ibm.com>
1424 * doc/install.texi (Testing): Document extra Java testing.
1425 * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
1427 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1429 * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
1430 beginning of the spec.
1431 (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
1432 (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable. Add comment
1433 regarding problems with global constructors when using GNU ld.
1435 2002-11-13 Kazu Hirata <kazu@cs.umass.edu>
1437 * gthr-solaris.h: Fix formatting.
1439 2002-11-13 Kazu Hirata <kazu@cs.umass.edu>
1441 * gthr-posix.h: Fix formatting.
1443 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
1445 * config/h8300/h8300.md (*andorsi3): New.
1447 2002-11-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1449 * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
1451 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
1453 * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
1454 expressions appropriately.
1456 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
1458 * gthr-win32.h: Fix formatting.
1460 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
1462 * config/h8300/h8300.c (single_one_operand): Correctly compute
1463 mask when mode is SImode.
1464 (single_zero_operand): Likewise.
1465 * config/h8300/h8300.md (two new anonymous insns): New.
1467 2002-11-12 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1469 * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
1470 to that entire project.
1472 2002-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1474 * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
1477 2002-11-11 Zack Weinberg <zack@codesourcery.com>
1479 * params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
1480 * doc/invoke.texi: Document them.
1482 * ggc-page.c: Include params.h. Remove definitions of
1483 GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED. Replace
1484 GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
1485 (init_gcc): Don't set G.allocated_last_gc here.
1486 (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
1487 PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
1489 * ggc-simple.c: Similarly.
1490 * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
1493 2002-11-11 Kazu Hirata <kazu@cs.umass.edu>
1495 * gthr-dce.h: Fix formatting.
1497 2002-11-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1500 * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
1501 mode of DECL_RTL case.
1503 2002-11-11 Janis Johnson <janis187@us.ibm.com>
1505 * doc/contrib.texi: Merge in the list from the libstdc++ web pages.
1507 Mon Nov 11 12:06:08 CET 2002 Jan Hubicka <jh@suse.cz>
1509 * i386.c (construct_container): Fix handling of SSE_CLASS.
1511 2002-11-10 Joel Sherrill <joel@gcc.gnu.org>
1513 * config/m68k/t-crtstuff (crti.o): Use this...
1514 ($(T)crti.o): ... instead.
1515 (crtn.o): Use this...
1516 ($(T)crtn.o): ... instead.
1518 2002-11-10 Eric Botcazou <ebotcazou@libertysurf.fr>
1521 * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
1522 if there is something new to be simplified.
1524 2002-11-10 H.J. Lu <hjl@gnu.org>
1526 * calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
1527 * expr.c (PUSH_ARGS_REVERSED): Likewise.
1529 * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
1531 2002-11-10 Zack Weinberg <zack@codesourcery.com>
1533 * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
1534 * config/rs6000/linux.h, config/rs6000/linux64.h,
1535 config/rs6000/windiss.h: ... not here.
1537 2002-11-10 Jason Thorpe <thorpej@wasabisystems.com>
1539 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
1540 __ABICALLS__ if TARGET_ABICALLS.
1542 Sun Nov 10 18:49:21 CET 2002 Jan Hubicka <jh@suse.cz>
1544 * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
1546 2002-11-10 Joseph S. Myers <jsm@polyomino.org.uk>
1548 * c-decl.c (grokdeclarator): Make error for duplicate type
1549 qualifiers into a pedwarn, disabled for C99.
1551 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
1553 * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
1554 as FUNCTION_ARG_PASS_BY_REFERENCE.
1556 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1558 * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
1560 * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
1561 (hppa*64*-*-hpux11*): Likewise. Use elfos.h with gas.
1562 * pa.c (output_millicode_call): Use symbol difference rather than
1563 $PIC_pcrel$0 when using HP assembler.
1564 * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
1565 not elfos.h (i.e., gas) is being used.
1566 (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
1567 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
1568 ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
1569 ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
1570 ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
1572 (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
1573 (DWARF2_ASM_LINE_DEBUG_INFO): Delete.
1574 (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
1576 (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
1577 BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
1578 (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
1579 Don't define when not using elfos.h.
1580 (ASM_DECLARE_RESULT): Don't define.
1581 * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
1582 doesn't work on hppa64-hp-hpux11.
1583 (hppa*-hp-hpux11): Update.
1585 2002-11-09 Jason Thorpe <thorpej@wasabisystems.com>
1587 * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
1588 to the assembler if -mno-abicalls was specified.
1590 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1592 * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
1593 ASM_OUTPUT_DEF): Delete.
1595 2002-11-09 Neil Booth <neil@daikokuya.co.uk>
1597 * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
1599 2002-11-08 Dale Johannesen <dalej@apple.com>
1601 * dbxout.c (dbxout_type): Fix stabs info for vector types.
1603 2002-11-08 Neil Booth <neil@daikokuya.co.uk>
1605 PR preprocessor/8497
1606 PR preprocessor/8501
1607 * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
1608 start a directive. In assembler, #NUM is not a line directive.
1610 2002-11-08 Neil Booth <neil@daikokuya.co.uk>
1612 * cppmain.c (cpp_preprocess_file): Loop to pop any -included
1615 2002-11-08 Kazu Hirata <kazu@cs.umass.edu>
1617 * config/h8300/h8300.md (two anonymous test insns): New.
1619 Fri Nov 8 11:20:19 CET 2002 Jan Hubicka <jh@suse.cz>
1621 * jump.c (mark_jump_label): Handle subregs of label_refs.
1623 2002-11-07 David Mosberger <davidm@hpl.hp.com>
1625 * config/ia64/crtend.asm: Include "auto-host.h".
1626 [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
1627 * config/ia64/crtbegin.asm: Similarly.
1628 * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
1629 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
1631 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
1632 * configure.in: Use it if --enable-initfini-array not specified.
1633 * doc/install.texi (Configuration): Document --enable-initfini-array.
1634 * configure, config.in: Rebuild.
1636 2002-11-07 Jason Thorpe <thorpej@wasabisystems.com>
1638 * config/arm/arm-protos.h (arm_get_frame_size)
1639 (thumb_get_frame_size): New prototypes.
1640 * config/arm/arm.c (arm_get_frame_size)
1641 (thumb_get_frame_size): New functions.
1642 (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
1643 (arm_compute_initial_elimination_offset, arm_expand_prologue): Use
1645 (thumb_expand_prologue, thumb_expand_epilogue): Use
1646 thumb_get_frame_size.
1647 * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
1648 (machine_function): Add frame_size member.
1649 (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
1651 2002-11-07 Richard Earnshaw <rearnsha@arm.com>
1653 * arm.c (bit_count): Make argument unsigned long. Return unsigned.
1654 Adjust code to use portable unsigned bit manipulation.
1655 (insn_flags, tune_flags): Change type to unsigned.
1656 (struct processors): Make flags unsigned long.
1657 (arm_override_options): Change type of count and current_bit_count
1660 2002-11-07 Richard Earnshaw <rearnsha@arm.com>
1662 * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
1664 Thu Nov 7 15:50:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
1666 * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
1668 Thu Nov 7 11:18:01 CET 2002 Jan Hubicka <jh@suse.cz>
1670 * reg-stack.c (compensate_edge): Fix sanity check.
1672 2002-11-05 Geoffrey Keating <geoffk@apple.com>
1674 * config.gcc: Don't create crtbegin, crtend on Darwin; do create
1675 crt2.o. Rearrange t-darwin makefiles.
1676 * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
1677 * unwind-dw2-fde-darwin.c: New.
1678 * unwind-dw2-fde-glibc.c: Correct comment.
1679 * unwind-dw2-fde.c (__register_frame_info_bases)
1680 [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
1681 (classify_object_over_fdes): Use last_fde.
1682 (add_fdes): Likewise.
1683 (linear_search_fdes): Likewise.
1684 * unwind-dw2-fde.h (struct object)
1685 [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
1687 * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
1688 (ENDFILE_SPEC): No crtend.o.
1689 * config/t-darwin: New.
1690 * config/i386/t-darwin: Delete.
1691 * config/darwin-crt2.c: New.
1692 * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
1695 2002-11-06 David Edelsohn <edelsohn@gnu.org>
1698 * config/rs6000/rs6000.md (movdi_internal64): Discourage
1701 2002-11-06 Janis Johnson <janis187@us.ibm.com>
1703 * doc/contrib.texi: Merge in the list from the Java web pages.
1705 2002-11-06 David O'Brien <obrien@FreeBSD.org>
1707 * config/sparc/freebsd: Fix typo.
1709 2002-11-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1711 * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
1713 2002-11-06 Alexandre Oliva <aoliva@redhat.com>
1715 * config/mips/mips.md (call_value_multiple_internal2): Use dla for
1716 non-SImode addresses.
1718 2002-11-05 Bob Wilson <bob.wilson@acm.org>
1720 * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
1722 2002-11-05 John David Anglin <dave2hiauly1.hia.nrc.ca>
1724 * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
1725 (STARTFILE_SPEC): Remove p and pg options.
1727 2002-11-05 Andrew Haley <aph@redhat.com>
1729 * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
1730 to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
1732 2002-11-05 Richard Sandiford <rsandifo@redhat.com>
1734 * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
1735 * config/mips/mips.c (mips_cannot_change_mode_class): ...here.
1737 2002-11-04 Dale Johannesen <dalej@apple.com>
1739 * doloop.c (doloop_modify_runtime): Fix loop count computation
1741 * loop.c (loop_invariant_p): Support calling from unroller.
1743 2002-11-04 Ulrich Weigand <uweigand@de.ibm.com>
1745 * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
1748 2002-11-04 Aldy Hernandez <aldyh@redhat.com>
1750 * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
1752 * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
1753 (CLASS_CANNOT_CHANGE_MODE): Remove.
1754 (CANNOT_CHANGE_MODE_CLASS): New.
1756 * config/alpha/alpha.h: Same.
1758 * config/ia64/ia64.h: Same.
1760 * config/mips/mips.h: Same.
1762 * config/s390/s390.h: Same.
1764 * config/sh/sh.h: Same.
1766 * config/pa/pa64-regs.h: Same.
1768 * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
1770 * config/sh/sh.c (sh_cannot_change_mode_class): New.
1772 * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
1775 * config/mips/mips.c (mips_cannot_change_mode_class): New.
1777 * doc/tm.texi (Register Classes): Remove
1778 CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
1779 Document CANNOT_CHANGE_MODE_CLASS.
1781 * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
1782 (push_reload): Same.
1784 * simplify-rtx.c (simplify_subreg): Same.
1786 * reload1.c (choose_reload_regs): Same.
1788 * recog.c (register_operand): Same.
1790 * regrename.c (mode_change_ok): Change to use new
1791 CANNOT_CHANGE_MODE_CLASS infrastructure.
1793 * regclass.c (cannot_change_mode_set_regs): New.
1794 Declare subregs_of_mode.
1795 (regclass): Use subregs_of_mode.
1796 Remove references to reg_changes_mode.
1797 (init_reg_sets_1): Remove class_can_change_mode and
1798 reg_changes_mode code.
1799 (invalid_mode_change_p): New.
1800 (dump_regclass): Use invalid_mode_change_p instead of
1801 class_can_change_mode.
1803 (record_operand_costs): Do not set reg_changes_mode.
1805 * local-alloc.c (struct qty): Remove changes_mode field.
1806 (alloc_qty): Remove changes_mode initialization.
1807 (update_qty_class): Remove set of changes_mode.
1808 (find_free_reg): Use subregs_of_mode.
1810 * global.c (find_reg): Use subregs_of_mode info.
1812 * rtl.h (cannot_change_mode_set_regs): New prototype.
1813 (invalid_mode_change_p): Same.
1814 (REG_CANNOT_CHANGE_MODE_P): New macro.
1816 * flow.c (mark_used_regs): Calculate subregs_of_mode. Remove
1818 (life_analysis): Clear subregs_of_mode.
1820 * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
1821 Remove use of CLASS_CANNOT_CHANGE_MODE.
1822 (simplify_set): Same.
1823 (gen_lowpart_for_combine): Calculate subregs_of_mode. Remove
1826 * regs.h: Add extern for subregs_of_mode;
1827 Include hard-reg-set and basic-block.
1828 (REG_CHANGES_MODE): Delete.
1830 2002-11-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1832 * jump.c (never_reached_warning): Don't set contains_insn until the
1833 first line note is seen.
1835 2002-11-03 David Edelsohn <edelsohn@gnu.org>
1837 * config/rs6000/rs6000.md (movti_string): Use string instructions.
1839 2002-11-03 Roger Sayle <roger@eyesopen.com>
1842 * c-typeck.c (c_expand_asm_operands): Defend against
1843 error_mark_nodes in the output argument to avoid ICE.
1845 2002-11-03 Eric Botcazou <ebotcazou@libertysurf.fr>
1848 * genrecog.c (preds): Handle ADDRESSOF.
1849 (validate_pattern): Mark it as an lvalue.
1851 2002-11-02 David Edelsohn <edelsohn@gnu.org>
1853 * config/rs6000/rs6000.c (rs6000_override_options): Use string
1854 instructions when optimizing for size.
1856 2002-11-02 Kazu Hirata <kazu@cs.umass.edu>
1858 * config/h8300/h8300.h: Fix comment typos.
1859 * config/h8300/h8300.md: Likewise.
1860 * config/h8300/lib1funcs.asm: Likewise.
1862 2002-11-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1866 *doc/install.texi (Installing GCC: Configuration): Clarify
1867 the only supported ways to configure gcc.
1869 2002-11-01 Kazu Hirata <kazu@cs.umass.edu>
1871 * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
1872 instead of 'O' for the constraint for the second operand.
1874 2002-11-01 Mark Mitchell <mark@codesourcery.com>
1877 * toplev.c (rest_of_compilation): Do not refuse to output code for
1878 an inline function in a local class.
1880 2002-11-01 David O'Brien <obrien@FreeBSD.org>
1882 * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
1883 (TRANSFER_FROM_TRAMPOLINE): Reformat.
1886 2002-11-01 Kazu Hirata <kazu@cs.umass.edu>
1888 * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
1890 2002-11-01 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
1892 * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
1894 2002-11-01 Steve Ellcey <sje@cup.hp.com>
1896 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
1897 (MASK_INLINE_DIV_THR): Remove.
1898 (TARGET_INLINE_DIV_LAT): Remove.
1899 (TARGET_INLINE_DIV_THR): Remove.
1900 (TARGET_INLINE_DIV): Remove.
1901 (MASK_INLINE_FLOAT_DIV_LAT): New macro.
1902 (MASK_INLINE_FLOAT_DIV_THR): New macro.
1903 (MASK_INLINE_INT_DIV_LAT): New macro.
1904 (MASK_INLINE_INT_DIV_THR): New macro.
1905 (TARGET_INLINE_FLOAT_DIV_LAT): New macro.
1906 (TARGET_INLINE_FLOAT_DIV_THR): New macro.
1907 (TARGET_INLINE_INT_DIV_LAT): New macro.
1908 (TARGET_INLINE_INT_DIV_THR): New macro.
1909 (TARGET_INLINE_FLOAT_DIV): New macro.
1910 (TARGET_INLINE_INT_DIV): New macro.
1911 * config/ia64/ia64.md (divsi3): Change to use new macros.
1915 (divsi3_internal): Ditto.
1920 (divdi3_internal_lat): Ditto.
1921 (divdi3_internal_thr): Ditto.
1923 (divsf3_internal_lat): Ditto.
1924 (divsf3_internal_thr): Ditto.
1926 (divdf3_internal_lat): Ditto.
1927 (divdf3_internal_thr): Ditto.
1929 (divtf3_internal_lat): Ditto.
1930 (divtf3_internal_thr): Ditto.
1931 * config/ia64/ia64.c (ia64_override_options): Change
1932 to check new macros for conflicts in settings.
1933 * doc/invoke.texi (-minline-divide-min-latency): Remove.
1934 (-minline-divide-max-throughput): Remove.
1935 (-minline-float-divide-min-latency): New.
1936 (-minline-float-divide-max-throughput): New.
1937 (-minline-int-divide-min-latency): New.
1938 (-minline-int-divide-max-throughput): New.
1940 2002-11-01 Richard Earnshaw (rearnsha@arm.com)
1943 * arm.c (use_return_insn): Don't use a return insn if there are
1944 saved integer regs, but LR is not one of them.
1946 Fri Nov 1 10:33:15 CET 2002 Jan Hubicka <jh@suse.cz>
1948 * expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
1949 * machmode.h (SCALAR_FLOAT_MODE_P): New macro.
1951 2002-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
1953 PR optimization/6162
1954 * doc/md.texi: Document restriction on commutative operand
1957 2002-10-31 Eric Christopher <echristo@redhat.com>
1959 * explow.c (convert_memory_address): Use shallow_copy_rtx.
1961 2002-10-31 Steve Ellcey <sje@cup.hp.com>
1963 * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
1965 2002-10-31 Steve Ellcey <sje@cup.hp.com>
1967 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
1969 Thu Oct 31 Dale Johannesen <dalej@apple.com>
1971 * config/rs6000/darwin.h: Correct formatting in previous.
1973 Thu Oct 31 Dale Johannesen <dalej@apple.com>
1975 * config/rs6000/darwin.h: Enable -falign-xxx options.
1977 Thu Oct 31 18:08:00 CET 2002 Jan Hubicka <jh@suse.cz>
1979 * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
1980 flag_asynchronous_unwind_tables, flag_pcc_struct_return.
1981 * i386.c (optimization_options): Set flag_omit_frame_pointer,
1982 flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
1983 Do not clear -momit-leaf-frame-pointer when profiling.
1984 (ix86_frame_pointer_required): Frame pointer is always required when
1987 Thu Oct 31 16:09:44 CET 2002 Jan Hubicka <jh@suse.cz>
1989 * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
1991 Thu Oct 31 12:45:55 2002 J"orn Rennecke <joern.rennecke@superh.com>
1993 * sh.h (binary_logical_operator): Declare.
1994 * sh.c (binary_logical_operator): New function.
1995 * sh.md (xordi3+1): New combiner splitter pattern.
1997 2002-10-31 David O'Brien <obrien@FreeBSD.org>
1999 * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
2000 __enable_execute_stack function.
2002 2002-10-30 Aldy Hernandez <aldyh@redhat.com>
2004 * c-common.c: Add GTY to vector_type_node_list.
2006 2002-10-30 John David Anglin <dave@hiauly.hia.nrc.ca>
2008 * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
2009 * pa-protos.h (attr_length_millicode_call, attr_length_call,
2010 pa_init_machine_status): Declare new global functions.
2011 * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
2012 implement new functions.
2013 (attr_length_millicode_call, attr_length_call): Implement.
2014 (total_code_bytes): Change type to long.
2015 (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
2016 Reset counter if flag_function_sections.
2017 (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
2018 (output_cbranch): Move call to gen_label_rtx.
2019 (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
2020 delay slot in all variants, shorten pc-relative calls.
2021 (output_call): Rewrite adding long TARGET_64BIT call, improved delay
2022 slot usage and exposure, various new call variants, and shortened
2023 sequences for some variants on TARGET_PA_20.
2024 Miscellaneous format changes.
2025 * pa.h (total_code_bytes): Change type to long.
2026 (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
2027 TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
2028 (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
2029 (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
2030 LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
2031 stores on TARGET_ELF32.
2032 *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
2033 (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
2034 canonicalize_funcptr_for_compare expanders): Calculate attribute length
2035 attr_length_millicode_call().
2036 (call_internal_symref, call_value_internal_symref): Clobber register 1.
2037 Calculate attribute length using attr_length_call().
2038 (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
2040 (sibcall, sibcall_value): Rewrite.
2041 (sibcall_internal_symref, sibcall_value_internal_symref): Clobber
2042 register 1. Use attr_length_call().
2043 (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
2045 (unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
2046 * som.h (MEMBER_TYPE_FORCES_BLK): Define.
2047 * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
2048 * doc/invoke.texi (mlong-calls): Document.
2050 2002-10-30 Roger Sayle <roger@eyesopen.com>
2052 * fold-const.c (fold_binary_op_with_conditional_arg): Improve
2053 handling of cases where one or both branches of the conditional
2054 have void type, i.e. throw an exception or don't return.
2055 (fold): Only apply (and undo) type conversion to the non-void
2056 branches of a COND_EXPR.
2058 2002-10-30 Mark Mitchell <mark@codesourcery.com>
2061 * varasm.c (asm_output_aligned_bss): Do not call
2062 ASM_GLOBALIZE_LABEL.
2064 2002-10-30 David Edelsohn <edelsohn@gnu.org>
2065 Torbjorn Granlund <tege@swox.com>
2067 * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
2069 (load_toc_v4_PIC_1b): Same.
2071 2002-10-30 Kazu Hirata <kazu@cs.umass.edu>
2073 * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
2074 Truncate the addresses for H8/300 using HImode.
2076 2002-10-29 Hans-Peter Nilsson <hp@bitrange.com>
2078 * toplev.c (rest_of_type_compilation): Return early in case of
2080 (check_global_declarations): Don't call debug_hooks->global_decl
2083 2002-10-28 Andreas Bauer <baueran@in.tum.de>
2085 * doc/c-tree.texi (Tree overview): Fix typos.
2087 2002-10-29 Phil Edwards <pme@gcc.gnu.org>
2089 * Makefile.in (gnucompare*): Only record bad comparisons
2090 if there really was a bad comparison.
2092 Tue Oct 29 19:32:16 CET 2002 Jan Hubicka <jh@suse.cz>
2094 * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
2095 * i386.md (movsf*, movdf*): Use 'C' instead of 'H'
2096 * md.texi (machine dependent constraints): Document 'C'
2098 * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
2100 * i386.c (ix86_expand_vector_move): Fix.
2102 * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
2103 * i386.md (sse2_maskmovdqu_rex64): New pattern
2106 * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
2107 (ix86_init_mmx_sse_builtins): Fix type.
2109 2002-10-29 Jason Thorpe <thorpej@wasabisystems.com>
2111 * gthr-posix.h: Include <unistd.h> for feature tests.
2112 (sched_get_priority_max, sched_get_priority_min)
2113 (pthread_getschedparam, pthread_setschedparam): Only use
2114 if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
2115 (__gthread_objc_thread_set_priority): Don't treat all non-zero
2116 returns from sched_get_priority_max and sched_get_priority_min
2119 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
2121 * config/h8300/h8300.h (TARGET_DEFAULT): Make it
2124 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
2126 * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
2127 (h8300_tiny_constant_address_p): Likewise.
2128 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
2129 h8300_eightbit_constant_address_p.
2130 (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
2131 * config/h8300/h8300-protos.h: Add the prototypes for the two
2134 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
2136 * reload1.c (update_eliminables): Unconditionally check if
2137 frame_pointer_needed has changed.
2139 Tue Oct 29 15:37:39 CET 2002 Jan Hubicka <jh@suse.cz>
2141 * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
2144 2002-10-29 Eric Botcazou <ebotcazou@libertysurf.fr>
2146 PR optimization/8334
2147 * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
2148 check for zero operands explicitly.
2150 2002-10-29 Richard Sandiford <rsandifo@redhat.com>
2152 * config/mips/mips.md (extv, extzv, insv): Set size of referenced
2153 memory after adjusting to BLKmode.
2155 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
2157 * config/h8300/h8300.h (MASK_*): New.
2158 (TARGET_*): Use MASK_*.
2160 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
2162 * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
2163 tm_defines if pthreads are enabled.
2164 * config/netbsd.h (LIB_SPEC): Only support the -pthread option
2165 if NETBSD_ENABLE_PTHREADS is defined.
2167 2002-10-28 Kazu Hirata <kazu@cs.umass.edu>
2169 * ChangeLog.1: Fix typos.
2170 * cse.c: Fix a comment typo.
2171 * reload1.c: Likewise.
2173 2002-10-27 Hans-Peter Nilsson <hp@bitrange.com>
2175 * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
2176 * fixinc/tests/base/_G_config.h: New file.
2178 2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
2180 * combine.c: Fix comment formatting.
2183 * regclass.c: Likewise.
2184 * regmove.c: Likewise.
2185 * regrename.c: Likewise.
2186 * reg-stack.c: Likewise.
2187 * reload1.c: Likewise.
2188 * reload.c: Likewise.
2189 * reload.h: Likewise.
2190 * unroll.c: Likewise.
2192 2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
2194 * reload1.c (reload): Fix a comment typo.
2196 Sun Oct 27 10:15:24 CET 2002 Jan Hubicka <jh@suse.cz>
2198 * linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
2200 2002-10-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2202 * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
2203 * dwarf2out.c: Include hashtab.h.
2204 (is_main_source): New static variable.
2205 (attr_checksum, die_checksum): Modified to handle die references.
2206 (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
2207 unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
2208 record_comdat_symbol_number): New static functions.
2209 (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
2210 mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
2211 * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
2214 2002-10-26 Kazu Hirata <kazu@cs.umass.edu>
2216 * config/h8300/h8300.c (initial_offset): Change to
2217 h8300_initial_elimination_offset.
2218 * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
2219 h8300_initial_elimination_offset.
2220 * config/h8300/h8300-protos.h: Update the prototype.
2222 2002-10-26 Hans-Peter Nilsson <hp@bitrange.com>
2224 * config/mmix/mmix.h (LIBCALL_VALUE): Use
2225 MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
2226 (FUNCTION_VALUE_REGNO_P): Similar, but move code to...
2227 * config/mmix/mmix.c (mmix_function_value_regno_p): New.
2228 * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
2230 (mmix_function_value_regno_p): Declare.
2232 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
2233 invalid for floating point mode result, with fix.
2235 2002-10-25 Mike Stump <mrs@apple.com>
2237 Fixes gcc.dg/warn-1.c.
2238 * c-typeck.c (warn_for_assignment): Don't print argument number, if zero.
2240 Sat Oct 26 01:44:46 CEST 2002 Jan Hubicka <jh@suse.cz>
2242 * toplev.c (dump_file_index): Add DFI_ce3.
2243 (dump_file_info): Likewise.
2244 (rest_of_compilation): Run first ifcvt pass before tracer.
2246 2002-10-25 Steve Ellcey <sje@cup.hp.com>
2248 * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
2250 2002-10-25 Richard Henderson <rth@redhat.com>
2252 * real.c (real_to_decimal): If the >1 tens reduction loop results
2253 in a negative exponent, fall into the <1 pten computation.
2255 2002-10-25 Zack Weinberg <zack@codesourcery.com>
2258 * c-objc-common.c (inline_forbidden_p): Can not inline
2259 functions containing structures or unions containing VLAs.
2260 * tree-inline.c (walk_tree): For all class 't' nodes, walk
2261 TYPE_SIZE and TYPE_SIZE_UNIT.
2262 (copy_tree_r): Copy types if they are variably modified.
2264 2002-10-25 Ulrich Weigand <uweigand@de.ibm.com>
2266 * config/s390/s390.md: Remove old-style peepholes.
2268 2002-10-25 Ulrich Weigand <uweigand@de.ibm.com>
2270 * config/s390/s390.c (s390_decompose_address): Do not range check the
2271 displacement if base or index is the argument pointer register.
2273 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
2278 * fixinc/inclhack.def (libc1_G_va_list): New fix.
2279 * fixinc/fixincl.x: Regenerate.
2280 * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
2281 ifndef IN_LIBGCC2. Wrap it together with signal.h and
2282 sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
2283 * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
2284 * config.in, configure: Regenerate.
2286 2002-10-24 Igor Shevlyakov <igor@microunity.com>
2288 * varasm.c (struct rtx_const): Array size 16 for V16QImode.
2290 2002-10-24 Richard Henderson <rth@redhat.com>
2292 * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
2294 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
2296 * config/h8300/h8300.c (initial_offset): Simplify by using
2299 2002-10-24 Marek Michalkiewicz <marekm@amelek.gda.pl>
2301 * doc/install.texi (avr): Update required binutils version.
2303 2002-10-24 Theodore A. Roth <troth@openavr.org>
2305 * doc/install.texi: Point avr users at more up-to-date information.
2307 2002-10-24 Ulrich Weigand <uweigand@de.ibm.com>
2309 * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
2310 to pull operands out of the literal pool where possible.
2312 2002-10-24 Denis Chertykov <denisc@overta.ru>
2314 * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
2316 2002-10-24 Steve Ellcey <sje@cup.hp.com>
2318 * expr.c (convert_move): If unsignedp is less then zero there
2319 is no equivalent code.
2321 2002-10-24 Zack Weinberg <zack@codesourcery.com>
2323 * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
2325 2002-10-24 Ulrich Weigand <uweigand@de.ibm.com>
2327 * config/s390/s390.h: Rework comments; re-sort target macro definitions
2328 according to the sequence they are defined in the manual.
2329 (POINTER_BOUNDARY): Remove.
2331 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
2333 * config/h8300/h8300.c (round_frame_size): Replace 8 with
2336 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
2338 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
2340 (TINY_CONSTANT_ADDRESS_P): Likewise.
2342 2002-10-24 Richard Henderson <rth@redhat.com>
2344 * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
2345 (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
2348 2002-10-24 Richard Henderson <rth@redhat.com>
2351 * reload.c (find_reloads_toplev): Mode of X is not important
2352 when simplifying subregs of constants.
2354 2002-10-24 Richard Sandiford <rsandifo@redhat.com>
2356 * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
2357 MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
2358 * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
2359 (override_options): Base default setting of MASK_SOFT_FLOAT on -march
2360 if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
2362 2002-10-24 Richard Sandiford <rsandifo@redhat.com>
2364 * optabs.c (expand_binop): Don't reuse the shift target in the
2365 middle of shift sequences.
2367 2002-10-23 Ziemowit Laski <zlaski@apple.com>
2369 * objc/objc-act.c (get_static_reference): Remove unneeded
2370 TYPE_BINFO initialization.
2371 (get_object-reference): Likewise.
2372 (build_constructor): Tighten precondition check.
2373 (finish_message_expr): Likewise.
2375 2002-10-23 Jakub Jelinek <jakub@redhat.com>
2377 * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
2380 2002-10-23 Steve Ellcey <sje@cup.hp.com>
2382 * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
2385 2002-10-23 Richard Henderson <rth@redhat.com>
2387 * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
2388 (alpha_output_mi_thunk_osf): Handle vcall_offset.
2390 2002-10-23 Zack Weinberg <zack@codesourcery.com>
2392 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
2394 * langhooks-def.h: Default for tree_inlining.var_mod_type_p is
2395 hook_tree_bool_false.
2397 * tree.c (variably_modified_type_p): Moved here from
2398 cp/tree.c. Use lang_hooks.tree_inlining.var_mod_type_p for
2399 language-specific cases. Due to this, must weaken some 'if
2400 and only if' checks to merely 'if'.
2401 * tree.h: Prototype variably_modified_type_p.
2403 * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
2405 2002-10-23 Ulrich Weigand <uweigand@de.ibm.com>
2407 * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
2408 * config/s390/s390.c (optimization_options): Disable -fcaller-saves.
2410 * config/s390/s390-protos.h (fp_operand): Remove.
2411 * config/s390/s390.c (fp_operand): Remove.
2412 * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
2413 ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
2414 ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
2415 (movdi_31, movdf_31 splitters): Likewise.
2417 * config/s390/s390.h (IEEE_FLOAT): Remove.
2418 (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
2419 (INT_REGNO_P): Rename to ...
2420 (GENERAL_REGNO_P): ... this.
2421 (FLOAT_REGNO_P): Rename to ...
2422 (FP_REGNO_P): ... this.
2423 (ADDR_REGNO_P): New macro.
2424 (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
2425 (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
2426 (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
2427 (HARD_REGNO_NREGS): Adapt to macro renaming.
2428 (HARD_REGNO_MODE_OK): Likewise.
2430 2002-10-23 David Edelsohn <edelsohn@gnu.org>
2431 Geoff Keating <geoffk@apple.com>
2433 * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
2434 (rs6000_memory_move_cost): New function.
2435 * config/rs6000/rs6000-protos.h: Declare them.
2436 * config/rs6000/rs6000.h: Use them.
2438 2002-10-23 Ulrich Weigand <uweigand@de.ibm.com>
2440 * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
2441 inlining it into other libgcc2 routines.
2442 (__udivmoddi4): Likewise.
2444 2002-10-22 Nathanael Nerode <neroden@gcc.gnu.org>
2446 * doc/sourcebuild.texi (Test Suites): Improve.
2448 2002-10-22 Stan Shebs <shebs@apple.com>
2450 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
2453 2002-10-22 Jim Wilson <wilson@redhat.com>
2455 * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
2457 Wed Oct 23 01:52:36 CEST 2002 Jan Hubicka <jh@suse.cz>
2460 * xmmintrin.h: Add const to the argument of loads.
2462 * i386.md (pushv2di): New pattern.
2464 * xmmintrin.h (_MM_TRANSPOSE4_PS): New.
2466 2002-10-22 Richard Henderson <rth@redhat.com>
2468 * target.h (gcc_target.asm_out): Merge output_mi_thunk and
2469 output_mi_vcall_thunk into a single hook. Add can_output_mi_thunk.
2470 * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
2471 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
2472 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
2473 (TARGET_ASM_OUT): Update.
2474 * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
2475 (hook_bool_tree_hwi_hwi_tree_true): New.
2476 (default_can_output_mi_thunk_no_vcall): New.
2477 * hooks.h: Declare them.
2478 * system.h (ASM_OUTPUT_MI_THUNK): Poison.
2480 * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
2481 (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
2482 * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
2483 config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
2484 config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
2485 config/stormy16/stormy16.c: Similarly.
2487 * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
2488 Handle 64-bit properly. Streamline.
2489 (x86_output_mi_vcall_thunk): Remove.
2490 (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
2491 (x86_can_output_mi_thunk): New.
2492 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
2493 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
2494 (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
2496 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
2497 output_mi_thunk; make static; always use function_section.
2498 (TARGET_ASM_OUTPUT_MI_THUNK): New.
2499 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
2500 (rs6000_ra_ever_killed): Test no_new_pseudos not
2501 targetm.asm_out.output_mi_thunk in conjunction with thunks.
2502 * config/rs6000/rs6000-protos.h: Update.
2503 * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
2504 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
2505 xcoffout_declare_function when using rs6000_output_mi_thunk.
2507 * config/s390/s390.c (s390_output_mi_thunk): Rename from
2508 s390_output_mi_vcall_thunk.
2509 (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
2510 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
2512 * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
2513 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
2514 * config/vax/vax-protos.h: Update.
2515 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
2517 Wed Oct 23 00:33:11 CEST 2002 Jan Hubicka <jh@suse,cz>
2519 * i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
2520 * i386.h (EXTRA_CONSTRAINT): Recognize 'C'
2521 * i386.md (movti_internal): Use 'C'
2523 * xmmintrin.h (_mm_cmplt_epi*): New.
2525 2002-10-22 Ulrich Weigand <uweigand@de.ibm.com>
2527 * config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
2528 ("*movdf_64"): Likewise.
2529 ("*lshrdi3_64"): Likewise.
2530 ("blockage"): Add length attribute.
2533 Tue Oct 22 23:51:34 CEST 2002 Jan Hubicka <jh@suse.cz>
2535 * i386.md: FIx typo.
2536 (sse2_cvtsi2sd, sse2_pslrdq): Fix template.
2537 (sse2_umulv2siv2di3): Fix predicate.
2538 (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
2539 lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
2540 * xmmintrin.h (_mm_mul_epu16): Rename to...
2541 (_mm_mul_epu32): This one.
2542 (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
2544 (contains_128bit_aligned_vector_p): Undo accidental checkin.
2546 2002-10-22 Eric Christopher <echristo@redhat.com>
2548 * config/sparc/sparc.h: Add #error.
2550 2002-10-22 Ulrich Weigand <uweigand@de.ibm.com>
2552 * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
2553 [s390x-*-linux*]: Likewise.
2554 * config/s390/t-linux: Remove.
2555 * config/s390/s390.h: Include fixdfdi.h when building libgcc2.
2557 Tue Oct 22 19:07:03 CEST 2002 Jan Hubicka <jh@suse.cz>
2559 * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
2560 (ix86_expand_builtin): Fix MASKMOVDQU expasion.
2561 * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
2562 * i386.md (mmx_punpck?dq): Simplify.
2563 (sse2_pubpcklqdq): Fix.
2564 (sse2_pubpckhqdq): New.
2565 * xmmintrin.h (_mm_unpackhi_epi32): New.
2567 * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
2568 (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
2570 2002-10-22 Nathan Sidwell <nathan@codesourcery.com>
2573 * fold_const.c (fold_binary_op_with_conditional_arg): Always
2574 build compound_expr if we used save_expr.
2576 2002-10-22 Alan Modra <amodra@bigpond.net.au>
2578 * output.h (SECTION_NOTYPE): Define.
2579 * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
2580 init array sections.
2581 (default_elf_asm_named_section): Mind SECTION_NOTYPE.
2582 * config/arm/arm.c (arm_elf_asm_named_section): Likewise. Also
2585 2002-10-21 Richard Henderson <rth@redhat.com>
2587 * real.c (sticky_rshift_significand): Return inexact, don't
2588 or it in immediately.
2589 (sub_significands): Accept incomming carry.
2590 (div_significands, rtd_divmod): Update for sub_significands change.
2591 (round_for_format): Update for sticky_rshift_significand change.
2592 (do_add): Don't involve the inexact bit in addition, do give the
2593 inexact bit as the subtraction carry-in.
2594 (encode_internal, decode_internal, real_internal_format): New.
2595 * real.h (real_internal_format): Declare.
2597 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
2599 * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
2600 don't define sdiv_qrnnd.
2602 2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
2604 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
2606 (TINY_CONSTANT_ADDRESS_P): Likewise.
2608 Tue Oct 22 00:04:20 CEST 2002 Jan Hubicka <jh@suse.cz>
2610 * i386.c (builtin_description): Add punpcklqdq and movdq2q
2611 (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
2612 v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
2613 void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
2614 __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
2615 __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
2616 __builtin_ia32_setzero128.
2617 (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
2618 IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
2619 IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
2620 * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
2621 IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
2622 IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
2623 IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
2624 * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
2625 sse2_movq): New patterns.
2626 (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
2627 * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
2628 _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
2629 _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
2630 _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
2631 _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
2632 _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
2633 (_mm_insert_epi16): Fix.
2635 2002-10-21 Dale Johannesen <dalej@apple.com>
2637 * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
2638 unsafe math reversals correctly for RTL generation.
2639 (output_cbranch): Replace rs6000_reverse_condition call
2640 by its former definition.
2642 2002-10-21 Jakub Jelinek <jakub@redhat.com>
2644 * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
2645 argument. In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
2646 from constant pool or LABEL_REFs as sign extended if allow_rip.
2647 Change all +-1GB limits to +-16MB.
2648 (x86_64_general_operand, x86_64_szext_general_operand,
2649 x86_64_nonmemory_operand, x86_64_movabs_operand,
2650 x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
2651 legitimate_address_p, ix86_expand_int_movcc): Update callers.
2652 (local_symbolic_operand): Don't allow offsets bigger than +-16MB
2653 in CM_SMALL_PIC model.
2654 (legitimate_pic_address_disp_p): Don't check offsets before
2655 calling local_symbolic_operand.
2656 (legitimize_pic_address): Force offsets bigger than +-16MB into
2658 * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
2659 * config/i386/i386-protos.h (x86_64_sign_extended_value): Update
2662 * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
2663 Add x86-64 test. Set tls_first_minor to 14 on IA-32 and x86-64.
2664 * configure: Rebuilt.
2665 * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
2666 SYMBOL_REFs unless enclosed in UNSPEC. Handle UNSPEC_DTPOFF,
2667 UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
2668 (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
2670 (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
2671 non-pic code if TARGET_64BIT.
2672 (legitimize_address): Generate 64-bit TLS sequences.
2673 (output_pic_addr_const): Support x86-64 TLS operators.
2674 (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
2675 (print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
2676 Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
2677 (output_addr_const_extra): Support x86-64 TLS operators.
2678 (maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
2679 (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
2681 * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
2682 (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
2683 (*tls_global_dynamic_sun): Renamed to...
2684 (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
2685 (tls_global_dynamic): Renamed to...
2686 (tls_global_dynamic_32): ... this.
2687 (tls_global_dynamic_64, *tls_global_dynamic_64): New.
2688 (*tls_local_dynamic_base_dynamic_gnu): Renamed to...
2689 (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
2690 (*tls_local_dynamic_base_dynamic_sun): Renamed to...
2691 (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
2692 (tls_local_dynamic_base_dynamic): Renamed to...
2693 (tls_local_dynamic_base_dynamic_32): ... this.
2694 (tls_local_dynamic_base_dynamic_64,
2695 *tls_local_dynamic_base_dynamic_64): New.
2696 (*tls_local_dynamic_once): Renamed to...
2697 (*tls_local_dynamic_32_once): ... this.
2699 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
2701 * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
2702 __divdi3, __umoddi3, or __moddi3.
2704 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
2706 * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
2707 instead of just opt_index as switch expression.
2709 * calls.c (store_one_arg): Change type of 'excess_align'
2712 * profile.c (output_gcov_string): Change type of 'temp'
2715 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
2717 * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
2718 (__fixunssfdi, __fixsfdi): Likewise.
2719 * config/s390/s390.c (s390_single_hi): Initialize 'value'.
2720 (s390_single_qi): Likewise.
2721 (s390_emit_epilogue): Initialize 'offset'. Remove signed vs.
2722 unsigned comparison warning.
2723 (s390_return_addr_rtx): New function.
2724 * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
2725 * config/s390/s390.h (RETURN_ADDR_RTX): Use it.
2726 (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
2728 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
2730 * config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
2731 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
2732 (s390_output_mi_thunk): Remove.
2733 (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
2735 2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
2737 * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
2739 2002-10-20 Richard Henderson <rth@redhat.com>
2741 * target.h (struct gcc_target): Line wrap.
2743 * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
2744 (TARGET_ASM_OUTPUT_MI_THUNK): Define here...
2745 * config/alpha/alpha.h: ... not here.
2746 * config/alpha/alpha-protos.h: Update.
2748 * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
2749 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
2750 config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
2751 config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
2752 config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
2753 config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
2754 config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
2755 config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
2756 config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
2757 config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
2758 config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
2759 config/sparc/openbsd.h, config/sparc/sparc-protos.h,
2760 config/sparc/sparc.c, config/sparc/sparc.h,
2761 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
2762 config/stormy16/stormy16.h: Similarly.
2764 * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
2765 selection logic from call patterns.
2767 2002-10-20 Mark Mitchell <mark@codesourcery.com>
2769 * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
2771 2002-10-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2774 * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
2775 expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
2776 * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
2777 * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
2779 2002-10-20 Roger Sayle <roger@eyesopen.com>
2782 * toplev.c (flag_unsafe_profile_arcs): Remove.
2783 (flag_bounded_pointers): Remove.
2784 (flag_bounds_check): Correct comments.
2785 (lang_independent_options): Remove -funsafe-profile-arcs and
2786 -fbounded-pointers. Correct -fbounds-check comments.
2788 * flags.h: Correct flag_schedule_interblock comments.
2789 (flag_bounded_pointers): Remove prototype.
2790 (flag_bounds_check): Correct comments.
2792 * c-opts.c (c_common_init_options): No need to mark
2793 flag_bounds_check as unspecified.
2794 (c_common_post_options): And no need to set it from
2795 flag_bounded_pointers if its still unspecified.
2797 * doc/invoke.texi: Fix some overfull hboxes in "make dvi".
2798 Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
2799 -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
2800 -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
2802 2002-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2803 Mark Mitchell <mark@codesourcery.com>
2805 * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
2807 * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
2808 * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
2809 * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
2810 * i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
2811 x86_output_mi_thunk): Likewise.
2812 * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
2813 * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
2814 * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
2815 * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
2816 * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
2817 * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
2818 * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
2820 * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
2822 * target.h (gcc_target): Update output_mi_thunk and
2823 output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
2826 * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
2827 TARGET_ASM_OUTPUT_MI_THUNK in comments.
2828 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
2829 (TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
2830 * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
2831 * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
2833 * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
2834 * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
2835 TARGET_ASM_OUTPUT_MI_THUNK in comments.
2836 * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
2837 (TARGET_ASM_OUTPUT_MI_THUNK): Do define.
2838 * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
2839 TARGET_ASM_OUTPUT_MI_THUNK in comments.
2840 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
2841 ASM_OUTPUT_MI_THUNK and replace with check of targetm.
2843 * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
2844 (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
2846 2002-10-19 Brad Lucier <lucier@math.purdue.edu>
2848 * real.c (do_add): Fix 0+0 sign corner case.
2849 (do_divide): Fix Inf/0 corner case.
2851 Sun Oct 20 00:31:31 CEST 2002 Jan Hubicka <jh@suse.cz>
2853 * i386.c (classify_argument): Pass MMX arguments in memory
2854 (ix86_expand_builtin): Expand proper address mode for cflush.
2855 * i386.md (movdqa): Fix typo.
2856 (sse2_cflush): Accept DImode addresses.
2858 * xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
2859 (_mm_max_sd): Fix pasto.
2860 (_mm_storeh_pd, _mm_storel_pd): Fix.
2862 * i386.c (bdesc_comi): Fix to match specification.
2863 (ix86_expand_sse_comi): Emit the comparison properly.
2864 * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
2865 Do not use comparison operator.
2866 (vnmaskcmp): Fix template.
2868 * xmmintrin.h (_mm_cvtps_pi16): Fix.
2870 2002-10-19 Sebastian Pop <s.pop@laposte.net>
2872 * dependence.c : Removed.
2873 * Makefile.in : Remove dependence.o.
2875 Sat Oct 19 10:46:52 CEST 2002 Jan Hubicka <jh@suse.cz>
2877 * mmintrin.h (__m64): typedef it to v2si.
2878 (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
2879 _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
2880 _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
2881 _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
2882 _mm_or_si64, _mm_xor_si64): Add neccesary casts.
2883 * xmmintrin.h (_mm_setzero_si64): Likewise.
2885 * i386.h (ALIGN_MODE_128): Update comment; add missing modes
2886 (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
2889 Patch by Shawn Wagner
2890 * mmintrin.h: Replace pi64 by si64.
2892 2002-10-18 David Edelsohn <edelsohn@gnu.org>
2894 * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
2895 Use length of 4 not *.
2896 (movdf_hardfloat64): Same. Support DFmode moves to/from CTR/LR.
2897 (movdf_softfloat64): Likewise.
2898 (movdi_internal32): Use length of 4 not *.
2899 (movti_power): Same.
2900 (ctrsi, ctrdi): Same.
2902 2002-10-18 Zack Weinberg <zack@codesourcery.com>
2904 * c-decl.c (start_decl): Point users of the old initialized-
2905 typedef extension at __typeof__.
2907 2002-10-18 Richard Henderson <rth@redhat.com>
2909 * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
2910 (real_to_decimal): Re-implement using the logic from the
2911 gcc 3.2 etoasc. Comment heavily.
2912 (div_significands): Simplify loop startup and comparison logic.
2914 2002-10-18 Mark Mitchell <mark@codesourcery.com>
2916 * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
2917 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
2918 (TARGET_ASM_OUT): Add them.
2919 * target.h (asm_out): Add output_mi_thunk and
2920 output_mi_vcall_thunk.
2921 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2922 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2923 * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
2924 * config/arm/arm.c (arm_output_mi_thunk): Define.
2925 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2926 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2927 * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2928 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2929 * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2930 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2931 * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
2933 (x86_output_mi_vcall_thunk): Declare.
2934 * config/i386/i386.c (override_options): Clear
2935 output_mi_vcall_thunk in 64-bit mode.
2936 (ix86_fntype_regparm): New function.
2937 (ix86_return_pops_args): Use it.
2938 (ia32_this_parameter): New function.
2939 (x86_output_mi_vcall_thunk): New function.
2940 (x86_output_mi_thunk): Use it
2941 * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
2942 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
2943 * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
2944 * config/i960/i960.c (i960_output_mi_thunk): New function.
2945 * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
2946 * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
2947 * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
2948 * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2949 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2950 * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
2951 * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2952 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2953 * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2954 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2955 * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2956 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2957 * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2958 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2959 * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2960 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2961 * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
2962 * config/s390/s390.c (s390_output_mi_thunk): Define.
2963 * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2964 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2965 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2966 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2967 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2968 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2969 * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
2970 * config/vax/vax.c (vax_output_mi_thunk): Define.
2971 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
2972 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
2973 * doc/tm.texi: Adjust documentation.
2975 2002-10-18 Jason Thorpe <thorpej@wasabisystems.com>
2977 * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
2978 __enable_execute_stack function.
2979 * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
2980 as NETBSD_ENABLE_EXECUTE_STACK.
2981 * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
2982 * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
2983 * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
2984 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
2985 * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
2987 2002-10-18 Jason Thorpe <thorpej@wasabisystems.com>
2989 * config/i386/i386.c (x86_initialize_trampoline): Emit a call
2990 to __enable_execute_stack with the address of the trampoline
2991 if TRANSFER_FROM_TRAMPOLINE is defined.
2992 * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
2993 constant if building libgcc2.
2995 2002-10-17 Roger Sayle <roger@eyesopen.com>
2997 * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
2999 2002-10-17 Geoffrey Keating <geoffk@apple.com>
3001 * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
3003 * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
3005 (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
3006 (movsf_softfloat): Likewise.
3008 2002-10-17 Janis Johnson <janis187@us.ibm.com>
3010 * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
3012 2002-10-17 Jason Thorpe <thorpej@wasabisystems.com>
3014 * config/alpha/alpha.c (alpha_initialize_trampoline): Use
3015 tramp, not addr, to pass the trampoline address to
3016 __enable_execute_stack.
3018 Thu Oct 17 18:40:47 CEST 2002 Jan Hubicka <jh@suse.cz>
3020 * mmintrin.h: Guard by __MMX__
3021 * xmmintrin.h: Guard by __SSE__
3024 * xmmintrin.h (_MM_SHUFFLE2): New macro.
3025 (_mm_load*_?d): New functions.
3026 (_mm_set*_?d): New functions.
3027 (_mm_store*_?d): New functions.
3029 Wed Oct 16 15:01:29 CEST 2002 Jan Hubicka <jh@suse.cz>
3031 Really commit patch announced at Oct 14
3033 * predict.c (can_predict_insn_p): New function.
3034 (estimate_probability): Avoid unnecesary work.
3035 (process_note_prediction): Likewise.
3036 * toplev.c (rest_of_compilation): Account early branch prediction pass
3040 Found by Ian Ollmann
3041 * xmmintrin.h (_mm_shuffle_pd): Fix typo.
3042 (_mm_load?_pd): Likewise.
3043 (_mm_store?_pd): Likewise.
3046 * i386.c (builtin_description):Drop cmpg[te]s[sd].
3047 * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
3048 swapped alternative.
3051 * reload1.c (reload_inner_reg_of_subreg): New argument output;
3052 (push_reload): Update call.
3054 2002-10-17 Richard Sandiford <rsandifo@redhat.com>
3056 * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
3057 if using mips/elf.h or mips/elf64.h.
3058 * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
3059 * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
3061 2002-10-16 Aldy Hernandez <aldyh@redhat.com>
3063 * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
3066 2002-10-16 Ulrich Weigand <uweigand@de.ibm.com>
3068 * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
3069 (LPREFIX): Likewise.
3070 (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
3071 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
3072 ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
3073 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
3074 GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
3076 * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
3077 ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
3078 ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
3079 BSS_SECTION_ASM_OP): Move from linux.h.
3080 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
3081 Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
3083 * config/s390/s390.c (s390_function_profiler): Use
3084 ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
3086 2002-10-15 Richard Henderson <rth@redhat.com>
3088 * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
3089 as arguments. Bound DIGITS by the available buffer size.
3090 (real_to_hexadecimal): Likewise.
3091 * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
3092 (REAL_VALUE_TO_DECIMAL): Remove.
3093 * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
3094 sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
3095 config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
3096 config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
3097 config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
3098 config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
3099 config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
3100 use real_to_decimal directly, and with the proper arguments.
3101 * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
3103 2002-10-15 Jim Wilson <wilson@redhat.com>
3105 * reload1.c (merge_assigned_reloads): After converting overlapping
3106 reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
3108 * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
3110 Tue Oct 15 22:08:35 CEST 2002 Jan Hubicka <jh@suse.cz>
3112 * expr.c (do_tablejump): Fix typo in my previous commit.
3114 2002-10-15 Richard Sandiford <rsandifo@redhat.com>
3116 * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
3118 2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
3120 * config/s390/s390.c (s390_split_branches): Add return
3121 value. Add parameters TEMP_REG and TEMP_USED. Use unspec 104.
3123 (find_base_register_in_addr): New function.
3124 (find_base_register_ref): New function.
3125 (replace_base_register_ref): New function.
3127 (struct constant_pool): Add members pool_insn, insns, and anchor.
3128 Remove member last_insn.
3129 (s390_start_pool): Initialize them.
3130 (s390_end_pool): Emit pool placeholder insn.
3131 (s390_add_pool_insn): New function.
3132 (s390_find_pool): Use insns bitmap instead of addresses.
3133 (s390_dump_pool): Replace placeholder insn. Emit anchor.
3134 Replace unspec 104 by local-pool-relative references.
3135 (s390_output_constant_pool): Output anchor label if required.
3136 (s390_output_symbolic_const): Handle unspec 104 and 105.
3137 (s390_add_pool): Remove, replace by ...
3138 (s390_add_constant, s390_find_constant): ... these new functions.
3139 (s390_add_anchor): New function.
3141 (s390_chunkify_pool): Delete, replace by ...
3142 (s390_chunkify_start, s390_chunkify_finish,
3143 s390_chunkify_cancel): ... these new functions.
3144 (s390_optimize_prolog): Add parameter TEMP_REGNO.
3145 Recompute register live data for special registers.
3146 (s390_fixup_clobbered_return_reg): New function.
3147 (s390_machine_dependent_reorg): Rewrite to use new
3148 s390_chunkify_... routines.
3150 config/s390/s390.md ("reload_base"): Rename to ...
3151 ("reload_base_31"): ... this.
3152 ("reload_base_64"): New insn.
3153 ("reload_base2"): Remove.
3154 ("reload_anchor"): New insn.
3157 s390.c (s390_pool_overflow): Remove.
3158 s390.h (s390_pool_overflow): Likewise.
3159 s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
3161 Tue Oct 15 16:51:04 2002 J"orn Rennecke <joern.rennecke@superh.com>
3163 * sh.md (movv8qi_i+2): Don't split if source is -1.
3165 2002-10-15 Janis Johnson <janis187@us.ibm.com>
3167 * doc/install.texi: Formatting changes for conformance to HTML 4.01.
3169 2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
3172 * loop.c (loop_regs_scan): Mark registers used for function
3173 argument passing as MAY_NOT_OPTIMIZE.
3175 Mon Oct 14 20:33:12 CEST 2002 Jan Hubicka <jh@suse.cz>
3177 * i386.md (movv2di_internal): New pattern.
3178 (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
3179 (movv2di): New expander.
3180 * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
3182 * i386.c (ix86_expand_timode_binop_builtin): Delete.
3183 (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
3184 (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
3185 (ix86_expand_builtin): Likewise.
3186 * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
3188 sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
3190 sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
3192 sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
3194 (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
3195 sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
3196 (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
3197 *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
3198 (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
3199 *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
3201 * xmmintrin.h (__m128i): Define as __v2di.
3204 (expand_expr): Use DECL_RTL_SET_P.
3206 2002-10-14 Roger Sayle <roger@eyesopen.com>
3208 * combine.c (simplify_set): Treat MODE_CC registers like cc0.
3210 2002-10-14 Roger Sayle <roger@eyesopen.com>
3211 Zack Weinberg <zack@codesourcery.com>
3213 * config/i386/i386.c (k6_cost): Correct typo.
3215 2002-10-14 Mark Mitchell <mark@codesourcery.com>
3217 PR optimization/6631
3218 * alias.c (objects_must_conflict_p): Check honor_readonly when
3219 examining TYPE_READONLY.
3220 * function.c (assign_stack_temp_for_type): Likewise.
3222 2002-10-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
3224 * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
3225 Swap zero extension arguments.
3226 (umaxhi3): Fix instruction class.
3228 (prefetch): Fix prefetch instructions.
3230 (pkwb): Fix output constraint.
3232 2002-10-14 Alexandre Oliva <aoliva@redhat.com>
3234 * config/mips/mips.c (print_operand): Increase buffer size for
3237 2002-10-14 Richard Henderson <rth@redhat.com>
3240 * gcse.c (adjust_libcall_notes): Revert last change.
3241 * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
3243 2002-10-14 Andrew Haley <aph@redhat.com>
3245 * tree-inline.c (remap_block): All local class initialization
3246 flags go in the outermost scope.
3247 (expand_call_inline): Call java_inlining_map_static_initializers.
3248 (expand_call_inline): Call java_inlining_merge_static_initializers.
3249 * java/lang.c (merge_init_test_initialization): New.
3250 (java_inlining_merge_static_initializers): New.
3251 (inline_init_test_initialization): New.
3252 (java_inlining_map_static_initializers): New.
3254 * tree-inline.c (expand_call_inline): Convert retvar to expected
3257 2002-10-14 Graham Stott <graham.stott@btinternet.com>
3259 * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
3261 2002-10-14 Aldy Hernandez <aldyh@redhat.com>
3263 * stmt.c: Fix typo in comment.
3265 Mon Oct 14 11:35:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
3267 * c-common.c (c_common_type_for_mode): Add V2HImode case.
3268 * tree.c (build_common_tree_nodes_2): Initialize
3269 unsigned_V2HI_type_node and V2HI_type_node.
3270 * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
3271 (unsigned_V2HI_type_node, V2HI_type_node): Define.
3273 2002-10-14 Jakub Jelinek <jakub@redhat.com>
3275 * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
3276 Handle TARGET_64BIT.
3278 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
3280 * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
3281 * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
3282 (MULTILIB_DIRNAMES): Remove long32.
3283 (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
3284 (MULTILIB_REDUNDANT_DIRS): Remove.
3286 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
3288 * doc/tm.texi (DRIVER_SELF_SPECS): Document.
3289 * gcc.c (driver_self_specs): New variable.
3290 (do_self_spec): New function.
3291 (main): Use it to process driver_self_specs.
3293 2002-10-13 Richard Henderson <rth@redhat.com>
3295 * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
3297 2002-10-12 Neil Booth <neil@daikokuya.co.uk>
3299 PR preprocessor/7862
3300 PR preprocessor/8190
3301 * gcc.c (cpp_unique_options): Don't delete .d files.
3302 Remove stray whitespace.
3304 2002-10-12 Naohiko Shimizu <pshimizu@fa2.so-net.ne.jp>
3306 * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
3307 (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
3308 * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
3309 (pdp11_output_function_epilogue, output_ascii): Likewise.
3310 (output_addr_const_pdp11): Likewise.
3311 * pdp11.md (movdi): Use offsetable memory for floating store.
3312 (lshrsi3, negsi2): Delete irrelevant comment.
3314 2002-10-11 Geoffrey Keating <geoffk@apple.com>
3316 * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
3317 not the address of the REG.
3318 (struct cse_reg_info): Make subreg_ticked unsigned.
3320 2002-10-11 Janis Johnson <janis187@us.ibm.com>
3322 * doc/compat.texi: Add info about C++ libraries.
3324 2002-10-11 Richard Henderson <rth@redhat.com>
3327 * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
3329 2002-10-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
3331 * cfganal.c (dfs_enumerate_from): Use PARAMS.
3332 * genautomata.c (output_insn_code_cases): Likewise.
3333 * real.c (real_format): Likewise.
3334 * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
3335 ensure value is promoted before doing subtraction.
3337 Fri Oct 11 22:22:38 CEST 2002 Jan Hubicka <jh@suse.cz>
3339 * calls.c (expand_call): Simplify noreturn call.
3342 * cfgbuild.c (make_edges): Create edge cache when we do have
3344 * expr.c (do_tablejump): Note size of maximal jumptable.
3345 * function.c (prepare_function_start): Zero out size.
3346 * function.h (function): Add max_jumptable_ents.
3348 * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
3350 Fri Oct 11 12:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
3352 * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
3353 register for mperm_w operation.
3355 Fri Oct 11 10:56:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
3357 * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
3358 an integer, use simplify_gen_subreg.
3360 2002-10-10 Aldy Hernandez <aldyh@redhat.com>
3362 * extend.texi (Vector Extensions): Remove comment about single
3365 2002-10-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3367 * fold-const.c (size_htab_hash): Use htab_hash_pointer.
3368 * function.c (insns_for_mem_hash): Likewise.
3369 * varasm.c (STRHASH): Likewise.
3371 2002-10-10 Stuart Hastings <stuart@apple.com>
3373 * cse.c (struct cse_reg_info): Add subreg_ticked.
3374 (SUBREG_TICKED): New.
3375 (get_cse_reg_info): Initialize SUBREG_TICKED.
3376 (mention_regs): Use it.
3377 (invalidate): Set SUBREG_TICKED.
3378 (invalidate_for_call): Likewise.
3379 (addr_affects_sp_p): Likewise.
3381 2002-10-10 Jakub Jelinek <jakub@redhat.com>
3383 * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
3384 into proper operand.
3386 2002-10-10 Denis Chertykov <denisc@overta.ru>
3388 * config/ip2k/ip2k.c (function_epilogue): Optimize stack
3390 * config/ip2k/libgcc.S: Combine routines used by function
3393 2002-10-10 Jim Wilson <wilson@redhat.com>
3395 * cse.c (fold_rtx): Don't perform associative optimization for DIV and
3398 2002-10-10 David Edelsohn <edelsohn@gnu.org>
3400 * config/rs6000/aix52.h: New file.
3401 * config/rs6000/t-aix52: New File.
3402 * config.gcc (rs6000-ibm-aix5.1.*): New entry.
3403 (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
3405 Thu Oct 10 19:37:54 CEST 2002 Jan Hubicka <jh@suse.cz>
3408 * invoke.texi (-msse-math): Kill
3409 (-msse): Add note to mfpmath=sse.
3411 Thu Oct 10 17:08:30 CEST 2002 Jan Hubicka <jh@suse.cz>
3414 * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
3416 2002-10-10 Neil Booth <neil@daikokuya.co.uk>
3418 PR preprocessor/8179
3419 * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
3421 (default_compilers): Pass debug options when preprocessing
3424 2002-10-06 Richard Henderson <rth@redhat.com>
3426 * toplev.c (rest_of_compilation): Revert opt/2960 change.
3428 2002-10-09 Zack Weinberg <zack@codesourcery.com>
3431 * c-decl.c (start_decl): Unconditionally issue error for
3432 'typedef foo = bar'.
3433 (finish_decl): Remove special case for TYPE_DECL with initializer.
3435 * doc/extend.texi: Delete "Naming Types" section. Change all
3436 cross-references to that section to refer to "Typeof" instead.
3437 Add the useful safe-max()-macro example from "Naming Types" to
3438 "Typeof", rewritten using that extension. Add some compatibility
3441 2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3443 * loop.c: Revert 2002-08-15 change.
3444 (LOOP_REGNO_NREGS): Ensure type is int.
3446 2002-10-09 David Edelsohn <edelsohn@gnu.org>
3448 * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
3449 which copies first FPR and clears second.
3450 (extendsftf2): Same.
3451 (floatditf2): Fix typo.
3453 (fix_trunctfdi2): Same.
3454 (fix_trunctfsi2): Same.
3456 2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3458 * conflict.c (arc_hash): Change return type to hashval_t.
3459 * cselib.c (get_value_hash): Likewise.
3460 * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
3461 state_hash, automata_list_hash): Likewise.
3462 * read-rtl.c (def_hash): Likewise.
3463 * tree.c (type_hash_hash): Likewise.
3465 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
3467 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
3468 prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
3470 Wed Oct 9 15:54:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
3472 * sh.md (ffssi2): Fix emitted code.
3474 2002-10-09 Ulrich Weigand <uweigand@de.ibm.com>
3476 * cse.c (insn_live_p): Pass insn pattern, not full insn
3479 2002-10-09 Neil Booth <neil@daikokuya.co.uk>
3481 * cppmacro.c (paste_tokens): Only allow / to paste with =.
3483 2002-10-09 David Edelsohn <edelsohn@gnu.org>
3485 * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
3487 (movtf_internal): Reference correct displacement for second value
3489 (movtf splitter): Correct generation of constants in 64-bit mode.
3491 2002-10-09 Alan Modra <amodra@bigpond.net.au>
3493 * libgcc2.c (__floatdisf): Properly cure double rounding.
3495 2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
3497 * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
3498 * doc/cpp.texi (Common Predefined Macros): Document.
3500 2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
3503 * doc/invoke.texi (Option Summary): List
3504 -Wmissing-declarations as a C only option.
3506 2002-10-08 Jakub Jelinek <jakub@redhat.com>
3508 * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
3509 mno-app-regs|mcmodel=medany.
3510 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
3511 (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
3512 (CRTSTUFF_T_CFLAGS): Define.
3514 2002-10-08 Roger Sayle <roger@eyesopen.com>
3517 * simplify-rtx.c (avoid_constant_pool_reference): Allow constant
3518 pool references that are constructed using LO_SUM.
3520 2002-10-08 Nathan Sidwell <nathan@codesourcery.com>
3522 * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
3524 * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
3526 * flags.h (warn_strict_aliasing): Declare.
3527 * toplev.c (warn_strict_aliasing): Define.
3528 (lang_independent_options): Add it.
3529 * doc/invoke.texi (-Wstrict-aliasing): Document it.
3531 2002-10-08 Zack Weinberg <zack@codesourcery.com>
3533 * system.h (GCCBUGURL): Delete.
3534 * version.c (bug_report_url): New. Add commentary about
3535 modifying both these strings in modified distributions.
3536 * version.h: Declare bug_report_url.
3538 * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
3541 2002-10-08 Nick Clifton <nickc@redhat.com>
3543 * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
3544 convert uint64_t into __ev64_opaque__.
3545 (__ev_set_acc_s64): Likewise, but using signed types.
3547 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
3549 * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
3550 ("*doloop_di_long"): Likewise.
3552 Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
3554 * print-rtl.c (print_rtx): Increase buffer size for real numbers.
3556 2002-10-08 Richard Sandiford <rsandifo@redhat.com>
3558 * config/mips/mips.md (define_attr cpu): Add r4111.
3560 2002-10-08 Anthony Green <green@redhat.com>
3562 * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
3564 2002-10-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3566 * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
3567 for REAL_VALUE_TO_DECIMAL output.
3569 2002-10-07 David Edelsohn <edelsohn@gnu.org>
3571 * config/rs6000/rs6000.c (rs6000_override_options): Set
3572 real_format_for_mode for IBM extended format, if enabled.
3573 (easy_fp_constant): Add TFmode.
3574 (rs6000_legitimize_address): Add TFmode.
3575 (rs6000_legitimate_address): Same.
3576 (function_arg_advance): TFmode uses two FPRs.
3577 (rs6000_emit_prologue): Fix warning.
3578 (rs6000_output_function_epilogue): Add TFmode.
3579 (output_toc): Add TFmode.
3580 * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
3581 (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
3582 * rs6000.md (movtf splitter): Load TFmode constant.
3584 2002-10-07 Dale Johannesen <dalej@apple.com>
3586 * rtl.h: Add NOTE_PRECONDITIONED.
3588 * loop.c: Set loop_info->preconditioned from it.
3589 * doloop.c: Permit doloop treatment when loop_info->preconditoned.
3591 2002-10-07 Richard Henderson <rth@redhat.com>
3593 * config/i960/i960.c (i960_setup_incoming_varargs): Create a
3594 new rtx for comparing the argument pointer against zero.
3595 (i960_va_start): Similarly.
3597 2002-10-07 Richard Henderson <rth@redhat.com>
3599 * config/i960/i960.md (*): Use TFmode, not XFmode.
3600 * config/i960/i960.c (*): Likewise.
3601 (i960_arg_size_and_align): Remove XFmode alignment hack.
3602 (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
3603 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
3604 (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
3605 (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
3607 2002-10-07 Richard Henderson <rth@redhat.com>
3609 * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
3610 entry points; use void return value and argument list.
3612 2002-10-05 Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
3614 * t-pdp11: Add MULTILIB support for msoft-float.
3615 * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
3617 * t-pdp11: Add LIB2FUNCS_EXTRA.
3618 * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
3619 add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
3620 'fldd' to 'ldd', rename 'fstd' to 'std'.
3621 (pdp11_output_function_epilogue): Likewise.
3622 (output_move_quad): Make the comment gas compatible.
3623 (output_ascii): Add preceding 0 to the octal constant.
3624 (print_operand_address): Add pre_modify, post_modify.
3625 (output_addr_const_pdp11): Add preceding 0 to the octal constant.
3626 * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
3627 with the indication of Paul Koning.
3628 (PRINT_OPERAND): Fix floating constant.
3629 * pdp11.md (movdi): Restrict matching pattern.
3630 (movqi): Generalize the matching pattern.
3631 (movdf): Restrict matching pattern.
3632 (zero_extendqihi2): Change constant representation.
3633 (floatsidf2): Fix wrong operands.
3634 (addqi3): Fix wrong instruction name.
3635 (subqi3): Fix wrong instruction name.
3636 (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
3637 (xorsi3): Fix wrong insn.
3638 (one_cmplqi2): Add two operand pattern.
3641 (call): Add register indirect case.
3642 (mod): Fix wrong subreg.
3644 2002-10-06 Eric Botcazou <ebotcazou@libertysurf.fr>
3645 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3648 * expr.c (expand_expr) [PLUS]: Simplify after the operands
3649 have been expanded in EXPAND_NORMAL mode.
3651 2002-10-06 Richard Henderson <rth@redhat.com>
3653 * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
3655 2002-10-06 Richard Henderson <rth@redhat.com>
3657 PR optimization/2960
3658 * toplev.c (rest_of_compilation): Don't copy_loop_headers if
3661 2002-10-06 Alexandre Oliva <aoliva@redhat.com>
3663 * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
3664 previously definitions.
3666 2002-10-06 Frank Ch. Eigler <fche@redhat.com>
3668 * cppinit.c (init_standard_includes, parse_option): Use strncmp.
3669 * c-opts.c (find_opt): Similarly.
3671 2002-10-05 Jakub Jelinek <jakub@redhat.com>
3673 * gcc.c (set_multilib_dir): Don't access *end.
3674 Use memcpy instead of strncpy. Don't write beyond malloced buffer.
3675 (print_multilib_info): Don't show paths starting with ".:".
3676 * genmultilib: Add new option, "yes" if multilibs are enabled.
3677 Update comments. If multilibs not enabled, print .:${osdirout}
3678 for each directory. If multilibs are enabled, always print
3679 ${dirout}:${osdirout}, even if the two are the same.
3680 * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
3681 Pass all MULTILIB_* variables to genmultilib even if
3682 --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
3684 2002-10-04 Bruce Korb <bkorb@gnu.org>
3686 * fixinc/inclhack.def(hpux11_abs): use format fix
3687 * fixinc/fixincl.x: regenerate
3688 * fixinc/tests/base/stdlib.h: accommodate new fix test
3690 Sat Oct 5 19:42:45 CEST 2002 Jan Hubicka <jh@suse.cz>
3692 * c-common.c (cb_register_builtins): Use really_no_inline.
3694 2002-10-04 David Edelsohn <edelsohn@gnu.org>
3696 * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
3697 copied instruction if the note is not loop invariant.
3699 2002-10-04 Loren J. Rittle <ljrittle@acm.org>
3701 * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
3703 2002-10-04 Steve Ellcey <sje@cup.hp.com>
3705 * doc/invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld,
3706 and -mhp-ld options to list of options. Add -mgnu-ld
3707 and -mhp-ld option descriptions.
3709 2002-10-04 Steve Ellcey <sje@cup.hp.com>
3711 * fixinc/inclhack.def (hpux11_abs): New.
3712 (stdio_va_list): change __va_list__ to __gnuc_va_list.
3713 * fixinc/fixincl.x: Rebuild.
3715 2002-10-04 Roger Sayle <roger@eyesopen.com>
3717 * config/i386/i386.h (processor_costs): Add new fields fadd,
3718 fmul, fdiv, fabs, fchs and fsqrt to costs structure.
3719 (RTX_COSTS): Use these fields to determine the RTX costs
3720 of floating point addition/subtraction, multiplication,
3721 division, fabs, negation and square root respectively.
3722 * config/i386/i386.c (size_cost): Provide instruction sizes
3723 for these new fields.
3724 (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
3725 k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
3726 counts for these new fields for all x86 processor variants.
3728 2002-10-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3730 * mips.c (mips_const_double_ok): Delete unused variable.
3732 * gengtype.c (rtx_next): Change type to int.
3734 2002-10-04 Andreas Jaeger <aj@suse.de>
3736 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
3738 2002-10-04 Richard Henderson <rth@redhat.com>
3740 * real.h (SIGNIFICAND_BITS): Add one more word.
3741 (CONST_DOUBLE_FORMAT): Accomodate 6 words.
3742 * real.c (times_pten): New.
3743 (real_to_decimal, real_from_string): Use it.
3744 (sticky_rshift_significand): Use & to find modulus.
3745 (rshift_significand, lshift_significand): Likewise.
3746 (do_divide): Apply sticky bit after normalization.
3747 (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
3749 2002-10-03 Andreas Jaeger <aj@suse.de>
3751 * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
3752 to unsigned long, adjust printf format string.
3753 (output_mangled_typename): Likewise.
3755 2002-10-03 Jason Thorpe <thorpej@wasabisystems.com>
3757 * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
3758 * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
3759 (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
3760 assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
3761 (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
3762 (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
3763 * config/vax/elf.h (FUNCTION_PROFILER): Remove.
3764 (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
3766 2002-10-03 Mark Mitchell <mark@codesourcery.com>
3768 * doc/invoke.texi (-Wabi): Document mangling bug.
3770 2002-10-04 Alan Modra <amodra@bigpond.net.au>
3772 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
3773 name for the tbtab label that depends on the function asm name.
3774 Don't output tbtab label unless optional_tbtab.
3775 (output_mi_thunk): Formatting.
3777 2002-10-03 Richard Henderson <rth@redhat.com>
3779 * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
3780 * config/m68k/m68k.c (override_options): ... here.
3781 * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
3782 * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
3783 * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
3784 * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
3786 2002-10-03 Richard Henderson <rth@redhat.com>
3788 * real.h (struct real_value): Use ENUM_BITFIELD.
3790 2002-10-03 Richard Henderson <rth@redhat.com>
3792 * config/i960/i960.md (call, call_value): Use emit_call_insn.
3794 2002-10-03 Steve Ellcey <sje@cup.hp.com>
3796 * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
3798 2002-10-03 Steve Ellcey <sje@cup.hp.com>
3800 * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
3801 * config/pa/pa.h (MASK_GNU_LD): New.
3802 (TARGET_GNU_LD): New.
3803 * config/pa/pa64-hpux.h (LINK_SPEC): Set based
3804 on gnu-ld and MASK_GNU_LD.
3805 (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
3807 Thu Oct 3 23:35:51 CEST 2002 Jan Hubicka <jh@suse.cz>
3809 * i386.c (athlon_cost): Fix the move costs.
3811 Thu Oct 3 23:20:58 CEST 2002 Jan Hubicka <jh@suse.cz>
3813 * final.c (final): Use symbol name as function name for profiling.
3814 * profile.c (get_exec_counts): Likewise.
3815 (branch_prob): Likewise.
3817 2002-10-03 Jakub Jelinek <jakub@redhat.com>
3819 * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
3821 2002-10-03 Jakub Jelinek <jakub@redhat.com>
3823 * gcc.c (print_multi_os_directory): New variable.
3824 (option_map): Support --print-multi-os-directory.
3825 (struct prefix_list): Add os_multilib field.
3826 (multilib_os_dir): New variable.
3827 (static_specs): Add multilib_options.
3828 (find_a_file): Add multilib argument. Search in GCC or OS multilib
3829 subdirs if non-zero.
3830 (read_specs, execute): Update callers.
3831 (find_file): Likewise. Don't prefix name with multilib_dir, instead
3832 pass 1 as multilib option.
3833 (display_help): Include --print-multi-os-directory.
3834 (add_prefix): Add os_multilib argument. Initialize pl->os_multilib.
3835 (process_command): Update callers. Handle --print-multi-os-directory.
3836 (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
3838 (main): Update find_a_file and add_prefix callers.
3839 Handle print_multi_os_directory.
3840 (struct mdswitchstr): New.
3841 (mdswitches, n_mdswitches): New variables.
3842 (used_arg): Add MULTILIB_DEFAULT switches too if they are not
3843 present on the command line nor their mutually incompatible
3845 (default_arg): Optimize.
3846 (set_multilib_dir): Compute multilib_os_dir. Initialize mdswitches
3848 (print_multilib_info): Only print GCC multilib dir name, not OS
3850 * genmultilib: Add osdirnames parameter. Output multilib_options
3851 variable. If osdirnames is specified, output dirnames as
3853 * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
3854 and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
3855 to compute libgcc_s soname and install path.
3856 * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
3857 SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
3858 (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
3861 * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
3862 (SHLIB_SLIBDIR_SUFFIXES): Remove.
3863 * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
3864 ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
3865 (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
3867 * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
3868 (SHLIB_SLIBDIR_SUFFIXES): Remove.
3869 * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
3870 (STARTFILE_ARCH_SPEC): Remove.
3871 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
3872 (SHLIB_SLIBDIR_SUFFIXES): Remove.
3873 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
3874 * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
3875 (SHLIB_SLIBDIR_SUFFIXES): Remove.
3877 Thu Oct 3 21:42:20 CEST 2002 Jan Hubicka <jh@suse.cz>
3879 * predict.c (choose_function_section): Avoid choice for linkonce functions.
3881 Thu Oct 3 15:15:00 CEST 2002 Jan Hubicka <jh@suse.cz>
3883 * i386.md (lea to mul peep2): Fix condition.
3885 2002-10-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
3887 * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
3888 * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
3890 2002-10-02 Richard Henderson <rth@redhat.com>
3893 * config/i386/i386.c (ix86_register_move_cost): Increase cost
3894 for secondary_memory_needed pairs.
3896 2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
3898 * doc/vms.texi: Blow away false include file section.
3900 2002-10-02 Roger Sayle <roger@eyesopen.com>
3902 PR optimization/6627
3903 * toplev.c (force_align_functions_log): New global variable.
3904 * flags.h (force_align_functions_log): Add extern prototype.
3905 * varasm.c (assemble_start_function): Use it to force minimum
3907 * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
3908 minimum function alignment to one byte.
3909 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
3910 the least significant bit of vtable member function pointers.
3911 * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
3912 here from cp/cp-tree.h.
3914 Wed Oct 2 17:01:36 CEST 2002 Jan Hubicka <jh@suse.cz>
3916 * i386.c (print_operand_address): Use RIP addressing for offsetted
3919 2002-09-30 David S. Miller <davem@redhat.com>
3922 * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
3923 (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
3925 2002-10-01 Roger Sayle <roger@eyesopen.com>
3927 * unroll.c (loop_iterations): Revert 2002-09-08 change.
3929 2002-10-01 Richard Henderson <rth@redhat.com>
3931 * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
3932 (real_to_hexadecimal): Likewise.
3933 * print-rtl.c (print_rtx): If we are linked with real.c, don't
3934 dump the XWINT fields of a floating point CONST_DOUBLE.
3936 2002-10-01 Jason Thorpe <thorpej@wasabisystems.com>
3938 * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
3940 2002-10-01 Richard Henderson <rth@redhat.com>
3942 * calls.c (precompute_register_parameters): Force non-legitimate
3943 constants into pseudos.
3945 2002-10-01 Nick Clifton <nickc@redhat.com>
3947 * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
3948 to assembler template.
3950 2002-10-01 Richard Henderson <rth@redhat.com>
3952 * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
3953 for TLS debug info to !DECL_EXTERNAL.
3955 2002-10-01 Matt Thomas <matt@3am-software.com>
3956 Jason Thorpe <thorpej@wasabisystems.com>
3958 * config.gcc (vax-*-netbsdelf*): Enable configuration.
3959 * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
3960 if not already defined.
3961 * config/vax/elf.h: New file.
3962 * config/vax/netbsd-elf.h: New file.
3963 * config/vax/vax.c: Include "debug.h".
3964 (vax_output_function_prologue): Add dwarf2 support. Use
3965 MAIN_NAME_P when checking for VMS_TARGET stack adjust.
3966 * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
3967 'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
3968 'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
3969 (VAX_ISTREAM_SYNC): Remove.
3970 (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
3971 (JUMP_TABLES_IN_TEXT_SECTION): Define.
3972 (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
3973 (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
3975 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
3976 (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
3977 (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
3978 (INCOMING_RETURN_ADDR_RTX): Define.
3979 * config/vax/vax.md (VUNSPEC_BLOCKAGE)
3980 (VUNSPEC_SYNC_ISTREAM): Define.
3981 (blockage): Use VUNSPEC_BLOCKAGE.
3982 (sync_istream): New insn.
3984 2002-10-01 Richard Henderson <rth@redhat.com>
3986 * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
3987 (*call_value_pop, call, call_value): Add dwarf2 EH support.
3990 2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
3993 * c-typeck.c (build_c_cast): Warn about type punning which breaks
3994 type based aliasing.
3996 2002-10-01 Mark Mitchell <mark@codesourcery.com>
3998 * stor-layout.c (update_alignment_for_field): New function.
3999 (place_union_field): Use it.
4000 (place_field): Likewise.
4002 2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
4005 * gcc.c (cc1_options): Add space on -auxbase-strip.
4007 2002-10-01 Jim Wilson <wilson@redhat.com>
4009 * config/v850/v850.h (EPILOGUE_USES): Define.
4011 2002-09-30 Andrew Haley <aph@redhat.com>
4013 * flow.c (insn_dead_p): When using non-call-exceptions, don't
4014 eliminate insns that may trap.
4015 * cse.c (insn_live_p): Likewise.
4017 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
4019 * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
4020 (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
4021 * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
4022 * config/mips/mips.md: Apply same renaming here.
4024 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
4026 * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
4027 (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
4028 * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
4029 * config/mips/mips.md (define_attr cpu): Remove r4320.
4030 Remove vr4320 scheduler and uses of TARGET_MIPS4320.
4032 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
4034 * config/mips/mips.c (mips16_strings): New variable.
4035 (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
4036 symbol in mips16_strings. Free the list.
4037 (mips_encode_section_info): Keep track of local strings.
4039 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
4041 * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
4042 (sordered_df, sordered_sf): Remove.
4043 * config/mips/mips.c (get_float_compare_codes): New fn.
4044 (gen_int_relational, gen_conditional_move): Use it.
4046 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
4048 * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
4049 * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
4050 * config/mips/mips.c (fcc_register_operand): New function.
4051 (mips_emit_fcc_reload): New function, extracted from reload_incc.
4052 (override_options): Allow TFmode values in float registers
4054 * cnfig/mips/mips.md (reload_incc): Change destination prediate
4055 to fcc_register_operand. Remove misleading source constraint.
4056 Use mips_emit_fcc_reload.
4057 (reload_outcc): Duplicate reload_incc.
4059 2002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
4061 * longlong.h: Partially synchronize with GMP-4.1 version:
4062 Use i370 definitions also for s390.
4063 Add generic definition of umul_ppmm in terms of smul_ppmm.
4064 [s390] (umul_ppmm): Remove.
4065 [s390] (smul_ppmm): Fix incorrect assembler constraints.
4066 [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
4068 2002-09-30 Bob Wilson <bob.wilson@acm.org>
4070 * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
4071 Add new RL_REGS register class.
4072 (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
4073 Call xtensa_preferred_reload_class for both input and output reloads.
4074 * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
4075 (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
4076 instead of either AR_REGS or GR_REGS classes.
4077 (xtensa_secondary_reload_class): Use new RL_REGS class.
4078 * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
4080 2002-09-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
4082 * pa.c (hppa_encode_label): Don't drop '*' from function labels.
4083 (pa_strip_name_encoding): Strip '@' and '*', in that order.
4084 * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
4085 there is a '*' prefix in NAME.
4087 Mon Sep 30 21:33:23 CEST 2002 Jan Hubicka <jh@suse.cz>
4089 * reload.c (push_reload): Handle subregs and secondary memory.
4090 * reload1.c (gen_reload): Likewise.
4092 * jump.c (reg_or_subregno): New function.
4093 * rtl.h (reg_or_subregno): Declare
4094 * unroll.c (find_splittable_givs): Handle subregs.
4096 2002-09-30 Mark Mitchell <mark@codesourcery.com>
4098 * store-layout.c (finish_record_layout): Add free_p parameter.
4099 (layout_type): Pass it.
4100 * tree.h (finish_record_layout): Update prototype.
4102 Mon Sep 30 14:57:18 CEST 2002 Jan Hubicka <jh@suse.cz>
4104 * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
4106 * gcse.c (cprop_jump): Check that the register has not
4108 (cprop_jump): Likewise.
4110 2002-09-30 Richard Earnshaw <rearnsha@arm.com>
4112 * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
4113 (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
4114 that we have a SImode access, and only then if reload hasn't completed;
4115 for all other cases, use LO_REGS.
4117 2002-09-29 Richard Henderson <rth@redhat.com>
4119 * real.c (real_from_string): Apply sign last. Tidy exponent handling.
4121 2002-09-29 Richard Henderson <rth@redhat.com>
4124 * combine.c (force_to_mode): Handle FLOAT_MODE destinations
4127 2002-09-29 David Edelsohn <edelsohn@gnu.org>
4129 * real.h (ibm_extended_format): Declare.
4130 * real.c (encode_ibm_extended, decode_ibm_extended): New
4133 2002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4135 * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
4137 * ia64.c (ia64_hpux_asm_file_end): Const-ify.
4139 2002-09-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
4141 * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
4143 2002-09-29 Kazu Hirata <kazu@cs.umass.edu>
4145 * builtins.def: Fix comment formatting.
4146 * c-common.def: Likewise.
4147 * cfgcleanup.c: Likewise.
4148 * combine.c: Likewise.
4149 * gengtype.c: Likewise.
4150 * params.def: Likewise.
4151 * predict.def: Likewise.
4152 * rtl.def: Likewise.
4153 * stab.def: Likewise.
4154 * stor-layout.c: Likewise.
4155 * tree.def: Likewise.
4156 * config/darwin.c: Likewise.
4157 * config/darwin.h: Likewise.
4158 * config/dbxcoff.h: Likewise.
4159 * config/elfos.h: Likewise.
4160 * config/fp-bit.c: Likewise.
4161 * config/freebsd-spec.h: Likewise.
4162 * config/interix.h: Likewise.
4163 * config/libgloss.h: Likewise.
4164 * config/linux-aout.h: Likewise.
4165 * config/linux.h: Likewise.
4166 * config/lynx-ng.h: Likewise.
4167 * config/lynx.h: Likewise.
4168 * config/netbsd-aout.h: Likewise.
4169 * config/netbsd.h: Likewise.
4170 * config/netware.h: Likewise.
4171 * config/psos.h: Likewise.
4172 * config/ptx4.h: Likewise.
4174 2002-09-28 Kazu Hirata <kazu@cs.umass.edu>
4176 * ChangeLog.4: Fix typos.
4177 * ChangeLog.6: Likewise.
4178 * FSFChangeLog.10: Likewise.
4179 * genattrtab.c: Fix comment typos.
4180 * haifa-sched.c: Likewise.
4183 * config/arm/arm.c: Likewise.
4184 * config/arm/crti.asm: Likewise.
4185 * config/arm/crtn.asm: Likewise.
4186 * config/frv/frv.c: Likewise.
4187 * config/frv/frv.md: Likewise.
4188 * config/h8300/h8300.md: Likewise.
4189 * config/i386/rtemself.h: Likewise.
4190 * config/ia64/unwind-ia64.c: Likewise.
4191 * config/ip2k/ip2k.h: Likewise.
4192 * config/m88k/m88k.c: Likewise.
4193 * config/m88k/m88k.md: Likewise.
4194 * config/mips/sr71k.md: Likewise.
4195 * config/mmix/mmix.c: Likewise.
4196 * config/rs6000/rs6000.c: Likewise.
4197 * config/sh/sh.md: Likewise.
4199 2002-09-26 Theodore A. Roth <troth@verinet.com>
4201 * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
4202 * config/avr/avr.md: Ditto.
4204 2002-09-27 Alexander N. Kabaev <ak03@gte.com>
4206 PR preprocessor/8055
4207 * cppmacro.c (stringify_arg): Do not overflow the buffer
4208 with the terminating NUL when the argument to be stringified
4211 2002-09-27 Richard Henderson <rth@redhat.com>
4213 * unroll.c (simplify_cmp_and_jump_insns): New.
4214 (unroll_loop): Use it. Use simplify_gen_foo+force_operand
4215 instead of expand_simple_foo.
4217 2002-09-27 Richard Henderson <rth@redhat.com>
4219 PR optimization/7520
4220 * cfganal.c (flow_active_insn_p): New.
4221 (forwarder_block_p): Use it.
4223 2002-09-27 Richard Henderson <rth@redhat.com>
4225 * emit-rtl.c (active_insn_p): Revert last change.
4227 2002-09-27 Jakub Jelinek <jakub@redhat.com>
4229 * doc/extend.texi (tls_model): Document.
4230 * varasm.c (decl_tls_model): New.
4231 * c-common.c (handle_tls_model_attribute): New.
4232 (c_common_attribute_table): Add tls_model.
4233 * config/alpha/alpha.c (alpha_encode_section_info): Use
4235 * flags.h (enum tls_model, flag_tls_default): Move...
4236 * tree.h (enum tls_model, flag_tls_default): ...here.
4237 (decl_tls_model): New prototype.
4238 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
4239 * config/i386/i386.c (ix86_encode_section_info): Likewise.
4240 * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
4243 2002-09-27 Kazu Hirata <kazu@cs.umass.edu>
4245 * LANGUAGES: Follow spelling conventions.
4246 * rtl.def: Likewise.
4247 * sbitmap.c: Likewise.
4248 * sched-int.h: Likewise.
4249 * sched-rgn.c: Likewise.
4250 * sibcall.c: Likewise.
4251 * simplify-rtx.c: Likewise.
4253 * stab.def: Likewise.
4255 * stor-layout.c: Likewise.
4256 * target.h: Likewise.
4257 * timevar.c: Likewise.
4258 * toplev.c: Likewise.
4259 * tree-dump.c: Likewise.
4260 * tree-inline.c: Likewise.
4262 * tree.def: Likewise.
4264 * unroll.c: Likewise.
4265 * varasm.c: Likewise.
4266 * vmsdbgout.c: Likewise.
4267 * treelang/treelang.texi: Likewise.
4268 * treelang/treetree.c: Likewise.
4270 2002-09-27 Kazu Hirata <kazu@cs.umass.edu>
4272 * config/h8300/h8300.c (compute_saved_regs): Use a macro
4273 instead of a hard register number.
4274 (get_shift_alg): Use an enumerated type instead of numbers.
4275 (h8300_shift_needs_scratch_p): Likewise.
4277 2002-09-26 David S. Miller <davem@redhat.com>
4279 PR optimization/7335
4280 * calls.c (emit_library_call_value_1): Passing args by reference
4281 converts a CONST function into a PURE one.
4283 2002-09-26 David Edelsohn <edelsohn@gnu.org>
4285 * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
4287 * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
4289 * config/rs6000/rs6000.c (rs6000_override_options): Allow
4290 function-sections and data-sections functionality on AIX.
4292 2002-09-26 David Edelsohn <edelsohn@gnu.org>
4293 Dale Johannesen <dalej@apple.com>
4295 * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
4296 in RTL for sub-word loads from memory.
4298 2002-09-26 Richard Henderson <rth@redhat.com>
4301 * sched-deps.c (sched_analyze_insn): Make clobber insns depend
4304 2002-09-26 Richard Henderson <rth@redhat.com>
4306 * emit-rtl.c (const_double_htab_eq): Remove unused variable.
4308 2002-09-26 Chris Lattner <sabre@nondot.org>
4310 * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
4311 handling undefined values.
4313 2002-09-26 Richard Henderson <rth@redhat.com>
4316 * emit-rtl.c (active_insn_p): Consider a clobber of the
4317 function return value to be active even after reload.
4319 2002-09-27 Alan Modra <amodra@bigpond.net.au>
4321 * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
4322 by absolute loop increment, not loop increment.
4324 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
4326 * c-common.h: Follow spelling conventions.
4327 * cpplex.c: Likewise.
4328 * cpplib.h: Likewise.
4329 * gthr-dce.h: Likewise.
4330 * gthr-posix.h: Likewise.
4331 * optabs.c: Likewise.
4332 * output.h: Likewise.
4333 * profile.c: Likewise.
4334 * protoize.c: Likewise.
4335 * ra-rewrite.c: Likewise.
4337 * recog.c: Likewise.
4338 * reg-stack.c: Likewise.
4339 * regclass.c: Likewise.
4340 * regmove.c: Likewise.
4341 * reload.c: Likewise.
4342 * reload.h: Likewise.
4343 * reload1.c: Likewise.
4344 * reorg.c: Likewise.
4345 * resource.c: Likewise.
4347 * rtlanal.c: Likewise.
4349 2002-09-26 Steve Ellcey <sje@cup.hp.com>
4351 * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
4354 2002-09-24 Eric Christopher <echristo@redhat.com>
4356 * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
4357 * config/mips/elf64.h: Ditto.
4359 2002-09-24 Eric Christopher <echristo@redhat.com>
4361 * except.c (expand_builtin_extract_return_address): Handle case
4362 where Pmode != ptr_mode.
4364 2002-09-26 Steve Ellcey <sje@cup.hp.com>
4366 * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
4368 2002-09-26 Steve Ellcey <sje@cup.hp.com>
4370 * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
4372 2002-09-26 Igor Shevlyakov <igor@microunity.com>
4374 * combine.c (simplify_set): Don't call to force_to_mode if size
4375 of integer type is larger than HOST_BITS_PER_WIDE_INT.
4377 2002-09-26 Janis Johnson <janis187@us.ibm.com>
4379 * Makefile.in (qmtest-g++): Fix file path.
4381 2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
4383 * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
4384 A + (-const) on RTX level, even for unsigned types.
4386 2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
4388 * reload.c (dup_replacements): New function.
4389 (find_reloads): Use it to duplicate replacements at the top level
4390 of match_dup operands.
4392 2002-09-26 Miles Bader <miles@gnu.org>
4394 * v850.md ("length"): Change default value to 4.
4396 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
4398 * ChangeLog.1: Follow spelling conventions.
4399 * ChangeLog.4: Likewise.
4400 * ChangeLog.6: Likewise.
4401 * FSFChangeLog.11: Likewise.
4402 * doc/cpp.texi: Likewise.
4403 * doc/invoke.texi: Likewise.
4404 * doc/tm.texi: Likewise.
4406 2002-09-26 Nick Clifton <nickc@redhat.com>
4408 * config.gcc: Add x prefix to v850e case for handling
4411 2002-09-25 David S. Miller <davem@redhat.com>
4414 * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
4417 2002-09-25 Richard Henderson <rth@redhat.com>
4419 * emit-rtl.c (const_double_htab_eq): Distinguish integer and
4420 fp CONST_DOUBLE; use real_identical.
4422 2002-09-25 Mark Mitchell <mark@codesourcery.com>
4424 * doc/invoke.texi: Add more -Wabi examples.
4426 2002-09-25 Richard Sandiford <rsandifo@redhat.com>
4428 * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
4430 2002-09-24 Denis Chertykov <denisc@overta.ru>
4432 * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
4433 cases of optimizing "add sp,w" to "inc sp".
4435 2002-09-24 Adam Nemet <anemet@lnxw.com>
4437 * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
4438 epilogue for naked functions.
4440 2002-09-24 Adam Nemet <anemet@lnxw.com>
4441 Nick Clifton <nickc@redhat.com>
4443 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
4444 (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
4447 2002-09-24 Ulrich Weigand <uweigand@de.ibm.com>
4449 * config/s390/s390.c (preferred_la_operand_p): New function.
4450 * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
4451 * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
4452 ("*la_64_cc", "*la_31_cc", splitters): ... these.
4453 ("*la_31"): Deactivate for TARGET_64BIT.
4454 ("*la_31_and", "*la_31_and_cc"): New.
4456 2002-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4458 * real.h (real_value): Make `exp' explicitly signed.
4460 2002-09-24 Kazu Hirata <kazu@cs.umass.edu>
4462 * config/elfos.h: Follow spelling conventions.
4463 * config/alpha/alpha.h: Likewise.
4464 * config/arc/arc.h: Likewise.
4465 * config/arm/arm.md: Likewise.
4466 * config/avr/avr.h: Likewise.
4467 * config/cris/cris.md: Likewise.
4468 * config/d30v/d30v.h: Likewise.
4469 * config/frv/frv.c: Likewise.
4470 * config/frv/frv.h: Likewise.
4471 * config/h8300/h8300.c: Likewise.
4472 * config/h8300/h8300.h: Likewise.
4473 * config/h8300/h8300.md: Likewise.
4474 * config/i386/cygwin.h: Likewise.
4475 * config/i386/i386.h: Likewise.
4476 * config/i386/sysv3.h: Likewise.
4477 * config/i960/i960.h: Likewise.
4478 * config/ia64/ia64.h: Likewise.
4479 * config/ia64/ia64.md: Likewise.
4480 * config/ip2k/ip2k.h: Likewise.
4481 * config/m32r/m32r.h: Likewise.
4482 * config/m68k/m68k.h: Likewise.
4483 * config/m88k/m88k.h: Likewise.
4484 * config/mcore/mcore.c: Likewise.
4485 * config/mcore/mcore.h: Likewise.
4486 * config/mcore/mcore.md: Likewise.
4487 * config/mips/mips.h: Likewise.
4488 * config/mmix/mmix.h: Likewise.
4489 * config/mmix/mmix.md: Likewise.
4490 * config/ns32k/netbsd.h: Likewise.
4491 * config/ns32k/ns32k.h: Likewise.
4492 * config/ns32k/ns32k.md: Likewise.
4493 * config/pa/pa.h: Likewise.
4494 * config/romp/romp.h: Likewise.
4495 * config/rs6000/rs6000.h: Likewise.
4496 * config/rs6000/rs6000.md: Likewise.
4497 * config/sparc/sparc.h: Likewise.
4498 * config/stormy16/stormy-abi: Likewise.
4499 * config/stormy16/stormy16.h: Likewise.
4500 * config/vax/vax.h: Likewise.
4502 2002-09-23 Zack Weinberg <zack@codesourcery.com>
4504 * version.c (version_string): Now const char[].
4505 * version.h: Update to match.
4507 2002-09-23 Richard Henderson <rth@redhat.com>
4509 * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
4510 MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
4511 (TARGET_SWITCHES): Don't reference them.
4512 * config/i386/i386.c (override_options): Use target_flags_explicit
4513 to examine bits set by the user.
4515 2002-09-23 Dale Johannesen <dalej@apple.com>
4517 * dbxout.c (dbxout_parms): Set current_sym_code for params
4518 passed on stack by invisible reference.
4520 2002-09-23 Richard Earnshaw <rearnsha@arm.com>
4522 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
4523 at least one byte of space.
4525 2002-09-23 Mark Mitchell <mark@codesourcery.com>
4527 * c-common.h (flag_abi_version): Fix typo in comment.
4528 * doc/invoke.texi (flag_abi_version): Document default value.
4530 2002-09-23 Hans-Peter Nilsson <hp@axis.com>
4532 * doc/extend.texi (Extended Asm): Clarify that overlap between
4533 asm-declared register variables used in an asm and the asm clobber
4534 list is not allowed.
4535 * stmt.c (decl_conflicts_with_clobbers_p): New function.
4536 (expand_asm_operands): Keep track of clobbered registers. Call
4537 decl_conflicts_with_clobbers_p for each input and output operand.
4538 If no conflicts found before, also do conflict sanity check when
4541 2002-09-23 Richard Henderson <rth@redhat.com>
4543 * c-common.c (cpp_define_data_format): Remove.
4544 (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
4545 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
4546 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
4547 * doc/cpp.texi: Don't document them either.
4548 (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
4549 __LONG_LONG_MAX__): Document.
4550 (__TARGET_FLOAT_FORMAT__): Remove.
4552 2002-09-23 Richard Henderson <rth@redhat.com>
4554 * real.c (do_multiply): Normalize U before addition.
4556 2002-09-23 Mark Mitchell <mark@codesourcery.com>
4558 * c-common.c (flag_abi_version): New variable.
4559 * c-common.h (flag_abi_version): Declare it.
4560 * c-opts.c (missing_arg): Add -fabi-version.
4561 (c_common_decode_option): Process -fabi-version.
4562 * doc/invoke.texi (-fabi-version): Document it.
4563 (-Wabi): Add information about bit-fields in unions.
4565 2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
4567 * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
4568 unless -fno-pic or -fno-PIC is specified.
4570 2002-09-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
4572 * c-common.c (preprocessing_trad_p): Define.
4573 * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
4574 (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
4575 * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
4576 * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
4577 * pa-linux.h (CPP_PREDEFINES): Delete.
4578 (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
4579 * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
4580 * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
4581 (TARGET_OS_CPP_BUILTINS): Define.
4582 * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
4583 (TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES.
4584 (SUBTARGET_SWITCHES): Provide default definition.
4585 (TARGET_OPTIONS): Reformat. Use N_() macro.
4586 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
4587 CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
4588 EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
4589 (TARGET_CPU_CPP_BUILTINS): Define.
4590 (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
4591 * doc/invoke.texi (msio, mwsio): Document new hppa options.
4592 * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
4593 preprocessing_trad_p().
4595 2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
4597 * doc/install.texi: Document behavior of --with-headers and
4598 --with-libs when arguments are omitted.
4600 2002-09-22 Kazu Hirata <kazu@cs.umass.edu>
4602 * dbxout.c: Follow spelling conventions.
4603 * defaults.h: Likewise.
4605 * diagnostic.h: Likewise.
4606 * doloop.c: Likewise.
4607 * dwarf2out.c: Likewise.
4608 * dwarfout.c: Likewise.
4609 * emit-rtl.c: Likewise.
4610 * except.c: Likewise.
4611 * explow.c: Likewise.
4612 * expmed.c: Likewise.
4615 * flags.h: Likewise.
4617 * fold-const.c: Likewise.
4618 * function.c: Likewise.
4619 * function.h: Likewise.
4621 * gcov-io.h: Likewise.
4624 * genattrtab.c: Likewise.
4625 * genconfig.c: Likewise.
4626 * genrecog.c: Likewise.
4627 * ggc-page.c: Likewise.
4629 * global.c: Likewise.
4630 * gthr-win32.h: Likewise.
4631 * integrate.c: Likewise.
4633 * langhooks.c: Likewise.
4634 * langhooks.h: Likewise.
4635 * line-map.h: Likewise.
4636 * local-alloc.c: Likewise.
4637 * longlong.h: Likewise.
4641 Tue Aug 27 22:26:35 CEST 2002 Jan Hubicka <jh@suse.cz>
4643 * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
4645 Tue Aug 27 20:07:01 CEST 2002 Jan Hubicka <jh@suse.cz>
4647 * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
4648 for -Os/TARGET_64BIT too.
4650 2002-09-21 Kazu Hirata <kazu@cs.umass.edu>
4652 * ChangeLog: Follow spelling conventions.
4653 * ChangeLog.0: Likewise.
4654 * ChangeLog.1: Likewise.
4655 * ChangeLog.2: Likewise.
4656 * ChangeLog.3: Likewise.
4657 * ChangeLog.4: Likewise.
4658 * ChangeLog.5: Likewise.
4659 * ChangeLog.6: Likewise.
4660 * FSFChangeLog.10: Likewise.
4661 * FSFChangeLog.11: Likewise.
4662 * alias.c: Likewise.
4663 * basic-block.h: Likewise.
4664 * c-aux-info.c: Likewise.
4665 * c-common.c: Likewise.
4666 * c-common.h: Likewise.
4667 * c-decl.c: Likewise.
4668 * c-format.c: Likewise.
4669 * c-semantics.c: Likewise.
4670 * c-typeck.c: Likewise.
4671 * calls.c: Likewise.
4672 * cfganal.c: Likewise.
4673 * cfgloop.c: Likewise.
4674 * collect2.c: Likewise.
4675 * combine.c: Likewise.
4676 * conflict.c: Likewise.
4677 * cppexp.c: Likewise.
4678 * cppfiles.c: Likewise.
4679 * cpphash.h: Likewise.
4680 * cppinit.c: Likewise.
4681 * cpplex.c: Likewise.
4682 * cpplib.c: Likewise.
4683 * cpplib.h: Likewise.
4684 * cppmacro.c: Likewise.
4687 2002-09-21 Richard Earnshaw <rearnsha@arm.com>
4689 * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
4691 (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
4692 * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
4693 (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
4695 2002-09-21 Richard Earnshaw <rearnsha@arm.com>
4698 * cse.c (fold_rtx): Calculate old_cost before we fold each
4701 2002-09-21 Richard Henderson <rth@redhat.com>
4703 * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
4704 __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
4705 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
4706 __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
4707 __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
4708 * doc/cpp.texi: Don't document them.
4710 2002-09-21 Richard Henderson <rth@redhat.com>
4712 * c-common.c (builtin_define_float_constants): Use real_format
4713 to get the floating-point parameters.
4715 2002-09-21 Richard Henderson <rth@redhat.com>
4717 * real.c (struct real_format): Move to real.h.
4718 (real_format_for_mode): Rename from fmt_for_mode; update all users;
4719 initialize with ieee defaults.
4720 (real_to_target_fmt, real_from_target_fmt): New.
4721 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
4722 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
4723 ieee_quad_format, i370_single_format, i370_double_format,
4724 c4x_single_format, c4x_extended_format): Rename from s/_format//.
4725 (ieee_quad_format): Fix emin.
4726 (format_for_size, init_real_once): Remove.
4727 * real.h (struct real_format): Move from real.c.
4728 (real_format_for_mode): Declare.
4729 (real_to_target_fmt, real_from_target_fmt): Declare.
4730 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
4731 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
4732 ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
4733 i370_single_format, i370_double_format, c4x_single_format,
4734 c4x_extended_format): Declare.
4735 * toplev.c (do_compile): Don't call init_real_once.
4737 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
4738 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
4740 * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
4741 * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
4742 * config/alpha/alpha.c (override_options): Set real_format_for_mode
4743 for VAX, if enabled.
4745 * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
4748 * config/i370/i370.h (OVERRIDE_OPTIONS): New.
4749 * config/i370/i370.c (override_options): New.
4750 * config/i370/i370-protos.h: Update.
4752 * config/i386/i386.c (override_options): Set real_format_for_mode
4753 for Intel 80-bit extended.
4754 * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
4756 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
4757 (OVERRIDE_OPTIONS): Move code...
4758 * config/i960/i960.c (i960_initialize): ... here. Set
4759 real_format_for_mode for Intel 80-bit extended.
4761 * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
4762 for Intel 80-bit extended, if enabled.
4764 * config/m68k/m68k.c (override_options): Set real_format_for_mode
4765 for Motorola 96-bit extended.
4767 * config/vax/vax.h (OVERRIDE_OPTIONS): New.
4768 * config/vax/vax.c (override_options): New.
4769 * config/vax/vax-protos.h: Update.
4771 2002-09-21 Alan Modra <amodra@bigpond.net.au>
4773 * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
4776 * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
4777 insns. Supply missing clobber of scratch reg.
4779 2002-09-20 Kazu Hirata <kazu@cs.umass.edu>
4781 * config/m32r/m32r.c: Follow spelling conventions.
4782 * config/m32r/m32r.h: Likewise.
4783 * config/m32r/m32r.md: Likewise.
4784 * config/m68k/m68k.c: Likewise.
4785 * config/m88k/m88k.c: Likewise.
4786 * config/mcore/mcore.c: Likewise.
4787 * config/mips/mips.c: Likewise.
4788 * config/mips/mips.h: Likewise.
4789 * config/mmix/mmix.c: Likewise.
4790 * config/mn10200/mn10200.c: Likewise.
4791 * config/ns32k/ns32k.h: Likewise.
4792 * config/pa/pa.c: Likewise.
4793 * config/pa/pa64-linux.h: Likewise.
4794 * config/pdp11/pdp11.h: Likewise.
4795 * config/romp/romp.c: Likewise.
4796 * config/romp/romp.h: Likewise.
4797 * config/rs6000/eabi.asm: Likewise.
4798 * config/rs6000/linux64.h: Likewise.
4799 * config/rs6000/rs6000.c: Likewise.
4800 * config/rs6000/rs6000.h: Likewise.
4801 * config/rs6000/rs6000.md: Likewise.
4802 * config/rs6000/sysv4.h: Likewise.
4803 * config/rs6000/xcoff.h: Likewise.
4805 2002-09-20 Jim Wilson <wilson@redhat.com>
4807 * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
4809 2002-09-20 Jakub Jelinek <jakub@redhat.com>
4811 * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
4812 * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
4813 UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
4814 (legitimate_address_p): Likewise.
4815 (legitimize_address): Use @gotntpoff and @indntpoff.
4816 (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
4817 (output_addr_const_extra): Likewise.
4819 2002-09-20 Jim Wilson <wilson@redhat.com>
4821 * combine.c (try_combine): When split an instruction pair, where the
4822 first has a sign_extend src, verify that the src and dest modes match.
4824 2002-09-20 Richard Henderson <rth@redhat.com>
4826 * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
4827 (override_options): Do not initialize them.
4828 (mips_const_double_ok): Allow no fp constants except zero,
4829 and not even that for mips16.
4830 (const_float_1_operand): Use dconst1.
4831 * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
4832 movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
4833 Don't allow arbitrary constants; fix predicates and C constraint.
4835 2002-09-20 Neil Booth <neil@daikokuya.co.uk>
4837 * cppmacro.c: Don't warn about function-like macros without
4838 '(' during pre-expansion.
4840 2002-09-20 Jim Wilson <wilson@redhat.com>
4842 * config/v850/v850.c (current_function_anonymous_args): Delete.
4843 (expand_prologue): Use current_function_args_info.anonymous_args.
4844 (expand_epilogue): Delete use of current_function_anonymous_args.
4845 * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
4846 (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
4847 (current_function_anonymous_args): Delete extern declaration.
4848 (SETUP_INCOMING_VARARGS): Set anonymous_args field.
4850 2002-09-20 Geoffrey Keating <geoffk@apple.com>
4852 * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
4853 to load_macho_picbase.
4854 * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
4855 (load_macho_picbase): Take the symbol to use as a parameter.
4856 (macho_correct_pic): New insn.
4857 (builtin_setjmp_reciever): On Darwin, restore the PIC register.
4859 * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
4860 RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
4861 (CAN_ELIMINATE): Likewise.
4862 (INITIAL_ELIMINATION_OFFSET): Likewise.
4863 (TOC_REGISTER): Likewise.
4865 2002-09-20 Richard Henderson <rth@redhat.com>
4867 * real.c (real_hash): New.
4868 * real.h: Declare it.
4869 * cse.c (canon_hash): Use it.
4870 * cselib.c (hash_rtx): Likewise.
4871 * emit-rtl.c (const_double_htab_hash): Likewise.
4872 * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
4873 * varasm.c (struct rtx_const): Reduce vector size; separate
4874 integer and fp vectors.
4876 (const_hash_1): Rename from const_hash. Use real_hash. Do not
4877 take modulus MAX_HASH_TABLE.
4878 (const_hash): New. Do take modulus MAX_HASH_TABLE.
4879 (output_constant_def): Do not take modulus MAX_HASH_TABLE.
4880 (SYMHASH): Don't use HASHBITS.
4881 (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
4882 Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison.
4883 (simplify_subtraction): Fix kind comparison.
4884 (const_hash_rtx): Return unsigned int. Don't use HASHBITS.
4885 Use a union to pun integer array.
4886 * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
4887 only hash two words of integral CONST_DOUBLE.
4889 2002-09-20 Steve Ellcey <sje@cup.hp.com>
4891 * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
4892 (STARTFILE_PREFIX_SPEC): New.
4893 (LINK_SPEC): Modify.
4897 2002-09-20 Jakub Jelinek <jakub@redhat.com>
4899 * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
4900 UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
4902 2002-09-20 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
4904 * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
4905 Add clobber of the condition code register.
4907 2002-09-20 Richard Henderson <rth@redhat.com>
4909 * real.c (do_fix_trunc): Static.
4910 (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
4911 encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
4912 encode_i370_single, encode_i370_double, encode_c4x_single,
4913 encode_c4x_extended): Add default abort case.
4915 2002-09-20 Richard Henderson <rth@redhat.com>
4917 * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
4918 MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
4919 (struct realvaluetype): Remove.
4920 (REAL_VALUE_TYPE): Use struct real_value.
4921 (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
4922 (test_real_width): New.
4923 * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
4924 (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
4925 (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
4926 real_isneg, real_isnegzero, real_identical, exact_real_inverse,
4927 real_to_integer, real_to_integer2, real_to_decimal,
4928 real_to_hexadecimal, real_from_string, real_from_integer,
4929 real_inf, real_nan, real_2expN, real_convert, real_to_target,
4930 real_from_target): Likewise.
4931 * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
4932 * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
4934 2002-09-20 Richard Henderson <rth@redhat.com>
4936 * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
4937 IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
4938 * defaults.h: ... here.
4939 * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
4940 config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
4941 config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
4942 config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
4944 2002-09-20 Hans-Peter Nilsson <hp@bitrange.com>
4946 * config/mmix/mmix.md ("negdf2"): Rewrite.
4947 ("*expanded_negdf2"): New.
4949 2002-09-19 Jim Wilson <wilson@redhat.com>
4951 * combine.c (simplify_set): When optimizing a subreg src with a
4952 cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
4954 2002-09-19 Dale Johannesen <dalej@apple.com>
4955 * combine.c (make_extraction): Don't create
4958 2002-09-19 Ulrich Weigand <uweigand@de.ibm.com>
4960 * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
4961 and STRICT_LOW_PART within SET_DEST.
4962 * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
4963 splitters, replacing pre-reload splitters.
4964 ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
4965 "*zero_extendqihi2_31"): New insns.
4966 ("*zero_extendqihi2_64"): Do not clobber CC.
4968 2002-09-19 Steve Ellcey <sje@cup.hp.com>
4970 * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
4971 (DTORS_SECTION_ASM_OP): Ditto.
4972 (READONLY_DATA_SECTION_ASM_OP): Moved.
4973 (DATA_SECTION_ASM_OP): New.
4974 (SDATA_SECTION_ASM_OP): New.
4975 (BSS_SECTION_ASM_OP): New.
4976 (SBSS_SECTION_ASM_OP): New.
4977 (TEXT_SECTION_ASM_OP): New.
4979 2002-09-19 Kazu Hirata <kazu@cs.umass.edu>
4981 * config/fp-bit.c: Follow spelling conventions.
4982 * config/d30v/d30v.c: Likewise.
4983 * config/d30v/d30v.h: Likewise.
4984 * config/fr30/fr30.c: Likewise.
4985 * config/fr30/fr30.h: Likewise.
4986 * config/fr30/fr30.md: Likewise.
4987 * config/frv/frv.c: Likewise.
4988 * config/frv/frv.h: Likewise.
4989 * config/h8300/h8300.c: Likewise.
4990 * config/h8300/lib1funcs.asm: Likewise.
4991 * config/i370/i370.c: Likewise.
4992 * config/i386/i386.h: Likewise.
4993 * config/i386/i386.md: Likewise.
4994 * config/i386/pentium.md: Likewise.
4995 * config/i386/winnt.c: Likewise.
4996 * config/i960/i960.c: Likewise.
4997 * config/ia64/ia64.h: Likewise.
4998 * config/ip2k/ip2k.c: Likewise.
4999 * config/ip2k/ip2k.h: Likewise.
5000 * config/ip2k/ip2k.md: Likewise.
5001 * config/ip2k/libgcc.S: Likewise.
5003 2002-09-19 Stephen Clarke <stephen.clarke@superh.com>
5005 * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
5006 (GOTOFF_P): Extend to allow gotoff plus constant.
5008 2002-09-18 Richard Henderson <rth@redhat.com>
5010 * ifcvt.c (noce_process_if_block): Correctly detect X modified
5011 with INSN_B before COND_EARLIEST. Don't check A and B for
5012 modification in condition range. Reorder INSN_B for A==B properly.
5013 (if_convert): Iterate until no matches for a block.
5015 2002-09-18 Richard Henderson <rth@redhat.com>
5017 * calls.c (store_one_arg): Rename default_align to parm_align;
5018 always adjust parm_align for downward padding.
5020 2002-09-18 Richard Henderson <rth@redhat.com>
5022 * toplev.c (backend_init): Move init_real_once invocation ...
5023 (do_compile): ... here.
5025 2002-09-18 Richard Henderson <rth@redhat.com>
5027 * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
5028 RTX_UNCHANGING_P markers for successful tail-recursive replacement.
5030 2002-09-18 Richard Henderson <rth@redhat.com>
5032 * real.c (round_for_format): Collect sticky as unsigned long, not bool.
5034 2002-09-19 Alan Modra <amodra@bigpond.net.au>
5036 * config/rs6000/rs6000.md: (floatdisf2): Rename to
5037 floatdisf2_internal1.
5038 (floatdisf2): New define_expand.
5039 (floatdisf2_internal2): Likewise.
5041 2002-09-18 Richard Henderson <rth@redhat.com>
5043 * real.c (sticky_rshift_significand): Collect sticky as
5044 unsigned long, not bool.
5046 2002-09-18 Ulrich Weigand <uweigand@de.ibm.com>
5048 * config/s390/s390.c (s390_address_cost): New function.
5049 config/s390/s390-protos.h (s390_address_cost): Add prototype.
5050 config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
5051 (RTX_COST): Use COSTS_N_INSNS.
5053 2002-09-18 Douglas Rupp <rupp@gnat.com>
5054 Donn Terry <donnte@microsoft.com>
5056 * stor-layout.c (place_field): Handle alignment of whole
5057 structures when MSVC compatible bitfields are involved.
5058 Change method of computing location of MS bitfields to
5059 be compatible with #pragma pack(n).
5061 * tree.h (record_layout_info): Add new field
5062 remaining_in_alignment.
5064 * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
5065 (pragma pack): Add paragraph on MSVC bit-field packing.
5067 2002-09-18 Richard Earnshaw (reanrsha@arm.com)
5069 PR optimization/7967
5070 * arm.md (ne_zeroextractsi): Add clobber of the condition code
5073 2002-09-18 Kazu Hirata <kazu@cs.umass.edu>
5075 * config/s390/s390.c: Follow spelling conventions.
5076 * config/sh/lib1funcs.asm: Likewise.
5077 * config/sh/sh.c: Likewise.
5078 * config/sh/sh.h: Likewise.
5079 * config/sparc/sparc.c: Likewise.
5080 * config/sparc/sparc.h: Likewise.
5081 * config/sparc/sparc.md: Likewise.
5082 * config/stormy16/stormy16.c: Likewise.
5083 * config/stormy16/stormy16.h: Likewise.
5084 * config/v850/v850.c: Likewise.
5085 * config/v850/v850.h: Likewise.
5086 * config/vax/vax.c: Likewise.
5087 * config/vax/vax.h: Likewise.
5089 2002-09-18 Nick Clifton <nickc@redhat.com>
5091 * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
5092 * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
5093 * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
5095 2002-09-17 Zack Weinberg <zack@codesourcery.com>
5097 * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
5098 statement that the only translation is to en_UK.
5100 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
5102 * config/alpha/alpha.c: Follow spelling conventions.
5103 * config/alpha/alpha.h: Likewise.
5104 * config/alpha/alpha.md: Likewise.
5105 * config/arc/arc.h: Likewise.
5106 * config/arm/arm.c: Likewise.
5107 * config/arm/arm.h: Likewise.
5108 * config/arm/arm.md: Likewise.
5109 * config/arm/pe.c: Likewise.
5110 * config/arm/unknown-elf.h: Likewise.
5111 * config/avr/avr.c: Likewise.
5112 * config/avr/avr.h: Likewise.
5113 * config/c4x/c4x.c: Likewise.
5114 * config/cris/cris.c: Likewise.
5115 * config/cris/cris.h: Likewise.
5117 2002-09-17 Samuel Figueroa <figueroa@apple.com>
5119 * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
5120 * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
5121 * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
5123 2002-09-17 Dale Johannesen <dalej@apple.com>
5125 * cfgcleanup.c (try_forward_edges): Do not forward a
5126 branch to just after a loop exit before loop optimization;
5127 this interfered with doloop detection.
5129 2002-09-17 Nick Clifton <nickc@redhat.com>
5131 * config/arm/arm.c (output_return_instruction): Do not
5132 writeback the stack pointer when it is being loaded.
5133 (arm_output_epilogue): Likewise.
5135 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
5137 * optabs.c (prepare_cmp_insn): Let emit_library_call_value
5138 generate a pseudo reg that receives the result of a libcall.
5139 (prepare_float_lib_cmp): Likewise.
5141 2002-09-17 Steve Ellcey <sje@cup.hp.com>
5143 * config/ia64/elf.h: Remove CPP_PREDEFINES.
5145 Tue Sep 17 13:58:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
5147 Fix PR/7014 and related objc bugs:
5148 * c-typeck.c (comp_target_types): Added a reflexive argument.
5149 Pass it to ObjC when/if calling objc_comptypes(). Updated all
5150 callers to provide the appropriate reflexive argument.
5151 * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
5152 typechecking for all cases of comparisons and assignments,
5153 particularly the obscure and less common ones involving protocols.
5155 2002-09-17 Nick Clifton <nickc@redhat.com>
5157 * machmode.def (V1DImode): New mode. A single element vector.
5158 * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
5159 (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
5160 * tree.c (build_common_tree_nodes_2): Build
5161 unsigned_V1DI_type_node and V1D1_type_node.
5162 * c-common.c (c_common_type_for_mode): Return
5163 unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
5164 * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
5166 Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
5168 * doc/objc.texi (Constant string objects): Extended documentation
5169 to make clear that the constant string class ivar layout is
5172 2002-09-17 Roger Sayle <roger@eyesopen.com>
5174 * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
5175 NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
5177 2002-09-16 Richard Henderson <rth@redhat.com>
5179 * expr.c (emit_block_move): Set memory block size as appropriate
5182 2002-09-16 Richard Henderson <rth@redhat.com>
5185 * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
5187 2002-09-16 Richard Henderson <rth@redhat.com>
5189 * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
5190 as well as OFFSET for BITPOS.
5192 2002-09-16 Jeff Garzik <jgarzik@mandrakesoft.com>
5194 * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
5195 * config/i386/i386.c (processor_alias_table): Add winchip-c6,
5197 * doc/invoke.texi: Mention new aliases.
5199 2002-09-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
5201 * calls.c (store_one_arg): Set default alignment for BLKmode arguments
5202 to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
5204 * function.c (pad_below): Always compile.
5205 (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
5206 alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
5207 Pad below when the argument is not in a register and the padding
5208 direction is downward.
5210 * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
5211 (PAD_VARARGS_DOWN): Define.
5212 * pa.c (function_arg_padding): Revise padding directions to make them
5213 compatible with the 32 and 64-bit runtime architecture documentation.
5214 (hppa_va_arg): Add code to handle variable and size zero arguments
5215 passed by reference on TARGET_64BIT. Reformat.
5216 (function_arg): Use a PARALLEL for BLKmode and aggregates args on
5217 TARGET_64BIT. Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
5218 wide when !TARGET_64BIT. Move forward check for mode==VOIDmode.
5220 * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
5221 (RETURN_IN_MEMORY): Return size zero types in memory.
5222 (FUNCTION_VALUE): Return TFmode in general registers.
5223 (MUST_PASS_IN_STACK): Define.
5224 (FUNCTION_ARG_BOUNDARY): Simplify.
5225 (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
5227 (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
5229 2002-09-16 Richard Henderson <rth@redhat.com>
5231 * real.c (do_fix_trunc): New.
5232 (real_arithmetic): Call it.
5233 * simplify-rtx.c (simplify_unary_operation): Handle FIX
5234 with a floating-point result mode.
5236 2002-09-16 Richard Henderson <rth@redhat.com>
5238 * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
5239 (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
5240 * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
5241 (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
5242 * builtins.c (fold_builtin_nan): New.
5243 (fold_builtin): Call it.
5244 * real.c (real_nan): Parse a non-empty string.
5245 (round_for_format): Fix NaN significand truncation.
5246 * real.h (real_nan): Return bool.
5247 * doc/extend.texi: Document new builtins.
5249 2002-09-16 Jason Merrill <jason@redhat.com>
5250 Danny Smith <dannysmith@users.sourceforge.net>
5252 * config/i386/winnt.c (ix86_handle_dll_attribute): Set
5253 DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
5254 (i386_pe_mark_dllimport): Not here.
5256 2002-09-16 Nathan Sidwell <nathan@codesourcery.com>
5258 * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
5260 2002-09-16 Geoffrey Keating <geoffk@redhat.com>
5262 * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
5263 warnings about unused operands when HOST_BITS_PER_WIDE_INT is
5265 (rs6000_emit_cmove): Use real_isinf not target_isinf.
5267 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
5269 * calls.c (emit_library_call_value_1): Don't refer to
5271 * optabs.c (prepare_float_lib_cmp): Likewise.
5273 2002-09-16 Geoffrey Keating <geoffk@apple.com>
5275 * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
5278 The following changes are merged from pch-branch:
5280 * doc/gty.texi (GTY Options): Document %a.
5281 * gengtype.c (do_scalar_typedef): New function.
5282 (process_gc_options): Handle `length' option.
5283 (set_gc_used_type): A pointer to an array of structures doesn't
5284 qualify as a pointer to a structure.
5285 (output_escaped_param): Add `%a' escape.
5286 (write_gc_structure_fields): Allow 'desc' on array of unions.
5287 (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
5290 * gengtype.c (enum rtx_code): Make global.
5291 (rtx_format): Make global.
5293 (gen_rtx_next): New.
5294 (write_rtx_next): New.
5295 (adjust_field_rtx_def): Skip fields marked by chain_next.
5296 (open_base_files): Delete redundant prototype.
5297 (write_enum_defn): New.
5298 (output_mangled_typename): Correct abort call.
5299 (write_gc_marker_routine_for_structure): Handle chain_next and
5301 (finish_root_table): Don't output redundant \n.
5302 (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
5303 * c-tree.h (union lang_tree_node): Add chain_next option.
5305 * gengtype.h (NUM_PARAM): New definition.
5306 (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
5307 * gengtype.c (find_param_structure): New.
5308 (adjust_field_type): Handle param<n>_is option.
5309 (process_gc_options): Detect use_params option. Update callers.
5310 (set_gc_used_type): Add 'param' parameter, update callers. Handle
5311 'use_params' option.
5312 (open_base_files): Add splay-tree.h to list of files included.
5313 (output_mangled_typename): New.
5314 (write_gc_structure_fields): Update 'param' parameter to support
5315 multiple parameters. Change name mangling. Allow parameterized
5316 fields to have an apparent scalar type. Handle param<n>_is options,
5318 (write_gc_marker_routine_for_structure): Update for change to name
5319 mangling. Better guess the output file for parameterized types.
5320 (write_gc_types): Update for change to name mangling.
5321 (write_gc_root): Update for change to name mangling. Handle (ignore)
5322 param<n>_is options.
5323 * doc/gty.texi (GTY Options): Add description of param<n>_is
5324 options, use_params option.
5325 * ggc.h (ggc_mark_rtx): Update for changed name mangling.
5326 * gengtype-lex.l: Produce token for param<n>_is.
5327 * gengtype-yacc.y: Parse param<n>_is.
5329 * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
5331 * rtl.c: Update comment describing rtx_format.
5332 * rtl.h (union rtunion): Separate definition and typedef.
5333 (struct rtx_def): Use gengtype to mark.
5334 * Makefile.in (gengtype.o): Also depend on rtl.def.
5335 * ggc.h (ggc_mark_rtx_children): Delete prototype.
5336 (ggc_mark_rtx): Change to alias of gengtype-generated routine.
5337 * ggc-common.c (ggc_mark_rtx_children): Delete.
5338 (ggc_mark_rtx_children_1): Delete.
5339 (gt_ggc_m_rtx_def): Delete.
5340 * gengtype.c (adjust_field_rtx_def): New.
5341 (adjust_field_type): Call adjust_field_rtx_def.
5342 (write_gc_structure_fields): Add 'default' case to switch if none
5343 is specified; remove unused code.
5345 * tree.h (struct tree_exp): Update for change to meaning
5347 * gengtype.c (adjust_field_tree_exp): New function.
5348 (adjust_field_type): Handle `tree_exp' special here.
5349 (write_gc_structure_fields): Don't handle `tree_exp' special here.
5350 Handle new `dot' option.
5352 * gengtype.h: Make `info' a pointer-to-const.
5353 * gengtype-yacc.y (yacc_ids): Use xasprintf.
5355 * gengtype.c (write_gc_structure_fields): Remove implementation
5356 of `always' option, add `default' option.
5357 * doc/gty.texi (GTY Options): Remove documentation of `always',
5360 2002-09-16 Hans-Peter Nilsson <hp@bitrange.com>
5362 * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
5364 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5366 * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
5368 * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
5369 instead of the *-protos.h file directly.
5370 * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
5371 * darwin.c (machopic_output_stub): Move prototype ...
5372 * darwin-protos.h (machopic_output_stub): ... here.
5373 * rs6000-protos.h (machopic_output_stub): Don't declare.
5375 2002-09-16 Richard Henderson <rth@redhat.com>
5377 * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
5379 2002-09-16 Richard Henderson <rth@redhat.com>
5381 * real.c, real.h: Rewrite from scratch.
5383 * Makefile.in (simplify-rtx.o): Depend on TREE_H.
5384 (paranoia): New target.
5385 * builtins.c (fold_builtin_inf): Use new real.h interface.
5386 * c-common.c (builtin_define_with_hex_fp_value): Likewise.
5387 * c-lex.c (interpret_float): Likewise.
5388 * emit-rtl.c (gen_lowpart_common): Likewise.
5389 * optabs.c (expand_float): Use real_2expN.
5390 * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
5391 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
5392 (FLOAT_WORDS_BIG_ENDIAN): New.
5393 * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
5394 directly to REAL_VALUE_NEGATIVE.
5395 * loop.c (canonicalize_condition): Likewise.
5396 * simplify-rtx.c: Include tree.h.
5397 (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
5398 with floating-point result modes.
5399 * toplev.c (backend_init): Call init_real_once.
5401 * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
5402 * tree.c (build_real): Likewise.
5403 * config/alpha/alpha.c, config/vax/vax.c (float_strings,
5404 float_values, inited_float_values, check_float_value): Remove.
5405 * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
5406 config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
5407 * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
5408 (VAX_HALFWORD_ORDER): Remove.
5410 2002-09-16 Ulrich Weigand <uweigand@de.ibm.com>
5412 * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
5413 (s390_load_address): ... this new function.
5414 (s390_decompose_address): Allow the argument pointer and all
5415 virtual registers as 'pointer' registers.
5416 (s390_expand_plus_operand): Use s390_load_address.
5417 config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
5418 ("force_la_31"): New insn pattern.
5419 config/s390/s390-protos.h (legitimize_la_operand): Remove.
5420 (s390_load_address): Add prototype.
5422 * config/s390/s390.c: Include "optabs.h".
5423 (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
5424 config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
5425 s390_expand_cmpstr): Add prototypes.
5426 config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
5427 ("movstrdi_short"): Rename to "movstr_short_64". Change predicates
5428 for operands 0 and 1 to "memory_operand". Add type attribute.
5429 ("movstrsi_short"): Rename to "movstr_short_31". Change predicates
5430 for operands 0 and 1 to "memory_operand". Add type attribute.
5431 ("movstrdi_long", "movstrsi_long"): Remove.
5432 ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
5433 ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
5434 ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
5435 ("clrstrsico"): Remove, replace by ...
5436 ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
5437 ("clrstrsi_64"): Rename to "clrstr_long_64".
5438 ("clrstrsi_31"): Rename to "clrstr_long_31".
5439 ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
5440 ("cmpstr_const"): Remove, replace by ...
5441 ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
5442 ("cmpstr_64"): Rename to "cmpstr_long_64".
5443 ("cmpstr_31"): Rename to "cmpstr_long_31".
5445 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
5447 * ABOUT-NLS: Follow spelling conventions.
5448 * ChangeLog: Likewise.
5449 * ChangeLog.1: Likewise.
5450 * ChangeLog.2: Likewise.
5451 * ChangeLog.3: Likewise.
5452 * ChangeLog.4: Likewise.
5453 * ChangeLog.5: Likewise.
5454 * ChangeLog.6: Likewise.
5455 * FSFChangeLog.10: Likewise.
5456 * FSFChangeLog.11: Likewise.
5457 * c-common.c: Likewise.
5458 * c-lex.c: Likewise.
5459 * c-objc-common.c: Likewise.
5460 * cppexp.c: Likewise.
5461 * cppinit.c: Likewise.
5462 * cpplex.c: Likewise.
5463 * doloop.c: Likewise.
5465 * function.c: Likewise.
5466 * integrate.c: Likewise.
5468 * reg-stack.c: Likewise.
5469 * reload.h: Likewise.
5472 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
5474 * ChangeLog: Follow spelling conventions.
5475 * ChangeLog.0: Likewise.
5476 * ChangeLog.1: Likewise.
5477 * ChangeLog.2: Likewise.
5478 * ChangeLog.4: Likewise.
5479 * ChangeLog.6: Likewise.
5480 * config.gcc: Likewise.
5481 * dwarfout.c: Likewise.
5482 * reload1.c: Likewise.
5483 * simplify-rtx.c: Likewise.
5484 * unwind-sjlj.c: Likewise.
5485 * config/avr/avr.h: Likewise.
5486 * config/d30v/d30v.h: Likewise.
5487 * config/frv/frv.c: Likewise.
5488 * config/frv/frv.h: Likewise.
5489 * config/ip2k/ip2k.h: Likewise.
5490 * config/m88k/m88k-move.sh: Likewise.
5491 * config/stormy16/stormy16.c: Likewise.
5492 * config/stormy16/stormy16.h: Likewise.
5493 * doc/extend.texi: Likewise.
5494 * doc/interface.texi: Likewise.
5495 * doc/invoke.texi: Likewise.
5496 * doc/md.texi: Likewise.
5497 * doc/rtl.texi: Likewise.
5498 * doc/tm.texi: Likewise.
5499 * doc/trouble.texi: Likewise.
5500 * ginclude/float.h: Likewise.
5501 * treelang/treelang.texi: Likewise.
5503 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5505 * i386-protos.h (i386_pe_dllexport_name_p,
5506 i386_pe_dllimport_name_p, i386_pe_unique_section,
5507 i386_pe_declare_function_type, i386_pe_record_external_function,
5508 i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
5510 * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
5511 * i386/t-interix (winnt.o): Likewise.
5513 * v850-protos.h (v850_output_addr_const_extra): Prototype.
5515 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
5517 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
5518 MIPS ABI CPP macros.
5519 (TARGET_CPU_CPP_BUILTINS): Redefine.
5520 (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
5521 (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
5523 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5525 * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
5527 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
5529 * ChangeLog: Follow spelling conventions.
5530 * ChangeLog.0: Likewise.
5531 * ChangeLog.1: Likewise.
5532 * ChangeLog.2: Likewise.
5533 * ChangeLog.3: Likewise.
5534 * ChangeLog.4: Likewise.
5535 * ChangeLog.5: Likewise.
5536 * ChangeLog.6: Likewise.
5537 * FSFChangeLog.10: Likewise.
5538 * FSFChangeLog.11: Likewise.
5539 * c-common.c: Likewise.
5540 * c-common.h: Likewise.
5541 * c-format.c: Likewise.
5542 * c-opts.c: Likewise.
5543 * cpplib.c: Likewise.
5544 * langhooks.h: Likewise.
5546 * reg-stack.c: Likewise.
5547 * toplev.c: Likewise.
5548 * config/arm/arm.c: Likewise.
5549 * config/arm/arm.md: Likewise.
5550 * config/arm/linux-gas.h: Likewise.
5551 * config/arm/netbsd.h: Likewise.
5552 * config/c4x/c4x.c: Likewise.
5553 * config/c4x/c4x.h: Likewise.
5554 * config/c4x/c4x.md: Likewise.
5555 * config/c4x/libgcc.S: Likewise.
5556 * config/fr30/fr30.md: Likewise.
5557 * config/frv/frv.md: Likewise.
5558 * config/ia64/ia64.md: Likewise.
5559 * config/mips/mips.h: Likewise.
5560 * config/mn10300/mn10300.c: Likewise.
5561 * config/stormy16/stormy16.c: Likewise.
5562 * config/v850/v850.md: Likewise.
5563 * doc/extend.texi: Likewise.
5564 * doc/invoke.texi: Likewise.
5565 * doc/md.texi: Likewise.
5567 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
5569 * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
5570 library if -pthread is specified.
5572 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
5574 * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
5575 for --enable-threads=yes and --enable-threads=posix.
5577 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
5579 * config/sparc/cypress.md: Replace Sparc with SPARC.
5580 * config/sparc/freebsd.h: Likewise.
5581 * config/sparc/gmon-sol2.c: Likewise.
5582 * config/sparc/hypersparc.md: Likewise.
5583 * config/sparc/lb1spc.asm: Likewise.
5584 * config/sparc/lb1spl.asm: Likewise.
5585 * config/sparc/linux.h: Likewise.
5586 * config/sparc/linux64.h: Likewise.
5587 * config/sparc/lynx.h: Likewise.
5588 * config/sparc/sol2.h: Likewise.
5589 * config/sparc/sparc-modes.def: Likewise.
5590 * config/sparc/sparc.c: Likewise.
5591 * config/sparc/sparc.h: Likewise.
5592 * config/sparc/sparc.md: Likewise.
5593 * config/sparc/sparclet.md: Likewise.
5594 * config/sparc/supersparc.md: Likewise.
5595 * config/sparc/sysv4.h: Likewise.
5596 * config/sparc/vxsim.h: Likewise.
5597 * config/sparc/vxsparc64.h: Likewise.
5599 2002-09-14 Marek Michalkiewicz <marekm@amelek.gda.pl>
5601 * config/avr/avr.c (output.h): Move after inclusion of tree.h.
5603 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
5605 * ChangeLog: Follow spelling conventions.
5606 * ChangeLog.0: Likewise.
5607 * ChangeLog.2: Likewise.
5608 * ChangeLog.3: Likewise.
5609 * ChangeLog.4: Likewise.
5610 * ChangeLog.5: Likewise.
5611 * ChangeLog.6: Likewise.
5612 * cppfiles.c: Likewise.
5613 * cppinit.c: Likewise.
5614 * cpplib.h: Likewise.
5616 * debug.h: Likewise.
5618 * dominance.c: Likewise.
5619 * hashtable.c: Likewise.
5620 * hashtable.h: Likewise.
5622 * config/arm/README-interworking: Likewise.
5623 * config/arm/arm.c: Likewise.
5624 * config/arm/arm.h: Likewise.
5625 * config/arm/arm.md: Likewise.
5626 * config/dsp16xx/dsp16xx.h: Likewise.
5627 * config/frv/frv.c: Likewise.
5628 * config/frv/frv.h: Likewise.
5629 * config/ip2k/ip2k.h: Likewise.
5630 * config/rs6000/rs6000.c: Likewise.
5631 * config/stormy16/stormy-abi: Likewise.
5632 * config/stormy16/stormy16.h: Likewise.
5633 * config/v850/v850.c: Likewise.
5635 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
5637 * loop.c: Fix a comment typo.
5639 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
5641 * config/fr30/fr30.h: Fix comment typos.
5642 * config/frv/frv.c: Likewise.
5643 * config/i386/xmmintrin.h: Likewise.
5644 * config/mips/mips.c: Likewise.
5645 * config/sh/sh.c: Likewise.
5647 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
5649 * haifa-sched.c: Follow spelling conventions.
5650 * regclass.c: Likewise.
5651 * regrename.c: Likewise.
5652 * config/fp-bit.c: Likewise.
5653 * config/frv/frv.h: Likewise.
5654 * config/m88k/m88k.c: Likewise.
5655 * config/mcore/mcore.c: Likewise.
5656 * config/rs6000/darwin.h: Likewise.
5657 * config/rs6000/gnu.h: Likewise.
5658 * config/rs6000/linux.h: Likewise.
5659 * config/rs6000/linux64.h: Likewise.
5660 * config/rs6000/rs6000.c: Likewise.
5661 * config/rs6000/rs6000.h: Likewise.
5662 * config/sh/sh.c: Likewise.
5663 * config/sparc/sparc.c: Likewise.
5664 * config/sparc/ultra1_2.md: Likewise.
5666 2002-09-14 Stephane Carrez <stcarrez@nerim.fr>
5668 * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
5669 memory operand when source is 0 (K constraint).
5670 ("movsi_internal"): Likewise.
5671 ("movdf_internal"): Likewise.
5672 ("movsf_internal"): Likewise.
5674 2002-09-14 Alan Modra <amodra@bigpond.net.au>
5676 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
5677 targetm.binds_local_p to set SYMBOL_REF_FLAG.
5678 (rs6000_xcoff_encode_section_info): Likewise.
5679 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
5681 2002-09-10 Theodore A. Roth <troth@verinet.com>
5683 * gcc/config/avr/avr.h: Set default options for C++ for avr.
5685 2002-09-13 Richard Henderson <rth@redhat.com>
5687 * Makefile.in (toplev.o): Depend on real.h.
5688 (print-rtl.o, varasm.o, ifcvt.o): Likewise.
5690 2002-09-14 Alan Modra <amodra@bigpond.net.au>
5692 * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
5693 * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
5694 * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
5696 2002-09-13 Nathan Sidwell <nathan@codesourcery.com>
5698 * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
5700 2002-09-13 Steve Ellcey <sje@cup.hp.com>
5702 * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
5703 ia64*-*-linux*): Set extra_parts.
5704 * config/ia64/t-aix (EXTRA_PARTS): Remove.
5705 * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
5707 2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
5709 * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
5710 * config/h8300/h8300.c: Likewise.
5711 * config/h8300/h8300.h: Likewise.
5712 * config/h8300/h8300.md: Likewise.
5713 * doc/invoke.texi: Likewise.
5715 2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
5717 * config/h8300/h8300.c (h8300_init_once): Fix formatting.
5719 2002-09-13 Richard Henderson <rth@redhat.com>
5721 * config/alpha/alpha.md (attr type): Add callpal.
5722 (imb, trap, load_tp, set_tp): Use it.
5723 * config/alpha/ev4.md (ev4_callpal): New.
5724 * config/alpha/ev5.md (ev5_callpal): New.
5725 * config/alpha/ev6.md (ev6_ibr): Handle callpal.
5726 * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
5727 (alphaev5_insn_pipe): Likewise.
5729 2002-09-13 Andreas Jaeger <aj@suse.de>
5731 * Makefile.in (print-rtl.o): Depend on CONFIG_H.
5733 2002-09-13 Steve Ellcey <sje@cup.hp.com>
5735 * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
5736 LIB2ADDEH): New, set to NULL.
5737 (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
5739 2002-09-13 Steve Ellcey <sje@cup.hp.com>
5741 * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
5742 (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
5743 (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
5747 2002-09-13 Dhananjay Deshpande <dhananjayd@kpit.com>
5749 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
5750 for H8/300, H8S aa:8 mode.
5751 (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
5752 * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
5753 for H8/300 aa:8 mode.
5755 2002-09-13 Hartmut Penner <hpenner@de.ibm.com>
5757 * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
5760 2002-09-12 Richard Henderson <rth@redhat.com>
5762 * Makefile.in (HOST_PRINT): Use print-rtl1.o
5763 (print-rtl.o): Don't define GENERATOR_FILE.
5764 (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
5765 * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
5766 unless GENERATOR_FILE.
5768 2002-09-12 Stan Shebs <shebs@apple.com>
5770 * config/darwin.h (USER_LABEL_PREFIX): Define here...
5771 * config/i386/darwin.h: ... instead of here.
5773 * target.h (struct gcc_target): New field
5774 terminate_dw2_eh_frame_info.
5775 * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
5776 (TARGET_INITIALIZER): Add it.
5777 * dwarf2out.c (output_call_frame_info): Use target hook.
5778 * dwarf2asm.c (dw2_asm_output_delta): Use macro
5779 ASM_OUTPUT_DWARF_DELTA if defined.
5780 * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
5781 (ASM_OUTPUT_DWARF_DELTA): Ditto.
5782 (ASM_OUTPUT_DWARF_OFFSET): Ditto.
5783 (ASM_OUTPUT_DWARF_PCREL): Ditto.
5784 * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
5785 (powerpc-*-darwin*): Ditto.
5786 * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
5787 to work correctly for Darwin.
5788 * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
5789 (STARTFILE_SPEC): Add crtbegin.o.
5790 (ENDFILE_SPEC): Define.
5791 (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
5792 (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
5793 (ASM_OUTPUT_DWARF_DELTA): Define.
5794 (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
5795 * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
5797 2002-09-13 Alan Modra <amodra@bigpond.net.au>
5799 * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
5800 nesting. Correct test for non-PowerPC64 ELF ABI_AIX.
5801 * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
5803 2002-09-12 Zack Weinberg <zack@codesourcery.com>
5805 * toplev.c: Move default definition of USER_LABEL_PREFIX...
5806 * defaults.h: ... here.
5808 2002-09-12 Richard Henderson <rth@redhat.com>
5810 * vax.c: Include tree.h earlier.
5812 2002-09-12 Stan Shebs <shebs@apple.com>
5814 * config/darwin.c (machopic_finish): Remove #if 0 chunks.
5815 (machopic_operand_p): Ditto.
5817 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
5819 * config/arm/arm.c (arm_compute_initial_elimination_offset):
5822 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
5824 * toplev.c (do_abort): Fix a comment typo.
5826 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
5828 * cselib.c: Fix comment formatting.
5829 * gengtype.c: Likewise.
5831 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
5833 * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
5834 (udivmodhi4): Likewise.
5836 2002-09-12 Graham Stott <graham.stott@btinternet.com>
5837 Roger Sayle <roger@eyesopen.com>
5839 * i386.c (any_fp_register_operand, fp_register_operand,
5840 register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
5841 New predicate functions.
5842 * i386-protos.h: Add their prototypes.
5843 * i386.h: Add them to PREDICATE_CODES.
5844 * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
5845 "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
5846 "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
5847 "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
5848 "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
5849 "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
5850 "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
5851 "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
5852 "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
5853 "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
5854 "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
5855 Use these new predicates to simplify and correct the use of
5856 FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
5858 2002-09-12 Jason Merrill <jason@redhat.com>
5860 * diagnostic.c (output_add_identifier): New fn.
5861 * diagnostic.h: Declare it.
5863 * calls.c (store_one_arg): Use size_in_bytes to determine the
5864 amount of space to push.
5866 2002-09-12 Jakub Jelinek <jakub@redhat.com>
5868 * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
5870 2002-09-12 Ulrich Weigand <uweigand@de.ibm.com>
5872 * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
5873 * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
5874 (s390_select_ccmode): Likewise.
5875 (s390_branch_condition_mask): Likewise.
5876 (optimization_options): Do not set flag_branch_on_count.
5877 (s390_split_branches): Handle doloop branches.
5878 (s390_chunkify_pool): Likewise.
5879 * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
5880 ("doloop_end"): New expander.
5881 ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
5882 associated splitters): New.
5884 2002-09-11 Hartmut Penner <hpenner@de.ibm.com>
5886 * fold-const.c (make_range): Only narrow to signed range if
5887 the signed range is smaller than the unsigned range.
5889 2002-09-12 Alan Modra <amodra@bigpond.net.au>
5891 * emit-rtl.c (set_mem_size): New function.
5892 * expr.h (set_mem_size): Declare.
5893 * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
5894 (expand_block_move): Instead, use adjust_address and
5895 replace_equiv_address to generate proper aliasing info.
5896 Move common code out of conditionals. Localize vars.
5898 2002-09-11 Eric Botcazou <ebotcazou@libertysurf.fr>
5900 * optabs.c (expand_binop): Minor cleanup.
5901 (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
5903 2002-09-11 Dan Nicolaescu <dann@ics.uci.edu>
5905 * print-tree.c (print_node): Print the restrict qualifier.
5907 2002-09-11 Janis Johnson <janis187@us.ibm.com>
5909 * doc/install.texi: Fix typos.
5911 2002-09-11 Zack Weinberg <zack@codesourcery.com>
5913 * Makefile.in: Remove all references to s-under and underscore.c.
5914 * collect2.c, tlink.c: Change all uses of prepends_underscore
5915 to look directly at USER_LABEL_PREFIX.
5917 2002-09-11 David Edelsohn <edelsohn@gnu.org>
5919 * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
5921 (rs6000_xcoff_unique_section): Only set section name for public
5923 (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
5924 * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
5925 duplicate definition.
5927 2002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
5929 * pa.md (extzv): Check predicates before emitting extzv_32.
5932 2002-09-10 Ulrich Weigand <uweigand@de.ibm.com>
5934 * config/s390/s390.h (MOVE_MAX): Define to correct value.
5935 (MAX_MOVE_MAX): Define.
5936 (MOVE_BY_PIECES_P): Define.
5937 (CLEAR_BY_PIECES_P): Define.
5939 2002-09-10 Denis Chertykov <denisc@overta.ru>
5941 * config/avr/avr.md (movstrhi): Use right operands for conversion.
5943 2002-09-10 Richard Earnshaw <rearnsha@arm.com>
5946 * arm.md (insv): Use reg_or_int_operand for operand[3].
5948 2002-09-10 David Edelsohn <edelsohn@gnu.org>
5950 * rs6000.c (rs6000_assemble_visibility): Protect declaration
5951 inside macro. Correct function definition typo.
5952 (rs6000_xcoff_section_type_flags): New function.
5953 (TARGET_SECTION_TYPE_FLAGS): Remove definition.
5954 (rs6000_elf_section_type_flags): Call default_section_type_flags_1
5955 with appropriate PIC test.
5956 (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
5958 (rs6000_binds_local_p): Combine PIC flags.
5959 * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
5960 * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
5962 2002-09-09 Per Bothner <per@bothner.com>
5964 * print-tree.c (print_node): In a STRING_CST, escape non-ascii
5965 characters, and only print TREE_STRING_LENGTH chars.
5967 2002-09-09 Steve Ellcey <sje@cup.hp.com>
5969 * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
5971 * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
5972 * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
5973 * config/ia64/ia64.c (ia64_asm_output_external): Create list
5974 of external functions if TARGET_HPUX_LD is true.
5975 (ia64_hpux_add_extern_decl): New, routine to put names on
5976 list of external functions.
5977 (ia64_hpux_asm_file_end): Put out declarations for external
5978 functions if and only if they are used.
5980 2002-09-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
5982 * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
5983 on TARGET_64BIT before pic register restore.
5985 2002-09-09 David Edelsohn <edelsohn@gnu.org>
5987 * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
5988 (TARGET_HAVE_TLS): New description.
5990 2002-09-09 Janis Johnson <janis187@us.ibm.com>
5992 * doc/extend.texi (Statement Exprs): Fix broken link.
5994 2002-09-09 Denis Chertykov <denisc@overta.ru>
5996 * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
5997 right conversion of operands[1].
5999 2002-09-09 Ulrich Weigand <uweigand@de.ibm.com>
6001 * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
6002 commutative. Use "nonimmediate_operand" instead of "register_operand"
6003 as predicate for operand 0. Move to after the "*tmXX_mem" insns.
6005 ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
6008 ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
6009 mark as commutative. Use "nonimmediate_operand" instead of
6010 "register_operand" as predicate for operand 1.
6012 ("movstrictsi"): Fix typo in insn name.
6014 2002-09-09 Jan Hubicka <jh@suse.cz>
6016 * i386.c (index_register_operand): New.
6017 * i386.h (predicate_codes): Add new predicate.
6018 * i386.md (lea_general_*): Use index_register_operand
6019 (ashift to lea splitter): Do not produce invalid leas
6020 (ashift to mov+ashift split): New.
6022 2002-09-09 Nick Clifton <nickc@redhat.com>
6024 * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
6027 2002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
6028 J"orn Rennecke <joern.rennecke@superh.com>
6030 * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
6032 2002-09-09 Alan Modra <amodra@bigpond.net.au>
6034 * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
6035 (function_ok_for_sibcall): Use binds_local_p. Respect longcall
6038 2002-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6040 * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
6042 2002-09-08 Richard Henderson <rth@redhat.com>
6044 * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
6045 (DW_OP_GNU_push_tls_address): New.
6046 (DW_OP_lo_user): Fix.
6047 * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
6048 (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
6049 (size_of_loc_descr): Likewise.
6050 (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
6051 (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
6052 (loc_descriptor_from_tree): Handle TLS variables.
6053 (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
6054 (add_location_or_const_value_attribute): ... not here. Defer
6055 to loc_descriptor_from_tree for TLS variables.
6057 * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
6058 * config/i386/i386.c (i386_output_dwarf_dtprel): New.
6059 * config/i386/i386-protos.h: Update.
6061 2002-09-08 Roger Sayle <roger@eyesopen.com>
6063 PR optimization/6405
6064 * unroll.c (loop_iterations): last_loop_insn should be the previous
6065 non-note instruction before loop->end.
6066 * loop.c (strength_reduce): The conditional jump is the last
6067 non-note instruction before loop->end (as above).
6069 2002-09-08 Roger Sayle <roger@eyesopen.com>
6071 * combine.c (try_combine): Handle the case that undobuf.other_insn
6072 has been turned into a return or unconditional jump, by inserting
6073 a BARRIER if necessary.
6074 (simplify_set): Test if a condition code setter has a constant
6075 comparison at compile time, if so convert this insn to a no-op move
6076 and update/simplify the condition code user (undobuf.other_insn).
6078 2002-09-08 Krister Walfridsson <cato@df.lth.se>
6080 * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
6081 (CLEAR_INSN_CACHE): Define.
6083 2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
6085 * basic-block.h: Fix comment formatting.
6086 * c-common.c: Likewise.
6087 * c-common.h: Likewise.
6088 * c-lex.c: Likewise.
6089 * c-pretty-print.c: Likewise.
6090 * cfglayout.c: Likewise.
6091 * cfgloop.c: Likewise.
6092 * defaults.h: Likewise.
6093 * et-forest.c: Likewise.
6094 * explow.c: Likewise.
6095 * function.h: Likewise.
6097 * genattrtab.c: Likewise.
6098 * gengtype.c: Likewise.
6099 * ifcvt.c: Likewise.
6100 * libgcc2.c: Likewise.
6102 * profile.c: Likewise.
6103 * ra-build.c: Likewise.
6106 * tracer.c: Likewise.
6107 * tree-inline.c: Likewise.
6108 * varasm.c: Likewise.
6110 2002-09-08 Jan Hubicka <jh@suse.cz>
6112 * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
6115 * loop.c (loop_givs_reduce): Emit addition after.
6117 2002-09-08 Alan Modra <amodra@bigpond.net.au>
6119 * varasm.c (default_assemble_visibility): Rename from
6120 assemble_visibility.
6121 * output.h: Here too.
6122 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
6123 * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
6125 2002-09-08 Alan Modra <amodra@bigpond.net.au>
6127 * reload.c (find_reloads <p constraint>): Pass operand_mode to
6128 find_reloads_address.
6130 2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
6132 * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
6133 (anonymous pattern): Likewise.
6135 2002-09-07 Scott Snyder <snyder@fnal.gov>
6138 * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
6140 2002-09-07 Roger Sayle <roger@eyesopen.com>
6142 * basic-block.h (struct loop): Remove unused cont_dominator field.
6144 2002-09-07 Igor Shevlyakov <igor@microunity.com>
6146 * varasm.c (decode_rtx_const): Don't check undefined field for
6149 2002-09-07 Glen Nakamura <glen@imodulo.com>
6152 * sched-deps.c (sched_analyze_insn): Make sure to add insn
6153 to reg_last->sets after flushing the dependency lists to guarantee
6154 that subsequent clobbers will be dependent on it.
6156 2002-09-07 Igor Shevlyakov <igor@microunity.com>
6158 * combine.c (simplify_shift_const): Calculate rotate count
6159 correctly for vector operands.
6161 2002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
6163 * c-typeck.c (c_tree_expr_nonnegative_p): New function.
6164 (build_binary_op): Call c_tree_expr_nonnegative_p rather than
6165 tree_expr_nonnegative_p.
6166 (build_conditional_expr): Likewise.
6167 * c-tree.h (c_tree_expr_nonnegative_p): Declare.
6169 2002-09-07 Richard Henderson <rth@redhat.com>
6171 * builtins.def (inf, inff, infl): Mark const.
6172 (huge_val, huge_valf, huge_vall): Likewise.
6173 (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
6175 * real.c (ereal_inf): Clear E before use.
6177 2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
6179 * config/h8300/h8300.md (udivmodqi4): Split the pattern into
6180 an expander and an anonymous pattern. Zero out the upper half
6181 of the dividend in the expander.
6182 (udivmodqi4): Likewise.
6184 2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
6186 * config/h8300/h8300.c: Fix formatting.
6187 * config/h8300/h8300.h: Likewise.
6188 * config/h8300/h8300.md: Likewise.
6190 2002-09-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6192 * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
6195 2002-09-07 Graham Stott <graham.stott@btinternet.com>
6197 * rtlanal.c (dead_or_set_regno_p): Fix typo.
6199 2002-09-07 Alan Modra <amodra@bigpond.net.au>
6201 * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6203 * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
6204 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
6205 (TARGET_ASM_OUT): Add the above here.
6206 * target.h (struct gcc_target): Add "visibility" field.
6207 * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
6208 * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
6209 (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
6210 (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
6212 2002-09-06 Ziemowit Laski <zlaski@apple.com>
6214 * c-lang.c (objc_is_id): New stub.
6215 * c-tree.h (objc_is_id): New forward declaration.
6216 * c-typeck.c (build_c_cast): Do not strip protocol
6217 qualifiers from 'id' type.
6218 * objc/objc-act.c (objc_comptypes): Correct handling
6219 of protocol qualifiers.
6222 Fri Sep 6 13:10:08 2002 Jeffrey A Law (law@redhat.com)
6224 * pentium.md (pentium-firstvboth): Fix typo.
6226 2002-09-06 Dhananjay Deshpande <dhananjayd@kpit.com>
6228 * h8300.c (enum shift_alg): Move to earlier in h8300.c.
6229 (enum shift_type, enum h8_cpu): Likewise.
6230 (INL, ROT, LOP, SPC macros): Likewise.
6231 (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise. Lose
6233 (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
6234 space efficient algorithms when optimize for codesize.
6236 Fri Sep 6 16:35:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
6238 Fix PR/1727 and long-standing failing testcase
6239 objc/formal-protocol-6.m.
6240 * objc-act.c (build_protocol_expr): If compiling for the GNU
6241 runtime, create a list of Protocol statically allocated instances
6242 if it doesn't exist, then add the Protocol object to this same
6244 (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
6245 instead of TREE_CHAIN.
6247 Fri Sep 6 16:17:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
6249 * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
6250 10k. Fixed category dumping - print out category names with the
6251 proper syntax. Print '@end\n' and not '\n@end' at the end of the
6253 (finish_objc): Fixed the -gen-decls option. It was printing out
6254 only the last class. Dump an interface declaration of all classes
6255 being compiled instead.
6257 2002-09-06 Jason Thorpe <thorpej@wasabisystems.com>
6259 * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
6261 * config/arm/arm.c (arm_gen_return_addr_mask): New function.
6262 * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
6263 if not APCS26 and not Thumb or ARMv4-or-higher. Use gen_int_mode
6264 rather than GEN_INT.
6265 * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
6266 (return_addr_mask, *check_arch2): New.
6268 2002-09-06 Ulrich Weigand <uweigand@de.ibm.com>
6270 * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
6271 "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
6272 "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
6273 "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
6274 "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
6275 "adddf3", "*adddf3", "*adddf3_ibm",
6276 "addsf3", "*addsf3", "*addsf3_ibm",
6277 "muldi3", "mulsi3", "mulsidi3",
6278 "muldf3", "*muldf3", "*muldf3_ibm",
6279 "mulsf3", "*mulsf3", "*mulsf3_ibm",
6280 "*anddi3_cc", "*anddi3_cconly", "anddi3",
6281 "*andsi3_cc", "*andsi3_cconly", "andsi3",
6282 "*iordi3_cc", "*iordi3_cconly", "iordi3",
6283 "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
6284 "*xordi3_cc", "*xordi3_cconly", "xordi3",
6285 "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
6286 instead of "register_operand" as predicate for "%0" operand.
6288 2002-09-06 Jakub Jelinek <jakub@redhat.com>
6290 * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
6291 unconditionally when gcc_cv_as_flags64 checks are gone.
6292 * configure: Rebuilt.
6294 2002-09-06 Alan Modra <amodra@bigpond.net.au>
6296 * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
6297 2002-07-26 change. Comment.
6299 2002-09-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6301 * frv.c (frv_unique_section, frv_select_section,
6302 frv_select_rtx_section): Delete.
6303 (frv_in_small_data_p): New.
6304 (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
6305 TARGET_ASM_SELECT_RTX_SECTION): Delete.
6306 (TARGET_IN_SMALL_DATA_P): Define.
6308 2002-09-05 Dale Johannesen <dalej@apple.com>
6310 * reload1.c (reload): Retain only those memory clobbers
6311 added for variable-array handling.
6313 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
6315 * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
6316 return-in-memory rules.
6317 * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
6319 2002-09-05 David Edelsohn <edelsohn@gnu.org>
6321 * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
6322 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
6324 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
6326 * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
6327 not a compile-time constant for the non-IBM case.
6328 * config/arm/arm-protos.h (arm_float_words_big_endian): New
6330 * config/arm/arm.c (arm_float_words_big_endian): New function.
6331 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
6332 if TARGET_VFP and not TARGET_HARD_FLOAT.
6333 (ARM_FLAG_VFP, TARGET_VFP): Define.
6334 (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
6336 2002-09-05 David Edelsohn <edelsohn@gnu.org>
6338 * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
6339 URLs. Fix AIX wording.
6341 2002-09-05 Stan Shebs <shebs@apple.com>
6343 * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
6344 -fPIC equivalent on Darwin.
6346 Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
6348 * sh.c (sh_expand_builtin): Return early if encountering an
6349 error_mark for a type.
6351 2002-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6353 * config/s390/s390.c (s390_expand_plus_operand): Do not require
6354 double-word scratch register.
6355 config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
6357 ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
6358 "*cli"): Replace s_operand by memory_operand.
6359 ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
6361 2002-09-05 Kazu Hirata <kazu@cs.umass.edu>
6363 * config/h8300/h8300.c (asm_file_start): Add a missing
6366 2002-09-04 Krister Walfridsson <cato@df.lth.se>
6368 * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
6369 * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
6370 (ix86_output_addr_diff_elt) Likewise.
6371 (x86_output_mi_thunk) Likewise.
6372 * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
6374 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6376 * frv.c (frv_encode_section_info): Fix error in last change.
6378 2002-09-04 David Edelsohn <edelsohn@gnu.org>
6380 * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
6381 (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
6382 (TARGET_BINDS_LOCAL_P): Define.
6383 (rs6000_override_options): Save original flag_pic value.
6384 (rs6000_elf_select_section): Call default_elf_select_section_1.
6385 (rs6000_elf_unique_section): Call default_unique_section_1.
6386 (rs6000_elf_in_small_data_p): New function.
6387 (rs6000_xcoff_asm_named_section): Determine storage mapping class.
6388 (rs6000_xcoff_select_section): Update based on defaults.
6389 (rs6000_xcoff_unique_section): Set to basic name if not common.
6390 (rs6000_binds_local_p): New function.
6391 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
6392 targetm.have_srodata_section if SDATA_EABI.
6393 (TARGET_IN_SMALL_DATA_P): Define.
6395 2002-09-04 Dale Johannesen <dalej@apple.com>
6397 * varasm.c (struct rtx_const, decode_rtx_const):
6398 Make veclo and vechi fields not share storage.
6400 Thu Sep 5 00:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
6402 * loop.c (scan_loop): Don't mark separate insns out of a libcall
6404 (move_movables): Abort if we see the first insn of a libcall.
6406 2002-09-04 Richard Henderson <rth@redhat.com>
6408 * builtin-types.def (BT_FN_FLOAT): New.
6409 (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
6410 * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
6411 BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
6412 * builtins.c (fold_builtin_inf): New.
6413 (fold_builtin): Call it.
6414 * real.c (ereal_inf): New.
6415 * real.h: Declare it.
6416 * doc/extend.texi: Document new builtins.
6418 2002-09-04 Richard Henderson <rth@redhat.com>
6420 * cse.c (cse_insn): Avoid subreg games if the equivalence
6421 is already in the proper mode.
6423 2002-09-04 Eric Botcazou <ebotcazou@multimania.com>
6426 * optabs.c (expand_binop): Convert CONST_INTs in all cases.
6428 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
6430 * pa.md (setccfp0, setccfp1): New patterns.
6432 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6434 * frv-protos.h (frv_init_builtins, frv_expand_builtin,
6435 frv_select_section, frv_select_rtx_section,
6436 frv_encode_section_info, frv_unique_section): Delete.
6437 * frv.c: Update for target hooks.
6438 * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
6439 SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
6440 EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
6442 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6444 * ip2k-protos.h (function_prologue, function_epilogue,
6445 encode_section_info): Update to match target hook specification.
6446 * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
6447 (function_prologue, function_epilogue, encode_section_info):
6448 Update to match target hook specification.
6449 * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
6450 ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
6451 (NOTICE_UPDATE_CC): Cast to void.
6452 * ip2k.md: Add defaults in switch statements.
6454 2002-09-04 Janis Johnson <janis187@us.ibm.com>
6456 * doc/trouble.texi (Interoperation): Update information about C++ ABI
6459 2002-09-04 Jason Thorpe <thorpej@wasabisystems.com>
6461 * config/sparc/t-netbsd64: Disable multilib for now.
6463 2002-09-04 David Edelsohn <edelsohn@gnu.org>
6465 * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
6466 * target.h (gcc_target): Add have_srodata_section member.
6467 * varasm.c (section_category): Add SECCAT_SRODATA.
6468 (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
6469 READONLY_SDATA_SECTION defined.
6470 (decl_readonly_section_1): True for SECCAT_SRODATA also.
6471 (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
6472 (default_unique_section_1): Likewise.
6474 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
6476 * expr.c (emit_group_load): Revise to allow splitting TCmode source
6479 * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
6480 * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
6481 for floating-point register class.
6482 * pa.c (function_arg): Fix handling of modes wider than one word for
6485 Wed Sep 4 18:48:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6487 * combine.c (make_compound_operation): Don't generate zero / sign
6488 extensions in floating point modes.
6490 2002-09-04 Janis Johnson <janis187@us.ibm.com>
6492 * doc/c-tree.texi: Fix overfull hboxes.
6493 * doc/cppopts.texi: Ditto.
6494 * doc/extend.texi: Ditto.
6495 * doc/gty.texi: Ditto.
6496 * doc/invoke.texi: Ditto.
6497 * doc/makefile.texi: Ditto.
6498 * doc/rtl.texi: Ditto.
6499 * doc/standards.texi: Ditto.
6500 * doc/tm.texi: Ditto.
6502 2002-09-04 Richard Henderson <rth@redhat.com>
6504 * c-common.c (builtin_define_with_hex_fp_value): New.
6505 (builtin_define_float_constants): Use it. Fix H_FLOAT mant_dig.
6507 2002-09-04 Janis Johnson <janis187@us.ibm.com>
6509 * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
6510 (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
6511 -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
6512 Warn that these options can break ABI compatibility.
6514 2002-09-04 Richard Henderson <rth@redhat.com>
6516 * real.c (ereal_to_decimal): Add digits parameter.
6517 * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
6518 * c-pretty-print.c (pp_c_real_literal): Update call.
6519 * print-rtl.c (print_rtx): Likewise.
6520 * print-tree.c (print_node_brief, print_node): Likewise.
6521 * sched-vis.c (print_value): Likewise.
6522 * config/arc/arc.c (arc_print_operand): Likewise.
6523 * config/c4x/c4x.c (c4x_print_operand): Likewise.
6524 * config/i370/i370.h (PRINT_OPERAND): Likewise.
6525 * config/i386/i386.c (print_operand): Likewise.
6526 * config/i960/i960.c (i960_print_operand): Likewise.
6527 * config/ip2k/ip2k.c (asm_output_float): Likewise.
6528 * config/m32r/m32r.c (m32r_print_operand): Likewise.
6529 * config/m68hc11/m68hc11.c (print_operand): Likewise.
6530 * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
6531 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
6532 * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
6533 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
6534 * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
6535 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
6536 * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
6537 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
6538 * config/mips/mips.c (print_operand): Likewise.
6539 * config/ns32k/ns32k.c (print_operand): Likewise.
6540 * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
6541 * config/vax/vax.h (PRINT_OPERAND): Likewise.
6542 * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
6544 2002-09-04 Bob Wilson <bob.wilson@acm.org>
6546 * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
6547 xtensa_multibss_section_type_flags.
6548 * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
6550 2002-09-04 Richard Henderson <rth@redhat.com>
6552 * doc/install-old.texi: Don't mention enquire.
6553 * doc/sourcebuild.texi: Update float.h description.
6555 Wed Sep 4 11:22:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
6557 * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
6559 2002-09-03 David Edelsohn <edelsohn@gnu.org>
6561 * varasm.c (default_section_type_flags): Append _1 to name with
6562 shlib parameter. Use original name to call new function with
6564 (decl_readonly_section): Likewise.
6565 (default_elf_select_section): Likewise.
6566 (default_unique_section): Likewise.
6567 (default_bind_local_p): Likewise.
6568 (categorize_decl_for_section): Add shlib parameter to use in place
6569 of implicit flag_pic.
6570 * output.h: Declare new functions with _1 and shlib argument.
6572 2002-09-03 Janis Johnson <janis187@us.ibm.com>
6574 * doc/install.texi: Fix typos, formatting problems, and obvious
6575 overfull/underfull boxes.
6577 * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
6578 * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
6579 include its file, compat.texi.
6580 * doc/compat.texi: New file with new chapter, Binary Compatibility.
6582 2002-09-03 Neil Booth <neil@daikokuya.co.uk>
6584 Debian BTS Bug #157416
6585 * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
6586 * cpplib.c (destringize_and_run): Kludge around getting
6587 tokens from in-progress macros.
6588 (_cpp_do__Pragma): Simplify.
6590 2002-09-03 Steve Ellcey <sje@cup.hp.com>
6592 * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
6593 (CPP_CPU_SPEC): Remove.
6594 (TARGET_CPU_CPP_BUILTINS): New.
6595 * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
6597 (TARGET_OS_CPP_BUILTINS): New.
6598 * config/ia64/linux.h (CPP_PREDEFINES): Remove.
6599 (TARGET_OS_CPP_BUILTINS): New.
6600 * config/ia64/aix.h (CPP_SPEC): Move some stuff to
6601 TARGET_OS_CPP_BUILTINS.
6602 (CPP_PREDEFINES): Remove.
6603 (CPLUSPLUS_CPP_SPEC): Remove.
6604 (TARGET_OS_CPP_BUILTINS): New.
6606 2002-09-03 Richard Henderson <rth@redhat.com>
6608 * Makefile.in (USER_H): Add ginclude/float.h.
6610 (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
6611 (mostlyclean): Don't remove float.h intermediate files.
6612 (distclean): Don't remove float.h.
6613 * config.gcc: Remove all float_format references.
6614 * configure.in (float_format, float_h_file): Remove.
6616 * c-common.c: Include tree-inline.h.
6617 (builtin_define_with_int_value): New.
6618 (builtin_define_type_precision): Use it.
6619 (builtin_define_float_constants): New.
6620 (cb_register_builtins): Use it. Define __FLT_RADIX__ and
6621 __FLT_EVAL_METHOD__.
6622 * defaults.h (TARGET_FLT_EVAL_METHOD): New.
6623 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
6624 * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
6625 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
6626 (TARGET_FLT_EVAL_METHOD): New.
6628 * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
6629 config/float-i386.h, config/float-i64.h, config/float-m68k.h,
6630 config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
6631 * ginclude/float.h: New.
6633 2002-09-03 Stan Shebs <shebs@apple.com>
6635 * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
6636 (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
6637 (PREFERRED_DEBUGGING_TYPE): Ditto.
6638 (ASM_OUTPUT_IDENT): Remove empty definition.
6640 2002-09-03 Steve Ellcey <sje@cup.hp.com>
6642 * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
6644 * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
6645 handling routine for builtin pragma.
6646 * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
6647 Registered pragma handling routine.
6648 * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
6649 (ia64_hpux_add_pragma_builtin) New subroutine used by above.
6650 If builtin pragma seen for math routine and C89 conformance is
6651 requested use different math function in order to set errno.
6652 * t-ia64 (ia64-c.o): Add new rule for new file.
6654 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
6656 * config/s390/s390.md ("movti"): Add Q->Q alternative.
6657 ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
6658 "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
6660 ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
6661 "*movsf_ss"): Remove.
6663 2002-09-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
6665 * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
6668 2002-09-03 Arati Dikey <aratid@kpit.com>
6670 * h8300.c (asm_file_start): Corrected optimization comment.
6672 2002-09-03 Stan Shebs <shebs@apple.com>
6674 * c-lang.c (recognize_objc_keyword): Remove, no longer used.
6675 * c-tree.h (recognize_objc_keyword): Remove decl.
6676 * c-typeck.c (comp_target_types): Update a comment.
6678 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
6680 * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
6681 and register validity checks.
6682 (general_s_operand): Adapt to s390_decompose_address interface change.
6683 (q_constraint): Likewise.
6684 (s390_expand_plus_operand): Likewise.
6685 (legitimiate_address_p): Likewise.
6686 (legitimate_la_operand_p): Likewise.
6687 (legitimize_la_operand): Likewise.
6688 (print_operand_address): Likewise.
6689 (print_operand): Likewise.
6691 Tue Sep 3 11:32:14 2002 Nicola Pero <n.pero@mi.flashnet.it>
6694 * objc/objc-act.c (build_typed_selector_reference): Fix typo which
6695 was causing the new selector never to match the existing ones
6696 (Patch by Alexander Malmberg <alexander@malmberg.org>).
6698 2002-09-03 Graham Stott <graham.stott@btinternet.com>
6700 * config/i386/i386.md ("femms"): Add "memory" attr "none".
6702 2002-09-03 Graham Stott <graham.stott@btinternet.com>
6704 * expr.c (expand_expr): Remove extraneous comment and code.
6706 2002-08-31 Richard Henderson <rth@redhat.com>
6708 * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
6710 2002-08-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
6712 * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
6714 2002-08-30 Richard Henderson <rth@redhat.com>
6717 * c-objc-common.c: Include target.h.
6718 (c_cannot_inline_tree_fn): Don't auto-inline functions that
6719 don't bind locally. Factor setting DECL_UNINLINABLE.
6720 * Makefile.in (c-objc-common.o): Update.
6722 2002-08-30 Janis Johnson <janis187@us.ibm.com>
6724 * doc/install.texi (Configuration, Building): Fix a typo and
6725 some formatting directives.
6727 2002-08-30 Paul Koning <pkoning@equallogic.com>
6729 * doc/c-tree.texi (RDIV_EXPR): Fix typo.
6730 * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
6732 * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
6733 for alphabetic order.
6734 * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
6735 VAX_FLOAT_FORMAT. Remove reference to HOST_FLOAT_FORMAT.
6736 (VAX_HALFWORD_ORDER): Document.
6737 (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
6739 (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
6740 (ASM_OUTPUT_LABEL_REF): Fix font.
6741 (CASE_VECTOR_SHORTEN_MODE): Ditto.
6743 2002-08-30 Denis Chertykov <denisc@overta.ru>
6745 * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
6747 (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
6748 CONST_DOUBLE constants.
6750 2002-08-30 Jason Thorpe <thorpej@wasabisystems.com>
6752 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
6753 related defines to...
6754 (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
6755 * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
6758 2002-08-30 Krister Walfridsson <cato@df.lth.se>
6760 * config/arm/arm.c (arm_asm_output_labelref): New function.
6761 * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
6762 * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
6764 2002-08-29 Rodney Brown <rbrown64@csc.com.au>
6766 * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
6767 memory exhausted" workarounds.
6769 2002-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
6771 * diagnostic.c (fancy_abort): Don't repeat "internal error".
6772 * toplev.c (crash_signal): Likewise.
6774 Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
6776 * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
6777 * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
6778 Extended, updated documentation.
6779 (-Wundeclared-selector): Documented.
6781 2002-08-29 Jason Thorpe <thorpej@wasabisystems.com>
6783 * config/chorus.h: Consistently define *_DEBUGGING_INFO with
6784 the value 1. Do not undef before defining.
6785 * config/darwin.h: Likewise.
6786 * config/dbx.h: Likewise.
6787 * config/dbxcoff.h: Likewise.
6788 * config/dbxelf.h: Likewise.
6789 * config/elfos.h: Likewise.
6790 * config/interix.h: Likewise.
6791 * config/lynx-ng.h: Likewise.
6792 * config/lynx.h: Likewise.
6793 * config/netware.h: Likewise.
6794 * config/psos.h: Likewise.
6795 * config/svr3.h: Likewise.
6796 * config/alpha/alpha.h: Likewise.
6797 * config/alpha/elf.h: Likewise.
6798 * config/alpha/vms.h: Likewise.
6799 * config/arc/arc.h: Likewise.
6800 * config/arm/aout.h: Likewise.
6801 * config/arm/coff.h: Likewise.
6802 * config/c4x/c4x.h: Likewise.
6803 * config/h8300/h8300.h: Likewise.
6804 * config/i386/cygwin.h: Likewise.
6805 * config/i386/djgpp.h: Likewise.
6806 * config/i386/gas.h: Likewise.
6807 * config/i386/gstabs.h: Likewise.
6808 * config/i386/i386-coff.h: Likewise.
6809 * config/i386/i386-interix.h: Likewise.
6810 * config/i386/sco5.h: Likewise.
6811 * config/i386/svr3dbx.h: Likewise.
6812 * config/i386/sysv3.h: Likewise.
6813 * config/i386/win32.h: Likewise.
6814 * config/i386/x86-64.h: Likewise.
6815 * config/i960/i960.h: Likewise.
6816 * config/ia64/ia64.h: Likewise.
6817 * config/ip2k/ip2k.h: Likewise.
6818 * config/m32r/m32r.h: Likewise.
6819 * config/m68k/3b1.h: Likewise.
6820 * config/m68k/3b1g.h: Likewise.
6821 * config/m68k/ccur-GAS.h: Likewise.
6822 * config/m68k/coff.h: Likewise.
6823 * config/m68k/hp2bsd.h: Likewise.
6824 * config/m68k/hp310g.h: Likewise.
6825 * config/m68k/hp320g.h: Likewise.
6826 * config/m68k/hp3bsd.h: Likewise.
6827 * config/m68k/hp3bsd44.h: Likewise.
6828 * config/m68k/linux-aout.h: Likewise.
6829 * config/m68k/m68k-aout.h: Likewise.
6830 * config/m68k/mot3300.h: Likewise.
6831 * config/m68k/netbsd.h: Likewise.
6832 * config/m68k/openbsd.h: Likewise.
6833 * config/m68k/pbb.h: Likewise.
6834 * config/m68k/plexus.h: Likewise.
6835 * config/m68k/sun2.h: Likewise.
6836 * config/m68k/sun3.h: Likewise.
6837 * config/m68k/tower-as.h: Likewise.
6838 * config/m68k/vxm68k.h: Likewise.
6839 * config/m88k/aout-dbx.h: Likewise.
6840 * config/m88k/m88k-aout.h: Likewise.
6841 * config/mcore/mcore-elf.h: Likewise.
6842 * config/mcore/mcore-pe.h: Likewise.
6843 * config/mips/elf.h: Likewise.
6844 * config/mips/elf64.h: Likewise.
6845 * config/mips/iris5gas.h: Likewise.
6846 * config/mips/iris6.h: Likewise.
6847 * config/mips/mips.h: Likewise.
6848 * config/mips/sni-gas.h: Likewise.
6849 * config/mmix/mmix.h: Likewise.
6850 * config/ns32k/netbsd.h: Likewise.
6851 * config/pa/pa64-hpux.h: Likewise.
6852 * config/romp/romp.h: Likewise.
6853 * config/rs6000/sysv4.h: Likewise.
6854 * config/rs6000/xcoff.h: Likewise.
6855 * config/sh/coff.h: Likewise.
6856 * config/sh/elf.h: Likewise.
6857 * config/sparc/linux64.h: Likewise.
6858 * config/sparc/liteelf.h: Likewise.
6859 * config/sparc/netbsd.h: Likewise.
6860 * config/sparc/openbsd.h: Likewise.
6861 * config/sparc/pbd.h: Likewise.
6862 * config/sparc/sp64-elf.h: Likewise.
6863 * config/sparc/sp86x-elf.h: Likewise.
6864 * config/sparc/sparc.h: Likewise.
6865 * config/vax/vax.h: Likewise.
6866 * config/vax/vaxv.h: Likewise.
6868 2002-08-29 "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
6870 * h8300.c (shift_alg_hi): Various tweaks to improve performance
6872 (get_shift_alg): Corresponding changes.
6874 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
6876 * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
6878 2002-08-29 Richard Henderson <rth@redhat.com>
6880 * expr.h (enum block_op_methods): New.
6881 (emit_block_move): Update prototype.
6882 * expr.c (block_move_libcall_safe_for_call_parm): New.
6883 (emit_block_move_via_loop): New.
6884 (emit_block_move): Use them. New argument METHOD.
6885 (emit_push_insn): Always respect the given alignment.
6886 (expand_assignment): Update call to emit_block_move.
6887 (store_expr, store_field, expand_expr): Likewise.
6888 * builtins.c (expand_builtin_apply): Likewise.
6889 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
6890 * function.c (expand_function_end): Likewise.
6891 * config/sh/sh.c (sh_initialize_trampoline): Likewise.
6892 * config/sparc/sparc.c (sparc_va_arg): Likewise.
6893 * calls.c (expand_call, emit_library_call_value_1): Likewise.
6894 (save_fixed_argument_area): Use emit_block_move with
6895 BLOCK_OP_CALL_PARM instead of move_by_pieces.
6896 (restore_fixed_argument_area): Likewise.
6897 (store_one_arg): Fix alignment parameter to emit_push_insn.
6899 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
6901 * install.texi (hppa64-hp-hpux11*): Document installation procedure.
6903 2002-08-29 Catherine Moore <clm@redhat.com>
6905 * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
6906 NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
6907 (PREDICATE_CODES): Include new predicates.
6908 (RTX_COSTS): Handle UMOD and UDIV. Tune MULT for v850e.
6909 (TARGET_SWITCHES): Add strict-align.
6910 (TARGET_STRICT_ALIGN): New.
6911 (MASK_DEFAULT, STRICT_ALIGNMENT): Redefine.
6912 * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
6914 (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
6916 * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
6917 L_callt_save_r2_r31, L_return_r2_r31,
6918 L_save_all_interrupt): Change addi to add.
6919 (L_save_interrupt, L_return_interrupt): Rework.
6920 (__return_r31): Correct .size directive.
6921 (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
6922 (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
6924 * config/v850/v850.c (expand_prologue): Call
6925 gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
6926 gen_callt_return_interrupt and gen_callt_save_all_interrupt.
6927 (reg_or_int9_operand): New predicate.
6928 (reg_or_const_operand): New routine.
6929 * config/v850/v850.md (return_interrupt): Changed from
6931 (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
6932 (callt_save_interrupt): Change save sequence.
6933 (callt_return_interrupt): New.
6934 (save_interrupt): Don't use runtime function for LONG_CALLS
6935 and TARGET_PROLOG_FUNCTION.
6936 (save_all_interrupt): Likewise.
6937 (mulsi3): Use new predicate.
6938 (moviscc): Disallow some combination of constants.
6939 Fix define_split for sasf insns, so that it will not generate bad
6940 code if operand0 and operand5 are the same.
6941 * config/v850/v850-protos.h: Prototype new predicates.
6943 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
6945 * c-common.c (builtin_define_type_precision): New function.
6946 (cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is
6947 wchar_t is unsigned in C++.
6948 * doc/cpp.texi (Common Predefined Macros): Document
6949 __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
6950 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
6951 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
6953 2002-08-28 Sylvain Pion <pion@cs.nyu.edu>
6955 * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
6956 section. Mention that it is enabled by -Wall.
6957 (-Wall): Mention that there can be language-specific warnings as well.
6958 (-Wctor-dtor-privacy): Mention that it is enabled by default.
6959 (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
6961 Wed Aug 28 15:35:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
6963 * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
6966 * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
6967 attribute for SHCOMPACT.
6969 * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
6971 (FUNCTION_BOUNDARY): Specify only the minimum alignment required
6974 * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
6976 2002-08-28 Jason Thorpe <thorpej@wasabisystems.com>
6978 * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
6979 "MASK_GAS|MASK_ABICALLS".
6980 * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
6981 (TARGET_DEFAULT): Remove.
6982 (MACHINE_TYPE): Undefine before defining.
6983 (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
6985 2002-08-27 Mark Mitchell <mark@codesourcery.com>
6987 * c-common.c (warn_abi): New variable.
6988 * c-common.h (warn_abi): Likewise.
6989 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
6990 (c_common_decode_option): Handle it.
6991 * doc/invoke.texi: Document -Wabi.
6993 Tue Aug 27 23:03:52 2002 Nicola Pero <n.pero@mi.flashnet.it>
6995 * c-common.c (warn_undeclared_selector): New variable.
6996 * c-common.h (warn_undeclared_selector): Idem.
6997 * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
6998 to on when -Wundeclared-selector is found.
6999 (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
7000 * objc/objc-act.c (build_selector_expr): If
7001 warn_undeclared_selector is set, check that the selector has
7002 already been defined, and emit a warning if not.
7004 2002-08-27 Nick Clifton <nickc@redhat.com>
7005 Catherine Moore <clm@redhat.com>
7006 Jim Wilson <wilson@cygnus.com>
7008 * config.gcc: Add v850e-*-* target.
7009 Add --with-cpu= support for v850.
7010 * config/v850/lib1funcs.asm: Add v850e callt functions.
7011 * config/v850/v850.h: Add support for v850e target.
7012 * config/v850/v850.c: Add functions to support v850e target.
7013 * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
7014 * config/v850/v850.md: Add patterns for v850e instructions.
7015 * doc/invoke.texi: Document new v850e command line switches.
7017 Tue Aug 27 18:30:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
7018 Aldy Hernandez <aldyh at redhat dot com>
7020 * doc/tm.texi: Applied numerous fixes to the automaton based
7021 scheduler descrition.
7023 Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka <jh@suse.cz>
7025 * i386.c (classify_argument): Handle variable sized objects.
7027 Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz>
7029 * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
7031 Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz>
7033 * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
7035 Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka <jh@suse.cz>
7037 * i386.c (classify_argument): Properly compute word size of the analyzed object.
7039 Tue Aug 27 14:39:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
7041 * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
7042 mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn
7044 (attribute insn_class): Provide default definitions based on type.
7045 Remove all insn-specific settings.
7046 (various function units): Remove old SH4 scheduling.
7047 (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
7048 New attributes. Set them where appropriate.
7049 (cpu unit FS): Don't define / use.
7050 (F3, load_store): New cpu units.
7051 (F01): New reservation.
7052 (all insn_reservations): Make dependent on sh4 pipeline model.
7054 (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
7055 (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
7056 (mt insn_reservation): Use type mt_group.
7057 (insn_reservation load_store): Split into sh4_load, sh4_load_si,
7058 sh4_fload and sh4_store.
7059 (insn_reservation branch_zero and branch): Replace with sh4_branch.
7060 (insn_reservation branch_far): Replace with sh4_return.
7061 (insn_reservation return_from_exp): Rename to:
7062 (sh4_return_from_exp). Change to be just d_lock*5.
7063 (insn_reservation lds_to_pr): Rename to:
7064 (sh4_lds_to_pr). Change to be just d_lock*2.
7065 (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
7067 (insn_reservation prload_mem): Rename to:
7068 (sh4_prstore_mem). Change to d_lock*2,nothing,memory.
7069 (insn_reservation fpscr_store): Rename to:
7070 (fpscr_load). Change to d_lock,nothing,F1*3.
7071 (insn_reservation fpscr_store_mem): Rename to:
7072 (fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2.
7073 (insn_reservation multi): Change to
7074 d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
7075 (insn_reservation fp_arith): Change to issue,F01,F2.
7076 (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
7077 (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
7078 (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
7079 (insn_reservation fp_double_cmp): Change to
7080 d_lock,(d_lock+F01),F1+F2,F2.
7081 (insn_reservation dp_div): Change to
7082 issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
7083 * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
7084 (sh_adjust_cost, SHcompact): Differentiate between different
7085 kinds of dependencies. Drop factor of ten for superscalar.
7086 Use new instruction types. Add new exception rules.
7088 * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
7090 * sh.md (mperm_w): Add DONE.
7092 2002-08-27 David Edelsohn <edelsohn@gnu.org>
7094 * longlong.h: Import current PowerPC defintion from GMP-4.1.
7096 * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
7098 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
7100 Tue Aug 27 13:53:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
7102 * sh.h (MAX_FIXED_MODE_SIZE): Define.
7104 2002-08-27 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
7106 * doc/cpp.texi (Common Predefined Macros): Don't mess with table
7109 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
7111 * c-common.c (cpp_define_data_format): New function.
7112 (cb_register_builtins): Call it.
7114 * doc/cpp.texi (Common Predefined Macros): Document
7115 __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
7116 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
7117 __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
7118 __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
7119 __TARGET_USES_VAX_H_FLOAT__.
7121 2002-08-26 Ziemowit Laski <zlaski@apple.com>
7123 * objc/objc-act.c (get_super_receiver): If inside a class method
7124 of a category, cast the receiver to 'id' before accessing the 'isa'
7125 field so that <objc/objc-class.h> is not needed. For NeXT runtime.
7127 2002-08-26 Ulrich Weigand <uweigand@de.ibm.com>
7129 * config/s390/s390-protos.h (s390_function_prologue,
7130 s390_function_epilogue): Remove.
7131 config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
7132 TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
7134 config/s390/s390.c (s390_machine_dependent_recorg): New function.
7135 config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
7136 config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
7137 config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
7138 to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live.
7140 config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always
7141 assume BASE_REGISTER and RETURN_REGNUM need to be saved.
7142 (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
7143 function is not a leaf function. Use save_gprs and restore_gprs.
7144 (s390_emit_epilogue): Likewise.
7145 (save_gprs, restore_gprs): New functions.
7146 (struct s390_frame): Remove return_reg_saved_p member.
7147 (save_fprs_p): Remove.
7148 (s390_optimize_prolog): New function.
7149 (s390_legitimate_reload_constant): Remove now unnecessary check.
7151 (s390_function_count): Remove.
7152 (s390_output_symbolic_const): Replace s390_function_count by
7153 current_function_funcdef_no.
7154 (s390_output_constant_pool): Likewise.
7156 (legitimize_pic_address): Use regs_ever_live to track PIC register
7157 instead of current_function_uses_pic_offset_table.
7158 (s390_emit_prologue): Likewise.
7159 config/s390/s390.md ("call", "call_value"): Likewise.
7161 2002-08-26 Neil Booth <neil@daikokuya.co.uk>
7163 * c-opts.c (find_opt): Don't complain about wrong languages
7164 here. Return exact matches even for wrong language.
7165 (c_common_decode_option): Complain about wrong languages
7168 2002-08-24 Stuart Hastings <stuart@apple.com>
7170 * function.h (struct function): Add flag
7171 all_throwers_are_sibcalls.
7172 * except.c (set_nothrow_function_flags): Replaces
7173 nothrow_function_p. Set new flag.
7174 * except.h (set_nothrow_function_flags): Replaces
7176 * dwarf2out.c (struct dw_fde_struct): Add flag
7177 all_throwers_are_sibcalls.
7178 (output_call_frame_info): Test it.
7179 (dwarf2out_begin_prologue) Propagate it from cfun to
7181 * toplev.c (rest_of_compilation): Update calls to
7184 2002-08-23 Zack Weinberg <zack@codesourcery.com>
7186 * ggc-page.c (compute_inverse): Short circuit calculation for
7187 object sizes larger than half a page.
7189 2002-08-23 David Edelsohn <edelsohn@gnu.org>
7191 * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
7192 DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly
7194 (rs6000_elf_unique_section): Likewise.
7196 2002-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7198 * ns32k.c (ns32k_globalize_label): Delete.
7199 * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
7201 2002-08-23 Alan Modra <amodra@bigpond.net.au>
7203 * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
7204 for loading delta with num_insns_constant_wide. Calculate
7205 delta_low, delta_high without using a conditional.
7207 2002-08-22 Jason Merrill <jason@redhat.com>
7209 * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
7210 * c-common.def: Adjust.
7211 * c-dump.c (c_dump_tree): Adjust.
7212 * c-semantics.c (genrtl_return_stmt): Adjust.
7213 * c-pretty-print.c (pp_c_statement): Adjust.
7214 * tree-inline.c (copy_body_r): Adjust.
7216 2002-08-22 Zack Weinberg <zack@codesourcery.com>
7218 * ggc-page.c: Avoid division in ggc_set_mark.
7219 (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
7220 compute_inverse): New.
7221 (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
7222 (init_ggc): Initialize inverse_table.
7224 2002-08-22 Tom Tromey <tromey@redhat.com>
7226 * doc/install.texi (Configuration): Document --datadir.
7228 2002-08-22 Alexandre Oliva <aoliva@redhat.com>
7230 * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
7232 2002-08-22 Hans-Peter Nilsson <hp@bitrange.com>
7234 * gengtype-lex.l (ID): Allow underscore as first character.
7236 2002-08-21 David Edelsohn <edelsohn@gnu.org>
7238 * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
7240 (rs6000_xcoff_asm_named_section): Rename.
7241 * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
7243 2002-08-21 Tom Tromey <tromey@redhat.com>
7245 For PR java/6005 and PR java/7611:
7246 * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
7248 * langhooks.c (lhd_can_use_bit_fields_p): New function.
7249 * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
7250 (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
7251 (LANG_HOOKS_INITIALIZER): Use it.
7252 * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
7255 2002-08-21 Stan Shebs <shebs@apple.com>
7257 * tree.c (finish_vector_type): Fix a typo in a comment.
7258 * Makefile.in: Fix "the the" stutters in comments.
7259 * genautomata.c: Ditto.
7261 * regrename.c: Ditto.
7262 * config/alpha/alpha.c: Ditto.
7263 * config/alpha/vms-crt0-64.c: Ditto.
7264 * config/alpha/vms-crt0.c: Ditto.
7265 * config/alpha/vms-psxcrt0-64.c: Ditto.
7266 * config/alpha/vms-psxcrt0.c: Ditto.
7267 * config/d30v/d30v.h: Ditto.
7268 * config/fr30/fr30.h: Ditto.
7269 * config/rs6000/rs6000.c: Ditto.
7270 * config/stormy16/stormy16.h: Ditto.
7271 * doc/md.texi: Ditto.
7273 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
7275 * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
7277 2002-08-21 Joseph S. Myers <jsm@polyomino.org.uk>
7279 * c-decl.c (grokdeclarator): Make invalid combinations with long,
7280 short, signed or unsigned into hard errors. Fixes PR c/4319.
7281 Also make duplicate modifiers such as "short short" into hard
7284 2002-08-21 Andrew Pinski <pinskia@physics.uc.edu>
7285 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7287 * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
7288 to the actual end. Add '@end table' and '@table @code'.
7290 2002-08-20 Geoffrey Keating <geoffk@redhat.com>
7292 * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
7294 * unroll.c (biv_total_increment): Don't try to compute the total
7295 increment for FP BIVs.
7297 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7299 * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
7300 * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
7301 ASM_OUTPUT_ALIGNED_BSS): Use target hook.
7302 * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
7303 * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
7304 * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
7305 (GLOBAL_ASM_OP): Define.
7306 * arm.c (aof_globalize_label): New function.
7307 (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
7308 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
7309 * c4x.c (c4x_globalize_label): New function.
7310 (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
7311 * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
7312 (GLOBAL_ASM_OP): Define.
7313 * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
7314 * darwin-protos.h (darwin_globalize_label): Declare.
7315 * darwin.c (darwin_globalize_label): New function.
7316 * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
7317 (ASM_GLOBALIZE_LABEL): Delete.
7318 (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
7319 * dsp16xx.c (asm_output_common): Use target hook.
7320 * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
7321 * frv.h (ASM_GLOBALIZE_LABEL): Delete.
7322 (GLOBAL_ASM_OP): Define.
7323 * i370.c (i370_globalize_label): New function.
7324 (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
7325 * i370.h (ASM_GLOBALIZE_LABEL): Delete.
7326 * i386.c (ix86_asm_file_end): Use target hook.
7327 * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
7328 (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
7329 * ia64.c (ia64_asm_output_external): Likewise.
7330 * ia64/sysv4.h: Update comment.
7331 * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
7332 * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
7333 * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
7334 * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
7335 * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
7336 * mmix-protos.h (mmix_asm_globalize_label): Delete.
7337 * mmix.c (mmix_asm_globalize_label): Likewise.
7338 * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
7339 (GLOBAL_ASM_OP): Define.
7340 * ns32k.c (ns32k_globalize_label): New function.
7341 * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
7342 (ASM_GLOBALIZE_LABEL): Delete.
7343 * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
7344 (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
7345 * pa.c (pa_globalize_label): New function.
7346 * pa.h (ASM_GLOBALIZE_LABEL): Delete.
7347 (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
7348 * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
7349 (GLOBAL_ASM_OP): Define.
7350 (TARGET_ASM_GLOBALIZE_LABEL): Undef.
7351 * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
7352 * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
7353 (GLOBAL_ASM_OP): Define.
7354 * v850.c (v850_output_aligned_bss): Use target hook.
7355 * vax.c (vms_globalize_label): New function.
7356 (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
7357 * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
7358 (GLOBAL_ASM_OP): Define.
7359 * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
7360 * doc/tm.texi: Update docs.
7361 * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
7363 * final.c (output_alternate_entry_point): Likewise.
7364 * hooks.c (hook_FILEptr_constcharptr_void): New function.
7365 * hooks.h (hook_FILEptr_constcharptr_void): Declare.
7366 * output.h (assemble_global): Delete.
7367 (default_globalize_label): Declare.
7368 * system.h (ASM_GLOBALIZE_LABEL): Poison.
7369 * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
7370 (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
7371 * target.h (gcc_target): Add globalize_label member.
7372 * varasm.c (asm_output_bss, asm_output_aligned_bss,
7373 globalize_decl): Use target hook.
7374 (assemble_global): Delete.
7375 (default_globalize_label): New function.
7377 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7379 * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
7381 2002-08-20 Devang Patel <dpatel@apple.com>
7382 * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
7384 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7386 * arc.c (output_shift): Use stdio instead of asm_fprintf.
7387 * arm.c (thumb_output_function_prologue): Likewise.
7388 * avr.c (print_operand): Likewise.
7389 * c4x.c (c4x_print_operand): Likewise.
7390 * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
7391 ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
7392 * cris.c (cris_target_asm_function_prologue,
7393 cris_asm_output_mi_thunk): Likewise.
7394 * h8300.c (print_operand): Likewise.
7395 * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
7396 * ip2k.c (print_operand): Likewise. Fix format specifier.
7397 * m68hc11.c (asm_print_register, print_operand,
7398 print_operand_address): Use stdio instead of asm_fprintf.
7399 (print_operand_address): Fix format specifier.
7400 * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
7401 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
7403 * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
7404 * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
7405 * m68k.c (m68k_output_function_prologue,
7406 m68k_output_function_epilogue, print_operand): Likewise.
7407 * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
7408 Likewise. Fix format specifier.
7409 * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
7410 * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
7411 * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
7413 2002-08-15 Eric Christopher <echristo@redhat.com>
7414 Jeff Knaggs <jknaggs@redhat.com>
7416 * config.gcc (mipsisa64sr71k-elf): New target.
7417 * config/mips/sr71k.md: New file.
7418 * config/mips/mips.md: Use it.
7419 (rot*): Add sr71k specifics.
7420 * config/mips/t-sr71k: New file.
7421 * config/mips/mips.h (sr71k): New cpu.
7422 (TARGET_SR71K): Use it.
7423 (TUNE_SR71K): Ditto.
7424 (GENERATE_BRANCHLIKELY): Ditto.
7425 (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
7426 ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
7427 * config/mips/mips.c (sr71k): New cpu.
7428 (mips_use_dfa_pipeline_interface): Use.
7430 2002-08-15 Eric Christopher <echristo@redhat.com>
7431 Richard Sandiford <rsandifo@redhat.com>
7432 Aldy Hernandez <aldyh@redhat.com>
7433 Graham Stott <grahams@redhat.com>
7434 Michael Meissner <meissner@redhat.com>
7435 Gavin Romig-Koch <gavin@redhat.com>
7436 Ken Raeburn <raeburn@cygnus.com>
7437 Alexandre Oliva <aoliva@redhat.com>
7439 * config.gcc (mips64vr-elf): New target.
7440 * config/mips/5400.md: New file.
7441 * config/mips/5500.md: Ditto.
7442 * config/mips/mips.md: Use them.
7444 * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
7446 (mips_issue_rate): Use them.
7447 (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
7448 (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
7449 * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
7451 (TARGET_MIPSx): Use them.
7452 (TUNE_MIPSx): Ditto.
7453 (GETNATE_MULT3_SI): Ditto.
7454 (ISA_HAS_BRANCHLIKELY): Ditto.
7455 (ISA_HAS_CONDMOVE): Ditto.
7456 (ISA_HAS_NMADD_NMSUB): Ditto.
7457 (ISA_HAS_MULHI): New. Ditto.
7458 (ISA_HAS_MULS): Ditto.
7459 (ISA_HAS_MSAC): Ditto.
7460 (ISA_HAS_MACC): Ditto.
7461 (ISA_HAS_ROTR_SI): Ditto.
7462 (ISA_HAS_ROTR_DI): Ditto.
7465 2002-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
7467 * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
7469 (remove_dup_nonsys_dirs): New function.
7470 (remove_dup_dirs): Change argument head to head_ptr. Remove warnings.
7471 (merge_include_chains): Remove non-system include directories from
7472 quote and bracket include chains when they duplicate equivalent system
7474 * doc/cpp.texi (-I): Update.
7475 * doc/cppopts.texi (-I): Update.
7476 * doc/install.texi (--with-local-prefix): Further document usage of
7478 * doc/invoke.texi (-I): Update.
7480 2002-08-20 Richard Henderson <rth@redhat.com>
7482 * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
7483 (emit_block_move): Split out subroutines.
7484 (emit_block_move_via_movstr): New.
7485 (emit_block_move_via_libcall): New. Emit bcopy via normal call also.
7486 (emit_block_move_libcall_fn): New. Construct function prototype for
7488 (clear_storage): Split out subroutines.
7489 (clear_storage_via_clrstr): New.
7490 (clear_storage_via_libcall): New. Emit bzero as a normal call also.
7491 (clear_storage_libcall_fn): New. Construct function prototype for
7493 (emit_push_insn): Use emit_block_move.
7494 (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
7495 (store_constructor): Likewise.
7497 2002-08-19 Ziemowit Laski <zlaski@apple.com>
7499 * objc/objc-act.c (building_objc_message_expr): Rename to
7500 current_objc_message_selector.
7502 2002-08-19 Ziemowit Laski <zlaski@apple.com>
7504 * objc/objc-act.c (build_ivar_chain): Remove.
7505 (objc_copy_list): Likewise.
7506 (get_class_ivars): Inline call to removed build_ivar_chain
7507 function. Save off a clean copy of ivars in the CLASS_OWN_IVARS
7508 slot; use that slot (rather than CLASS_IVARS) when accessing
7509 ivars for base classes. Call copy_list and chainon instead of
7511 (build_private_template): Call get_class_ivars instead of
7513 (start_class): Allocate room for the CLASS_OWN_IVARS slot.
7514 (continue_class): Call get_class_ivars instead of
7516 (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
7517 of DECL_BIT_FIELD (which may have been cleared).
7518 * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
7520 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7522 * genautomata.c (output_translate_vect, output_state_ainsn_table,
7523 output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
7525 (output_internal_min_issue_delay_func): Initialize variable in
7528 2002-08-19 Alexandre Oliva <aoliva@redhat.com>
7530 * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
7531 (stage2_build, stage3_build, stage4_build): Likewise, to CC.
7533 2002-08-19 Geoffrey Keating <geoffk@redhat.com>
7534 Steve Ellcey <sje@cup.hp.com>
7536 * machmode.h (SCALAR_INT_MODE_P): New macro to test for
7537 scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
7538 * explow.c (trunc_int_for_mode): Abort when the mode is not
7539 a scaler integer mode.
7540 * combine.c (expand_compound_operation): Don't expand Vector
7541 or Complex modes into shifts.
7542 (expand_field_assignment): Don't do bitwise arithmatic and
7543 shifts on Vector or Complex modes.
7544 (simplify_comparison): Don't call trunc_int_for_mode
7546 * recog.c (general_operand): Likewise.
7547 (immediate_operand): Likewise.
7548 (nonmemory_operand): Likewise.
7550 2002-08-19 David Edelsohn <edelsohn@gnu.org>
7552 * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
7553 multi-instruction SImode constant. Add REG_EQUAL note.
7554 * config/rs6000/rs6000.md (movsi splitter): Use
7555 rs6000_emit_set_const.
7557 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7559 * tree-inline.c (initialize_inlined_parameters): Wrap variable in
7560 the macro test controlling its use.
7562 2002-08-18 H.J. Lu (hjl@gnu.org)
7564 * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
7565 crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
7567 (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
7568 i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
7569 s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
7570 xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
7572 (cris-*-linux*): Remove setting thread_file here.
7574 2002-08-18 Neil Booth <neil@daikokuya.co.uk>
7576 PR preprocessor/7602
7577 * cppinit.c (path_include): Treat the system environment
7578 variables as being cxx_aware.
7580 2002-08-17 Joseph S. Myers <jsm@polyomino.org.uk>
7582 * c-decl.c (flexible_array_type_p): New function.
7583 (grokdeclarator, finish_struct): Use it.
7584 * doc/extend.texi: Document constraints on use of structures with
7585 flexible array members.
7587 2002-08-17 Richard Sandiford <rsandifo@redhat.com>
7589 * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
7590 config/mips/t-r3900 (MULTILIB_MATCHES): Define.
7591 * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
7593 2002-08-16 Stan Shebs <shebs@apple.com>
7595 * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
7596 for ObjC with -fnext-runtime.
7597 * doc/cpp.texi: Document it.
7599 2002-08-16 Janis Johnson <janis187@us.ibm.com>
7601 * doc/install.texi (Final installation): Replace links to individual
7602 build status pages with a link to a common page that lists them all.
7604 2002-08-16 Sylvain Pion <pion@cs.nyu.edu>
7606 * doc/invoke.texi: Fix typo.
7608 2002-08-16 David Edelsohn <edelsohn@gnu.org>
7610 * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
7612 2002-08-16 Andrew Haley <aph@redhat.com>
7614 * tree-inline.c: Add includes for Java inliner.
7615 (remap_decl): Don't handle anonymous types for Java.
7616 (remap_block): Add handling for Java trees.
7617 (copy_scope_stmt): Conditionalize for non-Java use only.
7618 (copy_body_r): Handle Java trees. Add handling for
7619 LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
7620 (initialize_inlined_parameters): Handle Java trees.
7621 (declare_return_variable): Likewise.
7622 (expand_call_inline): Handle Java trees.
7623 (walk_tree): Likewise.
7624 (copy_tree_r): Don't handle SCOPE_STMTs for Java.
7625 (add_stmt_to_compound): New function.
7627 2002-08-15 Richard Henderson <rth@redhat.com>
7629 * Makefile.in (LOOSE_WARN): Remove -fno-common.
7630 (NOCOMMON_FLAG): New substitution point.
7631 (GCC_WARN_CFLAGS): Include it.
7632 * configure.in (ac_checking): Set nocommon_flag.
7633 (nocommon_flag): New substitution point.
7635 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
7637 * c-tree.h (skip_evaluation): Move declaration...
7638 * c-common.h: ... here.
7639 * c-typeck.c (build_external_ref): Don't assemble_external nor
7640 mark a tree as used if skip_evaluation is set.
7641 * c-parse.in (typeof): New non-terminal to set skip_evaluation
7643 (typespec_nonreserved_nonattr): Use it.
7645 2002-08-15 Douglas B Rupp <rupp@gnat.com>
7647 * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
7648 (xcoff_debug_hooks): Update end_prologue.
7649 * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
7650 * debug.h (end_prologue): Add file arg.
7651 (end_epilogue): Add line and file args.
7652 (dwarf2out_end_epilogue): Add line and file args.
7653 (vmsdbgout_after_prologue): Remove.
7654 * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
7655 (dwarf2_debug_hooks): Update end_prologue.
7656 * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
7657 (dwarfout_end_prologue): Add file arg.
7658 * final.c (vmsdbgout_after_prologue): Remove
7659 (final_end_function): Update end_epilogue call.
7660 (final_scan_insn): Update end_prologue call.
7661 * sdbout.c (sdbout_end_epilogue): Add line and file args.
7662 (sdbout_end_prologue): Add file arg.
7663 (sdb_debug_hooks): Update end_prologue.
7664 (sdb_begin_prologue): Update sdbout_end_prologue call.
7665 * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
7666 vmsdbgout_end_function.
7667 (vmsdbgout_end_prologue): New function renamed from
7668 vmsdbgout_after_prologue. Call vmsdbgout_source_line.
7669 (vmsdbgout_end_function): New function.
7670 (vmsdbgout_end_epilogue): Add line and file args. Call
7671 vmsdbgout_source_line.
7672 (write_pclines): Write only valid line numbers.
7673 (write_srccorr): Don't write source correlation records if 0 lines.
7674 * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
7676 2002-08-15 Steve Ellcey <sje@cup.hp.com>
7678 * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
7679 (_Unwind_Internal_Ptr): 32 bit version for use in
7680 read_encoded_value_with_base.
7681 * gcc/unwind-pe.h (read_encoded_value_with_base): Use
7682 _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
7685 2002-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7687 * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
7688 signed/unsigned warnings.
7690 * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
7691 record_reg_classes): Likewise.
7693 * reload.c (reload_inner_reg_of_subreg, push_reload,
7694 find_reloads_address_1): Likewise.
7696 2002-08-15 David Edelsohn <edelsohn@gnu.org>
7698 * rs6000.c (output_mi_thunk): Return to function section on
7701 * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
7703 2002-08-15 Ulrich Weigand <uweigand@de.ibm.com>
7705 * config/s390/s390.c (legitimize_address): Optimize loading
7706 of large displacements.
7708 2002-08-14 Douglas B Rupp <rupp@gnat.com>
7710 * config/alpha/alpha-protos.h: Update.
7712 * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
7713 (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
7714 (alpha_linkage_symbol_p): New static function.
7715 (print_operand_address): Print linkage operand.
7717 (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
7719 (reloc_kind): New enum.
7720 (struct alpha_funcs): New struct.
7721 (struct alpha_links): Add reloc_kind field. Rename links_kind field.
7723 (alpha_need_linkage): Rewrite.
7724 (alpha_use_linkage): New global function.
7725 (alpha_write_linkage): Rewrite and make static.
7726 (alpha_write_one_linkage): Rewrite
7728 (alpha_start_function): Remove procedure descriptor output.
7729 (alpha_end_function): Write linkages at end of each function.
7731 * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
7732 (call_vms_1, call_value_vms_1): Rewrite.
7734 * config/alpha/vms.h (ASM_FILE_END): Remove.
7736 2002-08-14 Richard Henderson <rth@redhat.com>
7738 * ggc-page.c (RTL_SIZE): New.
7739 (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
7740 * rtl.def (BARRIER, NOTE): Pad to 9 slots.
7742 2002-08-14 Richard Henderson <rth@redhat.com>
7744 * calls.c: Include target.h.
7745 * Makefile.in (calls.o): Update.
7747 * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
7748 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
7750 2002-08-14 Richard Henderson <rth@redhat.com>
7752 * Makefile.in (LOOSE_WARN): Add -fno-common.
7753 * c-common.h (constant_string_class_name): Add missing extern.
7755 2002-08-15 Neil Booth <neil@daikokuya.co.uk>
7757 PR preprocessor/7358
7758 * c-opts.c (check_deps_environment_vars): Ignore main file
7759 for SUNPRO_DEPENDENCIES.
7760 * cppfiles.c (stack_include_file): Ignore main file if
7762 * cpplib.h (struct cpp_options): New member in deps.
7763 * doc/cppenv.texi: Update.
7765 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
7767 PR preprocessor/7526
7768 * cpplib.c (run_directive): Kludge so _Pragma dependency works.
7770 2002-08-14 Nathan Sidwell <nathan@codesourcery.com>
7772 * doc/invoke.texi (-a): Remove documentation.
7773 (-fprofile-arcs): Remove reference to -a, -ax options.
7774 * doc/gcov.texi (Gcov Data Files): Data might be merged.
7776 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
7779 * c-semantics.c (genrtl_case_label): Don't (mis)use
7782 2002-08-14 Dale Johannesen <dalej@apple.com>
7784 * explow.c (emit_stack_restore): Emit memory clobbers
7785 preceding the stack pop, to prevent the scheduler from
7786 moving refs to variable arrays below this pop.
7787 * reload1.c (reload): Preserve these clobbers for sched2.
7788 * doc/rtl.texi: Document clobber (mem:BLK (scratch)).
7790 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
7792 * c-opts.c (c_common_post_options): Correct test.
7794 2002-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7796 * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
7797 order in call to fprintf.
7799 2002-08-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7801 * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
7803 2002-08-14 Ulrich Weigand <uweigand@de.ibm.com>
7805 * reload.c (find_reloads): Handle constraint letters marked by
7806 EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
7807 (alternative_allows_memconst): Likewise.
7808 * reload1.c (maybe_fix_stack_asms): Likewise.
7809 * recog.c (asm_operand_ok, preprocess_constraints,
7810 constrain_operands): Likewise.
7811 * regclass.c (record_operand_costs, record_reg_classes): Likewise.
7812 * local-alloc.c (block_alloc, requires_inout): Likewise.
7813 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
7815 * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
7816 (EXTRA_ADDRESS_CONSTRAINT): Likewise.
7817 * doc/tm.texi: Document these two new target macros.
7819 * config/s390/s390.c (s390_expand_plus_operand): Accept already
7821 (q_constraint): New function.
7822 config/s390/s390-protos.h (q_constraint): Declare it.
7823 config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
7824 (EXTRA_MEMORY_CONSTRAINT): New macro.
7826 * config/s390/s390.md: Throughout the machine description,
7827 replace all instances of the constraint combinations 'Qo'
7828 or 'oQ' with simply 'Q'.
7830 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
7832 * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
7833 * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
7834 (LIBGCC2_CFLAGS): Compile with -mrelax.
7836 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
7838 * doc/invoke.texi: Document -minmax for 68HC12.
7840 * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
7841 ("uminqi3"): Likewise.
7842 ("uminhi3", "umaxhi3"): Likewise.
7844 * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
7845 (TARGET_MIN_MAX): Define.
7846 (TARGET_SWITCHES): New option -minmax/-mnominmax.
7848 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
7850 * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
7851 (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
7853 * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
7854 (ret, declare, farsym): New gas macros.
7855 (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
7856 ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
7857 and declare the symbol far when compiled with -mlong-calls.
7858 (__far_trampoline): New for 68HC12 trampoline code to invoke a
7859 far handler using jsr/bsr.
7861 * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
7862 (jsr): New macro to transform a 'jsr' into a 'call'.
7864 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
7866 * doc/invoke.texi: Document -mlong-calls for 68HC12.
7868 * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
7869 -mlong-calls is specified.
7870 (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
7871 assembler directives.
7872 (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
7873 (TARGET_SWITCHES): Add -mlong-calls options.
7874 (current_function_far): Declare.
7876 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
7877 into account the page register saved on the stack.
7878 (m68hc11_override_options): Take into account -mlong-calls option.
7879 (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
7881 * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
7882 if the function is going to be in 68HC12 banked memory (-mlong-calls).
7883 ("*return_16bit"): Likewise.
7884 ("*return_void"): Likewise.
7885 ("call", "call_value"): Use call for a far function call.
7887 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
7889 * toplev.c (parse_options_and_default_flags): Don't call
7891 (general_init): Initialize GC, pools and tree hash here,
7892 instead of lang_independent_init.
7893 (lang_independent_init): Rename backend_init.
7894 (do_compile): Call post_options hook; exit early if there
7895 have been errors after switch processing.
7896 (toplev_main): Update.
7898 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
7900 * c-pretty-print.h: Guard against multiple inclusion.
7902 (pp_c_attributes): Declare.
7903 * c-pretty-print.c (pp_c_attributes): New function.
7905 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7907 * m68k.c (m68k_output_function_prologue,
7908 m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
7910 * genattrtab.c: Remove dpx2 comment.
7911 * libgcc2.c (__enable_execute_stack): Delete versions for
7912 NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
7913 sony_news/SYSTYPE_BSD.
7914 * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
7915 __gmicro__, __i860__, __NeXT__ and __pyr__.
7916 * rtl.h: Remove convex comment.
7917 * varasm.c: Likewise.
7919 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7921 * c-opts.c (lang_flags): Const-ify.
7922 * ra-build.c (undef_table): Likewise.
7923 * ra.c (eliminables): Likewise.
7925 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
7927 * tree.h: Guard against multiple inclusion.
7929 2002-08-14 Hans-Peter Nilsson <hp@bitrange.com>
7931 * reload1.c (reload_cse_simplify): Before checking
7932 REG_FUNCTION_VALUE_P, check REG_P.
7934 2002-08-13 Geoffrey Keating <geoffk@redhat.com>
7936 * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
7938 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
7940 * c-opts.c (c_common_init_options): Extra braces needed.
7942 Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
7944 * sh.c (sh_init_builtins): Add PARAMS to declaration.
7945 (sh_media_init_builtins, sh_expand_builtin): Likewise.
7946 (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
7947 (sh_expand_binop_v2sf): Likewise.
7948 * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
7949 (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
7950 (sh_initialize_trampoline): Likewise.
7952 2002-08-13 Ulrich Weigand <uweigand@de.ibm.com>
7954 * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
7955 new condition code modes.
7956 s390.c (s390_match_ccmode_set): Handle those new CC modes.
7957 (s390_select_ccmode): Likewise.
7958 (s390_branch_condition_mask): Likewise.
7960 * s390-protos.h (s390_tm_ccmode): Declare.
7961 s390.c (s390_tm_ccmode): New function.
7962 (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
7964 * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
7965 ("*cmpsi_tm2"): Rename to "*tmsi_ext".
7966 ("*cmpqi_tm2"): Rename to "*tmqi_ext".
7968 ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
7969 "*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub",
7970 "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
7971 ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
7972 "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
7974 ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
7975 "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
7976 "*cmpqi_ccs_0"): Remove, replace by ...
7977 ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
7978 "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
7979 "*tstqi", "*tstqi_cconly"): ... these new patterns.
7981 ("*cmpsidi_ccs"): Remove, replace by ...
7982 ("*cmpsi_ccs_sign"): ... this new pattern.
7983 ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
7985 ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
7986 ("*cli"): ... this new pattern.
7988 ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
7989 "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
7991 ("adddi3_64"): Rename to "*adddi3_64".
7992 ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
7993 ("adddi3"): Adapt expander.
7995 ("*addsi3_cc"): Allow "general_operand" for operand 2.
7996 ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
7997 "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
7999 ("addhi3", "addqi3"): Remove, replace by ...
8000 ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
8002 ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
8003 "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
8004 ("subdi3"): Replace by insn and splitter "*subdi3_31".
8005 ("subdi3"): New expander.
8007 ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
8009 ("subhi3", "subqi3"): Remove, replace by ...
8010 ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
8012 ("*muldi3_sign"): New pattern.
8013 ("muldi3"): Do not clobber CC.
8014 ("mulsi3"): Likewise.
8015 ("mulsi_6432"): Likewise.
8017 2002-08-13 Denis Chertykov <denisc@overta.ru>
8019 * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
8020 which can change CC0.
8022 Tue Aug 13 14:49:20 2002 J"orn Rennecke <joern.rennecke@superh.com>
8024 * gcse.c (adjust_libcall_notes): New function.
8025 (do_local_cprop): Use it. Add fourth parameter. Changed caller.
8027 2002-08-13 Nathan Sidwell <nathan@codesourcery.com>
8029 * libgcc2.c (L_bb): Remove unneeded #includes.
8030 (__global_counters, __gthreads_active): Remove unused globals.
8031 (__bb_exit_func): Merge counts into files rather than appending.
8032 * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
8033 (ALL_CFLAGS): ... to here.
8035 2002-08-13 Denis Chertykov <denisc@overta.ru>
8037 * config/ip2k/ip2k.c (commands_in_file): Variable removed.
8038 (function_epilogue): Don't calculate function size.
8039 (ip2k_set_compare): Don't use lookup_const_double.
8040 (asm_file_start): Initialization of commands_in_file removed.
8041 (asm_file_end): Output of commands_in_file removed.
8043 * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
8046 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
8048 * c-opts.c (c_common_init_options): Check option array is
8049 sorted if checking enabled.
8051 2002-08-13 Gabriel Dos Reis <gdr@nerim.net>
8053 * c-pretty-print.c: #include "c-tree.h".
8054 (pp_c_simple_type_specifier): Tweak.
8055 (pp_c_storage_class_specifier): New.
8056 (pp_c_function_specifier): Likewise.
8057 (pp_c_declaration_specifiers): Likewise.
8058 (pp_c_init_declarator): Likewise.
8059 (pp_c_declaration): Likewise.
8060 (pp_c_direct_declarator): Stub.
8061 (pp_c_declarator): Likewise.
8062 (pp_c_parameter_declaration): Likewise.
8064 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
8066 * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
8067 handle_deferred_opts, sanitize_cpp_opts, defer_opt,
8068 struct deferred_opt): New.
8069 (COMMAND_LINE_OPTIONS): Add -M*.
8070 (missing_arg): Update.
8071 (c_common_decode_option): Handle -M*.
8072 (c_common_post_options): Handle -M*. Use sanitize_cpp_opts;
8073 don't call cpp_post_options.
8074 (c_common_finish, check_deps_environment_vars): Update.
8075 * cppfiles.c (stack_include_file, handle_missing_header): Update.
8076 * cpphash.h (CPP_PRINT_DEPS): Remove.
8077 * cppinit.c: Don't include version.h.
8078 (cpp_create_reader): Don't call deps_init. Initialize
8080 (cpp_read_main_file): Init deps if necessary.
8081 (cpp_destroy): Conditionally free deps.
8082 (cpp_finish): Update.
8084 (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
8085 (cpp_post_options): Rename post_options.
8086 * cpplib.h (struct cpp_options): Remove some dependency options;
8087 move others to a new structure.
8088 (cpp_post_options): Remove.
8089 (cpp_finish): Comment.
8090 * fix-header.c (read_scan_file): Don't call cpp_post_options.
8092 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
8094 * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
8095 ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
8096 MMIX_rR_REGNUM as clobbered.
8097 * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
8099 2002-08-12 Gabriel Dos Reis <gdr@nerim.net>
8101 * diagnostic.h (output_formatted_scalar): Rename from
8102 output_formatted_integer.
8103 * diagnostic.def: Add DK_DEBUG.
8104 * diagnostic.c (output_decimal): Adjust.
8105 (output_long_decimal): Likewise.
8106 (output_unsigned_decimal): Likewise.
8107 (output_octal): Likewise.
8108 (output_long_octal): Likewise.
8109 (output_hexadecimal): Likewise.
8110 (output_long_hexadecimal): Likewise.
8111 * c-pretty-print.c (pp_c_type_specifier): New function.
8112 (pp_c_specifier_qualifier_list): Likewise.
8113 (pp_c_abstract_declarator): Likewise.
8114 (pp_c_char): Replace pp_format_integer with pp_format_scalar.
8116 2002-08-12 David Edelsohn <edelsohn@gnu.org>
8118 * doc/trouble.texi (Disappointments): Add static constructor and
8119 destructor dependency information for AIX.
8121 2002-08-12 Neil Booth <neil@daikokuya.co.uk>
8123 * cpphash.h (struct printer): New from cppmain.c.
8124 (cpp_reader): New member.
8125 * cppmain.c (struct printer): Move to cpphash.h.
8126 (options, print): Remove.
8127 (account_for_newlines, print_line, maybe_print_line,
8128 cpp_preprocess_file, setup_callbacks, scan_translation_unit,
8129 scan_translation_unit_trad, cb_line_change, cb_ident,
8130 cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
8131 cb_def_pragma): Make reentrant.
8133 2002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8135 * real.c (ieee_64): Always define.
8136 (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
8137 (dec_h): Not used yet, hide it.
8138 (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with
8139 macro controlling use.
8140 (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
8142 Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz>
8144 * i386.md (tablejump): Sign extend the operand.
8145 * i386.c (classify_argument): Fix missed case from previous patch.
8147 2002-08-12 Neil Booth <neil@daikokuya.co.uk>
8149 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
8151 (warn_multichar): Die.
8152 (cb_register_builtins): Export.
8153 * c-common.h (warn_multichar, preprocess_file): Remove.
8154 (cb_register_builtins): New.
8155 * c-lang.c (c_init): Remove.
8156 (LANG_HOOKS_INIT): Use c_objc_common_init.
8157 * c-lex.c (init_c_lex): Don't canonicalize filename.
8158 * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
8159 (preprocess_file): Make static. Update for cpplib.
8160 (c_common_decode_option): Remove warn_multichar. Use in_fname.
8161 (c_common_post_options): Set some cpp options here.
8162 (c_common_init): Move from c-common.c.
8163 * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
8164 * cpplib.h (struct cpp_options): Remove in_fname.
8165 (cpp_preprocess_file): Update.
8166 * cppmain.c (cpp_preprocess_file): Update for new prototypes.
8168 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8170 * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
8172 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8174 * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
8175 backslash in comment preceeding macro definition.
8176 * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
8177 * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
8178 * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
8180 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
8182 * expr.c (store_expr): In condition for checking if value is
8183 generated in TARGET, move call to expr_size last.
8185 2002-08-11 Neil Booth <neil@daikokuya.co.uk>
8187 * c-common.c (c_common_init): Call preprocess_file instead.
8188 (c_common_finish): Move to c-opts.c.
8189 * c-common.h (preprocess_file): new.
8190 * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
8191 check_deps_environment_vars, c_common_finish): New.
8192 (c_common_decode_option): Update for out_fname and dependencies.
8193 * cppinit.c (init_dependency_output, output_deps): Remove.
8194 (cpp_destroy): Update prototype.
8195 (cpp_add_dependency_target): New.
8196 (cpp_read_main_file): Don't overlay a buffer.
8197 (cpp_finish): Take a deps output stream and write deps to it.
8198 Return the error count.
8199 (cpp_post_options): Don't canonicalize out_fname, or do anything
8201 * cpplib.h (struct cpp_options): Remove out_fname and
8203 (cpp_add_dependency_target): New.
8204 (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
8205 * cppmain.c (cpp_preprocess_file): Update prototype. Don't
8206 set preprocess_only. Don't handle the output stream directly.
8208 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8210 * dsp16xx.c (print_operand): Fix format specifier.
8211 * dsp16xx.md: Avoid automatic aggregate initialization.
8212 * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
8213 * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
8214 integer constant modifier.
8215 * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
8216 * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
8218 * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
8219 * v850.c (v850_select_section): Mark parameter with
8221 * global.c (global_alloc): Const-ify.
8222 * ra-colorize.c (hardregset_to_string): Fix format specifier.
8224 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8226 * darwin-c.c (darwin_pragma_options): Const-ify.
8227 * darwin.c (machopic_non_lazy_ptr_name,
8228 machopic_validate_stub_or_non_lazy_ptr): Likewise.
8229 (machopic_indirect_data_reference): Wrap variables in macros
8230 controlling their use.
8231 (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
8232 (machopic_select_section): Use parentheses around && within ||.
8233 * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
8235 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8237 * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
8238 mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
8239 ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
8240 ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
8241 mdr_try_remove_redundant_insns, track_w_reload,
8242 mdr_try_wreg_elim): Make function static to match prototype.
8243 * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark
8244 parameter with ATTRIBUTE_UNUSED.
8246 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8248 * arc.c (arc_init): Don't use ISO C style function definitions.
8249 * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
8250 arm_get_strip_length, arm_strip_name_encoding): Likewise.
8251 * avr.h (progmem_section): Likewise.
8252 * h8300.c h8300_asm_insn_count): Likewise.
8253 * m32r.c (init_idents): Likewise.
8254 * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
8255 * sh.c (sh_cfun_interrupt_handler_p): Likewise.
8256 * xtensa.c (xtensa_build_va_list): Likewise.
8258 2002-08-11 Neil Booth <neil@daikokuya.co.uk>
8260 * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
8261 * c-opts.c (parse_option): Rename find_opt.
8262 (set_std_c99): New function.
8263 (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad.
8264 (missing_arg): Remove OPT_std_bad. Handle -o.
8265 (c_common_decode_option): Handle input and output file names,
8266 -o and -remap. Clean up -std= handling.
8267 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
8268 (cpp_handle_option): Similarly. Don't handle filenames.
8270 Sun Aug 11 14:43:17 CEST 2002 Jan Hubicka <jh@suse.cz>
8272 * i386.c (classify_argument): Fix computing of field's offsets.
8274 2002-08-11 Andreas Jaeger <aj@suse.de>
8277 * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
8279 2002-08-10 Ziemowit Laski <zlaski@apple.com>
8281 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
8282 reference to clk_objective_c with flag_objc.
8283 * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
8285 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
8287 2002-08-10 Neil Booth <neil@daikokuya.co.uk>
8289 * c-opts.c (set_std_cxx98, set_std_c89): New.
8290 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
8291 (c_common_decode_option): Handle new switches from cppinit.c.
8293 * cppinit.c (set_lang): Rename cpp_set_lang. Export.
8294 (no_arg, no_num): Remove.
8295 (COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang-
8296 switches apart from -lang-objc and lang-asm.
8297 (cpp_handle_option): Similarly.
8298 * cpplib.h (cpp_set_lang): New.
8299 * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
8301 * objc/lang-specs.h: Remove -ansi.
8303 Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
8306 * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
8309 2002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8311 * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
8312 emit_jump_insn): Fix uninitialized variable.
8313 * gcov.c (init_line_info): Likewise.
8314 * genautomata.c (transform_3): Add braces around ambiguous
8316 * ifcvt.c (cond_exec_process_insns): Mark parameter with
8318 * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
8319 * regrename.c (copyprop_hardreg_forward): Fix uninitialized
8322 * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
8323 warnings in output files.
8325 2002-08-09 Ziemowit Laski <zlaski@apple.com>
8327 * c-common.c (flag_objc): New.
8328 * c-common.h (c_language_kind): Get rid of clk_objective_c
8330 (flag_objc): New extern declaration.
8331 * c-decl.c (implicitly_declare): Call objc_check_decl
8332 instead of maybe_objc_check_decl.
8333 (finish_decl): Likewise.
8334 (grokfield): Likewise.
8335 (finish_struct): Likewise.
8336 * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
8337 (maybe_objc_comptypes): Rename to objc_comptypes.
8338 (maybe_building_objc_message_expr): Rename to
8339 objc_message_selector.
8340 * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
8341 replace with flag_objc as needed.
8342 * c-opts.c (c_common_init_options): Likewise.
8343 (c_common_decode_option): Likewise.
8344 * c-parse.in (init_reswords): Likewise.
8345 * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
8346 (maybe_objc_comptypes): Rename to objc_comptypes.
8347 (maybe_building_objc_message_expr): Rename to
8348 objc_message_selector.
8349 * c-typeck.c (comptypes): Call objc_comptypes instead of
8350 maybe_objc_comptypes, and/or objc_message_selector instead of
8351 maybe_building_objc_message_expr.
8352 (comp_target_types): Likewise.
8353 (convert_for_assignment): Likewise.
8354 (warn_for_assignment): Likewise.
8355 * cppinit.c (init_builtins): Set __OBJC__ manifest constant
8356 independently of those for other languages.
8357 * objc/objc-act.c (maybe_objc_comptypes): Delete.
8358 (maybe_objc_check_decl): Delete.
8359 (maybe_building_objc_message_expr): Rename to
8360 objc_message_selector.
8361 * objc/objc-lang.c (objc_init_options): Use clk_c instead of
8362 clk_objective_c; set flag_objc flag.
8364 2002-08-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
8366 * ifcvt.c (find_if_case_2): Test correct basic block for size.
8368 2002-08-09 Dale Johannesen <dalej@apple.com>
8370 * config/rs6000/rs6000.md: Add sibcall patterns.
8371 * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define.
8372 * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
8373 Rewritten to handle sibcalls.
8374 * config/rs6000/rs6000.c (function_ok_for_sibcall): New.
8375 * config/rs6000/rs6000-protos.h (function_ok_for_sibcall): New.
8377 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
8379 * profile.c (da_file_name): New static var.
8380 (init_branch_prob): Initialize it.
8381 (end_branch_prob): Remove da file.
8383 * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
8384 * configure.in (coverage_flags): Default to nothing.
8385 * configure: Rebuilt.
8387 2002-08-09 Neil Booth <neil@daikokuya.co.uk>
8389 * Makefile.in (c-opts.o): Update
8390 * c-opts.c: Include intl.h.
8391 (print_help): Move from cppinit.c. Remove unused options.
8392 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
8393 (missing_arg): Complain for switches without an argument.
8394 (c_common_decode_option): Reject missing joined arguments.
8395 Handle new switches from cppinit.c.
8396 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
8397 (cpp_handle_option): Similarly.
8398 (print_help): Moved to c-opts.c.
8399 * cpplib.h (struct cpp_options): Remove help_only.
8400 * gcc.c (cpp_unique_options): Remove -$.
8401 * doc/cppopts.texi: Undocument -h.
8403 2002-08-08 Jakub Jelinek <jakub@redhat.com>
8405 * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
8406 legitimate constant.
8407 (legitimate_pic_operand_p): Neither pic operand.
8408 (legitimate_address_p): But legitimate address.
8409 (get_thread_pointer): Generate MEM/u instead of CONST around
8411 (print_operand): Remove printing of UNSPEC_TP.
8412 (print_operand_address): And print it here.
8414 2002-08-08 Devang Patel <dpatel@apple.com>
8416 * objc/objc-act.c (build_selector_translation_table): Issue warning,
8417 when -Wselector is used,if method for which selector is being
8418 created does not exist.
8420 2002-08-08 Stephen Clarke <stephen.clarke@superh.com>
8422 * config/sh/sh.c (prepare_move_operands): Only call
8423 target_reg_operand if TARGET_SHMEDIA.
8425 2002-08-08 Jakub Jelinek <jakub@redhat.com>
8427 * config/rs6000/rs6000.h, config/rs6000/aix.h,
8428 config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
8430 * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
8432 2002-08-08 Lars Brinkhoff <lars@nocrew.org>
8433 Richard Henderson <rth@redhat.com>
8435 * emit-rtl.c (gen_rtx_REG): After reload, only return
8436 frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
8438 2002-08-08 Jakub Jelinek <jakub@redhat.com>
8440 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
8441 * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
8442 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
8445 2002-08-08 Adam Nemet <anemet@lnxw.com>
8447 * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
8449 (thumb_expand_prologue): Likewise.
8450 (thumb_output_function_prologue): Likewise.
8451 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
8452 the additional push of the PIC register.
8454 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
8456 * configure.in (enable_coverage): New enable switch.
8457 * configure: Rebuilt.
8458 * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
8459 (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
8460 (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
8461 (mostlyclean): Remove coverage files.
8462 * doc/install.texi: Document enable_coverage.
8464 * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
8465 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
8466 * f/Make-lang.in (f.mostlyclean): Remove coverage files.
8467 * java/Make-lang.in (java.mostlyclean): Remove coverage files.
8468 * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
8469 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
8472 2002-08-08 Neil Booth <neil@daikokuya.co.uk>
8474 * c-opts.c (cpp_opts): New.
8475 (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
8476 (c_common_decode_options): Handle cpplib switches.
8477 (c_common_init_options): Set cpp_opts.
8478 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
8479 (cpp_handle_option): Similarly.
8481 2002-08-08 David Edelsohn <edelsohn@gnu.org>
8483 * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
8484 (TARGET_ALTIVEC_ABI): Same.
8485 (TARGET_ALTIVEC_VRSAVE): Same.
8487 * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
8488 icode not CODE_FOR_nothing. Change switch to if.
8490 2002-08-08 Alan Modra <amodra@bigpond.net.au>
8492 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
8494 2002-08-08 Jakub Jelinek <jakub@redhat.com>
8496 * stor-layout.c (place_union_field): For bitfields if
8497 PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
8500 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
8502 * pa.c (struct deferred_plabel): Constify name field.
8504 2002-08-07 Neil Booth <neil@daikokuya.co.uk>
8506 * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
8508 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
8510 * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
8511 local_prefix are the same.
8512 * configure: Rebuilt.
8514 2002-08-07 Jakub Jelinek <jakub@redhat.com>
8515 Richard Henderson <rth@redhat.com>
8517 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
8518 to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply
8519 ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
8520 (place_field): Likewise.
8521 * config/i386/i386.c (x86_field_alignment): Don't check
8522 DECL_USER_ALIGN here.
8523 * config/rs6000/rs6000.c (rs6000_field_alignment): New.
8524 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
8526 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
8527 * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
8528 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
8529 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
8530 * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
8531 * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
8533 2002-08-07 Neil Booth <neil@daikokuya.co.uk>
8535 * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
8536 * c-common.c: Don't include tree-inline.h.
8537 (c_common_init_options, c_common_post_options): Move to c-opts.c.
8538 * c-common.h (c_common_decode_option): New.
8539 * c-decl.c (c_decode_option): Remove.
8540 * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
8541 * c-opts.c: New file.
8542 * c-tree.h (c_decode_option): Remove.
8543 * doc/passes.texi: Update.
8544 * objc/objc-act.c (objc_decode_option): Remove.
8545 * objc/objc-act.h (objc_decode_option): Remove.
8546 * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
8547 c_common_decode_option.
8549 2002-08-07 Chris Demetriou <cgd@broadcom.com>
8551 * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
8552 dependency on TARGET_DOUBLE_FLOAT.
8554 2002-08-07 Stephen Clarke <stephen.clarke@superh.com>
8556 * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
8557 overwrite callee-save registers. Fix comment.
8559 2002-08-06 Chris Demetriou <cgd@broadcom.com>
8561 * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
8562 in target_flags based on ISA, if it was not set on the command
8563 line. Warn if MASK_BRANCHLIKLEY is set but the ISA does not
8564 support Branch Likely instructions.
8565 * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
8566 (TARGET_BRANCHLIKELY): Likewise.
8567 (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
8568 (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
8569 ISA_HAS_BRANCHLIKELY.
8570 (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
8571 * doc/invoke.texi: Document new MIPS -mbranch-likely and
8572 -mno-branch-likely options.
8574 2002-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8576 * ip2k.c (ip2k_set_compare): Add missing iteration variable.
8578 * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
8581 2002-08-06 Aldy Hernandez <aldyh@redhat.com>
8583 * c-decl.c (duplicate_decls): Error out for incompatible TLS
8586 * testsuite/gcc.dg/tls/diag-3.c: New.
8588 2002-08-06 Dale Johannesen <dalej@apple.com>
8590 * c-common.c (fname_decl): Use line number 0 for
8591 __func__, to avoid confusing debuggers.
8593 2002-08-06 Nathan Sidwell <nathan@codesourcery.com>
8596 (struct line_info, struct coverage): New structures.
8597 (gcov_file_name, gcov_file): Remove globals.
8598 (output_data): Take source file parameter. Fix memory leak. Break
8600 (init_line_info, output_line_info, make_gcov_file_name,
8601 accumulate_branch_counts): ... here.
8602 (calculate_branch_probs, function_summary): Adjust.
8604 (function_*): Remove global variables.
8606 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
8608 * dwarf2out.c: Remove unused macros.
8610 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
8612 * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
8614 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
8616 * cppinit.c (struct lang_flags): Rename trigraphs std.
8618 * cpplib.h (struct cpp_options): New member std.
8619 * cppmacro.c (_cpp_builtin_macro_text): Use std.
8620 (collect_args): Flag whether to swallow a possible future
8621 comma pasted with varargs.
8622 (replace_args): Use this flag.
8623 * doc/cpp.texi: Update varargs extension documentation.
8625 2002-08-06 Jakub Jelinek <jakub@redhat.com>
8627 * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
8629 2002-08-06 Jakub Jelinek <jakub@redhat.com>
8631 * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
8632 and MODE_CLASS_INT modes.
8634 2002-08-06 Jakub Jelinek <jakub@redhat.com>
8636 * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
8637 --{enable,disable}-threads is given to configure.
8638 (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
8639 x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
8640 powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
8641 s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
8642 Remove thread_file setting here.
8644 2002-08-06 David Edelsohn <edelsohn@gnu.org>
8646 * doc/install.texi (Binaries): Update Bull Freeware URL.
8648 2002-08-06 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8650 * doc/gcc.texi (Top): Rename Index to Keyword Index.
8652 2002-08-05 Nathan Sidwell <nathan@codesourcery.com>
8654 * gcov.c (output_data): Round to % to nearest, tweak formatting.
8656 2002-08-05 Jakub Jelinek <jakub@redhat.com>
8658 * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
8659 of the operands into MINUS_EXPR if code is PLUS_EXPR.
8661 2002-08-05 Douglas B Rupp <rupp@gnat.com>
8663 * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
8664 * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
8665 drectve_section): Define.
8666 * config/i386/t-interix: Replace interix.o rule with winnt.o.
8667 * config/i386/interix.c: Remove.
8669 2002-08-05 Geoffrey Keating <geoffk@redhat.com>
8671 * attribs.c: Don't include obstack.h.
8672 * builtins.c: Likewise.
8673 * cfganal.c: Likewise.
8674 * cfgbuild.c: Likewise.
8675 * cfgcleanup.c: Likewise.
8676 * emit-rtl.c: Likewise.
8680 * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
8682 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
8684 * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
8686 2002-08-04 Chris Demetriou <cgd@broadcom.com>
8688 * doc/invoke.texi: Remove duplicated paragraph describing
8691 2002-08-04 Geoffrey Keating <geoffk@redhat.com>
8693 * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
8694 * collect2.h (permanent_obstack): Delete declaration.
8695 * collect2.c (permanent_obstack): Delete definition.
8696 (main): Don't initialize permanent_obstack. Use xstrdup instead.
8697 * expr.c: Don't include obstack.h.
8698 (permanent_obstack): Delete declaration.
8699 * function.c: Don't include obstack.h.
8700 (permanent_obstack): Delete declaration.
8701 * integrate.c: Don't include obstack.h.
8702 (function_maybepermanent_obstack): Delete declaration.
8703 * print-tree.c (debug_tree): Use x*alloc not permalloc.
8704 * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
8705 * tlink.c (pfgets): Use xstrdup not permanent_obstack.
8706 * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
8707 * tree.h: Rename init_obstacks to init_ttree. Remove declarations
8708 of permalloc, expralloc, perm_calloc.
8709 * tree.c (permanent_obstack): Delete definition.
8710 (init_ttree): Rename from init_obstacks.
8711 (permalloc): Delete.
8712 (perm_calloc): Delete.
8713 (dump_tree_statistics): Don't print information about
8715 * varasm.c (assemble_start_function): Use xstrdup instead of
8717 (assemble_variable): Likewise.
8718 * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
8720 (unicosmk_add_extern): Likewise.
8721 * config/c4x/c4x.c (c4x_external_ref): Likewise.
8722 (c4x_global_label): Likewise.
8723 * config/frv/frv.c (frv_encode_section_info): Likewise.
8724 * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
8725 (i386_pe_record_exported_symbol): Likewise.
8726 * config/mips/mips.c (mips_output_external): Likewise.
8727 (mips_output_external_libcall): Likewise.
8728 * config/pa/pa.c: (permanent_obstack): Delete declaration.
8729 (output_call): Use ggc_strdup instead of allocating on
8731 * config/romp/romp.c: Include ggc.h.
8732 (get_symref): Don't declare permanent_obstack, use ggc_strdup
8733 intead of permanent_obstack.
8734 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
8735 instead of permalloc.
8736 * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
8737 instead of permalloc
8738 * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
8739 instead of permalloc.
8740 * config/vax/vax.c (vms_check_external): Use xmalloc instead of
8743 2002-08-04 Bernd Schmidt <bernds@redhat.com>
8745 Contribute a port developed primarily by Michael Meissner,
8746 Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
8747 * config.gcc: Add frv-elf target.
8748 * config/frv/cmovd.c: New file.
8749 * config/frv/cmovh.c: New file.
8750 * config/frv/cmovw.c: New file.
8751 * config/frv/frv-abi.h: New file.
8752 * config/frv/frv-asm.h: New file.
8753 * config/frv/frv-modes.def: New file.
8754 * config/frv/frv-protos.h: New file.
8755 * config/frv/frv.c: New file.
8756 * config/frv/frv.h: New file.
8757 * config/frv/frv.md: New file.
8758 * config/frv/frvbegin.c: New file.
8759 * config/frv/frvend.c: New file.
8760 * config/frv/lib1funcs.asm: New file.
8761 * config/frv/media.h: New file.
8762 * config/frv/modi.c: New file.
8763 * config/frv/t-frv: New file.
8764 * config/frv/uitod.c: New file.
8765 * config/frv/uitof.c: New file.
8766 * config/frv/ulltod.c: New file.
8767 * config/frv/ulltof.c: New file.
8768 * config/frv/umodi.c: New file.
8769 * config/frv/xm-frv.h: New file.
8771 * config/frv/media.h: Removed again.
8773 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
8775 * gcov.c (bb_file_time): New static variable.
8776 (object_directory): May also be object file.
8777 (preserve_paths): New static variable.
8778 (print_usage): Adjust.
8780 (process_args): Adjust.
8781 (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
8782 file. Find modification date on bb file.
8783 (read_profile): Don't rewind a NULL file.
8784 (format_hwint): New static function.
8785 (function_summary): Use format_hwint.
8786 (output_data): SOURCE_FILE_NAME is never relative to
8787 OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
8788 mangling. Adjust output format to make it more machine readable.
8789 * doc/gcov.texi: Document & clarify semantics.
8791 2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk>
8793 * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
8795 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
8797 * gcc.c (cc1_options): Pass output file as auxbase when
8799 * profile.c (init_branch_prob): FILENAME has already had ending
8801 * final.c (end_final): Likewise.
8802 * toplev.c (aux_base_name): New global.
8803 (compile_file): Pass aux_base_name to init init_branch_prob and
8805 (independent_decode_option, case 'a'): New auxinfo options.
8806 (case 'd'): Protect against mising basename.
8807 (do_compile): Initialize aux_base_name.
8808 * toplev.h (aux_base_name): New global.
8809 * doc/invoke.texi: Adjust documentation.
8811 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
8813 * config/i386/i386.c (x86_field_alignment): Remove duplicate test
8814 of TARGET_ALIGN_DOUBLE.
8816 2002-08-04 Gabriel Dos Reis <gdr@nerim.net>
8818 * diagnostic.c (inform): New function.
8819 * diagnostic.h (inform): Declare.
8821 2002-08-03 David Edelsohn <edelsohn@gnu.org>
8823 * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
8824 (movhi_internal): Same.
8825 (movqi_internal): Same.
8826 (movdi_internal64): Same.
8828 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
8830 * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
8831 (ASM_OUTPUT_SKIP): Use it. SIZE unsigned.
8832 (COMMON_ASM_OP): Define.
8833 (ASM_OUTPUT_ALIGNED_COMMON): Use it. SIZE unsigned.
8834 Use ALIGN parameter.
8835 (LOCAL_COMMON_ASM_OP): Define.
8836 (ASM_OUTPUT_LOCAL): Use it. SIZE unsigned.
8838 2002-08-03 Roger Sayle <roger@eyesopen.com>
8840 * builtins.def: Define new builtin functions exp, expf, expl,
8841 log, logf and logl (and their __builtin_* variants).
8842 * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
8843 Define exp_optab and log_optab.
8844 * optabs.c (init_optans): Initialize exp_optab and log_optab.
8845 * genopinit.c (optabs): Implement exp_optab and log_optab
8846 using exp?f2 and log?f2 patterns.
8847 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
8848 and BUILT_IN_LOG* using exp_optab and log_optab respectively.
8849 (expand_builtin): Ignore the new builtins (and all cos and
8850 sin variants) when not optimizing. Expand new builtins via
8851 expand_builtin_mathfn when flag_unsafe_math_optimizations.
8853 * doc/extend.texi: Document new exp and log builtins.
8854 * doc/md.texi: Document new exp?f2 and log?f2 patterns
8855 (and previously undocumented cos?f2 and sin?f2 patterns).
8857 2002-08-03 Jason Merrill <jason@redhat.com>
8859 * explow.c (int_expr_size): New fn.
8860 * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
8861 * expr.h: Declare it.
8863 2002-08-02 Krister Walfridsson <cato@df.lth.se>
8865 * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
8866 gengtype-* dependencies.
8868 2002-08-02 Eric Christopher <echristo@redhat.com>
8870 * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
8871 * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
8873 (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
8875 2002-08-02 David Edelsohn <edelsohn@gnu.org>
8878 * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
8879 small if optimizing for size.
8881 2002-08-02 Daniel Jacobowitz <drow@mvista.com>
8883 * configure.in (FORBUILD): Use $build_alias.
8884 * configure: Regenerated.
8886 2002-08-02 Richard Sandiford <rsandifo@redhat.com>
8888 * config.gcc: Don't include mips/abi64.h in $tm_file.
8889 * hard-reg-set.h (call_really_used_regs): Declare.
8890 * config/mips/abi64.h: Remove file.
8891 * config/mips/linux.h,
8892 * config/mips/iris6.h: Don't include it.
8893 * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
8894 * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
8895 (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
8896 FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
8897 FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
8898 Bring across definitions from abi64.h.
8899 (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
8900 (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
8901 (struct mips_args): Use it.
8902 * config/mips/mips.c (mips_conditional_register_usage): Define.
8904 2002-08-02 Jason Merrill <jason@redhat.com>
8906 * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
8907 * langhooks.c (lhd_expr_size): Define default.
8908 * langhooks.h (struct lang_hooks): Add expr_size.
8909 * explow.c (expr_size): Call it.
8910 * expr.c (store_expr): Don't copy an expression of size zero.
8911 (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
8913 * Makefile.in (builtins.o): Depend on langhooks.h.
8915 2002-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8917 * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
8918 * ra-debug.c: Include "tm_p.h".
8919 * ra-rewrite.c (is_partly_live_1): Change return type to bool.
8921 2002-08-02 Toon Moene <toon@moene.indiv.nluug.nl>
8923 * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
8924 when not honoring signalling NaNs.
8925 (simplify_ternary_operation): a == b has a definite value
8926 when not honoring NaNs.
8928 2002-08-02 Jason Merrill <jason@redhat.com>
8930 * gdbinit.in (pct): New macro.
8932 2002-08-01 Stan Shebs <shebs@apple.com>
8933 Andreas Tobler <toa@pop.agri.ch>
8935 * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
8936 plays nice with Darwin headers.
8937 (_BSD_RUNE_T_DEFINED_): Likewise.
8939 2002-08-01 Zack Weinberg <zack@codesourcery.com>
8941 * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
8942 * cppinit.c (cpp_post_options): Likewise.
8944 * cppexp.c (cpp_classify_number): Suppress -Wtraditional
8945 warning about 'LL' suffix (but not 'ULL' etc) when
8946 -Wno-long-long is in effect.
8948 * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
8949 Check for failing time()/localtime(), issue a warning, and
8950 make __TIME__ and __DATE__ expand to fallback strings.
8952 * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
8953 and __TIME__ when the date and time cannot be determined.
8955 2002-08-02 Alan Modra <amodra@bigpond.net.au>
8957 * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
8959 2002-08-01 Daniel Jacobowitz <drow@mvista.com>
8961 * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
8963 2002-08-01 Chris Demetriou <cgd@broadcom.com>
8965 * config.gcc (mipsisa64sb1-*-elf*): New configuration.
8966 (mipsisa64sb1el-*-elf*): Likewise.
8967 * config/mips/mips.c (mips_cpu_info_table): Add sb1.
8968 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
8969 (TARGET_SB1, TUNE_SB1): New macros.
8970 * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
8973 2002-08-01 David Edelsohn <edelsohn@gnu.org>
8975 * varasm.c (asm_emit_uninitialized): Return false if global BSS
8976 and ASM_EMIT_BSS not supported by target.
8977 (assemble_variable): Do not duplicate uninitialized logic.
8978 Fall through if asm_emit_uninitialized failed.
8980 2002-08-01 Chris Demetriou <cgd@broadcom.com>
8982 * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
8984 2002-08-02 Alan Modra <amodra@bigpond.net.au>
8986 * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
8987 (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
8989 * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
8990 HOST_BITS_PER_WIDE_INT == 64.
8992 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8994 * df.c (df_insn_table_realloc): Change parameter to unsigned.
8995 * optabs.c (expand_binop): Make variable unsigned.
8996 * simplify-rtx.c (simplify_subreg): Likewise.
8997 * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
8999 2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9001 * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
9003 2002-08-01 Richard Henderson <rth@redhat.com>
9005 * toplev.c (parse_options_and_default_flags): Don't set
9006 flag_reorder_blocks for -Os.
9008 * config/avr/avr.c (avr_optimization_options): Remove.
9009 * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
9010 * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
9011 * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
9013 2002-08-01 H.J. Lu <hjl@gnu.org>
9014 Richard Henderson <rth@redhat.com>
9016 * output.h (DECL_READONLY_SECTION): Remove.
9017 (decl_readonly_section): Declare.
9018 * varasm.c (decl_readonly_section): New.
9019 (default_section_type_flags, default_select_section): Use it.
9020 * config/arm/pe.c (arm_pe_unique_section): Likewise.
9021 * config/i386/interix.c (i386_pe_unique_section): Likewise.
9022 * config/i386/winnt.c (i386_pe_unique_section): Likewise.
9023 * config/mcore/mcore.c (mcore_unique_section): Likewise.
9024 * config/mips/mips.c (mips_unique_section): Likewise.
9026 2002-08-01 Richard Henderson <rth@redhat.com>
9028 * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
9029 refers to a subroutine parameter.
9031 2002-08-01 Jakub Jelinek <jakub@redhat.com>
9033 * varasm.c (assemble_visibility): Strip name encoding.
9035 2002-08-01 Ian Dall <ian@sibyl.beware.dropbear.id.au>
9037 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
9038 (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
9039 when there is no frame pointer.
9040 (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
9042 * config/ns32k/__unorddf2.c: New file.
9043 * config/ns32k/__unordsf2.c: New file.
9044 * config/ns32k/t-ns32k: New file.
9045 * config.gcc (ns32k-*-netbsd*): Use it.
9047 2002-08-01 Aldy Hernandez <aldyh@redhat.com>
9049 * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
9051 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
9053 * c-common.c (__GXX_ABI_VERSION): Correct spelling.
9055 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
9057 * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
9059 2002-08-01 Richard Sandiford <rsandifo@redhat.com>
9061 * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
9063 2002-08-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
9065 * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
9067 (expr_hash_table, set_hash_table): Type changed to ...
9068 (struct hash_table): New type.
9069 (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
9070 insert_expr_in_table, insert_set_in_table, compute_hash_table,
9071 dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
9072 compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
9073 (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
9074 (alloc_hash_table): New.
9075 (free_set_hash_table, free_expr_hash_table): Merged to ...
9076 (free_hash_table): New.
9077 (compute_set_hash_table, compute_expr_hash_table): Merged to ...
9078 (compute_hash_table_work): New.
9079 (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
9080 find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
9081 pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
9082 one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
9083 hoist_code, one_code_hoisting_pass,
9084 trim_ld_motion_mems): Altered due to changed type of hash tables.
9086 2002-08-01 Zack Weinberg <zack@codesourcery.com>
9088 * final.c (output_alternate_entry_point):
9089 If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
9091 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9093 * objc/objc-act.c (encode_complete_bitfield): Add prototype and
9094 avoid ISO C style function definition.
9096 * expr.c (expand_assignment): Delete unused variable.
9098 2002-08-01 Toon Moene <toon@moene.indiv.nluug.nl>
9100 * c-common.c (cb_register_builtins): Set
9101 __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
9102 is given, and to 0 otherwise.
9103 * combine.c (simplify_if_then_else): HONOR_NANS
9104 implies FLOAT_MODE_P.
9106 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
9108 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
9109 (cpp_handle_option): Don't handle it.
9110 (print_help): Update.
9111 * doc/cppopts.texi: Update.
9113 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
9115 * c-common.c (cb_register_builtins): If C++, define
9116 __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
9117 * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
9119 * lang-specs.h: Simplify in accordance with new code in
9122 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
9124 * c-common.c: Define all C/ObjC/C++ warning and flag variables.
9125 * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
9126 * c-decl.c: Move all warning and flag variables to c-common.c.
9127 * c-format.c: Move all warning variables to c-common.c.
9128 * c-tree.h: Move all warning and flag declarations to c-common.h.
9129 * objc/objc-act.c: Move all warning variables to c-common.c.
9130 (flag_warn_protocol): Rename warn_protocol.
9132 2002-07-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
9134 * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
9136 2002-07-31 Graham Stott <graham.stott@btinternet.com>
9138 * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
9141 2002-07-31 Stan Shebs <shebs@apple.com>
9143 * config.gcc (i[34567]86-*-darwin*): New configuration.
9144 * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
9146 (TARGET_ENCODE_SECTION_INFO): Ditto.
9147 (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
9148 * config/darwin.c (machopic_indirect_data_reference): Remove
9149 setting of RTX_UNCHANGING_P.
9150 (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
9151 not to be applied to sums.
9152 * config/i386/t-darwin: New file.
9153 * config/i386/darwin.h: New file.
9154 * config/i386/i386.h (TARGET_MACHO): Add default definition.
9155 * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
9156 * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
9157 label and not the GOT add.
9158 (constant_address_p): For Mach-O, seeing a CONST is enough.
9159 (legitimate_pic_address_disp_p): Add a Mach-O case.
9160 (legitimate_address_p): Also test machopic_operand_p if Mach-O.
9161 (legitimize_pic_address): Use generic Mach-O code to legitimize.
9162 (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
9163 if outputting a difference.
9164 (ix86_output_addr_diff_elt): Add Mach-O case.
9165 (ix86_expand_move): Similarly.
9166 (ix86_expand_call): Similarly.
9167 (current_machopic_label_num): New global.
9168 (machopic_output_stub): New function.
9169 (ix86_value_regno): New function.
9170 (ix86_function_value): Use it instead of VALUE_REGNO.
9171 (ix86_libcall_value): Ditto.
9172 * config/i386/unix.h (VALUE_REGNO): Remove.
9174 2002-07-31 Graham Stott <grahas@btinternet.com>
9176 * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
9177 hash for LABEL_REF's.
9179 2002-07-31 Graham Stott <grahams@btinternet.com>
9181 * config/rs6000/rs6000.c (spe_init_builtins,
9182 altivec_init_builtins, rs6000_common_init_builtins):
9183 Replace ANSI with K&R function def.
9185 2002-07-31 David Edelsohn <edelsohn@gnu.org>
9187 * rs6000.c (validate_condition_mode): Test flag_finite_math_only
9190 2002-07-31 Richard Sandiford <rsandifo@redhat.com>
9192 * config/mips/crtn.asm: Don't use __mips16 to determine the
9193 return-address offset. Define RA to a suitable temporary
9194 register for the return address.
9196 2002-07-31 Richard Sandiford <rsandifo@redhat.com>
9198 * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
9201 2002-07-30 Chris Demetriou <cgd@broadcom.com>
9203 * config/mips/elf.h (STARTFILE_SPEC): Define differently if
9204 default ABI is MEABI. (Undoes incorrect change in Eric Christopher's
9205 patch on 2002-07-29.)
9206 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
9208 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9210 * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
9211 fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
9212 ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
9213 openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
9214 s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
9215 (ASM_GLOBALIZE_LABEL): Delete.
9216 (GLOBAL_ASM_OP): Define.
9218 * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
9220 * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
9221 * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
9223 2002-07-30 Geoffrey Keating <geoffk@redhat.com>
9225 * doc/extend.texi (Hints implementation): Document that GCC
9226 mostly ignores `register'.
9228 2002-07-30 Toon Moene <toon@moene.indiv.nluug.nl>
9230 * flags.h: Declare flag_finite_math_only.
9231 Use it in definition of HONOR_NANS and
9233 * c-common.c (cb_register_builtins): Emit
9234 __FINITE_MATH_ONLY__ when flag_finite_math_only
9236 * combine.c (simplify_if_then_else): If
9237 flag_finite_math_only is set, a == b has a
9239 * toplev.c: Initialize flag_finite_math_only.
9240 (set_flags_fast_math): Set it on -ffast-math.
9241 (flag_fast_math_set_p): Test it.
9242 * doc/invoke.texi: Document -ffinite-math-only.
9244 2002-07-30 Richard Henderson <rth@redhat.com>
9246 * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
9247 (noce_process_if_block): Likewise.
9249 2002-07-30 Bernd Schmidt <bernds@redhat.com>
9251 * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
9252 Bail out early if false_expr is NULL and we'd crash due to this.
9253 * genemit.c (gen_expand): Recognize return insns even if the return
9254 appears in a parallel.
9255 * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
9256 * config/fp-bit.c: Likewise.
9257 * doc/tm.texi: Document it.
9259 2002-07-30 David Edelsohn <edelsohn@gnu.org>
9260 Zack Weinberg <zack@codesourcery.com>
9262 * rs6000.c (rs6000_expand_unop_builtin): Check icode not
9263 CODE_FOR_nothing. Change switch to if.
9264 (rs6000_expand_binop_builtin): Same.
9265 (rs6000_expand_builtin): Expand builtin if target support enabled.
9266 (rs6000_init_builtins): Init builtin if target support enabled.
9267 (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
9269 2002-07-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9271 * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
9273 2002-07-30 Richard Sandiford <rsandifo@redhat.com>
9275 * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
9277 Tue Jul 30 18:31:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
9279 * sh.md (cond_delay_slot): New attribute.
9280 (cbranch delay): Use it for anulled-true case.
9281 (stuff_delay_slot): New pattern.
9282 * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
9284 (gen_far_branch): Emit stuff_delay_slot pattern.
9286 Tue Jul 30 11:21:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
9288 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
9290 2002-07-30 Kazu Hirata <kazu@cs.umass.edu>
9292 * fold-const.c: Fix comment typos.
9294 * reload1.c: Likewise.
9296 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
9298 * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
9301 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
9303 * c-pretty-print.h (pp_c_statement): Declare.
9304 * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
9305 (pp_c_statement): Define.
9307 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9309 * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
9310 darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
9311 ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
9312 mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
9313 rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
9314 v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
9316 * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
9317 * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
9319 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
9321 * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
9322 (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
9323 COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
9324 (pp_c_expression): Update.
9326 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9328 * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
9329 concat in lieu of xmalloc/strcpy/memcpy/sprintf.
9330 * alpha/vms-ld.c (main): Likewise.
9331 * dsp16xx.c (double_reg_to_memory): Likewise.
9332 * mcore.c (mcore_expand_prolog): Likewise.
9333 * cppfiles.c (read_name_map): Likewise.
9334 * gensupport.c (process_rtx, identify_predicable_attribute,
9335 alter_test_for_insn): Likewise.
9336 * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
9338 2002-07-29 Roger Sayle <roger@eyesopen.com>
9340 * builtins.c (expand_builtin): Change the default behavior to
9341 only issue an error if the builtin function doesn't have a
9342 fallback library call. Remove several cases handled by the
9345 2002-07-29 John David Anglin <dave@hiauly1.hia.nrc>
9347 * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
9348 floating point format of the target is IEEE.
9349 * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
9350 format of the target is DEC.
9352 2002-07-29 Richard Henderson <rth@redhat.com>
9354 * unroll.c (verify_addresses): Remove.
9355 (find_splittable_givs): Never split DEST_ADDR givs.
9357 2002-07-29 Geoffrey Keating <geoffk@redhat.com>
9359 * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
9361 (Files): Improve documentation on generated source files.
9363 * doc/extend.texi (Translation implementation): Document what
9364 diagnostics look like.
9365 (Identifiers implementation): Document that there's normally no
9366 limit on identifier names.
9367 (Integers implementation): Document two's complement.
9368 (Hints implementation): Document that GCC honors 'inline', mostly.
9369 (Preprocessing directives implementation): Document that GCC
9370 requires the current time.
9372 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
9374 * c-pretty-print.h (struct c_pretty_print_info): Add new member.
9375 (pp_initializer): New macro.
9376 (pp_c_initializer): Declare.
9377 * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
9378 (pp_c_initializer): Define.
9379 (pp_c_initializer_list): New function.
9380 (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
9381 VECTOR_CST, CONSTRUCTOR.
9382 (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
9384 (pp_c_cast_expression): Handle FLOAT_EXPR.
9385 (pp_c_assignment_expression): Handle INIT_EXPR.
9386 (pp_c_expression): Update.
9388 2002-07-30 Neil Booth <neil@daikokuya.co.uk>
9390 * objc/objc-act.c (objc_init): Return immediately if filename
9393 2002-07-29 Eric Christopher <echristo@redhat.com>
9395 * config/mips/elf.h: Remove ecoff.h and gofast includes.
9396 (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
9397 (SDB_DEBUGGING_INFO): Undefine.
9398 (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
9399 (PUT_SDB_SIZE): Remove.
9400 (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
9401 (STARTFILE_SPEC): Add isa3264 define.
9402 * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here...
9403 * config/mips/ecoff.h: Remove. and here...
9404 * config/mips/iris3.h: and here...
9405 * config/mips/sni-svr4.h: and here...
9406 * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
9407 Add assembler -mmdebug options for non-dwarf debugging.
9408 * config/mips/r3900.h: Remove debug info defines.
9409 * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
9410 * config/mips/isa3264.h: Ditto.
9411 * config/mips/t-isa3264: Fix up for file removal and gofast configure
9413 * config/mips/t-elf: Ditto.
9414 * config/mips/t-ecoff: Ditto.
9415 * config/mips/t-r3900: Ditto.
9416 * config/mips/t-iris5-6: Ditto.
9417 * config/mips/t-isa3264: Ditto.
9418 * config/mips/t-linux: Remove.
9419 * config/mips/t-netbsd: Remove.
9420 * config/mips/t-mips: New file.
9421 * config/mips/t-gofast: Ditto.
9422 * config/mips/netbsd.h: Remove unnecessary undefines.
9423 * config/mips/linux.h: Remove #include of mips.h.
9424 * config.gcc: Add mips.h include for elf targets. Remove tm_file
9425 for ecoff. Add gofast configure option for mips.
9427 2002-07-29 Chris Demetriou <cgd@broadcom.com>
9429 * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
9430 linker scripts use STARTUP directives consistently.
9431 * configure: Regenerate.
9432 * config.in: Regenerate.
9433 * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
9434 on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
9435 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
9436 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
9437 HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
9440 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
9442 * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
9444 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
9446 * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
9448 2002-07-29 Aldy Hernandez <aldy@quesejoda.com>
9450 * config/rs6000/rs6000.md: Move altivec patterns from here...
9452 * config/rs6000/altivec.md: ...to here.
9454 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
9456 * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
9458 2002-07-29 Richard Henderson <rth@redhat.com>
9460 * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
9461 set_mem_attributes and add BITPOS argument. Subtract it from
9462 OFFSET when same is adjusted.
9463 (set_mem_attributes): New wrapper function.
9464 * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
9465 remove offset adjustment hack.
9466 * expr.h (set_mem_attributes_minus_bitpos): Declare.
9468 2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
9470 * Makefile.in (C_OBJS): Include c-pretty-print.o
9471 (c-pretty-print.o): Add depency rule.
9472 * pretty-print.h: Add more macros.
9473 * c-pretty-print.c: New file.
9474 * c-pretty-print.h: Likewise.
9476 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
9478 * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
9479 constants to __ev64_s32__.
9480 (__internal_ev_mwhgsmian): Same.
9481 (__internal_ev_mwhgsmfan): Same.
9482 (__internal_ev_mwhgssfan): Same.
9483 (__internal_ev_mwhgumiaa): Same.
9484 (__internal_ev_mwhgsmiaa): Same.
9485 (__internal_ev_mwhgsmfaa): Same.
9486 (__internal_ev_mwhgssfaa): Same.
9488 2002-07-29 David Edelsohn <edelsohn@gnu.org>
9490 * varasm.c (assemble_variable): Narrow test for uninitialized
9491 without BSS target support.
9493 2002-07-29 Nathan Sidwell <nathan@codesourcery.com>
9495 * profile.c: Add file comment describing the overall algorithm and
9497 (struct edge_info): Add comments.
9498 (struct bb_info): Add comments.
9499 * basic-block.h (EDGE_*): Add comments.
9500 * doc/gcov.texi (Gcov Data Files): Document bit flags.
9502 2002-07-29 Bob Wilson <bob.wilson@acm.org>
9504 * config/xtensa/elf.h, config/xtensa/linux.h
9505 (TARGET_OS_CPP_BUILTINS): Define.
9506 (CPP_PREDEFINES): Remove.
9507 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
9510 2002-07-29 Zack Weinberg <zack@codesourcery.com>
9512 * gensupport.c: Include hashtab.h.
9513 (insn_elision, condition_table, hash_c_test, cmp_c_test,
9514 maybe_eval_c_test): New routines and data structures to
9515 support insn elision.
9516 (init_md_reader): Read and initialize the condition_table.
9517 (read_md_rtx): Discard insn patterns whose C test is provably
9519 * gensupport.h: Declare new functions and data structures.
9521 * genconditions.c, dummy-conditions.c: New files.
9522 * Makefile.in: Build genconditions; run it to construct
9523 insn-conditions.c; build that and link it into most gen*
9525 (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
9526 (GEN): Delete, unused.
9527 (STAGESTUFF): Update.
9529 * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
9530 CODE_FOR_nothing for all elided patterns.
9531 (main): Tweaked to support this.
9532 * genflags.c (gen_proto): Emit a static inline generator
9533 function here for all elided patterns, which simply returns
9535 (gen_insn): Do not define HAVE_xxx for elided patterns.
9536 (main): Tweaked to support this. No need to forward-declare
9538 * genrecog.c: Do not bother emitting the C test if it's known
9539 to be true at compile time.
9541 2002-07-29 Mike Stump <mrs@apple.com>
9543 * config.gcc (target_gtfiles): Initialize, as otherwise cross
9544 compilers hosted on powerpc-apple-darwin6.0 won't even build.
9546 2002-07-29 Richard Earnshaw <rearnsha@arm.com>
9548 * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
9549 remove clobber of LR.
9550 (sibcall_insn, sibcall_value_insn): Update accordingly.
9551 (sibcall_epilogue): Remove debugging comment from assembler stream.
9553 2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
9555 * pretty-print.h: Define more macros.
9556 * diagnostic.h (output_formatted_integer): Moved from...
9557 * diagnostic.c: ... here.
9559 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9561 * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
9563 2002-07-28 Zack Weinberg <zack@codesourcery.com>
9565 * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
9566 arguments. Always use ".-symbol" as expression argument.
9567 * doc/tm.texi: Update to match. Document requirement for
9568 ".size symbol, .-symbol" to be acceptable to assembler.
9570 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
9571 config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
9572 config/i386/freebsd-aout.h, config/i386/sco5.h,
9573 config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
9574 config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE.
9576 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9578 * Makefile.in (gengtype-lex.c): Fix error in last change.
9580 * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
9583 * Makefile.in (vmsdbgout.o): Depend on function.h.
9585 * vmsdbgout.c: Include function.h.
9587 2002-07-28 Alan Modra <amodra@bigpond.net.au>
9589 * prefix.c (update_path): Don't strip single `.' path components
9590 unless stripping a later `..' component. Exit loop as soon as
9591 a valid path is found.
9593 2002-07-27 Roger Sayle <roger@eyesopen.com>
9595 * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
9596 argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
9597 BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
9598 floating point unordered comparisons (e.g. __builtin_isgreater)
9599 as const, and leave the remaining GCC_BUILTINs unchanged.
9601 * c-decl.c (builtin_function): No need to explicitly mark
9602 BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
9604 2002-07-27 Roger Sayle <roger@eyesopen.com>
9606 * Makefile.in: rtlanal.o now depends upon real.h.
9608 * flags.h [flag_signaling_nans]: New flag.
9609 [HONOR_SNANS]: New macro.
9611 * toplev.c [flag_signaling_nans]: Initialize to false.
9612 (f_options): Add processing for "-fsignaling-nans".
9613 (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
9614 (process_options): flag_signaling_nans implies flag_trapping_math.
9616 * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
9617 when -fsignaling-nans. First step to implementing WG14's N965.
9619 * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
9620 1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
9621 [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
9623 * simplify-rtx.c (simplify_relational_operation): Conditionalize
9624 transforming abs(x) < 0.0 into false on !HONOR_SNANS.
9626 * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
9627 required by HONOR_SNANS. (may_trap_p): Floating point DIV, MOD,
9628 UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
9629 -fsignaling_nans. EQ and NE only trap for flag_signaling_nans
9630 not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
9632 * doc/invoke.texi: Document new -fsignaling-nans compiler option.
9634 2002-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9636 * Makefile.in (gengtype-lex.c): Work around a bug in flex.
9637 * gengtype-lex.l (YY_USE_PROTOS): Undef.
9640 2002-07-27 Roger Sayle <roger@eyesopen.com>
9642 * doc/invoke.texi: Document that both -fno-builtin-foo and
9643 -fno-builtin are supported by the g++ front-end.
9645 2002-07-27 Stan Shebs <shebs@apple.com>
9647 * configure.in: Rename config_gtfiles to target_gtfiles.
9648 * configure: Regenerate.
9649 * doc/gty.texi: Update reference.
9650 * config.gcc (powerpc-*-darwin*): Set target_gtfiles
9651 instead of appending to it.
9653 2002-07-25 Aldy Hernandez <aldyh@redhat.com>
9655 * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
9656 vectors are split into two registers.
9657 (function_arg): Same.
9659 Thu Jul 26 23:00:13 2002 J"orn Rennecke <joern.rennecke@superh.com>
9661 * pa.md (extv): Check predicates before emitting extv_32.
9663 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9665 * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
9666 (rs6000_traceback): New var.
9667 (rs6000_override_options): Set rs6000_traceback.
9668 (rs6000_output_function_epilogue): Implement traceback options.
9669 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
9670 (rs6000_traceback_name): Declare.
9672 * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
9673 label reference when NO_PROFILE_COUNTERS.
9675 2002-07-26 Jason Merrill <jason@redhat.com>
9677 * function.c (assign_parms): Handle frontend-directed pass by
9678 invisible reference.
9680 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
9682 * doc/cppopts.texi: Update.
9684 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
9686 * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
9687 warnings on assertions.
9689 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
9691 * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
9692 RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
9694 * c-parse.in (rid_to_yy): Similarly.
9696 2002-07-26 Jason Merrill <jason@redhat.com>
9698 * c-dump.c: Resurrect.
9699 * tree-dump.c: Move C-specific stuff to c-dump.c.
9700 * c-common.h: Declare c_dump_tree.
9701 * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
9702 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
9703 (c-dump.o): New rule.
9705 2002-07-26 Alan Modra <amodra@bigpond.net.au>
9707 * config/rs6000/rs6000.md: Enable patterns using rlwinm for
9708 PowerPC64. Replace "T" and "S" constraints with "n" when the
9709 predicate will do. Formatting fixes.
9710 (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
9711 as for extzvsi_internal1.
9713 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
9715 * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
9716 DERIV_END_LABEL_FMT): Remove.
9717 (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
9719 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
9721 * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
9724 2002-07-25 Stan Shebs <shebs@apple.com>
9726 * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
9728 (output_compiler_stub): Remove unused locals.
9729 (output_call): Always initialize line number.
9731 Thu Jul 25 20:34:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
9733 * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
9734 * sh.md (truncdiqi2, movqi_media): Likewise.
9736 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
9738 * gcse.c (obstack_chunk_alloc): Remove.
9739 (gcse_alloc): Fix to count allocated bytes.
9740 * collect2.c (SYMBOL__MAIN): Remove.
9742 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
9744 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
9745 HAVE_TARGET_EXECUTABLE_SUFFIX.
9747 Thu Jul 25 18:57:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
9749 * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
9750 SIZE, EXPR and OFFSET.
9752 2002-07-25 Richard Henderson <rth@redhat.com>
9754 * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
9755 in ARRAY_REF of DECL_P case.
9757 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
9759 * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
9760 description. Document -mips32, -mips64, and the associated -march
9761 values. Describe the "mipsN" arguments to -march. Say that the
9762 -mipsN options are equivalent to -march. Reword the description
9763 of default type sizes.
9764 * toplev.h (target_flags_explicit): Declare.
9765 * toplev.c (target_flags_explicit): New var.
9766 (set_target_switch): Update target_flags_explicit.
9767 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
9768 * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
9769 * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
9770 * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
9771 * config/mips/mips.h (mips_cpu_info): New struct.
9772 (mips_cpu_string, mips_explicit_type_size_string): Remove.
9773 (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
9774 (MIPS_CPP_SET_PROCESSOR): New macro.
9775 (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
9776 Define _MIPS_ARCH and _MIPS_TUNE.
9777 (MIPS_ISA_DEFAULT): Don't provide a default value. Instead...
9778 (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
9779 MIPS_ISA_DEFAULT were already defined.
9780 (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
9781 (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
9782 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
9783 (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
9784 (ABI_GAS_ASM_SPEC): Remove.
9785 (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
9786 (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
9787 Invoke %(asm_abi_default_spec) if no ABI was specified.
9788 (CC1_SPEC): Remove ISA -> register-size rules.
9789 (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec.
9790 * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
9791 (mips_cpu_string, mips_explicit_type_size_string): Remove.
9792 (mips_cpu_info_table): New array.
9793 (mips_set_architecture, mips_set_tune): New fns.
9794 (override_options): Rework to make -mipsN equivalent to -march.
9795 Detect more erroneous cases, including those removed from CC1_SPEC.
9796 Don't change the ABI based on architecture, or vice versa.
9797 Unify logic with GAS.
9798 (mips_asm_file_start): Get architecture name from mips_arch_info.
9799 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
9800 (mips_parse_cpu): Take the name of the option as argument. Handle
9801 'from-abi'. Raise an error if the option is wrong.
9802 (mips_cpu_info_from_isa): New fn.
9804 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
9806 * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
9807 (tablejump_mips162): Likewise.
9809 Thu Jul 25 10:23:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
9811 * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
9814 2002-07-25 Gabriel Dos Reis <gdr@nerim.net>
9816 * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
9818 * c-common.h (c_sizeof): Adjust definition.
9819 (c_alignof): Likewise.
9820 * c-tree.h (c_sizeof_nowarn): Now macro.
9821 * c-typeck.c (c_sizeof_nowarn): Remove definition.
9823 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
9825 * c-decl.c (c_decode_option): No need to handle switches
9828 2002-07-24 Zack Weinberg <zack@codesourcery.com>
9830 * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
9831 ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
9832 * doc/tm.texi: Document them. Also document SIZE_ASM_OP,
9833 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
9835 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
9836 config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
9837 config/cris/aout.h, config/i386/freebsd-aout.h,
9838 config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
9839 config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
9840 config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
9841 config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
9842 config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
9843 config/xtensa/elf.h, config/xtensa/linux.h:
9845 Where possible, remove redundant definitions of SIZE_ASM_OP,
9846 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
9848 2002-07-24 Aldy Hernandez <aldyh@redhat.com>
9850 * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
9851 TARGET_ISEL, and TARGET_FPRS.
9853 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
9854 -mabi=spe, -mabi=no-spe, and -misel=.
9856 * config/rs6000/rs6000-protos.h: Add output_isel.
9857 Move vrsave_operation prototype here.
9859 * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
9863 (abssi2_nopower): Disallow when TARGET_ISEL.
9865 (negsf2): Change to expand and rename old pattern to *negsf2.
9866 (abssf2): Change to expand and rename old pattern to *abssf2.
9868 New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
9871 Change patterns that check for TARGET_HARD_FLOAT or
9872 TARGET_SOFT_FLOAT to also check TARGET_FPRS.
9874 * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
9875 rs6000_isel, rs6000_fprs, rs6000_isel_string.
9876 (rs6000_override_options): Add 8540 case to
9877 processor_target_table.
9878 Set rs6000_isel for the 8540.
9879 Call rs6000_parse_isel_option.
9880 (enable_mask_for_builtins): New.
9881 (rs6000_parse_isel_option): New.
9882 (rs6000_parse_abi_options): Add spe and no-spe.
9883 (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
9884 (rs6000_legitimize_address): Check for TARGET_FPRS when checking
9885 for TARGET_HARD_FLOAT.
9886 Add case for SPE_VECTOR_MODE.
9887 (rs6000_legitimize_reload_address): Handle SPE vector modes.
9888 (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
9890 Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
9891 (rs6000_emit_move): Check for TARGET_FPRS.
9892 Add cases for SPE vector modes.
9893 (function_arg_boundary): Return 64 for SPE vector modes.
9894 (function_arg_advance): Check for TARGET_FPRS and
9896 (function_arg): Same.
9897 (setup_incoming_varargs): Check for TARGET_FPRS.
9898 (rs6000_va_arg): Same.
9899 (struct builtin_description): Un-constify mask field. Move up in
9901 (bdesc_2arg): Un-constify and add SPE builtins.
9903 (bdesc_spe_predicates): New.
9904 (bdesc_spe_evsel): New.
9905 (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
9906 (rs6000_expand_binop_builtin): Same.
9907 (bdesc_2arg_spe): New.
9908 (spe_expand_builtin): New.
9909 (spe_expand_predicate_builtin): New.
9910 (spe_expand_evsel_builtin): New.
9911 (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
9912 (rs6000_init_builtins): Initialize SPE builtins. Call
9913 rs6000_common_init_builtins.
9914 (altivec_init_builtins): Move all non-altivec builtin code to...
9915 (rs6000_common_init_builtins): ...here. New function.
9916 (branch_positive_comparison_operator): Allow NE code for SPE.
9917 (ccr_bit): Return correct ccr bit for SPE fp.
9918 (print_operand): Emit crnor in 'D' case for SPE.
9920 Add SPE code for 'y' case.
9921 (rs6000_generate_compare): Generate rtl for SPE fp.
9922 (output_cbranch): Handle SPE hard floats.
9923 (rs6000_emit_cmove): Handle isel.
9924 (rs6000_emit_int_cmove): New.
9926 (rs6000_stack_info): Adjust stack frame so GPRs are saved in
9928 (debug_stack_info): Add SPE info.
9929 (gen_frame_mem_offset): New.
9930 (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
9931 Change mode of frame pointer, when saving it, to Pmode.
9932 (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
9933 Misc cleanups and use gen_frame_mem_offset when appropriate.
9935 * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
9936 (TARGET_SPE_ABI): New.
9940 (FIXED_SCRATCH): New.
9941 (RTX_COSTS): Add PROCESSOR_PPC8540.
9942 (ASM_CPU_SPEC): Add case for 8540.
9943 (TARGET_OPTIONS): Add isel= case.
9944 (rs6000_spe_abi): New.
9947 (rs6000_isel_string): New.
9948 (UNITS_PER_SPE_WORD): New.
9949 (LOCAL_ALIGNMENT): Adjust for SPE.
9950 (HARD_REGNO_MODE_OK): Same.
9951 (DATA_ALIGNMENT): Same.
9952 (MEMBER_TYPE_FORCES_BLK): New.
9953 (FIRST_PSEUDO_REGISTER): Set to 113.
9954 (FIXED_REGISTERS): Add SPE registers.
9956 (REG_CLASS_NAMES): Same.
9957 (REG_CLASS_CONTENTS): Same.
9958 (REGNO_REG_CLASS): Same.
9959 (REGISTER_NAMES): Same.
9960 (DEBUG_REGISTER_NAMES): Same.
9961 (ADDITIONAL_REGISTER_NAMES): Same.
9962 (CALL_USED_REGISTERS): Same.
9963 (CALL_REALLY_USED_REGISTERS): Same.
9964 (SPE_ACC_REGNO): New.
9965 (SPEFSCR_REGNO): New.
9966 (SPE_SIMD_REGNO_P): New.
9967 (HARD_REGNO_NREGS): Adjust for SPE.
9968 (VECTOR_MODE_SUPPORTED_P): Same.
9969 (REGNO_REG_CLASS): Same.
9970 (FUNCTION_VALUE): Same.
9971 (LIBCALL_VALUE): Same.
9972 (LEGITIMATE_OFFSET_ADDRESS_P): Same.
9973 (SPE_VECTOR_MODE): New.
9974 (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
9975 the GPRs. Set FIXED_SCRATCH fixed in SPE case.
9976 (rs6000_stack): Add spe_gp_size, spe_padding_size,
9978 (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
9979 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
9980 (SPE_CONST_OFFSET_OK): New.
9981 (rs6000_builtins): Add SPE builtins.
9983 * testsuite/gcc.dg/ppc-spe.c: New.
9985 * config/rs6000/eabispe.h: New.
9987 * config/rs6000/spe.h: New.
9989 * config/rs600/spe.md: New.
9991 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
9992 __SIMD__ for TARGET_SPE.
9994 * config.gcc: Add powerpc-*-eabispe* case.
9995 Add spe.h to user headers for powerpc.
9997 2002-07-24 Chris Demetriou <cgd@broadcom.com>
9999 * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
10000 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
10001 * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
10003 2002-07-24 Richard Henderson <rth@redhat.com>
10005 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
10006 form when not optimizing.
10008 2002-07-24 David Mosberger <davidm@hpl.hp.com>
10010 * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
10011 thread_pointer_rtx as unchanging.
10013 2002-07-24 Michael Matz <matz@suse.de>
10015 * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
10016 (free_reg): Use it.
10018 2002-07-24 Richard Earnshaw <rearnsha@arm.com>
10020 * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
10022 (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
10023 (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
10025 2002-07-24 Chris Demetriou <cgd@broadcom.com>
10027 * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
10028 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
10029 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
10031 Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz>
10033 * toplev.c (rest_of_compilation): Dump loops before clobbering
10036 Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz>
10038 * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
10040 2002-07-24 Frank van der Linden <fvdl@wasabisystems.com>
10042 PR optimization/7291
10043 * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
10046 2002-07-24 Gabriel Dos Reis <gdr@nerim.net>
10048 * pretty-print.h: Add macros from cp/error.c
10050 2002-07-24 Alan Modra <amodra@bigpond.net.au>
10052 * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
10053 (mask64_2_operand): Declare.
10054 (build_mask64_2_operands): Declare.
10055 (and64_2_operand): Declare.
10056 (extract_MB): Declare.
10057 (extract_ME): Declare.
10058 * config/rs6000/rs6000.c (mask64_operand): Allow all ones. Remove
10060 (mask_operand_wrap): New insn predicate.
10061 (mask64_2_operand): Likewise.
10062 (and64_2_operand): Likewise.
10063 (build_mask64_2_operands): New function.
10064 (extract_MB): New function.
10065 (extract_ME): New function.
10066 (print_operand <case m,M>): Use extract_MB and extract_ME.
10067 (print_operand <case S>): Allow all ones. Remove CONST_DOUBLE support.
10068 * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
10069 (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
10070 mask64_2_operand. Remove CONST_DOUBLE from mask64_operand.
10071 * config/rs6000/rs6000.md (andsi3_internal3): New
10072 (andsi3_internal3+1): Enable split for powerpc64.
10073 (andsi3_internal3+2): New split.
10074 (andsi3_internal4): Renamed old andsi3_internal3.
10075 (andsi3_internal5): New.
10076 (andsi3_internal5+1): Enable split for powerpc64.
10077 (andsi3_internal5+2): New split.
10078 (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
10079 (anddi3): Handle 't' constraint.
10080 (anddi3+1): New split.
10081 (anddi3_internal2): Handle 't' constraint.
10082 (anddi3_internal2+1): New split.
10083 (anddi3_internal3): Handle 't' constraint.
10084 (anddi3_internal3+1): New split.
10086 2002-07-24 Alan Modra <amodra@bigpond.net.au>
10088 * config/rs6000/rs6000.md: Remove scratch reg on insns using
10089 addze and similar (plus (comparison r1 r2) r3) insns. Add
10090 missing scratch reg in one case. Formatting fixes.
10092 2002-07-24 Neil Booth <neil@daikokuya.co.uk>
10094 * cppexp.c (parse_defined): Mark macro used.
10095 * cpphash.h (struct cpp_macro): New member "used".
10096 (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
10097 (struct cpp_reader): New member.
10098 * cppinit.c (cpp_finish_options): Set first_unused_line.
10099 (cpp_finish): Warn of unused macros if requested.
10100 (OPT_TABLE): New switches.
10101 (cpp_handle_option): Handle them.
10102 * cpplib.c (do_undef): Warn if macro unused.
10103 (do_ifdef, do_ifndef): Mark macro used.
10104 * cpplib.h (struct cpp_options): New member.
10105 * cppmacro.c (_cpp_warn_if_unused_macro): New.
10106 (enter_macro_context): Mark macro used.
10107 (_cpp_create_definition): Mark macro unused; warn if unused
10109 * cpptrad.c (scan_out_logcial_line, push_replacement_text):
10111 * doc/cppopts.texi: Update.
10113 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
10115 * dwarf2out.c (SECTION_ASM_OP,
10116 ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
10117 * system.h (SECTION_ASM_OP): Poison.
10118 * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
10119 * config/alpha/alpha-interix.h, config/mips/linux.h
10120 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
10121 * config/mmix/mmix-protos.h, config/mmix/mmix.c
10122 (mmix_asm_output_define_label_difference_symbol): Remove.
10123 * config/mmix/mmix.h
10124 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
10125 * doc/tm.texi: Remove documentation.
10127 Tue Jul 23 21:49:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
10129 * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
10130 (constrain_operands): Likewise.
10131 * regclass.c (record_reg_classes): Likewise.
10132 * reload.c (find_reloads): Likewise.
10133 * doc/md.texi: Likewise.
10135 * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
10136 * simplify-rtx.c (simplify_subreg): When converting to a non-int
10137 mode, try to convert to an integer mode of matching size first.
10139 * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
10140 from individual subregs, check that each subreg has been generated
10143 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
10145 * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
10146 * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
10147 FOR_EACH_BB_IN_SBITMAP): Remove.
10148 * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
10149 * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
10150 LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
10151 * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
10152 PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
10153 * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
10155 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
10157 * pretty-print.h: New file.
10159 2002-07-23 Paul Koning <pkoning@equallogic.com>
10161 * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
10162 (LARGEST_EXPONENT_IS_NORMAL): Ditto.
10163 (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
10164 (TARGET_G_FLOAT): Default to 0 if not defined.
10165 (ieeetoe): New, common routine to convert target format floats
10167 (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
10169 (e113toe): Change to use ieeetoe.
10171 2002-07-23 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10173 * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
10175 (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
10176 (e64toe): Remove special cases for DEC and IBM. Remove support for
10177 ARM_EXTENDED_IEEE_FORMAT.
10178 (e24toe): Remove special cases for DEC.
10179 (significand_size): Simplify. Indent.
10180 (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
10181 (etoieee, toieee): New.
10182 (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
10183 etoieee and toieee for IEEE arithmetic.
10185 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
10187 * doc/extend.texi: Say ISO C90, not ISO C89.
10188 * doc/invoke.texi: Likewise.
10189 * doc/standards.texi: Likewise.
10191 2002-07-23 Steve Ellcey <sje@cup.hp.com>
10193 * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
10194 Fix permutation of conversion and plus/mult.
10195 * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
10196 ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
10197 (expand_builtin_strncpy) Ditto.
10198 (expand_builtin_memset) Ditto.
10200 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
10203 * c-common.c (c_sizeof_or_alignof_type): New function.
10204 (c_alignof): Remove definition.
10205 * c-common.h (c_sizeof, c_alignof): Define as macros.
10206 (c_sizeof_or_alignof_type): Declare.
10207 (my_friendly_assert): Moved from cp/cp-tree.h
10208 * c-typeck.c (c_sizeof): Remove definition.
10210 2002-07-23 Jan Hubicka <jh@suse.cz>
10212 * gcse.c (try_replace_reg): Use num_changes_pending.
10213 * recog.c (num_changes_pending): New function.
10214 (validate_replace_src): Use validate_repalce_src_group.
10215 (validate_replace_src_group): New.
10216 * recog.h (validate_repalce_src_group): New.
10217 (num_changes_pending): Likewise.
10219 Tue Jul 23 12:16:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
10221 * calls.c (emit_library_call_value_1): If
10222 FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
10223 libcall, const call nor pure call.
10225 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
10227 * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
10229 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
10231 * vmsdbgout.c (SECTION_ASM_OP): Remove.
10233 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
10235 * config/i386/i386.c (AT_BP): Remove.
10237 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
10239 * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
10240 Default definition.
10241 * gcse.c: Don't define obstack_chunk_free.
10242 * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
10243 flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
10244 integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
10245 reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
10246 Don't define obstack macros.
10248 2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
10251 * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
10252 ASM_OPERANDS instructions.
10254 2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
10257 * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
10258 constant addresses only on 68HC12.
10260 2002-07-22 Neil Booth <neil@daikokuya.co.uk>
10262 * cppfiles.c (stack_include_file): Correct test of whether
10263 a dependency should be output.
10265 2002-07-22 David Edelsohn <edelsohn@gnu.org>
10267 * collect2.c (is_ctor_dtor): Add other possible JOINER values.
10269 2002-07-22 Richard Earnshaw <rearnsha@arm.com>
10271 * arm.md (movqi): If optimizing and we can create pseudos, use
10272 a ZERO_EXTEND to load from memory, then copy the result into the
10274 (movhi): Likewise, but only for ARMv4.
10276 2002-07-22 Neil Booth <neil@daikokuya.co.uk>
10278 * ssa-ccp.c (PHI_PARMS): Remove.
10280 2002-07-22 Richard Sandiford <rsandifo@redhat.com>
10282 * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
10283 on big-endian targets.
10285 2002-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10287 * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
10288 HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
10289 HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
10290 New formatting macros.
10292 * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
10294 Mon Jul 22 15:27:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
10296 * rtlanal.c (subreg_regno_offset): Return correct offset for
10297 big endian paradoxical subregs.
10299 * optabs.c (expand_vector_unop): Don't expand using sub_optab
10300 if we got the wrong mode.
10302 * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
10303 * genrecog.c (write_switch, write_cond): Use it.
10304 * genemit.c (gen_exp): Likewise.
10306 2002-07-22 Jakub Jelinek <jakub@redhat.com>
10308 * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
10310 2002-07-22 Jakub Jelinek <jakub@redhat.com>
10312 * c-decl.c (build_compound_literal): Defer compound literal decls
10313 until until file end to emit them only if they are actually used.
10315 2002-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10317 * ra-build.c (check_conflict_numbers): Hide unused function.
10318 (livethrough_conflicts_bb): Avoid automatic aggregate
10320 (parts_to_webs_1): Avoid `U' integer constant modifier.
10321 (conflicts_between_webs): Wrap a variable in the macro controlling
10323 * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
10324 (dump_igraph, dump_graph_cost): Avoid string concatenation
10325 (dump_static_insn_cost): Avoid automatic aggregate
10327 * ra-rewrite.c (insert_stores): Avoid automatic aggregate
10329 (dump_cost): Avoid string concatenation
10331 2002-07-21 Richard Henderson <rth@redhat.com>
10333 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
10334 GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
10336 2002-07-21 Richard Henderson <rth@redhat.com>
10338 * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
10339 that are not unrolled completely.
10341 2002-07-21 Richard Henderson <rth@redhat.com>
10343 * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
10344 * loop.c (strength_reduce): Update.
10345 * toplev.c (rest_of_compilation): Do unrolling in the first
10346 loop pass, not the second.
10348 2002-07-21 Richard Henderson <rth@redhat.com>
10350 * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
10351 when flag_argument_noalias == 2.
10352 * alias.c (nonoverlapping_memrefs_p): Handle that.
10353 * print-rtl.c (print_mem_expr): Likewise.
10355 2002-07-21 Hartmut Schirmer <hartmut.schirmer@arcor.de>
10357 * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
10358 instead of __negdi2 directly.
10360 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
10362 * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
10363 * function.c (SYMBOL__MAIN): Remove definition.
10364 * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
10365 * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
10366 * profile.c (GCOV_INDEX_TO_BB): Remove.
10367 * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
10368 * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
10370 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
10372 * c-lex.c (GET_ENVIRONMENT): Remove.
10373 * collect2.c (GET_ENV_PATH_LIST): Remove.
10374 (prefix_from_env): Use GET_ENVIRONMENT.
10375 * cppinit.c (GET_ENV_PATH_LIST): Remove.
10376 (init_standard_includes): Use GET_ENVIRONMENT.
10377 * defaults.h (GET_ENVIRONMENT): Define here if not already.
10378 * gcc.c (GET_ENV_PATH_LIST): Remove.
10379 (make_relative_prefix, process_command): Update.
10380 * protoize.c (GET_ENV_PATH_LIST): Remove.
10381 (do_processing): Update.
10383 2002-07-21 Gabriel Dos Reis <gdr@nerim.net>
10385 * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
10386 (grokdeclarator): Likewise.
10387 * c-format.c (C_STD_NAME): Likewise.
10388 * c-lex.c (interpret_integer): Likewise.
10389 * c-typeck.c (build_array_ref): Likewise.
10390 * cpplex.c (_cpp_lex_direct): Likewise.
10391 * toplev.c (documented_lang_options): Likewise.
10393 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
10395 * c-format.c (T99_I, T99_UI): Remove.
10397 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
10399 * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
10401 Sun Jul 21 21:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
10403 * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
10406 2002-07-21 Andreas Jaeger <aj@suse.de>
10408 * reload1.c (fixup_abnormal_edges): Remove unused variable.
10410 2002-07-21 Bernd Schmidt <bernds@redhat.com>
10412 Improvements for the ifcvt pass from Michael Meissner, with patches
10413 by Richard Sandiford <rsandifo@redhat.com>
10414 * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
10415 * ifcvt.c (cond_exec_changed_p): New static variable.
10416 (last_active_insn): New function, renamed from last_active_insn_p
10417 and changed to return the last active insn in a basic block. All
10419 (block_fallthru): New function.
10420 (cond_exec_process_insns): New argument CE_INFO. Pass it to
10421 IFCVT_MODIFY_INSN. All callers updated.
10422 Return false if START or END are NULL.
10423 Handle case where we're processing an insn that is already
10426 (noce_process_if_block): CE_INFO argument rather than
10427 multiple args containing the involved basic blocks. All callers
10429 (process_if_block, merge_if_block, find_if_block,
10430 cond_exec_process_if_block): Likewise.
10432 (cond_exec_process_if_block): New arg DO_MULTIPLE_P. All callers
10434 Use new function last_active_insn to simplify some code.
10435 New code to handle multiple tests.
10436 Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
10437 cond_exec_changed_p to TRUE.
10439 (process_if_block): New code to handle multiple tests.
10440 (merge_if_block): Likewise.
10441 (find_if_header): New arg PASS. Changed to return the currently
10442 processed basic block or NULL instead of true/false. All callers
10444 Call IFCVT_INIT_EXTRA_FIELDS.
10445 (block_jumps_and_fallthru_p): New function.
10446 (find_if_block): Discover opportunities to convert multiple tests.
10447 Add additional debugging output.
10448 Update the ce_info structure before returning.
10450 (if_convert): Run multiple passes of if-conversion.
10451 * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
10452 IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
10453 IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
10456 Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka <jh@suse.cz>
10458 * gcse.c: Include cselib.h
10459 (constptop_register): Break out from ...
10460 (cprop_insn): ... here; kill basic_block argument.
10461 (do_local_cprop, local_cprop_pass): New functions.
10462 (one_cprop_pass): Call local_cprop_pass.
10464 2002-07-20 Roger Sayle <roger@eyesopen.com>
10466 * simplify-rtx.c (simplify_relational_operation): Optimize
10467 abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
10469 2002-07-20 Michae Matz <matz@suse.de>
10471 * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
10473 2002-07-20 Neil Booth <neil@daikokuya.co.uk>
10475 * cppexp.c (struct op): Add token pointer.
10476 (check_promotion, CHECK_PROMOTION): New.
10478 (_cpp_parse_expr): Update, use token pointer of struct op.
10479 (reduce): Warn about change of sign owing to promotion.
10480 * cppinit.c (cpp_handle_option): New warning if -Wall.
10481 * cpplib.h (struct cpp_options): New member.
10483 2002-07-19 David Edelsohn <edelsohn@gnu.org>
10485 * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
10486 fpu list. Separate Power4 compare and delayed_compare. Correct
10488 (fix_truncdfsi2_internal): Restore FPR preference.
10489 * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
10490 mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc.
10492 2002-07-19 Momchil Velikov <velco@fadata.bg>
10494 * reload1.c (reload_as_needed): Duplicate oldpat.
10496 2002-07-20 Alan Modra <amodra@bigpond.net.au>
10498 PR optimization/7130
10499 * loop.h (struct loop_info): Add "preconditioned".
10500 * unroll.c (unroll_loop): Set it.
10501 * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
10503 2002-07-19 Zack Weinberg <zack@codesourcery.com>
10505 * rtl.def (CODE_LABEL): Remove slot 8.
10506 * rtl.h (struct rtx_def): Document new uses of jump and call fields.
10507 (LABEL_ALTERNATE_NAME): Delete.
10508 (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
10509 * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
10511 * final.c (output_alternate_entry_point): New.
10512 (final_scan_insn): Use it instead of
10513 ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility
10514 of a case label being an alternate entry point.
10516 * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
10517 * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
10518 Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
10520 * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
10522 * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
10523 LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
10524 * doc/tm.texi: Delete documentation of
10525 ASM_OUTPUT_ALTERNATE_LABEL_NAME.
10527 2002-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10529 * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
10530 (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
10531 (LINK_SPEC): Define.
10532 (STARTFILE_SPEC): Define.
10533 (ENDFILE_SPEC): Define.
10535 * config/mips/iris6-o32.h (LINK_SPEC): Move ...
10536 * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
10538 * config/mips/iris6-o32-gas.h: New file.
10539 * config.gcc (mips-sgi-irix6*o32): Use it.
10541 * config/mips/t-iris5-gas: New file.
10542 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
10544 2002-07-19 Neil Booth <neil@daikokuya.co.uk>
10546 * cppexp.c (ALWAYS_EVAL): Remove.
10547 (optab, reduce): Always evaluate.
10548 (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
10549 only if not skipping evaluation.
10551 2002-07-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
10553 * config/avr/avr.c (debug_hard_reg_set): Remove.
10555 2002-07-19 Chris Demetriou <cgd@broadcom.com>
10557 * gcc.c (cpp_options): Include "%1" (cc1_spec).
10559 2002-07-19 Richard Henderson <rth@redhat.com>
10561 * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
10563 2002-07-19 Alan Modra <amodra@bigpond.net.au>
10565 * prefix.c (update_path): Don't zap single `.' path components
10566 unless followed by another `.' and fix typo last patch.
10568 2002-07-18 Neil Booth <neil@daikokuya.co.uk>
10570 * cppexp.c (cpp_num_mul): Remove unused parameter.
10571 (UNARY, BINARY, OTHER, binary_handler): Remove.
10572 (ALWAYS_EVAL): New.
10574 (reduce): Refactor to a large switch, don't use a function
10577 2002-07-18 Bo Thorsen <bo@berlioz.suse.de>
10579 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
10581 Thu Jul 18 19:39:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
10583 * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
10584 (sh_expand_binop_v2sf): Likewise.
10585 * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
10586 (int_gpr_dest, trunc_hi_operand): New functions.
10587 * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
10589 (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
10590 * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
10591 (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
10592 (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
10593 (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
10594 (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
10595 (extendhisi2_media+1, extendqisi2_media+1): Likewise.
10596 (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
10597 (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
10598 (movsf_ie+1): Likewise.
10599 (loaddi_trunc): Use int_gpr_dest predicate.
10600 (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
10601 (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
10602 (casesi_worker_0+[12], casesi_worker): Likewise.
10603 (shcompact_preserve_incoming_args): Likewise.
10604 (mov_nop): Use any_register_operand predicate.
10605 (mperm_w0): Use trunc_hi_operand predicate.
10607 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
10609 * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
10610 * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
10613 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
10615 * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
10617 2002-07-18 Richard Henderson <rth@redhat.com>
10619 PR optimization/7147
10620 * ifcvt.c (noce_get_condition): Make certain that the condition
10623 Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com>
10625 * sh.c (barrier_align, push): Shut up compiler warnings.
10626 (initial_elimination_offset,sh_media_init_builtins): Likewise.
10627 (reg_no_subreg_operand): Delete.
10629 2002-07-17 Bo Thorsen <bo@suse.de>
10631 * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
10632 (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
10633 (STARTFILE_SPEC): Remove hardcoded library paths.
10634 (ENDFILE_SPEC): Likewise.
10636 Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka <jh@suse.cz>
10638 * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached.
10640 * gcse.c (try_replace_reg): Do not return false positives.
10642 2002-07-18 Alan Modra <amodra@bigpond.net.au>
10644 * prefix.c: (update_path): Strip ".." components when prior dir
10645 doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
10647 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
10648 (ASM_OUTPUT_REG_POP): Likewise.
10650 2002-07-18 Alan Modra <amodra@bigpond.net.au>
10652 * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
10653 adjustments to first_reg for profiling case.
10654 (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
10655 Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
10656 Save static chain reg to sp + 12 on ABI_AIX_NODESC.
10657 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
10658 (ASM_OUTPUT_REG_POP): Define.
10659 * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
10660 (ASM_OUTPUT_REG_POP): Undef.
10662 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
10664 * cpplib.c (do_sccs): Handle #sccs on all systems.
10665 * system.h (SCCS_DIRECTIVE): Poison.
10666 * config/darwin.h, config/freebsd.h, config/netbsd.h,
10667 config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
10668 config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
10669 config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
10670 config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
10671 config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
10672 config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
10673 config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
10674 Remove all references to SCCS_DIRECTIVE.
10675 * doc/cpp.texi, doc/tm.texi: Update.
10677 Wed Jul 17 19:23:32 2002 J"orn Rennecke <joern.rennecke@superh.com>
10679 * regrename.c (maybe_mode_change): New function.
10680 (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
10682 2002-07-17 Rodney Brown <rbrown64@csc.com.au>
10684 * config/i386/i386.c (ix86_expand_int_movcc): In the general case
10685 suppress addition when either ct or cf are zero.
10687 2002-07-17 Eric Botcazou <ebotcazou@multimania.com>
10688 Glen Nakamura <glen@imodulo.com>
10690 PR optimization/6713
10691 * loop.c (loop_givs_rescan): Explicitly delete the insn that
10692 sets a non-replaceable giv after issuing the new one.
10694 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
10696 * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
10697 eval_token): Clarify and correct use of "bool" variables.
10698 * cpplib.h (struct cpp_options): Similarly.
10699 * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
10700 * cpptrad.c (recursive_macro): Similarly.
10702 Wed Jul 17 17:08:06 2002 J"orn Rennecke <joern.rennecke@superh.com>
10704 * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
10707 * sh.md (cmpgtudi_media): Remove spurious @.
10709 * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
10710 * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
10712 * config/sh/lib1funcs.asm (init_trampoline): New entry point.
10713 * sh-protos.h (sh_initialize_trampoline): Declare.
10714 * sh.c (sh_initialize_trampoline): New function.
10715 * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
10716 (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
10717 (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
10718 (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
10719 * sh.md (initialize_trampoline, double_shori): New patterns.
10720 (initialize_trampoline_compact): Likewise.
10721 (shmedia32_initialize_trampoline_big): Remove.
10722 (shmedia32_initialize_trampoline_little): Likewise.
10724 * sh-protos.h (binary_float_operator): Remove declaration.
10725 (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
10726 * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
10727 (unary_float_operator, sh_expand_unop_v2sf): New functions.
10728 (sh_expand_binop_v2sf): Likewise.
10729 (zero_vec_operand): Delete.
10730 (SH_BLTIN_UDI): New builtin shared signature define. Renumbered
10731 all non-shared ones.
10732 (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
10733 Enable nsb and byterev.
10734 * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
10735 (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode
10737 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
10738 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for
10739 immediate operands.
10740 (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
10742 (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
10743 lowpart fp regs - only for big endian for now.
10744 (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
10745 when FPU is in use.
10746 (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
10747 (LOAD_EXTEND_OP): NIL for SImode.
10748 (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between
10749 general and fp registers is 4.
10750 PREDICATE_CODES: Amend binary_float_operator entry.
10751 Remove zero_vec_operand. Add unary_float_operator.
10752 * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
10754 (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
10755 (truncdiqi2): Do sign extension.
10756 (movsi_media, movdi_media): Allow to use r63 to an fp register.
10757 (movdf_media, movsf_media): Likewise.
10758 (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
10759 Collapse to one define_insn_and_split. Allow immediate sources.
10760 (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
10761 (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg.
10762 (movv4sf): Allow immediate sources.
10763 (movsf_media_nofpu+1): Don't split moves to FP registers.
10764 (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
10765 (movv8qi_i+3): Check against CONST0_RTX.
10766 (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
10767 for input and output operands. Fix argument 3 to gen_mextr_rl.
10768 (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
10769 (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
10770 (mshf0_w, fipr, ftrv): Likewise.
10771 (mshfhi_l_di): Now insn_and_split. Can handle FP regs.
10773 2002-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
10775 * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
10776 NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed.
10777 * arm.c: Similarly.
10779 2002-07-17 Richard Sandiford <rsandifo@redhat.com>
10781 * config/mips/mips-protos.h (mips_sign_extend): Declare.
10782 * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
10783 (TARGET_SWITCHES): Remove debugh.
10784 (ISA_HAS_TRUNC_W): New macro.
10785 (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
10786 (PREDICATE_CODES): Remove se_nonimmediate_operand.
10787 * config/mips/mips.c (movdi_operand): Allow sign-extensions of
10788 any SImode move_operand.
10789 (se_nonimmediate_operand): Remove.
10790 (mips_sign_extend): New.
10791 (mips_move_2words): Use it for sign-extended source operands.
10792 (override_options): Allow integers to be put into single FPRs.
10793 (mips_secondary_reload_class): Handle integers in float registers.
10794 * config/mips/mips.md (extendsidi2): Turn into a define_expand.
10795 (fix_truncsfsi2, fix_truncdfsi2): Likewise.
10796 (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
10797 (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
10798 (fix_truncdfdi2): Provide only a single alternative, in which the
10799 integer is in a float register. Depend on TARGET_FLOAT64 rather
10801 (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
10802 (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
10803 (movdi_internal2): Don't allow the source operand to be sign-extended.
10804 Add alternatives for float registers.
10805 (*movdi_internal2_extend): New. Version of movdi_internal2 that
10806 allows sign-extension.
10807 (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
10808 (movsi_internal2): Rename to movsi_internal. Add alternatives for
10809 float registers. Remove TARGET_DEBUG_H_MODE test.
10810 (movhi_internal1): Rename to movhi_internal. Don't check
10811 TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints.
10812 (movqi_internal1): Rename to movqi_internal and remove
10813 TARGET_DEBUG_H_MODE dependency.
10814 (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
10816 2002-07-16 Jim Wilson <wilson@redhat.com>
10818 * toplev.c (lang_dependent_init): Create function context for
10821 2002-07-16 Hans-Peter Nilsson <hp@axis.com>
10823 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
10824 --gc-sections if -r.
10825 * config/cris/cris.h: Ditto.
10827 2002-07-16 Rodney Brown <rbrown64@csc.com.au>
10829 * config/i386/i386.c (ix86_expand_int_movcc): In the case where
10830 the comparison directly gives a mask suppress addition when cf is
10831 zero by complementing the mask.
10833 2002-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
10835 * Makefile.in: Delete references to enquire.
10836 * enquire.c: Move to contrib.
10838 2002-07-16 Stan Shebs <shebs@apple.com>
10840 * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
10841 config/rs6000/darwin.h.
10842 (ASM_OUTPUT_SKIP): Ditto.
10843 (TEXT_SECTION_ASM_OP): Ditto.
10844 (DATA_SECTION_ASM_OP): Ditto.
10845 (ASM_APP_ON): Define.
10846 (ASM_APP_OFF): Define.
10847 * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
10848 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
10850 * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
10851 (machopic_function_base_name): Declare result to be const.
10852 (machopic_non_lazy_ptr_name): Ditto.
10853 (machopic_stub_name): Ditto.
10854 * config/darwin-protos.h: Ditto for the prototypes.
10856 Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka <jh@suse.cz>
10858 * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
10860 Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz>
10862 * i386.md (prefetch): Fix for 64bit mode.
10863 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
10865 Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka <jh@suse.cz>
10867 * i386.h (MACHINE_DEPENDENT_REORG): New macro.
10868 * i386.c (x86_machine_dependent_reorg): New function.
10869 * i386-protos.h (x86_machine_dependent_reorg): Declare.
10871 2002-07-16 Zack Weinberg <zack@codesourcery.com>
10873 * builtins.c (std_expand_builtin_va_start): Remove unused
10875 (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
10876 std_expand_builtin_va_start with just two arguments.
10877 * expr.h: Update prototypes.
10879 * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
10880 arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
10881 i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
10882 m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
10883 mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
10884 rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
10885 s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
10886 sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
10887 xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first
10888 argument from all implementations of EXPAND_BUILTIN_VA_START
10889 and all uses of std_expand_builtin_va_start.
10891 Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
10893 * regrename.c (copy_value): Don't record high part copies.
10895 2002-07-16 Steve Ellcey <sje@cup.hp.com>
10897 * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
10898 (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
10899 * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
10901 2002-07-16 Ian Dall <ian@sibyl.beware.dropbear.id.au>
10903 * doc/invoke.texi (NS32K Options): Document -mieee-compare option
10905 * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
10906 into addsi3 using register class "x" and "y".
10908 * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
10909 "earlyclobber" constraint modifier for some alternative.
10911 * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
10912 (*ble, *blt): Flag to indicate bCOND and sCOND should check for
10914 config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
10916 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
10917 (TARGET_SWITCHES): Add -mieee-compare option.
10918 (OVERRIDE_OPTIONS): 32332 is a subset of
10919 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
10920 (TARGET_SWITCHES): Fix description of bit-field option.
10921 * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
10922 -mieee-compare option. Remove 32332 flag.
10924 2002-07-16 Steve Ellcey <sje@cup.hp.com>
10926 * explow.c (convert_memory_address): Remove special handling
10927 when POINTERS_EXTEND_UNSIGNED < 0.
10928 * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
10929 (movedi_symbolic): Fix typo.
10930 (load_fptr): Remove mode restriction so it works for SI and DI.
10931 (load_fptr_internal1): Ditto.
10932 (load_gprel): Ditto.
10933 (load_symptr_internal1): Ditto.
10935 * config/ia64.c (call_operand): Modify mode check.
10936 (ia64_expand_load_address): Handle DI and SI addresses and symbols.
10937 (ia64_expand_move): Ditto.
10938 (ia64_assemble_integer): Handle SImode function pointers.
10939 (ia64_expand_fetch_and_op): Handle SImode mem addresses.
10940 (ia64_expand_op_and_fetch): Ditto.
10941 (ia64_expand_compare_and_swap): Ditto.
10942 (ia64_expand_lock_test_and_set): Ditto.
10943 (ia64_expand_lock_release): Ditto.
10945 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
10947 * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
10949 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
10950 Richard Earnshaw <rearnsha@arm.com>
10952 * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
10953 CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic.
10955 2002-07-16 Richard Earnshaw <rearnsha@arm.com>
10957 * arm.md (stack_tie): New insn. Use an idiom that the alias code
10958 understands to be a memory clobber.
10959 * arm.c (arm_expand_prologue): Use it.
10961 2002-07-16 Daniel Berlin <dberlin@dberlin.org>
10963 * ra-rewrite.c: #include reload.h, insn-config.h
10964 * ra-build.c: #include reload.h
10965 * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
10966 depend on reload.h, insn-config.h.
10968 Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
10970 * expr.c (emit_move_insn_1): Handle arbitrary moves that are
10971 the same size as a word.
10973 * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
10974 BYTES_BIG_ENDIAN into account.
10976 Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka <jh@suse.cz>
10978 * i386.md (prefetch): Fix for 64bit mode.
10979 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
10981 * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
10983 2002-07-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
10985 * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
10987 2002-07-15 Zack Weinberg <zack@codesourcery.com>
10989 * ginclude/varargs.h: Replace with stub which issues #error.
10990 * ginclude/stdarg.h: __builtin_stdarg_start is renamed
10991 __builtin_va_start.
10993 * builtins.def (BUILT_IN_VARARGS_START): Delete.
10994 (BUILT_IN_VA_START): New.
10995 * builtins.c (expand_builtin_va_start): Eliminate first
10996 argument and code to implement pre-ISO varargs.
10997 (std_expand_builtin_va_start): Ignore first argument; it is
10999 (expand_builtin): Handle BUILT_IN_VA_START and
11000 BUILT_IN_STDARG_START identically. Delete
11001 BUILT_IN_VARARGS_START case.
11003 * function.c (assign_parms): Delete hide_last_arg and all
11005 (mark_varargs): Delete function.
11006 * function.h (struct function): Delete 'varargs' bit.
11007 (current_function_varargs): Delete macro.
11008 * tree.h: Don't declare mark_varargs.
11010 * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
11011 (c_expand_body): Don't call mark_varargs.
11012 * c-objc-common.c: Handle BUILT_IN_VA_START and
11013 BUILT_IN_STDARG_START identically. Delete
11014 BUILT_IN_VARARGS_START case.
11015 * c-tree.h: Don't declare c_mark_varargs.
11016 * c-parse.in: Remove grammar rules for '&...' (which has been
11017 commented out since before 2.7.2) and for '...' in K+R
11018 argument declarations.
11020 * builtins.c, function.c, integrate.c, sibcall.c,
11021 config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
11022 config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
11023 config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
11024 config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
11025 config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
11026 config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
11027 config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
11028 config/stormy16/stormy16.c: Delete all references to
11029 current_function_varargs, and code predicated on that flag.
11031 * config/alpha/alpha.c (alpha_va_start),
11032 config/arc/arc.c (arc_va_start),
11033 config/i386/i386.c (ix86_va_start),
11034 config/mips/mips.c (mips_va_start),
11035 config/mn10300/mn10300.c (mn10300_va_start),
11036 config/rs6000/rs6000.c (rs6000_va_start),
11037 config/s390/s390.c (s390_va_start),
11038 config/sh/sh.c (sh_va_start),
11039 Ignore first argument; it is always 1.
11041 * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
11042 * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
11043 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
11044 Delete m68hc11_va_start.
11045 * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
11046 No need to define EXPAND_BUILTIN_VA_START.
11048 * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
11049 doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
11051 2002-07-15 Eric Botcazou <ebotcazou@multimania.com>
11053 PR optimization/7153
11054 * regmove.c (optimize_reg_copy_3): Don't optimize if the register
11055 dies in more than one insn.
11057 2002-07-15 Jason Thorpe <thorpej@wasabisystems.com>
11059 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
11061 2002-07-15 Michael Matz <matz@suse.de>,
11062 Daniel Berlin <dberlin@dberlin.org>,
11063 Denis Chertykov <denisc@overta.ru>
11065 Add a new register allocator.
11069 * ra-build.c: New file.
11070 * ra-colorize.c: New file.
11071 * ra-debug.c: New file.
11072 * ra-rewrite.c: New file.
11074 * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
11075 (ra-rewrite.o): New .o files for libbackend.a.
11076 (GTFILES): Add basic-block.h.
11078 * toplev.c (flag_new_regalloc): New.
11079 (f_options): New option "new-ra".
11080 (rest_of_compilation): Call initialize_uninitialized_subregs()
11081 only for the old allocator. If flag_new_regalloc is set, call
11082 new allocator, instead of local_alloc(), global_alloc() and
11085 * doc/invoke.texi: Document -fnew-ra.
11086 * basic-block.h (FOR_ALL_BB): New.
11087 * config/rs6000/rs6000.c (print_operand): Write small constants
11090 * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
11091 (df_reg_table_realloc): Make size at least as large as max_reg_num().
11092 (df_insn_table_realloc): Size argument now is absolute, not relative.
11093 Changed all callers.
11095 * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
11096 * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
11098 2002-06-20 Michael Matz <matz@suse.de>
11100 * df.h (struct ref.id): Make unsigned.
11101 * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
11103 2002-06-13 Michael Matz <matz@suse.de>
11105 * df.h (DF_REF_MODE_CHANGE): New flag.
11106 * df.c (df_def_record_1, df_uses_record): Set this flag for refs
11107 involving subregs with invalid mode changes, when
11108 CLASS_CANNOT_CHANGE_MODE is defined.
11110 2002-05-07 Michael Matz <matz@suse.de>
11112 * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
11114 2002-05-03 Michael Matz <matz@suse.de>
11116 * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
11118 Sat Feb 2 18:58:07 2002 Denis Chertykov <denisc@overta.ru>
11120 * regclass.c (regclass): Work with all regs which have sets or
11122 (reg_scan_mark_refs): Count regs inside (clobber ...).
11124 2002-01-04 Michael Matz <matzmich@cs.tu-berlin.de>
11126 * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
11127 (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
11129 (df_bb_refs_update): Don't clear insns_modified here, ...
11130 (df_analyse): ... but here.
11132 * sbitmap.c (dump_sbitmap_file): New.
11133 (debug_sbitmap): Use it.
11135 * sbitmap.h (dump_sbitmap_file): Add prototype.
11137 2001-08-07 Daniel Berlin <dan@cgsoftware.com>
11139 * df.c (df_insn_modify): Grow the UID table if necessary, rather
11140 than assume all emits go through df_insns_modify.
11142 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
11144 * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
11145 increase REG_N_REFS (like flow does), so that regclass doesn't
11146 think a reg is useless, and thus, not calculate a class, when it
11147 really should have.
11149 2001-01-28 Daniel Berlin <dberlin@redhat.com>
11151 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
11154 2002-07-15 Jakub Jelinek <jakub@redhat.com>
11157 * config/i386/i386.c (const_int_1_31_operand): New.
11158 * config/i386/i386.h (PREDICATE_CODES): Add it.
11159 * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
11160 ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
11161 lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
11163 2002-07-14 Alan Modra <amodra@bigpond.net.au>
11166 * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
11167 (floatunssidf2): Likewise.
11168 (floatsidf_ppc64): New insn_and_split.
11169 (floatunssidf_ppc64): Likewise.
11171 2002-07-14 Andreas Jaeger <aj@suse.de>
11173 * config.gcc (sh64): Remove unused
11174 target_requires_64bit_host_wide_int.
11176 2002-07-12 Roger Sayle <roger@eyesopen.com>
11178 * expr.c [CLEAR_RATIO]: New macro defining the maximum number
11179 of move instructions to use when clearing memory, c.f. MOVE_RATIO.
11180 [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
11181 whether clear_by_pieces should be used to clear storage.
11182 (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
11184 * doc/tm.texi: Document these two new target macros.
11186 2002-07-12 Stephane Carrez <stcarrez@nerim.fr>
11188 * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
11189 the scratch register.
11190 ("*movhi2_push"): Accept Z_REG because a split pattern can make use
11191 of it, forbid reload to use it.
11193 2002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl>
11195 * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
11196 usage on 64-bit hosts, return value was truncated to 32 bits.
11198 Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com>
11200 * simplify-rtx.c (simplify_subreg): Handle floating point
11201 CONST_DOUBLEs. When an integer subreg of a smaller mode than
11202 the element mode is requested, compute a subreg with an
11203 integer mode of the same size as the element mode first.
11205 Thu Jul 11 22:02:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
11207 * combine.c (try_combine): When converting a paradoxical subreg
11208 to an extension, take LOAD_EXTEND_OP into account.
11210 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11212 * config.gcc (mips-sgi-irix6*o32): New configuration.
11214 * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
11216 * configure: Regenerate.
11218 * config/mips/iris6-o32-as.h: New file.
11219 * config/mips/iris6-o32.h: New file.
11221 * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
11222 (NM_FLAGS): Define.
11223 (HAVE_AS_SHF_MERGE): Undefine.
11225 * config/mips/t-iris5-as: New file.
11226 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
11228 * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
11229 SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
11230 SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
11231 dp-bit.c, fp-bit.c): Move ...
11232 * config/mips/t-iris5-6: ... here.
11233 New file, shared by IRIX 5 and IRIX 6.
11234 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
11235 mips-sgi-irix5*): Use it.
11237 * config/mips/iris6.h: Remove duplicate comment.
11239 * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
11240 !TARGET_IRIX6]: Define.
11241 (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
11243 * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
11245 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
11247 * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
11248 and delete code to force constant to register.
11249 * pa-protos.h (adddi3_operand): Add prototype.
11250 * pa.c (adddi3_operand): New function.
11252 2002-07-11 Roger Sayle <roger@eyesopen.com>
11254 * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
11255 non-ANSI builtin functions.
11257 Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com>
11259 * rtl.h (gen_rtx_CONST_VECTOR): Declare.
11260 * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
11261 * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
11262 (gen_const_vector_0): Use it.
11264 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
11266 * pa.md (adddi3): For 32-bit targets, force constants to a register
11267 if they don't fit in an 11-bit immediate. Change insn predicate to
11268 arith11_operand. Remove comment.
11269 * pa.c (cint_ok_for_move): Fix comment.
11270 (emit_move_sequence): Don't directly split DImode constants on 32-bit
11273 2002-07-11 Tim Josling <tej@melbpc.org.au>
11275 Remove front end hard coding from gengtype.c.
11278 (STAGESTUFF): add gtyp-gen.h
11279 (GTFILES): Remove front end specific files.
11280 (GTFILES_FILES_LANGS): New, from configure..
11281 (GTFILES_FILES_FILES): Likewise.
11282 (GTFILES_LANG_DIR_NAMES): Likewise.
11283 (GTFILES_SRCDIR): Likewise.
11284 (gtyp-gen.h): Build from configure information.
11285 (s-gtype): Remove command line parameters from gengtype.
11286 (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
11287 (mostlyclean): Delete files generated by and for gengtype.
11289 * c-config-lang.in: New file.
11291 * configure.in (all_gtfiles_files_langs): New. Accumulate files
11293 (all_gtfiles_files_files): New. Accumulate language for each file
11295 (gtfiles): Pick up value for C.
11296 (srcdir): AC-SUBST this variable.
11297 (all_gtfiles_files_langs): AC-SUBST this variable.
11298 (all_gtfiles_files_files): AC-SUBST this variable.
11300 * configure: Regenerate.
11302 * gengtype-lex.l (parse_file): Make parameter const.
11304 * gengtype.c (toplevel): include gtyp-gen.h.
11305 (BASE_FILE_<language> unnamed enum): Delete.
11306 (lang_names): Delete (replaced by gtyp-gen.h)
11307 (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
11309 (NUM_GT_FILES): New.
11310 (NUM_LANG_FILES): New.
11312 (NUM_BASE_FILES): Change calculation.
11313 (open_base_files): Change prototype to avoid warning.
11314 (startswith): Delete.
11315 (get_file_basename): Iterate through generated language list not
11317 (get_base_file_bitmap): Use generated list of files and languages.
11318 (close_output_files): Add prototype to rmove warning.
11319 (main): Iterate through list of generated files from gtyp-gen.h
11320 rather than command line paramaters. Ignore duplicated file
11323 * gengtype.h (parse_file): Amend prototype for const parameter.
11325 * doc/sourcebuild.texi: Document gtfiles variable.
11327 * doc/gty.texi: Document changes to gtfiles variable for front
11330 * objc/config-lang.in (gtfiles): Add files needed for objc front
11333 2002-07-10 Roger Sayle <roger@eyesopen.com>
11336 * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
11337 to SUBREGs of MEMs. (num_sign_bit_copies): Likewise.
11339 2002-07-10 Roger Sayle <roger@eyesopen.com>
11340 Zack Weinberg <zack@codesourcery.com>
11342 * builtins.def: Make the argument types of abort and exit
11343 independent of the front-end.
11345 2002-07-11 Alan Modra <amodra@bigpond.net.au>
11347 * config/rs6000/linux64.h (ASM_SPEC): Define.
11349 2002-07-10 Aldy Hernandez <aldyh@redhat.com>
11351 * config/rs6000/rs6000.c (emit_frame_save): New.
11352 (rs6000_frame_related): Replace reg2 before reg.
11353 (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
11354 and eh_return registers.
11356 2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
11358 Revert all patches for optimization of Complex .op. Real.
11359 * complex_part_zero_p: Remove
11360 * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
11362 * expand_cmplxdiv_wide: Ditto.
11363 * expand_binop: Ditto.
11365 2002-07-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
11367 * config/avr/avr.md: Fix two 0x80000000 constants to make them
11368 negative also on 64-bit hosts.
11370 Default to -fno-reorder-blocks when optimizing for size.
11371 * config/avr/avr-protos.h (avr_optimization_options): Declare.
11372 * config/avr/avr.c (avr_optimization_options): New function.
11373 * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
11375 Optimize returning from simple functions.
11376 * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
11377 * config/avr/avr.c (avr_simple_epilogue): New function.
11378 * config/avr/avr.md (return): New insn.
11380 2002-07-10 Douglas B Rupp <rupp@gnat.com>
11382 * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
11383 HAS_INIT_SECTION to protection.
11385 2002-07-10 Mark Mitchell <mark@codesourcery.com>
11387 * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
11390 Wed Jul 10 19:50:03 2002 J"orn Rennecke <joern.rennecke@superh.com>
11392 * combine.c (gen_lowpart_for_combine): Handle vector modes.
11393 Supply non-VOID mode to simplify_gen_subreg.
11395 Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka <jh@suse.cz>
11397 * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
11399 2002-07-10 Jeffrey A Law <law@redhat.com>
11401 * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
11404 * mn10200.c (expand_epilogue): Fix test to determine which scratch
11407 Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com>
11409 * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
11410 Get mode from dest.
11411 If simplify_gen_subreg fails, try next equivalent.
11413 2002-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
11415 * diagnostic.h: #include location.h
11416 (location_t): Move definition to..
11417 * location.h: ... here. New file.
11418 * tree.h: #include location.h
11419 (DECL_SOURCE_LOCATION): New macro.
11420 (DECL_SOURCE_FILE): Use.
11421 (DECL_SOURCE_LINE): Likewise.
11422 (struct tree_decl): REplace filename and linenum with locus.
11423 * Makefile.in (TREE_H): add location.h
11424 (diagnostic.o): Depends on gt-location.h
11425 (gt-location.h): Depends on s-gtype
11427 2002-07-09 Matt Kraai <kraai@alumni.cmu.edu>
11429 * config/rs6000/aix.h: Convert CPP_PREDEFINES to
11430 TARGET_OS_CPP_BUILTINS.
11431 * config/rs6000/aix31.h: Likewise.
11432 * config/rs6000/aix41.h: Likewise.
11433 * config/rs6000/aix43.h: Likewise.
11434 * config/rs6000/aix51.h: Likewise.
11435 * config/rs6000/beos.h: Likewise.
11436 * config/rs6000/darwin.h: Likewise.
11437 * config/rs6000/eabi.h: Likewise.
11438 * config/rs6000/eabisim.h: Likewise.
11439 * config/rs6000/linux.h: Likewise.
11440 * config/rs6000/linux64.h: Likewise.
11441 * config/rs6000/lynx.h: Likewise.
11442 * config/rs6000/mach.h: Likewise.
11443 * config/rs6000/rtems.h: Likewise.
11444 * config/rs6000/sysv4.h: Likewise.
11445 * config/rs6000/vxppc.h: Likewise.
11447 2002-07-09 Devang Patel <dpatel@apple.com>
11448 * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
11449 Do not allow ObjC objects as a parameter type for Objective-C methods.
11450 My previous patch restricted 'struct' also.
11452 2002-07-09 Neil Booth <neil@daikokuya.co.uk>
11454 * cpperror.c (cpp_error): Default to directive_line within
11456 * cppexp.c (cpp_interpret_integer): Only use traditional
11457 number semantics in directives.
11458 * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
11459 (do_include_common): Similarly.
11460 * cpptrad.c (scan_out_logical_line): Implement accurate
11461 quoting of <> in #include.
11462 * doc/cpp.texi: Update.
11464 Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
11465 J"orn Rennecke <joern.rennecke@superh.com>
11467 * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
11468 * sh.md (attribute issues): Replace with:
11469 (attribute pipe_model). All users changed.
11470 (attribute type): Change pt / ptabs to pt_media / ptabs_media.
11472 (function units sh5issue, sh5fds): New.
11473 (attribute is_mac_media): New.
11474 (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
11475 (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
11476 (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
11477 (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
11478 (call_media, call_value_media, sibcall_media): Likewise.
11479 (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
11480 (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
11481 (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
11482 (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
11483 (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
11484 (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
11485 (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
11486 (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
11487 (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
11488 (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
11489 (truncdfsf2_media): Likewise.
11490 (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
11491 (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
11493 Tue Jul 9 21:39:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
11495 * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
11496 * sh.c (general_extend_operand, inqhi_operand): New functions.
11497 * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
11498 alternatives using 'N' modifier. Add type.
11499 (adddi3z_media): Likewise. Enable generator function generation.
11500 (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
11501 exact predicates / constraints. Add type.
11502 (subsi3): Allow 0 for SHMEDIA.
11503 (udivsi3_i4_media): Use match_operand for input values
11504 rather than hard registers.
11505 (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
11506 unnecessarily through hard registers. Keep copies of pseudo
11507 registers outside of the libcall sequence.
11508 (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type.
11509 (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
11510 (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
11511 (extendhidi2, extendqidi2): Likewise.
11512 (andsi3_compact): Name.
11513 (andcdi3): Enable generator function generation.
11514 (zero_extendhisi2, zero_extendqisi2): Rename to
11515 (zero_extendhisi2_compact, zero_extendqisi2_compact).
11516 (extendhisi2, extendqisi2): Rename to
11517 (extendhisi2_compact, extendqisi2_compact).
11518 (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
11519 (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
11520 (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
11521 (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
11522 (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
11523 (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
11524 (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
11525 (shmedia32_initialize_trampoline_big): Likewise.
11526 (shmedia32_initialize_trampoline_little): Likewise.
11527 (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
11528 (negdi2): Remove spurious T clobber.
11529 (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
11530 (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
11531 (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
11532 (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
11533 (ic_invalidate_line_media): Write back data cache before invalidating
11534 instruction cache. Add type.
11535 (movsf_media): Sign-extend when the destination is a general
11536 purpose register. Add type.
11537 (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
11538 (casesi_worker_0+1): Only increment ref count for proper label.
11539 (casesi_worker_0+2): Likewise.
11541 2002-07-09 Mark Mitchell <mark@codesourcery.com>
11543 * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
11545 2002-07-09 Steve Ellcey <sje@cup.hp.com>
11547 * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
11548 from Pmode to ptr_mode.
11549 (get_exception_pointer): Ditto.
11550 (connect_post_landing_pads): Ditto.
11551 (dw2_build_landing_pads): Ditto.
11553 2002-07-08 Steve Ellcey <sje@cup.hp.com>
11554 * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
11555 * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
11556 (handle_pragma_redefine_extname): Change to use new function.
11558 2002-07-08 Roger Sayle <roger@eyesopen.com>
11560 * combine.c (combine_simplify_rtx): Add an explicit cast
11561 to avoid signed/unsigned comparison warning.
11562 (simplify_if_then_else): Likewise.
11563 (extended_count): Likewise.
11564 (simplify_shift_const): Likewise.
11565 (simplify_comparison): Likewise.
11567 2002-07-08 Richard Sandiford <rsandifo@redhat.com>
11569 * config/mips/mips.md: Add imadd type. Update scheduler description
11570 to use imadd as well as imul.
11571 (*mul_acc_si, *madsi): Change imul alternatives to imadd.
11572 (*mul_acc_di, *mul_acc_64bit_di): Likewise.
11573 (*mul_sub_si): Likewise for first alternative. Change second
11574 alternative from imul to multi.
11576 2002-07-07 Neil Booth <neil@daikokuya.co.uk>
11578 * c-common.c (c_common_post_options): Update prototype;
11579 don't init backends if preprocessing only.
11580 * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
11581 * langhooks.h (struct lang_hooks): Update post_options to
11583 * toplev.c (parse_options_and_default_flags, do_compile,
11584 lang_independent_init): Update prototypes. Allow the
11585 front end to specify that there is no need to initialize
11587 (general_init): Move call to hex_init here...
11588 (toplev_main): ...from here. Pass flag for back end init
11591 Sun Jul 7 20:38:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
11593 * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
11594 (PREDICATE_CODES): Add entries for equality_comparison_operator,
11595 greater_comparison_operator and less_comparison_operator.
11596 * sh.c (print_operand): Add '\'' code. Make 'o' handle
11598 (equality_comparison_operator): New function.
11599 (greater_comparison_operator, less_comparison_operator): Likewise.
11600 * sh.md (beq_media_i): Disable generator function generation.
11601 Use match_operator to handle a whole class of comparisons. Add
11602 modifier in output template to provide branch prediction. Add type.
11603 (bgt_media_i, ble_media_i): Likewise. Allow zero operands.
11604 (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
11605 (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
11606 (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
11608 2002-07-07 Hans-Peter Nilsson <hp@bitrange.com>
11610 Emit MMIX function prologue and epilogue as rtl.
11611 * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
11612 not unprototyped get_hard_reg_initial_val.
11613 ("call_value", "nonlocal_goto_receiver"): Ditto.
11614 ("return"): Make define_expand. Move real insn to...
11615 ("*expanded_return"): New pattern.
11616 ("prologue", "epilogue"): New define_expands.
11617 * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
11618 (struct machine_function): New member in_prologue.
11619 (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
11620 (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
11621 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
11622 (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
11623 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
11624 (LOCAL_REGNO): Define. Adjust comment.
11625 * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
11626 Consider regs_ever_live[MMIX_rJ_REGNUM], not just
11628 (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
11630 (mmix_target_asm_function_prologue): Make static. Just mark that
11631 the prologue is being emitted. Move guts to...
11632 (mmix_expand_prologue): New function. Adjust for emitting
11633 prologue as rtl. For sizes, use HOST_WIDE_INT only.
11634 (mmix_target_asm_function_epilogue): Make static. Simply emit a
11635 \n. Move guts to...
11636 (mmix_expand_epilogue): New function. Adjust for emitting
11637 epilogue as rtl. For sizes, use HOST_WIDE_INT only.
11638 (mmix_target_asm_function_end_prologue): Mark that the prologue
11640 (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
11641 (mmix_conditional_register_usage): Improve comments.
11642 (mmix_local_regno): New function.
11643 (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
11644 * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
11645 (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
11646 (mmix_get_hard_reg_initial_val): Ditto.
11648 2002-07-06 Andreas Jaeger <aj@suse.de>
11650 * toplev.c (set_fast_math_flags): Don't use ISO C style function
11652 * gengtype.c (open_base_files): Likewise.
11653 (close_output_files): Likewise.
11654 * tracer.c (find_best_predecessor): Likewise.
11655 (find_best_successor): Likewise.
11656 (ignore_bb_p): Likewise.
11658 2002-07-05 Roger Sayle <roger@eyesopen.com>
11661 * builtin-attrs.def: Define new attribute lists for use in
11663 * builtins.def [DEF_BUILTIN]: Modify to take an additional
11664 ATTRS argument, an enumerated value defined in builtin-attrs.def
11665 that represents the attribute list for the builtins. Modify
11666 all builtin functions to pass an appropriate attribute list.
11667 Specify "abort", "exit", "_exit" and "_Exit" builtins here with
11668 their required noreturn attributes.
11669 * tree.h (enum_builtin_function): Ignore the additional parameter
11671 * builtins.c (built_in_names): Likewise.
11672 * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
11673 argument with a tree representing the functions attribute list.
11674 Pass this "attrs" argument to builtin_function. No longer handle
11675 the noreturn_p processing manually.
11676 (built_in_attributes): Move the definitions from builtin-attrs.def
11677 before c_common_nodes_and_builtins.
11678 (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
11679 DEF_BUILTIN, passing it to both builtin_function and the changed
11680 builtin_function_2.
11682 * doc/extend.texi: Document __builtin_abort, __builtin_exit,
11683 __builtin__exit and __builtin__Exit.
11685 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
11687 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
11688 QI mode registers in soft registers.
11689 ("zero_extendqihi2"): Do not take into account soft registers
11690 for register allocation (use '*' constraint).
11692 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
11694 * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
11696 ("*ashrsi3"): Likewise.
11697 ("*lshrsi3"): Likewise.
11699 2002-07-05 Vladimir Makarov <vmakarov@redhat.com>
11701 * genautomata.c (output_max_insn_queue_index_def): Take latencies
11704 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
11706 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
11707 address computation and memory moves.
11709 2002-07-03 Mark Mitchell <mark@codesourcery.com>
11712 * dwarfout.c (output_reg_number): Fix warning message.
11713 (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
11716 2002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11718 * gcc/gcc.c (asm_debug): Move initialization ...
11719 (init_spec): ... here.
11721 2002-07-05 Nathan Sidwell <nathan@codesourcery.com>
11723 * c-parse.in (extdef): Append ';'.
11724 (old_style_parm_decls): Append ';'.
11726 2002-07-04 Daniel Jacobowitz <drow@mvista.com>
11728 * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
11729 gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
11730 to gcc_cv_as_gstabs_flag.
11731 * configure: Rebuilt.
11733 2002-07-04 Geoffrey Keating <geoffk@redhat.com>
11735 * ggc.h (ggc_add_root): Document as obsolete.
11737 Thu Jul 4 07:58:01 2002 J"orn Rennecke <joern.rennecke@superh.com>
11739 * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
11740 (mshflo_w): Likewise.
11742 Thu Jul 4 07:36:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
11744 * simplify-rtx.c (simplify_subreg): Reduce problem of finding
11745 vector mode subregs of constants to finding integer mode
11746 subregs of constants.
11747 * cse.c (cse_insn): Use simplify_gen_subreg.
11748 * convert.c (convert_to_integer): Don't strip a NOP_EXPR
11749 From a vector mode expression of different size than the
11752 2002-07-03 Eric Christopher <echristo@redhat.com>
11754 * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
11755 * config/mips/mips.h: Remove deprecated -m<processor> options
11756 and cc1_cpu_spec associated.
11757 (CONSTANT_ADDRESS_P): Fix last patch.
11758 (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
11759 * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
11762 2002-07-03 Stan Shebs <shebs@apple.com>
11764 * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
11765 (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
11766 (CPP_SPEC): Remove insertion of APPLE_CC definition.
11768 2002-07-03 Roger Sayle <roger@eyesopen.com>
11770 * combine.c (struct_undo): Change types of recorded substitutions
11771 to be either "int" or "rtx", instead of "unsigned int" and "rtx".
11772 (do_SUBST_INT): Change types of the substitution from unsigned int
11773 to int, to avoid compilation warning from SUBST_INT's only caller.
11775 (make_extraction): Add cast to avoid compilation warning.
11776 (force_to_mode): Remove cast to avoid compilation warning.
11778 2002-07-03 Eric Botcazou <ebotcazou@multimania.com>
11779 Jeff Law <law@redhat.com>
11781 * i386.md (length_immediate attribute): Fix typo.
11782 (length_address attribute): Likewise.
11783 (modrm attribute): Set it to 0 for immediate call instructions.
11784 (jcc_1 pattern): Set modrm attribute to 0.
11785 (jcc_2 pattern ): Likewise.
11786 (jump pattern): Likewise.
11787 (doloop_end_internal pattern): Explicitly set length.
11788 (leave pattern): Fix typo.
11789 (leave_rex64 pattern): Likewise.
11791 2002-07-03 David Edelsohn <edelsohn@gnu.org>
11793 * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
11794 in FPR as preference.
11796 (floatdidf2, fix_truncdfdi2): Same.
11797 (floatdisf2, floatditf2, fix_trunctfdi2): Same.
11798 (floatditf2): Same.
11799 (floatsitf2, fix_trunctfsi2): SImode in GPR.
11800 (ctrdi): Remove FPR alternative and splitter.
11802 2002-07-03 Will Cohen <wcohen@redhat.com>
11804 * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
11806 Wed Jul 3 10:24:16 2002 J"orn Rennecke <joern.rennecke@superh.com>
11808 * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
11809 than UNITS_PER_WORD, unless this is little endian and the first unit
11810 in this word. Let extract_bit_field decide how to load an element.
11811 Force arguments to matching mode.
11812 (expand_vector_unop): Likewise.
11814 * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
11815 consist of word_mode elements.
11816 * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
11817 BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
11818 (build_unary_op): Allow vector types for BIT_NOT_EPR.
11819 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
11821 * optabs.c (expand_vector_binop): Try to perform operation in
11822 smaller vector modes with same inner size. Add handling of AND, IOR
11823 and XOR. Reject expansion to inner-mode sized scalars when using
11824 OPTAB_DIRECT. Use simplify_gen_subreg on constants.
11825 (expand_vector_unop): Try to perform operation in smaller vector
11826 modes with same inner size. Add handling of one's complement.
11827 When there is no vector negate operation, try a vector subtract
11828 operation. Use simplify_gen_subreg on constants.
11829 * simplify-rtx.c (simplify_subreg): Add capability to convert vector
11830 constants into smaller vectors with same inner mode, and to
11831 integer CONST_DOUBLEs.
11833 2002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11835 * c-parse.in (parsing_iso_function_signature): New variable.
11836 (extdef_1): New, copied from...
11837 (extdef): ... here. Reset parsing_iso_function_signature.
11838 (old_style_parm_decls): Reset parsing_iso_function_signature.
11839 (old_style_parm_decls_1): New, copied from old_style_parm_decls.
11840 Warn about ISO C style function definitions.
11841 (nested_function, notype_nested_function): Reset
11842 parsing_iso_function_signature.
11843 (parmlist_2): Set parsing_iso_function_signature.
11845 * doc/invoke.texi (-Wtraditional): Document new behavior.
11847 2002-07-02 Chris Demetriou <cgd@broadcom.com>
11849 * config.gcc (mips*el-*-*): Use tm_defines to set
11850 TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
11851 * config/mips/little.h: Remove.
11853 2002-07-02 Devang Patel <dpatel@apple.com>
11855 * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
11856 object as parameter. Prevent something like 'NSObject' to be
11857 used as the type for a method argument.
11859 2002-07-03 Neil Booth <neil@daikokuya.co.uk>
11861 * cpptrad.c: Update comment.
11863 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
11865 * doc/cpp.texi: Update for traditional preprocessing changes.
11866 * goc/cppopts.texi: Similarly.
11868 2002-07-02 Ziemowit Laski <zlaski@apple.com>
11870 * c-parse.in (designator): Enable designated initializers if ObjC.
11871 (objcmessageexpr): Remove references to objc_receiver_context.
11872 * objc/objc-act.h (objc_receiver_context): Remove decl.
11873 * objc/objc-act.c (objc_receiver_context): Remove.
11874 (lookup_objc_ivar): Test objc_method_context instead of
11875 objc_receiver_context.
11877 Tue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
11879 * sh.c (print_operand, case 'N'): Allow zero vector.
11880 (arith_reg_or_0_operand): Likewise.
11881 (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
11882 * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for
11883 IOR, XOR, PLUS and SET and take their respective constant
11884 ranges into account.
11885 (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
11886 * sh.md (subdi3, subdi3_media): Allow zero operand.
11887 (movv8qi_i+3): Only vector that is not split is the zero vector.
11888 Fix operand 3 to simplify_subreg.
11889 (movv2si_i): Split alternative 1.
11890 (mshfhi_l_di_rev+1): New splitter.
11892 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
11894 PR preprocessor/7029
11895 * cppinit.c (cpp_handle_option): Suppress warnings with an
11896 implicit "-w" for "-M" and "-MM".
11897 * doc/cppopts.texi: Update.
11899 2002-07-01 Roger Sayle <roger@eyesopen.com>
11901 * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
11902 identifier "bzero" to "memset". Pass extra NULL_TREE argument to
11905 2002-07-02 Alan Modra <amodra@bigpond.net.au>
11907 * README.Portability: Fix typos.
11909 2002-07-01 Hans-Peter Nilsson <hp@axis.com>
11912 * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
11913 of indirections for register inside sign-extended mem part.
11915 2002-07-01 Roger Sayle <roger@eyesopen.com>
11917 * tree.h: Modify builtin_function interface to take an extra
11918 argument ATTRS, which is a tree representing an attribute list.
11920 * c-decl.c (builtin_function): Accept additional parameter.
11921 * objc/objc-act.c (builtin_function): Likewise.
11922 * f/com.c (builtin_function): Likewise.
11923 * java/decl.c (builtin_function): Likewise.
11924 * ada/utils.c (builtin_function): Likewise.
11925 * cp/decl.c (builtin_function): Likewise.
11926 (builtin_function_1): Likewise.
11928 * c-common.c (c_common_nodes_and_builtins): Pass an additional
11929 NULL_TREE argument to builtin_function. (builtin_function_2):
11931 * cp/call.c (build_java_interface_fn_ref): Likewise.
11932 * objc/objc-act.c (synth_module_prologue): Likewise.
11933 * java/decl.c (java_init_decl_processing): Likewise.
11934 * f/com.c (ffe_com_init_0): Likewise.
11936 * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
11937 NULL_TREE argument to builtin_function.
11938 * config/arm/arm.c (def_builtin): Likewise.
11939 * config/c4x/c4x.c (c4x_init_builtins): Likewise.
11940 * config/i386/i386.c (def_builtin): Likewise.
11941 * config/ia64/ia64.c (def_builtin): Likewise.
11942 * config/rs6000/rs6000.c (def_builtin): Likewise.
11944 2002-07-01 Zack Weinberg <zack@codesourcery.com>
11946 * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
11947 * config/mips/t-isa3264: Likewise.
11948 * config/mmix/t-mmix: Likewise.
11950 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
11952 * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
11954 2002-07-01 Roger Sayle <roger@eyesopen.com>
11957 * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
11958 A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
11959 B are truth values.
11961 2002-07-01 Nathanael Nerode <neroden@gcc.gnu.org>
11963 * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
11965 2002-07-01 Matt Kraai <kraai@alumni.cmu.edu>
11967 * README.Portability (Function prototypes): Give an example of
11968 declaring and defining a function with no arguments.
11970 * README.Portability (Function prototypes): Document new
11971 variable-argument function macros.
11973 Mon Jul 1 19:55:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
11975 * sh.c (langhooks.h): Include.
11976 (sh_init_builtins, sh_media_init_builtins): New functions.
11977 (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
11978 (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
11979 (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
11980 (builtin_description): New struct tag.
11981 (signature_args, bdesc): New arrays.
11982 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
11983 (print_operand): Add 'N' modifier.
11984 * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
11985 (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
11986 (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
11987 (CONST_COSTS): Add special case for SHmedia AND.
11988 (PREDICATE_CODES): Add and_operand, arith_reg_dest,
11989 extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
11990 sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
11991 target_operand can also be const or unspec.
11992 * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
11993 (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
11994 (attribute type): Add new types.
11995 (anddi3): Add splitter.
11996 (movdi_const_16bit+1): Add code to handle vector constants and
11997 bitmasks efficiently.
11998 (shori_media): Have generator function made.
11999 (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
12000 (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
12001 (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
12002 (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
12003 (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
12004 (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
12005 (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
12006 (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
12007 (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
12008 (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
12009 (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
12010 (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
12011 (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
12012 (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
12013 (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
12014 (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
12015 (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
12016 (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
12017 (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
12020 (fpu_switch+1, fpu_switch+2): Remove constraint.
12022 2002-07-01 Aldy Hernandez <aldyh@redhat.com>
12024 * tree.c (build_function_type_list): Update function comment.
12025 Rename first argument to return_type.
12027 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
12029 * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
12030 tradcif.y and related files.
12032 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
12034 * cpptrad.c (skip_whitespace): Pass pointer to prior char.
12036 2002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12038 * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
12040 See ChangeLog.7 for earlier changes.