1 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
5 * doc/languages.texi, doc/sourcebuild.texi: New files.
6 * doc/configfiles.texi: Make a subsubsection. Update.
7 * doc/configterms.texi: Add @node. Remove warning that this isn't
8 instructions for building GCC.
9 * doc/makefile.texi: Make a subsection.
10 * doc/gccint.texi: Update.
12 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
14 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
16 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
18 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
20 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
22 * optabs.c (expand_fix): Look for wider integer modes first.
24 * i386.md (mov?f): Avoid the fake const double trick for medium
26 (min?f*/max?f*): Prohibit memory operands for i387 variant.
27 (fop_df_4): Disable for SSE compilation.
29 2002-01-20 Graham Stott <grahams@redhat.com>
31 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
32 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
34 2002-01-10 Richard Henderson <rth@redhat.com>
36 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
38 2002-01-10 Richard Henderson <rth@redhat.com>
40 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
41 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
43 2002-01-10 Kazu Hirata <kazu@hxi.com>
45 * combine.c (can_combine_p): Fix a comment typo.
47 2002-01-09 Zack Weinberg <zack@codesourcery.com>
49 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
50 empty list correctly. Change loop index $t to $f for
51 consistency with rest of Makefile.
53 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
55 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
56 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
58 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
59 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
60 (altivec_init_builtins): Same.
61 (altivec_expand_unop_builtin): Return NULL_RTX on error.
62 (altivec_expand_binop_builtin): Same.
63 (altivec_expand_ternop_builtin): Same.
66 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
67 ("altivec_vctuxs"): Fix typo.
68 ("altivec_vnmsubfp"): Same.
69 ("altivec_dssall"): New.
70 ("altivec_mfvscr"): New.
72 ("altivec_lvsl"): New.
73 ("altivec_lvsr"): New.
74 ("altivec_dstt"): New.
75 ("altivec_dstst"): New.
76 ("altivec_dststt"): New.
79 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
80 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
82 2002-01-09 Richard Henderson <rth@redhat.com>
84 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
86 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
88 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
90 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
92 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
94 2002-01-09 Kazu Hirata <kazu@hxi.com>
96 * read-rtl.c: Fix formatting.
98 * regclass.c: Likewise.
99 * regrename.c: Likewise.
100 * reg-stack.c: Likewise.
101 * reload1.c: Likewise.
102 * reload.c: Likewise.
105 2002-01-09 Kazu Hirata <kazu@hxi.com>
107 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
108 to extract items in the expr_list chain.
110 2002-01-09 Richard Henderson <rth@redhat.com>
112 * config/vax/vax.c (vax_rtx_cost): Never abort.
114 * config/vax/vax.h (REAL_ARITHMETIC): Define.
116 2002-01-09 Jan Hubicka <jh@suse.cz>
118 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
120 2002-01-09 Richard Henderson <rth@redhat.com>
122 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
123 Unify code from various alternatives.
125 2002-01-09 Richard Henderson <rth@redhat.com>
127 * regrename.c (copy_value): Ignore the copy if the source register
128 is present in the value chain with a narrower mode.
130 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
132 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
133 for the c4x target. Also improve layout.
135 2002-01-09 Richard Henderson <rth@redhat.com>
137 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
138 * config/m32r/m32r.md (and ior xor splitters): Swap operands
139 to match insn patterns.
141 2002-01-09 Richard Henderson <rth@redhat.com>
143 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
144 (copyprop_hardreg_forward_1): Likewise.
146 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
148 * pa.md (decrement_and_branch_until_zero): Change predicate for
149 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
151 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
153 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
154 gets undefined. For Darwin.
156 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
158 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
160 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
162 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
164 2002-01-08 Richard Henderson <rth@redhat.com>
166 * regrename.c (copy_value): Ignore overlapping copies.
168 2002-01-08 Richard Henderson <rth@redhat.com>
170 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
171 as needed to avoid shared structure.
173 2002-01-08 Kazu Hirata <kazu@hxi.com>
175 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
178 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
180 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
181 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
182 documentation of obsolete macros.
183 * system.h: Poison these macros.
184 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
185 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
186 config/c4x/c4x.h, config/clipper/clipper.h,
187 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
188 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
189 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
190 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
191 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
192 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
193 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
194 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
195 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
196 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
197 config/sparc/sparc.h, config/stormy16/stormy16.h,
198 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
199 definitions and commented out definitions of obsolete macros.
200 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
201 of MAX_INT_TYPE_SIZE.
203 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
205 * config/s390/s390.c (s390_preferred_reload_class): Never
206 return ADDR_REGS if it isn't a subset of the given class.
207 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
208 FP_REGS, but all superclasses as well.
210 * config/s390/s390.c (s390_function_profiler): Fix thinko.
212 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
213 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
214 must not be a const_int.
216 2002-01-08 Richard Henderson <rth@redhat.com>
218 * Makefile.in (toplev.o): Depend on options.h.
219 (gcc.o): Depend on specs.h.
221 2002-01-08 Jakub Jelinek <jakub@redhat.com>
223 * expr.c (store_expr): Convert VOIDmode constants back to target's
226 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
228 * doc/invoke.texi: Markup gcc as @command. Refer to
229 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
230 of http://gcc.gnu.org/thanks.html.
232 2002-01-08 Dale Johannesen <dalej@apple.com>
234 * config/rs6000/rs6000.md: Add missing int register
235 target case to movdf_low.
237 2002-01-08 Zack Weinberg <zack@codesourcery.com>
239 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
240 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
241 (cppinit.o): Depend on except.h.
242 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
245 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
246 Don't create specs.h/options.h/gencheck.h here. Remove
247 unnecessary variable settings from last argument of AC_OUTPUT.
248 * config.in, configure: Regenerate.
249 * intl.c: Hardcode package name as "gcc".
251 * cppinit.c: Include except.h.
252 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
254 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
255 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
256 (!)USING_SJLJ_EXCEPTIONS.
257 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
259 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
261 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
262 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
263 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
264 documentation of obsolete macros.
265 * system.h: Poison these macros.
266 * config/d30v/d30v.h, config/ns32k/encore.h,
267 config/stormy16/stormy16.h: Remove definitions and commented out
268 definitions of obsolete macros.
270 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
272 * objc/objc-act.c (handle_class_ref): Mark the declaration of
273 %sobjc_class_ref_%s as used - to prevent unwanted compiler
276 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
278 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
279 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
280 to insn adjusting stack/frame pointer.
281 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
282 accept operands that cause the insn to be non-splittable.
284 2002-01-08 Graham Stott <grahams@redhat.com>
286 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
287 (C_TYPE_FIELDS_VOLATILE): Likewise.
288 (C_TYPE_BEING_DEFINED): Likewise.
289 (C_IS_RESERVED_WORD): Likewise.
290 (C_TYPE_VARIABLE_SIZE): Likewise.
291 (C_DECL_VARIABLE_SIZE): Likewise.
292 (C_MISSING_PROTOTYPE_WARNED): Likewise.
293 (C_SET_EXP_ORIGINAL_CODE): Likewise.
294 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
296 (C_DECL_ANTICIPATED): Likewise.
297 (c_build_type_variant): Add parenthesis.
299 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
301 * gcc.c (option_map): Remove --version.
302 (process_command): Handle -fversion following the GNU Coding
303 Standards. Partially addresses PR other/704.
305 2002-01-08 Graham Stott <grahams@redhat.com>
307 * combine.c (combine_instructions): Fix typo.
309 2002-01-08 Graham Stott <grahams@redhat.com>
311 * debug.h: Use "tree" and "rtx" throughout.
315 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
317 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
318 constant pool, use the pool's version of the symbol instead.
320 2002-01-07 Richard Henderson <rth@redhat.com>
322 * regrename.c (find_oldest_value_reg): Ignore the value chain if
323 the original register was copied in a mode with a fewer number of
324 hard registers than the desired mode.
325 (copyprop_hardreg_forward_1): Likewise.
326 (debug_value_data): Fix loop test.
327 * toplev.c (parse_options_and_default_flags): Reenable
328 -fcprop-registers at -O1.
330 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
332 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
333 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
335 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
338 * config/rs6000/rs6000.md: Add altivec predicate patterns.
340 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
342 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
343 (pa_output_function_prologue): Output local label at the beginning of
344 the prologue when profiling.
345 (hppa_profile_hook): Use the local label rather than the function label.
346 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
348 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
350 * config/rs6000/rs6000.c (print_operand): Remove extra space.
351 (altivec_expand_unop_builtin): Fix thinko.
352 (altivec_expand_binop_builtin): Same.
353 (altivec_expand_ternop_builtin): Same.
354 (altivec_expand_builtin): Same.
356 2002-01-07 Richard Henderson <rth@redhat.com>
358 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
360 2002-01-07 Jason Merrill <jason@redhat.com>
362 * unwind-dw2.c (execute_cfa_program): Use < again.
364 2002-01-07 Jakub Jelinek <jakub@redhat.com>
366 * predict.c (combine_predictions_for_insn): Avoid division by zero.
368 2002-01-07 Jakub Jelinek <jakub@redhat.com>
370 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
371 Don't allow -1 - x -> ~x simplifications in the first pass.
373 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
375 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
377 (altivec_expand_binop_builtin): Same.
378 (altivec_expand_unop_builtin): Same.
379 (print_operand): Fix typo.
380 (bdesc_1arg): Add vupk* variants.
382 * rs6000.h (rs6000_builtins): Add vupk* enums.
384 * rs6000.md: Add altivec_vupk* variants.
386 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
388 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
389 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
390 and last update dates.
392 2002-01-07 Janis Johnson <janis187@us.ibm.com>
394 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
396 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
398 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
399 * config/avr/avr.h (CPP_SPEC): Likewise.
400 (LINK_SPEC): Likewise.
401 (CRT_BINUTILS_SPECS): Likewise.
402 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
403 * doc/invoke.texi (AVR Options): Document them.
405 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
407 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
410 2002-01-07 Graham Stott <grahams@redhat.com>
412 * config/i386/i386.h: Update copyright date.
413 (HALF_PIC_PTR): Add parenthesis.
414 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
415 (CONSTANT_ALIGNMENT): Add parenthesis.
416 (DATA_ALIGNMENT): Likewise.
417 (LOCAL_ALIGNMENT): Likewise.
418 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
419 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
420 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
421 (HARD_REGNO_NREGS): Add paranethesis.
422 (VALID_SSE_REG_MODE): Whitespace.
423 (VALID_MMX_REG_MODE): Whitespace.
424 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
425 (ix86_hard_regno_mode_ok): Add parenthesis.
426 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
427 (RETURN_IN_MEMORY): Whitespace.
428 (N_REG_CLASSES): Add parenthesis.
429 (INTEGER_CLASS_P): Add parenthesis and wrap.
430 (FLOAT_CLASS_P): Likewise.
431 (SSE_CLASS_P): Likewise.
432 (MMX_CLASS_P): Likewise.
433 (MAYBE_INTEGER_CLASS_P): Likewise.
434 (MAYBE_FLOAT_CLASS_P): Likewise.
435 (MAYBE_SSE_CLASS_P): Likewise.
436 (MAYBE_MMX_CLASS_P): Likewise.
437 (Q_CLASS_P): Likewise.
438 (GENERAL_REGNO_P): Uppercase macro parameter.
439 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
440 (FP_REGNO_P): Likewise.
441 (ANY_FP_REGNO_P): Uppercase macro parameter.
442 (SSE_REGNO_P): Likewise.
443 (SSE_REGNO): Likewise.
444 (SSE_REG_P): Likewise.
445 (SSE_FLOAT_MODE_P): Likewise.
446 (MMX_REGNO_P): Likewise.
447 (MMX_REG_P):Likewise.
448 (STACK_REG_P): Likewise.
449 (NON_STACK_REG_P): Likewise.
450 (STACK_TOP_P): Likewise.
451 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
452 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
453 (SECONDARY_MEMORY_NEEDED): Likewise.
454 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
455 (MD_ASM_CLOBBERS): Whitespace and wrap.
456 (MUST_PASS_IN_STACK): Whitespace and wrap.
457 (RETURN_POPS_ARGS): Add parenthesis.
458 (INIT_CUMULATIVE_ARGS): Likewise.
459 (FUNCTION_ARG): Likewise.
460 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
461 (SETUP_INCOMING_VARARGS): Likewise.
462 (BUILD_VA_LIST_TYPE): Add parenthesis.
463 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
465 (EXPAND_BUILTIN_VA_ARG): Likewise.
466 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
467 (INITIALIZE_TRAMPOLINE): Add parenthesis.
468 (INITIAL_ELIMINATION_OFFSET): Likewise.
469 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
470 (REGNO_OK_FOR_BASE_P): Likewise.
471 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
472 (REGNO_OK_FOR_DIREG_P): Likewise.
473 (REG_OK_FOR_INDEX_P): Whitespace.
474 (REG_OK_FOR_BASE_P): Whitespace.
475 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
477 (FIND_BASE_TERM): Fix typo.
478 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
479 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
480 (SYMBOLIC_CONST; Whitespace.
481 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
482 (ENCODE_SECTION_INFO): Whitespace.
483 (FINALIZE_PIC): Remove do { ... } while (0).
484 (PROMOTE_MODE): Wrap in do { ... } while (0).
485 (CONST_COSTS): Whitespace.
486 (RTX_COSTS): Add paramethesis, whitespace and wrap.
487 (REGISTER_MOVE_COST): Add parenthesis.
488 (MEMORY_MOVE_COST): Likewise.
489 (EXTRA_CC_MODES): Whitespace.
490 (SELECT_CC_MODE): Add parenthesis and whitespace.
491 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
492 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
493 (ASM_OUTPUT_LABEL): Add paramethesis.
494 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
495 (ASM_OUTPUT_REG_POP): Likewise.
496 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
497 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
499 * config/i386/i386.c: Update copyright.
500 (CHECK_STACK_LIMIT): Add parenthesis.
501 (AT_BP): Uppercase macro parameter.
502 (x86_64_int_parameter_registers): Constify.
503 (x86_64_int_return_registers): Likewise.
504 (ix86_compare_op0): Use rtx.
505 (construct_container): Constify INTREG parameter.
506 (function_arg): Use rtx.
508 * diagnostic.h: Update copyright date.
509 (output_buffer_state): Add parenthesis.
510 (output_buffer_format_args): Likewise.
512 * combine.c (combine_instructions): Replace XEXP (links, 0)
515 2002-01-06 H.J. Lu <hjl@gnu.org>
517 * cfgcleanup.c (thread_jump): Fix 2 typos.
519 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
521 * config.gcc: Add support for --enable-altivec.
523 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
525 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
527 2002-01-06 Jakub Jelinek <jakub@redhat.com>
529 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
532 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
534 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
536 2002-01-06 Richard Henderson <rth@redhat.com>
538 * reorg.c (emit_delay_sequence): Remove death notes, not merely
539 nop them out. Increment label reference count for REG_LABEL.
540 (fill_slots_from_thread): Frob label reference count around
541 delete_related_insns.
543 2002-01-05 Richard Henderson <rth@redhat.com>
545 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
548 2002-01-05 Richard Henderson <rth@redhat.com>
550 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
551 * integrate.c (output_inline_function): Likewise.
552 * toplev.c (rest_of_compilation): Do it here instead. Move call
553 to remove_unnecessary_notes after emitting abstract instance.
554 Force an emitted nested function to have its parent emited as well.
555 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
557 (rtl_for_decl_location): Do not look at reload data structures
558 before reload has run.
560 2002-01-05 Kazu Hirata <kazu@hxi.com>
562 * cse.c: Fix formatting.
563 * dwarf2asm.c: Likewise.
564 * dwarf2out.c: Likewise.
565 * explow.c: Likewise.
566 * expmed.c: Likewise.
567 * function.c: Likewise.
569 * gencheck.c: Likewise.
570 * genrecog.c: Likewise.
571 * ggc-common.c: Likewise.
572 * ggc-page.c: Likewise.
573 * global.c: Likewise.
575 2002-01-05 Kazu Hirata <kazu@hxi.com>
577 * combine.c: Fix formatting.
579 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
582 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
584 2002-01-05 David Edelsohn <edelsohn@gnu.org>
586 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
587 as 1 for __powerpc64__ as well.
589 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
591 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
594 2002-01-05 Daniel Berlin <dan@dberlin.org>
596 * lcm.c: Revert change, due to performance regression it causes on
597 SPEC because it's slightly more conservative (sigh, I hate
600 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
602 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
604 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
606 * doc/cppinternals.texi: Update.
608 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
610 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
611 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
613 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
614 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
615 kludge for pre-october-14th mmix versions to handle new-found bug
616 with PUSHJ/PUSHGO and the register stack.
617 * config/mmix/mmix.h (struct machine_function): Rename member
618 has_call_value_without_parameters to has_call_without_parameters.
619 All referers changed.
620 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
621 TARGET_MASK_BRANCH_PREDICT): New macros.
622 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
623 -mno-reg-stack-fill-bug-workaround.
624 * config/mmix/mmix.md ("call"): Set struct machine member
625 has_call_without_parameters.
627 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
629 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
631 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
633 * cfgcleanup.c: Include tm_p.h
634 (mark_effect): Fix handling of hard register; fix handling of SET
636 2002-01-04 Kazu Hirata <kazu@hxi.com>
638 * config/h8300/h8300.md (anonymous patterns): Check that
639 operands are registers before using REGNO on them.
641 2002-01-03 Roland McGrath <roland@frob.com>
643 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
645 2002-01-04 Jakub Jelinek <jakub@redhat.com>
647 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
648 * c-common.h (genrtl_expr_stmt_value): Likewise.
649 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
650 (expand_expr_stmt_value): Add maybe_last argument.
651 Don't warn about statement with no effect if it is the last statement
652 in expression statement.
653 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
654 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
655 expand_expr_stmt_value.
656 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
657 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
658 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
659 as maybe_last to expand_expr_stmt_value.
661 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
663 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
664 be passed in, do not build it.
665 (c_begin_if_stmt): New function.
666 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
667 * c-common.h (c_expand_start_cond): Update prototype.
668 (c_begin_if_stmt): Prototype new function.
669 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
670 * c-parse.in (if_prefix): Use c_begin_if_stmt,
671 c_begin_while_stmt and c_finish_while_stmt_cond.
673 2002-01-04 William Cohen <wcohen@redhat.com>
675 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
676 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
677 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
678 * config/pa/som.h (ASM_FILE_START): Likewise.
680 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
682 * lcm.c: Include df.h.
683 Add available_transfer_function prototype.
684 (compute_available): Rework to use iterative dataflow framework.
685 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
687 (available_transfer_function): New function.
689 * Makefile.in (lcm.o): add df.h to dependencies.
691 2002-01-04 Richard Henderson <rth@redhat.com>
693 * config/alpha/alpha.c (some_operand): Accept HIGH.
694 (input_operand): Likewise; accept simple references to globals.
695 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
696 (alpha_const_double_ok_for_letter_p): Likewise.
697 (alpha_extra_constraint): Likewise.
698 (alpha_preferred_reload_class): Likewise. Do not force
699 symbolic constants to memory.
700 (alpha_legitimate_address_p): Accept simple references
701 to small_symbolic_operand.
702 (alpha_legitimize_address): New arg scratch. Be prepared to be
703 called when no_new_pseudos. Emit simple symbolic references.
704 Split integers into low, high, and rest.
705 (alpha_expand_mov): Use alpha_legitimize_address.
706 (some_small_symbolic_mem_operand): New.
707 (split_small_symbolic_mem_operand): New.
708 * config/alpha/alpha-protos.h: Update.
709 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
710 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
711 (EXTRA_CONSTRAINT): Likewise.
712 (PREFERRED_RELOAD_CLASS): Likewise.
713 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
714 (PREDICATE_CODES): Update.
715 * config/alpha/alpha.md: New post-reload splitters to convert
716 simplfied symbolic operands to the form that references $29.
717 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
718 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
720 2002-01-03 Richard Henderson <rth@redhat.com>
722 * local-alloc.c (function_invariant_p): Update commentary.
724 2002-01-04 H.J. Lu <hjl@gnu.org>
726 * toplev.c (rest_of_compilation): Fix a typo when calling
729 2002-01-03 Kazu Hirata <kazu@hxi.com>
731 * c-common.c: Fix formatting.
732 * diagnostic.c: Likewise.
733 * doloop.c: Likewise.
734 * dwarf2out.c: Likewise.
736 2002-01-03 Kazu Hirata <kazu@hxi.com>
738 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
739 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
741 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
743 * cpperror.c: Update comments and copyright.
744 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
745 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
747 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
749 * collect2.c (main): Use strcmp when testing for "-shared".
751 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
753 * cppmacro.c: Don't include intl.h. Update comments.
754 (new_number_token): Allocate enough buffer for 64-bit unsigned
755 integers; update prototype.
756 * cppmain.c: Update comments.
758 2002-01-03 William Cohen <wcohen@redhat.com>
760 * function.h (struct function): Add profile.
761 (current_function_profile): New.
762 doc/extend.texi: Update documentation.
763 * final.c (final_start_function): Use current_function_profile
764 instead of profile_flag.
765 (profile_after_prologue): Likewise.
766 * function.c (expand_function_start): Likewise.
767 (expand_function_start): Likewise.
768 * config/alpha/alpha.c (direct_call_operand):
769 (alpha_does_function_need_gp): Likewise.
770 (alpha_expand_prologue): Likewise.
771 * config/arm/arm.c (arm_expand_prologue): Likewise.
772 thumb_expand_prologue: Likewise.
773 * config/d30v/d30v.c (d30v_stack_info): Likewise.
774 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
775 (fr30_expand_prologue): Likewise.
776 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
777 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
778 * config/i386/i386.h (FINALIZE_PIC): Likewise.
779 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
780 * config/i960/i960.c (i960_output_function_prologue): Likewise.
781 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
782 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
783 (m32r_expand_prologue): Likewise.
784 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
785 (m88k_expand_prologue): Likewise.
786 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
787 * config/mips/mips.c (compute_frame_size): Likewise.
788 (mips_expand_prologue): Likewise.
789 (mips_can_use_return_insn): Likewise.
790 * config/pa/elf.h (ASM_FILE_START): Likewise.
791 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
792 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
793 * config/pa/som.h (ASM_FILE_START): Likewise.
794 * config/romp/romp.c (romp_using_r14): Likewise.
795 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
796 (rs6000_stack_info): Likewise.
797 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
798 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
799 * config/v850/v850.c (compute_register_save_size): Likewise.
801 2002-01-03 Jakub Jelinek <jakub@redhat.com>
803 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
804 gen_lowpart_common fails, use gen_lowpart_SUBREG.
806 2002-01-03 Turly O'Connor <turly@apple.com>
808 * darwin.c (machopic_output_possible_stub_label): Don't generate
809 stub routines for pseudo-stubs which we've just defined.
811 2002-01-03 Kazu Hirata <kazu@hxi.com>
813 * builtins.c: Fix formatting.
814 * c-typeck.c: Likewise.
815 * combine.c: Likewise.
819 2002-01-03 Andreas Schwab <schwab@suse.de>
821 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
822 and return true if _cpp_push_next_buffer pushed a new include
824 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
825 _cpp_pop_file_buffer did not push a new file.
826 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
828 2002-01-02 Eric Christopher <echristo@redhat.com>
830 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
831 FIND_REG_INC_NOTE call. Update copyright.
832 * loop.c (canonicalize_condition): Ditto.
833 * reorg.c (delete_scheduled_jump): Ditto.
835 2002-01-03 Kazu Hirata <kazu@hxi.com>
837 * gcse.c: Fix formatting.
839 2002-01-03 Graham Stott <grahams@redhat.com>
841 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
842 forward defs for struct tags rtx_def, union_tree, rtvec_def
843 also output corresponding typedefs for rtx, tree, and rtvec.
845 * system.h: Move forward defs for struct tags rtx_def, union_tree,
846 rtvec_def along with corresponding typedefs for rtx, tree, and
847 rtvec to config.h, hconfig.h, tconfig.h.
849 2002-01-03 Graham Stott <grahams@redhat.com>
851 * tree.h: Update copyright date.
852 (IS_EXPR_CODE_CLASS): Add parenthesis.
853 (TREE_SET_CODE): Add whitespace.
854 (TREE_CHECK): Add parenthesis.
855 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
856 (CST_OR_CONSTRUCTOR_CHECK):
857 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
858 (TREE_SYMBOL_REFERENCED): Whitespace.
859 (INT_CST_LT): Likewise.
860 (INT_CST_LT_UNSIGNED): Likewise.
861 (tree_real_cst): Unwrap comment.
862 (tree_string): Likewise.
863 (tree_complex): Likewise.
864 (IDENTIFIER_POINTER): correct cast.
865 (SAVE_EXPR_CONTEXT): Whitespace.
866 (EXPR_WFL_FILENAME_NODE): Likewise.
867 (EXPR_WFL_FILENAME): Remove parenthesis.
868 (DECL_ORIGIN): Add parenthesis.
869 (DECL_FROM_INLINE): Use NULL_TREE.
870 (build_int_2): Whitespace.
871 (build_type_variant): Add parenthesis.
873 * gcc/jcf-parse.c: Update copyright date.
874 (yyparse): Constify resource_filename.
876 2002-01-03 Graham Stott <grahams@redhat.com>
878 * rtl.h: Update copyright date.
879 (RTL_CHECK1): Wrap long line.
880 (RTL_CHECK2): Likewise.
881 (RTL_CHECKC1): Wrap long line and whitespace.
882 (RTL_CHECKC2): Likewise.
900 (X0BITMAP): Likewise.
903 (X0ADVFLAGS): Likewise.
904 (X0CSELIB): Likewise.
905 (X0MEMATTR): Likewise.
913 (XCBITMAP): Likewise.
916 (XCADVFLAGS): Likewise.
917 (XCCSELIB): Likewise.
919 (INSN_UID): Likewise.
920 (PREV_INSN): Likewise.
922 (INSN_CODE): Likewise.
923 (PUT_REG_NOTE_KIND): Likewise.
924 (CODE_LABEL_NUMBER): Likewise.
925 (NOTE_SOURCE_FILE): Likewise.
926 (NOTE_BLOCK): Likewise.
927 (NOTE_EH_HANDLER): Likewise.
928 (NOTE_RANGE_INFO): Likewise.
929 (NOTE_LIVE_INFO): Likewise.
930 (NOTE_BASIC_BLOCK): Likewise.
931 (NOTE_EXPECTED_VALUE): Likewise.
932 (NOTE_LINE_NUMBER): Likewise.
933 (LABEL_NAME): Likewise.
934 (LABEL_NUSES): Likewise.
935 (LABEL_ALTERNATE_NAME): Likewise.
936 (ADDRESSOF_DECL): Likewise.
937 (JUMP_LABEL): Likewise.
938 (LABEL_NEXTREF): Likewise.
940 (ORIGINAL_REGNO: Likewise.
941 (HARD_REGISTER_NUM_P): Add parenthesis.
942 (SUBREG_REG): Whitespace.
943 (SUBREG_BYTE): Likewise.
944 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
945 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
946 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
947 (ASM_OPERANDS_INPUT_VEC): Likewise.
948 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
949 (ASM_OPERANDS_INPUT): Likewise.
950 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
951 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
952 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
953 (ASM_OPERANDS_INPUT_MODE): Likewise.
954 (ASM_OPERANDS_SOURCE_FILE): Likewise.
955 (ASM_OPERANDS_SOURCE_LINE): Likewise.
956 (MEM_SET_IN_STRUCT_P): Minor reformat.
957 (TRAP_CONDITION): Whitespace.
958 (TRAP_CODE): Likewise.
959 (COND_EXEC_TEST): Likewise.
960 (COND_EXEC_CODE): Likewise.
961 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
962 (PHI_NODE_P): Add parenthesis.
963 (plus_constant): Whitespace and add parenthesis.
965 2002-01-03 Kazu Hirata <kazu@hxi.com>
967 * config/avr/avr.c: Fix comment typos.
968 * config/c4x/c4x.md: Likewise.
969 * config/dsp16xx/dsp16xx.h: Likewise.
970 * config/dsp16xx/dsp16xx.md: Likewise.
971 * config/i386/i386.md: Likewise.
972 * config/ia64/ia64.c: Likewise.
973 * config/m32r/m32r.h: Likewise.
974 * config/m68hc11/m68hc11.md: Likewise.
975 * config/mmix/mmix.c: Likewise.
976 * config/mn10200/mn10200.c: Likewise.
977 * config/romp/romp.c: Likewise.
978 * config/sh/sh.c: Likewise.
979 * config/stormy16/stormy16.c: Likewise.
980 * config/stormy16/stormy16.h: Likewise.
981 * config/stormy16/stormy16.md: Likewise.
983 2002-01-03 Graham Stott <grahams@redhat.com>
985 * loop.h: Update copyright date.
986 (LOOP_MOVABLES): Fix typo.
987 (LOOP_REGS): Likewise.
988 (LOOP_IVS): Likewise.
990 2002-01-03 Graham Stott <grahams@redhat.com>
992 * cppinit.c: Update copyright date.
993 Don't include output.h
994 * Makefile.in: Update copyright date.
997 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
1000 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
1001 (-pthread) Add to RS/6000 options.
1003 2002-01-02 Kazu Hirata <kazu@hxi.com>
1005 * except.c: Fix comment typos.
1007 * varasm.c: Likewise.
1008 * doc/tm.texi: Fix a typo.
1010 2002-01-02 Jakub Jelinek <jakub@redhat.com>
1012 * c-typeck.c (output_init_element): Allow initializing static storage
1013 duration objects with compound literals.
1015 2002-01-02 Richard Henderson <rth@redhat.com>
1017 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
1020 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1022 * gcc.c (default_compilers): Const-ify.
1023 * mips-tdump.c (stab_names): Likewise.
1024 * mips-tfile.c (map_coff_types, map_coff_storage,
1025 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
1026 pseudo_ops_t, pseudo_ops): Likewise.
1027 * protoize.c (default_include): Likewise
1029 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
1030 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
1031 Add array size in declaration.
1032 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
1033 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
1034 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
1035 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
1036 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
1037 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
1038 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
1039 emtens, make_nan): Const-ify.
1040 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
1041 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
1043 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
1045 * config.gcc (ia64-*-*): Set extra_headers.
1046 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
1047 * config/alpha/t-osf: Remove.
1048 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
1050 2002-01-02 David Edelsohn <edelsohn@gnu.org>
1052 * config/rs6000/t-aix43: Revert previous change.
1054 2002-01-02 Jason Merrill <jason@redhat.com>
1056 * c-decl.c (c_expand_body): Call outlining_inline_function when
1057 emitting an inline function out of line.
1059 2002-01-02 Richard Henderson <rth@redhat.com>
1061 * dwarf2out.c (limbo_die_node): Add created_for member.
1062 (new_die): New argument created_for. Update all callers.
1063 (mark_limbo_die_list): New.
1064 (dwarf2out_init): Register limbo_die_list as a root.
1065 (dwarf2out_finish): Force insert limbo dies into their function
1068 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
1071 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
1073 2002-01-02 Kazu Hirata <kazu@hxi.com>
1075 * config/h8300/fixunssfsi.c: Update copyright.
1078 * config/h8300/h8300.c: Update copyright.
1081 2002-01-02 Kazu Hirata <kazu@hxi.com>
1083 * config/romp/romp.c: Fix comment formatting.
1084 * config/romp/romp.h: Likewise.
1085 * config/romp/romp.md: Likewise.
1086 * config/s390/s390.c: Likewise.
1087 * config/stormy16/stormy16.c: Likewise.
1088 * config/stormy16/stormy16.h: Likewise.
1090 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
1092 * c-common.h (genrtl_expr_stmt_value): Declare.
1093 * c-semantics.c (genrtl_goto_stmt): Redirect to...
1094 (genrtl_goto_stmt_value): ... this new function. Pass new
1095 argument down to expand_expr_stmt_value, taking
1096 TREE_ADDRESSABLE into account.
1097 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1098 STMT_EXPR as addressable, i.e., one whose result we want.
1099 * expr.c (expand_expr): Don't save expression statement value
1100 of labeled_blocks or loop_exprs.
1101 * stmt.c (expand_expr_stmt): Redirect to...
1102 (expand_expr_stmt_value): ... this new function. Use new
1103 argument to tell whether to save expression value.
1104 (expand_end_stmt_expr): Reset last_expr_type and
1105 last_expr_value if we don't have either.
1106 * tree-inline.c (declare_return_variable): Mark its use
1107 statement as addressable.
1108 * tree.h: Document new use of TREE_ADDRESSABLE.
1109 (expand_expr_stmt_value): Declare.
1111 2002-01-01 Tom Rix <trix@redhat.com>
1113 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1114 rs6000_emit_allocate_stack.
1116 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
1118 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1119 ${srcdir}/ginclude/ to every entry in extra_headers.
1120 * configure: Regenerate.
1121 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1122 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1123 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1124 * ginclude/proto.h: Rename to config/convex/proto.h.
1126 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1128 * attribs.c (handle_vector_size_attribute): Use host_integerp
1129 and tree_int_cst; remove warnings.
1130 * caller-save.c (insert_restore): Add cast to get rid of warning.
1131 (insert_save): Likewise.
1132 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1133 * regmove.c (find_matches): Add temporary var to kill a warning.
1135 2002-01-01 Douglas B Rupp <rupp@gnat.com>
1137 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1138 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1139 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1140 (vms-dwarf2eh.o): Add Makefile rule.
1141 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1142 * config/alpha/vms-dwarf2eh.asm: New file.
1144 * gcc.c (delete_if_ordinary): Delete all versions.
1146 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1148 * config/mmix/mmix.md: Update FIXME to not mention
1150 (MMIX_rJ_REGNUM): New define_constants constant.
1151 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1152 "*movdicc_real"): Adjust contraints formatting.
1153 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1154 for branch prediction.
1155 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1157 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1158 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1159 number. Delete related FIXMEs.
1160 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1161 from number to MMIX_rJ_REGNUM.
1162 (TARGET_MASK_BRANCH_PREDICT): New.
1163 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1164 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
1165 value. Add -mbranch-predict and -mno-branch-predict.
1166 (TARGET_VERSION): Drop date.
1167 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1168 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1169 for finding out global symbols.
1170 (mmix_asm_output_labelref): Revert condition for global symbol.
1171 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1172 (mmix_print_operand_punct_valid_p): A '+' is valid.
1174 See ChangeLog.6 for earlier changes.