1 2002-02-07 H.J. Lu <hjl@gnu.org>
3 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
5 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
7 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
9 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
11 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
12 * i386.c (x86_order_regs_for_local_alloc): New global function.
13 * i386.h (REG_ALLOC_ORDER): CLeanup.
14 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
16 2002-02-07 Richard Henderson <rth@redhat.com>
18 * alias.c (find_base_value): Recall base values for fixed hard regs.
19 * loop.c (loop_regs_update): Don't use single_set on non-insns.
21 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
23 * config/mips/mips.md (define_delay) [mips16]: Adjust required
26 2002-02-06 Richard Henderson <rth@redhat.com>
29 * stmt.c (resolve_operand_name_1): Take more care with mixed
30 named and unnamed operands.
32 2002-02-06 Janis Johnson <janis187@us.ibm.com>
33 Jan Hubicka <jh@suse.cz>
35 * loop.c (remove_constant_addition): Avoid clobbering a shared
38 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
40 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
41 * config/s390/t-linux64: New file.
42 * config/s390/libgcc-glibc.ver: New file.
44 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
46 * config/s390/linux64.h: Delete file.
47 * config/s390/s390x.h: New file.
48 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
49 as target header file.
50 * config/s390/linux.h (TARGET_VERSION): Define depending on
52 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
53 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
54 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
55 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
56 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
57 (EXTRA_SPEC): New define.
58 * config/s390/s390.h (TARGET_VERSION): Define depending on
60 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
62 2002-02-06 Jason Merrill <jason@redhat.com>
64 * c-decl.c (finish_function): Warn about a non-void function with
65 no return statement and no abnormal exit.
66 (current_function_returns_abnormally): New variable.
67 (start_function): Clear it.
68 (struct c_language_function): Add returns_abnormally.
69 (push_c_function_context): Save it.
70 (pop_c_function_context): Restore it.
71 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
72 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
73 an explicit return type.
74 * c-tree.h: Declare current_function_returns_abnormally.
75 (C_FUNCTION_IMPLICIT_INT): New macro.
76 * c-typeck.c (build_function_call): Set it.
77 (c_expand_return): Set current_function_returns_value even if the
80 2002-02-06 Jakub Jelinek <jakub@redhat.com>
83 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
84 unsafe for reevaluation.
86 2002-02-06 Jakub Jelinek <jakub@redhat.com>
89 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
90 EXPR_STMT, but COMPOUND_STMT, recurse into it.
92 2002-02-06 Richard Henderson <rth@redhat.com>
94 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
95 be a general_operand. Dest for function value must be a pseudo.
97 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
99 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
100 as SYMBOL_REFs from the constant pool.
102 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
104 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
105 passed by invisible reference.
107 2002-02-05 Richard Henderson <rth@redhat.com>
109 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
111 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
113 Implement using "base addresses" in insn operands as default.
114 * config/mmix/mmix.c (mmix_conditional_register_usage): if
115 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
116 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
117 used to read the rtx value.
118 (mmix_target_asm_function_epilogue): Fix spacing.
119 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
120 (mmix_legitimate_address): Ditto.
121 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
122 should be loaded with a GETA insn. Don't allocate needless extra
123 char for nul termination and fix misleading comment.
124 (mmix_print_operand_address): Handle constants if
125 TARGET_BASE_ADDRESSES.
126 (mmix_output_register_setting): Use base addressing if
127 TARGET_BASE_ADDRESSES and the number of insns is 3.
128 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
129 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
130 to use R as constraint, add LDA to match s.
131 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
132 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
133 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
134 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
135 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
136 order with other fixed registers.
137 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
138 other parameter/call-clobbered registers.
139 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
140 -mbase-addresses, -mno-base-addresses.
141 (MMIX Options): Ditto.
143 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
145 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
147 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
149 * config/rs6000/altivec.h: Change elem to _S_elem.
151 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
153 * config/netbsd.h (WCHAR_TYPE): Define.
154 (WCHAR_TYPE_SIZE): Ditto.
156 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
157 (WCHAR_UNSIGNED): Ditto.
158 (WCHAR_TYPE_SIZE): Ditto.
160 * config/arm/netbsd.h: Likewise.
161 * config/i386/netbsd-elf.h: Likewise.
162 * config/i386/netbsd.h: Likewise.
163 * config/m68k/netbsd-elf.h: Likewise.
164 * config/m68k/netbsd.h: Likewise.
165 * config/ns32k/netbsd.h: Likewise.
166 * config/sparc/netbsd.h: Likewise.
167 * config/vax/netbsd.: Likewise.
169 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
171 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
172 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
173 (TARGET_INITIALIZER): this.
174 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
175 (BITFIELD_NBYTES_LIMITED): Markup fix.
176 * tree.h (default_ms_bitfield_layout_p): Declare.
177 (record_layout_info): Added prev_field.
178 * tree.c (default_ms_bitfield_layout_p): New fn.
179 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
180 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
181 * stor-layout.c: Include target.h.
182 (start_record_layout): Initialize prev_field.
183 (place_field): Handle MS bit-field layout, and disregard
184 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
185 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
186 * Makefile.in (stor-layout.o): Adjust dependencies.
188 2002-02-05 Jason Merrill <jason@redhat.com>
190 * c-typeck.c (convert_for_assignment): Don't allow conversions
191 between pointers and references. Only allow lvalues to convert to
194 * c-decl.c (finish_function): Warn about a non-void function with
195 no return statement and no abnormal exit.
196 (current_function_returns_abnormally): New variable.
197 (start_function): Clear it.
198 (struct c_language_function): Add returns_abnormally.
199 (push_c_function_context): Save it.
200 (pop_c_function_context): Restore it.
201 * c-tree.h: Declare current_function_returns_abnormally.
202 * c-typeck.c (build_function_call): Set it.
204 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
206 2002-02-05 Andreas Jaeger <aj@suse.de>
208 * crtstuff.c: Fix comments.
210 2002-02-05 Richard Henderson <rth@redhat.com>
213 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
214 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
217 * config/mips/mips.c (function_arg): Handle TImode.
218 (function_arg_advance): Likewise.
220 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
222 * config/rs6000/altivec.h (vec_step_help): Rename to
225 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
227 * config/rs6000/altivec.h: Fix typos.
229 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
231 * config/arm/netbsd.h: Correct a comment.
233 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
235 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
236 building void typed builtins.
238 * config/rs6000/altivec.h (vec_ld*): Fix typos.
239 (vec_step): Implement for C++.
241 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
243 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
245 2002-02-04 Richard Henderson <rth@redhat.com>
247 * combine.c (nonzero_bits): Re-introduce special case for
248 sp/fp/ap wrt REGNO_POINTER_ALIGN.
250 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
252 * doc/extend.texi: Warn about unsupported usage of altivec
255 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
256 (altivec_predicate_*): New.
258 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
259 Add C++ version of vec_*() functions.
261 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
262 (bdesc_2arg): Remove altivec predicates.
263 (altivec_expand_builtin): Handle predicates.
264 (altivec_init_builtins): Handle predicates.
265 (altivec_expand_predicate_builtin): New.
267 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
269 * pa.c (DO_FRAME_NOTES): Move forward.
270 (store_reg): Revise handling of frame notes.
271 (load_reg): Likewise.
272 (set_reg_plus_d): Likewise.
273 (hppa_expand_prologue): Likewise.
274 (hppa_expand_epilogue): Likewise.
276 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
278 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
280 2002-02-04 Jakub Jelinek <jakub@redhat.com>
283 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
284 * c-common.h (SWITCH_TYPE): Define.
285 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
286 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
287 Rename spareness variable to sparseness.
288 (expand_end_case_type): Renamed from expand_end_case, use orig_type
289 if non-NULL instead of TREE_TYPE (orig_index).
290 * tree.h (expand_end_case_type): Renamed from expand_end_case.
291 (expand_end_case): Define using expand_end_case_type.
292 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
293 to expand_end_case_type.
294 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
296 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
298 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
299 (BIGGEST_ALIGNMENT): Change to 128.
301 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
303 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
305 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
307 * pa.md (call_internal_reg_64bit): Remove unused variable.
309 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
311 * config/arm/arm.h (machine_function): Add uses_anonymous_args
313 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
314 * config/arm/arm.c (current_function_anonymous_args): Delete,
315 replace uses with cfun->machine->uses_anonymous_args.
316 (arm_reorg): Do not reset uses_anonymous_args.
318 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
319 any geenral register.
321 2001-02-04 Bernd Schmidt <bernds@redhat.com>
323 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
326 2002-02-04 Richard Henderson <rth@redhat.com>
328 * combine.c (force_to_mode): Remove STACK_BIAS code.
329 (nonzero_bits): Likewise. Replace sp/fp special case with
332 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
333 (HARD_FRAME_POINTER_REGNUM): New.
334 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
335 (FIXED_REGS, CALL_USED_REGS): Update.
336 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
337 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
338 (HARD_REGNO_NREGS): Update for SFP.
339 (STACK_POINTER_OFFSET): Include bias here ...
340 (FIRST_PARM_OFFSET): ... not here.
341 (STACK_BIAS): Remove.
342 (INIT_EXPANDERS): New.
343 (STARTING_FRAME_OFFSET): Do not include bias.
344 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
345 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
346 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
347 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
348 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
349 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
350 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
351 (MUST_SAVE_REGISTER): Likewise.
352 (sparc_flat_function_prologue): Likewise.
353 (sparc_flat_function_epilogue): Likewise.
354 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
355 (sparc_init_modes): SFP is GENERAL_REGS.
356 (sparc_builtin_saveregs): SFP does not have bias applied.
358 2002-02-04 Richard Henderson <rth@redhat.com>
360 * config/alpha/alpha.c (current_function_is_thunk): Don't check
361 current_function_is_thunk.
362 (alpha_sa_mask): Distinguish between current_function_is_thunk
363 called from ASM_OUTPUT_MI_THUNK and not.
364 (alpha_does_function_need_gp): Thunks always need gp.
365 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
366 (alpha_output_mi_thunk_osf): New.
367 * config/alpha/alpha-protos.h: Update.
368 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
370 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
372 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
373 function types, not when they're taken away.
375 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
377 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
378 CODE_LABEL and jump table when replacing a table jump with a
381 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
383 * config/s390/s390-protos.h (legitimize_la_operand,
384 s390_secondary_input_reload_class, s390_plus_operand,
385 s390_expand_plus_operand): Add prototypes.
387 config/s390/s390.c (s390_secondary_input_reload_class,
388 s390_plus_operand, s390_expand_plus_operand): New functions.
390 (struct s390_address): New member 'pointer'.
391 (s390_decompose_address): Compute it.
392 (legitimate_la_operand_p): Use it.
393 (legitimize_la_operand): New function.
394 (movti, movdi, movdf splitters): Call it.
396 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
397 (PREDICATE_CODES): Add s390_plus_operand.
399 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
400 (la_ccclobber): Allow GENERAL_REGS as output operand.
402 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
403 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
404 (*la_64, *la_31, reload_indi, reload_insi): ... these.
406 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
408 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
409 register names for regular asm () construct.
411 2002-02-04 Jakub Jelinek <jakub@redhat.com>
413 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
416 2002-02-04 Jakub Jelinek <jakub@redhat.com>
418 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
421 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
423 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
424 constant pool to be identical by string address and index.
426 2002-02-04 Anthony Green <green@redhat.com>
428 * output.h (SECTION_OVERRIDE): Define.
429 * varasm.c (named_section): Obey SECTION_OVERRIDE.
431 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
433 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
434 by existing arm*-*-netbsd* (a.out) target.
435 (ns32k-*-netbsdelf*): Likewise.
436 (sparc-*-netbsdelf*): Likewise.
437 (vax-*-netbsdelf*): Likewise.
439 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
441 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
442 headers and libobjc headers.
444 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
446 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
447 (_mingw.h): Remove duplicate include.
449 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
451 * config.gcc: Set cpu_type to m68k for 68010, as well.
452 (m68010-*-netbsdelf*): New...
453 (m68k*-*-netbsdelf*): ...targets.
454 * config/m68k/netbsd-elf.h: New file.
456 2002-02-02 Kazu Hirata <kazu@hxi.com>
458 * config/h8300/h8300.c (hand_list): Move inside function_arg.
460 2002-02-02 Kazu Hirata <kazu@hxi.com>
462 * config/h8300/h8300.c (h8_push_ops): Move inside
464 (h8_pop_ops): Likewise.
465 (h8_move_ops): Likewise.
467 2002-02-02 Kazu Hirata <kazu@hxi.com>
469 * config/h8300/h8300.c (os_task): Make it static.
471 (pragma_saveall): Likewise.
473 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
475 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
476 constant is a valid sign-extension for Pmode.
478 2002-02-02 Kazu Hirata <kazu@hxi.com>
480 * config/h8300/h8300.c: Fix formatting.
482 2002-02-02 Kazu Hirata <kazu@hxi.com>
484 * config/h8300/h8300.md: Fix formatting.
486 2002-02-02 Kazu Hirata <kazu@hxi.com>
488 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
489 predicates of operands[1]. Split the patterns for each
492 2002-02-02 Kazu Hirata <kazu@hxi.com>
494 * config/h8300/h8300.md (xor patterns): Tighten the predicates
495 of operands[1] to register_operand.
497 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
499 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
500 * cpphash.c (_cpp_init_hashtable): Similarly.
501 * cppinit.c (cpp_create_reader): Default the signed_char flag.
502 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
503 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
504 (cpp_handle_option): Handle the new options.
505 * cpplex.c (cpp_interpret_charconst): Use new flag.
506 * cpplib.h (struct cpp_options): New member signed_char.
507 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
508 (cpp_options): Handle -fsigned-char and -funsigned-char.
509 (static_specs): Remove signed_char_spec.
510 (do_spec1): Don't handle %c.
511 * system.h: Poison SIGNED_CHAR_SPEC.
512 * tradcif.y (yylex): Use flag_signed_char.
513 * tradcpp.h (flag_signed_char): New.
514 * tradcpp.c (flag_signed_char): New.
515 (main): Handle new command-line options.
516 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
518 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
519 * avr/avr.h: Remove old comments.
520 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
521 (CC1_SPEC): Pass -fsigned-char if -mic*.
522 (SIGNED_CHAR_SPEC): Remove.
524 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
526 2002-02-01 Eric Christopher <echristo@redhat.com>
528 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
529 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
530 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
531 (ASM_OUTPUT_REG_POP): Ditto.
533 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
535 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
538 2002-02-02 Jakub Jelinek <jakub@redhat.com>
540 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
542 2002-02-02 Jakub Jelinek <jakub@redhat.com>
545 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
548 2002-02-01 Janis Johnson <janis187@us.ibm.com>
550 * cfganal.c: Include tm_p.h.
551 (keep_with_call_p): Fix the test that determines if a register holds
552 the return value of a call.
554 2002-02-01 DJ Delorie <dj@redhat.com>
556 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
557 we are given conflicting registers, switch to the other one we
558 had allocated for us.
559 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
560 as TImode so we know when the "other" register is available.
562 2002-02-01 David O'Brien <obrien@FreeBSD.org>
564 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
567 2002-02-01 Janis Johnson <janis187@us.ibm.com>
569 * cfganal.c (keep_with_call_p): New function.
570 (flow_call_edges_add): Prevent splitting a block between a call and
571 a single-set instruction that should be kept in the same block.
573 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
575 * doc/install.texi (avr): Update outdated URL.
577 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
579 * config/stormy16/stormy16.md (pushqi): New.
583 (movhi): Remove stack operands.
585 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
586 nonimmediate_nonstack_operand.
587 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
589 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
592 2002-01-31 Jason Merrill <jason@redhat.com>
594 * Makefile.in (c-parse.c): Handle .output file.
595 * objc/Make-lang.in (objc-parse.c): Likewise.
597 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
599 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
600 the -me[lb] option is given. Don't output the default flag
603 2002-01-31 Zack Weinberg <zack@codesourcery.com>
605 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
606 the primary source file; this has not been done yet.
607 * c-decl.c (c_expand_body): Reset input_filename from
608 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
610 2002-01-31 Kazu Hirata <kazu@hxi.com>
612 * rtlanal.c (subreg_regno_offset): Do not use
614 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
615 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
617 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
619 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
620 version rather than GNATS version in --version output.
622 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
624 * ifcvt.c (noce_process_if_block): Make a copy of the destination
625 when copying back from a temporary.
627 2002-01-30 Richard Henderson <rth@redhat.com>
629 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
630 and new_dest are the same.
632 2002-01-30 Richard Henderson <rth@redhat.com>
635 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
636 * rtl.c (note_insn_name): Update.
637 * emit-rtl.c (remove_unnecessary_notes): Kill it.
638 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
639 to perform loop rotation.
640 (expand_exit_loop_top_cond): New.
641 * tree.h (expand_exit_loop_top_cond): Declare it.
642 * c-semantics.c (genrtl_while_stmt): Use it.
643 (genrtl_for_stmt): Likewise.
645 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
647 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
648 arguments to 64-bit boundaries on 64-bit ABIs.
650 2002-01-30 Steve Ellcey <sje@cup.hp.com>
652 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
654 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
656 * c-decl.c (grokdeclarator): Handle type being a typedef for an
659 2002-01-30 David O'Brien <obrien@FreeBSD.org>
661 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
662 * config/sparc/sparc_bi.h: Remove file.
663 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
665 2002-01-30 Richard Henderson <rth@redhat.com>
667 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
669 2002-01-30 Zack Weinberg <zack@codesourcery.com>
671 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
673 2002-01-30 Jason Merrill <jason@redhat.com>
675 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
676 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
677 (reg_save): Use DW_CFA_offset_extended_sf instead.
679 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
681 2002-01-29 Jakub Jelinek <jakub@redhat.com>
683 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
686 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
688 * rs6000.md ("*call_value_local32"): Remove constraints.
689 ("*call_value_local64"): Same.
690 ("*call_value_indirect_nonlocal_aix32"): Same.
691 ("*call_value_nonlocal_aix32"): Same.
692 ("*call_value_indirect_nonlocal_aix64"): Same.
693 ("*call_value_nonlocal_aix64"): Same.
694 ("*call_value_nonlocal_sysv"): Same.
696 2002-01-29 Richard Henderson <rth@redhat.com>
698 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
700 2002-01-29 Richard Henderson <rth@redhat.com>
702 * expr.c (force_operand): Ignore flag_pic for detecting pic
704 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
705 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
706 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
707 instead of open-coded loop.
708 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
709 be fixed when in use.
711 2002-01-29 Richard Henderson <rth@redhat.com>
713 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
714 * sched-rgn.c (propagate_deps): Update them.
715 * sched-deps.c (sched_analyze_insn): Update them. Flush the
716 clobbers list when either gets too long.
718 2002-01-29 Jakub Jelinek <jakub@redhat.com>
720 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
721 and INDEX_REGS the same as GENERAL_REGS.
722 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
724 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
726 * tree.c (build_nonstandard_integer_type): Correct prototype.
728 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
730 * config/s390/s390.md (movstrsico, movstrdix_64,
731 movstrsix_31): Remove, replace by ...
732 (movstrdi_short, movstrsi_short, movstrdi_long,
733 movstrsi_long): ... these. New.
734 (movstrdi, movstrsi): Adapt.
736 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
737 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
738 Remove unnecessary CC clobber.
739 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
740 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
742 (divmoddi4): Don't partially initialize TImode register.
744 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
746 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
748 2002-01-29 Richard Henderson <rth@redhat.com>
750 * flow.c (print_rtl_and_abort): Remove.
751 (print_rtl_and_abort_fcn): Remove.
752 (verify_local_live_at_start): Use dump_bb instead.
753 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
754 (verify_wide_reg_1): Return 2 on mode test failure.
756 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
758 PR c/3325, c/3326, c/2511, c/3347
759 * c-decl.c (enum_decl_context): Remove BITFIELD.
760 (grokdeclarator): Take bitfield width as an input.
761 Ensure bitfields are given the correct type. Perform
762 bitfield width validation with build_bitfield_integer_type
763 rather than waiting for finish_struct.
764 (grok_typename, grok_typename_in_parm_context, start_decl,
765 push_parmdecl, grokfield, start_function): Update calls to
767 (build_bitfield_integer_type): New function.
768 (finish_struct): Move bitfield validation to grokdeclarator
769 and build_bitfield_integer_type.
770 * tree.c (build_nonstandard_integer_type): New function.
771 * tree.h (build_nonstandard_integer_type): New prototype.
773 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
775 2002-01-29 Jakub Jelinek <jakub@redhat.com>
778 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
779 don't ignore unrecognized -W* options.
780 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
781 * cpplib.h (cpp_handle_option): Adjust prototype.
782 * c-decl.c (c_decode_options): Pass 0 as last argument to
786 * gcc.c (cpp_unique_options): Split from cpp_options.
787 (cpp_options): Source cpp_unique_options.
788 (default_compilers): Use cpp_unique_options instead of cpp_options
789 when used together with cc1_options.
790 (static_specs): Add cpp_unique_options.
791 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
792 when used together with cc1_options.
794 2002-01-29 Kazu Hirata <kazu@hxi.com>
796 * config/h8300/h8300-protos.h: Update the prototype of
798 * config/h8300/h8300.c (output_a_shift): Remove an unused
799 argument 'insn'. Remove redundant code.
800 * config/h8300/h8300.md: Adust to the new prototype of
803 2002-01-29 Kazu Hirata <kazu@hxi.com>
805 * config/h8300/h8300-protos.h: Update the prototypes of
806 emit_a_rotate and expand_a_rotate.
807 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
808 first argument to 'enum rtx_code'.
809 (expand_a_rotate): Likewise.
811 2002-01-28 Kazu Hirata <kazu@hxi.com>
813 * config/h8300/h8300-protos.h: Update the prototype of
815 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
817 * config/h8300/h8300.md: Adjust to the new prototype.
819 2002-01-28 Kazu Hirata <kazu@hxi.com>
821 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
824 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
826 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
827 is a fixed register before returning pic_offset_table_rtx.
828 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
829 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
831 2002-01-28 Jason Merrill <jason@redhat.com>
833 * dwarf2.h: Sync with src version.
835 2002-01-28 Paul Koning <pkoning@equallogic.com>
837 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
839 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
840 * doc/extend.texi (__builtin_prefetch): Update documentation:
841 first argument is now const void ptr.
843 2002-01-28 Kazu Hirata <kazu@hxi.com>
845 * config/h8300/h8300-protos.h: Remove an unused prototype.
847 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
849 * toplev.c (lang_independent_init): Round up identifier size.
851 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
853 * config.gcc: Revert previous change.
855 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
857 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
859 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
861 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
862 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
863 other non-elf netbsd config frags.
864 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
865 collect2 will does that.
866 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
867 shared-lib frobbing will work.
869 2002-01-28 Kazu Hirata <kazu@hxi.com>
871 * config/h8300/h8300.h: Fix formatting.
872 * config/h8300/h8300.md: Likewise.
874 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
876 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
877 the old, removed AAA_standards fix.
878 * fixinc/fixincl.x: Rebuilt.
880 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
882 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
883 atexit call in crtbegin, hooked in after call to frame_dummy;
884 register EH before registering __fini__start.
886 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
888 * config/rs6000/altivec.h: Remove spurious semicolons.
890 2002-01-27 Kazu Hirata <kazu@hxi.com>
892 * config/h8300/h8300.md: Replace dead bit extraction patterns
895 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
897 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
898 if not STRICT_ALIGNMENT.
899 * rtl.h (MEM_ALIGN): Likewise.
901 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
903 * doc/invoke.texi (-fdump-translation-unit): Revert this
904 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
906 2002-01-27 Kazu Hirata <kazu@hxi.com>
908 * config/h8300/h8300.md (define_constants): New.
909 (anonymous patterns) Use defined constants appropriately.
911 2002-01-27 Kazu Hirata <kazu@hxi.com>
913 * config/h8300/h8300.c (function_arg): Remove redundant code.
915 2002-01-26 Richard Henderson <rth@redhat.com>
917 * sched-deps.c (reg_pending_uses_head): New.
918 (reg_pending_barrier): Rename from reg_pending_sets_all.
919 (find_insn_list): Don't mark inline.
920 (find_insn_mem_list): Remove.
921 (add_dependence_list, add_dependence_list_and_free): New.
922 (flush_pending_lists): Replace only_write param with separate
923 for_read and for_write parameters. Update all callers. Use
924 add_dependence_list_and_free.
925 (sched_analyze_1): Do not add reg dependencies here; just set
926 the pending bits. Use add_dependence_list.
927 (sched_analyze_2): Likewise.
928 (sched_analyze_insn): Replace schedule_barrier_found with
929 reg_pending_barrier. Add all dependencies for pending reg
930 uses, sets, and clobbers.
931 (sched_analyze): Don't add reg dependencies for calls, just
932 set pending bits. Use regs_invalidated_by_call. Treat
933 sched_before_next_call as a normal list, not a fake insn.
934 (init_deps): No funny init for sched_before_next_call.
935 (free_deps): Free pending mems lists. Don't zero reg_last.
936 (init_deps_global): Init reg_pending_uses.
937 (finish_deps_global): Free it.
938 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
939 (find_insn_mem_list): Remove.
940 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
941 (propagate_deps): Use them. Zero temp mem lists.
943 2002-01-26 Richard Henderson <rth@redhat.com>
945 * Makefile.in (CRTSTUFF_CFLAGS): New.
946 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
947 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
948 crtstuff.c instead of alpha assembly version.
949 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
950 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
951 not FORCE_{INIT,FINI}_SECTION_ALIGN.
952 (__do_global_dtors_aux): Mark used.
953 (frame_dummy, __do_global_ctors_aux): Mark used.
954 (fini_dummy, init_dummy): Remove.
956 * config/alpha/crtbegin.asm: Remove file.
957 * config/alpha/crtend.asm: Remove file.
958 * config/alpha/t-crtbe: Remove file.
959 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
962 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
963 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
964 calling constructors.
965 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
967 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
968 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
969 CRT_END_INIT_DUMMY hack.
970 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
971 FORCE_{INIT,FINI}_SECTION_ALIGN.
973 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
974 FORCE_{INIT,FINI}_SECTION_ALIGN.
976 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
978 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
980 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
981 (FORCE_CODE_SECTION_ALIGN): New.
983 2002-01-26 Richard Henderson <rth@redhat.com>
985 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
987 2002-01-26 Richard Henderson <rth@redhat.com>
989 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
990 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
992 2002-01-26 Kazu Hirata <kazu@hxi.com>
994 * config/h8300/h8300.md: Remove bit extraction patterns that
996 Restrict each bit extraction pattern to a variant on which the
999 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
1001 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
1003 2002-01-26 Kazu Hirata <kazu@hxi.com>
1005 * config/h8300/h8300.md: Remove bit test patterns that cannot
1007 Restrict each bit test pattern to a variant on which the
1010 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1012 * builtins.c (expand_builtin_strncat): Remove redundant check for
1015 2002-01-25 David O'Brien <obrien@FreeBSD.org>
1017 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
1019 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
1022 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
1024 * dbxout.c (dbxout_init): Use assemble_name rather than just
1025 stripping off the first character.
1026 (dbxout_source_file): Likewise.
1028 2002-01-25 DJ Delorie <dj@redhat.com>
1030 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
1031 using rtx_equal_p, not by comparing pointers.
1033 2002-01-25 Steve Ellcey <sje@cup.hp.com>
1035 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
1036 for PIC_OFFSET_TABLE_REGNUM.
1037 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
1039 2002-01-25 David O'Brien <obrien@FreeBSD.org>
1041 * config.gcc (x86_64-*-freebsd*): New target.
1042 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
1044 (i[34567]86-*-freebsd*): Don't include svr4.h.
1045 * config/i386/freebsd64.h: New file.
1047 2002-01-25 Douglas B Rupp <rupp@gnat.com>
1049 * config/alpha/x-vms (version): Make static.
1051 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
1052 in previous checkin.
1054 * Makefile.in (install-headers-cp): New target.
1055 * config.gcc (alpha-dec-*vms*): Install headers with
1058 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
1060 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
1063 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1065 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
1066 of compare_tree_int.
1067 (expand_builtin_strncat): Likewise.
1068 * c-decl.c (finish_struct): Use tree_low_cst.
1069 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
1070 * tree.c (compare_tree_int): Likewise.
1072 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
1074 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
1075 adjustments even if they are implemented by more than two insns.
1077 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
1079 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
1080 * df.h (struct ref): Kill B.
1081 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
1083 * basic-block.h (PROP_EQUAL_NOTES): New flag.
1084 * flow.c (propagate_one_insn): Use it.
1085 (mark_used_regs): Handle NIL.
1087 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
1089 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
1092 2002-01-25 David Edelsohn <edelsohn@gnu.org>
1094 * rs6000.md (prefetch): Make address V4SI mode so that the address
1095 is restricted to legitimate form for instruction.
1097 2002-01-25 Bob Wilson <bob.wilson@acm.org>
1099 * doc/install.texi (xtensa-*-elf): New target.
1100 (xtensa-*-linux*): New target.
1101 * doc/contrib.texi: Add myself.
1103 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1105 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
1106 purpose register to hold an SImode (or smaller) value.
1108 2002-01-25 Jakub Jelinek <jakub@redhat.com>
1110 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
1112 * crtstuff.c: Likewise.
1114 2002-01-25 Kazu Hirata <kazu@hxi.com>
1116 * config/h8300/h8300.md (negation patterns): Tighten
1117 predicates to register_operand.
1119 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
1121 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
1124 * builtins.c (expand_builtin_prefetch): Same.
1126 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1128 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
1131 2002-01-24 Kazu Hirata <kazu@hxi.com>
1133 * config/h8300/h8300.c (print_operand): Remove support for
1134 operand character 'A'.
1135 * config/h8300/h8300.md (three anonymous patterns): Replace
1136 operand character 'A' with either 'T' or 'S'.
1138 2002-01-24 Kazu Hirata <kazu@hxi.com>
1140 * config/h8300/h8300.c (print_operand): Remove support for
1141 operand character 'U'.
1143 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
1145 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
1147 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
1149 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
1150 values to be assigned to the stack pointer.
1152 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1154 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
1155 to const_double needs to be done right for big-endian systems.
1157 2002-01-24 Jason Merrill <jason@redhat.com>
1160 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
1161 to can_throw_internal.
1163 2002-01-23 Richard Henderson <rth@redhat.com>
1165 * fold-const.c (fold): Change UINT_MAX test to check vs precision
1166 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
1168 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1170 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
1171 (symGOT2reg): Use them, then set as GOT value as unchanging.
1172 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
1173 as a temporary, if possible.
1174 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
1175 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
1177 2002-01-23 Kazu Hirata <kazu@hxi.com>
1179 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
1180 accept to accept 0x80 as operands[2].
1182 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1184 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
1186 2002-01-23 Richard Henderson <rth@redhat.com>
1188 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
1190 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
1192 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
1193 (parmlist_or_identifiers_1): Verify that only a parmlist follows
1196 2002-01-23 Richard Henderson <rth@redhat.com>
1198 * expr.c (move_by_pieces_1): Extend size before negation.
1200 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
1201 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
1202 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
1203 * config/m68k/t-m68kelf: Likewise.
1205 2002-01-23 Bob Wilson <bob.wilson@acm.org>
1207 * config/xtensa/elf.h: New file.
1208 * config/xtensa/lib1funcs.asm: New file.
1209 * config/xtensa/lib2funcs.S: New file.
1210 * config/xtensa/linux.h: New file.
1211 * config/xtensa/t-xtensa: New file.
1212 * config/xtensa/xtensa-config.h: New file.
1213 * config/xtensa/xtensa-protos.h: New file.
1214 * config/xtensa/xtensa.c: New file.
1215 * config/xtensa/xtensa.h: New file.
1216 * config/xtensa/xtensa.md: New file.
1217 * config.gcc (xtensa-*-elf*): New target.
1218 (xtensa-*-linux*): New target.
1219 * cse.c (canon_hash): Compare rtx pointers instead of register
1220 numbers. This is required for the Xtensa port.
1221 * integrate.c (copy_insn_list): Handle case where the static
1222 chain is in memory and the memory address has to be copied to
1224 * doc/invoke.texi (Option Summary): Add Xtensa options.
1225 (Xtensa Options): New node.
1226 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
1228 2002-01-23 Zack Weinberg <zack@codesourcery.com>
1230 * diagnostic.c (internal_error): Do ICE suppression only
1231 when ENABLE_CHECKING is not defined.
1233 * c-typeck.c (require_complete_type): Return error_mark_node
1234 if type is error_mark_node.
1236 2002-01-23 Janis Johnson <janis187@us.ibm.com>
1238 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
1239 -Os and issue a warning.
1241 2002-01-23 Zack Weinberg <zack@codesourcery.com>
1243 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
1244 current (lack of) need for host configuration by hand.
1246 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
1247 references. Documentation of some target macros moved from
1248 hostconfig.texi to tm.texi.
1250 2002-01-23 Will Cohen <wcohen@redhat.com>
1252 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
1255 2002-01-23 Kazu Hirata <kazu@hxi.com>
1257 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
1260 2002-01-23 Jason Merrill <jason@redhat.com>
1262 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
1264 * function.c (assign_parms): Don't put args of inline functions
1265 into registers when not optimizing.
1267 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1269 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
1270 (prologue_use): New pattern.
1271 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
1272 preference to gen_rtx_USE.
1273 (thumb_expand_prologue): Use gen_prologue_use in preference to
1275 (thumb_expand_epilogue): Use gen_prologue_use in preference to
1278 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
1280 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
1282 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
1285 * doc/extend.texi: Correct documentation of __alignof__.
1287 2002-01-22 Zack Weinberg <zack@codesourcery.com>
1289 * params.h: Rename arguments of DEFPARAM so that it will be
1290 recognized as a translation keyword.
1292 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1294 * extend.texi: Document altivec functions.
1295 Fix N-bit adjectives in X86 builtin documentation.
1297 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1299 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
1300 auto_inc_dec values.
1302 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
1304 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
1306 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
1308 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1310 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
1312 2002-01-22 Richard Henderson <rth@redhat.com>
1314 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
1315 copy_insn not copy_rtx.
1317 2002-01-23 Alan Modra <amodra@bigpond.net.au>
1319 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
1320 "nonzero" as that might add "1" bits. Ensure "constop" is
1321 properly sign extened.
1322 (force_to_mode): Tweak for sign extended constop.
1324 2002-01-22 Richard Henderson <rth@redhat.com>
1326 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
1327 for_each_rtx instead of assuming we're already looking at the MEM.
1328 (split_small_symbolic_mem_operand): Likewise.
1329 * config/alpha/alpha.h (PREDICATE_CODES): Update.
1330 * config/alpha/alpha.md (small symbolic memory splitters): Update.
1332 2002-01-22 Richard Henderson <rth@redhat.com>
1334 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
1335 sequence number for the literal.
1336 (divmoddi_internal_er): Likewise.
1338 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
1341 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
1342 in LIBICONV variable.
1343 * configure: Regenerated.
1345 2002-01-22 Krister Walfridsson <cato@df.lth.se>
1347 * dependence.c (build_def_use): Remove array_idx.
1349 * dwarfout.c (last_filename): Remove.
1350 (output_compile_unit_die): Remove last_filename.
1352 2002-01-22 Roger Sayle <roger@eyesopen.com>
1353 Richard Henderson <rth@redhat.com>
1356 * fold-const.c (fold): Optimize unsigned comparisons against
1357 UINT_MAX (and similar unsigned constants).
1359 2002-01-22 Janis Johnson <janis187@us.ibm.com>
1361 * Makefile.in (loop.o): Depend on OPTABS_H.
1362 * loop.c (emit_prefetch_instructions): Check the prefetch operand
1363 against the predicate.
1366 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
1367 for the address operand.
1369 2002-01-22 Richard Henderson <rth@redhat.com>
1371 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
1373 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
1376 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
1379 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
1381 * config.gcc (x86_64-*-netbsd*): New target.
1382 * config/i386/netbsd64.h: New file.
1384 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1386 * regrename.c (kill_value): Fix typo.
1388 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1390 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
1392 * config/rs6000/rs6000.h: Same.
1394 * function.c (instantiate_virtual_regs): Remove
1395 STARTING_FRAME_PHASE.
1396 (assign_stack_local_1): Same.
1397 Calculate frame phase.
1399 2002-01-22 Nick Clifton <nickc@redhat.com>
1401 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
1402 variable declaration to outer scope in order to simplify
1404 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
1405 arm_hard_regno_mode_ok.
1406 * config/arm/arm-protos.h: Add a prototype for
1407 arm_hard_regno_mode_ok.
1408 * config/arm/arm.c (soft_df_operand): Remove now redundant
1409 check for DImode values using IP_REGNUM.
1410 (nonimmediate_soft_df_operand): Remove now redundant check for
1411 DImode values using IP_REGNUM.
1412 (arm_hard_regno_mode_ok): New function. New check: make sure
1413 that DImode values are not stored in IP_REGNUM.
1415 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
1417 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
1419 2002-01-22 Jason Merrill <jason@redhat.com>
1421 * c-semantics.c (genrtl_compound_stmt): Only check nesting
1422 consistency if this COMPOUND_STMT is scoped.
1424 2002-01-22 Kazu Hirata <kazu@hxi.com>
1426 * predict.c: Fix formatting.
1427 * print-tree.c: Likewise.
1428 * protoize.c: Likewise.
1431 * sbitmap.h: Likewise.
1433 * sched-deps.c: Likewise.
1434 * sched-vis.c: Likewise.
1435 * sdbout.c: Likewise.
1436 * sibcall.c: Likewise.
1438 * ssa-ccp.c: Likewise.
1439 * ssa-dce.c: Likewise.
1441 * stor-layout.c: Likewise.
1442 * system.h: Likewise.
1444 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1446 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
1447 if fits in bounds of base type.
1449 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
1450 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
1451 (add_bound_info, default): If can't find a context, make a
1453 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
1455 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
1457 * c-typeck.c (parser_build_binary_op): If result from
1458 build_binary_op is ERROR_MARK just return error_mark_node without
1461 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1463 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
1464 Split a.out-specific bits into...
1465 * config/netbsd-aout.h: ...this.
1466 * config/netbsd-elf.h: New file.
1467 * config/alpha/netbsd-elf.h: Remove.
1468 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
1469 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
1470 (STARTFILE_SPEC): Remove redundant definition.
1471 (ENDFILE_SPEC): Likewise.
1472 (LINK_SPEC): Likewise.
1473 (CPP_SPEC): Likewise.
1474 (ASM_SPEC): Likewise.
1475 (LIB_SPEC): Likewise.
1476 (SWITCH_TAKES_ARG): Likewise.
1477 (TARGET_MEM_FUNCTIONS): Likewise.
1478 (CPP_PREDEFINES): Redefine.
1479 (ASM_FINAL_SPEC): Remove redefinition.
1480 (ASM_COMMENT_START): Redefine.
1481 (FUNCTION_PROFILER): Define.
1482 (TARGET_VERSION): Redefine.
1483 Comment and formatting cleanup.
1484 * config/i386/netbsd.h: Include <netbsd-aout.h>.
1485 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
1486 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
1487 big- or little-endian.
1488 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
1489 * config.gcc (*-*-netbsd*): Add definitions common to all
1491 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
1492 gnu_ld definitions. Add netbsd-elf.h to and remove
1493 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
1494 tmake_file, and don't lose previous tmake_file contents.
1495 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
1496 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
1497 gnu_ld definitions. Add netbsd-elf.h to tm_file.
1498 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
1499 (mipsel-*-netbsd*): Rename this to...
1500 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
1501 mips/little.h to tm_file for mips*el-*.
1502 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
1503 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
1504 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
1506 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1508 * pa-protos.h (reg_before_reload_operand): New function prototype.
1509 * pa.c (reg_before_reload_operand): New function implementation.
1510 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
1513 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1515 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
1517 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1519 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
1520 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
1521 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
1522 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
1523 (ENDFILE_SPEC): Undefine.
1524 (STARTFILE_SPEC): Redefine for PA.
1526 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1528 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
1530 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
1532 * config.gcc: Add entries to supported PowerPC --with-cpu
1535 2002-01-21 Jakub Jelinek <jakub@redhat.com>
1537 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
1538 true for 64-bit mode only SSE registers in 32-bit mode.
1540 2002-01-21 Kazu Hirata <kazu@hxi.com>
1542 * unwind-dw2.c: Fix formatting.
1543 * unwind-dw2-fde.c: Likewise.
1544 * unwind-dw2-fde.h: Likewise.
1545 * unwind-pe.h: Likewise.
1546 * varasm.c: Likewise.
1547 * varray.h: Likewise.
1549 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
1551 Remove workaround for register stack overwrite bug in mmix.
1552 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
1553 support for TARGET_REG_STACK_FILL_BUG.
1554 * config/mmix/mmix.h: Remove member has_call_without_parameters.
1555 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
1557 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
1558 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
1559 -mno-reg-stack-fill-bug-workaround.
1560 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
1561 machine member has_call_without_parameters.
1562 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
1563 -mreg-stack-fill-bug-workaround and
1564 -mno-reg-stack-fill-bug-workaround.
1565 (MMIX Options): Ditto.
1567 2002-01-21 Kazu Hirata <kazu@hxi.com>
1569 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
1571 Remove redundant code.
1573 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
1575 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
1576 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1577 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1578 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
1579 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
1580 out target macro definitions and non-target-specific comments
1581 mostly taken from old versions of the manual.
1583 2002-01-20 Kazu Hirata <kazu@hxi.com>
1585 * config/h8300/h8300.h: Fix comment formatting.
1586 * config/ia64/aix.h: Likewise.
1587 * config/ia64/ia64-protos.h: Likewise.
1588 * config/ia64/ia64.c: Likewise.
1589 * config/ia64/ia64.h: Likewise.
1590 * config/ia64/ia64intrin.h: Likewise.
1591 * config/ia64/linux.h: Likewise.
1592 * config/ia64/unwind-aix.c: Likewise.
1593 * config/ia64/unwind-ia64.c: Likewise.
1595 2002-01-20 Kazu Hirata <kazu@hxi.com>
1597 * config/h8300/h8300.c: Revise comments about shift code.
1599 2002-01-20 Kazu Hirata <kazu@hxi.com>
1601 * config/h8300/h8300.c (function_arg): Update a comment.
1603 2002-01-20 Kazu Hirata <kazu@hxi.com>
1605 * config/h8300/h8300.md: Update the comments at the beginning
1608 2002-01-20 Kazu Hirata <kazu@hxi.com>
1610 * config/i370/i370.c: Fix comment formatting.
1611 * config/i370/i370.h: Likewise.
1612 * config/i370/i370.md: Likewise.
1613 * config/i370/linux.h: Likewise.
1615 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1617 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
1619 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
1620 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
1623 2002-01-20 Graham Stott <grahams@redhat.com>
1625 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
1627 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1629 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
1631 2002-01-19 Tom Rix <trix@redhat.com>
1633 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
1635 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
1637 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1639 * function.c (assign_stack_local_1): Adjust x_frame_offset with
1640 STARTING_FRAME_PHASE.
1641 (STARTING_FRAME_PHASE): New.
1642 (instantiate_virtual_regs): Check saneness of
1643 STARTING_FRAME_PHASE.
1645 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1647 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1649 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
1651 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1653 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
1654 be used for bootstrapping GCC 3.0.
1656 2002-01-18 Kazu Hirata <kazu@hxi.com>
1658 * config/h8300/h8300.md: Fix an insn length.
1660 2002-01-18 Kazu Hirata <kazu@hxi.com>
1662 * bitmap.h: Fix comment formatting.
1663 * combine.c: Likewise.
1664 * cppfiles.c: Likewise.
1665 * c-pragma.h: Likewise.
1666 * c-typeck.c: Likewise.
1668 * dwarf2out.c: Likewise.
1669 * function.c: Likewise.
1671 * genattrtab.c: Likewise.
1672 * gthr-win32.h: Likewise.
1673 * haifa-sched.c: Likewise.
1674 * predict.c: Likewise.
1675 * rtlanal.c: Likewise.
1677 * unwind-dw2-fde.h: Likewise.
1678 * unwind-pe.h: Likewise.
1679 * vmsdbgout.c: Likewise.
1681 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1683 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
1684 if type_required and passed decl.
1686 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
1688 * config.gcc (cpu_type): Include altivec.h in powerpc
1692 * config/rs6000/altivec.h: New.
1694 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1696 * doc/install.texi (*-ibm-aix*): Update assembler and exception
1697 handling information.
1698 * doc/trouble.texi (Interoperation): Add libstdc++ information
1700 (Misunderstandings): Add template instantiation and static template
1701 member information for AIX.
1703 2002-01-17 Jason Merrill <jason@redhat.com>
1705 * dbxout.c (dbxout_type): Support const and volatile.
1707 * except.c (add_partial_entry): Remove backwards compatibility code.
1708 (end_protect_partials): Likewise.
1710 2002-01-17 Jakub Jelinek <jakub@redhat.com>
1712 * config/ia64/ia64.md (prologue_use): New.
1713 * config/ia64/ia64.c (ia64_expand_prologue): Use
1714 gen_prologue_use instead of gen_rtx_USE.
1715 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1716 as CODE_FOR_pred_rel_mutex.
1717 (ia64_sched_reorder2): Likewise.
1719 2002-01-16 Eric Christopher <echristo@redhat.com>
1721 * config/mips/r3900.h: Reformat.
1722 (SUBTARGET_CPP_SIZE_SPEC): Remove.
1723 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1724 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1725 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1726 * config/mips/t-elf: Remove mips3 multilib.
1728 2002-01-16 H.J. Lu <hjl@gnu.org>
1730 * config/mips/linux.h: Include "mips/abi64.h".
1732 2002-01-16 H.J. Lu <hjl@gnu.org>
1734 * config/mips/t-linux: New.
1736 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1738 * config/mips/linux.h: Don't include "gofast.h".
1739 (INIT_SUBTARGET_OPTABS): Removed.
1741 2002-01-16 Kazu Hirata <kazu@hxi.com>
1743 * config/h8300/h8300-protos.h: Replace emit_a_shift with
1745 * config/h8300/h8300.c: Likewise.
1746 * config/h8300/h8300.md: Likewise.
1748 2002-01-16 Kazu Hirata <kazu@hxi.com>
1750 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1751 spaces after an opcode name.
1752 (pushqi1_h8300hs): Likewise.
1753 (pushhi1_h8300hs): Likewise.
1755 2002-01-16 Kazu Hirata <kazu@hxi.com>
1757 * doc/extend.texi: Replace "option" with "attribute"
1760 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1762 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1763 (and:DI () (const_int -8)).
1764 (split_small_symbolic_mem_operand): Split
1765 (mem (and:DI () (const_int -8)).
1767 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1770 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1771 same way as TYPE_IMUL.
1772 (ultrasparc_sched_reorder): Likewise.
1773 * config/sparc/sparc.md (type): Add comment to update
1774 ultrasparc_sched_reorder when making changes.
1776 2002-01-16 Kazu Hirata <kazu@hxi.com>
1778 * doc/invoke.texi: Change the dump file name of block
1779 reordering pass from 28.bbro to 29.bbro.
1782 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1784 * i386.md (minsf splitter): Fix pasto.
1786 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1788 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1789 to frame pointer initialisation instruction.
1790 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1791 initialisation instruction.
1792 (soft_df_operand): Do not accept the IP register.
1793 (nonimmediate_soft_df_operand): Do not accept the IP register.
1795 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1798 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1799 MASK_V8 being both set.
1801 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1803 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1804 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1805 config/s390/s390.md (call, call_value): Add GOT register to
1806 CALL_INSN_FUNCTION_USAGE where needed.
1807 (call_exp, call_value_exp): New.
1809 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1811 * config/arm/arm.c: General formatting tidy up.
1813 2002-01-16 Graham Stott <grahams@redhat.com>
1815 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1816 cast and when casting an integer literal to "rtx" pointer.
1817 (expand_call): Likewise.
1818 * flow.c (try_pre_increment): Likewise.
1819 (find_use_as_address): Likewise.
1820 * integrate.c (expand_iline_function): Likewise.
1821 * regmove.c (try_auto_increment): Likewise.
1823 2002-01-16 Graham Stott <grahams@redhat.com>
1825 * sched-rgn.c (passed): Use sbitmap_free.
1828 (in_queue): Likewise.
1829 (in_stack): Likewise.
1831 2002-01-15 Eric Christopher <echristo@redhat.com>
1833 * flow.c (propagate_one_insn): Change to use fatal_insn.
1835 2002-01-15 Kazu Hirata <kazu@hxi.com>
1837 * expmed.c (extract_fixed_bit_field): Remove unused code.
1838 * system.h: Poison SLOW_ZERO_EXTEND.
1839 * doc/tm.texi: Remove.
1840 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1841 * config/arm/arm.h: Likewise.
1842 * config/avr/avr.h: Likewise.
1843 * config/clipper/clipper.h: Likewise.
1844 * config/convex/convex.h: Likewise.
1845 * config/d30v/d30v.h: Likewise.
1846 * config/dsp16xx/dsp16xx.h: Likewise.
1847 * config/elxsi/elxsi.h: Likewise.
1848 * config/fr30/fr30.h: Likewise.
1849 * config/h8300/h8300.h: Likewise.
1850 * config/i370/i370.h: Likewise.
1851 * config/i386/i386.h: Likewise.
1852 * config/m68k/m68k.h: Likewise.
1853 * config/mips/mips.h: Likewise.
1854 * config/ns32k/ns32k.h: Likewise.
1855 * config/pdp11/pdp11.h: Likewise.
1856 * config/pj/pj.h: Likewise.
1857 * config/s390/s390.h: Likewise.
1858 * config/sh/sh.h: Likewise.
1859 * config/stormy16/stormy16.h: Likewise.
1860 * config/v850/v850.h: Likewise.
1861 * config/vax/vax.h: Likewise.
1862 * config/we32k/we32k.h: Likewise.
1864 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1866 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1867 (altivec_lvsl): Change constraint to b.
1868 (altivec_lvsr): Same.
1869 (altivec_lvebx): Same.
1870 (altivec_lvehx): Same.
1871 (altivec_lvewx): Same.
1872 (altivec_lvxl): Same.
1873 (altivec_lvx): Same.
1874 (altivec_stvx): Add parallel.
1875 (altivec_stvxl): Same.
1876 (altivec_stvehx): Same.
1877 (altivec_stvebx): Same.
1878 (altivec_stvebx): Same.
1880 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1882 * config.gcc: Change altivec.h to altivec-defs.h.
1884 * config/rs6000/altivec.h: Delete.
1886 * config/rs6000/altivec-defs.h: Add.
1888 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1890 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1893 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1894 less than or equal to eight bytes.
1896 * vax.md (andsi3): Remove constraints and change SET destination
1897 operand type to nonimmediate_operand.
1898 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1899 when it is a CONST_INT.
1901 2002-01-15 Jason Merrill <jason@redhat.com>
1903 * c-common.def (FILE_STMT): New code.
1904 * c-common.c (statement_code_p): It's a statement.
1905 * c-common.h (stmt_tree_s): Add x_last_filename.
1906 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1907 (last_expr_filename): New macro.
1908 * c-semantics.c (begin_stmt_tree): Initialize it.
1909 (add_stmt): If the filename changed, also insert a
1911 (expand_stmt): Handle seeing one.
1913 2002-01-15 Eric Christopher <echristo@redhat.com>
1915 * flow.c (propagate_one_insn): Add error message and print out
1918 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1920 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1921 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1922 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1923 TRAMPOLINE_ALIGNMENT.
1924 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1926 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1927 PCC_BITFIELD_TYPE_MATTERS.
1928 * config/interix.h (STDC_VALUE): Remove. Use
1929 STDC_0_IN_SYSTEM_HEADERS.
1930 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1931 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1932 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1934 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1936 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1937 not work on this platform currently.
1939 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1941 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1942 readonly_warning in _().
1944 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1946 * gcc.c (delete_if_ordinary): Backout previous change.
1948 2002-01-15 Kazu Hirata <kazu@hxi.com>
1950 * config/h8300/h8300.c (print_operand): Remove support for
1951 unused operand characters.
1953 * read-rtl.c: Fix formatting.
1955 * recog.c: Likewise.
1956 * regclass.c: Likewise.
1957 * regmove.c: Likewise.
1958 * reg-stack.c: Likewise.
1959 * reload1.c: Likewise.
1960 * rtlanal.c: Likewise.
1962 2002-01-15 Kazu Hirata <kazu@hxi.com>
1964 * config/i386/i386.c: Fix formatting.
1966 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1968 * c-typeck.c (process_init_element): Don't save_expr
1969 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1971 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1973 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1974 emit optional traceback table if optimize_size or TARGET_ELF.
1975 * config/rs6000/rs6000.md (prefetch): New.
1977 2002-01-15 Andreas Jaeger <aj@suse.de>
1979 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1981 2002-01-15 Kazu Hirata <kazu@hxi.com>
1983 * mips-tfile.c: Fix formatting.
1985 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1987 * unroll.c (final_reg_note_copy): Fix previous commit.
1989 2002-01-14 Kazu Hirata <kazu@hxi.com>
1991 * config/h8300/h8300-protos.h: Remove the prototype for
1993 * config/h8300/h8300.c (eq_operator): Remove.
1995 2002-01-14 Richard Henderson <rth@redhat.com>
1997 * config/i386/i386.md (prefetch): Tidy.
1998 (prefetch_3dnow): Fix locality operand.
2000 2002-01-14 Richard Henderson <rth@redhat.com>
2002 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
2003 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
2005 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
2007 * reload1.c (reload_combine): Pass reg_sum replacement through
2008 copy_rtx in loop performing multiple changes.
2010 2002-01-14 Jakub Jelinek <jakub@redhat.com>
2012 * except.c (remove_unreachable_regions): New.
2013 (free_eh_status): Clear exception_handler_labels.
2014 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
2015 (find_exception_handler_labels): Don't add the same label more than
2017 (remove_exception_handler_label): Don't die if
2018 find_exception_handler_labels hasn't been called for the current
2021 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
2023 * toplev.c (rest_of_compilation): Rebuild jump labels after
2026 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
2028 * doc/extend.texi: Move documentation of X86 built-in functions
2030 * doc/invoke.texi: From here.
2031 * doc/sourcebuild.texi: Document location of documentation for
2032 machine built-in functions.
2034 2002-01-13 Christopher Faylor <cgf@redhat.com>
2036 * cppfiles.c (TEST_THRESHOLD): New macro.
2037 (SHOULD_MMAP): Ditto.
2038 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
2041 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
2043 * unroll.c (final_reg_note_copy): Properly handle
2045 (unroll_loops): Fix LOOP_CONDITION heuristics.
2047 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
2049 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
2050 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
2052 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
2054 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
2057 2002-01-14 Tom Rix <trix@redhat.com>
2059 * config/rs6000/rs6000.md: Fix typo with sradi.
2061 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
2063 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
2064 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
2065 (clrstrdi, clrstrsi): Adapt callers.
2067 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
2069 (movti splitter): Never use register 0 as base register.
2071 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
2073 * combine.c (simplify_shift_const): Always generate new rtx
2074 for shift expression instead of reusing given expression.
2076 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2078 * config/alpha/alpha.c (alpha_expand_mov): Don't call
2079 alpha_legitimize_address unless mode is Pmode.
2081 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
2083 * doc/md.texi (Modifiers): Document the '*' constraint for the
2086 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
2087 * doc/extend.texi (Function Attributes): 'interrupt' is valid
2090 2002-01-13 Richard Henderson <rth@redhat.com>
2092 * reload.c (find_reloads): Use a hard reg destination as reload reg
2093 for an input reload of the source.
2095 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2097 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
2100 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
2102 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
2103 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
2105 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
2107 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2109 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
2111 2002-01-12 Tom Rix <trix@redhat.com>
2113 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
2116 2002-01-12 Richard Henderson <rth@redhat.com>
2118 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
2120 * doc/invoke.texi: Update Alpha options.
2122 * doc/invoke.texi: Update i386 built-in function lists.
2124 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
2126 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
2127 referencing outside.
2129 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2131 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
2132 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
2133 offsets, and change line folding.
2134 * optabs.c (expand_binop): Remove warnings.
2135 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
2137 2002-01-12 Graham Stott <grahams@redhat.com>
2139 * attribs.c (handle_deprecated_attribute): constify WHAT.
2140 * diagnostic.c (warn_deprecated_use): Add braces, fixes
2141 dangling else warning and constify WHAT.
2142 * except.h (struct function, struct inline_remap): Move
2143 struct tag forward defs before all prototypes.
2144 (duplicate_eh_regions): Whitespace.
2146 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
2148 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
2149 MODE_BASE_REG_CLASS.
2150 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
2152 2002-01-12 Richard Henderson <rth@redhat.com>
2154 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
2155 (ix86_expand_vector_move): New.
2156 (bdesc_2arg): Remove andps, andnps, orps, xorps.
2157 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
2158 Remove old prefetch builtins. Special case the logicals removed above.
2159 (ix86_expand_builtin): Likewise.
2160 (safe_vector_operand): Use V4SFmode, not TImode.
2161 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
2162 (ix86_expand_timode_binop_builtin): New.
2163 * config/i386/i386-protos.h: Update.
2164 * config/i386/i386.h (enum ix86_builtins): Update.
2165 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
2166 Use ix86_expand_vector_move in vector move expanders.
2167 (movti_internal, movti_rex64): Add xorps alternative.
2168 (sse_clrv4sf): Rename and adjust from sse_clrti.
2169 (prefetch): Don't work so hard.
2170 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
2171 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
2172 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
2174 2002-01-11 Richard Henderson <rth@redhat.com>
2176 * config/i386/mmintrin.h: New file.
2177 * config/i386/xmmintrin.h: New file.
2178 * config.gcc (i?86-*-*): Add extra_headers.
2179 * simplify-rtx.c (simplify_unary_operation): Handle saturating
2181 (simplify_binary_operation): Handle saturating arithmetic codes.
2182 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
2183 not the lowpart subreg.
2184 (ix86_expand_builtin): Return a TImode dummy register instead of 0
2186 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
2188 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2190 * conflict.c (conflict_graph_compute): Free regsets when finished.
2191 * ssa.c (compute_coalesced_reg_partition): Likewise.
2193 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2195 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
2196 every where we allocate a register.
2198 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2200 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
2201 * lcm.c (compute_earliest, compute_farthest): Likewise.
2203 2002-01-11 Janis Johnson <janis187@us.ibm.com>
2205 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
2207 2002-01-11 Janis Johnson <janis187@us.ibm.com>
2209 * doc/rtl.texi (Insns): Fix 2 typos.
2211 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2213 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
2214 options. Use @table @gcctabopt for MMIX options. Add index
2215 entries for MMIX options. Start new paragraph with first
2216 heading of the machine-dependent options.
2218 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
2221 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
2222 * combine.c (force_to_mode): Same.
2223 * reload1.c (clear_reload_reg_in_use): Same.
2225 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
2227 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
2230 2002-01-11 Andreas Jaeger <aj@suse.de>,
2231 Brad Lucier <lucier@math.purdue.edu>
2233 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
2236 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
2238 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
2239 Protect with IN_LIBGCC.
2240 (LINK_EH_SPEC): Add required trailing space.
2242 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
2244 * c-tree.h: Move function declarations so that they are listed
2245 under the filename which contains them.
2246 (check_identifier, finish_decl_top_level,
2247 lookup_name_current_level_global, shadow_record_fields): Remove.
2249 2002-01-11 Andreas Jaeger <aj@suse.de>
2251 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
2254 2002-01-10 Richard Henderson <rth@redhat.com>
2256 * config/alpha/alpha.c (print_operand): Add 'J'.
2257 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
2258 new operand with the sequence number for the lituse. When splitting
2259 the insns, use gen_movdi_er_high_g and generate a sequence number.
2260 (gen_movdi_er_high_g): Print the sequence number if non-zero.
2262 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
2264 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
2265 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
2267 (altivec_expand_builtin): Same.
2268 (altivec_expand_stv_builtin): New.
2270 * config/rs6000/rs6000.h (rs6000_builtins): Same.
2272 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
2273 ("altivec_lvehx"): New.
2274 ("altivec_lvewx"): New.
2275 ("altivec_lvxl"): New.
2276 ("altivec_lvx"): New.
2277 ("altivec_stvx"): New.
2278 ("altivec_stvebx"): New.
2279 ("altivec_stvehx"): New.
2280 ("altivec_stvewx"): New.
2281 ("altivec_stvxl"): New.
2283 2002-01-10 Richard Henderson <rth@redhat.com>
2285 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
2286 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
2287 care not to delete instructions twice.
2289 2002-01-10 Zack Weinberg <zack@codesourcery.com>
2291 * toplev.c: Don't declare environ (it's not used anywhere).
2292 * configure.in: Don't check for declaration of environ.
2293 * config/i386/xm-mingw32.h: Don't #define environ.
2294 * config.in, configure: Regenerate.
2296 2002-01-10 Zack Weinberg <zack@codesourcery.com>
2298 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
2299 * configure: Regenerate.
2301 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
2302 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
2303 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
2305 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
2306 LIMITS_H_TEST here, not in m68k/x-next.
2307 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
2308 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
2310 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
2311 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
2312 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
2314 * config/i386/x-djgpp: Renamed i386/t-djgpp.
2315 * config/m88k/x-dolph: Renamed m88k/t-dolph.
2316 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
2317 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
2318 replacement of quadlib.asm with quadlib.c.
2320 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
2321 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
2322 config/rs6000/xm-beos.h: Delete file.
2324 * config.gcc: Update to match above changes.
2326 2002-01-10 Kazu Hirata <kazu@hxi.com>
2328 * config/h8300/h8300.h: Fix comment typos.
2329 * config/h8300/h8300.md: Likewise.
2330 * config/h8300/lib1funcs.asm: Likewise.
2332 2002-01-10 Dale Johannesen <dalej@apple.com>
2334 PR optimization/5269
2335 * unroll.c (precondition_loop_p): Make *increment be the correct
2336 sign when n_iterations known, to avoid confusing caller.
2338 2002-01-10 Kazu Hirata <kazu@hxi.com>
2340 * doc/extend.texi (deprecated): Fix a typo.
2342 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
2344 * basic-block.h (update_br_prob_note): Declare.
2345 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
2346 (try_forward_edges): Care negative frequencies and update note.
2347 (outgoing_edges_match): Tweek conditional merging heuristics.
2348 (try_crossjump_to_edge): use update_br_prob_note.
2349 * cfglayout.c (fixup_reorder_chain): Likewise.
2350 * cfrtl.c (update_br_prob_note): New.
2351 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
2353 * i386.c (ix86_decompose_address): Return -1 if address contains
2355 (legitimate_address_p): Require ix86_decompose_address to return 1.
2357 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
2358 (cprop_insn): Likewise.
2360 2002-01-10 Kazu Hirata <kazu@hxi.com>
2362 * toplev.c: Fix formatting.
2364 * tree-dump.c: Likewise.
2365 * unroll.c: Likewise.
2366 * unwind-dw2.c: Likewise.
2367 * unwind-dw2-fde.c: Likewise.
2368 * unwind-dw2-fde-glibc.c: Likewise.
2369 * unwind-sjlj.c: Likewise.
2371 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2373 * doc/invoke.texi: Document PDP-11 options.
2375 2002-01-10 Kazu Hirata <kazu@hxi.com>
2377 * config/h8300/h8300.h: Fix formatting.
2379 2002-01-10 Ira Ruben <ira@apple.com>
2381 Add __attribute__ ((deprecated)).
2382 * extend.texi: Document __attribute__ ((deprecated)).
2383 * invoke.texi: Document -Wno-deprecated-declarations.
2384 * testsuite/g++.dg/other/deprecated.C: New C++ test.
2385 * testsuite/gcc.dg/deprecated.c: New C test.
2386 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
2387 (c_common_attribute_table): Add "deprecated" entry.
2388 (handle_deprecated_attribute): New function.
2389 * c-decl.c (deprecated_states): New enum.
2390 deprecated_state: State of "deprecated" handling.
2391 (start_decl): Set deprecated_state based on attributes.
2392 (grokdeclarator): Test for deprecated uses, propagate attribute.
2393 * c-typeck.c (build_component_ref): Test for deprecated fields.
2394 (build_external_ref): Test for deprecated primaries.
2395 * diagnostic.c (warn_deprecated_use) New function to issue
2396 warnings about __attribute__ ((depricated)) references.
2397 * flags.h (warn_deprecated_decl): Extern declared for
2398 -W[no-]deprecated-declarations option.
2399 * print-tree.c (print_node): Show deprecated flag status.
2400 * toplev.c (warn_deprecated_decl): Defined.
2401 (W_options): Added "deprecated-declaration".
2402 * toplev.h (warn_deprecated_use): Extern declared.
2403 * tree.h (struct tree_common): Define deprecated_flag.
2404 (TREE_DEPRECATED): New macro to access flag.
2405 * cp/call.c (build_call): Test for deprecated calls.
2406 * cp/class.c (add_implicitly_declared_members): Set global
2407 flag to tell grokdeclarator to not issue deprecated warnings.
2408 * cp/cp-tree.h: Add extern for adding_implicit_members.
2409 * cp/decl.c (deprecated_states): New enum.
2410 (start_decl): Set deprecated_state based on attributes.
2411 (grokdeclarator): Test for deprecated uses, propagate attribute.
2412 * cp/lex.c (do_identifier): Test for deprecated primaries.
2413 * cp/typeck.c (build_component_ref): Test for deprecated fields.
2415 2002-01-10 Ira Ruben <ira@apple.com>
2417 Fix to assign attributes to inline member functions.
2418 * cp/decl.c (start_method): Handle attrlist.
2420 2002-01-10 Kazu Hirata <kazu@hxi.com>
2422 * combine.c (expand_field_assignment): Use subreg_lsb().
2424 2002-01-10 David Edelsohn <edelsohn@gnu.org>
2426 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
2427 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
2428 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
2429 Recurse for any operand of AND as long as constant is non-zero.
2431 2002-01-10 Kazu Hirata <kazu@hxi.com>
2433 * config/h8300/h8300.md: Remove constraints from expanders.
2435 2002-01-10 Kazu Hirata <kazu@hxi.com>
2437 * varasm.c: Fix formatting.
2438 * varray.c: Likewise.
2439 * vmsdbgout.c: Likewise.
2440 * xcoffout.c: Likewise.
2442 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
2444 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
2445 update edge probabilities to match.
2447 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2449 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
2451 * doc/languages.texi, doc/sourcebuild.texi: New files.
2452 * doc/configfiles.texi: Make a subsubsection. Update.
2453 * doc/configterms.texi: Add @node. Remove warning that this isn't
2454 instructions for building GCC.
2455 * doc/makefile.texi: Make a subsection.
2456 * doc/gccint.texi: Update.
2458 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
2460 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
2462 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2464 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
2466 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
2468 * optabs.c (expand_fix): Look for wider integer modes first.
2470 * i386.md (mov?f): Avoid the fake const double trick for medium
2472 (min?f*/max?f*): Prohibit memory operands for i387 variant.
2473 (fop_df_4): Disable for SSE compilation.
2475 2002-01-10 Graham Stott <grahams@redhat.com>
2477 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
2478 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
2480 2002-01-10 Richard Henderson <rth@redhat.com>
2482 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
2484 2002-01-10 Richard Henderson <rth@redhat.com>
2486 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
2487 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
2489 2002-01-10 Kazu Hirata <kazu@hxi.com>
2491 * combine.c (can_combine_p): Fix a comment typo.
2493 2002-01-09 Zack Weinberg <zack@codesourcery.com>
2495 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
2496 empty list correctly. Change loop index $t to $f for
2497 consistency with rest of Makefile.
2499 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
2501 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
2502 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2504 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
2505 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
2506 (altivec_init_builtins): Same.
2507 (altivec_expand_unop_builtin): Return NULL_RTX on error.
2508 (altivec_expand_binop_builtin): Same.
2509 (altivec_expand_ternop_builtin): Same.
2512 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
2513 ("altivec_vctuxs"): Fix typo.
2514 ("altivec_vnmsubfp"): Same.
2515 ("altivec_dssall"): New.
2516 ("altivec_mfvscr"): New.
2517 ("altivec_dss"): New.
2518 ("altivec_lvsl"): New.
2519 ("altivec_lvsr"): New.
2520 ("altivec_dstt"): New.
2521 ("altivec_dstst"): New.
2522 ("altivec_dststt"): New.
2523 ("altivec_dst"): New.
2525 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
2526 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2528 2002-01-09 Richard Henderson <rth@redhat.com>
2530 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
2532 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
2534 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
2536 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
2538 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
2540 2002-01-09 Kazu Hirata <kazu@hxi.com>
2542 * read-rtl.c: Fix formatting.
2544 * regclass.c: Likewise.
2545 * regrename.c: Likewise.
2546 * reg-stack.c: Likewise.
2547 * reload1.c: Likewise.
2548 * reload.c: Likewise.
2551 2002-01-09 Kazu Hirata <kazu@hxi.com>
2553 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
2554 to extract items in the expr_list chain.
2556 2002-01-09 Richard Henderson <rth@redhat.com>
2558 * config/vax/vax.c (vax_rtx_cost): Never abort.
2560 * config/vax/vax.h (REAL_ARITHMETIC): Define.
2562 2002-01-09 Jan Hubicka <jh@suse.cz>
2564 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
2566 2002-01-09 Richard Henderson <rth@redhat.com>
2568 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
2569 Unify code from various alternatives.
2571 2002-01-09 Richard Henderson <rth@redhat.com>
2573 * regrename.c (copy_value): Ignore the copy if the source register
2574 is present in the value chain with a narrower mode.
2576 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2578 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
2579 for the c4x target. Also improve layout.
2581 2002-01-09 Richard Henderson <rth@redhat.com>
2583 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
2584 * config/m32r/m32r.md (and ior xor splitters): Swap operands
2585 to match insn patterns.
2587 2002-01-09 Richard Henderson <rth@redhat.com>
2589 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
2590 (copyprop_hardreg_forward_1): Likewise.
2592 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2594 * pa.md (decrement_and_branch_until_zero): Change predicate for
2595 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
2597 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2599 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
2600 gets undefined. For Darwin.
2602 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2604 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
2606 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2608 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
2610 2002-01-08 Richard Henderson <rth@redhat.com>
2612 * regrename.c (copy_value): Ignore overlapping copies.
2614 2002-01-08 Richard Henderson <rth@redhat.com>
2616 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
2617 as needed to avoid shared structure.
2619 2002-01-08 Kazu Hirata <kazu@hxi.com>
2621 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
2624 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2626 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
2627 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
2628 documentation of obsolete macros.
2629 * system.h: Poison these macros.
2630 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
2631 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
2632 config/c4x/c4x.h, config/clipper/clipper.h,
2633 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
2634 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
2635 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
2636 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
2637 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2638 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
2639 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2640 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
2641 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
2642 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2643 config/sparc/sparc.h, config/stormy16/stormy16.h,
2644 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
2645 definitions and commented out definitions of obsolete macros.
2646 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
2647 of MAX_INT_TYPE_SIZE.
2649 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2651 * config/s390/s390.c (s390_preferred_reload_class): Never
2652 return ADDR_REGS if it isn't a subset of the given class.
2653 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
2654 FP_REGS, but all superclasses as well.
2656 * config/s390/s390.c (s390_function_profiler): Fix thinko.
2658 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
2659 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
2660 must not be a const_int.
2662 2002-01-08 Richard Henderson <rth@redhat.com>
2664 * Makefile.in (toplev.o): Depend on options.h.
2665 (gcc.o): Depend on specs.h.
2667 2002-01-08 Jakub Jelinek <jakub@redhat.com>
2669 * expr.c (store_expr): Convert VOIDmode constants back to target's
2672 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2674 * doc/invoke.texi: Markup gcc as @command. Refer to
2675 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
2676 of http://gcc.gnu.org/thanks.html.
2678 2002-01-08 Dale Johannesen <dalej@apple.com>
2680 * config/rs6000/rs6000.md: Add missing int register
2681 target case to movdf_low.
2683 2002-01-08 Zack Weinberg <zack@codesourcery.com>
2685 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
2686 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
2687 (cppinit.o): Depend on except.h.
2688 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
2689 s-specs): New rules.
2691 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
2692 Don't create specs.h/options.h/gencheck.h here. Remove
2693 unnecessary variable settings from last argument of AC_OUTPUT.
2694 * config.in, configure: Regenerate.
2695 * intl.c: Hardcode package name as "gcc".
2697 * cppinit.c: Include except.h.
2698 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2700 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2701 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2702 (!)USING_SJLJ_EXCEPTIONS.
2703 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2705 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2707 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2708 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2709 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2710 documentation of obsolete macros.
2711 * system.h: Poison these macros.
2712 * config/d30v/d30v.h, config/ns32k/encore.h,
2713 config/stormy16/stormy16.h: Remove definitions and commented out
2714 definitions of obsolete macros.
2716 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
2718 * objc/objc-act.c (handle_class_ref): Mark the declaration of
2719 %sobjc_class_ref_%s as used - to prevent unwanted compiler
2722 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2724 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2725 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2726 to insn adjusting stack/frame pointer.
2727 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2728 accept operands that cause the insn to be non-splittable.
2730 2002-01-08 Graham Stott <grahams@redhat.com>
2732 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2733 (C_TYPE_FIELDS_VOLATILE): Likewise.
2734 (C_TYPE_BEING_DEFINED): Likewise.
2735 (C_IS_RESERVED_WORD): Likewise.
2736 (C_TYPE_VARIABLE_SIZE): Likewise.
2737 (C_DECL_VARIABLE_SIZE): Likewise.
2738 (C_MISSING_PROTOTYPE_WARNED): Likewise.
2739 (C_SET_EXP_ORIGINAL_CODE): Likewise.
2740 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2742 (C_DECL_ANTICIPATED): Likewise.
2743 (c_build_type_variant): Add parenthesis.
2745 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2747 * gcc.c (option_map): Remove --version.
2748 (process_command): Handle -fversion following the GNU Coding
2749 Standards. Partially addresses PR other/704.
2751 2002-01-08 Graham Stott <grahams@redhat.com>
2753 * combine.c (combine_instructions): Fix typo.
2755 2002-01-08 Graham Stott <grahams@redhat.com>
2757 * debug.h: Use "tree" and "rtx" throughout.
2759 * debug.c: Likewise.
2761 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2763 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2764 constant pool, use the pool's version of the symbol instead.
2766 2002-01-07 Richard Henderson <rth@redhat.com>
2768 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2769 the original register was copied in a mode with a fewer number of
2770 hard registers than the desired mode.
2771 (copyprop_hardreg_forward_1): Likewise.
2772 (debug_value_data): Fix loop test.
2773 * toplev.c (parse_options_and_default_flags): Reenable
2774 -fcprop-registers at -O1.
2776 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2778 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2779 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2781 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2784 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2786 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2788 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2789 (pa_output_function_prologue): Output local label at the beginning of
2790 the prologue when profiling.
2791 (hppa_profile_hook): Use the local label rather than the function label.
2792 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2794 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2796 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2797 (altivec_expand_unop_builtin): Fix thinko.
2798 (altivec_expand_binop_builtin): Same.
2799 (altivec_expand_ternop_builtin): Same.
2800 (altivec_expand_builtin): Same.
2802 2002-01-07 Richard Henderson <rth@redhat.com>
2804 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2806 2002-01-07 Jason Merrill <jason@redhat.com>
2808 * unwind-dw2.c (execute_cfa_program): Use < again.
2810 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2812 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2814 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2816 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2817 Don't allow -1 - x -> ~x simplifications in the first pass.
2819 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2821 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2823 (altivec_expand_binop_builtin): Same.
2824 (altivec_expand_unop_builtin): Same.
2825 (print_operand): Fix typo.
2826 (bdesc_1arg): Add vupk* variants.
2828 * rs6000.h (rs6000_builtins): Add vupk* enums.
2830 * rs6000.md: Add altivec_vupk* variants.
2832 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2834 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2835 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2836 and last update dates.
2838 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2840 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2842 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2844 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2845 * config/avr/avr.h (CPP_SPEC): Likewise.
2846 (LINK_SPEC): Likewise.
2847 (CRT_BINUTILS_SPECS): Likewise.
2848 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2849 * doc/invoke.texi (AVR Options): Document them.
2851 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2853 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2856 2002-01-07 Graham Stott <grahams@redhat.com>
2858 * config/i386/i386.h: Update copyright date.
2859 (HALF_PIC_PTR): Add parenthesis.
2860 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2861 (CONSTANT_ALIGNMENT): Add parenthesis.
2862 (DATA_ALIGNMENT): Likewise.
2863 (LOCAL_ALIGNMENT): Likewise.
2864 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2865 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2866 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2867 (HARD_REGNO_NREGS): Add paranethesis.
2868 (VALID_SSE_REG_MODE): Whitespace.
2869 (VALID_MMX_REG_MODE): Whitespace.
2870 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2871 (ix86_hard_regno_mode_ok): Add parenthesis.
2872 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2873 (RETURN_IN_MEMORY): Whitespace.
2874 (N_REG_CLASSES): Add parenthesis.
2875 (INTEGER_CLASS_P): Add parenthesis and wrap.
2876 (FLOAT_CLASS_P): Likewise.
2877 (SSE_CLASS_P): Likewise.
2878 (MMX_CLASS_P): Likewise.
2879 (MAYBE_INTEGER_CLASS_P): Likewise.
2880 (MAYBE_FLOAT_CLASS_P): Likewise.
2881 (MAYBE_SSE_CLASS_P): Likewise.
2882 (MAYBE_MMX_CLASS_P): Likewise.
2883 (Q_CLASS_P): Likewise.
2884 (GENERAL_REGNO_P): Uppercase macro parameter.
2885 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2886 (FP_REGNO_P): Likewise.
2887 (ANY_FP_REGNO_P): Uppercase macro parameter.
2888 (SSE_REGNO_P): Likewise.
2889 (SSE_REGNO): Likewise.
2890 (SSE_REG_P): Likewise.
2891 (SSE_FLOAT_MODE_P): Likewise.
2892 (MMX_REGNO_P): Likewise.
2893 (MMX_REG_P):Likewise.
2894 (STACK_REG_P): Likewise.
2895 (NON_STACK_REG_P): Likewise.
2896 (STACK_TOP_P): Likewise.
2897 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2898 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2899 (SECONDARY_MEMORY_NEEDED): Likewise.
2900 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2901 (MD_ASM_CLOBBERS): Whitespace and wrap.
2902 (MUST_PASS_IN_STACK): Whitespace and wrap.
2903 (RETURN_POPS_ARGS): Add parenthesis.
2904 (INIT_CUMULATIVE_ARGS): Likewise.
2905 (FUNCTION_ARG): Likewise.
2906 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2907 (SETUP_INCOMING_VARARGS): Likewise.
2908 (BUILD_VA_LIST_TYPE): Add parenthesis.
2909 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2911 (EXPAND_BUILTIN_VA_ARG): Likewise.
2912 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2913 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2914 (INITIAL_ELIMINATION_OFFSET): Likewise.
2915 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2916 (REGNO_OK_FOR_BASE_P): Likewise.
2917 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2918 (REGNO_OK_FOR_DIREG_P): Likewise.
2919 (REG_OK_FOR_INDEX_P): Whitespace.
2920 (REG_OK_FOR_BASE_P): Whitespace.
2921 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2923 (FIND_BASE_TERM): Fix typo.
2924 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2925 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2926 (SYMBOLIC_CONST; Whitespace.
2927 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2928 (ENCODE_SECTION_INFO): Whitespace.
2929 (FINALIZE_PIC): Remove do { ... } while (0).
2930 (PROMOTE_MODE): Wrap in do { ... } while (0).
2931 (CONST_COSTS): Whitespace.
2932 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2933 (REGISTER_MOVE_COST): Add parenthesis.
2934 (MEMORY_MOVE_COST): Likewise.
2935 (EXTRA_CC_MODES): Whitespace.
2936 (SELECT_CC_MODE): Add parenthesis and whitespace.
2937 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2938 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2939 (ASM_OUTPUT_LABEL): Add paramethesis.
2940 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2941 (ASM_OUTPUT_REG_POP): Likewise.
2942 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2943 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2945 * config/i386/i386.c: Update copyright.
2946 (CHECK_STACK_LIMIT): Add parenthesis.
2947 (AT_BP): Uppercase macro parameter.
2948 (x86_64_int_parameter_registers): Constify.
2949 (x86_64_int_return_registers): Likewise.
2950 (ix86_compare_op0): Use rtx.
2951 (construct_container): Constify INTREG parameter.
2952 (function_arg): Use rtx.
2954 * diagnostic.h: Update copyright date.
2955 (output_buffer_state): Add parenthesis.
2956 (output_buffer_format_args): Likewise.
2958 * combine.c (combine_instructions): Replace XEXP (links, 0)
2961 2002-01-06 H.J. Lu <hjl@gnu.org>
2963 * cfgcleanup.c (thread_jump): Fix 2 typos.
2965 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2967 * config.gcc: Add support for --enable-altivec.
2969 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2971 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2973 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2975 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2976 __objc_class_name_*.
2978 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2980 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2982 2002-01-06 Richard Henderson <rth@redhat.com>
2984 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2985 nop them out. Increment label reference count for REG_LABEL.
2986 (fill_slots_from_thread): Frob label reference count around
2987 delete_related_insns.
2989 2002-01-05 Richard Henderson <rth@redhat.com>
2991 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2994 2002-01-05 Richard Henderson <rth@redhat.com>
2996 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2997 * integrate.c (output_inline_function): Likewise.
2998 * toplev.c (rest_of_compilation): Do it here instead. Move call
2999 to remove_unnecessary_notes after emitting abstract instance.
3000 Force an emitted nested function to have its parent emited as well.
3001 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
3003 (rtl_for_decl_location): Do not look at reload data structures
3004 before reload has run.
3006 2002-01-05 Kazu Hirata <kazu@hxi.com>
3008 * cse.c: Fix formatting.
3009 * dwarf2asm.c: Likewise.
3010 * dwarf2out.c: Likewise.
3011 * explow.c: Likewise.
3012 * expmed.c: Likewise.
3013 * function.c: Likewise.
3015 * gencheck.c: Likewise.
3016 * genrecog.c: Likewise.
3017 * ggc-common.c: Likewise.
3018 * ggc-page.c: Likewise.
3019 * global.c: Likewise.
3021 2002-01-05 Kazu Hirata <kazu@hxi.com>
3023 * combine.c: Fix formatting.
3025 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
3028 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
3030 2002-01-05 David Edelsohn <edelsohn@gnu.org>
3032 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
3033 as 1 for __powerpc64__ as well.
3035 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
3037 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
3040 2002-01-05 Daniel Berlin <dan@dberlin.org>
3042 * lcm.c: Revert change, due to performance regression it causes on
3043 SPEC because it's slightly more conservative (sigh, I hate
3046 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
3048 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
3050 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
3052 * doc/cppinternals.texi: Update.
3054 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
3056 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
3057 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
3059 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
3060 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
3061 kludge for pre-october-14th mmix versions to handle new-found bug
3062 with PUSHJ/PUSHGO and the register stack.
3063 * config/mmix/mmix.h (struct machine_function): Rename member
3064 has_call_value_without_parameters to has_call_without_parameters.
3065 All referers changed.
3066 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
3067 TARGET_MASK_BRANCH_PREDICT): New macros.
3068 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
3069 -mno-reg-stack-fill-bug-workaround.
3070 * config/mmix/mmix.md ("call"): Set struct machine member
3071 has_call_without_parameters.
3073 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
3075 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
3077 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
3079 * cfgcleanup.c: Include tm_p.h
3080 (mark_effect): Fix handling of hard register; fix handling of SET
3082 2002-01-04 Kazu Hirata <kazu@hxi.com>
3084 * config/h8300/h8300.md (anonymous patterns): Check that
3085 operands are registers before using REGNO on them.
3087 2002-01-03 Roland McGrath <roland@frob.com>
3089 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
3091 2002-01-04 Jakub Jelinek <jakub@redhat.com>
3093 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
3094 * c-common.h (genrtl_expr_stmt_value): Likewise.
3095 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
3096 (expand_expr_stmt_value): Add maybe_last argument.
3097 Don't warn about statement with no effect if it is the last statement
3098 in expression statement.
3099 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
3100 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
3101 expand_expr_stmt_value.
3102 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
3103 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
3104 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
3105 as maybe_last to expand_expr_stmt_value.
3107 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
3109 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
3110 be passed in, do not build it.
3111 (c_begin_if_stmt): New function.
3112 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
3113 * c-common.h (c_expand_start_cond): Update prototype.
3114 (c_begin_if_stmt): Prototype new function.
3115 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
3116 * c-parse.in (if_prefix): Use c_begin_if_stmt,
3117 c_begin_while_stmt and c_finish_while_stmt_cond.
3119 2002-01-04 William Cohen <wcohen@redhat.com>
3121 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
3122 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
3123 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
3124 * config/pa/som.h (ASM_FILE_START): Likewise.
3126 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
3128 * lcm.c: Include df.h.
3129 Add available_transfer_function prototype.
3130 (compute_available): Rework to use iterative dataflow framework.
3131 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
3132 with bb_info in df.h
3133 (available_transfer_function): New function.
3135 * Makefile.in (lcm.o): add df.h to dependencies.
3137 2002-01-04 Richard Henderson <rth@redhat.com>
3139 * config/alpha/alpha.c (some_operand): Accept HIGH.
3140 (input_operand): Likewise; accept simple references to globals.
3141 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
3142 (alpha_const_double_ok_for_letter_p): Likewise.
3143 (alpha_extra_constraint): Likewise.
3144 (alpha_preferred_reload_class): Likewise. Do not force
3145 symbolic constants to memory.
3146 (alpha_legitimate_address_p): Accept simple references
3147 to small_symbolic_operand.
3148 (alpha_legitimize_address): New arg scratch. Be prepared to be
3149 called when no_new_pseudos. Emit simple symbolic references.
3150 Split integers into low, high, and rest.
3151 (alpha_expand_mov): Use alpha_legitimize_address.
3152 (some_small_symbolic_mem_operand): New.
3153 (split_small_symbolic_mem_operand): New.
3154 * config/alpha/alpha-protos.h: Update.
3155 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
3156 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
3157 (EXTRA_CONSTRAINT): Likewise.
3158 (PREFERRED_RELOAD_CLASS): Likewise.
3159 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
3160 (PREDICATE_CODES): Update.
3161 * config/alpha/alpha.md: New post-reload splitters to convert
3162 simplfied symbolic operands to the form that references $29.
3163 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
3164 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
3166 2002-01-03 Richard Henderson <rth@redhat.com>
3168 * local-alloc.c (function_invariant_p): Update commentary.
3170 2002-01-04 H.J. Lu <hjl@gnu.org>
3172 * toplev.c (rest_of_compilation): Fix a typo when calling
3175 2002-01-03 Kazu Hirata <kazu@hxi.com>
3177 * c-common.c: Fix formatting.
3178 * diagnostic.c: Likewise.
3179 * doloop.c: Likewise.
3180 * dwarf2out.c: Likewise.
3182 2002-01-03 Kazu Hirata <kazu@hxi.com>
3184 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
3185 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
3187 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
3189 * cpperror.c: Update comments and copyright.
3190 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
3191 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
3193 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
3195 * collect2.c (main): Use strcmp when testing for "-shared".
3197 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
3199 * cppmacro.c: Don't include intl.h. Update comments.
3200 (new_number_token): Allocate enough buffer for 64-bit unsigned
3201 integers; update prototype.
3202 * cppmain.c: Update comments.
3204 2002-01-03 William Cohen <wcohen@redhat.com>
3206 * function.h (struct function): Add profile.
3207 (current_function_profile): New.
3208 doc/extend.texi: Update documentation.
3209 * final.c (final_start_function): Use current_function_profile
3210 instead of profile_flag.
3211 (profile_after_prologue): Likewise.
3212 * function.c (expand_function_start): Likewise.
3213 (expand_function_start): Likewise.
3214 * config/alpha/alpha.c (direct_call_operand):
3215 (alpha_does_function_need_gp): Likewise.
3216 (alpha_expand_prologue): Likewise.
3217 * config/arm/arm.c (arm_expand_prologue): Likewise.
3218 thumb_expand_prologue: Likewise.
3219 * config/d30v/d30v.c (d30v_stack_info): Likewise.
3220 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
3221 (fr30_expand_prologue): Likewise.
3222 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
3223 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
3224 * config/i386/i386.h (FINALIZE_PIC): Likewise.
3225 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
3226 * config/i960/i960.c (i960_output_function_prologue): Likewise.
3227 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
3228 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
3229 (m32r_expand_prologue): Likewise.
3230 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
3231 (m88k_expand_prologue): Likewise.
3232 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
3233 * config/mips/mips.c (compute_frame_size): Likewise.
3234 (mips_expand_prologue): Likewise.
3235 (mips_can_use_return_insn): Likewise.
3236 * config/pa/elf.h (ASM_FILE_START): Likewise.
3237 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
3238 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
3239 * config/pa/som.h (ASM_FILE_START): Likewise.
3240 * config/romp/romp.c (romp_using_r14): Likewise.
3241 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
3242 (rs6000_stack_info): Likewise.
3243 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
3244 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
3245 * config/v850/v850.c (compute_register_save_size): Likewise.
3247 2002-01-03 Jakub Jelinek <jakub@redhat.com>
3249 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
3250 gen_lowpart_common fails, use gen_lowpart_SUBREG.
3252 2002-01-03 Turly O'Connor <turly@apple.com>
3254 * darwin.c (machopic_output_possible_stub_label): Don't generate
3255 stub routines for pseudo-stubs which we've just defined.
3257 2002-01-03 Kazu Hirata <kazu@hxi.com>
3259 * builtins.c: Fix formatting.
3260 * c-typeck.c: Likewise.
3261 * combine.c: Likewise.
3265 2002-01-03 Andreas Schwab <schwab@suse.de>
3267 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
3268 and return true if _cpp_push_next_buffer pushed a new include
3270 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
3271 _cpp_pop_file_buffer did not push a new file.
3272 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
3274 2002-01-02 Eric Christopher <echristo@redhat.com>
3276 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
3277 FIND_REG_INC_NOTE call. Update copyright.
3278 * loop.c (canonicalize_condition): Ditto.
3279 * reorg.c (delete_scheduled_jump): Ditto.
3281 2002-01-03 Kazu Hirata <kazu@hxi.com>
3283 * gcse.c: Fix formatting.
3285 2002-01-03 Graham Stott <grahams@redhat.com>
3287 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
3288 forward defs for struct tags rtx_def, union_tree, rtvec_def
3289 also output corresponding typedefs for rtx, tree, and rtvec.
3291 * system.h: Move forward defs for struct tags rtx_def, union_tree,
3292 rtvec_def along with corresponding typedefs for rtx, tree, and
3293 rtvec to config.h, hconfig.h, tconfig.h.
3295 2002-01-03 Graham Stott <grahams@redhat.com>
3297 * tree.h: Update copyright date.
3298 (IS_EXPR_CODE_CLASS): Add parenthesis.
3299 (TREE_SET_CODE): Add whitespace.
3300 (TREE_CHECK): Add parenthesis.
3301 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
3302 (CST_OR_CONSTRUCTOR_CHECK):
3303 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
3304 (TREE_SYMBOL_REFERENCED): Whitespace.
3305 (INT_CST_LT): Likewise.
3306 (INT_CST_LT_UNSIGNED): Likewise.
3307 (tree_real_cst): Unwrap comment.
3308 (tree_string): Likewise.
3309 (tree_complex): Likewise.
3310 (IDENTIFIER_POINTER): correct cast.
3311 (SAVE_EXPR_CONTEXT): Whitespace.
3312 (EXPR_WFL_FILENAME_NODE): Likewise.
3313 (EXPR_WFL_FILENAME): Remove parenthesis.
3314 (DECL_ORIGIN): Add parenthesis.
3315 (DECL_FROM_INLINE): Use NULL_TREE.
3316 (build_int_2): Whitespace.
3317 (build_type_variant): Add parenthesis.
3319 * gcc/jcf-parse.c: Update copyright date.
3320 (yyparse): Constify resource_filename.
3322 2002-01-03 Graham Stott <grahams@redhat.com>
3324 * rtl.h: Update copyright date.
3325 (RTL_CHECK1): Wrap long line.
3326 (RTL_CHECK2): Likewise.
3327 (RTL_CHECKC1): Wrap long line and whitespace.
3328 (RTL_CHECKC2): Likewise.
3329 (XWINT): Whitespace.
3335 (XBITMAP): Likewise.
3346 (X0BITMAP): Likewise.
3348 (X0BBDEF): Likewise.
3349 (X0ADVFLAGS): Likewise.
3350 (X0CSELIB): Likewise.
3351 (X0MEMATTR): Likewise.
3359 (XCBITMAP): Likewise.
3361 (XCBBDEF): Likewise.
3362 (XCADVFLAGS): Likewise.
3363 (XCCSELIB): Likewise.
3365 (INSN_UID): Likewise.
3366 (PREV_INSN): Likewise.
3367 (PATTERN): Likewise.
3368 (INSN_CODE): Likewise.
3369 (PUT_REG_NOTE_KIND): Likewise.
3370 (CODE_LABEL_NUMBER): Likewise.
3371 (NOTE_SOURCE_FILE): Likewise.
3372 (NOTE_BLOCK): Likewise.
3373 (NOTE_EH_HANDLER): Likewise.
3374 (NOTE_RANGE_INFO): Likewise.
3375 (NOTE_LIVE_INFO): Likewise.
3376 (NOTE_BASIC_BLOCK): Likewise.
3377 (NOTE_EXPECTED_VALUE): Likewise.
3378 (NOTE_LINE_NUMBER): Likewise.
3379 (LABEL_NAME): Likewise.
3380 (LABEL_NUSES): Likewise.
3381 (LABEL_ALTERNATE_NAME): Likewise.
3382 (ADDRESSOF_DECL): Likewise.
3383 (JUMP_LABEL): Likewise.
3384 (LABEL_NEXTREF): Likewise.
3386 (ORIGINAL_REGNO: Likewise.
3387 (HARD_REGISTER_NUM_P): Add parenthesis.
3388 (SUBREG_REG): Whitespace.
3389 (SUBREG_BYTE): Likewise.
3390 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
3391 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
3392 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
3393 (ASM_OPERANDS_INPUT_VEC): Likewise.
3394 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
3395 (ASM_OPERANDS_INPUT): Likewise.
3396 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
3397 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
3398 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
3399 (ASM_OPERANDS_INPUT_MODE): Likewise.
3400 (ASM_OPERANDS_SOURCE_FILE): Likewise.
3401 (ASM_OPERANDS_SOURCE_LINE): Likewise.
3402 (MEM_SET_IN_STRUCT_P): Minor reformat.
3403 (TRAP_CONDITION): Whitespace.
3404 (TRAP_CODE): Likewise.
3405 (COND_EXEC_TEST): Likewise.
3406 (COND_EXEC_CODE): Likewise.
3407 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
3408 (PHI_NODE_P): Add parenthesis.
3409 (plus_constant): Whitespace and add parenthesis.
3411 2002-01-03 Kazu Hirata <kazu@hxi.com>
3413 * config/avr/avr.c: Fix comment typos.
3414 * config/c4x/c4x.md: Likewise.
3415 * config/dsp16xx/dsp16xx.h: Likewise.
3416 * config/dsp16xx/dsp16xx.md: Likewise.
3417 * config/i386/i386.md: Likewise.
3418 * config/ia64/ia64.c: Likewise.
3419 * config/m32r/m32r.h: Likewise.
3420 * config/m68hc11/m68hc11.md: Likewise.
3421 * config/mmix/mmix.c: Likewise.
3422 * config/mn10200/mn10200.c: Likewise.
3423 * config/romp/romp.c: Likewise.
3424 * config/sh/sh.c: Likewise.
3425 * config/stormy16/stormy16.c: Likewise.
3426 * config/stormy16/stormy16.h: Likewise.
3427 * config/stormy16/stormy16.md: Likewise.
3429 2002-01-03 Graham Stott <grahams@redhat.com>
3431 * loop.h: Update copyright date.
3432 (LOOP_MOVABLES): Fix typo.
3433 (LOOP_REGS): Likewise.
3434 (LOOP_IVS): Likewise.
3436 2002-01-03 Graham Stott <grahams@redhat.com>
3438 * cppinit.c: Update copyright date.
3439 Don't include output.h
3440 * Makefile.in: Update copyright date.
3443 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
3446 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
3447 (-pthread) Add to RS/6000 options.
3449 2002-01-02 Kazu Hirata <kazu@hxi.com>
3451 * except.c: Fix comment typos.
3453 * varasm.c: Likewise.
3454 * doc/tm.texi: Fix a typo.
3456 2002-01-02 Jakub Jelinek <jakub@redhat.com>
3458 * c-typeck.c (output_init_element): Allow initializing static storage
3459 duration objects with compound literals.
3461 2002-01-02 Richard Henderson <rth@redhat.com>
3463 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
3466 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3468 * gcc.c (default_compilers): Const-ify.
3469 * mips-tdump.c (stab_names): Likewise.
3470 * mips-tfile.c (map_coff_types, map_coff_storage,
3471 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
3472 pseudo_ops_t, pseudo_ops): Likewise.
3473 * protoize.c (default_include): Likewise
3475 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
3476 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
3477 Add array size in declaration.
3478 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
3479 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
3480 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
3481 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
3482 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
3483 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
3484 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
3485 emtens, make_nan): Const-ify.
3486 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
3487 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
3489 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
3491 * config.gcc (ia64-*-*): Set extra_headers.
3492 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
3493 * config/alpha/t-osf: Remove.
3494 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
3496 2002-01-02 David Edelsohn <edelsohn@gnu.org>
3498 * config/rs6000/t-aix43: Revert previous change.
3500 2002-01-02 Jason Merrill <jason@redhat.com>
3502 * c-decl.c (c_expand_body): Call outlining_inline_function when
3503 emitting an inline function out of line.
3505 2002-01-02 Richard Henderson <rth@redhat.com>
3507 * dwarf2out.c (limbo_die_node): Add created_for member.
3508 (new_die): New argument created_for. Update all callers.
3509 (mark_limbo_die_list): New.
3510 (dwarf2out_init): Register limbo_die_list as a root.
3511 (dwarf2out_finish): Force insert limbo dies into their function
3514 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
3517 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
3519 2002-01-02 Kazu Hirata <kazu@hxi.com>
3521 * config/h8300/fixunssfsi.c: Update copyright.
3524 * config/h8300/h8300.c: Update copyright.
3527 2002-01-02 Kazu Hirata <kazu@hxi.com>
3529 * config/romp/romp.c: Fix comment formatting.
3530 * config/romp/romp.h: Likewise.
3531 * config/romp/romp.md: Likewise.
3532 * config/s390/s390.c: Likewise.
3533 * config/stormy16/stormy16.c: Likewise.
3534 * config/stormy16/stormy16.h: Likewise.
3536 2002-01-02 Alexandre Oliva <aoliva@redhat.com>