1 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
3 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
4 * config/s390/t-linux64: New file.
5 * config/s390/libgcc-glibc.ver: New file.
7 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
9 * config/s390/linux64.h: Delete file.
10 * config/s390/s390x.h: New file.
11 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
12 as target header file.
13 * config/s390/linux.h (TARGET_VERSION): Define depending on
15 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
16 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
17 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
18 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
19 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
20 (EXTRA_SPEC): New define.
21 * config/s390/s390.h (TARGET_VERSION): Define depending on
23 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
25 2002-02-06 Jason Merrill <jason@redhat.com>
27 * c-decl.c (finish_function): Warn about a non-void function with
28 no return statement and no abnormal exit.
29 (current_function_returns_abnormally): New variable.
30 (start_function): Clear it.
31 (struct c_language_function): Add returns_abnormally.
32 (push_c_function_context): Save it.
33 (pop_c_function_context): Restore it.
34 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
35 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
36 an explicit return type.
37 * c-tree.h: Declare current_function_returns_abnormally.
38 (C_FUNCTION_IMPLICIT_INT): New macro.
39 * c-typeck.c (build_function_call): Set it.
40 (c_expand_return): Set current_function_returns_value even if the
43 2002-02-06 Jakub Jelinek <jakub@redhat.com>
46 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
47 unsafe for reevaluation.
49 2002-02-06 Jakub Jelinek <jakub@redhat.com>
52 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
53 EXPR_STMT, but COMPOUND_STMT, recurse into it.
55 2002-02-06 Richard Henderson <rth@redhat.com>
57 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
58 be a general_operand. Dest for function value must be a pseudo.
60 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
62 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
63 as SYMBOL_REFs from the constant pool.
65 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
67 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
68 passed by invisible reference.
70 2002-02-05 Richard Henderson <rth@redhat.com>
72 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
74 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
76 Implement using "base addresses" in insn operands as default.
77 * config/mmix/mmix.c (mmix_conditional_register_usage): if
78 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
79 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
80 used to read the rtx value.
81 (mmix_target_asm_function_epilogue): Fix spacing.
82 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
83 (mmix_legitimate_address): Ditto.
84 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
85 should be loaded with a GETA insn. Don't allocate needless extra
86 char for nul termination and fix misleading comment.
87 (mmix_print_operand_address): Handle constants if
88 TARGET_BASE_ADDRESSES.
89 (mmix_output_register_setting): Use base addressing if
90 TARGET_BASE_ADDRESSES and the number of insns is 3.
91 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
92 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
93 to use R as constraint, add LDA to match s.
94 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
95 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
96 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
97 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
98 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
99 order with other fixed registers.
100 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
101 other parameter/call-clobbered registers.
102 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
103 -mbase-addresses, -mno-base-addresses.
104 (MMIX Options): Ditto.
106 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
108 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
110 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
112 * config/rs6000/altivec.h: Change elem to _S_elem.
114 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
116 * config/netbsd.h (WCHAR_TYPE): Define.
117 (WCHAR_TYPE_SIZE): Ditto.
119 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
120 (WCHAR_UNSIGNED): Ditto.
121 (WCHAR_TYPE_SIZE): Ditto.
123 * config/arm/netbsd.h: Likewise.
124 * config/i386/netbsd-elf.h: Likewise.
125 * config/i386/netbsd.h: Likewise.
126 * config/m68k/netbsd-elf.h: Likewise.
127 * config/m68k/netbsd.h: Likewise.
128 * config/ns32k/netbsd.h: Likewise.
129 * config/sparc/netbsd.h: Likewise.
130 * config/vax/netbsd.: Likewise.
132 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
134 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
135 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
136 (TARGET_INITIALIZER): this.
137 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
138 (BITFIELD_NBYTES_LIMITED): Markup fix.
139 * tree.h (default_ms_bitfield_layout_p): Declare.
140 (record_layout_info): Added prev_field.
141 * tree.c (default_ms_bitfield_layout_p): New fn.
142 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
143 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
144 * stor-layout.c: Include target.h.
145 (start_record_layout): Initialize prev_field.
146 (place_field): Handle MS bit-field layout, and disregard
147 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
148 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
149 * Makefile.in (stor-layout.o): Adjust dependencies.
151 2002-02-05 Jason Merrill <jason@redhat.com>
153 * c-typeck.c (convert_for_assignment): Don't allow conversions
154 between pointers and references. Only allow lvalues to convert to
157 * c-decl.c (finish_function): Warn about a non-void function with
158 no return statement and no abnormal exit.
159 (current_function_returns_abnormally): New variable.
160 (start_function): Clear it.
161 (struct c_language_function): Add returns_abnormally.
162 (push_c_function_context): Save it.
163 (pop_c_function_context): Restore it.
164 * c-tree.h: Declare current_function_returns_abnormally.
165 * c-typeck.c (build_function_call): Set it.
167 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
169 2002-02-05 Andreas Jaeger <aj@suse.de>
171 * crtstuff.c: Fix comments.
173 2002-02-05 Richard Henderson <rth@redhat.com>
176 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
177 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
180 * config/mips/mips.c (function_arg): Handle TImode.
181 (function_arg_advance): Likewise.
183 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
185 * config/rs6000/altivec.h (vec_step_help): Rename to
188 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
190 * config/rs6000/altivec.h: Fix typos.
192 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
194 * config/arm/netbsd.h: Correct a comment.
196 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
198 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
199 building void typed builtins.
201 * config/rs6000/altivec.h (vec_ld*): Fix typos.
202 (vec_step): Implement for C++.
204 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
206 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
208 2002-02-04 Richard Henderson <rth@redhat.com>
210 * combine.c (nonzero_bits): Re-introduce special case for
211 sp/fp/ap wrt REGNO_POINTER_ALIGN.
213 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
215 * doc/extend.texi: Warn about unsupported usage of altivec
218 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
219 (altivec_predicate_*): New.
221 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
222 Add C++ version of vec_*() functions.
224 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
225 (bdesc_2arg): Remove altivec predicates.
226 (altivec_expand_builtin): Handle predicates.
227 (altivec_init_builtins): Handle predicates.
228 (altivec_expand_predicate_builtin): New.
230 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
232 * pa.c (DO_FRAME_NOTES): Move forward.
233 (store_reg): Revise handling of frame notes.
234 (load_reg): Likewise.
235 (set_reg_plus_d): Likewise.
236 (hppa_expand_prologue): Likewise.
237 (hppa_expand_epilogue): Likewise.
239 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
241 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
243 2002-02-04 Jakub Jelinek <jakub@redhat.com>
246 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
247 * c-common.h (SWITCH_TYPE): Define.
248 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
249 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
250 Rename spareness variable to sparseness.
251 (expand_end_case_type): Renamed from expand_end_case, use orig_type
252 if non-NULL instead of TREE_TYPE (orig_index).
253 * tree.h (expand_end_case_type): Renamed from expand_end_case.
254 (expand_end_case): Define using expand_end_case_type.
255 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
256 to expand_end_case_type.
257 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
259 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
261 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
262 (BIGGEST_ALIGNMENT): Change to 128.
264 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
266 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
268 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
270 * pa.md (call_internal_reg_64bit): Remove unused variable.
272 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
274 * config/arm/arm.h (machine_function): Add uses_anonymous_args
276 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
277 * config/arm/arm.c (current_function_anonymous_args): Delete,
278 replace uses with cfun->machine->uses_anonymous_args.
279 (arm_reorg): Do not reset uses_anonymous_args.
281 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
282 any geenral register.
284 2001-02-04 Bernd Schmidt <bernds@redhat.com>
286 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
289 2002-02-04 Richard Henderson <rth@redhat.com>
291 * combine.c (force_to_mode): Remove STACK_BIAS code.
292 (nonzero_bits): Likewise. Replace sp/fp special case with
295 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
296 (HARD_FRAME_POINTER_REGNUM): New.
297 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
298 (FIXED_REGS, CALL_USED_REGS): Update.
299 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
300 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
301 (HARD_REGNO_NREGS): Update for SFP.
302 (STACK_POINTER_OFFSET): Include bias here ...
303 (FIRST_PARM_OFFSET): ... not here.
304 (STACK_BIAS): Remove.
305 (INIT_EXPANDERS): New.
306 (STARTING_FRAME_OFFSET): Do not include bias.
307 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
308 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
309 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
310 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
311 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
312 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
313 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
314 (MUST_SAVE_REGISTER): Likewise.
315 (sparc_flat_function_prologue): Likewise.
316 (sparc_flat_function_epilogue): Likewise.
317 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
318 (sparc_init_modes): SFP is GENERAL_REGS.
319 (sparc_builtin_saveregs): SFP does not have bias applied.
321 2002-02-04 Richard Henderson <rth@redhat.com>
323 * config/alpha/alpha.c (current_function_is_thunk): Don't check
324 current_function_is_thunk.
325 (alpha_sa_mask): Distinguish between current_function_is_thunk
326 called from ASM_OUTPUT_MI_THUNK and not.
327 (alpha_does_function_need_gp): Thunks always need gp.
328 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
329 (alpha_output_mi_thunk_osf): New.
330 * config/alpha/alpha-protos.h: Update.
331 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
333 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
335 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
336 function types, not when they're taken away.
338 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
340 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
341 CODE_LABEL and jump table when replacing a table jump with a
344 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
346 * config/s390/s390-protos.h (legitimize_la_operand,
347 s390_secondary_input_reload_class, s390_plus_operand,
348 s390_expand_plus_operand): Add prototypes.
350 config/s390/s390.c (s390_secondary_input_reload_class,
351 s390_plus_operand, s390_expand_plus_operand): New functions.
353 (struct s390_address): New member 'pointer'.
354 (s390_decompose_address): Compute it.
355 (legitimate_la_operand_p): Use it.
356 (legitimize_la_operand): New function.
357 (movti, movdi, movdf splitters): Call it.
359 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
360 (PREDICATE_CODES): Add s390_plus_operand.
362 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
363 (la_ccclobber): Allow GENERAL_REGS as output operand.
365 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
366 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
367 (*la_64, *la_31, reload_indi, reload_insi): ... these.
369 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
371 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
372 register names for regular asm () construct.
374 2002-02-04 Jakub Jelinek <jakub@redhat.com>
376 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
379 2002-02-04 Jakub Jelinek <jakub@redhat.com>
381 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
384 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
386 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
387 constant pool to be identical by string address and index.
389 2002-02-04 Anthony Green <green@redhat.com>
391 * output.h (SECTION_OVERRIDE): Define.
392 * varasm.c (named_section): Obey SECTION_OVERRIDE.
394 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
396 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
397 by existing arm*-*-netbsd* (a.out) target.
398 (ns32k-*-netbsdelf*): Likewise.
399 (sparc-*-netbsdelf*): Likewise.
400 (vax-*-netbsdelf*): Likewise.
402 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
404 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
405 headers and libobjc headers.
407 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
409 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
410 (_mingw.h): Remove duplicate include.
412 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
414 * config.gcc: Set cpu_type to m68k for 68010, as well.
415 (m68010-*-netbsdelf*): New...
416 (m68k*-*-netbsdelf*): ...targets.
417 * config/m68k/netbsd-elf.h: New file.
419 2002-02-02 Kazu Hirata <kazu@hxi.com>
421 * config/h8300/h8300.c (hand_list): Move inside function_arg.
423 2002-02-02 Kazu Hirata <kazu@hxi.com>
425 * config/h8300/h8300.c (h8_push_ops): Move inside
427 (h8_pop_ops): Likewise.
428 (h8_move_ops): Likewise.
430 2002-02-02 Kazu Hirata <kazu@hxi.com>
432 * config/h8300/h8300.c (os_task): Make it static.
434 (pragma_saveall): Likewise.
436 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
438 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
439 constant is a valid sign-extension for Pmode.
441 2002-02-02 Kazu Hirata <kazu@hxi.com>
443 * config/h8300/h8300.c: Fix formatting.
445 2002-02-02 Kazu Hirata <kazu@hxi.com>
447 * config/h8300/h8300.md: Fix formatting.
449 2002-02-02 Kazu Hirata <kazu@hxi.com>
451 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
452 predicates of operands[1]. Split the patterns for each
455 2002-02-02 Kazu Hirata <kazu@hxi.com>
457 * config/h8300/h8300.md (xor patterns): Tighten the predicates
458 of operands[1] to register_operand.
460 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
462 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
463 * cpphash.c (_cpp_init_hashtable): Similarly.
464 * cppinit.c (cpp_create_reader): Default the signed_char flag.
465 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
466 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
467 (cpp_handle_option): Handle the new options.
468 * cpplex.c (cpp_interpret_charconst): Use new flag.
469 * cpplib.h (struct cpp_options): New member signed_char.
470 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
471 (cpp_options): Handle -fsigned-char and -funsigned-char.
472 (static_specs): Remove signed_char_spec.
473 (do_spec1): Don't handle %c.
474 * system.h: Poison SIGNED_CHAR_SPEC.
475 * tradcif.y (yylex): Use flag_signed_char.
476 * tradcpp.h (flag_signed_char): New.
477 * tradcpp.c (flag_signed_char): New.
478 (main): Handle new command-line options.
479 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
481 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
482 * avr/avr.h: Remove old comments.
483 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
484 (CC1_SPEC): Pass -fsigned-char if -mic*.
485 (SIGNED_CHAR_SPEC): Remove.
487 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
489 2002-02-01 Eric Christopher <echristo@redhat.com>
491 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
492 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
493 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
494 (ASM_OUTPUT_REG_POP): Ditto.
496 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
498 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
501 2002-02-02 Jakub Jelinek <jakub@redhat.com>
503 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
505 2002-02-02 Jakub Jelinek <jakub@redhat.com>
508 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
511 2002-02-01 Janis Johnson <janis187@us.ibm.com>
513 * cfganal.c: Include tm_p.h.
514 (keep_with_call_p): Fix the test that determines if a register holds
515 the return value of a call.
517 2002-02-01 DJ Delorie <dj@redhat.com>
519 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
520 we are given conflicting registers, switch to the other one we
521 had allocated for us.
522 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
523 as TImode so we know when the "other" register is available.
525 2002-02-01 David O'Brien <obrien@FreeBSD.org>
527 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
530 2002-02-01 Janis Johnson <janis187@us.ibm.com>
532 * cfganal.c (keep_with_call_p): New function.
533 (flow_call_edges_add): Prevent splitting a block between a call and
534 a single-set instruction that should be kept in the same block.
536 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
538 * doc/install.texi (avr): Update outdated URL.
540 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
542 * config/stormy16/stormy16.md (pushqi): New.
546 (movhi): Remove stack operands.
548 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
549 nonimmediate_nonstack_operand.
550 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
552 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
555 2002-01-31 Jason Merrill <jason@redhat.com>
557 * Makefile.in (c-parse.c): Handle .output file.
558 * objc/Make-lang.in (objc-parse.c): Likewise.
560 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
562 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
563 the -me[lb] option is given. Don't output the default flag
566 2002-01-31 Zack Weinberg <zack@codesourcery.com>
568 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
569 the primary source file; this has not been done yet.
570 * c-decl.c (c_expand_body): Reset input_filename from
571 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
573 2002-01-31 Kazu Hirata <kazu@hxi.com>
575 * rtlanal.c (subreg_regno_offset): Do not use
577 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
578 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
580 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
582 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
583 version rather than GNATS version in --version output.
585 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
587 * ifcvt.c (noce_process_if_block): Make a copy of the destination
588 when copying back from a temporary.
590 2002-01-30 Richard Henderson <rth@redhat.com>
592 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
593 and new_dest are the same.
595 2002-01-30 Richard Henderson <rth@redhat.com>
598 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
599 * rtl.c (note_insn_name): Update.
600 * emit-rtl.c (remove_unnecessary_notes): Kill it.
601 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
602 to perform loop rotation.
603 (expand_exit_loop_top_cond): New.
604 * tree.h (expand_exit_loop_top_cond): Declare it.
605 * c-semantics.c (genrtl_while_stmt): Use it.
606 (genrtl_for_stmt): Likewise.
608 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
610 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
611 arguments to 64-bit boundaries on 64-bit ABIs.
613 2002-01-30 Steve Ellcey <sje@cup.hp.com>
615 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
617 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
619 * c-decl.c (grokdeclarator): Handle type being a typedef for an
622 2002-01-30 David O'Brien <obrien@FreeBSD.org>
624 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
625 * config/sparc/sparc_bi.h: Remove file.
626 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
628 2002-01-30 Richard Henderson <rth@redhat.com>
630 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
632 2002-01-30 Zack Weinberg <zack@codesourcery.com>
634 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
636 2002-01-30 Jason Merrill <jason@redhat.com>
638 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
639 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
640 (reg_save): Use DW_CFA_offset_extended_sf instead.
642 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
644 2002-01-29 Jakub Jelinek <jakub@redhat.com>
646 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
649 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
651 * rs6000.md ("*call_value_local32"): Remove constraints.
652 ("*call_value_local64"): Same.
653 ("*call_value_indirect_nonlocal_aix32"): Same.
654 ("*call_value_nonlocal_aix32"): Same.
655 ("*call_value_indirect_nonlocal_aix64"): Same.
656 ("*call_value_nonlocal_aix64"): Same.
657 ("*call_value_nonlocal_sysv"): Same.
659 2002-01-29 Richard Henderson <rth@redhat.com>
661 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
663 2002-01-29 Richard Henderson <rth@redhat.com>
665 * expr.c (force_operand): Ignore flag_pic for detecting pic
667 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
668 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
669 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
670 instead of open-coded loop.
671 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
672 be fixed when in use.
674 2002-01-29 Richard Henderson <rth@redhat.com>
676 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
677 * sched-rgn.c (propagate_deps): Update them.
678 * sched-deps.c (sched_analyze_insn): Update them. Flush the
679 clobbers list when either gets too long.
681 2002-01-29 Jakub Jelinek <jakub@redhat.com>
683 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
684 and INDEX_REGS the same as GENERAL_REGS.
685 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
687 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
689 * tree.c (build_nonstandard_integer_type): Correct prototype.
691 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
693 * config/s390/s390.md (movstrsico, movstrdix_64,
694 movstrsix_31): Remove, replace by ...
695 (movstrdi_short, movstrsi_short, movstrdi_long,
696 movstrsi_long): ... these. New.
697 (movstrdi, movstrsi): Adapt.
699 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
700 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
701 Remove unnecessary CC clobber.
702 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
703 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
705 (divmoddi4): Don't partially initialize TImode register.
707 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
709 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
711 2002-01-29 Richard Henderson <rth@redhat.com>
713 * flow.c (print_rtl_and_abort): Remove.
714 (print_rtl_and_abort_fcn): Remove.
715 (verify_local_live_at_start): Use dump_bb instead.
716 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
717 (verify_wide_reg_1): Return 2 on mode test failure.
719 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
721 PR c/3325, c/3326, c/2511, c/3347
722 * c-decl.c (enum_decl_context): Remove BITFIELD.
723 (grokdeclarator): Take bitfield width as an input.
724 Ensure bitfields are given the correct type. Perform
725 bitfield width validation with build_bitfield_integer_type
726 rather than waiting for finish_struct.
727 (grok_typename, grok_typename_in_parm_context, start_decl,
728 push_parmdecl, grokfield, start_function): Update calls to
730 (build_bitfield_integer_type): New function.
731 (finish_struct): Move bitfield validation to grokdeclarator
732 and build_bitfield_integer_type.
733 * tree.c (build_nonstandard_integer_type): New function.
734 * tree.h (build_nonstandard_integer_type): New prototype.
736 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
738 2002-01-29 Jakub Jelinek <jakub@redhat.com>
741 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
742 don't ignore unrecognized -W* options.
743 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
744 * cpplib.h (cpp_handle_option): Adjust prototype.
745 * c-decl.c (c_decode_options): Pass 0 as last argument to
749 * gcc.c (cpp_unique_options): Split from cpp_options.
750 (cpp_options): Source cpp_unique_options.
751 (default_compilers): Use cpp_unique_options instead of cpp_options
752 when used together with cc1_options.
753 (static_specs): Add cpp_unique_options.
754 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
755 when used together with cc1_options.
757 2002-01-29 Kazu Hirata <kazu@hxi.com>
759 * config/h8300/h8300-protos.h: Update the prototype of
761 * config/h8300/h8300.c (output_a_shift): Remove an unused
762 argument 'insn'. Remove redundant code.
763 * config/h8300/h8300.md: Adust to the new prototype of
766 2002-01-29 Kazu Hirata <kazu@hxi.com>
768 * config/h8300/h8300-protos.h: Update the prototypes of
769 emit_a_rotate and expand_a_rotate.
770 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
771 first argument to 'enum rtx_code'.
772 (expand_a_rotate): Likewise.
774 2002-01-28 Kazu Hirata <kazu@hxi.com>
776 * config/h8300/h8300-protos.h: Update the prototype of
778 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
780 * config/h8300/h8300.md: Adjust to the new prototype.
782 2002-01-28 Kazu Hirata <kazu@hxi.com>
784 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
787 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
789 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
790 is a fixed register before returning pic_offset_table_rtx.
791 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
792 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
794 2002-01-28 Jason Merrill <jason@redhat.com>
796 * dwarf2.h: Sync with src version.
798 2002-01-28 Paul Koning <pkoning@equallogic.com>
800 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
802 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
803 * doc/extend.texi (__builtin_prefetch): Update documentation:
804 first argument is now const void ptr.
806 2002-01-28 Kazu Hirata <kazu@hxi.com>
808 * config/h8300/h8300-protos.h: Remove an unused prototype.
810 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
812 * toplev.c (lang_independent_init): Round up identifier size.
814 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
816 * config.gcc: Revert previous change.
818 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
820 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
822 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
824 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
825 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
826 other non-elf netbsd config frags.
827 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
828 collect2 will does that.
829 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
830 shared-lib frobbing will work.
832 2002-01-28 Kazu Hirata <kazu@hxi.com>
834 * config/h8300/h8300.h: Fix formatting.
835 * config/h8300/h8300.md: Likewise.
837 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
839 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
840 the old, removed AAA_standards fix.
841 * fixinc/fixincl.x: Rebuilt.
843 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
845 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
846 atexit call in crtbegin, hooked in after call to frame_dummy;
847 register EH before registering __fini__start.
849 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
851 * config/rs6000/altivec.h: Remove spurious semicolons.
853 2002-01-27 Kazu Hirata <kazu@hxi.com>
855 * config/h8300/h8300.md: Replace dead bit extraction patterns
858 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
860 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
861 if not STRICT_ALIGNMENT.
862 * rtl.h (MEM_ALIGN): Likewise.
864 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
866 * doc/invoke.texi (-fdump-translation-unit): Revert this
867 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
869 2002-01-27 Kazu Hirata <kazu@hxi.com>
871 * config/h8300/h8300.md (define_constants): New.
872 (anonymous patterns) Use defined constants appropriately.
874 2002-01-27 Kazu Hirata <kazu@hxi.com>
876 * config/h8300/h8300.c (function_arg): Remove redundant code.
878 2002-01-26 Richard Henderson <rth@redhat.com>
880 * sched-deps.c (reg_pending_uses_head): New.
881 (reg_pending_barrier): Rename from reg_pending_sets_all.
882 (find_insn_list): Don't mark inline.
883 (find_insn_mem_list): Remove.
884 (add_dependence_list, add_dependence_list_and_free): New.
885 (flush_pending_lists): Replace only_write param with separate
886 for_read and for_write parameters. Update all callers. Use
887 add_dependence_list_and_free.
888 (sched_analyze_1): Do not add reg dependencies here; just set
889 the pending bits. Use add_dependence_list.
890 (sched_analyze_2): Likewise.
891 (sched_analyze_insn): Replace schedule_barrier_found with
892 reg_pending_barrier. Add all dependencies for pending reg
893 uses, sets, and clobbers.
894 (sched_analyze): Don't add reg dependencies for calls, just
895 set pending bits. Use regs_invalidated_by_call. Treat
896 sched_before_next_call as a normal list, not a fake insn.
897 (init_deps): No funny init for sched_before_next_call.
898 (free_deps): Free pending mems lists. Don't zero reg_last.
899 (init_deps_global): Init reg_pending_uses.
900 (finish_deps_global): Free it.
901 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
902 (find_insn_mem_list): Remove.
903 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
904 (propagate_deps): Use them. Zero temp mem lists.
906 2002-01-26 Richard Henderson <rth@redhat.com>
908 * Makefile.in (CRTSTUFF_CFLAGS): New.
909 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
910 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
911 crtstuff.c instead of alpha assembly version.
912 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
913 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
914 not FORCE_{INIT,FINI}_SECTION_ALIGN.
915 (__do_global_dtors_aux): Mark used.
916 (frame_dummy, __do_global_ctors_aux): Mark used.
917 (fini_dummy, init_dummy): Remove.
919 * config/alpha/crtbegin.asm: Remove file.
920 * config/alpha/crtend.asm: Remove file.
921 * config/alpha/t-crtbe: Remove file.
922 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
925 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
926 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
927 calling constructors.
928 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
930 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
931 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
932 CRT_END_INIT_DUMMY hack.
933 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
934 FORCE_{INIT,FINI}_SECTION_ALIGN.
936 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
937 FORCE_{INIT,FINI}_SECTION_ALIGN.
939 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
941 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
943 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
944 (FORCE_CODE_SECTION_ALIGN): New.
946 2002-01-26 Richard Henderson <rth@redhat.com>
948 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
950 2002-01-26 Richard Henderson <rth@redhat.com>
952 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
953 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
955 2002-01-26 Kazu Hirata <kazu@hxi.com>
957 * config/h8300/h8300.md: Remove bit extraction patterns that
959 Restrict each bit extraction pattern to a variant on which the
962 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
964 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
966 2002-01-26 Kazu Hirata <kazu@hxi.com>
968 * config/h8300/h8300.md: Remove bit test patterns that cannot
970 Restrict each bit test pattern to a variant on which the
973 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
975 * builtins.c (expand_builtin_strncat): Remove redundant check for
978 2002-01-25 David O'Brien <obrien@FreeBSD.org>
980 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
982 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
985 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
987 * dbxout.c (dbxout_init): Use assemble_name rather than just
988 stripping off the first character.
989 (dbxout_source_file): Likewise.
991 2002-01-25 DJ Delorie <dj@redhat.com>
993 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
994 using rtx_equal_p, not by comparing pointers.
996 2002-01-25 Steve Ellcey <sje@cup.hp.com>
998 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
999 for PIC_OFFSET_TABLE_REGNUM.
1000 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
1002 2002-01-25 David O'Brien <obrien@FreeBSD.org>
1004 * config.gcc (x86_64-*-freebsd*): New target.
1005 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
1007 (i[34567]86-*-freebsd*): Don't include svr4.h.
1008 * config/i386/freebsd64.h: New file.
1010 2002-01-25 Douglas B Rupp <rupp@gnat.com>
1012 * config/alpha/x-vms (version): Make static.
1014 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
1015 in previous checkin.
1017 * Makefile.in (install-headers-cp): New target.
1018 * config.gcc (alpha-dec-*vms*): Install headers with
1021 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
1023 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
1026 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1028 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
1029 of compare_tree_int.
1030 (expand_builtin_strncat): Likewise.
1031 * c-decl.c (finish_struct): Use tree_low_cst.
1032 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
1033 * tree.c (compare_tree_int): Likewise.
1035 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
1037 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
1038 adjustments even if they are implemented by more than two insns.
1040 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
1042 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
1043 * df.h (struct ref): Kill B.
1044 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
1046 * basic-block.h (PROP_EQUAL_NOTES): New flag.
1047 * flow.c (propagate_one_insn): Use it.
1048 (mark_used_regs): Handle NIL.
1050 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
1052 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
1055 2002-01-25 David Edelsohn <edelsohn@gnu.org>
1057 * rs6000.md (prefetch): Make address V4SI mode so that the address
1058 is restricted to legitimate form for instruction.
1060 2002-01-25 Bob Wilson <bob.wilson@acm.org>
1062 * doc/install.texi (xtensa-*-elf): New target.
1063 (xtensa-*-linux*): New target.
1064 * doc/contrib.texi: Add myself.
1066 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1068 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
1069 purpose register to hold an SImode (or smaller) value.
1071 2002-01-25 Jakub Jelinek <jakub@redhat.com>
1073 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
1075 * crtstuff.c: Likewise.
1077 2002-01-25 Kazu Hirata <kazu@hxi.com>
1079 * config/h8300/h8300.md (negation patterns): Tighten
1080 predicates to register_operand.
1082 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
1084 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
1087 * builtins.c (expand_builtin_prefetch): Same.
1089 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1091 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
1094 2002-01-24 Kazu Hirata <kazu@hxi.com>
1096 * config/h8300/h8300.c (print_operand): Remove support for
1097 operand character 'A'.
1098 * config/h8300/h8300.md (three anonymous patterns): Replace
1099 operand character 'A' with either 'T' or 'S'.
1101 2002-01-24 Kazu Hirata <kazu@hxi.com>
1103 * config/h8300/h8300.c (print_operand): Remove support for
1104 operand character 'U'.
1106 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
1108 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
1110 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
1112 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
1113 values to be assigned to the stack pointer.
1115 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1117 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
1118 to const_double needs to be done right for big-endian systems.
1120 2002-01-24 Jason Merrill <jason@redhat.com>
1123 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
1124 to can_throw_internal.
1126 2002-01-23 Richard Henderson <rth@redhat.com>
1128 * fold-const.c (fold): Change UINT_MAX test to check vs precision
1129 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
1131 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1133 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
1134 (symGOT2reg): Use them, then set as GOT value as unchanging.
1135 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
1136 as a temporary, if possible.
1137 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
1138 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
1140 2002-01-23 Kazu Hirata <kazu@hxi.com>
1142 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
1143 accept to accept 0x80 as operands[2].
1145 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1147 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
1149 2002-01-23 Richard Henderson <rth@redhat.com>
1151 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
1153 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
1155 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
1156 (parmlist_or_identifiers_1): Verify that only a parmlist follows
1159 2002-01-23 Richard Henderson <rth@redhat.com>
1161 * expr.c (move_by_pieces_1): Extend size before negation.
1163 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
1164 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
1165 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
1166 * config/m68k/t-m68kelf: Likewise.
1168 2002-01-23 Bob Wilson <bob.wilson@acm.org>
1170 * config/xtensa/elf.h: New file.
1171 * config/xtensa/lib1funcs.asm: New file.
1172 * config/xtensa/lib2funcs.S: New file.
1173 * config/xtensa/linux.h: New file.
1174 * config/xtensa/t-xtensa: New file.
1175 * config/xtensa/xtensa-config.h: New file.
1176 * config/xtensa/xtensa-protos.h: New file.
1177 * config/xtensa/xtensa.c: New file.
1178 * config/xtensa/xtensa.h: New file.
1179 * config/xtensa/xtensa.md: New file.
1180 * config.gcc (xtensa-*-elf*): New target.
1181 (xtensa-*-linux*): New target.
1182 * cse.c (canon_hash): Compare rtx pointers instead of register
1183 numbers. This is required for the Xtensa port.
1184 * integrate.c (copy_insn_list): Handle case where the static
1185 chain is in memory and the memory address has to be copied to
1187 * doc/invoke.texi (Option Summary): Add Xtensa options.
1188 (Xtensa Options): New node.
1189 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
1191 2002-01-23 Zack Weinberg <zack@codesourcery.com>
1193 * diagnostic.c (internal_error): Do ICE suppression only
1194 when ENABLE_CHECKING is not defined.
1196 * c-typeck.c (require_complete_type): Return error_mark_node
1197 if type is error_mark_node.
1199 2002-01-23 Janis Johnson <janis187@us.ibm.com>
1201 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
1202 -Os and issue a warning.
1204 2002-01-23 Zack Weinberg <zack@codesourcery.com>
1206 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
1207 current (lack of) need for host configuration by hand.
1209 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
1210 references. Documentation of some target macros moved from
1211 hostconfig.texi to tm.texi.
1213 2002-01-23 Will Cohen <wcohen@redhat.com>
1215 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
1218 2002-01-23 Kazu Hirata <kazu@hxi.com>
1220 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
1223 2002-01-23 Jason Merrill <jason@redhat.com>
1225 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
1227 * function.c (assign_parms): Don't put args of inline functions
1228 into registers when not optimizing.
1230 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1232 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
1233 (prologue_use): New pattern.
1234 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
1235 preference to gen_rtx_USE.
1236 (thumb_expand_prologue): Use gen_prologue_use in preference to
1238 (thumb_expand_epilogue): Use gen_prologue_use in preference to
1241 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
1243 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
1245 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
1248 * doc/extend.texi: Correct documentation of __alignof__.
1250 2002-01-22 Zack Weinberg <zack@codesourcery.com>
1252 * params.h: Rename arguments of DEFPARAM so that it will be
1253 recognized as a translation keyword.
1255 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1257 * extend.texi: Document altivec functions.
1258 Fix N-bit adjectives in X86 builtin documentation.
1260 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1262 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
1263 auto_inc_dec values.
1265 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
1267 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
1269 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
1271 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1273 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
1275 2002-01-22 Richard Henderson <rth@redhat.com>
1277 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
1278 copy_insn not copy_rtx.
1280 2002-01-23 Alan Modra <amodra@bigpond.net.au>
1282 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
1283 "nonzero" as that might add "1" bits. Ensure "constop" is
1284 properly sign extened.
1285 (force_to_mode): Tweak for sign extended constop.
1287 2002-01-22 Richard Henderson <rth@redhat.com>
1289 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
1290 for_each_rtx instead of assuming we're already looking at the MEM.
1291 (split_small_symbolic_mem_operand): Likewise.
1292 * config/alpha/alpha.h (PREDICATE_CODES): Update.
1293 * config/alpha/alpha.md (small symbolic memory splitters): Update.
1295 2002-01-22 Richard Henderson <rth@redhat.com>
1297 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
1298 sequence number for the literal.
1299 (divmoddi_internal_er): Likewise.
1301 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
1304 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
1305 in LIBICONV variable.
1306 * configure: Regenerated.
1308 2002-01-22 Krister Walfridsson <cato@df.lth.se>
1310 * dependence.c (build_def_use): Remove array_idx.
1312 * dwarfout.c (last_filename): Remove.
1313 (output_compile_unit_die): Remove last_filename.
1315 2002-01-22 Roger Sayle <roger@eyesopen.com>
1316 Richard Henderson <rth@redhat.com>
1319 * fold-const.c (fold): Optimize unsigned comparisons against
1320 UINT_MAX (and similar unsigned constants).
1322 2002-01-22 Janis Johnson <janis187@us.ibm.com>
1324 * Makefile.in (loop.o): Depend on OPTABS_H.
1325 * loop.c (emit_prefetch_instructions): Check the prefetch operand
1326 against the predicate.
1329 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
1330 for the address operand.
1332 2002-01-22 Richard Henderson <rth@redhat.com>
1334 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
1336 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
1339 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
1342 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
1344 * config.gcc (x86_64-*-netbsd*): New target.
1345 * config/i386/netbsd64.h: New file.
1347 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1349 * regrename.c (kill_value): Fix typo.
1351 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1353 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
1355 * config/rs6000/rs6000.h: Same.
1357 * function.c (instantiate_virtual_regs): Remove
1358 STARTING_FRAME_PHASE.
1359 (assign_stack_local_1): Same.
1360 Calculate frame phase.
1362 2002-01-22 Nick Clifton <nickc@redhat.com>
1364 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
1365 variable declaration to outer scope in order to simplify
1367 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
1368 arm_hard_regno_mode_ok.
1369 * config/arm/arm-protos.h: Add a prototype for
1370 arm_hard_regno_mode_ok.
1371 * config/arm/arm.c (soft_df_operand): Remove now redundant
1372 check for DImode values using IP_REGNUM.
1373 (nonimmediate_soft_df_operand): Remove now redundant check for
1374 DImode values using IP_REGNUM.
1375 (arm_hard_regno_mode_ok): New function. New check: make sure
1376 that DImode values are not stored in IP_REGNUM.
1378 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
1380 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
1382 2002-01-22 Jason Merrill <jason@redhat.com>
1384 * c-semantics.c (genrtl_compound_stmt): Only check nesting
1385 consistency if this COMPOUND_STMT is scoped.
1387 2002-01-22 Kazu Hirata <kazu@hxi.com>
1389 * predict.c: Fix formatting.
1390 * print-tree.c: Likewise.
1391 * protoize.c: Likewise.
1394 * sbitmap.h: Likewise.
1396 * sched-deps.c: Likewise.
1397 * sched-vis.c: Likewise.
1398 * sdbout.c: Likewise.
1399 * sibcall.c: Likewise.
1401 * ssa-ccp.c: Likewise.
1402 * ssa-dce.c: Likewise.
1404 * stor-layout.c: Likewise.
1405 * system.h: Likewise.
1407 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1409 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
1410 if fits in bounds of base type.
1412 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
1413 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
1414 (add_bound_info, default): If can't find a context, make a
1416 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
1418 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
1420 * c-typeck.c (parser_build_binary_op): If result from
1421 build_binary_op is ERROR_MARK just return error_mark_node without
1424 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1426 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
1427 Split a.out-specific bits into...
1428 * config/netbsd-aout.h: ...this.
1429 * config/netbsd-elf.h: New file.
1430 * config/alpha/netbsd-elf.h: Remove.
1431 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
1432 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
1433 (STARTFILE_SPEC): Remove redundant definition.
1434 (ENDFILE_SPEC): Likewise.
1435 (LINK_SPEC): Likewise.
1436 (CPP_SPEC): Likewise.
1437 (ASM_SPEC): Likewise.
1438 (LIB_SPEC): Likewise.
1439 (SWITCH_TAKES_ARG): Likewise.
1440 (TARGET_MEM_FUNCTIONS): Likewise.
1441 (CPP_PREDEFINES): Redefine.
1442 (ASM_FINAL_SPEC): Remove redefinition.
1443 (ASM_COMMENT_START): Redefine.
1444 (FUNCTION_PROFILER): Define.
1445 (TARGET_VERSION): Redefine.
1446 Comment and formatting cleanup.
1447 * config/i386/netbsd.h: Include <netbsd-aout.h>.
1448 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
1449 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
1450 big- or little-endian.
1451 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
1452 * config.gcc (*-*-netbsd*): Add definitions common to all
1454 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
1455 gnu_ld definitions. Add netbsd-elf.h to and remove
1456 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
1457 tmake_file, and don't lose previous tmake_file contents.
1458 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
1459 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
1460 gnu_ld definitions. Add netbsd-elf.h to tm_file.
1461 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
1462 (mipsel-*-netbsd*): Rename this to...
1463 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
1464 mips/little.h to tm_file for mips*el-*.
1465 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
1466 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
1467 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
1469 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1471 * pa-protos.h (reg_before_reload_operand): New function prototype.
1472 * pa.c (reg_before_reload_operand): New function implementation.
1473 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
1476 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1478 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
1480 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1482 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
1483 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
1484 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
1485 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
1486 (ENDFILE_SPEC): Undefine.
1487 (STARTFILE_SPEC): Redefine for PA.
1489 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1491 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
1493 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
1495 * config.gcc: Add entries to supported PowerPC --with-cpu
1498 2002-01-21 Jakub Jelinek <jakub@redhat.com>
1500 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
1501 true for 64-bit mode only SSE registers in 32-bit mode.
1503 2002-01-21 Kazu Hirata <kazu@hxi.com>
1505 * unwind-dw2.c: Fix formatting.
1506 * unwind-dw2-fde.c: Likewise.
1507 * unwind-dw2-fde.h: Likewise.
1508 * unwind-pe.h: Likewise.
1509 * varasm.c: Likewise.
1510 * varray.h: Likewise.
1512 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
1514 Remove workaround for register stack overwrite bug in mmix.
1515 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
1516 support for TARGET_REG_STACK_FILL_BUG.
1517 * config/mmix/mmix.h: Remove member has_call_without_parameters.
1518 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
1520 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
1521 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
1522 -mno-reg-stack-fill-bug-workaround.
1523 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
1524 machine member has_call_without_parameters.
1525 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
1526 -mreg-stack-fill-bug-workaround and
1527 -mno-reg-stack-fill-bug-workaround.
1528 (MMIX Options): Ditto.
1530 2002-01-21 Kazu Hirata <kazu@hxi.com>
1532 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
1534 Remove redundant code.
1536 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
1538 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
1539 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1540 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1541 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
1542 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
1543 out target macro definitions and non-target-specific comments
1544 mostly taken from old versions of the manual.
1546 2002-01-20 Kazu Hirata <kazu@hxi.com>
1548 * config/h8300/h8300.h: Fix comment formatting.
1549 * config/ia64/aix.h: Likewise.
1550 * config/ia64/ia64-protos.h: Likewise.
1551 * config/ia64/ia64.c: Likewise.
1552 * config/ia64/ia64.h: Likewise.
1553 * config/ia64/ia64intrin.h: Likewise.
1554 * config/ia64/linux.h: Likewise.
1555 * config/ia64/unwind-aix.c: Likewise.
1556 * config/ia64/unwind-ia64.c: Likewise.
1558 2002-01-20 Kazu Hirata <kazu@hxi.com>
1560 * config/h8300/h8300.c: Revise comments about shift code.
1562 2002-01-20 Kazu Hirata <kazu@hxi.com>
1564 * config/h8300/h8300.c (function_arg): Update a comment.
1566 2002-01-20 Kazu Hirata <kazu@hxi.com>
1568 * config/h8300/h8300.md: Update the comments at the beginning
1571 2002-01-20 Kazu Hirata <kazu@hxi.com>
1573 * config/i370/i370.c: Fix comment formatting.
1574 * config/i370/i370.h: Likewise.
1575 * config/i370/i370.md: Likewise.
1576 * config/i370/linux.h: Likewise.
1578 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1580 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
1582 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
1583 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
1586 2002-01-20 Graham Stott <grahams@redhat.com>
1588 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
1590 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1592 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
1594 2002-01-19 Tom Rix <trix@redhat.com>
1596 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
1598 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
1600 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1602 * function.c (assign_stack_local_1): Adjust x_frame_offset with
1603 STARTING_FRAME_PHASE.
1604 (STARTING_FRAME_PHASE): New.
1605 (instantiate_virtual_regs): Check saneness of
1606 STARTING_FRAME_PHASE.
1608 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1610 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1612 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
1614 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1616 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
1617 be used for bootstrapping GCC 3.0.
1619 2002-01-18 Kazu Hirata <kazu@hxi.com>
1621 * config/h8300/h8300.md: Fix an insn length.
1623 2002-01-18 Kazu Hirata <kazu@hxi.com>
1625 * bitmap.h: Fix comment formatting.
1626 * combine.c: Likewise.
1627 * cppfiles.c: Likewise.
1628 * c-pragma.h: Likewise.
1629 * c-typeck.c: Likewise.
1631 * dwarf2out.c: Likewise.
1632 * function.c: Likewise.
1634 * genattrtab.c: Likewise.
1635 * gthr-win32.h: Likewise.
1636 * haifa-sched.c: Likewise.
1637 * predict.c: Likewise.
1638 * rtlanal.c: Likewise.
1640 * unwind-dw2-fde.h: Likewise.
1641 * unwind-pe.h: Likewise.
1642 * vmsdbgout.c: Likewise.
1644 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1646 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
1647 if type_required and passed decl.
1649 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
1651 * config.gcc (cpu_type): Include altivec.h in powerpc
1655 * config/rs6000/altivec.h: New.
1657 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1659 * doc/install.texi (*-ibm-aix*): Update assembler and exception
1660 handling information.
1661 * doc/trouble.texi (Interoperation): Add libstdc++ information
1663 (Misunderstandings): Add template instantiation and static template
1664 member information for AIX.
1666 2002-01-17 Jason Merrill <jason@redhat.com>
1668 * dbxout.c (dbxout_type): Support const and volatile.
1670 * except.c (add_partial_entry): Remove backwards compatibility code.
1671 (end_protect_partials): Likewise.
1673 2002-01-17 Jakub Jelinek <jakub@redhat.com>
1675 * config/ia64/ia64.md (prologue_use): New.
1676 * config/ia64/ia64.c (ia64_expand_prologue): Use
1677 gen_prologue_use instead of gen_rtx_USE.
1678 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1679 as CODE_FOR_pred_rel_mutex.
1680 (ia64_sched_reorder2): Likewise.
1682 2002-01-16 Eric Christopher <echristo@redhat.com>
1684 * config/mips/r3900.h: Reformat.
1685 (SUBTARGET_CPP_SIZE_SPEC): Remove.
1686 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1687 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1688 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1689 * config/mips/t-elf: Remove mips3 multilib.
1691 2002-01-16 H.J. Lu <hjl@gnu.org>
1693 * config/mips/linux.h: Include "mips/abi64.h".
1695 2002-01-16 H.J. Lu <hjl@gnu.org>
1697 * config/mips/t-linux: New.
1699 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1701 * config/mips/linux.h: Don't include "gofast.h".
1702 (INIT_SUBTARGET_OPTABS): Removed.
1704 2002-01-16 Kazu Hirata <kazu@hxi.com>
1706 * config/h8300/h8300-protos.h: Replace emit_a_shift with
1708 * config/h8300/h8300.c: Likewise.
1709 * config/h8300/h8300.md: Likewise.
1711 2002-01-16 Kazu Hirata <kazu@hxi.com>
1713 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1714 spaces after an opcode name.
1715 (pushqi1_h8300hs): Likewise.
1716 (pushhi1_h8300hs): Likewise.
1718 2002-01-16 Kazu Hirata <kazu@hxi.com>
1720 * doc/extend.texi: Replace "option" with "attribute"
1723 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1725 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1726 (and:DI () (const_int -8)).
1727 (split_small_symbolic_mem_operand): Split
1728 (mem (and:DI () (const_int -8)).
1730 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1733 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1734 same way as TYPE_IMUL.
1735 (ultrasparc_sched_reorder): Likewise.
1736 * config/sparc/sparc.md (type): Add comment to update
1737 ultrasparc_sched_reorder when making changes.
1739 2002-01-16 Kazu Hirata <kazu@hxi.com>
1741 * doc/invoke.texi: Change the dump file name of block
1742 reordering pass from 28.bbro to 29.bbro.
1745 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1747 * i386.md (minsf splitter): Fix pasto.
1749 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1751 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1752 to frame pointer initialisation instruction.
1753 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1754 initialisation instruction.
1755 (soft_df_operand): Do not accept the IP register.
1756 (nonimmediate_soft_df_operand): Do not accept the IP register.
1758 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1761 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1762 MASK_V8 being both set.
1764 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1766 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1767 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1768 config/s390/s390.md (call, call_value): Add GOT register to
1769 CALL_INSN_FUNCTION_USAGE where needed.
1770 (call_exp, call_value_exp): New.
1772 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1774 * config/arm/arm.c: General formatting tidy up.
1776 2002-01-16 Graham Stott <grahams@redhat.com>
1778 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1779 cast and when casting an integer literal to "rtx" pointer.
1780 (expand_call): Likewise.
1781 * flow.c (try_pre_increment): Likewise.
1782 (find_use_as_address): Likewise.
1783 * integrate.c (expand_iline_function): Likewise.
1784 * regmove.c (try_auto_increment): Likewise.
1786 2002-01-16 Graham Stott <grahams@redhat.com>
1788 * sched-rgn.c (passed): Use sbitmap_free.
1791 (in_queue): Likewise.
1792 (in_stack): Likewise.
1794 2002-01-15 Eric Christopher <echristo@redhat.com>
1796 * flow.c (propagate_one_insn): Change to use fatal_insn.
1798 2002-01-15 Kazu Hirata <kazu@hxi.com>
1800 * expmed.c (extract_fixed_bit_field): Remove unused code.
1801 * system.h: Poison SLOW_ZERO_EXTEND.
1802 * doc/tm.texi: Remove.
1803 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1804 * config/arm/arm.h: Likewise.
1805 * config/avr/avr.h: Likewise.
1806 * config/clipper/clipper.h: Likewise.
1807 * config/convex/convex.h: Likewise.
1808 * config/d30v/d30v.h: Likewise.
1809 * config/dsp16xx/dsp16xx.h: Likewise.
1810 * config/elxsi/elxsi.h: Likewise.
1811 * config/fr30/fr30.h: Likewise.
1812 * config/h8300/h8300.h: Likewise.
1813 * config/i370/i370.h: Likewise.
1814 * config/i386/i386.h: Likewise.
1815 * config/m68k/m68k.h: Likewise.
1816 * config/mips/mips.h: Likewise.
1817 * config/ns32k/ns32k.h: Likewise.
1818 * config/pdp11/pdp11.h: Likewise.
1819 * config/pj/pj.h: Likewise.
1820 * config/s390/s390.h: Likewise.
1821 * config/sh/sh.h: Likewise.
1822 * config/stormy16/stormy16.h: Likewise.
1823 * config/v850/v850.h: Likewise.
1824 * config/vax/vax.h: Likewise.
1825 * config/we32k/we32k.h: Likewise.
1827 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1829 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1830 (altivec_lvsl): Change constraint to b.
1831 (altivec_lvsr): Same.
1832 (altivec_lvebx): Same.
1833 (altivec_lvehx): Same.
1834 (altivec_lvewx): Same.
1835 (altivec_lvxl): Same.
1836 (altivec_lvx): Same.
1837 (altivec_stvx): Add parallel.
1838 (altivec_stvxl): Same.
1839 (altivec_stvehx): Same.
1840 (altivec_stvebx): Same.
1841 (altivec_stvebx): Same.
1843 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1845 * config.gcc: Change altivec.h to altivec-defs.h.
1847 * config/rs6000/altivec.h: Delete.
1849 * config/rs6000/altivec-defs.h: Add.
1851 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1853 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1856 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1857 less than or equal to eight bytes.
1859 * vax.md (andsi3): Remove constraints and change SET destination
1860 operand type to nonimmediate_operand.
1861 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1862 when it is a CONST_INT.
1864 2002-01-15 Jason Merrill <jason@redhat.com>
1866 * c-common.def (FILE_STMT): New code.
1867 * c-common.c (statement_code_p): It's a statement.
1868 * c-common.h (stmt_tree_s): Add x_last_filename.
1869 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1870 (last_expr_filename): New macro.
1871 * c-semantics.c (begin_stmt_tree): Initialize it.
1872 (add_stmt): If the filename changed, also insert a
1874 (expand_stmt): Handle seeing one.
1876 2002-01-15 Eric Christopher <echristo@redhat.com>
1878 * flow.c (propagate_one_insn): Add error message and print out
1881 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1883 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1884 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1885 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1886 TRAMPOLINE_ALIGNMENT.
1887 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1889 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1890 PCC_BITFIELD_TYPE_MATTERS.
1891 * config/interix.h (STDC_VALUE): Remove. Use
1892 STDC_0_IN_SYSTEM_HEADERS.
1893 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1894 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1895 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1897 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1899 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1900 not work on this platform currently.
1902 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1904 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1905 readonly_warning in _().
1907 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1909 * gcc.c (delete_if_ordinary): Backout previous change.
1911 2002-01-15 Kazu Hirata <kazu@hxi.com>
1913 * config/h8300/h8300.c (print_operand): Remove support for
1914 unused operand characters.
1916 * read-rtl.c: Fix formatting.
1918 * recog.c: Likewise.
1919 * regclass.c: Likewise.
1920 * regmove.c: Likewise.
1921 * reg-stack.c: Likewise.
1922 * reload1.c: Likewise.
1923 * rtlanal.c: Likewise.
1925 2002-01-15 Kazu Hirata <kazu@hxi.com>
1927 * config/i386/i386.c: Fix formatting.
1929 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1931 * c-typeck.c (process_init_element): Don't save_expr
1932 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1934 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1936 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1937 emit optional traceback table if optimize_size or TARGET_ELF.
1938 * config/rs6000/rs6000.md (prefetch): New.
1940 2002-01-15 Andreas Jaeger <aj@suse.de>
1942 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1944 2002-01-15 Kazu Hirata <kazu@hxi.com>
1946 * mips-tfile.c: Fix formatting.
1948 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1950 * unroll.c (final_reg_note_copy): Fix previous commit.
1952 2002-01-14 Kazu Hirata <kazu@hxi.com>
1954 * config/h8300/h8300-protos.h: Remove the prototype for
1956 * config/h8300/h8300.c (eq_operator): Remove.
1958 2002-01-14 Richard Henderson <rth@redhat.com>
1960 * config/i386/i386.md (prefetch): Tidy.
1961 (prefetch_3dnow): Fix locality operand.
1963 2002-01-14 Richard Henderson <rth@redhat.com>
1965 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1966 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1968 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1970 * reload1.c (reload_combine): Pass reg_sum replacement through
1971 copy_rtx in loop performing multiple changes.
1973 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1975 * except.c (remove_unreachable_regions): New.
1976 (free_eh_status): Clear exception_handler_labels.
1977 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1978 (find_exception_handler_labels): Don't add the same label more than
1980 (remove_exception_handler_label): Don't die if
1981 find_exception_handler_labels hasn't been called for the current
1984 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
1986 * toplev.c (rest_of_compilation): Rebuild jump labels after
1989 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1991 * doc/extend.texi: Move documentation of X86 built-in functions
1993 * doc/invoke.texi: From here.
1994 * doc/sourcebuild.texi: Document location of documentation for
1995 machine built-in functions.
1997 2002-01-13 Christopher Faylor <cgf@redhat.com>
1999 * cppfiles.c (TEST_THRESHOLD): New macro.
2000 (SHOULD_MMAP): Ditto.
2001 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
2004 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
2006 * unroll.c (final_reg_note_copy): Properly handle
2008 (unroll_loops): Fix LOOP_CONDITION heuristics.
2010 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
2012 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
2013 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
2015 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
2017 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
2020 2002-01-14 Tom Rix <trix@redhat.com>
2022 * config/rs6000/rs6000.md: Fix typo with sradi.
2024 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
2026 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
2027 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
2028 (clrstrdi, clrstrsi): Adapt callers.
2030 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
2032 (movti splitter): Never use register 0 as base register.
2034 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
2036 * combine.c (simplify_shift_const): Always generate new rtx
2037 for shift expression instead of reusing given expression.
2039 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2041 * config/alpha/alpha.c (alpha_expand_mov): Don't call
2042 alpha_legitimize_address unless mode is Pmode.
2044 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
2046 * doc/md.texi (Modifiers): Document the '*' constraint for the
2049 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
2050 * doc/extend.texi (Function Attributes): 'interrupt' is valid
2053 2002-01-13 Richard Henderson <rth@redhat.com>
2055 * reload.c (find_reloads): Use a hard reg destination as reload reg
2056 for an input reload of the source.
2058 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2060 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
2063 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
2065 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
2066 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
2068 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
2070 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2072 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
2074 2002-01-12 Tom Rix <trix@redhat.com>
2076 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
2079 2002-01-12 Richard Henderson <rth@redhat.com>
2081 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
2083 * doc/invoke.texi: Update Alpha options.
2085 * doc/invoke.texi: Update i386 built-in function lists.
2087 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
2089 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
2090 referencing outside.
2092 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2094 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
2095 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
2096 offsets, and change line folding.
2097 * optabs.c (expand_binop): Remove warnings.
2098 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
2100 2002-01-12 Graham Stott <grahams@redhat.com>
2102 * attribs.c (handle_deprecated_attribute): constify WHAT.
2103 * diagnostic.c (warn_deprecated_use): Add braces, fixes
2104 dangling else warning and constify WHAT.
2105 * except.h (struct function, struct inline_remap): Move
2106 struct tag forward defs before all prototypes.
2107 (duplicate_eh_regions): Whitespace.
2109 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
2111 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
2112 MODE_BASE_REG_CLASS.
2113 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
2115 2002-01-12 Richard Henderson <rth@redhat.com>
2117 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
2118 (ix86_expand_vector_move): New.
2119 (bdesc_2arg): Remove andps, andnps, orps, xorps.
2120 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
2121 Remove old prefetch builtins. Special case the logicals removed above.
2122 (ix86_expand_builtin): Likewise.
2123 (safe_vector_operand): Use V4SFmode, not TImode.
2124 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
2125 (ix86_expand_timode_binop_builtin): New.
2126 * config/i386/i386-protos.h: Update.
2127 * config/i386/i386.h (enum ix86_builtins): Update.
2128 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
2129 Use ix86_expand_vector_move in vector move expanders.
2130 (movti_internal, movti_rex64): Add xorps alternative.
2131 (sse_clrv4sf): Rename and adjust from sse_clrti.
2132 (prefetch): Don't work so hard.
2133 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
2134 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
2135 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
2137 2002-01-11 Richard Henderson <rth@redhat.com>
2139 * config/i386/mmintrin.h: New file.
2140 * config/i386/xmmintrin.h: New file.
2141 * config.gcc (i?86-*-*): Add extra_headers.
2142 * simplify-rtx.c (simplify_unary_operation): Handle saturating
2144 (simplify_binary_operation): Handle saturating arithmetic codes.
2145 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
2146 not the lowpart subreg.
2147 (ix86_expand_builtin): Return a TImode dummy register instead of 0
2149 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
2151 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2153 * conflict.c (conflict_graph_compute): Free regsets when finished.
2154 * ssa.c (compute_coalesced_reg_partition): Likewise.
2156 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2158 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
2159 every where we allocate a register.
2161 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2163 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
2164 * lcm.c (compute_earliest, compute_farthest): Likewise.
2166 2002-01-11 Janis Johnson <janis187@us.ibm.com>
2168 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
2170 2002-01-11 Janis Johnson <janis187@us.ibm.com>
2172 * doc/rtl.texi (Insns): Fix 2 typos.
2174 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2176 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
2177 options. Use @table @gcctabopt for MMIX options. Add index
2178 entries for MMIX options. Start new paragraph with first
2179 heading of the machine-dependent options.
2181 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
2184 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
2185 * combine.c (force_to_mode): Same.
2186 * reload1.c (clear_reload_reg_in_use): Same.
2188 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
2190 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
2193 2002-01-11 Andreas Jaeger <aj@suse.de>,
2194 Brad Lucier <lucier@math.purdue.edu>
2196 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
2199 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
2201 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
2202 Protect with IN_LIBGCC.
2203 (LINK_EH_SPEC): Add required trailing space.
2205 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
2207 * c-tree.h: Move function declarations so that they are listed
2208 under the filename which contains them.
2209 (check_identifier, finish_decl_top_level,
2210 lookup_name_current_level_global, shadow_record_fields): Remove.
2212 2002-01-11 Andreas Jaeger <aj@suse.de>
2214 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
2217 2002-01-10 Richard Henderson <rth@redhat.com>
2219 * config/alpha/alpha.c (print_operand): Add 'J'.
2220 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
2221 new operand with the sequence number for the lituse. When splitting
2222 the insns, use gen_movdi_er_high_g and generate a sequence number.
2223 (gen_movdi_er_high_g): Print the sequence number if non-zero.
2225 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
2227 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
2228 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
2230 (altivec_expand_builtin): Same.
2231 (altivec_expand_stv_builtin): New.
2233 * config/rs6000/rs6000.h (rs6000_builtins): Same.
2235 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
2236 ("altivec_lvehx"): New.
2237 ("altivec_lvewx"): New.
2238 ("altivec_lvxl"): New.
2239 ("altivec_lvx"): New.
2240 ("altivec_stvx"): New.
2241 ("altivec_stvebx"): New.
2242 ("altivec_stvehx"): New.
2243 ("altivec_stvewx"): New.
2244 ("altivec_stvxl"): New.
2246 2002-01-10 Richard Henderson <rth@redhat.com>
2248 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
2249 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
2250 care not to delete instructions twice.
2252 2002-01-10 Zack Weinberg <zack@codesourcery.com>
2254 * toplev.c: Don't declare environ (it's not used anywhere).
2255 * configure.in: Don't check for declaration of environ.
2256 * config/i386/xm-mingw32.h: Don't #define environ.
2257 * config.in, configure: Regenerate.
2259 2002-01-10 Zack Weinberg <zack@codesourcery.com>
2261 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
2262 * configure: Regenerate.
2264 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
2265 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
2266 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
2268 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
2269 LIMITS_H_TEST here, not in m68k/x-next.
2270 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
2271 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
2273 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
2274 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
2275 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
2277 * config/i386/x-djgpp: Renamed i386/t-djgpp.
2278 * config/m88k/x-dolph: Renamed m88k/t-dolph.
2279 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
2280 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
2281 replacement of quadlib.asm with quadlib.c.
2283 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
2284 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
2285 config/rs6000/xm-beos.h: Delete file.
2287 * config.gcc: Update to match above changes.
2289 2002-01-10 Kazu Hirata <kazu@hxi.com>
2291 * config/h8300/h8300.h: Fix comment typos.
2292 * config/h8300/h8300.md: Likewise.
2293 * config/h8300/lib1funcs.asm: Likewise.
2295 2002-01-10 Dale Johannesen <dalej@apple.com>
2297 PR optimization/5269
2298 * unroll.c (precondition_loop_p): Make *increment be the correct
2299 sign when n_iterations known, to avoid confusing caller.
2301 2002-01-10 Kazu Hirata <kazu@hxi.com>
2303 * doc/extend.texi (deprecated): Fix a typo.
2305 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
2307 * basic-block.h (update_br_prob_note): Declare.
2308 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
2309 (try_forward_edges): Care negative frequencies and update note.
2310 (outgoing_edges_match): Tweek conditional merging heuristics.
2311 (try_crossjump_to_edge): use update_br_prob_note.
2312 * cfglayout.c (fixup_reorder_chain): Likewise.
2313 * cfrtl.c (update_br_prob_note): New.
2314 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
2316 * i386.c (ix86_decompose_address): Return -1 if address contains
2318 (legitimate_address_p): Require ix86_decompose_address to return 1.
2320 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
2321 (cprop_insn): Likewise.
2323 2002-01-10 Kazu Hirata <kazu@hxi.com>
2325 * toplev.c: Fix formatting.
2327 * tree-dump.c: Likewise.
2328 * unroll.c: Likewise.
2329 * unwind-dw2.c: Likewise.
2330 * unwind-dw2-fde.c: Likewise.
2331 * unwind-dw2-fde-glibc.c: Likewise.
2332 * unwind-sjlj.c: Likewise.
2334 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2336 * doc/invoke.texi: Document PDP-11 options.
2338 2002-01-10 Kazu Hirata <kazu@hxi.com>
2340 * config/h8300/h8300.h: Fix formatting.
2342 2002-01-10 Ira Ruben <ira@apple.com>
2344 Add __attribute__ ((deprecated)).
2345 * extend.texi: Document __attribute__ ((deprecated)).
2346 * invoke.texi: Document -Wno-deprecated-declarations.
2347 * testsuite/g++.dg/other/deprecated.C: New C++ test.
2348 * testsuite/gcc.dg/deprecated.c: New C test.
2349 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
2350 (c_common_attribute_table): Add "deprecated" entry.
2351 (handle_deprecated_attribute): New function.
2352 * c-decl.c (deprecated_states): New enum.
2353 deprecated_state: State of "deprecated" handling.
2354 (start_decl): Set deprecated_state based on attributes.
2355 (grokdeclarator): Test for deprecated uses, propagate attribute.
2356 * c-typeck.c (build_component_ref): Test for deprecated fields.
2357 (build_external_ref): Test for deprecated primaries.
2358 * diagnostic.c (warn_deprecated_use) New function to issue
2359 warnings about __attribute__ ((depricated)) references.
2360 * flags.h (warn_deprecated_decl): Extern declared for
2361 -W[no-]deprecated-declarations option.
2362 * print-tree.c (print_node): Show deprecated flag status.
2363 * toplev.c (warn_deprecated_decl): Defined.
2364 (W_options): Added "deprecated-declaration".
2365 * toplev.h (warn_deprecated_use): Extern declared.
2366 * tree.h (struct tree_common): Define deprecated_flag.
2367 (TREE_DEPRECATED): New macro to access flag.
2368 * cp/call.c (build_call): Test for deprecated calls.
2369 * cp/class.c (add_implicitly_declared_members): Set global
2370 flag to tell grokdeclarator to not issue deprecated warnings.
2371 * cp/cp-tree.h: Add extern for adding_implicit_members.
2372 * cp/decl.c (deprecated_states): New enum.
2373 (start_decl): Set deprecated_state based on attributes.
2374 (grokdeclarator): Test for deprecated uses, propagate attribute.
2375 * cp/lex.c (do_identifier): Test for deprecated primaries.
2376 * cp/typeck.c (build_component_ref): Test for deprecated fields.
2378 2002-01-10 Ira Ruben <ira@apple.com>
2380 Fix to assign attributes to inline member functions.
2381 * cp/decl.c (start_method): Handle attrlist.
2383 2002-01-10 Kazu Hirata <kazu@hxi.com>
2385 * combine.c (expand_field_assignment): Use subreg_lsb().
2387 2002-01-10 David Edelsohn <edelsohn@gnu.org>
2389 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
2390 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
2391 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
2392 Recurse for any operand of AND as long as constant is non-zero.
2394 2002-01-10 Kazu Hirata <kazu@hxi.com>
2396 * config/h8300/h8300.md: Remove constraints from expanders.
2398 2002-01-10 Kazu Hirata <kazu@hxi.com>
2400 * varasm.c: Fix formatting.
2401 * varray.c: Likewise.
2402 * vmsdbgout.c: Likewise.
2403 * xcoffout.c: Likewise.
2405 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
2407 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
2408 update edge probabilities to match.
2410 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2412 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
2414 * doc/languages.texi, doc/sourcebuild.texi: New files.
2415 * doc/configfiles.texi: Make a subsubsection. Update.
2416 * doc/configterms.texi: Add @node. Remove warning that this isn't
2417 instructions for building GCC.
2418 * doc/makefile.texi: Make a subsection.
2419 * doc/gccint.texi: Update.
2421 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
2423 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
2425 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2427 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
2429 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
2431 * optabs.c (expand_fix): Look for wider integer modes first.
2433 * i386.md (mov?f): Avoid the fake const double trick for medium
2435 (min?f*/max?f*): Prohibit memory operands for i387 variant.
2436 (fop_df_4): Disable for SSE compilation.
2438 2002-01-10 Graham Stott <grahams@redhat.com>
2440 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
2441 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
2443 2002-01-10 Richard Henderson <rth@redhat.com>
2445 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
2447 2002-01-10 Richard Henderson <rth@redhat.com>
2449 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
2450 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
2452 2002-01-10 Kazu Hirata <kazu@hxi.com>
2454 * combine.c (can_combine_p): Fix a comment typo.
2456 2002-01-09 Zack Weinberg <zack@codesourcery.com>
2458 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
2459 empty list correctly. Change loop index $t to $f for
2460 consistency with rest of Makefile.
2462 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
2464 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
2465 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2467 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
2468 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
2469 (altivec_init_builtins): Same.
2470 (altivec_expand_unop_builtin): Return NULL_RTX on error.
2471 (altivec_expand_binop_builtin): Same.
2472 (altivec_expand_ternop_builtin): Same.
2475 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
2476 ("altivec_vctuxs"): Fix typo.
2477 ("altivec_vnmsubfp"): Same.
2478 ("altivec_dssall"): New.
2479 ("altivec_mfvscr"): New.
2480 ("altivec_dss"): New.
2481 ("altivec_lvsl"): New.
2482 ("altivec_lvsr"): New.
2483 ("altivec_dstt"): New.
2484 ("altivec_dstst"): New.
2485 ("altivec_dststt"): New.
2486 ("altivec_dst"): New.
2488 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
2489 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2491 2002-01-09 Richard Henderson <rth@redhat.com>
2493 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
2495 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
2497 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
2499 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
2501 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
2503 2002-01-09 Kazu Hirata <kazu@hxi.com>
2505 * read-rtl.c: Fix formatting.
2507 * regclass.c: Likewise.
2508 * regrename.c: Likewise.
2509 * reg-stack.c: Likewise.
2510 * reload1.c: Likewise.
2511 * reload.c: Likewise.
2514 2002-01-09 Kazu Hirata <kazu@hxi.com>
2516 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
2517 to extract items in the expr_list chain.
2519 2002-01-09 Richard Henderson <rth@redhat.com>
2521 * config/vax/vax.c (vax_rtx_cost): Never abort.
2523 * config/vax/vax.h (REAL_ARITHMETIC): Define.
2525 2002-01-09 Jan Hubicka <jh@suse.cz>
2527 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
2529 2002-01-09 Richard Henderson <rth@redhat.com>
2531 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
2532 Unify code from various alternatives.
2534 2002-01-09 Richard Henderson <rth@redhat.com>
2536 * regrename.c (copy_value): Ignore the copy if the source register
2537 is present in the value chain with a narrower mode.
2539 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2541 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
2542 for the c4x target. Also improve layout.
2544 2002-01-09 Richard Henderson <rth@redhat.com>
2546 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
2547 * config/m32r/m32r.md (and ior xor splitters): Swap operands
2548 to match insn patterns.
2550 2002-01-09 Richard Henderson <rth@redhat.com>
2552 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
2553 (copyprop_hardreg_forward_1): Likewise.
2555 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2557 * pa.md (decrement_and_branch_until_zero): Change predicate for
2558 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
2560 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2562 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
2563 gets undefined. For Darwin.
2565 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2567 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
2569 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2571 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
2573 2002-01-08 Richard Henderson <rth@redhat.com>
2575 * regrename.c (copy_value): Ignore overlapping copies.
2577 2002-01-08 Richard Henderson <rth@redhat.com>
2579 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
2580 as needed to avoid shared structure.
2582 2002-01-08 Kazu Hirata <kazu@hxi.com>
2584 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
2587 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2589 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
2590 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
2591 documentation of obsolete macros.
2592 * system.h: Poison these macros.
2593 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
2594 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
2595 config/c4x/c4x.h, config/clipper/clipper.h,
2596 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
2597 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
2598 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
2599 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
2600 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2601 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
2602 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2603 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
2604 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
2605 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2606 config/sparc/sparc.h, config/stormy16/stormy16.h,
2607 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
2608 definitions and commented out definitions of obsolete macros.
2609 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
2610 of MAX_INT_TYPE_SIZE.
2612 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2614 * config/s390/s390.c (s390_preferred_reload_class): Never
2615 return ADDR_REGS if it isn't a subset of the given class.
2616 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
2617 FP_REGS, but all superclasses as well.
2619 * config/s390/s390.c (s390_function_profiler): Fix thinko.
2621 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
2622 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
2623 must not be a const_int.
2625 2002-01-08 Richard Henderson <rth@redhat.com>
2627 * Makefile.in (toplev.o): Depend on options.h.
2628 (gcc.o): Depend on specs.h.
2630 2002-01-08 Jakub Jelinek <jakub@redhat.com>
2632 * expr.c (store_expr): Convert VOIDmode constants back to target's
2635 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2637 * doc/invoke.texi: Markup gcc as @command. Refer to
2638 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
2639 of http://gcc.gnu.org/thanks.html.
2641 2002-01-08 Dale Johannesen <dalej@apple.com>
2643 * config/rs6000/rs6000.md: Add missing int register
2644 target case to movdf_low.
2646 2002-01-08 Zack Weinberg <zack@codesourcery.com>
2648 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
2649 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
2650 (cppinit.o): Depend on except.h.
2651 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
2652 s-specs): New rules.
2654 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
2655 Don't create specs.h/options.h/gencheck.h here. Remove
2656 unnecessary variable settings from last argument of AC_OUTPUT.
2657 * config.in, configure: Regenerate.
2658 * intl.c: Hardcode package name as "gcc".
2660 * cppinit.c: Include except.h.
2661 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2663 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2664 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2665 (!)USING_SJLJ_EXCEPTIONS.
2666 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2668 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2670 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2671 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2672 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2673 documentation of obsolete macros.
2674 * system.h: Poison these macros.
2675 * config/d30v/d30v.h, config/ns32k/encore.h,
2676 config/stormy16/stormy16.h: Remove definitions and commented out
2677 definitions of obsolete macros.
2679 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
2681 * objc/objc-act.c (handle_class_ref): Mark the declaration of
2682 %sobjc_class_ref_%s as used - to prevent unwanted compiler
2685 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2687 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2688 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2689 to insn adjusting stack/frame pointer.
2690 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2691 accept operands that cause the insn to be non-splittable.
2693 2002-01-08 Graham Stott <grahams@redhat.com>
2695 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2696 (C_TYPE_FIELDS_VOLATILE): Likewise.
2697 (C_TYPE_BEING_DEFINED): Likewise.
2698 (C_IS_RESERVED_WORD): Likewise.
2699 (C_TYPE_VARIABLE_SIZE): Likewise.
2700 (C_DECL_VARIABLE_SIZE): Likewise.
2701 (C_MISSING_PROTOTYPE_WARNED): Likewise.
2702 (C_SET_EXP_ORIGINAL_CODE): Likewise.
2703 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2705 (C_DECL_ANTICIPATED): Likewise.
2706 (c_build_type_variant): Add parenthesis.
2708 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2710 * gcc.c (option_map): Remove --version.
2711 (process_command): Handle -fversion following the GNU Coding
2712 Standards. Partially addresses PR other/704.
2714 2002-01-08 Graham Stott <grahams@redhat.com>
2716 * combine.c (combine_instructions): Fix typo.
2718 2002-01-08 Graham Stott <grahams@redhat.com>
2720 * debug.h: Use "tree" and "rtx" throughout.
2722 * debug.c: Likewise.
2724 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2726 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2727 constant pool, use the pool's version of the symbol instead.
2729 2002-01-07 Richard Henderson <rth@redhat.com>
2731 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2732 the original register was copied in a mode with a fewer number of
2733 hard registers than the desired mode.
2734 (copyprop_hardreg_forward_1): Likewise.
2735 (debug_value_data): Fix loop test.
2736 * toplev.c (parse_options_and_default_flags): Reenable
2737 -fcprop-registers at -O1.
2739 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2741 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2742 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2744 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2747 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2749 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2751 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2752 (pa_output_function_prologue): Output local label at the beginning of
2753 the prologue when profiling.
2754 (hppa_profile_hook): Use the local label rather than the function label.
2755 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2757 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2759 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2760 (altivec_expand_unop_builtin): Fix thinko.
2761 (altivec_expand_binop_builtin): Same.
2762 (altivec_expand_ternop_builtin): Same.
2763 (altivec_expand_builtin): Same.
2765 2002-01-07 Richard Henderson <rth@redhat.com>
2767 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2769 2002-01-07 Jason Merrill <jason@redhat.com>
2771 * unwind-dw2.c (execute_cfa_program): Use < again.
2773 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2775 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2777 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2779 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2780 Don't allow -1 - x -> ~x simplifications in the first pass.
2782 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2784 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2786 (altivec_expand_binop_builtin): Same.
2787 (altivec_expand_unop_builtin): Same.
2788 (print_operand): Fix typo.
2789 (bdesc_1arg): Add vupk* variants.
2791 * rs6000.h (rs6000_builtins): Add vupk* enums.
2793 * rs6000.md: Add altivec_vupk* variants.
2795 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2797 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2798 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2799 and last update dates.
2801 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2803 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2805 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2807 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2808 * config/avr/avr.h (CPP_SPEC): Likewise.
2809 (LINK_SPEC): Likewise.
2810 (CRT_BINUTILS_SPECS): Likewise.
2811 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2812 * doc/invoke.texi (AVR Options): Document them.
2814 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2816 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2819 2002-01-07 Graham Stott <grahams@redhat.com>
2821 * config/i386/i386.h: Update copyright date.
2822 (HALF_PIC_PTR): Add parenthesis.
2823 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2824 (CONSTANT_ALIGNMENT): Add parenthesis.
2825 (DATA_ALIGNMENT): Likewise.
2826 (LOCAL_ALIGNMENT): Likewise.
2827 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2828 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2829 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2830 (HARD_REGNO_NREGS): Add paranethesis.
2831 (VALID_SSE_REG_MODE): Whitespace.
2832 (VALID_MMX_REG_MODE): Whitespace.
2833 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2834 (ix86_hard_regno_mode_ok): Add parenthesis.
2835 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2836 (RETURN_IN_MEMORY): Whitespace.
2837 (N_REG_CLASSES): Add parenthesis.
2838 (INTEGER_CLASS_P): Add parenthesis and wrap.
2839 (FLOAT_CLASS_P): Likewise.
2840 (SSE_CLASS_P): Likewise.
2841 (MMX_CLASS_P): Likewise.
2842 (MAYBE_INTEGER_CLASS_P): Likewise.
2843 (MAYBE_FLOAT_CLASS_P): Likewise.
2844 (MAYBE_SSE_CLASS_P): Likewise.
2845 (MAYBE_MMX_CLASS_P): Likewise.
2846 (Q_CLASS_P): Likewise.
2847 (GENERAL_REGNO_P): Uppercase macro parameter.
2848 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2849 (FP_REGNO_P): Likewise.
2850 (ANY_FP_REGNO_P): Uppercase macro parameter.
2851 (SSE_REGNO_P): Likewise.
2852 (SSE_REGNO): Likewise.
2853 (SSE_REG_P): Likewise.
2854 (SSE_FLOAT_MODE_P): Likewise.
2855 (MMX_REGNO_P): Likewise.
2856 (MMX_REG_P):Likewise.
2857 (STACK_REG_P): Likewise.
2858 (NON_STACK_REG_P): Likewise.
2859 (STACK_TOP_P): Likewise.
2860 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2861 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2862 (SECONDARY_MEMORY_NEEDED): Likewise.
2863 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2864 (MD_ASM_CLOBBERS): Whitespace and wrap.
2865 (MUST_PASS_IN_STACK): Whitespace and wrap.
2866 (RETURN_POPS_ARGS): Add parenthesis.
2867 (INIT_CUMULATIVE_ARGS): Likewise.
2868 (FUNCTION_ARG): Likewise.
2869 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2870 (SETUP_INCOMING_VARARGS): Likewise.
2871 (BUILD_VA_LIST_TYPE): Add parenthesis.
2872 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2874 (EXPAND_BUILTIN_VA_ARG): Likewise.
2875 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2876 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2877 (INITIAL_ELIMINATION_OFFSET): Likewise.
2878 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2879 (REGNO_OK_FOR_BASE_P): Likewise.
2880 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2881 (REGNO_OK_FOR_DIREG_P): Likewise.
2882 (REG_OK_FOR_INDEX_P): Whitespace.
2883 (REG_OK_FOR_BASE_P): Whitespace.
2884 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2886 (FIND_BASE_TERM): Fix typo.
2887 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2888 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2889 (SYMBOLIC_CONST; Whitespace.
2890 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2891 (ENCODE_SECTION_INFO): Whitespace.
2892 (FINALIZE_PIC): Remove do { ... } while (0).
2893 (PROMOTE_MODE): Wrap in do { ... } while (0).
2894 (CONST_COSTS): Whitespace.
2895 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2896 (REGISTER_MOVE_COST): Add parenthesis.
2897 (MEMORY_MOVE_COST): Likewise.
2898 (EXTRA_CC_MODES): Whitespace.
2899 (SELECT_CC_MODE): Add parenthesis and whitespace.
2900 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2901 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2902 (ASM_OUTPUT_LABEL): Add paramethesis.
2903 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2904 (ASM_OUTPUT_REG_POP): Likewise.
2905 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2906 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2908 * config/i386/i386.c: Update copyright.
2909 (CHECK_STACK_LIMIT): Add parenthesis.
2910 (AT_BP): Uppercase macro parameter.
2911 (x86_64_int_parameter_registers): Constify.
2912 (x86_64_int_return_registers): Likewise.
2913 (ix86_compare_op0): Use rtx.
2914 (construct_container): Constify INTREG parameter.
2915 (function_arg): Use rtx.
2917 * diagnostic.h: Update copyright date.
2918 (output_buffer_state): Add parenthesis.
2919 (output_buffer_format_args): Likewise.
2921 * combine.c (combine_instructions): Replace XEXP (links, 0)
2924 2002-01-06 H.J. Lu <hjl@gnu.org>
2926 * cfgcleanup.c (thread_jump): Fix 2 typos.
2928 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2930 * config.gcc: Add support for --enable-altivec.
2932 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2934 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2936 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2938 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2939 __objc_class_name_*.
2941 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2943 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2945 2002-01-06 Richard Henderson <rth@redhat.com>
2947 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2948 nop them out. Increment label reference count for REG_LABEL.
2949 (fill_slots_from_thread): Frob label reference count around
2950 delete_related_insns.
2952 2002-01-05 Richard Henderson <rth@redhat.com>
2954 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2957 2002-01-05 Richard Henderson <rth@redhat.com>
2959 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2960 * integrate.c (output_inline_function): Likewise.
2961 * toplev.c (rest_of_compilation): Do it here instead. Move call
2962 to remove_unnecessary_notes after emitting abstract instance.
2963 Force an emitted nested function to have its parent emited as well.
2964 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2966 (rtl_for_decl_location): Do not look at reload data structures
2967 before reload has run.
2969 2002-01-05 Kazu Hirata <kazu@hxi.com>
2971 * cse.c: Fix formatting.
2972 * dwarf2asm.c: Likewise.
2973 * dwarf2out.c: Likewise.
2974 * explow.c: Likewise.
2975 * expmed.c: Likewise.
2976 * function.c: Likewise.
2978 * gencheck.c: Likewise.
2979 * genrecog.c: Likewise.
2980 * ggc-common.c: Likewise.
2981 * ggc-page.c: Likewise.
2982 * global.c: Likewise.
2984 2002-01-05 Kazu Hirata <kazu@hxi.com>
2986 * combine.c: Fix formatting.
2988 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
2991 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2993 2002-01-05 David Edelsohn <edelsohn@gnu.org>
2995 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2996 as 1 for __powerpc64__ as well.
2998 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
3000 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
3003 2002-01-05 Daniel Berlin <dan@dberlin.org>
3005 * lcm.c: Revert change, due to performance regression it causes on
3006 SPEC because it's slightly more conservative (sigh, I hate
3009 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
3011 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
3013 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
3015 * doc/cppinternals.texi: Update.
3017 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
3019 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
3020 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
3022 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
3023 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
3024 kludge for pre-october-14th mmix versions to handle new-found bug
3025 with PUSHJ/PUSHGO and the register stack.
3026 * config/mmix/mmix.h (struct machine_function): Rename member
3027 has_call_value_without_parameters to has_call_without_parameters.
3028 All referers changed.
3029 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
3030 TARGET_MASK_BRANCH_PREDICT): New macros.
3031 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
3032 -mno-reg-stack-fill-bug-workaround.
3033 * config/mmix/mmix.md ("call"): Set struct machine member
3034 has_call_without_parameters.
3036 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
3038 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
3040 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
3042 * cfgcleanup.c: Include tm_p.h
3043 (mark_effect): Fix handling of hard register; fix handling of SET
3045 2002-01-04 Kazu Hirata <kazu@hxi.com>
3047 * config/h8300/h8300.md (anonymous patterns): Check that
3048 operands are registers before using REGNO on them.
3050 2002-01-03 Roland McGrath <roland@frob.com>
3052 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
3054 2002-01-04 Jakub Jelinek <jakub@redhat.com>
3056 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
3057 * c-common.h (genrtl_expr_stmt_value): Likewise.
3058 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
3059 (expand_expr_stmt_value): Add maybe_last argument.
3060 Don't warn about statement with no effect if it is the last statement
3061 in expression statement.
3062 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
3063 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
3064 expand_expr_stmt_value.
3065 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
3066 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
3067 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
3068 as maybe_last to expand_expr_stmt_value.
3070 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
3072 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
3073 be passed in, do not build it.
3074 (c_begin_if_stmt): New function.
3075 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
3076 * c-common.h (c_expand_start_cond): Update prototype.
3077 (c_begin_if_stmt): Prototype new function.
3078 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
3079 * c-parse.in (if_prefix): Use c_begin_if_stmt,
3080 c_begin_while_stmt and c_finish_while_stmt_cond.
3082 2002-01-04 William Cohen <wcohen@redhat.com>
3084 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
3085 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
3086 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
3087 * config/pa/som.h (ASM_FILE_START): Likewise.
3089 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
3091 * lcm.c: Include df.h.
3092 Add available_transfer_function prototype.
3093 (compute_available): Rework to use iterative dataflow framework.
3094 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
3095 with bb_info in df.h
3096 (available_transfer_function): New function.
3098 * Makefile.in (lcm.o): add df.h to dependencies.
3100 2002-01-04 Richard Henderson <rth@redhat.com>
3102 * config/alpha/alpha.c (some_operand): Accept HIGH.
3103 (input_operand): Likewise; accept simple references to globals.
3104 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
3105 (alpha_const_double_ok_for_letter_p): Likewise.
3106 (alpha_extra_constraint): Likewise.
3107 (alpha_preferred_reload_class): Likewise. Do not force
3108 symbolic constants to memory.
3109 (alpha_legitimate_address_p): Accept simple references
3110 to small_symbolic_operand.
3111 (alpha_legitimize_address): New arg scratch. Be prepared to be
3112 called when no_new_pseudos. Emit simple symbolic references.
3113 Split integers into low, high, and rest.
3114 (alpha_expand_mov): Use alpha_legitimize_address.
3115 (some_small_symbolic_mem_operand): New.
3116 (split_small_symbolic_mem_operand): New.
3117 * config/alpha/alpha-protos.h: Update.
3118 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
3119 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
3120 (EXTRA_CONSTRAINT): Likewise.
3121 (PREFERRED_RELOAD_CLASS): Likewise.
3122 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
3123 (PREDICATE_CODES): Update.
3124 * config/alpha/alpha.md: New post-reload splitters to convert
3125 simplfied symbolic operands to the form that references $29.
3126 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
3127 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
3129 2002-01-03 Richard Henderson <rth@redhat.com>
3131 * local-alloc.c (function_invariant_p): Update commentary.
3133 2002-01-04 H.J. Lu <hjl@gnu.org>
3135 * toplev.c (rest_of_compilation): Fix a typo when calling
3138 2002-01-03 Kazu Hirata <kazu@hxi.com>
3140 * c-common.c: Fix formatting.
3141 * diagnostic.c: Likewise.
3142 * doloop.c: Likewise.
3143 * dwarf2out.c: Likewise.
3145 2002-01-03 Kazu Hirata <kazu@hxi.com>
3147 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
3148 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
3150 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
3152 * cpperror.c: Update comments and copyright.
3153 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
3154 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
3156 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
3158 * collect2.c (main): Use strcmp when testing for "-shared".
3160 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
3162 * cppmacro.c: Don't include intl.h. Update comments.
3163 (new_number_token): Allocate enough buffer for 64-bit unsigned
3164 integers; update prototype.
3165 * cppmain.c: Update comments.
3167 2002-01-03 William Cohen <wcohen@redhat.com>
3169 * function.h (struct function): Add profile.
3170 (current_function_profile): New.
3171 doc/extend.texi: Update documentation.
3172 * final.c (final_start_function): Use current_function_profile
3173 instead of profile_flag.
3174 (profile_after_prologue): Likewise.
3175 * function.c (expand_function_start): Likewise.
3176 (expand_function_start): Likewise.
3177 * config/alpha/alpha.c (direct_call_operand):
3178 (alpha_does_function_need_gp): Likewise.
3179 (alpha_expand_prologue): Likewise.
3180 * config/arm/arm.c (arm_expand_prologue): Likewise.
3181 thumb_expand_prologue: Likewise.
3182 * config/d30v/d30v.c (d30v_stack_info): Likewise.
3183 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
3184 (fr30_expand_prologue): Likewise.
3185 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
3186 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
3187 * config/i386/i386.h (FINALIZE_PIC): Likewise.
3188 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
3189 * config/i960/i960.c (i960_output_function_prologue): Likewise.
3190 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
3191 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
3192 (m32r_expand_prologue): Likewise.
3193 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
3194 (m88k_expand_prologue): Likewise.
3195 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
3196 * config/mips/mips.c (compute_frame_size): Likewise.
3197 (mips_expand_prologue): Likewise.
3198 (mips_can_use_return_insn): Likewise.
3199 * config/pa/elf.h (ASM_FILE_START): Likewise.
3200 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
3201 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
3202 * config/pa/som.h (ASM_FILE_START): Likewise.
3203 * config/romp/romp.c (romp_using_r14): Likewise.
3204 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
3205 (rs6000_stack_info): Likewise.
3206 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
3207 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
3208 * config/v850/v850.c (compute_register_save_size): Likewise.
3210 2002-01-03 Jakub Jelinek <jakub@redhat.com>
3212 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
3213 gen_lowpart_common fails, use gen_lowpart_SUBREG.
3215 2002-01-03 Turly O'Connor <turly@apple.com>
3217 * darwin.c (machopic_output_possible_stub_label): Don't generate
3218 stub routines for pseudo-stubs which we've just defined.
3220 2002-01-03 Kazu Hirata <kazu@hxi.com>
3222 * builtins.c: Fix formatting.
3223 * c-typeck.c: Likewise.
3224 * combine.c: Likewise.
3228 2002-01-03 Andreas Schwab <schwab@suse.de>
3230 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
3231 and return true if _cpp_push_next_buffer pushed a new include
3233 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
3234 _cpp_pop_file_buffer did not push a new file.
3235 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
3237 2002-01-02 Eric Christopher <echristo@redhat.com>
3239 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
3240 FIND_REG_INC_NOTE call. Update copyright.
3241 * loop.c (canonicalize_condition): Ditto.
3242 * reorg.c (delete_scheduled_jump): Ditto.
3244 2002-01-03 Kazu Hirata <kazu@hxi.com>
3246 * gcse.c: Fix formatting.
3248 2002-01-03 Graham Stott <grahams@redhat.com>
3250 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
3251 forward defs for struct tags rtx_def, union_tree, rtvec_def
3252 also output corresponding typedefs for rtx, tree, and rtvec.
3254 * system.h: Move forward defs for struct tags rtx_def, union_tree,
3255 rtvec_def along with corresponding typedefs for rtx, tree, and
3256 rtvec to config.h, hconfig.h, tconfig.h.
3258 2002-01-03 Graham Stott <grahams@redhat.com>
3260 * tree.h: Update copyright date.
3261 (IS_EXPR_CODE_CLASS): Add parenthesis.
3262 (TREE_SET_CODE): Add whitespace.
3263 (TREE_CHECK): Add parenthesis.
3264 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
3265 (CST_OR_CONSTRUCTOR_CHECK):
3266 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
3267 (TREE_SYMBOL_REFERENCED): Whitespace.
3268 (INT_CST_LT): Likewise.
3269 (INT_CST_LT_UNSIGNED): Likewise.
3270 (tree_real_cst): Unwrap comment.
3271 (tree_string): Likewise.
3272 (tree_complex): Likewise.
3273 (IDENTIFIER_POINTER): correct cast.
3274 (SAVE_EXPR_CONTEXT): Whitespace.
3275 (EXPR_WFL_FILENAME_NODE): Likewise.
3276 (EXPR_WFL_FILENAME): Remove parenthesis.
3277 (DECL_ORIGIN): Add parenthesis.
3278 (DECL_FROM_INLINE): Use NULL_TREE.
3279 (build_int_2): Whitespace.
3280 (build_type_variant): Add parenthesis.
3282 * gcc/jcf-parse.c: Update copyright date.
3283 (yyparse): Constify resource_filename.
3285 2002-01-03 Graham Stott <grahams@redhat.com>
3287 * rtl.h: Update copyright date.
3288 (RTL_CHECK1): Wrap long line.
3289 (RTL_CHECK2): Likewise.
3290 (RTL_CHECKC1): Wrap long line and whitespace.
3291 (RTL_CHECKC2): Likewise.
3292 (XWINT): Whitespace.
3298 (XBITMAP): Likewise.
3309 (X0BITMAP): Likewise.
3311 (X0BBDEF): Likewise.
3312 (X0ADVFLAGS): Likewise.
3313 (X0CSELIB): Likewise.
3314 (X0MEMATTR): Likewise.
3322 (XCBITMAP): Likewise.
3324 (XCBBDEF): Likewise.
3325 (XCADVFLAGS): Likewise.
3326 (XCCSELIB): Likewise.
3328 (INSN_UID): Likewise.
3329 (PREV_INSN): Likewise.
3330 (PATTERN): Likewise.
3331 (INSN_CODE): Likewise.
3332 (PUT_REG_NOTE_KIND): Likewise.
3333 (CODE_LABEL_NUMBER): Likewise.
3334 (NOTE_SOURCE_FILE): Likewise.
3335 (NOTE_BLOCK): Likewise.
3336 (NOTE_EH_HANDLER): Likewise.
3337 (NOTE_RANGE_INFO): Likewise.
3338 (NOTE_LIVE_INFO): Likewise.
3339 (NOTE_BASIC_BLOCK): Likewise.
3340 (NOTE_EXPECTED_VALUE): Likewise.
3341 (NOTE_LINE_NUMBER): Likewise.
3342 (LABEL_NAME): Likewise.
3343 (LABEL_NUSES): Likewise.
3344 (LABEL_ALTERNATE_NAME): Likewise.
3345 (ADDRESSOF_DECL): Likewise.
3346 (JUMP_LABEL): Likewise.
3347 (LABEL_NEXTREF): Likewise.
3349 (ORIGINAL_REGNO: Likewise.
3350 (HARD_REGISTER_NUM_P): Add parenthesis.
3351 (SUBREG_REG): Whitespace.
3352 (SUBREG_BYTE): Likewise.
3353 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
3354 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
3355 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
3356 (ASM_OPERANDS_INPUT_VEC): Likewise.
3357 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
3358 (ASM_OPERANDS_INPUT): Likewise.
3359 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
3360 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
3361 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
3362 (ASM_OPERANDS_INPUT_MODE): Likewise.
3363 (ASM_OPERANDS_SOURCE_FILE): Likewise.
3364 (ASM_OPERANDS_SOURCE_LINE): Likewise.
3365 (MEM_SET_IN_STRUCT_P): Minor reformat.
3366 (TRAP_CONDITION): Whitespace.
3367 (TRAP_CODE): Likewise.
3368 (COND_EXEC_TEST): Likewise.
3369 (COND_EXEC_CODE): Likewise.
3370 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
3371 (PHI_NODE_P): Add parenthesis.
3372 (plus_constant): Whitespace and add parenthesis.
3374 2002-01-03 Kazu Hirata <kazu@hxi.com>
3376 * config/avr/avr.c: Fix comment typos.
3377 * config/c4x/c4x.md: Likewise.
3378 * config/dsp16xx/dsp16xx.h: Likewise.
3379 * config/dsp16xx/dsp16xx.md: Likewise.
3380 * config/i386/i386.md: Likewise.
3381 * config/ia64/ia64.c: Likewise.
3382 * config/m32r/m32r.h: Likewise.
3383 * config/m68hc11/m68hc11.md: Likewise.
3384 * config/mmix/mmix.c: Likewise.
3385 * config/mn10200/mn10200.c: Likewise.
3386 * config/romp/romp.c: Likewise.
3387 * config/sh/sh.c: Likewise.
3388 * config/stormy16/stormy16.c: Likewise.
3389 * config/stormy16/stormy16.h: Likewise.
3390 * config/stormy16/stormy16.md: Likewise.
3392 2002-01-03 Graham Stott <grahams@redhat.com>
3394 * loop.h: Update copyright date.
3395 (LOOP_MOVABLES): Fix typo.
3396 (LOOP_REGS): Likewise.
3397 (LOOP_IVS): Likewise.
3399 2002-01-03 Graham Stott <grahams@redhat.com>
3401 * cppinit.c: Update copyright date.
3402 Don't include output.h
3403 * Makefile.in: Update copyright date.
3406 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
3409 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
3410 (-pthread) Add to RS/6000 options.
3412 2002-01-02 Kazu Hirata <kazu@hxi.com>
3414 * except.c: Fix comment typos.
3416 * varasm.c: Likewise.
3417 * doc/tm.texi: Fix a typo.
3419 2002-01-02 Jakub Jelinek <jakub@redhat.com>
3421 * c-typeck.c (output_init_element): Allow initializing static storage
3422 duration objects with compound literals.
3424 2002-01-02 Richard Henderson <rth@redhat.com>
3426 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
3429 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3431 * gcc.c (default_compilers): Const-ify.
3432 * mips-tdump.c (stab_names): Likewise.
3433 * mips-tfile.c (map_coff_types, map_coff_storage,
3434 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
3435 pseudo_ops_t, pseudo_ops): Likewise.
3436 * protoize.c (default_include): Likewise
3438 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
3439 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
3440 Add array size in declaration.
3441 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
3442 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
3443 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
3444 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
3445 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
3446 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
3447 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
3448 emtens, make_nan): Const-ify.
3449 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
3450 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
3452 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
3454 * config.gcc (ia64-*-*): Set extra_headers.
3455 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
3456 * config/alpha/t-osf: Remove.
3457 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
3459 2002-01-02 David Edelsohn <edelsohn@gnu.org>
3461 * config/rs6000/t-aix43: Revert previous change.
3463 2002-01-02 Jason Merrill <jason@redhat.com>
3465 * c-decl.c (c_expand_body): Call outlining_inline_function when
3466 emitting an inline function out of line.
3468 2002-01-02 Richard Henderson <rth@redhat.com>
3470 * dwarf2out.c (limbo_die_node): Add created_for member.
3471 (new_die): New argument created_for. Update all callers.
3472 (mark_limbo_die_list): New.
3473 (dwarf2out_init): Register limbo_die_list as a root.
3474 (dwarf2out_finish): Force insert limbo dies into their function
3477 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
3480 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
3482 2002-01-02 Kazu Hirata <kazu@hxi.com>
3484 * config/h8300/fixunssfsi.c: Update copyright.
3487 * config/h8300/h8300.c: Update copyright.
3490 2002-01-02 Kazu Hirata <kazu@hxi.com>
3492 * config/romp/romp.c: Fix comment formatting.
3493 * config/romp/romp.h: Likewise.
3494 * config/romp/romp.md: Likewise.
3495 * config/s390/s390.c: Likewise.
3496 * config/stormy16/stormy16.c: Likewise.
3497 * config/stormy16/stormy16.h: Likewise.
3499 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
3501 * c-common.h (genrtl_expr_stmt_value): Declare.
3502 * c-semantics.c (genrtl_goto_stmt): Redirect to...
3503 (genrtl_goto_stmt_value): ... this new function. Pass new
3504 argument down to expand_expr_stmt_value, taking
3505 TREE_ADDRESSABLE into account.
3506 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
3507 STMT_EXPR as addressable, i.e., one whose result we want.
3508 * expr.c (expand_expr): Don't save expression statement value
3509 of labeled_blocks or loop_exprs.
3510 * stmt.c (expand_expr_stmt): Redirect to...
3511 (expand_expr_stmt_value): ... this new function. Use new
3512 argument to tell whether to save expression value.
3513 (expand_end_stmt_expr): Reset last_expr_type and
3514 last_expr_value if we don't have either.
3515 * tree-inline.c (declare_return_variable): Mark its use
3516 statement as addressable.
3517 * tree.h: Document new use of TREE_ADDRESSABLE.
3518 (expand_expr_stmt_value): Declare.
3520 2002-01-01 Tom Rix <trix@redhat.com>
3522 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
3523 rs6000_emit_allocate_stack.
3525 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
3527 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
3528 ${srcdir}/ginclude/ to every entry in extra_headers.
3529 * configure: Regenerate.
3530 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
3531 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
3532 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
3533 * ginclude/proto.h: Rename to config/convex/proto.h.
3535 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3537 * attribs.c (handle_vector_size_attribute): Use host_integerp
3538 and tree_int_cst; remove warnings.
3539 * caller-save.c (insert_restore): Add cast to get rid of warning.
3540 (insert_save): Likewise.
3541 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
3542 * regmove.c (find_matches): Add temporary var to kill a warning.
3544 2002-01-01 Douglas B Rupp <rupp@gnat.com>
3546 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
3547 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
3548 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
3549 (vms-dwarf2eh.o): Add Makefile rule.
3550 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
3551 * config/alpha/vms-dwarf2eh.asm: New file.
3553 * gcc.c (delete_if_ordinary): Delete all versions.
3555 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
3557 * config/mmix/mmix.md: Update FIXME to not mention
3559 (MMIX_rJ_REGNUM): New define_constants constant.
3560 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
3561 "*movdicc_real"): Adjust contraints formatting.
3562 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
3563 for branch prediction.
3564 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
3566 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
3567 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
3568 number. Delete related FIXMEs.
3569 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
3570 from number to MMIX_rJ_REGNUM.
3571 (TARGET_MASK_BRANCH_PREDICT): New.
3572 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
3573 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
3574 value. Add -mbranch-predict and -mno-branch-predict.
3575 (TARGET_VERSION): Drop date.
3576 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
3577 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
3578 for finding out global symbols.
3579 (mmix_asm_output_labelref): Revert condition for global symbol.
3580 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
3581 (mmix_print_operand_punct_valid_p): A '+' is valid.
3583 See ChangeLog.6 for earlier changes.