1 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
3 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
5 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
7 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
8 * i386.c (x86_order_regs_for_local_alloc): New global function.
9 * i386.h (REG_ALLOC_ORDER): CLeanup.
10 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
12 2002-02-07 Richard Henderson <rth@redhat.com>
14 * alias.c (find_base_value): Recall base values for fixed hard regs.
15 * loop.c (loop_regs_update): Don't use single_set on non-insns.
17 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
19 * config/mips/mips.md (define_delay) [mips16]: Adjust required
22 2002-02-06 Richard Henderson <rth@redhat.com>
25 * stmt.c (resolve_operand_name_1): Take more care with mixed
26 named and unnamed operands.
28 2002-02-06 Janis Johnson <janis187@us.ibm.com>
29 Jan Hubicka <jh@suse.cz>
31 * loop.c (remove_constant_addition): Avoid clobbering a shared
34 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
36 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
37 * config/s390/t-linux64: New file.
38 * config/s390/libgcc-glibc.ver: New file.
40 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
42 * config/s390/linux64.h: Delete file.
43 * config/s390/s390x.h: New file.
44 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
45 as target header file.
46 * config/s390/linux.h (TARGET_VERSION): Define depending on
48 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
49 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
50 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
51 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
52 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
53 (EXTRA_SPEC): New define.
54 * config/s390/s390.h (TARGET_VERSION): Define depending on
56 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
58 2002-02-06 Jason Merrill <jason@redhat.com>
60 * c-decl.c (finish_function): Warn about a non-void function with
61 no return statement and no abnormal exit.
62 (current_function_returns_abnormally): New variable.
63 (start_function): Clear it.
64 (struct c_language_function): Add returns_abnormally.
65 (push_c_function_context): Save it.
66 (pop_c_function_context): Restore it.
67 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
68 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
69 an explicit return type.
70 * c-tree.h: Declare current_function_returns_abnormally.
71 (C_FUNCTION_IMPLICIT_INT): New macro.
72 * c-typeck.c (build_function_call): Set it.
73 (c_expand_return): Set current_function_returns_value even if the
76 2002-02-06 Jakub Jelinek <jakub@redhat.com>
79 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
80 unsafe for reevaluation.
82 2002-02-06 Jakub Jelinek <jakub@redhat.com>
85 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
86 EXPR_STMT, but COMPOUND_STMT, recurse into it.
88 2002-02-06 Richard Henderson <rth@redhat.com>
90 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
91 be a general_operand. Dest for function value must be a pseudo.
93 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
95 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
96 as SYMBOL_REFs from the constant pool.
98 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
100 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
101 passed by invisible reference.
103 2002-02-05 Richard Henderson <rth@redhat.com>
105 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
107 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
109 Implement using "base addresses" in insn operands as default.
110 * config/mmix/mmix.c (mmix_conditional_register_usage): if
111 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
112 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
113 used to read the rtx value.
114 (mmix_target_asm_function_epilogue): Fix spacing.
115 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
116 (mmix_legitimate_address): Ditto.
117 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
118 should be loaded with a GETA insn. Don't allocate needless extra
119 char for nul termination and fix misleading comment.
120 (mmix_print_operand_address): Handle constants if
121 TARGET_BASE_ADDRESSES.
122 (mmix_output_register_setting): Use base addressing if
123 TARGET_BASE_ADDRESSES and the number of insns is 3.
124 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
125 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
126 to use R as constraint, add LDA to match s.
127 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
128 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
129 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
130 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
131 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
132 order with other fixed registers.
133 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
134 other parameter/call-clobbered registers.
135 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
136 -mbase-addresses, -mno-base-addresses.
137 (MMIX Options): Ditto.
139 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
141 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
143 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
145 * config/rs6000/altivec.h: Change elem to _S_elem.
147 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
149 * config/netbsd.h (WCHAR_TYPE): Define.
150 (WCHAR_TYPE_SIZE): Ditto.
152 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
153 (WCHAR_UNSIGNED): Ditto.
154 (WCHAR_TYPE_SIZE): Ditto.
156 * config/arm/netbsd.h: Likewise.
157 * config/i386/netbsd-elf.h: Likewise.
158 * config/i386/netbsd.h: Likewise.
159 * config/m68k/netbsd-elf.h: Likewise.
160 * config/m68k/netbsd.h: Likewise.
161 * config/ns32k/netbsd.h: Likewise.
162 * config/sparc/netbsd.h: Likewise.
163 * config/vax/netbsd.: Likewise.
165 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
167 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
168 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
169 (TARGET_INITIALIZER): this.
170 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
171 (BITFIELD_NBYTES_LIMITED): Markup fix.
172 * tree.h (default_ms_bitfield_layout_p): Declare.
173 (record_layout_info): Added prev_field.
174 * tree.c (default_ms_bitfield_layout_p): New fn.
175 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
176 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
177 * stor-layout.c: Include target.h.
178 (start_record_layout): Initialize prev_field.
179 (place_field): Handle MS bit-field layout, and disregard
180 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
181 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
182 * Makefile.in (stor-layout.o): Adjust dependencies.
184 2002-02-05 Jason Merrill <jason@redhat.com>
186 * c-typeck.c (convert_for_assignment): Don't allow conversions
187 between pointers and references. Only allow lvalues to convert to
190 * c-decl.c (finish_function): Warn about a non-void function with
191 no return statement and no abnormal exit.
192 (current_function_returns_abnormally): New variable.
193 (start_function): Clear it.
194 (struct c_language_function): Add returns_abnormally.
195 (push_c_function_context): Save it.
196 (pop_c_function_context): Restore it.
197 * c-tree.h: Declare current_function_returns_abnormally.
198 * c-typeck.c (build_function_call): Set it.
200 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
202 2002-02-05 Andreas Jaeger <aj@suse.de>
204 * crtstuff.c: Fix comments.
206 2002-02-05 Richard Henderson <rth@redhat.com>
209 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
210 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
213 * config/mips/mips.c (function_arg): Handle TImode.
214 (function_arg_advance): Likewise.
216 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
218 * config/rs6000/altivec.h (vec_step_help): Rename to
221 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
223 * config/rs6000/altivec.h: Fix typos.
225 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
227 * config/arm/netbsd.h: Correct a comment.
229 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
231 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
232 building void typed builtins.
234 * config/rs6000/altivec.h (vec_ld*): Fix typos.
235 (vec_step): Implement for C++.
237 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
239 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
241 2002-02-04 Richard Henderson <rth@redhat.com>
243 * combine.c (nonzero_bits): Re-introduce special case for
244 sp/fp/ap wrt REGNO_POINTER_ALIGN.
246 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
248 * doc/extend.texi: Warn about unsupported usage of altivec
251 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
252 (altivec_predicate_*): New.
254 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
255 Add C++ version of vec_*() functions.
257 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
258 (bdesc_2arg): Remove altivec predicates.
259 (altivec_expand_builtin): Handle predicates.
260 (altivec_init_builtins): Handle predicates.
261 (altivec_expand_predicate_builtin): New.
263 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
265 * pa.c (DO_FRAME_NOTES): Move forward.
266 (store_reg): Revise handling of frame notes.
267 (load_reg): Likewise.
268 (set_reg_plus_d): Likewise.
269 (hppa_expand_prologue): Likewise.
270 (hppa_expand_epilogue): Likewise.
272 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
274 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
276 2002-02-04 Jakub Jelinek <jakub@redhat.com>
279 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
280 * c-common.h (SWITCH_TYPE): Define.
281 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
282 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
283 Rename spareness variable to sparseness.
284 (expand_end_case_type): Renamed from expand_end_case, use orig_type
285 if non-NULL instead of TREE_TYPE (orig_index).
286 * tree.h (expand_end_case_type): Renamed from expand_end_case.
287 (expand_end_case): Define using expand_end_case_type.
288 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
289 to expand_end_case_type.
290 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
292 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
294 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
295 (BIGGEST_ALIGNMENT): Change to 128.
297 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
299 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
301 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
303 * pa.md (call_internal_reg_64bit): Remove unused variable.
305 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
307 * config/arm/arm.h (machine_function): Add uses_anonymous_args
309 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
310 * config/arm/arm.c (current_function_anonymous_args): Delete,
311 replace uses with cfun->machine->uses_anonymous_args.
312 (arm_reorg): Do not reset uses_anonymous_args.
314 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
315 any geenral register.
317 2001-02-04 Bernd Schmidt <bernds@redhat.com>
319 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
322 2002-02-04 Richard Henderson <rth@redhat.com>
324 * combine.c (force_to_mode): Remove STACK_BIAS code.
325 (nonzero_bits): Likewise. Replace sp/fp special case with
328 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
329 (HARD_FRAME_POINTER_REGNUM): New.
330 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
331 (FIXED_REGS, CALL_USED_REGS): Update.
332 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
333 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
334 (HARD_REGNO_NREGS): Update for SFP.
335 (STACK_POINTER_OFFSET): Include bias here ...
336 (FIRST_PARM_OFFSET): ... not here.
337 (STACK_BIAS): Remove.
338 (INIT_EXPANDERS): New.
339 (STARTING_FRAME_OFFSET): Do not include bias.
340 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
341 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
342 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
343 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
344 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
345 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
346 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
347 (MUST_SAVE_REGISTER): Likewise.
348 (sparc_flat_function_prologue): Likewise.
349 (sparc_flat_function_epilogue): Likewise.
350 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
351 (sparc_init_modes): SFP is GENERAL_REGS.
352 (sparc_builtin_saveregs): SFP does not have bias applied.
354 2002-02-04 Richard Henderson <rth@redhat.com>
356 * config/alpha/alpha.c (current_function_is_thunk): Don't check
357 current_function_is_thunk.
358 (alpha_sa_mask): Distinguish between current_function_is_thunk
359 called from ASM_OUTPUT_MI_THUNK and not.
360 (alpha_does_function_need_gp): Thunks always need gp.
361 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
362 (alpha_output_mi_thunk_osf): New.
363 * config/alpha/alpha-protos.h: Update.
364 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
366 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
368 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
369 function types, not when they're taken away.
371 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
373 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
374 CODE_LABEL and jump table when replacing a table jump with a
377 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
379 * config/s390/s390-protos.h (legitimize_la_operand,
380 s390_secondary_input_reload_class, s390_plus_operand,
381 s390_expand_plus_operand): Add prototypes.
383 config/s390/s390.c (s390_secondary_input_reload_class,
384 s390_plus_operand, s390_expand_plus_operand): New functions.
386 (struct s390_address): New member 'pointer'.
387 (s390_decompose_address): Compute it.
388 (legitimate_la_operand_p): Use it.
389 (legitimize_la_operand): New function.
390 (movti, movdi, movdf splitters): Call it.
392 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
393 (PREDICATE_CODES): Add s390_plus_operand.
395 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
396 (la_ccclobber): Allow GENERAL_REGS as output operand.
398 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
399 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
400 (*la_64, *la_31, reload_indi, reload_insi): ... these.
402 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
404 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
405 register names for regular asm () construct.
407 2002-02-04 Jakub Jelinek <jakub@redhat.com>
409 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
412 2002-02-04 Jakub Jelinek <jakub@redhat.com>
414 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
417 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
419 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
420 constant pool to be identical by string address and index.
422 2002-02-04 Anthony Green <green@redhat.com>
424 * output.h (SECTION_OVERRIDE): Define.
425 * varasm.c (named_section): Obey SECTION_OVERRIDE.
427 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
429 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
430 by existing arm*-*-netbsd* (a.out) target.
431 (ns32k-*-netbsdelf*): Likewise.
432 (sparc-*-netbsdelf*): Likewise.
433 (vax-*-netbsdelf*): Likewise.
435 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
437 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
438 headers and libobjc headers.
440 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
442 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
443 (_mingw.h): Remove duplicate include.
445 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
447 * config.gcc: Set cpu_type to m68k for 68010, as well.
448 (m68010-*-netbsdelf*): New...
449 (m68k*-*-netbsdelf*): ...targets.
450 * config/m68k/netbsd-elf.h: New file.
452 2002-02-02 Kazu Hirata <kazu@hxi.com>
454 * config/h8300/h8300.c (hand_list): Move inside function_arg.
456 2002-02-02 Kazu Hirata <kazu@hxi.com>
458 * config/h8300/h8300.c (h8_push_ops): Move inside
460 (h8_pop_ops): Likewise.
461 (h8_move_ops): Likewise.
463 2002-02-02 Kazu Hirata <kazu@hxi.com>
465 * config/h8300/h8300.c (os_task): Make it static.
467 (pragma_saveall): Likewise.
469 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
471 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
472 constant is a valid sign-extension for Pmode.
474 2002-02-02 Kazu Hirata <kazu@hxi.com>
476 * config/h8300/h8300.c: Fix formatting.
478 2002-02-02 Kazu Hirata <kazu@hxi.com>
480 * config/h8300/h8300.md: Fix formatting.
482 2002-02-02 Kazu Hirata <kazu@hxi.com>
484 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
485 predicates of operands[1]. Split the patterns for each
488 2002-02-02 Kazu Hirata <kazu@hxi.com>
490 * config/h8300/h8300.md (xor patterns): Tighten the predicates
491 of operands[1] to register_operand.
493 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
495 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
496 * cpphash.c (_cpp_init_hashtable): Similarly.
497 * cppinit.c (cpp_create_reader): Default the signed_char flag.
498 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
499 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
500 (cpp_handle_option): Handle the new options.
501 * cpplex.c (cpp_interpret_charconst): Use new flag.
502 * cpplib.h (struct cpp_options): New member signed_char.
503 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
504 (cpp_options): Handle -fsigned-char and -funsigned-char.
505 (static_specs): Remove signed_char_spec.
506 (do_spec1): Don't handle %c.
507 * system.h: Poison SIGNED_CHAR_SPEC.
508 * tradcif.y (yylex): Use flag_signed_char.
509 * tradcpp.h (flag_signed_char): New.
510 * tradcpp.c (flag_signed_char): New.
511 (main): Handle new command-line options.
512 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
514 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
515 * avr/avr.h: Remove old comments.
516 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
517 (CC1_SPEC): Pass -fsigned-char if -mic*.
518 (SIGNED_CHAR_SPEC): Remove.
520 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
522 2002-02-01 Eric Christopher <echristo@redhat.com>
524 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
525 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
526 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
527 (ASM_OUTPUT_REG_POP): Ditto.
529 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
531 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
534 2002-02-02 Jakub Jelinek <jakub@redhat.com>
536 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
538 2002-02-02 Jakub Jelinek <jakub@redhat.com>
541 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
544 2002-02-01 Janis Johnson <janis187@us.ibm.com>
546 * cfganal.c: Include tm_p.h.
547 (keep_with_call_p): Fix the test that determines if a register holds
548 the return value of a call.
550 2002-02-01 DJ Delorie <dj@redhat.com>
552 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
553 we are given conflicting registers, switch to the other one we
554 had allocated for us.
555 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
556 as TImode so we know when the "other" register is available.
558 2002-02-01 David O'Brien <obrien@FreeBSD.org>
560 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
563 2002-02-01 Janis Johnson <janis187@us.ibm.com>
565 * cfganal.c (keep_with_call_p): New function.
566 (flow_call_edges_add): Prevent splitting a block between a call and
567 a single-set instruction that should be kept in the same block.
569 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
571 * doc/install.texi (avr): Update outdated URL.
573 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
575 * config/stormy16/stormy16.md (pushqi): New.
579 (movhi): Remove stack operands.
581 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
582 nonimmediate_nonstack_operand.
583 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
585 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
588 2002-01-31 Jason Merrill <jason@redhat.com>
590 * Makefile.in (c-parse.c): Handle .output file.
591 * objc/Make-lang.in (objc-parse.c): Likewise.
593 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
595 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
596 the -me[lb] option is given. Don't output the default flag
599 2002-01-31 Zack Weinberg <zack@codesourcery.com>
601 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
602 the primary source file; this has not been done yet.
603 * c-decl.c (c_expand_body): Reset input_filename from
604 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
606 2002-01-31 Kazu Hirata <kazu@hxi.com>
608 * rtlanal.c (subreg_regno_offset): Do not use
610 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
611 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
613 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
615 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
616 version rather than GNATS version in --version output.
618 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
620 * ifcvt.c (noce_process_if_block): Make a copy of the destination
621 when copying back from a temporary.
623 2002-01-30 Richard Henderson <rth@redhat.com>
625 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
626 and new_dest are the same.
628 2002-01-30 Richard Henderson <rth@redhat.com>
631 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
632 * rtl.c (note_insn_name): Update.
633 * emit-rtl.c (remove_unnecessary_notes): Kill it.
634 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
635 to perform loop rotation.
636 (expand_exit_loop_top_cond): New.
637 * tree.h (expand_exit_loop_top_cond): Declare it.
638 * c-semantics.c (genrtl_while_stmt): Use it.
639 (genrtl_for_stmt): Likewise.
641 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
643 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
644 arguments to 64-bit boundaries on 64-bit ABIs.
646 2002-01-30 Steve Ellcey <sje@cup.hp.com>
648 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
650 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
652 * c-decl.c (grokdeclarator): Handle type being a typedef for an
655 2002-01-30 David O'Brien <obrien@FreeBSD.org>
657 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
658 * config/sparc/sparc_bi.h: Remove file.
659 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
661 2002-01-30 Richard Henderson <rth@redhat.com>
663 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
665 2002-01-30 Zack Weinberg <zack@codesourcery.com>
667 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
669 2002-01-30 Jason Merrill <jason@redhat.com>
671 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
672 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
673 (reg_save): Use DW_CFA_offset_extended_sf instead.
675 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
677 2002-01-29 Jakub Jelinek <jakub@redhat.com>
679 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
682 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
684 * rs6000.md ("*call_value_local32"): Remove constraints.
685 ("*call_value_local64"): Same.
686 ("*call_value_indirect_nonlocal_aix32"): Same.
687 ("*call_value_nonlocal_aix32"): Same.
688 ("*call_value_indirect_nonlocal_aix64"): Same.
689 ("*call_value_nonlocal_aix64"): Same.
690 ("*call_value_nonlocal_sysv"): Same.
692 2002-01-29 Richard Henderson <rth@redhat.com>
694 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
696 2002-01-29 Richard Henderson <rth@redhat.com>
698 * expr.c (force_operand): Ignore flag_pic for detecting pic
700 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
701 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
702 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
703 instead of open-coded loop.
704 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
705 be fixed when in use.
707 2002-01-29 Richard Henderson <rth@redhat.com>
709 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
710 * sched-rgn.c (propagate_deps): Update them.
711 * sched-deps.c (sched_analyze_insn): Update them. Flush the
712 clobbers list when either gets too long.
714 2002-01-29 Jakub Jelinek <jakub@redhat.com>
716 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
717 and INDEX_REGS the same as GENERAL_REGS.
718 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
720 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
722 * tree.c (build_nonstandard_integer_type): Correct prototype.
724 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
726 * config/s390/s390.md (movstrsico, movstrdix_64,
727 movstrsix_31): Remove, replace by ...
728 (movstrdi_short, movstrsi_short, movstrdi_long,
729 movstrsi_long): ... these. New.
730 (movstrdi, movstrsi): Adapt.
732 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
733 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
734 Remove unnecessary CC clobber.
735 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
736 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
738 (divmoddi4): Don't partially initialize TImode register.
740 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
742 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
744 2002-01-29 Richard Henderson <rth@redhat.com>
746 * flow.c (print_rtl_and_abort): Remove.
747 (print_rtl_and_abort_fcn): Remove.
748 (verify_local_live_at_start): Use dump_bb instead.
749 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
750 (verify_wide_reg_1): Return 2 on mode test failure.
752 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
754 PR c/3325, c/3326, c/2511, c/3347
755 * c-decl.c (enum_decl_context): Remove BITFIELD.
756 (grokdeclarator): Take bitfield width as an input.
757 Ensure bitfields are given the correct type. Perform
758 bitfield width validation with build_bitfield_integer_type
759 rather than waiting for finish_struct.
760 (grok_typename, grok_typename_in_parm_context, start_decl,
761 push_parmdecl, grokfield, start_function): Update calls to
763 (build_bitfield_integer_type): New function.
764 (finish_struct): Move bitfield validation to grokdeclarator
765 and build_bitfield_integer_type.
766 * tree.c (build_nonstandard_integer_type): New function.
767 * tree.h (build_nonstandard_integer_type): New prototype.
769 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
771 2002-01-29 Jakub Jelinek <jakub@redhat.com>
774 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
775 don't ignore unrecognized -W* options.
776 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
777 * cpplib.h (cpp_handle_option): Adjust prototype.
778 * c-decl.c (c_decode_options): Pass 0 as last argument to
782 * gcc.c (cpp_unique_options): Split from cpp_options.
783 (cpp_options): Source cpp_unique_options.
784 (default_compilers): Use cpp_unique_options instead of cpp_options
785 when used together with cc1_options.
786 (static_specs): Add cpp_unique_options.
787 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
788 when used together with cc1_options.
790 2002-01-29 Kazu Hirata <kazu@hxi.com>
792 * config/h8300/h8300-protos.h: Update the prototype of
794 * config/h8300/h8300.c (output_a_shift): Remove an unused
795 argument 'insn'. Remove redundant code.
796 * config/h8300/h8300.md: Adust to the new prototype of
799 2002-01-29 Kazu Hirata <kazu@hxi.com>
801 * config/h8300/h8300-protos.h: Update the prototypes of
802 emit_a_rotate and expand_a_rotate.
803 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
804 first argument to 'enum rtx_code'.
805 (expand_a_rotate): Likewise.
807 2002-01-28 Kazu Hirata <kazu@hxi.com>
809 * config/h8300/h8300-protos.h: Update the prototype of
811 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
813 * config/h8300/h8300.md: Adjust to the new prototype.
815 2002-01-28 Kazu Hirata <kazu@hxi.com>
817 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
820 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
822 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
823 is a fixed register before returning pic_offset_table_rtx.
824 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
825 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
827 2002-01-28 Jason Merrill <jason@redhat.com>
829 * dwarf2.h: Sync with src version.
831 2002-01-28 Paul Koning <pkoning@equallogic.com>
833 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
835 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
836 * doc/extend.texi (__builtin_prefetch): Update documentation:
837 first argument is now const void ptr.
839 2002-01-28 Kazu Hirata <kazu@hxi.com>
841 * config/h8300/h8300-protos.h: Remove an unused prototype.
843 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
845 * toplev.c (lang_independent_init): Round up identifier size.
847 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
849 * config.gcc: Revert previous change.
851 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
853 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
855 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
857 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
858 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
859 other non-elf netbsd config frags.
860 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
861 collect2 will does that.
862 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
863 shared-lib frobbing will work.
865 2002-01-28 Kazu Hirata <kazu@hxi.com>
867 * config/h8300/h8300.h: Fix formatting.
868 * config/h8300/h8300.md: Likewise.
870 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
872 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
873 the old, removed AAA_standards fix.
874 * fixinc/fixincl.x: Rebuilt.
876 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
878 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
879 atexit call in crtbegin, hooked in after call to frame_dummy;
880 register EH before registering __fini__start.
882 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
884 * config/rs6000/altivec.h: Remove spurious semicolons.
886 2002-01-27 Kazu Hirata <kazu@hxi.com>
888 * config/h8300/h8300.md: Replace dead bit extraction patterns
891 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
893 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
894 if not STRICT_ALIGNMENT.
895 * rtl.h (MEM_ALIGN): Likewise.
897 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
899 * doc/invoke.texi (-fdump-translation-unit): Revert this
900 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
902 2002-01-27 Kazu Hirata <kazu@hxi.com>
904 * config/h8300/h8300.md (define_constants): New.
905 (anonymous patterns) Use defined constants appropriately.
907 2002-01-27 Kazu Hirata <kazu@hxi.com>
909 * config/h8300/h8300.c (function_arg): Remove redundant code.
911 2002-01-26 Richard Henderson <rth@redhat.com>
913 * sched-deps.c (reg_pending_uses_head): New.
914 (reg_pending_barrier): Rename from reg_pending_sets_all.
915 (find_insn_list): Don't mark inline.
916 (find_insn_mem_list): Remove.
917 (add_dependence_list, add_dependence_list_and_free): New.
918 (flush_pending_lists): Replace only_write param with separate
919 for_read and for_write parameters. Update all callers. Use
920 add_dependence_list_and_free.
921 (sched_analyze_1): Do not add reg dependencies here; just set
922 the pending bits. Use add_dependence_list.
923 (sched_analyze_2): Likewise.
924 (sched_analyze_insn): Replace schedule_barrier_found with
925 reg_pending_barrier. Add all dependencies for pending reg
926 uses, sets, and clobbers.
927 (sched_analyze): Don't add reg dependencies for calls, just
928 set pending bits. Use regs_invalidated_by_call. Treat
929 sched_before_next_call as a normal list, not a fake insn.
930 (init_deps): No funny init for sched_before_next_call.
931 (free_deps): Free pending mems lists. Don't zero reg_last.
932 (init_deps_global): Init reg_pending_uses.
933 (finish_deps_global): Free it.
934 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
935 (find_insn_mem_list): Remove.
936 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
937 (propagate_deps): Use them. Zero temp mem lists.
939 2002-01-26 Richard Henderson <rth@redhat.com>
941 * Makefile.in (CRTSTUFF_CFLAGS): New.
942 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
943 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
944 crtstuff.c instead of alpha assembly version.
945 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
946 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
947 not FORCE_{INIT,FINI}_SECTION_ALIGN.
948 (__do_global_dtors_aux): Mark used.
949 (frame_dummy, __do_global_ctors_aux): Mark used.
950 (fini_dummy, init_dummy): Remove.
952 * config/alpha/crtbegin.asm: Remove file.
953 * config/alpha/crtend.asm: Remove file.
954 * config/alpha/t-crtbe: Remove file.
955 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
958 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
959 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
960 calling constructors.
961 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
963 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
964 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
965 CRT_END_INIT_DUMMY hack.
966 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
967 FORCE_{INIT,FINI}_SECTION_ALIGN.
969 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
970 FORCE_{INIT,FINI}_SECTION_ALIGN.
972 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
974 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
976 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
977 (FORCE_CODE_SECTION_ALIGN): New.
979 2002-01-26 Richard Henderson <rth@redhat.com>
981 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
983 2002-01-26 Richard Henderson <rth@redhat.com>
985 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
986 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
988 2002-01-26 Kazu Hirata <kazu@hxi.com>
990 * config/h8300/h8300.md: Remove bit extraction patterns that
992 Restrict each bit extraction pattern to a variant on which the
995 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
997 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
999 2002-01-26 Kazu Hirata <kazu@hxi.com>
1001 * config/h8300/h8300.md: Remove bit test patterns that cannot
1003 Restrict each bit test pattern to a variant on which the
1006 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1008 * builtins.c (expand_builtin_strncat): Remove redundant check for
1011 2002-01-25 David O'Brien <obrien@FreeBSD.org>
1013 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
1015 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
1018 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
1020 * dbxout.c (dbxout_init): Use assemble_name rather than just
1021 stripping off the first character.
1022 (dbxout_source_file): Likewise.
1024 2002-01-25 DJ Delorie <dj@redhat.com>
1026 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
1027 using rtx_equal_p, not by comparing pointers.
1029 2002-01-25 Steve Ellcey <sje@cup.hp.com>
1031 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
1032 for PIC_OFFSET_TABLE_REGNUM.
1033 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
1035 2002-01-25 David O'Brien <obrien@FreeBSD.org>
1037 * config.gcc (x86_64-*-freebsd*): New target.
1038 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
1040 (i[34567]86-*-freebsd*): Don't include svr4.h.
1041 * config/i386/freebsd64.h: New file.
1043 2002-01-25 Douglas B Rupp <rupp@gnat.com>
1045 * config/alpha/x-vms (version): Make static.
1047 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
1048 in previous checkin.
1050 * Makefile.in (install-headers-cp): New target.
1051 * config.gcc (alpha-dec-*vms*): Install headers with
1054 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
1056 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
1059 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1061 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
1062 of compare_tree_int.
1063 (expand_builtin_strncat): Likewise.
1064 * c-decl.c (finish_struct): Use tree_low_cst.
1065 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
1066 * tree.c (compare_tree_int): Likewise.
1068 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
1070 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
1071 adjustments even if they are implemented by more than two insns.
1073 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
1075 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
1076 * df.h (struct ref): Kill B.
1077 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
1079 * basic-block.h (PROP_EQUAL_NOTES): New flag.
1080 * flow.c (propagate_one_insn): Use it.
1081 (mark_used_regs): Handle NIL.
1083 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
1085 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
1088 2002-01-25 David Edelsohn <edelsohn@gnu.org>
1090 * rs6000.md (prefetch): Make address V4SI mode so that the address
1091 is restricted to legitimate form for instruction.
1093 2002-01-25 Bob Wilson <bob.wilson@acm.org>
1095 * doc/install.texi (xtensa-*-elf): New target.
1096 (xtensa-*-linux*): New target.
1097 * doc/contrib.texi: Add myself.
1099 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1101 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
1102 purpose register to hold an SImode (or smaller) value.
1104 2002-01-25 Jakub Jelinek <jakub@redhat.com>
1106 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
1108 * crtstuff.c: Likewise.
1110 2002-01-25 Kazu Hirata <kazu@hxi.com>
1112 * config/h8300/h8300.md (negation patterns): Tighten
1113 predicates to register_operand.
1115 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
1117 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
1120 * builtins.c (expand_builtin_prefetch): Same.
1122 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1124 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
1127 2002-01-24 Kazu Hirata <kazu@hxi.com>
1129 * config/h8300/h8300.c (print_operand): Remove support for
1130 operand character 'A'.
1131 * config/h8300/h8300.md (three anonymous patterns): Replace
1132 operand character 'A' with either 'T' or 'S'.
1134 2002-01-24 Kazu Hirata <kazu@hxi.com>
1136 * config/h8300/h8300.c (print_operand): Remove support for
1137 operand character 'U'.
1139 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
1141 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
1143 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
1145 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
1146 values to be assigned to the stack pointer.
1148 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1150 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
1151 to const_double needs to be done right for big-endian systems.
1153 2002-01-24 Jason Merrill <jason@redhat.com>
1156 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
1157 to can_throw_internal.
1159 2002-01-23 Richard Henderson <rth@redhat.com>
1161 * fold-const.c (fold): Change UINT_MAX test to check vs precision
1162 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
1164 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1166 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
1167 (symGOT2reg): Use them, then set as GOT value as unchanging.
1168 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
1169 as a temporary, if possible.
1170 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
1171 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
1173 2002-01-23 Kazu Hirata <kazu@hxi.com>
1175 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
1176 accept to accept 0x80 as operands[2].
1178 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1180 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
1182 2002-01-23 Richard Henderson <rth@redhat.com>
1184 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
1186 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
1188 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
1189 (parmlist_or_identifiers_1): Verify that only a parmlist follows
1192 2002-01-23 Richard Henderson <rth@redhat.com>
1194 * expr.c (move_by_pieces_1): Extend size before negation.
1196 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
1197 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
1198 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
1199 * config/m68k/t-m68kelf: Likewise.
1201 2002-01-23 Bob Wilson <bob.wilson@acm.org>
1203 * config/xtensa/elf.h: New file.
1204 * config/xtensa/lib1funcs.asm: New file.
1205 * config/xtensa/lib2funcs.S: New file.
1206 * config/xtensa/linux.h: New file.
1207 * config/xtensa/t-xtensa: New file.
1208 * config/xtensa/xtensa-config.h: New file.
1209 * config/xtensa/xtensa-protos.h: New file.
1210 * config/xtensa/xtensa.c: New file.
1211 * config/xtensa/xtensa.h: New file.
1212 * config/xtensa/xtensa.md: New file.
1213 * config.gcc (xtensa-*-elf*): New target.
1214 (xtensa-*-linux*): New target.
1215 * cse.c (canon_hash): Compare rtx pointers instead of register
1216 numbers. This is required for the Xtensa port.
1217 * integrate.c (copy_insn_list): Handle case where the static
1218 chain is in memory and the memory address has to be copied to
1220 * doc/invoke.texi (Option Summary): Add Xtensa options.
1221 (Xtensa Options): New node.
1222 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
1224 2002-01-23 Zack Weinberg <zack@codesourcery.com>
1226 * diagnostic.c (internal_error): Do ICE suppression only
1227 when ENABLE_CHECKING is not defined.
1229 * c-typeck.c (require_complete_type): Return error_mark_node
1230 if type is error_mark_node.
1232 2002-01-23 Janis Johnson <janis187@us.ibm.com>
1234 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
1235 -Os and issue a warning.
1237 2002-01-23 Zack Weinberg <zack@codesourcery.com>
1239 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
1240 current (lack of) need for host configuration by hand.
1242 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
1243 references. Documentation of some target macros moved from
1244 hostconfig.texi to tm.texi.
1246 2002-01-23 Will Cohen <wcohen@redhat.com>
1248 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
1251 2002-01-23 Kazu Hirata <kazu@hxi.com>
1253 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
1256 2002-01-23 Jason Merrill <jason@redhat.com>
1258 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
1260 * function.c (assign_parms): Don't put args of inline functions
1261 into registers when not optimizing.
1263 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1265 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
1266 (prologue_use): New pattern.
1267 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
1268 preference to gen_rtx_USE.
1269 (thumb_expand_prologue): Use gen_prologue_use in preference to
1271 (thumb_expand_epilogue): Use gen_prologue_use in preference to
1274 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
1276 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
1278 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
1281 * doc/extend.texi: Correct documentation of __alignof__.
1283 2002-01-22 Zack Weinberg <zack@codesourcery.com>
1285 * params.h: Rename arguments of DEFPARAM so that it will be
1286 recognized as a translation keyword.
1288 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1290 * extend.texi: Document altivec functions.
1291 Fix N-bit adjectives in X86 builtin documentation.
1293 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1295 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
1296 auto_inc_dec values.
1298 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
1300 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
1302 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
1304 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1306 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
1308 2002-01-22 Richard Henderson <rth@redhat.com>
1310 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
1311 copy_insn not copy_rtx.
1313 2002-01-23 Alan Modra <amodra@bigpond.net.au>
1315 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
1316 "nonzero" as that might add "1" bits. Ensure "constop" is
1317 properly sign extened.
1318 (force_to_mode): Tweak for sign extended constop.
1320 2002-01-22 Richard Henderson <rth@redhat.com>
1322 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
1323 for_each_rtx instead of assuming we're already looking at the MEM.
1324 (split_small_symbolic_mem_operand): Likewise.
1325 * config/alpha/alpha.h (PREDICATE_CODES): Update.
1326 * config/alpha/alpha.md (small symbolic memory splitters): Update.
1328 2002-01-22 Richard Henderson <rth@redhat.com>
1330 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
1331 sequence number for the literal.
1332 (divmoddi_internal_er): Likewise.
1334 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
1337 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
1338 in LIBICONV variable.
1339 * configure: Regenerated.
1341 2002-01-22 Krister Walfridsson <cato@df.lth.se>
1343 * dependence.c (build_def_use): Remove array_idx.
1345 * dwarfout.c (last_filename): Remove.
1346 (output_compile_unit_die): Remove last_filename.
1348 2002-01-22 Roger Sayle <roger@eyesopen.com>
1349 Richard Henderson <rth@redhat.com>
1352 * fold-const.c (fold): Optimize unsigned comparisons against
1353 UINT_MAX (and similar unsigned constants).
1355 2002-01-22 Janis Johnson <janis187@us.ibm.com>
1357 * Makefile.in (loop.o): Depend on OPTABS_H.
1358 * loop.c (emit_prefetch_instructions): Check the prefetch operand
1359 against the predicate.
1362 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
1363 for the address operand.
1365 2002-01-22 Richard Henderson <rth@redhat.com>
1367 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
1369 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
1372 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
1375 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
1377 * config.gcc (x86_64-*-netbsd*): New target.
1378 * config/i386/netbsd64.h: New file.
1380 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1382 * regrename.c (kill_value): Fix typo.
1384 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1386 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
1388 * config/rs6000/rs6000.h: Same.
1390 * function.c (instantiate_virtual_regs): Remove
1391 STARTING_FRAME_PHASE.
1392 (assign_stack_local_1): Same.
1393 Calculate frame phase.
1395 2002-01-22 Nick Clifton <nickc@redhat.com>
1397 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
1398 variable declaration to outer scope in order to simplify
1400 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
1401 arm_hard_regno_mode_ok.
1402 * config/arm/arm-protos.h: Add a prototype for
1403 arm_hard_regno_mode_ok.
1404 * config/arm/arm.c (soft_df_operand): Remove now redundant
1405 check for DImode values using IP_REGNUM.
1406 (nonimmediate_soft_df_operand): Remove now redundant check for
1407 DImode values using IP_REGNUM.
1408 (arm_hard_regno_mode_ok): New function. New check: make sure
1409 that DImode values are not stored in IP_REGNUM.
1411 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
1413 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
1415 2002-01-22 Jason Merrill <jason@redhat.com>
1417 * c-semantics.c (genrtl_compound_stmt): Only check nesting
1418 consistency if this COMPOUND_STMT is scoped.
1420 2002-01-22 Kazu Hirata <kazu@hxi.com>
1422 * predict.c: Fix formatting.
1423 * print-tree.c: Likewise.
1424 * protoize.c: Likewise.
1427 * sbitmap.h: Likewise.
1429 * sched-deps.c: Likewise.
1430 * sched-vis.c: Likewise.
1431 * sdbout.c: Likewise.
1432 * sibcall.c: Likewise.
1434 * ssa-ccp.c: Likewise.
1435 * ssa-dce.c: Likewise.
1437 * stor-layout.c: Likewise.
1438 * system.h: Likewise.
1440 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1442 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
1443 if fits in bounds of base type.
1445 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
1446 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
1447 (add_bound_info, default): If can't find a context, make a
1449 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
1451 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
1453 * c-typeck.c (parser_build_binary_op): If result from
1454 build_binary_op is ERROR_MARK just return error_mark_node without
1457 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1459 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
1460 Split a.out-specific bits into...
1461 * config/netbsd-aout.h: ...this.
1462 * config/netbsd-elf.h: New file.
1463 * config/alpha/netbsd-elf.h: Remove.
1464 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
1465 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
1466 (STARTFILE_SPEC): Remove redundant definition.
1467 (ENDFILE_SPEC): Likewise.
1468 (LINK_SPEC): Likewise.
1469 (CPP_SPEC): Likewise.
1470 (ASM_SPEC): Likewise.
1471 (LIB_SPEC): Likewise.
1472 (SWITCH_TAKES_ARG): Likewise.
1473 (TARGET_MEM_FUNCTIONS): Likewise.
1474 (CPP_PREDEFINES): Redefine.
1475 (ASM_FINAL_SPEC): Remove redefinition.
1476 (ASM_COMMENT_START): Redefine.
1477 (FUNCTION_PROFILER): Define.
1478 (TARGET_VERSION): Redefine.
1479 Comment and formatting cleanup.
1480 * config/i386/netbsd.h: Include <netbsd-aout.h>.
1481 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
1482 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
1483 big- or little-endian.
1484 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
1485 * config.gcc (*-*-netbsd*): Add definitions common to all
1487 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
1488 gnu_ld definitions. Add netbsd-elf.h to and remove
1489 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
1490 tmake_file, and don't lose previous tmake_file contents.
1491 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
1492 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
1493 gnu_ld definitions. Add netbsd-elf.h to tm_file.
1494 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
1495 (mipsel-*-netbsd*): Rename this to...
1496 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
1497 mips/little.h to tm_file for mips*el-*.
1498 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
1499 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
1500 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
1502 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1504 * pa-protos.h (reg_before_reload_operand): New function prototype.
1505 * pa.c (reg_before_reload_operand): New function implementation.
1506 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
1509 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1511 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
1513 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1515 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
1516 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
1517 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
1518 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
1519 (ENDFILE_SPEC): Undefine.
1520 (STARTFILE_SPEC): Redefine for PA.
1522 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1524 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
1526 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
1528 * config.gcc: Add entries to supported PowerPC --with-cpu
1531 2002-01-21 Jakub Jelinek <jakub@redhat.com>
1533 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
1534 true for 64-bit mode only SSE registers in 32-bit mode.
1536 2002-01-21 Kazu Hirata <kazu@hxi.com>
1538 * unwind-dw2.c: Fix formatting.
1539 * unwind-dw2-fde.c: Likewise.
1540 * unwind-dw2-fde.h: Likewise.
1541 * unwind-pe.h: Likewise.
1542 * varasm.c: Likewise.
1543 * varray.h: Likewise.
1545 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
1547 Remove workaround for register stack overwrite bug in mmix.
1548 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
1549 support for TARGET_REG_STACK_FILL_BUG.
1550 * config/mmix/mmix.h: Remove member has_call_without_parameters.
1551 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
1553 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
1554 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
1555 -mno-reg-stack-fill-bug-workaround.
1556 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
1557 machine member has_call_without_parameters.
1558 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
1559 -mreg-stack-fill-bug-workaround and
1560 -mno-reg-stack-fill-bug-workaround.
1561 (MMIX Options): Ditto.
1563 2002-01-21 Kazu Hirata <kazu@hxi.com>
1565 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
1567 Remove redundant code.
1569 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
1571 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
1572 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1573 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1574 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
1575 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
1576 out target macro definitions and non-target-specific comments
1577 mostly taken from old versions of the manual.
1579 2002-01-20 Kazu Hirata <kazu@hxi.com>
1581 * config/h8300/h8300.h: Fix comment formatting.
1582 * config/ia64/aix.h: Likewise.
1583 * config/ia64/ia64-protos.h: Likewise.
1584 * config/ia64/ia64.c: Likewise.
1585 * config/ia64/ia64.h: Likewise.
1586 * config/ia64/ia64intrin.h: Likewise.
1587 * config/ia64/linux.h: Likewise.
1588 * config/ia64/unwind-aix.c: Likewise.
1589 * config/ia64/unwind-ia64.c: Likewise.
1591 2002-01-20 Kazu Hirata <kazu@hxi.com>
1593 * config/h8300/h8300.c: Revise comments about shift code.
1595 2002-01-20 Kazu Hirata <kazu@hxi.com>
1597 * config/h8300/h8300.c (function_arg): Update a comment.
1599 2002-01-20 Kazu Hirata <kazu@hxi.com>
1601 * config/h8300/h8300.md: Update the comments at the beginning
1604 2002-01-20 Kazu Hirata <kazu@hxi.com>
1606 * config/i370/i370.c: Fix comment formatting.
1607 * config/i370/i370.h: Likewise.
1608 * config/i370/i370.md: Likewise.
1609 * config/i370/linux.h: Likewise.
1611 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1613 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
1615 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
1616 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
1619 2002-01-20 Graham Stott <grahams@redhat.com>
1621 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
1623 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1625 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
1627 2002-01-19 Tom Rix <trix@redhat.com>
1629 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
1631 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
1633 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1635 * function.c (assign_stack_local_1): Adjust x_frame_offset with
1636 STARTING_FRAME_PHASE.
1637 (STARTING_FRAME_PHASE): New.
1638 (instantiate_virtual_regs): Check saneness of
1639 STARTING_FRAME_PHASE.
1641 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1643 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1645 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
1647 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1649 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
1650 be used for bootstrapping GCC 3.0.
1652 2002-01-18 Kazu Hirata <kazu@hxi.com>
1654 * config/h8300/h8300.md: Fix an insn length.
1656 2002-01-18 Kazu Hirata <kazu@hxi.com>
1658 * bitmap.h: Fix comment formatting.
1659 * combine.c: Likewise.
1660 * cppfiles.c: Likewise.
1661 * c-pragma.h: Likewise.
1662 * c-typeck.c: Likewise.
1664 * dwarf2out.c: Likewise.
1665 * function.c: Likewise.
1667 * genattrtab.c: Likewise.
1668 * gthr-win32.h: Likewise.
1669 * haifa-sched.c: Likewise.
1670 * predict.c: Likewise.
1671 * rtlanal.c: Likewise.
1673 * unwind-dw2-fde.h: Likewise.
1674 * unwind-pe.h: Likewise.
1675 * vmsdbgout.c: Likewise.
1677 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1679 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
1680 if type_required and passed decl.
1682 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
1684 * config.gcc (cpu_type): Include altivec.h in powerpc
1688 * config/rs6000/altivec.h: New.
1690 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1692 * doc/install.texi (*-ibm-aix*): Update assembler and exception
1693 handling information.
1694 * doc/trouble.texi (Interoperation): Add libstdc++ information
1696 (Misunderstandings): Add template instantiation and static template
1697 member information for AIX.
1699 2002-01-17 Jason Merrill <jason@redhat.com>
1701 * dbxout.c (dbxout_type): Support const and volatile.
1703 * except.c (add_partial_entry): Remove backwards compatibility code.
1704 (end_protect_partials): Likewise.
1706 2002-01-17 Jakub Jelinek <jakub@redhat.com>
1708 * config/ia64/ia64.md (prologue_use): New.
1709 * config/ia64/ia64.c (ia64_expand_prologue): Use
1710 gen_prologue_use instead of gen_rtx_USE.
1711 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1712 as CODE_FOR_pred_rel_mutex.
1713 (ia64_sched_reorder2): Likewise.
1715 2002-01-16 Eric Christopher <echristo@redhat.com>
1717 * config/mips/r3900.h: Reformat.
1718 (SUBTARGET_CPP_SIZE_SPEC): Remove.
1719 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1720 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1721 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1722 * config/mips/t-elf: Remove mips3 multilib.
1724 2002-01-16 H.J. Lu <hjl@gnu.org>
1726 * config/mips/linux.h: Include "mips/abi64.h".
1728 2002-01-16 H.J. Lu <hjl@gnu.org>
1730 * config/mips/t-linux: New.
1732 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1734 * config/mips/linux.h: Don't include "gofast.h".
1735 (INIT_SUBTARGET_OPTABS): Removed.
1737 2002-01-16 Kazu Hirata <kazu@hxi.com>
1739 * config/h8300/h8300-protos.h: Replace emit_a_shift with
1741 * config/h8300/h8300.c: Likewise.
1742 * config/h8300/h8300.md: Likewise.
1744 2002-01-16 Kazu Hirata <kazu@hxi.com>
1746 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1747 spaces after an opcode name.
1748 (pushqi1_h8300hs): Likewise.
1749 (pushhi1_h8300hs): Likewise.
1751 2002-01-16 Kazu Hirata <kazu@hxi.com>
1753 * doc/extend.texi: Replace "option" with "attribute"
1756 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1758 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1759 (and:DI () (const_int -8)).
1760 (split_small_symbolic_mem_operand): Split
1761 (mem (and:DI () (const_int -8)).
1763 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1766 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1767 same way as TYPE_IMUL.
1768 (ultrasparc_sched_reorder): Likewise.
1769 * config/sparc/sparc.md (type): Add comment to update
1770 ultrasparc_sched_reorder when making changes.
1772 2002-01-16 Kazu Hirata <kazu@hxi.com>
1774 * doc/invoke.texi: Change the dump file name of block
1775 reordering pass from 28.bbro to 29.bbro.
1778 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1780 * i386.md (minsf splitter): Fix pasto.
1782 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1784 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1785 to frame pointer initialisation instruction.
1786 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1787 initialisation instruction.
1788 (soft_df_operand): Do not accept the IP register.
1789 (nonimmediate_soft_df_operand): Do not accept the IP register.
1791 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1794 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1795 MASK_V8 being both set.
1797 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1799 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1800 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1801 config/s390/s390.md (call, call_value): Add GOT register to
1802 CALL_INSN_FUNCTION_USAGE where needed.
1803 (call_exp, call_value_exp): New.
1805 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1807 * config/arm/arm.c: General formatting tidy up.
1809 2002-01-16 Graham Stott <grahams@redhat.com>
1811 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1812 cast and when casting an integer literal to "rtx" pointer.
1813 (expand_call): Likewise.
1814 * flow.c (try_pre_increment): Likewise.
1815 (find_use_as_address): Likewise.
1816 * integrate.c (expand_iline_function): Likewise.
1817 * regmove.c (try_auto_increment): Likewise.
1819 2002-01-16 Graham Stott <grahams@redhat.com>
1821 * sched-rgn.c (passed): Use sbitmap_free.
1824 (in_queue): Likewise.
1825 (in_stack): Likewise.
1827 2002-01-15 Eric Christopher <echristo@redhat.com>
1829 * flow.c (propagate_one_insn): Change to use fatal_insn.
1831 2002-01-15 Kazu Hirata <kazu@hxi.com>
1833 * expmed.c (extract_fixed_bit_field): Remove unused code.
1834 * system.h: Poison SLOW_ZERO_EXTEND.
1835 * doc/tm.texi: Remove.
1836 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1837 * config/arm/arm.h: Likewise.
1838 * config/avr/avr.h: Likewise.
1839 * config/clipper/clipper.h: Likewise.
1840 * config/convex/convex.h: Likewise.
1841 * config/d30v/d30v.h: Likewise.
1842 * config/dsp16xx/dsp16xx.h: Likewise.
1843 * config/elxsi/elxsi.h: Likewise.
1844 * config/fr30/fr30.h: Likewise.
1845 * config/h8300/h8300.h: Likewise.
1846 * config/i370/i370.h: Likewise.
1847 * config/i386/i386.h: Likewise.
1848 * config/m68k/m68k.h: Likewise.
1849 * config/mips/mips.h: Likewise.
1850 * config/ns32k/ns32k.h: Likewise.
1851 * config/pdp11/pdp11.h: Likewise.
1852 * config/pj/pj.h: Likewise.
1853 * config/s390/s390.h: Likewise.
1854 * config/sh/sh.h: Likewise.
1855 * config/stormy16/stormy16.h: Likewise.
1856 * config/v850/v850.h: Likewise.
1857 * config/vax/vax.h: Likewise.
1858 * config/we32k/we32k.h: Likewise.
1860 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1862 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1863 (altivec_lvsl): Change constraint to b.
1864 (altivec_lvsr): Same.
1865 (altivec_lvebx): Same.
1866 (altivec_lvehx): Same.
1867 (altivec_lvewx): Same.
1868 (altivec_lvxl): Same.
1869 (altivec_lvx): Same.
1870 (altivec_stvx): Add parallel.
1871 (altivec_stvxl): Same.
1872 (altivec_stvehx): Same.
1873 (altivec_stvebx): Same.
1874 (altivec_stvebx): Same.
1876 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1878 * config.gcc: Change altivec.h to altivec-defs.h.
1880 * config/rs6000/altivec.h: Delete.
1882 * config/rs6000/altivec-defs.h: Add.
1884 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1886 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1889 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1890 less than or equal to eight bytes.
1892 * vax.md (andsi3): Remove constraints and change SET destination
1893 operand type to nonimmediate_operand.
1894 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1895 when it is a CONST_INT.
1897 2002-01-15 Jason Merrill <jason@redhat.com>
1899 * c-common.def (FILE_STMT): New code.
1900 * c-common.c (statement_code_p): It's a statement.
1901 * c-common.h (stmt_tree_s): Add x_last_filename.
1902 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1903 (last_expr_filename): New macro.
1904 * c-semantics.c (begin_stmt_tree): Initialize it.
1905 (add_stmt): If the filename changed, also insert a
1907 (expand_stmt): Handle seeing one.
1909 2002-01-15 Eric Christopher <echristo@redhat.com>
1911 * flow.c (propagate_one_insn): Add error message and print out
1914 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1916 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1917 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1918 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1919 TRAMPOLINE_ALIGNMENT.
1920 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1922 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1923 PCC_BITFIELD_TYPE_MATTERS.
1924 * config/interix.h (STDC_VALUE): Remove. Use
1925 STDC_0_IN_SYSTEM_HEADERS.
1926 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1927 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1928 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1930 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1932 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1933 not work on this platform currently.
1935 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1937 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1938 readonly_warning in _().
1940 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1942 * gcc.c (delete_if_ordinary): Backout previous change.
1944 2002-01-15 Kazu Hirata <kazu@hxi.com>
1946 * config/h8300/h8300.c (print_operand): Remove support for
1947 unused operand characters.
1949 * read-rtl.c: Fix formatting.
1951 * recog.c: Likewise.
1952 * regclass.c: Likewise.
1953 * regmove.c: Likewise.
1954 * reg-stack.c: Likewise.
1955 * reload1.c: Likewise.
1956 * rtlanal.c: Likewise.
1958 2002-01-15 Kazu Hirata <kazu@hxi.com>
1960 * config/i386/i386.c: Fix formatting.
1962 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1964 * c-typeck.c (process_init_element): Don't save_expr
1965 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1967 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1969 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1970 emit optional traceback table if optimize_size or TARGET_ELF.
1971 * config/rs6000/rs6000.md (prefetch): New.
1973 2002-01-15 Andreas Jaeger <aj@suse.de>
1975 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1977 2002-01-15 Kazu Hirata <kazu@hxi.com>
1979 * mips-tfile.c: Fix formatting.
1981 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1983 * unroll.c (final_reg_note_copy): Fix previous commit.
1985 2002-01-14 Kazu Hirata <kazu@hxi.com>
1987 * config/h8300/h8300-protos.h: Remove the prototype for
1989 * config/h8300/h8300.c (eq_operator): Remove.
1991 2002-01-14 Richard Henderson <rth@redhat.com>
1993 * config/i386/i386.md (prefetch): Tidy.
1994 (prefetch_3dnow): Fix locality operand.
1996 2002-01-14 Richard Henderson <rth@redhat.com>
1998 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1999 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
2001 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
2003 * reload1.c (reload_combine): Pass reg_sum replacement through
2004 copy_rtx in loop performing multiple changes.
2006 2002-01-14 Jakub Jelinek <jakub@redhat.com>
2008 * except.c (remove_unreachable_regions): New.
2009 (free_eh_status): Clear exception_handler_labels.
2010 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
2011 (find_exception_handler_labels): Don't add the same label more than
2013 (remove_exception_handler_label): Don't die if
2014 find_exception_handler_labels hasn't been called for the current
2017 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
2019 * toplev.c (rest_of_compilation): Rebuild jump labels after
2022 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
2024 * doc/extend.texi: Move documentation of X86 built-in functions
2026 * doc/invoke.texi: From here.
2027 * doc/sourcebuild.texi: Document location of documentation for
2028 machine built-in functions.
2030 2002-01-13 Christopher Faylor <cgf@redhat.com>
2032 * cppfiles.c (TEST_THRESHOLD): New macro.
2033 (SHOULD_MMAP): Ditto.
2034 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
2037 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
2039 * unroll.c (final_reg_note_copy): Properly handle
2041 (unroll_loops): Fix LOOP_CONDITION heuristics.
2043 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
2045 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
2046 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
2048 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
2050 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
2053 2002-01-14 Tom Rix <trix@redhat.com>
2055 * config/rs6000/rs6000.md: Fix typo with sradi.
2057 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
2059 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
2060 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
2061 (clrstrdi, clrstrsi): Adapt callers.
2063 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
2065 (movti splitter): Never use register 0 as base register.
2067 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
2069 * combine.c (simplify_shift_const): Always generate new rtx
2070 for shift expression instead of reusing given expression.
2072 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2074 * config/alpha/alpha.c (alpha_expand_mov): Don't call
2075 alpha_legitimize_address unless mode is Pmode.
2077 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
2079 * doc/md.texi (Modifiers): Document the '*' constraint for the
2082 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
2083 * doc/extend.texi (Function Attributes): 'interrupt' is valid
2086 2002-01-13 Richard Henderson <rth@redhat.com>
2088 * reload.c (find_reloads): Use a hard reg destination as reload reg
2089 for an input reload of the source.
2091 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2093 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
2096 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
2098 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
2099 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
2101 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
2103 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2105 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
2107 2002-01-12 Tom Rix <trix@redhat.com>
2109 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
2112 2002-01-12 Richard Henderson <rth@redhat.com>
2114 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
2116 * doc/invoke.texi: Update Alpha options.
2118 * doc/invoke.texi: Update i386 built-in function lists.
2120 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
2122 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
2123 referencing outside.
2125 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2127 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
2128 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
2129 offsets, and change line folding.
2130 * optabs.c (expand_binop): Remove warnings.
2131 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
2133 2002-01-12 Graham Stott <grahams@redhat.com>
2135 * attribs.c (handle_deprecated_attribute): constify WHAT.
2136 * diagnostic.c (warn_deprecated_use): Add braces, fixes
2137 dangling else warning and constify WHAT.
2138 * except.h (struct function, struct inline_remap): Move
2139 struct tag forward defs before all prototypes.
2140 (duplicate_eh_regions): Whitespace.
2142 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
2144 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
2145 MODE_BASE_REG_CLASS.
2146 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
2148 2002-01-12 Richard Henderson <rth@redhat.com>
2150 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
2151 (ix86_expand_vector_move): New.
2152 (bdesc_2arg): Remove andps, andnps, orps, xorps.
2153 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
2154 Remove old prefetch builtins. Special case the logicals removed above.
2155 (ix86_expand_builtin): Likewise.
2156 (safe_vector_operand): Use V4SFmode, not TImode.
2157 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
2158 (ix86_expand_timode_binop_builtin): New.
2159 * config/i386/i386-protos.h: Update.
2160 * config/i386/i386.h (enum ix86_builtins): Update.
2161 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
2162 Use ix86_expand_vector_move in vector move expanders.
2163 (movti_internal, movti_rex64): Add xorps alternative.
2164 (sse_clrv4sf): Rename and adjust from sse_clrti.
2165 (prefetch): Don't work so hard.
2166 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
2167 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
2168 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
2170 2002-01-11 Richard Henderson <rth@redhat.com>
2172 * config/i386/mmintrin.h: New file.
2173 * config/i386/xmmintrin.h: New file.
2174 * config.gcc (i?86-*-*): Add extra_headers.
2175 * simplify-rtx.c (simplify_unary_operation): Handle saturating
2177 (simplify_binary_operation): Handle saturating arithmetic codes.
2178 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
2179 not the lowpart subreg.
2180 (ix86_expand_builtin): Return a TImode dummy register instead of 0
2182 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
2184 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2186 * conflict.c (conflict_graph_compute): Free regsets when finished.
2187 * ssa.c (compute_coalesced_reg_partition): Likewise.
2189 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2191 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
2192 every where we allocate a register.
2194 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2196 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
2197 * lcm.c (compute_earliest, compute_farthest): Likewise.
2199 2002-01-11 Janis Johnson <janis187@us.ibm.com>
2201 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
2203 2002-01-11 Janis Johnson <janis187@us.ibm.com>
2205 * doc/rtl.texi (Insns): Fix 2 typos.
2207 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2209 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
2210 options. Use @table @gcctabopt for MMIX options. Add index
2211 entries for MMIX options. Start new paragraph with first
2212 heading of the machine-dependent options.
2214 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
2217 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
2218 * combine.c (force_to_mode): Same.
2219 * reload1.c (clear_reload_reg_in_use): Same.
2221 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
2223 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
2226 2002-01-11 Andreas Jaeger <aj@suse.de>,
2227 Brad Lucier <lucier@math.purdue.edu>
2229 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
2232 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
2234 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
2235 Protect with IN_LIBGCC.
2236 (LINK_EH_SPEC): Add required trailing space.
2238 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
2240 * c-tree.h: Move function declarations so that they are listed
2241 under the filename which contains them.
2242 (check_identifier, finish_decl_top_level,
2243 lookup_name_current_level_global, shadow_record_fields): Remove.
2245 2002-01-11 Andreas Jaeger <aj@suse.de>
2247 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
2250 2002-01-10 Richard Henderson <rth@redhat.com>
2252 * config/alpha/alpha.c (print_operand): Add 'J'.
2253 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
2254 new operand with the sequence number for the lituse. When splitting
2255 the insns, use gen_movdi_er_high_g and generate a sequence number.
2256 (gen_movdi_er_high_g): Print the sequence number if non-zero.
2258 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
2260 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
2261 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
2263 (altivec_expand_builtin): Same.
2264 (altivec_expand_stv_builtin): New.
2266 * config/rs6000/rs6000.h (rs6000_builtins): Same.
2268 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
2269 ("altivec_lvehx"): New.
2270 ("altivec_lvewx"): New.
2271 ("altivec_lvxl"): New.
2272 ("altivec_lvx"): New.
2273 ("altivec_stvx"): New.
2274 ("altivec_stvebx"): New.
2275 ("altivec_stvehx"): New.
2276 ("altivec_stvewx"): New.
2277 ("altivec_stvxl"): New.
2279 2002-01-10 Richard Henderson <rth@redhat.com>
2281 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
2282 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
2283 care not to delete instructions twice.
2285 2002-01-10 Zack Weinberg <zack@codesourcery.com>
2287 * toplev.c: Don't declare environ (it's not used anywhere).
2288 * configure.in: Don't check for declaration of environ.
2289 * config/i386/xm-mingw32.h: Don't #define environ.
2290 * config.in, configure: Regenerate.
2292 2002-01-10 Zack Weinberg <zack@codesourcery.com>
2294 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
2295 * configure: Regenerate.
2297 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
2298 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
2299 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
2301 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
2302 LIMITS_H_TEST here, not in m68k/x-next.
2303 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
2304 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
2306 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
2307 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
2308 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
2310 * config/i386/x-djgpp: Renamed i386/t-djgpp.
2311 * config/m88k/x-dolph: Renamed m88k/t-dolph.
2312 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
2313 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
2314 replacement of quadlib.asm with quadlib.c.
2316 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
2317 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
2318 config/rs6000/xm-beos.h: Delete file.
2320 * config.gcc: Update to match above changes.
2322 2002-01-10 Kazu Hirata <kazu@hxi.com>
2324 * config/h8300/h8300.h: Fix comment typos.
2325 * config/h8300/h8300.md: Likewise.
2326 * config/h8300/lib1funcs.asm: Likewise.
2328 2002-01-10 Dale Johannesen <dalej@apple.com>
2330 PR optimization/5269
2331 * unroll.c (precondition_loop_p): Make *increment be the correct
2332 sign when n_iterations known, to avoid confusing caller.
2334 2002-01-10 Kazu Hirata <kazu@hxi.com>
2336 * doc/extend.texi (deprecated): Fix a typo.
2338 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
2340 * basic-block.h (update_br_prob_note): Declare.
2341 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
2342 (try_forward_edges): Care negative frequencies and update note.
2343 (outgoing_edges_match): Tweek conditional merging heuristics.
2344 (try_crossjump_to_edge): use update_br_prob_note.
2345 * cfglayout.c (fixup_reorder_chain): Likewise.
2346 * cfrtl.c (update_br_prob_note): New.
2347 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
2349 * i386.c (ix86_decompose_address): Return -1 if address contains
2351 (legitimate_address_p): Require ix86_decompose_address to return 1.
2353 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
2354 (cprop_insn): Likewise.
2356 2002-01-10 Kazu Hirata <kazu@hxi.com>
2358 * toplev.c: Fix formatting.
2360 * tree-dump.c: Likewise.
2361 * unroll.c: Likewise.
2362 * unwind-dw2.c: Likewise.
2363 * unwind-dw2-fde.c: Likewise.
2364 * unwind-dw2-fde-glibc.c: Likewise.
2365 * unwind-sjlj.c: Likewise.
2367 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2369 * doc/invoke.texi: Document PDP-11 options.
2371 2002-01-10 Kazu Hirata <kazu@hxi.com>
2373 * config/h8300/h8300.h: Fix formatting.
2375 2002-01-10 Ira Ruben <ira@apple.com>
2377 Add __attribute__ ((deprecated)).
2378 * extend.texi: Document __attribute__ ((deprecated)).
2379 * invoke.texi: Document -Wno-deprecated-declarations.
2380 * testsuite/g++.dg/other/deprecated.C: New C++ test.
2381 * testsuite/gcc.dg/deprecated.c: New C test.
2382 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
2383 (c_common_attribute_table): Add "deprecated" entry.
2384 (handle_deprecated_attribute): New function.
2385 * c-decl.c (deprecated_states): New enum.
2386 deprecated_state: State of "deprecated" handling.
2387 (start_decl): Set deprecated_state based on attributes.
2388 (grokdeclarator): Test for deprecated uses, propagate attribute.
2389 * c-typeck.c (build_component_ref): Test for deprecated fields.
2390 (build_external_ref): Test for deprecated primaries.
2391 * diagnostic.c (warn_deprecated_use) New function to issue
2392 warnings about __attribute__ ((depricated)) references.
2393 * flags.h (warn_deprecated_decl): Extern declared for
2394 -W[no-]deprecated-declarations option.
2395 * print-tree.c (print_node): Show deprecated flag status.
2396 * toplev.c (warn_deprecated_decl): Defined.
2397 (W_options): Added "deprecated-declaration".
2398 * toplev.h (warn_deprecated_use): Extern declared.
2399 * tree.h (struct tree_common): Define deprecated_flag.
2400 (TREE_DEPRECATED): New macro to access flag.
2401 * cp/call.c (build_call): Test for deprecated calls.
2402 * cp/class.c (add_implicitly_declared_members): Set global
2403 flag to tell grokdeclarator to not issue deprecated warnings.
2404 * cp/cp-tree.h: Add extern for adding_implicit_members.
2405 * cp/decl.c (deprecated_states): New enum.
2406 (start_decl): Set deprecated_state based on attributes.
2407 (grokdeclarator): Test for deprecated uses, propagate attribute.
2408 * cp/lex.c (do_identifier): Test for deprecated primaries.
2409 * cp/typeck.c (build_component_ref): Test for deprecated fields.
2411 2002-01-10 Ira Ruben <ira@apple.com>
2413 Fix to assign attributes to inline member functions.
2414 * cp/decl.c (start_method): Handle attrlist.
2416 2002-01-10 Kazu Hirata <kazu@hxi.com>
2418 * combine.c (expand_field_assignment): Use subreg_lsb().
2420 2002-01-10 David Edelsohn <edelsohn@gnu.org>
2422 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
2423 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
2424 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
2425 Recurse for any operand of AND as long as constant is non-zero.
2427 2002-01-10 Kazu Hirata <kazu@hxi.com>
2429 * config/h8300/h8300.md: Remove constraints from expanders.
2431 2002-01-10 Kazu Hirata <kazu@hxi.com>
2433 * varasm.c: Fix formatting.
2434 * varray.c: Likewise.
2435 * vmsdbgout.c: Likewise.
2436 * xcoffout.c: Likewise.
2438 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
2440 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
2441 update edge probabilities to match.
2443 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2445 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
2447 * doc/languages.texi, doc/sourcebuild.texi: New files.
2448 * doc/configfiles.texi: Make a subsubsection. Update.
2449 * doc/configterms.texi: Add @node. Remove warning that this isn't
2450 instructions for building GCC.
2451 * doc/makefile.texi: Make a subsection.
2452 * doc/gccint.texi: Update.
2454 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
2456 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
2458 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2460 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
2462 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
2464 * optabs.c (expand_fix): Look for wider integer modes first.
2466 * i386.md (mov?f): Avoid the fake const double trick for medium
2468 (min?f*/max?f*): Prohibit memory operands for i387 variant.
2469 (fop_df_4): Disable for SSE compilation.
2471 2002-01-10 Graham Stott <grahams@redhat.com>
2473 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
2474 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
2476 2002-01-10 Richard Henderson <rth@redhat.com>
2478 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
2480 2002-01-10 Richard Henderson <rth@redhat.com>
2482 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
2483 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
2485 2002-01-10 Kazu Hirata <kazu@hxi.com>
2487 * combine.c (can_combine_p): Fix a comment typo.
2489 2002-01-09 Zack Weinberg <zack@codesourcery.com>
2491 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
2492 empty list correctly. Change loop index $t to $f for
2493 consistency with rest of Makefile.
2495 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
2497 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
2498 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2500 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
2501 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
2502 (altivec_init_builtins): Same.
2503 (altivec_expand_unop_builtin): Return NULL_RTX on error.
2504 (altivec_expand_binop_builtin): Same.
2505 (altivec_expand_ternop_builtin): Same.
2508 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
2509 ("altivec_vctuxs"): Fix typo.
2510 ("altivec_vnmsubfp"): Same.
2511 ("altivec_dssall"): New.
2512 ("altivec_mfvscr"): New.
2513 ("altivec_dss"): New.
2514 ("altivec_lvsl"): New.
2515 ("altivec_lvsr"): New.
2516 ("altivec_dstt"): New.
2517 ("altivec_dstst"): New.
2518 ("altivec_dststt"): New.
2519 ("altivec_dst"): New.
2521 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
2522 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2524 2002-01-09 Richard Henderson <rth@redhat.com>
2526 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
2528 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
2530 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
2532 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
2534 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
2536 2002-01-09 Kazu Hirata <kazu@hxi.com>
2538 * read-rtl.c: Fix formatting.
2540 * regclass.c: Likewise.
2541 * regrename.c: Likewise.
2542 * reg-stack.c: Likewise.
2543 * reload1.c: Likewise.
2544 * reload.c: Likewise.
2547 2002-01-09 Kazu Hirata <kazu@hxi.com>
2549 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
2550 to extract items in the expr_list chain.
2552 2002-01-09 Richard Henderson <rth@redhat.com>
2554 * config/vax/vax.c (vax_rtx_cost): Never abort.
2556 * config/vax/vax.h (REAL_ARITHMETIC): Define.
2558 2002-01-09 Jan Hubicka <jh@suse.cz>
2560 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
2562 2002-01-09 Richard Henderson <rth@redhat.com>
2564 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
2565 Unify code from various alternatives.
2567 2002-01-09 Richard Henderson <rth@redhat.com>
2569 * regrename.c (copy_value): Ignore the copy if the source register
2570 is present in the value chain with a narrower mode.
2572 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2574 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
2575 for the c4x target. Also improve layout.
2577 2002-01-09 Richard Henderson <rth@redhat.com>
2579 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
2580 * config/m32r/m32r.md (and ior xor splitters): Swap operands
2581 to match insn patterns.
2583 2002-01-09 Richard Henderson <rth@redhat.com>
2585 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
2586 (copyprop_hardreg_forward_1): Likewise.
2588 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2590 * pa.md (decrement_and_branch_until_zero): Change predicate for
2591 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
2593 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2595 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
2596 gets undefined. For Darwin.
2598 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2600 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
2602 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2604 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
2606 2002-01-08 Richard Henderson <rth@redhat.com>
2608 * regrename.c (copy_value): Ignore overlapping copies.
2610 2002-01-08 Richard Henderson <rth@redhat.com>
2612 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
2613 as needed to avoid shared structure.
2615 2002-01-08 Kazu Hirata <kazu@hxi.com>
2617 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
2620 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2622 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
2623 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
2624 documentation of obsolete macros.
2625 * system.h: Poison these macros.
2626 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
2627 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
2628 config/c4x/c4x.h, config/clipper/clipper.h,
2629 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
2630 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
2631 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
2632 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
2633 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2634 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
2635 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2636 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
2637 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
2638 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2639 config/sparc/sparc.h, config/stormy16/stormy16.h,
2640 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
2641 definitions and commented out definitions of obsolete macros.
2642 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
2643 of MAX_INT_TYPE_SIZE.
2645 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2647 * config/s390/s390.c (s390_preferred_reload_class): Never
2648 return ADDR_REGS if it isn't a subset of the given class.
2649 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
2650 FP_REGS, but all superclasses as well.
2652 * config/s390/s390.c (s390_function_profiler): Fix thinko.
2654 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
2655 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
2656 must not be a const_int.
2658 2002-01-08 Richard Henderson <rth@redhat.com>
2660 * Makefile.in (toplev.o): Depend on options.h.
2661 (gcc.o): Depend on specs.h.
2663 2002-01-08 Jakub Jelinek <jakub@redhat.com>
2665 * expr.c (store_expr): Convert VOIDmode constants back to target's
2668 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2670 * doc/invoke.texi: Markup gcc as @command. Refer to
2671 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
2672 of http://gcc.gnu.org/thanks.html.
2674 2002-01-08 Dale Johannesen <dalej@apple.com>
2676 * config/rs6000/rs6000.md: Add missing int register
2677 target case to movdf_low.
2679 2002-01-08 Zack Weinberg <zack@codesourcery.com>
2681 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
2682 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
2683 (cppinit.o): Depend on except.h.
2684 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
2685 s-specs): New rules.
2687 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
2688 Don't create specs.h/options.h/gencheck.h here. Remove
2689 unnecessary variable settings from last argument of AC_OUTPUT.
2690 * config.in, configure: Regenerate.
2691 * intl.c: Hardcode package name as "gcc".
2693 * cppinit.c: Include except.h.
2694 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2696 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2697 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2698 (!)USING_SJLJ_EXCEPTIONS.
2699 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2701 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2703 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2704 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2705 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2706 documentation of obsolete macros.
2707 * system.h: Poison these macros.
2708 * config/d30v/d30v.h, config/ns32k/encore.h,
2709 config/stormy16/stormy16.h: Remove definitions and commented out
2710 definitions of obsolete macros.
2712 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
2714 * objc/objc-act.c (handle_class_ref): Mark the declaration of
2715 %sobjc_class_ref_%s as used - to prevent unwanted compiler
2718 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2720 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2721 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2722 to insn adjusting stack/frame pointer.
2723 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2724 accept operands that cause the insn to be non-splittable.
2726 2002-01-08 Graham Stott <grahams@redhat.com>
2728 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2729 (C_TYPE_FIELDS_VOLATILE): Likewise.
2730 (C_TYPE_BEING_DEFINED): Likewise.
2731 (C_IS_RESERVED_WORD): Likewise.
2732 (C_TYPE_VARIABLE_SIZE): Likewise.
2733 (C_DECL_VARIABLE_SIZE): Likewise.
2734 (C_MISSING_PROTOTYPE_WARNED): Likewise.
2735 (C_SET_EXP_ORIGINAL_CODE): Likewise.
2736 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2738 (C_DECL_ANTICIPATED): Likewise.
2739 (c_build_type_variant): Add parenthesis.
2741 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2743 * gcc.c (option_map): Remove --version.
2744 (process_command): Handle -fversion following the GNU Coding
2745 Standards. Partially addresses PR other/704.
2747 2002-01-08 Graham Stott <grahams@redhat.com>
2749 * combine.c (combine_instructions): Fix typo.
2751 2002-01-08 Graham Stott <grahams@redhat.com>
2753 * debug.h: Use "tree" and "rtx" throughout.
2755 * debug.c: Likewise.
2757 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2759 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2760 constant pool, use the pool's version of the symbol instead.
2762 2002-01-07 Richard Henderson <rth@redhat.com>
2764 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2765 the original register was copied in a mode with a fewer number of
2766 hard registers than the desired mode.
2767 (copyprop_hardreg_forward_1): Likewise.
2768 (debug_value_data): Fix loop test.
2769 * toplev.c (parse_options_and_default_flags): Reenable
2770 -fcprop-registers at -O1.
2772 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2774 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2775 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2777 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2780 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2782 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2784 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2785 (pa_output_function_prologue): Output local label at the beginning of
2786 the prologue when profiling.
2787 (hppa_profile_hook): Use the local label rather than the function label.
2788 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2790 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2792 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2793 (altivec_expand_unop_builtin): Fix thinko.
2794 (altivec_expand_binop_builtin): Same.
2795 (altivec_expand_ternop_builtin): Same.
2796 (altivec_expand_builtin): Same.
2798 2002-01-07 Richard Henderson <rth@redhat.com>
2800 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2802 2002-01-07 Jason Merrill <jason@redhat.com>
2804 * unwind-dw2.c (execute_cfa_program): Use < again.
2806 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2808 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2810 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2812 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2813 Don't allow -1 - x -> ~x simplifications in the first pass.
2815 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2817 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2819 (altivec_expand_binop_builtin): Same.
2820 (altivec_expand_unop_builtin): Same.
2821 (print_operand): Fix typo.
2822 (bdesc_1arg): Add vupk* variants.
2824 * rs6000.h (rs6000_builtins): Add vupk* enums.
2826 * rs6000.md: Add altivec_vupk* variants.
2828 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2830 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2831 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2832 and last update dates.
2834 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2836 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2838 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2840 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2841 * config/avr/avr.h (CPP_SPEC): Likewise.
2842 (LINK_SPEC): Likewise.
2843 (CRT_BINUTILS_SPECS): Likewise.
2844 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2845 * doc/invoke.texi (AVR Options): Document them.
2847 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2849 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2852 2002-01-07 Graham Stott <grahams@redhat.com>
2854 * config/i386/i386.h: Update copyright date.
2855 (HALF_PIC_PTR): Add parenthesis.
2856 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2857 (CONSTANT_ALIGNMENT): Add parenthesis.
2858 (DATA_ALIGNMENT): Likewise.
2859 (LOCAL_ALIGNMENT): Likewise.
2860 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2861 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2862 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2863 (HARD_REGNO_NREGS): Add paranethesis.
2864 (VALID_SSE_REG_MODE): Whitespace.
2865 (VALID_MMX_REG_MODE): Whitespace.
2866 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2867 (ix86_hard_regno_mode_ok): Add parenthesis.
2868 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2869 (RETURN_IN_MEMORY): Whitespace.
2870 (N_REG_CLASSES): Add parenthesis.
2871 (INTEGER_CLASS_P): Add parenthesis and wrap.
2872 (FLOAT_CLASS_P): Likewise.
2873 (SSE_CLASS_P): Likewise.
2874 (MMX_CLASS_P): Likewise.
2875 (MAYBE_INTEGER_CLASS_P): Likewise.
2876 (MAYBE_FLOAT_CLASS_P): Likewise.
2877 (MAYBE_SSE_CLASS_P): Likewise.
2878 (MAYBE_MMX_CLASS_P): Likewise.
2879 (Q_CLASS_P): Likewise.
2880 (GENERAL_REGNO_P): Uppercase macro parameter.
2881 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2882 (FP_REGNO_P): Likewise.
2883 (ANY_FP_REGNO_P): Uppercase macro parameter.
2884 (SSE_REGNO_P): Likewise.
2885 (SSE_REGNO): Likewise.
2886 (SSE_REG_P): Likewise.
2887 (SSE_FLOAT_MODE_P): Likewise.
2888 (MMX_REGNO_P): Likewise.
2889 (MMX_REG_P):Likewise.
2890 (STACK_REG_P): Likewise.
2891 (NON_STACK_REG_P): Likewise.
2892 (STACK_TOP_P): Likewise.
2893 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2894 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2895 (SECONDARY_MEMORY_NEEDED): Likewise.
2896 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2897 (MD_ASM_CLOBBERS): Whitespace and wrap.
2898 (MUST_PASS_IN_STACK): Whitespace and wrap.
2899 (RETURN_POPS_ARGS): Add parenthesis.
2900 (INIT_CUMULATIVE_ARGS): Likewise.
2901 (FUNCTION_ARG): Likewise.
2902 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2903 (SETUP_INCOMING_VARARGS): Likewise.
2904 (BUILD_VA_LIST_TYPE): Add parenthesis.
2905 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2907 (EXPAND_BUILTIN_VA_ARG): Likewise.
2908 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2909 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2910 (INITIAL_ELIMINATION_OFFSET): Likewise.
2911 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2912 (REGNO_OK_FOR_BASE_P): Likewise.
2913 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2914 (REGNO_OK_FOR_DIREG_P): Likewise.
2915 (REG_OK_FOR_INDEX_P): Whitespace.
2916 (REG_OK_FOR_BASE_P): Whitespace.
2917 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2919 (FIND_BASE_TERM): Fix typo.
2920 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2921 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2922 (SYMBOLIC_CONST; Whitespace.
2923 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2924 (ENCODE_SECTION_INFO): Whitespace.
2925 (FINALIZE_PIC): Remove do { ... } while (0).
2926 (PROMOTE_MODE): Wrap in do { ... } while (0).
2927 (CONST_COSTS): Whitespace.
2928 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2929 (REGISTER_MOVE_COST): Add parenthesis.
2930 (MEMORY_MOVE_COST): Likewise.
2931 (EXTRA_CC_MODES): Whitespace.
2932 (SELECT_CC_MODE): Add parenthesis and whitespace.
2933 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2934 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2935 (ASM_OUTPUT_LABEL): Add paramethesis.
2936 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2937 (ASM_OUTPUT_REG_POP): Likewise.
2938 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2939 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2941 * config/i386/i386.c: Update copyright.
2942 (CHECK_STACK_LIMIT): Add parenthesis.
2943 (AT_BP): Uppercase macro parameter.
2944 (x86_64_int_parameter_registers): Constify.
2945 (x86_64_int_return_registers): Likewise.
2946 (ix86_compare_op0): Use rtx.
2947 (construct_container): Constify INTREG parameter.
2948 (function_arg): Use rtx.
2950 * diagnostic.h: Update copyright date.
2951 (output_buffer_state): Add parenthesis.
2952 (output_buffer_format_args): Likewise.
2954 * combine.c (combine_instructions): Replace XEXP (links, 0)
2957 2002-01-06 H.J. Lu <hjl@gnu.org>
2959 * cfgcleanup.c (thread_jump): Fix 2 typos.
2961 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2963 * config.gcc: Add support for --enable-altivec.
2965 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2967 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2969 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2971 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2972 __objc_class_name_*.
2974 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2976 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2978 2002-01-06 Richard Henderson <rth@redhat.com>
2980 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2981 nop them out. Increment label reference count for REG_LABEL.
2982 (fill_slots_from_thread): Frob label reference count around
2983 delete_related_insns.
2985 2002-01-05 Richard Henderson <rth@redhat.com>
2987 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2990 2002-01-05 Richard Henderson <rth@redhat.com>
2992 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2993 * integrate.c (output_inline_function): Likewise.
2994 * toplev.c (rest_of_compilation): Do it here instead. Move call
2995 to remove_unnecessary_notes after emitting abstract instance.
2996 Force an emitted nested function to have its parent emited as well.
2997 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2999 (rtl_for_decl_location): Do not look at reload data structures
3000 before reload has run.
3002 2002-01-05 Kazu Hirata <kazu@hxi.com>
3004 * cse.c: Fix formatting.
3005 * dwarf2asm.c: Likewise.
3006 * dwarf2out.c: Likewise.
3007 * explow.c: Likewise.
3008 * expmed.c: Likewise.
3009 * function.c: Likewise.
3011 * gencheck.c: Likewise.
3012 * genrecog.c: Likewise.
3013 * ggc-common.c: Likewise.
3014 * ggc-page.c: Likewise.
3015 * global.c: Likewise.
3017 2002-01-05 Kazu Hirata <kazu@hxi.com>
3019 * combine.c: Fix formatting.
3021 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
3024 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
3026 2002-01-05 David Edelsohn <edelsohn@gnu.org>
3028 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
3029 as 1 for __powerpc64__ as well.
3031 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
3033 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
3036 2002-01-05 Daniel Berlin <dan@dberlin.org>
3038 * lcm.c: Revert change, due to performance regression it causes on
3039 SPEC because it's slightly more conservative (sigh, I hate
3042 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
3044 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
3046 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
3048 * doc/cppinternals.texi: Update.
3050 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
3052 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
3053 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
3055 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
3056 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
3057 kludge for pre-october-14th mmix versions to handle new-found bug
3058 with PUSHJ/PUSHGO and the register stack.
3059 * config/mmix/mmix.h (struct machine_function): Rename member
3060 has_call_value_without_parameters to has_call_without_parameters.
3061 All referers changed.
3062 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
3063 TARGET_MASK_BRANCH_PREDICT): New macros.
3064 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
3065 -mno-reg-stack-fill-bug-workaround.
3066 * config/mmix/mmix.md ("call"): Set struct machine member
3067 has_call_without_parameters.
3069 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
3071 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
3073 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
3075 * cfgcleanup.c: Include tm_p.h
3076 (mark_effect): Fix handling of hard register; fix handling of SET
3078 2002-01-04 Kazu Hirata <kazu@hxi.com>
3080 * config/h8300/h8300.md (anonymous patterns): Check that
3081 operands are registers before using REGNO on them.
3083 2002-01-03 Roland McGrath <roland@frob.com>
3085 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
3087 2002-01-04 Jakub Jelinek <jakub@redhat.com>
3089 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
3090 * c-common.h (genrtl_expr_stmt_value): Likewise.
3091 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
3092 (expand_expr_stmt_value): Add maybe_last argument.
3093 Don't warn about statement with no effect if it is the last statement
3094 in expression statement.
3095 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
3096 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
3097 expand_expr_stmt_value.
3098 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
3099 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
3100 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
3101 as maybe_last to expand_expr_stmt_value.
3103 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
3105 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
3106 be passed in, do not build it.
3107 (c_begin_if_stmt): New function.
3108 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
3109 * c-common.h (c_expand_start_cond): Update prototype.
3110 (c_begin_if_stmt): Prototype new function.
3111 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
3112 * c-parse.in (if_prefix): Use c_begin_if_stmt,
3113 c_begin_while_stmt and c_finish_while_stmt_cond.
3115 2002-01-04 William Cohen <wcohen@redhat.com>
3117 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
3118 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
3119 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
3120 * config/pa/som.h (ASM_FILE_START): Likewise.
3122 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
3124 * lcm.c: Include df.h.
3125 Add available_transfer_function prototype.
3126 (compute_available): Rework to use iterative dataflow framework.
3127 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
3128 with bb_info in df.h
3129 (available_transfer_function): New function.
3131 * Makefile.in (lcm.o): add df.h to dependencies.
3133 2002-01-04 Richard Henderson <rth@redhat.com>
3135 * config/alpha/alpha.c (some_operand): Accept HIGH.
3136 (input_operand): Likewise; accept simple references to globals.
3137 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
3138 (alpha_const_double_ok_for_letter_p): Likewise.
3139 (alpha_extra_constraint): Likewise.
3140 (alpha_preferred_reload_class): Likewise. Do not force
3141 symbolic constants to memory.
3142 (alpha_legitimate_address_p): Accept simple references
3143 to small_symbolic_operand.
3144 (alpha_legitimize_address): New arg scratch. Be prepared to be
3145 called when no_new_pseudos. Emit simple symbolic references.
3146 Split integers into low, high, and rest.
3147 (alpha_expand_mov): Use alpha_legitimize_address.
3148 (some_small_symbolic_mem_operand): New.
3149 (split_small_symbolic_mem_operand): New.
3150 * config/alpha/alpha-protos.h: Update.
3151 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
3152 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
3153 (EXTRA_CONSTRAINT): Likewise.
3154 (PREFERRED_RELOAD_CLASS): Likewise.
3155 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
3156 (PREDICATE_CODES): Update.
3157 * config/alpha/alpha.md: New post-reload splitters to convert
3158 simplfied symbolic operands to the form that references $29.
3159 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
3160 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
3162 2002-01-03 Richard Henderson <rth@redhat.com>
3164 * local-alloc.c (function_invariant_p): Update commentary.
3166 2002-01-04 H.J. Lu <hjl@gnu.org>
3168 * toplev.c (rest_of_compilation): Fix a typo when calling
3171 2002-01-03 Kazu Hirata <kazu@hxi.com>
3173 * c-common.c: Fix formatting.
3174 * diagnostic.c: Likewise.
3175 * doloop.c: Likewise.
3176 * dwarf2out.c: Likewise.
3178 2002-01-03 Kazu Hirata <kazu@hxi.com>
3180 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
3181 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
3183 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
3185 * cpperror.c: Update comments and copyright.
3186 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
3187 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
3189 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
3191 * collect2.c (main): Use strcmp when testing for "-shared".
3193 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
3195 * cppmacro.c: Don't include intl.h. Update comments.
3196 (new_number_token): Allocate enough buffer for 64-bit unsigned
3197 integers; update prototype.
3198 * cppmain.c: Update comments.
3200 2002-01-03 William Cohen <wcohen@redhat.com>
3202 * function.h (struct function): Add profile.
3203 (current_function_profile): New.
3204 doc/extend.texi: Update documentation.
3205 * final.c (final_start_function): Use current_function_profile
3206 instead of profile_flag.
3207 (profile_after_prologue): Likewise.
3208 * function.c (expand_function_start): Likewise.
3209 (expand_function_start): Likewise.
3210 * config/alpha/alpha.c (direct_call_operand):
3211 (alpha_does_function_need_gp): Likewise.
3212 (alpha_expand_prologue): Likewise.
3213 * config/arm/arm.c (arm_expand_prologue): Likewise.
3214 thumb_expand_prologue: Likewise.
3215 * config/d30v/d30v.c (d30v_stack_info): Likewise.
3216 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
3217 (fr30_expand_prologue): Likewise.
3218 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
3219 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
3220 * config/i386/i386.h (FINALIZE_PIC): Likewise.
3221 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
3222 * config/i960/i960.c (i960_output_function_prologue): Likewise.
3223 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
3224 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
3225 (m32r_expand_prologue): Likewise.
3226 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
3227 (m88k_expand_prologue): Likewise.
3228 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
3229 * config/mips/mips.c (compute_frame_size): Likewise.
3230 (mips_expand_prologue): Likewise.
3231 (mips_can_use_return_insn): Likewise.
3232 * config/pa/elf.h (ASM_FILE_START): Likewise.
3233 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
3234 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
3235 * config/pa/som.h (ASM_FILE_START): Likewise.
3236 * config/romp/romp.c (romp_using_r14): Likewise.
3237 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
3238 (rs6000_stack_info): Likewise.
3239 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
3240 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
3241 * config/v850/v850.c (compute_register_save_size): Likewise.
3243 2002-01-03 Jakub Jelinek <jakub@redhat.com>
3245 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
3246 gen_lowpart_common fails, use gen_lowpart_SUBREG.
3248 2002-01-03 Turly O'Connor <turly@apple.com>
3250 * darwin.c (machopic_output_possible_stub_label): Don't generate
3251 stub routines for pseudo-stubs which we've just defined.
3253 2002-01-03 Kazu Hirata <kazu@hxi.com>
3255 * builtins.c: Fix formatting.
3256 * c-typeck.c: Likewise.
3257 * combine.c: Likewise.
3261 2002-01-03 Andreas Schwab <schwab@suse.de>
3263 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
3264 and return true if _cpp_push_next_buffer pushed a new include
3266 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
3267 _cpp_pop_file_buffer did not push a new file.
3268 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
3270 2002-01-02 Eric Christopher <echristo@redhat.com>
3272 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
3273 FIND_REG_INC_NOTE call. Update copyright.
3274 * loop.c (canonicalize_condition): Ditto.
3275 * reorg.c (delete_scheduled_jump): Ditto.
3277 2002-01-03 Kazu Hirata <kazu@hxi.com>
3279 * gcse.c: Fix formatting.
3281 2002-01-03 Graham Stott <grahams@redhat.com>
3283 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
3284 forward defs for struct tags rtx_def, union_tree, rtvec_def
3285 also output corresponding typedefs for rtx, tree, and rtvec.
3287 * system.h: Move forward defs for struct tags rtx_def, union_tree,
3288 rtvec_def along with corresponding typedefs for rtx, tree, and
3289 rtvec to config.h, hconfig.h, tconfig.h.
3291 2002-01-03 Graham Stott <grahams@redhat.com>
3293 * tree.h: Update copyright date.
3294 (IS_EXPR_CODE_CLASS): Add parenthesis.
3295 (TREE_SET_CODE): Add whitespace.
3296 (TREE_CHECK): Add parenthesis.
3297 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
3298 (CST_OR_CONSTRUCTOR_CHECK):
3299 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
3300 (TREE_SYMBOL_REFERENCED): Whitespace.
3301 (INT_CST_LT): Likewise.
3302 (INT_CST_LT_UNSIGNED): Likewise.
3303 (tree_real_cst): Unwrap comment.
3304 (tree_string): Likewise.
3305 (tree_complex): Likewise.
3306 (IDENTIFIER_POINTER): correct cast.
3307 (SAVE_EXPR_CONTEXT): Whitespace.
3308 (EXPR_WFL_FILENAME_NODE): Likewise.
3309 (EXPR_WFL_FILENAME): Remove parenthesis.
3310 (DECL_ORIGIN): Add parenthesis.
3311 (DECL_FROM_INLINE): Use NULL_TREE.
3312 (build_int_2): Whitespace.
3313 (build_type_variant): Add parenthesis.
3315 * gcc/jcf-parse.c: Update copyright date.
3316 (yyparse): Constify resource_filename.
3318 2002-01-03 Graham Stott <grahams@redhat.com>
3320 * rtl.h: Update copyright date.
3321 (RTL_CHECK1): Wrap long line.
3322 (RTL_CHECK2): Likewise.
3323 (RTL_CHECKC1): Wrap long line and whitespace.
3324 (RTL_CHECKC2): Likewise.
3325 (XWINT): Whitespace.
3331 (XBITMAP): Likewise.
3342 (X0BITMAP): Likewise.
3344 (X0BBDEF): Likewise.
3345 (X0ADVFLAGS): Likewise.
3346 (X0CSELIB): Likewise.
3347 (X0MEMATTR): Likewise.
3355 (XCBITMAP): Likewise.
3357 (XCBBDEF): Likewise.
3358 (XCADVFLAGS): Likewise.
3359 (XCCSELIB): Likewise.
3361 (INSN_UID): Likewise.
3362 (PREV_INSN): Likewise.
3363 (PATTERN): Likewise.
3364 (INSN_CODE): Likewise.
3365 (PUT_REG_NOTE_KIND): Likewise.
3366 (CODE_LABEL_NUMBER): Likewise.
3367 (NOTE_SOURCE_FILE): Likewise.
3368 (NOTE_BLOCK): Likewise.
3369 (NOTE_EH_HANDLER): Likewise.
3370 (NOTE_RANGE_INFO): Likewise.
3371 (NOTE_LIVE_INFO): Likewise.
3372 (NOTE_BASIC_BLOCK): Likewise.
3373 (NOTE_EXPECTED_VALUE): Likewise.
3374 (NOTE_LINE_NUMBER): Likewise.
3375 (LABEL_NAME): Likewise.
3376 (LABEL_NUSES): Likewise.
3377 (LABEL_ALTERNATE_NAME): Likewise.
3378 (ADDRESSOF_DECL): Likewise.
3379 (JUMP_LABEL): Likewise.
3380 (LABEL_NEXTREF): Likewise.
3382 (ORIGINAL_REGNO: Likewise.
3383 (HARD_REGISTER_NUM_P): Add parenthesis.
3384 (SUBREG_REG): Whitespace.
3385 (SUBREG_BYTE): Likewise.
3386 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
3387 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
3388 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
3389 (ASM_OPERANDS_INPUT_VEC): Likewise.
3390 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
3391 (ASM_OPERANDS_INPUT): Likewise.
3392 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
3393 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
3394 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
3395 (ASM_OPERANDS_INPUT_MODE): Likewise.
3396 (ASM_OPERANDS_SOURCE_FILE): Likewise.
3397 (ASM_OPERANDS_SOURCE_LINE): Likewise.
3398 (MEM_SET_IN_STRUCT_P): Minor reformat.
3399 (TRAP_CONDITION): Whitespace.
3400 (TRAP_CODE): Likewise.
3401 (COND_EXEC_TEST): Likewise.
3402 (COND_EXEC_CODE): Likewise.
3403 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
3404 (PHI_NODE_P): Add parenthesis.
3405 (plus_constant): Whitespace and add parenthesis.
3407 2002-01-03 Kazu Hirata <kazu@hxi.com>
3409 * config/avr/avr.c: Fix comment typos.
3410 * config/c4x/c4x.md: Likewise.
3411 * config/dsp16xx/dsp16xx.h: Likewise.
3412 * config/dsp16xx/dsp16xx.md: Likewise.
3413 * config/i386/i386.md: Likewise.
3414 * config/ia64/ia64.c: Likewise.
3415 * config/m32r/m32r.h: Likewise.
3416 * config/m68hc11/m68hc11.md: Likewise.
3417 * config/mmix/mmix.c: Likewise.
3418 * config/mn10200/mn10200.c: Likewise.
3419 * config/romp/romp.c: Likewise.
3420 * config/sh/sh.c: Likewise.
3421 * config/stormy16/stormy16.c: Likewise.
3422 * config/stormy16/stormy16.h: Likewise.
3423 * config/stormy16/stormy16.md: Likewise.
3425 2002-01-03 Graham Stott <grahams@redhat.com>
3427 * loop.h: Update copyright date.
3428 (LOOP_MOVABLES): Fix typo.
3429 (LOOP_REGS): Likewise.
3430 (LOOP_IVS): Likewise.
3432 2002-01-03 Graham Stott <grahams@redhat.com>
3434 * cppinit.c: Update copyright date.
3435 Don't include output.h
3436 * Makefile.in: Update copyright date.
3439 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
3442 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
3443 (-pthread) Add to RS/6000 options.
3445 2002-01-02 Kazu Hirata <kazu@hxi.com>
3447 * except.c: Fix comment typos.
3449 * varasm.c: Likewise.
3450 * doc/tm.texi: Fix a typo.
3452 2002-01-02 Jakub Jelinek <jakub@redhat.com>
3454 * c-typeck.c (output_init_element): Allow initializing static storage
3455 duration objects with compound literals.
3457 2002-01-02 Richard Henderson <rth@redhat.com>
3459 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
3462 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3464 * gcc.c (default_compilers): Const-ify.
3465 * mips-tdump.c (stab_names): Likewise.
3466 * mips-tfile.c (map_coff_types, map_coff_storage,
3467 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
3468 pseudo_ops_t, pseudo_ops): Likewise.
3469 * protoize.c (default_include): Likewise
3471 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
3472 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
3473 Add array size in declaration.
3474 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
3475 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
3476 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
3477 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
3478 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
3479 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
3480 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
3481 emtens, make_nan): Const-ify.
3482 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
3483 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
3485 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
3487 * config.gcc (ia64-*-*): Set extra_headers.
3488 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
3489 * config/alpha/t-osf: Remove.
3490 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
3492 2002-01-02 David Edelsohn <edelsohn@gnu.org>
3494 * config/rs6000/t-aix43: Revert previous change.
3496 2002-01-02 Jason Merrill <jason@redhat.com>
3498 * c-decl.c (c_expand_body): Call outlining_inline_function when
3499 emitting an inline function out of line.
3501 2002-01-02 Richard Henderson <rth@redhat.com>
3503 * dwarf2out.c (limbo_die_node): Add created_for member.
3504 (new_die): New argument created_for. Update all callers.
3505 (mark_limbo_die_list): New.
3506 (dwarf2out_init): Register limbo_die_list as a root.
3507 (dwarf2out_finish): Force insert limbo dies into their function
3510 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
3513 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
3515 2002-01-02 Kazu Hirata <kazu@hxi.com>
3517 * config/h8300/fixunssfsi.c: Update copyright.
3520 * config/h8300/h8300.c: Update copyright.
3523 2002-01-02 Kazu Hirata <kazu@hxi.com>
3525 * config/romp/romp.c: Fix comment formatting.
3526 * config/romp/romp.h: Likewise.
3527 * config/romp/romp.md: Likewise.
3528 * config/s390/s390.c: Likewise.
3529 * config/stormy16/stormy16.c: Likewise.
3530 * config/stormy16/stormy16.h: Likewise.
3532 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
3534 * c-common.h (genrtl_expr_stmt_value): Declare.
3535 * c-semantics.c (genrtl_goto_stmt): Redirect to...
3536 (genrtl_goto_stmt_value): ... this new function. Pass new
3537 argument down to expand_expr_stmt_value, taking
3538 TREE_ADDRESSABLE into account.
3539 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
3540 STMT_EXPR as addressable, i.e., one whose result we want.
3541 * expr.c (expand_expr): Don't save expression statement value
3542 of labeled_blocks or loop_exprs.
3543 * stmt.c (expand_expr_stmt): Redirect to...
3544 (expand_expr_stmt_value): ... this new function. Use new
3545 argument to tell whether to save expression value.
3546 (expand_end_stmt_expr): Reset last_expr_type and
3547 last_expr_value if we don't have either.
3548 * tree-inline.c (declare_return_variable): Mark its use
3549 statement as addressable.
3550 * tree.h: Document new use of TREE_ADDRESSABLE.
3551 (expand_expr_stmt_value): Declare.
3553 2002-01-01 Tom Rix <trix@redhat.com>
3555 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
3556 rs6000_emit_allocate_stack.
3558 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
3560 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
3561 ${srcdir}/ginclude/ to every entry in extra_headers.
3562 * configure: Regenerate.
3563 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
3564 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
3565 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
3566 * ginclude/proto.h: Rename to config/convex/proto.h.
3568 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3570 * attribs.c (handle_vector_size_attribute): Use host_integerp
3571 and tree_int_cst; remove warnings.
3572 * caller-save.c (insert_restore): Add cast to get rid of warning.
3573 (insert_save): Likewise.
3574 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
3575 * regmove.c (find_matches): Add temporary var to kill a warning.
3577 2002-01-01 Douglas B Rupp <rupp@gnat.com>
3579 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
3580 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
3581 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
3582 (vms-dwarf2eh.o): Add Makefile rule.
3583 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
3584 * config/alpha/vms-dwarf2eh.asm: New file.
3586 * gcc.c (delete_if_ordinary): Delete all versions.
3588 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
3590 * config/mmix/mmix.md: Update FIXME to not mention
3592 (MMIX_rJ_REGNUM): New define_constants constant.
3593 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
3594 "*movdicc_real"): Adjust contraints formatting.
3595 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
3596 for branch prediction.
3597 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
3599 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
3600 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
3601 number. Delete related FIXMEs.
3602 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
3603 from number to MMIX_rJ_REGNUM.
3604 (TARGET_MASK_BRANCH_PREDICT): New.
3605 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
3606 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
3607 value. Add -mbranch-predict and -mno-branch-predict.
3608 (TARGET_VERSION): Drop date.
3609 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
3610 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
3611 for finding out global symbols.
3612 (mmix_asm_output_labelref): Revert condition for global symbol.
3613 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
3614 (mmix_print_operand_punct_valid_p): A '+' is valid.
3616 See ChangeLog.6 for earlier changes.