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