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