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