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