1 2002-01-07 Richard Henderson <rth@redhat.com>
3 * regrename.c (find_oldest_value_reg): Ignore the value chain if
4 the original register was copied in a mode with a fewer number of
5 hard registers than the desired mode.
6 (copyprop_hardreg_forward_1): Likewise.
7 (debug_value_data): Fix loop test.
8 * toplev.c (parse_options_and_default_flags): Reenable
9 -fcprop-registers at -O1.
11 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
13 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
14 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
16 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
19 * config/rs6000/rs6000.md: Add altivec predicate patterns.
21 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
23 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
24 (pa_output_function_prologue): Output local label at the beginning of
25 the prologue when profiling.
26 (hppa_profile_hook): Use the local label rather than the function label.
27 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
29 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
31 * config/rs6000/rs6000.c (print_operand): Remove extra space.
32 (altivec_expand_unop_builtin): Fix thinko.
33 (altivec_expand_binop_builtin): Same.
34 (altivec_expand_ternop_builtin): Same.
35 (altivec_expand_builtin): Same.
37 2002-01-07 Richard Henderson <rth@redhat.com>
39 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
41 2002-01-07 Jason Merrill <jason@redhat.com>
43 * unwind-dw2.c (execute_cfa_program): Use < again.
45 2002-01-07 Jakub Jelinek <jakub@redhat.com>
47 * predict.c (combine_predictions_for_insn): Avoid division by zero.
49 2002-01-07 Jakub Jelinek <jakub@redhat.com>
51 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
52 Don't allow -1 - x -> ~x simplifications in the first pass.
54 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
56 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
58 (altivec_expand_binop_builtin): Same.
59 (altivec_expand_unop_builtin): Same.
60 (print_operand): Fix typo.
61 (bdesc_1arg): Add vupk* variants.
63 * rs6000.h (rs6000_builtins): Add vupk* enums.
65 * rs6000.md: Add altivec_vupk* variants.
67 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
69 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
70 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
71 and last update dates.
73 2002-01-07 Janis Johnson <janis187@us.ibm.com>
75 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
77 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
79 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
80 * config/avr/avr.h (CPP_SPEC): Likewise.
81 (LINK_SPEC): Likewise.
82 (CRT_BINUTILS_SPECS): Likewise.
83 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
84 * doc/invoke.texi (AVR Options): Document them.
86 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
88 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
91 2002-01-07 Graham Stott <grahams@redhat.com>
93 * config/i386/i386.h: Update copyright date.
94 (HALF_PIC_PTR): Add parenthesis.
95 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
96 (CONSTANT_ALIGNMENT): Add parenthesis.
97 (DATA_ALIGNMENT): Likewise.
98 (LOCAL_ALIGNMENT): Likewise.
99 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
100 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
101 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
102 (HARD_REGNO_NREGS): Add paranethesis.
103 (VALID_SSE_REG_MODE): Whitespace.
104 (VALID_MMX_REG_MODE): Whitespace.
105 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
106 (ix86_hard_regno_mode_ok): Add parenthesis.
107 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
108 (RETURN_IN_MEMORY): Whitespace.
109 (N_REG_CLASSES): Add parenthesis.
110 (INTEGER_CLASS_P): Add parenthesis and wrap.
111 (FLOAT_CLASS_P): Likewise.
112 (SSE_CLASS_P): Likewise.
113 (MMX_CLASS_P): Likewise.
114 (MAYBE_INTEGER_CLASS_P): Likewise.
115 (MAYBE_FLOAT_CLASS_P): Likewise.
116 (MAYBE_SSE_CLASS_P): Likewise.
117 (MAYBE_MMX_CLASS_P): Likewise.
118 (Q_CLASS_P): Likewise.
119 (GENERAL_REGNO_P): Uppercase macro parameter.
120 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
121 (FP_REGNO_P): Likewise.
122 (ANY_FP_REGNO_P): Uppercase macro parameter.
123 (SSE_REGNO_P): Likewise.
124 (SSE_REGNO): Likewise.
125 (SSE_REG_P): Likewise.
126 (SSE_FLOAT_MODE_P): Likewise.
127 (MMX_REGNO_P): Likewise.
128 (MMX_REG_P):Likewise.
129 (STACK_REG_P): Likewise.
130 (NON_STACK_REG_P): Likewise.
131 (STACK_TOP_P): Likewise.
132 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
133 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
134 (SECONDARY_MEMORY_NEEDED): Likewise.
135 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
136 (MD_ASM_CLOBBERS): Whitespace and wrap.
137 (MUST_PASS_IN_STACK): Whitespace and wrap.
138 (RETURN_POPS_ARGS): Add parenthesis.
139 (INIT_CUMULATIVE_ARGS): Likewise.
140 (FUNCTION_ARG): Likewise.
141 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
142 (SETUP_INCOMING_VARARGS): Likewise.
143 (BUILD_VA_LIST_TYPE): Add parenthesis.
144 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
146 (EXPAND_BUILTIN_VA_ARG): Likewise.
147 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
148 (INITIALIZE_TRAMPOLINE): Add parenthesis.
149 (INITIAL_ELIMINATION_OFFSET): Likewise.
150 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
151 (REGNO_OK_FOR_BASE_P): Likewise.
152 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
153 (REGNO_OK_FOR_DIREG_P): Likewise.
154 (REG_OK_FOR_INDEX_P): Whitespace.
155 (REG_OK_FOR_BASE_P): Whitespace.
156 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
158 (FIND_BASE_TERM): Fix typo.
159 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
160 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
161 (SYMBOLIC_CONST; Whitespace.
162 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
163 (ENCODE_SECTION_INFO): Whitespace.
164 (FINALIZE_PIC): Remove do { ... } while (0).
165 (PROMOTE_MODE): Wrap in do { ... } while (0).
166 (CONST_COSTS): Whitespace.
167 (RTX_COSTS): Add paramethesis, whitespace and wrap.
168 (REGISTER_MOVE_COST): Add parenthesis.
169 (MEMORY_MOVE_COST): Likewise.
170 (EXTRA_CC_MODES): Whitespace.
171 (SELECT_CC_MODE): Add parenthesis and whitespace.
172 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
173 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
174 (ASM_OUTPUT_LABEL): Add paramethesis.
175 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
176 (ASM_OUTPUT_REG_POP): Likewise.
177 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
178 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
180 * config/i386/i386.c: Update copyright.
181 (CHECK_STACK_LIMIT): Add parenthesis.
182 (AT_BP): Uppercase macro parameter.
183 (x86_64_int_parameter_registers): Constify.
184 (x86_64_int_return_registers): Likewise.
185 (ix86_compare_op0): Use rtx.
186 (construct_container): Constify INTREG parameter.
187 (function_arg): Use rtx.
189 * diagnostic.h: Update copyright date.
190 (output_buffer_state): Add parenthesis.
191 (output_buffer_format_args): Likewise.
193 * combine.c (combine_instructions): Replace XEXP (links, 0)
196 2002-01-06 H.J. Lu <hjl@gnu.org>
198 * cfgcleanup.c (thread_jump): Fix 2 typos.
200 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
202 * config.gcc: Add support for --enable-altivec.
204 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
206 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
208 2002-01-06 Jakub Jelinek <jakub@redhat.com>
210 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
213 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
215 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
217 2002-01-06 Richard Henderson <rth@redhat.com>
219 * reorg.c (emit_delay_sequence): Remove death notes, not merely
220 nop them out. Increment label reference count for REG_LABEL.
221 (fill_slots_from_thread): Frob label reference count around
222 delete_related_insns.
224 2002-01-05 Richard Henderson <rth@redhat.com>
226 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
229 2002-01-05 Richard Henderson <rth@redhat.com>
231 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
232 * integrate.c (output_inline_function): Likewise.
233 * toplev.c (rest_of_compilation): Do it here instead. Move call
234 to remove_unnecessary_notes after emitting abstract instance.
235 Force an emitted nested function to have its parent emited as well.
236 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
238 (rtl_for_decl_location): Do not look at reload data structures
239 before reload has run.
241 2002-01-05 Kazu Hirata <kazu@hxi.com>
243 * cse.c: Fix formatting.
244 * dwarf2asm.c: Likewise.
245 * dwarf2out.c: Likewise.
246 * explow.c: Likewise.
247 * expmed.c: Likewise.
248 * function.c: Likewise.
250 * gencheck.c: Likewise.
251 * genrecog.c: Likewise.
252 * ggc-common.c: Likewise.
253 * ggc-page.c: Likewise.
254 * global.c: Likewise.
256 2002-01-05 Kazu Hirata <kazu@hxi.com>
258 * combine.c: Fix formatting.
260 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
263 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
265 2002-01-05 David Edelsohn <edelsohn@gnu.org>
267 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
268 as 1 for __powerpc64__ as well.
270 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
272 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
275 2002-01-05 Daniel Berlin <dan@dberlin.org>
277 * lcm.c: Revert change, due to performance regression it causes on
278 SPEC because it's slightly more conservative (sigh, I hate
281 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
283 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
285 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
287 * doc/cppinternals.texi: Update.
289 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
291 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
292 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
294 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
295 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
296 kludge for pre-october-14th mmix versions to handle new-found bug
297 with PUSHJ/PUSHGO and the register stack.
298 * config/mmix/mmix.h (struct machine_function): Rename member
299 has_call_value_without_parameters to has_call_without_parameters.
300 All referers changed.
301 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
302 TARGET_MASK_BRANCH_PREDICT): New macros.
303 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
304 -mno-reg-stack-fill-bug-workaround.
305 * config/mmix/mmix.md ("call"): Set struct machine member
306 has_call_without_parameters.
308 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
310 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
312 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
314 * cfgcleanup.c: Include tm_p.h
315 (mark_effect): Fix handling of hard register; fix handling of SET
317 2002-01-04 Kazu Hirata <kazu@hxi.com>
319 * config/h8300/h8300.md (anonymous patterns): Check that
320 operands are registers before using REGNO on them.
322 2002-01-03 Roland McGrath <roland@frob.com>
324 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
326 2002-01-04 Jakub Jelinek <jakub@redhat.com>
328 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
329 * c-common.h (genrtl_expr_stmt_value): Likewise.
330 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
331 (expand_expr_stmt_value): Add maybe_last argument.
332 Don't warn about statement with no effect if it is the last statement
333 in expression statement.
334 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
335 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
336 expand_expr_stmt_value.
337 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
338 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
339 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
340 as maybe_last to expand_expr_stmt_value.
342 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
344 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
345 be passed in, do not build it.
346 (c_begin_if_stmt): New function.
347 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
348 * c-common.h (c_expand_start_cond): Update prototype.
349 (c_begin_if_stmt): Prototype new function.
350 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
351 * c-parse.in (if_prefix): Use c_begin_if_stmt,
352 c_begin_while_stmt and c_finish_while_stmt_cond.
354 2002-01-04 William Cohen <wcohen@redhat.com>
356 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
357 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
358 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
359 * config/pa/som.h (ASM_FILE_START): Likewise.
361 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
363 * lcm.c: Include df.h.
364 Add available_transfer_function prototype.
365 (compute_available): Rework to use iterative dataflow framework.
366 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
368 (available_transfer_function): New function.
370 * Makefile.in (lcm.o): add df.h to dependencies.
372 2002-01-04 Richard Henderson <rth@redhat.com>
374 * config/alpha/alpha.c (some_operand): Accept HIGH.
375 (input_operand): Likewise; accept simple references to globals.
376 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
377 (alpha_const_double_ok_for_letter_p): Likewise.
378 (alpha_extra_constraint): Likewise.
379 (alpha_preferred_reload_class): Likewise. Do not force
380 symbolic constants to memory.
381 (alpha_legitimate_address_p): Accept simple references
382 to small_symbolic_operand.
383 (alpha_legitimize_address): New arg scratch. Be prepared to be
384 called when no_new_pseudos. Emit simple symbolic references.
385 Split integers into low, high, and rest.
386 (alpha_expand_mov): Use alpha_legitimize_address.
387 (some_small_symbolic_mem_operand): New.
388 (split_small_symbolic_mem_operand): New.
389 * config/alpha/alpha-protos.h: Update.
390 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
391 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
392 (EXTRA_CONSTRAINT): Likewise.
393 (PREFERRED_RELOAD_CLASS): Likewise.
394 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
395 (PREDICATE_CODES): Update.
396 * config/alpha/alpha.md: New post-reload splitters to convert
397 simplfied symbolic operands to the form that references $29.
398 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
399 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
401 2002-01-03 Richard Henderson <rth@redhat.com>
403 * local-alloc.c (function_invariant_p): Update commentary.
405 2002-01-04 H.J. Lu <hjl@gnu.org>
407 * toplev.c (rest_of_compilation): Fix a typo when calling
410 2002-01-03 Kazu Hirata <kazu@hxi.com>
412 * c-common.c: Fix formatting.
413 * diagnostic.c: Likewise.
414 * doloop.c: Likewise.
415 * dwarf2out.c: Likewise.
417 2002-01-03 Kazu Hirata <kazu@hxi.com>
419 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
420 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
422 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
424 * cpperror.c: Update comments and copyright.
425 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
426 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
428 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
430 * collect2.c (main): Use strcmp when testing for "-shared".
432 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
434 * cppmacro.c: Don't include intl.h. Update comments.
435 (new_number_token): Allocate enough buffer for 64-bit unsigned
436 integers; update prototype.
437 * cppmain.c: Update comments.
439 2002-01-03 William Cohen <wcohen@redhat.com>
441 * function.h (struct function): Add profile.
442 (current_function_profile): New.
443 doc/extend.texi: Update documentation.
444 * final.c (final_start_function): Use current_function_profile
445 instead of profile_flag.
446 (profile_after_prologue): Likewise.
447 * function.c (expand_function_start): Likewise.
448 (expand_function_start): Likewise.
449 * config/alpha/alpha.c (direct_call_operand):
450 (alpha_does_function_need_gp): Likewise.
451 (alpha_expand_prologue): Likewise.
452 * config/arm/arm.c (arm_expand_prologue): Likewise.
453 thumb_expand_prologue: Likewise.
454 * config/d30v/d30v.c (d30v_stack_info): Likewise.
455 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
456 (fr30_expand_prologue): Likewise.
457 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
458 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
459 * config/i386/i386.h (FINALIZE_PIC): Likewise.
460 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
461 * config/i960/i960.c (i960_output_function_prologue): Likewise.
462 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
463 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
464 (m32r_expand_prologue): Likewise.
465 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
466 (m88k_expand_prologue): Likewise.
467 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
468 * config/mips/mips.c (compute_frame_size): Likewise.
469 (mips_expand_prologue): Likewise.
470 (mips_can_use_return_insn): Likewise.
471 * config/pa/elf.h (ASM_FILE_START): Likewise.
472 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
473 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
474 * config/pa/som.h (ASM_FILE_START): Likewise.
475 * config/romp/romp.c (romp_using_r14): Likewise.
476 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
477 (rs6000_stack_info): Likewise.
478 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
479 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
480 * config/v850/v850.c (compute_register_save_size): Likewise.
482 2002-01-03 Jakub Jelinek <jakub@redhat.com>
484 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
485 gen_lowpart_common fails, use gen_lowpart_SUBREG.
487 2002-01-03 Turly O'Connor <turly@apple.com>
489 * darwin.c (machopic_output_possible_stub_label): Don't generate
490 stub routines for pseudo-stubs which we've just defined.
492 2002-01-03 Kazu Hirata <kazu@hxi.com>
494 * builtins.c: Fix formatting.
495 * c-typeck.c: Likewise.
496 * combine.c: Likewise.
500 2002-01-03 Andreas Schwab <schwab@suse.de>
502 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
503 and return true if _cpp_push_next_buffer pushed a new include
505 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
506 _cpp_pop_file_buffer did not push a new file.
507 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
509 2002-01-02 Eric Christopher <echristo@redhat.com>
511 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
512 FIND_REG_INC_NOTE call. Update copyright.
513 * loop.c (canonicalize_condition): Ditto.
514 * reorg.c (delete_scheduled_jump): Ditto.
516 2002-01-03 Kazu Hirata <kazu@hxi.com>
518 * gcse.c: Fix formatting.
520 2002-01-03 Graham Stott <grahams@redhat.com>
522 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
523 forward defs for struct tags rtx_def, union_tree, rtvec_def
524 also output corresponding typedefs for rtx, tree, and rtvec.
526 * system.h: Move forward defs for struct tags rtx_def, union_tree,
527 rtvec_def along with corresponding typedefs for rtx, tree, and
528 rtvec to config.h, hconfig.h, tconfig.h.
530 2002-01-03 Graham Stott <grahams@redhat.com>
532 * tree.h: Update copyright date.
533 (IS_EXPR_CODE_CLASS): Add parenthesis.
534 (TREE_SET_CODE): Add whitespace.
535 (TREE_CHECK): Add parenthesis.
536 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
537 (CST_OR_CONSTRUCTOR_CHECK):
538 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
539 (TREE_SYMBOL_REFERENCED): Whitespace.
540 (INT_CST_LT): Likewise.
541 (INT_CST_LT_UNSIGNED): Likewise.
542 (tree_real_cst): Unwrap comment.
543 (tree_string): Likewise.
544 (tree_complex): Likewise.
545 (IDENTIFIER_POINTER): correct cast.
546 (SAVE_EXPR_CONTEXT): Whitespace.
547 (EXPR_WFL_FILENAME_NODE): Likewise.
548 (EXPR_WFL_FILENAME): Remove parenthesis.
549 (DECL_ORIGIN): Add parenthesis.
550 (DECL_FROM_INLINE): Use NULL_TREE.
551 (build_int_2): Whitespace.
552 (build_type_variant): Add parenthesis.
554 * gcc/jcf-parse.c: Update copyright date.
555 (yyparse): Constify resource_filename.
557 2002-01-03 Graham Stott <grahams@redhat.com>
559 * rtl.h: Update copyright date.
560 (RTL_CHECK1): Wrap long line.
561 (RTL_CHECK2): Likewise.
562 (RTL_CHECKC1): Wrap long line and whitespace.
563 (RTL_CHECKC2): Likewise.
581 (X0BITMAP): Likewise.
584 (X0ADVFLAGS): Likewise.
585 (X0CSELIB): Likewise.
586 (X0MEMATTR): Likewise.
594 (XCBITMAP): Likewise.
597 (XCADVFLAGS): Likewise.
598 (XCCSELIB): Likewise.
600 (INSN_UID): Likewise.
601 (PREV_INSN): Likewise.
603 (INSN_CODE): Likewise.
604 (PUT_REG_NOTE_KIND): Likewise.
605 (CODE_LABEL_NUMBER): Likewise.
606 (NOTE_SOURCE_FILE): Likewise.
607 (NOTE_BLOCK): Likewise.
608 (NOTE_EH_HANDLER): Likewise.
609 (NOTE_RANGE_INFO): Likewise.
610 (NOTE_LIVE_INFO): Likewise.
611 (NOTE_BASIC_BLOCK): Likewise.
612 (NOTE_EXPECTED_VALUE): Likewise.
613 (NOTE_LINE_NUMBER): Likewise.
614 (LABEL_NAME): Likewise.
615 (LABEL_NUSES): Likewise.
616 (LABEL_ALTERNATE_NAME): Likewise.
617 (ADDRESSOF_DECL): Likewise.
618 (JUMP_LABEL): Likewise.
619 (LABEL_NEXTREF): Likewise.
621 (ORIGINAL_REGNO: Likewise.
622 (HARD_REGISTER_NUM_P): Add parenthesis.
623 (SUBREG_REG): Whitespace.
624 (SUBREG_BYTE): Likewise.
625 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
626 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
627 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
628 (ASM_OPERANDS_INPUT_VEC): Likewise.
629 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
630 (ASM_OPERANDS_INPUT): Likewise.
631 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
632 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
633 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
634 (ASM_OPERANDS_INPUT_MODE): Likewise.
635 (ASM_OPERANDS_SOURCE_FILE): Likewise.
636 (ASM_OPERANDS_SOURCE_LINE): Likewise.
637 (MEM_SET_IN_STRUCT_P): Minor reformat.
638 (TRAP_CONDITION): Whitespace.
639 (TRAP_CODE): Likewise.
640 (COND_EXEC_TEST): Likewise.
641 (COND_EXEC_CODE): Likewise.
642 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
643 (PHI_NODE_P): Add parenthesis.
644 (plus_constant): Whitespace and add parenthesis.
646 2002-01-03 Kazu Hirata <kazu@hxi.com>
648 * config/avr/avr.c: Fix comment typos.
649 * config/c4x/c4x.md: Likewise.
650 * config/dsp16xx/dsp16xx.h: Likewise.
651 * config/dsp16xx/dsp16xx.md: Likewise.
652 * config/i386/i386.md: Likewise.
653 * config/ia64/ia64.c: Likewise.
654 * config/m32r/m32r.h: Likewise.
655 * config/m68hc11/m68hc11.md: Likewise.
656 * config/mmix/mmix.c: Likewise.
657 * config/mn10200/mn10200.c: Likewise.
658 * config/romp/romp.c: Likewise.
659 * config/sh/sh.c: Likewise.
660 * config/stormy16/stormy16.c: Likewise.
661 * config/stormy16/stormy16.h: Likewise.
662 * config/stormy16/stormy16.md: Likewise.
664 2002-01-03 Graham Stott <grahams@redhat.com>
666 * loop.h: Update copyright date.
667 (LOOP_MOVABLES): Fix typo.
668 (LOOP_REGS): Likewise.
669 (LOOP_IVS): Likewise.
671 2002-01-03 Graham Stott <grahams@redhat.com>
673 * cppinit.c: Update copyright date.
674 Don't include output.h
675 * Makefile.in: Update copyright date.
678 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
681 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
682 (-pthread) Add to RS/6000 options.
684 2002-01-02 Kazu Hirata <kazu@hxi.com>
686 * except.c: Fix comment typos.
688 * varasm.c: Likewise.
689 * doc/tm.texi: Fix a typo.
691 2002-01-02 Jakub Jelinek <jakub@redhat.com>
693 * c-typeck.c (output_init_element): Allow initializing static storage
694 duration objects with compound literals.
696 2002-01-02 Richard Henderson <rth@redhat.com>
698 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
701 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
703 * gcc.c (default_compilers): Const-ify.
704 * mips-tdump.c (stab_names): Likewise.
705 * mips-tfile.c (map_coff_types, map_coff_storage,
706 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
707 pseudo_ops_t, pseudo_ops): Likewise.
708 * protoize.c (default_include): Likewise
710 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
711 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
712 Add array size in declaration.
713 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
714 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
715 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
716 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
717 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
718 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
719 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
720 emtens, make_nan): Const-ify.
721 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
722 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
724 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
726 * config.gcc (ia64-*-*): Set extra_headers.
727 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
728 * config/alpha/t-osf: Remove.
729 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
731 2002-01-02 David Edelsohn <edelsohn@gnu.org>
733 * config/rs6000/t-aix43: Revert previous change.
735 2002-01-02 Jason Merrill <jason@redhat.com>
737 * c-decl.c (c_expand_body): Call outlining_inline_function when
738 emitting an inline function out of line.
740 2002-01-02 Richard Henderson <rth@redhat.com>
742 * dwarf2out.c (limbo_die_node): Add created_for member.
743 (new_die): New argument created_for. Update all callers.
744 (mark_limbo_die_list): New.
745 (dwarf2out_init): Register limbo_die_list as a root.
746 (dwarf2out_finish): Force insert limbo dies into their function
749 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
752 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
754 2002-01-02 Kazu Hirata <kazu@hxi.com>
756 * config/h8300/fixunssfsi.c: Update copyright.
759 * config/h8300/h8300.c: Update copyright.
762 2002-01-02 Kazu Hirata <kazu@hxi.com>
764 * config/romp/romp.c: Fix comment formatting.
765 * config/romp/romp.h: Likewise.
766 * config/romp/romp.md: Likewise.
767 * config/s390/s390.c: Likewise.
768 * config/stormy16/stormy16.c: Likewise.
769 * config/stormy16/stormy16.h: Likewise.
771 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
773 * c-common.h (genrtl_expr_stmt_value): Declare.
774 * c-semantics.c (genrtl_goto_stmt): Redirect to...
775 (genrtl_goto_stmt_value): ... this new function. Pass new
776 argument down to expand_expr_stmt_value, taking
777 TREE_ADDRESSABLE into account.
778 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
779 STMT_EXPR as addressable, i.e., one whose result we want.
780 * expr.c (expand_expr): Don't save expression statement value
781 of labeled_blocks or loop_exprs.
782 * stmt.c (expand_expr_stmt): Redirect to...
783 (expand_expr_stmt_value): ... this new function. Use new
784 argument to tell whether to save expression value.
785 (expand_end_stmt_expr): Reset last_expr_type and
786 last_expr_value if we don't have either.
787 * tree-inline.c (declare_return_variable): Mark its use
788 statement as addressable.
789 * tree.h: Document new use of TREE_ADDRESSABLE.
790 (expand_expr_stmt_value): Declare.
792 2002-01-01 Tom Rix <trix@redhat.com>
794 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
795 rs6000_emit_allocate_stack.
797 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
799 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
800 ${srcdir}/ginclude/ to every entry in extra_headers.
801 * configure: Regenerate.
802 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
803 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
804 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
805 * ginclude/proto.h: Rename to config/convex/proto.h.
807 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
809 * attribs.c (handle_vector_size_attribute): Use host_integerp
810 and tree_int_cst; remove warnings.
811 * caller-save.c (insert_restore): Add cast to get rid of warning.
812 (insert_save): Likewise.
813 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
814 * regmove.c (find_matches): Add temporary var to kill a warning.
816 2002-01-01 Douglas B Rupp <rupp@gnat.com>
818 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
819 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
820 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
821 (vms-dwarf2eh.o): Add Makefile rule.
822 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
823 * config/alpha/vms-dwarf2eh.asm: New file.
825 * gcc.c (delete_if_ordinary): Delete all versions.
827 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
829 * config/mmix/mmix.md: Update FIXME to not mention
831 (MMIX_rJ_REGNUM): New define_constants constant.
832 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
833 "*movdicc_real"): Adjust contraints formatting.
834 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
835 for branch prediction.
836 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
838 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
839 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
840 number. Delete related FIXMEs.
841 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
842 from number to MMIX_rJ_REGNUM.
843 (TARGET_MASK_BRANCH_PREDICT): New.
844 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
845 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
846 value. Add -mbranch-predict and -mno-branch-predict.
847 (TARGET_VERSION): Drop date.
848 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
849 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
850 for finding out global symbols.
851 (mmix_asm_output_labelref): Revert condition for global symbol.
852 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
853 (mmix_print_operand_punct_valid_p): A '+' is valid.
855 See ChangeLog.6 for earlier changes.