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