1 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
3 * config/rs6000/altivec.h: Change elem to _S_elem.
5 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
7 * config/netbsd.h (WCHAR_TYPE): Define.
8 (WCHAR_TYPE_SIZE): Ditto.
10 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
11 (WCHAR_UNSIGNED): Ditto.
12 (WCHAR_TYPE_SIZE): Ditto.
14 * config/arm/netbsd.h: Likewise.
15 * config/i386/netbsd-elf.h: Likewise.
16 * config/i386/netbsd.h: Likewise.
17 * config/m68k/netbsd-elf.h: Likewise.
18 * config/m68k/netbsd.h: Likewise.
19 * config/ns32k/netbsd.h: Likewise.
20 * config/sparc/netbsd.h: Likewise.
21 * config/vax/netbsd.: Likewise.
23 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
25 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
26 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
27 (TARGET_INITIALIZER): this.
28 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
29 (BITFIELD_NBYTES_LIMITED): Markup fix.
30 * tree.h (default_ms_bitfield_layout_p): Declare.
31 (record_layout_info): Added prev_field.
32 * tree.c (default_ms_bitfield_layout_p): New fn.
33 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
34 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
35 * stor-layout.c: Include target.h.
36 (start_record_layout): Initialize prev_field.
37 (place_field): Handle MS bit-field layout, and disregard
38 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
39 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
40 * Makefile.in (stor-layout.o): Adjust dependencies.
42 2002-02-05 Jason Merrill <jason@redhat.com>
44 * c-typeck.c (convert_for_assignment): Don't allow conversions
45 between pointers and references. Only allow lvalues to convert to
48 * c-decl.c (finish_function): Warn about a non-void function with
49 no return statement and no abnormal exit.
50 (current_function_returns_abnormally): New variable.
51 (start_function): Clear it.
52 (struct c_language_function): Add returns_abnormally.
53 (push_c_function_context): Save it.
54 (pop_c_function_context): Restore it.
55 * c-tree.h: Declare current_function_returns_abnormally.
56 * c-typeck.c (build_function_call): Set it.
58 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
60 2002-02-05 Andreas Jaeger <aj@suse.de>
62 * crtstuff.c: Fix comments.
64 2002-02-05 Richard Henderson <rth@redhat.com>
67 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
68 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
71 * config/mips/mips.c (function_arg): Handle TImode.
72 (function_arg_advance): Likewise.
74 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
76 * config/rs6000/altivec.h (vec_step_help): Rename to
79 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
81 * config/rs6000/altivec.h: Fix typos.
83 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
85 * config/arm/netbsd.h: Correct a comment.
87 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
89 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
90 building void typed builtins.
92 * config/rs6000/altivec.h (vec_ld*): Fix typos.
93 (vec_step): Implement for C++.
95 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
97 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
99 2002-02-04 Richard Henderson <rth@redhat.com>
101 * combine.c (nonzero_bits): Re-introduce special case for
102 sp/fp/ap wrt REGNO_POINTER_ALIGN.
104 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
106 * doc/extend.texi: Warn about unsupported usage of altivec
109 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
110 (altivec_predicate_*): New.
112 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
113 Add C++ version of vec_*() functions.
115 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
116 (bdesc_2arg): Remove altivec predicates.
117 (altivec_expand_builtin): Handle predicates.
118 (altivec_init_builtins): Handle predicates.
119 (altivec_expand_predicate_builtin): New.
121 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
123 * pa.c (DO_FRAME_NOTES): Move forward.
124 (store_reg): Revise handling of frame notes.
125 (load_reg): Likewise.
126 (set_reg_plus_d): Likewise.
127 (hppa_expand_prologue): Likewise.
128 (hppa_expand_epilogue): Likewise.
130 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
132 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
134 2002-02-04 Jakub Jelinek <jakub@redhat.com>
137 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
138 * c-common.h (SWITCH_TYPE): Define.
139 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
140 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
141 Rename spareness variable to sparseness.
142 (expand_end_case_type): Renamed from expand_end_case, use orig_type
143 if non-NULL instead of TREE_TYPE (orig_index).
144 * tree.h (expand_end_case_type): Renamed from expand_end_case.
145 (expand_end_case): Define using expand_end_case_type.
146 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
147 to expand_end_case_type.
148 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
150 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
152 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
153 (BIGGEST_ALIGNMENT): Change to 128.
155 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
157 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
159 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
161 * pa.md (call_internal_reg_64bit): Remove unused variable.
163 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
165 * config/arm/arm.h (machine_function): Add uses_anonymous_args
167 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
168 * config/arm/arm.c (current_function_anonymous_args): Delete,
169 replace uses with cfun->machine->uses_anonymous_args.
170 (arm_reorg): Do not reset uses_anonymous_args.
172 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
173 any geenral register.
175 2001-02-04 Bernd Schmidt <bernds@redhat.com>
177 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
180 2002-02-04 Richard Henderson <rth@redhat.com>
182 * combine.c (force_to_mode): Remove STACK_BIAS code.
183 (nonzero_bits): Likewise. Replace sp/fp special case with
186 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
187 (HARD_FRAME_POINTER_REGNUM): New.
188 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
189 (FIXED_REGS, CALL_USED_REGS): Update.
190 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
191 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
192 (HARD_REGNO_NREGS): Update for SFP.
193 (STACK_POINTER_OFFSET): Include bias here ...
194 (FIRST_PARM_OFFSET): ... not here.
195 (STACK_BIAS): Remove.
196 (INIT_EXPANDERS): New.
197 (STARTING_FRAME_OFFSET): Do not include bias.
198 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
199 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
200 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
201 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
202 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
203 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
204 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
205 (MUST_SAVE_REGISTER): Likewise.
206 (sparc_flat_function_prologue): Likewise.
207 (sparc_flat_function_epilogue): Likewise.
208 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
209 (sparc_init_modes): SFP is GENERAL_REGS.
210 (sparc_builtin_saveregs): SFP does not have bias applied.
212 2002-02-04 Richard Henderson <rth@redhat.com>
214 * config/alpha/alpha.c (current_function_is_thunk): Don't check
215 current_function_is_thunk.
216 (alpha_sa_mask): Distinguish between current_function_is_thunk
217 called from ASM_OUTPUT_MI_THUNK and not.
218 (alpha_does_function_need_gp): Thunks always need gp.
219 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
220 (alpha_output_mi_thunk_osf): New.
221 * config/alpha/alpha-protos.h: Update.
222 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
224 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
226 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
227 function types, not when they're taken away.
229 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
231 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
232 CODE_LABEL and jump table when replacing a table jump with a
235 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
237 * config/s390/s390-protos.h (legitimize_la_operand,
238 s390_secondary_input_reload_class, s390_plus_operand,
239 s390_expand_plus_operand): Add prototypes.
241 config/s390/s390.c (s390_secondary_input_reload_class,
242 s390_plus_operand, s390_expand_plus_operand): New functions.
244 (struct s390_address): New member 'pointer'.
245 (s390_decompose_address): Compute it.
246 (legitimate_la_operand_p): Use it.
247 (legitimize_la_operand): New function.
248 (movti, movdi, movdf splitters): Call it.
250 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
251 (PREDICATE_CODES): Add s390_plus_operand.
253 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
254 (la_ccclobber): Allow GENERAL_REGS as output operand.
256 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
257 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
258 (*la_64, *la_31, reload_indi, reload_insi): ... these.
260 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
262 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
263 register names for regular asm () construct.
265 2002-02-04 Jakub Jelinek <jakub@redhat.com>
267 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
270 2002-02-04 Jakub Jelinek <jakub@redhat.com>
272 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
275 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
277 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
278 constant pool to be identical by string address and index.
280 2002-02-04 Anthony Green <green@redhat.com>
282 * output.h (SECTION_OVERRIDE): Define.
283 * varasm.c (named_section): Obey SECTION_OVERRIDE.
285 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
287 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
288 by existing arm*-*-netbsd* (a.out) target.
289 (ns32k-*-netbsdelf*): Likewise.
290 (sparc-*-netbsdelf*): Likewise.
291 (vax-*-netbsdelf*): Likewise.
293 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
295 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
296 headers and libobjc headers.
298 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
300 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
301 (_mingw.h): Remove duplicate include.
303 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
305 * config.gcc: Set cpu_type to m68k for 68010, as well.
306 (m68010-*-netbsdelf*): New...
307 (m68k*-*-netbsdelf*): ...targets.
308 * config/m68k/netbsd-elf.h: New file.
310 2002-02-02 Kazu Hirata <kazu@hxi.com>
312 * config/h8300/h8300.c (hand_list): Move inside function_arg.
314 2002-02-02 Kazu Hirata <kazu@hxi.com>
316 * config/h8300/h8300.c (h8_push_ops): Move inside
318 (h8_pop_ops): Likewise.
319 (h8_move_ops): Likewise.
321 2002-02-02 Kazu Hirata <kazu@hxi.com>
323 * config/h8300/h8300.c (os_task): Make it static.
325 (pragma_saveall): Likewise.
327 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
329 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
330 constant is a valid sign-extension for Pmode.
332 2002-02-02 Kazu Hirata <kazu@hxi.com>
334 * config/h8300/h8300.c: Fix formatting.
336 2002-02-02 Kazu Hirata <kazu@hxi.com>
338 * config/h8300/h8300.md: Fix formatting.
340 2002-02-02 Kazu Hirata <kazu@hxi.com>
342 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
343 predicates of operands[1]. Split the patterns for each
346 2002-02-02 Kazu Hirata <kazu@hxi.com>
348 * config/h8300/h8300.md (xor patterns): Tighten the predicates
349 of operands[1] to register_operand.
351 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
353 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
354 * cpphash.c (_cpp_init_hashtable): Similarly.
355 * cppinit.c (cpp_create_reader): Default the signed_char flag.
356 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
357 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
358 (cpp_handle_option): Handle the new options.
359 * cpplex.c (cpp_interpret_charconst): Use new flag.
360 * cpplib.h (struct cpp_options): New member signed_char.
361 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
362 (cpp_options): Handle -fsigned-char and -funsigned-char.
363 (static_specs): Remove signed_char_spec.
364 (do_spec1): Don't handle %c.
365 * system.h: Poison SIGNED_CHAR_SPEC.
366 * tradcif.y (yylex): Use flag_signed_char.
367 * tradcpp.h (flag_signed_char): New.
368 * tradcpp.c (flag_signed_char): New.
369 (main): Handle new command-line options.
370 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
372 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
373 * avr/avr.h: Remove old comments.
374 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
375 (CC1_SPEC): Pass -fsigned-char if -mic*.
376 (SIGNED_CHAR_SPEC): Remove.
378 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
380 2002-02-01 Eric Christopher <echristo@redhat.com>
382 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
383 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
384 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
385 (ASM_OUTPUT_REG_POP): Ditto.
387 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
389 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
392 2002-02-02 Jakub Jelinek <jakub@redhat.com>
394 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
396 2002-02-02 Jakub Jelinek <jakub@redhat.com>
399 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
402 2002-02-01 Janis Johnson <janis187@us.ibm.com>
404 * cfganal.c: Include tm_p.h.
405 (keep_with_call_p): Fix the test that determines if a register holds
406 the return value of a call.
408 2002-02-01 DJ Delorie <dj@redhat.com>
410 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
411 we are given conflicting registers, switch to the other one we
412 had allocated for us.
413 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
414 as TImode so we know when the "other" register is available.
416 2002-02-01 David O'Brien <obrien@FreeBSD.org>
418 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
421 2002-02-01 Janis Johnson <janis187@us.ibm.com>
423 * cfganal.c (keep_with_call_p): New function.
424 (flow_call_edges_add): Prevent splitting a block between a call and
425 a single-set instruction that should be kept in the same block.
427 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
429 * doc/install.texi (avr): Update outdated URL.
431 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
433 * config/stormy16/stormy16.md (pushqi): New.
437 (movhi): Remove stack operands.
439 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
440 nonimmediate_nonstack_operand.
441 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
443 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
446 2002-01-31 Jason Merrill <jason@redhat.com>
448 * Makefile.in (c-parse.c): Handle .output file.
449 * objc/Make-lang.in (objc-parse.c): Likewise.
451 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
453 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
454 the -me[lb] option is given. Don't output the default flag
457 2002-01-31 Zack Weinberg <zack@codesourcery.com>
459 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
460 the primary source file; this has not been done yet.
461 * c-decl.c (c_expand_body): Reset input_filename from
462 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
464 2002-01-31 Kazu Hirata <kazu@hxi.com>
466 * rtlanal.c (subreg_regno_offset): Do not use
468 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
469 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
471 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
473 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
474 version rather than GNATS version in --version output.
476 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
478 * ifcvt.c (noce_process_if_block): Make a copy of the destination
479 when copying back from a temporary.
481 2002-01-30 Richard Henderson <rth@redhat.com>
483 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
484 and new_dest are the same.
486 2002-01-30 Richard Henderson <rth@redhat.com>
489 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
490 * rtl.c (note_insn_name): Update.
491 * emit-rtl.c (remove_unnecessary_notes): Kill it.
492 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
493 to perform loop rotation.
494 (expand_exit_loop_top_cond): New.
495 * tree.h (expand_exit_loop_top_cond): Declare it.
496 * c-semantics.c (genrtl_while_stmt): Use it.
497 (genrtl_for_stmt): Likewise.
499 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
501 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
502 arguments to 64-bit boundaries on 64-bit ABIs.
504 2002-01-30 Steve Ellcey <sje@cup.hp.com>
506 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
508 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
510 * c-decl.c (grokdeclarator): Handle type being a typedef for an
513 2002-01-30 David O'Brien <obrien@FreeBSD.org>
515 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
516 * config/sparc/sparc_bi.h: Remove file.
517 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
519 2002-01-30 Richard Henderson <rth@redhat.com>
521 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
523 2002-01-30 Zack Weinberg <zack@codesourcery.com>
525 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
527 2002-01-30 Jason Merrill <jason@redhat.com>
529 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
530 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
531 (reg_save): Use DW_CFA_offset_extended_sf instead.
533 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
535 2002-01-29 Jakub Jelinek <jakub@redhat.com>
537 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
540 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
542 * rs6000.md ("*call_value_local32"): Remove constraints.
543 ("*call_value_local64"): Same.
544 ("*call_value_indirect_nonlocal_aix32"): Same.
545 ("*call_value_nonlocal_aix32"): Same.
546 ("*call_value_indirect_nonlocal_aix64"): Same.
547 ("*call_value_nonlocal_aix64"): Same.
548 ("*call_value_nonlocal_sysv"): Same.
550 2002-01-29 Richard Henderson <rth@redhat.com>
552 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
554 2002-01-29 Richard Henderson <rth@redhat.com>
556 * expr.c (force_operand): Ignore flag_pic for detecting pic
558 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
559 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
560 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
561 instead of open-coded loop.
562 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
563 be fixed when in use.
565 2002-01-29 Richard Henderson <rth@redhat.com>
567 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
568 * sched-rgn.c (propagate_deps): Update them.
569 * sched-deps.c (sched_analyze_insn): Update them. Flush the
570 clobbers list when either gets too long.
572 2002-01-29 Jakub Jelinek <jakub@redhat.com>
574 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
575 and INDEX_REGS the same as GENERAL_REGS.
576 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
578 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
580 * tree.c (build_nonstandard_integer_type): Correct prototype.
582 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
584 * config/s390/s390.md (movstrsico, movstrdix_64,
585 movstrsix_31): Remove, replace by ...
586 (movstrdi_short, movstrsi_short, movstrdi_long,
587 movstrsi_long): ... these. New.
588 (movstrdi, movstrsi): Adapt.
590 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
591 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
592 Remove unnecessary CC clobber.
593 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
594 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
596 (divmoddi4): Don't partially initialize TImode register.
598 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
600 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
602 2002-01-29 Richard Henderson <rth@redhat.com>
604 * flow.c (print_rtl_and_abort): Remove.
605 (print_rtl_and_abort_fcn): Remove.
606 (verify_local_live_at_start): Use dump_bb instead.
607 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
608 (verify_wide_reg_1): Return 2 on mode test failure.
610 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
612 PR c/3325, c/3326, c/2511, c/3347
613 * c-decl.c (enum_decl_context): Remove BITFIELD.
614 (grokdeclarator): Take bitfield width as an input.
615 Ensure bitfields are given the correct type. Perform
616 bitfield width validation with build_bitfield_integer_type
617 rather than waiting for finish_struct.
618 (grok_typename, grok_typename_in_parm_context, start_decl,
619 push_parmdecl, grokfield, start_function): Update calls to
621 (build_bitfield_integer_type): New function.
622 (finish_struct): Move bitfield validation to grokdeclarator
623 and build_bitfield_integer_type.
624 * tree.c (build_nonstandard_integer_type): New function.
625 * tree.h (build_nonstandard_integer_type): New prototype.
627 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
629 2002-01-29 Jakub Jelinek <jakub@redhat.com>
632 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
633 don't ignore unrecognized -W* options.
634 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
635 * cpplib.h (cpp_handle_option): Adjust prototype.
636 * c-decl.c (c_decode_options): Pass 0 as last argument to
640 * gcc.c (cpp_unique_options): Split from cpp_options.
641 (cpp_options): Source cpp_unique_options.
642 (default_compilers): Use cpp_unique_options instead of cpp_options
643 when used together with cc1_options.
644 (static_specs): Add cpp_unique_options.
645 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
646 when used together with cc1_options.
648 2002-01-29 Kazu Hirata <kazu@hxi.com>
650 * config/h8300/h8300-protos.h: Update the prototype of
652 * config/h8300/h8300.c (output_a_shift): Remove an unused
653 argument 'insn'. Remove redundant code.
654 * config/h8300/h8300.md: Adust to the new prototype of
657 2002-01-29 Kazu Hirata <kazu@hxi.com>
659 * config/h8300/h8300-protos.h: Update the prototypes of
660 emit_a_rotate and expand_a_rotate.
661 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
662 first argument to 'enum rtx_code'.
663 (expand_a_rotate): Likewise.
665 2002-01-28 Kazu Hirata <kazu@hxi.com>
667 * config/h8300/h8300-protos.h: Update the prototype of
669 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
671 * config/h8300/h8300.md: Adjust to the new prototype.
673 2002-01-28 Kazu Hirata <kazu@hxi.com>
675 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
678 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
680 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
681 is a fixed register before returning pic_offset_table_rtx.
682 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
683 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
685 2002-01-28 Jason Merrill <jason@redhat.com>
687 * dwarf2.h: Sync with src version.
689 2002-01-28 Paul Koning <pkoning@equallogic.com>
691 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
693 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
694 * doc/extend.texi (__builtin_prefetch): Update documentation:
695 first argument is now const void ptr.
697 2002-01-28 Kazu Hirata <kazu@hxi.com>
699 * config/h8300/h8300-protos.h: Remove an unused prototype.
701 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
703 * toplev.c (lang_independent_init): Round up identifier size.
705 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
707 * config.gcc: Revert previous change.
709 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
711 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
713 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
715 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
716 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
717 other non-elf netbsd config frags.
718 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
719 collect2 will does that.
720 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
721 shared-lib frobbing will work.
723 2002-01-28 Kazu Hirata <kazu@hxi.com>
725 * config/h8300/h8300.h: Fix formatting.
726 * config/h8300/h8300.md: Likewise.
728 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
730 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
731 the old, removed AAA_standards fix.
732 * fixinc/fixincl.x: Rebuilt.
734 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
736 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
737 atexit call in crtbegin, hooked in after call to frame_dummy;
738 register EH before registering __fini__start.
740 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
742 * config/rs6000/altivec.h: Remove spurious semicolons.
744 2002-01-27 Kazu Hirata <kazu@hxi.com>
746 * config/h8300/h8300.md: Replace dead bit extraction patterns
749 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
751 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
752 if not STRICT_ALIGNMENT.
753 * rtl.h (MEM_ALIGN): Likewise.
755 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
757 * doc/invoke.texi (-fdump-translation-unit): Revert this
758 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
760 2002-01-27 Kazu Hirata <kazu@hxi.com>
762 * config/h8300/h8300.md (define_constants): New.
763 (anonymous patterns) Use defined constants appropriately.
765 2002-01-27 Kazu Hirata <kazu@hxi.com>
767 * config/h8300/h8300.c (function_arg): Remove redundant code.
769 2002-01-26 Richard Henderson <rth@redhat.com>
771 * sched-deps.c (reg_pending_uses_head): New.
772 (reg_pending_barrier): Rename from reg_pending_sets_all.
773 (find_insn_list): Don't mark inline.
774 (find_insn_mem_list): Remove.
775 (add_dependence_list, add_dependence_list_and_free): New.
776 (flush_pending_lists): Replace only_write param with separate
777 for_read and for_write parameters. Update all callers. Use
778 add_dependence_list_and_free.
779 (sched_analyze_1): Do not add reg dependencies here; just set
780 the pending bits. Use add_dependence_list.
781 (sched_analyze_2): Likewise.
782 (sched_analyze_insn): Replace schedule_barrier_found with
783 reg_pending_barrier. Add all dependencies for pending reg
784 uses, sets, and clobbers.
785 (sched_analyze): Don't add reg dependencies for calls, just
786 set pending bits. Use regs_invalidated_by_call. Treat
787 sched_before_next_call as a normal list, not a fake insn.
788 (init_deps): No funny init for sched_before_next_call.
789 (free_deps): Free pending mems lists. Don't zero reg_last.
790 (init_deps_global): Init reg_pending_uses.
791 (finish_deps_global): Free it.
792 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
793 (find_insn_mem_list): Remove.
794 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
795 (propagate_deps): Use them. Zero temp mem lists.
797 2002-01-26 Richard Henderson <rth@redhat.com>
799 * Makefile.in (CRTSTUFF_CFLAGS): New.
800 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
801 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
802 crtstuff.c instead of alpha assembly version.
803 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
804 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
805 not FORCE_{INIT,FINI}_SECTION_ALIGN.
806 (__do_global_dtors_aux): Mark used.
807 (frame_dummy, __do_global_ctors_aux): Mark used.
808 (fini_dummy, init_dummy): Remove.
810 * config/alpha/crtbegin.asm: Remove file.
811 * config/alpha/crtend.asm: Remove file.
812 * config/alpha/t-crtbe: Remove file.
813 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
816 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
817 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
818 calling constructors.
819 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
821 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
822 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
823 CRT_END_INIT_DUMMY hack.
824 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
825 FORCE_{INIT,FINI}_SECTION_ALIGN.
827 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
828 FORCE_{INIT,FINI}_SECTION_ALIGN.
830 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
832 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
834 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
835 (FORCE_CODE_SECTION_ALIGN): New.
837 2002-01-26 Richard Henderson <rth@redhat.com>
839 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
841 2002-01-26 Richard Henderson <rth@redhat.com>
843 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
844 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
846 2002-01-26 Kazu Hirata <kazu@hxi.com>
848 * config/h8300/h8300.md: Remove bit extraction patterns that
850 Restrict each bit extraction pattern to a variant on which the
853 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
855 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
857 2002-01-26 Kazu Hirata <kazu@hxi.com>
859 * config/h8300/h8300.md: Remove bit test patterns that cannot
861 Restrict each bit test pattern to a variant on which the
864 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
866 * builtins.c (expand_builtin_strncat): Remove redundant check for
869 2002-01-25 David O'Brien <obrien@FreeBSD.org>
871 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
873 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
876 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
878 * dbxout.c (dbxout_init): Use assemble_name rather than just
879 stripping off the first character.
880 (dbxout_source_file): Likewise.
882 2002-01-25 DJ Delorie <dj@redhat.com>
884 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
885 using rtx_equal_p, not by comparing pointers.
887 2002-01-25 Steve Ellcey <sje@cup.hp.com>
889 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
890 for PIC_OFFSET_TABLE_REGNUM.
891 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
893 2002-01-25 David O'Brien <obrien@FreeBSD.org>
895 * config.gcc (x86_64-*-freebsd*): New target.
896 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
898 (i[34567]86-*-freebsd*): Don't include svr4.h.
899 * config/i386/freebsd64.h: New file.
901 2002-01-25 Douglas B Rupp <rupp@gnat.com>
903 * config/alpha/x-vms (version): Make static.
905 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
908 * Makefile.in (install-headers-cp): New target.
909 * config.gcc (alpha-dec-*vms*): Install headers with
912 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
914 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
917 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
919 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
921 (expand_builtin_strncat): Likewise.
922 * c-decl.c (finish_struct): Use tree_low_cst.
923 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
924 * tree.c (compare_tree_int): Likewise.
926 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
928 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
929 adjustments even if they are implemented by more than two insns.
931 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
933 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
934 * df.h (struct ref): Kill B.
935 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
937 * basic-block.h (PROP_EQUAL_NOTES): New flag.
938 * flow.c (propagate_one_insn): Use it.
939 (mark_used_regs): Handle NIL.
941 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
943 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
946 2002-01-25 David Edelsohn <edelsohn@gnu.org>
948 * rs6000.md (prefetch): Make address V4SI mode so that the address
949 is restricted to legitimate form for instruction.
951 2002-01-25 Bob Wilson <bob.wilson@acm.org>
953 * doc/install.texi (xtensa-*-elf): New target.
954 (xtensa-*-linux*): New target.
955 * doc/contrib.texi: Add myself.
957 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
959 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
960 purpose register to hold an SImode (or smaller) value.
962 2002-01-25 Jakub Jelinek <jakub@redhat.com>
964 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
966 * crtstuff.c: Likewise.
968 2002-01-25 Kazu Hirata <kazu@hxi.com>
970 * config/h8300/h8300.md (negation patterns): Tighten
971 predicates to register_operand.
973 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
975 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
978 * builtins.c (expand_builtin_prefetch): Same.
980 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
982 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
985 2002-01-24 Kazu Hirata <kazu@hxi.com>
987 * config/h8300/h8300.c (print_operand): Remove support for
988 operand character 'A'.
989 * config/h8300/h8300.md (three anonymous patterns): Replace
990 operand character 'A' with either 'T' or 'S'.
992 2002-01-24 Kazu Hirata <kazu@hxi.com>
994 * config/h8300/h8300.c (print_operand): Remove support for
995 operand character 'U'.
997 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
999 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
1001 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
1003 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
1004 values to be assigned to the stack pointer.
1006 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1008 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
1009 to const_double needs to be done right for big-endian systems.
1011 2002-01-24 Jason Merrill <jason@redhat.com>
1014 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
1015 to can_throw_internal.
1017 2002-01-23 Richard Henderson <rth@redhat.com>
1019 * fold-const.c (fold): Change UINT_MAX test to check vs precision
1020 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
1022 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1024 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
1025 (symGOT2reg): Use them, then set as GOT value as unchanging.
1026 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
1027 as a temporary, if possible.
1028 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
1029 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
1031 2002-01-23 Kazu Hirata <kazu@hxi.com>
1033 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
1034 accept to accept 0x80 as operands[2].
1036 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1038 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
1040 2002-01-23 Richard Henderson <rth@redhat.com>
1042 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
1044 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
1046 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
1047 (parmlist_or_identifiers_1): Verify that only a parmlist follows
1050 2002-01-23 Richard Henderson <rth@redhat.com>
1052 * expr.c (move_by_pieces_1): Extend size before negation.
1054 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
1055 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
1056 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
1057 * config/m68k/t-m68kelf: Likewise.
1059 2002-01-23 Bob Wilson <bob.wilson@acm.org>
1061 * config/xtensa/elf.h: New file.
1062 * config/xtensa/lib1funcs.asm: New file.
1063 * config/xtensa/lib2funcs.S: New file.
1064 * config/xtensa/linux.h: New file.
1065 * config/xtensa/t-xtensa: New file.
1066 * config/xtensa/xtensa-config.h: New file.
1067 * config/xtensa/xtensa-protos.h: New file.
1068 * config/xtensa/xtensa.c: New file.
1069 * config/xtensa/xtensa.h: New file.
1070 * config/xtensa/xtensa.md: New file.
1071 * config.gcc (xtensa-*-elf*): New target.
1072 (xtensa-*-linux*): New target.
1073 * cse.c (canon_hash): Compare rtx pointers instead of register
1074 numbers. This is required for the Xtensa port.
1075 * integrate.c (copy_insn_list): Handle case where the static
1076 chain is in memory and the memory address has to be copied to
1078 * doc/invoke.texi (Option Summary): Add Xtensa options.
1079 (Xtensa Options): New node.
1080 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
1082 2002-01-23 Zack Weinberg <zack@codesourcery.com>
1084 * diagnostic.c (internal_error): Do ICE suppression only
1085 when ENABLE_CHECKING is not defined.
1087 * c-typeck.c (require_complete_type): Return error_mark_node
1088 if type is error_mark_node.
1090 2002-01-23 Janis Johnson <janis187@us.ibm.com>
1092 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
1093 -Os and issue a warning.
1095 2002-01-23 Zack Weinberg <zack@codesourcery.com>
1097 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
1098 current (lack of) need for host configuration by hand.
1100 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
1101 references. Documentation of some target macros moved from
1102 hostconfig.texi to tm.texi.
1104 2002-01-23 Will Cohen <wcohen@redhat.com>
1106 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
1109 2002-01-23 Kazu Hirata <kazu@hxi.com>
1111 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
1114 2002-01-23 Jason Merrill <jason@redhat.com>
1116 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
1118 * function.c (assign_parms): Don't put args of inline functions
1119 into registers when not optimizing.
1121 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1123 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
1124 (prologue_use): New pattern.
1125 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
1126 preference to gen_rtx_USE.
1127 (thumb_expand_prologue): Use gen_prologue_use in preference to
1129 (thumb_expand_epilogue): Use gen_prologue_use in preference to
1132 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
1134 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
1136 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
1139 * doc/extend.texi: Correct documentation of __alignof__.
1141 2002-01-22 Zack Weinberg <zack@codesourcery.com>
1143 * params.h: Rename arguments of DEFPARAM so that it will be
1144 recognized as a translation keyword.
1146 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1148 * extend.texi: Document altivec functions.
1149 Fix N-bit adjectives in X86 builtin documentation.
1151 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1153 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
1154 auto_inc_dec values.
1156 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
1158 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
1160 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
1162 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1164 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
1166 2002-01-22 Richard Henderson <rth@redhat.com>
1168 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
1169 copy_insn not copy_rtx.
1171 2002-01-23 Alan Modra <amodra@bigpond.net.au>
1173 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
1174 "nonzero" as that might add "1" bits. Ensure "constop" is
1175 properly sign extened.
1176 (force_to_mode): Tweak for sign extended constop.
1178 2002-01-22 Richard Henderson <rth@redhat.com>
1180 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
1181 for_each_rtx instead of assuming we're already looking at the MEM.
1182 (split_small_symbolic_mem_operand): Likewise.
1183 * config/alpha/alpha.h (PREDICATE_CODES): Update.
1184 * config/alpha/alpha.md (small symbolic memory splitters): Update.
1186 2002-01-22 Richard Henderson <rth@redhat.com>
1188 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
1189 sequence number for the literal.
1190 (divmoddi_internal_er): Likewise.
1192 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
1195 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
1196 in LIBICONV variable.
1197 * configure: Regenerated.
1199 2002-01-22 Krister Walfridsson <cato@df.lth.se>
1201 * dependence.c (build_def_use): Remove array_idx.
1203 * dwarfout.c (last_filename): Remove.
1204 (output_compile_unit_die): Remove last_filename.
1206 2002-01-22 Roger Sayle <roger@eyesopen.com>
1207 Richard Henderson <rth@redhat.com>
1210 * fold-const.c (fold): Optimize unsigned comparisons against
1211 UINT_MAX (and similar unsigned constants).
1213 2002-01-22 Janis Johnson <janis187@us.ibm.com>
1215 * Makefile.in (loop.o): Depend on OPTABS_H.
1216 * loop.c (emit_prefetch_instructions): Check the prefetch operand
1217 against the predicate.
1220 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
1221 for the address operand.
1223 2002-01-22 Richard Henderson <rth@redhat.com>
1225 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
1227 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
1230 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
1233 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
1235 * config.gcc (x86_64-*-netbsd*): New target.
1236 * config/i386/netbsd64.h: New file.
1238 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1240 * regrename.c (kill_value): Fix typo.
1242 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
1244 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
1246 * config/rs6000/rs6000.h: Same.
1248 * function.c (instantiate_virtual_regs): Remove
1249 STARTING_FRAME_PHASE.
1250 (assign_stack_local_1): Same.
1251 Calculate frame phase.
1253 2002-01-22 Nick Clifton <nickc@redhat.com>
1255 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
1256 variable declaration to outer scope in order to simplify
1258 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
1259 arm_hard_regno_mode_ok.
1260 * config/arm/arm-protos.h: Add a prototype for
1261 arm_hard_regno_mode_ok.
1262 * config/arm/arm.c (soft_df_operand): Remove now redundant
1263 check for DImode values using IP_REGNUM.
1264 (nonimmediate_soft_df_operand): Remove now redundant check for
1265 DImode values using IP_REGNUM.
1266 (arm_hard_regno_mode_ok): New function. New check: make sure
1267 that DImode values are not stored in IP_REGNUM.
1269 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
1271 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
1273 2002-01-22 Jason Merrill <jason@redhat.com>
1275 * c-semantics.c (genrtl_compound_stmt): Only check nesting
1276 consistency if this COMPOUND_STMT is scoped.
1278 2002-01-22 Kazu Hirata <kazu@hxi.com>
1280 * predict.c: Fix formatting.
1281 * print-tree.c: Likewise.
1282 * protoize.c: Likewise.
1285 * sbitmap.h: Likewise.
1287 * sched-deps.c: Likewise.
1288 * sched-vis.c: Likewise.
1289 * sdbout.c: Likewise.
1290 * sibcall.c: Likewise.
1292 * ssa-ccp.c: Likewise.
1293 * ssa-dce.c: Likewise.
1295 * stor-layout.c: Likewise.
1296 * system.h: Likewise.
1298 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1300 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
1301 if fits in bounds of base type.
1303 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
1304 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
1305 (add_bound_info, default): If can't find a context, make a
1307 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
1309 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
1311 * c-typeck.c (parser_build_binary_op): If result from
1312 build_binary_op is ERROR_MARK just return error_mark_node without
1315 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1317 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
1318 Split a.out-specific bits into...
1319 * config/netbsd-aout.h: ...this.
1320 * config/netbsd-elf.h: New file.
1321 * config/alpha/netbsd-elf.h: Remove.
1322 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
1323 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
1324 (STARTFILE_SPEC): Remove redundant definition.
1325 (ENDFILE_SPEC): Likewise.
1326 (LINK_SPEC): Likewise.
1327 (CPP_SPEC): Likewise.
1328 (ASM_SPEC): Likewise.
1329 (LIB_SPEC): Likewise.
1330 (SWITCH_TAKES_ARG): Likewise.
1331 (TARGET_MEM_FUNCTIONS): Likewise.
1332 (CPP_PREDEFINES): Redefine.
1333 (ASM_FINAL_SPEC): Remove redefinition.
1334 (ASM_COMMENT_START): Redefine.
1335 (FUNCTION_PROFILER): Define.
1336 (TARGET_VERSION): Redefine.
1337 Comment and formatting cleanup.
1338 * config/i386/netbsd.h: Include <netbsd-aout.h>.
1339 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
1340 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
1341 big- or little-endian.
1342 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
1343 * config.gcc (*-*-netbsd*): Add definitions common to all
1345 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
1346 gnu_ld definitions. Add netbsd-elf.h to and remove
1347 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
1348 tmake_file, and don't lose previous tmake_file contents.
1349 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
1350 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
1351 gnu_ld definitions. Add netbsd-elf.h to tm_file.
1352 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
1353 (mipsel-*-netbsd*): Rename this to...
1354 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
1355 mips/little.h to tm_file for mips*el-*.
1356 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
1357 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
1358 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
1360 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1362 * pa-protos.h (reg_before_reload_operand): New function prototype.
1363 * pa.c (reg_before_reload_operand): New function implementation.
1364 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
1367 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1369 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
1371 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1373 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
1374 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
1375 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
1376 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
1377 (ENDFILE_SPEC): Undefine.
1378 (STARTFILE_SPEC): Redefine for PA.
1380 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1382 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
1384 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
1386 * config.gcc: Add entries to supported PowerPC --with-cpu
1389 2002-01-21 Jakub Jelinek <jakub@redhat.com>
1391 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
1392 true for 64-bit mode only SSE registers in 32-bit mode.
1394 2002-01-21 Kazu Hirata <kazu@hxi.com>
1396 * unwind-dw2.c: Fix formatting.
1397 * unwind-dw2-fde.c: Likewise.
1398 * unwind-dw2-fde.h: Likewise.
1399 * unwind-pe.h: Likewise.
1400 * varasm.c: Likewise.
1401 * varray.h: Likewise.
1403 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
1405 Remove workaround for register stack overwrite bug in mmix.
1406 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
1407 support for TARGET_REG_STACK_FILL_BUG.
1408 * config/mmix/mmix.h: Remove member has_call_without_parameters.
1409 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
1411 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
1412 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
1413 -mno-reg-stack-fill-bug-workaround.
1414 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
1415 machine member has_call_without_parameters.
1416 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
1417 -mreg-stack-fill-bug-workaround and
1418 -mno-reg-stack-fill-bug-workaround.
1419 (MMIX Options): Ditto.
1421 2002-01-21 Kazu Hirata <kazu@hxi.com>
1423 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
1425 Remove redundant code.
1427 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
1429 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
1430 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1431 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
1432 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
1433 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
1434 out target macro definitions and non-target-specific comments
1435 mostly taken from old versions of the manual.
1437 2002-01-20 Kazu Hirata <kazu@hxi.com>
1439 * config/h8300/h8300.h: Fix comment formatting.
1440 * config/ia64/aix.h: Likewise.
1441 * config/ia64/ia64-protos.h: Likewise.
1442 * config/ia64/ia64.c: Likewise.
1443 * config/ia64/ia64.h: Likewise.
1444 * config/ia64/ia64intrin.h: Likewise.
1445 * config/ia64/linux.h: Likewise.
1446 * config/ia64/unwind-aix.c: Likewise.
1447 * config/ia64/unwind-ia64.c: Likewise.
1449 2002-01-20 Kazu Hirata <kazu@hxi.com>
1451 * config/h8300/h8300.c: Revise comments about shift code.
1453 2002-01-20 Kazu Hirata <kazu@hxi.com>
1455 * config/h8300/h8300.c (function_arg): Update a comment.
1457 2002-01-20 Kazu Hirata <kazu@hxi.com>
1459 * config/h8300/h8300.md: Update the comments at the beginning
1462 2002-01-20 Kazu Hirata <kazu@hxi.com>
1464 * config/i370/i370.c: Fix comment formatting.
1465 * config/i370/i370.h: Likewise.
1466 * config/i370/i370.md: Likewise.
1467 * config/i370/linux.h: Likewise.
1469 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1471 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
1473 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
1474 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
1477 2002-01-20 Graham Stott <grahams@redhat.com>
1479 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
1481 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1483 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
1485 2002-01-19 Tom Rix <trix@redhat.com>
1487 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
1489 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
1491 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1493 * function.c (assign_stack_local_1): Adjust x_frame_offset with
1494 STARTING_FRAME_PHASE.
1495 (STARTING_FRAME_PHASE): New.
1496 (instantiate_virtual_regs): Check saneness of
1497 STARTING_FRAME_PHASE.
1499 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1501 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1503 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
1505 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1507 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
1508 be used for bootstrapping GCC 3.0.
1510 2002-01-18 Kazu Hirata <kazu@hxi.com>
1512 * config/h8300/h8300.md: Fix an insn length.
1514 2002-01-18 Kazu Hirata <kazu@hxi.com>
1516 * bitmap.h: Fix comment formatting.
1517 * combine.c: Likewise.
1518 * cppfiles.c: Likewise.
1519 * c-pragma.h: Likewise.
1520 * c-typeck.c: Likewise.
1522 * dwarf2out.c: Likewise.
1523 * function.c: Likewise.
1525 * genattrtab.c: Likewise.
1526 * gthr-win32.h: Likewise.
1527 * haifa-sched.c: Likewise.
1528 * predict.c: Likewise.
1529 * rtlanal.c: Likewise.
1531 * unwind-dw2-fde.h: Likewise.
1532 * unwind-pe.h: Likewise.
1533 * vmsdbgout.c: Likewise.
1535 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1537 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
1538 if type_required and passed decl.
1540 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
1542 * config.gcc (cpu_type): Include altivec.h in powerpc
1546 * config/rs6000/altivec.h: New.
1548 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1550 * doc/install.texi (*-ibm-aix*): Update assembler and exception
1551 handling information.
1552 * doc/trouble.texi (Interoperation): Add libstdc++ information
1554 (Misunderstandings): Add template instantiation and static template
1555 member information for AIX.
1557 2002-01-17 Jason Merrill <jason@redhat.com>
1559 * dbxout.c (dbxout_type): Support const and volatile.
1561 * except.c (add_partial_entry): Remove backwards compatibility code.
1562 (end_protect_partials): Likewise.
1564 2002-01-17 Jakub Jelinek <jakub@redhat.com>
1566 * config/ia64/ia64.md (prologue_use): New.
1567 * config/ia64/ia64.c (ia64_expand_prologue): Use
1568 gen_prologue_use instead of gen_rtx_USE.
1569 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1570 as CODE_FOR_pred_rel_mutex.
1571 (ia64_sched_reorder2): Likewise.
1573 2002-01-16 Eric Christopher <echristo@redhat.com>
1575 * config/mips/r3900.h: Reformat.
1576 (SUBTARGET_CPP_SIZE_SPEC): Remove.
1577 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1578 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1579 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1580 * config/mips/t-elf: Remove mips3 multilib.
1582 2002-01-16 H.J. Lu <hjl@gnu.org>
1584 * config/mips/linux.h: Include "mips/abi64.h".
1586 2002-01-16 H.J. Lu <hjl@gnu.org>
1588 * config/mips/t-linux: New.
1590 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1592 * config/mips/linux.h: Don't include "gofast.h".
1593 (INIT_SUBTARGET_OPTABS): Removed.
1595 2002-01-16 Kazu Hirata <kazu@hxi.com>
1597 * config/h8300/h8300-protos.h: Replace emit_a_shift with
1599 * config/h8300/h8300.c: Likewise.
1600 * config/h8300/h8300.md: Likewise.
1602 2002-01-16 Kazu Hirata <kazu@hxi.com>
1604 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1605 spaces after an opcode name.
1606 (pushqi1_h8300hs): Likewise.
1607 (pushhi1_h8300hs): Likewise.
1609 2002-01-16 Kazu Hirata <kazu@hxi.com>
1611 * doc/extend.texi: Replace "option" with "attribute"
1614 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1616 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1617 (and:DI () (const_int -8)).
1618 (split_small_symbolic_mem_operand): Split
1619 (mem (and:DI () (const_int -8)).
1621 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1624 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1625 same way as TYPE_IMUL.
1626 (ultrasparc_sched_reorder): Likewise.
1627 * config/sparc/sparc.md (type): Add comment to update
1628 ultrasparc_sched_reorder when making changes.
1630 2002-01-16 Kazu Hirata <kazu@hxi.com>
1632 * doc/invoke.texi: Change the dump file name of block
1633 reordering pass from 28.bbro to 29.bbro.
1636 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1638 * i386.md (minsf splitter): Fix pasto.
1640 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1642 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1643 to frame pointer initialisation instruction.
1644 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1645 initialisation instruction.
1646 (soft_df_operand): Do not accept the IP register.
1647 (nonimmediate_soft_df_operand): Do not accept the IP register.
1649 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1652 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1653 MASK_V8 being both set.
1655 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1657 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1658 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1659 config/s390/s390.md (call, call_value): Add GOT register to
1660 CALL_INSN_FUNCTION_USAGE where needed.
1661 (call_exp, call_value_exp): New.
1663 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1665 * config/arm/arm.c: General formatting tidy up.
1667 2002-01-16 Graham Stott <grahams@redhat.com>
1669 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1670 cast and when casting an integer literal to "rtx" pointer.
1671 (expand_call): Likewise.
1672 * flow.c (try_pre_increment): Likewise.
1673 (find_use_as_address): Likewise.
1674 * integrate.c (expand_iline_function): Likewise.
1675 * regmove.c (try_auto_increment): Likewise.
1677 2002-01-16 Graham Stott <grahams@redhat.com>
1679 * sched-rgn.c (passed): Use sbitmap_free.
1682 (in_queue): Likewise.
1683 (in_stack): Likewise.
1685 2002-01-15 Eric Christopher <echristo@redhat.com>
1687 * flow.c (propagate_one_insn): Change to use fatal_insn.
1689 2002-01-15 Kazu Hirata <kazu@hxi.com>
1691 * expmed.c (extract_fixed_bit_field): Remove unused code.
1692 * system.h: Poison SLOW_ZERO_EXTEND.
1693 * doc/tm.texi: Remove.
1694 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1695 * config/arm/arm.h: Likewise.
1696 * config/avr/avr.h: Likewise.
1697 * config/clipper/clipper.h: Likewise.
1698 * config/convex/convex.h: Likewise.
1699 * config/d30v/d30v.h: Likewise.
1700 * config/dsp16xx/dsp16xx.h: Likewise.
1701 * config/elxsi/elxsi.h: Likewise.
1702 * config/fr30/fr30.h: Likewise.
1703 * config/h8300/h8300.h: Likewise.
1704 * config/i370/i370.h: Likewise.
1705 * config/i386/i386.h: Likewise.
1706 * config/m68k/m68k.h: Likewise.
1707 * config/mips/mips.h: Likewise.
1708 * config/ns32k/ns32k.h: Likewise.
1709 * config/pdp11/pdp11.h: Likewise.
1710 * config/pj/pj.h: Likewise.
1711 * config/s390/s390.h: Likewise.
1712 * config/sh/sh.h: Likewise.
1713 * config/stormy16/stormy16.h: Likewise.
1714 * config/v850/v850.h: Likewise.
1715 * config/vax/vax.h: Likewise.
1716 * config/we32k/we32k.h: Likewise.
1718 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1720 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1721 (altivec_lvsl): Change constraint to b.
1722 (altivec_lvsr): Same.
1723 (altivec_lvebx): Same.
1724 (altivec_lvehx): Same.
1725 (altivec_lvewx): Same.
1726 (altivec_lvxl): Same.
1727 (altivec_lvx): Same.
1728 (altivec_stvx): Add parallel.
1729 (altivec_stvxl): Same.
1730 (altivec_stvehx): Same.
1731 (altivec_stvebx): Same.
1732 (altivec_stvebx): Same.
1734 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1736 * config.gcc: Change altivec.h to altivec-defs.h.
1738 * config/rs6000/altivec.h: Delete.
1740 * config/rs6000/altivec-defs.h: Add.
1742 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1744 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1747 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1748 less than or equal to eight bytes.
1750 * vax.md (andsi3): Remove constraints and change SET destination
1751 operand type to nonimmediate_operand.
1752 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1753 when it is a CONST_INT.
1755 2002-01-15 Jason Merrill <jason@redhat.com>
1757 * c-common.def (FILE_STMT): New code.
1758 * c-common.c (statement_code_p): It's a statement.
1759 * c-common.h (stmt_tree_s): Add x_last_filename.
1760 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1761 (last_expr_filename): New macro.
1762 * c-semantics.c (begin_stmt_tree): Initialize it.
1763 (add_stmt): If the filename changed, also insert a
1765 (expand_stmt): Handle seeing one.
1767 2002-01-15 Eric Christopher <echristo@redhat.com>
1769 * flow.c (propagate_one_insn): Add error message and print out
1772 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1774 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1775 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1776 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1777 TRAMPOLINE_ALIGNMENT.
1778 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1780 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1781 PCC_BITFIELD_TYPE_MATTERS.
1782 * config/interix.h (STDC_VALUE): Remove. Use
1783 STDC_0_IN_SYSTEM_HEADERS.
1784 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1785 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1786 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1788 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1790 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1791 not work on this platform currently.
1793 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1795 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1796 readonly_warning in _().
1798 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1800 * gcc.c (delete_if_ordinary): Backout previous change.
1802 2002-01-15 Kazu Hirata <kazu@hxi.com>
1804 * config/h8300/h8300.c (print_operand): Remove support for
1805 unused operand characters.
1807 * read-rtl.c: Fix formatting.
1809 * recog.c: Likewise.
1810 * regclass.c: Likewise.
1811 * regmove.c: Likewise.
1812 * reg-stack.c: Likewise.
1813 * reload1.c: Likewise.
1814 * rtlanal.c: Likewise.
1816 2002-01-15 Kazu Hirata <kazu@hxi.com>
1818 * config/i386/i386.c: Fix formatting.
1820 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1822 * c-typeck.c (process_init_element): Don't save_expr
1823 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1825 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1827 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1828 emit optional traceback table if optimize_size or TARGET_ELF.
1829 * config/rs6000/rs6000.md (prefetch): New.
1831 2002-01-15 Andreas Jaeger <aj@suse.de>
1833 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1835 2002-01-15 Kazu Hirata <kazu@hxi.com>
1837 * mips-tfile.c: Fix formatting.
1839 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1841 * unroll.c (final_reg_note_copy): Fix previous commit.
1843 2002-01-14 Kazu Hirata <kazu@hxi.com>
1845 * config/h8300/h8300-protos.h: Remove the prototype for
1847 * config/h8300/h8300.c (eq_operator): Remove.
1849 2002-01-14 Richard Henderson <rth@redhat.com>
1851 * config/i386/i386.md (prefetch): Tidy.
1852 (prefetch_3dnow): Fix locality operand.
1854 2002-01-14 Richard Henderson <rth@redhat.com>
1856 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1857 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1859 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1861 * reload1.c (reload_combine): Pass reg_sum replacement through
1862 copy_rtx in loop performing multiple changes.
1864 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1866 * except.c (remove_unreachable_regions): New.
1867 (free_eh_status): Clear exception_handler_labels.
1868 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1869 (find_exception_handler_labels): Don't add the same label more than
1871 (remove_exception_handler_label): Don't die if
1872 find_exception_handler_labels hasn't been called for the current
1875 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
1877 * toplev.c (rest_of_compilation): Rebuild jump labels after
1880 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1882 * doc/extend.texi: Move documentation of X86 built-in functions
1884 * doc/invoke.texi: From here.
1885 * doc/sourcebuild.texi: Document location of documentation for
1886 machine built-in functions.
1888 2002-01-13 Christopher Faylor <cgf@redhat.com>
1890 * cppfiles.c (TEST_THRESHOLD): New macro.
1891 (SHOULD_MMAP): Ditto.
1892 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1895 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
1897 * unroll.c (final_reg_note_copy): Properly handle
1899 (unroll_loops): Fix LOOP_CONDITION heuristics.
1901 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
1903 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1904 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1906 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
1908 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1911 2002-01-14 Tom Rix <trix@redhat.com>
1913 * config/rs6000/rs6000.md: Fix typo with sradi.
1915 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
1917 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1918 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1919 (clrstrdi, clrstrsi): Adapt callers.
1921 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1923 (movti splitter): Never use register 0 as base register.
1925 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1927 * combine.c (simplify_shift_const): Always generate new rtx
1928 for shift expression instead of reusing given expression.
1930 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1932 * config/alpha/alpha.c (alpha_expand_mov): Don't call
1933 alpha_legitimize_address unless mode is Pmode.
1935 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
1937 * doc/md.texi (Modifiers): Document the '*' constraint for the
1940 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1941 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1944 2002-01-13 Richard Henderson <rth@redhat.com>
1946 * reload.c (find_reloads): Use a hard reg destination as reload reg
1947 for an input reload of the source.
1949 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1951 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1954 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1956 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1957 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1959 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1961 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1963 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1965 2002-01-12 Tom Rix <trix@redhat.com>
1967 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1970 2002-01-12 Richard Henderson <rth@redhat.com>
1972 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1974 * doc/invoke.texi: Update Alpha options.
1976 * doc/invoke.texi: Update i386 built-in function lists.
1978 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1980 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1981 referencing outside.
1983 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1985 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1986 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1987 offsets, and change line folding.
1988 * optabs.c (expand_binop): Remove warnings.
1989 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1991 2002-01-12 Graham Stott <grahams@redhat.com>
1993 * attribs.c (handle_deprecated_attribute): constify WHAT.
1994 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1995 dangling else warning and constify WHAT.
1996 * except.h (struct function, struct inline_remap): Move
1997 struct tag forward defs before all prototypes.
1998 (duplicate_eh_regions): Whitespace.
2000 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
2002 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
2003 MODE_BASE_REG_CLASS.
2004 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
2006 2002-01-12 Richard Henderson <rth@redhat.com>
2008 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
2009 (ix86_expand_vector_move): New.
2010 (bdesc_2arg): Remove andps, andnps, orps, xorps.
2011 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
2012 Remove old prefetch builtins. Special case the logicals removed above.
2013 (ix86_expand_builtin): Likewise.
2014 (safe_vector_operand): Use V4SFmode, not TImode.
2015 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
2016 (ix86_expand_timode_binop_builtin): New.
2017 * config/i386/i386-protos.h: Update.
2018 * config/i386/i386.h (enum ix86_builtins): Update.
2019 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
2020 Use ix86_expand_vector_move in vector move expanders.
2021 (movti_internal, movti_rex64): Add xorps alternative.
2022 (sse_clrv4sf): Rename and adjust from sse_clrti.
2023 (prefetch): Don't work so hard.
2024 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
2025 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
2026 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
2028 2002-01-11 Richard Henderson <rth@redhat.com>
2030 * config/i386/mmintrin.h: New file.
2031 * config/i386/xmmintrin.h: New file.
2032 * config.gcc (i?86-*-*): Add extra_headers.
2033 * simplify-rtx.c (simplify_unary_operation): Handle saturating
2035 (simplify_binary_operation): Handle saturating arithmetic codes.
2036 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
2037 not the lowpart subreg.
2038 (ix86_expand_builtin): Return a TImode dummy register instead of 0
2040 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
2042 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2044 * conflict.c (conflict_graph_compute): Free regsets when finished.
2045 * ssa.c (compute_coalesced_reg_partition): Likewise.
2047 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2049 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
2050 every where we allocate a register.
2052 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2054 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
2055 * lcm.c (compute_earliest, compute_farthest): Likewise.
2057 2002-01-11 Janis Johnson <janis187@us.ibm.com>
2059 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
2061 2002-01-11 Janis Johnson <janis187@us.ibm.com>
2063 * doc/rtl.texi (Insns): Fix 2 typos.
2065 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2067 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
2068 options. Use @table @gcctabopt for MMIX options. Add index
2069 entries for MMIX options. Start new paragraph with first
2070 heading of the machine-dependent options.
2072 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
2075 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
2076 * combine.c (force_to_mode): Same.
2077 * reload1.c (clear_reload_reg_in_use): Same.
2079 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
2081 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
2084 2002-01-11 Andreas Jaeger <aj@suse.de>,
2085 Brad Lucier <lucier@math.purdue.edu>
2087 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
2090 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
2092 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
2093 Protect with IN_LIBGCC.
2094 (LINK_EH_SPEC): Add required trailing space.
2096 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
2098 * c-tree.h: Move function declarations so that they are listed
2099 under the filename which contains them.
2100 (check_identifier, finish_decl_top_level,
2101 lookup_name_current_level_global, shadow_record_fields): Remove.
2103 2002-01-11 Andreas Jaeger <aj@suse.de>
2105 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
2108 2002-01-10 Richard Henderson <rth@redhat.com>
2110 * config/alpha/alpha.c (print_operand): Add 'J'.
2111 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
2112 new operand with the sequence number for the lituse. When splitting
2113 the insns, use gen_movdi_er_high_g and generate a sequence number.
2114 (gen_movdi_er_high_g): Print the sequence number if non-zero.
2116 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
2118 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
2119 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
2121 (altivec_expand_builtin): Same.
2122 (altivec_expand_stv_builtin): New.
2124 * config/rs6000/rs6000.h (rs6000_builtins): Same.
2126 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
2127 ("altivec_lvehx"): New.
2128 ("altivec_lvewx"): New.
2129 ("altivec_lvxl"): New.
2130 ("altivec_lvx"): New.
2131 ("altivec_stvx"): New.
2132 ("altivec_stvebx"): New.
2133 ("altivec_stvehx"): New.
2134 ("altivec_stvewx"): New.
2135 ("altivec_stvxl"): New.
2137 2002-01-10 Richard Henderson <rth@redhat.com>
2139 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
2140 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
2141 care not to delete instructions twice.
2143 2002-01-10 Zack Weinberg <zack@codesourcery.com>
2145 * toplev.c: Don't declare environ (it's not used anywhere).
2146 * configure.in: Don't check for declaration of environ.
2147 * config/i386/xm-mingw32.h: Don't #define environ.
2148 * config.in, configure: Regenerate.
2150 2002-01-10 Zack Weinberg <zack@codesourcery.com>
2152 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
2153 * configure: Regenerate.
2155 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
2156 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
2157 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
2159 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
2160 LIMITS_H_TEST here, not in m68k/x-next.
2161 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
2162 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
2164 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
2165 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
2166 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
2168 * config/i386/x-djgpp: Renamed i386/t-djgpp.
2169 * config/m88k/x-dolph: Renamed m88k/t-dolph.
2170 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
2171 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
2172 replacement of quadlib.asm with quadlib.c.
2174 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
2175 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
2176 config/rs6000/xm-beos.h: Delete file.
2178 * config.gcc: Update to match above changes.
2180 2002-01-10 Kazu Hirata <kazu@hxi.com>
2182 * config/h8300/h8300.h: Fix comment typos.
2183 * config/h8300/h8300.md: Likewise.
2184 * config/h8300/lib1funcs.asm: Likewise.
2186 2002-01-10 Dale Johannesen <dalej@apple.com>
2188 PR optimization/5269
2189 * unroll.c (precondition_loop_p): Make *increment be the correct
2190 sign when n_iterations known, to avoid confusing caller.
2192 2002-01-10 Kazu Hirata <kazu@hxi.com>
2194 * doc/extend.texi (deprecated): Fix a typo.
2196 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
2198 * basic-block.h (update_br_prob_note): Declare.
2199 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
2200 (try_forward_edges): Care negative frequencies and update note.
2201 (outgoing_edges_match): Tweek conditional merging heuristics.
2202 (try_crossjump_to_edge): use update_br_prob_note.
2203 * cfglayout.c (fixup_reorder_chain): Likewise.
2204 * cfrtl.c (update_br_prob_note): New.
2205 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
2207 * i386.c (ix86_decompose_address): Return -1 if address contains
2209 (legitimate_address_p): Require ix86_decompose_address to return 1.
2211 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
2212 (cprop_insn): Likewise.
2214 2002-01-10 Kazu Hirata <kazu@hxi.com>
2216 * toplev.c: Fix formatting.
2218 * tree-dump.c: Likewise.
2219 * unroll.c: Likewise.
2220 * unwind-dw2.c: Likewise.
2221 * unwind-dw2-fde.c: Likewise.
2222 * unwind-dw2-fde-glibc.c: Likewise.
2223 * unwind-sjlj.c: Likewise.
2225 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2227 * doc/invoke.texi: Document PDP-11 options.
2229 2002-01-10 Kazu Hirata <kazu@hxi.com>
2231 * config/h8300/h8300.h: Fix formatting.
2233 2002-01-10 Ira Ruben <ira@apple.com>
2235 Add __attribute__ ((deprecated)).
2236 * extend.texi: Document __attribute__ ((deprecated)).
2237 * invoke.texi: Document -Wno-deprecated-declarations.
2238 * testsuite/g++.dg/other/deprecated.C: New C++ test.
2239 * testsuite/gcc.dg/deprecated.c: New C test.
2240 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
2241 (c_common_attribute_table): Add "deprecated" entry.
2242 (handle_deprecated_attribute): New function.
2243 * c-decl.c (deprecated_states): New enum.
2244 deprecated_state: State of "deprecated" handling.
2245 (start_decl): Set deprecated_state based on attributes.
2246 (grokdeclarator): Test for deprecated uses, propagate attribute.
2247 * c-typeck.c (build_component_ref): Test for deprecated fields.
2248 (build_external_ref): Test for deprecated primaries.
2249 * diagnostic.c (warn_deprecated_use) New function to issue
2250 warnings about __attribute__ ((depricated)) references.
2251 * flags.h (warn_deprecated_decl): Extern declared for
2252 -W[no-]deprecated-declarations option.
2253 * print-tree.c (print_node): Show deprecated flag status.
2254 * toplev.c (warn_deprecated_decl): Defined.
2255 (W_options): Added "deprecated-declaration".
2256 * toplev.h (warn_deprecated_use): Extern declared.
2257 * tree.h (struct tree_common): Define deprecated_flag.
2258 (TREE_DEPRECATED): New macro to access flag.
2259 * cp/call.c (build_call): Test for deprecated calls.
2260 * cp/class.c (add_implicitly_declared_members): Set global
2261 flag to tell grokdeclarator to not issue deprecated warnings.
2262 * cp/cp-tree.h: Add extern for adding_implicit_members.
2263 * cp/decl.c (deprecated_states): New enum.
2264 (start_decl): Set deprecated_state based on attributes.
2265 (grokdeclarator): Test for deprecated uses, propagate attribute.
2266 * cp/lex.c (do_identifier): Test for deprecated primaries.
2267 * cp/typeck.c (build_component_ref): Test for deprecated fields.
2269 2002-01-10 Ira Ruben <ira@apple.com>
2271 Fix to assign attributes to inline member functions.
2272 * cp/decl.c (start_method): Handle attrlist.
2274 2002-01-10 Kazu Hirata <kazu@hxi.com>
2276 * combine.c (expand_field_assignment): Use subreg_lsb().
2278 2002-01-10 David Edelsohn <edelsohn@gnu.org>
2280 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
2281 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
2282 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
2283 Recurse for any operand of AND as long as constant is non-zero.
2285 2002-01-10 Kazu Hirata <kazu@hxi.com>
2287 * config/h8300/h8300.md: Remove constraints from expanders.
2289 2002-01-10 Kazu Hirata <kazu@hxi.com>
2291 * varasm.c: Fix formatting.
2292 * varray.c: Likewise.
2293 * vmsdbgout.c: Likewise.
2294 * xcoffout.c: Likewise.
2296 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
2298 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
2299 update edge probabilities to match.
2301 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2303 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
2305 * doc/languages.texi, doc/sourcebuild.texi: New files.
2306 * doc/configfiles.texi: Make a subsubsection. Update.
2307 * doc/configterms.texi: Add @node. Remove warning that this isn't
2308 instructions for building GCC.
2309 * doc/makefile.texi: Make a subsection.
2310 * doc/gccint.texi: Update.
2312 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
2314 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
2316 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2318 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
2320 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
2322 * optabs.c (expand_fix): Look for wider integer modes first.
2324 * i386.md (mov?f): Avoid the fake const double trick for medium
2326 (min?f*/max?f*): Prohibit memory operands for i387 variant.
2327 (fop_df_4): Disable for SSE compilation.
2329 2002-01-10 Graham Stott <grahams@redhat.com>
2331 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
2332 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
2334 2002-01-10 Richard Henderson <rth@redhat.com>
2336 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
2338 2002-01-10 Richard Henderson <rth@redhat.com>
2340 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
2341 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
2343 2002-01-10 Kazu Hirata <kazu@hxi.com>
2345 * combine.c (can_combine_p): Fix a comment typo.
2347 2002-01-09 Zack Weinberg <zack@codesourcery.com>
2349 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
2350 empty list correctly. Change loop index $t to $f for
2351 consistency with rest of Makefile.
2353 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
2355 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
2356 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2358 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
2359 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
2360 (altivec_init_builtins): Same.
2361 (altivec_expand_unop_builtin): Return NULL_RTX on error.
2362 (altivec_expand_binop_builtin): Same.
2363 (altivec_expand_ternop_builtin): Same.
2366 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
2367 ("altivec_vctuxs"): Fix typo.
2368 ("altivec_vnmsubfp"): Same.
2369 ("altivec_dssall"): New.
2370 ("altivec_mfvscr"): New.
2371 ("altivec_dss"): New.
2372 ("altivec_lvsl"): New.
2373 ("altivec_lvsr"): New.
2374 ("altivec_dstt"): New.
2375 ("altivec_dstst"): New.
2376 ("altivec_dststt"): New.
2377 ("altivec_dst"): New.
2379 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
2380 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2382 2002-01-09 Richard Henderson <rth@redhat.com>
2384 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
2386 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
2388 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
2390 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
2392 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
2394 2002-01-09 Kazu Hirata <kazu@hxi.com>
2396 * read-rtl.c: Fix formatting.
2398 * regclass.c: Likewise.
2399 * regrename.c: Likewise.
2400 * reg-stack.c: Likewise.
2401 * reload1.c: Likewise.
2402 * reload.c: Likewise.
2405 2002-01-09 Kazu Hirata <kazu@hxi.com>
2407 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
2408 to extract items in the expr_list chain.
2410 2002-01-09 Richard Henderson <rth@redhat.com>
2412 * config/vax/vax.c (vax_rtx_cost): Never abort.
2414 * config/vax/vax.h (REAL_ARITHMETIC): Define.
2416 2002-01-09 Jan Hubicka <jh@suse.cz>
2418 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
2420 2002-01-09 Richard Henderson <rth@redhat.com>
2422 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
2423 Unify code from various alternatives.
2425 2002-01-09 Richard Henderson <rth@redhat.com>
2427 * regrename.c (copy_value): Ignore the copy if the source register
2428 is present in the value chain with a narrower mode.
2430 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2432 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
2433 for the c4x target. Also improve layout.
2435 2002-01-09 Richard Henderson <rth@redhat.com>
2437 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
2438 * config/m32r/m32r.md (and ior xor splitters): Swap operands
2439 to match insn patterns.
2441 2002-01-09 Richard Henderson <rth@redhat.com>
2443 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
2444 (copyprop_hardreg_forward_1): Likewise.
2446 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2448 * pa.md (decrement_and_branch_until_zero): Change predicate for
2449 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
2451 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2453 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
2454 gets undefined. For Darwin.
2456 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2458 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
2460 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2462 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
2464 2002-01-08 Richard Henderson <rth@redhat.com>
2466 * regrename.c (copy_value): Ignore overlapping copies.
2468 2002-01-08 Richard Henderson <rth@redhat.com>
2470 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
2471 as needed to avoid shared structure.
2473 2002-01-08 Kazu Hirata <kazu@hxi.com>
2475 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
2478 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2480 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
2481 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
2482 documentation of obsolete macros.
2483 * system.h: Poison these macros.
2484 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
2485 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
2486 config/c4x/c4x.h, config/clipper/clipper.h,
2487 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
2488 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
2489 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
2490 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
2491 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
2492 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
2493 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2494 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
2495 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
2496 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
2497 config/sparc/sparc.h, config/stormy16/stormy16.h,
2498 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
2499 definitions and commented out definitions of obsolete macros.
2500 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
2501 of MAX_INT_TYPE_SIZE.
2503 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2505 * config/s390/s390.c (s390_preferred_reload_class): Never
2506 return ADDR_REGS if it isn't a subset of the given class.
2507 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
2508 FP_REGS, but all superclasses as well.
2510 * config/s390/s390.c (s390_function_profiler): Fix thinko.
2512 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
2513 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
2514 must not be a const_int.
2516 2002-01-08 Richard Henderson <rth@redhat.com>
2518 * Makefile.in (toplev.o): Depend on options.h.
2519 (gcc.o): Depend on specs.h.
2521 2002-01-08 Jakub Jelinek <jakub@redhat.com>
2523 * expr.c (store_expr): Convert VOIDmode constants back to target's
2526 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2528 * doc/invoke.texi: Markup gcc as @command. Refer to
2529 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
2530 of http://gcc.gnu.org/thanks.html.
2532 2002-01-08 Dale Johannesen <dalej@apple.com>
2534 * config/rs6000/rs6000.md: Add missing int register
2535 target case to movdf_low.
2537 2002-01-08 Zack Weinberg <zack@codesourcery.com>
2539 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
2540 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
2541 (cppinit.o): Depend on except.h.
2542 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
2543 s-specs): New rules.
2545 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
2546 Don't create specs.h/options.h/gencheck.h here. Remove
2547 unnecessary variable settings from last argument of AC_OUTPUT.
2548 * config.in, configure: Regenerate.
2549 * intl.c: Hardcode package name as "gcc".
2551 * cppinit.c: Include except.h.
2552 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2554 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2555 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2556 (!)USING_SJLJ_EXCEPTIONS.
2557 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2559 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2561 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2562 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2563 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2564 documentation of obsolete macros.
2565 * system.h: Poison these macros.
2566 * config/d30v/d30v.h, config/ns32k/encore.h,
2567 config/stormy16/stormy16.h: Remove definitions and commented out
2568 definitions of obsolete macros.
2570 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
2572 * objc/objc-act.c (handle_class_ref): Mark the declaration of
2573 %sobjc_class_ref_%s as used - to prevent unwanted compiler
2576 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2578 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2579 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2580 to insn adjusting stack/frame pointer.
2581 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2582 accept operands that cause the insn to be non-splittable.
2584 2002-01-08 Graham Stott <grahams@redhat.com>
2586 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2587 (C_TYPE_FIELDS_VOLATILE): Likewise.
2588 (C_TYPE_BEING_DEFINED): Likewise.
2589 (C_IS_RESERVED_WORD): Likewise.
2590 (C_TYPE_VARIABLE_SIZE): Likewise.
2591 (C_DECL_VARIABLE_SIZE): Likewise.
2592 (C_MISSING_PROTOTYPE_WARNED): Likewise.
2593 (C_SET_EXP_ORIGINAL_CODE): Likewise.
2594 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2596 (C_DECL_ANTICIPATED): Likewise.
2597 (c_build_type_variant): Add parenthesis.
2599 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2601 * gcc.c (option_map): Remove --version.
2602 (process_command): Handle -fversion following the GNU Coding
2603 Standards. Partially addresses PR other/704.
2605 2002-01-08 Graham Stott <grahams@redhat.com>
2607 * combine.c (combine_instructions): Fix typo.
2609 2002-01-08 Graham Stott <grahams@redhat.com>
2611 * debug.h: Use "tree" and "rtx" throughout.
2613 * debug.c: Likewise.
2615 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2617 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2618 constant pool, use the pool's version of the symbol instead.
2620 2002-01-07 Richard Henderson <rth@redhat.com>
2622 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2623 the original register was copied in a mode with a fewer number of
2624 hard registers than the desired mode.
2625 (copyprop_hardreg_forward_1): Likewise.
2626 (debug_value_data): Fix loop test.
2627 * toplev.c (parse_options_and_default_flags): Reenable
2628 -fcprop-registers at -O1.
2630 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2632 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2633 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2635 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2638 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2640 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2642 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2643 (pa_output_function_prologue): Output local label at the beginning of
2644 the prologue when profiling.
2645 (hppa_profile_hook): Use the local label rather than the function label.
2646 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2648 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2650 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2651 (altivec_expand_unop_builtin): Fix thinko.
2652 (altivec_expand_binop_builtin): Same.
2653 (altivec_expand_ternop_builtin): Same.
2654 (altivec_expand_builtin): Same.
2656 2002-01-07 Richard Henderson <rth@redhat.com>
2658 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2660 2002-01-07 Jason Merrill <jason@redhat.com>
2662 * unwind-dw2.c (execute_cfa_program): Use < again.
2664 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2666 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2668 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2670 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2671 Don't allow -1 - x -> ~x simplifications in the first pass.
2673 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2675 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2677 (altivec_expand_binop_builtin): Same.
2678 (altivec_expand_unop_builtin): Same.
2679 (print_operand): Fix typo.
2680 (bdesc_1arg): Add vupk* variants.
2682 * rs6000.h (rs6000_builtins): Add vupk* enums.
2684 * rs6000.md: Add altivec_vupk* variants.
2686 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2688 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2689 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2690 and last update dates.
2692 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2694 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2696 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2698 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2699 * config/avr/avr.h (CPP_SPEC): Likewise.
2700 (LINK_SPEC): Likewise.
2701 (CRT_BINUTILS_SPECS): Likewise.
2702 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2703 * doc/invoke.texi (AVR Options): Document them.
2705 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2707 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2710 2002-01-07 Graham Stott <grahams@redhat.com>
2712 * config/i386/i386.h: Update copyright date.
2713 (HALF_PIC_PTR): Add parenthesis.
2714 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2715 (CONSTANT_ALIGNMENT): Add parenthesis.
2716 (DATA_ALIGNMENT): Likewise.
2717 (LOCAL_ALIGNMENT): Likewise.
2718 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2719 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2720 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2721 (HARD_REGNO_NREGS): Add paranethesis.
2722 (VALID_SSE_REG_MODE): Whitespace.
2723 (VALID_MMX_REG_MODE): Whitespace.
2724 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2725 (ix86_hard_regno_mode_ok): Add parenthesis.
2726 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2727 (RETURN_IN_MEMORY): Whitespace.
2728 (N_REG_CLASSES): Add parenthesis.
2729 (INTEGER_CLASS_P): Add parenthesis and wrap.
2730 (FLOAT_CLASS_P): Likewise.
2731 (SSE_CLASS_P): Likewise.
2732 (MMX_CLASS_P): Likewise.
2733 (MAYBE_INTEGER_CLASS_P): Likewise.
2734 (MAYBE_FLOAT_CLASS_P): Likewise.
2735 (MAYBE_SSE_CLASS_P): Likewise.
2736 (MAYBE_MMX_CLASS_P): Likewise.
2737 (Q_CLASS_P): Likewise.
2738 (GENERAL_REGNO_P): Uppercase macro parameter.
2739 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2740 (FP_REGNO_P): Likewise.
2741 (ANY_FP_REGNO_P): Uppercase macro parameter.
2742 (SSE_REGNO_P): Likewise.
2743 (SSE_REGNO): Likewise.
2744 (SSE_REG_P): Likewise.
2745 (SSE_FLOAT_MODE_P): Likewise.
2746 (MMX_REGNO_P): Likewise.
2747 (MMX_REG_P):Likewise.
2748 (STACK_REG_P): Likewise.
2749 (NON_STACK_REG_P): Likewise.
2750 (STACK_TOP_P): Likewise.
2751 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2752 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2753 (SECONDARY_MEMORY_NEEDED): Likewise.
2754 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2755 (MD_ASM_CLOBBERS): Whitespace and wrap.
2756 (MUST_PASS_IN_STACK): Whitespace and wrap.
2757 (RETURN_POPS_ARGS): Add parenthesis.
2758 (INIT_CUMULATIVE_ARGS): Likewise.
2759 (FUNCTION_ARG): Likewise.
2760 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2761 (SETUP_INCOMING_VARARGS): Likewise.
2762 (BUILD_VA_LIST_TYPE): Add parenthesis.
2763 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2765 (EXPAND_BUILTIN_VA_ARG): Likewise.
2766 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2767 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2768 (INITIAL_ELIMINATION_OFFSET): Likewise.
2769 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2770 (REGNO_OK_FOR_BASE_P): Likewise.
2771 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2772 (REGNO_OK_FOR_DIREG_P): Likewise.
2773 (REG_OK_FOR_INDEX_P): Whitespace.
2774 (REG_OK_FOR_BASE_P): Whitespace.
2775 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2777 (FIND_BASE_TERM): Fix typo.
2778 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2779 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2780 (SYMBOLIC_CONST; Whitespace.
2781 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2782 (ENCODE_SECTION_INFO): Whitespace.
2783 (FINALIZE_PIC): Remove do { ... } while (0).
2784 (PROMOTE_MODE): Wrap in do { ... } while (0).
2785 (CONST_COSTS): Whitespace.
2786 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2787 (REGISTER_MOVE_COST): Add parenthesis.
2788 (MEMORY_MOVE_COST): Likewise.
2789 (EXTRA_CC_MODES): Whitespace.
2790 (SELECT_CC_MODE): Add parenthesis and whitespace.
2791 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2792 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2793 (ASM_OUTPUT_LABEL): Add paramethesis.
2794 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2795 (ASM_OUTPUT_REG_POP): Likewise.
2796 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2797 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2799 * config/i386/i386.c: Update copyright.
2800 (CHECK_STACK_LIMIT): Add parenthesis.
2801 (AT_BP): Uppercase macro parameter.
2802 (x86_64_int_parameter_registers): Constify.
2803 (x86_64_int_return_registers): Likewise.
2804 (ix86_compare_op0): Use rtx.
2805 (construct_container): Constify INTREG parameter.
2806 (function_arg): Use rtx.
2808 * diagnostic.h: Update copyright date.
2809 (output_buffer_state): Add parenthesis.
2810 (output_buffer_format_args): Likewise.
2812 * combine.c (combine_instructions): Replace XEXP (links, 0)
2815 2002-01-06 H.J. Lu <hjl@gnu.org>
2817 * cfgcleanup.c (thread_jump): Fix 2 typos.
2819 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2821 * config.gcc: Add support for --enable-altivec.
2823 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2825 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2827 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2829 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2830 __objc_class_name_*.
2832 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2834 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2836 2002-01-06 Richard Henderson <rth@redhat.com>
2838 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2839 nop them out. Increment label reference count for REG_LABEL.
2840 (fill_slots_from_thread): Frob label reference count around
2841 delete_related_insns.
2843 2002-01-05 Richard Henderson <rth@redhat.com>
2845 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2848 2002-01-05 Richard Henderson <rth@redhat.com>
2850 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2851 * integrate.c (output_inline_function): Likewise.
2852 * toplev.c (rest_of_compilation): Do it here instead. Move call
2853 to remove_unnecessary_notes after emitting abstract instance.
2854 Force an emitted nested function to have its parent emited as well.
2855 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2857 (rtl_for_decl_location): Do not look at reload data structures
2858 before reload has run.
2860 2002-01-05 Kazu Hirata <kazu@hxi.com>
2862 * cse.c: Fix formatting.
2863 * dwarf2asm.c: Likewise.
2864 * dwarf2out.c: Likewise.
2865 * explow.c: Likewise.
2866 * expmed.c: Likewise.
2867 * function.c: Likewise.
2869 * gencheck.c: Likewise.
2870 * genrecog.c: Likewise.
2871 * ggc-common.c: Likewise.
2872 * ggc-page.c: Likewise.
2873 * global.c: Likewise.
2875 2002-01-05 Kazu Hirata <kazu@hxi.com>
2877 * combine.c: Fix formatting.
2879 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
2882 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2884 2002-01-05 David Edelsohn <edelsohn@gnu.org>
2886 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2887 as 1 for __powerpc64__ as well.
2889 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2891 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2894 2002-01-05 Daniel Berlin <dan@dberlin.org>
2896 * lcm.c: Revert change, due to performance regression it causes on
2897 SPEC because it's slightly more conservative (sigh, I hate
2900 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
2902 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2904 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2906 * doc/cppinternals.texi: Update.
2908 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
2910 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2911 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2913 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
2914 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2915 kludge for pre-october-14th mmix versions to handle new-found bug
2916 with PUSHJ/PUSHGO and the register stack.
2917 * config/mmix/mmix.h (struct machine_function): Rename member
2918 has_call_value_without_parameters to has_call_without_parameters.
2919 All referers changed.
2920 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2921 TARGET_MASK_BRANCH_PREDICT): New macros.
2922 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2923 -mno-reg-stack-fill-bug-workaround.
2924 * config/mmix/mmix.md ("call"): Set struct machine member
2925 has_call_without_parameters.
2927 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
2929 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2931 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
2933 * cfgcleanup.c: Include tm_p.h
2934 (mark_effect): Fix handling of hard register; fix handling of SET
2936 2002-01-04 Kazu Hirata <kazu@hxi.com>
2938 * config/h8300/h8300.md (anonymous patterns): Check that
2939 operands are registers before using REGNO on them.
2941 2002-01-03 Roland McGrath <roland@frob.com>
2943 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2945 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2947 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2948 * c-common.h (genrtl_expr_stmt_value): Likewise.
2949 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2950 (expand_expr_stmt_value): Add maybe_last argument.
2951 Don't warn about statement with no effect if it is the last statement
2952 in expression statement.
2953 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2954 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2955 expand_expr_stmt_value.
2956 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2957 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2958 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2959 as maybe_last to expand_expr_stmt_value.
2961 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2963 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2964 be passed in, do not build it.
2965 (c_begin_if_stmt): New function.
2966 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2967 * c-common.h (c_expand_start_cond): Update prototype.
2968 (c_begin_if_stmt): Prototype new function.
2969 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2970 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2971 c_begin_while_stmt and c_finish_while_stmt_cond.
2973 2002-01-04 William Cohen <wcohen@redhat.com>
2975 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2976 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2977 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2978 * config/pa/som.h (ASM_FILE_START): Likewise.
2980 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
2982 * lcm.c: Include df.h.
2983 Add available_transfer_function prototype.
2984 (compute_available): Rework to use iterative dataflow framework.
2985 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2986 with bb_info in df.h
2987 (available_transfer_function): New function.
2989 * Makefile.in (lcm.o): add df.h to dependencies.
2991 2002-01-04 Richard Henderson <rth@redhat.com>
2993 * config/alpha/alpha.c (some_operand): Accept HIGH.
2994 (input_operand): Likewise; accept simple references to globals.
2995 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2996 (alpha_const_double_ok_for_letter_p): Likewise.
2997 (alpha_extra_constraint): Likewise.
2998 (alpha_preferred_reload_class): Likewise. Do not force
2999 symbolic constants to memory.
3000 (alpha_legitimate_address_p): Accept simple references
3001 to small_symbolic_operand.
3002 (alpha_legitimize_address): New arg scratch. Be prepared to be
3003 called when no_new_pseudos. Emit simple symbolic references.
3004 Split integers into low, high, and rest.
3005 (alpha_expand_mov): Use alpha_legitimize_address.
3006 (some_small_symbolic_mem_operand): New.
3007 (split_small_symbolic_mem_operand): New.
3008 * config/alpha/alpha-protos.h: Update.
3009 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
3010 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
3011 (EXTRA_CONSTRAINT): Likewise.
3012 (PREFERRED_RELOAD_CLASS): Likewise.
3013 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
3014 (PREDICATE_CODES): Update.
3015 * config/alpha/alpha.md: New post-reload splitters to convert
3016 simplfied symbolic operands to the form that references $29.
3017 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
3018 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
3020 2002-01-03 Richard Henderson <rth@redhat.com>
3022 * local-alloc.c (function_invariant_p): Update commentary.
3024 2002-01-04 H.J. Lu <hjl@gnu.org>
3026 * toplev.c (rest_of_compilation): Fix a typo when calling
3029 2002-01-03 Kazu Hirata <kazu@hxi.com>
3031 * c-common.c: Fix formatting.
3032 * diagnostic.c: Likewise.
3033 * doloop.c: Likewise.
3034 * dwarf2out.c: Likewise.
3036 2002-01-03 Kazu Hirata <kazu@hxi.com>
3038 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
3039 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
3041 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
3043 * cpperror.c: Update comments and copyright.
3044 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
3045 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
3047 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
3049 * collect2.c (main): Use strcmp when testing for "-shared".
3051 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
3053 * cppmacro.c: Don't include intl.h. Update comments.
3054 (new_number_token): Allocate enough buffer for 64-bit unsigned
3055 integers; update prototype.
3056 * cppmain.c: Update comments.
3058 2002-01-03 William Cohen <wcohen@redhat.com>
3060 * function.h (struct function): Add profile.
3061 (current_function_profile): New.
3062 doc/extend.texi: Update documentation.
3063 * final.c (final_start_function): Use current_function_profile
3064 instead of profile_flag.
3065 (profile_after_prologue): Likewise.
3066 * function.c (expand_function_start): Likewise.
3067 (expand_function_start): Likewise.
3068 * config/alpha/alpha.c (direct_call_operand):
3069 (alpha_does_function_need_gp): Likewise.
3070 (alpha_expand_prologue): Likewise.
3071 * config/arm/arm.c (arm_expand_prologue): Likewise.
3072 thumb_expand_prologue: Likewise.
3073 * config/d30v/d30v.c (d30v_stack_info): Likewise.
3074 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
3075 (fr30_expand_prologue): Likewise.
3076 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
3077 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
3078 * config/i386/i386.h (FINALIZE_PIC): Likewise.
3079 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
3080 * config/i960/i960.c (i960_output_function_prologue): Likewise.
3081 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
3082 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
3083 (m32r_expand_prologue): Likewise.
3084 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
3085 (m88k_expand_prologue): Likewise.
3086 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
3087 * config/mips/mips.c (compute_frame_size): Likewise.
3088 (mips_expand_prologue): Likewise.
3089 (mips_can_use_return_insn): Likewise.
3090 * config/pa/elf.h (ASM_FILE_START): Likewise.
3091 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
3092 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
3093 * config/pa/som.h (ASM_FILE_START): Likewise.
3094 * config/romp/romp.c (romp_using_r14): Likewise.
3095 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
3096 (rs6000_stack_info): Likewise.
3097 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
3098 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
3099 * config/v850/v850.c (compute_register_save_size): Likewise.
3101 2002-01-03 Jakub Jelinek <jakub@redhat.com>
3103 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
3104 gen_lowpart_common fails, use gen_lowpart_SUBREG.
3106 2002-01-03 Turly O'Connor <turly@apple.com>
3108 * darwin.c (machopic_output_possible_stub_label): Don't generate
3109 stub routines for pseudo-stubs which we've just defined.
3111 2002-01-03 Kazu Hirata <kazu@hxi.com>
3113 * builtins.c: Fix formatting.
3114 * c-typeck.c: Likewise.
3115 * combine.c: Likewise.
3119 2002-01-03 Andreas Schwab <schwab@suse.de>
3121 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
3122 and return true if _cpp_push_next_buffer pushed a new include
3124 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
3125 _cpp_pop_file_buffer did not push a new file.
3126 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
3128 2002-01-02 Eric Christopher <echristo@redhat.com>
3130 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
3131 FIND_REG_INC_NOTE call. Update copyright.
3132 * loop.c (canonicalize_condition): Ditto.
3133 * reorg.c (delete_scheduled_jump): Ditto.
3135 2002-01-03 Kazu Hirata <kazu@hxi.com>
3137 * gcse.c: Fix formatting.
3139 2002-01-03 Graham Stott <grahams@redhat.com>
3141 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
3142 forward defs for struct tags rtx_def, union_tree, rtvec_def
3143 also output corresponding typedefs for rtx, tree, and rtvec.
3145 * system.h: Move forward defs for struct tags rtx_def, union_tree,
3146 rtvec_def along with corresponding typedefs for rtx, tree, and
3147 rtvec to config.h, hconfig.h, tconfig.h.
3149 2002-01-03 Graham Stott <grahams@redhat.com>
3151 * tree.h: Update copyright date.
3152 (IS_EXPR_CODE_CLASS): Add parenthesis.
3153 (TREE_SET_CODE): Add whitespace.
3154 (TREE_CHECK): Add parenthesis.
3155 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
3156 (CST_OR_CONSTRUCTOR_CHECK):
3157 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
3158 (TREE_SYMBOL_REFERENCED): Whitespace.
3159 (INT_CST_LT): Likewise.
3160 (INT_CST_LT_UNSIGNED): Likewise.
3161 (tree_real_cst): Unwrap comment.
3162 (tree_string): Likewise.
3163 (tree_complex): Likewise.
3164 (IDENTIFIER_POINTER): correct cast.
3165 (SAVE_EXPR_CONTEXT): Whitespace.
3166 (EXPR_WFL_FILENAME_NODE): Likewise.
3167 (EXPR_WFL_FILENAME): Remove parenthesis.
3168 (DECL_ORIGIN): Add parenthesis.
3169 (DECL_FROM_INLINE): Use NULL_TREE.
3170 (build_int_2): Whitespace.
3171 (build_type_variant): Add parenthesis.
3173 * gcc/jcf-parse.c: Update copyright date.
3174 (yyparse): Constify resource_filename.
3176 2002-01-03 Graham Stott <grahams@redhat.com>
3178 * rtl.h: Update copyright date.
3179 (RTL_CHECK1): Wrap long line.
3180 (RTL_CHECK2): Likewise.
3181 (RTL_CHECKC1): Wrap long line and whitespace.
3182 (RTL_CHECKC2): Likewise.
3183 (XWINT): Whitespace.
3189 (XBITMAP): Likewise.
3200 (X0BITMAP): Likewise.
3202 (X0BBDEF): Likewise.
3203 (X0ADVFLAGS): Likewise.
3204 (X0CSELIB): Likewise.
3205 (X0MEMATTR): Likewise.
3213 (XCBITMAP): Likewise.
3215 (XCBBDEF): Likewise.
3216 (XCADVFLAGS): Likewise.
3217 (XCCSELIB): Likewise.
3219 (INSN_UID): Likewise.
3220 (PREV_INSN): Likewise.
3221 (PATTERN): Likewise.
3222 (INSN_CODE): Likewise.
3223 (PUT_REG_NOTE_KIND): Likewise.
3224 (CODE_LABEL_NUMBER): Likewise.
3225 (NOTE_SOURCE_FILE): Likewise.
3226 (NOTE_BLOCK): Likewise.
3227 (NOTE_EH_HANDLER): Likewise.
3228 (NOTE_RANGE_INFO): Likewise.
3229 (NOTE_LIVE_INFO): Likewise.
3230 (NOTE_BASIC_BLOCK): Likewise.
3231 (NOTE_EXPECTED_VALUE): Likewise.
3232 (NOTE_LINE_NUMBER): Likewise.
3233 (LABEL_NAME): Likewise.
3234 (LABEL_NUSES): Likewise.
3235 (LABEL_ALTERNATE_NAME): Likewise.
3236 (ADDRESSOF_DECL): Likewise.
3237 (JUMP_LABEL): Likewise.
3238 (LABEL_NEXTREF): Likewise.
3240 (ORIGINAL_REGNO: Likewise.
3241 (HARD_REGISTER_NUM_P): Add parenthesis.
3242 (SUBREG_REG): Whitespace.
3243 (SUBREG_BYTE): Likewise.
3244 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
3245 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
3246 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
3247 (ASM_OPERANDS_INPUT_VEC): Likewise.
3248 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
3249 (ASM_OPERANDS_INPUT): Likewise.
3250 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
3251 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
3252 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
3253 (ASM_OPERANDS_INPUT_MODE): Likewise.
3254 (ASM_OPERANDS_SOURCE_FILE): Likewise.
3255 (ASM_OPERANDS_SOURCE_LINE): Likewise.
3256 (MEM_SET_IN_STRUCT_P): Minor reformat.
3257 (TRAP_CONDITION): Whitespace.
3258 (TRAP_CODE): Likewise.
3259 (COND_EXEC_TEST): Likewise.
3260 (COND_EXEC_CODE): Likewise.
3261 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
3262 (PHI_NODE_P): Add parenthesis.
3263 (plus_constant): Whitespace and add parenthesis.
3265 2002-01-03 Kazu Hirata <kazu@hxi.com>
3267 * config/avr/avr.c: Fix comment typos.
3268 * config/c4x/c4x.md: Likewise.
3269 * config/dsp16xx/dsp16xx.h: Likewise.
3270 * config/dsp16xx/dsp16xx.md: Likewise.
3271 * config/i386/i386.md: Likewise.
3272 * config/ia64/ia64.c: Likewise.
3273 * config/m32r/m32r.h: Likewise.
3274 * config/m68hc11/m68hc11.md: Likewise.
3275 * config/mmix/mmix.c: Likewise.
3276 * config/mn10200/mn10200.c: Likewise.
3277 * config/romp/romp.c: Likewise.
3278 * config/sh/sh.c: Likewise.
3279 * config/stormy16/stormy16.c: Likewise.
3280 * config/stormy16/stormy16.h: Likewise.
3281 * config/stormy16/stormy16.md: Likewise.
3283 2002-01-03 Graham Stott <grahams@redhat.com>
3285 * loop.h: Update copyright date.
3286 (LOOP_MOVABLES): Fix typo.
3287 (LOOP_REGS): Likewise.
3288 (LOOP_IVS): Likewise.
3290 2002-01-03 Graham Stott <grahams@redhat.com>
3292 * cppinit.c: Update copyright date.
3293 Don't include output.h
3294 * Makefile.in: Update copyright date.
3297 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
3300 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
3301 (-pthread) Add to RS/6000 options.
3303 2002-01-02 Kazu Hirata <kazu@hxi.com>
3305 * except.c: Fix comment typos.
3307 * varasm.c: Likewise.
3308 * doc/tm.texi: Fix a typo.
3310 2002-01-02 Jakub Jelinek <jakub@redhat.com>
3312 * c-typeck.c (output_init_element): Allow initializing static storage
3313 duration objects with compound literals.
3315 2002-01-02 Richard Henderson <rth@redhat.com>
3317 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
3320 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3322 * gcc.c (default_compilers): Const-ify.
3323 * mips-tdump.c (stab_names): Likewise.
3324 * mips-tfile.c (map_coff_types, map_coff_storage,
3325 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
3326 pseudo_ops_t, pseudo_ops): Likewise.
3327 * protoize.c (default_include): Likewise
3329 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
3330 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
3331 Add array size in declaration.
3332 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
3333 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
3334 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
3335 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
3336 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
3337 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
3338 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
3339 emtens, make_nan): Const-ify.
3340 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
3341 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
3343 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
3345 * config.gcc (ia64-*-*): Set extra_headers.
3346 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
3347 * config/alpha/t-osf: Remove.
3348 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
3350 2002-01-02 David Edelsohn <edelsohn@gnu.org>
3352 * config/rs6000/t-aix43: Revert previous change.
3354 2002-01-02 Jason Merrill <jason@redhat.com>
3356 * c-decl.c (c_expand_body): Call outlining_inline_function when
3357 emitting an inline function out of line.
3359 2002-01-02 Richard Henderson <rth@redhat.com>
3361 * dwarf2out.c (limbo_die_node): Add created_for member.
3362 (new_die): New argument created_for. Update all callers.
3363 (mark_limbo_die_list): New.
3364 (dwarf2out_init): Register limbo_die_list as a root.
3365 (dwarf2out_finish): Force insert limbo dies into their function
3368 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
3371 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
3373 2002-01-02 Kazu Hirata <kazu@hxi.com>
3375 * config/h8300/fixunssfsi.c: Update copyright.
3378 * config/h8300/h8300.c: Update copyright.
3381 2002-01-02 Kazu Hirata <kazu@hxi.com>
3383 * config/romp/romp.c: Fix comment formatting.
3384 * config/romp/romp.h: Likewise.
3385 * config/romp/romp.md: Likewise.
3386 * config/s390/s390.c: Likewise.
3387 * config/stormy16/stormy16.c: Likewise.
3388 * config/stormy16/stormy16.h: Likewise.
3390 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
3392 * c-common.h (genrtl_expr_stmt_value): Declare.
3393 * c-semantics.c (genrtl_goto_stmt): Redirect to...
3394 (genrtl_goto_stmt_value): ... this new function. Pass new
3395 argument down to expand_expr_stmt_value, taking
3396 TREE_ADDRESSABLE into account.
3397 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
3398 STMT_EXPR as addressable, i.e., one whose result we want.
3399 * expr.c (expand_expr): Don't save expression statement value
3400 of labeled_blocks or loop_exprs.
3401 * stmt.c (expand_expr_stmt): Redirect to...
3402 (expand_expr_stmt_value): ... this new function. Use new
3403 argument to tell whether to save expression value.
3404 (expand_end_stmt_expr): Reset last_expr_type and
3405 last_expr_value if we don't have either.
3406 * tree-inline.c (declare_return_variable): Mark its use
3407 statement as addressable.
3408 * tree.h: Document new use of TREE_ADDRESSABLE.
3409 (expand_expr_stmt_value): Declare.
3411 2002-01-01 Tom Rix <trix@redhat.com>
3413 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
3414 rs6000_emit_allocate_stack.
3416 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
3418 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
3419 ${srcdir}/ginclude/ to every entry in extra_headers.
3420 * configure: Regenerate.
3421 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
3422 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
3423 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
3424 * ginclude/proto.h: Rename to config/convex/proto.h.
3426 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3428 * attribs.c (handle_vector_size_attribute): Use host_integerp
3429 and tree_int_cst; remove warnings.
3430 * caller-save.c (insert_restore): Add cast to get rid of warning.
3431 (insert_save): Likewise.
3432 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
3433 * regmove.c (find_matches): Add temporary var to kill a warning.
3435 2002-01-01 Douglas B Rupp <rupp@gnat.com>
3437 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
3438 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
3439 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
3440 (vms-dwarf2eh.o): Add Makefile rule.
3441 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
3442 * config/alpha/vms-dwarf2eh.asm: New file.
3444 * gcc.c (delete_if_ordinary): Delete all versions.
3446 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
3448 * config/mmix/mmix.md: Update FIXME to not mention
3450 (MMIX_rJ_REGNUM): New define_constants constant.
3451 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
3452 "*movdicc_real"): Adjust contraints formatting.
3453 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
3454 for branch prediction.
3455 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
3457 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
3458 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
3459 number. Delete related FIXMEs.
3460 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
3461 from number to MMIX_rJ_REGNUM.
3462 (TARGET_MASK_BRANCH_PREDICT): New.
3463 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
3464 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
3465 value. Add -mbranch-predict and -mno-branch-predict.
3466 (TARGET_VERSION): Drop date.
3467 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
3468 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
3469 for finding out global symbols.
3470 (mmix_asm_output_labelref): Revert condition for global symbol.
3471 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
3472 (mmix_print_operand_punct_valid_p): A '+' is valid.
3474 See ChangeLog.6 for earlier changes.