1 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3 * doc/invoke.texi: Markup gcc as @command. Refer to
4 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
5 of http://gcc.gnu.org/thanks.html.
7 2002-01-08 Dale Johannesen <dalej@apple.com>
9 * config/rs6000/rs6000.md: Add missing int register
10 target case to movdf_low.
12 2002-01-08 Zack Weinberg <zack@codesourcery.com>
14 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
15 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
16 (cppinit.o): Depend on except.h.
17 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
20 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
21 Don't create specs.h/options.h/gencheck.h here. Remove
22 unnecessary variable settings from last argument of AC_OUTPUT.
23 * config.in, configure: Regenerate.
24 * intl.c: Hardcode package name as "gcc".
26 * cppinit.c: Include except.h.
27 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
29 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
30 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
31 (!)USING_SJLJ_EXCEPTIONS.
32 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
34 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
36 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
37 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
38 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
39 documentation of obsolete macros.
40 * system.h: Poison these macros.
41 * config/d30v/d30v.h, config/ns32k/encore.h,
42 config/stormy16/stormy16.h: Remove definitions and commented out
43 definitions of obsolete macros.
45 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
47 * objc/objc-act.c (handle_class_ref): Mark the declaration of
48 %sobjc_class_ref_%s as used - to prevent unwanted compiler
51 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
53 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
54 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
55 to insn adjusting stack/frame pointer.
56 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
57 accept operands that cause the insn to be non-splittable.
59 2002-01-08 Graham Stott <grahams@redhat.com>
61 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
62 (C_TYPE_FIELDS_VOLATILE): Likewise.
63 (C_TYPE_BEING_DEFINED): Likewise.
64 (C_IS_RESERVED_WORD): Likewise.
65 (C_TYPE_VARIABLE_SIZE): Likewise.
66 (C_DECL_VARIABLE_SIZE): Likewise.
67 (C_MISSING_PROTOTYPE_WARNED): Likewise.
68 (C_SET_EXP_ORIGINAL_CODE): Likewise.
69 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
71 (C_DECL_ANTICIPATED): Likewise.
72 (c_build_type_variant): Add parenthesis.
74 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
76 * gcc.c (option_map): Remove --version.
77 (process_command): Handle -fversion following the GNU Coding
78 Standards. Partially addresses PR other/704.
80 2002-01-08 Graham Stott <grahams@redhat.com>
82 * combine.c (combine_instructions): Fix typo.
84 2002-01-08 Graham Stott <grahams@redhat.com>
86 * debug.h: Use "tree" and "rtx" throughout.
90 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
92 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
93 constant pool, use the pool's version of the symbol instead.
95 2002-01-07 Richard Henderson <rth@redhat.com>
97 * regrename.c (find_oldest_value_reg): Ignore the value chain if
98 the original register was copied in a mode with a fewer number of
99 hard registers than the desired mode.
100 (copyprop_hardreg_forward_1): Likewise.
101 (debug_value_data): Fix loop test.
102 * toplev.c (parse_options_and_default_flags): Reenable
103 -fcprop-registers at -O1.
105 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
107 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
108 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
110 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
113 * config/rs6000/rs6000.md: Add altivec predicate patterns.
115 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
117 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
118 (pa_output_function_prologue): Output local label at the beginning of
119 the prologue when profiling.
120 (hppa_profile_hook): Use the local label rather than the function label.
121 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
123 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
125 * config/rs6000/rs6000.c (print_operand): Remove extra space.
126 (altivec_expand_unop_builtin): Fix thinko.
127 (altivec_expand_binop_builtin): Same.
128 (altivec_expand_ternop_builtin): Same.
129 (altivec_expand_builtin): Same.
131 2002-01-07 Richard Henderson <rth@redhat.com>
133 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
135 2002-01-07 Jason Merrill <jason@redhat.com>
137 * unwind-dw2.c (execute_cfa_program): Use < again.
139 2002-01-07 Jakub Jelinek <jakub@redhat.com>
141 * predict.c (combine_predictions_for_insn): Avoid division by zero.
143 2002-01-07 Jakub Jelinek <jakub@redhat.com>
145 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
146 Don't allow -1 - x -> ~x simplifications in the first pass.
148 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
150 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
152 (altivec_expand_binop_builtin): Same.
153 (altivec_expand_unop_builtin): Same.
154 (print_operand): Fix typo.
155 (bdesc_1arg): Add vupk* variants.
157 * rs6000.h (rs6000_builtins): Add vupk* enums.
159 * rs6000.md: Add altivec_vupk* variants.
161 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
163 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
164 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
165 and last update dates.
167 2002-01-07 Janis Johnson <janis187@us.ibm.com>
169 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
171 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
173 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
174 * config/avr/avr.h (CPP_SPEC): Likewise.
175 (LINK_SPEC): Likewise.
176 (CRT_BINUTILS_SPECS): Likewise.
177 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
178 * doc/invoke.texi (AVR Options): Document them.
180 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
182 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
185 2002-01-07 Graham Stott <grahams@redhat.com>
187 * config/i386/i386.h: Update copyright date.
188 (HALF_PIC_PTR): Add parenthesis.
189 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
190 (CONSTANT_ALIGNMENT): Add parenthesis.
191 (DATA_ALIGNMENT): Likewise.
192 (LOCAL_ALIGNMENT): Likewise.
193 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
194 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
195 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
196 (HARD_REGNO_NREGS): Add paranethesis.
197 (VALID_SSE_REG_MODE): Whitespace.
198 (VALID_MMX_REG_MODE): Whitespace.
199 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
200 (ix86_hard_regno_mode_ok): Add parenthesis.
201 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
202 (RETURN_IN_MEMORY): Whitespace.
203 (N_REG_CLASSES): Add parenthesis.
204 (INTEGER_CLASS_P): Add parenthesis and wrap.
205 (FLOAT_CLASS_P): Likewise.
206 (SSE_CLASS_P): Likewise.
207 (MMX_CLASS_P): Likewise.
208 (MAYBE_INTEGER_CLASS_P): Likewise.
209 (MAYBE_FLOAT_CLASS_P): Likewise.
210 (MAYBE_SSE_CLASS_P): Likewise.
211 (MAYBE_MMX_CLASS_P): Likewise.
212 (Q_CLASS_P): Likewise.
213 (GENERAL_REGNO_P): Uppercase macro parameter.
214 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
215 (FP_REGNO_P): Likewise.
216 (ANY_FP_REGNO_P): Uppercase macro parameter.
217 (SSE_REGNO_P): Likewise.
218 (SSE_REGNO): Likewise.
219 (SSE_REG_P): Likewise.
220 (SSE_FLOAT_MODE_P): Likewise.
221 (MMX_REGNO_P): Likewise.
222 (MMX_REG_P):Likewise.
223 (STACK_REG_P): Likewise.
224 (NON_STACK_REG_P): Likewise.
225 (STACK_TOP_P): Likewise.
226 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
227 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
228 (SECONDARY_MEMORY_NEEDED): Likewise.
229 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
230 (MD_ASM_CLOBBERS): Whitespace and wrap.
231 (MUST_PASS_IN_STACK): Whitespace and wrap.
232 (RETURN_POPS_ARGS): Add parenthesis.
233 (INIT_CUMULATIVE_ARGS): Likewise.
234 (FUNCTION_ARG): Likewise.
235 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
236 (SETUP_INCOMING_VARARGS): Likewise.
237 (BUILD_VA_LIST_TYPE): Add parenthesis.
238 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
240 (EXPAND_BUILTIN_VA_ARG): Likewise.
241 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
242 (INITIALIZE_TRAMPOLINE): Add parenthesis.
243 (INITIAL_ELIMINATION_OFFSET): Likewise.
244 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
245 (REGNO_OK_FOR_BASE_P): Likewise.
246 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
247 (REGNO_OK_FOR_DIREG_P): Likewise.
248 (REG_OK_FOR_INDEX_P): Whitespace.
249 (REG_OK_FOR_BASE_P): Whitespace.
250 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
252 (FIND_BASE_TERM): Fix typo.
253 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
254 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
255 (SYMBOLIC_CONST; Whitespace.
256 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
257 (ENCODE_SECTION_INFO): Whitespace.
258 (FINALIZE_PIC): Remove do { ... } while (0).
259 (PROMOTE_MODE): Wrap in do { ... } while (0).
260 (CONST_COSTS): Whitespace.
261 (RTX_COSTS): Add paramethesis, whitespace and wrap.
262 (REGISTER_MOVE_COST): Add parenthesis.
263 (MEMORY_MOVE_COST): Likewise.
264 (EXTRA_CC_MODES): Whitespace.
265 (SELECT_CC_MODE): Add parenthesis and whitespace.
266 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
267 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
268 (ASM_OUTPUT_LABEL): Add paramethesis.
269 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
270 (ASM_OUTPUT_REG_POP): Likewise.
271 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
272 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
274 * config/i386/i386.c: Update copyright.
275 (CHECK_STACK_LIMIT): Add parenthesis.
276 (AT_BP): Uppercase macro parameter.
277 (x86_64_int_parameter_registers): Constify.
278 (x86_64_int_return_registers): Likewise.
279 (ix86_compare_op0): Use rtx.
280 (construct_container): Constify INTREG parameter.
281 (function_arg): Use rtx.
283 * diagnostic.h: Update copyright date.
284 (output_buffer_state): Add parenthesis.
285 (output_buffer_format_args): Likewise.
287 * combine.c (combine_instructions): Replace XEXP (links, 0)
290 2002-01-06 H.J. Lu <hjl@gnu.org>
292 * cfgcleanup.c (thread_jump): Fix 2 typos.
294 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
296 * config.gcc: Add support for --enable-altivec.
298 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
300 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
302 2002-01-06 Jakub Jelinek <jakub@redhat.com>
304 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
307 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
309 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
311 2002-01-06 Richard Henderson <rth@redhat.com>
313 * reorg.c (emit_delay_sequence): Remove death notes, not merely
314 nop them out. Increment label reference count for REG_LABEL.
315 (fill_slots_from_thread): Frob label reference count around
316 delete_related_insns.
318 2002-01-05 Richard Henderson <rth@redhat.com>
320 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
323 2002-01-05 Richard Henderson <rth@redhat.com>
325 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
326 * integrate.c (output_inline_function): Likewise.
327 * toplev.c (rest_of_compilation): Do it here instead. Move call
328 to remove_unnecessary_notes after emitting abstract instance.
329 Force an emitted nested function to have its parent emited as well.
330 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
332 (rtl_for_decl_location): Do not look at reload data structures
333 before reload has run.
335 2002-01-05 Kazu Hirata <kazu@hxi.com>
337 * cse.c: Fix formatting.
338 * dwarf2asm.c: Likewise.
339 * dwarf2out.c: Likewise.
340 * explow.c: Likewise.
341 * expmed.c: Likewise.
342 * function.c: Likewise.
344 * gencheck.c: Likewise.
345 * genrecog.c: Likewise.
346 * ggc-common.c: Likewise.
347 * ggc-page.c: Likewise.
348 * global.c: Likewise.
350 2002-01-05 Kazu Hirata <kazu@hxi.com>
352 * combine.c: Fix formatting.
354 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
357 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
359 2002-01-05 David Edelsohn <edelsohn@gnu.org>
361 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
362 as 1 for __powerpc64__ as well.
364 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
366 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
369 2002-01-05 Daniel Berlin <dan@dberlin.org>
371 * lcm.c: Revert change, due to performance regression it causes on
372 SPEC because it's slightly more conservative (sigh, I hate
375 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
377 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
379 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
381 * doc/cppinternals.texi: Update.
383 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
385 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
386 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
388 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
389 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
390 kludge for pre-october-14th mmix versions to handle new-found bug
391 with PUSHJ/PUSHGO and the register stack.
392 * config/mmix/mmix.h (struct machine_function): Rename member
393 has_call_value_without_parameters to has_call_without_parameters.
394 All referers changed.
395 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
396 TARGET_MASK_BRANCH_PREDICT): New macros.
397 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
398 -mno-reg-stack-fill-bug-workaround.
399 * config/mmix/mmix.md ("call"): Set struct machine member
400 has_call_without_parameters.
402 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
404 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
406 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
408 * cfgcleanup.c: Include tm_p.h
409 (mark_effect): Fix handling of hard register; fix handling of SET
411 2002-01-04 Kazu Hirata <kazu@hxi.com>
413 * config/h8300/h8300.md (anonymous patterns): Check that
414 operands are registers before using REGNO on them.
416 2002-01-03 Roland McGrath <roland@frob.com>
418 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
420 2002-01-04 Jakub Jelinek <jakub@redhat.com>
422 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
423 * c-common.h (genrtl_expr_stmt_value): Likewise.
424 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
425 (expand_expr_stmt_value): Add maybe_last argument.
426 Don't warn about statement with no effect if it is the last statement
427 in expression statement.
428 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
429 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
430 expand_expr_stmt_value.
431 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
432 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
433 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
434 as maybe_last to expand_expr_stmt_value.
436 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
438 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
439 be passed in, do not build it.
440 (c_begin_if_stmt): New function.
441 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
442 * c-common.h (c_expand_start_cond): Update prototype.
443 (c_begin_if_stmt): Prototype new function.
444 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
445 * c-parse.in (if_prefix): Use c_begin_if_stmt,
446 c_begin_while_stmt and c_finish_while_stmt_cond.
448 2002-01-04 William Cohen <wcohen@redhat.com>
450 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
451 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
452 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
453 * config/pa/som.h (ASM_FILE_START): Likewise.
455 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
457 * lcm.c: Include df.h.
458 Add available_transfer_function prototype.
459 (compute_available): Rework to use iterative dataflow framework.
460 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
462 (available_transfer_function): New function.
464 * Makefile.in (lcm.o): add df.h to dependencies.
466 2002-01-04 Richard Henderson <rth@redhat.com>
468 * config/alpha/alpha.c (some_operand): Accept HIGH.
469 (input_operand): Likewise; accept simple references to globals.
470 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
471 (alpha_const_double_ok_for_letter_p): Likewise.
472 (alpha_extra_constraint): Likewise.
473 (alpha_preferred_reload_class): Likewise. Do not force
474 symbolic constants to memory.
475 (alpha_legitimate_address_p): Accept simple references
476 to small_symbolic_operand.
477 (alpha_legitimize_address): New arg scratch. Be prepared to be
478 called when no_new_pseudos. Emit simple symbolic references.
479 Split integers into low, high, and rest.
480 (alpha_expand_mov): Use alpha_legitimize_address.
481 (some_small_symbolic_mem_operand): New.
482 (split_small_symbolic_mem_operand): New.
483 * config/alpha/alpha-protos.h: Update.
484 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
485 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
486 (EXTRA_CONSTRAINT): Likewise.
487 (PREFERRED_RELOAD_CLASS): Likewise.
488 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
489 (PREDICATE_CODES): Update.
490 * config/alpha/alpha.md: New post-reload splitters to convert
491 simplfied symbolic operands to the form that references $29.
492 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
493 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
495 2002-01-03 Richard Henderson <rth@redhat.com>
497 * local-alloc.c (function_invariant_p): Update commentary.
499 2002-01-04 H.J. Lu <hjl@gnu.org>
501 * toplev.c (rest_of_compilation): Fix a typo when calling
504 2002-01-03 Kazu Hirata <kazu@hxi.com>
506 * c-common.c: Fix formatting.
507 * diagnostic.c: Likewise.
508 * doloop.c: Likewise.
509 * dwarf2out.c: Likewise.
511 2002-01-03 Kazu Hirata <kazu@hxi.com>
513 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
514 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
516 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
518 * cpperror.c: Update comments and copyright.
519 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
520 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
522 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
524 * collect2.c (main): Use strcmp when testing for "-shared".
526 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
528 * cppmacro.c: Don't include intl.h. Update comments.
529 (new_number_token): Allocate enough buffer for 64-bit unsigned
530 integers; update prototype.
531 * cppmain.c: Update comments.
533 2002-01-03 William Cohen <wcohen@redhat.com>
535 * function.h (struct function): Add profile.
536 (current_function_profile): New.
537 doc/extend.texi: Update documentation.
538 * final.c (final_start_function): Use current_function_profile
539 instead of profile_flag.
540 (profile_after_prologue): Likewise.
541 * function.c (expand_function_start): Likewise.
542 (expand_function_start): Likewise.
543 * config/alpha/alpha.c (direct_call_operand):
544 (alpha_does_function_need_gp): Likewise.
545 (alpha_expand_prologue): Likewise.
546 * config/arm/arm.c (arm_expand_prologue): Likewise.
547 thumb_expand_prologue: Likewise.
548 * config/d30v/d30v.c (d30v_stack_info): Likewise.
549 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
550 (fr30_expand_prologue): Likewise.
551 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
552 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
553 * config/i386/i386.h (FINALIZE_PIC): Likewise.
554 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
555 * config/i960/i960.c (i960_output_function_prologue): Likewise.
556 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
557 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
558 (m32r_expand_prologue): Likewise.
559 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
560 (m88k_expand_prologue): Likewise.
561 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
562 * config/mips/mips.c (compute_frame_size): Likewise.
563 (mips_expand_prologue): Likewise.
564 (mips_can_use_return_insn): Likewise.
565 * config/pa/elf.h (ASM_FILE_START): Likewise.
566 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
567 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
568 * config/pa/som.h (ASM_FILE_START): Likewise.
569 * config/romp/romp.c (romp_using_r14): Likewise.
570 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
571 (rs6000_stack_info): Likewise.
572 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
573 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
574 * config/v850/v850.c (compute_register_save_size): Likewise.
576 2002-01-03 Jakub Jelinek <jakub@redhat.com>
578 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
579 gen_lowpart_common fails, use gen_lowpart_SUBREG.
581 2002-01-03 Turly O'Connor <turly@apple.com>
583 * darwin.c (machopic_output_possible_stub_label): Don't generate
584 stub routines for pseudo-stubs which we've just defined.
586 2002-01-03 Kazu Hirata <kazu@hxi.com>
588 * builtins.c: Fix formatting.
589 * c-typeck.c: Likewise.
590 * combine.c: Likewise.
594 2002-01-03 Andreas Schwab <schwab@suse.de>
596 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
597 and return true if _cpp_push_next_buffer pushed a new include
599 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
600 _cpp_pop_file_buffer did not push a new file.
601 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
603 2002-01-02 Eric Christopher <echristo@redhat.com>
605 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
606 FIND_REG_INC_NOTE call. Update copyright.
607 * loop.c (canonicalize_condition): Ditto.
608 * reorg.c (delete_scheduled_jump): Ditto.
610 2002-01-03 Kazu Hirata <kazu@hxi.com>
612 * gcse.c: Fix formatting.
614 2002-01-03 Graham Stott <grahams@redhat.com>
616 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
617 forward defs for struct tags rtx_def, union_tree, rtvec_def
618 also output corresponding typedefs for rtx, tree, and rtvec.
620 * system.h: Move forward defs for struct tags rtx_def, union_tree,
621 rtvec_def along with corresponding typedefs for rtx, tree, and
622 rtvec to config.h, hconfig.h, tconfig.h.
624 2002-01-03 Graham Stott <grahams@redhat.com>
626 * tree.h: Update copyright date.
627 (IS_EXPR_CODE_CLASS): Add parenthesis.
628 (TREE_SET_CODE): Add whitespace.
629 (TREE_CHECK): Add parenthesis.
630 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
631 (CST_OR_CONSTRUCTOR_CHECK):
632 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
633 (TREE_SYMBOL_REFERENCED): Whitespace.
634 (INT_CST_LT): Likewise.
635 (INT_CST_LT_UNSIGNED): Likewise.
636 (tree_real_cst): Unwrap comment.
637 (tree_string): Likewise.
638 (tree_complex): Likewise.
639 (IDENTIFIER_POINTER): correct cast.
640 (SAVE_EXPR_CONTEXT): Whitespace.
641 (EXPR_WFL_FILENAME_NODE): Likewise.
642 (EXPR_WFL_FILENAME): Remove parenthesis.
643 (DECL_ORIGIN): Add parenthesis.
644 (DECL_FROM_INLINE): Use NULL_TREE.
645 (build_int_2): Whitespace.
646 (build_type_variant): Add parenthesis.
648 * gcc/jcf-parse.c: Update copyright date.
649 (yyparse): Constify resource_filename.
651 2002-01-03 Graham Stott <grahams@redhat.com>
653 * rtl.h: Update copyright date.
654 (RTL_CHECK1): Wrap long line.
655 (RTL_CHECK2): Likewise.
656 (RTL_CHECKC1): Wrap long line and whitespace.
657 (RTL_CHECKC2): Likewise.
675 (X0BITMAP): Likewise.
678 (X0ADVFLAGS): Likewise.
679 (X0CSELIB): Likewise.
680 (X0MEMATTR): Likewise.
688 (XCBITMAP): Likewise.
691 (XCADVFLAGS): Likewise.
692 (XCCSELIB): Likewise.
694 (INSN_UID): Likewise.
695 (PREV_INSN): Likewise.
697 (INSN_CODE): Likewise.
698 (PUT_REG_NOTE_KIND): Likewise.
699 (CODE_LABEL_NUMBER): Likewise.
700 (NOTE_SOURCE_FILE): Likewise.
701 (NOTE_BLOCK): Likewise.
702 (NOTE_EH_HANDLER): Likewise.
703 (NOTE_RANGE_INFO): Likewise.
704 (NOTE_LIVE_INFO): Likewise.
705 (NOTE_BASIC_BLOCK): Likewise.
706 (NOTE_EXPECTED_VALUE): Likewise.
707 (NOTE_LINE_NUMBER): Likewise.
708 (LABEL_NAME): Likewise.
709 (LABEL_NUSES): Likewise.
710 (LABEL_ALTERNATE_NAME): Likewise.
711 (ADDRESSOF_DECL): Likewise.
712 (JUMP_LABEL): Likewise.
713 (LABEL_NEXTREF): Likewise.
715 (ORIGINAL_REGNO: Likewise.
716 (HARD_REGISTER_NUM_P): Add parenthesis.
717 (SUBREG_REG): Whitespace.
718 (SUBREG_BYTE): Likewise.
719 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
720 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
721 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
722 (ASM_OPERANDS_INPUT_VEC): Likewise.
723 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
724 (ASM_OPERANDS_INPUT): Likewise.
725 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
726 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
727 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
728 (ASM_OPERANDS_INPUT_MODE): Likewise.
729 (ASM_OPERANDS_SOURCE_FILE): Likewise.
730 (ASM_OPERANDS_SOURCE_LINE): Likewise.
731 (MEM_SET_IN_STRUCT_P): Minor reformat.
732 (TRAP_CONDITION): Whitespace.
733 (TRAP_CODE): Likewise.
734 (COND_EXEC_TEST): Likewise.
735 (COND_EXEC_CODE): Likewise.
736 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
737 (PHI_NODE_P): Add parenthesis.
738 (plus_constant): Whitespace and add parenthesis.
740 2002-01-03 Kazu Hirata <kazu@hxi.com>
742 * config/avr/avr.c: Fix comment typos.
743 * config/c4x/c4x.md: Likewise.
744 * config/dsp16xx/dsp16xx.h: Likewise.
745 * config/dsp16xx/dsp16xx.md: Likewise.
746 * config/i386/i386.md: Likewise.
747 * config/ia64/ia64.c: Likewise.
748 * config/m32r/m32r.h: Likewise.
749 * config/m68hc11/m68hc11.md: Likewise.
750 * config/mmix/mmix.c: Likewise.
751 * config/mn10200/mn10200.c: Likewise.
752 * config/romp/romp.c: Likewise.
753 * config/sh/sh.c: Likewise.
754 * config/stormy16/stormy16.c: Likewise.
755 * config/stormy16/stormy16.h: Likewise.
756 * config/stormy16/stormy16.md: Likewise.
758 2002-01-03 Graham Stott <grahams@redhat.com>
760 * loop.h: Update copyright date.
761 (LOOP_MOVABLES): Fix typo.
762 (LOOP_REGS): Likewise.
763 (LOOP_IVS): Likewise.
765 2002-01-03 Graham Stott <grahams@redhat.com>
767 * cppinit.c: Update copyright date.
768 Don't include output.h
769 * Makefile.in: Update copyright date.
772 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
775 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
776 (-pthread) Add to RS/6000 options.
778 2002-01-02 Kazu Hirata <kazu@hxi.com>
780 * except.c: Fix comment typos.
782 * varasm.c: Likewise.
783 * doc/tm.texi: Fix a typo.
785 2002-01-02 Jakub Jelinek <jakub@redhat.com>
787 * c-typeck.c (output_init_element): Allow initializing static storage
788 duration objects with compound literals.
790 2002-01-02 Richard Henderson <rth@redhat.com>
792 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
795 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
797 * gcc.c (default_compilers): Const-ify.
798 * mips-tdump.c (stab_names): Likewise.
799 * mips-tfile.c (map_coff_types, map_coff_storage,
800 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
801 pseudo_ops_t, pseudo_ops): Likewise.
802 * protoize.c (default_include): Likewise
804 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
805 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
806 Add array size in declaration.
807 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
808 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
809 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
810 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
811 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
812 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
813 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
814 emtens, make_nan): Const-ify.
815 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
816 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
818 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
820 * config.gcc (ia64-*-*): Set extra_headers.
821 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
822 * config/alpha/t-osf: Remove.
823 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
825 2002-01-02 David Edelsohn <edelsohn@gnu.org>
827 * config/rs6000/t-aix43: Revert previous change.
829 2002-01-02 Jason Merrill <jason@redhat.com>
831 * c-decl.c (c_expand_body): Call outlining_inline_function when
832 emitting an inline function out of line.
834 2002-01-02 Richard Henderson <rth@redhat.com>
836 * dwarf2out.c (limbo_die_node): Add created_for member.
837 (new_die): New argument created_for. Update all callers.
838 (mark_limbo_die_list): New.
839 (dwarf2out_init): Register limbo_die_list as a root.
840 (dwarf2out_finish): Force insert limbo dies into their function
843 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
846 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
848 2002-01-02 Kazu Hirata <kazu@hxi.com>
850 * config/h8300/fixunssfsi.c: Update copyright.
853 * config/h8300/h8300.c: Update copyright.
856 2002-01-02 Kazu Hirata <kazu@hxi.com>
858 * config/romp/romp.c: Fix comment formatting.
859 * config/romp/romp.h: Likewise.
860 * config/romp/romp.md: Likewise.
861 * config/s390/s390.c: Likewise.
862 * config/stormy16/stormy16.c: Likewise.
863 * config/stormy16/stormy16.h: Likewise.
865 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
867 * c-common.h (genrtl_expr_stmt_value): Declare.
868 * c-semantics.c (genrtl_goto_stmt): Redirect to...
869 (genrtl_goto_stmt_value): ... this new function. Pass new
870 argument down to expand_expr_stmt_value, taking
871 TREE_ADDRESSABLE into account.
872 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
873 STMT_EXPR as addressable, i.e., one whose result we want.
874 * expr.c (expand_expr): Don't save expression statement value
875 of labeled_blocks or loop_exprs.
876 * stmt.c (expand_expr_stmt): Redirect to...
877 (expand_expr_stmt_value): ... this new function. Use new
878 argument to tell whether to save expression value.
879 (expand_end_stmt_expr): Reset last_expr_type and
880 last_expr_value if we don't have either.
881 * tree-inline.c (declare_return_variable): Mark its use
882 statement as addressable.
883 * tree.h: Document new use of TREE_ADDRESSABLE.
884 (expand_expr_stmt_value): Declare.
886 2002-01-01 Tom Rix <trix@redhat.com>
888 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
889 rs6000_emit_allocate_stack.
891 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
893 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
894 ${srcdir}/ginclude/ to every entry in extra_headers.
895 * configure: Regenerate.
896 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
897 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
898 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
899 * ginclude/proto.h: Rename to config/convex/proto.h.
901 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
903 * attribs.c (handle_vector_size_attribute): Use host_integerp
904 and tree_int_cst; remove warnings.
905 * caller-save.c (insert_restore): Add cast to get rid of warning.
906 (insert_save): Likewise.
907 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
908 * regmove.c (find_matches): Add temporary var to kill a warning.
910 2002-01-01 Douglas B Rupp <rupp@gnat.com>
912 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
913 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
914 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
915 (vms-dwarf2eh.o): Add Makefile rule.
916 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
917 * config/alpha/vms-dwarf2eh.asm: New file.
919 * gcc.c (delete_if_ordinary): Delete all versions.
921 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
923 * config/mmix/mmix.md: Update FIXME to not mention
925 (MMIX_rJ_REGNUM): New define_constants constant.
926 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
927 "*movdicc_real"): Adjust contraints formatting.
928 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
929 for branch prediction.
930 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
932 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
933 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
934 number. Delete related FIXMEs.
935 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
936 from number to MMIX_rJ_REGNUM.
937 (TARGET_MASK_BRANCH_PREDICT): New.
938 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
939 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
940 value. Add -mbranch-predict and -mno-branch-predict.
941 (TARGET_VERSION): Drop date.
942 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
943 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
944 for finding out global symbols.
945 (mmix_asm_output_labelref): Revert condition for global symbol.
946 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
947 (mmix_print_operand_punct_valid_p): A '+' is valid.
949 See ChangeLog.6 for earlier changes.