1 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
3 * config/mips/mips.md (define_delay) [mips16]: Adjust required
6 2002-02-06 Richard Henderson <rth@redhat.com>
9 * stmt.c (resolve_operand_name_1): Take more care with mixed
10 named and unnamed operands.
12 2002-02-06 Janis Johnson <janis187@us.ibm.com>
13 Jan Hubicka <jh@suse.cz>
15 * loop.c (remove_constant_addition): Avoid clobbering a shared
18 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
20 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
21 * config/s390/t-linux64: New file.
22 * config/s390/libgcc-glibc.ver: New file.
24 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
26 * config/s390/linux64.h: Delete file.
27 * config/s390/s390x.h: New file.
28 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
29 as target header file.
30 * config/s390/linux.h (TARGET_VERSION): Define depending on
32 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
33 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
34 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
35 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
36 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
37 (EXTRA_SPEC): New define.
38 * config/s390/s390.h (TARGET_VERSION): Define depending on
40 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
42 2002-02-06 Jason Merrill <jason@redhat.com>
44 * c-decl.c (finish_function): Warn about a non-void function with
45 no return statement and no abnormal exit.
46 (current_function_returns_abnormally): New variable.
47 (start_function): Clear it.
48 (struct c_language_function): Add returns_abnormally.
49 (push_c_function_context): Save it.
50 (pop_c_function_context): Restore it.
51 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
52 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
53 an explicit return type.
54 * c-tree.h: Declare current_function_returns_abnormally.
55 (C_FUNCTION_IMPLICIT_INT): New macro.
56 * c-typeck.c (build_function_call): Set it.
57 (c_expand_return): Set current_function_returns_value even if the
60 2002-02-06 Jakub Jelinek <jakub@redhat.com>
63 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
64 unsafe for reevaluation.
66 2002-02-06 Jakub Jelinek <jakub@redhat.com>
69 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
70 EXPR_STMT, but COMPOUND_STMT, recurse into it.
72 2002-02-06 Richard Henderson <rth@redhat.com>
74 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
75 be a general_operand. Dest for function value must be a pseudo.
77 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
79 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
80 as SYMBOL_REFs from the constant pool.
82 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
84 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
85 passed by invisible reference.
87 2002-02-05 Richard Henderson <rth@redhat.com>
89 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
91 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
93 Implement using "base addresses" in insn operands as default.
94 * config/mmix/mmix.c (mmix_conditional_register_usage): if
95 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
96 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
97 used to read the rtx value.
98 (mmix_target_asm_function_epilogue): Fix spacing.
99 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
100 (mmix_legitimate_address): Ditto.
101 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
102 should be loaded with a GETA insn. Don't allocate needless extra
103 char for nul termination and fix misleading comment.
104 (mmix_print_operand_address): Handle constants if
105 TARGET_BASE_ADDRESSES.
106 (mmix_output_register_setting): Use base addressing if
107 TARGET_BASE_ADDRESSES and the number of insns is 3.
108 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
109 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
110 to use R as constraint, add LDA to match s.
111 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
112 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
113 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
114 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
115 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
116 order with other fixed registers.
117 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
118 other parameter/call-clobbered registers.
119 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
120 -mbase-addresses, -mno-base-addresses.
121 (MMIX Options): Ditto.
123 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
125 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
127 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
129 * config/rs6000/altivec.h: Change elem to _S_elem.
131 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
133 * config/netbsd.h (WCHAR_TYPE): Define.
134 (WCHAR_TYPE_SIZE): Ditto.
136 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
137 (WCHAR_UNSIGNED): Ditto.
138 (WCHAR_TYPE_SIZE): Ditto.
140 * config/arm/netbsd.h: Likewise.
141 * config/i386/netbsd-elf.h: Likewise.
142 * config/i386/netbsd.h: Likewise.
143 * config/m68k/netbsd-elf.h: Likewise.
144 * config/m68k/netbsd.h: Likewise.
145 * config/ns32k/netbsd.h: Likewise.
146 * config/sparc/netbsd.h: Likewise.
147 * config/vax/netbsd.: Likewise.
149 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
151 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
152 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
153 (TARGET_INITIALIZER): this.
154 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
155 (BITFIELD_NBYTES_LIMITED): Markup fix.
156 * tree.h (default_ms_bitfield_layout_p): Declare.
157 (record_layout_info): Added prev_field.
158 * tree.c (default_ms_bitfield_layout_p): New fn.
159 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
160 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
161 * stor-layout.c: Include target.h.
162 (start_record_layout): Initialize prev_field.
163 (place_field): Handle MS bit-field layout, and disregard
164 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
165 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
166 * Makefile.in (stor-layout.o): Adjust dependencies.
168 2002-02-05 Jason Merrill <jason@redhat.com>
170 * c-typeck.c (convert_for_assignment): Don't allow conversions
171 between pointers and references. Only allow lvalues to convert to
174 * c-decl.c (finish_function): Warn about a non-void function with
175 no return statement and no abnormal exit.
176 (current_function_returns_abnormally): New variable.
177 (start_function): Clear it.
178 (struct c_language_function): Add returns_abnormally.
179 (push_c_function_context): Save it.
180 (pop_c_function_context): Restore it.
181 * c-tree.h: Declare current_function_returns_abnormally.
182 * c-typeck.c (build_function_call): Set it.
184 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
186 2002-02-05 Andreas Jaeger <aj@suse.de>
188 * crtstuff.c: Fix comments.
190 2002-02-05 Richard Henderson <rth@redhat.com>
193 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
194 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
197 * config/mips/mips.c (function_arg): Handle TImode.
198 (function_arg_advance): Likewise.
200 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
202 * config/rs6000/altivec.h (vec_step_help): Rename to
205 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
207 * config/rs6000/altivec.h: Fix typos.
209 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
211 * config/arm/netbsd.h: Correct a comment.
213 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
215 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
216 building void typed builtins.
218 * config/rs6000/altivec.h (vec_ld*): Fix typos.
219 (vec_step): Implement for C++.
221 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
223 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
225 2002-02-04 Richard Henderson <rth@redhat.com>
227 * combine.c (nonzero_bits): Re-introduce special case for
228 sp/fp/ap wrt REGNO_POINTER_ALIGN.
230 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
232 * doc/extend.texi: Warn about unsupported usage of altivec
235 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
236 (altivec_predicate_*): New.
238 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
239 Add C++ version of vec_*() functions.
241 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
242 (bdesc_2arg): Remove altivec predicates.
243 (altivec_expand_builtin): Handle predicates.
244 (altivec_init_builtins): Handle predicates.
245 (altivec_expand_predicate_builtin): New.
247 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
249 * pa.c (DO_FRAME_NOTES): Move forward.
250 (store_reg): Revise handling of frame notes.
251 (load_reg): Likewise.
252 (set_reg_plus_d): Likewise.
253 (hppa_expand_prologue): Likewise.
254 (hppa_expand_epilogue): Likewise.
256 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
258 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
260 2002-02-04 Jakub Jelinek <jakub@redhat.com>
263 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
264 * c-common.h (SWITCH_TYPE): Define.
265 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
266 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
267 Rename spareness variable to sparseness.
268 (expand_end_case_type): Renamed from expand_end_case, use orig_type
269 if non-NULL instead of TREE_TYPE (orig_index).
270 * tree.h (expand_end_case_type): Renamed from expand_end_case.
271 (expand_end_case): Define using expand_end_case_type.
272 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
273 to expand_end_case_type.
274 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
276 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
278 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
279 (BIGGEST_ALIGNMENT): Change to 128.
281 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
283 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
285 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
287 * pa.md (call_internal_reg_64bit): Remove unused variable.
289 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
291 * config/arm/arm.h (machine_function): Add uses_anonymous_args
293 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
294 * config/arm/arm.c (current_function_anonymous_args): Delete,
295 replace uses with cfun->machine->uses_anonymous_args.
296 (arm_reorg): Do not reset uses_anonymous_args.
298 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
299 any geenral register.
301 2001-02-04 Bernd Schmidt <bernds@redhat.com>
303 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
306 2002-02-04 Richard Henderson <rth@redhat.com>
308 * combine.c (force_to_mode): Remove STACK_BIAS code.
309 (nonzero_bits): Likewise. Replace sp/fp special case with
312 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
313 (HARD_FRAME_POINTER_REGNUM): New.
314 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
315 (FIXED_REGS, CALL_USED_REGS): Update.
316 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
317 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
318 (HARD_REGNO_NREGS): Update for SFP.
319 (STACK_POINTER_OFFSET): Include bias here ...
320 (FIRST_PARM_OFFSET): ... not here.
321 (STACK_BIAS): Remove.
322 (INIT_EXPANDERS): New.
323 (STARTING_FRAME_OFFSET): Do not include bias.
324 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
325 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
326 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
327 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
328 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
329 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
330 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
331 (MUST_SAVE_REGISTER): Likewise.
332 (sparc_flat_function_prologue): Likewise.
333 (sparc_flat_function_epilogue): Likewise.
334 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
335 (sparc_init_modes): SFP is GENERAL_REGS.
336 (sparc_builtin_saveregs): SFP does not have bias applied.
338 2002-02-04 Richard Henderson <rth@redhat.com>
340 * config/alpha/alpha.c (current_function_is_thunk): Don't check
341 current_function_is_thunk.
342 (alpha_sa_mask): Distinguish between current_function_is_thunk
343 called from ASM_OUTPUT_MI_THUNK and not.
344 (alpha_does_function_need_gp): Thunks always need gp.
345 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
346 (alpha_output_mi_thunk_osf): New.
347 * config/alpha/alpha-protos.h: Update.
348 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
350 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
352 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
353 function types, not when they're taken away.
355 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
357 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
358 CODE_LABEL and jump table when replacing a table jump with a
361 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
363 * config/s390/s390-protos.h (legitimize_la_operand,
364 s390_secondary_input_reload_class, s390_plus_operand,
365 s390_expand_plus_operand): Add prototypes.
367 config/s390/s390.c (s390_secondary_input_reload_class,
368 s390_plus_operand, s390_expand_plus_operand): New functions.
370 (struct s390_address): New member 'pointer'.
371 (s390_decompose_address): Compute it.
372 (legitimate_la_operand_p): Use it.
373 (legitimize_la_operand): New function.
374 (movti, movdi, movdf splitters): Call it.
376 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
377 (PREDICATE_CODES): Add s390_plus_operand.
379 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
380 (la_ccclobber): Allow GENERAL_REGS as output operand.
382 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
383 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
384 (*la_64, *la_31, reload_indi, reload_insi): ... these.
386 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
388 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
389 register names for regular asm () construct.
391 2002-02-04 Jakub Jelinek <jakub@redhat.com>
393 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
396 2002-02-04 Jakub Jelinek <jakub@redhat.com>
398 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
401 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
403 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
404 constant pool to be identical by string address and index.
406 2002-02-04 Anthony Green <green@redhat.com>
408 * output.h (SECTION_OVERRIDE): Define.
409 * varasm.c (named_section): Obey SECTION_OVERRIDE.
411 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
413 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
414 by existing arm*-*-netbsd* (a.out) target.
415 (ns32k-*-netbsdelf*): Likewise.
416 (sparc-*-netbsdelf*): Likewise.
417 (vax-*-netbsdelf*): Likewise.
419 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
421 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
422 headers and libobjc headers.
424 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
426 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
427 (_mingw.h): Remove duplicate include.
429 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
431 * config.gcc: Set cpu_type to m68k for 68010, as well.
432 (m68010-*-netbsdelf*): New...
433 (m68k*-*-netbsdelf*): ...targets.
434 * config/m68k/netbsd-elf.h: New file.
436 2002-02-02 Kazu Hirata <kazu@hxi.com>
438 * config/h8300/h8300.c (hand_list): Move inside function_arg.
440 2002-02-02 Kazu Hirata <kazu@hxi.com>
442 * config/h8300/h8300.c (h8_push_ops): Move inside
444 (h8_pop_ops): Likewise.
445 (h8_move_ops): Likewise.
447 2002-02-02 Kazu Hirata <kazu@hxi.com>
449 * config/h8300/h8300.c (os_task): Make it static.
451 (pragma_saveall): Likewise.
453 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
455 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
456 constant is a valid sign-extension for Pmode.
458 2002-02-02 Kazu Hirata <kazu@hxi.com>
460 * config/h8300/h8300.c: Fix formatting.
462 2002-02-02 Kazu Hirata <kazu@hxi.com>
464 * config/h8300/h8300.md: Fix formatting.
466 2002-02-02 Kazu Hirata <kazu@hxi.com>
468 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
469 predicates of operands[1]. Split the patterns for each
472 2002-02-02 Kazu Hirata <kazu@hxi.com>
474 * config/h8300/h8300.md (xor patterns): Tighten the predicates
475 of operands[1] to register_operand.
477 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
479 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
480 * cpphash.c (_cpp_init_hashtable): Similarly.
481 * cppinit.c (cpp_create_reader): Default the signed_char flag.
482 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
483 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
484 (cpp_handle_option): Handle the new options.
485 * cpplex.c (cpp_interpret_charconst): Use new flag.
486 * cpplib.h (struct cpp_options): New member signed_char.
487 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
488 (cpp_options): Handle -fsigned-char and -funsigned-char.
489 (static_specs): Remove signed_char_spec.
490 (do_spec1): Don't handle %c.
491 * system.h: Poison SIGNED_CHAR_SPEC.
492 * tradcif.y (yylex): Use flag_signed_char.
493 * tradcpp.h (flag_signed_char): New.
494 * tradcpp.c (flag_signed_char): New.
495 (main): Handle new command-line options.
496 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
498 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
499 * avr/avr.h: Remove old comments.
500 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
501 (CC1_SPEC): Pass -fsigned-char if -mic*.
502 (SIGNED_CHAR_SPEC): Remove.
504 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
506 2002-02-01 Eric Christopher <echristo@redhat.com>
508 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
509 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
510 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
511 (ASM_OUTPUT_REG_POP): Ditto.
513 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
515 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
518 2002-02-02 Jakub Jelinek <jakub@redhat.com>
520 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
522 2002-02-02 Jakub Jelinek <jakub@redhat.com>
525 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
528 2002-02-01 Janis Johnson <janis187@us.ibm.com>
530 * cfganal.c: Include tm_p.h.
531 (keep_with_call_p): Fix the test that determines if a register holds
532 the return value of a call.
534 2002-02-01 DJ Delorie <dj@redhat.com>
536 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
537 we are given conflicting registers, switch to the other one we
538 had allocated for us.
539 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
540 as TImode so we know when the "other" register is available.
542 2002-02-01 David O'Brien <obrien@FreeBSD.org>
544 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
547 2002-02-01 Janis Johnson <janis187@us.ibm.com>
549 * cfganal.c (keep_with_call_p): New function.
550 (flow_call_edges_add): Prevent splitting a block between a call and
551 a single-set instruction that should be kept in the same block.
553 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
555 * doc/install.texi (avr): Update outdated URL.
557 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
559 * config/stormy16/stormy16.md (pushqi): New.
563 (movhi): Remove stack operands.
565 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
566 nonimmediate_nonstack_operand.
567 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
569 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
572 2002-01-31 Jason Merrill <jason@redhat.com>
574 * Makefile.in (c-parse.c): Handle .output file.
575 * objc/Make-lang.in (objc-parse.c): Likewise.
577 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
579 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
580 the -me[lb] option is given. Don't output the default flag
583 2002-01-31 Zack Weinberg <zack@codesourcery.com>
585 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
586 the primary source file; this has not been done yet.
587 * c-decl.c (c_expand_body): Reset input_filename from
588 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
590 2002-01-31 Kazu Hirata <kazu@hxi.com>
592 * rtlanal.c (subreg_regno_offset): Do not use
594 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
595 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
597 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
599 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
600 version rather than GNATS version in --version output.
602 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
604 * ifcvt.c (noce_process_if_block): Make a copy of the destination
605 when copying back from a temporary.
607 2002-01-30 Richard Henderson <rth@redhat.com>
609 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
610 and new_dest are the same.
612 2002-01-30 Richard Henderson <rth@redhat.com>
615 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
616 * rtl.c (note_insn_name): Update.
617 * emit-rtl.c (remove_unnecessary_notes): Kill it.
618 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
619 to perform loop rotation.
620 (expand_exit_loop_top_cond): New.
621 * tree.h (expand_exit_loop_top_cond): Declare it.
622 * c-semantics.c (genrtl_while_stmt): Use it.
623 (genrtl_for_stmt): Likewise.
625 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
627 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
628 arguments to 64-bit boundaries on 64-bit ABIs.
630 2002-01-30 Steve Ellcey <sje@cup.hp.com>
632 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
634 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
636 * c-decl.c (grokdeclarator): Handle type being a typedef for an
639 2002-01-30 David O'Brien <obrien@FreeBSD.org>
641 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
642 * config/sparc/sparc_bi.h: Remove file.
643 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
645 2002-01-30 Richard Henderson <rth@redhat.com>
647 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
649 2002-01-30 Zack Weinberg <zack@codesourcery.com>
651 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
653 2002-01-30 Jason Merrill <jason@redhat.com>
655 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
656 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
657 (reg_save): Use DW_CFA_offset_extended_sf instead.
659 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
661 2002-01-29 Jakub Jelinek <jakub@redhat.com>
663 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
666 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
668 * rs6000.md ("*call_value_local32"): Remove constraints.
669 ("*call_value_local64"): Same.
670 ("*call_value_indirect_nonlocal_aix32"): Same.
671 ("*call_value_nonlocal_aix32"): Same.
672 ("*call_value_indirect_nonlocal_aix64"): Same.
673 ("*call_value_nonlocal_aix64"): Same.
674 ("*call_value_nonlocal_sysv"): Same.
676 2002-01-29 Richard Henderson <rth@redhat.com>
678 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
680 2002-01-29 Richard Henderson <rth@redhat.com>
682 * expr.c (force_operand): Ignore flag_pic for detecting pic
684 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
685 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
686 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
687 instead of open-coded loop.
688 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
689 be fixed when in use.
691 2002-01-29 Richard Henderson <rth@redhat.com>
693 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
694 * sched-rgn.c (propagate_deps): Update them.
695 * sched-deps.c (sched_analyze_insn): Update them. Flush the
696 clobbers list when either gets too long.
698 2002-01-29 Jakub Jelinek <jakub@redhat.com>
700 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
701 and INDEX_REGS the same as GENERAL_REGS.
702 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
704 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
706 * tree.c (build_nonstandard_integer_type): Correct prototype.
708 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
710 * config/s390/s390.md (movstrsico, movstrdix_64,
711 movstrsix_31): Remove, replace by ...
712 (movstrdi_short, movstrsi_short, movstrdi_long,
713 movstrsi_long): ... these. New.
714 (movstrdi, movstrsi): Adapt.
716 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
717 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
718 Remove unnecessary CC clobber.
719 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
720 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
722 (divmoddi4): Don't partially initialize TImode register.
724 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
726 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
728 2002-01-29 Richard Henderson <rth@redhat.com>
730 * flow.c (print_rtl_and_abort): Remove.
731 (print_rtl_and_abort_fcn): Remove.
732 (verify_local_live_at_start): Use dump_bb instead.
733 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
734 (verify_wide_reg_1): Return 2 on mode test failure.
736 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
738 PR c/3325, c/3326, c/2511, c/3347
739 * c-decl.c (enum_decl_context): Remove BITFIELD.
740 (grokdeclarator): Take bitfield width as an input.
741 Ensure bitfields are given the correct type. Perform
742 bitfield width validation with build_bitfield_integer_type
743 rather than waiting for finish_struct.
744 (grok_typename, grok_typename_in_parm_context, start_decl,
745 push_parmdecl, grokfield, start_function): Update calls to
747 (build_bitfield_integer_type): New function.
748 (finish_struct): Move bitfield validation to grokdeclarator
749 and build_bitfield_integer_type.
750 * tree.c (build_nonstandard_integer_type): New function.
751 * tree.h (build_nonstandard_integer_type): New prototype.
753 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
755 2002-01-29 Jakub Jelinek <jakub@redhat.com>
758 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
759 don't ignore unrecognized -W* options.
760 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
761 * cpplib.h (cpp_handle_option): Adjust prototype.
762 * c-decl.c (c_decode_options): Pass 0 as last argument to
766 * gcc.c (cpp_unique_options): Split from cpp_options.
767 (cpp_options): Source cpp_unique_options.
768 (default_compilers): Use cpp_unique_options instead of cpp_options
769 when used together with cc1_options.
770 (static_specs): Add cpp_unique_options.
771 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
772 when used together with cc1_options.
774 2002-01-29 Kazu Hirata <kazu@hxi.com>
776 * config/h8300/h8300-protos.h: Update the prototype of
778 * config/h8300/h8300.c (output_a_shift): Remove an unused
779 argument 'insn'. Remove redundant code.
780 * config/h8300/h8300.md: Adust to the new prototype of
783 2002-01-29 Kazu Hirata <kazu@hxi.com>
785 * config/h8300/h8300-protos.h: Update the prototypes of
786 emit_a_rotate and expand_a_rotate.
787 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
788 first argument to 'enum rtx_code'.
789 (expand_a_rotate): Likewise.
791 2002-01-28 Kazu Hirata <kazu@hxi.com>
793 * config/h8300/h8300-protos.h: Update the prototype of
795 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
797 * config/h8300/h8300.md: Adjust to the new prototype.
799 2002-01-28 Kazu Hirata <kazu@hxi.com>
801 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
804 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
806 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
807 is a fixed register before returning pic_offset_table_rtx.
808 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
809 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
811 2002-01-28 Jason Merrill <jason@redhat.com>
813 * dwarf2.h: Sync with src version.
815 2002-01-28 Paul Koning <pkoning@equallogic.com>
817 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
819 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
820 * doc/extend.texi (__builtin_prefetch): Update documentation:
821 first argument is now const void ptr.
823 2002-01-28 Kazu Hirata <kazu@hxi.com>
825 * config/h8300/h8300-protos.h: Remove an unused prototype.
827 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
829 * toplev.c (lang_independent_init): Round up identifier size.
831 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
833 * config.gcc: Revert previous change.
835 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
837 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
839 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
841 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
842 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
843 other non-elf netbsd config frags.
844 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
845 collect2 will does that.
846 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
847 shared-lib frobbing will work.
849 2002-01-28 Kazu Hirata <kazu@hxi.com>
851 * config/h8300/h8300.h: Fix formatting.
852 * config/h8300/h8300.md: Likewise.
854 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
856 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
857 the old, removed AAA_standards fix.
858 * fixinc/fixincl.x: Rebuilt.
860 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
862 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
863 atexit call in crtbegin, hooked in after call to frame_dummy;
864 register EH before registering __fini__start.
866 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
868 * config/rs6000/altivec.h: Remove spurious semicolons.
870 2002-01-27 Kazu Hirata <kazu@hxi.com>
872 * config/h8300/h8300.md: Replace dead bit extraction patterns
875 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
877 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
878 if not STRICT_ALIGNMENT.
879 * rtl.h (MEM_ALIGN): Likewise.
881 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
883 * doc/invoke.texi (-fdump-translation-unit): Revert this
884 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
886 2002-01-27 Kazu Hirata <kazu@hxi.com>
888 * config/h8300/h8300.md (define_constants): New.
889 (anonymous patterns) Use defined constants appropriately.
891 2002-01-27 Kazu Hirata <kazu@hxi.com>
893 * config/h8300/h8300.c (function_arg): Remove redundant code.
895 2002-01-26 Richard Henderson <rth@redhat.com>
897 * sched-deps.c (reg_pending_uses_head): New.
898 (reg_pending_barrier): Rename from reg_pending_sets_all.
899 (find_insn_list): Don't mark inline.
900 (find_insn_mem_list): Remove.
901 (add_dependence_list, add_dependence_list_and_free): New.
902 (flush_pending_lists): Replace only_write param with separate
903 for_read and for_write parameters. Update all callers. Use
904 add_dependence_list_and_free.
905 (sched_analyze_1): Do not add reg dependencies here; just set
906 the pending bits. Use add_dependence_list.
907 (sched_analyze_2): Likewise.
908 (sched_analyze_insn): Replace schedule_barrier_found with
909 reg_pending_barrier. Add all dependencies for pending reg
910 uses, sets, and clobbers.
911 (sched_analyze): Don't add reg dependencies for calls, just
912 set pending bits. Use regs_invalidated_by_call. Treat
913 sched_before_next_call as a normal list, not a fake insn.
914 (init_deps): No funny init for sched_before_next_call.
915 (free_deps): Free pending mems lists. Don't zero reg_last.
916 (init_deps_global): Init reg_pending_uses.
917 (finish_deps_global): Free it.
918 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
919 (find_insn_mem_list): Remove.
920 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
921 (propagate_deps): Use them. Zero temp mem lists.
923 2002-01-26 Richard Henderson <rth@redhat.com>
925 * Makefile.in (CRTSTUFF_CFLAGS): New.
926 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
927 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
928 crtstuff.c instead of alpha assembly version.
929 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
930 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
931 not FORCE_{INIT,FINI}_SECTION_ALIGN.
932 (__do_global_dtors_aux): Mark used.
933 (frame_dummy, __do_global_ctors_aux): Mark used.
934 (fini_dummy, init_dummy): Remove.
936 * config/alpha/crtbegin.asm: Remove file.
937 * config/alpha/crtend.asm: Remove file.
938 * config/alpha/t-crtbe: Remove file.
939 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
942 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
943 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
944 calling constructors.
945 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
947 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
948 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
949 CRT_END_INIT_DUMMY hack.
950 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
951 FORCE_{INIT,FINI}_SECTION_ALIGN.
953 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
954 FORCE_{INIT,FINI}_SECTION_ALIGN.
956 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
958 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
960 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
961 (FORCE_CODE_SECTION_ALIGN): New.
963 2002-01-26 Richard Henderson <rth@redhat.com>
965 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
967 2002-01-26 Richard Henderson <rth@redhat.com>
969 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
970 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
972 2002-01-26 Kazu Hirata <kazu@hxi.com>
974 * config/h8300/h8300.md: Remove bit extraction patterns that
976 Restrict each bit extraction pattern to a variant on which the
979 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
981 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
983 2002-01-26 Kazu Hirata <kazu@hxi.com>
985 * config/h8300/h8300.md: Remove bit test patterns that cannot
987 Restrict each bit test pattern to a variant on which the
990 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
992 * builtins.c (expand_builtin_strncat): Remove redundant check for
995 2002-01-25 David O'Brien <obrien@FreeBSD.org>
997 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
999 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
1002 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
1004 * dbxout.c (dbxout_init): Use assemble_name rather than just
1005 stripping off the first character.
1006 (dbxout_source_file): Likewise.
1008 2002-01-25 DJ Delorie <dj@redhat.com>
1010 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
1011 using rtx_equal_p, not by comparing pointers.
1013 2002-01-25 Steve Ellcey <sje@cup.hp.com>
1015 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
1016 for PIC_OFFSET_TABLE_REGNUM.
1017 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
1019 2002-01-25 David O'Brien <obrien@FreeBSD.org>
1021 * config.gcc (x86_64-*-freebsd*): New target.
1022 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
1024 (i[34567]86-*-freebsd*): Don't include svr4.h.
1025 * config/i386/freebsd64.h: New file.
1027 2002-01-25 Douglas B Rupp <rupp@gnat.com>
1029 * config/alpha/x-vms (version): Make static.
1031 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
1032 in previous checkin.
1034 * Makefile.in (install-headers-cp): New target.
1035 * config.gcc (alpha-dec-*vms*): Install headers with
1038 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
1040 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
1043 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1045 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
1046 of compare_tree_int.
1047 (expand_builtin_strncat): Likewise.
1048 * c-decl.c (finish_struct): Use tree_low_cst.
1049 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
1050 * tree.c (compare_tree_int): Likewise.
1052 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
1054 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
1055 adjustments even if they are implemented by more than two insns.
1057 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
1059 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
1060 * df.h (struct ref): Kill B.
1061 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
1063 * basic-block.h (PROP_EQUAL_NOTES): New flag.
1064 * flow.c (propagate_one_insn): Use it.
1065 (mark_used_regs): Handle NIL.
1067 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
1069 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
1072 2002-01-25 David Edelsohn <edelsohn@gnu.org>
1074 * rs6000.md (prefetch): Make address V4SI mode so that the address
1075 is restricted to legitimate form for instruction.
1077 2002-01-25 Bob Wilson <bob.wilson@acm.org>
1079 * doc/install.texi (xtensa-*-elf): New target.
1080 (xtensa-*-linux*): New target.
1081 * doc/contrib.texi: Add myself.
1083 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1085 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
1086 purpose register to hold an SImode (or smaller) value.
1088 2002-01-25 Jakub Jelinek <jakub@redhat.com>
1090 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
1092 * crtstuff.c: Likewise.
1094 2002-01-25 Kazu Hirata <kazu@hxi.com>
1096 * config/h8300/h8300.md (negation patterns): Tighten
1097 predicates to register_operand.
1099 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
1101 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
1104 * builtins.c (expand_builtin_prefetch): Same.
1106 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1108 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
1111 2002-01-24 Kazu Hirata <kazu@hxi.com>
1113 * config/h8300/h8300.c (print_operand): Remove support for
1114 operand character 'A'.
1115 * config/h8300/h8300.md (three anonymous patterns): Replace
1116 operand character 'A' with either 'T' or 'S'.
1118 2002-01-24 Kazu Hirata <kazu@hxi.com>
1120 * config/h8300/h8300.c (print_operand): Remove support for
1121 operand character 'U'.
1123 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
1125 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
1127 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
1129 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
1130 values to be assigned to the stack pointer.
1132 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1134 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
1135 to const_double needs to be done right for big-endian systems.
1137 2002-01-24 Jason Merrill <jason@redhat.com>
1140 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
1141 to can_throw_internal.
1143 2002-01-23 Richard Henderson <rth@redhat.com>
1145 * fold-const.c (fold): Change UINT_MAX test to check vs precision
1146 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
1148 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1150 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
1151 (symGOT2reg): Use them, then set as GOT value as unchanging.
1152 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
1153 as a temporary, if possible.
1154 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
1155 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
1157 2002-01-23 Kazu Hirata <kazu@hxi.com>
1159 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
1160 accept to accept 0x80 as operands[2].
1162 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1164 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
1166 2002-01-23 Richard Henderson <rth@redhat.com>
1168 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
1170 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
1172 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
1173 (parmlist_or_identifiers_1): Verify that only a parmlist follows
1176 2002-01-23 Richard Henderson <rth@redhat.com>
1178 * expr.c (move_by_pieces_1): Extend size before negation.
1180 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
1181 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
1182 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
1183 * config/m68k/t-m68kelf: Likewise.
1185 2002-01-23 Bob Wilson <bob.wilson@acm.org>
1187 * config/xtensa/elf.h: New file.
1188 * config/xtensa/lib1funcs.asm: New file.
1189 * config/xtensa/lib2funcs.S: New file.
1190 * config/xtensa/linux.h: New file.
1191 * config/xtensa/t-xtensa: New file.
1192 * config/xtensa/xtensa-config.h: New file.
1193 * config/xtensa/xtensa-protos.h: New file.
1194 * config/xtensa/xtensa.c: New file.
1195 * config/xtensa/xtensa.h: New file.
1196 * config/xtensa/xtensa.md: New file.
1197 * config.gcc (xtensa-*-elf*): New target.
1198 (xtensa-*-linux*): New target.
1199 * cse.c (canon_hash): Compare rtx pointers instead of register
1200 numbers. This is required for the Xtensa port.
1201 * integrate.c (copy_insn_list): Handle case where the static
1202 chain is in memory and the memory address has to be copied to
1204 * doc/invoke.texi (Option Summary): Add Xtensa options.
1205 (Xtensa Options): New node.
1206 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
1208 2002-01-23 Zack Weinberg <zack@codesourcery.com>
1210 * diagnostic.c (internal_error): Do ICE suppression only
1211 when ENABLE_CHECKING is not defined.
1213 * c-typeck.c (require_complete_type): Return error_mark_node
1214 if type is error_mark_node.
1216 2002-01-23 Janis Johnson <janis187@us.ibm.com>
1218 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
1219 -Os and issue a warning.
1221 2002-01-23 Zack Weinberg <zack@codesourcery.com>
1223 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
1224 current (lack of) need for host configuration by hand.
1226 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
1227 references. Documentation of some target macros moved from
1228 hostconfig.texi to tm.texi.
1230 2002-01-23 Will Cohen <wcohen@redhat.com>
1232 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
1235 2002-01-23 Kazu Hirata <kazu@hxi.com>
1237 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
1240 2002-01-23 Jason Merrill <jason@redhat.com>
1242 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
1244 * function.c (assign_parms): Don't put args of inline functions
1245 into registers when not optimizing.
1247 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1249 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
1250 (prologue_use): New pattern.
1251 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
1252 preference to gen_rtx_USE.
1253 (thumb_expand_prologue): Use gen_prologue_use in preference to
1255 (thumb_expand_epilogue): Use gen_prologue_use in preference to
1258 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
1260 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
1262 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
1265 * doc/extend.texi: Correct documentation of __alignof__.
1267 2002-01-22 Zack Weinberg <zack@codesourcery.com>
1269 * params.h: Rename arguments of DEFPARAM so that it will be
1270 recognized as a translation keyword.
1272 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1274 * extend.texi: Document altivec functions.
1275 Fix N-bit adjectives in X86 builtin documentation.
1277 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1279 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
1280 auto_inc_dec values.
1282 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
1284 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
1286 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
1288 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1290 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
1292 2002-01-22 Richard Henderson <rth@redhat.com>
1294 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
1295 copy_insn not copy_rtx.
1297 2002-01-23 Alan Modra <amodra@bigpond.net.au>
1299 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
1300 "nonzero" as that might add "1" bits. Ensure "constop" is
1301 properly sign extened.
1302 (force_to_mode): Tweak for sign extended constop.
1304 2002-01-22 Richard Henderson <rth@redhat.com>
1306 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
1307 for_each_rtx instead of assuming we're already looking at the MEM.
1308 (split_small_symbolic_mem_operand): Likewise.
1309 * config/alpha/alpha.h (PREDICATE_CODES): Update.
1310 * config/alpha/alpha.md (small symbolic memory splitters): Update.
1312 2002-01-22 Richard Henderson <rth@redhat.com>
1314 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
1315 sequence number for the literal.
1316 (divmoddi_internal_er): Likewise.
1318 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
1321 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
1322 in LIBICONV variable.
1323 * configure: Regenerated.
1325 2002-01-22 Krister Walfridsson <cato@df.lth.se>
1327 * dependence.c (build_def_use): Remove array_idx.
1329 * dwarfout.c (last_filename): Remove.
1330 (output_compile_unit_die): Remove last_filename.
1332 2002-01-22 Roger Sayle <roger@eyesopen.com>
1333 Richard Henderson <rth@redhat.com>
1336 * fold-const.c (fold): Optimize unsigned comparisons against
1337 UINT_MAX (and similar unsigned constants).
1339 2002-01-22 Janis Johnson <janis187@us.ibm.com>
1341 * Makefile.in (loop.o): Depend on OPTABS_H.
1342 * loop.c (emit_prefetch_instructions): Check the prefetch operand
1343 against the predicate.
1346 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
1347 for the address operand.
1349 2002-01-22 Richard Henderson <rth@redhat.com>
1351 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
1353 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
1356 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
1359 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
1361 * config.gcc (x86_64-*-netbsd*): New target.
1362 * config/i386/netbsd64.h: New file.
1364 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1366 * regrename.c (kill_value): Fix typo.
1368 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1370 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
1372 * config/rs6000/rs6000.h: Same.
1374 * function.c (instantiate_virtual_regs): Remove
1375 STARTING_FRAME_PHASE.
1376 (assign_stack_local_1): Same.
1377 Calculate frame phase.
1379 2002-01-22 Nick Clifton <nickc@redhat.com>
1381 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
1382 variable declaration to outer scope in order to simplify
1384 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
1385 arm_hard_regno_mode_ok.
1386 * config/arm/arm-protos.h: Add a prototype for
1387 arm_hard_regno_mode_ok.
1388 * config/arm/arm.c (soft_df_operand): Remove now redundant
1389 check for DImode values using IP_REGNUM.
1390 (nonimmediate_soft_df_operand): Remove now redundant check for
1391 DImode values using IP_REGNUM.
1392 (arm_hard_regno_mode_ok): New function. New check: make sure
1393 that DImode values are not stored in IP_REGNUM.
1395 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
1397 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
1399 2002-01-22 Jason Merrill <jason@redhat.com>
1401 * c-semantics.c (genrtl_compound_stmt): Only check nesting
1402 consistency if this COMPOUND_STMT is scoped.
1404 2002-01-22 Kazu Hirata <kazu@hxi.com>
1406 * predict.c: Fix formatting.
1407 * print-tree.c: Likewise.
1408 * protoize.c: Likewise.
1411 * sbitmap.h: Likewise.
1413 * sched-deps.c: Likewise.
1414 * sched-vis.c: Likewise.
1415 * sdbout.c: Likewise.
1416 * sibcall.c: Likewise.
1418 * ssa-ccp.c: Likewise.
1419 * ssa-dce.c: Likewise.
1421 * stor-layout.c: Likewise.
1422 * system.h: Likewise.
1424 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1426 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
1427 if fits in bounds of base type.
1429 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
1430 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
1431 (add_bound_info, default): If can't find a context, make a
1433 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
1435 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
1437 * c-typeck.c (parser_build_binary_op): If result from
1438 build_binary_op is ERROR_MARK just return error_mark_node without
1441 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1443 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
1444 Split a.out-specific bits into...
1445 * config/netbsd-aout.h: ...this.
1446 * config/netbsd-elf.h: New file.
1447 * config/alpha/netbsd-elf.h: Remove.
1448 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
1449 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
1450 (STARTFILE_SPEC): Remove redundant definition.
1451 (ENDFILE_SPEC): Likewise.
1452 (LINK_SPEC): Likewise.
1453 (CPP_SPEC): Likewise.
1454 (ASM_SPEC): Likewise.
1455 (LIB_SPEC): Likewise.
1456 (SWITCH_TAKES_ARG): Likewise.
1457 (TARGET_MEM_FUNCTIONS): Likewise.
1458 (CPP_PREDEFINES): Redefine.
1459 (ASM_FINAL_SPEC): Remove redefinition.
1460 (ASM_COMMENT_START): Redefine.
1461 (FUNCTION_PROFILER): Define.
1462 (TARGET_VERSION): Redefine.
1463 Comment and formatting cleanup.
1464 * config/i386/netbsd.h: Include <netbsd-aout.h>.
1465 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
1466 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
1467 big- or little-endian.
1468 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
1469 * config.gcc (*-*-netbsd*): Add definitions common to all
1471 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
1472 gnu_ld definitions. Add netbsd-elf.h to and remove
1473 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
1474 tmake_file, and don't lose previous tmake_file contents.
1475 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
1476 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
1477 gnu_ld definitions. Add netbsd-elf.h to tm_file.
1478 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
1479 (mipsel-*-netbsd*): Rename this to...
1480 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
1481 mips/little.h to tm_file for mips*el-*.
1482 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
1483 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
1484 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
1486 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1488 * pa-protos.h (reg_before_reload_operand): New function prototype.
1489 * pa.c (reg_before_reload_operand): New function implementation.
1490 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
1493 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1495 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
1497 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1499 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
1500 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
1501 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
1502 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
1503 (ENDFILE_SPEC): Undefine.
1504 (STARTFILE_SPEC): Redefine for PA.
1506 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1508 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
1510 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
1512 * config.gcc: Add entries to supported PowerPC --with-cpu
1515 2002-01-21 Jakub Jelinek <jakub@redhat.com>
1517 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
1518 true for 64-bit mode only SSE registers in 32-bit mode.
1520 2002-01-21 Kazu Hirata <kazu@hxi.com>
1522 * unwind-dw2.c: Fix formatting.
1523 * unwind-dw2-fde.c: Likewise.
1524 * unwind-dw2-fde.h: Likewise.
1525 * unwind-pe.h: Likewise.
1526 * varasm.c: Likewise.
1527 * varray.h: Likewise.
1529 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
1531 Remove workaround for register stack overwrite bug in mmix.
1532 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
1533 support for TARGET_REG_STACK_FILL_BUG.
1534 * config/mmix/mmix.h: Remove member has_call_without_parameters.
1535 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
1537 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
1538 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
1539 -mno-reg-stack-fill-bug-workaround.
1540 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
1541 machine member has_call_without_parameters.
1542 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
1543 -mreg-stack-fill-bug-workaround and
1544 -mno-reg-stack-fill-bug-workaround.
1545 (MMIX Options): Ditto.
1547 2002-01-21 Kazu Hirata <kazu@hxi.com>
1549 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
1551 Remove redundant code.
1553 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
1555 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
1556 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1557 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1558 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
1559 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
1560 out target macro definitions and non-target-specific comments
1561 mostly taken from old versions of the manual.
1563 2002-01-20 Kazu Hirata <kazu@hxi.com>
1565 * config/h8300/h8300.h: Fix comment formatting.
1566 * config/ia64/aix.h: Likewise.
1567 * config/ia64/ia64-protos.h: Likewise.
1568 * config/ia64/ia64.c: Likewise.
1569 * config/ia64/ia64.h: Likewise.
1570 * config/ia64/ia64intrin.h: Likewise.
1571 * config/ia64/linux.h: Likewise.
1572 * config/ia64/unwind-aix.c: Likewise.
1573 * config/ia64/unwind-ia64.c: Likewise.
1575 2002-01-20 Kazu Hirata <kazu@hxi.com>
1577 * config/h8300/h8300.c: Revise comments about shift code.
1579 2002-01-20 Kazu Hirata <kazu@hxi.com>
1581 * config/h8300/h8300.c (function_arg): Update a comment.
1583 2002-01-20 Kazu Hirata <kazu@hxi.com>
1585 * config/h8300/h8300.md: Update the comments at the beginning
1588 2002-01-20 Kazu Hirata <kazu@hxi.com>
1590 * config/i370/i370.c: Fix comment formatting.
1591 * config/i370/i370.h: Likewise.
1592 * config/i370/i370.md: Likewise.
1593 * config/i370/linux.h: Likewise.
1595 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1597 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
1599 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
1600 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
1603 2002-01-20 Graham Stott <grahams@redhat.com>
1605 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
1607 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1609 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
1611 2002-01-19 Tom Rix <trix@redhat.com>
1613 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
1615 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
1617 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1619 * function.c (assign_stack_local_1): Adjust x_frame_offset with
1620 STARTING_FRAME_PHASE.
1621 (STARTING_FRAME_PHASE): New.
1622 (instantiate_virtual_regs): Check saneness of
1623 STARTING_FRAME_PHASE.
1625 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1627 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1629 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
1631 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1633 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
1634 be used for bootstrapping GCC 3.0.
1636 2002-01-18 Kazu Hirata <kazu@hxi.com>
1638 * config/h8300/h8300.md: Fix an insn length.
1640 2002-01-18 Kazu Hirata <kazu@hxi.com>
1642 * bitmap.h: Fix comment formatting.
1643 * combine.c: Likewise.
1644 * cppfiles.c: Likewise.
1645 * c-pragma.h: Likewise.
1646 * c-typeck.c: Likewise.
1648 * dwarf2out.c: Likewise.
1649 * function.c: Likewise.
1651 * genattrtab.c: Likewise.
1652 * gthr-win32.h: Likewise.
1653 * haifa-sched.c: Likewise.
1654 * predict.c: Likewise.
1655 * rtlanal.c: Likewise.
1657 * unwind-dw2-fde.h: Likewise.
1658 * unwind-pe.h: Likewise.
1659 * vmsdbgout.c: Likewise.
1661 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1663 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
1664 if type_required and passed decl.
1666 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
1668 * config.gcc (cpu_type): Include altivec.h in powerpc
1672 * config/rs6000/altivec.h: New.
1674 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1676 * doc/install.texi (*-ibm-aix*): Update assembler and exception
1677 handling information.
1678 * doc/trouble.texi (Interoperation): Add libstdc++ information
1680 (Misunderstandings): Add template instantiation and static template
1681 member information for AIX.
1683 2002-01-17 Jason Merrill <jason@redhat.com>
1685 * dbxout.c (dbxout_type): Support const and volatile.
1687 * except.c (add_partial_entry): Remove backwards compatibility code.
1688 (end_protect_partials): Likewise.
1690 2002-01-17 Jakub Jelinek <jakub@redhat.com>
1692 * config/ia64/ia64.md (prologue_use): New.
1693 * config/ia64/ia64.c (ia64_expand_prologue): Use
1694 gen_prologue_use instead of gen_rtx_USE.
1695 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1696 as CODE_FOR_pred_rel_mutex.
1697 (ia64_sched_reorder2): Likewise.
1699 2002-01-16 Eric Christopher <echristo@redhat.com>
1701 * config/mips/r3900.h: Reformat.
1702 (SUBTARGET_CPP_SIZE_SPEC): Remove.
1703 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1704 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1705 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1706 * config/mips/t-elf: Remove mips3 multilib.
1708 2002-01-16 H.J. Lu <hjl@gnu.org>
1710 * config/mips/linux.h: Include "mips/abi64.h".
1712 2002-01-16 H.J. Lu <hjl@gnu.org>
1714 * config/mips/t-linux: New.
1716 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1718 * config/mips/linux.h: Don't include "gofast.h".
1719 (INIT_SUBTARGET_OPTABS): Removed.
1721 2002-01-16 Kazu Hirata <kazu@hxi.com>
1723 * config/h8300/h8300-protos.h: Replace emit_a_shift with
1725 * config/h8300/h8300.c: Likewise.
1726 * config/h8300/h8300.md: Likewise.
1728 2002-01-16 Kazu Hirata <kazu@hxi.com>
1730 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1731 spaces after an opcode name.
1732 (pushqi1_h8300hs): Likewise.
1733 (pushhi1_h8300hs): Likewise.
1735 2002-01-16 Kazu Hirata <kazu@hxi.com>
1737 * doc/extend.texi: Replace "option" with "attribute"
1740 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1742 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1743 (and:DI () (const_int -8)).
1744 (split_small_symbolic_mem_operand): Split
1745 (mem (and:DI () (const_int -8)).
1747 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1750 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1751 same way as TYPE_IMUL.
1752 (ultrasparc_sched_reorder): Likewise.
1753 * config/sparc/sparc.md (type): Add comment to update
1754 ultrasparc_sched_reorder when making changes.
1756 2002-01-16 Kazu Hirata <kazu@hxi.com>
1758 * doc/invoke.texi: Change the dump file name of block
1759 reordering pass from 28.bbro to 29.bbro.
1762 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1764 * i386.md (minsf splitter): Fix pasto.
1766 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1768 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1769 to frame pointer initialisation instruction.
1770 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1771 initialisation instruction.
1772 (soft_df_operand): Do not accept the IP register.
1773 (nonimmediate_soft_df_operand): Do not accept the IP register.
1775 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1778 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1779 MASK_V8 being both set.
1781 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1783 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1784 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1785 config/s390/s390.md (call, call_value): Add GOT register to
1786 CALL_INSN_FUNCTION_USAGE where needed.
1787 (call_exp, call_value_exp): New.
1789 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1791 * config/arm/arm.c: General formatting tidy up.
1793 2002-01-16 Graham Stott <grahams@redhat.com>
1795 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1796 cast and when casting an integer literal to "rtx" pointer.
1797 (expand_call): Likewise.
1798 * flow.c (try_pre_increment): Likewise.
1799 (find_use_as_address): Likewise.
1800 * integrate.c (expand_iline_function): Likewise.
1801 * regmove.c (try_auto_increment): Likewise.
1803 2002-01-16 Graham Stott <grahams@redhat.com>
1805 * sched-rgn.c (passed): Use sbitmap_free.
1808 (in_queue): Likewise.
1809 (in_stack): Likewise.
1811 2002-01-15 Eric Christopher <echristo@redhat.com>
1813 * flow.c (propagate_one_insn): Change to use fatal_insn.
1815 2002-01-15 Kazu Hirata <kazu@hxi.com>
1817 * expmed.c (extract_fixed_bit_field): Remove unused code.
1818 * system.h: Poison SLOW_ZERO_EXTEND.
1819 * doc/tm.texi: Remove.
1820 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1821 * config/arm/arm.h: Likewise.
1822 * config/avr/avr.h: Likewise.
1823 * config/clipper/clipper.h: Likewise.
1824 * config/convex/convex.h: Likewise.
1825 * config/d30v/d30v.h: Likewise.
1826 * config/dsp16xx/dsp16xx.h: Likewise.
1827 * config/elxsi/elxsi.h: Likewise.
1828 * config/fr30/fr30.h: Likewise.
1829 * config/h8300/h8300.h: Likewise.
1830 * config/i370/i370.h: Likewise.
1831 * config/i386/i386.h: Likewise.
1832 * config/m68k/m68k.h: Likewise.
1833 * config/mips/mips.h: Likewise.
1834 * config/ns32k/ns32k.h: Likewise.
1835 * config/pdp11/pdp11.h: Likewise.
1836 * config/pj/pj.h: Likewise.
1837 * config/s390/s390.h: Likewise.
1838 * config/sh/sh.h: Likewise.
1839 * config/stormy16/stormy16.h: Likewise.
1840 * config/v850/v850.h: Likewise.
1841 * config/vax/vax.h: Likewise.
1842 * config/we32k/we32k.h: Likewise.
1844 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1846 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1847 (altivec_lvsl): Change constraint to b.
1848 (altivec_lvsr): Same.
1849 (altivec_lvebx): Same.
1850 (altivec_lvehx): Same.
1851 (altivec_lvewx): Same.
1852 (altivec_lvxl): Same.
1853 (altivec_lvx): Same.
1854 (altivec_stvx): Add parallel.
1855 (altivec_stvxl): Same.
1856 (altivec_stvehx): Same.
1857 (altivec_stvebx): Same.
1858 (altivec_stvebx): Same.
1860 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1862 * config.gcc: Change altivec.h to altivec-defs.h.
1864 * config/rs6000/altivec.h: Delete.
1866 * config/rs6000/altivec-defs.h: Add.
1868 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1870 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1873 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1874 less than or equal to eight bytes.
1876 * vax.md (andsi3): Remove constraints and change SET destination
1877 operand type to nonimmediate_operand.
1878 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1879 when it is a CONST_INT.
1881 2002-01-15 Jason Merrill <jason@redhat.com>
1883 * c-common.def (FILE_STMT): New code.
1884 * c-common.c (statement_code_p): It's a statement.
1885 * c-common.h (stmt_tree_s): Add x_last_filename.
1886 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1887 (last_expr_filename): New macro.
1888 * c-semantics.c (begin_stmt_tree): Initialize it.
1889 (add_stmt): If the filename changed, also insert a
1891 (expand_stmt): Handle seeing one.
1893 2002-01-15 Eric Christopher <echristo@redhat.com>
1895 * flow.c (propagate_one_insn): Add error message and print out
1898 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1900 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1901 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1902 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1903 TRAMPOLINE_ALIGNMENT.
1904 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1906 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1907 PCC_BITFIELD_TYPE_MATTERS.
1908 * config/interix.h (STDC_VALUE): Remove. Use
1909 STDC_0_IN_SYSTEM_HEADERS.
1910 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1911 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1912 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1914 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1916 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1917 not work on this platform currently.
1919 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1921 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1922 readonly_warning in _().
1924 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1926 * gcc.c (delete_if_ordinary): Backout previous change.
1928 2002-01-15 Kazu Hirata <kazu@hxi.com>
1930 * config/h8300/h8300.c (print_operand): Remove support for
1931 unused operand characters.
1933 * read-rtl.c: Fix formatting.
1935 * recog.c: Likewise.
1936 * regclass.c: Likewise.
1937 * regmove.c: Likewise.
1938 * reg-stack.c: Likewise.
1939 * reload1.c: Likewise.
1940 * rtlanal.c: Likewise.
1942 2002-01-15 Kazu Hirata <kazu@hxi.com>
1944 * config/i386/i386.c: Fix formatting.
1946 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1948 * c-typeck.c (process_init_element): Don't save_expr
1949 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1951 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1953 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1954 emit optional traceback table if optimize_size or TARGET_ELF.
1955 * config/rs6000/rs6000.md (prefetch): New.
1957 2002-01-15 Andreas Jaeger <aj@suse.de>
1959 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1961 2002-01-15 Kazu Hirata <kazu@hxi.com>
1963 * mips-tfile.c: Fix formatting.
1965 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1967 * unroll.c (final_reg_note_copy): Fix previous commit.
1969 2002-01-14 Kazu Hirata <kazu@hxi.com>
1971 * config/h8300/h8300-protos.h: Remove the prototype for
1973 * config/h8300/h8300.c (eq_operator): Remove.
1975 2002-01-14 Richard Henderson <rth@redhat.com>
1977 * config/i386/i386.md (prefetch): Tidy.
1978 (prefetch_3dnow): Fix locality operand.
1980 2002-01-14 Richard Henderson <rth@redhat.com>
1982 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1983 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1985 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1987 * reload1.c (reload_combine): Pass reg_sum replacement through
1988 copy_rtx in loop performing multiple changes.
1990 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1992 * except.c (remove_unreachable_regions): New.
1993 (free_eh_status): Clear exception_handler_labels.
1994 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1995 (find_exception_handler_labels): Don't add the same label more than
1997 (remove_exception_handler_label): Don't die if
1998 find_exception_handler_labels hasn't been called for the current
2001 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
2003 * toplev.c (rest_of_compilation): Rebuild jump labels after
2006 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
2008 * doc/extend.texi: Move documentation of X86 built-in functions
2010 * doc/invoke.texi: From here.
2011 * doc/sourcebuild.texi: Document location of documentation for
2012 machine built-in functions.
2014 2002-01-13 Christopher Faylor <cgf@redhat.com>
2016 * cppfiles.c (TEST_THRESHOLD): New macro.
2017 (SHOULD_MMAP): Ditto.
2018 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
2021 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
2023 * unroll.c (final_reg_note_copy): Properly handle
2025 (unroll_loops): Fix LOOP_CONDITION heuristics.
2027 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
2029 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
2030 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
2032 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
2034 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
2037 2002-01-14 Tom Rix <trix@redhat.com>
2039 * config/rs6000/rs6000.md: Fix typo with sradi.
2041 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
2043 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
2044 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
2045 (clrstrdi, clrstrsi): Adapt callers.
2047 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
2049 (movti splitter): Never use register 0 as base register.
2051 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
2053 * combine.c (simplify_shift_const): Always generate new rtx
2054 for shift expression instead of reusing given expression.
2056 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2058 * config/alpha/alpha.c (alpha_expand_mov): Don't call
2059 alpha_legitimize_address unless mode is Pmode.
2061 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
2063 * doc/md.texi (Modifiers): Document the '*' constraint for the
2066 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
2067 * doc/extend.texi (Function Attributes): 'interrupt' is valid
2070 2002-01-13 Richard Henderson <rth@redhat.com>
2072 * reload.c (find_reloads): Use a hard reg destination as reload reg
2073 for an input reload of the source.
2075 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2077 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
2080 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
2082 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
2083 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
2085 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
2087 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2089 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
2091 2002-01-12 Tom Rix <trix@redhat.com>
2093 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
2096 2002-01-12 Richard Henderson <rth@redhat.com>
2098 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
2100 * doc/invoke.texi: Update Alpha options.
2102 * doc/invoke.texi: Update i386 built-in function lists.
2104 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
2106 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
2107 referencing outside.
2109 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2111 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
2112 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
2113 offsets, and change line folding.
2114 * optabs.c (expand_binop): Remove warnings.
2115 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
2117 2002-01-12 Graham Stott <grahams@redhat.com>
2119 * attribs.c (handle_deprecated_attribute): constify WHAT.
2120 * diagnostic.c (warn_deprecated_use): Add braces, fixes
2121 dangling else warning and constify WHAT.
2122 * except.h (struct function, struct inline_remap): Move
2123 struct tag forward defs before all prototypes.
2124 (duplicate_eh_regions): Whitespace.
2126 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
2128 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
2129 MODE_BASE_REG_CLASS.
2130 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
2132 2002-01-12 Richard Henderson <rth@redhat.com>
2134 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
2135 (ix86_expand_vector_move): New.
2136 (bdesc_2arg): Remove andps, andnps, orps, xorps.
2137 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
2138 Remove old prefetch builtins. Special case the logicals removed above.
2139 (ix86_expand_builtin): Likewise.
2140 (safe_vector_operand): Use V4SFmode, not TImode.
2141 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
2142 (ix86_expand_timode_binop_builtin): New.
2143 * config/i386/i386-protos.h: Update.
2144 * config/i386/i386.h (enum ix86_builtins): Update.
2145 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
2146 Use ix86_expand_vector_move in vector move expanders.
2147 (movti_internal, movti_rex64): Add xorps alternative.
2148 (sse_clrv4sf): Rename and adjust from sse_clrti.
2149 (prefetch): Don't work so hard.
2150 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
2151 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
2152 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
2154 2002-01-11 Richard Henderson <rth@redhat.com>
2156 * config/i386/mmintrin.h: New file.
2157 * config/i386/xmmintrin.h: New file.
2158 * config.gcc (i?86-*-*): Add extra_headers.
2159 * simplify-rtx.c (simplify_unary_operation): Handle saturating
2161 (simplify_binary_operation): Handle saturating arithmetic codes.
2162 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
2163 not the lowpart subreg.
2164 (ix86_expand_builtin): Return a TImode dummy register instead of 0
2166 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
2168 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2170 * conflict.c (conflict_graph_compute): Free regsets when finished.
2171 * ssa.c (compute_coalesced_reg_partition): Likewise.
2173 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2175 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
2176 every where we allocate a register.
2178 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2180 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
2181 * lcm.c (compute_earliest, compute_farthest): Likewise.
2183 2002-01-11 Janis Johnson <janis187@us.ibm.com>
2185 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
2187 2002-01-11 Janis Johnson <janis187@us.ibm.com>
2189 * doc/rtl.texi (Insns): Fix 2 typos.
2191 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2193 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
2194 options. Use @table @gcctabopt for MMIX options. Add index
2195 entries for MMIX options. Start new paragraph with first
2196 heading of the machine-dependent options.
2198 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
2201 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
2202 * combine.c (force_to_mode): Same.
2203 * reload1.c (clear_reload_reg_in_use): Same.
2205 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
2207 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
2210 2002-01-11 Andreas Jaeger <aj@suse.de>,
2211 Brad Lucier <lucier@math.purdue.edu>
2213 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
2216 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
2218 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
2219 Protect with IN_LIBGCC.
2220 (LINK_EH_SPEC): Add required trailing space.
2222 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
2224 * c-tree.h: Move function declarations so that they are listed
2225 under the filename which contains them.
2226 (check_identifier, finish_decl_top_level,
2227 lookup_name_current_level_global, shadow_record_fields): Remove.
2229 2002-01-11 Andreas Jaeger <aj@suse.de>
2231 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
2234 2002-01-10 Richard Henderson <rth@redhat.com>
2236 * config/alpha/alpha.c (print_operand): Add 'J'.
2237 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
2238 new operand with the sequence number for the lituse. When splitting
2239 the insns, use gen_movdi_er_high_g and generate a sequence number.
2240 (gen_movdi_er_high_g): Print the sequence number if non-zero.
2242 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
2244 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
2245 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
2247 (altivec_expand_builtin): Same.
2248 (altivec_expand_stv_builtin): New.
2250 * config/rs6000/rs6000.h (rs6000_builtins): Same.
2252 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
2253 ("altivec_lvehx"): New.
2254 ("altivec_lvewx"): New.
2255 ("altivec_lvxl"): New.
2256 ("altivec_lvx"): New.
2257 ("altivec_stvx"): New.
2258 ("altivec_stvebx"): New.
2259 ("altivec_stvehx"): New.
2260 ("altivec_stvewx"): New.
2261 ("altivec_stvxl"): New.
2263 2002-01-10 Richard Henderson <rth@redhat.com>
2265 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
2266 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
2267 care not to delete instructions twice.
2269 2002-01-10 Zack Weinberg <zack@codesourcery.com>
2271 * toplev.c: Don't declare environ (it's not used anywhere).
2272 * configure.in: Don't check for declaration of environ.
2273 * config/i386/xm-mingw32.h: Don't #define environ.
2274 * config.in, configure: Regenerate.
2276 2002-01-10 Zack Weinberg <zack@codesourcery.com>
2278 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
2279 * configure: Regenerate.
2281 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
2282 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
2283 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
2285 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
2286 LIMITS_H_TEST here, not in m68k/x-next.
2287 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
2288 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
2290 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
2291 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
2292 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
2294 * config/i386/x-djgpp: Renamed i386/t-djgpp.
2295 * config/m88k/x-dolph: Renamed m88k/t-dolph.
2296 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
2297 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
2298 replacement of quadlib.asm with quadlib.c.
2300 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
2301 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
2302 config/rs6000/xm-beos.h: Delete file.
2304 * config.gcc: Update to match above changes.
2306 2002-01-10 Kazu Hirata <kazu@hxi.com>
2308 * config/h8300/h8300.h: Fix comment typos.
2309 * config/h8300/h8300.md: Likewise.
2310 * config/h8300/lib1funcs.asm: Likewise.
2312 2002-01-10 Dale Johannesen <dalej@apple.com>
2314 PR optimization/5269
2315 * unroll.c (precondition_loop_p): Make *increment be the correct
2316 sign when n_iterations known, to avoid confusing caller.
2318 2002-01-10 Kazu Hirata <kazu@hxi.com>
2320 * doc/extend.texi (deprecated): Fix a typo.
2322 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
2324 * basic-block.h (update_br_prob_note): Declare.
2325 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
2326 (try_forward_edges): Care negative frequencies and update note.
2327 (outgoing_edges_match): Tweek conditional merging heuristics.
2328 (try_crossjump_to_edge): use update_br_prob_note.
2329 * cfglayout.c (fixup_reorder_chain): Likewise.
2330 * cfrtl.c (update_br_prob_note): New.
2331 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
2333 * i386.c (ix86_decompose_address): Return -1 if address contains
2335 (legitimate_address_p): Require ix86_decompose_address to return 1.
2337 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
2338 (cprop_insn): Likewise.
2340 2002-01-10 Kazu Hirata <kazu@hxi.com>
2342 * toplev.c: Fix formatting.
2344 * tree-dump.c: Likewise.
2345 * unroll.c: Likewise.
2346 * unwind-dw2.c: Likewise.
2347 * unwind-dw2-fde.c: Likewise.
2348 * unwind-dw2-fde-glibc.c: Likewise.
2349 * unwind-sjlj.c: Likewise.
2351 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2353 * doc/invoke.texi: Document PDP-11 options.
2355 2002-01-10 Kazu Hirata <kazu@hxi.com>
2357 * config/h8300/h8300.h: Fix formatting.
2359 2002-01-10 Ira Ruben <ira@apple.com>
2361 Add __attribute__ ((deprecated)).
2362 * extend.texi: Document __attribute__ ((deprecated)).
2363 * invoke.texi: Document -Wno-deprecated-declarations.
2364 * testsuite/g++.dg/other/deprecated.C: New C++ test.
2365 * testsuite/gcc.dg/deprecated.c: New C test.
2366 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
2367 (c_common_attribute_table): Add "deprecated" entry.
2368 (handle_deprecated_attribute): New function.
2369 * c-decl.c (deprecated_states): New enum.
2370 deprecated_state: State of "deprecated" handling.
2371 (start_decl): Set deprecated_state based on attributes.
2372 (grokdeclarator): Test for deprecated uses, propagate attribute.
2373 * c-typeck.c (build_component_ref): Test for deprecated fields.
2374 (build_external_ref): Test for deprecated primaries.
2375 * diagnostic.c (warn_deprecated_use) New function to issue
2376 warnings about __attribute__ ((depricated)) references.
2377 * flags.h (warn_deprecated_decl): Extern declared for
2378 -W[no-]deprecated-declarations option.
2379 * print-tree.c (print_node): Show deprecated flag status.
2380 * toplev.c (warn_deprecated_decl): Defined.
2381 (W_options): Added "deprecated-declaration".
2382 * toplev.h (warn_deprecated_use): Extern declared.
2383 * tree.h (struct tree_common): Define deprecated_flag.
2384 (TREE_DEPRECATED): New macro to access flag.
2385 * cp/call.c (build_call): Test for deprecated calls.
2386 * cp/class.c (add_implicitly_declared_members): Set global
2387 flag to tell grokdeclarator to not issue deprecated warnings.
2388 * cp/cp-tree.h: Add extern for adding_implicit_members.
2389 * cp/decl.c (deprecated_states): New enum.
2390 (start_decl): Set deprecated_state based on attributes.
2391 (grokdeclarator): Test for deprecated uses, propagate attribute.
2392 * cp/lex.c (do_identifier): Test for deprecated primaries.
2393 * cp/typeck.c (build_component_ref): Test for deprecated fields.
2395 2002-01-10 Ira Ruben <ira@apple.com>
2397 Fix to assign attributes to inline member functions.
2398 * cp/decl.c (start_method): Handle attrlist.
2400 2002-01-10 Kazu Hirata <kazu@hxi.com>
2402 * combine.c (expand_field_assignment): Use subreg_lsb().
2404 2002-01-10 David Edelsohn <edelsohn@gnu.org>
2406 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
2407 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
2408 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
2409 Recurse for any operand of AND as long as constant is non-zero.
2411 2002-01-10 Kazu Hirata <kazu@hxi.com>
2413 * config/h8300/h8300.md: Remove constraints from expanders.
2415 2002-01-10 Kazu Hirata <kazu@hxi.com>
2417 * varasm.c: Fix formatting.
2418 * varray.c: Likewise.
2419 * vmsdbgout.c: Likewise.
2420 * xcoffout.c: Likewise.
2422 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
2424 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
2425 update edge probabilities to match.
2427 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2429 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
2431 * doc/languages.texi, doc/sourcebuild.texi: New files.
2432 * doc/configfiles.texi: Make a subsubsection. Update.
2433 * doc/configterms.texi: Add @node. Remove warning that this isn't
2434 instructions for building GCC.
2435 * doc/makefile.texi: Make a subsection.
2436 * doc/gccint.texi: Update.
2438 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
2440 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
2442 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2444 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
2446 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
2448 * optabs.c (expand_fix): Look for wider integer modes first.
2450 * i386.md (mov?f): Avoid the fake const double trick for medium
2452 (min?f*/max?f*): Prohibit memory operands for i387 variant.
2453 (fop_df_4): Disable for SSE compilation.
2455 2002-01-10 Graham Stott <grahams@redhat.com>
2457 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
2458 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
2460 2002-01-10 Richard Henderson <rth@redhat.com>
2462 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
2464 2002-01-10 Richard Henderson <rth@redhat.com>
2466 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
2467 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
2469 2002-01-10 Kazu Hirata <kazu@hxi.com>
2471 * combine.c (can_combine_p): Fix a comment typo.
2473 2002-01-09 Zack Weinberg <zack@codesourcery.com>
2475 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
2476 empty list correctly. Change loop index $t to $f for
2477 consistency with rest of Makefile.
2479 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
2481 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
2482 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2484 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
2485 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
2486 (altivec_init_builtins): Same.
2487 (altivec_expand_unop_builtin): Return NULL_RTX on error.
2488 (altivec_expand_binop_builtin): Same.
2489 (altivec_expand_ternop_builtin): Same.
2492 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
2493 ("altivec_vctuxs"): Fix typo.
2494 ("altivec_vnmsubfp"): Same.
2495 ("altivec_dssall"): New.
2496 ("altivec_mfvscr"): New.
2497 ("altivec_dss"): New.
2498 ("altivec_lvsl"): New.
2499 ("altivec_lvsr"): New.
2500 ("altivec_dstt"): New.
2501 ("altivec_dstst"): New.
2502 ("altivec_dststt"): New.
2503 ("altivec_dst"): New.
2505 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
2506 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2508 2002-01-09 Richard Henderson <rth@redhat.com>
2510 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
2512 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
2514 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
2516 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
2518 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
2520 2002-01-09 Kazu Hirata <kazu@hxi.com>
2522 * read-rtl.c: Fix formatting.
2524 * regclass.c: Likewise.
2525 * regrename.c: Likewise.
2526 * reg-stack.c: Likewise.
2527 * reload1.c: Likewise.
2528 * reload.c: Likewise.
2531 2002-01-09 Kazu Hirata <kazu@hxi.com>
2533 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
2534 to extract items in the expr_list chain.
2536 2002-01-09 Richard Henderson <rth@redhat.com>
2538 * config/vax/vax.c (vax_rtx_cost): Never abort.
2540 * config/vax/vax.h (REAL_ARITHMETIC): Define.
2542 2002-01-09 Jan Hubicka <jh@suse.cz>
2544 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
2546 2002-01-09 Richard Henderson <rth@redhat.com>
2548 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
2549 Unify code from various alternatives.
2551 2002-01-09 Richard Henderson <rth@redhat.com>
2553 * regrename.c (copy_value): Ignore the copy if the source register
2554 is present in the value chain with a narrower mode.
2556 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2558 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
2559 for the c4x target. Also improve layout.
2561 2002-01-09 Richard Henderson <rth@redhat.com>
2563 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
2564 * config/m32r/m32r.md (and ior xor splitters): Swap operands
2565 to match insn patterns.
2567 2002-01-09 Richard Henderson <rth@redhat.com>
2569 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
2570 (copyprop_hardreg_forward_1): Likewise.
2572 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2574 * pa.md (decrement_and_branch_until_zero): Change predicate for
2575 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
2577 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2579 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
2580 gets undefined. For Darwin.
2582 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2584 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
2586 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2588 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
2590 2002-01-08 Richard Henderson <rth@redhat.com>
2592 * regrename.c (copy_value): Ignore overlapping copies.
2594 2002-01-08 Richard Henderson <rth@redhat.com>
2596 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
2597 as needed to avoid shared structure.
2599 2002-01-08 Kazu Hirata <kazu@hxi.com>
2601 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
2604 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2606 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
2607 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
2608 documentation of obsolete macros.
2609 * system.h: Poison these macros.
2610 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
2611 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
2612 config/c4x/c4x.h, config/clipper/clipper.h,
2613 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
2614 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
2615 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
2616 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
2617 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2618 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
2619 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2620 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
2621 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
2622 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2623 config/sparc/sparc.h, config/stormy16/stormy16.h,
2624 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
2625 definitions and commented out definitions of obsolete macros.
2626 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
2627 of MAX_INT_TYPE_SIZE.
2629 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2631 * config/s390/s390.c (s390_preferred_reload_class): Never
2632 return ADDR_REGS if it isn't a subset of the given class.
2633 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
2634 FP_REGS, but all superclasses as well.
2636 * config/s390/s390.c (s390_function_profiler): Fix thinko.
2638 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
2639 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
2640 must not be a const_int.
2642 2002-01-08 Richard Henderson <rth@redhat.com>
2644 * Makefile.in (toplev.o): Depend on options.h.
2645 (gcc.o): Depend on specs.h.
2647 2002-01-08 Jakub Jelinek <jakub@redhat.com>
2649 * expr.c (store_expr): Convert VOIDmode constants back to target's
2652 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2654 * doc/invoke.texi: Markup gcc as @command. Refer to
2655 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
2656 of http://gcc.gnu.org/thanks.html.
2658 2002-01-08 Dale Johannesen <dalej@apple.com>
2660 * config/rs6000/rs6000.md: Add missing int register
2661 target case to movdf_low.
2663 2002-01-08 Zack Weinberg <zack@codesourcery.com>
2665 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
2666 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
2667 (cppinit.o): Depend on except.h.
2668 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
2669 s-specs): New rules.
2671 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
2672 Don't create specs.h/options.h/gencheck.h here. Remove
2673 unnecessary variable settings from last argument of AC_OUTPUT.
2674 * config.in, configure: Regenerate.
2675 * intl.c: Hardcode package name as "gcc".
2677 * cppinit.c: Include except.h.
2678 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2680 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2681 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2682 (!)USING_SJLJ_EXCEPTIONS.
2683 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2685 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2687 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2688 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2689 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2690 documentation of obsolete macros.
2691 * system.h: Poison these macros.
2692 * config/d30v/d30v.h, config/ns32k/encore.h,
2693 config/stormy16/stormy16.h: Remove definitions and commented out
2694 definitions of obsolete macros.
2696 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
2698 * objc/objc-act.c (handle_class_ref): Mark the declaration of
2699 %sobjc_class_ref_%s as used - to prevent unwanted compiler
2702 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2704 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2705 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2706 to insn adjusting stack/frame pointer.
2707 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2708 accept operands that cause the insn to be non-splittable.
2710 2002-01-08 Graham Stott <grahams@redhat.com>
2712 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2713 (C_TYPE_FIELDS_VOLATILE): Likewise.
2714 (C_TYPE_BEING_DEFINED): Likewise.
2715 (C_IS_RESERVED_WORD): Likewise.
2716 (C_TYPE_VARIABLE_SIZE): Likewise.
2717 (C_DECL_VARIABLE_SIZE): Likewise.
2718 (C_MISSING_PROTOTYPE_WARNED): Likewise.
2719 (C_SET_EXP_ORIGINAL_CODE): Likewise.
2720 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2722 (C_DECL_ANTICIPATED): Likewise.
2723 (c_build_type_variant): Add parenthesis.
2725 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2727 * gcc.c (option_map): Remove --version.
2728 (process_command): Handle -fversion following the GNU Coding
2729 Standards. Partially addresses PR other/704.
2731 2002-01-08 Graham Stott <grahams@redhat.com>
2733 * combine.c (combine_instructions): Fix typo.
2735 2002-01-08 Graham Stott <grahams@redhat.com>
2737 * debug.h: Use "tree" and "rtx" throughout.
2739 * debug.c: Likewise.
2741 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2743 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2744 constant pool, use the pool's version of the symbol instead.
2746 2002-01-07 Richard Henderson <rth@redhat.com>
2748 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2749 the original register was copied in a mode with a fewer number of
2750 hard registers than the desired mode.
2751 (copyprop_hardreg_forward_1): Likewise.
2752 (debug_value_data): Fix loop test.
2753 * toplev.c (parse_options_and_default_flags): Reenable
2754 -fcprop-registers at -O1.
2756 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2758 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2759 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2761 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2764 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2766 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2768 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2769 (pa_output_function_prologue): Output local label at the beginning of
2770 the prologue when profiling.
2771 (hppa_profile_hook): Use the local label rather than the function label.
2772 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2774 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2776 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2777 (altivec_expand_unop_builtin): Fix thinko.
2778 (altivec_expand_binop_builtin): Same.
2779 (altivec_expand_ternop_builtin): Same.
2780 (altivec_expand_builtin): Same.
2782 2002-01-07 Richard Henderson <rth@redhat.com>
2784 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2786 2002-01-07 Jason Merrill <jason@redhat.com>
2788 * unwind-dw2.c (execute_cfa_program): Use < again.
2790 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2792 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2794 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2796 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2797 Don't allow -1 - x -> ~x simplifications in the first pass.
2799 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2801 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2803 (altivec_expand_binop_builtin): Same.
2804 (altivec_expand_unop_builtin): Same.
2805 (print_operand): Fix typo.
2806 (bdesc_1arg): Add vupk* variants.
2808 * rs6000.h (rs6000_builtins): Add vupk* enums.
2810 * rs6000.md: Add altivec_vupk* variants.
2812 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2814 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2815 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2816 and last update dates.
2818 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2820 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2822 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2824 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2825 * config/avr/avr.h (CPP_SPEC): Likewise.
2826 (LINK_SPEC): Likewise.
2827 (CRT_BINUTILS_SPECS): Likewise.
2828 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2829 * doc/invoke.texi (AVR Options): Document them.
2831 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2833 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2836 2002-01-07 Graham Stott <grahams@redhat.com>
2838 * config/i386/i386.h: Update copyright date.
2839 (HALF_PIC_PTR): Add parenthesis.
2840 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2841 (CONSTANT_ALIGNMENT): Add parenthesis.
2842 (DATA_ALIGNMENT): Likewise.
2843 (LOCAL_ALIGNMENT): Likewise.
2844 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2845 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2846 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2847 (HARD_REGNO_NREGS): Add paranethesis.
2848 (VALID_SSE_REG_MODE): Whitespace.
2849 (VALID_MMX_REG_MODE): Whitespace.
2850 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2851 (ix86_hard_regno_mode_ok): Add parenthesis.
2852 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2853 (RETURN_IN_MEMORY): Whitespace.
2854 (N_REG_CLASSES): Add parenthesis.
2855 (INTEGER_CLASS_P): Add parenthesis and wrap.
2856 (FLOAT_CLASS_P): Likewise.
2857 (SSE_CLASS_P): Likewise.
2858 (MMX_CLASS_P): Likewise.
2859 (MAYBE_INTEGER_CLASS_P): Likewise.
2860 (MAYBE_FLOAT_CLASS_P): Likewise.
2861 (MAYBE_SSE_CLASS_P): Likewise.
2862 (MAYBE_MMX_CLASS_P): Likewise.
2863 (Q_CLASS_P): Likewise.
2864 (GENERAL_REGNO_P): Uppercase macro parameter.
2865 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2866 (FP_REGNO_P): Likewise.
2867 (ANY_FP_REGNO_P): Uppercase macro parameter.
2868 (SSE_REGNO_P): Likewise.
2869 (SSE_REGNO): Likewise.
2870 (SSE_REG_P): Likewise.
2871 (SSE_FLOAT_MODE_P): Likewise.
2872 (MMX_REGNO_P): Likewise.
2873 (MMX_REG_P):Likewise.
2874 (STACK_REG_P): Likewise.
2875 (NON_STACK_REG_P): Likewise.
2876 (STACK_TOP_P): Likewise.
2877 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2878 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2879 (SECONDARY_MEMORY_NEEDED): Likewise.
2880 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2881 (MD_ASM_CLOBBERS): Whitespace and wrap.
2882 (MUST_PASS_IN_STACK): Whitespace and wrap.
2883 (RETURN_POPS_ARGS): Add parenthesis.
2884 (INIT_CUMULATIVE_ARGS): Likewise.
2885 (FUNCTION_ARG): Likewise.
2886 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2887 (SETUP_INCOMING_VARARGS): Likewise.
2888 (BUILD_VA_LIST_TYPE): Add parenthesis.
2889 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2891 (EXPAND_BUILTIN_VA_ARG): Likewise.
2892 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2893 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2894 (INITIAL_ELIMINATION_OFFSET): Likewise.
2895 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2896 (REGNO_OK_FOR_BASE_P): Likewise.
2897 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2898 (REGNO_OK_FOR_DIREG_P): Likewise.
2899 (REG_OK_FOR_INDEX_P): Whitespace.
2900 (REG_OK_FOR_BASE_P): Whitespace.
2901 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2903 (FIND_BASE_TERM): Fix typo.
2904 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2905 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2906 (SYMBOLIC_CONST; Whitespace.
2907 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2908 (ENCODE_SECTION_INFO): Whitespace.
2909 (FINALIZE_PIC): Remove do { ... } while (0).
2910 (PROMOTE_MODE): Wrap in do { ... } while (0).
2911 (CONST_COSTS): Whitespace.
2912 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2913 (REGISTER_MOVE_COST): Add parenthesis.
2914 (MEMORY_MOVE_COST): Likewise.
2915 (EXTRA_CC_MODES): Whitespace.
2916 (SELECT_CC_MODE): Add parenthesis and whitespace.
2917 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2918 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2919 (ASM_OUTPUT_LABEL): Add paramethesis.
2920 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2921 (ASM_OUTPUT_REG_POP): Likewise.
2922 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2923 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2925 * config/i386/i386.c: Update copyright.
2926 (CHECK_STACK_LIMIT): Add parenthesis.
2927 (AT_BP): Uppercase macro parameter.
2928 (x86_64_int_parameter_registers): Constify.
2929 (x86_64_int_return_registers): Likewise.
2930 (ix86_compare_op0): Use rtx.
2931 (construct_container): Constify INTREG parameter.
2932 (function_arg): Use rtx.
2934 * diagnostic.h: Update copyright date.
2935 (output_buffer_state): Add parenthesis.
2936 (output_buffer_format_args): Likewise.
2938 * combine.c (combine_instructions): Replace XEXP (links, 0)
2941 2002-01-06 H.J. Lu <hjl@gnu.org>
2943 * cfgcleanup.c (thread_jump): Fix 2 typos.
2945 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2947 * config.gcc: Add support for --enable-altivec.
2949 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2951 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2953 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2955 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2956 __objc_class_name_*.
2958 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2960 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2962 2002-01-06 Richard Henderson <rth@redhat.com>
2964 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2965 nop them out. Increment label reference count for REG_LABEL.
2966 (fill_slots_from_thread): Frob label reference count around
2967 delete_related_insns.
2969 2002-01-05 Richard Henderson <rth@redhat.com>
2971 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2974 2002-01-05 Richard Henderson <rth@redhat.com>
2976 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2977 * integrate.c (output_inline_function): Likewise.
2978 * toplev.c (rest_of_compilation): Do it here instead. Move call
2979 to remove_unnecessary_notes after emitting abstract instance.
2980 Force an emitted nested function to have its parent emited as well.
2981 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2983 (rtl_for_decl_location): Do not look at reload data structures
2984 before reload has run.
2986 2002-01-05 Kazu Hirata <kazu@hxi.com>
2988 * cse.c: Fix formatting.
2989 * dwarf2asm.c: Likewise.
2990 * dwarf2out.c: Likewise.
2991 * explow.c: Likewise.
2992 * expmed.c: Likewise.
2993 * function.c: Likewise.
2995 * gencheck.c: Likewise.
2996 * genrecog.c: Likewise.
2997 * ggc-common.c: Likewise.
2998 * ggc-page.c: Likewise.
2999 * global.c: Likewise.
3001 2002-01-05 Kazu Hirata <kazu@hxi.com>
3003 * combine.c: Fix formatting.
3005 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
3008 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
3010 2002-01-05 David Edelsohn <edelsohn@gnu.org>
3012 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
3013 as 1 for __powerpc64__ as well.
3015 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
3017 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
3020 2002-01-05 Daniel Berlin <dan@dberlin.org>
3022 * lcm.c: Revert change, due to performance regression it causes on
3023 SPEC because it's slightly more conservative (sigh, I hate
3026 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
3028 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
3030 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
3032 * doc/cppinternals.texi: Update.
3034 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
3036 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
3037 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
3039 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
3040 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
3041 kludge for pre-october-14th mmix versions to handle new-found bug
3042 with PUSHJ/PUSHGO and the register stack.
3043 * config/mmix/mmix.h (struct machine_function): Rename member
3044 has_call_value_without_parameters to has_call_without_parameters.
3045 All referers changed.
3046 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
3047 TARGET_MASK_BRANCH_PREDICT): New macros.
3048 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
3049 -mno-reg-stack-fill-bug-workaround.
3050 * config/mmix/mmix.md ("call"): Set struct machine member
3051 has_call_without_parameters.
3053 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
3055 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
3057 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
3059 * cfgcleanup.c: Include tm_p.h
3060 (mark_effect): Fix handling of hard register; fix handling of SET
3062 2002-01-04 Kazu Hirata <kazu@hxi.com>
3064 * config/h8300/h8300.md (anonymous patterns): Check that
3065 operands are registers before using REGNO on them.
3067 2002-01-03 Roland McGrath <roland@frob.com>
3069 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
3071 2002-01-04 Jakub Jelinek <jakub@redhat.com>
3073 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
3074 * c-common.h (genrtl_expr_stmt_value): Likewise.
3075 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
3076 (expand_expr_stmt_value): Add maybe_last argument.
3077 Don't warn about statement with no effect if it is the last statement
3078 in expression statement.
3079 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
3080 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
3081 expand_expr_stmt_value.
3082 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
3083 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
3084 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
3085 as maybe_last to expand_expr_stmt_value.
3087 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
3089 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
3090 be passed in, do not build it.
3091 (c_begin_if_stmt): New function.
3092 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
3093 * c-common.h (c_expand_start_cond): Update prototype.
3094 (c_begin_if_stmt): Prototype new function.
3095 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
3096 * c-parse.in (if_prefix): Use c_begin_if_stmt,
3097 c_begin_while_stmt and c_finish_while_stmt_cond.
3099 2002-01-04 William Cohen <wcohen@redhat.com>
3101 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
3102 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
3103 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
3104 * config/pa/som.h (ASM_FILE_START): Likewise.
3106 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
3108 * lcm.c: Include df.h.
3109 Add available_transfer_function prototype.
3110 (compute_available): Rework to use iterative dataflow framework.
3111 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
3112 with bb_info in df.h
3113 (available_transfer_function): New function.
3115 * Makefile.in (lcm.o): add df.h to dependencies.
3117 2002-01-04 Richard Henderson <rth@redhat.com>
3119 * config/alpha/alpha.c (some_operand): Accept HIGH.
3120 (input_operand): Likewise; accept simple references to globals.
3121 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
3122 (alpha_const_double_ok_for_letter_p): Likewise.
3123 (alpha_extra_constraint): Likewise.
3124 (alpha_preferred_reload_class): Likewise. Do not force
3125 symbolic constants to memory.
3126 (alpha_legitimate_address_p): Accept simple references
3127 to small_symbolic_operand.
3128 (alpha_legitimize_address): New arg scratch. Be prepared to be
3129 called when no_new_pseudos. Emit simple symbolic references.
3130 Split integers into low, high, and rest.
3131 (alpha_expand_mov): Use alpha_legitimize_address.
3132 (some_small_symbolic_mem_operand): New.
3133 (split_small_symbolic_mem_operand): New.
3134 * config/alpha/alpha-protos.h: Update.
3135 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
3136 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
3137 (EXTRA_CONSTRAINT): Likewise.
3138 (PREFERRED_RELOAD_CLASS): Likewise.
3139 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
3140 (PREDICATE_CODES): Update.
3141 * config/alpha/alpha.md: New post-reload splitters to convert
3142 simplfied symbolic operands to the form that references $29.
3143 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
3144 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
3146 2002-01-03 Richard Henderson <rth@redhat.com>
3148 * local-alloc.c (function_invariant_p): Update commentary.
3150 2002-01-04 H.J. Lu <hjl@gnu.org>
3152 * toplev.c (rest_of_compilation): Fix a typo when calling
3155 2002-01-03 Kazu Hirata <kazu@hxi.com>
3157 * c-common.c: Fix formatting.
3158 * diagnostic.c: Likewise.
3159 * doloop.c: Likewise.
3160 * dwarf2out.c: Likewise.
3162 2002-01-03 Kazu Hirata <kazu@hxi.com>
3164 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
3165 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
3167 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
3169 * cpperror.c: Update comments and copyright.
3170 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
3171 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
3173 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
3175 * collect2.c (main): Use strcmp when testing for "-shared".
3177 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
3179 * cppmacro.c: Don't include intl.h. Update comments.
3180 (new_number_token): Allocate enough buffer for 64-bit unsigned
3181 integers; update prototype.
3182 * cppmain.c: Update comments.
3184 2002-01-03 William Cohen <wcohen@redhat.com>
3186 * function.h (struct function): Add profile.
3187 (current_function_profile): New.
3188 doc/extend.texi: Update documentation.
3189 * final.c (final_start_function): Use current_function_profile
3190 instead of profile_flag.
3191 (profile_after_prologue): Likewise.
3192 * function.c (expand_function_start): Likewise.
3193 (expand_function_start): Likewise.
3194 * config/alpha/alpha.c (direct_call_operand):
3195 (alpha_does_function_need_gp): Likewise.
3196 (alpha_expand_prologue): Likewise.
3197 * config/arm/arm.c (arm_expand_prologue): Likewise.
3198 thumb_expand_prologue: Likewise.
3199 * config/d30v/d30v.c (d30v_stack_info): Likewise.
3200 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
3201 (fr30_expand_prologue): Likewise.
3202 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
3203 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
3204 * config/i386/i386.h (FINALIZE_PIC): Likewise.
3205 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
3206 * config/i960/i960.c (i960_output_function_prologue): Likewise.
3207 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
3208 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
3209 (m32r_expand_prologue): Likewise.
3210 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
3211 (m88k_expand_prologue): Likewise.
3212 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
3213 * config/mips/mips.c (compute_frame_size): Likewise.
3214 (mips_expand_prologue): Likewise.
3215 (mips_can_use_return_insn): Likewise.
3216 * config/pa/elf.h (ASM_FILE_START): Likewise.
3217 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
3218 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
3219 * config/pa/som.h (ASM_FILE_START): Likewise.
3220 * config/romp/romp.c (romp_using_r14): Likewise.
3221 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
3222 (rs6000_stack_info): Likewise.
3223 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
3224 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
3225 * config/v850/v850.c (compute_register_save_size): Likewise.
3227 2002-01-03 Jakub Jelinek <jakub@redhat.com>
3229 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
3230 gen_lowpart_common fails, use gen_lowpart_SUBREG.
3232 2002-01-03 Turly O'Connor <turly@apple.com>
3234 * darwin.c (machopic_output_possible_stub_label): Don't generate
3235 stub routines for pseudo-stubs which we've just defined.
3237 2002-01-03 Kazu Hirata <kazu@hxi.com>
3239 * builtins.c: Fix formatting.
3240 * c-typeck.c: Likewise.
3241 * combine.c: Likewise.
3245 2002-01-03 Andreas Schwab <schwab@suse.de>
3247 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
3248 and return true if _cpp_push_next_buffer pushed a new include
3250 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
3251 _cpp_pop_file_buffer did not push a new file.
3252 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
3254 2002-01-02 Eric Christopher <echristo@redhat.com>
3256 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
3257 FIND_REG_INC_NOTE call. Update copyright.
3258 * loop.c (canonicalize_condition): Ditto.
3259 * reorg.c (delete_scheduled_jump): Ditto.
3261 2002-01-03 Kazu Hirata <kazu@hxi.com>
3263 * gcse.c: Fix formatting.
3265 2002-01-03 Graham Stott <grahams@redhat.com>
3267 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
3268 forward defs for struct tags rtx_def, union_tree, rtvec_def
3269 also output corresponding typedefs for rtx, tree, and rtvec.
3271 * system.h: Move forward defs for struct tags rtx_def, union_tree,
3272 rtvec_def along with corresponding typedefs for rtx, tree, and
3273 rtvec to config.h, hconfig.h, tconfig.h.
3275 2002-01-03 Graham Stott <grahams@redhat.com>
3277 * tree.h: Update copyright date.
3278 (IS_EXPR_CODE_CLASS): Add parenthesis.
3279 (TREE_SET_CODE): Add whitespace.
3280 (TREE_CHECK): Add parenthesis.
3281 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
3282 (CST_OR_CONSTRUCTOR_CHECK):
3283 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
3284 (TREE_SYMBOL_REFERENCED): Whitespace.
3285 (INT_CST_LT): Likewise.
3286 (INT_CST_LT_UNSIGNED): Likewise.
3287 (tree_real_cst): Unwrap comment.
3288 (tree_string): Likewise.
3289 (tree_complex): Likewise.
3290 (IDENTIFIER_POINTER): correct cast.
3291 (SAVE_EXPR_CONTEXT): Whitespace.
3292 (EXPR_WFL_FILENAME_NODE): Likewise.
3293 (EXPR_WFL_FILENAME): Remove parenthesis.
3294 (DECL_ORIGIN): Add parenthesis.
3295 (DECL_FROM_INLINE): Use NULL_TREE.
3296 (build_int_2): Whitespace.
3297 (build_type_variant): Add parenthesis.
3299 * gcc/jcf-parse.c: Update copyright date.
3300 (yyparse): Constify resource_filename.
3302 2002-01-03 Graham Stott <grahams@redhat.com>
3304 * rtl.h: Update copyright date.
3305 (RTL_CHECK1): Wrap long line.
3306 (RTL_CHECK2): Likewise.
3307 (RTL_CHECKC1): Wrap long line and whitespace.
3308 (RTL_CHECKC2): Likewise.
3309 (XWINT): Whitespace.
3315 (XBITMAP): Likewise.
3326 (X0BITMAP): Likewise.
3328 (X0BBDEF): Likewise.
3329 (X0ADVFLAGS): Likewise.
3330 (X0CSELIB): Likewise.
3331 (X0MEMATTR): Likewise.
3339 (XCBITMAP): Likewise.
3341 (XCBBDEF): Likewise.
3342 (XCADVFLAGS): Likewise.
3343 (XCCSELIB): Likewise.
3345 (INSN_UID): Likewise.
3346 (PREV_INSN): Likewise.
3347 (PATTERN): Likewise.
3348 (INSN_CODE): Likewise.
3349 (PUT_REG_NOTE_KIND): Likewise.
3350 (CODE_LABEL_NUMBER): Likewise.
3351 (NOTE_SOURCE_FILE): Likewise.
3352 (NOTE_BLOCK): Likewise.
3353 (NOTE_EH_HANDLER): Likewise.
3354 (NOTE_RANGE_INFO): Likewise.
3355 (NOTE_LIVE_INFO): Likewise.
3356 (NOTE_BASIC_BLOCK): Likewise.
3357 (NOTE_EXPECTED_VALUE): Likewise.
3358 (NOTE_LINE_NUMBER): Likewise.
3359 (LABEL_NAME): Likewise.
3360 (LABEL_NUSES): Likewise.
3361 (LABEL_ALTERNATE_NAME): Likewise.
3362 (ADDRESSOF_DECL): Likewise.
3363 (JUMP_LABEL): Likewise.
3364 (LABEL_NEXTREF): Likewise.
3366 (ORIGINAL_REGNO: Likewise.
3367 (HARD_REGISTER_NUM_P): Add parenthesis.
3368 (SUBREG_REG): Whitespace.
3369 (SUBREG_BYTE): Likewise.
3370 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
3371 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
3372 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
3373 (ASM_OPERANDS_INPUT_VEC): Likewise.
3374 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
3375 (ASM_OPERANDS_INPUT): Likewise.
3376 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
3377 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
3378 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
3379 (ASM_OPERANDS_INPUT_MODE): Likewise.
3380 (ASM_OPERANDS_SOURCE_FILE): Likewise.
3381 (ASM_OPERANDS_SOURCE_LINE): Likewise.
3382 (MEM_SET_IN_STRUCT_P): Minor reformat.
3383 (TRAP_CONDITION): Whitespace.
3384 (TRAP_CODE): Likewise.
3385 (COND_EXEC_TEST): Likewise.
3386 (COND_EXEC_CODE): Likewise.
3387 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
3388 (PHI_NODE_P): Add parenthesis.
3389 (plus_constant): Whitespace and add parenthesis.
3391 2002-01-03 Kazu Hirata <kazu@hxi.com>
3393 * config/avr/avr.c: Fix comment typos.
3394 * config/c4x/c4x.md: Likewise.
3395 * config/dsp16xx/dsp16xx.h: Likewise.
3396 * config/dsp16xx/dsp16xx.md: Likewise.
3397 * config/i386/i386.md: Likewise.
3398 * config/ia64/ia64.c: Likewise.
3399 * config/m32r/m32r.h: Likewise.
3400 * config/m68hc11/m68hc11.md: Likewise.
3401 * config/mmix/mmix.c: Likewise.
3402 * config/mn10200/mn10200.c: Likewise.
3403 * config/romp/romp.c: Likewise.
3404 * config/sh/sh.c: Likewise.
3405 * config/stormy16/stormy16.c: Likewise.
3406 * config/stormy16/stormy16.h: Likewise.
3407 * config/stormy16/stormy16.md: Likewise.
3409 2002-01-03 Graham Stott <grahams@redhat.com>
3411 * loop.h: Update copyright date.
3412 (LOOP_MOVABLES): Fix typo.
3413 (LOOP_REGS): Likewise.
3414 (LOOP_IVS): Likewise.
3416 2002-01-03 Graham Stott <grahams@redhat.com>
3418 * cppinit.c: Update copyright date.
3419 Don't include output.h
3420 * Makefile.in: Update copyright date.
3423 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
3426 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
3427 (-pthread) Add to RS/6000 options.
3429 2002-01-02 Kazu Hirata <kazu@hxi.com>
3431 * except.c: Fix comment typos.
3433 * varasm.c: Likewise.
3434 * doc/tm.texi: Fix a typo.
3436 2002-01-02 Jakub Jelinek <jakub@redhat.com>
3438 * c-typeck.c (output_init_element): Allow initializing static storage
3439 duration objects with compound literals.
3441 2002-01-02 Richard Henderson <rth@redhat.com>
3443 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
3446 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3448 * gcc.c (default_compilers): Const-ify.
3449 * mips-tdump.c (stab_names): Likewise.
3450 * mips-tfile.c (map_coff_types, map_coff_storage,
3451 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
3452 pseudo_ops_t, pseudo_ops): Likewise.
3453 * protoize.c (default_include): Likewise
3455 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
3456 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
3457 Add array size in declaration.
3458 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
3459 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
3460 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
3461 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
3462 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
3463 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
3464 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
3465 emtens, make_nan): Const-ify.
3466 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
3467 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
3469 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
3471 * config.gcc (ia64-*-*): Set extra_headers.
3472 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
3473 * config/alpha/t-osf: Remove.
3474 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
3476 2002-01-02 David Edelsohn <edelsohn@gnu.org>
3478 * config/rs6000/t-aix43: Revert previous change.
3480 2002-01-02 Jason Merrill <jason@redhat.com>
3482 * c-decl.c (c_expand_body): Call outlining_inline_function when
3483 emitting an inline function out of line.
3485 2002-01-02 Richard Henderson <rth@redhat.com>
3487 * dwarf2out.c (limbo_die_node): Add created_for member.
3488 (new_die): New argument created_for. Update all callers.
3489 (mark_limbo_die_list): New.
3490 (dwarf2out_init): Register limbo_die_list as a root.
3491 (dwarf2out_finish): Force insert limbo dies into their function
3494 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
3497 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
3499 2002-01-02 Kazu Hirata <kazu@hxi.com>
3501 * config/h8300/fixunssfsi.c: Update copyright.
3504 * config/h8300/h8300.c: Update copyright.
3507 2002-01-02 Kazu Hirata <kazu@hxi.com>
3509 * config/romp/romp.c: Fix comment formatting.
3510 * config/romp/romp.h: Likewise.
3511 * config/romp/romp.md: Likewise.
3512 * config/s390/s390.c: Likewise.
3513 * config/stormy16/stormy16.c: Likewise.
3514 * config/stormy16/stormy16.h: Likewise.
3516 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
3518 * c-common.h (genrtl_expr_stmt_value): Declare.
3519 * c-semantics.c (genrtl_goto_stmt): Redirect to...
3520 (genrtl_goto_stmt_value): ... this new function. Pass new
3521 argument down to expand_expr_stmt_value, taking
3522 TREE_ADDRESSABLE into account.
3523 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
3524 STMT_EXPR as addressable, i.e., one whose result we want.
3525 * expr.c (expand_expr): Don't save expression statement value
3526 of labeled_blocks or loop_exprs.
3527 * stmt.c (expand_expr_stmt): Redirect to...
3528 (expand_expr_stmt_value): ... this new function. Use new
3529 argument to tell whether to save expression value.
3530 (expand_end_stmt_expr): Reset last_expr_type and
3531 last_expr_value if we don't have either.
3532 * tree-inline.c (declare_return_variable): Mark its use
3533 statement as addressable.
3534 * tree.h: Document new use of TREE_ADDRESSABLE.
3535 (expand_expr_stmt_value): Declare.
3537 2002-01-01 Tom Rix <trix@redhat.com>
3539 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
3540 rs6000_emit_allocate_stack.
3542 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
3544 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
3545 ${srcdir}/ginclude/ to every entry in extra_headers.
3546 * configure: Regenerate.
3547 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
3548 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
3549 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
3550 * ginclude/proto.h: Rename to config/convex/proto.h.
3552 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3554 * attribs.c (handle_vector_size_attribute): Use host_integerp
3555 and tree_int_cst; remove warnings.
3556 * caller-save.c (insert_restore): Add cast to get rid of warning.
3557 (insert_save): Likewise.
3558 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
3559 * regmove.c (find_matches): Add temporary var to kill a warning.
3561 2002-01-01 Douglas B Rupp <rupp@gnat.com>
3563 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
3564 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
3565 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
3566 (vms-dwarf2eh.o): Add Makefile rule.
3567 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
3568 * config/alpha/vms-dwarf2eh.asm: New file.
3570 * gcc.c (delete_if_ordinary): Delete all versions.
3572 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
3574 * config/mmix/mmix.md: Update FIXME to not mention
3576 (MMIX_rJ_REGNUM): New define_constants constant.
3577 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
3578 "*movdicc_real"): Adjust contraints formatting.
3579 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
3580 for branch prediction.
3581 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
3583 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
3584 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
3585 number. Delete related FIXMEs.
3586 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
3587 from number to MMIX_rJ_REGNUM.
3588 (TARGET_MASK_BRANCH_PREDICT): New.
3589 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
3590 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
3591 value. Add -mbranch-predict and -mno-branch-predict.
3592 (TARGET_VERSION): Drop date.
3593 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
3594 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
3595 for finding out global symbols.
3596 (mmix_asm_output_labelref): Revert condition for global symbol.
3597 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
3598 (mmix_print_operand_punct_valid_p): A '+' is valid.
3600 See ChangeLog.6 for earlier changes.