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